/* ==============================================
   小さな事業の発信サポート サイト
   スマートフォン優先のレスポンシブCSS
   ============================================== */

/* ----------------------------------------------
   色の設定（ここを変えるとサイト全体の色が変わります）
   ---------------------------------------------- */
:root {
  --color-bg:        #F7F7F7;  /* 背景（ロゴと同じオフホワイト） */
  --color-main:      #E27822;  /* メイン（くすんだ水色） */
  --color-navy:      #1A1A1A;  /* 文字（ロゴに合わせたチャコール） */
  --color-greige:    #E8E8E8;  /* 補助（薄いグレージュ） */
  --color-teal:      #1A1A1A;  /* アクセント（深い青緑） */
  --color-mustard:   #E8A33D;  /* アクセント（マスタード・少量） */
  --color-white:     #FFFFFF;

  --font-heading: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body:    "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;

  --radius: 10px;              /* カードの角丸（控えめ） */
  --container: 1080px;         /* コンテンツの最大幅 */
}

/* ----------------------------------------------
   リセット・基本設定
   ---------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px; /* 固定ヘッダーの高さぶん */
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-navy);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-teal);
}

ul,
ol {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* PCのみ表示する改行（スマートフォンでは折り返しにまかせる） */
.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
}

/* キーボード操作時のフォーカス表示 */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 動きを減らす設定の人には、アニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ----------------------------------------------
   ボタン
   ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

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

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

.btn-primary:hover {
  background-color: #1A1A1A;
}

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

.btn-secondary:hover {
  background-color: var(--color-greige);
}

.btn-large {
  width: 100%;
  max-width: 340px;
  padding: 18px 28px;
  font-size: 17px;
}

/* ----------------------------------------------
   ヘッダー
   ---------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(248, 246, 240, 0.95);
  border-bottom: 1px solid var(--color-greige);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-navy);
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--color-navy);
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
}

.logo-sub {
  font-size: 11px;
  color: var(--color-teal);
}

.global-nav {
  display: none;
}

.btn-header {
  display: none;
  padding: 10px 22px;
  background-color: var(--color-teal);
  color: var(--color-white);
  font-size: 15px;
}

.btn-header:hover {
  background-color: #1A1A1A;
}

/* スマートフォン用メニューボタン */
.nav-toggle {
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background-color: var(--color-navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--color-greige);
  background-color: var(--color-bg);
  padding: 12px 20px 20px;
}

.mobile-nav a {
  display: block;
  padding: 14px 8px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 16px;
  color: var(--color-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--color-greige);
}

.mobile-nav .mobile-nav-cta {
  margin-top: 14px;
  border: none;
  border-radius: 8px;
  background-color: var(--color-teal);
  color: var(--color-white);
  text-align: center;
  font-weight: 700;
}

@media (min-width: 900px) {
  .global-nav {
    display: block;
  }

  .global-nav ul {
    display: flex;
    gap: 28px;
  }

  .global-nav a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 15px;
    color: var(--color-navy);
    text-decoration: none;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
  }

  .global-nav a:hover {
    border-bottom-color: var(--color-main);
  }

  .btn-header {
    display: inline-block;
  }

  .nav-toggle,
  .mobile-nav {
    display: none;
  }
}

/* ----------------------------------------------
   ファーストビュー
   ---------------------------------------------- */
.hero {
  padding: 48px 0 56px;
  background:
    linear-gradient(180deg, var(--color-bg) 0%, #EFEFE6 100%);
  border-bottom: 1px solid var(--color-greige);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 36px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-teal);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-main);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(30px, 7.2vw, 46px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 16px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.hero-buttons .btn {
  width: 100%;
  max-width: 340px;
  padding: 16px 28px;
}

.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 34px rgba(26, 26, 26, 0.12);
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 900px) {
  .hero {
    padding: 80px 0 88px;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .hero-buttons .btn {
    width: auto;
    min-width: 200px;
  }
}

/* ----------------------------------------------
   セクション共通
   ---------------------------------------------- */
.section {
  padding: 64px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 5.6vw, 34px);
  line-height: 1.5;
  text-align: center;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 18px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--color-main);
}

.section-lead {
  text-align: center;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .section {
    padding: 88px 0;
  }
}

/* ----------------------------------------------
   こんなお悩みありませんか
   ---------------------------------------------- */
.section-worries {
  background-color: var(--color-white);
}

.worry-list {
  max-width: 720px;
  margin: 36px auto 0;
  display: grid;
  gap: 12px;
}

.worry-list li {
  background-color: var(--color-bg);
  border: 1px solid var(--color-greige);
  border-radius: var(--radius);
  padding: 16px 18px 16px 48px;
  position: relative;
  font-size: 16px;
  line-height: 1.7;
}

