/*共通*/
:root {
    --primary-color: #2143d3;
    --text-color: #161617;
    --text-gray: #b6b6b9;
    --text-red: #e90101;
    --bg-gray: #f8f8f8;
    --font-size-pc-base: clamp(1.4rem, 1.204rem + 0.32vw, 1.6rem);/* 1.6rem*/
    --font-size-pc-small: clamp(1.2rem, 1.004rem + 0.32vw, 1.4rem);/* 1.4rem*/
    --font-size-tab-base: clamp(1.4rem, 1.122rem + 0.77vw, 1.6rem);/* 1.6rem*/
    --font-size-tab-small: clamp(1.2rem, 0.922rem + 0.77vw, 1.4rem);/* 1.4rem*/
    --font-size-sp-base: clamp(1.4rem, 1.15rem + 1.25vw, 1.6rem);/* 1.6rem*/
    --font-size-sp-small: clamp(1.2rem, 0.95rem + 1.25vw, 1.4rem);/* 1.4rem*/
}
.aspect-ratio3-2{
    aspect-ratio: 3 / 2;
}


html{
    font-size: 62.5%;
}
body {
    font-size:var(--font-size-pc-base);
    color: var(--text-color);
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
}

main {
        position: relative; 
        z-index: 1; 
        overflow-x: hidden !important;
    }

.sp-br{
    display: none;
    }


.container{
    max-width: 1470px;
    margin: 0 auto;
}

.container-fluid{
    width: 100%;
}

.sub-container{
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width:1470px) {
    .container,.sub-container{
    padding: 0 6rem;
}
}

@media (max-width:991px) {
    .container,.sub-container{
    padding: unset;
}
}

@media (max-width:576px) {
    .container,.sub-container{
        padding: 0 24px !important;
    }
    .sp-24{
        padding: 0 24px;
    }
}

@media (max-width:576px) {
    .sp-br{
        display: block;
    }
}

img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body{
    overflow-y: scroll; -webkit-overflow-scrolling: touch;
    font-family: "Onest", "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-break: 1.8;
    word-break:break-all;
}

ul{
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}

a{
    text-decoration: none !important;
}

