@charset "utf-8";

/* 簡易リセットCSS */

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 共通設定 */
body {
    font-family: sans-serif;
    font-size: 16px;
    color: #000;
    line-height: 1;
    background-color: #fff;
}

img {
    max-width: 100%;
}

/* ここからヘッダーの設定 */

.header-inner {
    max-width: 1200px;
    /* 最大幅1200px（1200pxより大きくならない） */
    height: 110px;
    margin: 0 auto;
    /* margin: 上下　左右; */
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toggle-menu-button {
    display: none;
    /* メニューボタンを非表示にする */
}

.header-logo {
    display: block;
    /* インラインレベルコンテンツからブロックレベルコンテンツへ変換 */
    width: 170px;
}

.site-menu ul {
    display: flex;
}

.site-menu ul li {
    margin: 0 20px;
}

.site-menu ul li a {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
}

/* ここまでヘッダーの設定 */

/* ここからフッターの設定 */
.footer {
    color: #fff;
    background-color: #24211b;
    padding: 30px 0 15px;
    /* padding: 上　左右　下 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: block;
    /* ブロックレベルコンテンツに変換 */
    width: 235px;
    margin-top: 90px;
}

.footer-tel {
    font-size: 26px;
    font-weight: bold;
    margin-top: 28px;
}

.footer-time {
    font-size: 13px;
    margin-top: 16px;
}

.copyright {
    font-size: 14px;
    font-weight: bold;
    margin-top: 90px;
}




/* ここからモバイル用cssの設定 */
@media (max-width: 800px) {

    /* メニューのナビを開いた時のテキストの並び方 */
    .site-menu ul {
        display: block;
        text-align: center;
    }

    .site-menu ul li {
        /* margin-top: 20px; */
        margin: 40px 0;
    }


    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #fff;
        height: 50px;
        z-index: 10;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }

    /* モバイルサイズになった時のヘッダーの並び方 */
    .header-inner {
        padding: 0 20px;
        height: 100%;
        position: relative;
    }

    .header-logo {
        width: 100px;
    }

    /* ↓ハンバーガーメニューを開いた状態のレイアウトを調整している */
    .header-site-menu {
        position: absolute;
        top: 0;
        /* top: 100%; */
        /* 親要素の上から100％の下に設置したい */
        left: -100%;
        /* right: 0; */
        width: 100%;
        height: calc(100vh - 50px);
        color: #fff;
        background-color: #736E62cc;
        backdrop-filter: blur(5px);
        /* ↑↑背景をぼやかす設定↑↑ */
        /* padding: 30px 0 50px; */
        /* display: none; */
        transition-duration: 1s;
        /* ↓↓子要素を真ん中に持っていく設定↓↓ */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-site-menu.is-show {
        /* display: block; */
        /* javascriptファイルが既にリンクされているからjsと紐づけてコードを書いている 
    jsではボタンをクリックした時にheader-site-menuにis-showという値が付いていれば消して、付いていなかったら追加する。という処理が書かれている
    =>header-site-menuの通常の状態はdisplay:noneで非表示にしておいてis-showの値が追加されたときにはdisplay:blockで表示させる処理*/
        left: 0;
    }

    /* ハンバーガーメニューのボタンのレイアウト */
    .toggle-menu-button {
        display: block;
        /* PC版ではdisplay:noneで非表示にしていたボタンをdisplay:blockで表示させる */
        width: 44px;
        height: 34px;
        /* background-image: url(../images/common/icon-menu.png);
        background-size: 50%;
        background-position: center;
        background-repeat: no-repeat; */
        background-color: transparent;
        border: none;
        border-radius: 0;
        outline: none;
        order: 100;
    }

    /* ハンバーガーメニューの設定 */
    /* 真ん中の線の設定 */
    .toggle-menu-button span {
        display: block;
        /* spanはインライン要素でスタイルを付けられるようにブロック要素に変換する */
        width: 30px;
        /* 線の長さ */
        height: 2px;
        /* 線の太さ(薄い長方形) */
        background-color: #000;
        margin: 0 auto;
        /* buttonタグの真ん中になるように設定 */
        position: relative;
        /* 最初は三本すべて同じ位置にいるので親要素の真ん中の線を基準に疑似要素のbeforeを上(-の数値)にafter(₊の数値)を下に移動させる */
        transition-duration: 0.5s;
        /* is-showが付かないところに書く */
    }

    /* 上の線 */
    .toggle-menu-button span::before {
        content: "";
        display: block;
        /* 疑似要素の初期はinlin要素なのでスタイルを付けれるようにブロック要素に変換 */
        width: 30px;
        height: 2px;
        background-color: #000;
        position: absolute;
        top: -10px;
        transition-duration: 0.5s;
    }

    /* 下の線の設定 */
    .toggle-menu-button span::after {
        content: "";
        display: block;
        width: 30px;
        height: 2px;
        background-color: #000;
        position: absolute;
        top: 10px;
        transition-duration: 0.5s;
    }

    /* is-showが付いた時の設定 */
    /* 真ん中の線は透明になる設定 */
    .toggle-menu-button.is-show span {
        /* 意味：is-showの値が付いたtoggle-menu-buttonの中のspan */
        background-color: transparent;
    }

    /* 上の線の設定 */
    .toggle-menu-button.is-show span::before {
        top: 0;
        transform: rotate(45deg);
        background-color: #fff;
    }

    /* 下の線の設定 */
    .toggle-menu-button.is-show span::after {
        top: 0;
        transform: rotate(-45deg);
        background-color: #fff;

    }

    .main {
        padding-top: 50px;
    }

    .footer-logo {
        margin-top: 60px;
    }

    .footer-tel {
        font-size: 20px;
    }

    .copyright {
        margin-top: 50px;
    }
}