/* ============================================
   YAMASHIN Corporate Site v3 - Design System
   ============================================ */

/* --- Google Fonts は各HTMLの <head> 内で <link> により読み込み --- */
/* （CSS内での読み込みは描画開始を遅らせるため使用しない）              --- */

/* --- CSS Custom Properties --- */
:root {
  /* Colors - Sunset Orange (Pop Accent) + Navy (Logo Base) */
  --color-white: #FFFFFF;
  --color-text: #1A1A1A;
  --color-text-light: #1E293B;
  --color-text-muted: #64748B;

  /* Orange (Accent) */
  --color-accent: #E88241;
  --color-accent-dark: #C2672D;
  --color-accent-light: #FEF4EC;

  /* Navy (Logo Base Tone) */
  --color-sub: #092E5B;
  --color-sub-dark: #051C3A;
  --color-sub-light: #F8F9FA;

  /* Backgrounds */
  --color-bg-gray: #F8F9FA;
  --color-bg-green: #F8F9FA;
  --color-border: #E2E8F0;

  /* Footer - Light Blue Gray */
  --color-footer-bg: #F0F4F8;
  --color-footer-text: #1E293B;

  /* Typography */
  /* 日本語は端末標準フォントを使用（Webフォントを読み込まないことで
     初回表示を大幅に高速化。iPhone/Mac はヒラギノ角ゴ、Windows は
     游ゴシック／メイリオが使われる） */
  --font-ja: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Yu Gothic', 'Meiryo', system-ui, sans-serif;
  --font-en: 'Outfit', sans-serif;

  /* Spacing */
  --section-padding: 6rem 0;
  --container-width: 1080px;
  --container-padding: 0 2rem;

  /* Header */
  --header-height: 4rem;
}

/* --- Utility: Mobile-only line break --- */
.sp-br {
  display: none;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  /* iPhone などで最下部を越えてスクロールしたときに現れる余白の色。
     指定しないと body の白が出てフッターが途切れて見えるため、
     フッターと同じ色を敷いて連続して見えるようにする */
  background-color: var(--color-footer-bg);
}

body {
  font-family: var(--font-ja);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Accessibility: Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  z-index: 10000;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* --- Accessibility: Focus Styles --- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Section --- */
.section {
  padding: var(--section-padding);
}

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

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

.section__title {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 1.625rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--color-text);
  letter-spacing: 0.06em;
}

.section__title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background-color: var(--color-accent);
  margin: 0.75rem auto 0;
}

/* --- Fade-in Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Respect prefers-reduced-motion
   OS側で「視差効果を減らす」を有効にしている利用者には、
   アニメーションやスクロール演出を行わない（乗り物酔い・
   めまいの原因になるため） */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.header__logo {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--color-text);
  text-transform: uppercase;
}

.logo-char {
  display: inline-block;
}

/* 視覚的カーニング: タイトで洗練されたロゴタイプ */
.logo-char--Y  { letter-spacing: -0.06em; }
.logo-char--A1 { letter-spacing: -0.02em; }
.logo-char--M  { letter-spacing: -0.01em; }
.logo-char--A2 { letter-spacing: -0.03em; }
.logo-char--S  { letter-spacing: -0.01em; }
.logo-char--H  { letter-spacing: -0.02em; }
.logo-char--I  { letter-spacing: -0.03em; }
.logo-char--N  { letter-spacing: 0; }

.header__logo a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-img {
  max-height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer__logo .logo-img {
  max-height: 32px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header__nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s;
  white-space: nowrap;
}

.header__nav-link:hover {
  color: var(--color-accent);
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: 1rem;
}

.header__tel {
  font-family: var(--font-en);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
}

.header__tel-number {
  font-weight: 600;
  font-size: 1rem;
}

.header__tel-link {
  color: inherit;
  text-decoration: none;
}

.header__tel-link:hover {
  opacity: 0.7;
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  position: relative;
  z-index: 1100;
}

.hamburger__line {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-text);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s;
}

.hamburger__line:nth-child(1) { top: 0.75rem; }
.hamburger__line:nth-child(2) { top: 1.15rem; }
.hamburger__line:nth-child(3) { top: 1.55rem; }

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) {
  top: 1.15rem;
  transform: translateX(-50%) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) {
  top: 1.15rem;
  transform: translateX(-50%) rotate(-45deg);
}

/* --- Mobile Nav (default: hidden) --- */
.mobile-nav {
  display: none;
}

