@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
    --brand-red: #000000;
    --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-red); border-bottom: 3px solid var(--brand-red); padding-bottom: 0.3em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; color: var(--brand-red); 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-red); 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); /* ← 追加：下の内部余白 */
}

/* --- 余白調整: セクション上下の間隔を統一しPC/モバイル双方で自然に --- */
section {
    padding: clamp(56px, 8vw, 92px) 0;
}
.section-gray { background-color: var(--gray); 
padding: clamp(24px, 4vw, 48px) 0;  /* ← 上下の余白をやや小さめに */
margin: 0; }
.section-dark { background-color: var(--brand-red); color: var(--text-light); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text-light); border-color: var(--text-light); }
.main-header { background-color: #fff; border-bottom: 1px solid var(--border-color); padding: 10px 20px; position: sticky; top: 0; z-index: 100; }
.main-header .header-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.header-logo { font-size: 1.5rem; font-weight: bold; color: var(--brand-red); }
.main-nav { display: flex; gap: 15px; flex-wrap: wrap; }
.main-nav a { font-size: 0.9rem; font-weight: 700; color: var(--text-dark); padding: 5px 0; }
/* Podea-01 hero section overrides */
/* --- ヒーローセクションの上下余白を拡充し視線誘導をスムーズに --- */
body.base-page .hero {
  background-color: var(--brand-red);
  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;
}

.hero-title { font-size: 1.5rem; margin: 0 0 20px; }
.hero-image { 
  width: 100%; height: auto; 
  max-width: 800px; 
  object-fit: contain; 
  margin: 0 auto; 
  display: block; }
.site-logo { max-width: 200px; height: auto; margin: 0 auto; display: block; }
.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: var(--brand-red); border: 2px solid var(--brand-red); }

/* === 加工事例ギャラリーセクション === */
.section-gallery {
  background-color: #f3c23c; /* 黄色背景 */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-top: clamp(40px, 4vw, 60px);    /* ← 上を圧縮 */
  padding-bottom: clamp(60px, 5vw, 80px); /* ← 下は少し広めに */
  box-sizing: border-box;
  text-align: center;
}

.section-gallery .section-container {
  max-width: 1000px;         /* コンテンツ中央寄せ */
  margin: 0 auto;
  padding: 0 20px;
}

.section-gallery .gallery-button {
  background-color: #7A0A0A !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: #8C1010 !important;
  color: #FFFFFF !important;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

/* === 加工事例ギャラリー内の線を削除 === */
.section-gallery h2 {
  border: none !important;
  box-shadow: none !important;
}

.section-gallery h2::before,
.section-gallery h2::after {
  content: none !important;
  background: none !important;
}

/* --- CTAブロック: ボタン周辺の余白を統一 --- */
.cta-section .cta-buttons {
  margin-top: clamp(24px, 4vw, 36px);
}

.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-red); }
.btn-cta-main { background-color: var(--brand-red); color: var(--text-light); }
.btn-cta-main:hover { background-color: #600010; color: var(--text-light); }
/* --- セクション内のコンテンツ間隔を統一 --- */
.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    column-gap: clamp(32px, 5vw, 56px);
    row-gap: clamp(20px, 3vw, 28px);
    align-items: start;
    margin-top: clamp(32px, 5vw, 48px);
    grid-auto-rows: auto;
}
.feature-grid > .feature-lead,
.feature-grid > .feature-text {
    grid-column: 1;
    align-self: start;
}
.feature-grid > .feature-image {
    grid-column: 2;
    align-self: center;
    justify-self: center;
    width: 100%;
    max-width: min(100%, 460px);
    display: flex;
    justify-content: center;
}
.feature-grid > .feature-image picture,
.feature-grid > .feature-image img {
    display: block;
    width: 100%;
    height: auto;
}
.feature-grid > .feature-image img {
    border-radius: 8px;
    aspect-ratio: auto;
    object-fit: cover;
}

