/* =============================================================
   SHIRUBE — pages.css
   front-page 固有 (FV / Concept / Latest / Categories / Contact誘導)
   および汎用ページの微調整
   ============================================================= */

/* -------------------------------------------------------------
   FV
   ------------------------------------------------------------- */
.fv {
  position: relative;
  padding: 180px 24px 120px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.fv__inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  z-index: 2;
}
.fv__outline {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 220px);
  letter-spacing: .02em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  opacity: .5;
}

.fv__eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .22em;
  color: var(--color-text-sub);
  margin-bottom: 24px;
}
.fv__heading {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.fv__line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: fvLineIn .8s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fvLineIn {
  to { opacity: 1; transform: translateY(0); }
}
.fv__accent {
  font-family: var(--font-accent);
  color: var(--color-accent);
  font-size: clamp(28px, 4vw, 44px);
  transform: rotate(-4deg);
  display: inline-block;
  margin: -8px 0 24px 8px;
  line-height: 1;
}
.fv__lead {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--color-text-sub);
  margin-bottom: 40px;
  max-width: 560px;
}
.fv__ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
}

.fv__shape {
  position: absolute;
  border: 2px solid var(--color-border);
  border-radius: 24px;
  z-index: 0;
  animation: fvFloat 8s ease-in-out infinite;
}
.fv__shape--a {
  width: 120px; height: 120px;
  top: 20%; right: 8%;
  background: var(--color-accent);
  transform: rotate(12deg);
  animation-delay: 0s;
}
.fv__shape--b {
  width: 60px; height: 60px;
  bottom: 30%; right: 22%;
  background: var(--color-accent-soft);
  border-radius: 50%;
  animation-delay: 1.5s;
}
.fv__shape--c {
  width: 90px; height: 90px;
  top: 30%; right: 25%;
  background: transparent;
  transform: rotate(-8deg);
  animation-delay: 3s;
}
@keyframes fvFloat {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--rot, 0deg)); }
}
@media (max-width: 767px) {
  .fv { padding: 140px 24px 100px; min-height: auto; }
  .fv__shape--a { width: 80px; height: 80px; top: 12%; right: 6%; }
  .fv__shape--b { width: 40px; height: 40px; }
  .fv__shape--c { display: none; }
}

/* -------------------------------------------------------------
   Concept
   ------------------------------------------------------------- */
.concept__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}
.concept__label { position: sticky; top: 120px; }
.concept__heading {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 28px;
}
.concept__text {
  color: var(--color-text);
  margin-bottom: 40px;
  max-width: 640px;
}
@media (max-width: 767px) {
  .concept__grid { grid-template-columns: 1fr; gap: 32px; }
  .concept__label { position: static; }
}

/* -------------------------------------------------------------
   Latest / Categories
   ------------------------------------------------------------- */
.latest .card-grid { }
.categories .cat-grid { }

/* -------------------------------------------------------------
   Contact誘導
   ------------------------------------------------------------- */
.contact-lead__inner {
  text-align: center;
  max-width: 720px;
}
.contact-lead__heading {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  margin: 24px 0 20px;
}
.contact-lead__text {
  color: var(--color-text-sub);
  margin-bottom: 40px;
}

/* -------------------------------------------------------------
   汎用ページの最低限（fixedヘッダー分の押し下げ）
   固定ヘッダー配下のページで本文が隠れないようにするための最低限の
   余白確保。個別ページのスタイルはこの後のテンプレート追加時に拡張する。
   ------------------------------------------------------------- */
body.page:not(.home) main,
body.single main,
body.archive main,
body.blog main,
body.search main,
body.error404 main {
  padding-top: 120px;
}
@media (max-width: 767px) {
  body.page:not(.home) main,
  body.single main,
  body.archive main,
  body.blog main,
  body.search main,
  body.error404 main {
    padding-top: 96px;
  }
}