/* --- Button --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  white-space: nowrap;
}

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

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-accent-dark);
}

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

.btn--outline:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn--outline-sub {
  background-color: rgba(255, 255, 255, 0.6); /* 60% translucent background for design depth and contrast */
  color: var(--color-sub);
  border: 2px solid var(--color-sub);
}

.btn--outline-sub:hover {
  background-color: var(--color-sub);
  color: var(--color-white);
}

.btn--small {
  font-size: 0.8125rem;
  padding: 0.5rem 1.25rem;
}

.btn--large {
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  margin-top: var(--header-height);
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(90vh - var(--header-height));
  background: url('/images/image.webp') center center / cover no-repeat;
  overflow: hidden;
}

.hero__mobile-image {
  display: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.98) 35%,
    rgba(255, 255, 255, 0.92) 48%,
    rgba(255, 255, 255, 0.5) 62%,
    rgba(255, 255, 255, 0) 80%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  padding-left: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.hero__heading {
  white-space: nowrap;
}

.hero__heading {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.hero__sub {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.hero__desc {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

.hero__actions {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* ============================================
   BRAND STATEMENT (ブランドステートメント)
   ============================================ */
.statement {
  padding: 8rem 0;
  background-color: var(--color-white);
  text-align: center;
}

.statement__inner {
  max-width: 820px;
  margin: 0 auto;
}

.statement__heading {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--color-text);
  letter-spacing: 0.15em;
  line-height: 1.5;
  margin-bottom: 4rem;
  position: relative;
  display: inline-block;
}

.statement__heading::after {
  content: '';
  display: block;
  width: 3rem;
  height: 2px;
  background-color: var(--color-accent);
  margin: 1.5rem auto 0;
}

.statement__body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.statement__text {
  font-size: 1.0625rem;
  line-height: 2.2;
  color: var(--color-text-light);
  letter-spacing: 0.08em;
}

.statement__text--highlight {
  font-size: 1.0625rem;
  margin-top: 1rem;
}

.statement__text--conclusion {
  font-size: 1.0625rem;
}

/* ============================================
   SECOND VIEW (新セクション)
   ============================================ */
.second-view {
  padding: var(--section-padding);
  background-color: var(--color-bg-green);
}

.second-view__heading {
  font-family: var(--font-ja);
  font-weight: 700;
  font-size: 1.625rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text);
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.second-view__heading-en {
  font-family: var(--font-en);
  letter-spacing: 0.08em;
  margin-left: 0.15em;
}

.second-view__heading::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background-color: var(--color-accent);
  margin: 0.75rem auto 0;
}

.second-view__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.sv-card {
  background: var(--color-white);
  padding: 2.25rem 2rem;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.sv-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-sub);
}

.sv-card__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.sv-card__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.6;
}

.sv-card__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ============================================
   COMPANY TABLE
   ============================================ */
.company-table {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
  font-size: 0.9375rem;
}

.company-table th {
  width: 10rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.company-table td {
  color: var(--color-text-light);
}

/* ============================================
   GREETING
   ============================================ */
.greeting {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
}

.greeting__text {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  text-align: left;
}

.greeting__signature {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  text-align: right;
}

.greeting__role {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
  text-align: right;
}

/* ============================================
   BUSINESS (事業内容)
   ============================================ */
.business__desc {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  max-width: 40rem;
  margin: 0 auto 5rem;
  line-height: 2;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0 1rem;
}

.flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.flow__icon {
  width: 5rem;
  height: 5rem;
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-muted);
}

.flow__step--accent .flow__icon {
  background: var(--color-accent-light);
  color: var(--color-accent);
  /* ヤマシンのステップは例外的にオレンジ（商社としてのハブを強調） */
}

.flow__icon svg {
  width: 2.25rem;
  height: 2.25rem;
}

.flow__label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
}

.flow__sublabel {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: -0.25rem;
}

.flow__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.flow__arrow {
  color: var(--color-sub);
  display: flex;
  align-items: center;
  height: 5rem;
}

.flow__arrow svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ============================================
   PRODUCTS (取扱商品)
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--color-white);
  padding: 2rem 2.25rem;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: left;
}

/* Main product card: full width + orange left border */
.product-card--main {
  grid-column: 1 / -1;
  border-left: 4px solid var(--color-accent);
  background: var(--color-accent-light);
}

.product-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  color: var(--color-sub);
}

.product-card__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.product-card__body {
  flex: 1;
}

.product-card__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.product-card__desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Flex System external link */
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-accent);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.product-card__link:hover {
  color: var(--color-accent-dark);
}

