@charset "UTF-8";
/*
 * miruto_service.css
 * サービスページ コンテンツ専用スタイル
 * ─────────────────────────────────────────────────────────
 *  前提とする外部CSS（WordPressテーマが自動ロード）
 *    1. style.css          … :root 変数 / section / .inner-wrap /
 *                             .section-label / .section-h2 / .reveal
 *    2. style-header.css   … nav / .nav-logo / .nav-links / .nav-cta /
 *                             .hamburger / #mmenu
 *    3. style-footer.css   … #contact / footer
 *
 *  このファイルはコンテンツセクション専用の追加スタイルのみを定義。
 *  style.css で定義済みのクラス（.section-label / .section-h2 / .reveal）
 *  は再定義しない。
 * ─────────────────────────────────────────────────────────
 */

/* ──────────────────────────────────────────────
   PAGE HERO
────────────────────────────────────────────── */
#page-hero {
  min-height: 100vh;
  display: flex; 
  flex-direction: column;
  align-items: flex-start; justify-content: flex-end;
  position: relative; 
  overflow: hidden;
  /* style-header.css の nav 高さ分を確保
     nav padding 1.8rem + ロゴ高 ≒ 76px */
  padding: 76px 4rem 6rem;
}
.hero-bg {
  position: absolute; 
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=85&auto=format&fit=crop');
  background-size: cover; background-position: center 30%;
}
.hero-bg::after {
  content: ''; 
  position: absolute; inset: 0;
  background: linear-gradient(158deg,
    rgba(6,14,5,.84) 0%, rgba(18,34,14,.74) 55%, rgba(6,14,5,.92) 100%);
}
.hero-ring { 
  position: absolute; 
  inset: 0; 
  pointer-events: none; 
  z-index: 1; }
.hero-ring::before {
  content: ''; position: absolute; top: -15%; right: -7%;
  width: 480px; height: 480px;
  border: 1px solid rgba(181,160,74,.11); border-radius: 50%;
  animation: ringR 48s linear infinite;
}
.hero-ring::after {
  content: ''; 
  position: absolute; 
  bottom: -22%; 
  left: -9%;
  width: 520px; height: 520px;
  border: 1px solid rgba(181,160,74,.07); 
  border-radius: 50%;
  animation: ringR 62s linear infinite reverse;
}
@keyframes ringR { to { transform: rotate(360deg); } }

.hero-inner { 
  position: relative; 
  z-index: 2; 
  max-width: 800px; 
}
.hero-badge {
  font-weight: 100;
  font-size: .6rem; letter-spacing: .55em; 
  color: var(--gold-light);
  text-transform: uppercase;
  display: flex; align-items: center; gap: .9rem; margin-bottom: 2.2rem;
  opacity: 0; animation: hUp .9s ease .3s forwards;
}
.hero-badge::before { 
  content: ''; 
  width: 28px; 
  height: 1px; 
  background: var(--gold); 
  flex-shrink: 0; }
.hero-h1 {
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.4rem); 
  line-height: 1.18;
  color: var(--paper); letter-spacing: .02em; margin-bottom: .6rem;
  opacity: 0; animation: hUp 1.1s ease .5s forwards;
}
.hero-sub {
  font-weight: 300;
  font-size: clamp(1.1rem, 2vw, 1.75rem); 
  line-height:1.5; 
  color: var(--gold-light);
  letter-spacing: .06em; margin-bottom: 2rem;
  opacity: 0; animation: hUp 1s ease .68s forwards;
}
.hero-rule {
  width: 56px; 
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin-bottom: 1.8rem;
  opacity: 0; 
  animation: hUp .8s ease .9s forwards;
}
.hero-desc {
  font-size: .88rem; 
  line-height: 2.2; 
  color: rgba(249,247,242,.7); max-width: 560px;
  opacity: 0; animation: hUp .9s ease 1.05s forwards;
}
.hero-breadcrumb {
  position: absolute; 
  bottom: 2.2rem; 
  right: 4rem; 
  z-index: 2;
  font-size: .58rem;
  letter-spacing: .3em; 
  color: rgba(249,247,242,.28);
  display: flex; 
  align-items: center; 
  gap: .6rem;
}
.hero-breadcrumb a {
  color:inherit; text-decoration:none; 
  transition: color .3s;
}
.hero-breadcrumb a:hover { color: var(--gold); }
@keyframes hUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────
   INTRO LEAD
   ※ section padding は style.css の section{} が適用
────────────────────────────────────────────── */
#service-intro { 
  background: var(--off-white); 
}
.intro-lead { 
  max-width: 720px; 
  margin: 0 auto; 
  text-align: center; 
}
.intro-lead p { 
  font-size: 1rem; 
  color: var(--ink-soft); 
  line-height: 2.3; 
}

