@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
    --brand-blue: #6E6AD9;
    --gray: #EEEEEE;
    --accent: #F0C339;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --border-color: #DDDDDD;
}
body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    margin: 0; padding: 0; font-size: 16px; line-height: 1.8; color: var(--text-dark);
    background-color: #FFFFFF; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-weight: 700; line-height: 1.4; margin-top: 2em; margin-bottom: 1em; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; color: var(--brand-blue); border-bottom: 3px solid var(--brand-blue); padding-bottom: 0.3em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; color: var(--brand-blue); margin-top: 1.5em; border-left: 5px solid var(--accent); padding-left: 0.8em;}
p { margin-bottom: 1em; }
ul { padding-left: 20px; }
a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- 汎用ユーティリティ: 余白と整列の再利用を容易に --- */
.text-center { text-align: center; }
.centered-block { max-width: 800px; margin-left: auto; margin-right: auto; text-align: left !important;     /* ← 中央寄せ継承を上書き */
  line-height: 1.7; }
.stack-md { margin-top: clamp(24px, 4vw, 36px); }
.stack-lg { margin-top: clamp(32px, 5vw, 48px); }
/* === レイアウトコンテナ === */
.header-container {
    max-width: none;
    margin: 0;
    width: 100%;
}
/* --- 余白調整: コンテナ左右の余白をビューポートに応じて最適化 --- */
.section-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(18px, 5vw, 36px);
    padding-bottom: clamp(24px, 5vw, 60px); /* ← 追加：下の内部余白 */
}

.section-container h2,
.hero-subtitle {
  color: #222222 !important;
  border-bottom: 3px solid #222222 !important;
  display: block !important;     /* ← 全幅に変更 */
  padding-bottom: 8px;           /* 線と文字の間隔を確保 */
  width: 100%;                   /* 幅いっぱいに伸ばす */
  box-sizing: border-box;
}


/* --- 余白調整: セクション上下の間隔を統一しPC/モバイル双方で自然に --- */
section {
    padding: clamp(56px, 8vw, 92px) 0;
}
.section-gray { background-color: var(--gray); 
padding: clamp(24px, 4vw, 48px) 0;  /* ← 上下の余白をやや小さめに */
margin: 0; }
/* Podea-01 hero section overrides */
/* --- ヒーローセクションの上下余白を拡充し視線誘導をスムーズに --- */
body.base-page .hero {
  background-color: var(--brand-blue);
  color: var(--text-light);
  text-align: center;
  padding: clamp(72px, 10vw, 108px) 0 clamp(56px, 8vw, 88px);
}

body.base-page .hero.section,
body.base-page .hero.section-gray,
body.base-page .hero.hero-section {
  padding-bottom: clamp(48px, 7vw, 80px) !important;
}

.base-page .hero.hero-blue {
  background-color: var(--brand-blue);
  color: var(--text-light);
}

.base-page .hero.hero-gray {
  background-color: var(--gray);
  color: var(--text-dark);
  padding-bottom: 0;   /* これを追加 */
  margin-bottom: 0;    /* 必要に応じて追加 */
}

.base-page .hero.hero-gray .hero-title,
.base-page .hero.hero-gray .hero-subtitle {
  color: var(--text-dark);
}

.product-overview {
  background-color: var(--gray);
  color: var(--text-dark);
}

.product-overview details {
  margin-top: clamp(20px, 4vw, 28px);
}

.product-overview details summary {
  font-weight: 700;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-title {
  font-size: clamp(1.3rem, 1vw + 1rem, 2rem);
  line-height: 1.6;
  margin: 0;
  color: #6E6AD9 !important; /* ← 上書きされないよう固定 */
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

.hero-image {
  width: clamp(400px, 28vw, 600px);
  height: auto;
  object-fit: contain;
}

/* スマホでは縦並びに戻す */
@media (max-width: 768px) {
  .hero-text {
    text-align: center;
  }
  .hero-image {
    width: 85%;
  }
}

.hero-subtitle { font-size: 1.2rem; font-weight: bold; margin: 20px 0; }
.hero .cta-buttons {
  margin-top: clamp(24px, 4vw, 36px);
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3.5vw, 28px);
  flex-wrap: wrap;
}
.btn { display: inline-block; padding: 15px 30px; font-size: 1.1rem; font-weight: 700; border-radius: 8px; text-align: center; transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.2); text-decoration: none; }
.btn-primary { background-color: var(--accent); color: var(--text-dark); }
.btn-secondary {
  background-color: #fff;
  color: #000 !important;     /* 文字を黒に */
  border: 2px solid #000 !important;  /* 枠線も黒に */
}

