/* =========================================================
   流通クリエイティブ会社 / Web Site
   Base white + playful yellow accent
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --color-bg: #ffffff;
  --color-bg-soft: #faf9f6;
  --color-ink: #1a1a1a;
  --color-ink-soft: #6b6b6b;
  --color-line: #ececec;
  --color-yellow: #ffd400;
  --color-yellow-soft: #fff3b0;
  --color-yellow-deep: #f5b800;

  --font-jp: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  --font-en: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  /* 見出し用（CONNECT と同じ Anton／日本語は M PLUS フォールバック） */
  --font-display: "Anton", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-lg: 32px;

  --header-h: 104px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

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

/* ヒーローのロゴとAboutは等倍。それ以外は中身だけ縮小して見せる
   （zoom をセクション自体に掛けるとレイアウト幅は維持されても描画は 80% になり、
    右側に 20% の余白＝白い帯ができてしまうので、内側の .container にだけ zoom を掛ける）
   モバイルでは zoom を解除して通常レンダリングに戻す。 */
@media (min-width: 769px) {
  #recruit > .container,
  .site-footer > .container {
    zoom: 0.8;
  }
  /* Business / Project / Company / Contact は等倍で表示（画面幅を活かす） */
  /* ヘッダーはロゴとナビを左右の端まで広げる。
     zoom は使わず、container を viewport 幅いっぱいに広げ、
     代わりにロゴと項目自体を縮小して以前のサイズ感に近づける */
  .site-header > .container {
    max-width: none;
    padding-inline: clamp(20px, 3vw, 56px);
  }
  .site-header .logo--img img { height: calc((var(--header-h) - 12px) * 0.85); }
  .site-header .gnav a { font-size: 0.82rem; }
  .site-header .gnav ul { gap: clamp(14px, 1.8vw, 28px); }
  .site-header .gnav .nav-cta { padding: 9px 18px; }
}

body {
  font-family: var(--font-jp);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(64px, 11vw, 140px);
}

.section--soft { background: var(--color-bg-soft); }

.section-head {
  margin-bottom: clamp(36px, 6vw, 64px);
}

.section-label {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 7rem);
  /* Anton は 400 のみ／日本語フォールバック(M PLUS Rounded 1c)は 900 で太く表示 */
  font-weight: 900;
  line-height: 1.02;
  margin-top: 14px;
  letter-spacing: 0.02em;
}

.section-title .mark {
  background: none;
}

.lead {
  margin-top: 18px;
  max-width: 620px;
  color: var(--color-ink-soft);
  font-size: 1rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  will-change: transform;
}

.btn--primary {
  background: var(--color-yellow);
  color: var(--color-ink);
  box-shadow: 0 10px 24px -10px var(--color-yellow-deep);
}

.btn--ghost {
  border: 2px solid var(--color-ink);
  background: transparent;
}

.btn:hover { transform: translateY(-3px); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-line);
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.logo .dot {
  width: 12px;
  height: 12px;
  background: var(--color-yellow);
  border-radius: 50%;
  display: inline-block;
  transform: translateY(2px);
}

/* ヘッダーのロゴ画像：ヘッダー高さに合わせる */
.logo--img {
  display: flex;
  align-items: center;
  padding: 6px 0;
}
.logo--img img {
  height: calc(var(--header-h) - 12px);
  width: auto;
  display: block;
}

.gnav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.gnav a {
  font-size: 0.92rem;
  font-weight: 700;
  position: relative;
  padding: 6px 2px;
}

.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: var(--color-yellow);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.gnav a:hover::after,
.gnav a[aria-current="page"]::after { transform: scaleX(1); }

.gnav .nav-cta {
  background: var(--color-ink);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
}
.gnav .nav-cta::after { display: none; }

/* ===== Hover mega panel (Business / Project) ===== */
.gnav li.has-mega { position: relative; }
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: max-content;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  box-shadow: 0 24px 50px -22px rgba(0,0,0,.28);
  padding: 10px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  z-index: 120;
}
.mega::before { /* hover bridge so the gap doesn't close the panel */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -16px; height: 16px;
}
.gnav li.has-mega:hover .mega,
.gnav li.has-mega:focus-within .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}
.mega__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 10px;
  transition: background .2s;
}
.mega__item:hover { background: var(--color-bg-soft); }
.mega__tx { display: flex; align-items: baseline; gap: 10px; line-height: 1.3; }
.mega__tx b { font-size: 1rem; font-weight: 800; white-space: nowrap; }
.mega__tx i {
  font-family: var(--font-en);
  font-style: normal;
  font-size: .68rem;
  letter-spacing: .12em;
  color: var(--color-ink-soft);
}
.mega__item::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 110;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 9px;
  width: 26px;
  height: 2.5px;
  background: var(--color-ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero / Top ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
  padding-bottom: clamp(72px, 12vh, 130px);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.85));
}

/* ロゴをヒーローに使う場合：切り抜かず中央に表示 */
.hero__media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  padding: calc(var(--header-h) + 8px) 16px 56px;
}
.hero__media--logo {
  /* 入場後にゆっくり上下する自然な浮遊 */
  animation: heroFloat 7s ease-in-out 1.5s infinite;
}
.hero__media--logo img {
  width: auto;
  height: auto;
  max-width: min(100%, 1200px);
  max-height: 100%;
  object-fit: contain;
  /* ふわっと浮き出てくる入場アニメーション */
  animation: heroLogoIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__media--logo::after { display: none; }

@keyframes heroLogoIn {
  0%   { opacity: 0; transform: translateY(34px) scale(0.82); filter: blur(8px); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

@media (max-width: 768px) {
  .hero__media--logo { padding: calc(var(--header-h) + 4px) 12px 40px; }
  .hero__media--logo img { max-width: 100%; max-height: 100%; }
}

.hero__inner {
  width: 100%;
}

.hero__copy {
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.hero__copy .accent {
  position: relative;
  display: inline-block;
}
.hero__copy .accent::before {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: 6%;
  height: 38%;
  background: var(--color-yellow);
  z-index: -1;
  transform: rotate(-1.5deg);
}

.hero__sub {
  margin-top: 26px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-ink-soft);
  max-width: 560px;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: var(--color-ink-soft);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 46px;
  margin: 12px auto 0;
  background: var(--color-ink-soft);
  animation: scrollLine 1.8s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.about__text p + p { margin-top: 1.2em; }

.about__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--color-yellow-soft);
  overflow: hidden;
}
.about__visual img { width: 100%; height: 100%; object-fit: cover; }
.about__visual::before {
  content: "";
  position: absolute;
  inset: auto -30px -30px auto;
  width: 140px;
  height: 140px;
  background: var(--color-yellow);
  border-radius: 50%;
  z-index: 1;
}

.stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stats li { border-left: 4px solid var(--color-yellow); padding-left: 16px; }
.stats .num {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
}
.stats .cap { font-size: 0.85rem; color: var(--color-ink-soft); }

/* ---------- Cards (business / project) ---------- */
.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.25);
}

