@charset "UTF-8";

/* ==========================================================
   株式会社Willow ホームページ制作LP
   Figmaデザイン「HPチラシ-アウトライン」を再現
   ========================================================== */

/* ---------- 変数 ---------- */
:root {
  --navy: #002058;        /* メインカラー（紺） */
  --orange: #f95b00;      /* アクセント（オレンジ） */
  --marker: #fddf07;      /* 蛍光マーカー（黄） */
  --badge-yellow: #fee991;/* 無料バッジの円（淡黄） */
  --line-green: #06c755;  /* LINEグリーン */
  --link-yellow: #fbbb10; /* 「コチラから！」の黄 */
  --gray-box: #f5f5f5;    /* お悩みボックスの背景 */
  --pale-blue: #e8f2fc;   /* 淡い水色の帯 */
  --pale-warn: #fff2e8;   /* 注意喚起セクションの帯（淡いオレンジ） */
  --footer-navy: #001536; /* フッターの濃紺 */
  --content-width: 1440px;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

ul {
  list-style: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* 追従ヘッダーの高さ分 */
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-weight: 500;
  color: var(--navy);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* セクション共通の内側幅 */
.hero__inner,
.solution__inner,
.services__inner,
.voices__inner,
.faq__inner,
.company__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================
   サイトヘッダー
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0, 32, 88, 0.1);
}

.site-header__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 1.9vw, 23px);
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-header__logo-img {
  width: clamp(36px, 3.4vw, 46px);
  height: auto;
  flex-shrink: 0;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  margin-left: auto;
}

.site-header__nav a:not(.site-header__cta) {
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s;
}

.site-header__nav a:not(.site-header__cta):hover {
  color: var(--orange);
}

.site-header__cta {
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 700;
  white-space: nowrap;
  padding: 10px clamp(14px, 2vw, 24px);
  border-radius: 999px;
  transition: opacity 0.2s;
}

.site-header__cta:hover {
  opacity: 0.85;
}

/* ハンバーガーボタン（PCでは非表示。タブレット以下のスタイルはメディアクエリ内） */
.site-header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}

.site-header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* メニューを開いているときは3本線を×印に変形させる */
.site-header__menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.site-header__menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- セクションタイトル（左右に罫線） ---------- */
.section-title {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  white-space: nowrap;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--navy);
}

.section-title em {
  font-style: normal;
  color: var(--orange);
}

/* 濃色背景セクション用のタイトル */
.section-title--light {
  color: #fff;
}

.section-title--light::before,
.section-title--light::after {
  background: rgba(255, 255, 255, 0.6);
}

/* ---------- CTAボタン共通 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.btn--form {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(249, 91, 0, 0.4);
}

.btn--line {
  background: var(--line-green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.4);
}

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

/* 蛍光マーカー共通 */
mark {
  background: linear-gradient(transparent 55%, var(--marker) 55%);
  color: inherit;
  font-weight: inherit;
}

/* ==========================================================
   ファーストビュー
   ========================================================== */
.hero {
  position: relative;
  padding: clamp(36px, 5.4vw, 64px) 0 clamp(56px, 7vw, 104px);
  background: var(--pale-blue);
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.hero__content {
  flex: 0 1 780px;
  min-width: 0;
  padding-bottom: 8px;
  position: relative;
  z-index: 1;
}

/* リボン（左下に吹き出しの三角付き） */
.hero__ribbon {
  position: relative;
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: clamp(15px, 1.9vw, 22px);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 10px 24px 10px 26px;
}

.hero__ribbon::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: -12px;
  border: 6px solid transparent;
  border-top: 13px solid var(--navy);
  border-bottom: 0;
}

.hero__title {
  margin-top: clamp(24px, 3.4vw, 40px);
  font-size: clamp(30px, 5.2vw, 72px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0.02em;
}

.hero__title em {
  font-style: normal;
  color: var(--orange);
}

.hero__lead {
  margin-top: clamp(20px, 2.6vw, 32px);
  font-size: clamp(16px, 1.9vw, 22px);
  font-weight: 700;
  line-height: 1.8;
}


/* 3つの強みバッジ */
.hero__badges {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.5vw, 18px);
  margin-top: clamp(24px, 3.4vw, 44px);
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__badge img {
  width: clamp(52px, 4.6vw, 76px);
  height: auto;
  flex-shrink: 0;
}

.hero__badge span {
  font-size: clamp(14px, 1.3vw, 19px);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

/* ヒーロー内CTAボタン */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(24px, 3vw, 40px);
}

.hero__cta .btn {
  padding: clamp(15px, 1.7vw, 20px) clamp(28px, 3.4vw, 52px);
  font-size: clamp(16px, 1.7vw, 22px);
}

/* メインビジュアル（セクション背景として右側に配置し、左端をなじませる） */
.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46vw;
  max-width: 940px;
  overflow: hidden;
}

