@charset "utf-8";

/* ===========================================
   麺や佑 — 参照: tamaran-ramen.net のトーン・リズムに準拠
   =========================================== */

:root {
  --color-text: #222222;
  --color-accent: #b72719;
  --color-bg: #eee3cf;
  --color-white-60: rgba(255, 255, 255, 0.6);
  --color-white-70: rgba(255, 255, 255, 0.7);
  --color-black: #000000;
  --container: 980px;
  --narrow: 900px;
  --header-border: 10px;
  --lh: 1.8;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 1.05s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  line-height: var(--lh);
  color: var(--color-text);
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.35) 0, transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.2) 0, transparent 50%);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

a:hover {
  opacity: 0.82;
}

.mincyo {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
}

.s-mincho {
  font-family: "Sawarabi Mincho", "Yu Mincho", serif;
}

.c-gara {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.container,
.container-narrow {
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 24px);
}

.container {
  max-width: var(--container);
}

.container-narrow {
  max-width: var(--narrow);
}

/* Header — absolute, top black bar */
.site-header {
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 9000;
  border-top: var(--header-border) solid var(--color-black);
  width: 100%;
  pointer-events: none;
}

.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 22px clamp(18px, 4vw, 24px) 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  pointer-events: auto;
}

.site-logo {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
}

.site-logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-logo__mark {
  display: inline-block;
  font-family: "Sawarabi Mincho", "Yu Mincho", serif;
  letter-spacing: 0.08em;
  font-size: clamp(1.35rem, 3.6vw, 1.65rem);
  line-height: 1.2;
}

.site-logo__sub {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Cormorant Garamond", serif;
  color: #444;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.lang-switch a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

/* Drawer trigger — matches tamaran hamburger tone */
.drawer-open {
  all: unset;
  box-sizing: border-box;
  position: fixed;
  top: var(--header-border);
  right: 0;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.82);
  z-index: 10001;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.drawer-open span,
.drawer-open::before,
.drawer-open::after {
  content: "";
  display: block;
  width: 55%;
  height: 3px;
  background: #fff;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.drawer-open span {
  grid-area: 1 / 1;
}

.drawer-open::before {
  grid-area: 1 / 1;
  transform: translateY(-9px);
}

.drawer-open::after {
  grid-area: 1 / 1;
  transform: translateY(9px);
}

.drawer-open.is-active span {
  opacity: 0;
}

.drawer-open.is-active::before {
  transform: translateY(0) rotate(45deg);
}

.drawer-open.is-active::after {
  transform: translateY(0) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(300px, 88vw);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: 56px 36px 40px;
  list-style: none;
  margin: 0;
  overflow: auto;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer li {
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}

.drawer a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 6px;
  color: #fff;
  text-align: center;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 9998;
  display: none;
}

.drawer-backdrop.is-visible {
  display: block;
}

/* Full viewport hero — no dark overlay (画像は明るめで用意) */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  background-color: #d8cdb8;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Reveal animation targets */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-img {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(1.01);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform calc(var(--reveal-duration) * 1.05) var(--ease-out);
  will-change: opacity, transform;
}

.reveal-img.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* sec01 — intro + optional vertical block */
.sec01 {
  padding: clamp(56px, 10vw, 80px) 0 clamp(72px, 12vw, 120px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%),
    var(--color-bg);
}

.sec01__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 6vw, 48px);
}

@media (min-width: 900px) {
  .sec01__grid--lead {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }

  .sec01__grid--lead .sec01__visual {
    order: 1;
    flex: 0 0 42%;
  }

  .sec01__grid--lead .sec01__title-block {
    order: 4;
    flex: 0 0 28%;
    max-width: 320px;
  }

  .sec01__grid--lead .sec01__vertical {
    order: 3;
    padding-top: 36px;
  }

  .sec01__grid--lead .sec01__lead-copy {
    order: 2;
    padding-top: 36px;
  }

  .sec01__vertical,
  .sec01__lead-copy {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    max-height: 460px;
  }
}

.sec01__kicker {
  margin: 0 0 18px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.6;
  font-weight: 700;
}

.sec01__kicker span {
  color: var(--color-accent);
  font-weight: 700;
}

.sec01__title-block .display {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  line-height: 1.5;
  font-weight: 700;
}

.sec01__lead-copy {
  margin: 0;
  line-height: 2;
}