.card__thumb {
  aspect-ratio: 16 / 11;
  background: var(--color-bg-soft);
  overflow: hidden;
}
.card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__thumb img { transform: scale(1.05); }

/* Business カードはホバー時の拡大を維持。object-fit: cover で写真が枠いっぱい */

/* ロゴをサムネイルに使うカード（写真ではなくロゴ画像を切らずに収める） */
.card__thumb--logo { background: #fff; }
.card__thumb--logo img { object-fit: contain; padding: 24px; }
.card:hover .card__thumb--logo img { transform: none; }

.card__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }

.card__no {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-yellow-deep);
  letter-spacing: 0.15em;
}
.card__title { font-size: 2rem; font-weight: 900; margin: 12px 0 14px; }
.card__desc { font-size: 1.15rem; color: var(--color-ink-soft); line-height: 1.85; flex: 1; }
.card__link {
  margin-top: 24px;
  font-weight: 700;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card__link .arrow { transition: transform 0.25s var(--ease); }
.card:hover .card__link .arrow { transform: translateX(5px); }

/* ---------- Recruit ---------- */
.recruit {
  position: relative;
  background: var(--color-ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px);
  max-width: 920px;
  margin-inline: auto;
  overflow: hidden;
}
.recruit::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: var(--color-yellow);
  border-radius: 50%;
  opacity: 0.9;
}
.recruit__inner { position: relative; max-width: 820px; }
.recruit .section-title { color: #fff; }
.recruit .section-title .mark { background: none; -webkit-text-fill-color: currentColor; }
.recruit p {
  color: rgba(255, 255, 255, 0.78);
  margin: 18px 0 36px;
  /* "す。" だけ取り残されないよう、行を均等に折り返す */
  text-wrap: balance;
}

/* ---------- Company / Contact: 横幅を広く使う ---------- */
#company > .container,
#contact > .container {
  max-width: 1360px;
}

/* ---------- Company table ---------- */
.company__table {
  width: 100%;
  border-collapse: collapse;
}
.company__table th,
.company__table td {
  text-align: left;
  padding: clamp(20px, 2.4vw, 32px) 12px;
  border-bottom: 1px solid var(--color-line);
  vertical-align: top;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.8;
}
.company__table th {
  width: clamp(180px, 22vw, 300px);
  font-weight: 700;
  color: var(--color-ink-soft);
}

/* ---------- About title: 1行ずつ浮き出る ---------- */
.about-title .line {
  display: block;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s ease, transform .9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.about-title.is-visible .line { opacity: 1; transform: translateY(0); }
.about-title.is-visible .line:nth-child(2) { transition-delay: .18s; }
.about-title.is-visible .line:nth-child(3) { transition-delay: .36s; }

/* ---------- History 折れ線グラフ (Company下) ---------- */
.htrend {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--color-line);
}
.htrend__cap {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--color-ink-soft);
  display: block;
  margin-bottom: 8px;
}
.htrend__svg { width: 100%; height: auto; max-width: 780px; display: block; }
.htrend__svg .htrend__y {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 14px;
  fill: var(--color-ink);
}
.htrend__svg .htrend__t {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 11px;
  fill: var(--color-ink-soft);
}
.htrend__svg .htrend__future {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.2em;
  fill: var(--color-ink-soft);
}

/* ---------- Contact ---------- */
.contact__box {
  text-align: center;
  background: var(--color-yellow-soft);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 60px) clamp(28px, 5vw, 56px);
  max-width: 680px;
  margin-inline: auto;
}
.contact__box .section-title { margin-inline: auto; }
.contact__box p { color: var(--color-ink); margin: 18px auto 36px; max-width: 520px; }
.contact__mail {
  font-family: var(--font-en);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  display: inline-block;
  margin-top: 8px;
  border-bottom: 3px solid var(--color-ink);
}

/* 細く横長のコンタクトバー（英語＋メールのみ） */
.contact__box--slim {
  max-width: 1040px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 5vw, 60px);
  text-align: left;
  padding: clamp(18px, 2.6vw, 30px) clamp(28px, 4vw, 56px);
}
.contact__box--slim .section-title {
  margin: 0;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  line-height: 1;
}
.contact__box--slim .contact__mail {
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .contact__box--slim {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .contact__box--slim .contact__mail { font-size: 1.1rem; }
}

/* ---------- Contact form (compact, form-like) ---------- */
.contact-form {
  background: var(--color-yellow-soft);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px);
  max-width: 920px;
  margin-inline: auto;
  display: grid;
  gap: clamp(18px, 2vw, 28px);
}
.contact-form .section-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin: 0 0 14px;
}
.contact-form__field {
  display: grid;
  gap: 10px;
}
.contact-form__field > span {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(0.78rem, 0.9vw, 0.95rem);
  letter-spacing: 0.18em;
  color: var(--color-ink-soft);
}
.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: clamp(14px, 1.6vw, 20px) clamp(16px, 1.6vw, 22px);
  font-family: inherit;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--color-ink);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px var(--color-yellow);
}
.contact-form__field textarea { resize: vertical; min-height: 160px; line-height: 1.7; }
.contact-form__submit {
  align-self: start;
  margin-top: 4px;
  cursor: pointer;
}
.contact-form__note {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--color-ink-soft);
}
.contact-form__note a { text-decoration: underline; }

.contact-form__success {
  margin-top: 18px;
  padding: 16px 22px;
  border-radius: 14px;
  background: rgba(255, 212, 0, 0.22);
  border: 2px solid var(--color-yellow);
  color: var(--color-ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s var(--ease);
}
.contact-form__success.is-shown { opacity: 1; transform: translateY(0); }
.contact-form__success strong { font-size: 1.05rem; font-weight: 900; }
.contact-form__success span { color: var(--color-ink-soft); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(48px, 9vw, 110px));
  padding-bottom: clamp(40px, 7vw, 80px);
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-line);
}
.breadcrumb {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--color-ink-soft);
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
}
.breadcrumb span { opacity: 0.5; }
.page-hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
}
.page-hero .en {
  font-family: var(--font-en);
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--color-yellow-deep);
  text-transform: uppercase;
  font-size: 0.85rem;
}