.worry-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-main);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.5 L7 11 L11.5 5.5' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.worries-note {
  text-align: center;
  margin-top: 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-teal);
}

@media (min-width: 768px) {
  .worry-list {
    max-width: 900px;
    grid-template-columns: 1fr 1fr;
  }
}

/* ----------------------------------------------
   できること
   ---------------------------------------------- */
.service-cards {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-greige);
  border-top: 4px solid var(--color-main);
  border-radius: var(--radius);
  padding: 32px 24px;
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background-color: var(--color-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.service-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 21px;
  text-align: center;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 15.5px;
  margin-bottom: 12px;
}

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

.service-examples {
  background-color: var(--color-bg);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 12px;
}

.service-examples li {
  font-size: 14.5px;
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.7;
}

.service-examples li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-mustard);
}

@media (min-width: 900px) {
  .service-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----------------------------------------------
   まとめて相談できる理由
   ---------------------------------------------- */
.section-reason {
  background-color: var(--color-greige);
}

.reason-text {
  max-width: 640px;
  margin: 36px auto 0;
}

.reason-text p {
  margin-bottom: 18px;
}

.flow-diagram {
  max-width: 640px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.flow-step {
  background-color: var(--color-white);
  border: 1.5px solid var(--color-main);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
}

.flow-step p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.6;
}

.flow-step p br {
  display: none;
}

.flow-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-main);
  margin-bottom: 4px;
}

.flow-step-goal {
  background-color: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-white);
}

.flow-step-goal .flow-label {
  color: var(--color-mustard);
}

.flow-arrow {
  width: 0;
  height: 0;
  margin: 10px auto;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 14px solid var(--color-teal);
}

@media (min-width: 900px) {
  .flow-diagram {
    max-width: 100%;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0;
  }

  .flow-step {
    flex: 1;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 16px;
  }

  .flow-step p br {
    display: inline;
  }

  .flow-arrow {
    margin: auto 6px;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 14px solid var(--color-teal);
    border-right: none;
  }
}

/* ----------------------------------------------
   こんな方におすすめ
   ---------------------------------------------- */
.recommend-list {
  max-width: 640px;
  margin: 36px auto 0;
}

.recommend-list li {
  padding: 16px 8px 16px 44px;
  border-bottom: 1px solid var(--color-greige);
  position: relative;
  line-height: 1.7;
}

.recommend-list li:first-child {
  border-top: 1px solid var(--color-greige);
}

.recommend-list li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 22px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background-color: var(--color-teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5 L7 11.5 L12 5' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ----------------------------------------------
   私について
   ---------------------------------------------- */
.section-about {
  background-color: var(--color-white);
}

.about-card {
  max-width: 800px;
  margin: 40px auto 0;
  background-color: var(--color-bg);
  border: 1px solid var(--color-greige);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: grid;
  gap: 24px;
  justify-items: center;
}

.profile-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--color-white);
  box-shadow: 0 2px 12px rgba(36, 55, 70, 0.1);
  flex-shrink: 0;
}

.profile-photo img,
.profile-photo svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ロゴを表示している間の見た目（写真に差し替えたらこのclassを外す） */
.profile-photo-logo {
  border-radius: var(--radius);
  background-color: var(--color-white);
  padding: 16px;
}

.profile-photo-logo img {
  object-fit: contain;
}

.about-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
  text-align: center;
}

.about-text p {
  font-size: 15.5px;
  margin-bottom: 14px;
}

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

@media (min-width: 768px) {
  .about-card {
    grid-template-columns: auto 1fr;
    align-items: start;
    padding: 40px 36px;
    gap: 36px;
  }

  .about-name {
    text-align: left;
  }
}

/* ----------------------------------------------
   実績・経験
   ---------------------------------------------- */
.work-cards {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.work-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-greige);
  border-radius: var(--radius);
  overflow: hidden;
}

.work-image {
  aspect-ratio: 16 / 9;
  background-color: var(--color-greige);
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 12px,
    rgba(255, 255, 255, 0.5) 12px,
    rgba(255, 255, 255, 0.5) 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-image span {
  font-size: 13px;
  color: var(--color-teal);
  background-color: var(--color-white);
  border-radius: 999px;
  padding: 4px 14px;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  padding: 20px 20px 8px;
}

.work-points {
  padding: 0 20px 22px;
}

.work-points li {
  font-size: 14.5px;
  line-height: 1.7;
  padding: 4px 0 4px 18px;
  position: relative;
}

.work-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-main);
}

