@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap");

/* ==========================================================
  Foundation
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--text);
    font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

img,
picture,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    color: inherit;
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

/* ==========================================================
  Layout
========================================================== */

.l-container {
    margin-inline: auto;
    padding-inline: 24px;
    width: min(100%, 1248px);
}

@media (width <=767px) {
    .l-container {
        padding-inline: 20px;
    }
}

/* ==========================================================
  Header
========================================================== */

.header {
    position: sticky;
    z-index: 100;
    top: 0;
    background-color: rgb(250 247 242 / 92%);
    border-bottom: 1px solid rgb(51 48 46 / 8%);
    backdrop-filter: blur(12px);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
}

.header__brand-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header__brand-title {
    color: var(--wp--preset--color--text);
    font-family:
        "Zen Maru Gothic",
        "Hiragino Maru Gothic ProN",
        sans-serif;
    font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.header__brand-title,
.footer__brand-link {
    font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
    font-weight: 500;
}

.header__brand-description {
    color: rgb(51 48 46 / 65%);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
}

.header__nav-list {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2.5vw, 40px);
}

.header__nav-list a {
    position: relative;
    display: block;
    padding-block: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.header__nav-list a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    background-color: var(--wp--preset--color--main);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.header__nav-list a:hover::after,
.header__nav-list .current-menu-item>a::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header__menu-button {
    display: none;
}

/* ==========================================================
  Temporary FV
========================================================== */

.temporary-fv {
    display: grid;
    place-items: center;
    min-height: calc(100svh - 88px);
    background:
        radial-gradient(circle at 75% 30%,
            rgb(169 68 63 / 12%),
            transparent 30%),
        linear-gradient(135deg,
            var(--wp--preset--color--base),
            var(--wp--preset--color--white));
    text-align: center;
}

.temporary-fv__inner {
    padding-block: 100px;
}

.temporary-fv__english {
    margin: 0 0 20px;
    color: var(--wp--preset--color--main);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.24em;
}

.temporary-fv__title {
    margin: 0;
    font-family:
        "Zen Maru Gothic",
        "Hiragino Maru Gothic ProN",
        sans-serif;
    font-size: clamp(2.25rem, 1.5rem + 3vw, 4.75rem);
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.4;
}

.temporary-fv__text {
    margin: 32px 0 0;
    color: rgb(51 48 46 / 75%);
    font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.125rem);
    letter-spacing: 0.08em;
}

/* ==========================================================
  Footer
========================================================== */

.footer {
    background-color: var(--wp--preset--color--text);
    color: var(--wp--preset--color--white);
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-block: 72px;
}

.footer__brand-link {
    font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
    font-size: 1.375rem;
    letter-spacing: 0.08em;
}

.footer__description {
    margin: 20px 0 0;
    color: rgb(255 255 255 / 68%);
    font-size: 0.8125rem;
    line-height: 2;
}

.footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    max-width: 540px;
}

.footer__nav-list a {
    color: rgb(255 255 255 / 78%);
    font-size: 0.8125rem;
    transition: color 0.3s ease;
}

.footer__nav-list a:hover {
    color: var(--wp--preset--color--white);
}

.footer__bottom {
    padding: 20px 24px;
    border-top: 1px solid rgb(255 255 255 / 12%);
    text-align: center;
}

.footer__copyright {
    color: rgb(255 255 255 / 50%);
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
}

/* ==========================================================
  Responsive
========================================================== */

@media (width <=767px) {
    body.is-menu-open {
        overflow: hidden;
    }

    .header__inner {
        min-height: 72px;
    }

    .header__brand-description {
        display: none;
    }

    .header__menu-button {
        position: relative;
        z-index: 110;
        display: grid;
        gap: 6px;
        padding: 10px;
        background: transparent;
        border: 0;
    }

    .header__menu-line {
        display: block;
        width: 26px;
        height: 1px;
        background-color: var(--wp--preset--color--text);
        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }

    .header__menu-button.is-open .header__menu-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .header__menu-button.is-open .header__menu-line:nth-child(2) {
        opacity: 0;
    }

    .header__menu-button.is-open .header__menu-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .header__nav {
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100dvh;
        visibility: hidden;
        overflow-y: auto;
        padding: 120px 32px 60px;
        background: #faf7f2;
        box-shadow: 0 12px 30px rgb(51 48 46 / 12%);
        opacity: 0;
        transform: translateY(-12px);
        transition:
            visibility 0.3s,
            opacity 0.3s ease,
            transform 0.3s ease;
    }

    .header__nav.is-open {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .header__nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .header__nav-list li {
        border-bottom: 1px solid rgb(51 48 46 / 10%);
    }

    .header__nav-list a {
        padding: 18px 4px;
        font-size: 1rem;
    }

    .temporary-fv {
        min-height: calc(100svh - 72px);
    }

    .temporary-fv__inner {
        padding-block: 80px;
    }

    .temporary-fv__title {
        letter-spacing: 0.06em;
    }

    .temporary-fv__text {
        line-height: 2;
    }

    .footer__inner {
        flex-direction: column;
        gap: 40px;
        padding-block: 56px;
    }

    .footer__nav-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================
  広告・PR表記
========================================================== */

.site-ad-disclosure {
  width: 100%;
  padding: 14px 24px;
  box-sizing: border-box;
  text-align: center;
}

.site-ad-disclosure p {
  margin: 0;
  color: #5f5955;
  font-size: 13px;
  line-height: 1.7;
}

/* 花とちょうちょ用の共通クラス */
.hana-font {
  font-family: "hanatotyoutyo", "Zen Maru Gothic", sans-serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.03em;
}