/* ============================================================
   HANAMIYABI — Main Stylesheet
   Corporate Color: #b7d450
   Target: Young women / Modern & Cute
============================================================ */

/* ============================================================
   Design Tokens
============================================================ */
:root {
    /* Brand */
    --brand: #abd946;
    --brand-sub: #e9cb33;
    --brand-dark: #8fa832;
    /*--brand-dark: ; #E55F9E*/
    --brand-mid: #cce273;
    --brand-light: #edf6be;
    --brand-pale: #f6fbdf;

    /* Neutrals */
    --black: #1c1c1c;
    --dark: #2e2e2e;
    --mid: #6b6b6b;
    --soft: #9a9a9a;
    --line: #e8e8e2;
    --bg: #fdfcf8;
    --white: #ffffff;

    /* Accents (feminine) */
    --cream: #fdf6ee;
    --blush: #fce8ef;
    --blush-dark: #e8a4b8;

    /* Semantic aliases (旧コード互換) */
    --color-brand: var(--brand);
    --color-brand-dark: var(--brand-dark);
    --color-brand-light: var(--brand-light);
    --color-brand-pale: var(--brand-pale);
    --color-black: var(--black);
    --color-dark: var(--dark);
    --color-white: var(--white);
    --color-gray-50: var(--bg);
    --color-gray-100: #f0efea;
    --color-gray-200: var(--line);
    --color-gray-400: var(--soft);
    --color-gray-600: var(--mid);
    --color-theme: var(--black);
    --color-theme-light: var(--brand-light);
    --color-theme-darken: #0a0a0a;
    --color-accent: var(--brand);
    --color-red: #d94f70;
    --color-yellow: #f0c040;
    --color-gray: var(--soft);

    /* Typography */
    --font-serif-jp: 'Zen Old Mincho', 'Shippori Mincho', Georgia, serif;
    --font-serif-en: 'Alegreya Sans SC', serif;
    --font-sans: 'Noto Sans JP', sans-serif;

    /* Layout */
    --nav-h: 68px;
    --section-v: 120px;
    --inner: 1200px;

    /* Radii */
    --r-xs: 4px;
    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 28px;
    --r-pill: 100px;

    /* Shadows */
    --sh-sm: 0 2px 10px rgba(0, 0, 0, .06);
    --sh-md: 0 8px 32px rgba(0, 0, 0, .09);
    --sh-lg: 0 20px 60px rgba(0, 0, 0, .13);
    --sh-brand: 0 8px 28px rgba(154, 154, 154, 0.38);

    /* Motion */
    --ease: cubic-bezier(.22, 1, .36, 1);
    --fast: .25s;
    --mid-t: .45s;
}


/* ============================================================
   Reset
============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    color: var(--dark);
    background: var(--bg);
    line-height: 1.85;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
a img {
    width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--dark);
    text-decoration: none;
    transition: all var(--fast);
}

a:hover {
    opacity: .7;
}

a:visited {
    color: var(--dark);
}

p,
ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

address {
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
}

fieldset {
    border: none;
}

input,
textarea,
select {
    font-family: var(--font-sans);
}

em {
    font-style: normal;
}



/* ============================================================
   サイズ表 
============================================================ */
.sz-wrap {
    /* カラー */
    --sz-bg-primary: #ffffff;
    --sz-bg-secondary: #f1f3f6;
    --sz-text-primary: #1c1c1c;
    --sz-text-secondary: #6b6b6b;
    --sz-border-light: rgba(0, 0, 0, 0.10);
    --sz-border-mid: rgba(0, 0, 0, 0.18);
    --sz-navy: #1a2a4a;
    --sz-yellow-bg: #fff8d0;
    --sz-yellow-border: #e8c900;
    --sz-yellow-text: #6b5a00;
    --sz-yellow-light: #fffce8;
    /* 角丸 */
    --sz-r-sm: 8px;
    --sz-r-md: 10px;
    --sz-r-lg: 14px;
    --sz-r-pill: 20px;

    /* ベース — サイトの html{font-size:62.5%} 対策で px 固定 */
    font-family: var(--font-sans, 'Noto Sans JP', sans-serif);
    font-size: 14px;
    color: var(--sz-text-primary);
    line-height: 1.6;
}

/* ==============================
   セクションカード共通
============================== */
.sz-section {
    margin-bottom: 40px;
}

/* ==============================
   セーラー服 (.sc-)
============================== */
.sc-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--sz-text-secondary);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}

.sc-tabs {
    display: flex;
    border: 0.5px solid var(--sz-border-mid);
    border-radius: var(--sz-r-sm);
    overflow: hidden;
    width: fit-content;
    margin-bottom: 16px;
}

.sc-tab {
    padding: 7px 22px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: var(--sz-bg-primary);
    color: var(--sz-text-secondary);
    border: none;
    transition: background 0.15s, color 0.15s;
}

.sc-tab.active {
    background: var(--brand-dark);
    color: #fff;
}

.sc-selector {
    margin-bottom: 16px;
}

.sc-slider-row {
    display: none;
}

.sc-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.sc-chip {
    padding: 5px 13px;
    border-radius: var(--sz-r-pill);
    border: 0.5px solid var(--sz-border-mid);
    font-size: 12px;
    cursor: pointer;
    background: var(--sz-bg-primary);
    color: var(--sz-text-secondary);
    transition: all 0.15s;
    white-space: nowrap;
    user-select: none;
}

.sc-chip.active {
    background: var(--brand-dark);
    color: var(--white);
    border-color: var(--brand-dark);
}

.sc-slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.sc-slider-label {
    font-size: 11px;
    color: var(--sz-text-secondary);
    white-space: nowrap;
    min-width: 32px;
}

.sc-slider-label.right {
    text-align: right;
}

input[type=range].sc-slider {
    flex: 1;
    accent-color: var(--brand-dark);
    cursor: pointer;
}

.sc-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.sc-card {
    background: var(--sz-bg-secondary);
    border-radius: var(--sz-r-sm);
    padding: 12px 10px;
    text-align: center;
}

.sc-card-label {
    font-size: 11px;
    color: var(--sz-text-secondary);
    margin-bottom: 4px;
}

.sc-card-val {
    font-size: 22px;
    font-weight: 500;
    color: var(--sz-text-primary);
    line-height: 1.1;
}

.sc-card-unit {
    font-size: 10px;
    color: var(--sz-text-secondary);
    margin-top: 2px;
}

.sc-table-wrap {
    overflow-x: auto;
    border: 0.5px solid var(--sz-border-light);
    border-radius: var(--sz-r-md);
}

.sc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    min-width: 700px;
}