.product-card__link svg {
  width: 0.875rem;
  height: 0.875rem;
}

.product-card__note {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-top: 0.375rem;
  line-height: 1.6;
}

/* ============================================
   CUSTOM ORDER (受注生産品)
   ============================================ */
.custom-order__intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 2;
}

.custom-order__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.custom-order__steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step__number {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-sub);
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-sub);
  border-radius: 50%;
  font-size: 0.875rem;
}

.step__content {
  flex: 1;
}

.step__title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.step__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ============================================
   STRENGTHS (強み)
   ============================================ */
.strengths-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.strengths-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}

.strengths-list__item:first-child {
  border-top: 1px solid var(--color-border);
}

.strengths-list__icon {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  color: var(--color-sub);
  margin-top: 0.125rem;
}

.strengths-list__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.strengths-list__body {
  flex: 1;
}

.strengths-list__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.strengths-list__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ============================================
   ACCESS
   ============================================ */
.access__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.access__map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--color-border);
}

.access__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.access__info {
  padding-top: 1rem;
}

.access__info-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.access__info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.access__info-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-sub);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.access__info-icon svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   FOOTER (Dark Brown)
   ============================================ */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 3.5rem 0 1.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer__logo {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.32em;
  color: var(--color-sub);
  margin-bottom: 1rem;
}

.footer__company-info {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-footer-text);
}

.footer__nav-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-sub);
  margin-bottom: 1rem;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__nav-link {
  font-size: 0.8125rem;
  color: var(--color-footer-text);
  transition: color 0.2s;
}

.footer__nav-link:hover {
  color: var(--color-accent);
}

.footer__tel-link {
  color: var(--color-footer-text);
  transition: color 0.2s;
}

.footer__tel-link:hover {
  color: var(--color-accent);
}

.footer__copyright {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background-color 0.2s;
  z-index: 900;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-accent-dark);
}

.back-to-top svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-hero {
  margin-top: var(--header-height);
  background-color: var(--color-bg-green);
  padding: 3rem 0;
  text-align: center;
}

.contact-hero__subtitle {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.contact-hero__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
}

/* contact-lead styling - matched with V3 top page navy brand colors */
.contact-lead {
  max-width: 800px;
  margin: 0 auto 3.5rem;
  padding: 1.75rem 2rem;
  background-color: rgba(9, 46, 91, 0.05); /* Logo brand navy with 5% opacity for elegant light-navy look */
  border-left: 4px solid var(--color-sub);   /* Dark navy border line */
  border-radius: 4px;
}

.contact-lead__text {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.contact-lead__tel {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

.contact-lead__tel-link {
  font-weight: 700;
  color: var(--color-accent); /* Vivid orange accent color for links to stand out on navy base */
  text-decoration: underline;
  transition: color 0.2s;
}

.contact-lead__tel-link:hover {
  color: var(--color-accent-dark);
}

@media (max-width: 768px) {
  .contact-lead {
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
  }
}

/* --- Privacy Policy Checkbox & Styling --- */
.form-group--privacy {
  margin: 2.5rem 0;
  text-align: center;
}

.form-checkbox-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  user-select: none;
}

.form-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.privacy-link {
  color: var(--color-sub);
  text-decoration: underline;
  font-weight: 700;
  transition: color 0.2s;
}

.privacy-link:hover {
  color: var(--color-accent);
}

/* Disabled submit button visual representation */
.btn[disabled] {
  background-color: #CBD5E1 !important;
  color: #94A3B8 !important;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr 20rem;
  gap: 3rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-label__required {
  font-size: 0.75rem;
  font-weight: 700;
  color: #C0392B;
  margin-left: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-ja);
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(217, 123, 43, 0.15);
}

.form-textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-input.is-error,
.form-textarea.is-error {
  border-color: #C0392B;
}

.form-error {
  font-size: 0.75rem;
  color: #C0392B;
  margin-top: 0.375rem;
  display: none;
}

.form-error.is-visible {
  display: block;
}

.contact-sidebar {
  background: var(--color-bg-gray);
  padding: 2rem 1.5rem;
}

.contact-sidebar__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.contact-sidebar__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.contact-sidebar__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-sub);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-sidebar__icon svg {
  width: 100%;
  height: 100%;
}

.contact-sidebar__tel {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-text);
  display: block;
  margin-top: 0.25rem;
}

