/*
Theme Name: Boat Blue Japan
Theme URI: https://boat-blue-japan.example.com/
Author: Boat Blue Japan
Author URI: https://boat-blue-japan.example.com/
Description: 競艇情報メディア「ボートブルージャパン」公式テーマ。予想サイトの安全性調査・賞金ランキングのリアルタイム更新・レース結果配信・ニュース速報・競艇知識の共有をワンページで届ける、ポップでブルー基調のコーポレートデザイン。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boatblue
Tags: blue, one-page, business, custom-menu, featured-images, translation-ready
*/

/* =========================================================================
   ボートブルージャパン — Pop Media Design System
   白基調 × ブルー × スカイ × ネイビー / 丸み・元気・親しみ
   ========================================================================= */

:root {
  /* Brand (blue) */
  --blue: #1577e0;
  --blue-deep: #0a57b8;
  --sky: #27c2f2;
  --sky-soft: #d6f0fb;
  --navy: #0e2a5e;
  --navy-soft: #1e3d82;
  --red: #e60023;
  --green: #1f9e6a;
  --teal: #1f9bbf;

  /* Surface */
  --white: #ffffff;
  --mist: #eef5ff;
  --mist-2: #dbe9fc;
  --blue-bg: #eaf3ff;
  --line: #d3e2f5;

  /* Text */
  --text: #1d2c4d;
  --muted: #67769a;
  --text-inv: #ffffff;

  /* Type */
  --round: "Zen Maru Gothic", system-ui, sans-serif;
  --gothic: "Zen Kaku Gothic New", system-ui, sans-serif;
  --num: "Baloo 2", "Zen Maru Gothic", sans-serif;

  /* Layout */
  --pad: clamp(1.1rem, 5vw, 5rem);
  --maxw: 1180px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 14px 30px -16px rgba(14, 42, 94, 0.3);
  --shadow-pop: 0 10px 0 0 var(--blue-deep);
}

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

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

body {
  margin: 0;
  font-family: var(--gothic);
  background: var(--white);
  color: var(--text);
  line-height: 1.9;
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--round);
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}
p {
  margin: 0;
}
::selection {
  background: var(--sky);
  color: var(--navy);
}

/* ---- Layout helpers ---- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.section--cream {
  background: var(--mist);
}
.section--blue {
  background: var(--blue-bg);
}
.section--navy {
  background: var(--navy);
  color: var(--text-inv);
}
.section--navy h2,
.section--navy h3 {
  color: var(--text-inv);
}

/* ---- Section heading ---- */
.head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
.head__en {
  display: block;
  font-family: var(--num);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: 0.35rem;
}
.head__ja {
  display: inline-block;
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  color: var(--navy);
  position: relative;
  padding-bottom: 0.5rem;
}
.section--navy .head__ja {
  color: #fff;
}
.head__ja::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) scaleX(0);
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--sky);
  transition: transform 0.6s var(--ease-soft) 0.15s;
}
.in-view .head__ja::after {
  transform: translateX(-50%) scaleX(1);
}
.head__lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.section--navy .head__lead {
  color: #c7d6f2;
}

/* ---- Buttons ---- */
.btn {
  --bg: var(--blue);
  --bg-d: var(--blue-deep);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--round);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 999px;
  box-shadow: 0 6px 0 0 var(--bg-d);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s var(--ease-soft), box-shadow 0.12s var(--ease-soft),
    filter 0.2s;
  text-align: center;
}
.btn:hover {
  filter: brightness(1.04);
  transform: translateY(2px);
  box-shadow: 0 4px 0 0 var(--bg-d);
}
.btn:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 0 var(--bg-d);
}
.btn--yellow {
  --bg: var(--sky);
  --bg-d: #0f9ac9;
  --fg: var(--navy);
}
.btn--navy {
  --bg: var(--navy);
  --bg-d: #06173b;
  --fg: #fff;
}
.btn--ghost {
  --bg: #fff;
  --bg-d: #c4d6ef;
  --fg: var(--navy);
}
.btn .arrow {
  transition: transform 0.25s var(--ease-soft);
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---- Badge ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--navy);
  background: var(--sky);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