.sc-table th {
    background: var(--sz-bg-secondary);
    padding: 8px 10px;
    font-weight: 500;
    font-size: 11px;
    color: var(--sz-text-secondary);
    border-bottom: 0.5px solid var(--sz-border-light);
    white-space: nowrap;
}

.sc-table td {
    padding: 9px 10px;
    text-align: center;
    border-bottom: 0.5px solid var(--sz-border-light);
    color: var(--sz-text-primary);
}

.sc-table tr:last-child td {
    border-bottom: none;
}

.sc-table .sc-row-label {
    text-align: left;
    font-weight: 500;
    color: var(--sz-text-secondary);
    background: var(--sz-bg-secondary);
    font-size: 11px;
    position: sticky;
    left: 0;
    z-index: 1;
    border-right: 0.5px solid var(--sz-border-light);
}

.sc-table th.sc-active-col {
    background: var(--brand-dark);
    color: var(--white);
    border-bottom-color: var(--sz-yellow-border);
}

.sc-table td.sc-active-col {
    background: var(--brand-light);
    font-weight: 500;
}

/* ==============================
   スカート (.sk-)
============================== */
.sk-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--sz-text-secondary);
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}

.sk-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sk-chip {
    padding: 6px 14px;
    border-radius: var(--sz-r-pill);
    border: 0.5px solid var(--sz-border-mid);
    font-size: 12px;
    cursor: pointer;
    background: var(--sz-bg-primary);
    color: var(--sz-text-secondary);
    transition: all 0.15s;
    white-space: nowrap;
    user-select: none;
}

.sk-chip.active {
    background: var(--brand-dark);
    color: var(--white);
    border-color: var(--brand-dark);
}

.sk-card-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.sk-card {
    background: var(--sz-bg-secondary);
    border-radius: var(--sz-r-sm);
    padding: 14px 10px;
    text-align: center;
}

.sk-card-label {
    font-size: 11px;
    color: var(--sz-text-secondary);
    margin-bottom: 6px;
}

.sk-card-val {
    font-size: 22px;
    font-weight: 500;
    color: var(--sz-text-primary);
    line-height: 1.1;
}

.sk-card-unit {
    font-size: 10px;
    color: var(--sz-text-secondary);
    margin-top: 2px;
}

.sk-table-wrap {
    border: 0.5px solid var(--sz-border-light);
    border-radius: var(--sz-r-md);
    overflow: hidden;
}

.sk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.sk-table th {
    background: var(--sz-bg-secondary);
    padding: 9px 16px;
    font-weight: 500;
    font-size: 11px;
    color: var(--sz-text-secondary);
    border-bottom: 0.5px solid var(--sz-border-light);
    text-align: center;
}

.sk-table td {
    padding: 10px 16px;
    text-align: center;
    border-bottom: 0.5px solid var(--sz-border-light);
    color: var(--sz-text-primary);
    cursor: pointer;
    transition: background 0.12s;
}

.sk-table tr:last-child td {
    border-bottom: none;
}

.sk-table tr.sk-active td {
    background: var(--brand-light);
    font-weight: 500;
}

.sk-table tr.sk-active td.sk-waist-col {
    background: var(--brand-dark);
    color: var(--white);
}

.sk-table tr:not(.sk-active):hover td {
    background: var(--sz-bg-secondary);
}

/* ---- レスポンシブ ---- */
@media (max-width: 500px) {
    .sc-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sc-card-val {
        font-size: 20px;
    }
}

/* ============================================================
   Utility
============================================================ */
.pc {
    display: block;
}

.sp {
    display: none;
}

.ta-l {
    text-align: left !important;
}

.ta-c {
    text-align: center !important;
}

.ta-r {
    text-align: right !important;
}

.clear {
    clear: both;
}

.red {
    color: var(--color-red);
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 1rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

.mt-3 {
    margin-top: 3rem !important;
}

.mt-4 {
    margin-top: 4rem !important;
}

.mt-5 {
    margin-top: 5rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 1rem !important;
}

.mb-2 {
    margin-bottom: 2rem !important;
}

.mb-3 {
    margin-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 4rem !important;
}

.mb-5 {
    margin-bottom: 5rem !important;
}


/* ============================================================
   Layout helpers
============================================================ */
main {
    display: block;
    overflow: hidden;
    width: 100%;
    margin-top: var(--nav-h);
}

#home main {
    margin-top: 0;
}

.section-inner {
    max-width: var(--inner);
    margin: 0 auto;
    padding: 0 5rem;
}

.contact-section .section-inner {
    max-width: 800px;
}


main .inner,
footer .inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5rem;
    clear: both;
}


/* ============================================================
   Common Section Elements
============================================================ */
.section-badge {
    display: inline-block;
    font-family: var(--font-serif-en);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .3em;
    color: var(--white);
    background: var(--brand-sub);
    padding: .8rem 1.8rem .7rem;
    border-radius: var(--r-pill);
    margin-bottom: 1.4rem;
    text-transform: uppercase;
}

.section-heading {
    font-family: var(--font-serif-jp);
    font-size: clamp(2.8rem, 3.5vw, 4.4rem);
    font-weight: 500;
    color: var(--black);
    letter-spacing: .06em;
    margin-bottom: 1.6rem;
}

.section-sub {
    font-size: 1.5rem;
    color: var(--mid);
    letter-spacing: .04em;
    margin-bottom: 0;
}


/* ============================================================
   Navigation
============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--mid-t) var(--ease);
}

.global-nav {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--mid-t), box-shadow var(--mid-t);
}

.site-header.scrolled .global-nav {
    border-bottom-color: var(--line);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.nav-container {
    max-width: var(--inner);
    margin: 0 auto;
    padding: 0 5rem;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    width: 320px;
    flex-shrink: 0;
}

.nav-logo a {
    opacity: 1;
}

.nav-logo a:hover {
    opacity: .82;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: .4rem;
    list-style: none;
}

.nav-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.6rem;
    border-radius: var(--r-pill);
    color: var(--dark);
    opacity: 1;
    transition: all var(--fast);
    position: relative;
    overflow: hidden;
}

.nav-item a:hover {
    color: var(--brand-dark);
    opacity: 1;
}

/* .nav-ja stays in flow → sets the parent's natural height */
.nav-ja {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: .04em;
    position: relative;
    transition: opacity var(--fast), transform var(--fast);
    opacity: 1;
    transform: translateY(0);
    white-space: nowrap;
}

.nav-item a:hover .nav-ja {
    opacity: 0;
    transform: translateY(-8px);
}

/* .nav-en overlays the same space absolutely */
.nav-en {
    font-family: var(--font-serif-en);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: .25em;
    color: var(--brand-dark);
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% + 8px));
    transition: opacity var(--fast), transform var(--fast);
    opacity: 0;
    white-space: nowrap;
}

