/* アクアデポ 大和・藤沢店 共通スタイル */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #122a38;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: #0e7490; text-decoration: none; transition: color .2s, background .2s, border-color .2s, transform .2s, box-shadow .2s, opacity .2s; }
a:hover { color: #ff6a1f; }
img { max-width: 100%; }

.serif { font-family: 'Shippori Mincho B1', serif; }
.mont { font-family: 'Montserrat', sans-serif; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}
.fade-up { animation: fadeUp .9s ease both; }
.fade-up-1 { animation: fadeUp .9s ease .15s both; }
.fade-up-2 { animation: fadeUp .9s ease .3s both; }
.fade-up-3 { animation: fadeUp .9s ease .45s both; }

/* スクロール連動フェード */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.on { opacity: 1; transform: translateY(0); }

/* スクロール連動アニメーション強化（site.jsが自動付与） */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.rv.on { opacity: 1; transform: translateY(0); }
.rv-head .rv-ch { display: inline-block; opacity: 0; transform: translateY(.65em); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.3,1); }
.rv-head.on .rv-ch { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .rv, .rv-head .rv-ch { opacity: 1; transform: none; }
}

/* hover ユーティリティ（style-hover 属性の置換） */
.hv-lift:hover { transform: translateY(-6px); }
.hv-lift-sm:hover { transform: translateY(-4px); }
.hv-bright:hover { filter: brightness(1.08); transform: translateY(-2px); }
.hv-cyan:hover { color: #4fd8ff !important; }
.hv-white:hover { color: #fff !important; }
.hv-orange:hover { color: #ff6a1f !important; }
.hv-border-cyan:hover { border-color: rgba(79,216,255,.55) !important; }
.hv-border-primary:hover { border-color: #0e7490 !important; box-shadow: 0 12px 30px rgba(14,116,144,.12); }
.hv-shadow:hover { box-shadow: 0 18px 40px rgba(4,16,23,.35); }
.hv-op:hover { opacity: .85; }
.hv-line-fill:hover { background: #0e7490 !important; color: #fff !important; }
.hv-green-fill:hover { background: rgba(6,199,85,.16) !important; }

/* 段落規則: 「。」の後は改行 */
.pre-line { white-space: pre-line; }

/* ボタン共通挙動 */
.btn { display: inline-block; text-align: center; cursor: pointer; }
.btn:active { transform: translateY(1px); }

/* レスポンシブ（インラインstyleをクラスで上書き） */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* スマホ用ハンバーガーメニュー（site.js が注入） */
.menu-toggle { display: none; }
.mobile-menu { display: none; }

@media (max-width: 1080px) {
  .nav-links { display: none !important; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
    border-radius: 6px; padding: 7px 10px 5px; cursor: pointer; color: #d7e9f0;
  }
  .menu-toggle .mt-bars { display: flex; flex-direction: column; gap: 4px; }
  .menu-toggle .mt-bars i { display: block; width: 20px; height: 2px; background: #d7e9f0; border-radius: 2px; transition: transform .25s, opacity .25s; }
  .menu-toggle.open .mt-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.open .mt-bars i:nth-child(2) { opacity: 0; }
  .menu-toggle.open .mt-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-toggle .mt-label { font-size: 9px; font-weight: 700; letter-spacing: .06em; margin-top: 2px; }
  .mobile-menu {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(6,22,31,.97); border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 18px 30px rgba(0,0,0,.35);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .mobile-menu.open { max-height: 480px; overflow-y: auto; }
  .mobile-menu a {
    display: block; padding: 14px 24px; color: #d7e9f0; font-size: 14px; font-weight: 700;
    border-top: 1px solid rgba(255,255,255,.07);
  }
  .mobile-menu a:last-child { color: #ffb277; }
  .head-tel { display: none !important; }
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .hero-grid { grid-template-columns: 1fr !important; }
  .outline-en { font-size: 110px !important; }
}
@media (max-width: 720px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr !important; }
  .works-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .campaign-card { margin-top: 36px !important; padding: 22px 20px 18px !important; }
  .campaign-grid { gap: 10px !important; }
  .campaign-copy { font-size: 13px !important; line-height: 1.7 !important; }
  .campaign-copy br { display: none; }
  .gift-img { width: 104px !important; justify-self: center !important; margin: -14px 0 -8px !important; }
  .campaign-btn { padding: 13px !important; font-size: 15px !important; }
  .contact-title { font-size: clamp(20px, 7.8vw, 30px) !important; white-space: nowrap; }
  .reason-title { font-size: clamp(20px, 7.8vw, 30px) !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .promise-band { flex-wrap: wrap !important; gap: 10px 22px !important; }
  .sec-pad { padding: 64px 20px !important; }
  .hero-pad { padding: 96px 20px 64px !important; }
  .cta-col { flex-direction: column !important; align-items: stretch !important; }
  .cta-col a { width: 100% !important; }
  .outline-en { font-size: 72px !important; }
  .outline-huge { font-size: 120px !important; }
  .access-grid, .form-2col, .table-row, .history-row, .staff-grid, .cat-hero-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .gift-img { position: static !important; transform: rotate(-3deg) !important; margin: 18px auto 0 !important; display: block !important; }
  h1 { word-break: keep-all; overflow-wrap: anywhere; font-size: clamp(26px, 8.6vw, 34px) !important; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr !important; }
  .tab-nav { gap: 6px !important; }
}

/* ===== コラム本文: 表・リストの可読性 (2026-09-20) ===== */
.col-table-wrap { margin: 0 0 26px; }
.col-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 14px; line-height: 1.9;
  border: 1px solid #dfe9ee; border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(14,66,88,.06);
}
.col-table th {
  background: #0e4258; color: #fff; font-weight: 900;
  padding: 13px 14px; text-align: left;
  border-bottom: 1px solid #0e4258; white-space: nowrap;
}
.col-table td { padding: 13px 14px; color: #33505e; border-top: 1px solid #e7eff3; }
.col-table tr:nth-child(even) td { background: #f7fbfd; }
.col-table td:first-child { font-weight: 700; background: #f2f8fa; }
.col-table tr:nth-child(even) td:first-child { background: #edf5f8; }

.col-list {
  margin: 0 0 26px; padding: 18px 20px 6px 20px; list-style: none;
  background: #f7fbfd; border: 1px solid #e0edf2;
  border-left: 4px solid #0e7490; border-radius: 8px;
}
.col-list > li { position: relative; padding: 0 0 12px 22px; font-size: 15px; line-height: 2; color: #33505e; }
.col-list > li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 9px; height: 9px; background: #0e7490; border-radius: 2px;
}

@media (max-width: 720px) {
  .col-table, .col-table tbody, .col-table tr, .col-table td { display: block; width: 100%; }
  .col-table tr:first-child { display: none; }
  .col-table tr { border-bottom: 1px solid #dfe9ee; padding: 4px 0; }
  .col-table tr:last-child { border-bottom: 0; }
  .col-table td { border-top: 0; padding: 9px 14px; background: #fff !important; }
  .col-table td[data-label]::before {
    content: attr(data-label); display: block;
    font-size: 11px; font-weight: 900; letter-spacing: .04em;
    color: #0e7490; margin-bottom: 2px;
  }
  .col-table td:first-child { background: #f2f8fa !important; font-weight: 800; color: #0b1f2a; }
}