/* ---------- Product grid (yasai project page) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.product-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 18px;
  text-align: center;
  box-shadow: 0 6px 16px -14px rgba(0,0,0,0.2);
}
.product-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1.5px dashed var(--color-yellow);
  background:
    repeating-linear-gradient(
      135deg,
      var(--color-bg-soft) 0 12px,
      #fff 12px 24px
    );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-yellow-deep);
  font-family: var(--font-en);
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 12px;
  overflow: hidden;
}
.product-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 画像が入ったら枠線・縞模様・PHOTO文字を消す */
.product-card__photo.has-img {
  border: none;
  background: none;
}
.product-card__photo.has-img .product-card__hint { display: none; }
.product-card__title {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.product-card__sub {
  margin-top: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--color-ink-soft);
}
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Detail block (sub pages) ---------- */
.detail {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  grid-template-areas: "media text";
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.detail__media { grid-area: media; }
.detail__text  { grid-area: text; }
.detail:nth-child(even) {
  grid-template-columns: 1fr minmax(220px, 320px);
  grid-template-areas: "text media";
}
.detail__media {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background: var(--color-yellow-soft);
  overflow: hidden;
}
/* デフォルト（野菜おじさん等の写真）：スペースいっぱいに表示 */
.detail__media img { width: 100%; height: 100%; object-fit: cover; }

/* Business ページ：写真を枠いっぱいに表示（角丸＋オーバーフロー隠し） */
body.biz-page .detail__media img { object-fit: cover; }
.detail__no {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 900;
  color: var(--color-yellow);
  line-height: 1;
}
.detail h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; margin: 6px 0 16px; }
.detail p { color: var(--color-ink-soft); font-size: 0.95rem; line-height: 1.95; }
.detail + .detail { margin-top: clamp(56px, 10vw, 120px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: #fff;
  padding-block: clamp(48px, 8vw, 80px);
}
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.site-footer .logo { color: #fff; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.footer-nav a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }
.footer-nav a:hover { color: var(--color-yellow); }
.copyright {
  width: 100%;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-en);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { order: -1; max-height: 380px; }
  .card-grid,
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }

  /* Business 詳細: モバイル/タブレットでは縦積み（上：画像、下：テキスト） */
  .detail,
  .detail:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "media"
      "text";
  }
  .detail__media { aspect-ratio: 5 / 4; max-width: 420px; margin-inline: auto; }
}

@media (max-width: 768px) {
  :root { --header-h: 80px; }

  .nav-toggle { display: block; }

  .gnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body.nav-open .gnav { transform: translateX(0); }

  .gnav ul {
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }
  .gnav a { font-size: 1.15rem; }
  .gnav .nav-cta { margin-top: 8px; }
  .mega { display: none; }

  .card-grid,
  .card-grid--2 { grid-template-columns: 1fr; }

  .stats { grid-template-columns: 1fr; gap: 16px; }

  /* スマホ: 見出し＋サブを左下にコンパクトにまとめる */
  .hero {
    min-height: 88vh;
    align-items: flex-end;
    padding-bottom: 92px;
  }

  .hero__copy {
    font-size: clamp(1.4rem, 6.5vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
  }

  .hero__sub {
    margin-top: 14px;
    font-size: 0.66rem;
    line-height: 1.6;
    letter-spacing: 0;
    max-width: min(70vw, 346px);
  }

  /* About のモバイル用縮小ルールは削除（現行の .about-dark__title 側で制御） */
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .company__table th { width: 120px; font-size: 0.85rem; }
}

/* =========================================================
   Theme: THE MALA (orange + white)
   ========================================================= */
body.theme-mala {
  /* ロゴのオレンジ #e8410d に統一 */
  --color-yellow: #e8410d;
  --color-yellow-soft: #fbd9cd;
  --color-yellow-deep: #c2350a;
}

/* =========================================================
   Page: THE MALA (project-mala.html)  -- 飲食店ライクな構成
   ========================================================= */
body.mala-page { background: #fff; }

.mala-main {
  padding: calc(var(--header-h) + 24px) clamp(16px, 4vw, 48px) clamp(48px, 8vw, 96px);
}

.mala-frame {
  max-width: 1080px;
  margin: 0 auto;
  border: 6px solid var(--color-yellow);
  border-radius: 6px;
  padding: clamp(28px, 6vw, 72px) clamp(20px, 5vw, 64px);
  display: grid;
  gap: clamp(48px, 7vw, 88px);
  background: #fff;
}

.mala-eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--color-yellow);
}

/* ---- Logo placeholder (pill) ---- */
.mala-logo {
  display: flex;
  justify-content: center;
  position: relative;
}
.mala-logo__pic {
  display: block;
  width: 100%;
  max-width: 640px;
  text-align: center;
}
.mala-logo__pic img {
  width: 100%;
  height: auto;
  display: block;
}
/* 画像が読み込めたらプレースホルダーを非表示にする */
.mala-logo.has-img .mala-logo__slot { display: none; }
.mala-logo__slot {
  width: 100%;
  max-width: 640px;
  min-height: clamp(140px, 22vw, 220px);
  border: 4px solid var(--color-yellow);
  border-radius: 999px;
  padding: clamp(22px, 4vw, 36px) clamp(28px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0 14px,
      rgba(232,65,13,0.05) 14px 28px
    );
}
.mala-logo__hint {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--color-yellow);
  font-weight: 800;
}
.mala-logo__placeholder {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--color-ink);
}
.mala-logo__badge {
  display: inline-block;
  padding: 5px 16px;
  background: var(--color-yellow);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  border-radius: 999px;
  font-weight: 700;
}

/* ---- Generic section heading ---- */
.mala-head { text-align: center; margin-bottom: clamp(20px, 3vw, 32px); }
.mala-head__title {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  margin-top: 8px;
}
.mala-head__sub {
  margin-top: 10px;
  color: var(--color-ink-soft);
  font-size: 0.92rem;
}

/* ---- Photo / image placeholders ---- */
.mala-photo,
.mala-info__map {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--color-bg-soft) 0 14px,
      #fff 14px 28px
    );
  border: 1.5px dashed var(--color-yellow);
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-yellow-deep);
  font-family: var(--font-en);
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  font-weight: 800;
  overflow: hidden;
}
.mala-photo__hint { opacity: 0.85; }
.mala-photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 画像が読み込めたらプレースホルダー文字を非表示、枠と背景を消す */
.mala-photo.has-img,
.mala-info__map.has-img {
  background: none;
  border: none;
}

/* Google Maps 埋め込み（店舗情報の隣） */
.mala-info__map--gmap {
  background: none;
  border: none;
  overflow: hidden;
}
.mala-info__map--gmap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.mala-photo.has-img .mala-photo__hint,
.mala-info__map.has-img .mala-photo__hint { display: none; }

