/* 
  デザインシステムとベーススタイル
  テーマカラー: #eaaa42 (温かみのあるイエロー・オレンジ系) 
*/

:root {
  /* Colors */
  --color-primary: #eaaa42;
  --color-primary-light: #fdf5e6;
  --color-primary-dark: #d8962c;
  --color-secondary: #f0f8ff;
  /* 優しい水色系など必要に応じて */
  --color-text-main: #4a4a4a;
  --color-text-muted: #7a7a7a;
  --color-bg-body: #fffbf5;
  /* 心理的ハードルを下げる温かい背景色 */
  --color-white: #ffffff;

  /* Typography */
  --font-family-base: 'Noto Sans JP', sans-serif;
  --font-family-heading: 'Zen Maru Gothic', serif;
  /* 丸みのあるフォント */

  /* Spacing */
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 64px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-rounded: 50px;
}

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

html {
  scroll-behavior: smooth;
  /* スムーズスクロール */
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  line-height: 1.8;
  font-size: 16px;
  /* 日本語の自然な改行をサポート */
  word-break: auto-phrase;
  overflow-wrap: break-word;
}

/* レスポンシブ改行用ユーティリティクラス */
.br-pc {
  display: block;
}

.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: block;
  }
}

/* Typography styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  margin-top: 0;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

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

/* --------------
   Components
   -------------- */

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo {
  height: 50px;
  /* あとでロゴ画像に合わせて調整 */
}

.header-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-md);
}

.header-nav a {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

.header-nav a:hover {
  color: var(--color-primary);
}

/* Main Content Area */
main {
  padding-top: 80px;
  /* ヘッダーの高さ分を開ける */
  padding-bottom: 150px;
  /* 追従ボタンが被らないように */
}

/* Footer */
.footer {
  background-color: #fcecd2;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer-inner p {
  margin: 4px 0;
}

/* Floating CTA (追従ボタン) */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.08);
  padding: var(--space-md);
  z-index: 999;
  text-align: center;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.cta-message {
  margin: 0 0 var(--space-sm) 0;
  font-size: 0.85rem;
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.4;
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-rounded);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  flex: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  opacity: 1;
  /* override default a:hover opacity */
}

.btn-phone {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
}

