/* KITCHEN KITCHEN 共通スタイル */

:root {
  --main: #d2562a;
  --main-dark: #a83e17;
  --main-light: #fbe6d9;
  --olive: #6f7f45;
  --olive-light: #eef1e0;
  --beige: #faf5ec;
  --cream: #fffdf9;
  --ink: #3a2a20;
  --ink-soft: #7a6a5e;
  --line: #eadfce;
  --gold: #e5a93a;
  --shadow: 0 10px 30px rgba(92, 56, 28, 0.10);
  --shadow-hover: 0 18px 40px rgba(92, 56, 28, 0.18);
  --radius: 18px;
  --font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  --font-en: "Josefin Sans", "Zen Maru Gothic", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--beige);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
}

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

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

a:hover {
  color: var(--main);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

.skip:focus {
  left: 8px;
}

/* ---------- ヘッダー ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header::before {
  content: "";
  display: block;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--main) 0 14px, var(--cream) 14px 28px);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: transform 0.6s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.logo:hover img {
  transform: rotate(-12deg) scale(1.06);
}

.logo-text {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0.12em;
  color: var(--main-dark);
  white-space: nowrap;
}

.logo-text small {
  display: block;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.global-nav a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 700;
  transition: background 0.3s, color 0.3s;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  background: var(--main-light);
  color: var(--main-dark);
}

.menu-button {
  display: none;
}

@media (max-width: 1120px) {
  .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    border: 0;
    border-radius: 14px;
    background: var(--main);
    cursor: pointer;
  }

  .menu-icon {
    position: relative;
    width: 22px;
    height: 16px;
  }

  .menu-icon span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transition: transform 0.35s, opacity 0.35s, top 0.35s;
  }

  .menu-icon span:nth-child(1) { top: 0; }
  .menu-icon span:nth-child(2) { top: 7px; }
  .menu-icon span:nth-child(3) { top: 14px; }

  .menu-open .menu-icon span:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .menu-open .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-open .menu-icon span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

  .global-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.35s, transform 0.35s, visibility 0.35s;
  }

  .menu-open .global-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .global-nav ul {
    flex-direction: column;
    padding: 12px 16px 20px;
  }

  .global-nav li {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s;
  }

  .menu-open .global-nav li {
    opacity: 1;
    transform: none;
  }

  .menu-open .global-nav li:nth-child(2) { transition-delay: 0.04s; }
  .menu-open .global-nav li:nth-child(3) { transition-delay: 0.08s; }
  .menu-open .global-nav li:nth-child(4) { transition-delay: 0.12s; }
  .menu-open .global-nav li:nth-child(5) { transition-delay: 0.16s; }
  .menu-open .global-nav li:nth-child(6) { transition-delay: 0.20s; }
  .menu-open .global-nav li:nth-child(7) { transition-delay: 0.24s; }

  .global-nav a {
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16.5px;
    border-bottom: 1px dashed var(--line);
  }

  .logo-text {
    font-size: 18px;
  }
}

/* ---------- レイアウト ---------- */

.main {
  display: block;
  min-height: 60vh;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.container.narrow {
  max-width: 860px;
}

.section-title {
  margin: 64px 0 26px;
  font-size: 25px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink);
}

.section-en {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--main);
}

.section-en::before,
.section-en::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  margin: 0 12px 4px;
  border-radius: 2px;
  background: var(--gold);
}

/* ---------- ヒーロー ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(229, 169, 58, 0.16) 0 120px, transparent 121px),
    radial-gradient(circle at 88% 90%, rgba(111, 127, 69, 0.14) 0 160px, transparent 161px),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px 52px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 40px;
}

.hero-kicker {
  margin: 0 0 8px;
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--main);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(27px, 3.6vw, 42px);
  line-height: 1.5;
  color: var(--ink);
}

.hero-lead {
  margin: 0 0 24px;
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--ink-soft);
}

.hero-buttons {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 11px 28px;
  border-radius: 999px;
  border: 2px solid var(--main);
  background: var(--main);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s;
}

.button:hover {
  color: #fff;
  background: var(--main-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(210, 86, 42, 0.3);
}

.button-ghost {
  background: transparent;
  color: var(--main-dark);
}

.button-ghost:hover {
  background: var(--main-light);
  color: var(--main-dark);
}

.hero-visual {
  position: relative;
  animation-delay: 0.3s;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 28px 120px 28px 120px;
  box-shadow: var(--shadow-hover);
  animation: heroFloat 9s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.steam {
  position: absolute;
  bottom: 62%;
  width: 14px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  filter: blur(7px);
  opacity: 0;
  animation: steam 5s ease-in-out infinite;
  pointer-events: none;
}

.steam-1 { left: 30%; }
.steam-2 { left: 36%; animation-delay: 1.6s; }
.steam-3 { left: 33%; animation-delay: 3.1s; }

@keyframes steam {
  0% { opacity: 0; transform: translateY(20px) scaleX(1); }
  30% { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-70px) scaleX(2.2); }
}

/* ---------- トップ ---------- */