/* --- 特徴カードここから --- */
.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;
    aspect-ratio: 684 / 428;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 4px;
    background-color: #fff;
}
.feature-card h3 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--brand-red);
    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;
}
.price-card h3 { color: var(--brand-red); margin-top: 0; }
.price-tag { font-size: 2rem; font-weight: bold; color: var(--brand-red); 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: 500px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.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-red); color: var(--text-light); font-size: 1.1rem; text-align: center; }
.spec-table.compare-table { table-layout: fixed; }
.spec-table.compare-table thead th { background-color: var(--brand-red); color: var(--text-light); text-align: center; }
.spec-table.compare-table tbody th[scope="row"] { width: 28%; background-color: var(--gray); }
.spec-table.compare-table td { width: 36%; }
.spec-table.compare-table td, .spec-table.compare-table tbody th[scope="row"] { font-size: 0.95rem; }

/* Runcer仕様比較表：レスポンシブ折り返し表示 */
#spec .compare-table-wrapper {
    width: 100%;
}

#spec .spec-table.compare-table th,
#spec .spec-table.compare-table td {
    white-space: normal;
    word-break: break-word;
}

@media (min-width: 769px) {
    #spec .compare-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #spec .compare-table-wrapper .spec-table.compare-table {
        min-width: 640px;
    }
}

.spec-table.compare-table tbody tr:not(.category-row) { transition: background-color 0.2s ease; }
.spec-table.compare-table tbody tr:not(.category-row):hover { background-color: rgba(0, 0, 0, 0.03); }
.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-red); color: var(--text-light); }
.material-table td:nth-child(2), .material-table td:nth-child(3) { text-align: center; font-weight: bold; font-size: 1.2rem; }
.material-table tbody tr { transition: background-color 0.2s ease; }
.material-table tbody tr:hover { background-color: #f5f5f5; cursor: pointer; }
.responsive-toggle {
    width: 100%;
    max-width: 1000px; /* section-container と同じ最大幅 */
    margin: 2em auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    border: 1px solid #ddd;
}
.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, .materials-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;

  /* 上下の余白を調整 */
  padding-top: clamp(24px, 3vw, 40px);
  padding-bottom: clamp(24px, 3vw, 40px);
}
/* section-container内部の上下paddingを打ち消す */
.cta-section .section-container {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.cta-section h2 { color: var(--text-dark); border: none; }
.cta-section p { max-width: 600px; margin-left: auto; margin-right: auto; }
.main-footer { background-color: var(--text-dark); color: var(--text-light); text-align: center; padding: 40px 20px; }
.main-footer a { color: var(--text-light); }
@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; }

    .main-header .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav {
        justify-content: center;
    }

    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;
    }

    body.base-page .hero .hero-buttons,
    body.base-page .hero .btn-area {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 24px;
    }

    body.base-page .hero .hero-buttons a,
    body.base-page .hero .btn-area a {
        width: min(100%, 320px);
        font-size: 16px;
        padding: 12px 0;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        row-gap: clamp(20px, 6vw, 32px);
    }

    .feature-grid > .feature-lead,
    .feature-grid > .feature-text,
    .feature-grid > .feature-image {
        grid-column: 1;
        justify-self: stretch;
    }

    .feature-grid > .feature-lead { order: 1; }
    .feature-grid > .feature-text { order: 2; }
    .feature-grid > .feature-image {
        order: 3;
        max-width: 100%;
        justify-self: center;
    }

    #contact .cta-buttons .btn {
        width: 100%;
    }

    .spec-table th {
        width: 35%;
    }
}

@media (max-width: 768px) {
    #spec .compare-table-wrapper {
        overflow-x: visible;
    }

    #spec .compare-table-wrapper .spec-table.compare-table {
        min-width: 0;
    }
}

.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:#7a0a0a;             /* 既存の見出し色に合わせる */
}

@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;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid #ddd;
  object-fit: cover;
  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;
    max-width: 90%;
    word-break: break-word;
    white-space: normal;
  }

  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;
  }

  body.base-page .hero .hero-buttons,
  body.base-page .hero .btn-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
  }

  body.base-page .hero .hero-buttons a,
  body.base-page .hero .btn-area a {
    width: 80%;
    font-size: 16px;
    padding: 12px 0;
    text-align: center;
  }
}


.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;
  }
}

