@charset "utf-8";

/*=================
common 
=====================*/

:root {
    --primary-blackcharacter: #334155;
    --primary-bulecharacter: #65A6Ea;
    --primary-bulesubcharacter: rgba(101, 166, 234, 0.8);
    --primary-white: #FAF8F3;
    --primary-garybtn:#D9D9D9;
    --primary-bulebtn: rgba(89, 176, 242, 0.6);
    --primary-green:rgba(167, 243, 208, 0.3);
    /* --contentwidth: 91.4%; */
    /* --contentpadding: 4.2%; */
}

html {
    font-size: 62.5%;
    overflow-x: hidden; 
    scroll-padding-top: 260px;
    /* スクロールを強制的に排除 */
}

body {
    font-family:
        "Noto Sans JP", 
        sans-serif,
        "Kiwi Maru",
        "Norican", cursive;
    font-style: normal;
    color: #334155;
    background-color: #FFF;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: block;
    color: var(--primary-blackcharacter);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1; 
    border-radius: 30px;
    border: 1px solid var(--primary-garybtn);
    background:var(--primary-bulebtn);
    padding: 10px 0px 16px;
    text-align: center;
    position: relative;
    margin-top: 10px;
    transition: 0.3s;
    width: 165px;
    height: 40px;
}

.btn::after {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(../images/btn.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.btn:hover {
    opacity: 0.3;
    background-color: var(--primary-bulecharacter);
}

.btn__detail {
    display: block;
    color: var(--primary-blackcharacter);
    font-family: "Kiwi Maru";
    font-size: 1.6rem;
    line-height: 2; 
    text-align: center;
    justify-content: center;
    position: relative;
    margin-top: 20px;
    transition: 0.3s;
}

.btn__detail::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 40px;
    background-image: url(../images/arrow_detail.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position:absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 10px;
}

.btn__detail:hover {
    opacity: 0.3;
}

@media screen and (min-width:769px) {
    .btn {
        font-size: 2rem;
        width: 200px;
        height: 50px;
        padding: 11px 0px 19px;
        border: 2px solid var(--primary-garybtn);
    }

    .btn__detail {
        font-size: 2.4rem;
    }
}
/*common  pc end*/

/*===============
header 
================*/

.header {
    padding: 15px 24px;
    height: 60px;
    display: flex;
    background-color:rgba(245, 239, 230, 0.6);
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 1000;
    width: 100%;
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.9);
}

.header__logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

/*.nav初期表記*/
.nav {
    background:#ffffff; 
    width: 100%;
    height: 100vh;
    padding: 5px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s; 
    overflow: scroll;
}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 24px;
    height: 60px;
}

.nav__btn img {
    width: 30px;
    height: 30px;
}

.nav__logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.nav__list {
    text-align: justify;
    padding: 20px 30px 40px;
}

.nav__item img {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 24px;
}

