/*
Theme Name: KUMAMOTO UD
Theme URI: https://www.k-kumamoto.com/
Author: ONE WEDGE
Description: KUMAMOTO 換気用ドアストッパー UD シリーズ サイトテーマ。商品はカスタム投稿「商品」から追加します。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kumamoto-ud
*/

/* ==========================================================================
   ↓↓↓ ここから下に、お手元の style.css の中身をすべて貼り付けてください ↓↓↓
   （01. Design Tokens 〜 SP対応レスポンシブ まで丸ごと）
   ※このコメントより上の「テーマヘッダー」は絶対に消さないでください。
   ========================================================================== */

/* ==========================================================================
   KUMAMOTO 換気用ドアストッパー UD — style.css

   TABLE OF CONTENTS
   01. Design Tokens (:root)
   02. Reset & Base
   03. Layout Utilities
   04. Header & Navigation
   05. Hero Section
   06. Intro Section
   07. Overview Section
   08. Products Gallery
   09. Product Detail (2-column)
   10. Subpage & Form (Contact)
   11. Privacy / Legal
   12. Importance Section
   13. Footer
   14. Responsive — max-width: 1300px
   15. Responsive — max-width: 960px
   16. Responsive — max-width: 600px
   17. Reduced Motion
   ========================================================================== */


/* ==========================================================================
   01. Design Tokens (:root)
   ========================================================================== */
:root {
    --canvas-bg: #ffffff;
    --text-primary: #726963;
    --text-muted: #726963;
    --border-light: rgba(28, 28, 27, 0.08);
    --accent-terracotta: #C49C78;
    --accent-beige: #f9ede2;
    --error-color: #cf5b4e;
    --shadow-soft: cubic-bezier(0.16, 1, 0.3, 1);
    --font-commuters: "commuters sans", "UD角ゴ_ラージ", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    --font-kakugo: "fot-udkakugo-large-pr6n", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}


/* ==========================================================================
   02. Reset & Base
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--canvas-bg);
    color: var(--text-primary);
    font-family: var(--font-kakugo);
    letter-spacing: 0.1em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--accent-terracotta);
    outline-offset: 3px;
    border-radius: 4px;
}

[id] {
    scroll-margin-top: 100px;
}


/* ==========================================================================
   03. Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-small {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.container-mini {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.air-flow-bg {
    display: none;
}

.sp-only {
    display: none;
}

.pc-only {
    display: block;
}


/* ==========================================================================
   04. Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    background: rgba(255, 255, 255, 1);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.page-home .site-header {
    background: transparent;
    border-bottom: none;
}

.page-home .site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: none;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 24px 48px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-decoration: none;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
}

/* ハンバーガーボタン（PC・SP共通で常時表示） */
.menu-trigger {
    display: block;
    width: 28px;
    height: 20px;
    position: absolute;
    right: 48px;
    background: none;
    border: none;
    z-index: 600;
    cursor: pointer;
    padding: 0;
}

.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

.menu-trigger span:nth-child(1) {
    top: 0;
    background-color: var(--accent-terracotta);
}

.menu-trigger span:nth-child(2) {
    top: 9px;
}

.menu-trigger span:nth-child(3) {
    top: 18px;
}

.menu-trigger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: rgba(57, 57, 57, 0.85);
}

.menu-trigger.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-trigger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-terracotta);
}

.global-nav {
    position: fixed;
    top: 0;
    right: -32%;
    width: 32%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s var(--shadow-soft);
    z-index: 550;
    border-left: 1px solid #E8D8CD;
}

.global-nav.is-active {
    right: 0;
}

.global-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: center;
}

.global-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.2em;
    transition: color 0.3s;
    position: relative;
    padding: 4px 0;
}

.global-nav a:hover,
.global-nav a.is-active {
    color: var(--text-primary);
}

.global-nav a.is-active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-terracotta);
    border-radius: 2px;
}


/* ==========================================================================
   05. Hero Section
   ========================================================================== */
.hero-section {
    height: 100vh;
    min-height: 720px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0px;
}

.hero-aside-img-sp {
    display: none !important;
}

.hero-aside-image {
    position: absolute;
    top: -20px;
    left: 0px;
    width: 280px;
    max-width: calc(36vw + 40px);
    z-index: 0 !important;
    pointer-events: none;
}

.hero-aside-card {
    width: 100%;
}

.hero-aside-img {
    width: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}

.hero-text-side {
    width: 44%;
    z-index: 10;
    margin-top: 20vh;
}

.hero-badge-ud {
    text-align: end;
    margin-right: 10%;
    margin-bottom: 10%;
}

.hero-badge_under {
    margin-right: 2.7%;
    font-size: 12px;
    font-weight: 400;
    color: #999999;
    letter-spacing: 13%;
}


@media (min-width: 1201px) and (max-width: 1300px) {

    .hero-badge-ud {
        text-align: end;
        margin-right: 4%;
        margin-bottom: 10%;
    }

    .hero-badge_under {
    margin-right: 3.15%;
}
}


.hero-badge {
    font-size: 100px;
    font-family: "commuters-sans", sans-serif !important;
    font-weight: 100;
    color: var(--accent-terracotta);
    line-height: 1;
}

.hero-title {
    font-size: 27px;
    font-weight: 100;
    line-height: 2;
    letter-spacing: 36%;
    margin-bottom: 12px;
    text-align: center;
    font-family: var(--font-kakugo);
}

.hero-title .hero-highlight {
    color: var(--accent-terracotta);
    font-weight: 400;
}

.hero-lead {
    font-size: 15px;
    line-height: 300%;
    letter-spacing: 20%;
    text-align: center;
}

.hero-title .hero-line-shift-0 {
    margin-left: 3%;
}

.hero-title .hero-line-shift-1 {
    display: inline-block;
    margin-left: -3%;
}

.hero-title .hero-line-shift-2 {
    display: inline-block;
    margin-left: 1.4%;
}

