/* =========================================================
   HOME page specific
   ========================================================= */

/* -----------  HERO  ----------- */
.hero {
  padding: clamp(40px, 6vw, 72px) 0 0;
  background:
    radial-gradient(1200px 600px at 12% 0%, color-mix(in oklab, var(--accent-soft) 30%, transparent), transparent 60%),
    radial-gradient(900px 500px at 95% 30%, color-mix(in oklab, var(--bg-3) 70%, transparent), transparent 60%),
    var(--bg);
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-bottom: clamp(60px, 8vw, 100px);
}
.hero-kicker {
  color: var(--accent); font-size: 16px; letter-spacing: 0.12em;
  display: inline-block; margin-bottom: 20px;
}
.hero h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.28;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero h1 br + * { }
.hero-lede {
  font-size: 16px; line-height: 2.0; color: var(--ink-soft);
  margin: 0 0 36px;
}
.hero-lede strong {
  color: var(--ink);
  font-family: "Klee One", serif; font-weight: 600;
  background: linear-gradient(transparent 62%, color-mix(in oklab, var(--accent-soft) 50%, transparent) 62%);
  padding: 0 2px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, auto);
  gap: clamp(16px, 3vw, 40px);
  padding-top: 28px;
  border-top: 1px dashed var(--line);
  max-width: 520px;
}
.hero-meta strong {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--accent-ink);
  line-height: 1.2;
}
.hero-meta span {
  font-size: 12px; color: var(--ink-soft); letter-spacing: 0.06em;
}

/* Hero visual composition */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  color: var(--accent);
}
.hero-photo {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.hero-photo .img-placeholder { height: 100%; border-radius: 0; }
.hero-photo--main {
  inset: 10% 0 10% 8%;
  z-index: 2;
  transform: rotate(-1deg);
}
.hero-photo--sub1 {
  width: 44%; aspect-ratio: 1/1;
  top: 4%; right: 2%;
  z-index: 3;
  transform: rotate(3deg);
  border: 6px solid var(--surface);
}
.hero-photo--sub2 {
  width: 38%; aspect-ratio: 4/3;
  bottom: -2%; right: -2%;
  z-index: 3;
  transform: rotate(-2deg);
  border: 6px solid var(--surface);
}
.hero-scribble {
  position: absolute;
  right: -4%; top: 30%;
  width: 24%;
  color: var(--accent);
  z-index: 4;
}
.hero-badge {
  position: absolute;
  left: -2%; bottom: 6%;
  background: var(--surface);
  color: var(--accent-ink);
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  z-index: 4;
  font-size: 14px;
  border: 1px solid var(--line);
  transform: rotate(-2deg);
}

/* Hero tweaks — illust pattern */
[data-hero="illust"] .hero-photo .img-placeholder {
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--accent) 50%, transparent), transparent 50%),
    radial-gradient(circle at 70% 70%, color-mix(in oklab, var(--accent-soft) 60%, transparent), transparent 55%),
    var(--bg-2);
}
[data-hero="soft"] .hero-photo .img-placeholder {
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--accent-soft) 40%, transparent), color-mix(in oklab, var(--bg-3) 80%, transparent)),
    var(--bg-2);
}
[data-hero="soft"] .hero-photo .img-placeholder span { opacity: 0.5; }

/* Marquee */
.hero-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 36px;
  animation: marquee 35s linear infinite;
  font-family: "Noto Serif JP", serif;
  color: var(--accent-ink);
  font-size: 16px;
  letter-spacing: 0.08em;
}
.marquee-track span:nth-child(even) { color: var(--accent); font-size: 10px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -----------  PHILOSOPHY  ----------- */
.philosophy { background: var(--bg); }
.philo-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.philo-left .section-title { margin-bottom: 28px; }
.philo-left .lede { margin: 0 0 20px; font-size: 16px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600; font-size: 14.5px;
  padding-top: 12px;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 14px; }

.quote-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin: 0;
  box-shadow: var(--shadow-soft);
}
.quote-mark {
  position: absolute; top: 24px; left: 24px;
  width: 28px; color: var(--accent-soft);
}
.quote-card blockquote {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.8;
  margin: 32px 0 20px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.quote-card figcaption {
  color: var(--ink-soft); font-size: 14px;
  padding-top: 18px; border-top: 1px dashed var(--line);
}
.quote-photo {
  position: absolute;
  right: -24px; bottom: -24px;
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 8px solid var(--bg);
  min-height: auto;
}
.quote-photo span { font-size: 10px; }

/* -----------  PROMISES  ----------- */
.promises { background: var(--bg-2); }
.promises-head { text-align: center; margin: 0 auto 60px; max-width: 640px; }
.promises-head .lede { margin-left: auto; margin-right: auto; }
.promises-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.promise-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
}
.promise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.promise-num {
  position: absolute; top: 20px; right: 24px;
  font-size: 36px;
  color: color-mix(in oklab, var(--accent-soft) 70%, transparent);
  letter-spacing: 0.06em;
}
.promise-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--accent-soft) 30%, var(--bg));
  color: var(--accent-ink);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.promise-icon svg { width: 30px; height: 30px; }
