@charset "UTF-8";

/*
SP ～519px
tab 520px～959px
PC 960px～
*/
/*===================
変数宣言
===================*/
:root {
    --color-beg: #f2ebe7;
    --color-beg-rgb: 242, 235, 231;
    --color-wh: #fff;
    --color-bk: #262423;
    --color-gry: #595351;
    --color-gry-rgb: 89, 83, 81;
    --color-brw: #5e4d47;
    --size-sm: 1rem;
    --size-md: 1.6rem;
    --size-lg: 2.6rem;
    --size-xl: 4.2rem;
    --size-xxl: 6.6rem;
    --font-sawarabi-mincho: "Sawarabi Mincho", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    --font-sawarabi-gothic: "Sawarabi Gothic", "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "Osaka", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    --line-height: 1.4;
    --gutter-base: 8px;
    --section-gutter: calc(var(--gutter-base)*20);
    --section-gutter-pc: calc(var(--gutter-base)*30);
    --contents-gutter: calc(var(--gutter-base)*10);
    --contents-gutter-pc: calc(var(--gutter-base)*20);
    --side-gutter: calc(var(--gutter-base)*5);
    --footer-gutter: calc(var(--gutter-base)*40);
    --footer-gutter-pc: calc(var(--gutter-base)*50);
}

/*===================
共通設定
===================*/
html {
    font-size: 62.5%;
    height: 100vh;
    width: 100%;
    /* 画面右端の隙間を消す */
    padding: 0;
    overflow-x: hidden;
    /* scrollbar-color: none; */
    /* scrollbar-width: none; */
}

body {
    font-family: var(--font-sawarabi-gothic);
    font-size: var(--size-md);
    color: var(--color-gry);
    line-height: var(--line-height);
    background-color: var(--color-beg);
    z-index: 0;
    height: 100%;
}

a {
    text-decoration: none;
}

/*===================
汎用クラス
===================*/
.center {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /* background: #999; */
}

.btn {
    background-color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-sawarabi-mincho);
    display: block;
    max-width: 300px;
    line-height: 60px;
    border: 1px solid var(--color-gry);
    border-radius: 60px;
    text-align: center;
    padding: 0 var(--side-gutter);
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.btn::after {
    font-family: 'Material Symbols Outlined';
    content: '\e5cc';
    position: absolute;
    right: calc(var(--gutter-base)*4);
}

.break {
    display: inline-block;
}

/*===================
汎用クラス tab PC
===================*/
@media screen and (min-width:520px) {
    .center {
        width: 80vw;
        max-width: 600px;
    }
}

/*=====min-width:520px=====*/
@media screen and (min-width:960px) {
    .center {
        width: 90vw;
        max-width: 1200px;
    }

    .btn:hover {
        background-color: rgba(var(--color-gry-rgb), 0.8);
        color: #fff;
        transition: 0.3s;
    }

    .btn:hover::after {
        right: calc(var(--gutter-base)*3);
        transition: 0.2s;
    }
}

