/* =========================
  リセット・共通設定
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth; /* ← これを追加 */
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* =========================
  レイアウトのベース
========================= */

/* 共通コンテナ */
.inner,
.content-wrapper {
  max-width: 1120px;
  margin: 0 auto;
}

/* site-main はフル幅にする */
.site-main {
  max-width: none;
}

/* コンテンツラッパ */
.content-wrapper {
  padding: 32px 0 48px;
}

/* =========================
   SP 共通の左右余白
========================= */
@media (max-width: 767px) {
  .inner,
  .content-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* =========================
  ヘッダー＆フッター共通
========================= */
.site-header,
.site-footer {
  /* 透過白にしたい場合は rgba で指定 */
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 16px rgba(235, 235, 235, 0.2);
}

/* アンカー位置調整：固定ヘッダーぶんだけ下げて止める */
.section,
.mv {
  scroll-margin-top: 80px; /* 好きな値に調整してOK */
}

/* =========================
  透ける追尾ヘッダー（sticky）
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);

  /* 透明感 */
  background-color: rgba(255, 255, 255, 0.6); /* ←透け具合はここで調整 */
  backdrop-filter: blur(8px); /* ←背景をぼかして柔らかく */

  /* 影（立体ではない、柔らかいフローティング感） */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* 中身レイアウト（ロゴ＋ナビ） */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* ロゴ画像 */
.site-logo img {
  display: block;
  width: 72px;
  height: auto;
}

/* 文字のサイトタイトルを使わないなら非表示でもOK */
.site-title {
  margin: 0;
  font-size: 1.4rem;
}

.site-title a {
  text-decoration: none;
  color: inherit;
}

.site-description {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: #777;
}

/* =========================
   MV（ファーストビュー）背景画像
========================= */
.mv {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;

  background-image: url("../img/fv-bg.png");
  background-size: cover; /* 画面いっぱいに広げる */
  background-position: center; /* ちょうど真ん中を見せる */
  background-repeat: no-repeat;
}
/* =========================
   MV SP レスポンシブ
========================= */
@media (max-width: 767px) {
  .mv {
    padding: 96px 0 104px;
    background-position: center top;
  }
}

/* =========================
   各セクション SP 余白調整
========================= */
@media (max-width: 767px) {
  .section-mvv {
    padding: 56px 0 72px;
  }

  .section-message {
    padding: 56px 0 64px;
  }

  .section-service {
    padding: 56px 0 64px;
  }

  .section-company {
    padding: 56px 0 64px;
  }

  .section-contact {
    padding: 56px 0 72px; /* 最後だけ少しゆとりを多めに */
  }
}

/* =========================
  投稿一覧（共通）
========================= */
article {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.post-title {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.post-title a {
  color: #333;
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 8px;
}

/* =========================
  グローバルナビ（PC）
========================= */
.global-nav {
  margin-top: 0;
}

.global-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.global-nav__list li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  padding: 8px 0;
  display: inline-block;
}

.global-nav__list li a:hover {
  color: #fec6e3;
}

/* 最後のメニューをボタン風に */
.global-nav__list li:last-child a {
  padding: 8px 20px;
  border-radius: 999px;
  background-color: #92a6ff;
  color: #fff;
  box-shadow: 0 4px 12px rgba(91, 141, 255, 0.4);
}

.global-nav__list li:last-child a:hover {
  background-color: #4f7ce6;
}

/* =========================
  ハンバーガーボタン
========================= */
.nav-toggle {
  display: none; /* PCでは非表示 */
  border: none;
  outline: none;
  background: transparent;
  padding: 6px 10px;
  cursor: pointer;

  display: none; /* SP でだけ出すので一旦消しておく */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;

  box-shadow: none;
}

.nav-toggle:focus,
.nav-toggle:active {
  outline: none;
  box-shadow: none;
  border: none;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #333;
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle__label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  margin-top: 2px;
  text-align: center;
}

/* =========================
  スマホレイアウト
========================= */
@media (max-width: 767px) {
  /* ハンバーガー表示 */
  .nav-toggle {
    display: inline-flex;
  }

  /* 画面全体を覆うメニュー */
  .global-nav {
    position: fixed; /* ← 固定して全画面に */
    top: 0;
    left: 0;
    right: 0;
    height: 100vh; /* ← 全画面の高さ */
    background-color: #fff;

    padding: 80px 24px 40px; /* 上部を空けてメニュー配置 */
    display: none; /* 初期は非表示 */

    overflow-y: auto; /* メニューが長くなってもスクロール可 */
    z-index: 999; /* ヘッダーより前面 */
  }

  /* body.nav-open で表示 */
  body.nav-open .global-nav {
    display: block;
  }

  /* メニューの並び */
  .global-nav__list {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .global-nav__list li {
    width: 100%;
  }

  .global-nav__list li a {
    display: block;
    padding: 10px 0;
    font-size: 1.2rem;
  }

  /* お問い合わせボタンだけ大きめに */
  .global-nav__list li:last-child a {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    border-radius: 999px;
  }

  /* ハンバーガー（×）を常に右上固定 */
  .nav-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1000;
  }

  /* ハンバーガーを × に変化 */
  body.nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  body.nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }
  body.nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* =========================
   About セクション
========================= */

.section-about {
  padding: 80px 0;
}

.section-about__header {
  margin-bottom: 32px;
}

.section-about__header .section-heading {
  display: inline-block;
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
}

.section-about__header .section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 72px;
  height: 1px;
  background-color: #d6a4e3; /* 他と同じ下線カラー */
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 40px;
  align-items: center;
}

.about-bg {
  position: absolute;
  left: 25%;
  top: 55%; /* 少し下に配置して顔まわりは白く */
  transform: translate(-50%, -50%);

  /* 横長の楕円にする */
  width: 320px; /* ここで横幅調整 */
  height: 160px; /* 縦を抑えめにして“帯”っぽく */

  border-radius: 999px;

  background:
  /* 左側ピンク（FEC6E3） */ radial-gradient(
      ellipse at 25% 50%,
      rgba(254, 198, 227, 0.25) 0%,
      /* 0.55 → 0.25：かなり薄く */ rgba(254, 198, 227, 0.12) 35%,
      /* 0.3 → 0.12 */ rgba(254, 198, 227, 0.05) 50%,
      /* 0.1 → 0.05 */ transparent 100%
    ),
    /* 右側ブルー（92A6FF） */
      radial-gradient(
        ellipse at 75% 50%,
        rgba(146, 166, 255, 0.16) 0%,
        /* 0.3 → 0.16 */ rgba(146, 166, 255, 0.12) 35%,
        /* 0.26 → 0.12 */ rgba(146, 166, 255, 0.05) 50%,
        /* 0.1 → 0.05 */ transparent 100%
      );

  filter: blur(18px); /* ふわっと感 */
  opacity: 0.8;
  pointer-events: none;
  z-index: -1;
}

/* テキスト側 */
.section-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d6a4e3;
  margin: 0 0 12px;
}