.section-gallery {
  background-color: #F0C339;
  color: #2a1c16; /* テキストが読みやすくなるように濃いめの茶色推奨 */
  text-align: center; /* ← 中央揃え */
  padding: clamp(28px, 4vw, 48px) 0; /* ← 約半分に */
}

.section-gallery h2 {
  color: #2a1c16;
  border: none;        /* ← 棒線を消す */
  margin-bottom: 1em;
}
.section-gallery p {
  color: #2a1c16;
  margin-bottom: 1.5em;
}

.section-gallery .gallery-button {
  background-color: #6E6AD9 !important;
  color: #FFFFFF !important;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
}

.section-gallery .gallery-button:hover {
  background-color: #5a57b3 !important;
  color: #FFFFFF !important;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* --- CTAブロック: ボタン周辺の余白を統一 --- */
.cta-section .cta-buttons {
  margin-top: clamp(24px, 4vw, 36px);
}

.cta-section {
  width: 100vw;              /* ブラウザ幅全体に広げる */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;        /* 中央基準で全幅表示 */
  margin-right: -50vw;
  padding: 80px 0;           /* 上下の余白だけ残す */
  box-sizing: border-box;
}

.cta-buttons .btn.btn-primary {
  background-color: #6E6AD9;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 36px;
  font-weight: 700;
  transition: background-color 0.3s ease;
}
.cta-buttons .btn.btn-primary:hover {
  background-color: #5a57b3;
}

.cta-buttons .btn {
  padding: clamp(12px, 2.5vw, 16px) clamp(24px, 4vw, 36px);
}

#contact .cta-buttons {
  flex-direction: column;
  gap: clamp(16px, 3.5vw, 24px);
  align-items: center;
}

#contact .cta-buttons .btn {
  width: clamp(240px, 36vw, 360px);
}

@media (max-width: 768px) {
  #contact .cta-buttons {
    width: 100%;
  }

  #contact .cta-buttons .btn {
    width: 100%;
    max-width: 420px;
  }
}
.btn-dark { background-color: #fff; color: var(--brand-blue); }
.btn-cta-main { background-color: var(--brand-blue); color: var(--text-light); }
.btn-cta-main:hover { background-color: #5a57b3; color: var(--text-light); }
/* --- セクション内のコンテンツ間隔を統一 --- */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 48px);
    align-items: center;
    margin-top: clamp(32px, 5vw, 48px);
}
.feature-grid .feature-text { grid-column: span 1; }
.feature-grid .feature-image { grid-column: span 1; }
.feature-grid:nth-child(even) .feature-text { order: 2; }
.feature-grid:nth-child(even) .feature-image { order: 1; }
.feature-image img { width: 100%; height: auto; border-radius: 8px; object-fit: contain; background-color: #fff; }

/* --- 特徴カードここから --- */
.features-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(24px, 4vw, 40px);
    margin-top: clamp(32px, 5vw, 48px);
    margin-bottom: clamp(32px, 5vw, 64px); /* ← 追加：下の余白 */
}
.feature-card {
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
}
.feature-card img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: transparent;
}
.feature-card h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--text-dark) !important; /* ← 既存テーマの黒系変数を利用 */
    border-bottom: none;
}
.feature-card h4 {
    font-size: 1.1rem;
    border: none;
    padding-left: 0;
    margin-top: 1em;
}
.feature-card p {
    font-size: 0.95rem;
    flex-grow: 1;
}
/* --- 特徴カードここまで --- */