/* ---- Reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease);
}
.in-view .reveal,
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.4s; }
.reveal[data-d="6"] { transition-delay: 0.48s; }

.cap {
  font-family: var(--num);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.u-num { font-family: var(--num); }

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
  .head__ja::after { transform: translateX(-50%) scaleX(1); }
}

/* =========================================================================
   Header
   ========================================================================= */
.hd {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 0 rgba(14, 42, 94, 0.04);
  transition: box-shadow 0.3s;
}
.hd.scrolled { box-shadow: 0 6px 22px -14px rgba(14, 42, 94, 0.4); }
.hd__bar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 0.35rem 1rem;
}
.hd__main {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  flex: none;
}
.brand__mark svg { width: 50px; height: 42px; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}
.brand__ja {
  font-family: var(--round);
  font-weight: 900;
  font-size: 1.28rem;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.brand__en {
  font-family: var(--num);
  font-weight: 600;
  font-size: 0.54rem;
  letter-spacing: 0.16em;
  color: var(--blue);
}
.hd__nav { display: flex; gap: 0.15rem; }
.hd__link {
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--navy);
  padding: 0.5rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.hd__link:hover { background: var(--sky-soft); color: var(--blue-deep); }
.hd__actions { display: flex; align-items: center; gap: 0.6rem; }
.hd__cta { padding: 0.7rem 1.3rem; font-size: 0.9rem; }
.hd__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: var(--navy);
  border: none;
  border-radius: 12px;
  cursor: pointer;
}
.hd__burger span {
  display: block;
  width: 22px;
  height: 2.2px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-soft), opacity 0.2s;
}
.hd__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.2px) rotate(45deg); }
.hd__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.2px) rotate(-45deg); }
.hd__mobile { display: none; }