.intro p {
  max-width: 780px;
  margin: 0 auto 1.2em;
}

.category-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-grid a {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.4s, box-shadow 0.4s;
}

.category-grid a:hover {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: var(--shadow-hover);
}

.category-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s;
}

.category-grid a:hover img {
  transform: scale(1.06);
}

.category-en {
  display: block;
  padding: 12px 14px 0;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--main);
}

.category-name {
  display: block;
  padding: 0 14px;
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.5;
}

.category-count {
  display: block;
  padding: 0 14px 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

.rank-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
}

.rank-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.rank-list a:hover {
  border-color: var(--main);
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.rank-no {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--olive-light);
  color: var(--olive);
  font-family: var(--font-en);
  font-weight: 600;
  padding-top: 3px;
}

.rank-list img {
  flex: none;
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-name {
  font-weight: 700;
  line-height: 1.5;
  font-size: 15.5px;
}

.rank-name small {
  display: block;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-soft);
}

.more {
  text-align: center;
  margin-top: 26px;
}

.more a {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 999px;
  border: 2px solid var(--main);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.more a:hover {
  background: var(--main);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- カード ---------- */

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.4s, box-shadow 0.4s;
}

.card a:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.8s;
}

.card a:hover img {
  transform: scale(1.05);
}

.card-body {
  display: block;
  padding: 14px 16px 18px;
}

.card-cat {
  display: inline-block;
  margin-bottom: 6px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--olive-light);
  color: var(--olive);
  font-size: 12px;
  font-weight: 700;
}

.card-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* カードは並び順に少しずつ遅れてふわっと出す */
.js .cards .reveal:nth-child(3n + 2),
.js .category-grid .reveal:nth-child(2),
.js .rank-list .reveal:nth-child(2n) { transition-delay: 0.12s; }
.js .cards .reveal:nth-child(3n),
.js .category-grid .reveal:nth-child(3) { transition-delay: 0.24s; }
.js .category-grid .reveal:nth-child(4) { transition-delay: 0.36s; }
.js .category-grid .reveal:nth-child(5) { transition-delay: 0.48s; }

/* ---------- カテゴリページ ---------- */

.category-header {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin-bottom: 8px;
}

.category-image {
  width: 100%;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  border-radius: 24px;
}

.category-text {
  padding: 22px 4px 0;
}

.category-kicker {
  margin: 0;
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--main);
}

.category-text h1 {
  margin: 0 0 8px;
  font-size: clamp(25px, 3.4vw, 33px);
  color: var(--ink);
}

/* ---------- パンくず ---------- */

.breadcrumb ol {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-soft);
}

.breadcrumb li + li::before {
  content: "›";
  margin: 0 6px;
}

/* ---------- 記事 ---------- */

.article {
  background: var(--cream);
  border-radius: 24px;
  padding: 36px 44px 40px;
  box-shadow: var(--shadow);
}

.article-cat {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.article-cat a {
  display: inline-block;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--olive-light);
  color: var(--olive);
  text-decoration: none;
}

.article-title {
  margin: 8px 0 8px;
  font-size: clamp(23px, 3.4vw, 31px);
  line-height: 1.5;
  color: var(--ink);
}

.article-date {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

.pr-note {
  display: inline-block;
  margin: 8px 0 0;
  padding: 2px 12px;
  border-radius: 6px;
  background: #f3ece0;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.eyecatch {
  margin: 22px 0 26px;
  overflow: hidden;
  border-radius: var(--radius);
}

.eyecatch img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.lead {
  font-size: 17.5px;
  font-weight: 700;
  color: #4a372b;
}

.toc {
  margin: 26px 0;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 2px dashed var(--line);
}

.toc-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--main-dark);
}

.toc ol {
  margin: 0;
  padding-left: 1.4em;
}

.toc a {
  color: var(--ink);
  text-decoration: none;
}

.toc a:hover {
  color: var(--main);
  text-decoration: underline;
}

.article-body h2 {
  position: relative;
  margin: 54px 0 20px;
  padding: 12px 18px 12px 22px;
  border-radius: 14px;
  background: var(--main-light);
  font-size: 22px;
  line-height: 1.55;
  scroll-margin-top: 96px;
}

.article-body h2::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 6px;
  border-radius: 6px;
  background: var(--main);
}

.article-body h3 {
  margin: 34px 0 12px;
  padding-bottom: 6px;
  border-bottom: 3px dotted var(--gold);
  font-size: 19px;
  line-height: 1.6;
}

.article-body p {
  margin: 0 0 1.4em;
}

