/*
Theme Name: Goouseika
*/

:root {
    --header-height: 84px;
    --color-bg: #f5f5f5;
    --color-base: #ffffff;
    --color-text: #3b2828;
    --color-dark: #12100f;
    --color-accent: #b50000;
    --color-line: #d8d6d2;
    --color-brown: #422818;

    --container-width: min(90%, 1200px);
    --space-2xs: 8px;
    --space-xs: 12px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 60px;
    --space-2xl: 100px;
    /* Section/Product spacing aliases for easier tuning */
    
    --section-space-y: var(--space-2xl);
    --layout-gap-xxl: var(--space-2xl);
    --layout-gap-xl: var(--space-xl);
    --layout-gap-lg: var(--space-lg);
    --layout-gap-md: var(--space-md);
    --layout-gap-sm: var(--space-sm);
    --layout-gap-xs: var(--space-xs);
    --layout-gap-2xs: var(--space-2xs);

    --font-xs: clamp(10px, calc((12 / 1440) * 100vw), 12px);
    --font-sm: clamp(12px, calc((14 / 1440) * 100vw), 14px);
    --font-base: clamp(16px, calc((16 / 1440) * 100vw), 16px);
    --font-md: clamp(16px, calc((20 / 1440) * 100vw), 20px);
    --font-lg: clamp(20px, calc((28 / 1440) * 100vw), 28px);
    --font-xl: clamp(26px, calc((44 / 1440) * 100vw), 44px);
}

@media (max-width: 468px) {
    :root {
        --space-2xs: 6px;
        --space-xs: 8px;
        --space-sm: 12px;
        --space-md: 16px;
        --space-lg: 24px;
        --space-xl: 32px;
        --space-2xl: 40px;
        --font-base: 14px;
    }

    .product-price-badge {
        left: -8px;
        bottom: -8px;
        width: 80px;
        height: 80px;
    }

}

* {
    box-sizing: border-box;
}

html {
    overflow-x: clip; /* position:fixed な要素もクリップ（iOS Safari 16+） */
}

body {
    overflow-x: hidden; /* 旧iOS Safari フォールバック */
}

html,
body {
    margin: 0;
    padding: 0;
    color: var(--color-text);
    background-color: var(--color-base);
    background-image: url("../images/paper.jpg");
    background-repeat: repeat;
    background-position: top left;
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-size: var(--font-base);
    line-height: 1.8;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

/* Utilities --------------------------------------------------------------- */
.pt-0 {
    padding-top: 0 !important;
}

.container {
    width: var(--container-width);
    margin-inline: auto;
}

.top-hero {
    aspect-ratio: 1440 / 772;
    min-height: 0;
    position: relative;
    color: #fff;
    overflow: hidden;
    padding-top: calc(var(--header-height) + clamp(2rem, 4vw, 4rem));
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-hero-swiper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.top-hero-swiper .swiper-wrapper,
.top-hero-swiper .swiper-slide {
    height: 100%;
}

.top-hero-slide {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    transform: scale(1);
    transition: transform 6s ease-out;
}

.top-hero-swiper .swiper-slide-active .top-hero-slide,
.top-hero-swiper .swiper-slide-duplicate-active .top-hero-slide {
    transform: scale(1.08);
}

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: stretch;
    background: rgba(0, 0, 0, 0.7);
    padding-left: clamp(1rem, 1vw + 0.5rem, 2rem);
    transition: background 0.3s ease;
}

body.menu-open .top-header {
    background: rgba(0, 0, 0, 1);
}

.top-logo {
    margin: 0;
    display: flex;
    align-items: center;
}

.top-logo img {
    display: block;
    width: clamp(10rem, 22.57vw, 260px);
    height: auto;
}

.top-nav {
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
    gap: 40px;
    font-size: 16px;
    letter-spacing: 0.08em;
    padding-inline: var(--space-sm);
}

.top-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.top-nav-item > a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.top-nav > .top-nav-item + .top-nav-item::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 50%;
    width: 1px;
    height: 1em;
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%);
}

.top-nav-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -8px);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 8px 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1005;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.top-nav-submenu a {
    display: block;
    height: auto;
    padding: 10px 16px;
    white-space: nowrap;
    font-size: 14px;
}

.top-nav-submenu .top-nav-item {
    width: 100%;
}

.top-nav-submenu .top-nav-item > a {
    width: 100%;
}

.top-nav-item-has-submenu:hover .top-nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.top-header-cta {
    align-self: stretch;
    width: 230px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: var(--color-accent);
    padding: 0;
    letter-spacing: 0.04em;
    line-height: 1;
}

.top-header-cta-icon {
    width: 24px;
    height: 24px;
}

.top-header-cta-ja {
    font-size: 18px;
}

.top-header-cta-en {
    font-size: 14px;
}

.top-header a,
.top-header a:visited {
    color: #fff;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 28px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/*  Decorations ------------------------------------------------------------- */
.deco_01 {
    position: relative;
}

.deco_01::before {
    content: "";
    display: block;
    background: url("../images/deco-01.svg") no-repeat center right;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    width: 27vw;
    max-width: 340px;
    aspect-ratio: 398/580;
}

@media (max-width: 960px) {
    .deco_01::before {
        width: 40vw;
        max-width: 600px;
    }
}

/* Top Hero ----------------------------------------------------------------- */

.top-hero-copy {
    position: relative;
    z-index: 1;
    text-align: left;
}

.top-hero-sub {
    margin: 0 0 var(--space-md);
    font-size: var(--font-base);
    letter-spacing: 0.3em;
}

.top-hero h1 {
    margin: 0;
    font-size: clamp(1.5rem, 0.2rem + 2.2vw, 1.875rem);
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.6;
    writing-mode: vertical-rl;
    font-family: "Noto Serif JP", serif;
}


.top-intro,
.top-products,
.top-event,
.top-news,
.top-links {
    padding-block: var(--section-space-y);
}

.top-links {
    padding-top: 0;
}

.top-intro {
    background: rgba(255, 255, 255, 0.7);
}

.top-intro .container {
    display: flex;
    gap: var(--layout-gap-xl);
    align-items: center;
}

.top-intro-text {
    flex: 1.3;
}

.top-intro-photos {
    flex: 1;
}

.top-intro-heading {
    margin: 0 0 var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    line-height: 1.6;
}

.top-intro-heading-sub {
    font-size: clamp(20px, calc((26 / 1440) * 100vw), 26px);
    font-weight: 500;
}

.top-intro-heading-main {
    font-size: clamp(24px, calc((34 / 1440) * 100vw), 34px);
    font-weight: 600;
}

.top-intro p {
    margin: 0;
    font-size: clamp(14px, calc((16 / 1440) * 100vw), 16px);
    line-height: 1.9;
    max-width: 62ch;
}

.top-intro-photos {
    position: relative;
    aspect-ratio: 603 / 468;
}

.top-intro-photos .photo {
    position: absolute;
    display: block;
    object-fit: cover;
}

.top-intro-photos .photo-an-dango {
    top: 0;
    left: 0;
    width: 74.13%;
    aspect-ratio: 447 / 291;
    z-index: 2;
}

.top-intro-photos .photo-yaki-dango {
    bottom: 0;
    right: 0;
    width: 54.06%;
    aspect-ratio: 326 / 226;
    z-index: 1;
}

.top-products .container {
    display: grid;
    gap: var(--layout-gap-xxl);
}

.product-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, calc((100 / 1440) * 100vw), 100px);
    align-items: center;
}