.promise-card h3 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 22px; margin: 0 0 12px; letter-spacing: 0.06em;
}
.promise-card > p {
  color: var(--ink-soft); font-size: 14.5px;
  line-height: 1.9; margin: 0 0 18px;
}
.promise-list {
  list-style: none; padding: 18px 0 0; margin: 0;
  border-top: 1px dashed var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.promise-list li {
  font-size: 13px; color: var(--ink); padding-left: 22px; position: relative;
}
.promise-list li::before {
  content: "✦"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-size: 12px;
}

/* -----------  CARES  ----------- */
.cares { background: var(--bg); }
.cares-head { max-width: 720px; margin-bottom: 48px; }
.cares-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.care-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
  display: block;
}
.care-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.care-img { aspect-ratio: 4/3; border-radius: 0; }
.care-body { padding: 22px 22px 26px; }
.care-body .tag { margin-bottom: 12px; }
.care-body h3 {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 20px; margin: 0 0 8px; letter-spacing: 0.04em;
}
.care-body p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.8; }
.cares-cta { text-align: center; margin-top: 48px; }

/* -----------  VOICES  ----------- */
.voices {
  background:
    linear-gradient(180deg, var(--bg-2), var(--bg-3));
}
.voices-head { text-align: center; margin-bottom: 56px; }
.voices-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin: 0;
  box-shadow: var(--shadow-soft);
  transform: rotate(-1deg);
  transition: transform 0.3s;
}
.voice:nth-child(2) { transform: rotate(1deg); }
.voice:nth-child(3) { transform: rotate(-0.5deg); }
.voice:hover { transform: rotate(0) translateY(-4px); }
.voice-photo {
  width: 64px; height: 64px;
  border-radius: 50%;
  min-height: auto;
  margin-bottom: 18px;
}
.voice-photo span { font-size: 9px; }
.voice blockquote {
  font-family: "Noto Serif JP", serif;
  font-size: 17px; line-height: 1.9; margin: 0 0 16px;
  letter-spacing: 0.03em;
}
.voice figcaption { color: var(--ink-soft); font-size: 13px; padding-top: 16px; border-top: 1px dashed var(--line); }

/* -----------  NEWS  ----------- */
.news { background: var(--bg); }
.news-inner { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
.news-head .section-title { margin-bottom: 16px; }
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.news-list li a {
  display: grid;
  grid-template-columns: 110px 100px 1fr;
  gap: 20px; align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, padding 0.2s;
}
.news-list li a:hover {
  background: var(--bg-2); padding-left: 16px; padding-right: 16px;
  margin: 0 -16px;
}
.news-date { color: var(--ink-muted); font-size: 13px; font-family: "JetBrains Mono", monospace; letter-spacing: 0.04em; }
.news-title { font-size: 15px; color: var(--ink); line-height: 1.7; }

/* -----------  CONTACT CTA  ----------- */
.contact-cta { background: var(--bg); padding-top: 40px; padding-bottom: 40px; }
.cta-card {
  background:
    radial-gradient(800px 500px at 10% 0%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 60%),
    var(--accent-ink);
  color: #FFFCF7;
  border-radius: clamp(24px, 3vw, 36px);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  overflow: hidden;
  position: relative;
}
.cta-card::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 60%, transparent);
  filter: blur(60px);
}
.cta-copy { position: relative; }
.cta-copy .hero-kicker { color: color-mix(in oklab, var(--accent-soft) 85%, white); }
.cta-copy h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.45;
  margin: 0 0 20px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.cta-copy p { color: color-mix(in oklab, var(--bg-2) 70%, white); font-size: 15px; line-height: 1.9; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; position: relative; }
.cta-btn {
  background: color-mix(in oklab, white 10%, transparent);
  border: 1px solid color-mix(in oklab, white 30%, transparent);
  border-radius: 16px;
  padding: 18px 22px;
  color: #FFFCF7;
  display: block;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover { background: color-mix(in oklab, white 20%, transparent); transform: translateY(-2px); }
.cta-btn--phone:hover { background: #FFFCF7; color: var(--accent-ink); }
.cta-btn--form { background: #FFFCF7; color: var(--accent-ink); border-color: transparent; }
.cta-btn--form:hover { background: color-mix(in oklab, white 92%, var(--accent-soft)); color: var(--accent-ink); }
.cta-btn-label {
  font-size: 11px; letter-spacing: 0.14em; opacity: 0.7; margin-bottom: 4px;
  text-transform: uppercase;
  font-family: "JetBrains Mono", monospace;
}
.cta-btn-main {
  font-family: "Noto Serif JP", serif; font-weight: 500;
  font-size: 20px; letter-spacing: 0.04em;
}
.cta-btn-sub { font-size: 12px; opacity: 0.75; margin-top: 4px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; aspect-ratio: 1/1; max-width: 520px; margin: 20px auto 0; justify-self: center; }
  .philo-inner { grid-template-columns: 1fr; }
  .promises-grid { grid-template-columns: 1fr; }
  .cares-grid { grid-template-columns: 1fr 1fr; }
  .voices-grid { grid-template-columns: 1fr; }
  .news-inner { grid-template-columns: 1fr; gap: 32px; }
  .cta-card { grid-template-columns: 1fr; }
  .news-list li a { grid-template-columns: 100px 1fr; }
  .news-list .tag { display: none; }
}
@media (max-width: 560px) {
  .cares-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .floating-cta { right: 12px; bottom: 12px; }
  .floating-cta .fab { width: 50px; height: 50px; }
}
