/* ■■■■■■ ヘッダー ■■■■■■ */
header#header {
    background-color: transparent;
    position: fixed;
    top: 20px;
    width: 100%;
    display: flex;
    z-index: 100;
}
header#header .header-wrapper {
    margin: 0 auto;
    display: flex;
    padding: 0 30px;
    width: 95%;
    max-width: var(--pc-content-width);
    height: 60px;
    border-radius: 30px;
    box-shadow: 2px 2px 6px 0 rgba(36, 49, 75, 0.12);
    background-color: rgba(242, 244, 255, 0.9);
    justify-content: space-between;
}
header#header .header-logo {
    width: 200px;
    display: flex;
}
header#header .header-logo a{
    display: flex;
}
header#header .header-logo img {
    margin: auto 0;
}
header#header .header-navigation{
    margin: auto 0;
}
header#header .header-navigation ul{
    display: flex;
    gap: 30px;
}
header#header .header-navigation ul li{
    color: var(--color-2);
    font-weight: bold;
    font-size: 1.4rem;
    transition: all 0.2s ease;
}
header#header .header-navigation ul li:has(a.current),
header#header .header-navigation ul li:hover{
    border-bottom: var(--color-5) solid 1px;
    color: var(--color-5);
}
header#header .menu-trigger-area{
    display: none;
}


@media screen and (max-width: 767px) {
    header#header {
        top: 12px;
    }
    header#header .header-wrapper {
        height: 52px;
        border-radius: 26px;
        width: calc(100% - 40px);
        padding: 0 12px;
    }
    header#header .header-logo {
        width: 120px;
    }
    header#header .header-logo img {
        width: 120px;
    }
    header#header .menu-trigger-area{
        display: block;
        position: absolute;
        top: 12px;
        right: 32px;
        width: 28px;
        height: 28px;
        cursor: pointer;
        z-index: 200;
    }
    header#header .menu-trigger-area .menu-trigger{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 18.67px;
        height: 12.3px;
        z-index: 2;
    }
    header#header .menu-trigger-area .menu-trigger span{
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: var(--color-2);
    
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
    }
    header#header .menu-trigger span:nth-of-type(1) {
        top: 0;
    }
    header#header .menu-trigger span:nth-of-type(2) {
        top: calc(50% - 0.5px);
    }
    header#header .menu-trigger span:nth-of-type(3) {
        bottom: 0;
    }
    header#header .active .menu-trigger span:nth-of-type(1) {
        -webkit-transform: translateY(20px) rotate(-45deg);
        transform: translateY(20px) rotate(-45deg);
        top: -15px;
    }
    header#header .active .menu-trigger span:nth-of-type(2) {
        left: 50%;
        opacity: 0;
        -webkit-animation: active-menu-bar02 .8s forwards;
        animation: active-menu-bar02 .8s forwards;
    }
    header#header .active .menu-trigger span:nth-of-type(3) {
        -webkit-transform: translateY(-20px) rotate(45deg);
        transform: translateY(-20px) rotate(45deg);
        bottom: -14px;
    }

    header#header nav.header-navigation{
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease;
    }

    header#header:has(.active) nav.header-navigation{
        pointer-events: auto;
        opacity: 1;
    }

    header#header nav.header-navigation{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-base);
        z-index: -1;
        padding-top: 74px;
    }
    header#header nav.header-navigation ul{
        flex-direction: column;
        gap: 0;
        padding: 0 20px;
    }
    header#header nav.header-navigation ul li{
        width: 100%;
        padding: 20px 10px;
        border-bottom: var(--color-5) solid 1px;
    }
}