.nav-item a:hover .nav-en {
    opacity: 1;
    transform: translate(-50%, -50%);
}

/* CTA nav item */
.nav-item--cta a {
    background: var(--brand);
    color: var(--white);
    font-weight: 500;
    box-shadow: var(--sh-brand);
    margin-left: 36px;
}

.nav-item--cta a:hover {
    background: var(--brand-dark);
    color: var(--white);
    opacity: 1;
    box-shadow: 0 8px 28px rgba(143, 168, 50, .45);
}

.nav-item--cta .nav-en {
    color: var(--black);
}

.nav-item--cta a:hover .nav-en {
    color: var(--white);
}

/* Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all .35s var(--ease);
    transform-origin: center;
}

.nav-toggle.is-active .toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.is-active .toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-h));
    background: var(--white);
    z-index: 999;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all .35s var(--ease);
}

.mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu-inner {
    padding: 4rem;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-list li {
    border-bottom: 1px solid var(--line);
}

.mobile-nav-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    color: var(--dark);
    opacity: 1;
}

.mobile-nav-list li a:hover {
    color: var(--brand-dark);
    opacity: 1;
}

.mob-ja {
    font-size: 1.6rem;
    font-weight: 500;
}

.mob-en {
    font-family: var(--font-serif-en);
    font-size: 1.1rem;
    letter-spacing: .2em;
    color: var(--brand-dark);
    background: var(--brand-light);
    padding: .3rem 1.2rem;
    border-radius: var(--r-pill);
}

.mob-cta {
    border-bottom: none !important;
    margin-top: 2.5rem;
}

.mob-cta a {
    background: var(--brand);
    border-radius: var(--r-md);
    padding: 1.8rem 2rem !important;
    justify-content: center !important;
    font-weight: 500;
    color: var(--black) !important;
}

.mob-cta .mob-en {
    background: rgba(0, 0, 0, .1);
    color: rgba(0, 0, 0, .6);
}


/* ============================================================
   HERO
============================================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--black);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    transform-origin: center center;
    animation: heroBgZoom 12s cubic-bezier(.22, 1, .36, 1) forwards;
    will-change: transform;
}

@keyframes heroBgZoom {
    0% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1.0);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: none;
}

/* 装飾円 */
.hero-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-deco--tl {
    width: 520px;
    height: 520px;
    top: -160px;
    left: -160px;
    border: 1px solid rgba(183, 212, 80, .18);
}

.hero-deco--br {
    width: 340px;
    height: 340px;
    bottom: -100px;
    right: -80px;
    border: 1px solid rgba(183, 212, 80, .14);
}

.hero-content {
    z-index: 2;
    width: 100%;
    max-width: var(--inner);
    margin: 0 auto;
    padding: 0 5rem;
    padding-top: var(--nav-h);
    color: var(--white);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--brand-sub);
    border: 1px solid rgba(183, 212, 80, .6);
    padding: .55rem 2rem;
    border-radius: var(--r-pill);
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--font-serif-en);
    font-size: clamp(4rem, 7vw, 8.4rem);
    font-weight: 500;
    letter-spacing: .25em;
    line-height: 1.2;
    margin-bottom: 2.8rem;
    color: var(--dark);
}

.hero-title em {
    color: var(--brand);
    font-style: normal;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.8);
}

.hero-text {
    font-size: clamp(1.4rem, 1.7vw, 1.8rem);
    line-height: 1.8;
    color: var(--dark);
    text-shadow: 0 0 6px rgba(255, 255, 255, 1), 0 1px 10px rgba(255, 255, 255, .95), 1px 1px 0 rgba(255, 255, 255, .8), -1px -1px 0 rgba(255, 255, 255, .8);
    margin-bottom: 0.75rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

a.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.6rem 3rem;
    background: var(--brand);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: .08em;
    border-radius: var(--r-pill);
    box-shadow: var(--sh-brand);
    opacity: 1;
    transition: all var(--fast) var(--ease);
}

.btn-hero-primary:hover {
    background: var(--brand-dark);
    color: var(--white);
    transform: translateY(-3px);
    opacity: 1;
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    padding: 1.6rem 3.6rem;
    border: 1.5px solid rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .18);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: .08em;
    border-radius: var(--r-pill);
    opacity: 1;
    transition: all var(--fast);
}

.btn-hero-ghost:hover {
    background: rgba(255, 255, 255, .50);
    border-color: rgba(255, 255, 255, .85);
    opacity: 1;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 3.5rem;
    left: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

/* ---- Hero テキストフェードイン ---- */
@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(36px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero-eyebrow {
    animation: heroFadeUp .8s cubic-bezier(.22, 1, .36, 1) .3s both;
}

.hero-title {
    animation: heroFadeUp .9s cubic-bezier(.22, 1, .36, 1) .6s both;
}

.hero-text {
    animation: heroFadeUp .9s cubic-bezier(.22, 1, .36, 1) .9s both;
}

.hero-actions {
    animation: heroFadeUp .8s cubic-bezier(.22, 1, .36, 1) 1.15s both;
}

.hero-scroll {
    animation: heroFadeIn 1s ease 1.6s both;
}

.hero-deco {
    animation: heroFadeIn 1.5s ease .5s both;
}

/* ---- スクロールライン ---- */
.scroll-line {
    display: block;
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--brand));
    animation: scrollAnim 1.8s ease-in-out infinite;
}

@keyframes scrollAnim {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.scroll-text {
    font-family: var(--font-serif-en);
    font-size: 1rem;
    letter-spacing: .35em;
    color: rgba(255, 255, 255, .55);
    writing-mode: vertical-rl;
    text-transform: uppercase;
}


/* ============================================================
   ABOUT
============================================================ */
.about-section {
    position: relative;
    padding: var(--section-v) 0;
    overflow: hidden;
}

.about-deco-num {
    position: absolute;
    top: 4rem;
    right: -2rem;
    font-family: var(--font-serif-en);
    font-size: 22rem;
    font-weight: 400;
    color: rgba(183, 212, 80, .07);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9rem;
    align-items: center;
}

/* ---- Gallery Flex ---- */
.gallery-flex {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex: 1;
}

/* 左列は少し下げてずらす */
.gallery-col--b {
    margin-top: 3.5rem;
}

.gallery-item {
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    /* スクロールアニメーション初期状態 */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow var(--fast);
}

.gallery-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover {
    box-shadow: var(--sh-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ease);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 左列: 1枚目=tall, 2枚目=short */
.gallery-col--a .gallery-item:nth-child(1) img {
    height: 280px;
}

.gallery-col--a .gallery-item:nth-child(2) img {
    height: 200px;
}

/* 右列: 1枚目=short, 2枚目=tall */
.gallery-col--b .gallery-item:nth-child(1) img {
    height: 200px;
}

.gallery-col--b .gallery-item:nth-child(2) img {
    height: 280px;
}

/* 旧スタイル（互換性のため残す） */
.about-images {
    position: relative;
}

.about-img-a {
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-md);
}

.about-img-a img {
    height: 480px;
    object-fit: cover;
}

.about-img-b {
    position: absolute;
    bottom: -4rem;
    right: -5rem;
    width: 200px;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--sh-lg);
    border: 5px solid var(--white);
}