/*========min-width:960px===========*/
/*===================
ヘッダー、ナビ （共通、SP）
===================*/
header {
    font-family: var(--font-sawarabi-mincho);
    padding: calc(var(--gutter-base)*2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 10;
}

header .header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header h1 {
    width: 180px;
    height: auto;
}

/* ナビメニュー共通設定 */
header nav {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transition: 0.5s;
    /* 追加: フレックスボックスで中央配置 */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ナビメニューSP設定 */
header.on nav {
    background-color: rgba(var(--color-gry-rgb), 0.8);
    backdrop-filter: blur(6px);
    padding-left: calc(var(--gutter-base)*10);
    padding-right: calc(var(--gutter-base)*10);
}

header nav ul {
    /* 追加: 縦並びにする */
    display: flex;
    flex-direction: column;
    /* ナビ全体を中央揃え */
    align-items: center;
    /* リスト間の余白調整 */
    /* gap: calc(var(--gutter-base)*4); */
}

header nav ul li {
    width: 120px;
    height: 100%;
    text-align: center;
    /* 上下中央揃え */
    align-items: center;
    /* すべてのリスト下にborder */
    border-top: 2px solid var(--color-wh);
    padding: calc(var(--gutter-base)*2) 0;
}

/* HBGメニュー内　ロゴ */
header nav ul li:first-child {
    width: 210px;
    height: auto;
    border-top: none;
}

header nav ul li img.logo_hbg {
    visibility: visible;
    display: ruby;
    width: 210px;
    height: 60px;
    margin-bottom: var(--side-gutter);
}

/* 最後の要素（インスタロゴ） */
header nav ul li:last-child {
    margin: auto;
}

header nav ul li:last-child img {
    width: 18px;
    height: auto;
    margin: calc(var(--gutter-base)*2) auto;
}

/* ナビメニュー内 aタグ */
header nav a {
    color: #fff;
    font-size: var(--size-md);
    font-weight: bold;
    letter-spacing: 0.1rem;
    display: block;
}

header.on nav {
    opacity: 1;
    visibility: visible;
}

/* HBGメニューの開閉ボタン */
header .hum_menu {
    display: flex;
    align-items: center;
    gap: var(--gutter-base);
    padding: var(--gutter-base);
    z-index: 10;
    /* mix-blend-mode: difference; */
}

/* header.on .hum_menu {
    color: #fff;
} */

/* HBGボタン */
header .hum_menu .hum_menu_line::before,
header .hum_menu .hum_menu_line div,
header .hum_menu .hum_menu_line::after {
    content: "";
    display: block;
    width: 36px;
    height: 2.4px;
    background-color: var(--color-bk);
    transition: 0.3s;
}

/* HBGボタン上下ラインの位置 */
header .hum_menu .hum_menu_line::before {
    transform: translateY(-9px);
}

header .hum_menu .hum_menu_line::after {
    transform: translateY(9px);
}

/* HBGボタンクリック後アニメーション */
header.on .hum_menu .hum_menu_line::before {
    transform: translateY(1.8px) rotate(-225deg);
    background-color: #fff;
}

header.on .hum_menu .hum_menu_line div {
    opacity: 0;
}

header.on .hum_menu .hum_menu_line::after {
    transform: translateY(-1.8px) rotate(225deg);
    background-color: #fff;
}

/*===================
ヘッダー、ナビ （PC）
===================*/
@media screen and (min-width:960px) {

    /* HBGメニュー非表示 */
    header .hum_menu {
        visibility: hidden;
        display: none;
    }

    header {
        padding: calc(var(--gutter-base)*3) var(--contents-gutter);
    }

    header nav {
        opacity: 1;
        visibility: visible;
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        margin: 0;
        /* ▼ 追加: PC版では横並びにする */
        display: block;
    }

    header nav ul {
        /* 横並びに戻す */
        flex-direction: row;
        /* gap: calc(var(--gutter-base)*3); */
    }

    header nav ul li {
        width: auto;
        padding: 0 30px;
        margin: auto;
        /* スマホ版のborderを消す */
        border-top: none;
        /* フレックスボックスを適用 */
        display: flex;
        /* 疑似要素の基準点 */
        position: relative;
    }

    /* HBGメニュー内　ロゴ非表示 */
    header nav ul li:first-child,
    header nav ul li img.logo_hbg {
        visibility: hidden;
        display: none;
    }

    header nav ul li:nth-child(3) {
        padding: 0;
    }

    /* Menu 左右にボーダー */
    header nav ul li:nth-child(3)::before,
    header nav ul li:nth-child(3)::after {
        content: "";
        display: block;
        /* ボーダーの太さ */
        width: 1px;
        /* ボーダーの長さ */
        height: 16px;
        /* ボーダーの色 */
        background-color: var(--color-bk);
        /* position: absolute; */
        /* top: 50%; */
        /* 縦方向の中央揃え */
        /* transform: translateY(-18px); */
    }

    /* ボーダーと文字に余白を持たせる */
    header nav ul li:nth-child(3) a {
        /* 左右に余白を追加 */
        padding: 0 30px;
    }

    /* Access の右に余白を追加 */
    header nav ul li:nth-child(4) {
        padding-right: 3px;
    }

    /* 最後の要素（インスタロゴ） */
    header nav ul li:last-child {
        padding-right: 0;
        margin: 0;
    }

    header nav ul li:last-child img {
        margin: 0;
    }

    /* ナビメニュー内 aタグ */
    header nav a {
        color: var(--color-bk);
        font-size: var(--size-md);
        letter-spacing: normal;
    }
}

/*========min-width:960px===========*/
/*===================
フッター
===================*/
footer {
    margin-top: var(--footer-gutter);
    background-image: url(../../img/PC&common/footer_BGimg.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    color: #fff;
    font-size: 14px;
}

footer .footer_inner {
    width: 360px;
    padding: calc(var(--gutter-base)*3);
    padding-bottom: 0;
    margin: auto;
}

footer img {
    width: 50%;
    max-width: 240px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--gutter-base)*3);
}

footer address {
    font-style: normal;
}

footer address a.google {
    text-decoration: underline dotted #fff;
    display: block;
    text-align: end;
}

footer small {
    padding: calc(var(--gutter-base)*3) 0;
    font-family: var(--font-sawarabi-mincho);
    text-align: center;
    display: block;
}

@media screen and (min-width:520px) {
    footer {
        background-size: cover;
        margin-top: var(--footer-gutter-pc);
    }
}

/*========min-width:520px===========*/
@media screen and (min-width:960px) {
    footer .footer_inner {
        width: 80vw;
        max-width: 1200px;
        display: flex;
        align-items: start;
    }

    footer div.opening {
        width: 360px;
        margin: auto;
        margin-bottom: 0;
    }

    footer img {
        margin-top: var(--gutter-base);
        margin-left: 0;
        margin-right: auto;
    }

    footer div.address {
        width: 300px;
        margin: auto;
        margin-bottom: 0;
    }
}

/*=====min-width:960px=====*/