.about-title {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 18px;
}

.about-lead {
  margin: 0 0 12px;
  font-size: 1rem;
  color: #444;
}

.about-body {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
}

/* 右側イラストエリア */
.about-visual {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* イラストカード */
.about-visual__figure {
  position: relative;
  margin: 0;
  padding: 26px 32px;
  border-radius: 32px;
}

.about-visual__figure img {
  display: block;
  max-width: 260px;
  height: auto;
}

/* =========================
   About SP 余白＆レイアウト調整
========================= */
@media (max-width: 767px) {
  .section-about {
    padding: 56px 0 64px; /* 上下の余白を少し軽めに */
  }

  /* 1カラム＆縦並びに変更 */
  .about-layout {
    grid-template-columns: minmax(0, 1fr); /* 1列 */
    gap: 28px;
  }

  /* 画像ブロックを上に */
  .about-visual {
    order: 1;
    justify-content: center;
  }

  /* テキストブロックを下に */
  .about-text {
    order: 2;
    margin: 0 auto;
  }

  /* 背景の楕円を中央寄せ＆小さめに */
  .about-bg {
    left: 50%;
    top: 75%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 140px;
    opacity: 0.75; /* さらにほんの少しだけ薄め */
  }
}

/* =========================
   MVV セクション
========================= */

.section-mvv {
  padding: 80px 0 120px;
}

.mvv__header {
  margin-bottom: 40px;
}

/* 全体ラッパー */
.mvv-list {
  display: flex;
  flex-direction: column;
  gap: 80px; /* M・V・V の縦間隔 */
}

/* 各行（Mission / Vision / Value） */
.mvv-row {
  position: relative;
  padding-top: 8px;
  max-width: 520px; /* 1行の横幅（好みで調整） */
}

/* 1行目=左 / 2行目=中央 / 3行目=右 */
.mvv-row:nth-child(1) {
  margin-left: 0;
  margin-right: auto;
}

.mvv-row:nth-child(2) {
  margin-left: auto;
  margin-right: auto;
}

.mvv-row:nth-child(3) {
  margin-left: auto;
  margin-right: 0;
}

/* 英字 M / V / V ＋ ession 部分 */
.mvv-row__en {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin: 0 0 6px;
}

/* 大きな M / V / V */
.mvv-row__initial {
  font-family: "Dancing Script", cursive;
  font-size: 7rem;
  line-height: 1;
  font-weight: 600;
  color: #333;
}

/* ission / ision / alue の部分 */
.mvv-row__rest {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  letter-spacing: 0.9em;
  color: #333;
}

/* 日本語テキスト */
.mvv-row__ja {
  margin: 0 0 0 100px;
  font-size: 1.1rem;
  color: #555;
}

/* 波の写真用背景（行ごとに1枚ずつ敷く想定） */
.mvv-row__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  width: 100%;
  transform: translateY(-30%);
  height: 85px; /* 波の高さ */
  background-size: contain; /* 見切れづらく */
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

/* 背景写真のパスはここに当てる */
.mvv-row--mission .mvv-row__bg {
  background-image: url("../img/mvv-mission-bg.png");
}
.mvv-row--vision .mvv-row__bg {
  background-image: url("../img/mvv-vision-bg.png");
}
.mvv-row--value .mvv-row__bg {
  background-image: url("../img/mvv-value-bg.png");
}

/* =========================
   MVV SP レスポンシブ
========================= */
@media (max-width: 767px) {
  .section-mvv {
    padding: 56px 0 80px;
    text-align: center; /* 全体をセンター寄せ */
  }

  /* 左右の振り分けを解除して中央に */
  .mvv-row {
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* 英字（M / Vision …）も中央に */
  .mvv-row__en {
    justify-content: center;
  }

  .mvv-row__initial {
    font-size: 3.4rem;
  }

  .mvv-row__rest {
    font-size: 1.5rem;
    letter-spacing: 0.4em;
  }

  /* 日本語テキストも中央揃えに */
  .mvv-row__ja {
    margin-left: 0;
    font-size: 1rem;
    text-align: center;
  }

  /* 背景の波の位置調整 */
  .mvv-row__bg {
    left: 0;
    right: 0;
    height: 70px;
    transform: translateY(-20%);
  }
}

/* =========================
   代表挨拶セクション
========================= */

.section-message {
  padding: 80px 0;
  background-color: #ffffff;
}

/* 見出しエリア */
.message-header {
  margin-bottom: 32px;
}

.message-heading {
  display: inline-block;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: relative;
}

/* 見出し下線 */
.message-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 72px;
  height: 1px;
  background-color: #d6a4e3;
}

/* 本文エリア全体を中央寄せ */
.message-body {
  text-align: center;
}

/* イラスト周り */
.message-visual {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.message-visual__bg {
  position: absolute;
  left: 50%;
  top: 55%; /* 少し下に配置して顔まわりは白く */
  transform: translate(-50%, -50%);

  /* 横長の楕円にする */
  width: 320px; /* ここで横幅調整 */
  height: 160px; /* 縦を抑えめにして“帯”っぽく */

  border-radius: 999px;

  background:
    /* 左側ピンク（FEC6E3） */ radial-gradient(ellipse at 25% 50%, rgba(254, 198, 227, 0.55) 0%, rgba(254, 198, 227, 0.3) 35%, rgba(254, 198, 227, 0.1) 70%, transparent 100%),
    /* 右側ブルー（92A6FF） */ radial-gradient(ellipse at 75% 50%, rgba(146, 166, 255, 0.3) 0%, rgba(146, 166, 255, 0.26) 35%, rgba(146, 166, 255, 0.1) 70%, transparent 100%);

  filter: blur(18px); /* ふわっと感 */
  opacity: 0.9;
  pointer-events: none;
}

/* イラスト本体 */
.message-visual__figure {
  position: relative;
  margin: 0;
}

.message-visual__figure img {
  display: block;
  max-width: 223px;
  height: auto;
}

/* テキスト部分 */
.message-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: left; /* ブロックは中央寄せ、文字は左揃え */
  font-size: 0.95rem;
  line-height: 1.9;
  color: #555;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .section-message {
    padding: 56px 0;
  }

  .message-visual__figure img {
    max-width: 220px;
  }

  .message-text {
    font-size: 0.9rem;
  }
}