@media (min-width: 700px) {
  .work-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* ----------------------------------------------
   サポートメニュー例
   ---------------------------------------------- */
.section-menu {
  background-color: var(--color-white);
}

.menu-cards {
  display: grid;
  gap: 24px;
  margin-top: 8px;
}

.menu-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-greige);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.menu-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 19px;
  text-align: center;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--color-main);
}

.menu-list {
  flex: 1;
}

.menu-list li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  border-bottom: 1px dashed var(--color-greige);
}

.menu-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-teal);
}

.menu-price {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-teal);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-teal);
  border-radius: 8px;
  padding: 12px;
}

.menu-note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.75;
  color: #555;
}

@media (min-width: 900px) {
  .menu-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----------------------------------------------
   ご相談の流れ
   ---------------------------------------------- */
.step-list {
  max-width: 640px;
  margin: 40px auto 0;
  position: relative;
}

.step-item {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.step-item:last-child {
  padding-bottom: 0;
}

/* ステップをつなぐ縦線 */
.step-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background-color: var(--color-main);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-body h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  padding-top: 8px;
  margin-bottom: 6px;
}

.step-body p {
  font-size: 15px;
}

/* ----------------------------------------------
   お問い合わせ
   ---------------------------------------------- */
.section-contact {
  background-color: var(--color-navy);
  color: var(--color-white);
  text-align: center;
}

.contact-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(24px, 5.8vw, 34px);
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-lead {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 16px;
}

.contact-first-step {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: 16px;
}

.contact-preview-notice {
  max-width: 680px;
  margin: 0 auto 28px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.1);
  text-align: left;
  font-size: 14px;
  line-height: 1.75;
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.contact-form-row {
  display: grid;
  gap: 16px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label,
.consent-field {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid #C9C9C9;
  border-radius: 6px;
  background: var(--color-white);
  color: var(--color-navy);
  font: inherit;
  line-height: 1.6;
}

.form-field textarea { resize: vertical; }

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible,
.consent-field input:focus-visible {
  outline: 3px solid var(--color-main);
  outline-offset: 2px;
}

.form-help {
  margin-top: 5px;
  color: #D6D6D6;
  font-size: 13px;
  line-height: 1.6;
}

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

.consent-field {
  margin: 2px 0 20px;
  font-weight: 500;
  line-height: 1.7;
}

.consent-field input { margin-right: 6px; }

.contact-submit {
  display: block;
  margin: 0 auto;
  border: 0;
  cursor: pointer;
}

.contact-submit:disabled { cursor: wait; opacity: .7; }

.contact-status {
  min-height: 1.9em;
  margin-top: 16px;
  text-align: center;
  color: #FFF3C9;
  font-size: 14px;
  line-height: 1.7;
}

.contact-buttons {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-contact .btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.section-contact .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.contact-note {
  margin-top: 20px;
  font-size: 13px;
  color: #D6D6D6;
}

@media (min-width: 768px) {
  .contact-form-row { grid-template-columns: 1fr 1fr; }
  .contact-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .contact-buttons .btn-large {
    width: auto;
    min-width: 280px;
  }
}

/* ----------------------------------------------
   フッター
   ---------------------------------------------- */
.site-footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 36px 0 28px;
  text-align: center;
}

.footer-logo {
  margin: 0 auto 12px;
  width: 150px;
  /* 濃い背景用に、線を白に反転して表示 */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
}

.footer-sub {
  font-size: 13px;
  color: #D6D6D6;
  margin-bottom: 16px;
}

.footer-nav a {
  color: #D6D6D6;
  font-size: 13px;
  text-decoration: underline;
}

.footer-privacy {
  max-width: 620px;
  margin: 20px auto 0;
  color: #D6D6D6;
  font-size: 13px;
  line-height: 1.75;
}

.footer-privacy h2 {
  margin-bottom: 5px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 14px;
}

.footer-nav a:hover {
  color: var(--color-white);
}

.footer-copyright {
  margin-top: 16px;
  font-size: 12px;
  color: #8FA0AC;
}

/* ----------------------------------------------
   スクロール表示（ふわっと出る・控えめ）
   JavaScriptが動かない場合も表示されます
   ---------------------------------------------- */
.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==============================================
   冒頭の動き（2026-09-01 追加）
   ⚠️ prefers-reduced-motion の指定が上にあるので、
      「動きを減らす」設定の端末では自動で止まります
   ============================================== */

@keyframes heroIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-eyebrow,
.hero-title,
.hero-lead,
.hero-buttons,
.hero-visual {
  opacity: 0;
  animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 順番に出す */
.hero-eyebrow            { animation-delay: 0.05s; }
.hero-title              { animation-delay: 0.18s; }
.hero-lead:nth-of-type(1){ animation-delay: 0.34s; }
.hero-lead:nth-of-type(2){ animation-delay: 0.44s; }
.hero-buttons            { animation-delay: 0.56s; }
.hero-visual             { animation-delay: 0.40s; }

/* 図はそのあと、ゆっくり浮き続ける */
.hero-visual img {
  /* ゆっくり浮く */
  animation: heroFloat 6s ease-in-out 1.4s infinite;
}

/* ボタンの反応も少し強く */
.btn { transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease; }
.btn:hover { transform: translateY(-2px); }

/* ==============================================
   カードに写真を敷く（2026-09-01 追加）
   ============================================== */

/* できること：カードの上に写真 */
.service-card { padding: 0; overflow: hidden; }
.service-card .service-name,
.service-card p { padding-left: 24px; padding-right: 24px; }
.service-card .service-name { margin-top: 24px; }
.service-card p:last-child { padding-bottom: 32px; }
.service-image img,
.flow-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-image { aspect-ratio: 16 / 9; }

/* STEPの流れ：箱の上に写真 */
.flow-step { padding: 0 0 18px; overflow: hidden; }
.flow-image {
  aspect-ratio: 7 / 3;
  margin-bottom: 14px;
}
.flow-step .flow-label { margin-top: 0; }

/* ==============================================
   冒頭：写真いっぱい＋白文字（2026-09-01 作り直し）
   ============================================== */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding: 96px 0;
  background: none;
  border-bottom: 0;
  overflow: hidden;
}

/* 写真と、白文字を読ませるための影 */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(100deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.52) 42%, rgba(0,0,0,.18) 78%, rgba(0,0,0,.10) 100%),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.hero-inner {
  position: relative;
  display: block;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text { max-width: 620px; }

.hero .hero-eyebrow {
  color: var(--color-white);
  background-color: transparent;
  border-color: rgba(255,255,255,.7);
}

.hero .hero-title {
  color: var(--color-white);
  font-size: clamp(32px, 5.6vw, 52px);
  line-height: 1.4;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
  margin-bottom: 28px;
}

.hero-omoi {
  color: var(--color-white);
  margin-bottom: 36px;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero-omoi p {
  font-size: 15.5px;
  line-height: 2.1;
}
.hero-omoi p + p { margin-top: 12px; }

/* 写真の上に置くボタン。黒だと沈むので白を主にする */
.btn-hero-main {
  background-color: var(--color-white);
  color: var(--color-navy);
}
.btn-hero-main:hover { background-color: var(--color-main); color: var(--color-white); }
.btn-hero-sub {
  background-color: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,.8);
}
.btn-hero-sub:hover { background-color: rgba(255,255,255,.16); }

/* 冒頭の順番に出す演出は、新しい要素にも効かせる */
.hero-omoi { opacity: 0; animation: heroIn .9s cubic-bezier(.16,1,.3,1) .34s forwards; }

@media (max-width: 767px) {
  .hero { min-height: 0; padding: 64px 0 56px; }
  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.62) 60%, rgba(0,0,0,.7) 100%),
      url("../images/hero.jpg");
  }
  .hero-omoi p { font-size: 14.5px; line-height: 2; }
}