.nav__item {
    display: block;
    margin-top: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    border-bottom: 1px solid var(--primary-bulesubcharacter);
    padding-bottom: 10px;
    background: url(../images/icon-arrow-menu.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 15px 15px;
}

.nav__itemdetail {
    padding-left: 40px;
    border-bottom: 3px solid var(--primary-bulesubcharacter);
}

.nav__detail {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    padding: 5px;
}

.nav__detail:last-of-type {
    padding-bottom: 10px;
}

.nav__detail:first-of-type {
    padding-top: 10px;

}

/* .nav.active表示 */
.nav.active {
    transform: translateX(0);
}

.header__btn {
    display: block;
    width: 40px;
    height: 40px;
}

.navbottom__btn {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 228px;
    height: 50px;
    gap: 10px;
    margin: 30px auto 0;
}

.navbottom__btnpc {
    display: none;
}

/* .header pc */
@media screen and (min-width:1200px) {
    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translateX(0);
        transition: none;
        display:flex;
        align-items:center;
        gap: 40px;
    }

    .nav__list {
        display:flex;
        align-items:center;
        gap: 32px;
        margin-top: 0;
    }

    .nav__itemgruop {
        position: relative;
    }

    .nav__itemgruop::after {
        content:"";
        position:absolute;
        left:0;
        top:100%;
        width:100%;
        height:12px; /* nav__itemdetailのmargin-topと同じ */
    }

    .nav__item {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 1.6rem;
        font-weight: 400;
        white-space: nowrap;
        border: none;
        background: none;
        padding: 0;
        padding-bottom: 15px;
    }

    .nav__itemdetail {
        display: none;
        position: absolute;
        top: 100%;            /* ← 隙間なしで安定 */
        left: 0;
        width: 170px;
        padding: 15px 0;
        background:#fff;
        border: 1px solid rgba(101,166,234,0.35);
        border-radius:12px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
        z-index:9999;
        padding-left: 0;  /* SP装飾打ち消し */
        border-bottom: none;
    }

    /*プルダウン隠す*/
    .nav__itemdetail {
        display: none;
    }

    .nav__itemgruop:hover> 
    .nav__itemdetail {
        display: block;
    }

    .header, 
    .nav {
        overflow: visible;
    }
    
    .header {
        padding: 20px 40px 15px;
        height: 90px;
        /*position: relative*/
    }

    .header__logo img {
        min-width: 70px;
        height: auto;
    }

    .nav__detail {
        padding: 10px 16px;
        font-size: 1.4rem;
        white-space: nowrap;
    }

    .nav__detail a {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .nav__detail img {
        width: 14px;
        height: 14px;
    }

    /*ボタン*/
    .navbottom__btnpc {
        display: flex;
        align-items: center;
        gap: 20px;
        width: 300px;
        height: 120px;
    }

    .header__btn {
        display: none;
    }

    .nav__header {
        display: none;
    }

    .nav__item img {
        display: none;
    }
   
    .navbottom__btn {
        display: none;
    }
}

/*==========================
footer
==========================*/
.article__footer {
    background-color: rgba(245, 239, 230, 0.3);
    padding: 50px 10px;
}

.footernav {
    display: none;
}

.footer__logo img {
    width: 63px;
    height: 60px;
    object-fit: cover;
}

.footer__logo {
    text-align: center;
}

.sns__itemgruop {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.sns__item {
    width: 36px;
    height: 36px;
}

.copy {
    text-align: center;
    margin: 40px auto 0;
}

.copy small {
    font-size: 1.2rem;
    line-height: 1.5;
}

@media screen and (min-width:769px) {
    .footer__icon {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 80px;
        margin-top: 70px;
    }
 
    .sns__itemgruop {
        gap: 30px;
        margin-top: 15px;
    }

    .sns__item {
        width: 50px;
        height: 50px;
    }

    .footer__logo img {
        width: 90px;
        height: 90px;
    }

    .footernavr__item {
        font-size: 4rem;
    }

    .footernav {
        display: block;
    }
  
    .footernav__item {
        font-size: 1.8rem;
        font-weight: 500;
        letter-spacing: 0.2em;
        text-align: left;
        padding: 0 40px;
    }

    .footernav__detail {
        font-size: 1.4rem;
    }

    .footernav__list {
        display: flex;
        justify-content: center;
        align-items: start;
    }

    .footernav__itemdedil {
        margin-top: 10px;
    }

    .footernav__detail {
        padding-top: 5px;
    }

    .footernav__detail img {
        text-align: center;
        padding: 5px 7px;
    }
}
/* section footer pc 769px end*/

/*!-- Topbtn --*/
.topBtn img {
    position: fixed;
    bottom: 1.8%;
    right: 2.5%;
    width: 40px;
    height: 40px;
}

@media screen and (min-width:769px) {
    .topBtn img {
        bottom:1.4%;
        right:1.4%;
        width: 60px;
        height: 60px;
    }
}

/*!-- fadeIn --*/
.fadeIn {
    transform: translate(0,50px);
    opacity: 0;
    transition:0.8S;
}

.fadeIn.animated {
    transform: translate(0,0);
    opacity: 1;
}


