@charset 'utf-8';

/* ベース */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #222;
}

/* コンテンツ幅 */
.wrapper {
    width: 90%;
    max-width: 1200px;
    margin-inline: auto;
}

.flex {
    display: flex;
    justify-content: space-between;
}

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


/* 1200px以上はnone */
.pc1200_none {
    display: none;
}

/* フローティングアクションボタンとトップに戻るボタン */
.fab_top_button_area {
    position: fixed;
    z-index: 5;
    right: 2%;
    bottom: 2%;
    align-items: center;
    flex-direction: column;
    width: 80px;
}

/* フローティングアクションボタン */
.fab {
    width: 80px;
    transition: .4s;
}

.fab:hover {
    margin-top: -20px;
    scale: 110%;
}

/* トップへ戻るボタン */
.button_top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    /* position: fixed;
    z-index: 5;
    right: 5%; */
    margin-top: .5em;
    transition: .3s;
    border-radius: 50%;
    background-color: #55412f;
}

.button_top::before {
    display: block;
    width: 20px;
    height: 20px;
    margin-top: 15px;
    content: '';
    transform: rotate(-45deg);
    border: 3px solid #fff;
    border-bottom: 0;
    border-left: 0;
}

.button_top:hover {
    opacity: .7;
}

.button_top:hover {
    opacity: .7;
}

/* ヘッダー */
/* ポジション指定、画面幅いっぱいに広げる */
.header {
    position: sticky;
    z-index: 9;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: rgba(255, 255, 255, .8);
}

.header_area {
    align-items: center;

    max-width: 1440px;
}

/* ホバー時の変化 */
.header_list li {
    white-space: nowrap;
    transition: .5s;

    color: #505050;
}

/* ホバー時の変化 */
.header_list li:hover {
    color: #abcb64;
}


/* ヘッダーの高さ指定、垂直方向中央 */
.header_nav {
    align-items: center;

    height: 90px;
}

/* ロゴ　垂直方向中央 */
.logo_image {
    max-width: 250px;
}


/*ヘッダーリスト　垂直方向中央*/
.header_list_area {
    align-items: center;
    max-width: 100%;
}

.header_list li {
    font-weight: bold;
    margin-right: 3em;
}

/* ヘッダーリストの最後だけ余白へらす */
.header_list li:last-of-type {
    font-weight: bold;
    margin-right: 2em;
}

/* ボタンデザイン */
.header_button_area {
    margin-left: 1em;
}

/* ボタンのデザイン*/
.header_button,
.button {
    font-weight: bold;

    position: relative;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 50px;
    color: #505050;
    border-radius: 40px;
}

/* ホバー時の変化 */
.header_button,
.button {
    transition: .4s;
}

/* ボタンの疑似要素　＞マーク */
.header_button::after,
.button::after {
    position: absolute;
    right: 1.5em;
    display: block;
    width: .5em;
    height: .5em;
    margin-left: .5em;

    content: '';
    transform: rotate(-45deg) translateY(-20%);
    border: 1px solid #505050;
    border-top: 0;
    border-left: 0;
}

.contact.header_button,
.contact.button {
    background-color: #9ccfca;
}

.yoyaku.header_button,
.yoyaku.button {
    text-transform: uppercase;
    background-color: #abcb64;
}



/* ボタン　ホバー時の変化 */
.contact.header_button:hover,
.yoyaku.header_button:hover,
.contact.button:hover,
.yoyaku.button:hover {
    color: #abcb64;
    border: 1px solid #abcb64;
    background-color: #fff;
    scale: 102%;
}


/* フッター */
.footer {
    display: flex;
    flex-direction: column;
    transition: .4s;
    color: #fff;
    background-color: #718127;
}