p{
    font-family: "Noto Sans JP", sans-serif;
    color:var(--text-color);
    font-size:var(--font-size-pc-base);
    font-weight: 400;
    margin-bottom: 0;
    line-break:strict;
    line-height: 1.8;
    font-feature-settings: "palt";
    letter-spacing:0.05rem;
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6
{
    line-break:strict;
    letter-spacing:0.06rem; 
    line-height: 1.8;
}


.sec-ttl h2{
    color: var(--primary-color);
    font-size: clamp(4rem, 3.238rem + 3.81vw, 8rem);
    position: relative;
    padding-left: 4rem;
    line-height: 1;
}


.sec-ttl h2::before{
    position: absolute;
    content: "";
    display: block;
    background-color: var(--primary-color);
    border-radius: 50px;
    width: 12px;
    height: 12px;
    top: 40%;
    left: 0;
}


.sec-ttl span{
    font-size: clamp(1.6rem, 1.524rem + 0.38vw, 2rem);
    font-weight: 600;
    display: block;
    margin-top: 1.8rem;
}

@media (max-width: 1200px) {
.sec-ttl h2{
    font-size: clamp(3rem, -5.535rem + 13.78vw, 4.8rem);
}
.sec-ttl span{
    font-size: var(--font-size-pc-base);
}
}

@media (max-width: 576px) {
    .sec-ttl h2{
    padding-left: 2.4rem;
    font-size: clamp(5rem, 4.75rem + 1.25vw, 5.2rem);
    }
}

@media (max-width: 991px) {
section,.breadcrumb-list,.section{
    width: 80%;
    margin: 0 auto;
}
}

@media (max-width: 576px) {
    p{
        font-size: var(--font-size-sp-base);
    }
    section,.breadcrumb-list,.section{
    width: 100%;
    }
}




/* ---余白 (m)--- */
.sec-my-lg-9{
    margin: 9rem 0 !important;
}
.mt-lg-12{
    margin-top: 12rem !important;
}
.mt-lg-9{
    margin-top: 9rem !important;
}
.mt-lg-8{
    margin-top: 8rem !important;
}
.mt-lg-6{
    margin-top: 6rem !important;
}
.mt-lg-4{
    margin-top: 4rem !important;
}
.mt-lg-3{
    margin-top: 3rem !important;
}
.mt-lg-2{
    margin-top: 2rem !important;
}
.mt-lg-1{
    margin-top: 1rem !important;
}

@media (max-width: 1200px) {
.sec-my-md-4{
    margin: 4rem 0 !important;
}
.mt-md-6{
    margin-top: 6rem !important;
}
.mt-md-4{
    margin-top: 4rem !important;
}
.mt-md-3{
    margin-top: 3rem !important;
}
.mt-md-2{
    margin-top: 2rem !important;
}
.mt-md-0{
    margin-top: 0 !important;
}
}

@media (max-width: 768px) {
.mt-md-6{
    margin-top: 6rem !important;
}
}

@media (max-width: 576px) {
.mt-xs-6{
    margin-top: 6rem !important;
}
.mt-xs-4{
    margin-top: 4rem !important;
}
.mt-xs-3{
    margin-top: 3rem !important;
}
.mt-xs-2{
    margin-top: 2rem !important;
}
.mt-xs-1{
    margin-top: 1rem !important;
}
}

/* ---余白 (p)--- */
.sec-py-lg-9{
    padding: 9rem 0 !important;
}
.sec-py-lg-12{
    padding: 12rem 0 !important;
}
.pt-lg-16{
    padding-top: 16rem !important; 
}
.pt-lg-12{
    padding-top: 12rem !important; 
}
.pt-lg-9{
    padding-top: 9rem !important; 
}
.pt-lg-8{
    padding-top: 8rem !important; 
}
.pt-lg-6{
    padding-top: 6rem !important; 
}
.pt-lg-4{
    padding-top: 4rem !important; 
}
.px-lg-6{
    padding: 0 6rem !important; 
}
.px-lg-3{
    padding: 0 3rem !important; 
}
.py-lg-12{
    padding: 12rem 0 !important; 
}
.py-lg-9{
    padding: 9rem 0 !important; 
}
.py-lg-8{
    padding: 8rem 0 !important; 
}
.pb-lg-9{
    padding-bottom: 9rem !important; 
}
.pb-lg-6{
    padding-bottom: 6rem !important; 
}
.p-lg-8{
    padding: 8rem;
}
.py-lg-8{
    padding: 8rem 0 !important;
}
.py-lg-4{
    padding: 4rem 0 !important;
}
.pr-lg-2{
    padding-right: 2rem !important;
}

@media (max-width: 1200px) {
.sec-py-md-6{
padding: 6rem 0 !important;
}
.pt-md-8{
    padding-top: 8rem !important;
}
.pt-md-6{
    padding-top: 6rem !important;
}
.pt-md-4{
    padding-top: 4rem !important;
}
.py-md-6{
    padding: 6rem 0 !important;
}
.pb-md-4{
    padding-bottom: 4rem !important; 
}
.pb-md-6{
    padding-bottom: 6rem !important; 
}
.p-md-4{
    padding: 4rem;
}
.p-md-3{
    padding: 3rem;
}
.p-md-0{
    padding: 0 0  !important;
}
}


/* 共通セクションスタイル */
/* button */
.button{
    transition: all 0.2s;
    font-weight: 500;
}

.button a {
    padding: 28px 40px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff !important;
    background: #2143D3;
    background: linear-gradient(90deg,rgba(33, 67, 211, 1) 0%, rgba(81, 186, 225, 1) 50%, rgba(33, 67, 211, 1) 100%);
    background-size: 200% 100%;
    background-position: left center;
    position: relative;
    transition: background-position 0.4s ease;
    display: inline-block;
}

@media (hover: hover) {
.button a:hover {
    background-position: right center;
}
}

.mail-icon{
    width: 22px;
    height: 18px;
    margin-right: 12px;
}

.more-button a, .button a{
    display: flex;
    justify-content: space-between;
    gap: 9rem;
    width: fit-content;
}

.cv-button a{
    gap: unset;
}

.btn-arrow-icon img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.more-button .btn-arrow-icon, .button .btn-arrow-icon{
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

@media (hover: hover) {
.more-button a:hover .btn-arrow-icon{
    transform: translateX(4px);
}
.button a:hover .btn-arrow-icon{
    transform: translateX(4px);
}
}

.pc-nav li .current,
.nav li .current {
    font-weight: 600;
}

/* header */
    body.menu-open {
    overflow: hidden;
    }

    header {
    position: fixed;
    background: #fff;
    z-index: 900;
    }

    .header-inner {
    margin: 0 auto;
    padding: 24px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }

    .logo{
    width:25%;
    max-width: 360px;
    }



    /* PCナビ */
    .pc-nav ul {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    list-style: none;
    }
    

    .pc-nav a {
    text-decoration: none;
    padding: 20px;
    font-size: var(--font-size-pc-base);
    color: var(--text-color);
    font-weight: 400;
    transition: background-position 0.4s ease;
    }

    .pc-nav .button a{
    padding: 28px 40px;
    }

    @media (hover: hover) {
    .pc-nav a:hover{
    font-weight: 600;
    }
    }

    
    .contact_wrapper{
    display: flex;
    justify-content:center ;
    align-items: center;
    gap: 4rem;
    position: relative;
    }

    .contact_wrapper .tel{
    margin-left: 4rem;
    }

    .contact_wrapper .num{
    font-size: 2.4rem;
    }

    .contact_wrapper::before{
        content:"";
        display:block;
        width:1px;
        height:52px;
        background-color:#c5c5c9;
        position:absolute;
        top: 20%;
        left: 0px; 
    }

    @media (min-width: 1199px) and (max-width:1440px){
    .logo{
    width:22%;
    min-width: 280px;
    }
        .contact_wrapper{
        gap: 1rem;
    }
    .pc-nav a{
        padding: 20px 8px;
    }
    .contact_wrapper .tel{
        margin-left: 2rem;
    }
}

    /* ハンバーガー */
    .hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 1100;
    }

    .hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #000;
    left: 0;
    }

    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 10px; }
    .hamburger span:nth-child(3) { bottom: 0; }

    /* SPメニュー */
    .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    padding: 80px 20px;
    transition: 0.3s;
    z-index: 1200;
    }

    .nav.open {
    left: 0;
    }


    /* メニュー */
    .menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    }

    .menu li {
    /* margin: 2.8rem 0; */
    position: relative;
    }

    .menu li::after{
    content:"";
    display:block;
    width:100%;
    height:1px;
    background-color:#c5c5c9;
    position:absolute;
    bottom: 0;
    left:0;
    }

    .menu li:last-child::after {
    display: none;
    }

    .menu li a{
        display: block;
    padding: 2.8rem 0;
    }

    .menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: var(--font-size-sp-base);
    }

    /* 閉じるボタン */
    .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1300;
    color: var(--text-color);
    }

    /* 背景オーバーレイ */
    .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 900;
    }

    .menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    }


    @media (max-width: 1200px) {
    .header .logo{
        width: 50%;
        max-width: 320px;
    } 
    
    .pc-nav {
    display: none;
    }

    .hamburger {
    display: block;
    }
    .header-inner {
    padding: 16px 40px;
    }
    
    .menu .cv-button a{
        margin: 0 auto;
        margin-top: 30px;
        padding: 28px 60px;
    }
    .contact_wrapper::before{
        display: none;
    }
    .contact_wrapper{
        display: block;
        margin-top: 60px !important;
    }
    .contact_wrapper .tel{
        margin-left: 0;
    }
    }

    /* モバイル */
    @media (max-width: 576px) {
    .header-inner {
        padding: 16px 24px;
        }
    .contact_wrapper .num{
        font-size: 1.8rem;
    }
    .header .logo{
        width: 68%;
    } 
}


