﻿  :root {
    --transition-duration: 600ms;
    --header-height: 64px; /* ヘッダーの高さ */
    --side-panel-width: 320px; /* 追加: サイドメニューの共通張り出し幅 */
    /* ギャラリー・サムネイルのレスポンシブ変数 */
    --gallery-max-default: 640px;
    --gallery-max-desktop: 860px;
    --gallery-max-large: 1100px;
    --main-aspect: 16/9;
    --thumb-min: 48px;
    --thumb-mid: 72px;
    --thumb-max: 120px;
    --thumb-gap: 8px;
    --thumb-row-height: 96px; /* サムネイル領域の確保（高さ） */
  }

  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  /* 固定式ヘッダーのスタイル */
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
    transition: background-color 260ms ease, color 200ms ease;
  }

  .site-header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
  }

  /* 追加: ロゴ（タイトル）ホバー時に色を明るく */
  .site-header .logo a:hover {
    opacity: 0.75;
    transition: opacity 0.18s;
  }

  .site-header nav { display: flex; gap: 1rem; align-items: center; }

  .site-header nav a {
    color: #000;
    text-decoration: none;
    font-size: 0.9rem; /* 文字サイズを小さく調整 */
    font-family: sans-serif;
    padding: 0.4rem 0.8rem; /* 余白を調整 */
    border-radius: 4px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
  }

  .accident-btn-icon { height:1.8em; width:auto; object-fit:contain; vertical-align:middle; margin-right:4px; clip-path:inset(12%); }
  .site-header nav .accident-btn-icon { filter: brightness(0); transition: filter 200ms ease; }
  .site-header nav a:hover .accident-btn-icon { filter: brightness(0) invert(1); }
  .site-header.at-top nav .accident-btn-icon { filter: brightness(0) invert(1); }
  .mobile-panel .accident-btn-icon { height:24px; }
  .site-header nav a.accident-btn,
  .site-header nav a.inquiry-btn {
    height: 2em;
  }
  .site-header.at-top nav a.accident-btn {
    background-color: transparent;
  }
  .site-header.at-top nav a.accident-btn:hover {
    background-color: #6B7B8C;
  }
  .site-header nav a.inquiry-btn {
    background-color: #0b66c2;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 600;
  }
  .site-header nav a.inquiry-btn:hover {
    background-color: #0955a8 !important;
    color: #fff !important;
  }
  .site-header.at-top nav a.inquiry-btn {
    background-color: rgba(11,102,194,0.9);
  }
  .site-header nav a:hover {
    background-color: #6B7B8C;
    color: #fff;
  }

  /* スクロール時のヘッダーの色変更 */
  .site-header.at-top {
    background-color: transparent;
    color: #fff;
    box-shadow: none;
  }

  .site-header.at-top .logo, 
  .site-header.at-top nav a {
    color: #fff;
  }

  .site-header.at-top .hamburger .bars span {
    background: #fff;
  }

  /* ハンバーガーメニュー */
  .hamburger {
    display: none;
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1100;
  }

  .hamburger .bars {
    width: 28px;
    height: 20px;
    position: relative;
    display: block;
  }

  .hamburger .bars span {
    position: absolute;
    left: 0; right: 0;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: transform 220ms, opacity 220ms;
    display: block;
  }

  .hamburger .bars span:nth-child(1) { top: 0; }
  .hamburger .bars span:nth-child(2) { top: 8px; }
  .hamburger .bars span:nth-child(3) { top: 16px; }

  .hamburger.open .bars span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.open .bars span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open .bars span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* モバイルパネル */
  .mobile-panel {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: min(var(--side-panel-width), 90vw);
    height: calc(100vh - var(--header-height));
    background: rgba(255,255,255,0.78);
    border-radius: 60px 0 0 60px / 100% 0 0 100%;
    box-shadow: -12px 0 40px rgba(12,12,12,0.22);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255,255,255,0.5);
    border-left: 3px solid rgba(25,118,210,0.5);
    font-family: sans-serif;
    letter-spacing: normal;
    transform: translateX(100%);
    transition: transform 260ms cubic-bezier(.2,.9,.3,1), opacity 200ms;
    opacity: 0;
    z-index: 1099;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 16px;
    align-items: center;
  }

  .mobile-panel.open {
    transform: translateX(0);
    opacity: 1;
  }

  .mobile-panel a {
    color: #222;
    text-decoration: none;
    font-size: 1.1rem;
    font-family: sans-serif;
    font-weight: 400;
    letter-spacing: normal;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    transition: background 0.18s, transform 0.2s cubic-bezier(0.22,1,0.36,1), color 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-panel a:hover {
    color: #1a56d6;
    background: rgba(11,102,194,0.09);
    transform: translateX(5px);
  }

  /* パネル内テキストもリセット */
  .mobile-panel p {
    font-family: sans-serif;
    color: #888;
    letter-spacing: normal;
    text-shadow: none;
    text-align: center;
    margin-top: 32px !important;
    margin-bottom: 0 !important;
  }

  /* モバイル時のみ表示 */
  @media (max-width: 900px) {
    .hamburger { display: flex; }
    .site-header nav { display: none; }
    .mobile-panel { display: flex; }
    .site-header .logo { font-size: 1.5rem; }
  }
  @media (min-width: 901px) {
    .mobile-panel { display: none !important; }
  }

  /* リスポンシブデザイン */
  @media (max-width: 1200px) {
    :root {
      --header-height: 56px;
    }
    .site-header {
      font-size: 0.85rem;
    }

    .site-header nav a {
      font-size: 0.8rem;
      padding: 0.3rem 0.6rem;
    }
  }

  @media (max-width: 768px) {
    :root {
      --header-height: 48px;
    }
    .site-header {
      font-size: 0.8rem;
    }
    .site-header .logo {
      font-size: 1.3rem;
    }
  }

  @media (max-width: 480px) {
    .site-header { padding: 0 0.75rem; }
    .site-header .logo { font-size: 1.3rem; }
    .site-header nav a { padding: 0.6rem 0.8rem; font-size: 0.95rem; }
    .mobile-panel { width: min(var(--side-panel-width), 90vw); padding: 16px; box-sizing: border-box; }
    .mobile-panel a { padding: 0.75rem 12px; font-size: 1.12rem; }
  }

  /* --- 追加: 賃貸アパート部屋紹介用スタイル --- */
  .listing-section { padding: 24px 0; }
  .room-selector { display:flex; gap:12px; align-items:center; margin-bottom:16px; }
  .room-selector select { padding:8px 10px; font-size:1rem; border-radius:6px; border:1px solid #ddd; }
  .listing-grid { display:flex; gap:24px; align-items:flex-start; flex-wrap:wrap; }
  .gallery { flex: 1 1 480px; max-width: var(--gallery-max-default); width: 100%; background:#fff; border:1px solid #eee; border-radius:6px; padding:12px; box-sizing: border-box; display:flex; flex-direction:column; align-items:center; }
  /* メイン画像: 枠内に収まるよう縦横比を維持して拡大・縮小（切り抜きせず表示） */
  .gallery .main-img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: var(--main-aspect);
    max-height: min(65vh, 560px);
    object-fit: contain;
    background: #f6f6f6;
    border-radius: 6px;
    display: block;
    cursor: pointer;
    opacity: 1;
    transition: opacity 240ms ease;
  }

  /* クロスフェード用ラッパー */
  .gallery-main-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: var(--main-aspect);
    max-height: min(65vh, 560px);
    background: #111;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
  }
  .gallery-main-wrap .main-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: unset !important;
    max-height: none !important;
    object-fit: contain !important;
    background: transparent !important;
    border-radius: 0 !important;
    cursor: default !important;
    display: block !important;
    transition: none;
    will-change: opacity, transform;
  }
  .gallery .controls { display:none; }
  .gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    opacity: 0;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.55), 0 2px 8px rgba(0,0,0,0.4);
    transition: opacity 180ms ease, background 180ms ease, transform 180ms ease;
    padding: 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    pointer-events: none;
  }
  .gallery-arrow:focus, .gallery-arrow:focus-visible { outline: none; }
  .gallery-arrow-prev { left: 10px; }
  .gallery-arrow-next { right: 10px; }
  .gallery-main-wrap:hover .gallery-arrow { opacity: 1; }
  .gallery-arrow:hover { background: rgba(0,0,0,0.62); transform: translateY(-50%) scale(1.1); }
  .gallery-arrow:active { transform: translateY(-50%) scale(0.93); outline: none; }
  /* タッチデバイスでは常時表示 */
  @media (hover: none) {
    .gallery-arrow { opacity: 0.7; }
  }
  /* サムネイル: 横オーバーフロー時はスクロールで対応（折返さない） */
  .thumbnails {
    display: flex;
    gap: var(--thumb-gap);
    margin-top: 12px;
    overflow-x: auto;    /* 横に溢れたらスクロール */
    overflow-y: hidden;  /* 縦スクロールは出さない */
    align-items: center;  /* 中央揃えで見た目を安定 */
    padding: 8px 6px;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    box-sizing: border-box;
    flex-wrap: nowrap;                /* 折返さず一列に並べる */
    scroll-snap-type: x mandatory;    /* 選択時に寄せやすく */
  }
  .thumbnails img {
    flex: 0 0 auto;
    width: clamp(var(--thumb-min), 9vw, var(--thumb-mid));
    height: auto;                       /* 自動高さで見切れ防止 */
    max-height: 88px;                   /* 行内に収める上限 */
    object-fit: cover;                  /* サムネはcoverで見栄え優先 */
    aspect-ratio: 4/3;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    display: block;
    transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
    scroll-snap-align: center;
  }
  .thumbnails img:focus { outline: none; box-shadow: 0 4px 12px rgba(0,0,0,0.12); }

  /* 選択時の視認性（大きくし過ぎない） */
  .thumbnails img.is-active {
    border-color: #0b66c2;
    box-shadow: 0 6px 18px rgba(11,102,194,0.12);
    transform: translateY(-2px);
  }
  /* 画像がはみ出す場合を追加で対処（親要素が overflow:hidden の場合でも安全） */
  .gallery { overflow: visible; }

  .info { flex: 1 1 300px; max-width: 360px; background:#fff; border:1px solid #eee; border-radius:6px; padding:12px; }
  .info-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px 12px; }
  .info-grid dt { font-weight:700; color:#333; font-size:0.95rem; }
  .info-grid dd { margin:0; color:#222; font-size:0.95rem; }
  .room-title { font-size:1.1rem; font-weight:700; margin-bottom:8px; color:#0b66c2; }

  @media (max-width:900px){
    /* スマホは縦並び。写真枠と情報欄を同じ幅に揃える */
    .listing-grid {
      flex-direction: column;
      align-items: stretch; /* 子要素を横幅いっぱいに伸ばす */
      gap: 12px;
      flex-wrap: nowrap;
    }

    /* ギャラリー（写真枠）を幅いっぱいに */
    .gallery {
      width: 100%;
      max-width: 100%;
      padding: 12px; /* 内側余白を確実に揃える */
      box-sizing: border-box;
    }
    /* モバイルでは高さを少し高めに（画面高さに応じて伸縮） */
    .gallery .main-img {
      width: 100%;
      max-width: 100%;
      height: clamp(300px, 42vh, 380px); /* 最小300px、最大380px（画面の42%基準）*/
      object-fit: contain;
      box-sizing: border-box;
    }
    .gallery-main-wrap { height: clamp(300px, 42vh, 380px); aspect-ratio: unset; }

    /* 情報欄をギャラリーと同じ幅に揃える */
    /* 高さはコンテンツに合わせる（ギャラリー高さに引き伸ばさない） */
    .info {
      width: 100%;
      max-width: 100%;
      padding: 12px;
      margin-top: 0;
      box-sizing: border-box;
      flex: 0 0 auto; /* ここで縦方向の伸張を無効化 */
    }

    /* 選択セレクタなどの調整（見栄え優先） */
    .room-selector { justify-content: flex-start; gap: 8px; }
    .thumbnails { justify-content: flex-start; }
  }
  /* 追加: デスクトップ以上で写真表示を大きくする */
  @media (min-width: 1201px) {
    /* main の max-width をさらに縮小 */
    main { max-width: 1200px; }

    /* 横並び固定、折返し禁止 */
    .listing-grid { flex-direction: row; align-items: flex-start; gap: 32px; flex-wrap: nowrap; }

    /* 要素が縮む際に正しく動くように min-width をリセット */
    .gallery, .info { min-width: 0; }

    /* ギャラリー幅を広げ、メイン画像の最大高さを拡大（左側） */
    .gallery { max-width: 800px; flex: 1 1 60%; order: 1; }
    .gallery .main-img { aspect-ratio: 16/9; max-height: min(75vh, 720px); }
    .gallery-main-wrap { max-height: min(75vh, 720px); }

    /* 情報カラムは写真の右に配置 */
    .info { max-width: 400px; flex: 1 1 36%; order: 2; }
  }

  @media (min-width: 1600px) {
    /* 大デスクトップ: max-width をさらに縮小 */
    main { max-width: 1440px; }

    .listing-grid { flex-direction: row; align-items: flex-start; gap: 40px; flex-wrap: nowrap; }
    .gallery { max-width: 1100px; flex: 1 1 66%; order: 1; }
    .gallery .main-img { max-height: min(80vh, 880px); }
    .gallery-main-wrap { max-height: min(80vh, 880px); }
    .info { max-width: 480px; flex: 1 1 32%; order: 2; }

    .thumbnails img { width: 140px; height: 105px; }
   }

  /* 追加: レスポンシブ余白調整（主要ブレイクポイント） */
main {
  padding-left: 20px;  /* デフォルトの左右パディング */
  padding-right: 20px;
}

/* スマホ小（～480px）: 余白減らして情報を圧縮 */
@media (max-width: 480px) {
  main { padding-left: 12px; padding-right: 12px; }
  .listing-section { padding: 16px 0; }
  .room-selector { gap: 8px; }
  .gallery { padding: 8px; border-radius: 6px; }
  .gallery .controls { margin-top:6px; }
  /* 小さい画面でもメイン画像をやや高く、サムネも見やすく調整 */
  .gallery .main-img { height: clamp(280px, 36vh, 340px); }
  .gallery-main-wrap { height: clamp(280px, 36vh, 340px); aspect-ratio: unset; }
  .thumbnails { gap:6px; padding-bottom:6px; flex-wrap: nowrap; }
  .thumbnails img { width: clamp(40px, 18vw, 64px); max-height: 64px; border-radius:6px; }
  .info { padding: 10px; max-width: 100%; }
}

/* モバイル中（481px～900px）: やや余白を確保 */
@media (min-width: 481px) and (max-width: 900px) {
  main { padding-left: 16px; padding-right: 16px; }
  .listing-section { padding: 20px 0; }
  .gallery { padding: 10px; }
  /* 中程度のモバイルではメイン画像をやや高め、サムネの最大高さを拡張 */
  .gallery .main-img { height: clamp(300px, 40vh, 360px); }
  .gallery-main-wrap { height: clamp(300px, 40vh, 360px); aspect-ratio: unset; }
  .thumbnails { gap:8px; flex-wrap: nowrap; }
  .thumbnails img { width: clamp(48px, 12vw, 72px); max-height: 72px; }
  .info { padding: 12px; max-width: 100%; }
}

/* タブレット～小デスクトップ（901px～1200px）: 標準サイズ */
@media (min-width: 901px) and (max-width: 1200px) {
  main { padding-left: 24px; padding-right: 24px; }
  .listing-section { padding: 24px 0; }
  .listing-grid { gap: 20px; }
  .gallery { padding: 12px; }
  .thumbnails { gap: 10px; flex-wrap: nowrap; }
  .info { padding: 14px; }
}

/* デスクトップ（1201px～1599px）: 写真を大きく、左右に余白を確保 */
@media (min-width: 1201px) and (max-width: 1599px) {
  main { padding-left: 40px; padding-right: 40px; }
  .listing-section { padding: 28px 0; }
  .listing-grid { gap: 32px; }
  .gallery { padding: 16px; }
  .thumbnails { gap: 12px; flex-wrap: nowrap; }
  .info { padding: 18px; }
}

/* 大デスクトップ（1600px以上）: さらに余白拡大、左右バランスを調整 */
@media (min-width: 1600px) {
  main { padding-left: 64px; padding-right: 64px; }
  .listing-section { padding: 36px 0; }
  .listing-grid { gap: 40px; }
  .gallery { padding: 20px; }
  .thumbnails { gap: 14px; flex-wrap: nowrap; }
  .info { padding: 20px; }
}

/* 追加: レスポンシブ最適化（ヘッダー・サムネ微調整） */
@media (max-width: 480px) {
    .site-header { padding: 0 0.75rem; }
    .site-header .logo { font-size: 1.3rem; }
    .mobile-panel { width: min(var(--side-panel-width), 90vw); padding: 16px; box-sizing: border-box; }
    .thumbnails img { width: clamp(40px, 18vw, 64px); max-height: 64px; }
    .gallery .main-img { height: clamp(280px, 36vh, 340px); }
  }

  @media (min-width: 481px) and (max-width: 900px) {
    .mobile-panel { width: min(var(--side-panel-width), 86vw); }
    .thumbnails img { width: clamp(48px, 12vw, 72px); max-height: 72px; }
  }

/* 安全対策: gallery と info の内部コンテンツがはみ出さないように */
.gallery, .info {
  box-sizing: border-box;
  min-width: 0; /* flex 内でのはみ出し防止 */
}

/* 本文見出しにグレーのラインを追加 */
.listing-section h2,
.listing-section h2#listing-title {
  position: relative;
  padding-bottom: 0.3em;
  background: none;
  z-index: 1;
}
.listing-section h2::after,
.listing-section h2#listing-title::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}
main h2 {
  position: relative;
  padding-bottom: 0.3em;
  background: none;
  z-index: 1;
}
main h2::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.ekitoho-br { display: block; }
@media (max-width: 600px) {
  .ekitoho-br { display: none; }
}

/* POINT説明文のスマホ文字サイズ調整 */
@media (max-width: 767px) {
  #point-info {
    font-size: 0.92rem !important;
    padding: 10px 10px !important;
  }
}
@media (max-width: 599px) {
  #point-info {
    font-size: 0.82rem !important;
    padding: 8px 6px !important;
  }
}
  
  /* モバイル専用クイックリンク（事故・お問い合わせ） */
  .hero-quick-links {
    display: none;
    position: absolute;
    bottom: 20px;
    right: 12px;
    z-index: 10;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
  }
  @media (max-width: 900px) {
    .hero-quick-links { display: flex; }
  }
  .hero-quick-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,0.42);
    color: #fff;
    text-decoration: none;
    padding: 6px 14px 6px 10px;
    border-radius: 24px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.18s;
    white-space: nowrap;
  }
  .hero-quick-btn:hover,
  .hero-quick-btn:active {
    background: rgba(11,102,194,0.72);
  }
  .hero-quick-btn img {
    width: auto !important;
    height: 18px !important;
    object-fit: contain !important;
    flex-shrink: 0;
  }
  .hero-quick-btn svg {
    flex-shrink: 0;
  }
  img {
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
  }
  
  /* hero文字レスポンシブ */
  .hero h1 { font-size: clamp(1.2rem, 5.5vw, 2rem) !important; line-height: 1.25 !important; }
  .hero p  { font-size: clamp(0.8rem, 3.2vw, 1rem) !important; line-height: 1.7; }
  
  /* リンクデフォルトスタイルリセット */
  a { text-decoration: none; transition: opacity 0.18s; }
  a:hover { text-decoration: none; opacity: 0.72; }
  .hero-quick-btn svg {
    flex-shrink: 0;
  }
  
  /* hero文字レスポンシブ */
  .hero h1 { font-size: clamp(1.2rem, 5.5vw, 2rem) !important; line-height: 1.25 !important; }
  .hero p  { font-size: clamp(0.8rem, 3.2vw, 1rem) !important; line-height: 1.7; }
  
  /* リンクデフォルトスタイルリセット */
  a { text-decoration: none; transition: opacity 0.18s; }
  a:hover { text-decoration: none; opacity: 0.72; }
    .footer-link {
      white-space: nowrap;
      display: inline-block;
    }
    /* 追加: スマホで電話受付時間を改行 */
    @media (max-width: 600px) {
      .sp-tel-br {
        display: block;
        margin-left: 2.2em;
        margin-top: 2px;
      }
    }
    @media (min-width: 601px) {
      .sp-tel-br {
        display: inline;
        margin-left: 0;
        margin-top: 0;
      }
    }
  .hero-quick-btn svg {
    flex-shrink: 0;
  }
  
  /* hero文字レスポンシブ */
  .hero h1 { font-size: clamp(1.2rem, 5.5vw, 2rem) !important; line-height: 1.25 !important; }
  .hero p  { font-size: clamp(0.8rem, 3.2vw, 1rem) !important; line-height: 1.7; }
  
  /* リンクデフォルトスタイルリセット */
  a { text-decoration: none; transition: opacity 0.18s; }
  a:hover { text-decoration: none; opacity: 0.72; }
  .map-btn{display:inline-block;margin-top:4px;font-size:0.85em;color:#1976d2;text-decoration:none;border:1px solid #1976d2;border-radius:12px;padding:1px 9px;transition:background .18s,color .18s;}
  .map-btn:hover{background:#1976d2;color:#fff;}
  .hero-quick-btn svg {
    flex-shrink: 0;
  }
  
  /* hero文字レスポンシブ */
  .hero h1 { font-size: clamp(1.2rem, 5.5vw, 2rem) !important; line-height: 1.25 !important; }
  .hero p  { font-size: clamp(0.8rem, 3.2vw, 1rem) !important; line-height: 1.7; }
  
  /* リンクデフォルトスタイルリセット */
  a { text-decoration: none; transition: opacity 0.18s; }
  a:hover { text-decoration: none; opacity: 0.72; }

/* 大型モニターではヘッダーリンクを拡大 */
@media (min-width: 1200px) {
  .site-header nav a { font-size: 1rem; }
}
@media (min-width: 1600px) {
  .site-header nav a { font-size: 1.1rem; }
}
