@charset "utf-8";


/**
 * スマホ用設定
 */
@media ( width < 768px ) {

    #page-mv {
        margin: calc( 100vw * 128 / 780 ) auto 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
        background: linear-gradient( to right, #0161d1, #012d76 );
    }
    #page-mv .mv-bg {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        opacity: 0.1;
    }
    #page-mv .mv-bg img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #page-mv .mv-box {
        position: absolute;
        top: 50%;
        left: 5%;
        width: 90%;
        translate: 0 -50%;
    }
    #page-mv .mv-box .page-title {
        margin: 0;
        padding: 0;
        color: #fff;
        text-align: left;
    }
    #page-mv .mv-box .page-title div:nth-of-type(1) {
        margin: 0;
        padding: 0;
        font-size: 6.0vw;
        font-weight: 700;
        font-family: var(--font-alphabet);
        line-height: 1.0;
    }
    #page-mv .mv-box .page-title div:nth-of-type(2) {
        margin: 1.0vw 0 0;
        padding: 0;
        font-size: 8.0vw;
        font-weight: 700;
        line-height: 1.0;
    }
    #page-mv .mv-box .page-title div:nth-of-type(2) span {
        font-size: 80%;
    }

    #breadcrumbs {
        margin: 0 auto;
        padding: 6.0vw 5%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0 2.8vw;
        font-weight: 400;
        line-height: 1.0;
    }
    #breadcrumbs > :is(a,span) {
        margin: 0;
        padding: 0;
        font-size: 2.8vw;
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0 2.8vw;
    }
    #breadcrumbs > a {
    }
    #breadcrumbs > span {
        color: #acacac;
    }
    #breadcrumbs > :is(a,span) + :is(a,span)::before {
        display: block;
        content: "▶";
        color: var(--fg-color);
        scale: 0.5 0.5;
    }

    #contact > .contact-wrap {
        padding: 6.0vw 0;
        background: url(../images/contact-bg.jpg) no-repeat center / cover;
    }
    #contact > .contact-wrap .contact-box {
        padding: 6.0vw;
    }

    #archive-wrap {
        margin: 8.0vw auto 0;
        padding: 8.0vw 5%;
        width: 100%;
        background: #f8f8f8;
    }
    #archive-wrap .archive-cats {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 2.0vw;
    }
    #archive-wrap .archive-cats > a {
        display: grid;
        place-items: center;
        margin: 0;
        padding: 0;
        width: 45.0%;
        height: auto;
        aspect-ratio: 264 / 44;
        color: #0061d1;
        font-size: 3.6vw;
        font-weight: 500;
        text-align: center;
        line-height: 1.0;
        letter-spacing: 0.03em;
        background: #fff;
        border: 1px solid #0061d1;;
    }
    #archive-wrap .archive-cats > a.active {
        color: #fff;
        background: #0061d1;
        border: 1px solid #0061d1;;
    }

    #archive-wrap .archive-list {
        margin: 8.0vw auto 0;
        padding: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat( 2, 1fr );
        gap: 4.0vw 2.0vw;
    }
    #archive-wrap .archive-list .archive-item {
        position: relative;
        display: grid;
        grid-template-rows: subgrid;
        gap: 0;
        grid-row: span 4;
        margin: 0;
        padding: 2.0vw 2.0vw 4.0vw;
        width: 100%;
        background: #fff;
    }
    #archive-wrap .archive-list .archive-item::after {
        position: absolute;
        content: "";
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 0;
        width: 3.0vw;
        height: 3.0vw;
        background: #0061d1;
        clip-path: polygon( 100% 0, 100% 100%, 0 100% );
    }
    #archive-wrap .archive-list .archive-item .pic {
        position: relative;
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 328 / 185;
    }
    #archive-wrap .archive-list .archive-item .pic:empty {
        background: #ddd;
    }
    #archive-wrap .archive-list .archive-item .pic img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #archive-wrap .archive-list .archive-item .pic figcaption {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        padding: 0.5em 1.0em;
        color: #fff;
        font-size: 2.8vw;
        font-weight: 500;
        text-align: center;
        line-height: 1.0;
        letter-spacing: 0.03em;
        background: #0061d1;
    }
    #archive-wrap .archive-list .archive-item h3 {
        margin: 0.8em 0 0;
        padding: 0;
        font-size: 4.0vw;
        font-weight: 700;
        text-align: left;
        line-height: calc( 30 / 23 );
        letter-spacing: 0.03em;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    #archive-wrap .archive-list .archive-item p {
        margin: 0.5em 0 0;
        padding: 0;
        font-size: 3.6vw;
        font-weight: 400;
        text-align: left;
        line-height: calc( 22 / 16 );
    }
    #archive-wrap .archive-list .archive-item .date {
        margin: 1.0em 0 0;
        padding: 0;
        font-size: 3.2vw;
        font-weight: 400;
        text-align: left;
        line-height: 1.0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0 8px;
    }
    #archive-wrap .archive-list .archive-item .date::before {
        display: block;
        content: "";
        width: 1.4em;
        height: auto;
        aspect-ratio: 1 / 1;
        background: url(../images/icon-clock.svg) no-repeat center / contain;
    }

    .page-info {
        margin: 0 auto;
        padding: 8.0vw 5% 12.0vw;
        width: 100%;
        display: grid;
        align-items: center;
        grid-template-columns: 1fr;
    }
    .page-info .page-pos {
        margin: 0;
        width: 100%;
        color: var(--fg-color);
        font-size: 3.6vw;
        font-family: var(--fong-alphabet);
        font-weight: 500;
        text-align: center;
    }
    .page-info .page-numbers {
        margin: 0;
        padding: 0;
        width: 100%;
        list-style: none;
        border: 0;
        display: flex;
        align-items: stretch;
        justify-content: center;
        gap: 0 1.0vw;
    }
    .page-info ul.page-numbers li {
        margin: 0;
        padding: 0;
        width: 8.0vw;
        height: 8.0vw;
        font-size: 4.0vw;
        text-align: center;
        line-height: 1.0;
        list-style: none;
    }
    .page-info ul.page-numbers li .page-numbers {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        color: var(--fg-color);
        font-size: 4.0vw;
        font-weight: 600;
        line-height: 1.0;
        background: #e3e3e3;
        display: grid;
        place-items: center;
    }
    .page-info ul.page-numbers li .page-numbers.current {
        color: #fff;
        background: #0061d1;;
    }
    .page-info ul.page-numbers li:has(.page-numbers.next) {
        margin-left: 1.0vw;
        width: 6.0vw;
    }
    .page-info ul.page-numbers li .page-numbers.next {
        position: relative;
        width: 6.0vw;
        color: #000;
        background: #000;
    }
    .page-info ul.page-numbers li .page-numbers.next::before {
        position: absolute;
        content: "";
        top: calc( 50% - 0.5vw - 1px );
        left: calc( 50% - 0.5vw - 1px );
        width: 1.0vw;
        height: 1.0vw;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        rotate: -45deg;
    }
    .page-info ul.page-numbers li:has(.page-numbers.prev) {
        margin-right: 1.0vw;
        width: 6.0vw;
    }
    .page-info ul.page-numbers li .page-numbers.prev {
        position: relative;
        width: 6.0vw;
        color: #000;
        background: #000;
    }
    .page-info ul.page-numbers li .page-numbers.prev::before {
        position: absolute;
        content: "";
        top: calc( 50% - 0.5em - 1px );
        right: calc( 50% - 0.5em - 1px );
        width: 1.0vw;
        height: 1.0vw;
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
        rotate: 45deg;
    }
    .page-info ul.page-numbers li .page-numbers.dots {
    }

}