.product-card-reverse {
    grid-template-columns: 1fr 1fr;
}

.product-card-reverse .product-photo {
    order: 2;
}

.product-photo {
    position: relative;
}

/* 3枚グリッドレイアウト（上1枚横長、下2枚） */
.product-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--layout-gap-md);
    column-gap: var(--layout-gap-sm);
}

.product-photo-item {
    position: relative;
    overflow: visible;
}

.product-photo-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-photo-main {
    grid-column: 1 / 3;
}

/* 縦書きラベル */
.product-photo-label {
    position: absolute;
    top: calc(clamp(0.5rem, 1vw, 0.75rem) - 20px);
    right: clamp(0.5rem, 1vw, 0.75rem);
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 8px;
    color: var(--color-text);
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.product-photo-label > span {
    display: inline-flex;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    inline-size: fit-content;
    block-size: fit-content;
    background: rgba(255, 255, 255, 0.95);
    padding: clamp(0.5rem, 0.8vw, 0.75rem) clamp(0.35rem, 0.5vw, 0.5rem);
}

.product-photo-label > span strong {
    font-weight: inherit;
    color: var(--color-accent);
    margin-bottom: 0;
}

.product-photo-grid .product-photo-item:not(.product-photo-main) .product-photo-label {
    font-size: 16px;
}

/* 価格バッジ */
.product-price-badge {
    position: absolute;
    left: -12px;
    bottom: -12px;
    width: 130px;
    height: 130px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}

.product-price-badge-01 {
    background-image: url("../images/product-badge01.svg");
}

.product-price-badge-02 {
    background-image: url("../images/product-badge02.svg");
}

.product-photo:not(.product-photo-grid) img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 512 / 288;
    object-fit: cover;
}

.product-copy h3 {
    margin: 0 0 var(--space-lg);
    font-size: clamp(26px, calc((38 / 1440) * 100vw), 38px);
    font-weight: 600;
}

.product-copy {
    position: relative;
    overflow: visible;
}

.product-copy > * {
    position: relative;
    z-index: 1;
}

.product-copy-deco-01::before,
.product-copy-deco-02::before {
    content: "";
    position: absolute;
    top: 0;
    background-repeat: no-repeat;
    background-size: 100% auto;
    pointer-events: none;
    z-index: 0;
}

.product-copy-deco-01::before {
    right: 0;
    width: 80%;
    transform: translate(0%, -50%);
    aspect-ratio: 434 / 100;
    background-image: url("../images/product_deco01.svg");
    background-position: right top;
}

.product-copy-deco-02::before {
    left: 0;
    width: 50%;
    transform: translate(-37%, -40%);
    aspect-ratio: 275 / 92;
    background-image: url("../images/product_deco02.svg");
    background-position: left top;
}

.section-heading-lined {
    position: relative;
    padding-bottom: 12px;
}

.section-heading-lined::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #cbcbcb;
}

.section-heading-lined::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(120px, 100%);
    height: 3px;
    background: rgba(181, 0, 0, 0.4);
}

.product-copy p {
    margin: 0 0 var(--space-lg);
    font-size: var(--font-md);
    font-weight: 400;
}

p.product-copy-lead {
    margin: 0;
    font-size: clamp(16px, calc((24 / 1440) * 100vw), 24px);
    font-weight: 700;
}

.product-links {
    display: flex;
    gap: var(--space-xs);
}

.btn-size-md {
    display: inline-block;
    width: 100%;
    max-width: 220px;
    padding: 15px 1rem;
    text-align: center;
    font-size: var(--font-base);
    letter-spacing: 0.08em;
}

.product-links a {
    background: var(--color-accent);
    color: #fff;
}

.top-event {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: clamp(340px, calc((420 / 1440) * 100vw), 420px);
    padding-block: 0;
}

.top-event-image {
    position: relative;
    min-height: inherit;
}

.top-event-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-event-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(40px, calc((56 / 1440) * 100vw), 56px) clamp(24px, calc((64 / 1440) * 100vw), 64px);
    color: #fff;
    background-color: #744B34;
    background-image: url("../images/event-bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.top-event-label {
    margin: 0;
    font-size: clamp(16px, calc((26 / 1440) * 100vw), 26px);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.top-event h2 {
    margin: 0 0 var(--space-lg);
    font-size: clamp(24px, calc((34 / 1440) * 100vw), 34px);
    font-weight: 700;
    line-height: 1.35;
}

.top-event-copy > p:not(.top-event-label) {
    margin: 0 0 var(--space-md);
    font-size: var(--font-base);
    line-height: 1.9;
}

.top-event-badge {
    position: absolute;
    top: clamp(16px, calc((24 / 1440) * 100vw), 24px);
    left: clamp(16px, calc((24 / 1440) * 100vw), 24px);
    width: 200px;
    aspect-ratio: 1 / 1;
    margin: 0;
    display: block;
    background: url("../images/event-badge.svg") no-repeat center / contain;
    pointer-events: none;
}

.top-event-links {
    gap: clamp(10px, calc((20 / 1440) * 100vw), 20px);
}

.top-event-links a {
    background: var(--color-accent);
    font-weight: 500;
}

@media (max-width: 468px) {
    .top-event-badge {
        width: 100px;
        top: 12px;
        left: 12px;
    }
}

.top-news .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 56px;
}