/* footer */
.footer-bg{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 180%;
    height: auto;
    z-index: -1;
}

.footer-contents-inner{
    padding: 120px 40px 90px;
    max-width: 1470px;
    margin:0 auto;
}

.footer-contents{
    display: flex;
    justify-content: space-between;
    align-items: start;
}

/* left */
.footer-logo{
    width: 380px;
}

.footer-overview{
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-overview .name{
    display: block;
    font-size: var(--font-size-pc-base);
    font-weight: 500;
}
.footer-overview .access{
    font-size: var(--font-size-pc-base);
}

.footer-overview .access span{
    border: solid 1px #161617;
    border-radius: 4px;
    padding: 0px 8px 4px;
    color: var(--text-color);
    line-height: 0;
}

.footer-overview .access .map-txt{
font-size: var(--font-size-pc-small);
}

.footer-overview .num a{
    cursor: unset;
}

.footer-overview .num span{
    font-family: "Onest", sans-serif;
    display: inline-block;
    font-size: var(--font-size-pc-base);
    font-weight: 400;
}


/* right */
.footer-right{
    display: flex;
    justify-content: end;
    gap: 12rem;
}

footer .nav-items__item{
    padding: 20px;
}

footer .nav-items__item a{
    color: var(--text-color);
    font-weight: 500;
    transition: ease .3s;
}

@media (hover: hover) {
footer .nav-items__item a:hover{
    opacity: 0.6;
}
}

.copy-right{
    display: block;
    background-color: #161617;
    text-align: center;
}

.copy-right p{
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
}


@media (max-width: 1199px) {
    .footer-nav-list{
        margin-top: 9rem;
    }
    
    .footer .nav-01{
        display: block;
    }
    .footer-nav-list{
        display: block;
    }
    .footer .nav__items{
        justify-content: start;
    }
    .footer-contents{
        display: block;
    }
    .footer-contents-inner{
            padding: 90px 40px;
        }

    .footer-right{
    justify-content: start;
    }

    footer .nav-items__item{
    padding: 20px 20px 20px 0;
}
}


@media (max-width:991px) {
.footer-contents-inner{
    width: 80%;
    padding: 60px 0;
}
}


@media (max-width:768px) {
.footer-right{
    display: block;
}
.footer-contents .cv-button{
    margin-top: 40px;
}
}


@media (max-width:576px) {
    .footer-contents-inner{
        padding: 40px 24px;
        width: 100%;
    }

    .footer .nav-items__item, .footer .nav-items__item a{
        font-size: var(--font-size-sp-base);
    }

    footer .nav-items__item{
    padding: 12px;
    padding-left: 0;
}
    
    .footer-overview .access{
    font-size: var(--font-size-pc-medium);
    }

    .footer-overview .num span{
        margin-bottom: .4rem;
        font-size: var(--font-size-pc-medium);
    }
    
    .footer .nav__items{
        gap: 0 3rem;
    }

    .footer-overview .num a{
    color: var(--text-color);
    }

    .footer-logo{
        width: 72%;
    }

}


/* 下層共通 */
/* 遷移アニメーション */
.four-color .animation-bg .animation-bg-element {
    position: fixed;
    top: 0;
    left: 0;
    height: calc(100% / 2);
    width: calc(100% / 2);
    z-index: 999;
    animation-name: PageAnime-four-color-ttb;
    animation-duration: 0.6s;
    animation-delay: 0;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

.four-color .animation-bg .animation-bg-element:nth-child(2) {
    left: inherit;
    right: 0;
    animation-name: PageAnime-four-color-rtl;
}

.four-color .animation-bg .animation-bg-element:nth-child(3) {
    top: inherit;
    bottom: 0;
    animation-name: PageAnime-four-color-ltr;
}

.four-color .animation-bg .animation-bg-element:nth-child(4) {
    top: inherit;
    left: inherit;
    right: 0;
    bottom: 0;
    animation-name: PageAnime-four-color-btt
}
.four-color .animation-bg .animation-bg-element::before {
    background: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 四隅から色を表示する-上から下 */
@keyframes PageAnime-four-color-ttb {
0% {
    transform-origin: bottom;
    transform: scaleY(1);
}
100% {
    transform-origin: bottom;
    transform: scaleY(0);
}
}
/* 四隅から色を表示する-左から右 */
@keyframes PageAnime-four-color-ltr {
0% {
    transform-origin: right;
    transform: scaleX(1);
}
100% {
    transform-origin: right;
    transform: scaleX(0);
}
}
/* 四隅から色を表示する-下から上 */
@keyframes PageAnime-four-color-btt {
0% {
    transform-origin: top;
    transform: scaleY(1);
}
100% {
    transform-origin: top;
    transform: scaleY(0);
}
}
/* 四隅から色を表示する-右から左 */
@keyframes PageAnime-four-color-rtl {
0% {
    transform-origin: left;
    transform: scaleX(1);
}
100% {
    transform-origin: left;
    transform: scaleX(0);
}
}

.common-contents-header{
    height: 40vh;
    width: 100%;
    background-color:rgba(255,255,255,0.6);
    background-blend-mode:lighten;
    background-image: url(/img/common/contents-header-bg.jpg);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.breadcrumb-list{
    font-size: 1.2rem;
    margin-top: 1.6rem;
    font-weight: 400;
    color:var(--text-color);
}
.breadcrumb-list a{
    color:var(--text-gray);
}

.breadcrumb-list .active{
    color: var(--text-color);
}

.breadcrumb-item+.breadcrumb-item::before{
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--bs-breadcrumb-divider-color);
    content: var(--bs-breadcrumb-divider, "/");
}

.sub_sec-ttl{
    color: var(--text-color);
}

.sub_sec-ttl h3{
    font-size: clamp(2.4rem, 1.943rem + 2.29vw, 4.8rem);
    line-height: 1;
}

.sub_sec-ttl span{
    font-size: clamp(1.4rem, 1.362rem + 0.19vw, 1.6rem);
    font-weight: 400;
    display: block;
    margin-top: 1.2rem;
}

.sub-footer{
    background-color: var(--bg-gray);
}

.sub-footer .footer-bg{
display: none;
}

@media (max-width:991px) {
.sub-p .sec-ttl{
        width: 80%;
        margin: 0 auto;
}
}

@media (max-width:576px) {
.common-contents-header{
    height: 30vh;
}
.sub-p .sec-ttl{
    width: 100%;
}
.sub-footer .footer-contents{
    padding-top: 3rem;
}
.sub_sec-ttl h3{
    font-size: clamp(3rem, 2.75rem + 1.25vw, 3.2rem);
}
.sub_sec-ttl span{
    font-size: var(--font-size-sp-small);
}
}