@charset "utf-8";

/* リセット */
*,
::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;
    color: #000;
    line-height: 1;
    background-color: #fff;
}

img {
    max-width: 100%;
}

/* ここからheaderの設定 */
.header-inner {
    /* background-color: khaki; */
    max-width: 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の設定 */
.footer {
    color: #fff;
    background-color: #24211b;
    padding: 30px 0 15px;
    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;
}

/* ここから800px以下のデバイスに適用 */
@media (max-width: 800px) {
    .site-menu ul {
        display: block;
        /* display flex解除のため */
        text-align: center;
    }

    .site-menu ul li {
        margin-top: 20px;
    }

    .header {
        /* 要素を自在に配置 */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: #ffffffab;
        backdrop-filter: blur(10px);
        height: 50px;
        /* 重なり順を指定　常に一番上にくるように」 */
        z-index: 10;
        /* box-shadow: 左右の位置　上下の位置　ぼかし具合　影の色; */
        box-shadow: 0 3px 6px #0000001a;
    }

    .header-inner {
        padding: 0 20px;
        height: 100%;
        position: relative;
        /* header-site-menuの基準のため */
    }

    /* ここからハンバーガーメニューの設定  */
    .toggle-menu-button {
        display: block;
        /* 上にあるdisplay noneの解除 */
        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;

    }

    /* 真ん中の線 */
    .toggle-menu-button span {
        display: block;
        width: 30px;
        height: 2px;
        background-color: #000;
        margin: 0 auto;
        position: relative;
        transition: 0.5s;
    }

    /* 上の線 */
    .toggle-menu-button span::before {
        content: "";
        display: block;
        width: 30px;
        height: 2px;
        background-color: #000;
        position: absolute;
        top: -10px;
        transition: 0.5s;

    }

    /* 下の線 */
    .toggle-menu-button span::after {
        content: "";
        display: block;
        width: 30px;
        height: 2px;
        background-color: #000;
        position: absolute;
        top: 10px;
        transition: 0.5s;

    }

    /* クリックしたときの設定 */
    /* 真ん中の線は透明にする */
    .toggle-menu-button.is-show span {
        background-color: transparent;
    }

    /* 上の線は真ん中に移動して45度回転する */
    .toggle-menu-button.is-show span::before {
        top: 0;
        transform: rotate(45deg);

    }

    /* ↓の線は真ん中に移動して-45度回転する */
    .toggle-menu-button.is-show span::after {

        top: 0;
        transform: rotate(-45deg);
    }

    .header-logo {
        width: 100px;
    }

    .header-site-menu {
        position: absolute;
        top: 100%;
        /* left: 0;
        right: 0; */
        left: -100%;
        width: 100%;
        height: calc(100vh - -100%);
        color: #fff;
        background-color: #c2ab76;
        padding: 30px 0 50px;
        /* display: none; */
        transition: 0.5s;
        display: grid;
        place-items: center;

    }

    .header-site-menu.is-show {
        /* display: block; */
        left: 0;
    }

    .main {
        padding-top: 50px;
    }

    .footer-logo {
        margin-top: 60px;
    }

    .footer-tel {
        font-size: 20px;
    }

    .copyright {
        margin-top: 50px;
    }

}