.top-news h2 {
    margin: 0 0 var(--space-md);
    padding-bottom: 14px;
    font-size: clamp(22px, calc((32 / 1440) * 100vw), 32px);
    font-weight: 700;
    border-bottom: 3px solid #cbcbcb;
    position: relative;
}

.top-news h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 120px;
    height: 3px;
    background: rgba(181, 0, 0, 0.4);
}

.top-news dl {
    margin: 0 0 var(--space-md);
    border-top: 0;
}

.top-news dl div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #cbcbcb;
    font-size: var(--font-base);
}

.top-news dt,
.top-news dd {
    margin: 0;
}

.top-news dd {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 18px;
    align-items: center;
}

.top-news-tag {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    background: #f1dfdf;
    color: var(--color-text);
    font-size: 14px;
    text-align: center;
    line-height: 1.2;
}

.top-more {
    display: block;
    margin-left: auto;
    background: var(--color-accent);
    color: #fff;
    font-size: var(--font-base);
}

.top-news-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.top-news-media-link {
    display: block;
    cursor: zoom-in;
}

.photo-media {
    width: 100%;
    aspect-ratio: 200 / 266;
    object-fit: cover;
}

.media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    place-items: center;
    background: rgba(0, 0, 0, 0.82);
    padding: 24px;
}

.media-lightbox.is-open {
    display: grid;
}

.media-lightbox-content {
    position: relative;
    width: min(92vw, 1080px);
}

.media-lightbox-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 86vh;
    object-fit: contain;
}

.media-lightbox-close {
    position: absolute;
    top: -42px;
    right: 0;
    width: 36px;
    height: 36px;
    border: 0;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.top-links .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.top-link {
    position: relative;
    min-height: clamp(8.5rem, 15vw, 11rem);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    font-size: clamp(18px, calc((20 / 1440) * 100vw), 20px);
    font-weight: 600;
    letter-spacing: 0.1em;
}

.top-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), var(--top-link-bg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.top-link > span {
    position: relative;
    z-index: 1;
}

.top-link:hover {
    opacity: 1;
}

.top-link:hover::before {
    opacity: 0.9;
    transform: scale(1.05);
}

.link-card-products {
    --top-link-bg: url("../images/linkcard-franchise.jpg");
}

.link-card-franchise {
    --top-link-bg: url("../images/linkcard-franchise.jpg");
}

.link-card-stores {
    --top-link-bg: url("../images/linkcard-stores.jpg");
}

.link-card-company {
    --top-link-bg: url("../images/linkcard-company.jpg");
}

.link-card-online {
    --top-link-bg: url("../images/linkcard-online.jpg");
}

@media (max-width: 1440px) {
    .top-hero {
        aspect-ratio: unset;
        min-height: clamp(500px, 60vh, 800px);
        padding-top: calc(var(--header-height) + clamp(1.5rem, 3vw, 3rem));
        padding-bottom: clamp(3rem, 8vw, 6rem);
    }
}

@media (max-width: 992px) {
    .top-hero {
        min-height: clamp(450px, 80vh, 700px);
        padding-top: calc(var(--header-height) + clamp(1rem, 2vw, 2rem));
        padding-bottom: clamp(2rem, 6vw, 4rem);
    }
}

@media (max-width: 1160px) {
    .page-hero-inner {
        padding-top: 64px;
    }

    .top-header {
        display: flex;
        flex-wrap: wrap;
        height: 64px;
        padding: var(--space-sm) var(--space-md);
        gap: var(--space-sm);
        align-items: center;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
        order: 2;
    }

    .top-logo {
        order: 1;
    }

    .top-nav {
        position: fixed;
        top: 64px;
        right: 0;
        width: 100%;
        height: calc(100vh - 64px - 60px);
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: var(--space-lg) var(--space-md);
        gap: 0;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
        overflow-y: auto;
    }

    .top-nav.is-open {
        transform: translateX(0);
        visibility: visible;
        transition: transform 0.3s ease, visibility 0s linear;
    }

    .top-nav a {
        height: auto;
        padding: 0;
    }

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

    .top-nav-item > a {
        width: 100%;
        padding: var(--space-md) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
        justify-content: flex-start;
    }

    .top-nav > .top-nav-item + .top-nav-item::before {
        display: none;
    }

    .top-nav-submenu {
        position: static;
        width: 100%;
        transform: none;
        min-width: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        padding: 0;
        background: transparent;
    }

    .top-nav-item-has-submenu > a {
        display: none;
    }

    .top-nav-item-has-submenu:hover .top-nav-submenu {
        transform: none;
    }

    .top-nav-submenu .top-nav-item > a {
        display: flex;
        width: 100%;
        justify-content: flex-start;
        padding: var(--space-md) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 16px;
    }

    .top-header-cta {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 60px;
        flex-direction: row;
        justify-content: center;
        gap: var(--space-sm);
        z-index: 999;
    }

    .top-header-cta-ja {
        font-size: 16px;
    }

    .top-header-cta-en {
        font-size: 12px;
    }
}

@media (max-width: 960px) {
    .top-hero {
        min-height: calc(80vh - 60px);
        padding-top: calc(64px + clamp(1rem, 2vw, 2rem));
    }

    .top-hero h1 {
        font-size: clamp(1.55rem, 4vw, 1.75rem);
    }

    .top-intro .container {
        flex-direction: column;
        align-items: stretch;
    }

    .top-intro-photos {
        flex: none;
        width: 100%;
        max-width: 603px;
        margin-inline: auto;
    }

    .product-card,
    .product-card-reverse {
        grid-template-columns: 1fr;
    }

    .product-card-reverse .product-photo {
        order: 0;
    }

    .top-news .container,
    .top-event {
        grid-template-columns: 1fr;
    }

    .top-event-image {
        min-height: clamp(11rem, 40vw, 16rem);
    }

    .top-links .container {
        grid-template-columns: 1fr;
    }

    .top-news dl div {
        grid-template-columns: auto 1fr;
        align-items: start;
        gap: 8px 12px;
    }

    .top-news dd {
        display: contents;
    }

    .top-news-tag {
        grid-column: 2;
    }

    .top-news dd > span:last-child {
        grid-column: 1 / -1;
    }

    .top-more {
        margin-inline: auto;
    }
}

.site-footer {
    background: #2F2F2F;
    color: #f2f2f2;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.site-footer-inner {
    width: var(--container-width);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
}

@media (max-width: 1200px) {
    .site-footer-inner {
        gap: var(--space-lg);
    }
}

.site-footer-company {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.site-footer-logo {
    margin: 0 0 var(--space-sm);
}

.site-footer-logo img {
    display: block;
    width: 260px;
    height: auto;
    filter: brightness(0) invert(1);
}

.site-footer-company-name,
.site-footer-address {
    margin: 0;
    font-size: var(--font-base);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.site-footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-lg);
}

.site-footer-nav-col {
    display: flex;
    flex-direction: column;
}

.site-footer-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.site-footer-nav li {
    margin: 0;
}

.site-footer-nav a {
    display: block;
    font-size: var(--font-base);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s;
}

.site-footer-nav a:hover {
    color: #ffffff;
    opacity: 1;
}

.site-footer-copy {
    width: var(--container-width);
    margin: var(--space-xl) auto 0;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 960px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .site-footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .site-footer-logo img {
        width: 180px;
    }
}

:root {
    --page-container-width: min(100% - 3rem, 1140px);
    --page-hero-height: clamp(16rem, 26vw, 23rem);
    --page-title-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem);
}