/* === Heroスライダー：フェード完全版 === */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  aspect-ratio: 1600 / 1016; /* 実画像比率に合わせる */
}

/* 両方の画像を重ねる */
.slider .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
  opacity: 0;
  animation: fadeSwap 8s infinite ease-in-out;
}

/* 1枚目の表示タイミング */
.slider .hero-image:nth-child(1) {
  animation-delay: 0s;
}

/* 2枚目の表示タイミング */
.slider .hero-image:nth-child(2) {
  animation-delay: 4s;
}

/* フェード切り替えアニメーション */
@keyframes fadeSwap {
  0%, 40% {
    opacity: 1;
  }
  50%, 90% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* スマホ用比率微調整 */
@media (max-width: 768px) {
  .slider {
    aspect-ratio: 3 / 2;
  }
}

/* === スライド右下に白文字を固定表示 === */
.slider {
  position: relative; /* ← テキスト位置の基準を画像に合わせる */
}

.slide-text {
  position: absolute;
  bottom: 20px;   /* 下からの距離 */
  right: 30px;    /* 右からの距離 */
  text-align: right;
  z-index: 5;     /* 画像の上に重ねる */
  pointer-events: none;
}

/* === スライド右下テキストの黄色線を完全に消す === */
.slide-text h4.fade-text {
  border: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.fade-text {
  opacity: 0;
  animation: textSwap 8s infinite ease-in-out;
  color: #fff !important;     /* 白文字固定 */
  font-weight: 600;
  font-size: 1.1rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* 光沢影で見やすく */
}

.fade-text:nth-child(1) { animation-delay: 0s; }
.fade-text:nth-child(2) { animation-delay: 4s; }

@keyframes textSwap {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

/* === Runcer Hero：ロゴとタイトルのバランス調整 === */
.runcer-hero {
  position: relative;
  text-align: center;
  overflow: visible;
}

.runcer-hero .section-container {
  position: relative;
  z-index: 1;
}

/* fv_logo.svg：タイトルより上に、少し余裕を持たせて配置 */
.runcer-logo {
  position: absolute !important;
  top: -60px;                /* ← ここがポイント：ロゴを上にずらす */
  left: 50%;
  transform: translateX(-50%); /* ← 中央揃えのみ（縦方向は top で管理） */
  width: 45%;
  max-width: 380px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 5;
}

/* キャッチコピーとの間に余白を確保 */
.runcer-hero .hero-subtitle {
  margin-top: 120px;          /* ← タイトルをロゴの下に押し下げる */
  font-size: 1.4rem;
  font-weight: 700;
  color: #000000;
  position: relative;
  z-index: 10;                /* ← ロゴより上にしない */
}

/* === Runcer タイトル部分：虫眼鏡アイコンを小さく自然に === */
.runcer-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.runcer-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.runcer-title-text h2 {
  font-size: 1.4rem;
  line-height: 1.4;
  margin: 0;
  color: #333;
}

.runcer-title-text p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  margin: 2px 0 0;
}

.feature-lead {
  display: flex;
  align-items: center; /* ← テキスト中央とアイコン中央を揃える */
  gap: 10px;           /* アイコンとテキストの間隔 */
  margin-top: 0;
  margin-bottom: clamp(8px, 2vw, 16px);
}

.lead-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
  margin-top: 2px; /* 微調整OK */
}

/* 下線はタイトル単体にではなく flex の中で自然に見せる */
.feature-lead .lead-title {
  margin: 0;
  line-height: 1.45;
  font-weight: 700;
  border-bottom: 3px solid #000000; /* 下線 */
  padding-bottom: 6px;
  flex: 1; /* ← 横幅を取るように */
}

.feature-lead .lead-icon {
  width: 38px !important;
  height: 38px !important;
}

.runcer-feature-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;              /* 2枚の間の余白 */
  margin: 40px auto;
  max-width: 1000px;      /* 全体の最大幅 */
  padding: 0 20px;        /* サイド余白 */
  box-sizing: border-box;
}