/* ──────────────────────────────────────────────
   PHASE SECTION 共通
   ※ section {} (8rem 4rem) を上書きする専用 padding
────────────────────────────────────────────── */
.phase-sec { padding: 7rem 4rem; }
.phase-sec--alt { background: var(--off-white); }

.phase-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: start;
}
.phase-sec--even .phase-img  { order: 2; }
.phase-sec--even .phase-body { order: 1; }

.phase-num {
  font-weight: 300;
  font-size: 4.5rem; 
  line-height: 1; 
  color: var(--gold-pale);
  display: block; 
  /*margin-bottom: -.5rem;*/
}
.phase-en {
  font-size: .54rem; font-weight: 200;
  letter-spacing: .44em; color: var(--gold); text-transform: uppercase;
  display: block; margin-bottom: 1.1rem;
}
.phase-tagline {
  font-weight: 300;
  font-size: clamp(.92rem, 1.3vw, 1.15rem);
  color: var(--ink-soft); line-height: 1.65;
  border-left: 2px solid var(--gold-pale); padding-left: 1.1rem;
  margin-bottom: 1.7rem;
}
.phase-body p {
  font-size: .85rem; color: var(--ink-soft); line-height: 2.15; margin-bottom: 1.3rem;
}
.phase-body p:last-child { margin-bottom: 0; }

/* Why box */
.why-box {
  border: 1px solid var(--line); border-left: 3px solid var(--gold-pale);
  padding: 1.3rem 1.5rem; margin-bottom: 1.7rem;
  background: rgba(191,174,87,.03);
}
.why-label {
  /*font-family: 'Josefin Sans', sans-serif;*/ font-size: .52rem;
  letter-spacing: .38em; color: var(--gold); text-transform: uppercase;
  display: block; margin-bottom: .5rem;
}
.why-box p { font-size: .81rem; color: var(--ink-soft); line-height: 1.95; margin: 0; }

/* フェーズ画像 */
.phase-img {
  width: 100%; aspect-ratio: 4/3; overflow: hidden; position: relative;
}
.phase-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.phase-img:hover img { transform: scale(1.03); }
.phase-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(18,36,16,.28), rgba(36,58,28,.14));
  pointer-events: none;
}

/* タグ */
.phase-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.phase-tag {
  /*font-family: 'Josefin Sans', sans-serif;*/ font-size: .54rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-muted); border: 1px solid var(--line); padding: .28rem .75rem;
}

/* ──────────────────────────────────────────────
   サービスカードグリッド (Phase 01 / 03 共通)
   上: 横長サムネイル  下: 名称 + 説明
────────────────────────────────────────────── */
.service-cards { margin-top: 4rem; }
.service-cards-label {
  font-size: 1.5rem; 
  font-weight: 200;
  letter-spacing: .25em; 
  color: var(--green-deep); 
  text-transform: uppercase;
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  margin-bottom: 1.6rem;
}
.service-cards-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.s-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}

/* カード */
.s-card {
  background: #fff; border: 1px solid var(--line);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.s-card:hover {
  box-shadow: 0 8px 28px rgba(45,90,39,.09);
  transform: translateY(-3px);
  border-color: var(--line-gold);
}

/* サムネイル（16:9） */
.s-thumb {
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden; position: relative;
  flex-shrink: 0;
}
.s-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.s-card:hover .s-thumb img { transform: scale(1.05); }

/* テキストエリア */
.s-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex; flex-direction: column; gap: .5rem;
  flex: 1;
}
.s-name {
  font-size: 1.25rem; font-weight: 400;
  color: var(--green-deep); line-height: 1.45;
}
.s-desc {
  font-size: .7rem; color: var(--ink-muted); line-height: 1.85;
}

/* ──────────────────────────────────────────────
   PHASE 02 ── クリエイティブ一覧
   section padding を 0 3rem... で上書き
────────────────────────────────────────────── */
#creative-list {
  background: var(--off-white);
  padding: 0 4rem 8rem;
}
.creative-inner { max-width: 1120px; margin: 0 auto; }

.creative-cat { margin-bottom: 3.5rem; }
.creative-cat:last-child { margin-bottom: 0; }

.creative-cat-title {
  font-size: 1.5rem; 
  font-weight: 200;
  letter-spacing: .25em; 
  color: var(--green-deep); 
  text-transform: uppercase;
  display: flex; 
  align-items: center; 
  gap: 1rem; 
  margin-bottom: 1.6rem;
}
.creative-cat-title::before,
.creative-cat-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* 4列グリッド */
.c-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}

/* ──────────────────────────────────────────────
   SCHEDULE ── 縦型タイムライン
────────────────────────────────────────────── */
#schedule { background: var(--off-white); }

/* max-width は inner-wrap を上書き */
#schedule .inner-wrap { max-width: 720px; }

.schedule-note {
  font-size: .8rem; 
  color: var(--ink-muted);
  line-height: 1.9; 
  margin-bottom: 3.5rem;
}