/* ============================================
   MOBILE CTA BAR
   ============================================ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.mobile-cta.is-hidden,
.mobile-cta.is-nav-open {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

.mobile-cta__tel,
.mobile-cta__contact {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile-cta__tel {
  color: var(--color-text);
  background: var(--color-white);
}

.mobile-cta__tel:hover {
  background: var(--color-bg-gray);
}

.mobile-cta__contact {
  color: var(--color-white);
  background: var(--color-accent);
}

.mobile-cta__contact:hover {
  background: var(--color-accent-dark);
}

/* ============================================
   RESPONSIVE: Tablet
   ============================================ */
@media (max-width: 960px) {
  .header__nav-list {
    display: none;
  }

  .header__tel {
    display: none;
  }

  .header__contact .btn {
    display: none;
  }

  .hamburger {
    display: block;
  }

  /* Mobile Nav Overlay */
  .mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 999;
    padding: 2rem 1.5rem;
    overflow-y: auto;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .mobile-nav__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    border-radius: 50%;
    transition: background 0.2s;
  }

  .mobile-nav__close:hover {
    background: var(--color-bg-gray);
  }

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

  .mobile-nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
  }

  .mobile-nav__tel {
    margin-top: 1.5rem;
    font-family: var(--font-en);
    font-size: 1rem;
    color: var(--color-text-light);
  }

  .mobile-nav__tel-number {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-text);
    display: block;
    margin-top: 0.25rem;
  }

  .mobile-nav__btn {
    margin-top: 1.5rem;
    width: 100%;
  }

  .hero {
    min-height: auto;
    background-position: 65% center;
  }

  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.8) 60%,
      rgba(255, 255, 255, 0.5) 85%,
      rgba(255, 255, 255, 0.3) 100%
    );
  }

  .hero__inner {
    padding: 2.5rem 1.25rem 3rem;
  }

  .hero__heading {
    white-space: normal;
    font-size: 1.75rem;
    line-height: 1.4;
  }

  .hero__sub {
    white-space: normal;
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero__desc {
    font-size: 0.8125rem;
    line-height: 1.6;
  }

  .sp-br {
    display: inline;
  }

  .second-view__cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .product-card {
    padding: 1.5rem;
  }

  .custom-order__content {
    grid-template-columns: 1fr;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-sidebar {
    order: -1;
  }
}

/* ============================================
   RESPONSIVE: Mobile
   ============================================ */
@media (max-width: 600px) {
  :root {
    --section-padding: 3.5rem 0;
  }

  .hero__actions {
    display: flex;
    flex-direction: row;      /* Row layout as requested */
    justify-content: flex-start; /* Left-aligned */
    align-items: center;
    gap: 0.5rem;              /* Slightly tighter gap to fit within screen widths */
    width: 100%;
    margin-top: 1.5rem;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
    flex: none;
  }

  #hero-contact-btn {
    width: 135px !important;  /* Make "お問い合わせ" larger and more prominent */
    font-size: 0.8125rem;
    padding: 0.625rem 0.75rem;
  }

  #hero-business-btn {
    width: 115px !important;  /* Make "事業内容を見る" smaller and secondary */
    font-size: 0.75rem;       /* Slightly smaller text size to fit in the tighter button */
    padding: 0.625rem 0.5rem;
  }

  .section__title {
    font-size: 1.375rem;
    margin-bottom: 2rem;
  }

  .second-view__heading {
    font-size: 1.375rem;
    margin-bottom: 2rem;
  }

  .statement {
    padding: var(--section-padding);
  }

  .statement__heading {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;
  }

  .statement__body {
    gap: 1.75rem;
  }

  .statement__text {
    font-size: 0.9375rem;
    line-height: 2;
    text-align: left;
  }

  .statement__text--highlight {
    font-size: 0.9375rem;
    margin-top: 0.5rem;
    text-align: left; /* Changed from center to left-aligned as requested */
  }

  .statement__text--conclusion {
    font-size: 0.9375rem;
    text-align: left; /* Changed from center to left-aligned as requested */
  }

  .pc-br {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .hero__heading {
    font-size: 1.5rem;
    line-height: 1.4;
  }

  .hero__sub {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .hero__desc {
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .container {
    padding: 0 1rem;
  }

  .business__desc {
    text-align: left;
  }

  .business__desc br {
    display: none;
  }

  .custom-order__intro {
    text-align: left;
  }

  .custom-order__intro br {
    display: none;
  }

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

  .product-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 1rem 0;
  }

  .flow__arrow {
    transform: rotate(90deg);
    height: auto;
    justify-content: center;
  }

  .company-table th {
    width: 7rem;
    font-size: 0.8125rem;
  }

  .company-table td {
    font-size: 0.8125rem;
  }

  .back-to-top {
    bottom: 5rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .mobile-cta {
    display: flex;
  }
}

/* ============================================
   LEGAL (Privacy Policy)
   ============================================ */
.legal {
  max-width: 48rem;
  margin: 0 auto;
}

.legal__lead {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-text-light);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--color-border);
}