.page-hero {
    position: relative;
}

.page-hero-visual {
    position: relative;
    min-height: var(--page-hero-height);
    color: #fff;
}

.page-hero-visual > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    width: var(--page-container-width);
    margin-inline: auto;
    min-height: var(--page-hero-height);
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.page-hero-title {
    margin: 0;
    font-size: var(--page-title-size);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.page-hero-number {
    position: absolute;
    left: clamp(0.5rem, 1vw, 1rem);
    bottom: clamp(0.6rem, 1vw, 1rem);
    margin: 0;
    writing-mode: vertical-rl;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.12em;
    font-size: clamp(0.65rem, 0.55rem + 0.3vw, 0.8rem);
    z-index: 1;
}

.page-company {
    --company-heading-size: clamp(26px, calc((34 / 1440) * 100vw), 34px);
    --company-body-size: var(--font-base);
    --company-gap-lg: clamp(36px, calc((56 / 1440) * 100vw), 56px);
    --company-gap-md: clamp(24px, calc((36 / 1440) * 100vw), 36px);
}

.company-container {
    padding-block: var(--company-gap-lg);
}

.company-section + .company-section {
    margin-top: var(--company-gap-lg);
}

.company-section-title {
    margin: 0 0 var(--company-gap-md);
    position: relative;
    font-size: var(--company-heading-size);
    line-height: 1.5;
    font-weight: 700;
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 14px;
}

.company-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 120px;
    height: 3px;
    background: rgba(181, 0, 0, 0.4);
}

.company-greeting {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--company-gap-md);
    align-items: start;
}

.company-greeting h3 {
    margin: 0 0 16px;
    font-size: clamp(20px, calc((24 / 1440) * 100vw), 24px);
}

.company-greeting p {
    margin: 0;
    font-size: var(--company-body-size);
    line-height: 1.9;
}

.company-greeting-sign {
    margin-top: 20px !important;
    text-align: right;
}

.company-greeting-image {
    margin: 0;
}

.company-greeting-image img {
    display: block;
    width: 100%;
    height: auto;
}

.company-table {
    margin: 0;
    border-top: 0;
}

.company-table div {
    margin: 0;
    display: grid;
    grid-template-columns: 260px 1fr;
    column-gap: 24px;
    padding: 0;
    border-bottom: 1px solid #d8d8d8;
}

.company-table dt,
.company-table dd {
    margin: 0;
    padding: 18px 8px;
    font-size: var(--company-body-size);
    line-height: 1.8;
}

.company-table dt {
    padding-inline: 16px;
    font-weight: 700;
    background: rgba(248, 247, 247, 0.5);
}

.page-company .top-links {
    padding: var(--company-gap-lg) 0;
}

.company-links {
    margin-top: var(--company-gap-lg);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--company-gap-md);
}

.company-link-card {
    position: relative;
    display: block;
    color: #fff;
}

.company-link-card img {
    display: block;
    width: 100%;
    height: auto;
}

.company-link-card span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(1.05rem, 0.9rem + 0.45vw, 1.3rem);
    letter-spacing: 0.08em;
    background: rgba(0, 0, 0, 0.28);
}

@media (max-width: 960px) {
    .company-greeting,
    .page-company .top-links .container {
        grid-template-columns: 1fr;
    }

    .company-table div {
        grid-template-columns: 1fr;
        row-gap: 0.35rem;
    }
}

.page-mitarashi {
    --mitarashi-gap-lg: clamp(32px, calc((56 / 1440) * 100vw), 56px);
    --mitarashi-gap-md: clamp(16px, calc((28 / 1440) * 100vw), 28px);
    --mitarashi-body-size: var(--font-base);
}

.mitarashi-features-section,
.mitarashi-manufacture,
.mitarashi-cook,
.mitarashi-products {
    padding-block: var(--section-space-y);
}

.mitarashi-products {
    padding-top: 0;
}

.mitarashi-intro {
    text-align: center;
    margin-bottom: var(--mitarashi-gap-lg);
}

.mitarashi-intro h2 {
    margin: 0;
    font-size: clamp(20px, calc((30 / 1440) * 100vw), 30px);
    font-weight: 600;
    line-height: 1.7;
}

.mitarashi-intro h2 span {
    color: var(--color-accent);
}

.mitarashi-features {
    display: grid;
    gap: clamp(30px, calc((56 / 1440) * 100vw), 56px);
}

.mitarashi-feature {
    padding: 0;
}

.mitarashi-feature-body {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.45fr;
    gap: var(--mitarashi-gap-md);
    align-items: start;
}

.mitarashi-feature-reverse .mitarashi-feature-body {
    grid-template-columns: 1.45fr minmax(280px, 1fr);
}

.mitarashi-feature-reverse .mitarashi-feature-body img {
    order: 2;
}

.mitarashi-feature-body img {
    width: 100%;
    aspect-ratio: 400 / 265;
    display: block;
    object-fit: cover;
}

.mitarashi-feature-content h3 {
    margin: 4px 0 20px;
    background: var(--color-accent);
    color: #fff;
    padding: 10px 16px;
    font-size: clamp(20px, calc((26 / 1440) * 100vw), 26px);
    line-height: 1.4;
}

.mitarashi-feature-content p {
    margin: 0;
    font-size: var(--mitarashi-body-size);
    line-height: 2.1;
}

.mitarashi-manufacture {
    background: #fff;
    padding-inline: 0;
}

