/* ============================================
   VET YOBOU TEMPLATE
   動物病院・予防医療／ワクチン中心 — 白×朱×黒×薄黄
   スイスのポスターのような太い罫と大きな数字。ヒーローは12か月の予防カレンダーが主役
============================================ */

:root {
  /* Color */
  --white: #ffffff;
  --red: #d9432f; /* 朱 */
  --red-dark: #b73422;
  --black: #161616;
  --gray: #5f5f5f;
  --line: #161616;
  --line-soft: #dcdcdc;
  --yellow: #fff6d6; /* 薄黄 */
  --yellow-2: #f6d25a;
  --blue: #2e5fa8; /* ノミ・マダニの帯 */

  /* Font */
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-num: "Archivo", "Zen Kaku Gothic New", sans-serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
ul,
ol {
  list-style: none;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.sp {
  display: none;
}
.pc {
  display: none;
}
@media (max-width: 640px) {
  .sp {
    display: inline;
  }
}
@media (min-width: 900px) {
  .pc {
    display: inline;
  }
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--black);
  color: #fff;
  padding: 8px 14px;
  z-index: 200;
}
.skip-link:focus {
  left: 8px;
}

.sec {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) var(--gutter) 0;
  box-sizing: content-box;
}
.sec__head {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 8px 32px;
  align-items: end;
  border-top: 6px solid var(--black);
  padding-top: 18px;
  margin-bottom: 36px;
}
.sec__head > p:not(.sec__no) {
  font-size: 15px;
  color: var(--gray);
}
.sec__no {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--red);
  align-self: start;
}
.sec__no--w {
  color: var(--yellow-2);
}
.h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
}
.note {
  font-size: 14px;
  color: var(--gray);
  margin-top: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  font-weight: 900;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover {
  background: var(--red-dark);
}
.btn--black {
  background: var(--black);
  color: #fff;
}
.btn--black:hover {
  background: #3a3a3a;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 760px) {
  .sec__head {
    grid-template-columns: 1fr;
  }
  .sec__no {
    font-size: 44px;
  }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--gutter);
  background: var(--white);
  border-bottom: 3px solid var(--black);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.2;
}
.logo__box {
  width: 42px;
  height: 42px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav ul {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
}
.nav ul a {
  text-decoration: none;
}
.nav ul a:hover {
  color: var(--red);
}
.nav__tel {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  background: var(--black);
  color: #fff;
  padding: 6px 14px;
  white-space: nowrap;
}
.menu {
  display: none;
  min-width: 64px;
  height: 46px;
  background: var(--red);
  color: #fff;
  border: 0;
  font-family: var(--font-num);
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.menu[aria-expanded="true"] {
  background: var(--black);
}
@media (max-width: 1100px) {
  .menu {
    display: block;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 12px var(--gutter) 40px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s;
  }
  .nav ul {
    flex-direction: column;
    gap: 0;
    font-size: 20px;
  }
  .nav ul a {
    display: block;
    padding: 14px 0;
    border-bottom: 2px solid var(--black);
  }
  .nav__tel {
    text-align: center;
    padding: 14px;
    font-size: 26px;
  }
}

/* ---------- Hero（予防カレンダーが主役） ---------- */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--gutter) 0;
}
.hero__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px clamp(24px, 4vw, 56px);
  align-items: end;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.hero__lead {
  font-size: 15px;
  max-width: 40em;
  padding-bottom: 6px;
}
.hero__lead strong {
  background: var(--yellow-2);
  padding: 0 4px;
}
.cal-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 4px solid var(--black);
}
.cal-wrap:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.cal {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  table-layout: fixed;
}
.cal th,
.cal td {
  border-right: 1px solid var(--line-soft);
  border-bottom: 2px solid var(--black);
  text-align: center;
  height: 64px;
  position: relative;
}
.cal tr:last-child th,
.cal tr:last-child td {
  border-bottom: 0;
}
.cal thead th {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 26px;
  height: 56px;
  background: var(--white);
}
.cal thead th small {
  font-family: var(--font);
  font-size: 13px;
  margin-left: 2px;
}
.cal__label {
  width: 170px;
  text-align: left !important;
  padding: 8px 14px;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.3;
  border-right: 2px solid var(--black) !important;
  background: var(--white);
}
.cal__label small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--gray);
}
.cal thead .cal__label {
  font-family: var(--font);
  font-size: 14px;
}
/* 予防期間の帯 */
.cal .on::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: 18px;
  bottom: 18px;
  background: var(--red);
}
.cal .on--b::before {
  background: var(--blue);
}
.cal .on--y::before {
  background: var(--yellow-2);
}
.cal .on--s::before {
  left: 8px;
}
.cal .on--e::before {
  right: 8px;
}
.cal .pre {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.cal .dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border-radius: 50%;
  border: 4px solid var(--black);
}
.cal__note {
  font-size: 14px;
  font-weight: 700;
  text-align: left !important;
  padding: 0 16px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 10px, #fff 10px 20px);
}
/* 今月の列 */
.cal .is-now {
  background: var(--yellow);
}
.cal thead .is-now {
  background: var(--black);
  color: #fff;
}
.hero__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.hero__now {
  font-weight: 900;
  font-size: 18px;
  padding-left: 14px;
  border-left: 8px solid var(--red);
}
.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 760px) {
  .hero__head {
    grid-template-columns: 1fr;
  }
  .cal__label {
    width: 130px;
    font-size: 15px;
    position: sticky;
    left: 0;
    z-index: 1;
  }
  .hero__btns .btn {
    flex: 1 1 100%;
  }
}