/* ■■■■■■ メインビジュアル ■■■■■■ */
#main-visual {
    background-image: url(../img/main-visual_background_pc.png);
    height: 690px;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #EDEFFF;
    padding: 0;
}
#main-visual .main-visual-sub {
    width: var(--pc-content-width);
    height: auto;
    background-repeat: no-repeat;
    background-position: center right;
    margin: 80px auto 120px;
}
#main-visual .main-visual-sub.image-1 {
    transition: opacity .4s ease-in;      /* フェード用 */
    background-image: url(../img/main-visual_1.png);
}
#main-visual .main-visual-sub.image-2 {
    transition: opacity .4s ease-in;      /* フェード用 */
    background-image: url(../img/main-visual_2.png);
}
#main-visual .main-visual-sub.image-3 {
    transition: opacity .4s ease-in;      /* フェード用 */
    background-image: url(../img/main-visual_3.png);
    border-radius: 150px 0 200px 0;
    overflow: hidden;
}

#main-visual .logo-image{
    position: absolute;
    top: 234px;
    left: calc((100vw - var(--pc-content-width)) / 2 + 30px);
    width: 381px;
    height: auto;
}

#main-visual .link-button{
    position: absolute;
    bottom: 50px;
}

@media screen and (max-width: 1060px) {
    #main-visual .main-visual-sub {
        width: calc(100% - 50px);
    }
    
    #main-visual .logo-image{
        left: 25px;
    }
}
@media screen and (max-width: 767px) {
    #main-visual {
        background-image:
            url(../img/main-visual_background_sp.png);
        background-size: 100% auto;
        background-color: #EDEFFF;
        background-repeat: no-repeat;
        width: 100%;
        height: auto;
        flex-direction: column;
    }

    #main-visual::before {
        /* メインビジュアルの上に重ねる透過色 */
        content: '';
        position: absolute;
        inset: 0;
        background-color: rgba(237, 239, 255, 0.6); /* 透過色 */
    }

    #main-visual .logo-image{
        position: static;
        margin-top: 76px; /* ヘッダー高さ（52px + ヘッダー上下マージン 12px * 2） */
        transform: unset;
        width: 100%;
        height: 212px;
        display: flex;
        z-index: 20;
    }
    #main-visual .logo-image img{
        width: 251px;
        margin: auto;
    }
    #main-visual .main-visual-sub{
        margin: 0 auto;
        background-size: 100% auto;
        background-position: center center;
        width: calc(100vw - 25px);
        height: calc( (100vw - 25px) * 0.75 );
        z-index: 10;
    }
    #main-visual .link-button{
        position: static;
        margin: 20px auto 80px;
        padding: 0 20px;
        z-index: 30;
    }
}

/* ■■■■■■ ニュース ■■■■■■ */
#news {
    background-color: var(--color-4);
}

#news .section-main .slider-arrow{
    display: none;
}
#news .section-main .slider-container{
    width: 100%;
}

#news .section-main .note-items {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
#news .section-main .note-items .note-item {
    width: 240px;
    height: fit-content;
}
#news .section-main .note-items .note-item figure.thumbnail{
    width: 100%;
    height: auto;
    background-color: transparent;
}
#news .section-main .note-items .note-item figure.thumbnail img{
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}
#news .section-main .note-items .note-item div{
    margin-top: 10px;
}
#news .section-main .note-items .note-item .post-date{
    font-size: 1.4rem;
    color: var(--color-3);
    line-height: 2.5rem;
}
#news .section-main .note-items .note-item .title{
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--color-2);
    line-height: 2.5rem;
    height: 7.5rem;  /* 3行分の高さを確保 */

    /* 3行分を表示 */
    line-clamp: 3;                 /* 主要ブラウザは 2024〜25 年に正式対応 */

    /* ── 従来プレフィックス（後方互換）── */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    /* クリップ処理は必須 */
    overflow: hidden;
}
#news .section-main .note-items .note-item .detail-link{
    width: fit-content;
    font-size: 1.2rem;
    line-height: 2.1rem;
    color: var(--color-3);
    border-bottom: var(--color-3) solid 0.5px;
    display: flex;
}
#news .section-main .note-items .note-item .detail-link::after{
    margin: auto;
    content: '';
    background-image: url(../img/button_arrow_small.png);
    width: 9px;
    height: 9px;
    margin-left: 9px;
}