.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--pale-blue) 0%, rgba(232, 242, 252, 0) 30%);
}

/* ==========================================================
   お悩み → 解決
   ========================================================== */
.solution {
  padding: clamp(48px, 6vw, 88px) 0;
  background: #fff;
}

.solution__inner {
  display: flex;
  align-items: stretch;
  gap: clamp(12px, 1.8vw, 24px);
}

/* お悩みボックス */
.problems {
  position: relative;
  flex: 0 1 470px;
  min-width: 280px;
  background: var(--gray-box);
  border-radius: 10px;
  margin-top: 22px; /* 重なるタイトル分の余白 */
  padding: clamp(40px, 4.6vw, 56px) clamp(28px, 3.4vw, 48px) clamp(24px, 3vw, 36px);
}

.problems__title {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  padding: 9px 28px;
  border-radius: 999px;
}

.problems__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 700;
  padding: 14px 2px;
}

.problems__list li + li {
  border-top: 1px solid var(--navy);
}

.check {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}

/* 矢印（右向きの細長い三角） */
.solution__arrow {
  align-self: center;
  width: clamp(22px, 2.4vw, 34px);
  height: clamp(120px, 16vw, 200px);
  background: var(--navy);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  flex-shrink: 0;
}

/* 解決テキスト */
.solution__answer {
  flex: 1 1 auto;
  align-self: center;
  padding: 12px 0;
}

.solution__catch {
  font-size: clamp(27px, 3.2vw, 50px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.solution__catch em {
  font-style: normal;
  color: var(--orange);
}

.solution__text {
  margin-top: clamp(16px, 2.4vw, 28px);
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 700;
  line-height: 1.8;
}

/* スタッフ写真（左端を白グラデーションでなじませる） */
.solution__photo {
  position: relative;
  flex: 0 0 clamp(170px, 21vw, 300px);
  border-radius: 10px;
  overflow: hidden;
}

.solution__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 38%);
}

/* ==========================================================
   私たちのサービス（紺帯＋白カード2列）
   ========================================================== */
.services {
  padding: clamp(48px, 6vw, 88px) 0;
  background: var(--navy);
}

.services__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.6vw, 36px);
  max-width: 1160px;
  margin: clamp(28px, 3.6vw, 48px) auto 0;
}

.services__item {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  padding: clamp(20px, 2.4vw, 32px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.services__icon {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.services__item h3 {
  margin-top: clamp(16px, 1.8vw, 24px);
  font-size: clamp(19px, 2.1vw, 27px);
  font-weight: 700;
  white-space: nowrap;
}

.services__item p {
  margin-top: 10px;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.7;
}

/* ==========================================================
   Before / After
   ========================================================== */
.beforeafter {
  padding: clamp(48px, 6vw, 88px) 0;
  background: #fff;
}

.beforeafter__pair {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(28px, 3.6vw, 44px);
}

.beforeafter__item {
  margin: 0;
}

.beforeafter__label {
  display: inline-block;
  color: #fff;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 24px;
  border-radius: 6px 6px 0 0;
}

.beforeafter__label--before {
  background: #6e6c6c;
}

.beforeafter__label--after {
  background: var(--navy);
}

.beforeafter__item img {
  display: block;
  width: clamp(240px, 32vw, 440px);
  border-radius: 0 10px 10px 10px;
}

.beforeafter__arrow {
  width: clamp(20px, 2.4vw, 30px);
  height: clamp(36px, 4.5vw, 56px);
  background: var(--navy);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  flex-shrink: 0;
}

.beforeafter__note {
  margin-top: 14px;
  text-align: center;
  font-size: clamp(10px, 1.1vw, 12px);
  color: #777;
}

/* ==========================================================
   ご利用の流れ
   ========================================================== */
.voices {
  padding: clamp(48px, 6vw, 88px) 0;
  background: var(--pale-blue);
}

.voices__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(28px, 3.6vw, 44px);
}

.voices__item {
  padding: 4px clamp(14px, 2.2vw, 28px);
}

.voices__item + .voices__item {
  border-left: 1px solid var(--navy);
}

.voices__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.voices__icon {
  width: clamp(64px, 7.4vw, 96px);
  height: auto;
  border-radius: 50%;
  flex-shrink: 0;
}

.voices__name {
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.5;
}

.voices__comment {
  margin-top: 14px;
  font-size: clamp(15px, 1.7vw, 19px);
  font-weight: 500;
  line-height: 1.9;
}

/* ==========================================================
   2027年エアコン問題
   ========================================================== */
.notice {
  padding: clamp(48px, 6vw, 88px) 0;
  background: var(--pale-warn);
}

.notice__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.notice__box {
  max-width: 1080px;
  margin: clamp(28px, 3.6vw, 44px) auto 0;
  background: #fff;
  border: 2px solid var(--orange);
  border-radius: 10px;
  padding: clamp(24px, 3.2vw, 40px) clamp(20px, 3vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  text-align: left;
}

.notice__texts {
  flex: 1;
  min-width: 0;
}

.notice__img {
  flex-shrink: 0;
  width: clamp(220px, 26vw, 340px);
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
}

.notice__text {
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 500;
  line-height: 2;
}

.notice__text + .notice__text {
  margin-top: 6px;
}

.notice__text strong {
  color: var(--orange);
}

/* ==========================================================
   よくある質問
   ========================================================== */
.faq {
  padding: clamp(48px, 6vw, 88px) 0;
  background: #fff;
}

.faq__list {
  max-width: 960px;
  margin: clamp(28px, 3.6vw, 48px) auto 0;
  display: grid;
  gap: 16px;
}

.faq__item {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 4px clamp(18px, 2.4vw, 28px);
}

.faq__item summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px 18px 0;
  font-size: clamp(16px, 1.7vw, 20px);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "＋";
  position: absolute;
  right: 4px;
  color: var(--orange);
  font-size: 24px;
  font-weight: 700;
}

.faq__item[open] summary::after {
  content: "－";
}

.faq__q,
.faq__a-mark {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  font-size: 17px;
}

.faq__q {
  background: var(--navy);
}

.faq__a-mark {
  background: var(--orange);
}

.faq__a {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 2px 0 20px;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.9;
}

/* ==========================================================
   会社概要
   ========================================================== */
.company {
  padding: clamp(48px, 6vw, 88px) 0;
  background: var(--pale-blue);
}

.company__box {
  max-width: 1100px;
  margin: clamp(28px, 3.6vw, 48px) auto 0;
  background: #fff;
  border-radius: 16px;
  padding: clamp(24px, 3.4vw, 48px);
  box-shadow: 0 10px 28px rgba(0, 32, 88, 0.12);
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3.2vw, 48px);
}

/* 代表者プロフィール */
.company__rep {
  flex-shrink: 0;
  align-self: center;
  width: clamp(180px, 18vw, 230px);
  margin: 0;
  text-align: center;
}

.company__rep-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}