/* =========================
   事業内容セクション
========================= */

.section-service {
  padding: 80px 0;
  background-color: #ffffff;
}

/* 見出し（「事業内容」） */
.section-service__header {
  margin-bottom: 32px;
}

.section-heading {
  display: inline-block;
  margin: 0;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  position: relative;
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 72px;
  height: 1px;
  background-color: #d6a4e3;
}

/* 本体レイアウト（左テキスト＋右イラスト） */
.service-item {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 40px;
  align-items: center;
}

.service-item__title {
  font-size: 1.5rem;
  margin: 0 0 16px;
  font-weight: 500;
}

.service-item__lead {
  margin: 0 0 8px;
  font-size: 0.98rem;
  color: #444;
}

.service-item__body {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
}

/* 右側イラスト + ふわっとピンク背景 */
.service-item__visual {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item__bg {
  position: absolute;
  left: 40%;
  top: 40%; /* ← 少し上に配置（頭の後ろに来るように） */
  transform: translate(-50%, -50%);

  width: 500px; /* 横幅：画像とほぼ同じくらい */
  height: 200px; /* 縦長にして“雲”っぽく */
  border-radius: 50%;

  background: radial-gradient(
    circle at 50% 20%,
    /* ← にじみの中心を上寄せに */ rgba(254, 198, 227, 0.7) 0%,
    /* 中心濃いめ */ rgba(254, 198, 227, 0.4) 30%,
    rgba(254, 198, 227, 0.22) 55%,
    rgba(254, 198, 227, 0.08) 75%,
    transparent 100%
  );

  filter: blur(14px); /* ふわっと感。強すぎれば 10〜12px に */
  opacity: 0.9;
  pointer-events: none;
}

.service-item__figure {
  position: relative;
  margin: 0;
}

.service-item__figure img {
  display: block;
  max-width: 220px;
  height: auto;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .section-service {
    padding: 56px 0;
  }

  .service-item__text {
    margin: 0 auto;
  }

  .service-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .service-item__visual {
    order: -1; /* 画像を上、テキストを下にしたければここを変える */
  }

  .service-item__bg {
    width: 220px;
    height: 120px;
    top: 58%;
  }

  .service-item__figure img {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* =========================
   会社概要セクション
========================= */

.section-company {
  padding: 80px 0;
}

/* 見出し（会社概要） */
.section-company__header {
  margin-bottom: 32px;
}

.section-company .section-heading {
  display: inline-block;
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
}

.section-company .section-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 72px;
  height: 1px;
  background-color: #d6a4e3; /* 見出しの下線色 */
}

/* テーブル風デザイン */
.company-table {
  margin: 0;
  padding: 0;
}

.company-row {
  display: grid;
  grid-template-columns: 200px 1fr; /* 左：項目名、右：内容 */
  padding: 16px 0;
  border-bottom: 1px solid #ddd;
}

.company-row dt {
  font-weight: 600;
  color: #333;
}

.company-row dd {
  margin: 0;
  color: #444;
  line-height: 1.7;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .company-row {
    grid-template-columns: 1fr; /* 項目名と内容を上下に */
    gap: 4px;
    padding: 12px 0;
  }

  .section-company {
    padding: 56px 0;
  }
}

/* =========================
   Contact Form 7 共通レイアウト
========================= */

/* ラッパーを中央に寄せる */
.section-contact .contact-form--cf7 {
  max-width: 720px;
  margin: 0 auto;
}

/* グリッド（上4項目） */
.contact-form--cf7 .cf7-contact__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 24px;
}

/* 各フィールド */
.contact-form--cf7 .cf7-contact__field {
  margin-bottom: 0;
}
.contact-form--cf7 .cf7-contact__field--full {
  margin-top: 24px;
}

/* ラベル・必須マーク */
.contact-form--cf7 label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #555;
}
.contact-form--cf7 .required {
  font-size: 0.8rem;
  color: #e08a8a;
  margin-left: 4px;
}