#news .section-main .more-info{
    width: fit-content;
    margin: 60px 0 0 auto;
    display: flex;
}
#news .section-main .more-info>a{
    margin: auto 0;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--color-2);
}
#news .section-main .more-info>.circle-button>a{
    display: block;
    margin-left: 30px;
    width: 75px;
    height: 75px;
    background-image: url(../img/more-button.png);
    background-size: contain;
    background-repeat: no-repeat;
}
#news .section-main .more-info>.circle-button>a:hover{
    transform: translateX(20px);
    transition: 1.5s ease;
}

@media screen and (max-width: 1060px) {
    #news .section-main .slider-arrow{
        display: flex;
        width: 100%;
        gap: 20px;
        justify-content: center;
    }
    #news .section-main .slider-arrow .arrow-left,
    #news .section-main .slider-arrow .arrow-right{
        cursor: pointer;
    }
    #news .section-main .slider-container {
        overflow: hidden;
        width: calc(100% + 20px);
    }
    #news .section-main .note-items {
        margin: 20px 0 0;
        width: calc(315px * 4 + 20px * 3);
        display: flex;
        transition: transform 0.5s ease;
        will-change: transform;
    }

    #news .section-main .note-items .note-item {
        width: 315px;
    }
    #news .section-main .note-items .note-item figure.thumbnail img{
        height: auto;
    }
    #news .section-main .note-items .note-item .detail-link{
        line-height: 2.8rem;
    }
    
    #news .section-main .more-info{
        width: fit-content;
        margin: 40px auto 0;
        display: flex;
    }
    #news .section-main .more-info>a{
        margin: auto 0;
        font-size: 1.4rem;
        font-weight: bold;
        color: var(--color-2);
    }
    #news .section-main .more-info>.circle-button>a{
        width: 55px;
        height: 55px;
    }
}

/* ■■■■■■ vision ■■■■■■ */

#vision {
    background-image: url(../img/section-background-image.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#vision .section-main{
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 60px;
}

#vision .section-main .section-text p{
    text-align: center;
    font-size: 1.5rem;
    line-height: 3.0rem;
    letter-spacing: 0.04em;
    color: var(--color-2);
}

#vision .vision-visual{
    display: flex;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(246,247,249,.7);
    border-radius: 10px;
    height: 504px;
    width: 790px;
    max-width: 100%;
    box-shadow: 4px 4px 18px 0 rgba(166, 171, 189, 0.25); 
}

#vision .vision-visual figure{
    margin: auto;
}

@media screen and (max-width: 767px) {

    #vision .section-main .section-text{
        font-size: 1.4rem;
        line-height: 2.6rem;
        margin-bottom: 40px;
        letter-spacing: 0;
    }

    #vision .vision-visual{
        padding: 10px;
        height: auto;
    }
}


#program {
    background-color: var(--color-7);
}

#program .section-main ul.program-items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 65px;
    row-gap: 40px;
}
#program .section-main ul.program-items li.program-item {
    width: 310px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    color: var(--color-white);
    line-height: 2.5rem;
}
#program .section-main ul.program-items li.program-item div {
    width: 100%;
}
#program .section-main ul.program-items li.program-item .program-num {
    color: var(--color-5);
    font-size: 2.4rem;
    font-weight: bold;
}
#program .section-main ul.program-items li.program-item .program-title {
    font-size: 1.8rem;
    font-weight: bold;
}
#program .section-main ul.program-items li.program-item .program-text {
    font-size: 1.5rem;
    text-align: justify;
}

@media screen and (max-width: 767px) {
    #program .section-main ul.program-items {
        row-gap: 65px;
    }
}

/* ■■■■■■ schedule ■■■■■■ */

#schedule {
    background-color: var(--color-4);
}
#schedule .table .table-item{
    background-color: var(--color-4);
}