.mitarashi-section-title {
    margin: 0 0 60px;
    position: relative;
    padding-bottom: 24px;
    font-size: clamp(22px, calc((38 / 1440) * 100vw), 38px);
    text-align: center;
}

@media (max-width: 768px) {
    .mitarashi-section-title {
        margin: 0 0 40px;
    }
}

.mitarashi-section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--color-accent);
}

.mitarashi-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mitarashi-steps figure {
    margin: 0;
    text-align: center;
}

.mitarashi-steps img {
    width: 100%;
    aspect-ratio: 400 / 220;
    display: block;
    object-fit: cover;
}

.mitarashi-steps figcaption {
    margin-top: 10px;
    font-size: clamp(16px, calc((18 / 1440) * 100vw), 18px);
    font-weight: 700;
    line-height: 1.6;
}

.mitarashi-note {
    margin-top: clamp(22px, calc((36 / 1440) * 100vw), 36px);
    background: #910000;
    color: #fff;
    border-radius: 10px;
    padding: 40px 60px;
}

.mitarashi-note p {
    margin: 0;
    font-size: var(--mitarashi-body-size);
    line-height: 1.9;
}

.mitarashi-cook-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mitarashi-gap-md);
}

.mitarashi-cook-card {
    background: #f8f7f7;
    border: 0;
    padding: 14px;
    position: relative;
}

.mitarashi-cook-no {
    margin: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--color-accent);
    color: #fff;
    font-size: 28px;
    font-weight: 500;
    position: absolute;
    top: -16px;
    left: -16px;
    z-index: 1;
    line-height: 1;
}

.mitarashi-cook-card img {
    width: 100%;
    aspect-ratio: 288 / 173;
    display: block;
    object-fit: cover;
    margin-bottom: 14px;
}

.mitarashi-cook-card h3 {
    margin: 0 0 10px;
    font-size: clamp(20px, calc((26 / 1440) * 100vw), 26px);
    font-weight: 700;
    text-align: center;
}

.mitarashi-cook-desc {
    margin: 0;
    font-size: var(--font-base);
    line-height: 1.5;
}

.mitarashi-cook-note {
    margin: 12px 0 0;
    padding: 16px;
    background: #fdf1f1;
    color: #b50000;
    font-size: 13px;
    line-height: 1.8;
}

.mitarashi-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 2商品用（五平餅など）: カードを実寸で2カラム中央寄せ */
.mitarashi-product-grid--2col {
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: center;
}

.mitarashi-product-card {
    display: block;
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
    text-decoration: none;
    transition: opacity .2s;
}

.mitarashi-product-card:hover {
    opacity: .82;
}

.mitarashi-product-media {
    position: relative;
}

.mitarashi-product-badge {
    position: absolute;
    margin: 0;
    background: var(--color-accent);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    padding: 8px 16px;
    z-index: 1;
}

.mitarashi-product-badge-type {
    top: 0;
    left: 0;
}

.mitarashi-product-badge-count {
    right: 0;
    bottom: 0;
}

.mitarashi-product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
}

.mitarashi-product-card h3 {
    margin: 10px 0 4px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.mitarashi-product-price {
    margin: 0;
    padding-top: 0;
    font-size: 14px;
    color: var(--color-text);
    text-align: right;
    font-weight: 500;
}

.mitarashi-product-tax {
    font-size: 12px;
}

.mitarashi-products-cta {
    margin: clamp(28px, calc((52 / 1440) * 100vw), 52px) 0 0;
    text-align: center;
}

.mitarashi-products-cta a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--color-accent);
    color: #fff;
    padding: 12px 24px;
    font-size: var(--mitarashi-body-size);
}

@media (max-width: 960px) {
    .mitarashi-feature-body,
    .mitarashi-feature-reverse .mitarashi-feature-body {
        grid-template-columns: 1fr;
    }

    .mitarashi-feature-content h3 {
        margin: 0 0 12px;
        font-size: clamp(20px, calc((26 / 1440) * 100vw), 26px);
    }

    .mitarashi-feature-reverse .mitarashi-feature-body img {
        order: 0;
    }

    .mitarashi-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mitarashi-steps figcaption {
        font-size: 16px;
    }

    .mitarashi-cook-cards{
        gap: 40px;
    }

    .mitarashi-product-grid {
        gap: 8px;
    }

    .mitarashi-cook-cards {
        grid-template-columns: 1fr;
    }

    .mitarashi-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mitarashi-product-badge {
        font-size: 11px;
        padding: 6px 8px;
    }

    .mitarashi-product-badge-count {
        bottom: 0;
    }

    .mitarashi-product-card h3 {
        font-size: 14px;
    }

    .mitarashi-product-price {
        font-size: 14px;
    }

    .mitarashi-cook-no {
        width: 48px;
        height: 48px;
        font-size: 20px;
        top: -12px;
        left: -12px;
    }

    .mitarashi-cook-card h3 {
        font-size: clamp(16px, calc((20 / 1440) * 100vw), 20px);
    }

    .mitarashi-note p br {
        display: none;
    }

    .mitarashi-note {
        padding: 24px 20px;
    }
}

.page-franchise {
    --franchise-gap-lg: var(--space-2xl);
    --franchise-gap-md: var(--space-lg);
}

.franchise-features-section {
    padding-block: var(--section-space-y);
}

.franchise-model-section,
.franchise-voice-section,
.franchise-faq-section,
.franchise-cta-section,
.franchise-flow-section,
.franchise-contact-section {
    padding-block: var(--space-xl);
}

.franchise-intro {
    text-align: center;
    margin-bottom: clamp(28px, calc((48 / 1440) * 100vw), 48px);
}

.franchise-intro h2 {
    margin: 0;
    font-size: clamp(22px, calc((30 / 1440) * 100vw), 30px);
    font-weight: 600;
}

.franchise-features {
    display: grid;
    gap: clamp(28px, calc((40 / 1440) * 100vw), 40px);
}

.franchise-feature {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.45fr;
    gap: var(--franchise-gap-md);
    align-items: start;
}

.franchise-feature-reverse {
    grid-template-columns: 1.45fr minmax(280px, 1fr);
}

.franchise-feature-reverse .franchise-feature-media {
    order: 2;
}

.franchise-feature-media img {
    display: block;
    width: 100%;
    aspect-ratio: 400 / 265;
    object-fit: cover;
}

.franchise-feature-content h3 {
    margin: 4px 0 20px;
    background: var(--color-accent);
    color: #fff;
    padding: 10px 16px;
    font-size: clamp(20px, calc((26 / 1440) * 100vw), 26px);
    line-height: 1.4;
}

