/* ============================================
   BAKERY CURRY TEMPLATE
   カレーパン専門店 — ほぼ黒×ターメリック×生成りの文字
   ============================================ */

:root {
  /* 揚げ場の暗さと、ターメリックの黄色 */
  --black: #17130f; /* 地の色（ほぼ黒） */
  --black-2: #211b15; /* 一段明るい面 */
  --black-3: #2c241c;
  --turmeric: #e3a51a; /* ターメリック（強調・次の揚げ時間） */
  --turmeric-deep: #c98d0c;
  --chili: #c4432a; /* 激辛の印にだけ */
  --kinari: #f1e8d6; /* 生成りの文字 */
  --muted: #b3a690;
  --dim: #6f6556;
  --line: rgba(241, 232, 214, 0.16);
  --line-strong: rgba(241, 232, 214, 0.4);

  /* フォント：見出しは Dela Gothic One、本文は M PLUS 1p */
  --font-head: "Dela Gothic One", "Hiragino Sans", sans-serif;
  --font-body: "M PLUS 1p", "Hiragino Sans", sans-serif;

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 44px);
  --header-h: 64px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--kinari);
  background: var(--black);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 1em;
}

.num {
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 10vw, 136px) 0;
}

.sec-title {
  margin-bottom: 28px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  letter-spacing: 0.04em;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--turmeric);
  color: var(--black);
}

.skip-link:focus {
  top: 8px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 26px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.06em;
  border: 1.5px solid transparent;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}

.btn--turmeric {
  background: var(--turmeric);
  color: var(--black);
}

.btn--turmeric:hover {
  background: #f0b52c;
}

.btn--line {
  border-color: var(--line-strong);
  color: var(--kinari);
}

.btn--line:hover {
  border-color: var(--kinari);
}

.btn--dark {
  background: var(--black);
  color: var(--kinari);
}

.btn--dark:hover {
  background: var(--black-3);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  padding-inline: var(--gutter);
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
}

.logo__name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--turmeric);
  letter-spacing: 0.06em;
}

.logo__sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__list {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--kinari);
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--turmeric);
}

.nav__tel {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--black);
  background: var(--turmeric);
}

.nav-toggle {
  display: none;
}

@media (max-width: 1080px) {
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 44px;
    padding: 0 12px;
    font-family: var(--font-head);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    color: var(--black);
    background: var(--turmeric);
    border: 0;
    cursor: pointer;
  }

  /* モバイルメニュー：ヘッダーの下にフェード＋少しだけ下へ */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 24px var(--gutter) 48px;
    background: var(--black);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition:
      opacity 0.3s ease,
      transform 0.3s var(--ease-out),
      visibility 0s 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 0.3s ease,
      transform 0.3s var(--ease-out);
  }

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__list li {
    border-bottom: 1px solid var(--line);
  }

  .nav__link {
    display: block;
    padding: 16px 0;
    font-family: var(--font-head);
    font-size: 1.2rem;
  }

  .nav__tel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    font-size: 1rem;
  }
}

/* ---------- Hero：文字だけの大組み ---------- */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(180px, 20vw, 250px);
  grid-template-areas:
    "place photo"
    "title photo"
    "times times"
    "foot  foot";
  column-gap: clamp(24px, 4vw, 56px);
}

.hero__place {
  grid-area: place;
  margin: 0 0 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero__title {
  grid-area: title;
  align-self: end;
  font-family: var(--font-head);
}

.hero__title-main {
  display: block;
  font-size: clamp(3.6rem, 12vw, 10rem);
  line-height: 1;
  white-space: nowrap;
  color: var(--kinari);
}

.hero__title-sub {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--muted);
}

/* 3つの揚げ時間を、見出しと同じくらい大きく */
.hero__times {
  grid-area: times;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 clamp(16px, 3vw, 44px);
  margin: clamp(28px, 4vw, 48px) 0 clamp(28px, 4vw, 44px);
  padding: clamp(12px, 2vw, 20px) 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.hero__times li {
  position: relative;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6.3vw, 5.2rem);
  white-space: nowrap;
  line-height: 1.1;
  color: var(--kinari);
  transition: color 0.4s;
}

.hero__times li + li::before {
  content: "/";
  margin-right: clamp(16px, 3vw, 44px);
  color: var(--dim);
}

/* JSが付ける状態：終わった回はうすく、次の回はターメリック */
.hero__times li.is-past .t {
  color: var(--dim);
}

.hero__times li.is-next .t {
  color: var(--turmeric);
}