@media (max-width: 899px) {
  .sec01__vertical,
  .sec01__lead-copy {
    writing-mode: horizontal-tb;
    max-height: none;
  }
}

.sec01__panel {
  margin-top: clamp(40px, 8vw, 60px);
  position: relative;
  background: var(--color-white-60);
  padding: clamp(28px, 5vw, 40px);
  padding-inline-end: min(40%, 360px);
}

@media (min-width: 900px) {
  .sec01__panel {
    width: min(100%, var(--narrow));
    margin-inline: auto;
  }

  .sec01__panel .sec01__floating-img {
    position: absolute;
    top: -18px;
    right: 0;
    width: min(38%, 320px);
  }
}

.sec01__panel h3 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
}

.sec01__panel h3 span {
  color: var(--color-accent);
}

.sec01__panel p {
  margin: 0;
  max-width: 58ch;
  text-align: justify;
}

@media (max-width: 899px) {
  .sec01__panel {
    padding-inline-end: 24px;
  }

  .sec01__floating-img {
    margin-top: 24px;
  }
}

/* Section titles — center + large English */
.cmntlt {
  text-align: center;
  margin-bottom: clamp(32px, 6vw, 40px);
}

.cmntlt h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 700;
}

.cmntlt .c-gara {
  margin: 6px 0 0;
  font-size: clamp(64px, 14vw, 110px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #c9b89a;
  user-select: none;
}

/* sec02 ranking rows — 負マージンで重ねない（写真と次段テキストの干渉防止） */
.sec02 {
  padding: clamp(80px, 14vw, 120px) 0;
}

.sec02__row {
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: visible;
  margin-top: 0;
  position: relative;
}

.sec02__row + .sec02__row {
  margin-top: clamp(40px, 7vw, 72px);
}

@media (min-width: 900px) {
  .sec02__row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .sec02__row + .sec02__row {
    margin-top: clamp(56px, 8vw, 96px);
  }

  .sec02__row--flip {
    justify-content: flex-start;
  }

  .sec02__row--flip .sec02__text {
    order: 2;
  }

  .sec02__row--flip .sec02__media {
    order: 1;
  }

  .sec02__row--text-only {
    justify-content: center;
  }

  .sec02__row--text-only .sec02__text {
    width: 100%;
    max-width: 820px;
  }

  .sec02__row--text-only .sec02__in {
    width: 100%;
    max-width: 820px;
    margin-inline: auto;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
    background: none;
  }

  .sec02__row--text-only.sec02__row--flip .sec02__in {
    margin-inline: auto;
    text-align: left;
  }

  .sec02__row--text-only .sec02__no {
    float: none;
  }

  .sec02__row--text-only .btn01 {
    margin-left: 0;
  }
}

.sec02__text,
.sec02__media {
  width: 100%;
}

.sec02__media img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 900px) {
  .sec02__text,
  .sec02__media {
    width: 50%;
  }

  .sec02__row--text-only .sec02__text {
    width: 100%;
    max-width: 820px;
  }
}

.sec02__in {
  width: min(100%, 490px);
  padding: 18px 0 8px 0;
  background: none;
}

@media (min-width: 900px) {
  .sec02__in {
    padding-left: 110px;
    background: linear-gradient(90deg, rgba(183, 39, 25, 0.12) 0 6px, transparent 6px) 0 0 / 120px 120px no-repeat;
  }

  .sec02__row--flip .sec02__in {
    margin-left: auto;
    padding-left: 0;
    padding-right: 110px;
    text-align: right;
    background: linear-gradient(270deg, rgba(183, 39, 25, 0.12) 0 6px, transparent 6px) 100% 0 / 120px 120px no-repeat;
  }

  .sec02__row--flip .sec02__in .sec02__body {
    margin-left: auto;
  }
}

.sec02__no {
  display: inline-block;
  margin: 0 0 10px;
  padding: 8px 0;
  width: 110px;
  text-align: center;
  font-size: 1.85rem;
  line-height: 1;
  color: #fff;
  background: var(--color-accent);
}

.sec02__row--flip .sec02__no {
  float: right;
  margin-left: 12px;
}

.sec02__in h3 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.06em;
}

.sec02__body {
  max-width: 350px;
  margin-bottom: 26px;
}

.btn01 {
  display: block;
  width: min(100%, 350px);
  background: var(--color-black);
  color: #fff;
  text-align: center;
  padding: 10px 0;
}

.sec02__row--flip .btn01 {
  margin-left: auto;
}