.about-img-b img {
    height: 240px;
    object-fit: cover;
}

.about-img-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brand);
    color: var(--black);
    font-family: var(--font-serif-en);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-align: center;
    padding: .6rem;
}

/* Body text */
.about-body {
    padding-left: 1rem;
}

.about-lead {
    font-family: var(--font-serif-jp);
    font-size: 2rem;
    font-weight: 500;
    color: var(--black);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.about-text-wrap p {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--mid);
    margin-bottom: 1.4rem;
}

.about-stats {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--line);
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-serif-en);
    font-size: 3.6rem;
    font-weight: 300;
    color: var(--brand-dark);
    line-height: 1;
    margin-bottom: .6rem;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--soft);
    letter-spacing: .05em;
}


/* ============================================================
   BRAND — Editorial lookbook style
============================================================ */
.brand-section {
    background: var(--brand);
    padding: var(--section-v) 0;
}

/* Section wave (brand上下) */
.section-wave {
    line-height: 0;
    overflow: hidden;
}

.section-wave svg {
    display: block;
    width: 100%;
    height: clamp(70px, 8vw, 110px);
}

/* 上波：ブランドカラーでaboutから遷移 */
.section-wave--brand-top {
    margin-bottom: -1px;
}

.section-wave--brand-top svg {
    fill: var(--brand);
}

/* 下波（反転）：ブランドカラー背景 + --bg色の波でproductsへ遷移 */
.section-wave--brand-bottom {
    background: var(--bg);
    margin-top: -1px;
}

.section-wave--brand-bottom svg {
    fill: var(--brand);
    transform: scaleY(-1);
}

/* ============================================================
   BRAND — Tab Layout
============================================================ */
.brand-tab-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.brand-tab-intro .section-heading {
    color: var(--black);
}

.brand-tab-lead {
    font-size: 1.45rem;
    line-height: 1.9;
    color: rgba(0, 0, 0, 0.65);
    margin-top: 2rem;
}

/* Tab menu */
.brand-tab-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.4rem;
}

.brand-tab-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 3px solid transparent;
    border-radius: 1.4rem;
    padding: 1.6rem 1.4rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.22s var(--ease);
    width: 100%;
}

.brand-tab-btn.is-active {
    background: var(--white);
    border-color: var(--brand-sub);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.brand-tab-btn:hover:not(.is-active) {
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.2);
}

.brand-tab-name {
    display: block;
    font-family: var(--font-serif-en);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.brand-tab-caption {
    font-size: 1.1rem;
    color: var(--mid);
    margin: 0;
    line-height: 1.5;
}

/* Tab image panes */
.brand-tab-panes {
    border-radius: 1.6rem;
    overflow: hidden;
    /*aspect-ratio: 16 / 9;*/
    background: var(--line);
    margin-bottom: 2rem;
}

.brand-tab-pane {
    display: none;
    width: 100%;
    height: 100%;
}

.brand-tab-pane.is-active {
    display: block;
}

.brand-tab-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Tab description + CTA */
.brand-tab-detail {
    position: relative;
}

.brand-tab-desc {
    display: none;
    align-items: center;
    gap: 2.4rem;
    flex-wrap: wrap;
}

.brand-tab-desc.is-active {
    display: flex;
}

.brand-tab-desc p {
    flex: 1;
    font-size: 1.4rem;
    line-height: 1.85;
    color: rgba(0, 0, 0, 0.65);
    margin: 0;
}

.btn-brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: 1.2rem 2.6rem;
    background: var(--white);
    color: var(--black);
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: .04em;
    border-radius: var(--r-pill);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    transition: all var(--fast) var(--ease);
}

.btn-brand::after {
    content: '›';
    font-size: 1.6rem;
}

.btn-brand:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}


/* ============================================================
   CONTACT
============================================================ */
.contact-section {
    position: relative;
    padding: var(--section-v) 0;
    overflow: hidden;
    text-align: center;
}

.contact-deco-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.contact-section .section-badge,
.contact-section .section-heading {
    position: relative;
    z-index: 1;
}

.contact-lead {
    font-size: 1.5rem;
    color: var(--mid);
    line-height: 2.1;
    margin-bottom: 6rem;
    position: relative;
    z-index: 1;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 6rem 5rem;
    box-shadow: var(--sh-md);
    text-align: left;
    position: relative;
    z-index: 1;
}

.form-row {
    margin-bottom: 0;
}

.form-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2.5rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

/* CF7は <p> の中に label + br + wpcf7-form-control-wrap を出力するため
   <p> をフレックスコンテナにしてラベルと入力を横並びにする */
.form-group p {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin: 0;
}

/* label と input の間の <br> を非表示 */
.form-group p br {
    display: none;
}

.form-label {
    flex: 0 0 140px;
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0;
    padding-top: 1rem;
    letter-spacing: .03em;
}

/* CF7ラッパーspanを残り幅に広げる */
.form-group p>.wpcf7-form-control-wrap {
    flex: 1;
    min-width: 0;
    display: block;
}

.required {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    background: var(--color-red);
    padding: .15rem .75rem;
    border-radius: var(--r-xs);
}

.form-input {
    width: 100%;
    padding: 1.35rem 1.8rem;
    font-size: 1.5rem;
    color: var(--dark);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    transition: border-color var(--fast), box-shadow var(--fast);
    margin: 0;
    max-width: 100%;
    -webkit-appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(183, 212, 80, .2);
    background: var(--white);
}

.form-textarea {
    width: 100%;
    padding: 1.35rem 1.8rem;
    font-size: 1.5rem;
    color: var(--dark);
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    resize: vertical;
    min-height: 150px;
    transition: border-color var(--fast), box-shadow var(--fast);
    margin: 0;
    max-width: 100%;
    -webkit-appearance: none;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(183, 212, 80, .2);
    background: var(--white);
}

.form-privacy {
    margin-bottom: 3.5rem;
    text-align: center;
}

.checkbox-label {
    /*display: flex;*/
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    accent-color: var(--brand);
    cursor: pointer;
    flex-shrink: 0;
    max-width: none;
}

