@charset "utf-8";


/* ヘッダメニュー */
.header-menu {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    background-color: white;
}
.header-menu .left {
    flex-basis: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;     /* 左枠の高さを80pxに固定 */
    overflow: hidden; /* はみ出し防止 */
}
.header-menu .right {
    flex-basis: 100%;
}


/* 電話アイコンのスタイル（スマホ専用） */
.tel-icon {
    display: flex;
    align-items: center;
    margin-right: 25px; /* ハンバーガーとの間隔 */
    margin-top: 10px; /* ハンバーガーと高さを合わせる */
}

.tel-icon img {
    width: 35px;  /* 適度な大きさに調整 */
    height: auto;
}


/* ハンバーガーメニュー */
.hamburger {
    margin: 0px auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px; /* アイコンとハンバーガーの間隔 */
}

.hamburger .btn-gNav {
    /*position: fixed;*/
    position: relative; /* fixedをやめる */
    right: 20px;
    width: 30px;
    height: 24px;
    z-index: 999;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

.hamburger .btn-gNav span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: dimgray;
    border-radius: 10px;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

.hamburger .btn-gNav span:nth-child(1) {
    top: 0;
}

.hamburger .btn-gNav span:nth-child(2) {
    top: 10px;
}

.hamburger .btn-gNav span:nth-child(3) {
    top: 20px;
}

.hamburger .btn-gNav.open span:nth-child(1) {
    top: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.hamburger .btn-gNav.open span:nth-child(2) {
    opacity: 0;
}

.hamburger .btn-gNav.open span:nth-child(3) {
    top: 6px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
 
.btn-gNav {
    display: none;
}
.gNav .gNav-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0px;
}

.gNav .gNav-menu ol,
.gNav ul {
    list-style: none;
    list-style-type: none;
}

.gNav .gNav-menu li {
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 30px;
    text-align: center;
}
.gNav .gNav-menu li a {
    color: #3B3B3B;
}
.gNav .gNav-menu li.tel {
    margin: 0px 20px 0px 0px;
}
.gNav .gNav-menu li a .up {
    font-size: 20px;
    line-height: 1.1; /* ← 間隔を詰める */
}
.gNav .gNav-menu li a .down {
    font-size: 14px;
    /*line-height: 1.1;  ← 間隔を詰める */
}

.tel-contents {
    display: flex;
    align-items: center;
}
.tel-item1 {
    margin-top: 10px;
    margin-right: 10px;
}
.tel-item2 {
    margin-left: 10px;
}
.tel-item2 p{
    font-size: 29px;
    margin: 0px;
    line-height: 0.8em;
    font-weight: bold;
    color: #9A95C3;
    text-shadow: 2px 2px 4px #D1D1D1;
}
.tel-item2 span{
    font-size: 13px;
    text-shadow: none;
    font-weight: normal;
    color: #3B3B3B;

}
/* ヘッダー */
.header-logo {
    height: 100%;     /* 左枠と同じ高さにする */
    margin-left: 0;   /* 不要なら左余白は消す */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ロゴサイズ */
.header-logo img {
    height: 100%;     /* ロゴを枠にぴったり合わせる */
    width: auto;      /* アスペクト比を維持 */
    margin: 0;
}


/* -------------------- */

/* レスポンシヴ */

@media screen and (max-width: 1280px) {/*タブレット*/
    .gNav .gNav-menu li {
        padding: 0 15px;
    }
    .tel-item1 img{
        width: 50px;
        margin-top: 0px;
    }
}

@media screen and (max-width: 869px) {

    .header-menu.scrolled {
        background-color: transparent; /* ← 完全に透明 */
    }

    .header-menu .left {
        padding-left: 10px;          /* 左に少し余白を入れると見やすい */
        justify-content: flex-start; /* スマホでは左寄せ */
    }

    .header-logo {
        justify-content: flex-start; /* 左寄せ */
    }

    .header-logo img {
        width: auto;
    }

    .btn-gNav {
        display: block;
    }

    .gNav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
        z-index: 1;
        padding-top: 50px;
        transition: .3s;
    }

    .gNav.open {
        right: 0;
        background-color: #DDD9E2;
    }

    .gNav .gNav-menu {
        padding: 0;
        width: 100%;
        height: 100%;
        display: block;
        flex-direction: column;
        text-align: center;
    }
    .gNav .gNav-menu li {
        height: 100px;
        justify-content: center;
    }
    .gNav .gNav-menu li.tel {
        justify-content: center;
    }

    .gNav-menu-sp-logo {
        width: 200px;
        margin-top: 30px;
    }
}