:root {
  --blue: #004795;
  --blue-dark: #00346f;
  --blue-soft: #eef6ff;
  --blue-pale: #f5f9fe;
  --line: #06c755;
  --gold: #b68a19;
  --text: #111827;
  --muted: #526174;
  --border: #c9d9ea;
  --paper: #ffffff;
  --section: #f3f8fd;
  --footer: #003d7d;
  --font-sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.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;
}

.inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  z-index: 100;
  background: #fff;
}

.header-primary {
  border-bottom: 1px solid #e5ecf5; /* Figma: Header divider */
}

.header-primary__inner {
  display: grid;
  width: 100%;
  max-width: none;
  padding: 0 17px 0 31px; /* Figma: logo x=31, language button right edge 1423 */
  grid-template-columns: 204px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 82px;
  gap: 18px;
}

.site-logo {
  display: block;
  width: 204px;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.header-contact {
  display: flex;
  justify-content: flex-end; /* Figma: phones sit next to the CTA buttons */
  align-items: center;
}

.header-phone {
  display: grid;
  gap: 3px;
  padding: 0 38px 0 0; /* Figma: number end → separator gap */
  color: var(--blue);
  line-height: 1.1;
}

.header-phone + .header-phone {
  border-left: 1px solid #e5ecf5; /* Figma: 1x32 separator at x=800 */
  padding: 0 16px 0 32px;
}

.header-phone span {
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
}

.header-phone strong {
  color: var(--blue);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px; /* Figma: 12px between CTA buttons */
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px; /* Figma: button h=44 */
  padding: 0 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta img {
  width: 24px; /* Figma: LINE logo 24px */
  height: 24px;
  object-fit: contain;
}

.header-cta--line {
  width: 161px; /* Figma */
  background: var(--line);
}

.header-cta--form {
  width: 171px; /* Figma */
  background: var(--blue);
}

/* Figma: white 22px circle holding a 13.5px blue mail icon */
.cta-mail {
  display: grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}

.cta-mail svg {
  display: block;
  width: 13.5px;
  height: 13.5px;
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 56px; /* Figma: 56x44, radius 8, blue 1px stroke */
  height: 44px;
  padding: 0;
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
}

.language-button__flag {
  flex: 0 0 auto; /* never squish the flag */
  /* 国旗は 4:3。ボタン(56x44)の外形は変えずに収める */
  width: 16px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  background: #bc002d; /* 画像が出ない場合のフォールバック（従来の赤ドット相当） */
}

.language-button__flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.language-button__chevron {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.menu-button {
  display: none;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border-radius: 8px;
  background: var(--blue);
}

.menu-button span:not(.sr-only) {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

.global-nav {
  background: #fff;
}

.global-nav .inner {
  width: min(1180px, calc(100% - 48px)); /* same width as hero/main .inner */
  margin-inline: auto;
}

.global-nav ul {
  display: flex;
  justify-content: stretch;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.global-nav ul > li {
  flex: 1 1 0;
}

.global-nav li {
  position: relative;
}

/* Figma nav item frame widths */
/* nav items: natural width (flat 8-item nav, 2026-07-21) */

.global-nav a,
.global-nav button {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  min-height: 59px; /* Figma: nav row 83..142 */
  padding: 0 21px;
  color: #131a2a;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
}

/* Figma: "▾" glyph after 7 items (dropdowns + caret links) */
.global-nav .has-dropdown > button::after,
.global-nav .has-caret > a::after {
  content: "▾";
  margin-left: 6px;
  color: #131a2a;
  font-size: 11px;
  line-height: 1;
}

/* short 1x18 separators at every boundary (both outer edges too) */
.global-nav li::before,
.global-nav li:last-child::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 18px;
  background: #e5ecf5;
  transform: translateY(-50%);
}

.global-nav li:last-child::after {
  left: auto;
  right: 0;
}

.global-nav .is-current > a,
.global-nav .is-current > button {
  color: var(--blue);
}

/* Figma: 42x3 rounded blue underline below the current item */
.global-nav .is-current > a::before,
.global-nav .is-current > button::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 42px;
  height: 3px;
  border-radius: 1.5px;
  background: var(--blue);
  transform: translateX(-50%);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 5;
  display: grid;
  width: 250px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown a {
  justify-content: flex-start;
  min-height: auto;
  padding: 12px;
  border-bottom: 1px solid #eef3f8;
  font-size: 13px;
}

.dropdown a:last-child {
  border-bottom: 0;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #eef6ff;
}

.hero__image,
.hero__image img,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom; /* keep the runway visible on wide screens */
}

.hero__overlay {
  /* Figma: single left->right readability gradient */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(244, 249, 255, 0.86) 34%,
    rgba(244, 249, 255, 0.26) 52%,
    rgba(255, 255, 255, 0.05) 74%,
    rgba(255, 255, 255, 0) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 610px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 106px 0 0;
}

.hero__eyebrow,
.section-heading p,
.faq-intro > p {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700; /* Figma: eyebrows 12/700 */
  letter-spacing: 0;
}

/* Figma: per-section eyebrow colors */
.section--price .section-heading p,
.section--methods .section-heading p {
  color: #006ebd;
}

.section--market .section-heading p {
  color: #9fd2ff;
}

.hero h1 {
  display: grid;
  gap: 4px;
  max-width: 700px;
  margin: 0;
  color: var(--blue);
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif; /* Figma: Noto Serif JP 700 */
  font-size: 52px;
  font-weight: 700;
  line-height: 1.5; /* Figma: 52/78 */
  letter-spacing: 0;
}

/* 2026-07-29 クライアント指示で品目列挙に文言変更。列挙行は主行より一回り小さく */
.hero h1 .hero-title__items {
  font-size: 40px;
  line-height: 1.4;
  white-space: normal;
}

/* 品目の途中（例: ブラン/ド時計）で折り返さず「・」区切りでのみ改行 */
.hero h1 .nw,
.hero-catch__items .nw,
.pickup-card strong .nw {
  display: inline-block;
  white-space: nowrap;
}

.hero__lead {
  max-width: 620px;
  margin: 10px 0 0;
  color: #131a2a; /* Figma */
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.hero__note {
  max-width: 620px;
  margin: 12px 0 0;
  color: #4b5563; /* Figma: 16/500 */
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* Figma: 16px between buttons */
  margin-top: 41px;
}

.hero__actions .button {
  width: 224px; /* Figma: 224x54, label 15.5/700 */
  min-height: 54px;
  font-size: 15.5px;
}

.hero__actions .button--line img {
  width: 24px; /* Figma */
  height: 24px;
}

.hero__actions .button--primary img {
  width: 18px; /* Figma: 18px white mail icon */
  height: 18px;
  filter: brightness(0) invert(1);
}

/* Figma: PC hero CTA=「LINEで無料査定/無料査定フォーム」, SP=「LINE査定/無料査定」 */
.label-sp {
  display: none;
}

.footer-nav-sp {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px; /* Figma: r6 */
  font-size: 14px; /* Figma: most CTA labels 14/700 */
  font-weight: 700;
  white-space: nowrap;
}

.button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.button--line {
  background: var(--line);
  color: #fff;
}

.button--primary {
  background: var(--blue);
  color: #fff;
}

.button--outline {
  background: #fff;
  border-color: var(--blue);
  color: var(--blue);
}

.button--light {
  background: #fff;
  border-color: #fff;
  color: var(--blue);
}

.inline-link {
  color: var(--blue);
  font-size: 15px; /* Figma: 15/700, no underline */
  font-weight: 700;
}

.section {
  padding: 82px 0;
}

.section--news {
  min-height: 420px;
  padding: 56px 0 60px;
  background: #fff;
}

.section--price,
.section--voice {
  background: var(--section);
}

.section--price {
  min-height: 1200px;
  padding: 80px 0 50px;
}

.section--items {
  min-height: 800px;
  padding: 78px 0 80px;
  background: #fff;
}

.section--market {
  min-height: 760px;
  padding: 78px 0 80px;
  background: var(--blue);
  color: #fff;
}

.section--methods {
  min-height: 500px;
  padding: 78px 0 38px;
  background: #f5f9fe;
}

.section--stores,
.section--faq {
  background: #fff;
}

.section--stores {
  min-height: 760px;
  padding: 78px 0 78px;
}

.section--voice {
  min-height: 520px;
  padding: 76px 0;
}

.section--faq {
  min-height: 640px;
  padding: 78px 0;
}

.section--recruit {
  min-height: 340px;
  padding: 70px 0;
  background: var(--blue);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading--row {
  display: flex;
  max-width: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.section-heading h2,
.faq-intro h2 {
  margin: 0;
  color: var(--text);
  font-size: var(--h2, 32px);
  line-height: 1.24;
  letter-spacing: 0;
}

/* Per-section title sizes — Figma varies these (not a uniform 34px) */
.section--news { --h2: 38px; }
.section--price { --h2: 30px; }

.section-heading small,
.faq-intro small {
  display: block;
  max-width: 760px;
  margin-top: 10px;
  color: #4d647b; /* Figma: leads 15/400 */
  font-size: 15px;
  line-height: 1.6;
}

.section--price .section-heading small {
  color: #52687d; /* Figma: price lead 14 */
  font-size: 14px;
}

.section--methods .section-heading small {
  color: #52687d; /* Figma */
}

.section--price .section-heading--row .button {
  font-size: 15px; /* Figma: price CTA 15/700 */
}

.section-heading p,
.faq-intro > p {
  margin-bottom: 5px;
}

.section--price .section-heading {
  margin-bottom: 32px;
}

/* トップの相場セクション: 最終更新日時。PCは見出しの右端、SPは見出しの下に回り込む
   （--row が flex / SPでは block になるため、追加の指定は余白と文字だけでよい） */
.section--price .section-heading .price-updated {
  flex: 0 0 auto;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.section--methods .section-heading,
.section--stores .section-heading,
.section--voice .section-heading {
  margin-bottom: 50px;
}

.section--stores .section-heading {
  margin-bottom: 45px;
}

.section-heading--dark h2,
.section-heading--dark p,
.section-heading--dark small {
  color: #fff;
}

.section-heading--dark small {
  color: #d9d3c8; /* Figma: market lead */
}

.news-list {
  border-top: 1px solid var(--border);
}

.news-list article {
  display: grid;
  grid-template-columns: 120px 104px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 64px;
  border-bottom: 1px solid var(--border);
}

.news-list time {
  color: #50677e; /* Figma: 14/700 */
  font-size: 14px;
  font-weight: 700;
}

.news-list span {
  display: inline-flex;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid #d9e7f5;
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.news-list a {
  min-width: 0;
  overflow: hidden;
  color: #171717; /* Figma: 15/400 */
  font-size: 15px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metal-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.metal-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 124px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.metal-card img {
  width: 86px;
  height: 96px;
  border-radius: 6px; /* Figma */
  object-fit: cover;
}

/* Figma: 66x22 r11 pill badge over the image, white 10/700 label */
.metal-card__label {
  position: absolute;
  top: 78px;
  left: 24px;
  display: grid;
  width: 66px;
  height: 22px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

/* Figma: per-metal badge fills */
.metal-card:nth-child(1) .metal-card__label { background: #c78c2b; }
.metal-card:nth-child(2) .metal-card__label { background: #a0aaa8; }
.metal-card:nth-child(3) .metal-card__label { background: #969a9c; }
.metal-card:nth-child(4) .metal-card__label { background: #736f70; }

.metal-card__body {
  min-width: 0;
}

.metal-card__body span {
  display: block;
  margin-bottom: 4px;
  font-size: 17px; /* Figma: 17/700 */
  font-weight: 700;
}

/* Figma: per-metal label colors */
.metal-card:nth-child(1) .metal-card__body span { color: #c78c2b; }
.metal-card:nth-child(2) .metal-card__body span { color: #a0aaa8; }
.metal-card:nth-child(3) .metal-card__body span { color: #969a9c; }
.metal-card:nth-child(4) .metal-card__body span { color: #736f70; }

.metal-card strong {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: #1f1c17;
  font-size: 24px; /* Figma: uniform 24/900 */
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.metal-card strong b {
  font-size: 24px;
  letter-spacing: 0;
}

.metal-card small {
  display: block;
  margin-top: 8px;
  color: #c42220; /* Figma */
  font-size: 12px;
  font-weight: 700;
}

.metal-card small.is-down {
  color: #1f53b9; /* Figma */
}

/* 前日比が増減なし: 既存のミュートグレー(--muted)を流用（新色は作らない） */
.metal-card small.is-flat {
  color: var(--muted);
}

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.price-grid__side {
  display: grid;
  gap: 28px;
}

.price-table {
  overflow: hidden;
  background: #fff;
  border: 1px solid #d3e2f1;
  border-radius: 8px;
}

.price-table h3 {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0 18px;
  background: var(--blue);
  color: #fff;
  font-size: 15px; /* Figma: 15/700 */
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.price-table--gold h3 {
  background: var(--blue);
}

.price-table h3 span {
  font-size: 13px;
}

.price-table dl {
  margin: 0;
}

.price-table div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 212px; /* Figma: value column starts x=358/570 */
  min-height: 42px;
}

/* Figma: zebra rows (#F7FBFF / #FFF), no rule lines, no column divider */
.price-table dl div:nth-child(odd) {
  background: #f7fbff;
}

.price-table dt,
.price-table dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 20px;
  color: #1f1c17;
  font-size: 14px; /* Figma: rows 14 */
}

.price-table dd {
  padding: 0 20px 0 0;
  font-weight: 500; /* Figma: values 500, highlighted rows 700 */
}

/* 表の下に添える注記（銀スクラップの定義など） */
.price-table__note {
  margin: 10px 0 0;
  padding: 0 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.price-table dd strong {
  font-weight: 700;
}

.price-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.item-card {
  position: relative;
  overflow: hidden;
  min-height: 214px;
  padding: 0 0 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.item-card--large {
  grid-column: span 2;
}

.item-card--wide {
  display: grid;
  grid-column: span 3;
  grid-template-columns: 228px minmax(0, 1fr); /* Figma: 228x132 thumb */
  gap: 0 8px;
  min-height: 156px;
  padding: 12px;
}

.item-card img {
  width: 100%;
  height: 154px; /* Figma: 386x154 */
  object-fit: cover;
}

.item-card--wide img {
  grid-row: 1 / span 3; /* keep title/lead/link stacked in col 2 */
  height: 132px;
  border-radius: 6px;
}

.item-card--wide span,
.item-card--wide small,
.item-card--wide b {
  grid-column: 2;
}

.item-card span,
.item-card small,
.item-card b {
  display: block;
  margin-inline: 18px;
}

.item-card--wide span,
.item-card--wide small,
.item-card--wide b {
  margin-left: 20px;
}

.item-card span {
  margin-top: 18px;
  color: #181512;
  font-size: 20px; /* Figma: 20/700 (wide: 17) */
  font-weight: 700;
}

.item-card--wide span {
  font-size: 17px;
}

.item-card small {
  margin-top: 9px;
  color: #4d647b;
  font-size: 13px;
  line-height: 1.6;
}

.item-card b {
  margin-top: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.item-card b::after {
  content: " ›"; /* Figma: "見る ›" */
  margin-left: 2px;
}

.item-card--wide span {
  align-self: end;
  margin-top: 14px;
}

.item-card--wide b {
  align-self: start;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.market-card {
  position: relative;
  overflow: hidden;
  height: 430px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--text);
}

.market-card img {
  width: 100%;
  height: 158px;
  object-fit: cover;
}

.market-card::after { /* readability scrim over the image */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 158px;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.58));
}

.market-card__body {
  height: 272px;
  padding: 24px 28px 22px;
}

/* title + subtitle sit white over the image (Figma) */
.market-card h3 {
  position: absolute;
  top: 90px;
  left: 28px;
  right: 28px;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: 28px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.market-card p {
  position: absolute;
  top: 128px;
  left: 28px;
  right: 28px;
  z-index: 2;
  margin: 0;
  color: #e8ecff;
  font-size: 14px; /* Figma */
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.market-card ul {
  display: grid;
  gap: 15px; /* Figma: 56px row pitch */
  padding: 0;
  margin: 0;
  list-style: none;
}

.market-card li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.market-card li span {
  display: grid;
  gap: 3px;
}

.market-card li b {
  color: #181512;
  font-size: 14px;
  font-weight: 700;
}

.market-card li small {
  color: #4d647b;
  font-size: 12px;
  font-weight: 400;
}

.market-card li strong {
  color: var(--blue);
  font-size: 20px; /* Figma: 20/700 */
  font-weight: 700;
  white-space: nowrap;
}

.market-card li strong.is-note {
  font-size: 17px; /* Figma: 査定対象 17 */
}

.market-card__button {
  position: absolute;
  right: 28px;
  bottom: 22px;
  display: inline-flex;
  width: 140px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 14px; /* Figma: 14/700 */
  font-weight: 700;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.method-card {
  display: flex;
  min-height: 206px;
  flex-direction: column;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.method-card__title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.method-card__title span {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
}

.method-card__title span.is-line {
  background: var(--line);
}

.method-card__title span.is-dark {
  background: #111;
}

.method-card__title img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* LINE badge uses the full-color LINE mark (white bubble) — keep its colors */
.method-card__title .is-line img {
  width: 28px;
  height: 28px;
  filter: none;
}

.method-card h3 {
  margin: 0;
  font-size: 20px;
}

.method-card p {
  margin: 16px 0 0;
  color: #4d647b; /* Figma: 13/400 */
  font-size: 13px;
  line-height: 1.6;
}

.method-card a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  background: #f4f8fd;
  color: var(--blue);
  font-size: 13px; /* Figma: 13/700 with ›  */
  font-weight: 700;
}

.method-card a::after {
  content: " ›";
  margin-left: 4px;
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.store-card {
  display: grid;
  grid-template-rows: auto 172px;
  gap: 14px;
  min-height: 470px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.store-card--qr {
  grid-template-columns: minmax(0, 1fr) 128px;
}

.store-card--qr > img,
.store-card--qr > .store-card__map {
  grid-column: 1 / -1;
}

.store-card h3 {
  margin: 0;
  color: #181512;
  font-size: 22px; /* Figma: 22/700 */
}

.store-card address,
.store-card p {
  margin: 0;
  color: #3f3a33; /* Figma */
  font-size: 13px;
  font-style: normal;
  line-height: 1.65;
}

.store-card address {
  font-size: 14px; /* Figma: address 14 */
}

.store-card .store-card__note {
  margin: 3px 0 16px;
  color: var(--blue); /* Figma: 13/700 blue */
  font-size: 13px;
  font-weight: 700;
}

.store-card__tel {
  margin-top: 10px !important;
  color: #181512 !important;
  font-size: 22px !important;
  font-weight: 700; /* Figma */
  line-height: 1.3 !important;
}

.store-card__detail {
  width: 180px;
  min-height: 42px;
  margin-top: 14px;
}

.store-card > img,
.store-card__map {
  width: 100%;
  height: 172px;
  border: 0;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.store-card__qr {
  align-self: start;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
}

.store-card__qr img {
  width: 112px;
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.store-card__qr span {
  display: block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700; /* Figma */
}

.store-card__mobile-line {
  display: none;
  margin-top: 18px;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.voice-grid article {
  min-height: 230px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.voice-grid span {
  display: block;
  color: #006ebd; /* Figma: stars 14/700 */
  font-size: 14px;
  font-weight: 700;
}

.voice-grid strong {
  display: block;
  margin-top: 14px;
  color: #181512;
  font-size: 18px;
  line-height: 1.45;
}

.voice-grid p {
  margin: 14px 0 0;
  color: #3f3a33; /* Figma */
  font-size: 14px;
  line-height: 1.65;
}

.voice-grid em {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-top: 14px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f4f8fd;
  color: var(--blue);
  font-size: 12px; /* Figma: 12/700 */
  font-style: normal;
  font-weight: 700;
}

/* ============================================================
   Googleクチコミ表示（2026-07-31）
   既存の .voice-grid のカード意匠を踏襲しつつ、投稿者・日付・
   Google帰属表示を足したもの。
   ============================================================ */
.gr-summary {
  display: flex;
  min-height: 64px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 24px;
  padding: 14px 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.gr-summary__score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.gr-summary__label {
  color: #3f3a33;
  font-size: 14px;
  font-weight: 700;
}

.gr-summary__rating {
  color: #181512;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.gr-summary__stars {
  color: #f2a100; /* Googleのレビュー星に合わせた黄色 */
  font-size: 18px;
  letter-spacing: 1px;
}

.gr-summary__count {
  color: #6b665f;
  font-size: 13px;
}

.gr-summary__link {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- カルーセル（prev/next＋数秒で自動送り） ---
   カードは .inner を突き抜けて画面端まで流し、両サイドは
   マスクで徐々に消す。中央のカードにスナップする。 */
.section--voice {
  /* フルブリードのトラックが横スクロールバーを生まないように */
  overflow-x: clip;
}

.gr-carousel {
  /* 矢印の基準は .inner 幅のまま（トラックだけ外へ広げる） */
  position: relative;
}

.voice-grid--google {
  --gr-card: clamp(300px, 27vw, 384px);
  /* 先頭カードを .inner（=見出し）の左端に揃える */
  --gr-pad: max(24px, calc((100vw - 1180px) / 2));

  display: flex;
  width: 100vw;
  overflow-x: auto;
  padding-block-end: 6px; /* カードの影が切れないための余白 */
  padding-inline: var(--gr-pad);
  margin-inline-start: calc(50% - 50vw);
  gap: 20px;
  scroll-snap-type: x mandatory;
  /* これが無いとスナップが padding を無視してトラックを勝手に送ってしまう */
  scroll-padding-inline: var(--gr-pad);
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* 両端を徐々に消す */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 80%, transparent 97%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 80%, transparent 97%);
}

.voice-grid--google::-webkit-scrollbar {
  display: none;
}

.voice-grid--google article {
  display: flex;
  flex: 0 0 var(--gr-card);
  flex-direction: column;
  scroll-snap-align: start;
}

.gr-nav {
  position: absolute;
  top: 50%;
  display: grid;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  margin-top: -22px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 71, 149, 0.12);
  cursor: pointer;
  place-items: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.gr-nav:hover {
  background: #f4f8fd;
}

.gr-nav[hidden] {
  display: none;
}

/* 矢印はCSSだけで描く（画像を増やさない） */
.gr-nav::before {
  width: 11px;
  height: 11px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  content: "";
}

/* 既定はトラックの内側。外に出す余白が無い幅でも画面からはみ出さない */
.gr-nav--prev {
  left: 4px;
}

.gr-nav--prev::before {
  margin-left: 4px;
  transform: rotate(-135deg);
}

.gr-nav--next {
  right: 4px;
}

.gr-nav--next::before {
  margin-right: 4px;
  transform: rotate(45deg);
}

/* 余白が十分にある幅でだけ、カード外側の余白の中央へ出す。
   .inner は 1180px 固定なので左右余白 =(100vw - 1180px)/2、
   その半分だけ外へずらすと余白のちょうど真ん中に来る。
   1360px 未満で外に出すとスクロールバー幅ぶん画面外へはみ出すため、
   ここを下げてはいけない（1024pxで横スクロールが出た） */
@media (min-width: 1360px) {
  .gr-nav--prev {
    left: calc(-1 * ((100vw - 1180px) / 4) - 22px);
  }

  .gr-nav--next {
    right: calc(-1 * ((100vw - 1180px) / 4) - 22px);
  }
}

@media (max-width: 940px) {
  .voice-grid--google {
    /* SPは1枚が中央、左右の記事がちらっと見える */
    --gr-card: 74vw;
    --gr-pad: calc((100vw - var(--gr-card)) / 2);

    gap: 12px;
    /* 隣のカードが見える程度の弱いフェード */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  }

  /* SPは中央のカードにスナップさせる */
  .voice-grid--google article {
    scroll-snap-align: center;
  }

  .gr-nav {
    width: 38px;
    height: 38px;
    margin-top: -19px;
  }
}

.gr-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gr-avatar {
  position: relative;
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--blue);
  font-size: 16px;
  font-weight: 700;
}

/* 画像は頭文字の上に重ねる。読み込めなければ下の頭文字が見える */
.gr-avatar__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.gr-meta {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 2px;
}

.gr-author {
  overflow: hidden;
  color: #181512;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gr-date {
  color: #6b665f;
  font-size: 12px;
}

.gr-head .gr-logo {
  flex: none;
}

.voice-grid--google .gr-stars {
  margin-top: 14px;
  color: #f2a100;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
}

.voice-grid--google .gr-text {
  /* 長文のクチコミでもカード高さが揃うように6行で省略 */
  display: -webkit-box;
  overflow: hidden;
  margin-top: 10px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
}

.voice-grid--google em {
  margin-top: auto;
}

@media (max-width: 940px) {
  .gr-summary {
    padding: 14px 16px;
  }

  .gr-summary__rating {
    font-size: 20px;
  }
}

.faq-layout {
  display: grid;
  grid-template-columns: 420px 700px;
  gap: 60px;
  align-items: start;
}

.faq-intro .button {
  margin-top: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.faq-list summary {
  position: relative;
  display: flex;
  min-height: 80px;
  align-items: center;
  gap: 18px;
  padding: 0 56px 0 20px;
  color: #181512;
  font-size: 16px;
  font-weight: 700; /* Figma */
  cursor: pointer;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  color: var(--blue);
  font-size: 22px; /* Figma: 22/700 */
  font-weight: 700;
  line-height: 1;
}

.faq-list summary span {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 15px; /* Figma */
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.8;
}

.recruit-banner {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 200px;
  align-content: center;
  overflow: hidden;
  padding: 38px 48px;
  border-radius: 8px;
  color: #fff;
}

.recruit-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 25, 50, 0.78), rgba(0, 25, 50, 0.42), rgba(0, 0, 0, 0.18));
}

.recruit-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left 44%;
}

.recruit-banner > span,
.recruit-banner strong,
.recruit-banner em,
.recruit-banner b {
  position: relative;
  z-index: 1;
}

.recruit-banner > span {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px; /* Figma */
  font-weight: 700;
}

.recruit-banner strong {
  max-width: 650px;
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.2;
}

.recruit-banner em {
  max-width: 680px;
  margin-top: 12px;
  color: #e8ddca; /* Figma: 14/700 */
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
}

.recruit-banner b {
  position: absolute;
  right: 70px;
  top: 74px;
  display: inline-flex;
  width: 210px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--blue); /* Figma: blue button, white 14/700 label */
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  min-height: 520px;
  background: var(--footer);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 380px minmax(0, 760px);
  gap: 64px;
  padding: 54px 0 24px;
}

.footer-brand {
  max-width: 380px;
}

.footer-logo {
  display: grid;
  width: 240px;
  height: 72px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #fff;
}

.footer-logo img {
  width: 204px;
}

.footer-brand h2 {
  margin: 0 0 14px;
  font-size: 16px; /* Figma: 16/500 */
  font-weight: 500;
}

.footer-brand section + section {
  margin-top: 12px;
}

.footer-brand h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.footer-brand p {
  margin: 3px 0;
  color: #e1e7ff; /* Figma */
  font-size: 13px;
  line-height: 1.5;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, 160px);
  gap: 34px;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.footer-nav a {
  display: block;
  margin-top: 14px;
  color: #e1e7ff; /* Figma: 13/400 */
  font-size: 13px;
  font-weight: 400;
}

.footer-nav h3 {
  margin: 0 0 10px;
  font-size: 15px; /* Figma: 15/700 */
  font-weight: 700;
}

.copyright {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: #e1e7ff;
  font-size: 12px; /* Figma */
  text-align: center;
}

.mobile-pickup {
  display: none;
}

.price-sp-cta {
  display: none;
}

@media (max-width: 1180px) {
  .inner {
    width: min(100% - 40px, 1040px);
  }

  .header-primary__inner {
    grid-template-columns: 190px 1fr auto;
    gap: 18px;
  }

  .site-logo {
    width: 182px;
  }

  .header-contact {
    gap: 18px;
  }

  .header-phone strong {
    font-size: 19px;
  }

  .global-nav ul > li {
    width: auto;
  }

  .global-nav a,
  .global-nav button {
    padding: 0 11px;
    font-size: 13px;
  }

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

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

  .faq-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 40px;
  }

  .footer-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 1100px) and (min-width: 941px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-primary__inner {
    display: flex;
    min-height: 72px;
    justify-content: space-between;
  }

  .site-logo {
    width: 172px;
  }

  .header-contact,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .global-nav {
    position: fixed;
    inset: 72px 0 auto;
    left: 0;
    right: 0;
    width: 100vw;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    border-top: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  body.is-menu-open .global-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .global-nav .inner {
    width: 100%;
  }

  .global-nav ul {
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 8px 0 0;
  }

  .global-nav ul > li {
    width: auto;
  }

  .global-nav li + li {
    border-left: 0;
    border-top: 1px solid #edf3f8;
  }

  .global-nav li::before,
  .global-nav li::after,
  .global-nav .is-current > a::before {
    display: none;
  }

  .global-nav a,
  .global-nav button {
    width: 100%;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 22px;
    font-size: 15px;
  }

  .dropdown {
    position: static;
    width: 100%;
    padding: 0 0 10px 12px;
    border: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown a {
    min-height: 40px;
    padding: 0 8px;
    border-bottom: 0;
    color: var(--muted);
  }
}

@media (max-width: 940px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .header-primary__inner {
    display: flex;
    min-height: 72px;
    justify-content: space-between;
  }

  .site-logo {
    width: 154px;
  }

  .header-contact,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .global-nav {
    position: fixed;
    inset: 72px 0 auto;
    left: 0;
    right: 0;
    width: 100vw;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    border-top: 1px solid var(--border);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  body.is-menu-open .global-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .global-nav .inner {
    width: 100%;
  }

  .global-nav ul {
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 8px 0 0;
  }

  .global-nav ul > li {
    width: auto;
  }

  .global-nav li + li {
    border-left: 0;
    border-top: 1px solid #edf3f8;
  }

  .global-nav li::before,
  .global-nav li::after,
  .global-nav .is-current > a::before {
    display: none;
  }

  .global-nav a,
  .global-nav button {
    width: 100%;
    justify-content: space-between;
    min-height: 54px;
    padding: 0 22px;
    font-size: 15px;
  }

  .dropdown {
    position: static;
    width: 100%;
    padding: 0 0 10px 12px;
    border: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown a {
    min-height: 40px;
    padding: 0 8px;
    border-bottom: 0;
    color: var(--muted);
  }

  .hero,
  .hero__inner {
    min-height: 612px;
  }

  .hero__inner {
    justify-content: flex-start;
    padding: 66px 0 270px;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.86) 47%, rgba(255, 255, 255, 0.24) 72%, rgba(255, 255, 255, 0) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.2));
  }

  .hero__image img {
    object-position: center bottom;
  }

  .mobile-pickup {
    display: block;
    padding: 22px 0 10px;
    overflow: hidden;
    background: #fff;
  }

  .pickup-slider {
    width: 100%;
  }

  .pickup-track {
    display: flex;
    gap: 14px;
    padding: 0 34px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .pickup-track::-webkit-scrollbar {
    display: none;
  }

  .pickup-card {
    position: relative;
    display: grid;
    flex: 0 0 82%;
    min-height: 128px;
    align-content: end;
    overflow: hidden;
    padding: 18px;
    border-radius: 8px;
    color: #fff;
    scroll-snap-align: center;
  }

  .pickup-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 71, 149, 0.88), rgba(0, 71, 149, 0.24));
  }

  .pickup-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .pickup-card span,
  .pickup-card strong {
    position: relative;
    z-index: 1;
  }

  .pickup-card span {
    font-size: 11px;
    font-weight: 900;
  }

  .pickup-card strong {
    margin-top: 6px;
    font-size: 17px;
    line-height: 1.35;
  }

  .pickup-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }

  .pickup-dots button {
    width: 7px;
    height: 7px;
    padding: 0;
    border-radius: 50%;
    background: #c8d7e8;
  }

  .pickup-dots button.is-active {
    background: var(--blue);
  }

  /* 2026-08-03 クライアント要望「お知らせは常に見えるように」でSPでも表示。
     PC用の3カラム(日付|カテゴリ|見出し)のままだと見出しが見切れるため2段組みにする */
  .section--news {
    display: block;
  }

  .news-list article {
    display: grid;
    min-height: 0;
    padding: 16px 0;
    gap: 6px 12px;
    grid-template-areas:
      "time badge"
      "title title";
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .news-list time {
    grid-area: time;
  }

  .news-list span {
    grid-area: badge;
    justify-self: start;
  }

  .news-list a {
    display: block;
    overflow: visible;
    grid-area: title;
    font-size: 14px;
    line-height: 1.6;
    text-overflow: clip;
    white-space: normal;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading--row {
    display: block;
  }

  .section-heading--row .button,
  .section-heading--row .inline-link {
    margin-top: 22px;
  }

  .section--price .section-heading .price-updated {
    margin-top: 10px;
    font-size: 12px;
    white-space: normal;
  }

  .price-grid,
  .stores-grid,
  .market-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

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

  .item-card--large,
  .item-card--wide {
    grid-column: span 1;
  }

  .item-card--wide {
    display: block;
    min-height: 214px;
  }

  .item-card--wide img {
    height: 146px;
  }

  .store-card--qr {
    grid-template-columns: 1fr;
  }

  .store-card__qr {
    display: none;
  }

  .store-card__mobile-line {
    display: inline-flex;
  }

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

@media (max-width: 640px) {
  .inner {
    width: calc(100% - 40px);
  }

  .header-primary__inner {
    min-height: 64px;
  }

  .site-logo {
    width: 150px;
  }

  /* Figma SP language switch: 58x36, r8, 8px flag, JP 13 */
  .language-button {
    width: auto;
    min-width: 58px;
    height: 36px;
    min-height: 36px;
    padding: 0 10px;
    gap: 4px;
    font-size: 13px;
  }

  .language-button__flag {
    /* SP: ボタン外形(約61x36)を変えない範囲で国旗を入れる */
    width: 10px;
    height: 8px;
    border-radius: 2px;
  }

  .menu-button {
    width: 52px;
    height: 52px;
  }

  .global-nav {
    inset: 64px 0 auto;
  }

  .hero,
  .hero__inner {
    min-height: 548px;
  }

  .hero__inner {
    padding: 56px 0 220px;
  }

  .hero h1 {
    gap: 8px;
    font-size: 38px;
  }

  .hero h1 .hero-title__items {
    font-size: 28px;
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.8;
  }

  .hero__actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  .hero__actions .button {
    width: 100%;
    min-width: 0;
  }

  .button {
    width: 100%;
    min-height: 54px;
    padding: 0 14px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading small,
  .faq-intro small {
    display: none;
  }

  .metal-summary {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .metal-card {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 110px;
    padding: 14px;
  }

  .metal-card img {
    width: 88px;
    height: 74px;
  }

  .metal-card strong {
    font-size: 18px;
  }

  .metal-card strong b {
    font-size: 28px;
  }

  .price-grid {
    gap: 22px;
  }

  .price-table div {
    grid-template-columns: minmax(0, 1fr) 118px;
  }

  .price-table dt,
  .price-table dd {
    padding: 0 12px;
    font-size: 13px;
  }

  .items-grid,
  .methods-grid {
    grid-template-columns: 1fr;
  }

  .item-card,
  .item-card--wide {
    min-height: 210px;
  }

  .item-card img,
  .item-card--wide img {
    height: 142px;
  }

  .method-card {
    padding: 22px 20px;
  }

  .store-card {
    grid-template-rows: auto 160px;
    padding: 20px;
  }

  .store-card > img,
  .store-card__map {
    height: 160px;
  }

  .store-card h3 {
    font-size: 22px;
  }

  .store-card__tel {
    font-size: 20px !important;
  }

  .faq-layout {
    gap: 28px;
  }

  .faq-list summary {
    min-height: 64px;
    font-size: 15px;
    line-height: 1.55;
  }

  .recruit-banner {
    min-height: 190px;
    padding: 28px 30px;
  }

  .recruit-banner strong {
    font-size: 30px;
  }

  .footer-inner {
    padding: 42px 0 28px;
  }

  .footer-logo {
    width: 132px;
    height: 50px;
    margin-bottom: 24px;
    border-radius: 6px;
  }

  .footer-logo img {
    width: 112px;
  }

  .footer-brand h2 {
    font-size: 22px;
  }

  .footer-nav {
    gap: 12px 18px;
    margin-top: 54px;
  }
}

@media (max-width: 390px) {
  .inner {
    width: calc(100% - 32px);
  }

  .site-logo {
    width: 138px;
  }

  .menu-button {
    width: 48px;
    height: 48px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero h1 span {
    white-space: nowrap;
  }

  .hero__actions {
    gap: 10px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 29px;
  }
}

/* ============================================================
   SP bespoke mobile layout — matches Figma `top_sp` (390px).
   Appended last so it overrides the generic reflow above.
   ============================================================ */
@media (max-width: 940px) {
  /* --- Section order: Market guide sits directly under the pickup
         carousel (before Price), per Figma SP --- */
  main {
    display: flex;
    flex-direction: column;
  }
  /* 2026-08-03 クライアント要望:
     カードスライドは 店舗情報／採用情報／ロレックス・ダイヤ相場 の3枚。
     旧・相場紹介セクションの位置には新着情報を置き、相場紹介は品目の下へ */
  .hero { order: 1; }
  .mobile-pickup { order: 2; }
  .section--news { order: 3; }
  .section--price { order: 4; }
  .section--items { order: 5; }
  .section--market { order: 6; }
  .section--methods { order: 7; }
  .section--stores { order: 8; }
  .section--voice { order: 9; }
  .section--faq { order: 10; }
  .section--recruit { order: 11; }

  /* --- Section rhythm / heading sizes (Figma SP) --- */
  .section {
    min-height: 0;
    padding: 40px 0;
    --h2: 24px;
  }
  .section-heading h2,
  .faq-intro h2 {
    font-size: var(--h2, 24px);
  }
  .hero h1 { font-size: 28px; }
  .hero h1 .hero-title__items {
    font-size: 20px;
    line-height: 1.5;
  }
  .section--market { --h2: 22px; }
  .section--voice,
  .section--faq { --h2: 26px; }
  .section-heading,
  .section--methods .section-heading,
  .section--stores .section-heading,
  .section--voice .section-heading {
    margin-bottom: 20px;
  }
  .section-heading p,
  .faq-intro > p {
    margin-bottom: 6px;
    font-size: 11px;
  }

  /* --- Hero: compact, keep the paper plane visible --- */
  .hero__note { display: none; }
  .hero__actions .button--primary img {
    width: 20px; /* Figma SP: 20px */
    height: 20px;
  }
  .label-pc { display: none; }
  .label-sp { display: inline; }

  /* --- Price: metal rows + a single compact gold table --- */
  .metal-summary {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }
  .metal-card {
    position: relative;
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 82px;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 10px;
  }
  .metal-card img {
    width: 58px;
    height: 58px;
    border-radius: 8px;
  }
  .metal-card__body span { font-size: 15px; }
  .metal-card strong { font-size: 20px; }
  .metal-card strong b { font-size: 26px; }
  .metal-card small {
    position: absolute;
    top: 14px;
    right: 16px;
    margin: 0;
    font-size: 11px;
    white-space: nowrap;
  }
  .metal-card__label { display: none; } /* Figma SP rows have no image label */
  /* 2026-08-03 クライアント要望: SPでもPCと同じく全ての価格表を表示する
     （Figma SPは金4行のみだったが、買取価格は来店動機に直結するため全掲載に変更） */
  .price-grid { gap: 20px; }
  .price-note { display: none; }
  /* move the price CTA to the bottom (Figma), hide the heading one */
  .section--price .section-heading .button { display: none; }
  .price-sp-cta {
    display: flex;
    width: min(280px, 100%);
    margin: 18px auto 0;
  }

  /* Heading top-right buttons are dropped on SP (Figma) — Price keeps
     its CTA (see below), Items/Stores drop theirs entirely */
  .section--items .section-heading .button,
  .section--stores .section-heading .button { display: none; }

  /* --- Purchase items: 2-col compact cards, last one full width --- */
  .items-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .item-card,
  .item-card--large,
  .item-card--wide {
    display: block;
    grid-column: span 1;
    min-height: 0;
    padding: 0 0 14px;
    border-radius: 10px;
  }
  .item-card img,
  .item-card--wide img {
    height: 82px;
  }
  .item-card span,
  .item-card--wide span {
    margin: 12px 14px 0;
    font-size: 15px;
  }
  .item-card small,
  .item-card--wide small {
    margin: 5px 14px 0;
    font-size: 11px;
    line-height: 1.45;
  }
  .item-card b { display: none; }
  .items-grid .item-card:last-child { grid-column: 1 / -1; }

  /* --- Appraisal methods: horizontal rows (icon / text / link) --- */
  .methods-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .method-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    grid-template-areas:
      "icon title link"
      "icon lead link";
    align-items: center;
    column-gap: 14px;
    row-gap: 2px;
    min-height: 82px;
    padding: 14px 16px;
    border-radius: 10px;
  }
  .method-card__title { display: contents; }
  .method-card__title span { grid-area: icon; }
  .method-card h3 {
    grid-area: title;
    align-self: end;
    font-size: 16px;
  }
  .method-card p {
    grid-area: lead;
    align-self: start;
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
  }
  .method-card a {
    grid-area: link;
    align-self: center;
    margin: 0;
    padding: 0 0 0 10px;
    background: transparent;
    font-size: 11px;
    white-space: nowrap;
  }

  /* --- Market guide: 2-col compact cards on the blue band --- */
  .section--market .section-heading .button { display: none; }
  .market-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .market-card {
    position: relative;
    height: auto;
    border-radius: 12px;
  }
  .market-card img { height: 86px; }
  .market-card::after { /* readability scrim over the image */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 86px;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
  }
  .market-card__body {
    position: static; /* let h3 anchor to the card, not the body */
    height: auto;
    padding: 12px 14px 16px;
  }
  .market-card h3 { /* title sits white over the image (Figma) */
    position: absolute;
    top: 54px;
    left: 14px;
    right: 14px;
    z-index: 2;
    margin: 0;
    color: #fff;
    font-size: 16px;
  }
  .market-card p { display: none; }
  .market-card ul { gap: 0; }
  .market-card li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-top: 6px;
  }
  .market-card li:nth-child(n + 2) { display: none; }
  .market-card li span { display: flex; flex-direction: column; gap: 2px; }
  .market-card li strong { font-size: 21px; }
  .market-card li small { display: block; font-size: 11px; }
  /* 2026-08-21 クライアント要望: SPはボタンを出さない代わりに
     カード全体をタップでページ遷移できるようにする（リンクをカード全面に広げる） */
  .market-card { position: relative; }

  .market-card__button {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: auto;
    height: auto;
    min-height: 0;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    color: transparent;
    font-size: 0;
  }

  /* タップした瞬間の反応（押せることが伝わるように） */
  .market-card__button:active {
    background: rgba(0, 71, 149, 0.06);
  }

  /* --- Stores: compact stacked cards, small map --- */
  .store-card {
    grid-template-rows: auto auto;
    min-height: 0;
    gap: 10px;
    border-radius: 12px;
  }
  .store-card > img, .store-card__map { height: 150px; }
  .store-card h3 { font-size: 20px; }
  .store-card__tel { font-size: 20px !important; }
  .store-card__detail { display: none; } /* not in Figma SP store card */

  /* --- Voice: compact cards with meta pill --- */
  .voice-grid article {
    min-height: 0;
    padding: 18px;
  }
  .voice-grid strong { font-size: 15px; margin-top: 10px; }
  .voice-grid p { font-size: 13px; margin-top: 10px; }

  /* --- FAQ: compact accordion --- */
  .faq-list summary {
    min-height: 58px;
    gap: 14px;
    padding: 12px 48px 12px 14px;
    font-size: 14px;
    line-height: 1.5;
  }
  .faq-list summary span {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .section--recruit { padding: 24px 0; }

  /* --- Recruit banner: keep CTA in flow (was absolute → overlap) --- */
  .recruit-banner {
    min-height: 0;
    padding: 26px 24px;
  }
  .recruit-banner strong { font-size: 22px; }
  .recruit-banner em { display: none; } /* description hidden on SP (Figma) */
  .recruit-banner b {
    position: static;
    width: auto;
    margin-top: 18px;
    padding: 0 22px;
  }

  /* --- Footer: compact spacing (structure kept consistent with PC) --- */
  .footer-inner { padding: 30px 0 18px; }
  .footer-brand { max-width: none; }
  .footer-logo { margin-bottom: 14px; }
  .footer-brand h2 { margin-bottom: 10px; }
  .footer-brand section + section { margin-top: 8px; }
  .footer-brand p { margin: 2px 0; line-height: 1.4; }
  .footer-nav { margin-top: 20px; gap: 16px; }
  .footer-nav a { margin-top: 8px; }
  .footer-nav h3 { margin-bottom: 6px; }
  .copyright { margin-top: 16px; padding-top: 16px; }

  /* --- Header hamburger: match Figma 44px blue rounded square --- */
  .menu-button {
    width: 44px;
    height: 44px;
    gap: 5px;
  }
  .menu-button span:not(.sr-only) {
    width: 20px;
    height: 2px;
  }
}


/* ============================================================
   SP property alignment to Figma `top_sp` (2026-07-05 audit)
   ============================================================ */
@media (max-width: 940px) {
  /* --- Hero: Figma 356px tall, compact copy --- */
  .hero,
  .hero__inner {
    min-height: 356px;
  }
  .hero__inner {
    padding: 32px 0 46px;
  }
  .hero__lead {
    display: block;
    margin-top: 22px;
    font-size: 12px;
    line-height: 1.75;
    color: #121a2a;
  }
  .hero__actions {
    margin-top: 18px;
    gap: 14px;
  }
  .hero__actions .button {
    min-height: 48px;
    font-size: 14px;
  }

  /* --- Pickup carousel: Figma card anatomy --- */
  .pickup-card {
    flex: 0 0 78%; /* Figma: 304/390 */
    min-height: 150px;
    padding: 20px 18px 0;
    border-radius: 12px;
    align-content: start;
  }
  .pickup-card::after {
    background: linear-gradient(0deg, rgba(0, 44, 99, 0.9), rgba(0, 44, 99, 0.35));
  }
  .pickup-card span {
    color: #d7e8fa;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .pickup-card strong {
    margin-top: 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
  }
  .pickup-card small {
    position: relative;
    z-index: 1;
    margin-top: 6px;
    color: #f5f8fc;
    font-size: 11px;
    font-weight: 500;
  }
  .pickup-card b {
    position: relative;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    min-height: 24px;
    align-items: center;
    margin: 10px 0 14px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
  }
  .pickup-dots button {
    width: 6px;
    height: 6px;
    background: #bccde0;
    transition: width 160ms ease;
  }
  .pickup-dots button.is-active {
    width: 16px;
    border-radius: 999px;
    background: var(--blue);
  }

  /* --- Market: Figma SP colors --- */
  .section--market .section-heading p { color: #c4deff; }
  .market-card li b { color: #121a2a; font-size: 13px; }
  .market-card li small { color: #52657c; }

  /* --- Price: Figma SP palette / sizes --- */
  .metal-card:nth-child(1) .metal-card__body span { color: #b28022; }
  .metal-card:nth-child(2) .metal-card__body span,
  .metal-card:nth-child(3) .metal-card__body span,
  .metal-card:nth-child(4) .metal-card__body span { color: #586b82; }
  .metal-card strong,
  .metal-card strong b { font-size: 26px; color: #141922; }
  .metal-card small { font-size: 10px; color: #d22a2a; }
  .metal-card small.is-down { color: var(--blue); }
  .metal-card small.is-flat { color: var(--muted); }
  .price-table h3 { min-height: 44px; font-size: 14px; }
  .price-table dt,
  .price-table dd { font-size: 13px; }
  .price-table dt { font-weight: 500; color: #121a2a; }
  .price-table dd { font-weight: 700; color: #121a2a; }
  .price-sp-cta {
    width: min(250px, 100%);
    min-height: 40px;
    font-size: 13px;
  }

  /* --- Items: Figma SP lead 10px --- */
  .item-card small,
  .item-card--wide small { font-size: 10px; color: #52657c; }

  /* --- Stores: Figma SP 11px meta --- */
  .store-card .store-card__note { font-size: 11px; }
  .store-card address { font-size: 11px; }
  .store-card p { font-size: 11px; color: #52657c; }
  .store-card__mobile-line img { width: 20px; height: 20px; }

  /* --- Voice: Figma SP sizes --- */
  .voice-grid span { font-size: 12px; color: var(--blue); }
  .voice-grid strong { font-size: 14px; }
  .voice-grid p { font-size: 12px; }
  .voice-grid em { font-size: 11px; }

  /* --- FAQ: Figma SP 30px Q badge / 13px question --- */
  .faq-list summary { font-size: 13px; }
  .faq-list summary span { width: 30px; height: 30px; font-size: 13px; }

  /* --- Recruit banner: Figma SP variant --- */
  .recruit-banner > span { font-size: 11px; padding: 0; min-height: 0; background: transparent; }
  .recruit-banner strong { font-size: 26px; }
  .recruit-banner em {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
  }
  .recruit-banner b {
    width: 138px;
    min-height: 36px;
    background: #fff;
    color: var(--blue);
    font-size: 12px;
  }

  /* --- Footer: Figma SP compact layout --- */
  .site-footer { background: #002c63; }
  .footer-brand h2 { margin-bottom: 12px; font-size: 14px; font-weight: 700; }
  .footer-brand h3 { margin: 0; font-size: 11px; font-weight: 400; color: #dae8f7; }
  .footer-brand p { color: #dae8f7; font-size: 11px; }
  .footer-nav { display: none; }
  .footer-nav-sp {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #426a95;
  }
  .footer-nav-sp a {
    color: #fff;
    font-size: 11px;
    font-weight: 500;
  }
  .copyright {
    margin-top: 18px;
    padding-top: 0;
    border-top: 0;
    color: #dae8f7;
    font-size: 10px;
    text-align: left;
  }
}


/* SP audit round 2 — remaining Figma alignments */
@media (max-width: 940px) {
  .language-button { font-size: 13px; } /* Figma SP: JP 13 */

  /* eyebrows: 10px (Voice/FAQ keep 11) and SP colors */
  .section-heading p,
  .faq-intro > p { font-size: 10px; }
  .section--voice .section-heading p,
  .faq-intro > p { font-size: 11px; }
  .section--price .section-heading p,
  .section--methods .section-heading p { color: var(--blue); }

  /* SP heading/text inks per Figma */
  .section-heading h2 { color: #121a2a; }
  .section--voice .section-heading h2,
  .faq-intro h2 { color: #181512; }
  .item-card span,
  .item-card--wide span { color: #121a2a; }
  .method-card h3 { color: #141922; }
  .method-card p { color: #586b82; }
  .store-card h3 { color: #121a2a; }
  .store-card__tel { color: #121a2a !important; }

  /* market list: Figma order = item / price / note */
  .market-card li span { display: contents; }
  .market-card li b { order: 1; }
  .market-card li strong { order: 2; margin-top: 2px; }
  .market-card li small { order: 3; margin-top: 4px; }

  /* metal rows: diff bottom-right (Figma y=+48 in 82px row) */
  .metal-card small { top: auto; bottom: 18px; }

  /* price CTA: 28px above (Figma) */
  .price-sp-cta { margin-top: 28px; }

  /* store LINE button: full card width (Figma 314) */
  .store-card__mobile-line { width: 100%; }
}


/* SP audit round 3 — FAQ button below list / recruit white bg (Figma SP) */
@media (max-width: 940px) {
  .faq-layout { display: flex; flex-direction: column; }
  .faq-intro { display: contents; }
  .faq-intro > p { order: 1; }
  .faq-intro h2 { order: 2; margin-bottom: 20px; }
  .faq-list { order: 3; }
  .faq-intro .button {
    order: 4;
    width: min(302px, 100%);
    margin: 24px 0 0;
  }
  .section--recruit { background: #fff; }
}


/* SP price table: Figma SP = white rows with #E2EAF4 lines (no zebra) */
@media (max-width: 940px) {
  .price-table dl div:nth-child(odd) { background: #fff; }
  .price-table div + div { border-top: 1px solid #e2eaf4; }
  .price-table div { grid-template-columns: minmax(0, 1fr) 126px; } /* Figma SP: value x=244/350 */
  .price-table dd { padding-right: 0; }
}


/* Fixes 2026-07-06: SP header edge alignment + market title white */
@media (max-width: 940px) {
  /* Figma SP: logo flush-left 16px, hamburger flush-right 16px, 64px tall */
  .header-primary__inner {
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 16px;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    gap: 12px;
  }
  .site-logo { width: 136px; } /* Figma SP */
  .header-actions { gap: 8px; } /* language + hamburger cluster on the right */

  /* Market heading stays white on the blue band (Figma SP) */
  .section--market .section-heading h2 { color: #fff; }
}


/* User request 2026-07-06: remove section lead copy (承認済みのFigma逸脱) */
.section-heading small { display: none !important; }

/* Language switcher dropdown (JP / English / 中文) */
.language-switch {
  position: relative;
}

.language-button__chevron {
  transition: transform 160ms ease;
}

.language-switch.is-open .language-button__chevron {
  transform: translateY(1px) rotate(225deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 60;
  display: grid;
  min-width: 132px;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 25, 60, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

.language-switch.is-open .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #131a2a;
  font-size: 13px;
  font-weight: 500;
}

/* ドロップダウン各項目の国旗（GTranslate 同梱の svg） */
.language-menu__flag {
  flex: 0 0 auto;
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}

.language-menu a:hover,
.language-menu a:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
}

.language-menu a[aria-current="true"] {
  color: var(--blue);
  font-weight: 700;
}


/* ============================================================
   Recruit page (Figma 389:2) — 採用情報
   ============================================================ */
.recruit-page .inner {
  width: min(1180px, calc(100% - 48px));
}

/* Subvisual */
.recruit-subvisual {
  padding: 56px 0 52px; /* balanced now that the lead is gone */
  background: #fff;
  border-bottom: 1px solid #cae0f4;
  text-align: center; /* Figma: subvisual is centered */
}

.recruit-subvisual__eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.recruit-subvisual__title {
  margin: 15px 0 0;
  color: #0b1320;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.36;
}

.recruit-subvisual__lead {
  margin: 9px 0 0;
  color: #4c5b6f;
  font-size: 15px;
  line-height: 1.73;
}

/* Job list section (light blue band) */
.recruit-joblist {
  padding: 78px 0 88px;
  background: #f0f8ff;
}

.recruit-joblist__eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.recruit-joblist__title {
  margin: 14px 0 0;
  color: #0b1320;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.26;
}

.recruit-joblist__lead {
  max-width: 820px;
  margin: 13px 0 0;
  color: #4c5b6f;
  font-size: 15px;
  line-height: 1.73;
}

.recruit-store {
  margin-top: 40px;
}

.recruit-store + .recruit-store {
  margin-top: 52px;
}

.recruit-store__name {
  position: relative;
  margin: 0;
  padding-left: 20px;
  color: #0b1320;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
}

.recruit-store__name::before { /* accent bar 5x58 */
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 58px;
  border-radius: 2px;
  background: var(--blue);
  transform: translateY(-50%);
}

.recruit-store__lead {
  margin: 8px 0 0 20px;
  color: #4c5b6f;
  font-size: 14px;
  line-height: 1.71;
}

.job-cards {
  display: grid;
  gap: 30px; /* Figma: cards 730,960,1190 -> 230 pitch, 200 tall -> 30 gap */
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.job-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 230px;
  column-gap: 30px;
  align-items: center;
  min-height: 200px;
  padding-right: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #cae0f4;
  border-radius: 5px;
}

.job-card__img {
  align-self: stretch;
  width: 300px;
  height: 100%;
  object-fit: cover;
}

.job-card__body {
  padding: 28px 0;
}

.job-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 2px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.job-badge--part {
  background: #e10826;
}

.job-card__title {
  margin: 14px 0 0;
  color: #0b1320;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.19;
}

.job-card__desc {
  margin: 15px 0 0;
  color: #4c5b6f;
  font-size: 14px;
  line-height: 1.71;
}

.job-card__meta {
  align-self: center;
  width: 230px;
}

.job-meta__label {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.job-meta__pay {
  margin: 8px 0 20px;
  color: #0b1320;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.job-meta__loc {
  margin: 4px 0 0;
  color: #0b1320;
  font-size: 15px;
  font-weight: 700;
}

.job-card__button {
  display: flex;
  width: 190px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

/* Simple recruit footer (blue band) */
.recruit-footer {
  padding: 48px 0 54px;
  background: var(--blue);
  color: #fff;
}

.recruit-footer__logo {
  display: grid;
  width: 240px;
  height: 72px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
}

.recruit-footer__logo img {
  width: 204px;
}

.recruit-footer__lead {
  margin: 26px 0 0;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.73;
}

.recruit-footer__copy {
  margin: 22px 0 0;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

/* Recruit responsive (no dedicated SP frame — proper mobile stack) */
@media (max-width: 940px) {
  .recruit-subvisual { padding: 40px 0 28px; }
  .recruit-subvisual__title { font-size: 30px; }
  .recruit-joblist { padding: 40px 0 48px; }
  .recruit-joblist__title { font-size: 26px; }
  .recruit-store { margin-top: 34px; }
  .recruit-store__name { font-size: 24px; }
  .recruit-store__name::before { height: 44px; }

  .job-card {
    grid-template-columns: 1fr;
    column-gap: 0;
    min-height: 0;
    padding-right: 0;
  }
  .job-card__img { width: 100%; height: 180px; }
  .job-card__body { padding: 20px 20px 0; }
  .job-card__title { font-size: 20px; }
  .job-card__meta {
    width: auto;
    padding: 14px 20px 22px;
  }
  .job-meta__pay { font-size: 22px; margin-bottom: 14px; }
  .job-card__button { width: 100%; }
  .recruit-footer__copy { text-align: left; }
}


/* ============================================================
   Sub pages (price / items / market / stores / faq / contact)
   Shared subvisual + body, matching the recruit page pattern
   ============================================================ */
.subpage-hero {
  padding: 56px 0 52px;
  background: #fff;
  border-bottom: 1px solid #cae0f4;
  text-align: center;
}

.subpage-hero__eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.subpage-hero__title {
  margin: 15px 0 0;
  color: #0b1320;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.36;
}

/* 価格表の最終更新日時（保存時に自動記録した日時を見出し直下に出す） */
.subpage-hero__updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.subpage-body {
  padding: 64px 0 80px;
  background: #f0f8ff;
}

.subpage-body--blue {
  background: var(--blue);
}

/* the reused section grids keep their own component styling; drop the
   large top/section min-heights that don't apply on a focused page */
.subpage-body .metal-summary,
.subpage-body .price-grid,
.subpage-body .items-grid,
.subpage-body .market-grid,
.subpage-body .stores-grid,
.subpage-body .faq-list {
  margin-top: 0;
}

.subpage-body .price-note { margin-top: 22px; }

/* ---- Contact page ---- */
.subpage-body:has(.contact-aside) .inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  padding: 34px 36px 38px;
  background: #fff;
  border: 1px solid #cae0f4;
  border-radius: 8px;
}

.contact-form__note {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-form__note span,
.contact-field label span {
  color: #ce0000;
}

.contact-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.contact-field label {
  color: #0b1320;
  font-size: 14px;
  font-weight: 700;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.contact-form__submit {
  width: 100%;
  min-height: 54px;
  margin-top: 8px;
  font-size: 16px;
}

.contact-aside {
  padding: 28px 26px 30px;
  background: #fff;
  border: 1px solid #cae0f4;
  border-radius: 8px;
}

.contact-aside h2 {
  margin: 0 0 18px;
  color: #0b1320;
  font-size: 18px;
  font-weight: 700;
}

.contact-tel {
  display: grid;
  gap: 2px;
  padding: 16px 0;
  border-top: 1px solid #e5ecf5;
}

.contact-tel:last-child { border-bottom: 1px solid #e5ecf5; }

.contact-tel span { color: #4b5563; font-size: 12px; font-weight: 700; }
.contact-tel strong { color: var(--blue); font-size: 24px; font-weight: 900; }
.contact-tel small { margin-top: 4px; color: var(--muted); font-size: 12px; }

@media (max-width: 940px) {
  .subpage-hero { padding: 40px 0 30px; }
  .subpage-hero__title { font-size: 30px; }
  .subpage-hero__updated { font-size: 12px; }
  .subpage-body { padding: 40px 0 52px; }
  .subpage-body:has(.contact-aside) .inner { grid-template-columns: 1fr; gap: 22px; }
  .contact-form { padding: 24px 20px 26px; }
  .contact-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   Real-content sub pages: data tables / pill nav / forms
   ============================================================ */
.content-h2 {
  margin: 0 0 18px;
  color: #0b1320;
  font-size: 26px;
  font-weight: 700;
}

.content-h3 {
  margin: 34px 0 12px;
  padding-left: 14px;
  border-left: 4px solid var(--blue);
  color: #0b1320;
  font-size: 20px;
  font-weight: 700;
}

.content-lead {
  margin: 0 0 28px;
  color: #3f4a58;
  font-size: 15px;
  line-height: 2;
}

.update-stamp {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cae0f4;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.table-note {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.table-note--scroll { display: none; }

.table-scroll {
  margin: 0 0 26px;
  overflow-x: auto;
  border: 1px solid #cae0f4;
  border-radius: 6px;
  background: #fff;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.data-table caption {
  padding: 10px 14px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.data-table th,
.data-table td {
  padding: 10px 14px;
  border: 1px solid #dce8f5;
  color: #1f2733;
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.data-table tr:nth-child(even) td {
  background: #f7fbff;
}

.data-table td:first-child {
  font-weight: 500;
}

.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.pill {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.pill.is-active {
  background: var(--blue);
  color: #fff;
}

/* form extras (delivery / contact) */
.contact-form--wide { max-width: 860px; }

.zip-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.zip-row .zip1 { width: 90px; }
.zip-row .zip2 { width: 110px; }

.contact-radio {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px 12px;
}

.contact-radio legend {
  padding: 0 6px;
  color: #0b1320;
  font-size: 14px;
  font-weight: 700;
}

.contact-radio label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 4px 18px 4px 0;
  color: #1f2733;
  font-size: 14px;
}

.contact-radio input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

.field-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

input[type="file"] {
  font-size: 13px;
}

/* news list page */
.news-list--page article {
  grid-template-columns: 120px minmax(0, 1fr);
}

.news-list--page a {
  white-space: normal;
}

@media (max-width: 940px) {
  .content-h2 { font-size: 21px; }
  .content-h3 { font-size: 17px; }
  .table-note--scroll { display: block; color: var(--blue); font-weight: 700; }
  .data-table { font-size: 12.5px; }
  .data-table th, .data-table td { padding: 8px 10px; }
  .pill { min-height: 36px; padding: 0 14px; font-size: 13px; }
  .news-list--page article { grid-template-columns: 96px minmax(0, 1fr); }
}


/* ============================================================
   2026-07-06 round: gold page (top design) / rolex photos /
   recruit v2 balance
   ============================================================ */
/* gold.html: reuse top price-section look on the light band */
.subpage-body--price {
  background: var(--section);
}

/* rolex tables: watch photos inside type cells */
.data-table--rolex img {
  display: block;
  width: 110px;
  max-width: none;
  margin: 8px auto 4px;
  border-radius: 4px;
}

.data-table--rolex td:first-child {
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 940px) {
  /* gold.html shows the FULL tables even on SP (top section stays compact) */
  .subpage-body--price .price-grid { gap: 22px; }
  .subpage-body--price .price-grid__side:nth-child(2) { display: grid; }
  .subpage-body--price .price-table--gold dl div:nth-child(4),
  .subpage-body--price .price-table--gold dl div:nth-child(5),
  .subpage-body--price .price-table--gold dl div:nth-child(n + 7) { display: grid; }
  .subpage-body--price .price-note { display: block; }
  .data-table--rolex img { width: 84px; }
}

/* ---- Recruit v2: component balance ---- */
.recruit-joblist__eyebrow,
.recruit-joblist__title {
  text-align: center;
}

.recruit-joblist__title {
  margin-top: 12px;
}

.recruit-store {
  margin-top: 56px;
}

.recruit-store:first-of-type {
  margin-top: 44px;
}

.recruit-store__name {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 0;
  font-size: 26px;
}

.recruit-store__name::before {
  position: static;
  height: 30px;
  transform: none;
}

.job-cards {
  margin-top: 20px;
  gap: 20px;
}

.job-card {
  grid-template-columns: 280px minmax(0, 1fr) 260px;
  column-gap: 0;
  min-height: 190px;
  padding-right: 0;
  border-radius: 8px;
  transition: border-color 160ms ease;
}

.job-card:hover {
  border-color: var(--blue);
}

.job-card__img {
  width: 280px;
}

.job-card__body {
  align-self: center;
  padding: 26px 32px;
}

.job-card__title {
  margin: 12px 0 0;
  font-size: 22px;
}

.job-card__desc {
  margin: 10px 0 0;
  max-width: 480px;
  font-size: 14px;
  line-height: 1.75;
}

.job-card__meta {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 260px;
  padding: 24px 28px;
  border-left: 1px solid #e0ecf9;
  background: #f8fbff;
  border-radius: 0 8px 8px 0;
}

.job-meta__label {
  font-size: 12px;
  letter-spacing: 0.02em;
}

.job-meta__pay {
  margin: 6px 0 16px;
  font-size: 24px;
}

.job-meta__loc {
  margin: 6px 0 0;
  font-size: 14px;
}

.job-card__button {
  width: 100%;
  margin-top: 18px;
  border-radius: 6px;
  transition: opacity 140ms ease;
}

.job-card__button:hover {
  opacity: 0.88;
}

@media (max-width: 940px) {
  .recruit-store { margin-top: 40px; }
  .recruit-store__name { font-size: 21px; }
  .recruit-store__name::before { height: 24px; }
  .job-card { grid-template-columns: 1fr; }
  .job-card__img { width: 100%; height: 168px; border-radius: 8px 8px 0 0; }
  .job-card__body { padding: 20px 20px 16px; }
  .job-card__meta {
    width: auto;
    border-left: 0;
    border-top: 1px solid #e0ecf9;
    border-radius: 0 0 8px 8px;
    padding: 18px 20px 20px;
  }
}


/* news list: plain-text titles (article pages not built yet) */
.news-list--page .news-item-title {
  min-width: 0;
  color: #171717;
  font-size: 15px;
  font-weight: 400;
}


/* mobile: fully remove closed menu from hit-testing (dropdown children used to
   override pointer-events and stayed clickable while invisible) */
@media (max-width: 1100px) {
  .global-nav {
    visibility: hidden;
    transition: opacity 160ms ease, transform 160ms ease, visibility 0s 160ms;
  }

  body.is-menu-open .global-nav {
    visibility: visible;
    transition: opacity 160ms ease, transform 160ms ease;
  }
}


/* hamburger drawer: LINE / 無料査定 CTAs pinned at the bottom */
.nav-cta {
  display: none;
}

@media (max-width: 1100px) {
  .nav-cta {
    display: grid;
    gap: 12px;
    padding: 22px 20px 30px;
    border-top: 1px solid #edf3f8;
    margin-top: 8px;
  }

  .nav-cta .button {
    width: 100%;
    min-height: 52px;
    justify-content: center; /* override .global-nav a's space-between */
    gap: 8px;
    color: #fff; /* .global-nav a would tint it navy */
    font-size: 15px;
  }

  .nav-cta .button--primary img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
  }
}


/* rolex 程度の目安: plain table, no horizontal scroll container */
.table-scroll--plain {
  overflow-x: visible;
}

.table-scroll--plain .data-table {
  min-width: 0;
}

.table-scroll--plain .data-table td:first-child {
  white-space: nowrap;
  text-align: center;
}

.table-scroll--plain .data-table td {
  white-space: normal;
}


/* hamburger morphs into an X while the drawer is open.
   Bars are absolutely centered when open so the X is exact at ANY
   button size (the translateY version turned into a ※ on tablet). */
.menu-button {
  position: relative;
}

.menu-button span:not(.sr-only) {
  transition: transform 180ms ease, opacity 120ms ease;
}

body.is-menu-open .menu-button span:not(.sr-only) {
  position: absolute;
  top: 50%;
  left: 50%;
}

body.is-menu-open .menu-button span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(45deg);
}

body.is-menu-open .menu-button span:nth-child(3) {
  opacity: 0;
}

body.is-menu-open .menu-button span:nth-child(4) {
  transform: translate(-50%, -50%) rotate(-45deg);
}


/* drawer links: small blue accent bar on the left (matches store-heading motif) */
@media (max-width: 1100px) {
  .global-nav ul > li > a,
  .global-nav ul > li > button {
    position: relative;
    padding-left: 38px;
  }

  .global-nav ul > li > a::after,
  .global-nav ul > li > button::after {
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--blue);
    transform: translateY(-50%);
  }
}


/* news page: same look as the top NEWS section */
.subpage-body--news {
  background: #fff;
}

.news-list--page article {
  grid-template-columns: 120px 104px minmax(0, 1fr);
}

.news-list--page .news-title {
  display: block;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #171717;
  font-size: 15px;
  font-weight: 400;
  text-align: left;
}

@media (max-width: 940px) {
  .news-list--page article {
    grid-template-columns: 88px 74px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
    min-height: 0;
  }
  .news-list--page time { font-size: 12px; }
  .news-list--page span:not(.news-title) { font-size: 10px; padding: 4px 6px; }
  .news-list--page .news-title { font-size: 13px; }
}


/* pagination (news) */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pagination button {
  display: grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  padding: 0 6px;
  border: 1px solid #cae0f4;
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.pagination button.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}


/* WP paginate_links (news) */
.pagination--wp {
  flex-wrap: wrap;
}

.pagination--wp .page-numbers {
  display: grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  padding: 0 6px;
  border: 1px solid #cae0f4;
  border-radius: 6px;
  background: #fff;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.pagination--wp .page-numbers.current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ============================================================
   2026-08-03 トップリニューアル
   ①アクセス時ローディング ②MVスライドショー ③スクロールフェードイン
   ============================================================ */

/* --- ①ローディング（セッション初回のみ。site.jsが解除） --- */
.ug-loader {
  position: fixed;
  z-index: 9999;
  display: grid;
  inset: 0;
  background: #fbfaf7;
  opacity: 1;
  place-items: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.ug-loader.is-done {
  visibility: hidden;
  opacity: 0;
}

.ug-loader__brand {
  color: var(--blue);
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: 0.42em;
  /* 字間ぶん右に寄って見えるのを相殺 */
  text-indent: 0.42em;
  text-align: center;
}

.ug-loader__bar {
  position: relative;
  display: block;
  overflow: hidden;
  width: min(240px, 50vw);
  height: 1px;
  margin-top: 18px;
  background: #e3ddd2;
}

.ug-loader__bar::before {
  position: absolute;
  width: 40%;
  height: 100%;
  animation: ug-loader-sweep 1.1s ease-in-out infinite;
  background: #c9a24b; /* 金 */
  content: "";
}

@keyframes ug-loader-sweep {
  from { translate: -100% 0; }
  to { translate: 350% 0; }
}

.ug-loader__bar {
  display: grid;
}

/* ローダーは文字とバーを縦に積む */
.ug-loader > * {
  grid-column: 1;
}

.ug-loader {
  grid-template-rows: auto;
  align-content: center;
  justify-items: center;
}

/* --- ②MVスライドショー --- */
.hero--slideshow {
  position: relative;
  overflow: hidden;
}

/* 画像(16:9)がなるべく切れない高さ = 幅の56.25%。
   ただし画面からはみ出さないよう「ビューポート高 - ヘッダー分」で上限 */
.hero--slideshow,
.hero--slideshow .hero__inner--center {
  min-height: min(56.25vw, calc(100vh - 150px));
  min-height: min(56.25vw, calc(100svh - 150px));
}

.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
}

.hero__slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  /* 切替はワイプに覆われている間に完了させる（0.25s）。ズーム・パンは10s ease-out */
  transition: opacity 0.25s ease, transform 10s ease-out;
}

.hero__slide.is-active {
  opacity: 1;
}

/* 初期表示用: JSが is-active に差し替えるまでの間も1枚目を見せておく。
   ここに transform を書かないこと（is-active への切替でズーム遷移を発火させるため） */
.hero__slide.is-boot {
  opacity: 1;
}

/* 参考サイトと同じく、スライドごとにズームの方向を変える
   1枚目: ズームイン(1→1.08) / 2枚目: 横パン / 3枚目: ズームアウト(1.08→1)
   ※倍率はクライアント要望で「引き」寄り（1.2だと画像が2割切れる） */
.hero__slide:nth-child(2),
.hero__slide:nth-child(3) {
  transform: scale(1.08);
}

.hero__slide.is-active:nth-child(1) {
  transform: scale(1.08);
}

.hero__slide.is-active:nth-child(2) {
  transform: translateX(24px) scale(1.08);
}

.hero__slide.is-active:nth-child(3) {
  transform: scale(1);
}

/* 切り替え時のパネルワイプ（参考サイトのPageAnime準拠: 2s ease-in-out。色はブランドの濃紺） */
.hero--slideshow::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: #0c1a2e;
  content: "";
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
}

.hero--slideshow.is-wiping::after {
  animation: ug-wipe 2s ease-in-out forwards; /* クライアント指摘で元の速さに戻した */
}

@keyframes ug-wipe {
  0% { transform: scaleY(0); transform-origin: bottom; }
  50% { transform: scaleY(1); transform-origin: bottom; }
  50.001% { transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}

/* コピーはワイプより上に置く（参考サイトも文字は覆わない） */
.hero--slideshow .hero__inner--center {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateX(-6%);
  transition: transform 1s ease, opacity 1s ease;
}

.hero--slideshow .hero__inner--center.show {
  opacity: 1;
  transform: translateX(0);
}

/* グレーオーバーレイ（文字の可読性確保） */
.hero__overlay--gray {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* 参考サイト準拠 */
}

.hero--slideshow .hero__inner--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
}

/* 既存 .hero h1（grid・紺色・max-width 700px）の打ち消し */
.hero--slideshow .hero-catch {
  display: flex;
  max-width: none;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: #fff;
}

.hero-catch__main {
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(22px, 3.3vw, 46px);
  font-weight: 700;
  letter-spacing: 0.26em;
  line-height: 1.6;
  text-indent: 0.26em; /* 字間ぶんのセンターずれ相殺 */
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.hero-catch__en {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 500;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
}

.hero-catch__items {
  margin: 26px 0 0;
  /* 折り返しは「・」区切りの位置のみ（.nwスパン単位） */
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(11px, 1.15vw, 15px);
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (max-width: 940px) {
  .hero--slideshow,
  .hero--slideshow .hero__inner--center {
    /* SPは縦画面なので16:9基準だと低すぎる。固定で広めに取る */
    min-height: min(500px, 72svh);
  }

  /* scale1.08の余白は幅の4%(390pxで約15px)しかないため、パン量を抑える */
  .hero__slide.is-active:nth-child(2) {
    transform: translateX(12px) scale(1.08);
  }

  .hero-catch__main {
    letter-spacing: 0.14em;
    text-indent: 0.14em;
  }

  .hero-catch__items {
    max-width: 88vw;
    letter-spacing: 0.06em;
    line-height: 1.9;
  }
}

/* --- ③スクロールフェードイン ---
   JSが .js-reveal を付けた要素だけ対象（JS無効時は普通に表示される） */
.js-reveal {
  opacity: 0;
  transition: opacity 0.9s ease, translate 0.9s ease;
  translate: 0 28px;
}

.js-reveal.is-shown {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }

  .hero__slide.is-active,
  .hero--slideshow.is-wiping::after {
    animation: none;
  }

  .hero__slide,
  .hero--slideshow .hero__inner--center {
    transform: none !important;
    transition: opacity 0.4s ease;
  }

  .js-reveal {
    opacity: 1 !important;
    transition: none !important;
    translate: none !important;
  }

  .ug-loader__bar::before {
    animation: none;
  }
}

/* ============================================================
   求人（CPT: job）— 2026-08-21
   ============================================================ */
.job-card__img--none {
  display: block;
  background: linear-gradient(120deg, #e8eef6, #cfdcea);
}

.recruit-empty {
  padding: 40px 0;
  color: var(--muted);
  text-align: center;
}

.job-detail__closed {
  padding: 12px 16px;
  border: 1px solid #f0c9c9;
  border-radius: 6px;
  background: #fdf1f1;
  color: #a32d2d;
  font-size: 14px;
  font-weight: 700;
}

.job-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 22px;
}

.job-detail__lead {
  flex: 1 1 320px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.job-detail__img {
  overflow: hidden;
  margin-bottom: 26px;
  border-radius: 10px;
}

.job-detail__img img {
  display: block;
  width: 100%;
  height: auto;
}

.job-detail__spec {
  margin: 0 0 26px;
  border-top: 1px solid var(--border);
}

.job-detail__spec > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.job-detail__spec dt {
  padding: 12px 16px;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.job-detail__spec dd {
  margin: 0;
  padding: 12px 16px;
  font-size: 15px;
}

.job-detail__body {
  margin-bottom: 30px;
  line-height: 1.9;
}

.job-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

@media (max-width: 940px) {
  .job-detail__spec > div {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .job-detail__spec dt {
    padding: 8px 12px;
  }

  .job-detail__spec dd {
    padding: 10px 12px 14px;
  }
}

/* 新着情報の詳細ページ（CPT: news）— 2026-08-21 */
.news-single__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.news-single__cat {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.news-single__img {
  overflow: hidden;
  margin-bottom: 26px;
  border-radius: 10px;
}

.news-single__img img {
  display: block;
  width: 100%;
  height: auto;
}

.news-single__body {
  line-height: 1.9;
}

.news-single__body p {
  margin: 0 0 1.4em;
}

.news-single__back {
  margin-top: 34px;
}

/* ---- Form notice (お問い合わせ／宅配買取フォームの結果表示 2026-09-20) ---- */
.form-notice {
  margin: 0 0 24px;
  padding: 22px 24px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.9;
}

.form-notice__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.form-notice p {
  margin: 0;
}

.form-notice ul {
  margin: 0;
  padding-left: 1.2em;
}

.form-notice li {
  margin-bottom: 4px;
}

.form-notice--error {
  border: 1px solid #f0b4b4;
  background: #fdf3f3;
  color: #8f1a1a;
}

.form-notice--error .form-notice__title {
  color: #ce0000;
}

.form-notice--thanks {
  padding: 34px 36px 38px;
  border: 1px solid #cae0f4;
  background: #fff;
  color: var(--text);
}

.form-notice--thanks .form-notice__title {
  color: var(--blue);
  font-size: 20px;
}

.form-notice--thanks p + p {
  margin-top: 16px;
}

.form-notice__back .button {
  min-height: 50px;
  padding-left: 28px;
  padding-right: 28px;
}

@media (max-width: 767px) {
  .form-notice { padding: 18px 18px; }
  .form-notice--thanks { padding: 24px 20px 26px; }
}


/* ============================================================
   多言語切替（GTranslate）— 2026-09-20
   日本語表示の見た目は一切変えない。英語・中国語のときだけ効く指定にする。
   GTranslate / Google は JS で <style> を後から head に差し込むため !important が要る。
   ============================================================ */

/* Google 翻訳が挿入する上部バナー（と、それに伴う body の 40px ずれ）を打ち消す */
.goog-te-banner-frame,
.goog-te-gadget,
.goog-logo-link,
#goog-gt-tt,
.goog-tooltip,
.goog-text-highlight,
iframe.skiptranslate {
  display: none !important;
}

/* Google は body に position:relative; top:40px を付けてヘッダーを押し下げる。
   top だけ打ち消せば足りる（position を触ると子要素の絶対配置基準が変わるため触らない）。 */
body {
  top: 0 !important;
}

/* 翻訳済みテキストに付く黄色い背景・影・ベースラインずれを消す */
.translated-ltr font,
.translated-rtl font,
font[style] {
  background: none !important;
  box-shadow: none !important;
  vertical-align: inherit !important;
}

/* 英語・中国語では、ヘッダーCTAの固定幅（LINE=161px / 無料査定=171px）に
   訳文が収まらず重なるため、そのときだけ幅を可変にする。
   日本語（lang="ja" かつ data-ug-lang="ja"）には当たらないので Figma の数値はそのまま。 */
html:not([lang="ja"]) .header-cta--line,
html:not([lang="ja"]) .header-cta--form,
html[data-ug-lang="en"] .header-cta--line,
html[data-ug-lang="en"] .header-cta--form,
html[data-ug-lang="zh-CN"] .header-cta--line,
html[data-ug-lang="zh-CN"] .header-cta--form {
  width: auto !important;
  min-width: 0 !important;
  padding: 0 14px !important;
}

/* 同じ理由で、グローバルナビの各項目も訳文で溢れないようにする */
html:not([lang="ja"]) .global-nav > .inner > ul > li,
html[data-ug-lang="en"] .global-nav > .inner > ul > li,
html[data-ug-lang="zh-CN"] .global-nav > .inner > ul > li {
  flex: 1 1 auto !important;
}

/* 言語切替ボタン自体は訳させない。ラベルは site.js が JP / EN / 中文 に差し替える。 */
.language-switch {
  flex: 0 0 auto;
}

/* GTranslate のウィジェットは翻訳エンジンの起動に必要なので必ず出力し、
   画面外に置いて見えなくする（display:none だと初期化されないことがあるため）。 */
.gt-offscreen {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

/* ============================================================
   英語・中国語のレイアウト崩れ対策 — 2026-09-20
   1440 / 768 / 390px × en / zh-CN で全ページを実測し、実際に崩れた箇所だけを直す。
   すべて html:not([lang="ja"]) 条件なので日本語表示には一切当たらない
   （GTranslate は翻訳時に <html lang> を書き換える。site.js が付ける
    data-ug-lang も併記して、翻訳の復元中でも同じ指定が効くようにする）。
   ============================================================ */

/* ① Hero の大見出しは white-space:nowrap のため、訳文が長いと画面外へ出る。
      390px/英語で親より 56px はみ出し、360px では横スクロール（356 > 345）まで出ていた。 */
html:not([lang="ja"]) .hero-catch__main,
html[data-ug-lang="en"] .hero-catch__main,
html[data-ug-lang="zh-CN"] .hero-catch__main {
  white-space: normal !important;
}

/* ② クチコミのアバターは氏名の頭1文字。翻訳されると英単語になり 40px の円から溢れる。
      front-page.php で translate="no" を付けたうえでの保険。 */
html:not([lang="ja"]) .gr-avatar,
html[data-ug-lang="en"] .gr-avatar,
html[data-ug-lang="zh-CN"] .gr-avatar {
  overflow: hidden !important;
}

@media (max-width: 940px) {
  /* ③ 査定方法カードは「アイコン / 本文 / リンク」の3列。リンク列が auto かつ nowrap のため
        訳文（例: Consult about home delivery purchase）で 226px まで広がり、
        本文列 minmax(0,1fr) が 390px/英語で 2.7px まで潰れて
        カード高さが 106px → 484px になっていた。本文列に下限を与えてリンクを折り返させる。 */
  html:not([lang="ja"]) .method-card,
  html[data-ug-lang="en"] .method-card,
  html[data-ug-lang="zh-CN"] .method-card {
    grid-template-columns: 52px minmax(96px, 1fr) minmax(0, auto) !important;
  }

  html:not([lang="ja"]) .method-card a,
  html[data-ug-lang="en"] .method-card a,
  html[data-ug-lang="zh-CN"] .method-card a {
    white-space: normal !important;
  }

  /* ④ 相場カードの「前日比」は position:absolute + nowrap。訳文で幅が 64px → 191px になり
        価格の文字に重なる。訳文のときだけ通常フローに戻し、価格の下へ置く。 */
  html:not([lang="ja"]) .metal-card small,
  html[data-ug-lang="en"] .metal-card small,
  html[data-ug-lang="zh-CN"] .metal-card small {
    position: static !important;
    margin-top: 4px !important;
    white-space: normal !important;
  }
}


/* ============================================================
   英語・中国語の文言差し替え — 2026-09-21
   GTranslate（無料版）は訳文を編集できないので、直したい文言だけ
   HTML 側に日本語・英語・中国語を並べて持たせ（inc/i18n.php の ug_te()）、
   ここで言語ごとに出し分ける。

   ★ 日本語表示（lang="ja" かつ data-ug-lang が ja または未設定）では
      ug-ja しか表示されない＝従来どおりの見た目のまま。
   ★ 独自要素名（ug-t / ug-n / ug-ja / ug-en / ug-zh）にしているのは、
      site.css の「.price-table h3 span」等の子孫セレクタに巻き込まれて
      日本語表示が変わるのを避けるため。既定表示は inline。
   ★ lang は GTranslate が翻訳時に書き換える。data-ug-lang は site.js が
      localStorage から復元して付ける。翻訳の復元が終わる前でも同じ文言が
      出るように両方を条件にしている（既存のレイアウト対策と同じ流儀）。
   ============================================================ */
ug-t, ug-n, ug-ja, ug-en, ug-zh { display: inline; }
ug-en, ug-zh { display: none; }

html[lang="en"] ug-ja,
html[data-ug-lang="en"] ug-ja { display: none; }
html[lang="en"] ug-en,
html[data-ug-lang="en"] ug-en { display: inline; }

html[lang="zh-CN"] ug-ja,
html[lang="zh"] ug-ja,
html[data-ug-lang="zh-CN"] ug-ja { display: none; }
html[lang="zh-CN"] ug-zh,
html[lang="zh"] ug-zh,
html[data-ug-lang="zh-CN"] ug-zh { display: inline; }