.franchise-feature-content p {
    margin: 0;
    font-size: var(--font-base);
    line-height: 2.1;
}

.franchise-model-section {
    background: #fff;
}

.franchise-model-image {
    margin: 0 auto;
    max-width: 800px;
}

.franchise-model-image img {
    display: block;
    width: 100%;
    height: auto;
}

.franchise-voice-section {
    background: transparent;
}

.franchise-voices {
    position: relative;
    padding: 0 42px 38px;
}

.franchise-voice-card {
    background: #fff;
    border: 1px solid #efefef;
    padding: 24px;
    height: auto;
}

.franchise-voice-card img {
    display: block;
    width: 100%;
    aspect-ratio: 308 / 173;
    object-fit: cover;
    margin-bottom: 14px;
}

.franchise-voice-card h3 {
    margin: 0 0 10px;
    font-size: clamp(20px, calc((26 / 1440) * 100vw), 26px);
    font-weight: 700;
    line-height: 1.3;
}

.franchise-voice-card p {
    margin: 0;
    font-size: var(--font-base);
    line-height: 1.8;
}

.franchise-voices .swiper-button-prev,
.franchise-voices .swiper-button-next {
    width: 24px;
    height: 24px;
    margin-top: -12px;
    color: #111;
}

.franchise-voices .swiper-button-prev {
    left: 0;
}

.franchise-voices .swiper-button-next {
    right: 0;
}

.franchise-voices .swiper-button-prev::after,
.franchise-voices .swiper-button-next::after {
    font-size: 24px;
    font-weight: 700;
}

.franchise-voice-pagination {
    display: none;
}

.franchise-faq-title {
    margin: 0 0 var(--space-lg);
    text-align: center;
    font-size: clamp(24px, calc((36 / 1440) * 100vw), 36px);
    font-weight: 700;
    color: var(--color-accent);
}

.sp-break {
    display: none;
}

.franchise-faq-section {
    background:#FFF;
    padding-block: var(--space-xl);
}

.franchise-faq-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    gap: 16px;
}

.franchise-faq-item {
    background: #EBEBEB;
}

.franchise-faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    margin: 0;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.franchise-faq-mark {
    color: var(--color-accent);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
}

.franchise-faq-text {
    font-size: var(--font-base);
    font-weight: 700;
    line-height: 1.4;
}

.franchise-faq-answer {
    padding: 0 14px 14px 42px;
}

.franchise-faq-answer p {
    margin: 0;
    font-size: var(--font-base);
    line-height: 1.9;
}

.franchise-cta-box {
    max-width: 960px;
    margin-inline: auto;
    background: #910000;
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: clamp(36px, calc((58 / 1440) * 100vw), 58px) clamp(24px, calc((68 / 1440) * 100vw), 68px);
}

.franchise-cta-title {
    margin: 0;
    font-size: clamp(24px, calc((24 / 1440) * 100vw), 30px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.04em;
}

.franchise-cta-title::before,
.franchise-cta-title::after {
    display: inline-block;
    font-weight: 400;
}

.franchise-cta-title::before {
    content: "＼";
    margin-right: 0.45em;
}

.franchise-cta-title::after {
    content: "／";
    margin-left: 0.45em;
}

@media (max-width: 480px) {
    .franchise-cta-title::before,
    .franchise-cta-title::after {
        display: none;
    }
}

.franchise-cta-box h2 {
    margin: 0;
}

.franchise-cta-box p {
    margin: clamp(18px, calc((32 / 1440) * 100vw), 32px) 0 clamp(24px, calc((40 / 1440) * 100vw), 40px);
    font-size: var(--font-base);
    line-height: 1.85;
}

.franchise-cta-box .btn-size-md {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--color-text);
    font-weight: 700;
    width: 220px;
    max-width: 220px;
    min-height: 44px;
    padding: 10px 16px;
}



.franchise-flow-list {
    --flow-no-size: 86px;
    --flow-col-gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.franchise-flow-list li {
    position: relative;
    display: grid;
    grid-template-columns: var(--flow-no-size) minmax(170px, 0.95fr) 2fr;
    align-items: center;
    column-gap: var(--flow-col-gap);
    padding: 14px 0;
}

.franchise-flow-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(var(--flow-no-size) + var(--flow-col-gap));
    right: 0;
    bottom: 0;
    height: 1px;
    background: #dddddd;
}

.franchise-flow-list li::before {
    content: "";
    position: absolute;
    left: calc((var(--flow-no-size) / 2) - 3px);
    width: 6px;
    background: #e5e5e5;
    z-index: 0;
}

.franchise-flow-list li:first-child::before {
    top: 50%;
    bottom: 0;
}

.franchise-flow-list li:not(:first-child):not(:last-child)::before {
    top: 0;
    bottom: 0;
}

.franchise-flow-list li:last-child::before {
    top: 0;
    bottom: 50%;
}