/**
 * PC用設定
 */
@media ( width >= 768px ) {

    #page-mv {
        margin: 152px auto 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 3840 / 650;
        background: linear-gradient( to right, #0161d1, #012d76 );
    }
    #page-mv .mv-bg {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        opacity: 0.1;
    }
    #page-mv .mv-bg img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #page-mv .mv-box {
        position: absolute;
        top: 50%;
        left: max( 5%, calc( 50vw - 600px ) );
        width: 90%;
        max-width: 1200px;
        translate: 0 -50%;
    }
    #page-mv .mv-box .page-title {
        margin: 0;
        padding: 0;
        color: #fff;
        text-align: left;
    }
    #page-mv .mv-box .page-title div:nth-of-type(1) {
        margin: 0;
        padding: 0;
        font-size: 33px;
        font-weight: 700;
        font-family: var(--font-alphabet);
        line-height: 1.0;
    }
    #page-mv .mv-box .page-title div:nth-of-type(2) {
        margin: 8px 0 0;
        padding: 0;
        font-size: 48px;
        font-weight: 700;
        line-height: 1.0;
    }
    #page-mv .mv-box .page-title div:nth-of-type(2) span {
        font-size: 80%;
    }

    #breadcrumbs {
        margin: 0 auto;
        padding: 40px max( 5%, calc( 50vw - 600px ) );
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0 16px;
        font-weight: 400;
        line-height: 1.0;
    }
    #breadcrumbs > :is(a,span) {
        margin: 0;
        padding: 0;
        font-size: 13px;
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0 16px;
    }
    #breadcrumbs > a {
    }
    #breadcrumbs > span {
        color: #acacac;
    }
    #breadcrumbs > :is(a,span) + :is(a,span)::before {
        display: block;
        content: "▶";
        color: var(--fg-color);
        scale: 0.5 0.5;
    }

    #contact > .contact-wrap {
        background: url(../images/contact-bg.jpg) no-repeat center / cover;
    }

    #archive-wrap {
        margin: 56px auto 0;
        padding: 64px max( 5%, calc( 50vw - 600px ) );
        width: 100%;
        background: #f8f8f8;
    }
    #archive-wrap .archive-cats {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 24px;
    }
    #archive-wrap .archive-cats > a {
        display: grid;
        place-items: center;
        margin: 0;
        padding: 0;
        width: 264px;
        height: auto;
        aspect-ratio: 264 / 44;
        color: #0061d1;
        font-size: 19px;
        font-weight: 500;
        text-align: center;
        line-height: 1.0;
        letter-spacing: 0.03em;
        background: #fff;
        border: 1px solid #0061d1;;
    }
    #archive-wrap .archive-cats > a.active {
        color: #fff;
        background: #0061d1;
        border: 1px solid #0061d1;;
    }

    #archive-wrap .archive-list {
        margin: 40px auto 0;
        padding: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat( 3, 1fr );
        gap: 40px 24px;
    }
    #archive-wrap .archive-list .archive-item {
        position: relative;
        display: grid;
        grid-template-rows: subgrid;
        gap: 0;
        grid-row: span 4;
        margin: 0;
        padding: 16px 16px 32px;
        width: 100%;
        background: #fff;
    }
    #archive-wrap .archive-list .archive-item::after {
        position: absolute;
        content: "";
        right: 0;
        bottom: 0;
        margin: 0;
        padding: 0;
        width: 16px;
        height: 16px;
        background: #0061d1;
        clip-path: polygon( 100% 0, 100% 100%, 0 100% );
    }
    #archive-wrap .archive-list .archive-item .pic {
        position: relative;
        margin: 0;
        padding: 0;
        width: 100%;
        height: auto;
        aspect-ratio: 328 / 185;
    }
    #archive-wrap .archive-list .archive-item .pic:empty {
        background: #ddd;
    }
    #archive-wrap .archive-list .archive-item .pic img {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #archive-wrap .archive-list .archive-item .pic figcaption {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        padding: 0.5em 1.0em;
        color: #fff;
        font-size: 13px;
        font-weight: 500;
        text-align: center;
        line-height: 1.0;
        letter-spacing: 0.03em;
        background: #0061d1;
    }
    #archive-wrap .archive-list .archive-item h3 {
        margin: 0.8em 0 0;
        padding: 0;
        font-size: 23px;
        font-weight: 700;
        text-align: left;
        line-height: calc( 30 / 23 );
        letter-spacing: 0.03em;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
    #archive-wrap .archive-list .archive-item p {
        margin: 0.5em 0 0;
        padding: 0;
        font-size: 16px;
        font-weight: 400;
        text-align: left;
        line-height: calc( 22 / 16 );
    }
    #archive-wrap .archive-list .archive-item .date {
        margin: 1.0em 0 0;
        padding: 0;
        font-size: 13px;
        font-weight: 400;
        text-align: left;
        line-height: 1.0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0 8px;
    }
    #archive-wrap .archive-list .archive-item .date::before {
        display: block;
        content: "";
        width: 1.4em;
        height: auto;
        aspect-ratio: 1 / 1;
        background: url(../images/icon-clock.svg) no-repeat center / contain;
    }

    .page-info {
        margin: 0 auto;
        padding: 56px max( 5%, calc( 50vw - 600px ) ) 160px;
        width: 100%;
        display: grid;
        align-items: center;
        grid-template-columns: 1fr;
    }
    .page-info .page-pos {
        margin: 0;
        width: 100%;
        color: var(--fg-color);
        font-size: 18px;
        font-family: var(--fong-alphabet);
        font-weight: 500;
        text-align: center;
    }
    .page-info .page-numbers {
        margin: 0;
        padding: 0;
        width: 100%;
        list-style: none;
        border: 0;
        display: flex;
        align-items: stretch;
        justify-content: center;
        gap: 0 8px;
    }
    .page-info ul.page-numbers li {
        margin: 0;
        padding: 0;
        width: 40px;
        height: 40px;
        font-size: 19px;
        font-weight: 600;
        text-align: center;
        line-height: 1.0;
        list-style: none;
    }
    .page-info ul.page-numbers li .page-numbers {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        color: var(--fg-color);
        font-size: 19px;
        font-weight: 600;
        line-height: 1.0;
        background: #e3e3e3;
        display: grid;
        place-items: center;
    }
    .page-info ul.page-numbers li .page-numbers.current {
        color: #fff;
        background: #0061d1;;
    }
    .page-info ul.page-numbers li:has(.page-numbers.next) {
        margin-left: 8px;
        width: 32px;
    }
    .page-info ul.page-numbers li .page-numbers.next {
        position: relative;
        width: 32px;
        color: #000;
        background: #000;
    }
    .page-info ul.page-numbers li .page-numbers.next::before {
        position: absolute;
        content: "";
        top: calc( 50% - 0.2em - 1px );
        left: calc( 50% - 0.3em - 1px );
        width: 0.4em;
        height: 0.4em;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        rotate: -45deg;
    }
    .page-info ul.page-numbers li:has(.page-numbers.prev) {
        margin-right: 8px;
        width: 32px;
    }
    .page-info ul.page-numbers li .page-numbers.prev {
        position: relative;
        width: 32px;
        color: #000;
        background: #000;
    }
    .page-info ul.page-numbers li .page-numbers.prev::before {
        position: absolute;
        content: "";
        top: calc( 50% - 0.2em - 1px );
        right: calc( 50% - 0.3em - 1px );
        width: 0.4em;
        height: 0.4em;
        border-left: 2px solid #fff;
        border-bottom: 2px solid #fff;
        rotate: 45deg;
    }
    .page-info ul.page-numbers li .page-numbers.dots {
    }

}