/* 入力要素共通 */
.contact-form--cf7 input[type="text"],
.contact-form--cf7 input[type="email"],
.contact-form--cf7 select,
.contact-form--cf7 textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  border-radius: 18px;
  border: 1px solid #444444;
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.contact-form--cf7 textarea {
  min-height: 180px;
  border-radius: 18px;
  resize: vertical;
}

/* フォーカス時 */
.contact-form--cf7 input:focus,
.contact-form--cf7 select:focus,
.contact-form--cf7 textarea:focus {
  outline: none;
  border-color: #92a6ff;
  box-shadow: 0 0 0 3px rgba(146, 166, 255, 0.25);
  background-color: #fcfdff;
}

/* 送信ボタンラッパー（PC 基本） */
.contact-form--cf7 .contact-submit {
  display: block;
  text-align: center;
  margin-top: 20px;
}

/* 送信ボタン（PC 基本） */
.contact-form--cf7 input[type="submit"] {
  display: inline-block;
  padding: 12px 96px;
  border-radius: 999px;
  border: none;
  background-color: #92a6ff;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(146, 166, 255, 0.45);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.contact-form--cf7 input[type="submit"]:hover {
  background-color: #7d92f5;
  box-shadow: 0 6px 16px rgba(146, 166, 255, 0.4);
  transform: translateY(1px);
}