/* 明るい写真に濃い文字を乗せる版（試作） */
.hero.hero-dark .hero-bg {
  background-image:
    linear-gradient(100deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.55) 40%, rgba(255,255,255,.10) 75%, rgba(255,255,255,0) 100%),
    url("../images/hero.jpg");
}
.hero.hero-dark .hero-title,
.hero.hero-dark .hero-omoi { color: var(--color-navy); text-shadow: none; }
.hero.hero-dark .hero-eyebrow { color: var(--color-navy); border-color: var(--color-navy); }
.hero.hero-dark .btn-hero-main { background-color: var(--color-navy); color: #fff; }
.hero.hero-dark .btn-hero-sub { color: var(--color-navy); border-color: rgba(26,26,26,.45); }

/* スマホでは、写真の上半分を白く起こして濃い文字を読ませる */
@media (max-width: 767px) {
  .hero.hero-dark .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.80) 46%, rgba(255,255,255,.42) 72%, rgba(255,255,255,.14) 100%),
      url("../images/hero.jpg");
    background-position: 62% center;
  }
}

/* 冒頭のラベル：スマホで2行になるので、角丸を控えめにして収まりをよくする */
@media (max-width: 767px) {
  .hero-eyebrow {
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.7;
    padding: 7px 14px;
    text-align: left;
  }
}

.nowrap { white-space: nowrap; }

/* 長い見出しをスマートフォンでも意味のまとまりで読むための調整 */
@media (max-width: 600px) {
  .hero .hero-title { font-size: clamp(22px, 6.7vw, 28px); letter-spacing: 0; }
}