.btn-contact {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn .icon {
  margin-right: 8px;
  font-size: 1.2rem;
}

/* --------------
   Hamburger Menu
   -------------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* SP ナビゲーションオーバーレイ */
.sp-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(255, 251, 245, 0.98);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sp-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sp-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.sp-nav li {
  margin-bottom: 28px;
}

.sp-nav a {
  font-family: var(--font-family-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-main);
  transition: color 0.2s ease;
}

.sp-nav a:hover {
  color: var(--color-primary);
  opacity: 1;
}

.sp-nav-specialist a {
  color: var(--color-primary-dark);
  font-size: 1.1rem;
  border: 2px solid var(--color-primary);
  padding: 10px 24px;
  border-radius: var(--radius-rounded);
}

/* Media Queries (スマホ向け調整) */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .cta-buttons {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  .cta-message {
    font-size: 0.8rem;
  }

  .hero-catchcopy {
    font-size: 1.8rem;
  }

  .hero-subcopy {
    font-size: 1rem;
  }

  /* ヒーロー内のSNSエリアをスマホで縦積み */
  .sns-links {
    flex-direction: column;
    align-items: center;
  }

  .sns-btn {
    width: 200px;
    justify-content: center;
  }
}

/* --------------
   Hero Section
   -------------- */
.hero {
  width: 100%;
  margin-top: -80px;
  padding-top: 80px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* 画像エリア：常に厳密に16:9 */
.hero-slider {
  position: relative;
  width: 100%;
  height: 56.25vw;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

/* テキストが下に移ったのでオーバーレイ不要 */
.hero-overlay {
  display: none;
}

/* テキストエリア：画像の下 */
.hero-inner {
  background-color: var(--color-bg-body);
  padding: var(--space-xl) var(--space-md);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  width: 100%;
  animation: fadeUp 0.8s ease-out forwards;
}

.hero-catchcopy {
  font-size: 2.6rem;
  line-height: 1.45;
  margin-bottom: var(--space-md);
  color: var(--color-text-main);
  text-shadow: none;
}

.hero-catchcopy .highlight {
  display: inline-block;
  background: linear-gradient(transparent 70%, var(--color-primary) 70%);
  padding-bottom: 4px;
}

.hero-subcopy {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: var(--space-lg);
  color: var(--color-text-main);
  text-shadow: none;
}

.hero-specialist-banner {
  margin-bottom: var(--space-lg);
  display: flex;
  justify-content: center;
}

.banner-link {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.92);
  border: 2px solid var(--color-primary);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.banner-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-color: var(--color-primary);
  opacity: 1;
}

.banner-icon {
  font-size: 1.5rem;
  margin-right: 12px;
}

.banner-text {
  font-weight: 700;
  font-size: 1.1rem;
}

.banner-text small {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-top: 4px;
}

.hero-sns {
  background-color: var(--color-primary-light);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  display: inline-block;
  width: 100%;
}

.sns-lead {
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.sns-links {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-rounded);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sns-btn:hover {
  opacity: 0.8;
}

.sns-btn.tiktok {
  background-color: #000000;
}

.sns-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* --------------
   Common Section Styles
   -------------- */
.section {
  padding: var(--space-xl) var(--space-md);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  margin: 16px auto 0;
  border-radius: 2px;
}

.inner {
  max-width: 900px;
  margin: 0 auto;
}

/* --------------
   About Section
   -------------- */
.about {
  background-color: var(--color-white);
}

.about h3 {
  font-size: 1.5rem;
  color: var(--color-text-main);
  border-bottom: 2px dashed var(--color-primary-light);
  padding-bottom: 8px;
  margin-bottom: var(--space-md);
}

.about-greeting {
  margin-bottom: var(--space-xl);
  background-color: var(--color-bg-body);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
}

.greeting-text {
  display: inline-block;
  text-align: left;
  /* PCでの読みやすさを重視して左揃え＋中央配置 */
}

.greeting-text p {
  font-size: 1.1rem;
  line-height: 2;
  margin: 0 0 var(--space-md) 0;
}

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

.about-info {
  margin-bottom: var(--space-xl);
}

.info-list {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #eee;
}

.info-list dt {
  width: 30%;
  padding: 16px;
  background-color: var(--color-primary-light);
  font-weight: 700;
  border-bottom: 1px solid #eee;
}

.info-list dd {
  width: 70%;
  margin: 0;
  padding: 16px;
  border-bottom: 1px solid #eee;
}

@media (max-width: 600px) {

  .info-list dt,
  .info-list dd {
    width: 100%;
  }

  .info-list dt {
    border-bottom: none;
    padding-bottom: 4px;
  }
}

.about-staffs {
  margin-bottom: var(--space-lg);
}

.staff-lead {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.staff-card--manager {
  grid-column: 1 / -1;
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
}

.staff-card {
  background-color: var(--color-bg-body);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.staff-img {
  width: 120px;
  height: 120px;
  background-color: #ddd;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.staff-card:hover .staff-img {
  transform: scale(1.15);
}

.staff-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.staff-role {
  font-size: 0.8rem;
  color: var(--color-white);
  background-color: var(--color-primary);
  display: inline-block;
  padding: 2px 12px;
  border-radius: var(--radius-rounded);
  margin-bottom: 8px;
}

.staff-comment {
  font-size: 0.95rem;
  color: var(--color-text-main);
}

/* --------------
   Work Section
   -------------- */
.work {
  background-color: var(--color-bg-body);
}

.work-block {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.work-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: var(--color-primary);
}

.work-block h3 {
  font-size: 1.4rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
}

.work-lead {
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.work-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.work-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--color-primary-light);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.work-list .icon {
  font-size: 2rem;
  line-height: 1;
}

.work-list .text strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.work-list .text span {
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.wage-block {
  background-color: #fff8e1;
}

.wage-block::before {
  background-color: #f7a000;
}

.wage-info {
  text-align: center;
}

.wage-price {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-highlight {
  font-size: 2rem;
  color: #e65100;
  margin: 0 8px;
}

.wage-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.wage-bonus-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.wage-bonus-list li {
  background: var(--color-primary-light);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-rounded);
  padding: 6px 16px;
  font-size: 0.95rem;
}

/* --------------
   キャラクター紹介
   -------------- */
.chara-intro {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: var(--space-lg);
}

.chara-intro.chara-right {
  flex-direction: row-reverse;
}

.chara-intro .chara-img {
  width: 90px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.chara-bubble {
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 16px;
  padding: 12px 18px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-main);
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.chara-intro.chara-left .chara-bubble::before {
  content: '';
  position: absolute;
  left: -14px;
  bottom: 18px;
  border: 7px solid transparent;
  border-right-color: var(--color-primary);
}

.chara-intro.chara-left .chara-bubble::after {
  content: '';
  position: absolute;
  left: -11px;
  bottom: 19px;
  border: 6px solid transparent;
  border-right-color: #fff;
}

.chara-intro.chara-right .chara-bubble::before {
  content: '';
  position: absolute;
  right: -14px;
  bottom: 18px;
  border: 7px solid transparent;
  border-left-color: var(--color-primary);
}

.chara-intro.chara-right .chara-bubble::after {
  content: '';
  position: absolute;
  right: -11px;
  bottom: 19px;
  border: 6px solid transparent;
  border-left-color: #fff;
}

@media (max-width: 600px) {
  .chara-intro .chara-img {
    width: 64px;
  }
  .chara-bubble {
    font-size: 0.85rem;
    padding: 10px 14px;
  }
}

/* --------------
   Flow & Support Section
   -------------- */
.flow {
  background-color: var(--color-white);
}

.schedule-block {
  margin-bottom: var(--space-xl);
}

.schedule-block h3 {
  font-size: 1.4rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  position: relative;
  max-width: 560px;
}

/* 縦線：ドット列の中心に合わせる */
.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 0;
  left: 56px;
  width: 2px;
  background-color: var(--color-primary-light);
}

.timeline li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  position: relative;
}

/* 時刻テキスト：縦線の左側に配置 */
.timeline .time {
  width: 48px;
  flex-shrink: 0;
  font-weight: 700;
  color: var(--color-primary-dark);
  font-family: var(--font-family-heading);
  font-size: 1rem;
  text-align: right;
  padding-top: 14px;
  line-height: 1;
}

/* ドット：縦線の上に重ねる */
.timeline .dot {
  width: 16px;
  height: 16px;
  background-color: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary-light);
  flex-shrink: 0;
  margin: 10px 16px 0 8px;
}

.timeline .event {
  flex: 1;
  background-color: var(--color-bg-body);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.timeline .event strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline .event span {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.support-block h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.support-item {
  background-color: var(--color-bg-body);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.support-item:hover {
  transform: translateY(-5px);
}

.support-img {
  width: 100%;
  height: 200px;
  background-color: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

.support-text {
  padding: var(--space-md);
}

.support-text h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}

.support-text p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--color-text-main);
}

/* --------------
   Guide Section (Steps)
   -------------- */
.guide {
  background-color: var(--color-bg-body);
}

.step-container {
  max-width: 600px;
  margin: 0 auto;
}

.step-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  position: relative;
  text-align: center;
  border-top: 4px solid var(--color-primary);
  transition: transform 0.3s ease;
}

.step-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.step-number {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-family-heading);
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-rounded);
  font-size: 0.9rem;
  margin-top: -32px;
  /* Pull up to overlap border */
  margin-bottom: var(--space-sm);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
  color: var(--color-primary-dark);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--color-text-main);
  font-size: 0.95rem;
  margin: 0;
}

.step-arrow {
  text-align: center;
  color: var(--color-primary-dark);
  font-size: 1.5rem;
  margin: 8px 0;
}

/* --------------
   FAQ Section
   -------------- */
.faq {
  background-color: var(--color-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-bg-body);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.faq-q {
  padding: 20px var(--space-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 700;
  color: var(--color-text-main);
  list-style: none;
  /* Hide default triangle */
}

.faq-q::-webkit-details-marker {
  display: none;
  /* Hide default triangle in WebKit */
}

.q-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-family: var(--font-family-heading);
  font-size: 1.2rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.q-text {
  flex: 1;
  font-size: 1.05rem;
  padding-right: 24px;
}

.faq-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-primary-dark);
  border-bottom: 2px solid var(--color-primary-dark);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-arrow {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-a {
  padding: 0 var(--space-md) 24px var(--space-md);
  display: flex;
  align-items: flex-start;
  animation: fadeIn 0.4s ease;
}

.a-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: 50%;
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.a-text {
  margin: 0;
  padding-top: 4px;
  /* Align text with icon roughly */
  line-height: 1.8;
}

/* --------------
   Contact Section
   -------------- */
.contact {
  background-color: var(--color-bg-body);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.access-info h3,
.contact-area h3 {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-primary-light);
  padding-bottom: 8px;
  display: inline-block;
}

.map-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  margin-top: var(--space-md);
}

.contact-lead {
  margin-bottom: var(--space-lg);
}

.tel-wrap {
  background-color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  margin-bottom: var(--space-xl);
  box-shadow: 0 4px 10px rgba(234, 170, 66, 0.1);
}

.tel-label {
  display: block;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.tel-number {
  display: inline-block;
  font-size: 2.2rem;
  font-family: var(--font-family-heading);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
  text-decoration: none;
}

.tel-number:hover {
  opacity: 0.8;
}

.tel-time {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.contact-form {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.required {
  background-color: #e65100;
  color: var(--color-white);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text-main);
  background-color: #fafafa;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
}

.form-submit {
  text-align: center;
  margin-top: var(--space-xl);
}

.btn-submit {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-rounded);
  padding: 16px 48px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .contact-content {
    flex-direction: row;
  }

  .access-info {
    flex: 2;
  }

  .contact-area {
    flex: 3;
  }
}

/* --------------
   Scroll Animations
   -------------- */
.js-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* --------------
   Responsive — 追加モバイル調整
   -------------- */
@media (max-width: 768px) {
  /* main の padding-top をヘッダー高さに合わせる */
  main {
    padding-bottom: 180px;
  }

  /* セクション全体の余白を縮小 */
  .section {
    padding: var(--space-lg) var(--space-md);
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: var(--space-lg);
  }

  /* ヒーロー：モバイルは画像→テキストの縦並びに変更 */
  .hero {
    height: auto;
    min-height: 0;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 80px; /* 固定ヘッダー分 */
    margin-top: -80px;
  }

  /* スライダーを通常フローに戻し16:9比率で表示 */
  .hero-slider {
    position: relative;
    width: 100%;
    height: 56.25vw;
    flex-shrink: 0;
  }

  /* オーバーレイを非表示（テキストが画像の上に乗らないため不要） */
  .hero-overlay {
    display: none;
  }

  /* テキストエリアを画像の下に配置 */
  .hero-inner {
    position: relative;
    z-index: auto;
    background-color: var(--color-bg-body);
    padding: var(--space-md) var(--space-md) var(--space-lg);
    max-width: 100%;
    align-items: stretch;
  }

  .hero-content {
    padding: 0;
    animation: none;
  }

  .hero-catchcopy {
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--color-text-main);
    margin-bottom: var(--space-sm);
  }

  .hero-subcopy {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-main);
    margin-bottom: var(--space-md);
  }

  .hero-sns {
    display: block;
    background-color: var(--color-primary-light);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    margin-top: var(--space-sm);
  }

  /* About */
  .about-greeting {
    padding: var(--space-md);
  }

  .greeting-text p {
    font-size: 1rem;
  }

  /* Staff grid: 1列 */
  .staff-grid {
    grid-template-columns: 1fr;
  }

  /* Work */
  .work-block {
    padding: var(--space-md);
  }

  .work-list li {
    flex-direction: column;
    gap: 8px;
  }

  .price-highlight {
    font-size: 1.6rem;
  }

  /* Flow */
  .support-grid {
    grid-template-columns: 1fr;
  }

  .support-img {
    height: 160px;
  }

  /* Timeline */
  .timeline::before {
    left: 48px;
  }

  .timeline .time {
    width: 40px;
    font-size: 0.85rem;
  }

  .timeline .dot {
    margin: 10px 12px 0 6px;
  }

  /* Guide */
  .step-item {
    padding: var(--space-md);
  }

  /* Contact */
  .tel-number {
    font-size: 1.7rem;
  }

  .map-wrap iframe {
    height: 220px;
  }

  /* Floating CTA */
  .floating-cta {
    padding: var(--space-sm) var(--space-md);
  }
}

/* タブレット (769px〜1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-catchcopy {
    font-size: 2.2rem;
  }

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

  .hero-content {
    max-width: 700px;
  }
}
/* ── BGMボタン ─────────────────────────────────── */
#bgm-btn {
  position: fixed;
  bottom: 5rem;
  right: 1.2rem;
  z-index: 9999;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, background 0.2s;
}

#bgm-btn:hover {
  transform: scale(1.1);
  background: var(--color-primary-light);
}

@media (max-width: 768px) {
  #bgm-btn {
    bottom: 4.5rem;
    right: 0.8rem;
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.1rem;
  }
}