/* sec03 — three-column teaser (no extra “cards”; flat like reference) */
.sec03 {
  padding-bottom: clamp(72px, 12vw, 100px);
}

.sec03__grid {
  display: grid;
  gap: clamp(36px, 6vw, 48px);
}

@media (min-width: 900px) {
  .sec03__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.sec03__item h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.sec03__item span.badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--color-accent);
  color: #fff;
  font-size: 1rem;
}

.sec03__item p {
  margin: 0;
  width: min(100%, 28ch);
}

/* sec04 — two column links */
.sec04 {
  display: grid;
  gap: 36px;
  justify-content: center;
  margin: clamp(60px, 10vw, 100px) 0 clamp(48px, 8vw, 60px);
}

@media (min-width: 768px) {
  .sec04 {
    grid-template-columns: repeat(2, minmax(0, 450px));
    gap: 48px 64px;
  }
}

/* sec05 — access strip */
.sec05 {
  margin: clamp(48px, 8vw, 60px) 0 clamp(80px, 14vw, 120px);
  background: var(--color-white-70);
  padding: clamp(22px, 4vw, 30px) 0;
  position: relative;
}

.sec05__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .sec05__inner {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
}

.sec05 h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
  padding: 10px clamp(18px, 4vw, 40px);
  border-right: 1px solid var(--color-black);
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
}

@media (max-width: 899px) {
  .sec05 h2 {
    border-right: none;
    border-bottom: 1px solid var(--color-black);
    padding-bottom: 16px;
  }
}

.sec05__dl {
  flex: 1;
  display: grid;
  gap: 10px 16px;
  margin: 0;
  padding: 0 clamp(18px, 4vw, 32px);
}

@media (min-width: 640px) {
  .sec05__dl {
    grid-template-columns: minmax(0, 140px) 1fr;
  }
}

.sec05__dl dt {
  margin: 0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sec05__dl dd {
  margin: 0;
}

.map-embed {
  margin-top: 18px;
  width: 100%;
  min-height: 320px;
  border: 0;
  filter: none;
}

.link-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
}

.link-row a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* sec06 — split content page sections */
.sec06 {
  padding: clamp(48px, 9vw, 80px) 0 clamp(72px, 12vw, 120px);
}

.sec06__split {
  display: grid;
  gap: 36px;
}

@media (min-width: 900px) {
  .sec06__split {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 48px;
  }
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2.4em;
  margin-bottom: 0.75em;
  font-size: 1.35rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1em;
}

.list-plain {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.list-plain li {
  margin-bottom: 0.35em;
}

.page-hero-title {
  padding: calc(100vh - 42vh) clamp(18px, 4vw, 24px) 42px;
  padding-top: clamp(120px, 22vh, 190px);
}

.page-hero-title h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 24px rgba(255, 255, 255, 0.35);
}

.subhead {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: #333;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 18px rgba(255, 255, 255, 0.35);
}

/* Utility pages need readable title on hero — 参照の明るさを維持し影のみ */
.hero--page .page-hero-title {
  max-width: var(--container);
  margin-inline: auto;
}

/* Footer */
.site-footer {
  padding: 40px 0 56px;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.35);
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 24px);
  display: grid;
  gap: 18px;
}

.site-footer small {
  display: block;
  font-size: 0.8rem;
  color: #3b3b3b;
}

.faq details {
  border-bottom: 1px dotted rgba(0, 0, 0, 0.25);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq .answer {
  margin: 10px 0 0;
  color: #333;
}

/* Contact form — minimal */
.form-grid {
  display: grid;
  gap: 16px;
  max-width: 560px;
}

.field label {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
}

.form-actions {
  margin-top: 8px;
}

.btn-submit {
  all: unset;
  box-sizing: border-box;
  display: inline-block;
  width: min(100%, 320px);
  text-align: center;
  padding: 12px 16px;
  background: var(--color-black);
  color: #fff;
  cursor: pointer;
}

.news-list article {
  padding: 22px 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.25);
}

.news-list time {
  font-size: 0.9rem;
  color: #444;
}

.breadcrumb {
  max-width: var(--container);
  margin: 18px auto 0;
  padding-inline: clamp(18px, 4vw, 24px);
  font-size: 0.85rem;
  color: #444;
}

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

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: #777;
}

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

  .reveal,
  .reveal-img {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

html[lang^="zh"] body {
  font-family: "Noto Sans SC", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "PingFang SC", sans-serif;
}