.company__rep-caption {
  margin-top: 12px;
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 700;
}

.company__rep-title {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 10px;
  border-radius: 4px;
  margin-right: 10px;
  vertical-align: 2px;
}

.company__table {
  flex: 1;
  min-width: 0;
  border-collapse: collapse;
  width: 100%;
}

.company__table th,
.company__table td {
  text-align: left;
  padding: 16px 8px;
  border-bottom: 1px solid #dbe4ee;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.7;
  vertical-align: top;
}

.company__table tr:first-child th,
.company__table tr:first-child td {
  border-top: 1px solid #dbe4ee;
}

.company__table th {
  width: 8.5em;
  font-weight: 700;
  white-space: nowrap;
}

/* ==========================================================
   公式LINEで相談
   ========================================================== */
.line {
  padding: clamp(48px, 6vw, 88px) 0;
  background: #fff;
}

.line__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.line__box {
  max-width: 720px;
  margin: clamp(28px, 3.6vw, 44px) auto 0;
  background: #f2fcf6;
  border: 2px solid var(--line-green);
  border-radius: 16px;
  padding: clamp(28px, 3.6vw, 48px);
  text-align: center;
}

.line__icon {
  width: clamp(48px, 5vw, 60px);
  height: auto;
}

.line__note {
  margin-top: 12px;
  color: var(--line-green);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.line__text {
  margin-top: 8px;
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 500;
}

.line__qr {
  width: clamp(150px, 16vw, 190px);
  height: auto;
  margin-top: 20px;
}

.line__btn {
  display: flex;
  width: min(100%, 320px);
  margin: 24px auto 0;
  padding: 15px 24px;
  font-size: clamp(15px, 1.6vw, 18px);
}

/* ==========================================================
   お問い合わせフォーム（紺帯＋白カード）
   ========================================================== */
.form {
  padding: clamp(48px, 6vw, 88px) 0;
  background: var(--navy);
}

.form__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.form__lead {
  margin-top: clamp(16px, 2vw, 24px);
  text-align: center;
  color: #fff;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
}

.form__box {
  max-width: 720px;
  margin: clamp(28px, 3.6vw, 44px) auto 0;
  background: #fff;
  border-radius: 16px;
  padding: clamp(24px, 3.4vw, 48px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.form__field + .form__field {
  margin-top: 20px;
}

.form__field label {
  display: block;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
  margin-bottom: 8px;
}

.form__required {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: 1px;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--navy);
  background: #f7f9fc;
  border: 1px solid #c9d4e2;
  border-radius: 8px;
  padding: 12px 14px;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 0;
  border-color: var(--orange);
  background: #fff;
}

.form__field textarea {
  resize: vertical;
}

.form__submit {
  display: flex;
  width: min(100%, 340px);
  margin: 28px auto 0;
  padding: 18px 24px;
  font-size: 19px;
}

/* ハニーポット（ボット対策）: 画面には表示しない */
.form__hp {
  display: none;
}

/* ==========================================================
   追従CTA
   ========================================================== */
.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sticky-cta .btn {
  padding: 15px 28px;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ==========================================================
   サイトフッター
   ========================================================== */
.site-footer {
  background: var(--footer-navy);
  color: #fff;
}

.site-footer__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 36px 24px 28px;
  text-align: center;
}

.site-footer__logo-img {
  display: block;
  width: 60px;
  height: auto;
  margin: 0 auto 12px;
}

.site-footer__logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-footer__addr {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.85;
}

.site-footer__copy {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.7;
}

/* ==========================================================
   レスポンシブ
   ========================================================== */

/* タブレット */
@media (max-width: 960px) {

  /* ヘッダーはハンバーガーメニューに切り替え */
  .site-header__menu-btn {
    display: flex;
  }

  /* ナビはヘッダー直下に垂れ下がるドロワーにする（.is-open で表示）
     display の切り替えではアニメーションできないため、max-height と透明度で開閉する */
  .site-header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    background: #fff;
    padding: 4px 24px 24px;
    box-shadow: 0 16px 24px rgba(0, 32, 88, 0.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.35s;
  }

  .site-header__nav.is-open {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
  }

  .site-header__nav a:not(.site-header__cta) {
    padding: 16px 4px;
    border-bottom: 1px solid #e3eaf3;
    font-size: 16px;
  }

  .site-header__nav .site-header__cta {
    margin-top: 20px;
    text-align: center;
    padding: 14px;
  }

  /* バッジは折り返しを許可 */
  .hero__badges {
    flex-wrap: wrap;
  }

  /* お悩み→解決を縦積みにし、矢印は下向きに */
  .solution__inner {
    flex-direction: column;
    align-items: center;
  }

  .problems {
    flex-basis: auto;
    width: 100%;
    max-width: 560px;
  }

  .solution__arrow {
    width: clamp(120px, 20vw, 180px);
    height: clamp(24px, 4vw, 36px);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }

  .solution__answer {
    text-align: center;
  }

  .solution__photo {
    flex-basis: auto;
    width: min(100%, 420px);
    height: 260px;
  }

  .solution__photo::after {
    background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 30%);
  }

  /* ご利用の流れは2列 */
  .voices__list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .voices__item:nth-child(odd) {
    border-left: none;
  }
}

/* スマートフォン */
@media (max-width: 680px) {

  /* 追従CTA分の余白を確保 */
  body {
    padding-bottom: 64px;
  }

  .hero__inner {
    flex-direction: column;
  }

  .hero__content {
    flex: none;
  }

  .hero__photo {
    position: relative;
    inset: auto;
    flex: none;
    width: 100%;
    max-width: none;
    height: 280px;
    min-height: 0;
    border-radius: 12px;
  }

  .hero__photo::after {
    background: linear-gradient(to bottom, var(--pale-blue) 0%, rgba(232, 242, 252, 0) 22%);
  }

  .hero__badges {
    flex-direction: column;
    gap: 12px;
  }

  .hero__badge span br {
    display: none;
  }

  /* 長いセクションタイトルの折り返し防止 */
  .section-title {
    font-size: 18px;
    gap: 16px;
  }

  /* Before/Afterは小さめに横並びを維持 */
  .beforeafter__pair {
    gap: 12px;
  }

  .beforeafter__item img {
    width: 36vw;
  }

  .beforeafter__arrow {
    width: 16px;
    height: 30px;
  }

  .notice .section-title {
    font-size: clamp(13px, 4.2vw, 16px);
  }

  /* 2027年問題ボックスは縦積み */
  .notice__box {
    flex-direction: column;
  }

  .notice__img {
    width: 100%;
  }

  /* ご利用の流れは1列 */
  .voices__list {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .voices__item + .voices__item {
    border-left: none;
    border-top: 1px solid var(--navy);
    padding-top: 28px;
  }

  /* 会社概要は縦積み */
  .company__box {
    flex-direction: column;
    align-items: stretch;
  }

  .company__rep {
    width: min(60%, 220px);
    margin: 0 auto;
  }

  /* サービスは1列 */
  .services__list {
    grid-template-columns: 1fr;
  }

  /* ヒーローCTAは縦積みで全幅 */
  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    width: 100%;
  }

  /* 追従CTAは画面下部の全幅バー */
  .sticky-cta {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    gap: 0;
  }

  .sticky-cta .btn {
    flex: 1;
    border-radius: 0;
    padding: 16px 8px;
    font-size: 14px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  }
}
