/* ===== Aju - 大豆ミートの店 サイト共通スタイル ===== */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500;700;900&family=Noto+Serif+JP:wght@400;500;600&display=swap');

:root {
  --paper: #f2e9d8;
  --ink: #2a231d;
  --ink-soft: #4a4038;
  --red: #bf4331;
  --gold: #a9822f;
  --card: #fffdf7;
  --muted: #8a7f6e;
  --border-soft: rgba(42, 35, 29, 0.12);

  --font-display: 'Zen Kaku Gothic New', sans-serif;
  --font-body: 'Noto Serif JP', serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
}

/* ---------- TOP: 言語選択 ---------- */

.top-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #b8ada0;
}

@media (max-width: 700px) {
  .top-screen {
    align-items: flex-end;
    padding-bottom: 9vh;
  }

  .top-screen__bg {
    object-fit: cover;
  }

  .top-screen {
    background: none;
  }
}

.top-screen__logo {
  display: none;
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  max-width: 190px;
  z-index: 1;
  filter: drop-shadow(0 4px 14px rgba(20,14,8,0.25));
}

@media (max-width: 700px) {
  .top-screen__logo {
    display: block;
  }
}

.top-screen__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
}

.top-screen__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 62%, rgba(0,0,0,0.05), rgba(0,0,0,0.22) 100%);
  z-index: 1;
}

.lang-buttons {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: min(80vw, 280px);
  animation: card-in 0.7s ease-out both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lang-btn {
  display: block;
  width: 100%;
  padding: 15px 0;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  text-align: center;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  box-shadow: 0 10px 26px rgba(20, 14, 8, 0.22);
}

.lang-btn--primary {
  background: var(--ink);
  color: var(--card);
}

.lang-btn--primary:hover {
  background: #000;
}

.lang-btn--secondary {
  background: var(--card);
  color: var(--ink);
}

.lang-btn--secondary:hover {
  background: var(--paper);
}

.lang-btn:active {
  transform: scale(0.98);
}

.top-screen__footer {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: rgba(255, 253, 247, 0.85);
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

@media (max-width: 480px) {
  .lang-buttons {
    width: min(70vw, 240px);
    gap: 10px;
  }
  .lang-btn {
    padding: 12px 0;
    font-size: 1.15rem;
  }
}

/* ---------- コンテンツページ(2階層目〜) ---------- */

body.page {
  background: var(--paper);
  min-height: 100%;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}

.page-header__logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--ink);
}

.page-header__logo span {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--muted);
  margin-left: 4px;
}

.lang-switch {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  padding: 6px 16px;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch:hover {
  background: var(--ink);
  color: var(--paper);
}

.lang-switch-group {
  display: flex;
  gap: 8px;
}

.lang-switch-group .lang-switch {
  padding: 6px 12px;
  font-size: 0.78rem;
}

.content {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.lead {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.lead p {
  margin: 0;
}

.block {
  margin-bottom: 44px;
}

.block__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--red);
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.9;
}

.notice-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--ink-soft);
}

.notice-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.notice-list a {
  color: var(--red);
  border-bottom: 1px solid var(--red);
}

.hours {
  background: var(--card);
  border-radius: 12px;
  padding: 8px 20px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(20,14,8,0.06);
}

.hours__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}

.hours__row:last-child {
  border-bottom: none;
}

.hours__label {
  font-weight: 600;
  line-height: 1.5;
}

.hours__label small {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.8em;
}

.hours__time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.hours__note {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.hours__note a {
  color: var(--red);
}

.block--links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ink);
  color: var(--card);
  border-radius: 12px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.15s ease;
}

.link-card:hover {
  background: #000;
  transform: translateX(2px);
}

.link-card__arrow {
  font-size: 1.2rem;
}

.page-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  padding: 24px 0 40px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lang-buttons {
    animation: none;
  }
}

/* ---------- メニューページ ---------- */

.menu-section-title {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  font-weight: 500;
}

.menu-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.menu-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
}

.menu-card__photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  display: block;
  background: #e4dbc9;
}

.menu-card__body {
  padding: 14px 16px;
}

.menu-card__top {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.menu-card__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.menu-card__price {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--red);
  margin-top: 2px;
}

.menu-card__desc {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 6px 0 0;
  line-height: 1.6;
}

.takeout-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #f3e6d6;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.takeout-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.menu-grid .menu-card__body {
  padding: 8px 10px;
}

.menu-grid .menu-card__name {
  font-size: 0.78rem;
}

