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

:root {
  --orange:        #d4723a;
  --orange-pale:   #fdf0e8;
  --teal:          #5abdc8;
  --teal-pale:     #eaf6f8;
  --teal-deep:     #163338;
  --charcoal:      #1e1e1e;
  --charcoal-mid:  #606060;
  --charcoal-light:#aaaaaa;
  --white:         #ffffff;
  --off-white:     #fafafa;
  --border:        #e8e8e6;
  --radius:        16px;
  --shadow:        0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.10);
  --transition:    0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.9;
}

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

/* ===== ナビ ===== */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

#header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0 auto;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal-mid);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--charcoal); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-social a {
  color: var(--charcoal-mid);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.nav-social a:hover { color: var(--charcoal); }

.nav-divider {
  display: block;
  width: 1px;
  height: 18px;
  background: var(--border);
  margin: 0 0.25rem;
}

.btn-nav {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  line-height: 1.4;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--orange);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-link {
  padding: 0.75rem 0;
  color: var(--charcoal-mid);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover { color: var(--charcoal); }

/* ===== ボタン（汎用） ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--orange);
  color: var(--white);
  border: 2px solid var(--orange);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}

.btn:hover {
  background: #b85e2a;
  border-color: #b85e2a;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

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

.btn-full { width: 100%; }

/* ===== ヒーロー ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, #eef8fa 0%, #fafaf8 55%, #fdf2eb 100%);
  padding-top: 68px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

.hero-text {
  flex: 1 1 55%;
}

.hero-label {
  font-size: 0.95rem;
  color: var(--teal);
  letter-spacing: 0.45em;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero-heading {
  font-family: 'Klee One', cursive;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-btns .btn {
  min-width: 300px;
  text-align: center;
}

/* ヒーロービジュアル */
.hero-visual {
  flex: 1 1 45%;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-img {
  width: clamp(180px, 26vw, 280px);
  height: auto;
  position: relative;
  z-index: 1;
  animation: heroFadeUp 0.9s ease both 0.3s;
}

.deco-box {
  position: absolute;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--teal);
  opacity: 0.3;
}

.deco1 { width: 380px; height: 380px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: float1 8s ease-in-out infinite; }
.deco2 { width: 260px; height: 260px; top: 10%;  left: 55%; animation: float2 10s ease-in-out infinite 1s; }
.deco3 { width: 160px; height: 160px; bottom: 10%; left: 20%; animation: float1 9s ease-in-out infinite 2s; }

.deco-cross {
  position: absolute;
  bottom: 12%;
  right: 8%;
  font-size: 5rem;
  font-weight: 100;
  color: var(--orange);
  opacity: 0.2;
  line-height: 1;
  user-select: none;
  animation: float3 9s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translate(-50%,-50%) scale(1); }
  50%       { transform: translate(-50%,-50%) scale(1.05) translateY(-16px); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(18px); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-14px) rotate(10deg); }
}

/* ===== ミッション（MVV内で使用） ===== */
.mission-en {
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--charcoal-light);
  margin-bottom: 1rem;
}

.mission-heading {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 3rem;
}

.mission-body p {
  font-size: 1.02rem;
  color: var(--charcoal-mid);
  line-height: 2.1;
  margin-bottom: 1.25rem;
}

.mission-body p:last-child { margin-bottom: 0; }

@media (min-width: 769px) {
  .mission-body { text-align: center; }
}

/* ===== 存在意義 ===== */
.section-freedom {
  background: var(--off-white);
}

.freedom-pain {
  margin: 2.5rem 0 3.5rem;
}

.freedom-pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2rem;
  list-style: none;
}

.freedom-pain-grid li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.92rem;
  color: var(--charcoal-mid);
  line-height: 1.8;
}

.freedom-pain-grid li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--charcoal-light);
  font-weight: 700;
}

.freedom-pain-note {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1.8;
  margin-top: 2.5rem;
}