@media (max-width: 1040px) {
  .hd__nav { display: none; }
}
@media (max-width: 860px) {
  .hd__cta { display: none; }
  .hd__burger { display: flex; }
  .hd__mobile {
    display: grid;
    gap: 0.2rem;
    padding-inline: var(--pad);
    max-height: 0;
    overflow: hidden;
    background: #fff;
    transition: max-height 0.4s var(--ease-soft), padding 0.4s;
  }
  .hd__mobile.open {
    max-height: 90vh;
    padding-block: 0.8rem 1.6rem;
    border-top: 1px solid var(--line);
  }
  .hd__mobile > a:not(.btn) {
    font-family: var(--round);
    font-weight: 700;
    color: var(--navy);
    padding: 0.85rem 0.4rem;
    border-bottom: 1px dashed var(--line);
  }
  .hd__mobile .btn { margin-top: 1rem; justify-content: center; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  background: linear-gradient(160deg, #d8ecff 0%, #b9ddff 40%, #cfe6ff 100%);
  overflow: hidden;
  padding-top: clamp(1.5rem, 4vw, 3rem);
}
.hero__deco { position: absolute; inset: 0; pointer-events: none; }
.star {
  position: absolute;
  color: #fff;
  opacity: 0.9;
  filter: drop-shadow(0 2px 0 rgba(10, 87, 184, 0.25));
}
.s1 { top: 12%; left: 6%; font-size: 2rem; color: var(--sky); animation: twinkle 3s ease-in-out infinite; }
.s2 { top: 64%; left: 48%; font-size: 1.3rem; color: #fff; animation: twinkle 2.4s ease-in-out infinite 0.6s; }
.s3 { top: 20%; right: 8%; font-size: 1.6rem; color: var(--blue); animation: twinkle 2.8s ease-in-out infinite 0.3s; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: 0.65; }
  50% { transform: scale(1.25) rotate(12deg); opacity: 1; }
}
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: 0.5; }
.b1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(39, 194, 242, 0.5), transparent 70%);
  top: -80px; right: -40px;
}
.b2 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 70%);
  bottom: -60px; left: 10%;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-block: clamp(1.5rem, 4vw, 3.5rem);
}
.hero__badge { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.4rem; }
.hero__badge-txt { font-family: var(--round); font-weight: 700; font-size: 0.84rem; color: var(--blue-deep); }
.hero__title {
  font-family: var(--round);
  font-weight: 900;
  font-size: clamp(2.7rem, 7.2vw, 5rem);
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: 0.01em;
  margin-bottom: 1.6rem;
}
.hero__title .line { display: block; }
.hero__title mark { background: none; color: var(--blue-deep); position: relative; padding: 0 0.06em; }
.hero__title mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.1em;
  height: 0.22em;
  background: var(--sky);
  z-index: -1;
  border-radius: 4px;
}
.hero__title .dot { color: var(--blue); }
.hero__lead {
  font-family: var(--round);
  font-weight: 700;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: var(--navy);
  margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.hero__note { margin-top: 1.2rem; font-size: 0.84rem; color: var(--navy); font-weight: 500; }
.check { color: var(--green); font-weight: 900; }

.hero__visual { position: relative; }
.hero__imgwrap {
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(0.55rem, 1.4vw, 0.9rem);
  box-shadow: var(--shadow);
  border: 3px solid #fff;
  transform: rotate(-1.2deg);
  animation: float 5s ease-in-out infinite;
  overflow: hidden;
}
.hero__imgwrap img,
.hero__imgwrap svg {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: calc(var(--r-lg) - 10px);
  display: block;
}
@keyframes float {
  0%, 100% { transform: rotate(-1.2deg) translateY(0); }
  50% { transform: rotate(-1.2deg) translateY(-10px); }
}
.hero__pill {
  position: absolute;
  background: #fff;
  color: var(--navy);
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero__pill strong { color: var(--blue-deep); font-family: var(--num); }
.hero__pill--1 { top: 6%; left: -3%; rotate: -4deg; }
.hero__pill--2 { bottom: 8%; right: -2%; rotate: 4deg; background: var(--navy); color: #fff; }
.hero__pill--2 strong { color: var(--sky); }

.hero__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: #fff;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-top: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem) var(--pad);
  box-shadow: 0 -10px 30px -20px rgba(14, 42, 94, 0.3);
}
.hstat { text-align: center; position: relative; }
.hstat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0; top: 12%;
  height: 76%; width: 2px;
  background: var(--line);
  border-radius: 2px;
}
.hstat__num {
  font-family: var(--num);
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: var(--blue-deep);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
}
.hstat__unit { font-family: var(--round); font-size: 0.8rem; color: var(--navy); }
.hstat__label {
  display: block;
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
  margin-top: 0.3rem;
}

.sp { display: none; }
@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__badge, .hero__cta { justify-content: center; }
  .hero__visual { order: -1; max-width: 440px; margin-inline: auto; }
  .sp { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__imgwrap, .star { animation: none; }
}

/* =========================================================================
   Reason (Mission)
   ========================================================================= */
.reason__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.rcard {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2.4rem 1.6rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid #fff;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.rcard:hover { transform: translateY(-8px); border-color: var(--sky); }
.rcard__no {
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: #fff;
  font-family: var(--num);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  box-shadow: 0 5px 0 var(--blue-deep);
}
.rcard__img {
  width: 130px; height: 130px;
  margin: 0.6rem auto 1.2rem;
  background: var(--mist);
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 4rem;
  line-height: 1;
  box-shadow: inset 0 0 0 4px #fff;
}
.rcard__img img { width: 100%; height: 100%; object-fit: cover; }
.rcard__title { font-size: 1.35rem; color: var(--navy); margin-bottom: 0.7rem; }
.rcard__desc { font-size: 0.88rem; color: var(--text); line-height: 1.85; text-align: left; }

@media (max-width: 820px) {
  .reason__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* =========================================================================
   Data Highlights
   ========================================================================= */
.data__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 2vw, 1.4rem);
}
.dtile {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.7rem 1.4rem 2.2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}
.dtile:hover { transform: translateY(-6px); }
.dtile::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: var(--c); }
.dtile--orange { --c: var(--blue); }
.dtile--navy { --c: var(--navy); }
.dtile--green { --c: var(--teal); }
.dtile--yellow { --c: var(--sky); }
.dtile__tag { color: var(--muted); }
.dtile__num {
  font-family: var(--num);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  color: var(--c);
  line-height: 1;
  margin: 0.7rem 0 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.dtile__unit { font-family: var(--round); font-size: 0.95rem; color: var(--navy); }
.dtile__label { font-size: 1.02rem; color: var(--navy); margin-bottom: 0.4rem; }
.dtile__note { font-size: 0.76rem; color: var(--muted); line-height: 1.7; }
.dtile__wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 18px; color: var(--c); opacity: 0.5; }

