/* ===================================
   整体院坂原 - 共通スタイルシート
   カラーパレット：知的・誠実・ビジネスマン
=================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;700&display=swap');

:root {
  --color-bg: #FFFFFF;
  --color-text: #1A1A1A;
  --color-accent: #2C5F5F;
  --color-accent-hover: #234e4e;
  --color-sub: #8C7B6B;
  --color-light-bg: #F7F6F3;
  --color-line: #06C755;
  --color-line-hover: #05a847;
  --color-footer-bg: #1A1A1A;
  --font-main: '游ゴシック体', YuGothic, 'Yu Gothic', sans-serif;
  --font-logo: 'Caveat', cursive;
  --max-width: 960px;
  --transition: 0.2s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ===================================
   共通ユーティリティ
=================================== */

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

.section {
  padding: 80px 0;
}

.section--light {
  background: var(--color-light-bg);
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: bold;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-main);
  font-weight: bold;
  font-size: clamp(22px, 5vw, 32px);
  line-height: 1.5;
  margin-bottom: 48px;
  color: var(--color-text);
}

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

/* ===================================
   ボタン
=================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn--line {
  background: var(--color-line);
  color: #fff;
}

.btn--line:hover {
  background: var(--color-line-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #fff;
}

.btn--large {
  padding: 18px 40px;
  font-size: 16px;
}

/* ===================================
   ヘッダー
=================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  height: 64px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.header__logo-main {
  font-family: var(--font-logo);
  font-size: 22px;
  color: var(--color-accent);
  font-weight: 700;
  line-height: 1.1;
}

.header__logo-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-sub);
  font-weight: bold;
}

.header__nav {
  display: none;
}

.header__reserve-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.05em;
  transition: background var(--transition);
}

.header__reserve-btn:hover {
  background: var(--color-accent-hover);
}

/* ハンバーガーメニュー */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: 16px;
}

.hamburger__line {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

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

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

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

/* ドロワーメニュー */
.drawer {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  padding: 40px 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer__link {
  display: flex;
  align-items: center;
  padding: 20px 0;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  text-decoration: none;
  transition: color var(--transition);
}

.drawer__link:hover, .drawer__link.is-active {
  color: var(--color-accent);
}

.drawer__link-sub {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--color-sub);
  margin-left: auto;
  text-transform: uppercase;
}

.drawer__reserve {
  margin-top: 40px;
}

.drawer__reserve .btn {
  width: 100%;
  margin-bottom: 12px;
}

/* PC用ナビ */
@media (min-width: 768px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .header__nav-link {
    font-size: 13px;
    font-weight: bold;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color var(--transition);
    position: relative;
  }

  .header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform var(--transition);
  }

  .header__nav-link:hover::after,
  .header__nav-link.is-active::after {
    transform: scaleX(1);
  }

  .header__nav-link:hover,
  .header__nav-link.is-active {
    color: var(--color-accent);
  }

  .hamburger {
    display: none;
  }
}

/* ===================================
   フローティングボタン
=================================== */

.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all var(--transition);
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: center;
  flex-direction: column;
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.floating-btn--reserve {
  background: var(--color-accent);
}

.floating-btn--line {
  background: var(--color-line);
}

.floating-btn__icon {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 2px;
}

/* ===================================
   フッター
=================================== */

.footer {
  background: var(--color-footer-bg);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 24px;
}

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

.footer__logo {
  font-family: var(--font-logo);
  font-size: 26px;
  color: #fff;
  margin-bottom: 24px;
}

.footer__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.footer__info-title {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.footer__info-text {
  font-size: 14px;
  line-height: 1.8;
}

.footer__copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

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

/* ===================================
   メインコンテンツの余白（ヘッダー分）
=================================== */

.main-content {
  padding-top: 64px;
}

/* ===================================
   プレースホルダー画像
=================================== */

.img-placeholder {
  background: var(--color-light-bg);
  border: 2px dashed rgba(0,0,0,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-sub);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 24px;
}

/* ===================================
   カード
=================================== */

.card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.card--light {
  background: var(--color-light-bg);
  box-shadow: none;
  border: 1px solid rgba(0,0,0,0.06);
}

/* ===================================
   グリッド
=================================== */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===================================
   ページヘッダー（各ページ上部）
=================================== */

.page-header {
  background: var(--color-light-bg);
  padding: 64px 0 48px;
  text-align: center;
}

.page-header__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: bold;
  display: block;
  margin-bottom: 16px;
}

.page-header__title {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: bold;
  line-height: 1.4;
}

/* ===================================
   チェックリスト
=================================== */

.checklist {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.checklist__icon {
  width: 22px;
  height: 22px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===================================
   ステップ（施術の流れ）
=================================== */

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 40px;
}

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

.step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: rgba(44, 95, 95, 0.15);
}

.step:last-child::before {
  display: none;
}

.step__number {
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
  font-family: var(--font-logo);
  position: relative;
  z-index: 1;
}

.step__content {
  padding-top: 8px;
}

.step__title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.step__text {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* ===================================
   料金テーブル
=================================== */

.price-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-top: 3px solid var(--color-accent);
  transition: transform var(--transition), box-shadow var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.price-card--featured {
  border-top-color: var(--color-sub);
  background: var(--color-accent);
  color: #fff;
}

.price-card__label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: bold;
  margin-bottom: 8px;
}

.price-card--featured .price-card__label {
  color: rgba(255,255,255,0.7);
}

.price-card__name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 4px;
}

.price-card__duration {
  font-size: 13px;
  color: var(--color-sub);
  margin-bottom: 20px;
}

.price-card--featured .price-card__duration {
  color: rgba(255,255,255,0.7);
}

.price-card__price {
  font-size: 32px;
  font-weight: bold;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.price-card--featured .price-card__price {
  color: #fff;
}

.price-card__price-sub {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
}

.price-card--featured .price-card__price-sub {
  color: rgba(255,255,255,0.7);
}

.price-card__desc {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 20px;
}

.price-card--featured .price-card__desc {
  color: rgba(255,255,255,0.85);
  border-top-color: rgba(255,255,255,0.2);
}

/* ===================================
   アニメーション
=================================== */

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

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===================================
   オーバーレイ
=================================== */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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