@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

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

html {
    font-size: 100%;
}

/* 変数宣言 */
:root {
    --body-c: #ecd1a4;
    --color-w: #fafae8;
    --color-b: #543c1e;
    --fz-s: calc(18/16*1rem);
    --fz-m: calc(20/16*1rem);
    --fz-l: calc(24/16*1rem);
    --fz-ll: calc(32/16*1rem);
    --fz-xl: calc(40/16*1rem);
    --font-kiwi: "Kiwi Maru", serif;
    --font-daruma: "Darumadrop One", sans-serif;
}

body {
    display: none;
    font-family: var(--font-kiwi);
    font-size: var(--fz-m);
    color: var(--color-b);
    background-color: var(--body-c);
    background-image: radial-gradient(#543c1e32 1px, transparent 1px);
    background-size: 20px 20px;
    text-align: center;
    margin: 0 auto;
}

/* ヘッダー */
#header {
    position: fixed;
    max-width: 100%;
    background-color: var(--color-b);
    border-radius: 80px 80px 30px 30px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.header-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
}

.site-header-nav ul {
    display: flex;
}

.site-header-nav li {
    margin-left: 8px;
    margin-top: 30px;
}

.site-header-nav a {
    color: var(--color-w);
    font-size: var(--fz-l);
    margin-left: 24px;
    background-image: linear-gradient(var(--color-w), var(--color-w));
    background-size: 0 1px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: all .3s;
}

.site-header-nav a:hover {
    background-size: 100% 1px;
}

.title {
    line-height: 4vh;
    font-size: var(--fz-s);
    font-weight: normal;
    color: var(--color-w);
}

.main-title {
    font-size: 64px;
    font-family: var(--font-daruma);
    letter-spacing: .2em;
}

/* メイン */
.heading {
    font-size: var(--fz-xl);
    margin-bottom: 16px;
}

.main-visual {
    padding: 16px 120px;
    background-color: var(--color-w);
    width: 80%;
    margin: 0 auto 80px;
    border-radius: 30px;
    margin-top: 140px;
}

.main-visual img {
    width: 960px;
    height: 75vh;
    object-fit: cover;
    border-radius: 30px;
}

#main-visual {
    position: relative;
}

.arrow {
    position: absolute;
    top: 102%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: var(--color-w) 50px solid;
    margin: 0 auto 32px;
}

#about {
    background-image: url(../img/pan/about-content.png);
    background-repeat: no-repeat;
    background-position: center;
    height: 500px;
    position: relative;
    margin-bottom: 80px;
}

.about-wrapper {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.about-content img {
    border-radius: 30px;
}

.about-lead {
    margin-bottom: 16px;
}

.about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 800px;
    gap: 32px;
}

.about-text1 {
    margin-bottom: 8px;
}

.about-text2 {
    border-bottom: var(--color-b) 1px solid;
    display: inline;
}

.menu-lead {
    margin-bottom: 16px;
    font-size: var(--fz-l);
}

.menu-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 0 auto 32px;
}

.menu-more-btn a {
    display: block;
    background-color: var(--color-b);
    color: var(--color-w);
    width: 300px;
    border-radius: 30px;
    margin: 0 auto 80px;
    line-height: 3;
    border: var(--color-b) 1px solid;
    transition: .5s;
    box-shadow: 3px 3px 3px 0px #00000073;
}

.menu-more-btn a:hover {
    background-color: var(--color-w);
    border: var(--color-b) 1px solid;
    color: var(--color-b);
}

#news {
    background-color: var(--color-w);
    width: 70%;
    margin: 0 auto;
    padding: 40px;
    border-radius: 30px;
    margin-bottom: 80px;
}

.news-lead {
    margin-bottom: 16px;
    font-size: var(--fz-l);
}

.news-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    width: 90%;
    margin: 0 auto;
    margin-bottom: 32px;
}

.news-list img {
    transition: .3s;
    border-radius: 30px;
}

.news-list img:hover {
    opacity: .8;
    transform: scale(1.05);
}

.news-more-btn a {
    display: block;
    background-color: var(--color-b);
    color: var(--color-w);
    width: 300px;
    border-radius: 30px;
    line-height: 3;
    border: var(--color-b) 1px solid;
    margin: 0 auto;
    transition: .5s;
    box-shadow: 3px 3px 3px 0px #00000073;
}

