:root {
  --black: #070605;
  --black-soft: #120e0b;
  --paper: #f4efe7;
  --paper-deep: #e8dfd2;
  --white: #fff;
  --ink: #2f261f;
  --muted: #786d61;
  --gold: #bd8730;
  --gold-bright: #dfb35a;
  --red: #9f211f;
  --red-deep: #7f1717;
  --line: rgba(101, 74, 35, 0.28);
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Times New Roman", serif;
  --font-sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.8;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  height: 76px;
  padding: 0 clamp(18px, 4vw, 64px);
  background: #060504;
  border-bottom: 1px solid rgba(215, 164, 77, 0.18);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(190px, 17vw, 280px);
}

.brand img {
  width: 100%;
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.45vw, 28px);
  width: 100%;
  margin-left: clamp(24px, 4vw, 74px);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(12px, 0.78vw, 15px);
  font-weight: 700;
}

.global-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  background: var(--white);
  color: var(--black);
}

.nav-action {
  min-width: 122px;
  padding-inline: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.nav-action-gold {
  min-width: 150px;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white) !important;
}

.nav-action-gold:hover,
.nav-action-gold:focus-visible {
  background: var(--white);
  color: var(--black) !important;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: clamp(580px, 57.8vw, 965px);
  background-image: url("assets/top-hero.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  overflow: hidden;
}

.hero-detail-link {
  position: absolute;
  right: clamp(32px, 7.7vw, 130px);
  bottom: clamp(66px, 8.3vw, 138px);
  width: clamp(126px, 15vw, 250px);
  height: clamp(126px, 15vw, 250px);
  border-radius: 999px;
  cursor: pointer;
}

.hero-detail-link:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 5px;
}

.section-pad {
  padding: clamp(22px, 2.4vw, 38px) clamp(16px, 3.3vw, 58px) clamp(38px, 4vw, 66px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.35vw, 22px);
  width: min(1555px, 100%);
  margin: 0 auto;
}

.service-card,
.ranking-card {
  overflow: hidden;
  background: #fffaf2;
  border: 1px solid rgba(113, 91, 66, 0.22);
  box-shadow: 0 10px 34px rgba(35, 23, 9, 0.08);
}

.service-card img {
  width: 100%;
  height: clamp(220px, 19vw, 320px);
  object-fit: cover;
}

.service-body {
  min-height: 330px;
  padding: clamp(28px, 2.4vw, 42px) clamp(22px, 2.2vw, 36px) 30px;
  text-align: center;
}

.service-kicker {
  margin: 0 0 8px;
  color: #6c5946;
  font-size: 13px;
  font-weight: 700;
}

.service-body h2,
.ranking-body h3 {
  margin: 0 0 16px;
  color: #392c22;
  font-size: clamp(21px, 1.45vw, 29px);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.service-body p,
.ranking-body p {
  margin: 0 auto 28px;
  color: #66574a;
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 2;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(220px, 100%);
  min-height: 46px;
  padding: 0 34px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.button span,
.series-link span {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 16px;
  background: currentColor;
}

.button span::after,
.series-link span::after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin-top: -3px;
  margin-left: 21px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}

.button-dark {
  background: #070605;
  color: var(--white);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}


.koumi-feature {
  padding: clamp(42px, 4vw, 72px) clamp(18px, 4vw, 60px);
  background: linear-gradient(180deg, #f4efe7 0%, #eadfce 100%);
}

.koumi-feature-link {
  display: block;
  width: min(1320px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: #120e0b;
  box-shadow: 0 24px 54px rgba(31, 19, 10, 0.22);
}

.koumi-feature-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.koumi-feature-link:hover .koumi-feature-banner,
.koumi-feature-link:focus-visible .koumi-feature-banner {
  transform: scale(1.025);
}

@media (max-width: 640px) {
  .koumi-feature {
    padding: 34px 16px;
  }
}

.news {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(189, 135, 48, 0.34), transparent 14%),
    radial-gradient(circle at 24% 84%, rgba(189, 135, 48, 0.16), transparent 18%),
    linear-gradient(120deg, #0c0906 0%, #090806 56%, #19120b 100%);
  color: var(--white);
}

.news::before,
.ranking::before,
.animal::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(214, 167, 79, 0.32) 0 1px, transparent 1px),
    linear-gradient(105deg, transparent 0 45%, rgba(168, 118, 48, 0.08) 46%, transparent 54%);
  background-size: 48px 48px, 100% 100%;
  opacity: 0.24;
}

.news-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 250px minmax(420px, 760px) minmax(300px, 520px);
  align-items: center;
  gap: clamp(22px, 3.2vw, 70px);
  width: min(1510px, calc(100% - 52px));
  min-height: clamp(420px, 27vw, 485px);
  margin: 0 auto;
  padding: 34px 0;
}