.legal__section {
  margin-top: 2.75rem;
}

.legal__heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  padding-left: 0.75rem;
  border-left: 3px solid var(--color-accent);
  margin-bottom: 1rem;
}

.legal__subheading {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-sub);
  margin: 1.75rem 0 0.75rem;
}

.legal__text {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

.legal__text + .legal__text {
  margin-top: 1rem;
}

.legal__list {
  list-style: none;
  margin: 1rem 0;
}

.legal__list li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-text-light);
  word-break: break-word;
}

.legal__list li + li {
  margin-top: 0.5rem;
}

.legal__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: var(--color-accent);
}

.legal__note {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-top: 1rem;
}

.legal__link {
  color: var(--color-sub);
  text-decoration: underline;
  word-break: break-all;
  transition: color 0.2s;
}

.legal__link:hover {
  color: var(--color-accent);
}

.legal__table {
  margin: 1.5rem 0 0;
}

.legal__contact {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--color-bg-gray);
  border-left: 3px solid var(--color-accent);
  font-size: 1rem;
  word-break: break-all;
}

.legal__contact-label {
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.legal__date {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--color-text-muted);
  text-align: right;
}

@media (max-width: 768px) {
  .legal__heading {
    font-size: 1.0625rem;
  }

  .legal__section {
    margin-top: 2.25rem;
  }
}

/* --- Print --- */
@media print {
  .header,
  .back-to-top,
  .hamburger,
  .mobile-nav {
    display: none;
  }

  .hero {
    margin-top: 0;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--color-border);
}

.breadcrumb__item a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb__item a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.breadcrumb__item[aria-current="page"] {
  color: var(--color-text);
  font-weight: 500;
}

/* ============================================
   404 PAGE
   ============================================ */
.notfound {
  margin-top: var(--header-height);
  padding: 5rem 0 6rem;
  text-align: center;
}

.notfound__code {
  font-family: var(--font-en);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent-light);
  letter-spacing: 0.05em;
}

.notfound__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-sub);
  margin-top: 1rem;
}

.notfound__text {
  margin-top: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.notfound__nav {
  max-width: 640px;
  margin: 4rem auto 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.notfound__nav-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

.notfound__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.75rem;
  list-style: none;
  margin-top: 1.25rem;
}

.notfound__nav-list a {
  color: var(--color-sub);
  font-size: 0.9375rem;
  text-decoration: none;
}

.notfound__nav-list a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.notfound__tel {
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  background: var(--color-bg-gray);
  border-radius: 6px;
}

.notfound__tel-lead {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.notfound__tel-number {
  margin-top: 0.5rem;
}

.notfound__tel-number a {
  font-family: var(--font-en);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-sub);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.notfound__tel-hours {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .notfound {
    padding: 3.5rem 0 4rem;
  }

  .notfound__code {
    font-size: 3.5rem;
  }

  .notfound__title {
    font-size: 1.375rem;
  }
}

/* ============================================
   CONTACT FORM ADDITIONS (v-production)
   ============================================ */
/* ハニーポット：画面外へ（display:noneはbotに検知されやすい） */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-banner {
  background: #FDECEA;
  border: 1px solid #E5B4AE;
  border-left: 4px solid #C0392B;
  color: #8B2C21;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-notice {
  margin: 1.75rem 0 1.25rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg-gray);
  border-radius: 4px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.form-recaptcha-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.form-recaptcha-note a {
  color: var(--color-text-muted);
  text-decoration: underline;
}

/* ============================================
   THANKS PAGE
   ============================================ */
.thanks {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.thanks__icon {
  color: var(--color-accent);
  display: flex;
  justify-content: center;
}

.thanks__title {
  margin-top: 1.25rem;
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-sub);
}

.thanks__text {
  margin-top: 1.5rem;
  line-height: 2;
  color: var(--color-text-light);
}

.thanks__notes {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-gray);
  border-radius: 6px;
  text-align: left;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

.thanks__notes a {
  color: var(--color-sub);
  font-weight: 600;
}

.thanks__hours {
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--color-sub);
  font-size: 0.9375rem;
}

.thanks__actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .thanks__title {
    font-size: 1.375rem;
  }
}