/* スピナー（ボタンの右横にちょこんと） */
.contact-form--cf7 .contact-submit .wpcf7-spinner {
  margin-left: 8px;
  margin-top: 0;
  position: relative;
  top: 2px;
}

/* =========================
   Contact Form 7 SP 調整
========================= */
@media (max-width: 767px) {
  /* 内側余白 */
  .section-contact .inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* フォーム幅を少し絞る */
  .section-contact .contact-form--cf7 {
    max-width: 90%;
    margin: 0 auto;
  }

  /* グリッド → 1カラム */
  .contact-form--cf7 .cf7-contact__grid {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  /* テキストボックスを少しコンパクトに */
  .contact-form--cf7 input[type="text"],
  .contact-form--cf7 input[type="email"],
  .contact-form--cf7 select,
  .contact-form--cf7 textarea {
    max-width: 100%;
    font-size: 0.9rem;
    padding: 10px 14px;
    border-radius: 14px;
  }
  .contact-form--cf7 textarea {
    min-height: 140px;
  }

  /* ボタンラッパーを中央寄せ＆横幅いっぱいに */
  .contact-form--cf7 .contact-submit {
    width: 100%;
    margin-top: 28px;
    text-align: center;
  }

  /* ボタンを中央＆適正サイズに */
  .contact-form--cf7 .contact-submit input[type="submit"] {
    display: block;
    width: 80%;
    max-width: 240px;
    padding: 12px 0;
    margin: 0 auto;
    border-radius: 999px;
    font-size: 0.9rem;
  }
}

/* =========================
   セクション共通フェードイン（強めバージョン）
========================= */

/* 最初は下に 40px ＋ 少しぼかして非表示 */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.19, 1, 0.22, 1), transform 0.9s cubic-bezier(0.19, 1, 0.22, 1), filter 0.9s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 画面内に入ったらくっきり＆上にスッと戻る */
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* セクションごとにちょっとだけディレイ */
.section-about {
  transition-delay: 0.05s;
}
.section-mvv {
  transition-delay: 0.1s;
}
.section-message {
  transition-delay: 0.15s;
}
.section-service {
  transition-delay: 0.2s;
}
.section-company {
  transition-delay: 0.25s;
}
.section-contact {
  transition-delay: 0.3s;
}