@media (max-width: 880px) { .data__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .data__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Research
   ========================================================================= */
.research__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.qcard {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.3rem;
  align-items: center;
  background: #fff;
  border: 2px solid var(--mist-2);
  border-radius: var(--r-lg);
  padding: 1.3rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.qcard:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: var(--shadow); }
.qcard__img {
  position: relative;
  aspect-ratio: 1;
  background: var(--mist);
  border-radius: var(--r);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 3.4rem;
  line-height: 1;
}
.qcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.qcard:hover .qcard__img img { transform: scale(1.05); }
.qcard:hover .qcard__img .qcard__emoji { transform: scale(1.07) rotate(-2deg); }
.qcard__emoji { transition: transform 0.4s var(--ease); }
.qcard__no {
  position: absolute;
  top: 8px; left: 8px;
  font-family: var(--num);
  font-weight: 700;
  font-size: 0.66rem;
  color: #fff;
  background: var(--navy);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}
.qcard__title { font-size: 1.25rem; color: var(--navy); margin-bottom: 0.5rem; }
.qcard__desc { font-size: 0.85rem; line-height: 1.8; color: var(--text); margin-bottom: 0.9rem; }
.qcard__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.qcard__tags li {
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--blue-deep);
  background: var(--sky-soft);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.qcard__go {
  position: absolute;
  right: 1.2rem; bottom: 1.1rem;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--blue);
  font-weight: 700;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.qcard:hover .qcard__go { background: var(--blue); color: #fff; transform: translateX(4px); }

@media (max-width: 820px) { .research__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .qcard { grid-template-columns: 1fr; text-align: center; }
  .qcard__img { width: 130px; margin-inline: auto; }
  .qcard__desc, .qcard__tags { text-align: left; }
  .qcard__go { display: none; }
}

/* =========================================================================
   Method
   ========================================================================= */
.method__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.mstep {
  position: relative;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.8rem 1.4rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--blue);
}
.mstep__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mstep__no {
  font-family: var(--num);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--sky);
  line-height: 1;
  -webkit-text-stroke: 1px var(--blue);
}
.mstep__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: var(--mist);
  border-radius: 50%;
  color: var(--blue);
}
.mstep__icon svg { width: 24px; height: 24px; }
.mstep__title {
  font-size: 1.3rem;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.mstep__en { font-family: var(--num); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--blue); }
.mstep__desc { font-size: 0.84rem; line-height: 1.8; color: var(--text); }
.mstep__arrow {
  position: absolute;
  right: -1.05rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--round);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--blue);
  z-index: 1;
}

