/* ============================================================
   RIVIA&CO. Corporate Site — style.css

   カラーパレット:
     アクセント（深いグリーン）: #1B4332
     ミッドグリーン:             #2D6A4F
     ライトグリーン（hover）:    #40916c
     チャコール（本文）:         #1F2937
     グレー（補助テキスト）:     #6B7280
     ライトグレー（背景）:       #F3F4F6
     ボーダー:                   #E5E7EB
     白:                         #FFFFFF
============================================================ */

/* ============================================================
   CSS変数 / デザイントークン
============================================================ */
:root {
  /* カラー */
  --c-green:        #1B4332;
  --c-green-mid:    #2D6A4F;
  --c-green-hover:  #40916c;
  --c-green-pale:   rgba(27, 67, 50, 0.07);
  --c-charcoal:     #1F2937;
  --c-gray:         #6B7280;
  --c-gray-light:   #F3F4F6;
  --c-border:       #E5E7EB;
  --c-white:        #ffffff;

  /* タイポグラフィ */
  --font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* レイアウト */
  --max-w:      1120px;
  --px:         clamp(20px, 5vw, 48px);
  --section-py: clamp(64px, 8vw, 100px);

  /* 角丸 */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 16px;

  /* シャドウ */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* トランジション */
  --t: 0.2s ease;
}

/* ============================================================
   リセット / ベース
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  /* ヘッダー分のオフセットを確保 */
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font);
  color: var(--c-charcoal);
  background: var(--c-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t), opacity var(--t);
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ============================================================
   ユーティリティ
============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

.section {
  padding: var(--section-py) 0;
}

.section--gray {
  background: var(--c-gray-light);
}

/* モバイルのみ改行 */
.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only { display: inline; }
}

/* ============================================================
   セクション共通ヘッダー
============================================================ */
.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-green);
  margin-bottom: 14px;
}

/* 左のグリーンの丸ドット */
.section-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  flex-shrink: 0;
}

.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--c-gray);
  line-height: 1.8;
}

/* ============================================================
   ボタン
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 500;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
  white-space: nowrap;
  line-height: 1;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* 深いグリーンボタン */
.btn--green {
  background: var(--c-green);
  color: white;
  border-color: var(--c-green);
}
.btn--green:hover {
  background: var(--c-green-mid);
  border-color: var(--c-green-mid);
}

/* アウトライン（ヒーロー用） */
.btn--ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: white;
}

.btn--sm  { padding: 8px 20px;  font-size: 0.875rem; }
.btn--lg  { padding: 15px 34px; font-size: 1rem;     }
.btn--full { width: 100%; }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t);
}

.header.is-scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 24px;
}

/* テキストロゴ */
.header__logo {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-charcoal);
  flex-shrink: 0;
}

.header__logo span {
  color: var(--c-green);
}

/* PCナビ */
.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header__nav ul {
  display: flex;
  gap: 36px;
}

.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-charcoal);
  opacity: 0.75;
  position: relative;
  padding-bottom: 2px;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-green);
  transition: width var(--t);
}

.header__nav a:hover {
  opacity: 1;
}

.header__nav a:hover::after {
  width: 100%;
}

/* 右側グループ */
.header__right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__tel {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-charcoal);
}

.header__tel:hover {
  color: var(--c-green);
}

/* ハンバーガーボタン */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--r-sm);
}

.header__hamburger:hover {
  background: var(--c-gray-light);
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================================
   HEADER モバイル
============================================================ */
@media (max-width: 900px) {
  .header__nav {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--c-border);
    padding: 16px var(--px) 24px;
    box-shadow: var(--shadow-md);
    justify-content: flex-start;
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .header__nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-border);
    font-size: 1rem;
    opacity: 1;
  }

  .header__nav a::after {
    display: none;
  }

  .header__tel {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  /* 極小画面ではCTAボタンも非表示にしてスペース確保 */
  .header__right .btn {
    display: none;
  }
}

/* ハンバーガー → ×アニメーション */
.header__hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header__hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 背景画像 */
.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

/* オーバーレイ（明るい室内写真のため濃いめに） */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 22, 18, 0.82) 0%,
    rgba(25, 38, 30, 0.72) 55%,
    rgba(10, 18, 14, 0.88) 100%
  );
}