.menu-grid .menu-card__price {
  font-size: 0.78rem;
}

.menu-grid .takeout-badge {
  font-size: 0.6rem;
  padding: 2px 6px;
}

.menu-grid .menu-card__photo i {
  font-size: 22px;
}

.menu-grid .menu-card__desc {
  font-size: 0.7rem;
  line-height: 1.55;
  margin-top: 4px;
}

.menu-placeholder {
  border: 1px dashed var(--border-soft);
  border-radius: 12px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  padding: 8px;
}

.menu-list {
  background: var(--card);
  border-radius: 12px;
  padding: 4px 20px;
  box-shadow: 0 4px 16px rgba(20,14,8,0.06);
}

.menu-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}

.menu-list__row:last-child {
  border-bottom: none;
}

.menu-list__name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.menu-list__price {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--red);
  white-space: nowrap;
}

.menu-list__subtitle {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  padding: 14px 0 4px;
  font-weight: 600;
}

.menu-list__row--parent {
  padding-bottom: 6px;
}

.menu-list__row--child {
  padding: 8px 0 8px 18px;
  border-bottom: none;
}

.menu-list__row--child:last-of-type {
  border-bottom: 1px solid var(--border-soft);
}

.menu-list__name--child {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- 説明文の省略とモーダル ---------- */

.menu-card {
  cursor: pointer;
}

.menu-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-grid .menu-card__desc {
  -webkit-line-clamp: 2;
}

.menu-card__more {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
}

.menu-grid .menu-card__more {
  font-size: 0.68rem;
}

.menu-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.menu-modal.is-open {
  display: flex;
}

.menu-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 8, 0.55);
}

.menu-modal__panel {
  position: relative;
  background: var(--card);
  border-radius: 16px;
  width: min(92vw, 480px);
  max-height: 88vh;
  overflow-y: auto;
  z-index: 1;
  box-shadow: 0 24px 60px rgba(20,14,8,0.35);
}

.menu-modal__photo {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  border-radius: 16px 16px 0 0;
}

.menu-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(20,14,8,0.55);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.menu-modal__body {
  padding: 18px 22px 26px;
}

.menu-modal__top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.menu-modal__name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.menu-modal__price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--red);
  margin: 4px 0 12px;
}

.menu-modal__desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0;
}

/* ---------- FAQ アコーディオン ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item__q {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__q::before {
  content: "Q";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item__q-text {
  flex: 1;
}

.faq-item__arrow {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__arrow {
  transform: rotate(180deg);
}

.faq-item__a {
  display: flex;
  gap: 10px;
  padding: 0 18px 18px 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.faq-item__a-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- アクセスページ ---------- */

.access-address {
  background: var(--card);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(20,14,8,0.06);
  margin-bottom: 4px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.access-address__label {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.access-map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  border-radius: 10px;
  padding: 14px 0;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 14px;
}

.access-directions {
  background: var(--card);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(20,14,8,0.06);
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.access-map-img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  display: block;
  cursor: pointer;
}

.access-map-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 8px;
}

.access-map-embed {
  width: 100%;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 14px;
}

.access-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.access-map-open {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--red);
}

.access-directions--tight {
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.text-list {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
}

.text-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
}

.text-list__row:last-child {
  border-bottom: none;
}

.text-list__name {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.text-list__price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--red);
  white-space: nowrap;
}

.menu-card__photo--pending {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.68rem;
  background: repeating-linear-gradient(45deg, #e4dbc9, #e4dbc9 8px, #ded3bd 8px, #ded3bd 16px);
}

/* ---------- パララックス背景(コンテンツページ共通) ---------- */

html {
  background: var(--paper);
}

body.page {
  background: transparent;
}

.parallax-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/parallax-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.page-header,
.content,
.page-footer {
  position: relative;
  z-index: 1;
}

.page-header {
  background: rgba(242, 233, 216, 0.88);
  backdrop-filter: blur(2px);
}

/* ---------- フェードイン(スクロールで出現) ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- セクション区切りの線画アイコン ---------- */

.section-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 40px 0;
  color: var(--gold);
}

.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.section-divider__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  opacity: 0.85;
}

.section-divider__icon--character {
  width: 68px;
  height: 68px;
  opacity: 1;
}

/* ---------- マスコットキャラクター ---------- */

.mascot-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  margin: 46px 0 8px;
}

.mascot-row img {
  height: 84px;
  width: auto;
  filter: drop-shadow(0 4px 8px rgba(20,14,8,0.12));
}