/* --- 拡張性セクションここから --- */
.expand-example {
    margin-top: clamp(32px, 5vw, 48px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.white-bg {
    background-color: #FFFFFF;
}
.expand-example img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto 0;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
/* --- 拡張性セクションここまで --- */

.image-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(16px, 3vw, 28px);
    margin-top: clamp(18px, 3vw, 28px);
}
.image-pair img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
@media (max-width: 768px) {
    .image-pair {
        grid-template-columns: 1fr;
    }
}

/* --- アコーディオン余白調整: 開閉ブロックの上下バランスを整える --- */
details {
    margin-top: clamp(18px, 3vw, 28px);
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

summary {
    padding: clamp(16px, 3.5vw, 22px);
    font-weight: bold;
    cursor: pointer;
    position: relative;
}
summary::after { content: '+'; position: absolute; right: 1em; font-size: 1.5em; line-height: 1; }
details[open] summary::after { content: '−'; }
.details-content {
    padding: clamp(16px, 3.5vw, 24px) clamp(16px, 3.5vw, 24px) clamp(20px, 4vw, 28px);
    border-top: 1px solid var(--border-color);
}

.details-content.highlight-card {
    background: #f9f9f9;
    color: var(--text-dark);
    border-radius: 4px;
    text-align: left !important;     /* ← 中央寄せ継承を上書き */
    line-height: 1.7;
}
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(24px, 4vw, 40px);
    text-align: center;
}

.price-card {
    background-color: #fff;
    padding: clamp(24px, 3.5vw, 32px) clamp(20px, 3vw, 28px);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}
.price-card h3 { color: var(--brand-blue); margin-top: 0; }
.price-tag {
  font-size: 2rem;
  font-weight: bold;
  color: #222222 !important;  /* ← 黒に変更 */
  margin: 10px 0;
}
.price-tag span { font-size: 1rem; font-weight: normal; }

.price-section-image {
  display: block;
  margin: clamp(24px, 4vw, 40px) auto;
  max-width: clamp(320px, 35vw, 420px); /* ← デバイス幅に応じて自然に縮む */
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.corsa-price-grid {
    grid-template-columns: minmax(280px, 1fr) minmax(260px, 1fr);
    align-items: center;
    text-align: left;
}

.corsa-price-grid .price-card ul {
    margin: clamp(16px, 3vw, 24px) 0 0;
    padding-left: 1.2em;
    list-style: disc;
    line-height: 1.6;
}

.corsa-price-grid .price-card ul li {
    margin-bottom: 0.4em;
}

.price-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.price-image .price-section-image {
    margin: 0;
}

.spec-table { width: 100%; border-collapse: collapse; margin-top: 1em; font-size: 0.9rem; }
.spec-table th, .spec-table td { border: 1px solid var(--border-color); padding: 10px; text-align: left; vertical-align: top; }
.spec-table th { background-color: var(--gray); width: 25%; font-weight: bold; }
.spec-table td ul { margin: 0; padding-left: 1.2em; }
.spec-table .category-row th { background-color: var(--brand-blue); color: var(--text-light); font-size: 1.1rem; text-align: center; }
.material-table { width: 100%; border-collapse: collapse; margin-top: 2em; }
.material-table th, .material-table td { border: 1px solid var(--border-color); padding: 12px 15px; text-align: left; }
.material-table th { background-color: var(--brand-blue); color: var(--text-light); }
/* 2列目：中央揃え＆太字（彫刻のみ） */
.material-table td:nth-child(2) {
  text-align: center;
}
/* 備考列（3列目）だけ左寄せ＆通常ウェイトに戻す */
.material-table td:nth-child(3) {
  text-align: left !important;
  font-weight: normal !important;
  font-size: 1rem; /* 文字サイズも少し下げる */
}
.material-table tbody tr { transition: background-color 0.2s ease; }
.material-table tbody tr:hover { background-color: #f5f5f5; cursor: pointer; }
.responsive-toggle { margin-top: 2em; }
.responsive-toggle summary { display: flex; flex-direction: column; gap: 0.35em; padding-right: 3em; }
.responsive-toggle summary::after { top: 50%; transform: translateY(-50%); font-size: 2rem; }
.toggle-summary-label { font-size: 1.1rem; }
.toggle-summary-note { font-size: 0.9rem; font-weight: 400; color: #555555; }
.spec-toggle { margin-top: 1.2em; }
.spec-note { text-align: right; font-size: 0.85rem; color: #555555; margin: 0.3em 0 1.2em; }
.materials-legend { text-align: center; font-weight: bold; margin: 0 0 1.2em; }
.cta-section { background-color: var(--accent); text-align: center; }
.cta-section h2 { color: var(--text-dark); border: none; }
.cta-section p { max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-highlight { background-color: var(--accent); }
.option-section { padding-top: clamp(32px, 6vw, 48px); }

.pdc-option-block {
  display: flex;
  gap: clamp(32px, 6vw, 60px);
  align-items: flex-start;
  background-color: #fff;
  border-radius: 12px;
  padding: clamp(24px, 5vw, 40px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.pdc-option-image {
  flex: 0 0 clamp(240px, 32vw, 360px);
}

.pdc-option-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  background-color: #fff;
}

.pdc-option-info {
  flex: 1;
}

.pdc-option-title {
  margin-top: 0;
  margin-bottom: clamp(16px, 3vw, 24px);
}

.pdc-option-tax-note {
  margin: 0 0 clamp(16px, 3vw, 24px);
  color: #666666;
  font-size: 0.95rem;
}

.pdc-option-note {
  margin: 0 0 clamp(24px, 4vw, 32px);
}

.pdc-option-note small {
  font-size: 0.85rem;
  color: #666666;
}

.pdc-option-info .btn {
  margin-top: clamp(16px, 3vw, 24px);
}

.product-action-cta {
  background-color: #F0C339;
  color: #2a1c16;
  text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
}

.product-action-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(48px, 10vw, 80px) clamp(18px, 5vw, 32px);
}

.product-action-title {
  color: #2a1c16;
  border: none;
  margin-top: 0;
  margin-bottom: clamp(20px, 4vw, 28px);
}

.product-action-lead {
  margin: 0 auto clamp(32px, 5vw, 40px);
  font-size: 1rem;
  line-height: 1.7;
}

.product-action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 3vw, 20px);
}

.product-action-button {
  display: block;
  width: clamp(240px, 40vw, 360px);
  padding: clamp(16px, 3vw, 20px) clamp(20px, 4vw, 24px);
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  border: 2px solid #6E6AD9;
  color: #6E6AD9;
  background-color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.product-action-button.is-primary {
  background-color: #6E6AD9;
  color: #ffffff;
}

.product-action-button.is-primary:hover {
  background-color: #5a57b3;
}

.product-action-button.is-secondary {
  border-color: transparent;
  background-color: #fff7e6;
  color: #6E6AD9;
}

.product-action-button.is-secondary:hover {
  background-color: #ffffff;
}

.product-action-button:focus-visible {
  outline: 3px solid rgba(0, 94, 152, 0.45);
  outline-offset: 2px;
}
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .section-container {
        padding: 0 clamp(16px, 6vw, 24px);
        padding-bottom: clamp(40px, 10vw, 80px); /* ← スマホ時に余白を強めに */
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    body.base-page .hero {
        padding: 48px 0 56px;
        text-align: center;
    }

    body.base-page .hero h1 {
        font-size: 20px;
        line-height: 1.8;
        margin: 0 auto 20px;
        max-width: 92%;
        word-break: break-word;
        white-space: normal;
    }

    body.base-page .hero h2 {
        font-size: 17px;
        line-height: 1.7;
        margin: 0 auto 22px;
        max-width: 92%;
        word-break: break-word;
        white-space: normal;
    }

    body.base-page .hero p {
        font-size: 15px;
        line-height: 1.8;
        margin: 0 auto 26px;
        max-width: 92%;
        word-break: break-word;
        white-space: normal;
    }

    body.base-page .hero img {
        width: 88%;
        height: auto;
        display: block;
        margin: 24px auto 0;
    }
    .feature-grid,
    .feature-grid:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .feature-grid .feature-text,
    .feature-grid:nth-child(even) .feature-text {
        order: 2;
    }

    .feature-grid .feature-image,
    .feature-grid:nth-child(even) .feature-image {
        order: 1;
    }

    .corsa-price-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .corsa-price-grid .price-card {
        align-items: center;
        text-align: center;
    }

    .corsa-price-grid .price-card ul {
        width: 100%;
        padding-left: 1.4em;
        text-align: left;
    }

    .price-image {
        margin-top: clamp(16px, 5vw, 28px);
    }

    .pdc-option-block {
        flex-direction: column;
        align-items: stretch;
    }

    .pdc-option-image {
        flex: none;
    }

    .pdc-option-info {
        width: 100%;
    }

    .product-action-inner {
        padding: clamp(36px, 12vw, 56px) clamp(16px, 6vw, 28px);
    }

    .product-action-button {
        width: min(100%, 320px);
    }

    #contact .cta-buttons .btn {
        width: 100%;
    }

    .spec-table th {
        width: 35%;
    }
}

.title-row{
  display:inline-flex;
  align-items:baseline;      /* ベースラインを揃える */
  gap:.5em;
  white-space:nowrap;        /* 1行固定 */
  justify-content:center;
}
.title-logo{
  height:48px;               /* 必要なら数値調整可 */
  width:auto;
  vertical-align:middle;
}
.title-variant{
  font-weight:700;
  font-size:clamp(16px, 2.2vw, 28px);
  color:#6E6AD9;             /* 既存の見出し色に合わせる */
}

@media (max-width:480px){
  .title-logo{ height:40px; }
  .title-variant{ font-size:clamp(14px, 4vw, 20px); }
}
.model-image {
  display: block;
  text-align: center;
  margin: 12px 0 18px 0;
}

.model-image img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ddd;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.model-example-caption {
  display: block;
  margin-top: 6px;
  text-align: center;
  font-size: 0.9em;
  color: #555;
}

@media (max-width: 768px) {
  body.base-page .hero {
    padding: 24px 16px 12px;
    text-align: center;
  }

  body.base-page .hero h1 {
    font-size: 20px;
    line-height: 1.9;
    margin: 0 auto 18px;
    text-align: center;
    max-width: 90%;
    word-break: break-word;
    white-space: normal;
  }

  body.base-page .hero h2 {
    font-size: 17px;
    line-height: 1.8;
    margin: 0 auto 22px;
    text-align: center;
  }
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    background-color: #1a1a1a;
    padding: 1rem;
    border-radius: 8px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}
  body.base-page .hero p {
    font-size: 15px;
    line-height: 1.8;
    margin: 0 auto 28px;
    text-align: center;
    max-width: 90%;
    word-break: break-word;
    white-space: normal;
  }

  body.base-page .hero img {
    width: 85%;
    height: auto;
    display: block;
    margin: 24px auto 0;
    line-height: 0;
  }

}


.title-logo {
  width: 60%;              /* 通常時は控えめに */
  max-width: 420px;        /* デスクトップ上限 */
  height: auto;
  display: block;
  margin: 0 auto 16px auto;
}

@media (max-width: 1024px) {
  .title-logo {
    width: 70%;
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .title-logo {
    width: 80%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .title-logo {
    width: 85%;
    max-width: 240px;
  }
}
/* --- Video Section --- */
.video-section {
  width: 100%;
  background-color: #1a1a1a;
  padding: clamp(40px, 6vw, 80px) 0;
  margin: 0;
  text-align: center;
  color: #fff;
}

.video-section h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 1.8rem;
  border-bottom: none;
}

.video-section p {
  margin-bottom: 2em;
  font-size: 1rem;
  color: #ccc;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;  /* ← 比率固定（最優先） */
  overflow: hidden;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-section h3 {
    font-size: 1.5rem;
  }

  .video-section p {
    font-size: 0.9rem;
  }
}

/* --- Stella F20専用タイトルの色と線調整 --- */
.product-overview .hero-subtitle {
  font-size: clamp(28px, 3vw, 48px) !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin: 20px 0;
  color: #6E6AD9 !important;              /* 文字色をブランドブルー */
  border-bottom: 3px solid #6E6AD9 !important; /* 線もブルーに固定 */
  display: inline-block;
  padding-bottom: 8px;
}

.price-detail {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  margin-top: 1.2rem;
  text-align: left;       /* ← flexでalign-items: flex-startなので左寄せで統一 */
  max-width: 90%;         /* ← 読みやすくするため少し余白を確保 */
}

/* === ヒーローセクションの余白調整 === */
.hero {
  padding-top: clamp(32px, 5vw, 48px) !important;
  padding-bottom: clamp(8px, 2vw, 20px) !important;
}

.hero .section-container {
  padding-bottom: clamp(8px, 2vw, 20px) !important;
}

.hero-image {
  margin-bottom: 0 !important;
  display: block;
}

@media (max-width: 768px) {
  .hero .section-container {
      padding-bottom: clamp(8px, 3vw, 20px) !important;
  }
}