/* =========================
   MVV の各行アニメーション（順番に出てくる）
========================= */

/* 最初は少し下＋ぼかし＋非表示 */
.mvv-row {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out, filter 0.8s ease-out;
}

/* section-mvv が画面内に入ったタイミングで */
.section-mvv.is-visible .mvv-row {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* M → V → V の順にちょっとずつ遅らせる */
.section-mvv.is-visible .mvv-list > .mvv-row:nth-child(1) {
  transition-delay: 0s;
}
.section-mvv.is-visible .mvv-list > .mvv-row:nth-child(2) {
  transition-delay: 0.12s;
}
.section-mvv.is-visible .mvv-list > .mvv-row:nth-child(3) {
  transition-delay: 0.24s;
}

/* =========================
  フッター
========================= */
.site-footer {
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  color: #555;
  text-align: center;

  /* 上は少しだけ白、全体はふんわりグラデ */
  background: radial-gradient(circle at 10% 0%, rgba(254, 198, 227, 0.45) 0%, rgba(254, 198, 227, 0.12) 40%, transparent 70%),
    radial-gradient(circle at 90% 0%, rgba(146, 166, 255, 0.45) 0%, rgba(146, 166, 255, 0.12) 40%, transparent 70%), linear-gradient(180deg, #ffffff 0%, #fdf7ff 40%, #f7f4ff 100%);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: end;
  gap: 12px;
}

/* フッターナビ */
.footer-nav {
  margin-bottom: 4px;
}

.footer-nav__list {
  display: flex;
  gap: 28px;
  padding: 0;
  margin: 0;
  list-style: none;

  /* ヘッダーと同じクラス(global-nav__list)も付いているので、
     ここで上書きして「中央寄せ」で表示させる */
  justify-content: center;
}

.footer-nav__list li a {
  text-decoration: none;
  color: #444;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
}

/* hover */
.footer-nav__list li a:hover {
  color: #fec6e3;
}

/* 最後の「お問い合わせ」だけボタン風（ヘッダーと同じ雰囲気） */
.footer-nav__list li:last-child a {
  padding: 6px 18px;
  border-radius: 999px;
  background-color: #92a6ff;
  color: #fff;
  box-shadow: 0 4px 14px rgba(146, 166, 255, 0.5);
}

.footer-nav__list li:last-child a:hover {
  background-color: #7d92f5;
}

/* コピーライト */
.footer-copy {
  margin: 0 auto;
  color: #666;
  font-size: 0.8rem;
}
/* =========================
   フッター SP 余白調整
========================= */
@media (max-width: 767px) {
  .site-footer {
    padding: 20px 0 28px;
  }

  .footer-inner {
    align-items: center; /* スマホでは中央寄せ */
    gap: 10px;
  }
}

/* =========================
   トップに戻るボタン
========================= */

.page-top {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 900;

  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;

  background: linear-gradient(135deg, #92a6ff, #fec6e3);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.08em;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);

  cursor: pointer;

  /* 最初は非表示 */
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;

  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-top__arrow {
  transform: translateY(-1px);
}

/* 表示状態 */
.page-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.page-top:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

/* スマホ調整 */
@media (max-width: 767px) {
  .page-top {
    right: 16px;
    bottom: 20px;
    width: 46px;
    height: 46px;
    font-size: 0.7rem;
  }
}