#schedule .table .table-item.has-children {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
#schedule .table .table-item .table-item-inner {
    display: block;
    width: calc(100% + calc(25px + 40px));
    padding: 25px 25px 25px 40px;
    margin: 0 -25px 0 -40px;
}
#schedule .table .table-item .table-item-inner + .table-item-inner {
    border-top: solid 1px rgba(49, 49, 49, 0.15);
}
#schedule .table .table-item .table-item-inner:first-child {
    padding-top: 0;
}
#schedule .table .table-item .table-item-inner:last-child {
    padding-bottom: 0;
}

#schedule .schedule-note {
    margin-top: -30px;
    margin-bottom: 60px;
    margin-left: 32%;/* 340px / 1060px */
    font-size: 1.5rem;
    color: var(--color-2);
}
@media screen and (max-width: 767px) {    
    #schedule .table .table-item .table-item-inner {
        width: calc(100% + calc(16px + 20px));
        padding: 16px 16px 16px 20px;
        margin: 0 -16px 0 -20px;
    }
    #schedule .schedule-note {
        margin-left: 0;
    }
}

#event {
    background-image: url(../img/section-background-image.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
#event .section-main .event-items{
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}
#event .section-main .event-items .event-item{
    background-color: var(--color-4);
    box-shadow: 4px 4px 18px 0 rgba(166, 171, 189, 0.25);
    border-radius: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 50px 95px;
    flex-direction: row-reverse;
}
#event .section-main .event-items .event-item:has(.event-item-inner){
    display: block;
}
#event .section-main .event-items .event-item-inner{
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}
#event .section-main .event-items .event-item figure.thumbnail{
    width: 450px;
    height: 250px;
    display: flex;
}
#event .section-main .event-items .event-item figure.thumbnail img{
    margin:auto;
    border-radius: 5px;
}
#event .section-main .event-items .event-item .event-content{
    margin: auto 0;
    width: 340px;
    height: auto;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
}
#event .section-main .event-items .event-item .event-content h2.title{
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 2.5rem;
    color: var(--color-2);
}
#event .section-main .event-items .event-item .event-content h2.title span{
    display: block;
    height: 30px;
    border-bottom: var(--color-5) solid 2px;
}
#event .section-main .event-items .event-item .event-content .detail ul.event-info{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#event .section-main .event-items .event-item .event-content .detail ul.event-info li.info-item{
    font-size: 1.5rem;
    line-height: 2.5rem;
    color: var(--color-2);
    text-align: justify;
}
#event .section-main .event-items .event-item .event-item-readmore {
    margin-top: 20px;
    text-align: center;
}
#event .section-main .event-items .event-item .event-item-readmore a {
    display: inline-flex;
    position: relative;
    margin:  auto;
    border-radius: 35px;
    padding: 10px 35px;
    line-height: 2.5rem;
    color: var(--color-2);
    border: var(--color-5) 2px solid;
    background-color: var(--color-white);
}
#event .section-main .event-items .event-item .event-item-readmore a .button-overlay{
    position:absolute;
    inset:0;
    pointer-events:none;
    border-radius: 35px;
    opacity:0;
    transition:opacity 2s ease;
    border: var(--color-5) 2px solid;
    background-color: var(--color-5);
}
#event .section-main .event-items .event-item .event-item-readmore a:hover .button-overlay{
    opacity: 1;
}
#event .section-main .event-items .event-item .event-item-readmore a .button-text {
    z-index: 10;
    font-size: 1.6rem;
    font-weight: bold;
    margin: auto;
}
@media screen and (max-width: 1060px) {
    #event .section-main .event-items{
        max-width: 500px;
        margin: 0 auto 40px;
    }
    #event .section-main .event-items .event-item{
        margin: auto;
        padding: 30px 20px;
        flex-direction: column;
        gap: 20px;
    }
    #event .section-main .event-items .event-item-inner{
        margin: auto;
        flex-direction: column;
        gap: 20px;
    }
    #event .section-main .event-items .event-item figure.thumbnail{
        margin: auto;
        width: 100%;
        height: auto;
    }
    #event .section-main .event-items .event-item .event-content{
        margin: auto;
        width: 100%;
        max-width: 400px;
        height: auto;
        gap: 20px;
    }
    #event .section-main .event-items .event-item .event-item-readmore {
        margin-top: 10px;
        padding: 0 20px;
    }
}
@media screen and (max-width: 767px) {
    #event .section-main .event-items .event-item .event-content h2.title{
        font-size: 1.6rem;
    }
    #event .section-main .event-items .event-item .event-content .detail ul.event-info{
        font-size: 1.4rem;
    }
    #event .section-main .event-items .event-item .event-item-readmore a .button-overlay{
        transition: unset;
    }
}