/* SP-only line break / inline (mala page) */
.sp-br, .sp-only { display: none; }
@media (max-width: 768px) {
  .sp-br { display: inline; }
  .sp-only { display: inline; }
}

/* ---- Intro (text-only, fade-in) ---- */
.mala-intro {
  text-align: center;
  padding: clamp(20px, 5vw, 56px) 0;
}
.mala-intro__title {
  font-size: clamp(1.6rem, 4.2vw, 2.8rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  opacity: 0;
  transform: translateY(28px);
  animation: malaIntroIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}
.mala-intro__sub {
  margin-top: clamp(16px, 2vw, 24px);
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  line-height: 1.95;
  color: var(--color-ink-soft);
  opacity: 0;
  transform: translateY(18px);
  animation: malaIntroIn 1s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}
@keyframes malaIntroIn {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .mala-intro__title,
  .mala-intro__sub { opacity: 1; transform: none; animation: none; }
}

/* ---- Welcome (restaurant-style hero) ---- */
.mala-welcome {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
.mala-welcome__card {
  position: relative;
  background: #fff;
  border: 2px solid var(--color-yellow);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 40px) clamp(22px, 4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 28px -22px rgba(232, 93, 4, 0.45);
}
.mala-welcome__noren {
  position: absolute;
  inset: -2px -2px auto -2px;
  height: 22px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--color-yellow) 0 26px,
      #fff 26px 32px
    );
  border-radius: 14px 14px 0 0;
}
.mala-welcome__title {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 900;
  line-height: 1.5;
  margin-top: 14px;
  letter-spacing: 0.02em;
}
.mala-welcome__lead {
  color: var(--color-ink-soft);
  font-size: 0.92rem;
  line-height: 1.95;
}

.mala-welcome__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
  padding: 16px 4px;
  border-top: 1.5px dashed var(--color-yellow);
  border-bottom: 1.5px dashed var(--color-yellow);
}
.mala-welcome__meta li { display: flex; flex-direction: column; gap: 2px; }
.mala-welcome__metaLabel {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--color-yellow-deep);
}
.mala-welcome__metaValue {
  font-weight: 800;
  font-size: 0.95rem;
}
.mala-welcome__metaSub {
  font-size: 0.75rem;
  color: var(--color-ink-soft);
}

.mala-welcome__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}
.mala-status { display: inline-flex; align-items: center; gap: 10px; }
.mala-status__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  position: relative;
}
.mala-status__dot::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.25);
  animation: malaPulse 2s ease-out infinite;
}
@keyframes malaPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.mala-status__txt { font-weight: 800; font-size: 0.88rem; }
.mala-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 16px;
  border: 1.5px solid var(--color-yellow);
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--color-ink-soft);
  line-height: 1.2;
}
.mala-stamp b {
  font-size: 0.95rem;
  color: var(--color-yellow-deep);
  letter-spacing: 0.06em;
  font-weight: 900;
}

.mala-photo--tall { aspect-ratio: 3 / 4; height: 100%; }

/* ---- Pricing summary (量り売り) ---- */
.mala-pricing {
  position: relative;
  max-width: 760px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  padding: clamp(22px, 3vw, 30px) clamp(20px, 3vw, 32px);
  background: var(--color-yellow-soft);
  border-radius: 18px;
}
.mala-pricing__label {
  display: inline-block;
  background: var(--color-yellow);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.mala-pricing__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1.5px dashed var(--color-yellow);
}
.mala-pricing__row:last-of-type { border-bottom: none; }
.mala-pricing__name {
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
}
.mala-pricing__name i {
  font-style: normal;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--color-ink-soft);
}
.mala-pricing__price {
  text-align: right;
  font-size: 1rem;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mala-pricing__price b {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-yellow-deep);
}
.mala-pricing__price small {
  font-size: 0.72rem;
  color: var(--color-ink-soft);
}
.mala-pricing__note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--color-ink-soft);
}

.mala-menu-group__note {
  text-align: center;
  margin: 0 0 10px;
  font-size: 0.85rem;
  color: var(--color-ink-soft);
}
.mala-menu-group__note b { color: var(--color-yellow-deep); font-weight: 900; }

/* ---- Menu list ---- */
.mala-menu-group + .mala-menu-group { margin-top: clamp(20px, 3vw, 32px); }
.mala-menu-group__title {
  font-family: var(--font-en);
  letter-spacing: 0.3em;
  color: var(--color-yellow-deep);
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
  font-size: 0.82rem;
}
.mala-menu {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 4px;
}
.mala-menu__item {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name price" "desc desc";
  align-items: baseline;
  gap: 4px 16px;
  padding: 16px 4px;
  border-bottom: 1.5px dashed var(--color-yellow);
}
.mala-menu__item b {
  grid-area: name;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.mala-menu__item i {
  grid-area: desc;
  font-style: normal;
  color: var(--color-ink-soft);
  font-size: 0.84rem;
}
.mala-menu__item span {
  grid-area: price;
  font-family: var(--font-en);
  font-weight: 900;
  color: var(--color-yellow-deep);
  font-size: 1.05rem;
  white-space: nowrap;
}

/* Wide horizontal photo placeholder (below menu) */
.mala-photo--wide {
  aspect-ratio: 16 / 7;
  margin: clamp(24px, 4vw, 40px) auto 0;
  max-width: 920px;
}
/* 画像が入ったら、切り取らず全体が見えるよう本来の比率で表示 */
.mala-photo--wide.has-img {
  aspect-ratio: auto;
  height: auto;
}
.mala-photo--wide.has-img .mala-photo__img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ---- Store info ---- */
.mala-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}
.mala-info__table { width: 100%; border-collapse: collapse; }
.mala-info__table th {
  text-align: left;
  vertical-align: top;
  width: 96px;
  padding: 14px 10px 14px 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-yellow-deep);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}
.mala-info__table td {
  vertical-align: top;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Yasai partnership callout ---- */
.mala-partner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
  /* 親自体は枠なし背景なし。中の box にだけ薄い黄色背景を入れる */
}
.mala-partner__icon {
  position: relative;
  width: clamp(72px, 10vw, 110px);
  height: clamp(72px, 10vw, 110px);
  border-radius: 50%;
  border: 2px dashed var(--color-yellow);
  background: #fff;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-yellow);
  font-family: var(--font-en);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  overflow: hidden;
}
.mala-partner__icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.mala-partner__icon.has-img { border: none; }
.mala-partner__icon.has-img .mala-photo__hint { display: none; }
.mala-partner__box {
  flex: 1;
  background: rgba(232, 65, 13, 0.12);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px) clamp(20px, 3vw, 32px);
}
.mala-partner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
}
.mala-partner p a {
  color: var(--color-yellow-deep);
  font-weight: 800;
  border-bottom: 1.5px solid var(--color-yellow);
}