.runcer-feature-images img {
  width: 48%;             /* 横2枚に収まるように */
  max-width: 480px;       /* はみ出し防止 */
  height: auto;           /* 比率維持 */
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

/* === スマホ・タブレット対応 === */
@media (max-width: 1024px) {
  .runcer-feature-images {
    flex-wrap: wrap;      /* 横並び→折り返し */
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .runcer-feature-images {
    flex-direction: column;
    gap: 20px;
    padding: 0 16px;
  }

  .runcer-feature-images img {
    width: 100%;
    max-width: 100%;
  }
}

#spec.section-gray {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  padding-top: clamp(20px, 3vw, 36px);
  padding-bottom: clamp(20px, 3vw, 40px);
}

.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: #7A0A0A;   /* Podeaロゴレッド */
  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: #600808;   /* 濃いトーンでホバー */
}

/* === モデル価格セクション === */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); /* 2列固定 */
  align-items: start;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.price-grid .price-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.price-grid .price-item img {
  width: 50%;
  max-width: 380px;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.price-grid .price-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.price-card img {
  display: block;         /* ブロック要素にする（中央寄せ可能に） */
  margin: 0 auto;         /* 横方向の中央寄せ */
  width: 100%;
  max-width: 280px;       /* 画像サイズを制限（任意で調整） */
  height: auto;
  border-radius: 6px;
  object-fit: contain;
}



/* === 集塵脱臭機 PDC-3270 オプションカード === */
.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;
}

.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-features {
  margin: clamp(16px, 3vw, 24px) 0 clamp(20px, 4vw, 28px);
  padding-left: 20px;
  line-height: 1.7;
}

.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);
}

/* === Runcer CTA: オプション下の誘導ブロック === */
.runcer-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;               /* 内側余白をリセット */  
}

.runcer-action-inner {
  max-width: 520px;
  margin: 0 auto;
  padding-top: 60px; /* ← 好みで 60～120px くらいに調整 */
}

.runcer-action-title {
  color: #2a1c16;
  border: none;
  margin-top: 0;
  margin-bottom: clamp(20px, 4vw, 28px);
}

.runcer-action-lead {
  margin: 0 auto clamp(32px, 5vw, 40px);
  font-size: 1rem;
}

.runcer-action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center; /* ← 中央寄せに変更 */
  gap: clamp(16px, 3vw, 20px);
}

.runcer-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 #7a0a0a;
  color: #7a0a0a;
  background-color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.runcer-action-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.runcer-action-button.is-primary {
  background-color: #7a0a0a;
  color: #ffffff;
}

.runcer-action-button.is-primary:hover {
  background-color: #641212;
}

.runcer-action-button.is-secondary {
  border-color: transparent;
  background-color: #fff7e6;
  color: #7a0a0a;
}

.runcer-action-button.is-secondary:hover {
  background-color: #ffffff;
}

.runcer-action-button:focus-visible {
  outline: 3px solid rgba(122, 10, 10, 0.45);
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .runcer-action-inner {
    max-width: 100%;
  }
}
/* --- スマホでは縦1列 --- */
@media (max-width: 768px) {
  .price-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .price-grid .price-item {
    flex-direction: column;
    text-align: center;
  }

  .price-grid .price-item img {
    width: 100%;
    max-width: 100%;
  }

  .pdc-option-block {
    flex-direction: column;
    align-items: stretch;
  }

  .pdc-option-image {
    flex: none;
  }

  .pdc-option-info {
    width: 100%;
  }

  .pdc-option-info .btn {
    width: 100%;
    max-width: 320px;
    align-self: stretch;
  }
}

#materials.section-gray {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  padding-top: clamp(16px, 2.5vw, 28px);   /* ← 上の余白を圧縮 */
  padding-bottom: clamp(16px, 2.5vw, 32px); /* ← 下も軽く抑える */
}

.feature-lead-section {
  padding-top: clamp(10px, 1.5vw, 25px);
  padding-bottom: clamp(10px, 2vw, 30px);
}

.feature-lead-section .section-container {
  margin-bottom: clamp(10px, 1.5vw, 25px);
}

.feature-image.feature-image-wrap {
  margin-top: 0;
  padding: 0;
}

.feature-image.feature-image-wrap img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}





