@charset "UTF-8";
/* ==========================================================================
   common.css
   ビューティーハウス コーポレートサイト / 全ページ共通スタイル

   1.  デザイントークン
   2.  ベース / リセット
   3.  レイアウトユーティリティ
   4.  ローダー
   5.  ヘッダー / ドロワー
   6.  共通コンポーネント
   7.  下層ページ共通パーツ
   8.  CTA / フッター / 追従バー
   9.  モーション
   10. レスポンシブ
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. デザイントークン
   沖縄の海（淡いブルー〜ターコイズ）を基調に、赤瓦のテラコッタをアクセント。
   ロゴカラー #4169e1 をブランドの基準色として全体を構成する。
   -------------------------------------------------------------------------- */
:root {
  /* Brand / Sea */
  --c-brand: #4169e1;
  --c-brand-dark: #2d4fbe;
  --c-brand-deep: #16295e;
  --c-sea: #29b0e0;
  --c-sea-light: #7ed3ef;
  --c-sea-pale: #e3ebfd;
  --c-sea-mist: #eff4fe;
  --c-sky: #f6f9ff;

  /* Accent / 赤瓦 */
  --c-tile: #cf5d38;
  --c-tile-dark: #a8452a;
  --c-tile-light: #ef9f74;
  --c-tile-pale: #fbeee8;

  /* Sand / 砂浜 */
  --c-sand: #faf4ea;

  /* Text */
  --c-ink: #10203f;
  --c-ink-mid: #45557a;
  --c-ink-soft: #7583a0;

  /* Base */
  --c-white: #ffffff;
  --c-line: #e3e9f6;
  --c-line-soft: #f0f4fc;
  --c-bg-soft: #f5f8fd;

  /* Gradient */
  --g-sea: linear-gradient(135deg, #2fc2e6 0%, #3d84e4 52%, #4169e1 100%);
  --g-sea-deep: linear-gradient(150deg, #3d84e4 0%, #4169e1 55%, #2d4fbe 100%);
  --g-sea-soft: linear-gradient(135deg, #eff5ff 0%, #e3ebfd 100%);
  --g-sunset: linear-gradient(135deg, #f0a878 0%, #cf5d38 100%);

  /* Shadow */
  --sh-sm: 0 2px 12px rgba(16, 32, 63, 0.05);
  --sh-md: 0 12px 34px rgba(16, 32, 63, 0.08);
  --sh-lg: 0 28px 68px rgba(16, 32, 63, 0.13);
  --sh-brand: 0 14px 32px rgba(65, 105, 225, 0.26);
  --sh-tile: 0 14px 32px rgba(168, 69, 42, 0.24);

  /* Layout */
  --w-max: 1180px;
  --w-wide: 1400px;
  --w-read: 860px;
  --pad-x: clamp(20px, 5vw, 48px);
  --header-h: 88px;
  --radius-l: 30px;
  --radius-m: 18px;
  --radius-s: 10px;

  /* Font */
  --f-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --f-en: "Jost", "Noto Sans JP", sans-serif;
  --f-mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. ベース / リセット
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-ja);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--c-ink);
  background: var(--c-white);
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4, h5, p, figure, ul, ol, dl, dd, blockquote {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  text-wrap: balance;
}

ul, ol {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

table {
  border-collapse: collapse;
  width: 100%;
}

::selection {
  background: var(--c-sea-pale);
  color: var(--c-brand-dark);
}

:focus-visible {
  outline: 3px solid var(--c-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* スキップリンク */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 12px 22px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-white);
  background: var(--c-brand);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}

.skip-link:focus-visible {
  transform: none;
}

/* --------------------------------------------------------------------------
   3. レイアウトユーティリティ
   -------------------------------------------------------------------------- */
.l-inner {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.l-inner--wide {
  max-width: var(--w-wide);
}

.l-section {
  padding-block: clamp(68px, 9.5vw, 136px);
}

.l-section--soft {
  background: var(--c-bg-soft);
}

.l-section--sand {
  background: var(--c-sand);
}

.u-center { text-align: center; }
.u-read { max-width: var(--w-read); }
.u-sp-only { display: none; }

/* セクション区切りの波 */
.divider {
  position: relative;
  line-height: 0;
  pointer-events: none;
}

.divider svg {
  display: block;
  width: 100%;
  height: clamp(38px, 5vw, 68px);
}

/* 赤瓦のパターン（アクセント帯） */
.tile-pattern {
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.22) 0 1px,
      transparent 1px 26px),
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, 0.16) 0 1px,
      transparent 1px 14px);
}

/* --------------------------------------------------------------------------
   4. ローダー（ロゴ配置エリア）
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--c-white);
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 44px;
}

.loader__logo {
  width: clamp(150px, 34vw, 208px);
  animation: loaderLogo 1.2s var(--ease) both;
}

@keyframes loaderLogo {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}

.loader__name {
  font-family: var(--f-en);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  color: var(--c-ink-soft);
  text-indent: 0.42em;
  animation: loaderLogo 1.2s 0.15s var(--ease) both;
}

.loader__bar {
  position: relative;
  width: 128px;
  height: 2px;
  overflow: hidden;
  background: var(--c-sea-pale);
  border-radius: 2px;
}

.loader__bar span {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--g-sea);
  transform: translateX(-100%);
  animation: loaderBar 1.5s var(--ease) infinite;
}

@keyframes loaderBar {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.loader__wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 34vh;
  min-height: 180px;
  overflow: hidden;
  pointer-events: none;
}

.loader__wave svg {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 200%;
  height: 100%;
  animation: loaderWave 9s linear infinite;
}

@keyframes loaderWave {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   5. ヘッダー（ロゴ配置エリア）
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: height 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header.is-scrolled {
  height: 68px;
  border-bottom-color: var(--c-line);
  box-shadow: 0 2px 20px rgba(16, 32, 63, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  height: 100%;
  max-width: var(--w-wide);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo img {
  width: auto;
  height: 40px;
  transition: height 0.4s var(--ease);
}

.header.is-scrolled .header__logo img {
  height: 32px;
}

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

.header__logo-ja {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}

.header__logo-en {
  font-family: var(--f-en);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--c-ink-soft);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
  margin-left: auto;
}

.header__nav a {
  position: relative;
  font-size: 1.4rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--c-ink);
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--c-sea);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.header__nav a:hover,
.header__nav a[aria-current="page"] {
  color: var(--c-brand);
}

.header__nav a:hover::after,
.header__nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ヘッダー右側のアクション */
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: clamp(10px, 1.6vw, 24px);
}