.franchise-flow-no {
    width: var(--flow-no-size);
    height: var(--flow-no-size);
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: clamp(24px, calc((36 / 1440) * 100vw), 36px);
    font-weight: 500;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.franchise-flow-step-title {
    margin: 0;
    font-size: clamp(18px, calc((22 / 1440) * 100vw), 22px);
    font-weight: 500;
    line-height: 1.4;
}

.franchise-flow-step-text {
    margin: 0;
    font-size: var(--font-base);
    color: rgba(59, 40, 40, 0.9);
    line-height: 2;
}

.franchise-contact-title {
    margin: 0 0 clamp(24px, calc((36 / 1440) * 100vw), 36px);
    text-align: center;
    font-size: clamp(20px, calc((38 / 1440) * 100vw), 38px);
    font-weight: 700;
    line-height: 1.4;
}

.franchise-contact-box {
    max-width: 1100px;
    margin-inline: auto;
    background: #f4f4f4;
    border-radius: 34px;
    border: 0;
    padding: clamp(24px, calc((58 / 1440) * 100vw), 58px) clamp(24px, calc((70 / 1440) * 100vw), 70px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    position: relative;
}

.franchise-contact-box::after {
    content: "";
    position: absolute;
    top: 22%;
    bottom: 22%;
    left: 50%;
    width: 1px;
    background: #d8d8d8;
}

.franchise-contact-col {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.franchise-contact-label {
    margin: 0;
    font-size: var(--font-base);
    font-weight: 500;
    line-height: 1.5;
}

.franchise-contact-tel {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(28px, calc((36 / 1440) * 100vw), 36px);
    color: var(--color-text);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
}

.franchise-contact-tel-icon {
    color: var(--color-accent);
    font-size: 0.95em;
    line-height: 1;
}

.franchise-contact-btn {
    background: var(--color-accent);
    color: #fff;
    width: 100%;
    max-width: 320px;
    min-height: 60px;
    font-size: clamp(18px, calc((24 / 1440) * 100vw), 24px);
}

@media (max-width: 960px) {
    .franchise-feature,
    .franchise-feature-reverse {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .franchise-feature-reverse .franchise-feature-media {
        order: 0;
    }

    .franchise-model-image {
        max-width: 100%;
    }

    .franchise-voices {
        padding: 0 0 26px;
    }

    .franchise-voice-card h3 {
        font-size: clamp(20px, calc((28 / 1440) * 100vw), 28px);
    }

    .franchise-voices .swiper-button-prev,
    .franchise-voices .swiper-button-next {
        display: none;
    }

    .franchise-voice-pagination {
        display: block;
        bottom: 0 !important;
    }

    .franchise-voice-pagination .swiper-pagination-bullet {
        background: #999;
        opacity: 0.7;
    }

    .franchise-voice-pagination .swiper-pagination-bullet-active {
        background: var(--color-accent);
        opacity: 1;
    }

    .franchise-faq-question {
        padding: 10px 12px;
    }

    .sp-break {
        display: block;
    }

    .franchise-faq-answer {
        padding: 0 12px 12px 36px;
    }

    .franchise-cta-box p br {
        display: none;
    }

    .franchise-cta-box {
        border-radius: 10px;
        padding: 28px 16px;
    }

    .franchise-cta-title {
        font-size: clamp(18px, calc((34 / 1440) * 100vw), 34px);
    }

    .franchise-cta-title::before {
        margin-right: 0.25em;
    }

    .franchise-cta-title::after {
        margin-left: 0.25em;
    }

    .franchise-cta-box p {
        margin: 16px 0 22px;
        line-height: 1.8;
        text-align: left;
    }

    .franchise-cta-box .btn-size-md {
        min-height: 42px;
    }

    .franchise-flow-list li {
        --flow-no-size: 64px;
        --flow-col-gap: 14px;
        grid-template-columns: var(--flow-no-size) 1fr;
        column-gap: var(--flow-col-gap);
        row-gap: 8px;
        align-items: start;
        padding: 16px 0;
    }

    .franchise-flow-no {
        width: var(--flow-no-size);
        height: var(--flow-no-size);
        font-size: clamp(20px, calc((28 / 1440) * 100vw), 28px);
        grid-row: 1 / span 2;
    }

    .franchise-flow-step-title {
        font-size: clamp(20px, calc((26 / 1440) * 100vw), 26px);
        line-height: 1.5;
    }

    .franchise-flow-step-text {
        font-size: 14px;
        line-height: 1.8;
    }

    .franchise-contact-box {
        border-radius: 24px;
        padding: 20px 14px;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .franchise-contact-box::after {
        display: none;
    }

    .franchise-contact-col {
        gap: 8px;
    }

    .franchise-contact-tel {
        font-size: clamp(30px, calc((40 / 1440) * 100vw), 40px);
    }

    .franchise-contact-btn {
        max-width: 260px;
        min-height: 52px;
        font-size: clamp(16px, calc((20 / 1440) * 100vw), 20px);
    }
}

.shop-archive-section,
.shop-single-section {
    padding-block: var(--section-space-y);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.shop-group + .shop-group {
    margin-top: var(--space-xl);
}

.shop-group-title {
    margin: 0 0 var(--space-md);
    padding-bottom: 8px;
    border-bottom: 1px solid #d7d7d7;
    font-size: var(--font-lg);
    line-height: 1.5;
}

.shop-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(181, 0, 0, 0.06);
    font-family: "Noto Sans JP", sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-card * {
    font-family: inherit;
}

.shop-card-link {
    position: relative;
    display: block;
    height: 100%;
    padding: 22px 20px 20px;
}

.shop-card:hover {
    border-color: rgba(181, 0, 0, 0.4);
    box-shadow: 0 12px 28px rgba(181, 0, 0, 0.12);
    transform: translateY(-2px);
}

.shop-card-title {
    margin: 0 0 12px;
    padding-left: 12px;
    border-left: 4px solid rgba(181, 0, 0, 0.4);
    color: #4d3425;
    font-size: clamp(18px, calc((22 / 1440) * 100vw), 22px);
    line-height: 1.45;
    font-weight: 700;
}

.shop-card-meta {
    margin: 0;
    color: #55473e;
    font-size: 14px;
    line-height: 1.75;
}

.shop-card-meta + .shop-card-meta {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(181, 0, 0, 0.16);
}

.shop-card-meta span {
    display: block;
}

.shop-pagination {
    margin-top: var(--space-lg);
}

.shop-empty {
    margin: 0;
}

.shop-single-title {
    margin: 0 0 var(--space-sm);
    font-size: clamp(26px, calc((36 / 1440) * 100vw), 36px);
    line-height: 1.4;
    padding-bottom: 16px;
    font-weight: 600;
}

.shop-detail-list {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
}

.shop-detail-list * {
    font-family: inherit;
}

.shop-single-inner {
    max-width: 760px;
    margin-inline: auto;
}

.shop-detail-list div {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #dedede;
}

.shop-detail-list dt,
.shop-detail-list dd {
    margin: 0;
}

.shop-detail-list dt {
    font-weight: 700;
}

.shop-detail-address {
    display: block;
}

.shop-detail-sns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.shop-detail-sns a {
    color: #4fa4c7;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.shop-business-days {
    width: 100%;
    max-width: 520px;
    border-collapse: collapse;
    table-layout: fixed;
    overflow: hidden;
    border: 1px solid #e5ded6;
    border-radius: 8px;
}

.shop-business-days th,
.shop-business-days td {
    padding: 10px 6px;
    border-right: 1px solid #e5ded6;
    text-align: center;
    line-height: 1.4;
}

.shop-business-days th:last-child,
.shop-business-days td:last-child {
    border-right: 0;
}

.shop-business-days th {
    background: #f7f1e9;
    color: #4d3425;
    font-weight: 700;
}

.shop-business-days td {
    background: #fff;
    font-weight: 700;
}

.shop-single .top-links {
    padding-top: var(--space-xl);
}

.shop-map {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.shop-map iframe {
    width: 100%;
    max-width: 100%;
    min-height: 340px;
    border: 0;
}

@media (max-width: 960px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-single-inner {
        max-width: 100%;
    }

    .shop-detail-list div {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 16px 0;
    }

    .shop-detail-address {
        display: block;
    }

    .shop-map iframe {
        min-height: 280px;
    }
}

/* ============================
   News Single
   ============================ */

.news-single-container {
    padding-block: clamp(36px, calc((56 / 1440) * 100vw), 56px);
}

.news-single-inner {
    max-width: 800px;
    margin-inline: auto;
}

.news-single-meta {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
}

.news-single-date {
    font-size: var(--font-sm);
    color: #888;
}

.news-single-title {
    margin: 0 0 var(--space-xl);
    font-size: clamp(20px, calc((28 / 1440) * 100vw), 28px);
    font-weight: 700;
    line-height: 1.5;
}

.news-single-content {
    font-size: var(--font-base);
    line-height: 1.9;
    margin-bottom: var(--space-xl);
}

.news-single-content p {
    margin: 0 0 1em;
}

.news-single-content p:last-child {
    margin-bottom: 0;
}

.news-single-nav {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-line);
    display: flex;
    justify-content: center;
}

.news-single-nav .btn-size-md {
    background: var(--color-accent);
    color: #fff;
}

/* ============================
   News Archive
   ============================ */

.news-archive-section {
    padding-block: clamp(36px, calc((56 / 1440) * 100vw), 56px);
}

.news-archive-section .top-news {
    padding: 0;
}

.top-news dl dd span a {
    color: inherit;
    text-decoration: none;
}

.top-news dl dd span a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.news-pagination {
    margin-top: var(--space-lg);
}

.news-empty {
    margin: var(--space-xl) 0;
    text-align: center;
    color: #888;
}

/* ============================
   Contact
   ============================ */

.page-contact {
    --contact-gap-lg: clamp(36px, calc((56 / 1440) * 100vw), 56px);
    --contact-gap-md: clamp(24px, calc((36 / 1440) * 100vw), 36px);
}

.contact-container {
    padding-block: var(--contact-gap-lg);
}

.contact-section {
    max-width: 1000px;
    margin-inline: auto;
}

.contact-lead {
    margin: 0 0 var(--contact-gap-md);
    font-size: var(--font-base);
    line-height: 1.9;
}

.contact-form-notice {
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--color-line);
    background: #fff;
    color: #555;
    font-size: var(--font-base);
    line-height: 1.8;
}

/* テーブル */

.contact-table {
    margin: 0;
}

.contact-table div {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 12px 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-line);
    align-items: start;
}

.contact-table div:first-child {
    border-top: 1px solid var(--color-line);
}

.contact-table dt {
    margin: 0;
    padding-top: 10px;
    font-size: var(--font-base);
    font-weight: 700;
    line-height: 1.5;
}

.contact-table dd {
    margin: 0;
}

/* 任意・必須バッジ */

.contact-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: var(--font-xs);
    font-weight: 500;
    line-height: 1.6;
    border-radius: 2px;
    vertical-align: middle;
}

.contact-badge.-required {
    background: var(--color-accent);
    color: #fff;
}

.contact-badge.-optional {
    background: #e0e0e0;
    color: #555;
}

/* 入力フィールド */

.contact-input {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: var(--font-base);
    font-family: inherit;
    line-height: 1.6;
    border: 1px solid var(--color-line);
    border-radius: 4px;
    background: #fff;
    color: var(--color-text);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.contact-input:focus,
.wpcf7-form-control.contact-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.wpcf7-form-control-wrap {
    display: block;
}

.wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: var(--font-sm);
}

.wpcf7 form .wpcf7-response-output {
    margin: var(--contact-gap-md) 0 0;
    padding: 12px 16px;
    font-size: var(--font-base);
    line-height: 1.7;
}

.contact-textarea {
    resize: vertical;
    min-height: 200px;
}

/* 確認チェックボックス */

.contact-confirm {
    margin: var(--contact-gap-md) 0 0;
    font-size: var(--font-base);
}

.contact-confirm label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.7;
}

.contact-confirm input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-accent);
    cursor: pointer;
}