.hero__foot {
  grid-area: foot;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.hero__next {
  margin: 0;
  max-width: 34em;
  font-size: 1rem;
}

.hero__next strong {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--turmeric);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__photo {
  grid-area: photo;
  margin: 0;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 13 / 16;
  object-fit: cover;
}

.hero__photo figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ヒーローの文字：開いた直後に静かに出る（JSなしでも見える） */
.hero-fade {
  animation: heroFade 0.8s var(--ease-out) both;
}

.hero__title.hero-fade {
  animation-delay: 0.08s;
}

.hero__times.hero-fade {
  animation-delay: 0.2s;
}

.hero__foot.hero-fade,
.hero__photo.hero-fade {
  animation-delay: 0.32s;
}

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

@media (max-width: 640px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 96px;
    grid-template-areas:
      "place photo"
      "title title"
      "times times"
      "foot  foot";
    column-gap: 16px;
  }
  .hero__photo figcaption {
    display: none;
  }
  .hero__place {
    align-self: end;
  }
  .hero__title {
    margin-top: 16px;
  }
  .hero__title-main {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }
  .hero__title-sub {
    font-size: 1.25rem;
  }
  /* スマホでは時刻を縦に積んで大きく */
  .hero__times {
    flex-direction: column;
    gap: 0;
  }
  .hero__times li {
    font-size: clamp(3.4rem, 19vw, 5rem);
  }
  .hero__times li + li {
    border-top: 1px solid var(--line);
  }
  .hero__times li + li::before {
    content: none;
  }
  .hero__actions,
  .hero__actions .btn {
    width: 100%;
  }
}

/* ---------- 揚げ上がり時刻表 ---------- */
.schedule {
  background: var(--black-2);
}

.schedule__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.schedule__now {
  margin: 0 0 28px;
  font-size: 0.95rem;
  color: var(--muted);
}

.schedule__now b {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--turmeric);
}

.schedule__fallback {
  font-size: 1.05rem;
}

.fry {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--kinari);
}

.fry__row {
  display: grid;
  grid-template-columns: 8.2em minmax(0, 1fr) 5.5em 10.5em;
  align-items: center;
  gap: 16px 24px;
  padding: 22px 16px;
  border-bottom: 1px solid var(--line);
  transition:
    background-color 0.4s,
    color 0.4s;
}

.fry__time {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1;
}

.fry__items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fry__items li {
  padding: 2px 10px;
  font-size: 0.85rem;
  border: 1px solid var(--line-strong);
}

.fry__count {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.fry__state {
  justify-self: end;
  margin: 0;
  padding: 4px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  border: 1px solid var(--line-strong);
}

/* 状態ごとの見た目 */
.fry__row.is-past {
  color: var(--dim);
}

.fry__row.is-past .fry__items li {
  border-color: var(--line);
}

.fry__row.is-fresh .fry__state,
.fry__row.is-next .fry__state {
  color: var(--black);
  background: var(--turmeric);
  border-color: var(--turmeric);
}

.fry__row.is-next {
  background: rgba(227, 165, 26, 0.08);
  box-shadow: inset 4px 0 0 var(--turmeric);
}

.fry__row.is-next .fry__time {
  color: var(--turmeric);
}

.schedule__note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .fry__row {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "time state"
      "items items"
      "count count";
    gap: 10px 16px;
  }
  .fry__time {
    grid-area: time;
  }
  .fry__state {
    grid-area: state;
  }
  .fry__items {
    grid-area: items;
  }
  .fry__count {
    grid-area: count;
  }
}

/* ---------- 6種のカレーパン（品書きのような一覧） ---------- */
.menu__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}

.menu__legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin: 0 0 28px;
  font-size: 0.85rem;
  color: var(--muted);
}

/* 辛さ：5つの点（静的） */
.heat {
  display: inline-flex;
  gap: 4px;
  vertical-align: middle;
}

.heat i {
  display: block;
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--turmeric);
  border-radius: 50%;
}

.heat i.on {
  background: var(--turmeric);
}

.dish--hot .heat i {
  border-color: var(--chili);
}

.dish--hot .heat i.on {
  background: var(--chili);
}

.menu__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--kinari);
}

.dish {
  display: grid;
  grid-template-columns: 3.2em minmax(0, 1fr) auto;
  grid-template-areas:
    "no body price"
    "no body heat";
  column-gap: 16px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.dish__no {
  grid-area: no;
  font-family: var(--font-head);
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--turmeric);
}

.dish__body {
  grid-area: body;
}

.dish__name {
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 1.3rem;
}

.dish__tag {
  display: inline-block;
  margin-left: 10px;
  padding: 0 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
  color: var(--kinari);
  background: var(--chili);
}

.dish__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.dish__price {
  grid-area: price;
  margin: 0;
  text-align: right;
  white-space: nowrap;
  font-size: 0.85rem;
}

.dish__price .num {
  font-size: 1.7rem;
  margin-right: 2px;
}

.dish__heat {
  grid-area: heat;
  margin: 6px 0 0;
  text-align: right;
}

.menu__note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--muted);
}

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