.freedom-define {
  background: var(--teal-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.freedom-define-label {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.freedom-define-main {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.freedom-define-sub {
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  line-height: 1.9;
}

.freedom-tagline {
  text-align: center;
  font-family: 'Klee One', cursive;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--charcoal);
  margin: 3rem 0;
}

@media (max-width: 768px) {
  .freedom-pain-grid { grid-template-columns: 1fr; }
  .freedom-define { padding: 2.5rem 1.5rem; }
}

/* スマホ幅の時だけ改行したい箇所に使う汎用クラス */
.mobile-break { display: none; }

@media (max-width: 480px) {
  .mobile-break { display: inline; }
}

/* ===== 強み帯 ===== */
.strengths {
  background: var(--charcoal);
  padding: 2.5rem 0;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.strength-item {
  background: var(--charcoal);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.strength-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.strength-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* ===== セクション共通 ===== */
.section { padding: 110px 0; }
.section-light   { background: var(--off-white); }
.section-contact { background: var(--orange-pale); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--teal);
  text-align: center;
  margin-bottom: 3.5rem;
  letter-spacing: 0.06em;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  margin: 0.5rem auto 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.6s ease 0.3s;
}

.section-title.in-view::after { transform: scaleX(1); }

/* ===== サービスフィーチャー ===== */
.service-feature {
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.service-feature:last-child { border-bottom: none; }

.service-feature-rev { flex-direction: row-reverse; }

.service-feature-text {
  flex: 1;
}

.service-feature-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}

.service-feature-text p {
  font-size: 0.97rem;
  color: var(--charcoal-mid);
  line-height: 2;
  margin-bottom: 0.75rem;
}

.service-feature-text p:last-child { margin-bottom: 0; }

.service-feature-visual {
  flex: 0 0 360px;
  width: 360px;
  aspect-ratio: 3 / 2;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.service-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-photo { object-position: center 25%; }

.sf-teal   { background: var(--teal-pale); }
.sf-orange { background: var(--orange-pale); }

.sf-icon { width: 150px; height: 150px; }

/* ===== お客様の声 ===== */
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.voice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.voice-card img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

body.lightbox-open {
  overflow: hidden;
}

.voice-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  cursor: zoom-out;
}

.voice-lightbox.open { display: flex; }

.voice-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.voice-lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.voices-more {
  text-align: center;
  margin-top: 3rem;
}

.voices-more .btn-outline {
  color: var(--orange);
  border-color: var(--orange);
  min-width: 300px;
  text-align: center;
}

.voices-more .btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* もっと見るページの一覧は、JSで縦横比から予測した高さをもとに一番低い列へ順番に積む
   本物のマソンリー（.masonry-col）に組み替える。columnsプロパティ（段組み）は
   極端に縦長の要素が混ざるとブラウザ側の不具合で列の開始位置がズレることがあるため使わない。 */
.voices-grid-full {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.masonry-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 900px) {
  .voices-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .voices-grid-full { gap: 1rem; }
  .voices-grid-full .masonry-col { gap: 1rem; }
}

/* ===== ギャラリー ===== */
.gallery-grid:not(.gallery-grid-full) {
  columns: 3 300px;
  column-gap: 2rem;
}

/* もっと見るページの一覧は、voicesと同じJS駆動の本物のマソンリー */
.gallery-grid-full {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.gallery-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid:not(.gallery-grid-full) .gallery-card {
  break-inside: avoid;
  margin-bottom: 2rem;
}

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

.gallery-card img,
.gallery-card video {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
}

.gallery-card video { cursor: default; }

.gallery-card video {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-card video.is-ready {
  opacity: 1;
}

/* トップページのギャラリーは、動画2本＋写真2枚（4個）をデスクトップの3列マソンリーで表示。
   スマホでは残り2枚（合計6個）も表示し、縦横比が揃うペア（動画×2／グループ写真×2／2ショット写真×2）を
   そのまま2列グリッドの行として並べることで隙間を防ぐ。 */
/* デスクトップ: 動画2本＋グループ写真1枚＋2ショット写真1枚（比率の近い組み合わせ）の4個だけ表示 */
.gallery-grid:not(.gallery-grid-full) .gallery-card:nth-child(4),
.gallery-grid:not(.gallery-grid-full) .gallery-card:nth-child(6) { display: none; }

@media (max-width: 900px) {
  .gallery-grid-full { gap: 1rem; }
  .gallery-grid-full .masonry-col { gap: 1rem; }

  /* スマホ: 6個すべて表示。縦横比が揃うペア（動画×2／グループ写真×2／2ショット写真×2）を
     そのまま2列グリッドの行にすることで隙間を防ぐ */
  .gallery-grid:not(.gallery-grid-full) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    columns: initial;
  }
  .gallery-grid:not(.gallery-grid-full) .gallery-card {
    margin-bottom: 0;
    break-inside: auto;
  }
  .gallery-grid:not(.gallery-grid-full) .gallery-card:nth-child(4),
  .gallery-grid:not(.gallery-grid-full) .gallery-card:nth-child(6) { display: block; }
}

/* ===== メンバー紹介 ===== */
.member-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.member-more-link {
  margin-top: 0.5rem;
  min-width: 300px;
  text-align: center;
}

.member-more-link.btn-outline {
  color: var(--orange);
  border-color: var(--orange);
}

.member-more-link.btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.member-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 900px;
}

.member-photo {
  flex: 0 0 320px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.member-photo img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  color: var(--charcoal);
}

.member-role {
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
}

.member-msg {
  font-size: 0.92rem;
  color: var(--gray-dark, #555);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .member-card {
    flex-direction: column;
    gap: 1.5rem;
  }

  .member-photo {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
  }
}

/* ===== ご利用の流れ ===== */
.flow-list {
  display: flex;
  flex-direction: column;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.flow-list::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 0;
}

.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 1.75rem 0;
  position: relative;
  z-index: 1;
}

.flow-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
  padding-top: 0.6rem;
}

.flow-body p {
  font-size: 0.93rem;
  color: var(--charcoal-mid);
}

/* ===== 会社概要 ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text h3 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--charcoal-mid);
  margin-bottom: 1rem;
  font-size: 0.97rem;
  line-height: 1.95;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform var(--transition), opacity var(--transition);
}

.social-btn:hover { transform: translateY(-2px); opacity: 0.85; }

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
}

.social-btn.twitter {
  background: var(--charcoal);
  color: var(--white);
}

.company-info-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.company-info-box table {
  width: 100%;
  border-collapse: collapse;
}

.company-info-box th,
.company-info-box td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.company-info-box th {
  width: 120px;
  color: var(--teal);
  font-weight: 600;
  background: var(--teal-pale);
}

.company-info-box td { color: var(--charcoal-mid); }

.company-info-box tr:last-child th,
.company-info-box tr:last-child td { border-bottom: none; }

/* ===== お問い合わせ ===== */
.contact-desc {
  text-align: center;
  color: var(--charcoal-mid);
  margin-bottom: 2.5rem;
  font-size: 0.97rem;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.required { color: #e05555; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(212,114,58,0.12);
}

.form-group textarea { resize: vertical; }

/* ===== フッター ===== */
.footer {
  background: var(--teal-deep);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}

/* ===== ヒーロー入場アニメーション ===== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label   { animation: heroFadeUp 0.7s ease both 0.2s; }
.hero-heading { animation: heroFadeUp 0.8s ease both 0.4s; }
.hero-btns    { animation: heroFadeUp 0.7s ease both 0.8s; }

/* ===== スクロール表示 ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 規約系ページ（特商法・プライバシーポリシー・利用規約） ===== */
.legal-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #eef8fa 0%, #fafaf8 55%, #fdf2eb 100%);
  text-align: center;
}

.legal-hero .container { width: 100%; }

.legal-hero + .section { padding-top: 50px; }

@media (max-width: 768px) {
  .legal-hero { min-height: 220px; }
  .legal-hero + .section { padding-top: 36px; }
}

.legal-hero h1 {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.3;
  color: var(--charcoal);
}

.legal-body {
  padding: 80px 0 110px;
}

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

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
  margin: 2.5rem 0 1rem;
}

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

.legal-content p {
  font-size: 0.95rem;
  color: var(--charcoal-mid);
  line-height: 2;
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1rem 1.4rem;
  color: var(--charcoal-mid);
  font-size: 0.95rem;
  line-height: 2;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

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

.legal-table th {
  width: 180px;
  color: var(--teal);
  font-weight: 600;
  background: var(--teal-pale);
}

.legal-table td { color: var(--charcoal-mid); }

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

.legal-note {
  font-size: 0.82rem;
  color: var(--charcoal-light);
  margin-top: 2.5rem;
}

.profile-content .legal-note {
  text-align: center;
  margin-top: 3rem;
}

.profile-content .legal-note .btn-outline {
  color: var(--orange);
  border-color: var(--orange);
}

.profile-content .legal-note .btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.voices-note {
  text-align: center;
  margin-top: 3rem;
}

.voices-note .btn-outline {
  color: var(--orange);
  border-color: var(--orange);
  min-width: 300px;
  text-align: center;
}

.voices-note .btn-outline:hover {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.profile-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.profile-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.profile-role {
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 0.04em;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--orange); }

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
  }

  .hero-btns { justify-content: center; }

  .hero-visual { min-height: 260px; }

  .service-feature,
  .service-feature-rev {
    flex-direction: column;
    gap: 2rem;
  }

  .service-feature-visual {
    flex: none;
    width: 100%;
    aspect-ratio: 3 / 2;
    height: auto;
    border-radius: 16px;
  }

  .sf-icon { width: 110px; height: 110px; }

  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-right  { display: none; }
  .hamburger  { display: flex; }

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

  .section { padding: 80px 0; }

  .flow-list::before { left: 27px; }
}

@media (max-width: 480px) {
  .nav, .container { padding: 0 1.25rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .strengths-grid { grid-template-columns: 1fr 1fr; }
}