.news-heading h2 {
  margin: 0;
  font-size: clamp(35px, 2.8vw, 53px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.12em;
}

.news-heading p {
  margin: 2px 0 0;
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.24em;
}

.news-list {
  background: rgba(255, 250, 242, 0.97);
  color: #473d35;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.news-list a {
  display: grid;
  grid-template-columns: 106px 118px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(75, 53, 35, 0.12);
  font-family: var(--font-sans);
  font-size: 13px;
}

.news-list a::after {
  content: "";
  justify-self: end;
  width: 8px;
  height: 8px;
  border-top: 1px solid #806849;
  border-right: 1px solid #806849;
  transform: rotate(45deg);
}

.news-list a:hover,
.news-list a:focus-visible {
  background: #f4eadf;
}

.news-list time {
  color: #666057;
  font-weight: 700;
}

.news-list a > span:last-of-type {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 10px;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.tag-red {
  background: #9c2926;
}

.tag-gold {
  background: #c39345;
}

.tag-green {
  background: #8e9a59;
}

.news-photo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ranking {
  position: relative;
  overflow: hidden;
  padding: clamp(74px, 5.5vw, 110px) clamp(18px, 4vw, 60px) clamp(82px, 5.8vw, 118px);
  background:
    radial-gradient(circle at 78% 90%, rgba(190, 135, 47, 0.16), transparent 22%),
    radial-gradient(circle at 3% 15%, rgba(190, 135, 47, 0.16), transparent 18%),
    #080705;
  color: var(--white);
}

.section-title {
  position: relative;
  z-index: 1;
  margin: 0 auto clamp(34px, 3vw, 58px);
  text-align: center;
}

.section-title p,
.section-title span {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-title h2 {
  margin: 2px 0 0;
  font-size: clamp(34px, 3vw, 58px);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.08em;
}

.section-title-dark h2 {
  color: var(--gold-bright);
}

.ranking-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 46px);
  width: min(1500px, 100%);
  margin: 0 auto;
}

.ranking-card {
  background: #fffaf2;
}

.ranking-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 483 / 338;
  object-fit: cover;
}

.ranking-body {
  min-height: 292px;
  padding: clamp(28px, 2.4vw, 42px) clamp(24px, 2.1vw, 36px) 34px;
  text-align: center;
}

.ranking-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 28px;
  margin: 0 0 12px !important;
  padding: 0 14px;
  color: var(--gold);
  border-top: 1px solid rgba(189, 135, 48, 0.6);
  border-bottom: 1px solid rgba(189, 135, 48, 0.6);
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.35vw, 25px) !important;
  font-weight: 700;
  line-height: 1.2 !important;
  letter-spacing: 0.08em;
}

.ranking-note {
  position: relative;
  z-index: 1;
  margin: 34px 0 0;
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.commitment {
  padding: clamp(78px, 6vw, 118px) clamp(18px, 4vw, 60px) clamp(70px, 5.5vw, 105px);
  background:
    linear-gradient(rgba(255, 252, 247, 0.9), rgba(255, 252, 247, 0.9)),
    var(--paper);
}

.commitment .section-title h2 {
  color: #4a382c;
  font-size: clamp(33px, 2.6vw, 50px);
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 78px);
  width: min(1500px, 100%);
  margin: 0 auto;
}

.commitment-item {
  min-width: 0;
}

.commitment-head {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  min-height: 170px;
  margin-bottom: 30px;
}

.commitment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  color: var(--gold);
  border: 2px solid rgba(187, 132, 47, 0.72);
  border-radius: 999px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1;
}

.commitment-head h3 {
  margin: 0 0 10px;
  color: #3f3127;
  font-size: clamp(20px, 1.55vw, 28px);
  line-height: 1.45;
}

.commitment-head p {
  margin: 0;
  color: #706152;
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 2;
}

.commitment-item img {
  width: 100%;
  height: clamp(285px, 22vw, 370px);
  object-fit: cover;
}

.animal {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(178, 122, 42, 0.15), transparent 18%),
    #080604;
  color: var(--white);
}