.hero-visual-side {
    width: 54%;
    display: flex;
    justify-content: flex-end;
    margin-top: 100px;
}

.circle-mask-window {
    height: auto;
    position: relative;
}

.circle-mask-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.1s ease-out;
}


/* ==========================================================================
   06. Intro Section（ストーリーエリア）
   ========================================================================== */
.intro-section {
    padding: 80px 0 120px;
    position: relative;
}

.intro-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.intro-block-left {
    width: 44%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.intro-img-small-wrap {
    width: 180px;
    height: 200px;
    border-radius: 40px;
    overflow: hidden;
}

.intro-img-small-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-block-left .intro-text {
    margin-left: 32%;
}

.intro-block-right {
    width: 54%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 140px;
}

.intro-img-large-wrap {
    width: 250px;
    height: 250px;
    margin-bottom: 8px;
}

.intro-img-large-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-block-right .intro-text {
    margin-left: 40%;
}

/* 共通テキスト（中央揃えでカンプ通りのガタガタ感を出す） */
.intro-text {
    font-size: 14px;
    line-height: 2.8;
    letter-spacing: 20%;
    color: var(--text-primary);
    text-align: center;
}


/* ==========================================================================
   07. Overview Section
   ========================================================================== */
.overview-section {
    text-align: center;
}

.overview-header h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 24px;
    line-height: 2;
    text-align: left;
    letter-spacing: 20%;
}

.overview-header p {
    max-width: 680px;
    margin: 0 auto 48px 0;
    font-size: 15px;
    line-height: 3;
    text-align: left;
    letter-spacing: 20%;
}

.diagram-grid {
    max-width: 800px;
    margin: 40px auto 0;
}


/* ==========================================================================
   08. Products Gallery（複数商品グリッド/スライダー）
   ========================================================================== */
.products-gallery {
    padding: 0 0 44px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    text-align: center;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: 150%;
    height: 150%;
    object-fit: cover;
}

.product-card-title {
    font-size: 48px;
    font-weight: 100;
    letter-spacing: 0.05em;
    font-family: "commuters-sans", sans-serif !important;
    margin-bottom: 12px;
    color: var(--text-primary);
}


/* ==========================================================================
   09. Product Detail（縦積み ＆ 商品説明2列）
   ========================================================================== */
.detail-products-container {
    padding: 40px 0;
}

.product-detail-block {
    padding: 120px 0;
}

.layout-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    width: 100%;
}

/* 上段：メイン商品画像ギャラリーステージ */
.product-upper-gallery {
    width: 100%;
    max-width: 760px;
    text-align: center;
}

.main-stage-wrapper {
    position: relative;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.canvas-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
}

.interactive-asset {
    width: 90%;
    border-radius: 160px;
    height: auto;
    object-fit: cover;
    will-change: transform;
    border: 1px solid #f5d1b1;
}

@media (min-width: 601px) and (max-width: 670px) {
    .interactive-asset {
        border-radius: 100px;
    }
}

@media (min-width: 671px) and (max-width: 750px) {
    .interactive-asset {
        border-radius: 128px;
    }
}

@media (min-width: 751px) and (max-width: 960px) {
    .interactive-asset {
        border-radius: 152px;
    }
}

@media (max-width: 600px) {
    .interactive-asset {
        border-radius: 28%;
    }
}

/* スライダー矢印 */
.slider-arrow:hover,
.slider-arrow:focus-visible {
    opacity: 0.6;
    cursor: pointer;
}

.slider-arrow.next svg {
    fill: #C49C78;
}

/* 円形サムネイルナビ（PC用） */
.color-selector-axis {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-top: 8px;
}

.thumb-circle-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid #f5d1b1;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
}

#product-ud3 .thumb-circle-btn {
    width: 110px;
    height: 110px;
}

#product-ud3 .thumb-circle-btn img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}




.thumb-circle-btn img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.thumb-circle-btn.is-active,
.thumb-circle-btn:hover,
.thumb-circle-btn:focus-visible {
    border-color: var(--accent-terracotta);
}

/* SP用インジケーター（デフォルト非表示） */
.sp-indicator-dots {
    display: none;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}

.sp-indicator-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #eeded2;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s;
}

.sp-indicator-dots .dot.active {
    background: var(--accent-terracotta);
}

.product-lower-description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    width: 100%;
    align-items: flex-start;
}