/* コンテンツ */
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding-top: 68px; /* ヘッダーの高さ分オフセット */
  max-width: 800px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

.hero__heading {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}

.hero__em {
  font-style: normal;
  /* 薄いグリーンで差し色 */
  color: #95d5b2;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.9;
  opacity: 0.88;
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* スクロールインジケーター */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: scroll-bounce 2.4s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);  opacity: 0.5; }
  50%       { transform: translateX(-50%) translateY(8px); opacity: 0.9; }
}

/* ============================================================
   PROBLEMS セクション
============================================================ */
.problems__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card {
  background: white;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 28px 22px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 67, 50, 0.2);
}

.problem-card__icon {
  width: 52px;
  height: 52px;
  background: var(--c-green-pale);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--c-green);
}

.problem-card__title {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.problem-card__text {
  font-size: 0.85rem;
  color: var(--c-gray);
  line-height: 1.75;
}

@media (max-width: 960px) {
  .problems__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .problems__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES セクション
============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.service-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__img {
  height: 200px;
  overflow: hidden;
  background: var(--c-gray-light);
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__img img {
  transform: scale(1.06);
}

/* SNSカード: Instagramアイコン用 */
.service-card__img--sns {
  background: linear-gradient(135deg, #f9c74f 0%, #f3722c 30%, #c9184a 60%, #7209b7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__img--sns img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  transform: none !important; /* hoverズームを無効化 */
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.service-card__body {
  padding: 28px 24px;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  background: var(--c-green-pale);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--c-green);
}

.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 0.875rem;
  color: var(--c-gray);
  line-height: 1.8;
}

.services__cta {
  text-align: center;
}

@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ============================================================
   WHY セクション
============================================================ */
.why__grid {
  max-width: 780px;
  margin: 0 auto;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--c-border);
  transition: background var(--t);
}

.why-item:first-child {
  border-top: 1px solid var(--c-border);
}

.why-item__number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-green);
  opacity: 0.35;
  flex-shrink: 0;
  line-height: 1;
  width: 44px;
  text-align: left;
  letter-spacing: 0.02em;
  transition: opacity var(--t);
  padding-top: 4px;
}

.why-item:hover .why-item__number {
  opacity: 0.55;
}

.why-item__body {
  flex: 1;
  padding-top: 4px;
}

.why-item__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.why-item__text {
  font-size: 0.9rem;
  color: var(--c-gray);
  line-height: 1.85;
}

@media (max-width: 600px) {
  .why-item {
    flex-direction: column;
    gap: 10px;
    padding: 32px 0;
  }
  .why-item__number {
    font-size: 1.8rem;
    width: auto;
    text-align: left;
    opacity: 0.3;
  }
}

/* ============================================================
   COMPANY セクション
============================================================ */
.company__inner {
  max-width: 720px;
  margin: 0 auto;
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}

.company__table {
  width: 100%;
  border-collapse: collapse;
}

.company__table th,
.company__table td {
  padding: 18px 28px;
  text-align: left;
  border-bottom: 1px solid var(--c-border);
  font-size: 0.9375rem;
  line-height: 1.7;
  vertical-align: top;
}

.company__table tr:last-child th,
.company__table tr:last-child td {
  border-bottom: none;
}

.company__table th {
  font-weight: 600;
  color: var(--c-gray);
  width: 140px;
  white-space: nowrap;
  background: var(--c-gray-light);
}

.company__table td {
  background: white;
}

@media (max-width: 580px) {
  .company__table th,
  .company__table td {
    display: block;
    width: 100%;
    padding: 10px 20px;
  }
  .company__table th {
    padding-top: 16px;
    padding-bottom: 4px;
    border-bottom: none;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .company__table td {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--c-border);
  }
  .company__table tr:last-child td {
    border-bottom: none;
  }
}

/* ============================================================
   CONTACT セクション
============================================================ */
.contact__inner {
  max-width: 680px;
  margin: 0 auto;
}

/* 電話・メール連絡先（フォーム下に横並び） */
.contact__sub-info {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
}

