@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@400;500;600;700;800&display=swap');

:root {
    --mainBg: #FAF8F1;
    --subBg: #EEEBE1;
    --blueBg: #738AA3;
    --blue: #033977;
    --fontJa: "Noto Sans JP", sans-serif;
    --fontEn: "Figtree", sans-serif;
    --fontEn2: "Be Vietnam Pro", sans-serif;
    --fontRoboto: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
}

html {
    font-size: 0.694vw;
    scroll-behavior: auto;
}

body {
    font-family: "Shippori Mincho B1", serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1;
    color: #333;
    background: #FAF8F1;
}

.wrapper{
    margin: auto;
    max-width: 110rem;
}

.sp{
    display: none;
}
@media (max-width: 767px) {
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
}

section{
    position: relative;
}

.section_title{
    color: var(--blue);
    writing-mode: vertical-rl;
    white-space: nowrap;
    display: flex;
    flex-flow: column;
    align-items: start;
    gap: 1rem;
}

.section_title span{
    letter-spacing: 0.2rem;
    line-height: 1;
    background: #fff;
    padding: 1rem;
    white-space: nowrap;
}

.section_title h2{
    font-size: 4.8rem;
    font-weight: 700;
    letter-spacing: 0.6rem;
    line-height: 1;
    background: #fff;
    padding: 1rem;
    white-space: nowrap;
}