/* ---- Back link ---- */
.mala-back { text-align: center; margin-top: -12px; }
.mala-back a {
  font-weight: 700;
  color: var(--color-ink-soft);
}
.mala-back a:hover { color: var(--color-yellow-deep); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .mala-welcome,
  .mala-info { grid-template-columns: 1fr; }
  .mala-welcome__meta { grid-template-columns: 1fr; }
  .mala-welcome__footer { flex-direction: column; align-items: flex-start; }
  .mala-photo--tall { aspect-ratio: 4 / 3; height: auto; }
  .mala-info__table th { width: 80px; font-size: 0.78rem; }
  .mala-menu__item {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "name price"
      "desc desc";
    gap: 4px 12px;
  }
  .mala-menu__item b { grid-area: name; }
  .mala-menu__item span { grid-area: price; }
  .mala-menu__item i { grid-area: desc; }
  .mala-partner { flex-direction: column; text-align: center; }
}

/* =========================================================
   NEW: THE MALA page — Korean poster style redesign (v2)
   参考：SINJEON FOOD SYS  |  大胆な余白 / 太いディスプレイ書体 / ミニマル配色
   ========================================================= */
body.mala2-page {
  /* 白ベース + すべてオレンジの文字（黒は使わない） */
  --m2-orange:      #ff7a3d;
  --m2-orange-dp:   #e8551b;
  --m2-orange-soft: #ffe6d3;
  --m2-cream:       #ffffff;
  --m2-ink:         #e8551b;  /* 本文はオレンジの少し濃いめ */
  --m2-ink-soft:    #ffa579;  /* 補助はソフトオレンジ */

  /* 韓国風の太いディスプレイ書体 */
  --m2-display: "Black Han Sans", "M PLUS Rounded 1c", sans-serif;
  --m2-display-kr: "Do Hyeon", "Black Han Sans", "M PLUS Rounded 1c", sans-serif;

  background: var(--m2-cream);
  color: var(--m2-ink);
}

.mala2-main {
  padding: calc(var(--header-h) + 32px) clamp(20px, 5vw, 64px) clamp(64px, 10vw, 140px);
  max-width: 1180px;
  margin-inline: auto;
}

.mala2-main > section + section,
.mala2-main > section + p {
  margin-top: clamp(90px, 14vw, 180px);   /* 大胆な余白 */
}

/* ---------------- HERO (logo only) ---------------- */
.mala2-hero {
  position: relative;
  text-align: center;
  padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mala2-hero__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mala2-hero__logo img {
  display: none;
  max-width: min(520px, 80vw);
  height: auto;
}
.mala2-hero__logo.has-img img { display: block; }
.mala2-hero__logo.has-img .mala2-hero__logo-fallback { display: none; }
.mala2-hero__logo-fallback {
  font-family: var(--m2-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--m2-orange);
  letter-spacing: 0.04em;
}

.mala2-hero > *:not(.mala2-hero__watermark) { position: relative; z-index: 1; }

/* ロゴエリア（画像 or フォールバック） */
.mala2-hero__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: clamp(60px, 8vw, 100px);
  margin-bottom: 8px;
}
.mala2-hero__logo img {
  display: none;
  max-width: min(340px, 60vw);
  height: auto;
}
.mala2-hero__logo.has-img img { display: block; }
.mala2-hero__logo.has-img .mala2-hero__logo-fallback { display: none; }
.mala2-hero__logo-fallback {
  font-family: var(--m2-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--m2-orange);
}

/* メインの韓国語タイトル（ヒーロー唯一の主役／潰れないように Do Hyeon を使用） */
.mala2-hero__title {
  font-family: var(--m2-display-kr);   /* Do Hyeon = 韓国語向けの視認性が高い太字 */
  font-weight: 400;                    /* Do Hyeon は単一ウェイト（400） */
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--m2-orange);
  margin: 0;
}

/* キャラクター配置スペース（後から差し替え） */
.mala2-hero__chars {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  justify-content: center;
  margin-top: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.mala2-char {
  width: clamp(80px, 12vw, 130px);
  height: clamp(80px, 12vw, 130px);
  border: 2px dashed var(--m2-orange);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--m2-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--m2-orange);
  opacity: 0.7;
}
.mala2-char:nth-child(1) { transform: rotate(-4deg); }
.mala2-char:nth-child(2) { transform: translateY(-8px); }
.mala2-char:nth-child(3) { transform: rotate(3deg); }

/* 共通アイブロー（英字ラベル） */
.mala2-eyebrow {
  font-family: var(--m2-display);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  color: var(--m2-orange);
  display: inline-block;
}

/* ---------------- BIG PHOTO ---------------- */
.mala2-bigphoto {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 1080px;
  margin-inline: auto;
  border-radius: 24px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      135deg,
      var(--m2-orange-soft) 0 18px,
      #fff 18px 36px
    );
  display: flex;
  align-items: center;
  justify-content: center;
}
.mala2-bigphoto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.mala2-bigphoto.has-img img { display: block; }
.mala2-bigphoto.has-img .mala2-bigphoto__hint { display: none; }
.mala2-bigphoto__hint {
  font-family: var(--m2-display);
  font-size: 1rem;
  letter-spacing: 0.4em;
  color: var(--m2-orange-dp);
}