/* reCAPTCHA バッジ非表示（規約文をフォーム内に明記して代替） */
.grecaptcha-badge {
  visibility: hidden;
}

/* ============================================
   TAP TARGET（スマートフォンでの押しやすさ）
   細い文字リンクは指で押しづらいため、
   スマートフォン表示時のみ上下に余白を足して
   タップ領域を確保する（見た目の文字サイズは変えない）
   ============================================ */
@media (max-width: 768px) {
  .footer__nav-list {
    gap: 0;
  }

  .footer__nav-link {
    display: block;
    padding: 0.6rem 0;
  }

  .footer__tel-link,
  .contact-lead__tel-link,
  .thanks__notes a,
  .legal__contact a {
    display: inline-block;
    padding: 0.55rem 0;
  }

  .product-card__link {
    padding: 0.4rem 0;
  }

  .breadcrumb__item a {
    display: inline-block;
    padding: 0.25rem 0;
  }

  /* 会社概要・アクセス欄の電話番号（現場からの発信導線） */
  .company-table a[href^="tel:"],
  .access__info-item a[href^="tel:"] {
    display: inline-block;
    padding: 0.55rem 0;
  }
}

/* ============================================
   iOS での自動ズーム防止
   iOS Safari は文字サイズ16px未満の入力欄をタップすると
   画面を自動的に拡大してしまう。お客様が入力のたびに
   拡大・縮小を強いられるため、16pxを下回らないようにする。
   ============================================ */
@media (max-width: 768px) {
  .form-input,
  .form-textarea,
  .form-select,
  select.form-input {
    font-size: 16px;
  }
}

/* ============================================
   同意チェックボックスの操作性（スマートフォン）
   送信の必須条件となる操作のため、指で確実に
   押せる大きさとタップ領域を確保する
   ============================================ */
@media (max-width: 768px) {
  .form-checkbox-label {
    padding: 0.5rem 0;
    align-items: flex-start;
  }

  .form-checkbox {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
  }

  .form-checkbox-text {
    text-align: left;
  }

  .privacy-link {
    display: inline-block;
    padding: 0.25rem 0;
  }
}

/* ============================================
   送信ボタン
   同意チェックボックスと同じく中央に配置して、
   フォーム下部の要素の並びを揃える。
   幅は内容に応じつつ、指で押しやすい最小幅を確保する。
   ============================================ */
#contact-form .btn--large {
  display: flex;
  justify-content: center;
  min-width: 220px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 480px) {
  #contact-form .btn--large {
    min-width: 240px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ============================================
   フォーム下部の余白と操作性（全画面幅共通）
   入力欄 → 同意 → 注意書き → 送信ボタン という
   流れが自然に読めるよう、余白の大きさに意味を持たせる
   ============================================ */

/* 同意チェックボックス：注意書きを読んだ直後に置く */
.form-group--privacy {
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  padding: 0;
}

/* チェックボックス本体を大きくし、確実に押せるようにする */
.form-checkbox {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

/* ラベル全体をタップ領域にする（文字部分を押しても切り替わる） */
.form-checkbox-label {
  padding: 0.75rem 0.5rem;
  gap: 0.75rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.form-checkbox-label:hover {
  background-color: var(--color-bg-gray);
}

/* 注意書き：同意にチェックを入れる前に読んでいただくため、同意欄の直前に置く */
.form-notice {
  margin-top: 2.5rem;
  margin-bottom: 0;
}

/* reCAPTCHAの規約文
   Googleが表記を義務付けている補足情報。実際にreCAPTCHAが
   動作するのは送信ボタンを押した瞬間のため、ボタンの直下に置き、
   同じく中央に揃える。PCでは1行に収まる幅を確保する */
.form-recaptcha-note {
  margin-top: 1rem;
  text-align: center;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 480px) {
  .form-notice {
    margin-top: 2rem;
  }

  .form-group--privacy {
    margin-bottom: 1.75rem;
  }
}

/* スマートフォンには軽量版のメインビジュアルを配信（見た目は同一） */
@media (max-width: 768px) {
  .hero {
    background-image: url('/images/hero-mobile.webp');
  }
}

/* ============================================
   複数エラー時の一覧バナー
   ============================================ */
.form-banner__head {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-banner__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 0.25rem;
}

.form-banner__list a {
  color: #8B2C21;
  text-decoration: underline;
  font-size: 0.875rem;
}

.form-banner__list li::before {
  content: "・";
}
