/* fontsize：clamp(最小値rem, ▲中間値vw, 最大値rem)

▲中間値vwの出し方
1)pc時（＊default）:ベース横幅1600px/中間値は大きい方
2)tab時（max991px）:ベース横幅991px
3)sp時 （max576px）:ベース横幅576px

*/


/*共通*/
:root {
    --primary-color: #4bacc6;
    --text-color: #181919;
    --accent-color: #ef751c;
    --gray-text: #c0c0c0;
    --box_shadow-gray: #d8d8d8;
    --text-red: #df0000;
    --text-green: #18c551;
    --group-green: #58a72a;
    --group-ora: #f4a417;
    --group-blue: #5ba0d7;
    --radius-base: 32px;
    --font-size-pc-large: clamp(1.6rem, 1.125vw, 1.8rem); /* 1.6rem~1.8rem 中間値は大きい方（＝1.8rem）*/
    --font-size-pc-base: clamp(1.4rem, 1vw, 1.6rem); /* 1.4rem~1.6rem*/
    --font-size-pc-small: clamp(1.3rem, 0.8750000000000001vw, 1.4rem); /* 1.3rem~1.4rem*/  
    --font-size-sp-base: clamp(1.6rem, 3.125vw, 1.8rem); /* 1.6rem~1.8rem*/
    --font-size-sp-small: clamp(1.3rem, 2.430555555555556vw, 1.4rem); /* 1.3rem~1.4rem*/
}

.aspect-ratio3-2{
    aspect-ratio: 3 / 2;
}

.aspect-ratio1-1{
    aspect-ratio: 1 / 1;
}

.aspect-ratio4-3{
    aspect-ratio: 4 / 3;
}

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;
    text-align: justify;
    background-color: #f7f9f9;
}

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

.sp-br{
    display: none;
    }

.tb-only-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 (min-width: 769px) and (max-width:1199px){
    .tb-only-br{
    display: block;
}
}



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

@media (max-width:576px) {
    .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-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", "Montserrat", 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;
}


/* ---余白 (m)--- */
.sec-my-lg-9{
    margin: 9rem 0 !important;
}
.mt-lg-16{
    margin-top: 16rem !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) {
.sec-py-xs-6{
padding: 6rem 0 !important;
}
.mt-sm-0{
    margin-top:0 !important;
}
.mt-sm-9{
    margin-top: 9rem !important;
}
}

/* ---余白 (p)--- */
.sec-py-lg-9{
    padding: 9rem 0 !important;
}
.sec-py-lg-16{
    padding: 16rem 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; 
}
.py-lg-6{
    padding: 6rem 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-9{
padding: 9rem 0 !important;
}
.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 !important;
}
.p-md-3{
    padding: 3rem !important;
}
.p-md-0{
    padding: 0 0  !important;
}
}


@media (max-width: 576px) {
.pt-sm-9{
    padding-top: 9rem !important;
}
.py-sm-2{
    padding: 2rem 0 !important;
}
}



/* 共通パーツ */


/* button */

/* hover*/
@media (hover: hover) {
    
}



/* ==================
header
=====================*/
    .logo{
    width: 22%;
    max-width: 400px;
    }

    body.menu-open {
    overflow: hidden;
    }

    header {
    position: fixed;
    background: #fff;
    box-shadow: 0px 4px 30px 0px rgba(41, 41, 41, 0.2);
    z-index: 900;
    width: 100%;
    top: 0;
    right: 0;
    }

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

    /* .header .current{
        color: var(--accent-color);
    } */

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

    .pc-nav ul li a{
    padding: 0 16px;
    gap: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: color 0.2s ease;
    }

    .pc-nav ul li a::after{
    content: "";
    position: absolute;
    top: 50%;
    left: 0px;
    width: 1px;
    height: 24px;
    background-color: #e8e8e8;
    }

    .pc-nav ul li:first-child a::after {
    display: none;
    }

    .pc-nav a {
    text-decoration: none;
    font-size: var(--font-size-pc-base);
    color: var(--gray-text);
    font-weight: 400;
    transition: color 0.2s ease-in-out;
    }


    @media (hover: hover) {
    .pc-nav a:hover{
    color: var(--primary-color);
    }
    }
    

    .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:18%;
min-width: 180px;
}
.header-inner {
    padding:  24px 40px;
}
.contact_wrapper{
    gap: 1rem;
}
.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: #f8fcff;
    padding: 80px 20px;
    transition: 0.3s;
    z-index: 1200;
    box-shadow: 0px 4px 30px 0px rgba(41, 41, 41, 0.2);
    }

    .nav.open {
    left: 0;
    }


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

    .menu li {
    position: relative;
    padding: 2.4rem 0;
    }

    .menu li span{
    margin-top: 1.2rem;
    display: block;
    font-size: 1.4rem;
    }

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

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

    .menu li a{
        display: block;
        
    }

    /* .menu li .current{
        color: var(--accent-color);
    } */

    .pc-nav ul li a.current{
	color:var(--primary-color);
}

    .menu a {
    text-decoration: none;
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--primary-color);
    }

    .menu .button{
        width: fit-content;
        margin: 3.2rem auto 0;
    }

    .menu .button a{
        display: flex;
    }

    .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    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: 200px;
} 

.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{
    max-width: 220px;
    width: 100%;
} 
.menu a {
    font-size: 2rem;
    }
.menu li span{
    color: #b7d7d8;
    font-family: 'Montserrat';
    }
    
}

/* ==================
footer
=====================*/
footer{
    position: relative;
    padding: 0 6rem;
}

.copy-right{
    position: relative;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    padding: 20px 0;
}

.copy-right::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    top: 0px;
    right: 0;
    background-color: #8bd6d1;
}


footer .container{
position: relative;
padding: 0;
}

#pagetop{
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 100px;
    right: 0;
}

#pagetop img{
width: 100%;
height: 100%;
object-fit: contain;
}