/* ---------------- MENU (poster) ---------------- */
.mala2-menu { max-width: 780px; margin-inline: auto; text-align: center; }
.mala2-menu__head { margin-bottom: clamp(30px, 5vw, 56px); }
.mala2-menu__ttl {
  font-family: var(--m2-display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--m2-orange);
  margin: 10px 0 8px;
  letter-spacing: 0.02em;
}
.mala2-menu__sub {
  color: var(--m2-ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

.mala2-menu__main {
  border-top: 3px solid var(--m2-orange);
  border-bottom: 3px solid var(--m2-orange);
  padding: clamp(28px, 4vw, 44px) 0;
  margin-bottom: clamp(40px, 6vw, 60px);
}

.mala2-menu__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(8px, 3vw, 24px);
}
.mala2-menu__row + .mala2-menu__row { margin-top: 20px; }
.mala2-menu__nm {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mala2-menu__nm b {
  font-family: var(--m2-display-kr);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--m2-ink);
  letter-spacing: 0.02em;
}
.mala2-menu__nm span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--m2-ink-soft);
}
.mala2-menu__nm em {
  font-family: var(--m2-display);
  font-style: normal;
  color: var(--m2-orange);
  letter-spacing: 0.16em;
  margin-left: 6px;
}
.mala2-menu__pr {
  text-align: right;
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.mala2-menu__pr-unit {
  font-size: 0.85rem;
  color: var(--m2-ink-soft);
}
.mala2-menu__pr-num {
  font-family: var(--m2-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--m2-orange-dp);
  letter-spacing: 0.02em;
}
.mala2-menu__note {
  text-align: left;
  padding: 0 clamp(8px, 3vw, 24px);
  font-size: 0.78rem;
  color: var(--m2-ink-soft);
  margin: 6px 0 0;
}

.mala2-menu__sides {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  text-align: left;
}
.mala2-side {
  padding: clamp(20px, 3vw, 28px);
  background: #fff;
  border-radius: 16px;
}
.mala2-side__cat {
  font-family: var(--m2-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--m2-orange);
  font-weight: 900;
  display: block;
  margin-bottom: 12px;
}
.mala2-side p { margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--m2-ink); }
.mala2-side b { font-family: var(--m2-display-kr); font-weight: 700; }
.mala2-side em {
  font-family: var(--m2-display);
  font-style: normal;
  color: var(--m2-orange-dp);
  font-weight: 900;
  font-size: 1.05rem;
}

/* ---------------- INFORMATION (posters only, no frame) ---------------- */
.mala2-info-notice { max-width: 1080px; margin-inline: auto; }
.mala2-info-notice__label { display: block; margin-bottom: 20px; }

/* 左：正方形の大きめ / 右：小さめ縦長（メインの縦中心にサブの中心を揃える） */
.mala2-notice__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
}
.mala2-notice__poster--main { aspect-ratio: 1 / 1; }
.mala2-notice__poster--sub  { aspect-ratio: 4 / 5; }

.mala2-notice__poster {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--m2-orange-soft) 0 12px,
      #fff 12px 24px
    );
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m2-orange-dp);
  font-family: var(--m2-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  overflow: hidden;
}
.mala2-notice__poster img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;   /* ポスター全体を切らずに表示（透過PNG対応） */
  display: none;
}
.mala2-notice__poster.has-img img { display: block; }
.mala2-notice__poster.has-img { background: #fff; }
.mala2-notice__poster.has-img .mala2-notice__hint { display: none; }

@media (max-width: 560px) {
  .mala2-notice__grid { grid-template-columns: 1fr 1fr; }
}

/* メニュー下の税抜き注記 */
.mala2-menu2__taxnote {
  margin: clamp(28px, 4vw, 40px) 0 0;
  text-align: center;
  font-family: var(--m2-display);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--m2-orange-dp);
}

/* ---------------- MENU2 (grid style) ---------------- */
.mala2-menu2 { max-width: 1080px; margin-inline: auto; }
.mala2-menu2__head {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.mala2-menu2__ttl {
  font-family: var(--m2-display);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 5.6rem);
  color: var(--m2-orange);
  margin: 0;
  letter-spacing: 0.04em;
}

.mala2-menu2__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 40px);
}

.mala2-item {
  display: flex;
  flex-direction: column;
}

/* 写真スペース（後から画像挿入） */
.mala2-item__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    repeating-linear-gradient(
      135deg,
      var(--m2-orange-soft) 0 14px,
      #fff 14px 28px
    );
  border-radius: 12px;
  border: 1.5px dashed var(--m2-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m2-orange-dp);
  font-family: var(--m2-display);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  overflow: hidden;
}
.mala2-item__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: none;
}
.mala2-item__photo.has-img img { display: block; }
.mala2-item__photo.has-img { background: #fff; border: none; }
.mala2-item__photo.has-img .mala2-item__hint { display: none; }

/* ドリンクは正方形にトリミングして表示（缶が中央にくるように・黒い縁を隠す） */
.mala2-item--drink .mala2-item__photo {
  border-radius: 16px;
  overflow: hidden;   /* はみ出しを角丸で切る（黒い縁を確実に隠す） */
}
.mala2-item--drink .mala2-item__photo img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.6);   /* 大きくズームして上下の黒帯を完全に切る */
  transform-origin: center;
}

/* キャラ配置スペース（参考画像のステッカーのように写真の左上に配置） */
.mala2-item__char {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 46px;
  height: 46px;
  border: 2px dashed var(--m2-orange);
  border-radius: 50%;
  background: #fff;
  z-index: 2;
  font-family: var(--m2-display);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m2-orange);
}
.mala2-item__char::after {
  content: "CHAR";
  opacity: 0.7;
}
.mala2-item__char[data-char="2"] { top: -14px; left: auto; right: -14px; transform: rotate(6deg); }
.mala2-item__char[data-char="3"] { top: -10px; left: auto; right: -8px; transform: rotate(-4deg); }

/* 名前と価格の行（下線付き） */
.mala2-item__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--m2-orange);
}
.mala2-item__name {
  font-family: var(--m2-display-kr);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--m2-orange);
  margin: 0;
  letter-spacing: 0.02em;
}
.mala2-item__price {
  font-family: var(--m2-display);
  font-weight: 900;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: var(--m2-orange-dp);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.mala2-item__price small {
  font-size: 0.62em;
  color: var(--m2-ink-soft);
  font-weight: 700;
  margin: 0 2px;
}

.mala2-item__note {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: var(--m2-ink-soft);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .mala2-menu2__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .mala2-menu2__grid { grid-template-columns: 1fr; }
  .mala2-menu2__grid { gap: 40px; }
}

/* ---------------- INFO ---------------- */
.mala2-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
.mala2-info__col { padding-top: 12px; }
.mala2-info__ttl {
  font-family: var(--m2-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--m2-orange);
  margin: 8px 0 clamp(20px, 3vw, 32px);
  letter-spacing: 0.02em;
}
.mala2-info__list {
  display: grid;
  gap: 20px;
  margin: 0;
}
.mala2-info__list > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1.5px dashed var(--m2-orange-soft);
}
.mala2-info__list dt {
  font-family: var(--m2-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--m2-orange-dp);
  font-weight: 900;
}
.mala2-info__list dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--m2-ink);
}
.mala2-info__list dd small { color: var(--m2-ink-soft); font-size: 0.78rem; }