.header__tel {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-right: 4px;
}

.header__tel-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--c-brand);
  background: var(--c-sea-pale);
  border-radius: 50%;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.header__tel-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header__tel:hover .header__tel-icon {
  color: var(--c-white);
  background: var(--c-brand);
}

.header__tel-body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.header__tel-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-ink-soft);
}

.header__tel-num {
  font-family: var(--f-en);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-brand-dark);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 8px 0 22px;
  font-size: 1.4rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--c-white);
  background: var(--g-sea);
  border-radius: 999px;
  box-shadow: var(--sh-brand);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(65, 105, 225, 0.34);
}

.header__cta-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.header__cta-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ハンバーガー */
.header__burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  margin-left: auto;
}

.header__burger span {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}

.header__burger span:nth-child(1) { top: 17px; }
.header__burger span:nth-child(2) { top: 23px; }
.header__burger span:nth-child(3) { top: 29px; }

.header__burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ドロワー */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 890;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 16px) var(--pad-x) 40px;
  background: var(--g-sea-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease), transform 0.45s var(--ease);
  overflow-y: auto;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.drawer__list {
  display: grid;
  gap: 2px;
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
}

.drawer__list a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(65, 105, 225, 0.14);
}

.drawer__en {
  font-family: var(--f-en);
  font-size: 2.1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--c-brand);
}

.drawer__ja {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--c-ink-mid);
}

.drawer__contact {
  max-width: 520px;
  width: 100%;
  margin: 28px auto 0;
  display: grid;
  gap: 12px;
}

.drawer__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  font-family: var(--f-en);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--c-brand);
  background: var(--c-white);
  border-radius: 999px;
  box-shadow: var(--sh-sm);
}

/* --------------------------------------------------------------------------
   6. 共通コンポーネント
   -------------------------------------------------------------------------- */

