/* ============================================
   region-feature 拡張スタイル (YKK AP専用)
   既存 style-area.area.css の .inner.region-feature を補完
   bunka 版をベースに、YKK AP用の拡張セクションを追加
   ・.rf-local-areas  地域別シャッター需要テーブル
   ・.rf-trouble-list 地域特化トラブル事例
   ・.rf-record       地域別実績コメント
   ============================================ */

/* === SP (max-width: 736px) === */
@media screen and (max-width: 736px) {

  /* Block 1: detail-contents 段落間余白 */
  .inner.region-feature .detail-contents p + p {
    margin-top: 14px;
  }

  /* Block 2: サブ見出し */
  .inner.region-feature .rf-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #243f96;
    text-align: center;
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d7dbe8;
  }

  /* Block 2: 製品カードグリッド */
  .inner.region-feature .rf-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .inner.region-feature .rf-product-card {
    background: #fff;
    border: 1px solid #d7dbe8;
    border-left: 4px solid #243f96;
    border-radius: 6px;
    padding: 12px 14px;
  }

  .inner.region-feature .rf-product-name {
    font-size: 15px;
    font-weight: 700;
    color: #243f96;
    margin-bottom: 4px;
  }

  .inner.region-feature .rf-product-desc {
    font-size: 13px;
    line-height: 1.7;
    color: #333;
  }

  /* Block 3: 駅タグ */
  .inner.region-feature .rf-station-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
  }

  .inner.region-feature .rf-tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 14px;
    background: #243f96;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
  }

  /* Block 3: CTA */
  .inner.region-feature .rf-cta {
    text-align: center;
    margin-top: 14px;
    padding: 14px;
    background: #f0f3ff;
    border-radius: 6px;
  }

  .inner.region-feature .rf-cta p {
    font-size: 14px;
    font-weight: 700;
    color: #243f96;
    line-height: 1.6;
  }

  /* Block 4: 地域別シャッター需要テーブル (YKK AP拡張) */
  .inner.region-feature .rf-local-areas {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 20px;
    font-size: 13px;
    background: #fff;
    border: 1px solid #d7dbe8;
    border-radius: 6px;
    overflow: hidden;
  }

  .inner.region-feature .rf-local-areas thead {
    background: #243f96;
  }

  .inner.region-feature .rf-local-areas thead th {
    color: #fff;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
  }

  .inner.region-feature .rf-local-areas tbody td {
    padding: 10px 8px;
    border-top: 1px solid #e5e8f0;
    line-height: 1.6;
    vertical-align: top;
  }

  .inner.region-feature .rf-local-areas tbody tr:nth-child(even) {
    background: #f7f9ff;
  }

  .inner.region-feature .rf-local-areas tbody td:first-child {
    font-weight: 700;
    color: #243f96;
    white-space: nowrap;
  }

  /* Block 5: 地域特化トラブル事例 (YKK AP拡張) */
  .inner.region-feature .rf-trouble-list {
    margin: 10px 0 20px;
    padding: 14px 14px 14px 16px;
    background: #fff8f0;
    border: 1px solid #f6d9b5;
    border-left: 4px solid #e88a2e;
    border-radius: 6px;
    list-style: none;
  }

  .inner.region-feature .rf-trouble-list li {
    position: relative;
    padding: 6px 0 6px 22px;
    font-size: 13px;
    line-height: 1.7;
    color: #333;
  }

  .inner.region-feature .rf-trouble-list li + li {
    border-top: 1px dashed #f1d4a8;
  }

  .inner.region-feature .rf-trouble-list li::before {
    content: '▶';
    position: absolute;
    left: 4px;
    top: 6px;
    color: #e88a2e;
    font-size: 11px;
  }

  .inner.region-feature .rf-trouble-list strong {
    color: #243f96;
    font-weight: 700;
  }

  /* Block 6: 地域別実績コメント (YKK AP拡張) */
  .inner.region-feature .rf-record {
    margin: 10px 0 20px;
    padding: 14px;
    background: #f0f3ff;
    border: 1px dashed #a7b4e0;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.8;
    color: #1d3a8e;
  }
}