.mala2-info__map {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: var(--m2-orange-soft);
}
.mala2-info__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------------- PARTNER ---------------- */
.mala2-partner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(32px, 5vw, 52px);
  background: #fff;
  border-radius: 28px;
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.mala2-partner__icon {
  position: relative;
  width: clamp(110px, 14vw, 150px);
  height: clamp(110px, 14vw, 150px);
  border-radius: 50%;
  border: 2px dashed var(--m2-orange);
  background: var(--m2-cream);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--m2-display);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  color: var(--m2-orange);
  overflow: hidden;
}
.mala2-partner__icon img {
  display: none;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 6px;
}
.mala2-partner__icon.has-img img { display: block; }
.mala2-partner__icon.has-img { border: none; }
.mala2-partner__icon.has-img > span { display: none; }
.mala2-partner__txt {
  margin: 0;
  font-size: clamp(1.1rem, 1.7vw, 1.25rem);
  line-height: 1.9;
  color: var(--m2-ink);
  letter-spacing: 0.02em;
}
.mala2-partner__txt a {
  color: var(--m2-orange-dp);
  font-weight: 800;
  border-bottom: 1.5px solid var(--m2-orange);
}

/* ---------------- BACK LINK ---------------- */
.mala2-back {
  text-align: center;
  margin-top: clamp(60px, 8vw, 100px);
  font-family: var(--m2-display);
}
.mala2-back a {
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  color: var(--m2-ink-soft);
}
.mala2-back a:hover { color: var(--m2-orange-dp); }

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  .mala2-info { grid-template-columns: 1fr; }
  .mala2-menu__sides { grid-template-columns: 1fr; }
  .mala2-menu__row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mala2-menu__pr { align-self: flex-end; }
  .mala2-partner { flex-direction: column; text-align: center; }
  .mala2-info__list > div { grid-template-columns: 70px 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* =========================================================
   NEW: Top page redesign (v33)
   Hero + About / Business (big type) / Project (row) / Recruit (big box)
   ========================================================= */

/* ---------- Hero + About (full-viewport, edge-to-edge) ---------- */
.hero-about {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 8px);
  padding-bottom: 16px;
  display: flex;
  align-items: center;
}
/* 画面いっぱいに広げるためコンテナの max-width と外側余白を打ち消す */
.hero-about > .container {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
.hero-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}
/* テキスト部：作った画像を assets/hero-text.png に置くと自動で反映される */
.hero-about__text-slot {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 50vw, 780px);
  max-height: calc(100vh - var(--header-h) - 32px);
  border: 1.5px dashed var(--color-line);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(
      135deg,
      var(--color-bg-soft) 0 14px,
      #fff 14px 28px
    );
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-about__text-slot img {
  display: none;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  /* 画像サイズはそのまま、視覚的に右にシフト（右の余白部分はスロットの overflow: hidden でクリップ） */
  margin-left: clamp(30px, 5vw, 90px);
}
.hero-about__text-slot.has-img {
  border: none;
  background: none;
  min-height: 0;
  max-height: none;
  height: auto;
  align-self: center;
}
.hero-about__text-slot.has-img img { display: block; }
.hero-about__text-slot.has-img .hero-about__text-hint { display: none; }
.hero-about__text-hint {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  letter-spacing: 0.24em;
  color: var(--color-ink-soft);
  opacity: 0.7;
  text-align: center;
  line-height: 1.5;
}
.hero-about__text-hint small {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.7;
}
.hero-about__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.hero-about__logo img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
  animation: heroFloat 7s ease-in-out 0.6s infinite;
}
@media (max-width: 900px) {
  .hero-about { min-height: auto; padding-block: calc(var(--header-h) + 24px) 48px; }
  .hero-about__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-about__text-slot { min-height: 260px; max-height: 60vh; }
  .hero-about__logo img { max-width: 460px; max-height: 68vh; }
}

/* ---------- Embed slots (Business / Project / Recruit) ----------
   ここに後から作ったオブジェクトを埋め込むための空スペース。
   .section-slot__inner の中身をあとから差し替える想定。 */
.section-slot {
  padding-block: clamp(48px, 7vw, 100px);
  padding-inline: var(--gutter);
}
.section-slot__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  min-height: clamp(320px, 60vh, 640px);
  border: 1.5px dashed var(--color-line);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(
      135deg,
      var(--color-bg-soft) 0 14px,
      #fff 14px 28px
    );
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-slot__label {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  letter-spacing: 0.28em;
  color: var(--color-ink-soft);
  opacity: 0.6;
}

/* zoom: 0.8 は #business/#project/#recruit の .container 直下にしか掛からないので、
   .section-slot を子に持つ新レイアウトには影響しない。念のため打ち消し。 */
@media (min-width: 769px) {
  #business.section-slot,
  #project.section-slot,
  #recruit.section-slot { zoom: 1; }
}

/* =========================================================
   Business block (v57) — company overview image + 3 businesses
   ========================================================= */
.biz-block {
  padding-block: clamp(40px, 6vw, 88px);
}
/* biz-block はコンテナに zoom: 0.8 が掛からないよう打ち消し */
@media (min-width: 769px) {
  .biz-block > .container { zoom: 1; }
}

/* ---------- Company intro (Japanese lead text at top of Business) ---------- */
.biz-intro {
  width: 100%;
  margin: 0 0 clamp(48px, 7vw, 96px);
  padding-inline: var(--gutter);
}
.biz-intro__inner {
  max-width: 840px;
  margin-inline: auto;
  text-align: center;
}
.biz-intro__inner p {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  line-height: 2;
  color: var(--color-ink);
  letter-spacing: 0.04em;
}

/* ---------- Business list ---------- */
.biz-list {
  display: grid;
  gap: clamp(36px, 5vw, 64px);
}
.biz-item {
  display: grid;
  grid-template-columns: clamp(120px, 15vw, 200px) 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(32px, 4.5vw, 56px) 0;
  border-top: 1px solid var(--color-line);
}
.biz-item:first-child { border-top: none; }

