/* =================================================================
   Cerisier — 桜空フォトスタイル
   写真中心・落ち着いたトーン（丸み・やわらかい影・パステルグラデーション）
   実写真がない間は CSS グラデーション + ボケ表現で「桜空」を再現する
   ================================================================= */

:root {
  /* Sky / Paper */
  --sky-top:     #eaf5fb;
  --sky-mid:     #fbeef1;
  --sky-bottom:  #fdf6f3;
  --paper:       #fffaf8;
  --paper-2:     #fbf2ee;
  --card:        #ffffff;

  /* Sakura Pink */
  --pink-1:      #fbdce3;
  --pink-2:      #f6b8c6;
  --pink-3:      #ef93a8;
  --pink-deep:   #d9647e;

  /* Ink（やわらかな墨色） */
  --ink:         #4a3b3f;
  --ink-soft:    #837275;
  --ink-muted:   #a99a9c;

  --rule:        #f0dde1;

  /* Shadow */
  --shadow-sm:   0 6px 16px rgba(180, 90, 110, 0.08);
  --shadow-md:   0 16px 40px rgba(180, 90, 110, 0.16);

  /* Radius */
  --radius-lg:   28px;
  --radius-md:   18px;
  --radius-sm:   12px;
  --radius-pill: 999px;

  /* Fonts */
  --font-heading: 'Zen Old Mincho', 'Noto Serif JP', serif;
  --font-body:    'Noto Sans JP', sans-serif;
  --font-accent:  'EB Garamond', serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── Nav（浮遊ピル型） ───────────────────────────────────────── */
.cr-nav {
  position: sticky;
  top: 16px;
  z-index: 100;
  margin: 16px auto 0;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  box-shadow: var(--shadow-sm);
}

.cr-nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.cr-nav__brand-name { font-family: var(--font-heading); font-weight: 600; font-size: 16px; color: var(--pink-deep); }
.cr-nav__links { display: flex; justify-content: flex-end; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.cr-nav__links a { font-size: 13px; color: var(--ink-soft); text-decoration: none; letter-spacing: 0.03em; transition: color 0.2s ease; }
.cr-nav__links a:hover { color: var(--pink-deep); }

/* ── Hero（桜空＋ボケ表現） ──────────────────────────────────── */
.cr-hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 100px;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-bottom) 100%);
}

.cr-hero__bokeh {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
}

.cr-hero__branch {
  position: absolute;
  top: -30px;
  right: -20px;
  width: 320px;
  max-width: 46vw;
  opacity: 0.92;
  filter: drop-shadow(0 14px 20px rgba(180, 90, 110, 0.15));
  pointer-events: none;
}

@keyframes cr-fall {
  0%   { transform: translate(0, -40px) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.85; }
  90%  { opacity: 0.6; }
  100% { transform: translate(-24px, 560px) rotate(200deg); opacity: 0; }
}

.cr-petal-fall {
  position: absolute;
  top: 0;
  animation: cr-fall linear infinite;
  pointer-events: none;
}

.cr-badge {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: var(--radius-lg);
  padding: 40px 56px;
  box-shadow: var(--shadow-md);
}

.cr-badge__mark { width: 52px; height: 52px; margin: 0 auto 12px; display: block; }
.cr-badge__name { font-family: var(--font-heading); font-weight: 600; font-size: 32px; color: var(--pink-deep); letter-spacing: 0.04em; margin: 0; }
.cr-badge__sub { font-family: var(--font-accent); font-style: italic; font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

.cr-hero__tagline {
  position: relative; z-index: 2;
  margin-top: 28px;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.9;
}

.cr-hero__lede {
  position: relative; z-index: 2;
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}

.cr-btn {
  position: relative; z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  background: var(--pink-deep);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cr-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }

.cr-btn--outline {
  background: transparent;
  color: var(--pink-deep);
  border: 1px solid var(--pink-3);
  box-shadow: none;
}
.cr-btn--outline:hover { background: var(--pink-1); color: var(--pink-deep); }

/* ── Section 共通 ───────────────────────────────────────────── */
.cr-section { padding: 88px 6vw; }
.cr-section--tint { background: var(--paper-2); }

.cr-label {
  display: inline-block;
  background: var(--pink-1);
  color: var(--pink-deep);
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 6px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.cr-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 38px);
  color: var(--ink);
  margin: 0 0 8px;
}
.cr-heading__en {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--ink-muted);
  font-size: 15px;
  margin-left: 10px;
}