.checkbox-label a {
    color: var(--brand-dark);
    text-decoration: underline;
    font-weight: 600;
}

.contact-submit {
    display: block;
    width: 100%;
    padding: 1.9rem;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--black);
    background: var(--brand);
    border: none;
    border-radius: var(--r-pill);
    cursor: pointer;
    letter-spacing: .12em;
    box-shadow: var(--sh-brand);
    transition: all var(--fast) var(--ease);
}

.contact-submit:hover {
    background: var(--brand-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(143, 168, 50, .48);
}


/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    background: var(--brand);
    color: var(--black);
}

.footer-wave {
    line-height: 0;
    overflow: hidden;
    margin-bottom: -1px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: clamp(70px, 8vw, 110px);
    fill: var(--brand);
}

.footer-inner {
    max-width: var(--inner);
    margin: 0 auto;
    padding: 4rem 5rem 4.5rem;
}

/* 3カラムグリッド */
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1.3fr 1fr;
    gap: 5rem;
    align-items: start;
}

/* 列タイトル */
.footer-col-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .4);
    margin-bottom: 2rem;
    padding-bottom: .9rem;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

/* ブランド列 */
.footer-logo {
    width: 140px;
    margin-bottom: 1.4rem;
}

.footer-tagline {
    font-size: 1.25rem;
    color: rgba(0, 0, 0, .6);
    line-height: 1.85;
    letter-spacing: .03em;
    margin-bottom: 2.4rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .1);
    border: 1px solid rgba(0, 0, 0, .18);
    border-radius: 50%;
    color: var(--black);
    transition: all var(--fast);
    opacity: 1;
}

.social-icon:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--brand);
    transform: translateY(-2px);
    opacity: 1;
}

/* 店舗情報列 */
.footer-col--info address p {
    font-size: 1.3rem;
    line-height: 1;
    color: rgba(0, 0, 0, .75);
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.6rem;
}

.footer-label {
    font-size: .9rem;
    font-weight: 500;
    color: var(--white);
    background: var(--brand-dark);
    padding: .3rem .85rem;
    border-radius: var(--r-pill);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: .04em;
}

.footer-col--info a {
    color: rgba(0, 0, 0, .75);
    opacity: 1;
}

.footer-col--info a:hover {
    color: var(--black);
    text-decoration: underline;
    opacity: 1;
}

/* ナビ列 */
.footer-col--nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

.footer-col--nav a {
    font-size: 1.3rem;
    color: rgba(0, 0, 0, .65);
    opacity: 1;
    transition: all var(--fast);
    display: flex;
    align-items: center;
    gap: .5rem;
}

.footer-col--nav a::before {
    content: '›';
    font-size: 1.6rem;
    line-height: 1;
    color: var(--brand-dark);
    flex-shrink: 0;
}

.footer-col--nav a:hover {
    color: var(--black);
    padding-left: .3rem;
    opacity: 1;
}

/* コピーライトバー */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, .12);
    padding: 2.2rem 5rem;
    text-align: center;
}

.copyright {
    font-family: var(--font-serif-en);
    font-size: 1.2rem;
    color: rgba(0, 0, 0, .4);
    letter-spacing: .08em;
}


/* ============================================================
   Generic Buttons & Forms (旧テーマ互換)
============================================================ */
.btn a,
.form_btn,
.wpcf7-submit {
    cursor: pointer;
    display: block;
    text-align: center;
    letter-spacing: .08em;
    background: var(--brand);
    color: var(--white) !important;
    font-weight: 500;
    width: 80%;
    max-width: 400px;
    margin: 3rem auto 0;
    padding: 1.6rem 0;
    border: none;
    border-radius: var(--r-pill);
    transition: all var(--fast) var(--ease);
    font-size: 1.5rem;
    box-shadow: var(--sh-brand);
}

.btn a:hover,
.form_btn:hover {
    background: var(--brand-dark);
    color: var(--white) !important;
    transform: translateY(-2px);
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

button[type="submit"][disabled] {
    background: var(--color-gray-200);
    color: var(--soft);
    cursor: default;
    box-shadow: none;
}


/* ============================================================
   Privacy Policy
============================================================ */
.policy-section {
    padding: 6rem 0 8rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--line);
}

.policy-title {
    font-family: var(--font-serif-jp);
    font-size: clamp(2.4rem, 3vw, 3.6rem);
    font-weight: 500;
}

.policy-body {
    max-width: 800px;
    margin: 0 auto;
}

.policy-lead {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--mid);
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: var(--brand-pale);
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.policy-article {
    margin-bottom: 4rem;
}

.policy-article h2 {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding: 1rem 1.5rem 1rem 4rem;
    background: var(--brand-light);
    border-radius: var(--r-sm);
    text-align: left;
    position: relative;
    white-space: normal;
}

.policy-article h2::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--brand);
    border-radius: 50%;
}

.policy-article p {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--mid);
    margin-bottom: 1.2rem;
}

.policy-list {
    list-style: none;
    margin: 1.2rem 0 1.5rem;
}

.policy-list li {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--mid);
    padding: .8rem 0 .8rem 2.5rem;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.policy-list li::before {
    content: '';
    position: absolute;
    left: .5rem;
    top: 1.3rem;
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
}

.policy-address {
    font-style: normal;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 2.5rem;
    margin-top: 1.5rem;
}

.policy-address p {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--mid);
    margin-bottom: .8rem;
}

.policy-address p:last-child {
    margin-bottom: 0;
}

.policy-address a {
    color: var(--brand-dark);
}


/* ============================================================
   SCTA Table
============================================================ */
.scta-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.5rem;
    line-height: 2;
}

.scta-table tr {
    border-bottom: 1px solid var(--line);
}

.scta-table tr:first-child {
    border-top: 1px solid var(--line);
}

.scta-table th {
    width: 22%;
    padding: 2rem 2rem 2rem 0;
    font-weight: 600;
    color: var(--dark);
    vertical-align: top;
    white-space: nowrap;
    font-size: 1.4rem;
}

.scta-table td {
    padding: 2rem 0 2rem 2rem;
    color: var(--mid);
    vertical-align: top;
}

.scta-table td strong {
    color: var(--dark);
    font-weight: 500;
}

.scta-table td a {
    color: var(--brand-dark);
    text-decoration: underline;
}

.scta-sub-heading {
    font-weight: 500;
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: .4rem;
}

.scta-note {
    display: block;
    font-size: 1.3rem;
    color: var(--soft);
    margin-top: .8rem;
    line-height: 1.8;
}

.scta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scta-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: .4rem;
    font-size: 1.5rem;
    color: var(--mid);
    line-height: 1.8;
}