.biz-item__logo {
  width: clamp(104px, 13vw, 176px);
  height: clamp(104px, 13vw, 176px);
  border-radius: 50%;
  background: var(--color-yellow-soft);
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.biz-item__logo svg {
  width: 55%;
  height: 55%;
  color: var(--color-ink);
}

.biz-item__body { min-width: 0; }
.biz-item__no {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(0.85rem, 1vw, 1rem);
  letter-spacing: 0.2em;
  color: var(--color-yellow-deep);
  text-transform: uppercase;
}
.biz-item__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  /* Anton は 400 のみ／日本語フォールバック(M PLUS Rounded 1c)は 900 で表示して視覚的な太さを揃える */
  font-weight: 900;
  margin: 10px 0 18px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.biz-item__desc {
  color: var(--color-ink-soft);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 2;
}

@media (max-width: 640px) {
  .biz-item {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .biz-item__title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .biz-item__desc { font-size: 1.08rem; line-height: 1.95; }
}

/* ---------- Project tiles (redesign) ---------- */
.proj-section { padding-block: clamp(48px, 7vw, 100px); }
.proj-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.proj-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 4 / 5;
  background: #fff;
  color: var(--color-ink);
  border: 1px solid var(--color-line);
  border-radius: 0;   /* 角丸なしのシャープなブロック */
  overflow: hidden;
  text-decoration: none;
  padding: clamp(24px, 3vw, 40px);
  isolation: isolate;
  transition: transform 0.35s var(--ease);
}
.proj-tile--alt {
  background: var(--color-ink);
  color: #fff;
  border-color: var(--color-ink);
}
.proj-tile:hover { transform: translateY(-6px); }

/* ロゴマーク：中央寄せ、余白を最小化して大きく表示 */
.proj-tile__mark {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-height: 0;
}
.proj-tile__mark img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.proj-tile:hover .proj-tile__mark img { transform: scale(1.05); }

/* MALA（黒背景）のロゴに残りうる白縁を極薄い黒シャドウでカバー */
.proj-tile--alt .proj-tile__mark img {
  filter: drop-shadow(0 0 0.4px #1a1a1a);
}
/* 野菜おじさん（白背景・base）のロゴ位置を約0.5cm上にずらす */
.proj-tile:not(.proj-tile--alt) .proj-tile__mark img {
  transform: translateY(-19px);
}
.proj-tile:not(.proj-tile--alt):hover .proj-tile__mark img {
  transform: translateY(-19px) scale(1.05);
}

/* 下部フッター：テキスト＋矢印 */
.proj-tile__foot {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 16px;
  padding-top: clamp(20px, 2.5vw, 32px);
  border-top: 1px solid currentColor;
}
.proj-tile__eyebrow {
  display: block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  letter-spacing: 0.24em;
  opacity: 0.75;
  margin-bottom: 6px;
}
.proj-tile__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 0;
}
.proj-tile__desc {
  margin: 10px 0 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.7;
  opacity: 0.9;
}
.proj-tile__arrow {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.proj-tile:hover .proj-tile__arrow { transform: translateX(6px); }

@media (max-width: 640px) {
  .proj-grid { grid-template-columns: 1fr; gap: 20px; }
  .proj-tile { aspect-ratio: 3 / 4; }
  .proj-tile__title { font-size: clamp(1.3rem, 6vw, 1.8rem); }
}

/* =========================================================
   About (dark) — v58
   黒背景 + MERRY CHRISTMAS ロゴ風 + CONNECT/PEOPLE/AND SPACE
   ========================================================= */
.about-dark {
  background: #000;
  color: #fff;
  padding-block: clamp(48px, 7vw, 96px);
  overflow: hidden;
}
.about-dark__inner {
  width: 100%;
  padding-inline: clamp(24px, 5vw, 80px);
}

/* ---------- Top brand mark (SVG) ---------- */
.about-dark__header {
  margin-bottom: clamp(24px, 4vw, 56px);
  display: block;
}
.about-dark__mark {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* ---------- CONNECT / PEOPLE,FOOD / AND SPACE ---------- */
.about-dark__title {
  font-family: var(--font-display);
  font-weight: 400;
  /* さらに拡大 */
  font-size: clamp(4rem, 13vw, 14rem);
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  margin: 0 0 clamp(28px, 4vw, 56px);
}
.about-dark__title .line { display: block; }

/* ---------- 英語リード文 (2行に凝縮) ---------- */
.about-dark__lead {
  max-width: 90ch;
}
.about-dark__lead p {
  color: #fff;
  font-size: clamp(0.9rem, 1.05vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 6px;
}
.about-dark__lead p:last-child { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  /* モバイルでも十分に大きく：min 2.6rem、vw 拡大 */
  .about-dark__title {
    font-size: clamp(2.6rem, 13vw, 4.6rem);
    line-height: 1.05;
  }
}
@media (max-width: 400px) {
  .about-dark__title { font-size: clamp(2.4rem, 14vw, 3.6rem); }
}

/* =========================================================
   Recruit (dark) — v70
   About と揃えた黒背景 + 巨大 Anton タイポ + 黄色アクセント
   ========================================================= */
.recruit-dark {
  position: relative;
  background: #fff;
  color: var(--color-ink);
  padding-block: clamp(72px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.recruit-dark__inner {
  position: relative;
  z-index: 1;
  padding-inline: clamp(24px, 5vw, 80px);
  max-width: 1360px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.recruit-dark__text { min-width: 0; }
.recruit-dark__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.recruit-dark__logo img {
  width: 100%;
  max-width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(255, 212, 0, 0.15));
  animation: heroFloat 7s ease-in-out 0.6s infinite;
}
.recruit-dark__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 11vw, 11rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--color-yellow);
  margin: 0 0 clamp(28px, 4vw, 56px);
}
.recruit-dark__title .line { display: block; }
.recruit-dark__lead {
  color: var(--color-ink);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  line-height: 2;
  letter-spacing: 0.04em;
  max-width: 720px;
  margin: 0 0 clamp(32px, 4vw, 56px);
}
.recruit-dark__cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: clamp(16px, 1.8vw, 22px) clamp(28px, 3vw, 44px);
  background: var(--color-yellow);
  color: var(--color-ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  box-shadow: 0 20px 40px -18px rgba(255, 212, 0, 0.5);
}
.recruit-dark__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -18px rgba(255, 212, 0, 0.7);
}
.recruit-dark__cta:hover .recruit-dark__arrow { transform: translateX(6px); }
.recruit-dark__arrow {
  font-size: 1.3em;
  transition: transform 0.3s var(--ease);
}

/* 背景の巨大な英字ウォーターマーク */
.recruit-dark__watermark {
  position: absolute;
  bottom: -4vw;
  right: -2vw;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 22rem);
  line-height: 0.9;
  letter-spacing: 0;
  color: var(--color-ink);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
}

/* タブレット・モバイルでも 2 カラム維持（ロゴは常に右） */
@media (max-width: 900px) {
  .recruit-dark__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(20px, 4vw, 40px);
  }
  .recruit-dark__logo img { max-width: 100%; }
}
@media (max-width: 640px) {
  .recruit-dark__title { font-size: clamp(2.4rem, 12vw, 5rem); }
  .recruit-dark__lead {
    font-size: clamp(0.85rem, 2.4vw, 1rem);
    line-height: 1.85;
  }
  .recruit-dark__cta {
    font-size: clamp(0.82rem, 2.4vw, 1rem);
    padding: 12px 20px;
    gap: 10px;
  }
  .recruit-dark__watermark { font-size: 40vw; bottom: -6vw; right: -8vw; }
}
