@charset "UTF-8";

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Zen Maru Gothic", sans-serif;
    background-color: var(--base);
}

.wrapper {
    max-width: 375px;
    width: 90%;
    margin: 0 auto;
}

.scroll{
    opacity: 0;
    translate: 0 50px;
    transition: all .9s;
}

.scroll.active{
    opacity: 1;
    translate: 0 0;
}

:root {
    --base: #FFF8E8;
    --sub: #FBB787;
    --accent: #70AB9F;
}

img {
    max-width: 100%;
}

h1,
h2 {
    font-family: "Kodchasan", sans-serif;
    font-weight: bold;
}

h2,
h3 {
    color: var(--accent);
}

h1 {
    font-size: clamp(2.25rem, 1.825rem + 1.812vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 1.757rem + 1.036vw, 3rem);
}

h3 {
    font-size: clamp(1rem, 0.879rem + 0.518vw, 1.5rem);
}

a {
    text-decoration: none;
    color: #000;
}


.main-nav {
    position: fixed;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100%;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    font-size: 32px;
    inset: 0 -100% 0 100%;
    transition: all 0.3s ease-in-out;
    z-index: 2;
}

.open .main-nav {
    transform: translateX(-100%);
}

/* ハンバーガーボタン */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(0px 0px 99.9% 99.9%);
    clip-path: inset(0px 0px 99.9% 99.9%);
    border: 0;
}

.ham-button {
    width: clamp(2.75rem, 2.310rem + 1.878vw, 4rem);
    height: clamp(2.75rem, 2.310rem + 1.878vw, 4rem);
    margin-right: clamp(0rem, -0.758rem + 3.236vw, 3.125rem);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 2;
}

/* 真ん中の線 */
.ham-button-line {
    display: block;
    width: clamp(2.75rem, 2.507rem + 1.036vw, 3.75rem);
    height: 1px;
    background-color: var(--accent);
    margin: auto;
    position: relative;
    transition: all 0.3s ease-in-out;
}

/* 上下の線 */
.ham-button-line::before {
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background-color: var(--accent);
    position: absolute;
    transition: inherit;
    top: clamp(-0.5rem, -0.439rem + -0.259vw, -1rem);
}

.ham-button-line::after {
    content: 'Menu';
    color: var(--accent);
    font-size: clamp(0.75rem, 0.574rem + 0.751vw, 1.25rem);
}

.open .ham-button-line {
    rotate: 45deg;
    top: 0;
}

.open .ham-button-line::before {
    rotate: -90deg;
    top: 0;
}

.open .ham-button-line::after {
    content: '';
}

/* ------------------------------------------ */
.main-nav a {
    color: var(--accent);
    font-size: clamp(2rem, 1.824rem + 0.751vw, 2.5rem);
}

.main-nav li a {
    position: relative;
}

.main-nav li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: var(--accent);
    bottom: -10px;
    transform: scale(0, 1);
    transition: transform 0.5s;
    transform-origin: center top;
}

.main-nav li a:hover::after {
    transform: scale(1, 1)
}

.swiper-slide img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: center;
}


.top-logo {
    width: 100px;
    height: 53px;
    object-fit: cover;
}

h1 {
    color: var(--base);
}

.logo-h1 {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
}

.title {
    margin: clamp(2.5rem, 1.180rem + 5.634vw, 6.25rem) 0;
    text-align: center;
}


.about-text {
    line-height: 30px;
}

.about-text p {
    margin-bottom: 25px;
}

.about-img {
    width: 375px;
    height: 215px;
    object-fit: cover;
}

.event-text-box {
    text-align: center;
    margin: 20px 0 60px;
}

.event-text {
    display: inline-block;
    margin: 5px;
    position: relative;
    text-decoration: none;
    color: var(--accent);
    /* border: 1px solid #000;
    padding: 5px 8px; */
}

.event-text::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: calc(50% + 3px);
    left: 180px;
    width: 50px;
    height: 5px;
    border: none;
    border-right: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
    transform: skew(45deg);
    transition: .3s;
}

.event-text:hover::after {
    right: 10px;
    width: 100px;
}

/* .event-text:hover {
    color: var(--accent);
} */

.menu1,
.menu2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    text-align: left;
    line-height: 30px;
}

.menu-box {
    justify-items: center;
}


.tape1,
.tape2 {
    position: absolute;
    left: -30px;
    top: 10px;
    background: repeating-linear-gradient(-45deg, var(--accent), var(--accent)5px, #fff 5px, #fff 10px);
    width: 110px;
    height: 35px;
    transform: rotate(-35deg);
}

.event-card {
    position: relative;
    width: 300px;
    height: 470px;
    background-color: #fff;
    text-align: center;
    padding: 15px 15px 30px 15px;
    margin: 0 auto 40px;
}

.event-img {
    width: 270px;
    height: 270px;
    object-fit: cover;
}

.event-title {
    padding: 20px 0 10px 0;
    border-bottom: 1px solid #70AB9F;
    display: inline-block;
}

#Event dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 25px 0;
    width: 200px;
    margin: 0 auto;
    text-align: left;
}


input[type="text"],
[type="tel"],
[type="email"] {
    border: 1px solid var(--accent);
    background-color: #fff;
    width: 100%;
    height: 50px;
    border-radius: 6px;
    margin-bottom: 20px;
}

textarea {
    border: 1px solid var(--accent);
    background-color: #fff;
    width: 100%;
    height: 150px;
    border-radius: 6px;
}

form {
    padding-bottom: clamp(3.75rem, 3.143rem + 2.589vw, 6.25rem);
}

.submit {
    color: #fff;
}

.submit:hover {
    transform: scale(0.9, 0.9);
}

.submit-box {
    position: relative;
    margin: 40px auto 3px;
    background-color: var(--accent);
    width: 100px;
    height: 40px;
    border-radius: 20px;
    text-align: center;
    align-content: center;
}

.submit-box::before {
    position: absolute;
    inset: -3px 3px 3px -3px;
    border: 2px solid #fff;
    border-radius: 20px;
    content: '';
    pointer-events: none;
}

.submit-box:hover {
    background-color: rgba(112, 171, 159, 0.7);
    bottom: -3px;
}

footer {
    background-color: var(--accent);
    padding: 50px 0;
    color: #fff;
    text-align: center;
}

.bottom-logo {
    width: 91px;
    height: 47px;
    padding-bottom: 10px;
}

.footer-title {
    color: #fff;
    font-size: 32px;
}

.footer-table {
    text-align: left;
    margin: 0 auto;
    padding: 60px 0;
}

.follow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-bottom: 30px;
}



@media (min-width:769px) {
    .wrapper {
        max-width: 1200px;
        width: 90%;
    }

    .logo-h1 {
        display: flex;
        align-items: center;
        top: 50%;
        justify-content: center;
    }

    br {
        display: none;
    }

    .about-img {
        width: 40%;
        max-width: 375px;
    }

    .about-content {
        display: flex;
        gap: 10%;
        align-items: center;
    }

    .about-l {
        width: 40%;
    }

    .event-content {
        display: flex;
    }

    .menu-box dl {
        display: flex;
        gap: clamp(5rem, 1.205rem + 7.589vw, 10.313rem);
    }

    form {
        max-width: 900px;
        margin: 0 auto;
    }

    .footer-content2 {
        justify-items: flex-start;
    }

    .footer-content {
        display: flex;
        justify-content: center;
        gap: 50px;
        align-items: center;
    }


}