@charset "UTF-8";

.japan-map-section {
    /*max-width: 820px;*/
    margin: 40px auto;
    /*padding: 0 16px;*/
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
  }

  .map-instruction {
    text-align: center;
    font-size: 0.95rem;
    color: #8c684d;
    font-weight: bold;
    margin-bottom: 12px;
  }

  /* 地図画像とホットスポットの基準枠 */
  .japan-map-container {
    position: relative;
    width: 100%;
    /*max-width: 720px;*/
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #fdfaf7;
    border: 1px solid #e5dfd8;
  }

  .japan-map-container img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* タップ・クリック用のエリアボタン */
  .area-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.94);
    border: 2px solid #8c684d;
    color: #8c684d;
    font-weight: bold;
    font-size: 0.85rem;
    padding: 8px 14px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
    white-space: nowrap;
    z-index: 2;
  }

  .area-hotspot:hover {
    background: #8c684d;
    color: #ffffff;
    transform: translate(-50%, -52%) scale(1.04);
  }

  .area-hotspot::after {
    content: " 👆";
    font-size: 0.8rem;
  }

  /* 各エリアの座標（お持ちの地図イラストに合わせて%を微調整してください） */
  .spot-cold {
    top: 25%;
    left: 60%;
  }
  .spot-standard {
    top: 66%;
    left: 48%;
  }
  .spot-warm {
    top: 83%;
    left: 32%;
  }

  /* 下部の補助ボタン（地図が小さいスマホ画面でも確実に押せるように配置） */
  .area-button-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
  }

  .area-bar-btn {
    background: #fdfaf7;
    border: 1px solid #8c684d;
    color: #8c684d;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .area-bar-btn:hover {
    background: #8c684d;
    color: #fff;
  }

  /* モーダル（ポップアップ）背景 */
  .region-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }

  .region-modal-overlay.is-open {
    display: flex;
  }

  /* モーダル本体 */
  .region-modal-card {
    background: #ffffff;
    max-width: 560px;
    width: 100%;
    border-radius: 12px;
    padding: 28px 24px;
    position: relative;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.2s ease-out;
  }

  @keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .modal-close-btn {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #f3efe9;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #555;
    cursor: pointer;
    line-height: 1;
  }

  .modal-close-btn:hover {
    background: #e5dfd8;
  }

  .modal-area-badge {
    display: inline-block;
    background: #8c684d;
    color: #fff;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
  }

  .modal-area-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #222;
    margin: 0 0 14px 0;
    line-height: 1.4;
  }

  .modal-spec-box {
    background: #fdfaf7;
    border: 1px dashed #8c684d;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .modal-spec-box strong {
    color: #8c684d;
  }

  .modal-desc {
    font-size: 0.93rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
  }

  .modal-recommend-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .modal-cta-btn {
    display: block;
    background: #c94b4b;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.98rem;
    transition: background 0.2s ease;
  }

  .modal-cta-btn:hover {
    background: #b03e3e;
  }

  .modal-cta-btn.sub-cta {
    background: #8c684d;
  }

  .modal-cta-btn.sub-cta:hover {
    background: #73533b;
  }

  @media (max-width: 600px) {
    .area-hotspot {
      font-size: 0.72rem;
      padding: 6px 10px;
    }
    .region-modal-card {
      padding: 24px 18px;
    }
  }