@media (max-width: 900px) {
  .method__track { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.4rem; }
  .mstep:nth-child(2n) .mstep__arrow { display: none; }
}
@media (max-width: 480px) {
  .method__track { grid-template-columns: 1fr; }
  .mstep__arrow { right: 50%; top: auto; bottom: -1.4rem; transform: translateX(50%) rotate(90deg); }
  .mstep:last-child .mstep__arrow { display: none; }
}

/* =========================================================================
   Reports
   ========================================================================= */
.reports__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.feat {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1.6rem;
  align-items: center;
  background: var(--mist);
  border-radius: var(--r-lg);
  padding: 1.6rem;
}
.feat__cover { position: relative; width: 170px; flex: none; }
.feat__cover-img {
  display: block;
  width: 100%;
  height: 224px;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  rotate: -2deg;
}
.feat__cover-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.feat__cover-svg {
  width: 100%;
  height: 224px;
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
  rotate: -2deg;
  background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
}
.feat__cover-svg .feat__cover-emoji { font-size: 3.4rem; }
.feat__cover-svg .feat__cover-cap { font-family: var(--round); font-weight: 700; font-size: 0.9rem; margin-top: 0.4rem; }
.feat__tag { position: absolute; top: -10px; left: -12px; rotate: -6deg; z-index: 2; }
.feat__meta { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 0.6rem; }
.feat__vol { font-family: var(--num); font-weight: 800; font-size: 1.4rem; color: var(--blue-deep); }
.feat__title { font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--navy); line-height: 1.45; margin-bottom: 0.7rem; }
.feat__desc { font-size: 0.84rem; line-height: 1.8; color: var(--text); margin-bottom: 1.3rem; }

.reports__list {
  background: #fff;
  border: 2px solid var(--mist-2);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.8rem;
}
.reports__listtitle { font-family: var(--round); font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.reports__list ul { list-style: none; margin: 0; padding: 0; }
.rrow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--line);
  cursor: pointer;
  transition: padding-left 0.3s var(--ease-soft);
}
.rrow:hover { padding-left: 0.5rem; }
.rrow__vol { font-family: var(--num); font-weight: 700; color: var(--muted); font-size: 0.95rem; }
.rrow__main { display: flex; flex-direction: column; gap: 0.25rem; }
.rrow__title { font-family: var(--round); font-weight: 700; font-size: 0.95rem; color: var(--navy); }
.rrow__meta { display: flex; align-items: center; gap: 0.6rem; }
.rrow__tag {
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.66rem;
  color: var(--blue-deep);
  background: var(--sky-soft);
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
}
.rrow__go {
  font-family: var(--num);
  font-size: 0.66rem;
  color: var(--muted);
  border: 1.5px solid var(--line);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.rrow:hover .rrow__go { background: var(--blue); color: #fff; border-color: var(--blue); }
.reports__all {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-family: var(--round);
  font-weight: 700;
  color: var(--blue-deep);
}
.reports__all:hover { text-decoration: underline; }

@media (max-width: 920px) { .reports__grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) {
  .feat { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .feat__meta { justify-content: center; }
}

/* =========================================================================
   Voice
   ========================================================================= */
.voice__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.vcard {
  position: relative;
  margin: 0;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.8rem 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease);
}
.vcard:hover { transform: translateY(-6px); }
.vcard::before {
  content: "\201C";
  position: absolute;
  top: 0.4rem; right: 1.2rem;
  font-family: var(--round);
  font-weight: 900;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--mist-2);
}
.vcard__score { display: flex; gap: 2px; font-size: 1rem; color: var(--line); margin-bottom: 0.9rem; }
.vcard__score .on { color: var(--sky); }
.vcard__text { margin: 0 0 1.4rem; font-size: 0.9rem; line-height: 1.9; color: var(--text); position: relative; z-index: 1; }
.vcard__by { display: flex; align-items: center; gap: 0.7rem; border-top: 1px dashed var(--line); padding-top: 1rem; }
.vcard__avatar {
  width: 42px; height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--round);
  font-weight: 900;
  color: #fff;
  background: var(--blue);
}
.vcard--navy .vcard__avatar { background: var(--navy); }
.vcard--green .vcard__avatar { background: var(--teal); }
.vcard__who { display: flex; flex-direction: column; line-height: 1.4; }
.vcard__name { font-family: var(--round); font-weight: 700; font-size: 0.9rem; color: var(--navy); }