.animal-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 42%) minmax(0, 1fr);
  align-items: center;
  min-height: clamp(560px, 41vw, 695px);
}

.animal-main {
  width: 100%;
  height: 100%;
  min-height: clamp(480px, 41vw, 695px);
  object-fit: cover;
}

.animal-content {
  padding: clamp(44px, 5.4vw, 90px) clamp(22px, 5vw, 85px);
}

.animal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 28px;
  margin-bottom: clamp(28px, 3.2vw, 56px);
}

.animal-head h2 {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: clamp(35px, 3vw, 58px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.animal-head p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1vw, 16px);
}

.series-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 52px;
  padding: 0 24px;
  color: var(--gold-bright);
  border: 1px solid rgba(219, 173, 88, 0.72);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.series-link:hover,
.series-link:focus-visible {
  background: var(--gold);
  color: var(--white);
}

.animal-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(86px, 1fr));
  gap: clamp(10px, 1.2vw, 22px);
}

.animal-thumbs figure {
  margin: 0;
  text-align: center;
}

.animal-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(221, 178, 91, 0.42);
}

.animal-thumbs figcaption {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(12px, 0.9vw, 14px);
  line-height: 1.55;
}

.shop-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 560px);
  align-items: center;
  gap: clamp(20px, 4vw, 80px);
  min-height: clamp(300px, 20vw, 360px);
  padding: clamp(36px, 4.2vw, 76px) clamp(24px, 8vw, 135px);
  background-image: linear-gradient(90deg, rgba(9, 6, 3, 0.9), rgba(9, 6, 3, 0.46) 52%, rgba(9, 6, 3, 0.76)), url("assets/shop-bg-clean.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.shop-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2vw, 38px);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.shop-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(14px, 1vw, 16px);
}

.shop-button {
  justify-self: end;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 18px;
  width: min(560px, 100%);
  min-height: 116px;
  padding: 22px 30px;
  background: linear-gradient(135deg, #b42b2b, #841b1b);
  border: 1px solid rgba(255, 169, 124, 0.28);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  font-size: clamp(18px, 1.4vw, 25px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.shop-button:hover,
.shop-button:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.cart-icon {
  position: relative;
  width: 34px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-top: none;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: -8px;
  top: -9px;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform: rotate(18deg);
}

.cart-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: -10px;
  height: 5px;
  border-left: 5px solid rgba(255, 255, 255, 0.9);
  border-right: 5px solid rgba(255, 255, 255, 0.9);
}

.circle-arrow {
  display: inline-flex;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
}

.circle-arrow::before {
  content: "";
  width: 8px;
  height: 8px;
  margin: auto;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg) translate(-1px, 1px);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 84%, rgba(202, 153, 77, 0.12), transparent 20%),
    linear-gradient(135deg, #0c0907, #080604 58%, #110c09);
  color: rgba(255, 255, 255, 0.86);
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.35fr) minmax(230px, 0.8fr);
  gap: clamp(24px, 3vw, 58px);
  width: min(1500px, calc(100% - 52px));
  margin: 0 auto;
  padding: clamp(68px, 5vw, 94px) 0 clamp(54px, 4vw, 78px);
}

.footer-brand img {
  width: min(270px, 100%);
  margin-bottom: 28px;
}

.footer-brand p,
.footer-col p,
.footer-sub p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 2;
}

.footer-outline,
.footer-gold {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(210px, 100%);
  min-height: 44px;
  margin-top: 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
}

.footer-gold {
  margin-top: 12px;
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.footer-col h3 {
  margin: 0 0 22px;
  padding-bottom: 12px;
  color: var(--gold-bright);
  border-bottom: 1px solid rgba(188, 135, 48, 0.48);
  font-size: 17px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.76);
  font-family: var(--font-sans);
  font-size: 13px;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
}

.footer-col a::before {
  content: ">";
  margin-right: 8px;
  color: var(--gold);
}

.footer-col a:hover,
.footer-col a:focus-visible,
.footer-sub a:hover,
.footer-sub a:focus-visible {
  color: var(--gold-bright);
}

.footer-address {
  font-style: normal;
}

.footer-sub {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 90px);
  width: min(900px, calc(100% - 52px));
  margin: 0 auto;
  padding: 42px 0 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-sub a {
  display: inline-block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-sans);
  font-size: 13px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 38px);
  min-height: 76px;
  padding: 0 clamp(22px, 5vw, 88px);
  background: #f7f3ed;
  color: #5d554f;
  font-family: var(--font-sans);
  font-size: 12px;
}