/* ---------- ニュース ---------- */
.news {
  max-width: var(--max);
  margin: 56px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px 32px;
  box-sizing: content-box;
}
.news h2 {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 28px;
}
.news li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
}
.news time {
  font-family: var(--font-num);
  font-weight: 800;
  color: var(--red);
  margin-right: 14px;
}
@media (max-width: 640px) {
  .news {
    grid-template-columns: 1fr;
  }
  .news time {
    display: block;
  }
}

/* ---------- 子犬・子猫 ---------- */
.weeks {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
}
.weeks li {
  padding: 20px 18px 24px;
  border-right: 1px solid var(--line-soft);
  font-size: 14px;
  color: var(--gray);
}
.weeks li:last-child {
  border-right: 0;
}
.weeks__n {
  display: block;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--black);
}
.weeks__n small {
  font-family: var(--font);
  font-size: 15px;
  margin-left: 2px;
}
.weeks b {
  display: block;
  font-size: 17px;
  font-weight: 900;
  color: var(--red);
  margin: 10px 0 4px;
}
.weeks__last {
  background: var(--yellow);
}
.puppy__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-top: 4px;
}
.puppy__photos img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}
@media (max-width: 900px) {
  .weeks {
    grid-template-columns: 1fr;
  }
  .weeks li {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0 12px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .weeks__n {
    grid-row: 1 / 3;
    font-size: 44px;
  }
  .weeks b {
    margin-top: 0;
  }
}

/* ---------- 予防の料金 ---------- */
.tabs {
  display: inline-flex;
  border: 3px solid var(--black);
  margin-bottom: 20px;
}
.tabs button {
  min-width: 110px;
  min-height: 48px;
  border: 0;
  background: var(--white);
  font-weight: 900;
  font-size: 17px;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tabs button + button {
  border-left: 3px solid var(--black);
}
.tabs button[aria-selected="true"] {
  background: var(--black);
  color: #fff;
}
.ptable {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
.ptable th,
.ptable td {
  padding: 14px 16px;
  border-bottom: 2px solid var(--black);
  text-align: right;
}
.ptable thead th {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray);
  border-bottom-width: 4px;
}
.ptable th[scope="row"],
.ptable thead th:first-child {
  text-align: left;
}
.ptable tbody th {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 20px;
  white-space: nowrap;
}
.ptable td {
  font-family: var(--font-num);
  font-weight: 700;
  font-size: 22px;
}
.ptable td::after {
  content: "円";
  font-family: var(--font);
  font-size: 13px;
  margin-left: 2px;
}
.ptable td:last-child {
  color: var(--red);
}

/* ---------- シミュレーター ---------- */
.sim {
  margin-top: clamp(72px, 10vw, 130px);
  background: var(--black);
  color: #fff;
  padding: clamp(56px, 8vw, 100px) var(--gutter);
}
.sim__in {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.sim__head p:last-child {
  color: #bdbdbd;
  font-size: 14px;
  margin-top: 12px;
}
.sim__head .h2 {
  margin-top: 8px;
}
.sim__form fieldset {
  border: 0;
  margin-bottom: 20px;
}
.sim__form legend {
  font-size: 13px;
  color: #bdbdbd;
  margin-bottom: 6px;
}
.seg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid #fff;
}
.seg--2 {
  grid-template-columns: 1fr 1fr;
}
.seg label + label {
  border-left: 2px solid #fff;
}
.seg input {
  position: absolute;
  opacity: 0;
}
.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  padding: 4px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.seg input:checked + span {
  background: var(--yellow-2);
  color: var(--black);
}
.seg input:focus-visible + span {
  outline: 3px solid var(--red);
  outline-offset: -3px;
}
.chk {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  border-bottom: 1px solid #3a3a3a;
  cursor: pointer;
}
.chk input {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
}
.sim__out {
  background: var(--red);
  padding: 24px;
}
.sim__label {
  font-weight: 700;
  font-size: 14px;
}
.sim__total {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1.1;
  white-space: nowrap;
}
.sim__total small {
  font-family: var(--font);
  font-size: 18px;
  margin-left: 4px;
}
.sim__break {
  margin-top: 12px;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
}
.sim__break li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
@media (max-width: 960px) {
  .sim__in {
    grid-template-columns: 1fr 1fr;
  }
  .sim__head {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .sim__in {
    grid-template-columns: 1fr;
  }
}

/* ---------- 狂犬病の比較 ---------- */
.vs {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 15px;
}
.vs th,
.vs td {
  padding: 16px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}
.vs thead th {
  font-size: 17px;
  font-weight: 900;
  border-bottom: 4px solid var(--black);
}
.vs tbody th {
  font-weight: 700;
  width: 22%;
}
.vs__us,
.vs td:last-child {
  background: var(--yellow);
}
.vs td:last-child {
  font-weight: 700;
}
.vs thead .vs__us {
  background: var(--red);
  color: #fff;
}

/* ---------- 健康診断パック ---------- */
.check {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.check__img img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.check__body > p:not(.sec__no) {
  color: var(--gray);
  font-size: 15px;
  margin: 10px 0 20px;
}
.check__list div {
  display: grid;
  grid-template-columns: 9em 1fr auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 2px solid var(--black);
}
.check__list div:last-child {
  border-bottom: 2px solid var(--black);
}
.check__list dt {
  font-weight: 900;
  font-size: 17px;
}
.check__list dd {
  font-size: 14px;
  color: var(--gray);
}
.check__yen {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 22px !important;
  color: var(--black) !important;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .check {
    grid-template-columns: 1fr;
  }
  .check__list div {
    grid-template-columns: 1fr auto;
  }
  .check__list dd:not(.check__yen) {
    grid-column: 1;
    grid-row: 2;
  }
  .check__yen {
    grid-row: 1 / 3;
    grid-column: 2;
  }
}

/* ---------- FAQ ---------- */
.acc {
  border-bottom: 2px solid var(--black);
}
.acc:first-of-type {
  border-top: 2px solid var(--black);
}
.acc__q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  min-height: 64px;
  padding: 16px 52px 16px 0;
  font-weight: 900;
  font-size: 17px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
}
.acc__q span {
  font-family: var(--font-num);
  font-weight: 800;
  color: var(--red);
  font-size: 22px;
}
.acc__q::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  background: linear-gradient(var(--black), var(--black)) center / 24px 4px no-repeat,
    linear-gradient(var(--black), var(--black)) center / 4px 24px no-repeat;
  transition: transform 0.35s var(--ease);
}
.acc__q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}
.acc__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.acc__a > div {
  overflow: hidden;
  min-height: 0;
}
.acc__a p {
  padding: 0 0 20px 36px;
  font-size: 15px;
  color: var(--gray);
}
.acc.is-open .acc__a {
  grid-template-rows: 1fr;
}

/* ---------- 院長 ---------- */
.doctor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.doctor__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.doctor__photos img {
  aspect-ratio: 1;
  object-fit: cover;
}
.doctor__body .sec__no {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
}
.doctor__name {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  margin: 4px 0 16px;
}
.doctor__body p:not(.sec__no) {
  font-size: 15px;
  margin-bottom: 12px;
}
.doctor__cv {
  color: var(--gray);
  border-top: 2px solid var(--black);
  padding-top: 12px;
}
@media (max-width: 760px) {
  .doctor {
    grid-template-columns: 1fr;
  }
}

/* ---------- 受付時間 ---------- */
.htable {
  width: 100%;
  min-width: 340px;
  table-layout: fixed;
  border-collapse: collapse;
  text-align: center;
  border: 4px solid var(--black);
}
.htable th,
.htable td {
  padding: 16px 2px;
  border: 1px solid var(--line-soft);
  font-size: 16px;
  font-weight: 700;
}
.htable thead th {
  border-bottom: 3px solid var(--black);
  font-weight: 900;
}
.htable tbody th {
  width: 28%;
  font-family: var(--font-num);
  font-size: 15px;
}
.htable .is-today {
  background: var(--yellow);
}
.htable thead .is-today {
  background: var(--red);
  color: #fff;
}
@media (max-width: 480px) {
  .htable tbody th {
    font-size: 13px;
  }
}

/* ---------- お問い合わせ ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
}
.contact__lead p {
  font-size: 15px;
  margin-top: 10px;
}
.contact__tel {
  display: block;
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  text-decoration: none;
  color: var(--red);
  margin: 10px 0 18px;
  white-space: nowrap;
  line-height: 1.1;
}
.contact__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.form {
  border: 4px solid var(--black);
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  gap: 12px;
}
.form__ttl {
  font-weight: 900;
  font-size: 18px;
}
.form label {
  display: grid;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}
.form input,
.form textarea {
  border: 2px solid var(--black);
  padding: 10px 12px;
  font-size: 16px;
  font-weight: 400;
  min-height: 48px;
  background: #fff;
}
.form input:focus,
.form textarea:focus {
  outline: 3px solid var(--yellow-2);
  outline-offset: 0;
}
.form__msg {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
}
@media (max-width: 760px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

/* ---------- アクセス ---------- */
.access {
  margin-top: clamp(72px, 10vw, 130px);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border-top: 6px solid var(--black);
}
.access__info {
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  background: var(--yellow);
}
.access__info p {
  padding: 10px 0;
  border-bottom: 2px solid var(--black);
  font-size: 15px;
}
.access iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(1.1);
}
@media (max-width: 760px) {
  .access {
    grid-template-columns: 1fr;
  }
  .access iframe {
    min-height: 300px;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: #bdbdbd;
  padding: 36px var(--gutter);
  font-size: 13px;
}
.footer__name {
  font-weight: 900;
  font-size: 20px;
  color: #fff;
}

/* ---------- スクロール出現（JSが動いたときだけ） ---------- */
html.js .rv {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
html.js .rv.is-in {
  opacity: 1;
  transform: none;
}
html.js .hero .rv {
  transform: translateY(12px);
}
html.js .hero .rv.is-in {
  transform: none;
}

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