/* 送信ボタン */

.contact-submit {
    margin-top: var(--contact-gap-md);
    display: flex;
    justify-content: center;
}

.contact-btn {
    background: var(--color-accent);
    color: #fff;
    max-width: 280px;
    cursor: pointer;
    border: none;
    font-family: inherit;
    letter-spacing: 0.08em;
    transition: opacity 0.2s;
}

.contact-btn:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .contact-table div {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .contact-table dt {
        padding-top: 0;
    }
}

/* ============================
   Privacy Policy
   ============================ */

.page-privacy {
    --privacy-gap-lg: clamp(36px, calc((56 / 1440) * 100vw), 56px);
    --privacy-gap-md: clamp(20px, calc((32 / 1440) * 100vw), 32px);
}

.privacy-container {
    max-width: 900px;
    padding-block: var(--privacy-gap-lg);
}

.privacy-section {
    padding-bottom: var(--privacy-gap-md);
    margin-bottom: var(--privacy-gap-md);
}

.privacy-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.privacy-section-title {
    margin: 0 0 var(--privacy-gap-md);
    font-size: clamp(18px, calc((22 / 1440) * 100vw), 22px);
    font-weight: 700;
    line-height: 1.5;
    padding-bottom: 12px;
    border-bottom: 1px solid #cfcfcf;
    position: relative;
}

.privacy-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 80px;
    height: 3px;
    background: rgba(181, 0, 0, 0.4);
}

.privacy-body {
    margin: 0 0 1em;
    font-size: var(--font-base);
    line-height: 1.9;
}

.privacy-body:last-child {
    margin-bottom: 0;
}

.privacy-body a {
    color: var(--color-accent);
    text-decoration: underline;
}

.privacy-sign {
    margin: 1.5em 0 0;
    font-size: var(--font-base);
    line-height: 2;
    font-weight: 700;
}

.privacy-list {
    margin: 0.5em 0 1em 1.5em;
    padding: 0;
    font-size: var(--font-base);
    line-height: 1.9;
}

.privacy-list li + li {
    margin-top: 0.4em;
}

.privacy-list-circled {
    list-style: none;
    margin-left: 0;
}

.privacy-list-alpha {
    list-style: lower-alpha;
}