.footer-bottom small {
  margin-left: auto;
}

.page-top {
  position: fixed;
  right: clamp(16px, 2vw, 32px);
  bottom: clamp(18px, 2vw, 34px);
  z-index: 45;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  background: rgba(255, 255, 255, 0.95);
  color: #675444;
  border: 1px solid rgba(105, 82, 59, 0.2);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.page-top::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-bottom: -4px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.page-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-top:hover,
.page-top:focus-visible {
  background: var(--gold);
  color: var(--white);
}

.js .reveal,
.js .js-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.js .js-fade {
  transition-duration: 1s;
}

.js .is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1280px) {
  .global-nav {
    gap: 6px;
    font-size: 11px;
  }

  .nav-action {
    min-width: 100px;
    padding-inline: 12px !important;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-inner {
    grid-template-columns: 210px minmax(420px, 1fr);
  }

  .news-photo {
    display: none;
  }

  .footer-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 960px) {
  .site-header {
    height: 70px;
  }

  .brand {
    width: 210px;
  }

  .menu-toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    inset: 70px 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: min(420px, 88vw);
    margin: 0;
    padding: 22px;
    background: rgba(7, 6, 5, 0.98);
    border-left: 1px solid rgba(214, 164, 77, 0.28);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
  }

  .menu-open .global-nav {
    transform: translateX(0);
  }

  .global-nav a {
    justify-content: flex-start;
    min-height: 54px;
    padding-inline: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
  }

  .nav-action {
    justify-content: center !important;
    margin-top: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34) !important;
  }

  .hero {
    margin-top: 70px;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    background-image: url("assets/top-herosp.png?v=2");
    background-size: cover;
    background-position: center top;
    background-color: #070605;
  }

  .hero-detail-link {
    left: auto;
    right: 3.8%;
    bottom: 25.5%;
    width: 31%;
    height: 31%;
    border-radius: 999px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .hero-detail-link::before {
    content: none;
  }

  .news-inner {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 32px));
    padding: 58px 0;
  }

  .news-heading {
    text-align: center;
  }

  .news-list a {
    grid-template-columns: 96px 112px 1fr;
    padding-inline: 18px;
  }

  .ranking-grid,
  .commitment-grid {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
  }

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

  .animal-main {
    min-height: 430px;
    max-height: 520px;
  }

  .animal-head {
    grid-template-columns: 1fr;
  }

  .series-link {
    width: fit-content;
  }

  .shop-cta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .shop-button {
    justify-self: start;
  }

  .footer-main,
  .footer-sub {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    line-height: 1.75;
  }

  .site-header {
    padding: 0 16px;
  }

  .brand {
    width: 188px;
  }

  .hero {
    min-height: 0;
    background-position: center top;
  }

  .hero-detail-link {
    right: 3.8%;
    bottom: 25.5%;
    width: 31%;
    height: 31%;
  }

  .section-pad {
    padding-inline: 14px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: auto;
    object-fit: contain;
  }

  .service-body,
  .ranking-body {
    min-height: auto;
  }

  .news-list a {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 16px;
  }

  .news-list a::after {
    display: none;
  }

  .tag {
    width: fit-content;
  }

  .ranking-card img {
    height: auto;
  }

  .commitment {
    padding-inline: 16px;
  }

  .commitment-head {
    grid-template-columns: 60px 1fr;
    min-height: 0;
  }

  .commitment-icon {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }

  .commitment-item img {
    height: 250px;
  }

  .animal-content {
    padding-inline: 16px;
  }

  .animal-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 10px;
  }

  .shop-cta {
    padding-inline: 18px;
  }

  .shop-button {
    grid-template-columns: 34px minmax(0, 1fr) 28px;
    min-height: 96px;
    padding: 18px;
    font-size: 16px;
  }

  .footer-main,
  .footer-sub {
    grid-template-columns: 1fr;
    width: min(100% - 32px, 520px);
  }

  .footer-bottom {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    padding: 18px;
    text-align: center;
  }

  .footer-bottom small {
    flex: 1 0 100%;
    margin-left: 0;
  }

  .page-top {
    width: 62px;
    height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Three feature cards beneath the Koumi campaign banner. */
.service-grid.service-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .service-grid.service-grid--three { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}