.news-more-btn a:hover {
    background-color: var(--color-w);
    border: var(--color-b) 1px solid;
    color: var(--color-b);
}

#info {
    background-image: url(../img/pan/about-content.png);
    background-repeat: no-repeat;
    background-position: center;
    height: 500px;
    position: relative;
    margin-bottom: 80px;
}

.info-wrapper {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    width: 900px;
}

iframe {
    width: 360px;
    height: 300px;
}

.info-text {
    text-align: left;
}

.info-text li {
    border-bottom: var(--color-b) 2px dotted;
}

#gallary {
    margin-bottom: 80px;
}

.sp-only {
    display: none;
}

/* フッター */
#footer {
    background-color: var(--color-b);
    color: var(--color-w);
    padding: 16px;
    border-radius: 30px 30px 80px 80px;
}

/* ハンバーガーメニュー */
.site-header-navbtn {
    display: none;
    position: fixed;
    top: 10px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    z-index: 1;
}

.site-header-navbtn span,
.site-header-navbtn::before,
.site-header-navbtn::after {
    width: 40px;
    height: 3px;
    background-color: var(--color-w);
    position: absolute;
    top: 20px;
    left: 0px;
    transition: transform .4s;
}

.site-header-navbtn::before,
.site-header-navbtn::after {
    content: '';
}

.site-header-navbtn::before {
    transform: translateY(-8px);
}

.site-header-navbtn::after {
    transform: translateY(8px);
}

body.is-nav-open .site-header-navbtn span {
    transform: scaleX(0);
}

body.is-nav-open .site-header-navbtn::before {
    transform: translateY(0) rotate(225deg);
}

body.is-nav-open .site-header-navbtn::after {
    transform: translateY(0) rotate(-225deg);
}

@media screen and (max-width:1000px) {

    :root {
        --fz-s: calc(16/16*1rem);
        --fz-m: calc(18/16*1rem);
        --fz-l: calc(20/16*1rem);
        --fz-ll: calc(24/16*1rem);
        --fz-xl: calc(32/16*1rem);
    }

    #news,
    .info-content,
    .about-content {
        width: 100%;
    }

    .about-text1,
    .about-text2 {
        width: 360px;
    }

    .arrow {
        display: none;
    }

    .main-visual {
        width: 90%;
        padding: 0;
    }

    .about-content,
    .menu-list,
    .news-list,
    .info-content {
        display: block;
    }

    #about,
    #info {
        background-color: var(--color-w);
        background-image: none;
        height: 800px;
    }

    .about-wrapper,
    .info-wrapper {
        top: 50%;
    }

    .news-lead {
        width: 95%;
    }

    .news-list li {
        margin-bottom: 32px;
    }

    iframe {
        margin-bottom: 32px;
    }

    .info-text {
        width: 360px;
        margin: 0 auto;
        text-align: center;
    }

    #info,
    #gallary {
        margin-bottom: 24px;
    }

    .menu-more-btn a,
    .news-more-btn a {
        width: 200px;
    }

    .footer-nav-list {
        display: none;
    }

    .footer-nav {
        display: block;
        width: 100%;
    }

    .site-header-navbtn {
        display: block;
    }

    .site-header-nav {
        position: fixed;
        width: 100vw;
        height: 100%;
        left: 0;
        top: 0;
        backdrop-filter: blur(5px);
        transform: translate(-100%);
        transition: transform .6s;
    }

    body.is-nav-open .site-header-nav {
        transform: translateX(0);
    }

    .site-header-nav ul {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin-top: 200px;
    }

    .site-header-nav ul li:not(:last-child) {
        margin-right: 0;
    }

    .site-header-nav ul li a {
        font-size: var(--fz-xl);
        background-color: var(--color-b);
        padding: 0 32px;
        border-radius: 30px;
    }

    .header-wrapper {
        display: block;
    }

    .header-wrapper ul {
        display: block;
    }

    .header-wrapper li {
        margin-left: 0;
    }
}

@media screen and (max-width:500px) {
    .sp-only {
        display: block;
    }
}