.scta-list li::before {
    content: '';
    position: absolute;
    left: .2rem;
    top: .9rem;
    width: 7px;
    height: 7px;
    background: var(--brand);
    border-radius: 50%;
}

@media screen and (max-width: 767px) {
    .scta-table th {
        width: 100%;
        display: block;
        padding: 2rem 0 .4rem;
        border-bottom: none;
        white-space: normal;
    }

    .scta-table td {
        display: block;
        padding: 0 0 2rem;
    }

    .scta-table tr {
        display: block;
    }
}


/* ============================================================
   Sub-page / Legacy
============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 88%;
    margin: 2rem 0;
    gap: .5rem;
    font-size: 1.3rem;
    color: var(--soft);
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.breadcrumb li::after {
    content: '\0203A';
    margin-left: .5rem;
}

.breadcrumb li:last-child::after {
    display: none;
}

.topics {
    text-align: left;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.topics a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--dark);
    opacity: 1;
    font-size: 1.4rem;
}

.topics a:hover {
    color: var(--brand-dark);
    opacity: 1;
}

.day {
    font-family: var(--font-serif-en);
    font-size: 1.3rem;
    color: var(--soft);
    white-space: nowrap;
}

.icon {
    font-size: 1.1rem;
    font-weight: 500;
    padding: .3rem 1rem;
    border-radius: var(--r-xs);
    white-space: nowrap;
    color: var(--black);
    background: var(--brand-light);
    border: 1px solid var(--brand);
}

.mv-img {
    width: 100%;
    background: var(--color-gray-100);
    overflow: hidden;
    border-radius: var(--r-md);
}

.flex {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
}

.f-item {
    width: 100%;
    text-align: left;
}

.box3 .f-item {
    width: calc(33.333% - 1.4rem);
}

.box2 .f-item {
    width: calc(50% - 1rem);
}

.f-item p.prc {
    font-weight: 500;
    color: var(--brand-dark);
    font-size: 1.5rem;
    margin-top: .5rem;
}

section {
    padding: 5rem 0 6.5rem;
    overflow: hidden;
    display: block;
    position: relative;
}

section.no-pt {
    padding-top: 0 !important;
}

.school {
    padding: 6rem 0;
}

.school .inner {
    max-width: var(--inner);
    margin: 0 auto;
    padding: 0 5rem;
}

.m-info {
    padding: 6rem 0;
}

.store {
    padding: 4rem 0;
}

.store iframe {
    display: block;
    width: 100%;
}

.store .inner {
    padding: 2rem 5rem;
}

.bg-blue {
    background: var(--brand-pale);
}

.news {
    padding: 6rem 0;
}

.news .inner {
    max-width: var(--inner);
    margin: 0 auto;
    padding: 0 5rem;
    text-align: center;
}

.news li {
    border-top: 1px solid var(--line);
    margin-top: 1rem;
    padding-top: 1rem;
}

.news li:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.rlbox {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 4rem;
}

.left-box {
    width: 45%;
}

.left-box img {
    border-radius: var(--r-md);
}

.right-box {
    width: 45%;
}

.material {
    margin: 2rem 0;
}

#cart .flex.box2,
#buy .flex.box2 {
    border-top: 1px solid var(--line);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

h2 {
    font-size: clamp(2.4rem, 3.5vw, 3.6rem);
    font-weight: 500;
}

h3 {
    text-align: center;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
    margin-bottom: 3rem;
}

h4 {
    text-align: center;
    font-size: clamp(1.8rem, 2.5vw, 2.4rem);
    margin-top: 3rem;
}

h5 {
    text-align: center;
    font-size: clamp(1.6rem, 2vw, 2rem);
    margin: 1rem 0 2rem;
}

h6 {
    text-align: center;
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    margin: 2rem 0 1rem;
}

.ulline {
    display: inline-block;
    padding-bottom: .75rem;
    border-bottom: 3px solid var(--brand);
    margin-bottom: 2rem;
}

.contact .cf-text,
.contact select {
    font-size: 1.5rem;
    height: 3.6em;
    width: 100%;
    padding: 0 16px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--line);
    appearance: none;
    -webkit-appearance: none;
}

.contact .cf-ttarea {
    font-size: 1.5rem;
    width: 100%;
    padding: 16px;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--line);
}

.contact .cf-text:focus,
.contact .cf-ttarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(183, 212, 80, .2);
}

.contact span.maru {
    border-radius: var(--r-pill);
    background: var(--color-red);
    color: var(--white);
    font-size: 10px;
    padding: .1rem .8rem;
    margin: 0 1rem;
    display: inline-block;
}

.company dt {
    width: 20%;
    padding: 10px;
    border-bottom: var(--line) dotted 1px;
}

.company dd {
    width: 80%;
    padding: 10px;
    margin: 0;
    border-bottom: var(--line) dotted 1px;
}

dl {
    display: flex;
    flex-wrap: wrap;
}

.edit-profile .confirm-table {
    margin: 3rem auto;
}

.edit-profile th,
.edit-profile td {
    text-align: left;
    padding: .5rem 1rem;
}

#signin .inner {
    text-align: center;
}

#privacypolicy h5 {
    margin-top: 5rem !important;
    text-align: left;
}

#scta h4,
#scta h5 {
    text-align: left;
}

#school .dotline li {
    border-bottom: var(--line) solid 1px;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

#school .dotline li .scl-title {
    width: 30%;
    display: inline-block;
}

#school .areaname {
    font-size: 2rem;
    margin-top: 3rem;
    display: inline-block;
}

#news-detail .date {
    padding: 0 0 1rem;
    font-size: 1.4rem;
    color: var(--brand-dark);
}

#news-detail strong {
    color: var(--brand-dark);
}

.pager {
    margin: 4rem auto;
    text-align: center;
}

nav .cart {
    display: none;
}

input {
    max-width: 100%;
}

textarea {
    max-width: 100%;
}


/* ============================================================
   Products Section
============================================================ */
.products-section {
    padding: var(--section-v) 0;
    background: var(--bg);
    text-align: center;
}

.products-section .section-sub {
    text-align: center;
    color: var(--soft);
    font-size: 1.4rem;
    margin-top: -.5rem;
    margin-bottom: 5rem;
}

/* Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* Card */
.product-card {
    background: var(--white);
    border-radius: 1.6rem;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .06);
    transition: transform var(--fast), box-shadow var(--fast);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, .11);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--dark);
    position: relative;
}

/* Thumbnail */
.product-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--brand-light);
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-light);
    color: var(--soft);
    font-size: 1.2rem;
    letter-spacing: .1em;
}

/* Category badge */
.product-card-badge {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    background: var(--brand-sub);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    padding: .3rem 1rem;
    border-radius: var(--r-pill);
    letter-spacing: .05em;
}