.subtitle{
    color: var(--blue);
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.subtitle span{
    flex-shrink: 0;
}

.subtitle::after{
    content: "";
    display: block;
    width: 100%;
    height: 0.1rem;
    background: var(--blue);
}

.hover{
    transition: 0.3s;
}

.hover:hover{
    opacity: 0.6;
}

.grecaptcha-badge { 
    visibility: hidden; 
}

.round_deco{
    color: #fff;
    background: var(--blue);
    font-size: 12rem;
    height: 17.5rem;
    width: 17.5rem;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* under page ---------------------------------------------------*/

.under_kv{
    padding: 15rem 22rem;
}

.page_title {
    color: var(--blue);
    display: flex;
    flex-flow: column;
    align-items: start;
    gap: 1rem;
    letter-spacing: 0.03rem;
}

.page_title span{
    background: #fff;
    font-size: 1.6rem;
    padding: 0.5rem 1rem;
}

.page_title h1{
    background: #fff;
    font-size: 6.4rem;
    font-weight: 700;
    padding: 0.5rem 1rem 1rem;
}

.row{
    writing-mode: horizontal-tb;
    white-space: normal;
    
}

.row span{
    padding: 0.5rem 1rem;
    letter-spacing: 0.03rem;
}

.row h2{
    padding: 0.5rem 1rem 1rem;
    letter-spacing: 0.03rem;
}


/* more btn ---------------------------------------------------*/

.more_btn{
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    font-size: 2rem;
    transition: 0.3s;
}

.more_btn svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #000;
    transition: 0.3s;
}

.more_btn:hover{
    color: var(--blue);
}

.more_btn:hover svg {
    color: var(--blue);
    transform: translateX(0.5rem);
}

.more_btn_square{
    color: #fff;
    background: var(--blue);
    border: solid 0.1rem var(--blue);
    font-weight: 800;
    display: block;
    padding: 1.5rem 7rem;
    width: fit-content;
    transition: 0.3s;
    margin: auto;
}

.more_btn_square:hover{
    color: var(--blue);
    background: #fff;
}


/* header ---------------------------------------------------*/

.header{
    position: relative;
}

.header_inner{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
}

.header_fixed{
    mix-blend-mode: difference;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.header_fixed.is-show {
    opacity: 1;
    visibility: visible;
}

.header_inner.is-open .header_logo{
    display: none;
}

.header_fixed.is-open{
    mix-blend-mode: normal;
}

.header_logo{
    width: 11rem;
    position: absolute;
    top: 3rem;
    left: 3rem;
}

.header_logo img{
    width: 100%;
}

.hamburger{
    color: #fff;
    position: absolute;
    top: 3rem;
    right: 3rem;
    display: block;
    background: url(../images/common/hamburger_open.svg) center / cover no-repeat;
    width: 3.5rem;
    height: 3.5rem;
    transition: 0.3s;
    background-size: 100% 100%;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    white-space: nowrap;
}

.hamburger.is-open {
    background: url(../images/common/hamburger_close.svg) center / cover no-repeat;
}

.hamburger::after {
    content: 'もくじ';
    transition: opacity 0.3s ease;
    opacity: 1;
    margin-top: 5rem;
}

.hamburger.is-open::after {
    content: '閉じる';
}

.header_nav {
    color: #fff;
    background: var(--blue);
    width: 100vw;
    height: 100dvh;
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-between;
    padding: 17rem 0 2rem;
}

.header_nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header_nav ul{
    display: flex;
    flex-flow: row-reverse;
    justify-content: center;
}

.header_nav ul li{
    position: relative;
    border-right: solid 0.1rem #fff;
    display: inline-flex;
}

.header_nav ul li:last-child {
    border-left: solid 0.1rem #fff;
}

.header_nav a{
    font-size: 3.2rem;
    font-weight: 800;
    padding: 2rem 5rem;
    writing-mode: vertical-rl;
    white-space: nowrap;
    text-orientation: upright;
    -webkit-text-orientation: upright;
    transition: 0.3s;
    position: relative;
    letter-spacing: 0.2em;
}

.header_nav li:hover a{
    color: var(--blue);
}

.header_hover {
    background: #f4f2ee;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
    opacity: 0;
    z-index: 0;
    transition: 0.3s;
}

.header_nav li:hover .header_hover {
    height: 100%;
    opacity: 1;
    transition-timing-function: cubic-bezier(0.01, 0.7, 0.22, 1);
}

.header_nav img{
    width: 16rem;
}

/* news ---------------------------------------------------*/

.news_content{
    display: flex;
    flex-flow: column;
    gap: 5rem;
}

.news_item{
    display: flex;
    align-items: center;
    gap: 3rem;
    transition: 0.3s;
}

.news_item:hover{
    opacity: 0.7;
}

.news_left{
    display: flex;
    align-items: start;
    gap: 4.5rem;
    flex-shrink: 0;
}

.news_date{
    color: var(--blue);
}

.news_thumbnail img{
    height: 14rem;
    width: 14rem;
    object-fit: cover;
    object-position: center;
}

.news_right{
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 6rem;
}

.news_detail{
    width: 48rem;
}

.news_title{
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.news_text{
    line-height: 1.8;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news_arrow{
    width: 2.5rem;
    height: 2.5rem;
    transition: 0.3s;
    flex-shrink: 0;
}

.news_item:hover .news_arrow {
    color: var(--blue);
    transform: translateX(0.5rem);
}

.news .more_btn{
    margin-left: auto;
    border-bottom: solid 0.1rem #333;
    padding-bottom: 1rem;
}


/* list flex ---------------------------------------------------*/

.list_flex{
    display: flex;
    align-items: flex-start;
    gap: 10rem;
    padding-bottom: 8rem;
    justify-content: space-between;
}

.left_list{
    width: 20rem;
    display: flex;
    flex-flow: column;
    gap: 3rem;
    flex-shrink: 0;
    position: sticky;
    top: 8rem;
    bottom: 8rem;
}

.left_list a{
    color: #C8C6C1;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.03rem;
    transition: 0.3s;
}

.left_list a::before{
    content: "";
    display: inline-block;
    background: #C8C6C1;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-right: 1.5rem;
    transition: 0.3s;
}

.active_list{
    color: var(--blue)!important;
}

.active_list::before{
    background-color:var(--blue)!important;
}

.right_content{
    width: 90rem;
    display: flex;
    flex-flow: column;
    gap: 6rem;
}

.right_content section{
    padding-top: 8rem;
}


/* contact ---------------------------------------------------*/

.contact{
    padding: 10rem 0;
    background: var(--subBg);
}

.contact .wrapper{
    display: flex;
    gap: 12rem;
    align-items: start;
    position: relative;
}

.contact_content{
    width: 100%;
    display: inline-flex;
    flex-flow: column;
    align-items: center;
    gap: 2.5rem;
    padding: 5.5rem;
    flex-grow: 1;
}

.contact_content h3 {
    font-size: 3.2rem;
    font-weight: 800;
}

.contact_content p{
    font-weight: 600;
    line-height: 1.8;
    letter-spacing: 0.03em;
    text-align: center;
}

.contact_form{
    background: #fff;
}

.contact_form h3{
    color: var(--blue);
}

.contact_form_btn{
    color: #fff;
    background: var(--blue);
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 1.5rem 3rem;
    border: solid 0.1rem var(--blue);
    border-radius: 10rem;
    transition: 0.3s;
}

.contact_form_btn:hover{
    color: var(--blue);
    background: #fff;
}

.contact_tel{
    color: #fff;
    background: var(--blue);
}

.contact_tel_btn{
    display: flex;
    align-items: center;
    font-size: 6.4rem;
    gap: 2.5rem;
    transition: 0.3s;
    padding: 0 1.5rem 2rem;
    border-bottom: solid 0.1rem #fff;
}

.contact_tel_btn:hover{
    opacity: 0.6;
}

.contact_tel_btn img{
    width: 4rem;
    padding-top: 1rem;
}

.contact_top{
    width: 58rem;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.contact_bottom{
    width: 76rem;
    position: absolute;
    bottom: 0;
    left: 0;
}


/* footer ---------------------------------------------------*/

footer {
    color: #fff;
    background: url(../images/common/footer_bg.jpg) center top / cover no-repeat;
    text-align: center;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 3rem 0rem 10rem;
}

.footer_inner{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.footer_logo{
    width: 20rem;
}

.footer_logo img{
    width: 100%;
}

.footer_menu{
    font-weight: 800;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    padding-bottom: 3rem;
    border-bottom: solid 0.1rem #fff;
    margin: 4rem 0 2.5rem;
}

small{
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}


@media (min-width: 1620px) {
	html {
        font-size: 0.62vw;
    }
}


@media (max-width: 1024px) {
    html {
        font-size: 0.977vw;
    }

    .wrapper{
        max-width: 90rem;
    }

    .under_kv{
        padding: 12rem 6rem;
    }

    .round_deco{
        font-size: 10rem;
        height: 15rem;
        width: 15rem;
    }

    .more_btn{
        gap: 1rem;
    }

    .header_logo{
        width: 8rem;
        top: 1rem;
        left: 1rem;
    }

    .list_flex{
        gap: 0;
    }

    .left_list{
        width: 16rem;
    }

    .right_content{
        width: 70rem;
    }

    .news_detail{
        width: 100%;
    }

    .contact .wrapper{
        gap: 8rem;
    }

    .contact_top{
        width: 40%;
    }

    .contact_bottom{
        width: 50%;
    }
}


@media screen and (max-width:767px){
    html {
        font-size: 2.56vw;
    }

    .wrapper{
        max-width: 35rem;
    }

    .section_title{
        writing-mode: horizontal-tb;
        white-space: normal;
    }

    .section_title span,
    .row span{
        font-size: 1.2rem;
        padding: 0.3rem 0.5em;
        letter-spacing: 0.03em;
    }

    .section_title h2,
    .row h2{
        font-size: 3.2rem;
        padding: 0.5rem;
        letter-spacing: 0.03em;
    }

    .subtitle{
        font-size: 2.4rem;
    }

    .round_deco{
        font-size: 7.2rem;
        height: 10.5rem;
        width: 10.5rem;
    }

    .more_btn_square{
        padding: 1.5rem 11rem;
    }

    .left_list{
        width: 100%;
        position: static;
    }

    .right_content{
        width: 100%;
    }


    /* under page ---------------------------------------------------*/

    .under_kv{
        padding: 13rem 2rem;
    }

    .page_title h1{
        font-size: 4.8rem;
    }


    /* news ---------------------------------------------------*/

    .news_content{
        gap: 4rem;
    }

    .news_item{
        flex-flow: column;
        align-items: center;
        gap: 1.5rem;
    }

    .news_left{
        gap: 2.5rem;
        flex-flow: column-reverse;
    }

    .news_thumbnail img{
        height: 22rem;
        width: 100%;
    }

    .news_right{
        gap: 2rem;
    }

    .news_title{
        margin-bottom: 1.5rem;
    }

    .news_arrow{
        margin-bottom: 1.5rem;
    }


    /* contact ---------------------------------------------------*/

    .contact{
        padding: 8rem 0;
    }

    .contact .wrapper{
        flex-flow: column;
        gap: 4rem;
    }

    .contact_content{
        padding: 4rem 2.5rem;
        gap: 2rem;
    }

    .contact_content h3 {
        font-size: 2.4rem;
        font-weight: 800;
    }

    .contact_content p{
        font-size: 1.6rem;
    }

    .contact_form p{
        padding: 0 2rem;
    }

    .contact_tel_btn{
        font-size: 4rem;
        gap: 1.5rem;
        padding: 0 1rem 2rem;
    }

    .contact_tel_btn img{
        width: 2.5rem;
        padding-top: 0.5rem;
    }

    .contact_top{
        width: 50%;
    }

    .contact_bottom{
        width: 90%;
        left: -7rem;
    }


    /* header ---------------------------------------------------*/

    .header_logo{
        width: 6rem;
        top: 1rem;
        left: 1.5rem;
    }

    .hamburger{
        width: 3rem;
        height: 3rem;
        top: 2rem;
        right: 2rem;
    }

    .hamburger::after {
        font-size: 1.4rem;
    }

    .header_nav {
        padding: 17rem 0 8rem;
    }

    .header_nav a{
        font-size: 2rem;
        padding: 1rem 2rem;
    }


    /* footer ---------------------------------------------------*/

    footer {
        padding: 3rem 0 6rem;
    }

    .footer_menu{
        font-size: 1.4rem;
        letter-spacing: 0;
        gap: 1.5rem;
        padding-bottom: 3rem;
        border-bottom: solid 0.1rem #fff;
        margin: 4rem 0 2.5rem;
    }
}


/* animation ---------------------------------------------------*/

.fadeIn{
    opacity: 0;
    transition: opacity 0.8s;
}

.fadeIn.show {
    opacity: 1;
}

.fadeInUp{
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadeInUp.show {
    opacity: 1;
    transform: translateY(0);
}

.blur{
    opacity: 0;
    filter: blur(2rem);
    transition: filter 0.8s ease, opacity 0.8s ease;
}

.blur.show{
    opacity: 1;
    filter: blur(0);
}

/* delay */
.delay200{
    transition-delay: 0.2s;
}

.delay300{
    transition-delay: 0.3s;
}

.delay400{
    transition-delay: 0.4s;
}

.delay500{
    transition-delay: 0.5s;
}

.delay600{
    transition-delay: 0.6s;
}

.delay700{
    transition-delay: 0.7s;
}

.delay800{
    transition-delay: 0.8s;
}

.delay900{
    transition-delay: 0.9s;
}

.delay1000{
    transition-delay: 1s;
}

.delay1100{
    transition-delay: 1.1s;
}

.delay1200{
    transition-delay: 1.2s;
}

.delay1300{
    transition-delay: 1.3s;
}

.delay1400{
    transition-delay: 1.4s;
}

.delay1500{
    transition-delay: 1.5s;
}