/* ■■■■■■ ヘッダー ■■■■■■ */
header#header {
    position: fixed;
    width: 100%;
    display: flex;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
}

header#header .header-wrapper {
    margin: 0 auto;
    display: flex;
    padding: 0 30px;
    width: 100%;
    max-width: var(--pc-content-width);
    height: 60px;
    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;
}

header#header .header-navigation ul li:has(a.current) a,
header#header .header-navigation ul li a:hover {
    border-bottom: var(--color-3) solid 1px;
    color: var(--color-3);
    box-sizing: border-box;
}

header#header .header-navigation ul li a {
    padding-bottom: 5px;
}

header#header .menu-trigger-area {
    display: none;
}

@media screen and (max-width: 767px) {
    header#header {
        background: rgba(255, 255, 255, 0.85);
        background: none;
    }

    header#header .header-wrapper {
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 2px 2px 6px 0px rgba(36, 49, 75, 0.12);
        height: 52px;
        padding: 0 20px;
    }

    header#header .header-logo {
        width: 145px;
    }

    header#header .header-logo img {
        width: 145px;
    }

    header#header .menu-trigger-area {
        display: block;
        position: absolute;
        top: 12px;
        right: 20px;
        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;
        z-index: 9998;
        padding-top: 52px;
    }

    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: rgba(243, 244, 249, 1);
        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: rgba(67, 68, 79, 0.2) solid 1px !important;
    }
}

/* ■■■■■■ メインビジュアル ■■■■■■ */
#main-visual {
    background-size: cover;
    height: 820px;
    padding: 0;
}

.bg-slider {
    width: 100%;
    height: 100vh;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

#MV_title p {
    text-align: center;
    color: #fff;
    text-shadow: 0px 0px 11px rgba(0, 0, 0, 0.6);
    line-height: 65px;
}

#MV_title p:first-child {
    font-size: 38px;
    font-weight: bold;
    letter-spacing: 0.25em;
}

#MV_title p:nth-child(2) {
    font-size: 84px;
    font-weight: 700;
    letter-spacing: 0.07em;
    font-family: 'Lexend Deca', sans-serif;
}

#MV_title p img {
    width: 82px;
    height: 68px;
    margin-left: -6px;
}

#main-visual .link-button {
    position: absolute;
    bottom: 200px;
}

@media screen and (max-width: 1060px) {
    #main-visual .main-visual-sub {
        width: calc(100% - 50px);
    }
}

@media screen and (max-width: 767px) {
    #main-visual {
        background-color: #EDEFFF;
        background-repeat: no-repeat;
        width: 100%;
        height: 650px;
        flex-direction: column;
    }

    #MV_title p:first-child {
        font-size: 3vw;
        font-weight: bold;
        letter-spacing: 0.25em;
        line-height: 5vw;
    }

    #MV_title p:nth-child(2) {
        font-size: 8vw;
        font-weight: 700;
        letter-spacing: 0.07em;
        font-family: 'Lexend Deca', sans-serif;
        line-height: 6.8vw;
    }

    #MV_title p img {
        width: 8.2vw;
        height: 6.8vw;
        margin-left: -3px;
    }

    #main-visual .link-button {
        padding: 0 20px;
        bottom: 50px;
    }
}

/* ■■■■■■ button ■■■■■■ */

div.link-button a.button.button-white.disabled {
    border: #cccccc 2px solid;
    color: #cccccc;
    align-items: center;
    justify-content: center;
}
div.link-button a.button.button-white.disabled::after{
    display: none;
}
div.link-button a.button.button-white.disabled .button-text {
    margin: 0;
}

/* ■■■■■■ vision ■■■■■■ */
#vision {
    background-image: url(../img/VISION.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: 50px;
}

.strong {
    font-weight: bold;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    line-height: 30px;
}

#vision .section-main .section-text p {
    text-align: center;
    font-size: 1.5rem;
    line-height: 3.0rem;
    letter-spacing: 0;
    color: var(--color-2);
}

@media screen and (max-width: 767px) {
    .strong {
        font-size: 1.8rem;
        margin-bottom: 40px;
        line-height: 30px;
    }

    #vision .section-main {
        gap: 0px;
    }

    #vision .section-main .section-text {
        font-size: 1.4rem;
        line-height: 2.6rem;
        margin-bottom: 40px;
        letter-spacing: 0;
    }

    #vision .section-main .section-text br.for-pc {
        display: none;
    }

    .only-sp {
        display: none;
    }
}


/* ■■■■■■ ニュース ■■■■■■ */
#news {
    background-color: #fff;
}
#news .section-main {
    overflow: hidden;
}