.desc-column-left {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.meta-header {
    order: 1;
    margin-bottom: 24px;
}

.sp-tab-panel {
    order: 2;
}

.product-tag-row {
    order: 3;
}

.product-id-brand {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 6px;
}

.id-badge {
    font-family: "commuters-sans", sans-serif !important;
    font-size: 56px;
    font-weight: 100;
    letter-spacing: 0.02em;
    line-height: 1;
    color: var(--text-primary);
}

.brand-monogram {
    width: 128px;
    height: auto;
}

.product-id-brand {
    position: relative;
}

.brand-monogram {
    position: relative;
    top: 20px;
}

.product-category-title {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.product-editorial-text {
    font-size: 14px;
    line-height: 230%;
    letter-spacing: 20%;
    margin-bottom: 28px;
    text-align: justify;
}

.product-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.p-tag {
    font-size: 11px;
    border: 0.7px solid #55504572;
    padding: 4px 14px;
    border-radius: 20px;
    background: #fff;
    color: #3c372d8b;
}

/* 右側：スペックテーブル・価格・ボタンブロック */
.desc-column-right {
    width: 100%;
}

.specs-matrix-table {
    margin-bottom: 32px;
}

.matrix-row {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}

.matrix-row:last-child {
    border-bottom: none;
}

.matrix-th {
    width: 32%;
    color: #726963;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.matrix-td {
    width: 68%;
    color: var(--text-primary);
}

.color-row .matrix-th {
    width: 31%;
}

.color-row .matrix-td {
    width: 69%;
}

.matrix-row.color-row {
    display: flex;
    align-items: flex-start;
}

.matrix-row.color-row .matrix-td {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.color-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #eee;
    padding: 5px 12px;
    border-radius: 20px;
    background: #fff;
    font-size: 12px;
}

.color-chip .dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
}

/* プライス・コンバージョンエリア */
.checkout-anchor-shelf {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pricing-tag-zone {
    font-family: "commuters-sans", sans-serif !important;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    margin-left: 32%;
}

.pricing-tag-zone .price-value {
    font-size: 32px;
    font-weight: 100;
    letter-spacing: 0.05em;
}

.pricing-tag-zone .tax-inclusive {
    font-family: var(--font-kakugo);
    font-size: 11px;
    margin-left: 6px;
}

.interactive-action-cluster {
    /* display: flex; */
    gap: 12px;
    width: 100%;


    text-align: center;
}

.cta-link-btn {
    text-decoration: none;
    font-size: 11px;
    font-weight: 400;
    padding: 14px 8px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    transition: all 0.3s;
}

.cta-link-btn svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    flex-shrink: 0;
}

.cta-link-btn.type-purchase svg {
    width: 27px;
    height: 27px;
}

.cta-link-btn.type-download {
    background: #FFEFE0;
    color: #726963;
}

.cta-link-btn.type-download:hover {
    background: #ffebdc;
}

.cta-link-btn.type-purchase {
    background: #FFDEC0;
    color: #726963;
    font-size: 15px !important;
}

.cta-link-btn.type-purchase:hover {
    background: #ffebdc;
}


/* ==========================================================================
   10. Subpage & Form（お問い合わせ）
   ========================================================================== */
.subpage-main {
    padding: 140px 0 100px 0;
    min-height: 80vh;
}

.subpage-header {
    text-align: center;
    margin-bottom: 80px;
    margin-top: 44px;
}

.subpage-title {
    font-family: "commuters-sans", sans-serif !important;
    font-size: 32px;
    font-weight: 100;
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: 8px;
}

.subpage-subtitle {
    font-size: 12px;
    font-weight: 300;
    color: var(--accent-terracotta);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.subpage-lead {
    font-size: 14px;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.form-board-wrapper {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #E8DED4;
    backdrop-filter: blur(20px);
    border-radius: 48px;
    padding: 48px;
    box-shadow: 0 40px 90px rgba(28, 28, 27, 0.03);
}

.form-group {
    margin-bottom: 28px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.required-badge {
    font-size: 10px;
    background: #F4C0A7;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 8px;
    margin-left: 6px;
    font-weight: 100;
}

span.required-badge {
    margin-bottom: 4px;
}



.optional-badge {
    font-size: 10px;
    background: #e2e2e0;
    color: #7c7c7a;
    padding: 3px 10px;
    border-radius: 8px;
    margin-left: 6px;
}

input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(28, 28, 27, 0.12);
    background: #fff;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s;
    outline: none;
    font-family: var(--font-kakugo);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent-terracotta);
    box-shadow: 0 0 0 4px rgba(222, 106, 65, 0.06);
}

/* 入力エラー時の表示（JSバリデーションと連動） */
.input-error {
    border-color: var(--error-color) !important;
    box-shadow: 0 0 0 4px rgba(207, 91, 78, 0.08) !important;
}

.error-message-text {
    display: block;
    color: var(--error-color);
    font-size: 12px;
    font-weight: 400;
    margin-top: 8px;
}

.select-styled-wrapper {
    position: relative;
    width: 100%;
}

.select-styled-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 48px;
    cursor: pointer;
}

.select-styled-wrapper::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid var(--text-muted);
    border-bottom: 1.5px solid var(--text-muted);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.form-agreement-zone {
    margin: 36px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 13px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid rgba(28, 28, 27, 0.15);
    border-radius: 6px;
    margin-right: 12px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--accent-terracotta);
    border-color: var(--accent-terracotta);
}

.checkbox-container input:focus-visible~.checkmark {
    outline: 2px solid var(--accent-terracotta);
    outline-offset: 3px;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked~.checkmark::after {
    display: block;
}

.inline-link {
    color: var(--text-primary);
    text-decoration: underline;
    font-weight: 400;
}

.form-submit-btn {
    background: #FFDEC0;
    color: var(--text-primary);
    border: none;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    max-width: 320px;
}

.form-submit-btn:hover {
    opacity: 0.6;
}

.form-submit-axis {
    text-align: center;
}


/* ==========================================================================
   11. Privacy / Legal
   ========================================================================== */
.privacy-board-card {
    background: #fff;
    border-radius: 32px;
    padding: 56px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.legal-section {
    margin-bottom: 52px;
}

.legal-section h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 8px;
}

.legal-section p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.legal-list {
    margin-left: 20px;
}

.legal-list li {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-contact {
    background: #FFEFE0;
    border-radius: 16px;
    padding: 24px 28px;
    margin: 16px 0;
}

.legal-contact p {
    margin-bottom: 4px;
}

.legal-revision {
    text-align: right;
    font-size: 13px;
    line-height: 1.7;
    margin-top: 40px;
}


/* ==========================================================================
   12. Importance Section（換気の重要性について）
   ========================================================================== */
.importance-section {
    padding: 80px 0 120px;
}

.importance-card {
    background-color: #FCF3E9;
    border-radius: 50px;
    padding: 80px 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
    width: 100%;
}
.card-left {
    width: 48%;
}

.importance-heading {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 40px;
    letter-spacing: 0.35em;
    color: var(--text-primary);
}

.importance-texts p {
    font-size: 14px;
    line-height: 2.2;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.importance-texts p:last-child {
    margin-bottom: 0;
}

/* 右側：白いリストカード */
.card-right {
    width: 52%;
    background: #ffffff;
    border-radius: 24px;
}

.benefit-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 32px 40px;
    border-bottom: 1px solid #F0EBE6;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-num {
    font-family: "commuters-sans", sans-serif !important;
    font-size: 22px;
    font-weight: 100;
    color: #C0B5AF;
    margin-right: 24px;
    margin-top: 3px;
    letter-spacing: 0.1em;
}

.benefit-content {
    flex: 1;
}

.benefit-content strong {
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: 0.1em;
}

.benefit-content span {
    display: block;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}


/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
    background: #ffffff;
    padding: 100px 0 60px;
}

.footer-top-flex {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 80px;
    position: relative;
    padding: 0 40px;
}

.footer-top-flex::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: #E8D8CD;
    transform: translateX(-50%);
}