/* Body */
.product-card-body {
    padding: 1.8rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.product-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: var(--dark);
}

.product-card-price {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    margin: 0;
}

.price-label {
    font-size: 1.1rem;
    color: var(--soft);
}

.price-value {
    font-family: var(--font-serif-en);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--brand-dark);
}

.price-tax {
    font-size: 1.1rem;
    color: var(--soft);
}

/* Arrow icon */
.product-card-arrow {
    position: absolute;
    bottom: 1.6rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--brand-dark);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity var(--fast), transform var(--fast);
}

.product-card:hover .product-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* More button */
.products-more {
    display: flex;
    justify-content: center;
    margin-top: 5rem;
}

.btn-products-more {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 3.6rem;
    border: 2px solid var(--brand-dark);
    border-radius: var(--r-pill);
    color: var(--brand-dark);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: .08em;
    transition: background var(--fast), color var(--fast), box-shadow var(--fast);
}

.btn-products-more:hover {
    background: var(--brand-dark);
    color: var(--white);
    box-shadow: 0 6px 24px rgba(143, 168, 50, .35);
}

.btn-products-more svg {
    transition: transform var(--fast);
}

.btn-products-more:hover svg {
    transform: translateX(4px);
}

/* Empty state */
.products-empty {
    text-align: center;
    padding: 6rem 0;
    color: var(--soft);
    font-size: 1.5rem;
}


/* ============================================================
   Uniform Detail Page
============================================================ */
.uniform-detail-page {
    background: var(--bg);
    min-height: 60vh;
}

/* ---- 2カラムグリッド ---- */
.ud-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    max-width: var(--inner);
    margin: 0 auto;
    padding: 4rem 5rem 6rem;
    align-items: start;
}

/* ---- 画像ギャラリー ---- */
.ud-gallery {
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
}

.ud-gallery-main {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--brand-light);
    aspect-ratio: 3 / 5;
    margin-bottom: 1.4rem;
    box-shadow: var(--sh-md);
}

.ud-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.ud-gallery-main:hover img {
    transform: scale(1.04);
}

.ud-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft);
    font-size: 1.4rem;
    letter-spacing: .1em;
}

.ud-gallery-thumbs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.ud-thumb {
    width: calc(20% - .8rem);
    aspect-ratio: 3/4;
    border-radius: var(--r-sm);
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: var(--brand-light);
    cursor: pointer;
    transition: border-color var(--fast), opacity var(--fast);
    flex-shrink: 0;
}

.ud-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ud-thumb--active {
    border-color: var(--brand-dark);
}

.ud-thumb:hover {
    opacity: .8;
}

/* ---- 商品情報 ---- */
.ud-category {
    font-family: var(--font-serif-en);
    font-size: 1.1rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--brand-dark);
    margin-bottom: 1rem;
}

.ud-title {
    font-family: var(--font-serif-jp);
    font-size: clamp(2.4rem, 3vw, 3.6rem);
    font-weight: 500;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 2.4rem;
    padding-bottom: 2.4rem;
    border-bottom: 1px solid var(--line);
}

.ud-price {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    margin-bottom: 2.8rem;
}

.ud-price-num {
    font-family: var(--font-serif-en);
    font-size: 4rem;
    font-weight: 400;
    color: var(--brand-dark);
    line-height: 1;
}

.ud-price-unit {
    font-size: 1.4rem;
    color: var(--mid);
}

.ud-label {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--soft);
    margin-bottom: .8rem;
}

.ud-material {
    font-size: 1.45rem;
    line-height: 1.9;
    color: var(--mid);
    margin-bottom: 2.8rem;
    padding: 1.8rem 2rem;
    background: var(--brand-pale);
    border-radius: var(--r-md);
}

/* ---- サイズ・カラー選択 ---- */
.ud-size-color {
    margin-bottom: 2.4rem;
}

.ud-size-color select,
.ud-size-color input[type="text"] {
    width: 100%;
    padding: 1.2rem 1.6rem;
    font-size: 1.5rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--white);
    color: var(--dark);
    margin-top: .6rem;
    transition: border-color var(--fast);
    -webkit-appearance: none;
}

.ud-size-color select:focus,
.ud-size-color input[type="text"]:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(183, 212, 80, .2);
}

/* ---- カートボタン ---- */
.ud-btn-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1.8rem;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: .08em;
    color: var(--black);
    background: var(--brand);
    border: none;
    border-radius: var(--r-pill);
    cursor: pointer;
    box-shadow: var(--sh-brand);
    transition: background var(--fast), transform var(--fast), box-shadow var(--fast);
    margin-bottom: 1.4rem;
}

.ud-btn-cart:hover {
    background: var(--brand-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(143, 168, 50, .45);
}

/* ---- お問い合わせリンク ---- */
.ud-btn-contact {
    display: block;
    text-align: center;
    padding: 1.4rem;
    font-size: 1.4rem;
    color: var(--brand-dark);
    border: 1.5px solid var(--brand);
    border-radius: var(--r-pill);
    transition: background var(--fast), color var(--fast);
    margin-bottom: 2.8rem;
    opacity: 1;
}

.ud-btn-contact:hover {
    background: var(--brand-pale);
    color: var(--brand-dark);
    opacity: 1;
}

/* ---- 注意書き ---- */
.ud-note {
    font-size: 1.2rem;
    color: var(--soft);
    line-height: 2;
    padding: 1.6rem 2rem;
    background: var(--bg);
    border-radius: var(--r-md);
    border: 1px solid var(--line);
}

.ud-note p {
    margin: 0;
}

#size-trigger .ud-accordion-icon {
    transform: rotate(180deg);
    transition: transform 0.3s;
}

/* ---- セクション共通 ---- */
/*.ud-section {
    max-width: var(--inner);
    margin: 0 auto 2px;
    padding: 0 5rem;
}*/

.ud-section-inner {
    border-top: 1px solid var(--line);
    padding: 4rem 0;
}

.ud-section-title {
    font-family: var(--font-serif-jp);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 2.4rem;
    color: var(--dark);
}

/* ---- サイズアコーディオン ---- */
.ud-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 2rem 0;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.ud-accordion-trigger:hover {
    color: var(--brand-dark);
}

.ud-accordion-icon {
    flex-shrink: 0;
    transition: transform var(--fast);
    color: var(--brand-dark);
}

.ud-accordion-panel {
    padding-bottom: 3rem;
}

