@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;
    /* 行の高さを1(16px) */
    background-color: #fff;

}

img {
    max-width: 100%;
    /* 最大幅は100％という設定なので100%以上にはならないという設定 */
}

/* ここからヘッダー */
.header-inner {
    max-width: 1200px;
    height: 110px;
    margin: 0 auto;
    /* margin: 上下は0 左右はauto; */
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    /* 子要素を両端に配置して残りは均等分割する */
    align-items: center;
}

.toggle-menmu-buttom {
    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: "Cinzel", serif;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ここからfooter */
.footer {
    color: rgb(19, 45, 13);
    background-color: #94bc8e;
    padding: 30px 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 1.display;flexで子要素を横並びにする。
    2.flex-drection:column;子要素を縦に戻す
    3align-itemsをcenterにして左右中央に配置する */
}

.footer-logo {
    display: block;
    /* サイズ指定するためブロック要素に変換する */
    width: 235px;
    margin-top: 90px;
}

.footer-tel {
    font-size: 26px;
    font-weight: 500;
    margin-top: 28px;
    font-family: "Cinzel", serif;
    letter-spacing: 5px;


}

.footer-time {
    font-size: 13px;
    margin-top: 16px;
}

.copyright {
    font-size: 14px;
    font-weight: bold;
    margin-top: 90px;
}

/* メディアクエリ */
/* 必ずcSSの一番下に書くこと */
@media(max-width:800px) {

    /* ブラウザ幅が800px以下の時にだけ効かせたいCSSを書く */
    .site-menu ul {
        /* フレックスを解除 */
        display: block;
        /* flex-direction: column;でかいてもよいflexのオプションが使える */
        text-align: center;
    }

    .site-menu ul li {
        margin-top: 20px;
    }

    .header {
        /* 画面を固定する */
        position: fixed;
        /* どこに固定するか */
        top: 0;
        left: 0;
        /* rightの変わりにwidth: 100%;でもいい */
        right: 0;
        background-color: #fff;
        height: 50px;
        z-index: 10;
        /* box-shadow: 横　横　ぼかし具合　色; ぼかしは省略できる*/
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        /* 色のaはアルファ（透明度）この場合半透明の黒　代替えとしてrgbaのところを#00000011と書いても同じ意味になる */
        /* box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1)　inset;で書くと内側に影ができる */
    }

    .header-inner {
        padding-left: 20px;
        padding-right: 20px;
        height: 100%;
        position: relative;
    }

    .header-logo {
        width: 100px;
    }

    .header-site-menu {
        /* 親要素基準で配置する */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        color: #fff;
        background-color: #736e62;
        padding-top: 30px;
        padding-bottom: 50px;
        /* 非表示 */
        /* display: none; */
        /* transform: translateX(100%); */
        /* 透明度 */
        opacity: 0;
        /* 透明にしているので、メニューが見えないだけになっている(リンクは残っている)状態なので、
        ↓を入れることでメニューが非表示の時は何も押せないようにする */
        pointer-events: none;
        /* PCで表示した時に今の設定だとカーソルで選択できるので出来ないように↓をいれる */
        visibility: hidden;
        transition: all 0.5s;
    }

    /* is-showは指定のものではなく作成者がつけたもの */
    /* 二つのクラス名を同時に持っている場合 */
    .header-site-menu.is-show {
        /* display: block; */
        /* transform: translateX(0); */
        opacity: 1;
        pointer-events: all;
        visibility: unset;
    }

    .toggle-menu-button {
        /* パソコンではnoneで非表示にしたものを表示に変更する */
        display: block;
        width: 44px;
        height: 34px;
        /* background: url(../images/common/icon-menu.png) no-repeat center/50%; */
        /* この4行はリセットCSSにいれておくといい */
        background-color: transparent;
        border: none;
        border-radius: 0;
        outline: 0;
    }

    .line {
        display: block;
        width: 80%;
        height: 2px;
        background-color: brown;
        margin: 0 auto;
        position: relative;
        /* ゆっくり×になる */
        transition: all 0.5s;
    }

    .line::before,
    .line::after {
        content: "";
        display: block;
        /* 親要素に対してのサイズなので100%に変える */
        width: 100%;
        height: 2px;
        background-color: brown;
        margin: 0 auto;
        position: absolute;
        left: 0;
        /* ゆっくり×になる */
        transition: all 0.5s;
    }

    .line::before {
        top: -10px
    }

    .line::after {
        top: 10px
    }

    .toggle-menu-button.is-show .line {
        background-color: #00000000;
    }

    .toggle-menu-button.is-show .line::before {
        /* 中心に重ねる */
        top: 0;
        transform: rotate(25deg);
    }

    .toggle-menu-button.is-show .line::after {
        /* 中心に重ねる */
        top: 0;
        transform: rotate(-25deg);
    }

    .main {
        padding-top: 50px;
    }

    .footer-logo {
        margin-top: 60px;
    }

    .footer-tel {
        font-size: 20px;
    }

    .copyright {
        margin-top: 50px;
    }
}