/* 6-1. ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 0 10px 0 32px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-ink);
  background: var(--c-white);
  border-radius: 999px;
  box-shadow: var(--sh-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.btn__icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}

.btn:hover .btn__icon {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: var(--c-white);
}

.btn:hover .btn__icon svg {
  transform: translateX(2px);
}

.btn--fill {
  color: var(--c-white);
  background: var(--g-sea);
  box-shadow: var(--sh-brand);
}

.btn--fill .btn__icon { border-color: rgba(255, 255, 255, 0.42); }

.btn--fill:hover .btn__icon {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-brand);
}

.btn--tile {
  color: var(--c-white);
  background: var(--g-sunset);
  box-shadow: var(--sh-tile);
}

.btn--tile .btn__icon { border-color: rgba(255, 255, 255, 0.42); }

.btn--tile:hover .btn__icon {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-tile-dark);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--c-line);
  box-shadow: none;
}

.btn--sm {
  min-height: 52px;
  padding: 0 8px 0 24px;
  font-size: 1.4rem;
}

.btn--sm .btn__icon {
  width: 36px;
  height: 36px;
}

/* 矢印付きテキストリンク */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-brand);
}

.link-arrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.link-arrow:hover::after {
  width: 32px;
}

/* 6-2. セクション見出し */
.sec-head__en {
  display: block;
  font-family: var(--f-en);
  font-size: clamp(3.4rem, 5.4vw, 5.6rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--c-brand);
}

.sec-head__ja {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-ink-mid);
}

.sec-head__ja::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c-sea-light);
}

.sec-head--light .sec-head__en { color: var(--c-white); }
.sec-head--light .sec-head__ja { color: rgba(255, 255, 255, 0.88); }
.sec-head--light .sec-head__ja::before { background: rgba(255, 255, 255, 0.7); }

.sec-head--tile .sec-head__en { color: var(--c-tile); }
.sec-head--tile .sec-head__ja::before { background: var(--c-tile-light); }

.sec-head--center {
  text-align: center;
}

.sec-head--center .sec-head__ja {
  justify-content: center;
}

.sec-lead {
  font-size: clamp(1.8rem, 2.3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.95;
  letter-spacing: 0.02em;
}

.sec-text {
  color: var(--c-ink-mid);
  line-height: 2.1;
}

/* 2カラムのセクション見出し（左：英字／右：リード） */
.sec-split {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) 1.5fr;
  gap: clamp(18px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 64px);
}

/* 6-3. 背景装飾テキスト */
.deco-text {
  font-family: var(--f-en);
  font-size: clamp(6rem, 13vw, 15rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
  color: rgba(41, 176, 224, 0.085);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.deco-band {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding-block: clamp(6px, 1.6vw, 18px);
}

/* 6-4. タグ・ピル */
.pill {
  display: inline-block;
  padding: 5px 16px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-brand);
  background: var(--c-sea-pale);
  border-radius: 999px;
}

.pill--tile {
  color: var(--c-tile-dark);
  background: var(--c-tile-pale);
}

/* 6-5. 数値バッジ */
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--f-en);
  font-size: clamp(3.4rem, 4.6vw, 4.6rem);
  font-weight: 300;
  line-height: 1;
  color: var(--c-brand);
}

.stat__unit {
  font-family: var(--f-ja);
  font-size: 1.3rem;
  font-weight: 700;
}

.stat__label {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
}

/* --------------------------------------------------------------------------
   7. 下層ページ共通パーツ
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(52px, 8vw, 104px));
  padding-bottom: clamp(56px, 8vw, 100px);
  overflow: hidden;
  background: var(--g-sea-soft);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::before {
  top: -150px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 30% 30%, rgba(126, 211, 239, 0.5), rgba(126, 211, 239, 0) 70%);
}

.page-hero::after {
  bottom: -170px;
  left: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 60% 40%, rgba(207, 93, 56, 0.16), rgba(207, 93, 56, 0) 70%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
}

.page-hero__en {
  font-family: var(--f-en);
  font-size: clamp(4.4rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 1.02;
  color: var(--c-brand);
}

.page-hero__ja {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-size: clamp(1.4rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--c-ink-mid);
}

.page-hero__ja::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--c-sea-light);
}

.page-hero__desc {
  max-width: 640px;
  margin-top: 18px;
  font-size: 1.5rem;
  line-height: 2.05;
  color: var(--c-ink-mid);
}

.page-hero__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  pointer-events: none;
}

.page-hero__wave svg {
  width: 100%;
  height: clamp(40px, 6vw, 78px);
  display: block;
}

/* パンくず */
.breadcrumb {
  padding-block: 18px;
  border-bottom: 1px solid var(--c-line);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  color: var(--c-ink-soft);
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--c-line);
}

