/* ウォーターサーバー口コミ比較 — 共通スタイル */
:root {
  --blue: #0f6fa8;
  --blue-dark: #0a4f7a;
  --aqua: #2bb3c9;
  --sky: #e8f4fb;
  --mist: #f3f9fd;
  --ink: #1f2d38;
  --sub: #546676;
  --line: #d5e5ef;
  --white: #ffffff;
  --accent: #f29b38;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 111, 168, .10);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--mist);
  letter-spacing: .02em;
  overflow-wrap: anywhere;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

.shell { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; line-height: 1.3; }
.brand small { display: block; font-size: 11.5px; font-weight: 400; color: var(--sub); letter-spacing: .04em; }
.menu { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.menu a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.menu a:hover, .menu a[aria-current="page"] { background: var(--sky); color: var(--blue); }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
    position: relative;
    width: 46px;
    height: 46px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    background: var(--sky);
    cursor: pointer;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
    position: absolute;
    left: 12px;
    width: 22px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--blue);
    content: "";
    transition: transform .3s, opacity .3s, top .3s;
  }
  .menu-toggle span { top: 22px; }
  .menu-toggle span::before { left: 0; top: -7px; }
  .menu-toggle span::after { left: 0; top: 7px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .menu.open { opacity: 1; visibility: visible; transform: none; }
  .menu a { padding: 13px 8px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .no-js .menu { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; flex-wrap: wrap; box-shadow: none; }
  .no-js .menu-toggle { display: none; }
  .brand { font-size: 16px; }
}

/* ---------- パンくず ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 0; padding: 0; font-size: 13px; color: var(--sub); }
.breadcrumb li + li::before { content: "›"; margin-right: 4px; color: #9fb3c2; }
.breadcrumb a { color: var(--sub); }

/* ---------- トップのヒーロー ---------- */
.hero { position: relative; min-height: 520px; display: grid; align-items: end; overflow: hidden; background: var(--blue-dark); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 44, 72, .30) 0%, rgba(8, 44, 72, .55) 45%, rgba(8, 44, 72, .85) 100%); }
.hero-copy { position: relative; z-index: 1; width: min(1120px, 100% - 32px); margin: 0 auto; padding: 48px 0 56px; color: #fff; animation: fadeUp 1.1s .2s ease both; }
.hero-copy h1 { font-size: clamp(22px, 6.1vw, 48px); white-space: nowrap; line-height: 1.35; margin: 6px 0 14px; letter-spacing: .04em; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.hero-copy p { max-width: 640px; margin: 0 0 18px; font-size: 16.5px; }
.hero-copy .eyebrow { color: #d6f3fa; text-shadow: 0 1px 8px rgba(0, 0, 0, .4); }
.hero-copy p { text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- 見出し・リード ---------- */
.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--aqua); }
.page-lead { padding: 28px 0 8px; animation: fadeUp .9s ease both; }
.page-lead h1 { font-size: clamp(25px, 4vw, 34px); line-height: 1.45; margin: 6px 0 12px; }
.lead { font-size: 17.5px; color: var(--sub); margin: 0 0 10px; }
.dates { font-size: 13.5px; color: var(--sub); margin: 0; }
.section-head { text-align: center; margin: 0 auto 26px; max-width: 760px; }
.section-head h2 { font-size: clamp(23px, 3.4vw, 30px); margin: 4px 0 6px; line-height: 1.45; }
.section-head p { color: var(--sub); margin: 0; }
.section { padding: 48px 0 16px; }
.intro { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); margin-top: -40px; position: relative; z-index: 2; }
.intro h2 { margin-top: 0; font-size: 23px; }

/* ---------- ボタン ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 10px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(15, 111, 168, .25);
  transition: transform .2s, background .2s, box-shadow .2s;
}
.button:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); }
.button.ghost { background: #fff; color: var(--blue); border: 2px solid var(--blue); box-shadow: none; }
.button.ghost:hover { background: var(--sky); }
.button.ghost.light { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.more-link { text-align: center; margin: 26px 0 0; }

/* ---------- カード ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.grid-ad { grid-column: 1 / -1; }
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 111, 168, .18); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 16px 18px 20px; }
.card h3 { font-size: 17.5px; line-height: 1.55; margin: 6px 0 6px; }
.card p { font-size: 14.5px; color: var(--sub); margin: 0; line-height: 1.75; }
.label { display: inline-block; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--sky); padding: 2px 10px; border-radius: 999px; }

/* ---------- 記事 ---------- */
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px clamp(18px, 5vw, 48px) 36px; margin-top: 16px; }
.hero-image { margin: 18px 0 8px; }
.hero-image img { width: 100%; border-radius: 12px; }
.prose h2 {
  font-size: clamp(21px, 3vw, 25px);
  line-height: 1.5;
  margin: 2.4em 0 .9em;
  padding: 12px 16px;
  border-left: 6px solid var(--blue);
  background: linear-gradient(90deg, var(--sky), rgba(232, 244, 251, 0));
  border-radius: 4px;
}
.prose h3 { font-size: 19px; line-height: 1.6; margin: 1.9em 0 .6em; padding-bottom: 6px; border-bottom: 2px dotted var(--line); }
.prose p { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.prose li { margin: .3em 0; }
.prose strong { background: linear-gradient(transparent 62%, #d6f0f6 62%); }
.prose figure { margin: 1.6em auto; }
.photo { max-width: 460px; }
.photo img { border-radius: 10px; margin-inline: auto; }
figcaption { font-size: 13.5px; color: var(--sub); text-align: center; margin-top: 8px; line-height: 1.6; }
.index-prose { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px clamp(18px, 5vw, 48px) 28px; margin-top: 36px; }

.toc { background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px; margin: 1.6em 0; }
.toc p { margin: 0 0 4px; font-weight: 700; }
.toc ol { margin: 0; padding-left: 1.3em; font-size: 15.5px; }

.point, .note, .summary {
  border-radius: 12px;
  padding: 18px 22px;
  margin: 1.6em 0;
}
.point { background: #eef8fb; border: 2px solid #bfe6ef; }
.point::before { content: "POINT"; display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; color: var(--aqua); margin-bottom: 4px; }
.note { background: #fff8ec; border: 1px solid #f3d9ad; font-size: 15.5px; }
.summary { background: var(--blue); color: #fff; }
.summary h3, .summary p { color: #fff; border: 0; }
.summary h3 { margin-top: 0; }
.point > :last-child, .note > :last-child, .summary > :last-child { margin-bottom: 0; }

.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 1.9em; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--aqua); width: 1.35em; height: 1.35em; line-height: 1.35em; text-align: center; border-radius: 50%; font-size: .85em; margin-top: .3em; }

.table-scroll { overflow-x: auto; margin: 1.5em 0; -webkit-overflow-scrolling: touch; }
.table-scroll table { border-collapse: collapse; min-width: 560px; width: 100%; font-size: 15px; line-height: 1.65; }
.table-scroll th, .table-scroll td { border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; text-align: left; }
.table-scroll thead th { background: var(--blue); color: #fff; }
.table-scroll tbody th { background: var(--sky); white-space: nowrap; }

.qa-list dt { font-weight: 700; margin-top: 1.2em; padding-left: 2em; position: relative; }
.qa-list dt::before { content: "Q"; position: absolute; left: 0; color: var(--blue); font-size: 1.15em; }
.qa-list dd { margin: .4em 0 0; padding-left: 2em; position: relative; }
.qa-list dd::before { content: "A"; position: absolute; left: 0; color: var(--accent); font-weight: 700; font-size: 1.15em; }

.official-link { text-align: center; margin: 1.8em 0; }
.pr { display: inline-block; font-size: 11px; font-weight: 700; color: #fff; background: #8a9aa8; border-radius: 4px; padding: 0 6px; margin-right: 8px; vertical-align: middle; }

.video-box { margin: 1.8em auto; max-width: 640px; }
.video-box video { width: 100%; border-radius: 12px; background: #000; }

.related { margin: 40px 0 0; }
.related h2 { font-size: 22px; text-align: center; margin: 0 0 18px; }

/* ---------- 広告 ---------- */
.ad { margin: 32px auto; text-align: center; min-height: 100px; }
.ad-label { font-size: 11.5px; color: #8a9aa8; margin: 0 0 4px; letter-spacing: .1em; }

/* ---------- フッター ---------- */
.site-footer { margin-top: 64px; background: var(--blue-dark); color: #dcecf5; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding: 44px 0 20px; }
.site-footer h2 { font-size: 16px; color: #fff; margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: #dcecf5; }
.copyright { text-align: center; margin: 0; padding: 16px; border-top: 1px solid rgba(255, 255, 255, .15); }

.to-top {
  position: fixed;
  right: 16px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 40;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

.not-found { text-align: center; padding: 64px 0; }

/* ---------- フワッと表示 ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .grid > .reveal:nth-child(3n+2) { transition-delay: .12s; }
.js .grid > .reveal:nth-child(3n) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; line-height: 1.85; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero { min-height: 460px; }
  .hero-copy { padding: 32px 0 60px; }
  .article { border-radius: 0; margin-inline: -16px; box-shadow: none; }
  .index-prose { border-radius: 0; margin-inline: -16px; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .lead { font-size: 16.5px; }
}

/* ---------- あわせて読みたい（6件） ---------- */
.related .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related .card h3 { font-size: 15.5px; }
.related .card p { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 720px) {
  .related .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .related .card-body { padding: 10px 12px 14px; }
  .related .card h3 { font-size: 14px; line-height: 1.5; }
  .related .card p { display: none; }
  .related .label { font-size: 11px; padding: 1px 8px; }
}