#recruitment {
    background-color: var(--color-white);
}

#recruitment .section-sub-title{
    margin: 60px 0;
}

#recruitment .merit-items{
    display: flex;
    flex-direction: column;
    gap: 40px;
}
#recruitment .merit-items .merit-item{
    display: flex;
    flex-direction: row;
    gap: 74px;
    padding: 50px 62.5px;
    border: var(--color-6) solid 2px;
    border-radius: 10px;
}
#recruitment .merit-items .merit-image{
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    min-width: 181px;
}
#recruitment .merit-items .merit-image img{
    width: 180px;
    margin: 0 auto;
}
#recruitment .merit-items .merit-image h4{
    font-size: 2.2rem;
    line-height: 2.5rem;
    font-weight: bold;
    color: var(--color-2);
    text-align: center;
}
#recruitment .merit-items .merit-detail ul.merit-list{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
#recruitment .merit-items .merit-detail ul.merit-list li .merit-head{
    font-size: 1.6rem;
    line-height: 2.5rem;
    font-weight: bold;
    height: 30px;
    color: var(--color-5);
    border-bottom: var(--color-6) solid 2px;
}
#recruitment .merit-items .merit-detail ul.merit-list li .merit-text{
    font-size: 1.4rem;
    line-height: 2.2rem;
    color: var(--color-3);
    margin-top: 6px;
    text-align: justify;
}
#recruitment .table{
    margin: 40px 0 60px;
}
#recruitment .table .table-item{
    background-color: var(--color-white);
}
@media screen and (max-width: 767px) {
    #recruitment .section-sub-title{
        margin: 40px 0;
    }
    
    #recruitment .merit-items .merit-item{
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 30px 20px;
    }
    #recruitment .merit-items .merit-image{
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 181px;
        margin: 0 auto;
    }
    #recruitment .merit-items .merit-image img{
        width: 180px;
        margin: 0 auto;
    }
    #recruitment .merit-items .merit-detail ul.merit-list{
        gap: 20px;
    }
    #recruitment .table{
        margin: 40px 0;
    }
}

#faq {
    background-color: var(--color-4);
}
#faq .section-main .faq-items{
    display: flex;
    flex-direction: column;
    gap: 40px;
}
#faq .section-main .faq-items .faq-item{
    background-color: var(--color-white);
    padding: 20px 40px;
}
#faq .section-main .faq-items .faq-item summary,
#faq .section-main .faq-items .faq-item .faq-answer{
    color: var(--color-2);
    line-height: 2.6rem;
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-right: 13.2%; /* Figmaの値から算出 */
    position: relative;
    text-align: justify;
}
#faq .section-main .faq-items .faq-subtitle{
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-2);
}
#faq .section-main .faq-items .faq-item summary{
    font-size: 1.8rem;
    font-weight: bold;
}
#faq .section-main .faq-items .faq-item summary::before,
#faq .section-main .faq-items .faq-item .faq-answer::before{
    font-size: 2.4rem;
    font-weight: bold;
    color: var(--color-5);
    line-height: 2.5rem;
    min-width: 27px;
    margin: auto 15px auto 0;
}
#faq .section-main .faq-items .faq-item summary::before{
    content: 'Q.';
}
#faq .section-main .faq-items .faq-item summary::after{
    content: '';
    background-image: url(../img/button_arrow_color5.png);
    width: 24px;
    height: 24px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: rotate(90deg) translateX(-50%);
    transition: transform 0.3s linear;
}
#faq .section-main .faq-items .faq-item details[open] summary::after{
    transform: rotate(90deg) translateX(-50%) scale(-1, -1);
}
#faq .section-main .faq-items .faq-item .faq-answer{
    font-size: 1.5rem;
    font-weight: normal;
    margin-top: 20px;
    padding-top: 20px;
    border-top: var(--color-6) solid 2px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-in
}
#faq .section-main .faq-items .faq-item details[open] .faq-answer{
    max-height: 300px;
}
#faq .section-main .faq-items .faq-item .faq-answer::before{
    content: 'A.';
}
@media screen and (max-width: 767px) {
    #faq .section-main .faq-items .faq-item{
        padding: 20px 20px;
    }
    #faq .section-main .faq-items .faq-item summary{
        padding-right: 34px;
        font-size: 1.5rem;
    }
    #faq .section-main .faq-items .faq-item .faq-answer{
        padding-right: 0;
        font-size: 1.3rem;
    }
    #faq .section-main .faq-items .faq-item summary::before,
    #faq .section-main .faq-items .faq-item .faq-answer::before{
        font-size: 1.8rem;
        min-width: 20px;
        margin-top: 0;
    }
    #faq .section-main .faq-items .faq-item summary::after{
        top: 12px;
    }
}