.article-body strong {
  background: linear-gradient(transparent 62%, #fbe2a8 62%);
}

.list {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.list li {
  margin-bottom: 0.4em;
}

.list li::marker {
  color: var(--main);
}

.box {
  margin: 26px 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 2px solid var(--main-light);
}

.box p,
.box ul {
  margin: 0 0 0.6em;
}

.box ul {
  padding-left: 1.3em;
}

.box-title {
  font-weight: 700;
  color: var(--main-dark);
}

.box-title::before {
  content: "● ";
  color: var(--gold);
}

.box-love {
  background: #fff8f4;
  border-color: #f6d3c2;
}

.box-caution {
  background: #fff6f3;
  border-color: #f1cfc4;
}

.box-data,
.box-memo {
  background: #fbf8f1;
  border-color: var(--line);
}

.box-update {
  background: #f5f7ea;
  border-color: #d7dfb6;
}

.box-update .box-title {
  color: var(--olive);
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.6em;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
}

th,
td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--olive-light);
}

.official {
  margin: 36px 0 10px;
  padding: 20px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 2px dashed var(--main);
}

.official p {
  margin: 0 0 4px;
}

.official-title {
  font-weight: 700;
  color: var(--main-dark);
}

.official-note {
  font-size: 13px;
  color: var(--ink-soft);
}

.shop-link {
  margin: 0 0 1.6em;
}

.shop-link a {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid var(--main);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.shop-link a:hover {
  background: var(--main);
  color: #fff;
  transform: translateY(-2px);
}

/* 本文中の写真 */
.photo {
  margin: 2em auto;
  max-width: 420px;
}

.photo img {
  width: 100%;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.photo figcaption {
  margin-top: 0.6em;
  font-size: 0.86rem;
  color: var(--ink-soft);
  text-align: center;
}

.related .section-title {
  margin-top: 64px;
}

/* ---------- 広告 ---------- */

.ad {
  margin: 34px auto;
  text-align: center;
  min-height: 120px;
}

.ad-label {
  margin: 0 0 4px;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.1em;
}

/* ---------- 検索 ---------- */

.search-form {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 2px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  background: #fff;
}

.search-form input:focus {
  outline: none;
  border-color: var(--main);
}

.search-form button {
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--main);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.search-status {
  color: var(--ink-soft);
}

/* ---------- フッター ---------- */

.site-footer {
  margin-top: 40px;
  background: var(--ink);
  color: #f3e9dc;
  font-size: 14.5px;
}

.site-footer::before {
  content: "";
  display: block;
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--main) 0 14px, var(--beige) 14px 28px);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 20px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.footer-logo {
  margin: 0 0 6px;
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.footer-note {
  font-size: 0.85rem;
  opacity: 0.85;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #f3e9dc;
  text-decoration: none;
  line-height: 2.2;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.copyright {
  margin: 0;
  padding: 14px;
  text-align: center;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--main);
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  z-index: 40;
}

.to-top.is-shown {
  opacity: 0.92;
  transform: none;
  pointer-events: auto;
}

/* ---------- ふわっと表示 ---------- */

.fade-in {
  animation: fadeUp 1.1s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

.hero-text .fade-in:nth-child(2) { animation-delay: 0.2s; }
.hero-text .fade-in:nth-child(3) { animation-delay: 0.4s; }
.hero-text .fade-in:nth-child(4) { animation-delay: 0.6s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.eyecatch.fade-in img {
  animation: softZoom 1.6s cubic-bezier(0.22, 0.8, 0.3, 1) both;
}

@keyframes softZoom {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal,
  .global-nav li {
    opacity: 1;
    transform: none;
  }

  .steam {
    display: none;
  }
}

/* ---------- タブレット・スマホ ---------- */

@media (max-width: 1020px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16.5px;
    line-height: 1.9;
  }

  .container {
    padding: 16px 14px 44px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 16px 34px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image {
    border-radius: 20px 72px 20px 72px;
  }

  .hero-buttons .button {
    flex: 1;
    text-align: center;
    padding: 11px 12px;
  }

  .article {
    padding: 24px 18px 28px;
    border-radius: 18px;
  }

  .article-body h2 {
    font-size: 19.5px;
    padding: 10px 14px 10px 22px;
  }

  .article-body h3 {
    font-size: 17.5px;
  }

  .section-title {
    font-size: 21px;
    margin-top: 48px;
  }

  .section-en::before,
  .section-en::after {
    width: 18px;
    margin: 0 8px 4px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .js .cards .reveal:nth-child(n) { transition-delay: 0s; }
  .js .cards .reveal:nth-child(2n) { transition-delay: 0.12s; }

  .card-body {
    padding: 10px 10px 12px;
  }

  .card-title {
    font-size: 14px;
    line-height: 1.55;
  }

  .card-cat {
    font-size: 11px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .category-name {
    font-size: 14.5px;
    padding: 0 10px;
  }

  .category-en {
    padding: 8px 10px 0;
    font-size: 11px;
  }

  .category-count {
    padding: 0 10px 10px;
  }

  .rank-list {
    grid-template-columns: 1fr;
  }

  .js .rank-list .reveal:nth-child(n) { transition-delay: 0s; }

  .rank-list img {
    width: 78px;
    height: 52px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .photo {
    max-width: 320px;
  }
}