.breadcrumb a:hover {
  color: var(--c-brand);
}

/* 緊急対応バンド */
.emergency {
  position: relative;
  overflow: hidden;
  color: var(--c-white);
  background: linear-gradient(120deg, #cf5d38 0%, #b64d2d 58%, #9c3f24 100%);
}

.emergency__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  padding-block: clamp(26px, 3.6vw, 42px);
}

.emergency__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-tile-dark);
  background: var(--c-white);
  border-radius: 999px;
}

.emergency__title {
  margin-top: 12px;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.6;
}

.emergency__text {
  margin-top: 8px;
  font-size: 1.38rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.92);
}

.emergency__tel {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: clamp(16px, 2vw, 22px) clamp(22px, 3vw, 34px);
  text-align: center;
  background: var(--c-white);
  border-radius: var(--radius-m);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  transition: transform 0.3s var(--ease);
}

.emergency__tel:hover {
  transform: translateY(-3px);
}

.emergency__tel-label {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--c-ink-soft);
}

.emergency__tel-num {
  font-family: var(--f-en);
  font-size: clamp(2.6rem, 3.4vw, 3.2rem);
  font-weight: 500;
  color: var(--c-tile-dark);
}

.emergency__deco {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   8. CTA / フッター / 追従バー
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  padding-block: clamp(60px, 8vw, 112px);
  overflow: hidden;
  background: var(--c-bg-soft);
}

.cta__head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.cta__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}

.cta__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 236px;
  padding: 44px 24px;
  overflow: hidden;
  text-align: center;
  background: var(--c-white);
  border-radius: var(--radius-l);
  box-shadow: var(--sh-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.cta__card::before {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 90%;
  background: radial-gradient(circle at 50% 100%, rgba(41, 176, 224, 0.12), rgba(41, 176, 224, 0) 70%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}

.cta__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.cta__card:hover::before {
  opacity: 1;
}

.cta__en {
  position: relative;
  font-family: var(--f-en);
  font-size: clamp(3rem, 4.6vw, 4.6rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--c-brand);
}

.cta__ja {
  position: relative;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-ink-mid);
}

.cta__note {
  position: relative;
  margin-top: 10px;
  font-size: 1.3rem;
  color: var(--c-ink-soft);
}

.cta__icon {
  position: absolute;
  top: 50%;
  right: clamp(20px, 4vw, 46px);
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.cta__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta__card:hover .cta__icon {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: var(--c-white);
}

/* 連絡先バー */
.contact-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 22px);
  margin-top: clamp(24px, 4vw, 40px);
}

.contact-bar__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-m);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-bar__item:hover {
  border-color: var(--c-sea-light);
  box-shadow: var(--sh-md);
}

.contact-bar__label {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--c-ink-soft);
}

.contact-bar__value {
  font-family: var(--f-en);
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 500;
  color: var(--c-brand);
  word-break: break-all;
}

.contact-bar__note {
  font-size: 1.2rem;
  color: var(--c-ink-soft);
}

/* フッター（ロゴ配置エリア） */
.footer {
  position: relative;
  padding-top: clamp(60px, 7.5vw, 96px);
  padding-bottom: 28px;
  color: var(--c-white);
  background: linear-gradient(160deg, #3d84e4 0%, #4169e1 58%, #2d4fbe 100%);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -60px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 68%);
  border-radius: 50%;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: clamp(36px, 6vw, 76px);
}

.footer__brand {
  display: grid;
  gap: 20px;
  align-content: start;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  padding: 14px 22px;
  background: var(--c-white);
  border-radius: var(--radius-m);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
}

.footer__logo img {
  width: auto;
  height: 40px;
}

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

.footer__logo-ja {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-ink);
}

.footer__logo-en {
  font-family: var(--f-en);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--c-ink-soft);
}

.footer__info {
  font-size: 1.4rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
}

.footer__info p {
  display: flex;
  flex-wrap: wrap;
  gap: 0 12px;
}

.footer__info-label {
  flex-shrink: 0;
  min-width: 5em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-size: 1.4rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.footer__contact a svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer__contact a:hover {
  color: var(--c-brand);
  background: var(--c-white);
}

.footer__navs {
  display: grid;
  grid-template-columns: auto auto;
  gap: 26px clamp(24px, 4vw, 60px);
  align-content: start;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 180px));
  gap: 24px clamp(20px, 3vw, 44px);
  align-content: start;
}