@media (max-width: 860px) {
  .voice__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* =========================================================================
   About
   ========================================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.about__profile {
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.2rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}
.about__table { width: 100%; border-collapse: collapse; }
.about__table th,
.about__table td {
  text-align: left;
  vertical-align: top;
  padding: 0.95rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}
.about__table tr:last-child th,
.about__table tr:last-child td { border-bottom: none; }
.about__table th { width: 28%; font-family: var(--round); font-weight: 700; color: var(--blue-deep); }
.about__table td { color: var(--text); }
.about__memlabel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--num);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--navy);
  margin-bottom: 1.2rem;
}
.about__members ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.member {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border-radius: var(--r);
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow);
}
.member__avatar {
  width: 58px; height: 58px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-family: var(--round);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue);
}
.member__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member--navy .member__avatar { background: var(--navy); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--navy); }
.member--green .member__avatar { background: var(--teal); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--teal); }
.member__info { display: flex; flex-direction: column; line-height: 1.4; }
.member__name { font-family: var(--round); font-weight: 700; color: var(--navy); }
.member__role { font-size: 0.76rem; color: var(--blue-deep); font-weight: 500; }

@media (max-width: 820px) { .about__grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Contact
   ========================================================================= */
.contact { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.contact__panel {
  position: relative;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.2rem, 6vw, 4rem) clamp(1.2rem, 5vw, 4rem);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 22px 50px -24px rgba(10, 87, 184, 0.6);
}
.contact__star { position: absolute; color: rgba(255, 255, 255, 0.5); font-size: 3rem; }
.s-a { top: 1.5rem; left: 2rem; rotate: -10deg; }
.s-b { bottom: 1.5rem; right: 2.5rem; font-size: 2.4rem; color: var(--sky); }
.contact__en { font-family: var(--num); font-weight: 700; letter-spacing: 0.2em; color: var(--sky); margin-bottom: 0.5rem; }
.contact__title {
  font-family: var(--round);
  font-weight: 900;
  color: #fff;
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.contact__lead { font-family: var(--round); font-weight: 700; margin-bottom: 2.4rem; }
.contact__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  max-width: 720px;
  margin: 0 auto 2.4rem;
}
.ccard {
  position: relative;
  background: #fff;
  color: var(--text);
  border-radius: var(--r);
  padding: 1.8rem 1.5rem;
  text-align: left;
}
.ccard__no {
  position: absolute;
  top: -14px; left: 1.4rem;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--num);
  font-weight: 800;
  border-radius: 50%;
}
.ccard__label { font-size: 1.25rem; color: var(--navy); margin: 0.5rem 0 0.5rem; }
.ccard__desc { font-size: 0.82rem; color: var(--text); margin-bottom: 1.2rem; }
.ccard .btn { width: 100%; justify-content: center; }

@media (max-width: 620px) { .contact__cards { grid-template-columns: 1fr; } }

