/* ↓↓base↓↓ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px
}

body {
    background: linear-gradient(90deg, #B9D0D1 0%, #B9D0D1 15%, #FFFAFA 15%, #FFFAFA 100%);
    color: #755532;
    font-family: "Kiwi Maru", serif;
    font-style: normal;
    font-size: 1.2rem;
}

a {
    color: #755532;
}

img {
    width: 100%;
}

.em-normal{
    font-size: 1.3rem;
    font-style:normal;
    font-weight: bold;
}

.em-normalcs{
    font-size: 1.1rem;
    font-style:normal;
    font-weight: bold;
}

/* ↑↑base↑↑ */

/* ↓↓ nav　↓↓ */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 88px;
    background-color: #FFD1DC;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

.header-inner {
    height: 88px;
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 0 4% 0 4%;
}

.logo-img img {
    width: 80px;
    vertical-align: bottom;
}

.drawer-nav-menu {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
}

.drawer-nav {
    text-align: center;
    width: 80vw;
}

.drawer-nav-link {
    text-decoration: none;
    font-size: 1.5vw;
    display: block;
    padding: 0 10px 0 10px;
}

.nav-btn {
    background-color: #755532;
    border-radius: 30px;
    color: #FFFAFA;
    padding: 0 15px 0 15px;
}

/* ↑↑ nav　↑↑ */

/* ↓↓ 下層ページ2分割レイアウト　↓↓ */
.common-container {
    display: flex;
}

.sidebar {
    background-color: #B9D0D1;
    width: 15%;
}

.sidebar-item {
    top: 35%;
    position: sticky;
}

.sidebar a {
    display: block;
    text-align: center;
}

.sidebar-item img {
    width: 100%;
}

/* ↑↑ 下層ページ2分割レイアウト　↑↑ */

/* ↓↓ footer　↓↓ */
footer {
    background-color: #755532;
    width: 100%;
    border-radius: 30px 30px 0 0;
    padding-bottom: 8px;
}

.footer-container {
    display: flex;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 16px;
    gap: 36px;
}

.copy {
    display: block;
    font-size: 1rem;
    color: #FFF7F7;
}

.logo {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding-top: 8px;
}

.logo-txt {
    font-size: 1.75rem;
    white-space: nowrap;
    color: #FFF7F7;
}

.logo a {
    width: 30px;
}

.logo img {
    vertical-align: bottom;
    width: 100%;
}

.address {
    color: #FFF7F7;
    font-size: 0.75rem;
    text-align: right;
    margin-bottom: 0.5rem;
}

.map-btn {
    display: block;
    align-items: center;
    background-color: #FFF7F7;
    text-decoration: none;
    color: #755532;
    width: 136px;
    padding: 3px 0;
    text-align: center;
    border-radius: 30px;
}

.copy {
    color: #FFF7F7;
    text-align: left;
    font-size: 12px;
}

.copyright {
    text-align: center;
}

.copyright small {
    color: #FFF7F7;
    text-align: center;
    font-size: 12px;
}

/* ↑↑ footer　↑↑ */

/* ↑↑base nav,footer↑↑ */

/* PC版はメニュー欄の”ホーム”を非表示化 */
@media screen and (min-width: 1050px) {
    .sp-drawer-nav-item {
        display: none;
    }
}

/* タブレット */
@media (max-width: 1050px) {

    .header {
        border-radius: 0;
    }

    body {
        background: #FFFAFA;
    }

    /* ↓↓base nav,footer↓↓ */
    .header-inner {
        padding: 0 36px 0 36px;
    }

    /* ハンバーガーボタンのデザイン */
    .drawer-btn {
        position: relative;
        width: 48px;
        height: 48px;
        background-color: transparent;
        border: none;
        cursor: pointer;
        z-index: 999;
    }

    /* ハンバーガーボタン内の線の設定 */
    .drawer-btn>span {
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        width: 36px;
        height: 2px;
        background-color: #755532;
        transform: translateX(-50%);
    }

    .drawer-btn>span:first-child {
        transform: translate(-50%, calc(-50% - 0.5rem));
        transition: transform 0.3s ease;
    }

    .drawer-btn>span:nth-child(2) {
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease;
    }

    .drawer-btn>span:last-child {
        transform: translate(-50%, calc(-50% + 0.5rem));
        transition: transform 0.3s ease;
    }

    /* 展開時のデザイン */
    .drawer-btn.is-active>span:first-child {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .drawer-btn.is-active>span:nth-child(2) {
        opacity: 0;
    }

    .drawer-btn.is-active>span:last-child {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    /* メニューのデザイン */
    .drawer-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        transition: opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
    }

    .drawer-nav.is-active {
        opacity: 1;
        visibility: visible;
    }

    .drawer-nav-menu {
        flex-direction: column;
    }

    .drawer-nav-inner {
        position: relative;
        width: 100%;
        height: 100%;
        background-color: #B9D0D1;
        padding: 4rem 1.5rem 1rem;
        overflow: scroll;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .drawer-nav.is-active .drawer-nav-inner {
        transform: translateX(0);
    }

    .drawer-nav-menu {
        list-style: none;
        padding-left: 0;
    }

    .drawer-nav-link {
        display: block;
        margin: 0 auto;
        font-size: 1rem;
        width: 50%;
        padding: 1rem 1rem;
        border-bottom: 1px solid lightgray;
    }

    .nav-btn {
        width: 200px;
        margin: 5px auto;
        color: #FFF7F7;
    }

    body.is-active {
        height: 100%;
        overflow: hidden;
        /*はみ出した要素を隠す*/
    }

    .sidebar {
        display: none;
    }

    h1 {
        width: 65%;
        margin: 36px auto 0;
    }
}

.footer-container {
    padding-top: 20px;
    padding-bottom: 16px;
    gap: 1.5rem;
}

.copy {
    font-size: 0.75rem;
}

.logo {
    gap: 2rem;
}

.logo a {
    width: 37px;
}

.logo a img {
    width: 100%;
}

.logo p {
    color: #FFF7F7;
}

.logo-txt {
    width: 200px;
    font-size: 1rem;
}

.address {
    font-size: 0.75rem;
    margin-bottom: 8px;
}

/* ↑↑base nav,footer↑↑ */

@media (max-width: 650px) {

    h1 {
        margin: 0 auto;
        width: 65%;
    }

    footer {
        background-color: #755532;
        height: 240px;
        border-radius: 16px 16px 0 0;
    }

    .footer-container {
        flex-direction: column;
        padding-top: 20px;
        gap: 12px;
    }

    .footer-item {
        width: 310px;
        margin: 0 auto;
    }

    .logo {
        gap: 0;
    }

    .logo-txt {
        width: 220px;
    }

    .logo a {
        width: 30px;
    }

    .logo a img {
        width: 100%;
    }

    .map {
        display: flex;
        justify-content: flex-end;
    }

    .map-btn {
        font-size: 0.75rem;
        width: 85px;
        padding: 8px 0;
        margin: 0 auto;
    }
}