@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;500;700;900&display=swap');

:root {
    --color-heading: #1f1f1f;
    --color-text: #313131;
    --color-bg-white: #fff;
    --color-bg-gray : #eef3f3;
    --color-blue-gray :#cedede;
    --color-blue-gray-dark :#82b7b7;

    font-size : 16px;
    line-height : 1.5;
}

body {
    margin: 0;
    padding: 0;

    font-family: "M PLUS 1p", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-bg-white);

}

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a,
a:hover,
a:active,
a:visited {
    text-decoration: none;
    color : inherit;
}



.max-width-default {
    max-width: 1200px;
    margin: 0 auto;

    @media screen and (max-width : 1200px) {
        padding: 0 0.5rem;
    }
}

.disp-tab,
.disp-pc {
    display: none;
}

.text-left {
    text-align: left;
}

.disp-flex {
    display: flex;
}

.flex-spcol-tabrow,
.flex-spcol-pcrow {
    flex-direction: column;
}

/*================================================
  ヘッダーナビ
=================================================*/
.body-header {

    background-color: var(--color-blue-gray);

    width: 100%;
    padding: 3% 2%;
    box-sizing: border-box;

    .body-header-grid {
        display: grid;
        grid-template-rows: auto auto;
        grid-template-columns: 1fr auto;
        align-items: center;

        .header-logo {
            height : 4rem;
            width : auto;

            grid-column: 1/2;
            grid-row : 1/3;
        }

        .header-logo-toppage {
            height : 4rem;
            width : auto;
            display: none;

            grid-column: 1/2;
            grid-row : 1/3;
        }

        .header-nav {
            grid-row: 2/3;
            grid-column: 1/3;

            ul {
                display: flex;
                justify-content: center;
                gap: 30px;
                list-style: none;
                margin: 0;
                padding: 0;
            }
        }
    }
}

/* PC用のナビゲーションはデフォルトで非表示 (モバイルファースト) */
.header-nav {
    display: none;
}



.header-nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: bold;
    letter-spacing: 1px;
}


footer {

    margin-top : 2rem;
    padding: 0.8rem 0.5rem;

    background-color: var(--color-bg-gray);

    .footer-nav {

        margin : 3rem 2rem;

        ul {
            gap : 1rem;

            li {
                text-align : left;
            }
        }

    }

    .copyright {
        margin : 0;
        text-align: center;
    }
}

/* ===============================================
   ハンバーガーメニュー (モバイル用)
   =============================================== */
.hamburger-button {

    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1001;
    border-radius: 10px;
    border-style: none;

    display: flex;
    align-items: center;
    gap: 8px; /* アイコンとテキストの間隔 */
    background-color: var(--color-blue-gray-dark);

    .hamburger-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 40px;
        height: 40px;
        padding: 8px;
        border: none;
        background: transparent;
        cursor: pointer;
        box-sizing: border-box;
    }

}

.hamburger-button-bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.3s ease-in-out;
}

/* ハンバーガーボタンが 'is-open' の時（×印に変形） */
.hamburger-button.is-open .hamburger-button-bar:nth-of-type(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger-button.is-open .hamburger-button-bar:nth-of-type(2) {
    opacity: 0;
}
.hamburger-button.is-open .hamburger-button-bar:nth-of-type(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* スライドメニュー */
.slide-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80vw; /* 画面幅の80% */
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-blue-gray);
    z-index: 1002;
    transform: translateX(100%); /* 初期状態では画面右外に隠す */
    transition: transform 0.3s ease-in-out;
    padding-top: 80px;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
    border-radius: 10px;
    border-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-blue-gray);
    cursor: pointer;
    padding: 8px;

    .close-icon {
        font-size: 1.5rem;
        line-height: 1;
    }
}

.slide-menu.is-open {
    transform: translateX(0);
}

.slide-menu li {
    text-align: center;
    border-bottom: 1px solid #eee;
}

.slide-menu a {
    display: block;
    padding: 20px;
}

/* オーバーレイ */
.overlay {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒 */
    z-index: 999;
}

.overlay.is-open {
    display: block;
}


h1.page-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 2rem 0 0 0;
    font-weight: 800;
    letter-spacing: 0.03em;
}