/* お問い合わせフォーム（page-contact.php） */
.cform {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.cform__field { margin-bottom: 1.3rem; }
.cform__field > label {
  display: block;
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.cform__req {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.1rem 0.5rem;
  font-family: var(--num);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--yellow);
  border-radius: 999px;
  vertical-align: middle;
}
.cform input[type="text"],
.cform input[type="email"],
.cform select,
.cform textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  border: 2px solid transparent;
  border-radius: var(--r);
  box-shadow: 0 6px 18px -12px rgba(10, 40, 80, 0.5);
  transition: border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
}
.cform textarea { resize: vertical; min-height: 9rem; line-height: 1.7; }
.cform input:focus,
.cform select:focus,
.cform textarea:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}
.cform__field--check { margin-top: 0.4rem; }
.cform__checklabel {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--round);
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  cursor: pointer;
}
.cform__checklabel input { width: 1.15rem; height: 1.15rem; margin-top: 0.15rem; flex: 0 0 auto; accent-color: var(--yellow); }
.cform__checklabel a { color: var(--yellow); text-decoration: underline; }
.cform__err {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff3b0;
}
.cform__submit { text-align: center; margin-top: 1.8rem; }
.cform__submit .btn { min-width: 220px; justify-content: center; }
.cform__note { margin-top: 1.2rem; font-size: 0.78rem; line-height: 1.7; color: rgba(255, 255, 255, 0.85); text-align: center; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-alert {
  max-width: 640px;
  margin: 0 auto 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r);
  font-weight: 700;
  text-align: center;
}
.cform-alert--error { background: #ffe3e3; color: #b42318; }

/* =========================================================================
   Footer
   ========================================================================= */
.ft { background: var(--navy); color: #fff; padding-block: clamp(2.6rem, 6vw, 4rem) 1.6rem; }
.ft__top {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr;
  gap: clamp(1.6rem, 4vw, 3.5rem);
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.ft__logo { display: flex; align-items: center; gap: 0.6rem; }
.ft__mark svg { width: 46px; height: 38px; }
.ft__name { font-family: var(--round); font-weight: 900; font-size: 1.4rem; color: #fff; }
.ft__tag { margin: 0.9rem 0 1rem; font-family: var(--round); font-weight: 700; color: var(--sky); }
.ft__addr { font-size: 0.8rem; color: #c7d6f2; line-height: 1.9; margin-bottom: 1.4rem; }
.ft__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.ft__head { font-family: var(--round); font-weight: 700; color: var(--sky); margin-bottom: 1rem; font-size: 0.92rem; }
.ft__col ul { list-style: none; margin: 0; padding: 0; }
.ft__col li { margin-bottom: 0.65rem; }
.ft__col a { font-size: 0.84rem; color: #d4ddf2; transition: color 0.2s, padding-left 0.2s; }
.ft__col a:hover { color: var(--sky); padding-left: 4px; }
.ft__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.4rem;
  color: #9fb0d6;
}
@media (max-width: 760px) { .ft__top { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ft__nav { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   Generic page / posts (page.php, single.php, 404)
   ========================================================================= */
.page-hero { background: linear-gradient(160deg, #d8ecff 0%, #cfe6ff 100%); padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-hero .wrap { text-align: center; }
.page-hero h1 { font-family: var(--round); font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--navy); }
.entry { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.entry .wrap { max-width: 820px; }
.entry__content { font-size: 1rem; line-height: 1.95; color: var(--text); }
.entry__content h2 { font-size: 1.6rem; color: var(--navy); margin: 2rem 0 0.8rem; }
.entry__content h3 { font-size: 1.25rem; color: var(--navy); margin: 1.6rem 0 0.6rem; }
.entry__content p { margin-bottom: 1.1rem; }
.entry__content a { color: var(--blue); text-decoration: underline; }
.entry__content ul, .entry__content ol { margin: 0 0 1.1rem 1.2rem; }
.entry__content img { border-radius: var(--r); margin: 1rem 0; }
.entry__meta { font-family: var(--num); font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.notfound { text-align: center; padding-block: clamp(3rem, 8vw, 6rem); }
.notfound__code { font-family: var(--num); font-weight: 800; font-size: clamp(4rem, 14vw, 8rem); color: var(--sky); line-height: 1; }
.notfound__msg { font-family: var(--round); font-weight: 700; font-size: 1.2rem; color: var(--navy); margin: 0.5rem 0 1.6rem; }