/* === PC (min-width: 737px) === */
@media screen and (min-width: 737px) {

  /* Block 1: detail-contents 段落間余白 */
  .inner.region-feature .detail-contents p + p {
    margin-top: 16px;
  }

  /* Block 2: サブ見出し */
  .inner.region-feature .rf-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #243f96;
    text-align: center;
    margin: 32px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d7dbe8;
  }

  /* Block 2: 製品カードグリッド */
  .inner.region-feature .rf-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
  }

  .inner.region-feature .rf-product-card {
    background: #fff;
    border: 1px solid #d7dbe8;
    border-left: 4px solid #243f96;
    border-radius: 6px;
    padding: 16px 18px;
    transition: box-shadow 0.3s;
  }

  .inner.region-feature .rf-product-card:hover {
    box-shadow: 0 2px 8px rgba(36, 63, 150, 0.15);
  }

  .inner.region-feature .rf-product-name {
    font-size: 16px;
    font-weight: 700;
    color: #243f96;
    margin-bottom: 6px;
  }

  .inner.region-feature .rf-product-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
  }

  /* Block 3: 駅タグ */
  .inner.region-feature .rf-station-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
  }

  .inner.region-feature .rf-tag {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 14px;
    border-radius: 15px;
    background: #243f96;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 0.3s;
  }

  .inner.region-feature .rf-tag:hover {
    background: #3366cc;
  }

  /* Block 3: CTA */
  .inner.region-feature .rf-cta {
    text-align: center;
    margin-top: 18px;
    padding: 18px;
    background: #f0f3ff;
    border-radius: 6px;
  }

  .inner.region-feature .rf-cta p {
    font-size: 15px;
    font-weight: 700;
    color: #243f96;
    line-height: 1.6;
  }

  /* Block 4: 地域別シャッター需要テーブル (YKK AP拡張) */
  .inner.region-feature .rf-local-areas {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0 28px;
    font-size: 14px;
    background: #fff;
    border: 1px solid #d7dbe8;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(36, 63, 150, 0.05);
  }

  .inner.region-feature .rf-local-areas thead {
    background: #243f96;
  }

  .inner.region-feature .rf-local-areas thead th {
    color: #fff;
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
  }

  .inner.region-feature .rf-local-areas tbody td {
    padding: 14px 16px;
    border-top: 1px solid #e5e8f0;
    line-height: 1.7;
    vertical-align: top;
  }

  .inner.region-feature .rf-local-areas tbody tr:nth-child(even) {
    background: #f7f9ff;
  }

  .inner.region-feature .rf-local-areas tbody td:first-child {
    font-weight: 700;
    color: #243f96;
    white-space: nowrap;
    width: 22%;
  }

  .inner.region-feature .rf-local-areas tbody td:nth-child(2) {
    width: 33%;
  }

  /* Block 5: 地域特化トラブル事例 (YKK AP拡張) */
  .inner.region-feature .rf-trouble-list {
    margin: 12px 0 28px;
    padding: 18px 20px 18px 22px;
    background: #fff8f0;
    border: 1px solid #f6d9b5;
    border-left: 5px solid #e88a2e;
    border-radius: 6px;
    list-style: none;
  }

  .inner.region-feature .rf-trouble-list li {
    position: relative;
    padding: 8px 0 8px 26px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
  }

  .inner.region-feature .rf-trouble-list li + li {
    border-top: 1px dashed #f1d4a8;
  }

  .inner.region-feature .rf-trouble-list li::before {
    content: '▶';
    position: absolute;
    left: 4px;
    top: 10px;
    color: #e88a2e;
    font-size: 12px;
  }

  .inner.region-feature .rf-trouble-list strong {
    color: #243f96;
    font-weight: 700;
  }

  /* Block 6: 地域別実績コメント (YKK AP拡張) */
  .inner.region-feature .rf-record {
    margin: 12px 0 24px;
    padding: 18px 22px;
    background: #f0f3ff;
    border: 1px dashed #a7b4e0;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.9;
    color: #1d3a8e;
  }
}