.contact__sub-info-item {
  flex: 1;
  min-width: 180px;
}

.contact__sub-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--c-gray);
  margin-bottom: 8px;
}

.contact__sub-info-tel {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-green);
  margin-bottom: 4px;
}

.contact__sub-info-tel:hover {
  opacity: 0.75;
}

.contact__sub-info-note {
  font-size: 0.78rem;
  color: var(--c-gray);
}

.contact__sub-info-email {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-green);
  word-break: break-all;
}

.contact__sub-info-email:hover {
  text-decoration: underline;
}

/* --- フォーム --- */
.contact__form-wrap {
  min-width: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  width: 100%;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-charcoal);
}

.required {
  color: #dc2626;
  margin-left: 2px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--c-charcoal);
  background: var(--c-white);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-green-mid);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.14);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9CA3AF;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

/* 送信結果メッセージ */
.form-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 20px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  line-height: 1.6;
}

.form-message[hidden] {
  display: none !important;
}

.form-message--success {
  background: rgba(27, 67, 50, 0.07);
  border: 1px solid rgba(27, 67, 50, 0.25);
  color: var(--c-green);
}

.form-message--error {
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.2);
  color: #b91c1c;
}

.form-message svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* 旧 contact__info スタイル（削除済み・contact__sub-info に移行） */

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact__sub-info {
    flex-direction: column;
    gap: 20px;
  }
}

/* ============================================================
   CASES セクション（実績紹介 / NODE Shimoda）
============================================================ */
.cases__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
}

.cases__img {
  position: relative;
  height: 100%;
  min-height: 340px;
  overflow: hidden;
  background: var(--c-gray-light);
}

.cases__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.cases__inner:hover .cases__img img {
  transform: scale(1.04);
}

.cases__body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cases__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--c-green-pale);
  color: var(--c-green);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  width: fit-content;
}

.cases__title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  line-height: 1.3;
}

.cases__location {
  font-size: 0.85rem;
  color: var(--c-gray);
  margin-bottom: 16px;
}

.cases__theme {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-green);
  margin-bottom: 16px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.cases__desc {
  font-size: 0.9rem;
  color: var(--c-gray);
  line-height: 1.85;
  margin-bottom: 28px;
}

.cases__stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cases__stat {
  text-align: center;
  padding: 14px 18px;
  background: var(--c-gray-light);
  border-radius: var(--r-sm);
  min-width: 90px;
}

.cases__stat-value {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-green);
  line-height: 1.2;
  margin-bottom: 4px;
}

.cases__stat-label {
  display: block;
  font-size: 0.72rem;
  color: var(--c-gray);
  line-height: 1.4;
}

@media (max-width: 860px) {
  .cases__inner {
    grid-template-columns: 1fr;
  }

  .cases__img {
    height: 260px;
    min-height: 0;
  }

  .cases__body {
    padding: 32px 28px;
  }
}

@media (max-width: 480px) {
  .cases__body {
    padding: 24px 20px;
  }

  .cases__stats {
    gap: 12px;
  }

  .cases__stat {
    padding: 10px 14px;
  }
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.65);
  padding: 60px 0 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__left {
  max-width: 300px;
}

.footer__logo {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: white;
  margin-bottom: 16px;
}

.footer__logo span {
  color: #74c69d;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.footer__future-note {
  font-size: 0.78rem;
  opacity: 0.45;
  font-style: italic;
}

/* フッターナビ */
.footer__navs {
  display: flex;
  gap: 52px;
}

.footer__nav-heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 18px;
}

.footer__nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__nav-group a {
  font-size: 0.875rem;
  transition: color var(--t);
}

.footer__nav-group a:hover {
  color: white;
}

/* フッターボトム */
.footer__bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__address,
.footer__copy {
  font-size: 0.78rem;
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer__left {
    max-width: 100%;
  }

  .footer__navs {
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column-reverse;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 400px) {
  .footer__navs {
    flex-direction: column;
    gap: 24px;
  }
}

/* ============================================================
   スクロールアニメーション
============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

/* カード類は少しずつ遅延して表示 */
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* アクセシビリティ: モーション削減設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__scroll {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