.cr-section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }

/* ── Photo Frame（写真プレースホルダー） ──────────────────────── */
.cr-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background:
    radial-gradient(circle at 22% 28%, rgba(255,255,255,0.55) 0%, transparent 42%),
    radial-gradient(circle at 74% 62%, var(--pink-2) 0%, transparent 48%),
    radial-gradient(circle at 40% 85%, var(--pink-3) 0%, transparent 38%),
    linear-gradient(135deg, var(--sky-top), var(--pink-1));
}

.cr-photo__label {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-pill);
  padding: 5px 16px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ── Cards（サービス） ───────────────────────────────────────── */
.cr-card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 36px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cr-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.cr-card__icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--pink-1);
  color: var(--pink-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.cr-card__title { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.cr-card__en { font-family: var(--font-accent); font-style: italic; font-size: 12px; color: var(--ink-muted); margin-bottom: 12px; }
.cr-card__desc { font-size: 13px; color: var(--ink-soft); line-height: 1.9; }

/* ── Key-Value List ──────────────────────────────────────────── */
.cr-kv-list { display: flex; flex-direction: column; }
.cr-kv-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--rule); font-size: 13px; }
.cr-kv-row__key { color: var(--ink-muted); letter-spacing: 0.05em; }
.cr-kv-row__val { color: var(--ink); font-weight: 500; }

/* ── Form ────────────────────────────────────────────────────── */
.cr-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.cr-field label { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.05em; }
.cr-field input, .cr-field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cr-field input:focus, .cr-field textarea:focus {
  border-color: var(--pink-3);
  box-shadow: 0 0 0 3px rgba(239, 147, 168, 0.18);
}
.cr-contact-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 44px;
}

/* ── Steps（対応の流れ） ─────────────────────────────────────── */
.cr-steps {
  position: relative;
  display: flex;
  gap: 16px;
  margin-top: 48px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.cr-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--rule);
  z-index: 0;
}
.cr-step { position: relative; z-index: 1; flex: 1; text-align: center; padding: 0 8px; }
.cr-step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pink-deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
}
.cr-step__title { font-family: var(--font-heading); font-weight: 600; font-size: 15px; margin: 0 0 6px; }
.cr-step__desc { font-size: 12px; color: var(--ink-soft); line-height: 1.8; }

@media (max-width: 767px) {
  .cr-steps { flex-direction: column; gap: 32px; }
  .cr-steps::before { display: none; }
}

/* ── Tags（実績カテゴリ） ────────────────────────────────────── */
.cr-tag-group { display: flex; flex-wrap: wrap; gap: 10px; }
.cr-tag {
  background: #fff;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 13px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

/* ── Footer ──────────────────────────────────────────────────── */
.cr-footer {
  background: linear-gradient(180deg, var(--pink-1), var(--pink-2));
  border-radius: 48px 48px 0 0;
  padding: 64px 6vw 32px;
  text-align: center;
  margin-top: 24px;
}
.cr-footer__brand { font-family: var(--font-heading); font-weight: 600; font-size: 18px; color: var(--pink-deep); }
.cr-footer__links { display: flex; justify-content: center; gap: 28px; list-style: none; margin: 20px 0; padding: 0; }
.cr-footer__links a { font-size: 13px; color: var(--ink); text-decoration: none; }
.cr-footer__links a:hover { color: var(--pink-deep); }
.cr-footer__rule { border: none; border-top: 1px solid rgba(255, 255, 255, 0.6); margin: 24px 0 20px; }
.cr-footer small { font-size: 11px; letter-spacing: 0.05em; color: var(--ink-soft); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 991px) {
  .cr-section { padding: 64px 6vw; }
  .cr-hero { min-height: 560px; padding: 56px 20px 80px; }
  .cr-badge { padding: 32px 36px; }
}

@media (max-width: 767px) {
  .cr-nav { flex-wrap: wrap; gap: 12px; padding: 12px 20px; }
  .cr-hero__branch { width: 220px; }
  .cr-footer { border-radius: 32px 32px 0 0; }
}