.footer__nav a {
  display: block;
}

.footer__nav-en,
.footer__nav-ja {
  display: block;
}

.footer__nav-en {
  font-family: var(--f-en);
  font-size: 2.3rem;
  font-weight: 300;
  line-height: 1.15;
  color: var(--c-white);
  transition: opacity 0.3s var(--ease);
}

.footer__nav-ja {
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.78);
}

.footer__nav a:hover .footer__nav-en {
  opacity: 0.66;
}

.footer__sub {
  align-content: start;
}

.footer__sub-title {
  font-family: var(--f-en);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.72);
}

.footer__sub-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.footer__sub-list a {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.94);
}

.footer__sub-list a:hover {
  opacity: 0.7;
}

.footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(40px, 6vw, 68px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.82);
}

.footer__area {
  max-width: 640px;
  line-height: 1.9;
}

.footer__meta {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
}

.footer__policy {
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.footer__policy:hover {
  opacity: 0.7;
}

/* ページトップ */
.pagetop {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2vw, 28px);
  z-index: 800;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--c-white);
  background: var(--g-sea);
  border-radius: 50%;
  box-shadow: var(--sh-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease);
}

.pagetop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.pagetop svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* スマートフォン追従バー */
.floatbar {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 850;
  display: none;
  width: 100%;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-line);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}

.floatbar.is-visible {
  transform: none;
}

.floatbar__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.floatbar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--c-white);
  border-radius: 999px;
}

.floatbar__btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floatbar__btn--mail {
  background: var(--g-sea);
  box-shadow: 0 6px 16px rgba(65, 105, 225, 0.28);
}

.floatbar__btn--tel {
  background: var(--g-sunset);
  box-shadow: 0 6px 16px rgba(168, 69, 42, 0.26);
}

/* --------------------------------------------------------------------------
   9. モーション
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal--d1 { transition-delay: 0.09s; }
.reveal--d2 { transition-delay: 0.18s; }
.reveal--d3 { transition-delay: 0.27s; }
.reveal--d4 { transition-delay: 0.36s; }

/* 見出しのマスク表示 */
.reveal-mask {
  display: block;
  overflow: hidden;
}

.reveal-mask > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1s var(--ease-out);
}

.reveal-mask.is-visible > span {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .reveal-mask > span { transform: none; }
}

/* --------------------------------------------------------------------------
   10. レスポンシブ
   -------------------------------------------------------------------------- */
/* ページトップボタンと著作権表記が重ならないようにする */
@media (min-width: 769px) {
  .footer__bottom {
    padding-right: 68px;
  }
}

@media (max-width: 1240px) {
  .header__tel-label { display: none; }
  .header__tel-num { font-size: 1.6rem; }
}

@media (max-width: 1140px) {
  .header__nav { display: none; }
  .header__actions { margin-left: auto; }
  .header__burger { display: block; margin-left: 4px; }
  .header__cta { height: 44px; padding: 0 6px 0 18px; font-size: 1.3rem; }
  .header__cta-icon { width: 30px; height: 30px; }
}

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__navs { grid-template-columns: 1fr; gap: 30px; }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__nav-en { font-size: 2rem; }
  .emergency__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 66px;
    --radius-l: 22px;
  }

  body {
    font-size: 1.5rem;
    line-height: 1.85;
    padding-bottom: 66px;
  }

  .u-sp-only { display: block; }
  .u-pc-only { display: none; }

  .header__logo img { height: 30px; }
  .header.is-scrolled { height: 58px; }
  .header__logo-ja { font-size: 1.3rem; }
  .header__logo-en { font-size: 0.82rem; }
  .header__tel { display: none; }
  .header__cta span:not(.header__cta-icon) { display: none; }
  .header__cta { padding: 0 6px; }

  .floatbar { display: block; }
  .pagetop { bottom: calc(72px + env(safe-area-inset-bottom)); width: 46px; height: 46px; }

  .sec-split { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__card { min-height: 172px; padding: 32px 20px; }
  .cta__icon { width: 44px; height: 44px; }
  .contact-bar { grid-template-columns: 1fr; }

  .btn { min-height: 58px; font-size: 1.4rem; padding: 0 8px 0 24px; }
  .btn__icon { width: 40px; height: 40px; }
}

@media (max-width: 560px) {
  .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}