.f-brand-block {
    width: 42%;
}

.f-logo {
    display: inline-block;
    margin-bottom: 24px;
}

.f-logo img {
    height: 36px;
    width: auto;
}

.f-desc {
    width: 340px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 2.2;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    text-align: justify;
}

.f-info-block {
    width: 42%;
    padding-top: 8px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    border-bottom: 0.7px solid var(--accent-terracotta);
    padding-bottom: 16px;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item dt {
    font-size: 12px;
    color: #726963;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    font-family: "commuters-sans", sans-serif !important;
    font-weight: 100;
}

.info-item dd,
.info-item dd a {
    font-size: 15px;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.1em;
}

.info-item dd a:hover {
    color: var(--accent-terracotta);
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.external-link svg {
    color: #C0B5AF;
    margin-bottom: 2px;
}

.footer-bottom-nav {
    margin-bottom: 40px;
}

.f-nav-list {
    display: flex;
    justify-content: center;
    gap: 80px;
    list-style: none;
}

.f-nav-list a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: opacity 0.3s;
}

.f-nav-list a:hover {
    opacity: 0.6;
}

.copyright {
    text-align: center;
    font-size: 11px;
    color: #C0B5AF;
    letter-spacing: 0.15em;
}


/* ==========================================================================
   14. Responsive — max-width: 1300px
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-badge-ud {
        margin-right: 2%;
        margin-bottom: 28px;
    }

    .intro-section {
        padding: 0px 0 100px;
    }

    .hero-section {
        height: 80vh;
        min-height: 660px;
    }

    .hero-badge-ud {
        margin-bottom: 48px;
        margin-top: 32px;
    }


    .hero-badge {
        font-size: 7.9vw;
    }

    .hero-badge_under {
        font-size: 1vw;
    }

    .hero-title {
        font-size: 1.9vw;
    }

    .hero-lead {
        font-size: 1.1vw;
    }

    .hero-text-side {
        margin-top: 0vh;
    }

    .hero-aside-image {
        top: -6vw;
    }
}


/* ==========================================================================
   15. Responsive — max-width: 960px
   ========================================================================== */
@media (max-width: 960px) {

    .subpage-lead {
        font-size: 12px;
    }

    .intro-section {
        padding: 80px 0 100px;
    }

    .intro-container {
        flex-direction: column;
        align-items: center;
        gap: 80px;
        padding: 0 24px;
    }

    .intro-block-left,
    .intro-block-right {
        width: 100%;
        align-items: center;
        margin-top: 0;
    }

    .intro-block-left .intro-text,
    .intro-block-right .intro-text {
        margin-left: 0;
        max-width: 100%;
    }

    .intro-img-small-wrap {
        width: 220px;
        height: 220px;
    }

    .intro-img-large-wrap {
        width: 220px;
        height: 220px;
    }

    .intro-text {
        font-size: 13px;
        letter-spacing: 20%;
    }
    .importance-section {
        padding: 40px 24px 80px;
    }

    .importance-card {
        flex-direction: column;
        padding: 32px 24px 60px 24px;
        border-radius: 32px;
        gap: 48px;
    }

    /* SP特有：縦書きタイトルとテキストの横並びレイアウト */
    .card-left {
        width: 100%;
        display: flex;
        gap: 24px;
    }

    .importance-heading {
        writing-mode: vertical-rl;
        margin-bottom: 0;
        font-size: 22px;
        letter-spacing: 0.4em;
        line-height: 1;
    }

    .importance-texts {
        flex: 1;
    }

    .importance-texts p {
        font-size: 13px;
        line-height: 2;
        margin-bottom: 20px;
    }

    .card-right {
        width: 100%;
    }

    .benefit-item {
        padding: 24px;
    }

    .benefit-num {
        font-size: 18px;
        margin-right: 16px;
    }

    .benefit-content strong {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .benefit-content span {
        font-size: 12px;
    }

    .hero-section {
        height: 100%;
        min-height: 600px;
    }

    .hero-text-side {
        width: 100%;
        margin-bottom: 40px;
    }

    .hero-visual-side {
        width: 100%;
    }

    .slider-arrow.next {
        width: 10px !important;
        min-width: 10px;
        max-width: 10px;
        padding: 0;
        overflow: hidden;
        display: inline-flex;
        justify-content: center;
        align-items: center;

    }

    .slider-arrow.next svg {
        width: 100%;
        height: auto;
        display: block;
    }

    .product-lower-description-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .color-selector-axis {
        display: none;
    }

    .sp-indicator-dots {
        display: flex;
    }

    .matrix-row.color-row {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }

    .matrix-row.color-row .matrix-td {
        display: flex;
        width: 68%;
        flex-wrap: wrap;
        gap: 12px;
        align-items: center;
    }

    .interactive-action-cluster {
        flex-direction: column;
        gap: 12px;
    }

    .cta-link-btn {
        width: 64%;
        /* width: 100%; */
        padding: 18px;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
    }

    .product-card {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    .importance-card {
        flex-direction: column;
        padding: 44px 32px 60px 32px;
        gap: 40px;
    }

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

    .form-board-wrapper,
    .privacy-board-card {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .legal-section p {
        font-size: 11px;
    }

    .legal-section h2 {
        font-size: 13.5px;
    }

    .legal-list li {
        font-size: 11px;
    }

    .form-note {
        font-size: 11px;
        letter-spacing: 0.02em;
    }
}


/* ==========================================================================
   16. Responsive — max-width: 600px
   ========================================================================== */
@media (max-width: 600px) {

    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }

    .hero-aside-img-sp {
        display: block !important;
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .hero-aside-img-pc {
        display: none;
    }

    .hero-badge-ud {
        margin-right: 14.4%;
    }

    .site-footer {
        padding: 60px 0 40px;
    }

    .footer-top-flex {
        flex-direction: column;
        gap: 56px;
        margin-bottom: 56px;
        padding: 0 24px;
    }

    .footer-top-flex::after {
        display: none;
    }

    .f-brand-block,
    .f-info-block {
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }

    .f-desc {
        width: 100%;
    }

    .f-logo img {
        height: 36px;
    }

    .f-nav-list {
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 12px 24px;
        gap: 52px 0;
    }

    .f-nav-list li {
        width: 50%;
    }

    .f-nav-list li:last-child {
        width: 100%;
    }

    .copyright {
        margin-top: 72px;
        margin-bottom: 32px;
    }

    .container,
    .container-mini,
    .container-small {
        width: 100%;
        margin: 0 auto;
        padding: 0 28px;
    }

    .hero-section {
        margin-top: 80px;
        min-height: 500px;
        align-items: flex-start;
    }

    .header-container {
        padding: 16px 24px;
    }

    .logo img {
        width: 132px;
        height: auto;
    }

    .menu-trigger {
        display: block;
        width: 32px;
        height: 20px;
        position: relative;
        right: 0;
    }

    .menu-trigger span {
        height: 3.5px;
        border-radius: 999px;
        background-color: 726963;
    }

    .menu-trigger span:nth-child(1) {
        top: 0;
        background-color: var(--accent-terracotta);
    }

    .menu-trigger span:nth-child(2) {
        top: 10px;
    }

    .menu-trigger span:nth-child(3) {
        top: 20px;
    }

    .global-nav {
        transition: left 0.4s ease;
    }

    .global-nav ul {
        gap: 32px;
    }

    .global-nav a {
        font-size: 14px;
    }

    .hero-text-side {
        margin-top: 0;
    }

    .hero-badge {
        font-size: 14vw;
        margin-bottom: 4px;
    }

    .diagram-grid {
        grid-template-columns: repeat(2, 1fr);
        margin: 12px auto 0;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        max-width: 100%;
        margin: 0 auto;
        overflow-x: visible;
    }

    .products-gallery .container {
        padding: 0;
    }

    .overview-header h2 {
        text-align: center;
        font-size: 4.4vw;
        line-height: 2.3;
        margin-top: 20%;
    }

    .overview-header p {
        text-align: center;
        font-size: 3.1vw;
    }

    .intro-section {
        margin: 20px 0 0 0;
    }

    .intro-container {
        flex-direction: column;
        align-items: stretch;
        gap: 60px;
        padding: 0;
    }

    .intro-block-left,
    .intro-block-right {
        width: 100%;
        margin-top: 0;
        flex-direction: column-reverse;
    }

    .intro-block-left .intro-text {
        margin-left: 0;
        max-width: 100%;
        text-align: left;
        padding: 0 20% 0 0;
        margin-right: 0;
    }

    .intro-img-small-wrap {
        align-self: flex-end;
        transform: translateX(0);
        width: 200px;
        height: 200px;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -52px;
    }

    .intro-img-small-wrap img {
        width: 180px;
        height: 180px;
        object-fit: cover;
    }

    .intro-block-right .intro-text {
        margin-left: 0;
        max-width: 100%;
        text-align: right;
        padding: 0 8% 0 25%;
    }

    .intro-img-large-wrap {
        align-self: flex-start;
        transform: translate(-15%, 15%);
        width: 240px;
        height: 240px;
        margin-bottom: 60px;
        margin-top: -72px;
    }

    .intro-text {
        font-size: 13px;
        letter-spacing: 20%;
        line-height: 2.6;
    }

    .product-detail-block {
        padding: 60px 0;
    }

    .product-card {
        flex: auto;
    }

    .brand-monogram {
        width: 86px;
        height: auto;
    }

    .product-card-title {
        font-size: 20px;
    }

    .main-stage-wrapper {
        border-radius: 24px;
    }

    .interactive-asset {
        width: 75%;
    }

    .matrix-th {
        width: 42%;
    }

    .color-row .matrix-th {
        width: 40%;
    }

    .color-row .matrix-td {
        width: 60%;
    }

    .matrix-th {
    font-size: 11px;
    letter-spacing: 0.1em;
}

    .cta-link-btn {
        font-size: 3.5vw;
        padding: 8px 16px;
    }

    .cta-link-btn.type-purchase {
        font-size: 3.5vw;
    }

    .interactive-action-cluster {
        gap: 16px;
    }

    .pricing-tag-zone {
        margin: 0 auto;
    }

    .importance-section {
        padding: 0px 0px 80px;
    }

    .importance-section .container {
        padding: 0px;
    }

    .importance-card {
        border-radius: 0px;
    }

    .importance-texts p {
        margin: 32px 0 0 16px;
    }

    .hero-container {
        display: block;
    }

    .hero-title {
        font-size: 4.2vw;
        padding-left: 50.5%;
    }

    .hero-title .hero-line-shift-0 {
        margin-left: -6.2%;
    }

    .hero-title .hero-line-shift-1 {
        margin-left: -6.9%;
    }

    .hero-title .hero-line-shift-2 {
        margin-left: -1%;
    }

    .hero-badge_under {
        font-size: 2vw;
        margin-right: 0%;
    }

    .hero-visual-side {
        width: 80%;
        display: flex;
        justify-content: flex-end;
        margin-top: 0px;
        margin-left: auto;
    }

    .hero-lead {
        font-size: 3.1vw;
        text-align: right;
        line-height: 2.6;
        padding-right: 10px;
    }

    .interactive-asset.js-product-img {
        width: 272px;
        height: 272px;
        max-width: 272px;
        max-height: 272px;
        object-fit: cover;
    }
}


/* ==========================================================================
   17. Reduced Motion（アクセシビリティ）
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .air-flow-bg,
    .interactive-asset {
        transform: none !important;
    }
}

@media (min-width: 961px) {
    .pc-hidden {
        display: none !important;
    }

    .sp-tab-panel {
        display: block !important;
    }
}

/* ==========================================================================
   SP（スマホ）対応レスポンシブ - 商品詳細エリア
   ========================================================================== */
@media (max-width: 600px) {
    .product-lower-description-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 16px;
    }

    .desc-column-left,
    .desc-column-right {
        display: contents;
    }

    .global-nav {
        right: -60%;
        width: 60%;
    }

    .meta-header {
        order: 1;
        margin-bottom: 24px;
        position: relative;
        text-align: left;
    }

    .product-tag-row {
        order: 2;
        margin-bottom: 24px;
    }

    .checkout-anchor-shelf {
        order: 3;
        margin-bottom: 42px;
        width: 100%;
        justify-content: center;
    }

    .sp-tab-nav {
        order: 4;
    }

    .sp-tab-panel {
        order: 5;
        display: none;
    }

    .sp-tab-panel.is-active {
        display: block;
    }


    .cta-link-btn {
        font-size: 15px;
    }

    .product-id-brand {
        display: block;
    }

    .id-badge {
        font-size: 60px;
        line-height: 1;
        font-weight: 100;
    }

    .product-category-title {
        font-size: 14px;
        margin-top: 16px;
    }

    .brand-monogram {
        position: absolute;
        right: 0;
        top: -10px;
        left: 55vw;
        width: 100px;
    }

    .product-tag-row {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .p-tag {
        font-size: 8.7px;
        border: 1px solid #55504572;
        padding: 4px 6px;
        border-radius: 999px;
        color: #7b6e65;
        background: rgba(255, 255, 255, 0.92);
    }

    .pricing-tag-zone {
        justify-content: center;
        margin-bottom: 8px;
    }


    .pricing-tag-zone .price-value {
        font-size: 32px;
        font-weight: 100;
    }

    .interactive-action-cluster {
        flex-direction: column;
        gap: 16px;
    }

    .interactive-action-cluster .cta-link-btn.type-purchase {
        order: 0;
    }

    .interactive-action-cluster .cta-link-btn.type-download {
        order: 1;
    }

    .cta-link-btn {
        width: 100%;
        padding: 12px 8px;
        font-size: 13px !important;
        border-radius: 40px;
    }

    .cta-link-btn svg {
        margin-right: 12px;
    }

    .cta-link-btn.type-purchase {
        background: #FFDEC0;
        color: #726963;
    }

    .cta-link-btn.type-download {
        background: #FFEFE0;
        color: #726963;
    }

    .interactive-action-cluster .cta-link-btn {
        height: 56px;
        align-items: center;
    }

    .cta-link-btn svg {
        height: 24px;
        width: auto;
    }

    .cta-link-btn.type-purchase svg {
        height: 36px !important;
        width: auto;
    }

    .sp-tab-nav {
        display: flex;
        background: #FFF4E9;
        border-radius: 20px 20px 0 0;
        padding: 1px 1px 0 1px;
        width: 100%;
        border: 1px solid rgba(242, 209, 181, 0.8);
        border-bottom: none;
    }

    .tab-btn {
        flex: 1;
        background: transparent;
        border: none;
        padding: 16px 0;
        font-size: 14px;
        color: #9a8d84;
        cursor: pointer;
        border-radius: 18px 18px 0 0;
        transition: color 0.2s ease, background 0.2s ease;
    }

    .tab-btn.is-active {
        background: #ffffff;
        color: var(--text-primary);
        font-weight: 400;
    }

    .tab-btn:not(.is-active):hover,
    .tab-btn:not(.is-active):focus-visible {
        color: #8c7d71;
    }

    .sp-tab-panel {
        background: #ffffff;
        border: 1px solid #F9ECE0;
        border-top: none;
        border-radius: 0 0 24px 24px;
        padding: 32px 20px 28px;
        width: 100%;
    }

    .product-editorial-text {
        text-align: left;
        margin-bottom: 0;
        line-height: 2.4;
        letter-spacing: 0.16em;
    }

    .specs-matrix-table {
        margin-bottom: 0;
    }

    .form-board-wrapper {
        padding: 32px 20px !important;
    }

    .header-container {
        justify-content: space-between;
    }

}

.diagram-pc {
    display: block;
    width: 100%;
    height: auto;
}

.diagram-scroller {
    display: none;
}

@media (max-width: 600px) {
    .diagram-pc {
        display: none;
    }

    .diagram-scroller {
        display: block;
        overflow: hidden;
    }

    .diagram-track {
        display: flex;
        width: max-content;
        animation: usecase-scroll 25s linear infinite;
    }

    .diagram-track img {
        height: 180px;
        width: auto;
        flex: 0 0 auto;
        margin-right: 16px;
    }

    .diagram-scroller:active .diagram-track {
        animation-play-state: paused;
    }

    @keyframes usecase-scroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-50%);
        }

    }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
    .diagram-scroller {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .diagram-track {
        animation: none;
    }
}

.main-stage-wrapper {
    aspect-ratio: 1658 / 1130;
}

.canvas-inner {
    width: 100%;
    height: 100%;
    padding: 5%;
}

.interactive-asset {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
}

@media (max-width: 600px) {
    .main-stage-wrapper {
        aspect-ratio: auto;
    }
}

/* ==========================================================================
   タブレット（601〜1024px）：PC構成を保ったまま幅に収める
   ========================================================================== */
@media (min-width: 601px) and (max-width: 960px) {

    .tb-only {
        display: block !important;
    }
    .container,
    .container-small,
    .container-mini {
        padding-left: 80px;
        padding-right: 80px;
    }

    .hero-section {
        height: auto;
        min-height: 0;
        padding: 120px 0 0px;
    }

    .hero-badge-ud {
        margin-right: 8%;
        margin-bottom: 28px;
    }

    .hero-lead {
        font-size: 10px !important;
    }

    .intro-text {
        font-size: 10px !important;
    }

    .intro-img-small-wrap {
        width: 180px;
        height: 180px;
    }

    .intro-img-large-wrap {
        width: 200px;
        height: 200px;
    }

    .hero-container {
        gap: 0px;
    }

    .hero-text-side {
        margin-top: 0;
        padding-left: 4px;
    }

    .hero-badge {
        font-size: 88px;
    }

    .hero-badge_under {
        font-size: 12px;
    }

    .hero-title {
        font-size: 17px !important;
        letter-spacing: 36%;
    }

    .hero-lead {
        font-size: 12px;
    }


    .hero-badge_under {
        margin-right: 2%;
    }

    .global-nav a {
        font-size: 14px;
    }

    .hero-aside-image {
        top: -2%;
        max-width: calc(23vw + 20px);
    }

    .hero-visual-side {
        margin-top: 40px;
    }

    .intro-section {
        padding: 20px 0 80px 0;
    }

    .intro-container {
        padding: 0 40px;
    }

    .intro-block-right {
        margin-top: 100px;
    }

    .intro-block-left .intro-text {
        margin-left: 20%;
    }

    .intro-block-right .intro-text {
        margin-left: 24%;
    }

    .gallery-grid {
        gap: 24px;
    }

    .product-id-brand {
        justify-content: flex-start;
        gap: 28.8%;
    }

    .product-detail-block {
        padding: 80px 0;
    }

    .product-lower-description-grid {
        gap: 40px;
    }

    .id-badge {
        font-size: 48px;
    }

    .brand-monogram {
        width: 96px;
    }

    .importance-section {
        padding: 60px 0 80px;
    }

    .importance-card {
        padding: 56px 48px;
        gap: 48px;
    }

    .importance-heading {
        font-size: 24px;
    }

    .footer-top-flex {
        padding: 0 40px;
    }

    .f-desc {
        width: 100%;
    }

    .intro-container {
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 0;
    }

    .intro-block-left,
    .intro-block-right {
        width: 50%;
        align-items: flex-start;
        flex-direction: column;
    }

    .intro-block-right {
        margin-top: 140px;
    }

    .intro-img-small-wrap,
    .intro-img-large-wrap {
        align-self: auto;
        transform: none;
        margin: 0 0 32px 0;
    }

    .intro-img-small-wrap img,
    .intro-img-large-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .intro-block-left .intro-text {
        margin-left: 24%;
        text-align: center;
        padding: 0;
    }

    .intro-block-right .intro-text {
        margin-left: 28%;
        text-align: center;
        padding: 0;
    }

    .card-left {
        display: block;
        /* SPのflex横並びを解除 */
        width: 100%;
    }

    .importance-heading {
        writing-mode: horizontal-tb;
        margin-bottom: 40px;
        font-size: 24px;
        line-height: 2;
    }

    .card-right {
        width: 52%;
    }

    .sp-tab-nav {
        display: none !important;
    }

    .sp-tab-panel {
        display: block !important;
        order: 2;
        background: transparent;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .product-id-brand {
        position: relative;
        justify-content: flex-start;
        gap: 28.8%;
    }

    .brand-monogram {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: -20px;
    }

    .importance-card {
        align-items: center;
        padding: 56px 48px;
        gap: 48px;
    }

    .card-left {
        width: 100%;
        display: block;
    }

    .card-right {
        width: 100%;
    }

    .importance-heading {
        writing-mode: horizontal-tb;
        font-size: 24px;
        letter-spacing: 0.2em;
        margin-bottom: 32px;
        line-height: 2;
    }

    .main-stage-wrapper {
        aspect-ratio: 14.6 / 10;
    }

    .canvas-inner {
        padding: 3%;
    }


    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        overflow-x: visible;
    }

    .product-card {
        flex: initial;
    }

    .product-card-title {
        font-size: 32px;
    }
}

/* ==========================================================================
   スクロールフェードイン（ふわっと浮き上がる）
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transition: opacity 2s var(--shadow-soft);
}

.scroll-reveal.is-triggered {
    opacity: 1;
}

/* ==========================================================================
   ヒーロー：画像→文字の順でふわっと出る（右の画像から）
   ========================================================================== */
.hero-visual-side,
.hero-aside-image,
.hero-badge-ud,
.hero-title,
.hero-lead {
    opacity: 0;
    animation: heroFade 2.4s var(--shadow-soft) forwards;
}

.hero-visual-side {
    animation-delay: 0.6s;
}

.hero-aside-image {
    animation-delay: 1.1s;
}
.hero-badge-ud {
    animation-delay: 1.6s;
}

.hero-title {
    animation-delay: 2.1s;
}

.hero-lead {
    animation-delay: 2.6s;
}

@keyframes heroFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-visual-side,
    .hero-aside-image,
    .hero-badge-ud,
    .hero-title,
    .hero-lead {
        opacity: 1;
        animation: none;
    }
}


/* ==========================================================================
   イントロセクション：画像→文字の順でふわっと出る（左→右）
   ========================================================================== */
.intro-img-small-wrap,
.intro-block-left>.intro-text,
.intro-img-large-wrap,
.intro-block-right>.intro-text {
    opacity: 0;
}

.intro-section.is-triggered .intro-img-small-wrap {
    animation: heroFade 2.4s var(--shadow-soft) forwards;
    animation-delay: 0.2s;
}

.intro-section.is-triggered .intro-block-left>.intro-text {
    animation: heroFade 2.4s var(--shadow-soft) forwards;
    animation-delay: 1.2s;
}

.intro-section.is-triggered .intro-img-large-wrap {
    animation: heroFade 2.4s var(--shadow-soft) forwards;
    animation-delay: 0.7s;
}

.intro-section.is-triggered .intro-block-right>.intro-text {
    animation: heroFade 2.4s var(--shadow-soft) forwards;
    animation-delay: 1.7s;
}

@media (prefers-reduced-motion: reduce) {

    .intro-img-small-wrap,
    .intro-block-left>.intro-text,
    .intro-img-large-wrap,
    .intro-block-right>.intro-text {
        opacity: 1;
        animation: none;
    }
}

@media (max-width: 600px) {

    .intro-section.is-triggered .intro-img-small-wrap {
        animation: heroFade 2.4s var(--shadow-soft) forwards;
        animation-delay: 1s;
    }

    .intro-section.is-triggered .intro-block-left>.intro-text {
        animation: heroFade 2.4s var(--shadow-soft) forwards;
        animation-delay: 0.5s;
    }

    .intro-section.is-triggered .intro-img-large-wrap {
        animation: heroFade 2.4s var(--shadow-soft) forwards;
        animation-delay: 2s;
    }

    .intro-section.is-triggered .intro-block-right>.intro-text {
        animation: heroFade 2.4s var(--shadow-soft) forwards;
        animation-delay: 1.5s;
    }
}



/* ==========================================================================
   Contact Form 7 デザイン調整
   ========================================================================== */

.form-board-wrapper input[type="text"],
.form-board-wrapper input[type="email"],
.form-board-wrapper input[type="tel"],
.form-board-wrapper textarea,
.form-board-wrapper select {
    width: 100%;
    border: 1px solid #E8DED4 !important;
    background: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: -12px;
    margin-bottom: 8px;
}

.form-board-wrapper .wpcf7-form-control {
    width: 100%;
    box-sizing: border-box;
}

.form-note {
    font-size: 12px;
    font-weight: 400;
    color: var(--accent-terracotta);
    margin-left: 8px;
}

.form-board-wrapper {
    background: #FFF4EA;
    border: none;
    border-radius: 32px;
    padding: 56px 48px;
}

@media (max-width: 600px) {

    .form-board-wrapper input[type="text"],
    .form-board-wrapper input[type="email"],
    .form-board-wrapper input[type="tel"],
    .form-board-wrapper textarea,
    .form-board-wrapper select {
        padding: 12px 20px;
    }
}

/* ==========================================================================
   プルダウン項目：ラベルとプルダウンの間隔を空ける
   ========================================================================== */

/* CF7が挿入する p の余白をリセット */
.form-board-wrapper .form-group p {
    margin: 0;
}

/* プルダウンが上に引っ張られているのを打ち消す */
.form-board-wrapper .select-styled-wrapper select {
    margin-top: 0;
}

/* プルダウン項目のラベル下に余白を作る */
.form-board-wrapper .form-group:has(.select-styled-wrapper) .form-label {
    display: block;
    margin-bottom: 12px;
}

.wpcf7-list-item {
    margin: 0 0 0 0;
}


/* CONTACT見出しを枠の中に入れたとき用の余白調整 */
.form-board-wrapper .subpage-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-board-wrapper .subpage-header .subpage-lead {
    margin-top: 24px;
}

.thumb-circle-btn {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.thumb-circle-btn:focus,
.thumb-circle-btn:focus-visible,
.thumb-circle-btn:active {
    outline: none;
    background: #fff;
}

.thumb-circle-btn {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.thumb-circle-btn:focus,
.thumb-circle-btn:focus-visible,
.thumb-circle-btn:active {
    outline: none;
}

.color-selector-axis,
.thumb-circle-btn,
.thumb-circle-btn img {
    user-select: none;
    -webkit-user-select: none;
}

/* ==========================================================================
   ボタン順序の明示（PC: カタログ → 購入, SP: 購入 → カタログ）
   ========================================================================== */
@media (min-width: 601px) {
    .interactive-action-cluster {
        flex-direction: row;
    }

    .interactive-action-cluster .cta-link-btn.type-download {
        order: 0;
    }

    .interactive-action-cluster .cta-link-btn.type-purchase {
        order: 1;
    }
}



@media (max-width: 600px) {
    .importance-card .card-right {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
        margin-right: -60px;
        margin-left: 52px;
        padding-right: 40px;
        border-radius: 16px 0 0 16px;
    }
}

.sp-only {
    display: none;
}


@media (max-width: 600px) {
    .sp-only {
        display: inline;
    }

    .tb-only {
        display: none;
    }
}

@media (max-width: 600px) {
    .diagram-scroller {
        margin-left: -28px;
        margin-right: -28px;
    }

    .diagram-track {
        padding-left: 28px;
    }
}

.kumamoto {
    font-family: "commuters-sans", sans-serif !important;
    margin-right: 4px;
    font-size: 30px;
}

@media (max-width: 600px) {
    .kumamoto {
        margin-right: 2px;
        font-size: 20px;
    }
}



.U {
    color: var(--accent-terracotta);
}

/* ==========================================================================
   プライバシーポリシー：見出しコンパクト化（Figma案準拠）
   既存の「11. Privacy / Legal」セクションの直後に追記してください
   ========================================================================== */

.privacy-header-compact {
    margin-bottom: 40px;
    margin-top: 0;
}

.privacy-header-compact .subpage-lead {
    margin-top: 16px;
}

.privacy-title-caps {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 600px) {
    .privacy-header-compact {
        margin-bottom: 28px;
    }
}

/* ==========================================================================
   プライバシーポリシー：見出しタイトルを大文字表記に（Figma案準拠）
   既存の「11. Privacy / Legal」セクションの直後に追記してください
   ※ 余白は .subpage-header / .form-board-wrapper の標準値（お問い合わせページと共通）
     をそのまま使うため、追加のCSSは不要です
   ========================================================================== */

.privacy-title-caps {
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.legal-contact a {
    text-decoration: none;
}