/* 縦軸線 */
.timeline { position: relative; }
.timeline::before {
  content: ''; 
  position: absolute; 
  left: 23px; 
  top: 52px;
  bottom: 0; 
  width: 1px;
  background: linear-gradient(
    to bottom,
    var(--line-gold) 0%,
    rgba(181,160,74,.1) 85%,
    transparent 100%
  );
}

.tl-item {
  position: relative; 
  padding-left: 70px; 
  padding-bottom: 3.2rem;
}
.tl-item:last-child { padding-bottom: 0; }

/* ノード */
.tl-node {
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-gold);
  background: #fff;
  display: flex; 
  align-items: center; 
  justify-content: center;
}
.tl-dot { 
  width: 10px; 
  height: 10px; 
  border-radius: 50%; 
  background: var(--gold); 
}
.tl-item:first-child .tl-node {
  border-color: var(--gold);
  background: rgba(191,174,87,.08);
}

.tl-period {
  font-size: 1.0rem; 
  font-weight: 200;
  letter-spacing: .38em; 
  color: var(--gold); 
  text-transform: uppercase;
  display: block; 
  margin-bottom: .45rem; 
  padding-top: .65rem;
}
.tl-phase {
  /* font-family は body を継承 */
  font-size: 1.25rem; 
  font-weight: 400;
  color: var(--green-deep); 
  margin-bottom: .55rem; 
  line-height: 1.45;
}
.tl-body {
  font-size: .78rem; color: var(--ink-soft); line-height: 1.95; margin-bottom: .8rem;
}
.tl-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tl-tag {
  /*font-family: 'Josefin Sans', sans-serif;*/ font-size: .52rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-muted); border: 1px solid var(--line);
  padding: .2rem .6rem;
}

.schedule-note-bottom {
  margin-top: 2.5rem; font-size: .72rem;
  color: var(--ink-muted); line-height: 1.8;
  border-top: 1px solid var(--line); padding-top: 1.3rem;
}

/* ──────────────────────────────────────────────
   FAQ
────────────────────────────────────────────── */
#faq { background: var(--paper); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.4rem; margin-top: 3rem;
}
.faq-item {
  background: var(--off-white); border: 1px solid var(--line);
  padding: 1.9rem 1.9rem 2rem;
  transition: box-shadow .35s;
}
.faq-item:hover { box-shadow: 0 7px 24px rgba(45,90,39,.07); }
.faq-q {
  /* font-family は body を継承 */
  font-size: .86rem; font-weight: 400;
  color: var(--green-deep); line-height: 1.65; margin-bottom: .9rem;
  display: flex; gap: .7rem; align-items: flex-start;
}
.faq-q-mark {
  /*font-family: 'Cormorant Garamond', serif;*/ font-size: 1.35rem; font-weight: 300;
  color: var(--gold); line-height: 1; flex-shrink: 0; margin-top: -.05rem;
}
.faq-a {
  font-size: .78rem; color: var(--ink-soft); line-height: 2;
  padding-left: 1.6rem; border-left: 2px solid var(--line-gold);
}

/* ──────────────────────────────────────────────
   SERVICE CTA STRIP
────────────────────────────────────────────── */
#service-cta { background: var(--off-white); text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }

/* style.css の .section-label を上書き（中央揃え） */
.cta-inner .section-label { justify-content: center; }
.cta-inner .section-label::before { display: none; }

.cta-lead {
  font-size: .86rem; color: var(--ink-soft); line-height: 2.15; margin-bottom: 2.6rem;
}

/* ──────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────── */
@media (max-width: 960px) {
  /* Hero */
  #page-hero       { 
    padding: 10rem 1.6rem 5rem; 
    min-height: 75vh; 
  }
  .hero-breadcrumb { 
    right: 1.6rem; 
    bottom: 1.5rem; 
  }

  /* Phase sections — style.css の section{} は 5rem 1.6rem になるが
     .phase-sec で上書きしているため明示的に指定 */
  .phase-sec       { padding: 5rem 1.6rem; }
  .phase-grid      { grid-template-columns: 1fr; gap: 2.8rem; }
  .phase-sec--even .phase-img  { order: 0; }
  .phase-sec--even .phase-body { order: 1; }

  /* Service cards */
  .s-grid          { grid-template-columns: repeat(2, 1fr); }

  /* Creative list */
  #creative-list   { padding: 0 1.6rem 5rem; }
  .c-grid          { grid-template-columns: repeat(2, 1fr); }

  /* Timeline */
  .timeline::before { left: 19px; }
  .tl-item         { padding-left: 58px; }
  .tl-node         { width: 38px; height: 38px; }

  /* FAQ */
  .faq-grid        { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* hero-h1 は style.css の .section-h2 フォールバックに揃える */
  .hero-h1         { font-size: 2rem; }
  .s-grid          { grid-template-columns: 1fr; }
  .c-grid          { grid-template-columns: 1fr; }
  .phase-num       { font-size: 3.5rem; }
}