@media (max-width: 480px) {
  .dish {
    grid-template-columns: 2.4em minmax(0, 1fr);
    grid-template-areas:
      "no body"
      "no heat"
      "no price";
  }
  .dish__price,
  .dish__heat {
    text-align: left;
  }
  .dish__heat {
    margin: 10px 0 2px;
  }
  .dish__no {
    font-size: 1.3rem;
  }
}

/* ---------- 中のカレー ---------- */
.curry__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.curry__photo {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin: 0;
}

.curry__photo img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
}

.prep {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.prep li {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.prep__time {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--turmeric);
}

.prep p {
  margin: 0;
  font-size: 0.92rem;
}

.lunch {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(72px, 9vw, 120px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line-strong);
}

.lunch__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.lunch__photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.lunch__photos img:nth-child(2) {
  margin-top: 32px;
}

.lunch__title {
  margin-bottom: 14px;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}

.lunch__menu {
  margin: 20px 0 0;
}

.lunch__menu div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line-strong);
}

.lunch__menu dd {
  margin: 0;
  white-space: nowrap;
}

.lunch__menu .num {
  font-size: 1.2rem;
}

@media (max-width: 860px) {
  .curry__inner,
  .lunch {
    grid-template-columns: 1fr;
  }
  .curry__photo {
    position: static;
  }
  .curry__photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .prep li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ---------- スパイス ---------- */
.spice {
  background: var(--black-2);
}

.spice__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.spice__photo {
  margin: 28px 0 0;
}

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

.spice__list {
  margin: 0;
  border-top: 2px solid var(--kinari);
}

.spice__list div {
  display: grid;
  grid-template-columns: 10em minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.spice__list dt {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--turmeric);
}

.spice__list dd {
  margin: 0;
  font-size: 0.92rem;
}

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

@media (max-width: 480px) {
  .spice__list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* ---------- 冷凍カレーパン（ターメリックの帯） ---------- */
.frozen {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--turmeric);
  color: var(--black);
}

.frozen__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.frozen__label {
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.frozen__title {
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
}

.frozen__text .num {
  font-size: 1.1em;
}

.frozen__how {
  padding-left: clamp(0px, 3vw, 32px);
  border-left: 2px solid var(--black);
}

.frozen__how-title {
  margin-bottom: 4px;
  font-weight: 700;
}

.frozen__how p {
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .frozen__inner {
    grid-template-columns: 1fr;
  }
  .frozen__how {
    padding: 20px 0 0;
    border-left: 0;
    border-top: 2px solid var(--black);
  }
  .frozen__how .btn {
    width: 100%;
  }
}

/* ---------- よくある質問（アコーディオン） ---------- */
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: start;
}

.faq__list {
  border-top: 2px solid var(--kinari);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  font-size: 1rem;
}

.faq__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 60px;
  padding: 16px 0;
  font: inherit;
  font-weight: 700;
  text-align: left;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.faq__btn:hover {
  color: var(--turmeric);
}

.faq__icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--turmeric);
  transition: transform 0.35s var(--ease-out);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__btn[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

/* 高さは grid-template-rows 0fr → 1fr でなめらかに */
.faq__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.35s var(--ease-out);
}

.js .faq__panel {
  grid-template-rows: 0fr;
}

.js .faq__item.is-open .faq__panel {
  grid-template-rows: 1fr;
}

.faq__inner-text {
  min-height: 0;
  overflow: hidden;
}

.faq__inner-text p {
  margin: 0;
  padding: 0 0 20px;
  font-size: 0.92rem;
  color: var(--muted);
}

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

/* ---------- アクセス ---------- */
.access {
  border-top: 1px solid var(--line);
}

.access__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}

.access__lead {
  color: var(--muted);
}

.address {
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.address div {
  display: grid;
  grid-template-columns: 6em minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}

.address dt {
  font-weight: 700;
  color: var(--turmeric);
}

.address dd {
  margin: 0;
}

.insta {
  font-size: 0.9rem;
}

.access__map {
  min-height: 400px;
}

.access__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  /* 暗い地になじむよう、地図を少し落ち着かせる */
  filter: grayscale(0.6) contrast(0.95);
}

@media (max-width: 860px) {
  .access__inner {
    grid-template-columns: 1fr;
  }
  .access__map,
  .access__map iframe {
    min-height: 300px;
  }
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 28px;
}

.footer__logo {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--turmeric);
}

.footer__text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer__copy {
  flex-basis: 100%;
  margin: 14px 0 0;
  font-size: 0.75rem;
  color: var(--dim);
}

/* ---------- スクロールリビール ----------
   script.js が html に .reveal-ready を付けたときだけ隠す */
.reveal-ready [data-reveal] {
  opacity: 0;
  translate: 0 20px;
  transition:
    opacity 0.7s var(--ease-out),
    translate 0.7s var(--ease-out);
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  translate: none;
}

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

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

  .reveal-ready [data-reveal] {
    opacity: 1 !important;
    translate: none !important;
  }
}