/* サイズ表テーブル 
.ud-size-chart table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 2.4rem;
}

.ud-size-chart th {
    background: var(--brand);
    color: var(--black);
    font-weight: 500;
    padding: 1rem 1.2rem;
    text-align: center;
    border: 1px solid var(--brand-dark);
}

.ud-size-chart td {
    padding: .9rem 1.2rem;
    text-align: center;
    border: 1px solid var(--line);
    color: var(--dark);
}

.ud-size-chart tr:nth-child(even) td {
    background: var(--brand-pale);
}*/

/* ---- 商品説明 ---- */
.ud-content {
    font-size: 1.5rem;
    line-height: 2;
    color: var(--mid);
    max-width: 720px;
}

.ud-content p {
    margin-bottom: 1.5rem;
}

/* ---- 一覧へ戻る ---- */
.ud-back {
    max-width: var(--inner);
    margin: 0 auto;
    padding: 3rem 5rem 6rem;
}

.ud-back a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.4rem;
    color: var(--mid);
    transition: color var(--fast);
}

.ud-back a:hover {
    color: var(--brand-dark);
    opacity: 1;
}


/* ============================================================
   Tablet  ≤ 1024px
============================================================ */
@media screen and (max-width: 1024px) {
    :root {
        --section-v: 80px;
    }

    .section-inner,
    .nav-container {
        padding: 0 3.5rem;
    }

    main .inner,
    footer .inner {
        padding: 0 3.5rem;
    }

    .about-grid {
        gap: 5rem;
    }

    .gallery-col--a .gallery-item:nth-child(1) img {
        height: 220px;
    }

    .gallery-col--a .gallery-item:nth-child(2) img {
        height: 160px;
    }

    .gallery-col--b .gallery-item:nth-child(1) img {
        height: 160px;
    }

    .gallery-col--b .gallery-item:nth-child(2) img {
        height: 220px;
    }

    .gallery-col--b {
        margin-top: 2.5rem;
    }

    .about-img-b {
        right: -2rem;
    }

    .brand-feature-body {
        padding: 5rem 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }

    .footer-col--nav {
        grid-column: 1 / -1;
    }

    .footer-inner {
        padding: 4rem 3.5rem 3.5rem;
    }

    .footer-bottom {
        padding: 2rem 3.5rem;
    }

    .box3 .f-item {
        width: calc(50% - 1rem);
    }

    .school .inner,
    .news .inner,
    .store .inner {
        padding: 0 3.5rem;
    }

    .contact-form {
        padding: 4rem 3.5rem;
    }

    .about-deco-num {
        display: none;
    }

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

    /* Uniform detail */
    .ud-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 3rem 3.5rem 5rem;
    }

    .ud-gallery {
        position: static;
    }

    .ud-gallery-main {
        aspect-ratio: 3 / 4;
    }

    /*
    .ud-section {
        padding: 0 3.5rem;
    }
*/
    .ud-back {
        padding: 3rem 3.5rem 5rem;
    }
}


/* ============================================================
   Mobile  ≤ 767px
============================================================ */
@media screen and (max-width: 767px) {
    :root {
        --nav-h: 62px;
        --section-v: 64px;
    }

    .pc {
        display: none;
    }

    .hero-bg {
        background-position: 80% 30%;
    }

    .sp {
        display: block;
    }

    .section-inner,
    .nav-container {
        padding: 0 2.5rem;
    }

    main .inner,
    footer .inner {
        padding: 0 2.5rem;
    }

    /* Nav */
    .nav-logo {
        width: 240px;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .mob-en {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: 90vh;
        align-items: flex-start;
    }

    .hero-content {
        padding: 0 2.5rem;
        padding-top: var(--nav-h);
    }

    .hero-title {
        font-size: 3.6rem;
    }

    .hero-text {
        display: none;
    }

    .hero-eyebrow {
        font-size: 1.4rem;
        margin-bottom: 1rem;

    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.2rem;
        position: absolute;
        bottom: 3.5rem;
        left: 2.5rem;
        right: 2.5rem;
    }

    .hero-scroll {
        left: 2.5rem;
        bottom: 2.5rem;
    }

    .hero-deco {
        display: none;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .gallery-flex {
        gap: .8rem;
    }

    .gallery-col--b {
        margin-top: 2rem;
    }

    .gallery-col--a .gallery-item:nth-child(1) img,
    .gallery-col--b .gallery-item:nth-child(2) img {
        height: 180px;
    }

    .gallery-col--a .gallery-item:nth-child(2) img,
    .gallery-col--b .gallery-item:nth-child(1) img {
        height: 130px;
    }

    .about-img-a img {
        height: 320px;
    }

    .about-img-b {
        display: none;
    }

    .about-body {
        padding-left: 0;
    }

    .about-stats {
        gap: 2.5rem;
    }

    /* Brand — mobile */
    .brand-tab-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .brand-tab-desc {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4rem;
    }

    .btn-brand {
        align-self: stretch;
        justify-content: center;
    }

    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .products-section .section-sub {
        margin-bottom: 3.5rem;
    }

    /* Uniform detail */
    .ud-container {
        padding: 2.5rem 0 4rem;
        gap: 3rem;
    }

    .ud-title {
        font-size: 2.4rem;
    }

    .ud-price-num {
        font-size: 3.2rem;
    }

    .ud-thumb {
        width: calc(25% - .75rem);
    }

    /*
    .ud-section {
        padding: 0 2.5rem;
    }
*/
    .ud-back {
        padding: 2rem 2.5rem 5rem;
    }

    /* Contact — mobile: 縦並びに戻す */
    .form-group p {
        flex-direction: column;
        gap: .4rem;
    }

    .form-group p br {
        display: none;
    }

    .form-label {
        flex: none;
        padding-top: 0;
        margin-bottom: .2rem;
    }

    .form-group p>.wpcf7-form-control-wrap {
        width: 100%;
    }
}

/* Contact */
.contact-form {
    padding: 3.5rem 2.5rem;
}

.form-row--half {
    grid-template-columns: 1fr;
    gap: 0;
}

/* Footer */
@media screen and (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-col--nav {
        grid-column: auto;
    }

    .footer-inner {
        padding: 3.5rem 2rem 3rem;
    }

    .footer-bottom {
        padding: 1.8rem 2rem;
    }
}

/* Products */
.box3 .f-item,
.box2 .f-item {
    width: 100%;
}

.rlbox {
    flex-direction: column;
}

.left-box,
.right-box {
    width: 100%;
}

.company dt {
    width: 30%;
}

.company dd {
    width: 70%;
}

.school .inner,
.news .inner {
    padding: 0 2.5rem;
}

.store .inner {
    padding: 1rem 2.5rem;
}

#school .dotline li .scl-title {
    width: 100%;
}

h3 {
    margin-bottom: 2rem;
}

.section-label {
    margin-bottom: 4rem;
}
}