#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-evenly;
}

#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);
    display: flex;
    position: relative;
}

#news .section-main .note-items .note-item .detail-link a {
    padding-right: 20px;
    border-bottom: var(--color-3) solid 0.5px;
    line-height: 24px;
}

#news .section-main .note-items .note-item .detail-link::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 5px;
    width: 7px;
    height: 7px;
    margin: auto;
    border-top: .5px solid var(--color-3);
    border-right: .5px solid var(--color-3);
    transform: rotate(45deg);
    box-sizing: border-box;
    cursor: pointer;
}

#news .section-main .more-info {
    margin: 60px auto 0;
    display: flex;
    justify-content: center;
}

#news .section-main .more-info>a {
    margin: auto 0;
    font-size: 1.5rem;
    font-weight: normal;
    color: #fff;
    background-color: var(--color-2);
    padding: 11px 10px;
    width: 240px;
    text-align: center;
    border-radius: 50px;
    position: relative;
    letter-spacing: 0.06em;
    transition: .3s;
}

#news .section-main .more-info>a:hover {
    background-color: var(--color-3);
}

#news .section-main .more-info>a::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 22px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
    box-sizing: border-box;
}

@media screen and (min-width: 1061px) {
    #news .section-main .note-items {
        transform: unset !important;
    }
}

@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;
        gap: 20px;
        width: calc(315px * 4 + 20px * 3);
        justify-content: left;
        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;
    }

    #news .section-main .more-info>.circle-button>a {
        width: 55px;
        height: 55px;
    }
}

/* ■■■■■■ プログラム ■■■■■■ */
#program {
    color: #fff;
    position: relative;
    background-color: var(--color-2);
    z-index: 0;
}

#program .section-container {
    z-index: 1;
}

#program div.section-title div.section-title-en {
    color: #fff !important;
}

#program .section-main ul.program-items {
    width: 100%;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}

#program .section-main ul.program-items li.program-item {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    line-height: 2.5rem;
    background-color: rgb(255 255 255 / 90%);
    border-radius: 10px;
    padding: 35px;
    margin: 10px 40px;
}

#program .section-main ul.program-items li.program-item div {
    width: 100%;
    font-weight: bold;
}

#program .section-main ul.program-items li.program-item .program-title {
    font-size: 2.4rem;
    color: var(--color-3);
}

#program .section-main ul.program-items li.program-item .program-text p {
    font-size: 1.5rem;
    text-align: center;
    color: var(--color-2);
}

.program_contents {
    margin-bottom: 100px;
    font-weight: bold;
}

.program_contents>p {
    margin: 100px 0 60px;
    font-size: 4rem;
    text-align: center;
}

.program_contents>div {
    display: flex;
    justify-content: space-between;
}

.card {
    border-radius: 10px;
    width: 310px;
    height: 356px;
    border: #fff 1px solid;
    text-align: center;
    padding: 30px;
}

.card p {
    text-align: center;
    margin: 15px auto;
}

.card p:first-child {
    font-size: 2rem;
    line-height: 28px;
    letter-spacing: 1px;
}

.card img {
    width: 140px;
}

.pg-canvas {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    z-index: -5;
}

@media screen and (max-width: 767px) {
    .program_contents {
        margin-bottom: 80px;
    }

    .program_contents>p {
        margin: 60px 0 40px;
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .program_contents>div {
        flex-flow: column;
    }

    .card {
        border-radius: 10px;
        width: 310px;
        height: 356px;
        border: #fff 1px solid;
        text-align: center;
        padding: 30px;
        margin: 10px auto;
    }

    .card p:first-child {
        font-size: 2rem;
    }

    #program .section-main ul.program-items li.program-item {
        padding: 35px 10px;
    }

    #program .section-main ul.program-items li.program-item .program-text p {
        font-size: 1.4rem;
    }

    #program .section-main ul.program-items li.program-item .program-title {
        font-size: 1.8rem;
    }
}


/* ■■■■■■ links ■■■■■■ */
#links {
    text-align: center;
}

#links_inner {
    display: flex;
    justify-content: space-around;
}

.links_item p {
    text-align: center;
}

.links_text {
    color: var(--color-5);
    font-weight: bold;
    font-size: 15px;
}

.links_title {
    color: var(--color-2);
    font-weight: bold;
    font-size: 52px;
    padding: 40px 0;
    line-height: 52px;
}

.links_item img {
    width: 140px;
    padding-bottom: 40px;
}

.links_description {
    margin: 0 auto;
    font-weight: bold;
    font-size: 20px;
    margin-top: 60px;
    text-align: center;
}