.footer_bg_img {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

.footer_inner {
    align-items: flex-end;

    padding: 3em 0;
}

.footer_migi_section {
    align-items: flex-end;
}

.footer_logo {
    max-width: 100%;
}


/* 住所 */
.address {
    max-width: fit-content;
}

.address_text_area {
    margin-right: 3em;
}

.address_title {
    font-size: 1.375em;
}

.address_text {
    font-size: 14px;
    margin-top: .5em;
    white-space: nowrap;
}

/* フッター上のイラスト */
.footer_illust {
    width: 100%;
    margin-top: 8.125em;
    margin-bottom: -3px;
    margin-inline: auto;
}

/*  フッターナビ */
.footer_nav_container {
    align-items: flex-end;
}

.footer_nav li {
    transition: .5s;
}

.footer_nav li:hover {
    color: #ffac2b;
}

/* フッターの縦線 */

.footer_line {
    width: 1px;
    height: 110px;
    margin-right: 2em;
    background-color: #fff;
}

.footer_nav {
    margin-right: 2em;
}

.footer_nav li {
    font-size: 15px;
    /* flex-wrap: nowrap; */
    margin-top: .5em;
    letter-spacing: .1em;
    position: relative;
}

.footer_nav li::before {
    display: block;
    content: '';
    font-size: .8em;
    width: 8px;
    height: 8px;
    background-color: #fff;
    position: absolute;
    top: 8px;
    left: -10px;
}

/* 2つめのボタンにマージン */
.footer_button_area+.footer_button_area {
    margin-top: 1em;
}

.footer_copyright {
    width: 100%;
    padding: 1em 0;
    text-align: center;
    color: #fff;
}


/* 1200px　ヘッダー　フッターの折り返し */
@media (max-width: 1200px) {

    /* ヘッダーのロゴとヘッダーナビを縦並びに */
    .header_area {
        flex-direction: column;
    }

    /* フッターをロゴの位置で折り返し */
    .footer_inner {
        align-items: start;
        flex-direction: column;
    }
}


/* ---------------------ハンバーガーメニューへ切り替え--------------------- */
@media (max-width: 960px) {

    /* ヘッダーの横幅を100％に */
    .header_area {
        flex-direction: row;

        width: 100%;
    }

    .pc1200_none {
        display: inline;
    }

    .logo_image_sp {
        max-width: 100%;
    }

    /* ハンバーガーメニュー */
    .header_hamburger {
        position: relative;
        z-index: 11;

        display: block;
        width: 70px;
        height: 70px;
        cursor: pointer;
    }

    /* ハンバーガーメニューの線 */
    .header_hamburger span {
        /*アニメーションの設定*/
        position: absolute;
        left: 20px;

        display: inline-block;
        width: 50%;
        height: 2px;
        transition: all .4s;
        border-radius: 5px;
        background-color: #505050;
    }

    /* ハンバーガーメニュー　一番上の線 */
    .header_hamburger span:nth-of-type(1) {
        top: 20px;
    }

    /* ハンバーガーメニュー　2番目の線 */
    .header_hamburger span:nth-of-type(2) {
        top: 25px;
        opacity: 0;
    }

    /* ハンバーガーメニュー　3番目の線 */
    .header_hamburger span:nth-of-type(3) {
        top: 35px;
    }

    /* 3番目の線の下にMENU */
    .header_hamburger span:nth-of-type(3)::after {
        font-size: .6rem;
        position: absolute;
        top: 10px;
        left: 3px;

        content: 'Menu';
        text-transform: uppercase;
        color: #505050;
    }

    /* ハンバーガーメニュー　一番上の線 */
    .show+.header_hamburger span:nth-of-type(1) {
        top: 20px;
        left: 10px;
        width: 30%;
        transform: translateY(12px) rotate(-45deg);
    }

    /* ハンバーガーメニュー　2番目の線 
         ハンバーガーメニューが開いているときは消える*/
    /* .show+.header_hamburger span:nth-of-type(2) {
        opacity: 0;
    } */

    /* ハンバーガーメニュー　３番目の線 */
    .show+.header_hamburger span:nth-of-type(3) {
        top: 38px;
        left: 10px;
        width: 30%;
        transform: translateY(-6px) rotate(45deg);
    }

    .show+.header_hamburger span:nth-of-type(3)::after {
        top: 10px;
        left: 10px;

        content: 'Close';

        /*3つ目の要素のafterにClose表示を指定*/
        transform: translateY(0) rotate(-45deg);
    }

    /* リストとコンタクトボタンを縦ならびにして
    　　画面の外に隠す */
    .header_list_area {
        position: fixed;
        z-index: 10;
        top: 0;
        left: 100%;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        transition: .5s;
        background-color: rgba(211, 239, 236, .9);
    }


    /* ヘッダーリストを縦ならびにして中央揃え */
    .header_nav {
        height: max-content;
    }

    .header_list {
        align-items: flex-start;
        flex-direction: column;

        padding-top: 100px;
    }

    /* リストの余白設定 */
    .header_list li {
        margin: 1.5em;
    }

    /* ハンバーガーメニューが表示 showクラスが付与された時 */
    .show.header_list_area {
        left: 0;
        padding-bottom: 3em;
    }

    /* お問い合わせボタン、コンタクトボタンのデザイン
    　ヘッダーリストと揃える */
    .button_area {
        justify-content: flex-start;
    }

    .contact.header_button:hover,
    .yoyaku.header_button:hover {
        color: #abcb64;
        border: 1px solid #abcb64;
    }

    .header_button {
        margin-top: 1.5em;
    }


    /* フッターを縦並びに */

    .footer_inner {
        display: flex;
        flex-direction: column;
    }

    .footer_migi_section {
        align-items: flex-start;
        flex-direction: column;
    }

    .address {
        flex-direction: column;
    }

    .address_text_area {
        margin-top: 1.5em;
        margin-left: 0;
    }

    /* お問い合わせボタンの上の余白 */
    .contact_yoyaku_area {
        margin-top: 1.5em;
    }

    /*　ロゴと住所縦ならび */

    .footer_line {
        display: none;
    }

    .footer_nav_container {
        align-items: flex-start;
    }

    .footer_nav {
        margin-top: 1em;
        margin-left: 1em;
    }
}

@media (max-width: 768px) {
    /* フローティングアクションボタン */

    .fab_top_button_area {
        width: 60px;
    }

    /* お問い合わせ　予約ボタンを非表示 */
    .contact_yoyaku_area {
        display: none;
    }
}