@charset "UTF-8";
/*
主たるブレイクポイント
600px
1025px
*/



/*====================
全体の設定
====================*/

html {
    font-size: 67.5%;
}

body {
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1;
    color: #333;
    background-color: #F6E6CB;
}

a {
    text-decoration: none;
}

a:hover {
    opacity: 0.5;
}

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

/*====================
汎用クラス
====================*/

.inner {
    /* 画像のサイズが1180だから。ただのwidthにすると横スクロールが出る */
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width:1025px) {
    .inner {
        padding-left: 5.6%;
        padding-right: 5.6%;
    }

    /* ======== max-width:1025px ========*/
}

.title {
    font-weight: normal;
    font-size: 3.4rem;
    font-family: 'Noto Serif JP', serif;
    text-align: center;
    margin-bottom: 8px;
}

.sub_title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.text {
    line-height: 2;
    /* 2文字分の行間で、真ん中に1文字使って上下に0.5文字分入ってるから、それを上に上げる */
    margin-top: -0.5em;
}

.btn {
    display: block;
    max-width: 380px;
    line-height: 80px;
    color: #fff;
    text-align: center;
    background-color: #534340;
    margin-left: auto;
    margin-right: auto;
}

/*====================
ヘッダー
====================*/
header {
    padding-top: 24px;
    padding-bottom: 24px;
}

header h1 {
    width: 150px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width:1025px) {
    header {
        display: flex;
        align-items: center;
        /* 幅に対して左右を軸に綺麗に並ぶ */
        justify-content: space-between;
        padding-left: 5.6%;
        padding-right: 5.6%;
    }

    header h1 {
        margin-left: 0;
        margin-right: 0;
    }

    header .menu_btn {
        width: 26px;
        height: 26px;
        z-index: 10;
    }

    header .menu_btn span {
        display: block;
        background-color: #333;
        height: 2px;
        /* クリックされたときの動作 */
        transition: 0.3s;
    }

    .on header .menu_btn span {
        background-color: #fff;
    }

    header .menu_btn span:nth-child(2) {
        transform: translateY(10px);
    }

    header .menu_btn span:last-child {
        transform: translateY(20px);
    }

    /* bodyにonクラス付いてたら */
    .on header .menu_btn span:first-child {
        transform: translateY(12px) rotate(45deg);
    }

    .on header .menu_btn span:nth-child(2) {
        display: none;
    }

    .on header .menu_btn span:last-child {
        transform: translateY(10px) rotate(-45deg);
    }

    /* ======== max-width:1025px ========*/
}

/* =====================
キービジュアル
========================*/
.key.inner {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 64px;
}

/* =====================
ナビゲーション
========================*/
nav {
    margin-bottom: 128px;
}

nav p {
    display: none;
}

nav ul {
    display: flex;
    justify-content: space-between;
}

nav ul li {
    max-width: 280px;
    width: 23.7288136%
}

nav ul li a {
    background-color: #E3CDC1;
    display: block;
    padding-top: 22px;
    padding-bottom: 22px;
    text-align: center;
    line-height: 1.5;
    color: #534340;
}

nav ul li a span {
    display: block;
    font-size: 1.2rem;
}

@media screen and (max-width:1025px) {
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(83, 67, 64, 0.8);
        padding-top: 50px;
        /* タップされるまで消しておく */
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
    }

    /* タップされたら */
    .on nav {
        opacity: 1;
        visibility: visible;
    }

    nav p {
        display: block;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 80px;
    }

    nav ul {
        display: block;
        border-top: 2px dashed #fff;
    }

    nav ul li {
        width: 100%;
        max-width: 100%;
        font-size: 3.5rem;
        border-bottom: 2px dashed #fff;
    }

    nav ul li a {
        background-color: transparent;
        color: #FFF;
    }

    nav ul li a span {
        display: none;
    }

    /* ======== max-width:1025px ========*/
}


/* =====================
ANDANTEについて
========================*/

main .top_about {
    margin-bottom: 128px;
    max-width: 1180px;
    padding-left: 8.47457627%;
    padding-right: 8.47457627%;
}

.top_about .top_about_content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.top_about img {
    /* エリア全体の横並び空の割合 */
    width: 48.9795918%;
    height: 100%;
}

.top_about .top_about_text {
    width: 48.9795918%;
}

.top_about .text {
    margin-bottom: 24px;
}

@media screen and (max-width:1025px) {
    .top_about {
        max-width: 600px;
        margin-bottom: 60px;
    }

    /*縦にする*/
    .top_about .top_about_content {
        display: block;
    }

    .top_about img {
        /* エリア全体の横並び空の割合 */
        width: 100%;
        margin-bottom: 24px;
    }

    .top_about .top_about_text {
        width: 100%;
    }

    /* ======== max-width:1025px ========*/
}


/* =====================
メニュー
========================*/
.top_menu div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.top_menu div figure {
    flex-basis: 32.2044898%;
}

.top_menu figure img {
    margin-bottom: 8px;
}

.top_menu figure figcaption {
    text-align: center;
}

.top_menu figure figcaption span {
    font-size: 1.2rem;
}

@media screen and (max-width:1025px) {
    .top_menu div {
        display: block;
    }

    .top_menu figure {
        margin-bottom: 24px;
    }

    /* ======== max-width:1025px ========*/
}


/* =====================
フッター
========================*/
footer {
    background-color: #534340;
    margin-top: 160px;
    padding-top: 32px;
    padding-bottom: 32px;
}

footer .footer_logo {
    width: 175px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
}

footer .footer_nav {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

footer .footer_nav a {
    color: #fff;
    padding-left: 20px;
    padding-right: 20px;
}

footer small {
    color: #FFF;
    /* smallはインラインなので align centerだと真ん中にならないから、blockへ */
    display: block;
    text-align: center
}

@media screen and (max-width:600px) {
    footer .footer_nav {
        display: block;
        border-top: 1px dashed #fff;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    footer .footer_nav li {
        border-bottom: 1px dashed #fff;
        line-height: 3;
    }

    footer .footer_nav a {
        padding-left: 0;
        padding-right: 0;
        display: block;
    }

    /* ======== max-width:600px ========*/
}