.detail_btn>a {
    display: inline-block;
    margin: auto 0;
    font-size: 1.5rem;
    color: var(--color-2);
    font-weight: normal;
    background-color: #fff;
    padding: 11px 10px;
    width: 240px;
    text-align: center;
    border: 1px solid var(--color-2);
    border-radius: 50px;
    position: relative;
    letter-spacing: 0.06em;
    transition: .3s;
}

.detail_btn>a:hover {
    background-color: var(--color-3);
    border: 1px solid #fff;
    color: #fff;
}

.detail_btn>a::after {
    transition: .3s;
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 22px;
    width: 9px;
    height: 9px;
    margin: auto;
    border-top: 1px solid var(--color-2);
    border-right: 1px solid var(--color-2);
    transform: rotate(45deg);
    box-sizing: border-box;
}

.detail_btn>a:hover::after {
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}

.detail_btn.disabled>.button-text {
    display: inline-block;
    margin: auto 0;
    font-size: 1.5rem;
    color: #999999;
    font-weight: normal;
    background-color: #fff;
    padding: 11px 10px;
    width: 240px;
    text-align: center;
    border: 1px solid #999999;
    border-radius: 50px;
    position: relative;
    letter-spacing: 0.06em;
    transition: .3s;
    pointer-events: none;
}

@media screen and (max-width: 1060px) {
    .links_title {
        font-size: 44px;
        ;
    }
}

@media screen and (max-width: 767px) {
    #links_inner {
        flex-flow: column;
    }

    .links_title {
        font-size: 48px;
        padding-top: 20px;
    }

    .links_item:not(:first-child) {
        margin-top: 80px;
    }

    .links_description {
        font-size: 18px;
    }

    .links_item img {
        padding: 10px 0 50px;
    }
}

/* ■■■■■■ コンタクト ■■■■■■ */
#contact {
    background-color: var(--color-2);
    color: #fff !important;
    text-align-last: left;
}

#contact .section-container {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

#contact div.section-title div.section-title-en {
    color: #fff !important;
    margin-bottom: 0;
}

#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 h3 {
    /* height: 35px; */
    font-size: 2.6rem;
    font-weight: bold;
    line-height: 3.3rem;
}

#contact .contact-items .contact-item h3 span {
    display: inline-block;
}

#contact .contact-items .contact-item p {
    font-size: 1.5rem;
    line-height: 2.2rem;
    margin-top: 6px;
    font-weight: normal;
}

.contact-item div h3 {
    margin-top: 15px;
}

#contact .contact-items .contact-item h3.contact-item-email {
    font-size: 1.5rem;
    height: unset;
}


@media screen and (max-width: 910px) {
    #contact {
        padding: 60px 40px;
    }

    #contact .contact-items {
        margin: 40px auto;
    }

    #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-right: auto;
    }
}

@media screen and (max-width: 767px) {
    #contact .contact-items {
        margin: 80px auto 0px;
    }

    #contact .contact-items .contact-item {
        max-width: unset;
    }

    #contact .contact-items .contact-item h3 {
        font-size: 2.2rem;
    }
    
    #contact .contact-items .contact-item div h3 {
        font-size: 2rem;
    }

    #contact .contact-items .contact-item h3.contact-item-email {
        font-size: min(1.5rem,3vw);
    }

    #contact .contact-items .contact-item p {
        font-size: 1.4rem;
        line-height: 2.2rem;
    }
}

/* ■■■■■■ フッター ■■■■■■ */
footer {
    background-color: var(--color-4);
}

footer .section-container {
    display: flex;
    justify-content: space-between;
}

footer .footer-wrapper {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

footer .footer-wrapper p {
    text-align: center;
}

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_img {
    width: 245px;
}

.center {
    display: none;
}

footer .copyright {
    font-size: 1.4rem;
    color: var(--color-2);
    line-height: 2.5rem;
    text-align: center;
}

@media screen and (max-width: 767px) {
    footer {
        padding: 60px 20px;
        text-align: center;
    }

    .section-container,
    .footer-wrapper {
        display: block !important;
    }

    .logo {
        margin-bottom: 40px;
        margin-left: 0 !important;
    }

    .logo p {
        margin-bottom: 5px;
    }

    footer .site-policy {
        margin: 15px auto 0;
        font-size: 1.2rem;
        line-height: 1.8rem;
    }

    footer .copyright {
        font-size: 1.2rem;
        margin-top: 20px;
    }

    .left {
        display: none;
    }

    .center {
        display: inline;
    }
}