#attempt {
    background-color: var(--color-white);
}
#attempt .section-title + div{
    margin-top: 60px;
}
#attempt .section-sub-title{
    margin: 60px 0 30px;
}
#attempt .section-sub-title h3{
    font-size: 1.8rem;
    line-height: 3.0rem;
}
@media screen and (max-width: 767px) {
    #attempt .section-title + div{
        margin-top: 40px;
    }
    #attempt .section-sub-title{
        margin-top: 40px;
    }
    #attempt .logo h3{
        font-size: 1.6rem;
        line-height: 3.0rem;
    }
}

#contact {
    background-color: var(--color-7);
}

#contact .contact-items{
    margin: 60px auto;
    width: 910px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
}

#contact .contact-items .contact-logo{
    width: 360px;
    height: 208px;
    margin: auto 0;
    border-radius: 5px;
    background-color: var(--color-white);
    display: flex;
}
#contact .contact-items .contact-logo img{
   margin: auto;
}

#contact .contact-items .contact-item{
    width: 471px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--color-white);
}
#contact .contact-items .contact-item h3{
    height: 30px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 2.5rem;
    border-bottom: var(--color-5) solid 2px;
}
#contact .contact-items .contact-item p{
    font-size: 1.5rem;
    line-height: 2.2rem;
    margin-top: 6px;
}

@media screen and (max-width: 910px) {
    #contact .contact-items{
        margin: 40px auto;
        width: 100%;
        flex-direction: column;
        gap: 40px;
    }
    #contact .contact-items .contact-logo{
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    #contact .contact-items .contact-item{
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 767px) {
    #contact .contact-items .contact-item h3{
        font-size: 1.6rem;
    }
    #contact .contact-items .contact-item p{
        font-size: 1.4rem;
        line-height: 2.2rem;
    }
}

footer {
    background-color: var(--color-4);
}
footer .footer-wrapper {
    margin-bottom: 20px;
}
footer .logo {
    display: flex;
}
footer .logo a {
    margin: auto;
}
footer .site-policy {
    width: fit-content;
    margin: 20px auto 0;
    font-size: 1.4rem;
    color: var(--color-2);
    line-height: 2.0rem;
    border-bottom: var(--color-2) solid 1px;
}
footer .copyright {
    font-size: 1.4rem;
    color: var(--color-2);
    line-height: 2.5rem;
    text-align: center;
}
@media screen and (max-width: 767px) {
    footer .footer-wrapper {
        margin-bottom: 15px;
    }
    footer .site-policy {
        margin: 15px auto 0;
        font-size: 1.2rem;
        line-height: 1.8rem;
    }
    footer .copyright {
        font-size: 1.2rem;
    }
}
