/* ==========================================================
   milike.jp サイト共通スタイル v1.1（2026-08-11）
   背景ベージュ #EFECE6 ／ アクセント ティール #3a9c92（希少に）
   見出し・UI Zen Kaku Gothic New（2026-08-12ゴシック確定） ／ 本文 Noto Sans JP
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@500;700;900&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
  --bg: #EFECE6;
  --card: #ffffff;
  --ink: #2b2b28;
  --text: #3a3a38;
  --sub: #73736e;
  --acc: #3a9c92;
  --acc-press: #2f857c;
  --acc-soft: #e4f0ee;
  --line: rgba(43, 43, 40, 0.10);
  --shadow: 0 2px 24px rgba(43, 43, 40, 0.06);
  --radius: 18px;
  --font-head: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-display: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a { color: var(--acc); text-decoration: none; }
a:hover { color: var(--acc-press); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 800px; }

/* ---------- 見出し ---------- */

h1, h2, h3 { font-family: var(--font-display); color: var(--ink); line-height: 1.5; }

.section-label {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--acc);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.section-lead { max-width: 640px; color: var(--text); }

/* ---------- ヘッダー ---------- */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(239, 236, 230, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.header__logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.header__logo span { color: var(--acc); }

.nav { display: flex; align-items: center; gap: 28px; }

.nav a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.nav a:hover { color: var(--acc); }

.nav .nav__cta {
  background: var(--acc);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.nav .nav__cta:hover { background: var(--acc-press); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- ヒーロー ---------- */

.hero { padding: 172px 0 96px; }

.hero__wordmark { width: min(430px, 80vw); margin-bottom: 38px; }

.hero__title {
  font-size: clamp(27px, 3.6vw, 44px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.45;
  margin-bottom: 26px;
}
.hero__title span { display: inline-block; }

.hero__lead {
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 38px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 54px; }

/* ---------- ボタン ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 38px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--primary {
  background: var(--acc);
  color: #fff;
  box-shadow: 0 4px 16px rgba(58, 156, 146, 0.28);
}
.btn--primary:hover {
  background: var(--acc-press);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- 信頼バー ---------- */

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 20px 28px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: fit-content;
}

.trust__item {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 9px;
}

.trust__item::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--acc);
  flex-shrink: 0;
}

/* ---------- セクション共通 ---------- */

.section { padding: 96px 0; }
.section--alt { background: rgba(255, 255, 255, 0.5); }

/* ---------- サービスカード ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card__media {
  height: 170px;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__media img { transform: scale(1.05); }

.card__inner {
  padding: 30px 32px 38px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(43, 43, 40, 0.10);
}

.card__num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--acc);
  margin-bottom: 16px;
}

.card__title { font-size: 21px; font-weight: 900; margin-bottom: 6px; }

.card__sub {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--sub);
  margin-bottom: 18px;
}

.card__body { font-size: 15px; flex-grow: 1; margin-bottom: 24px; }

.card__link {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  align-self: flex-start;
}
.card__link::after { content: "\2192"; margin-left: 6px; transition: margin-left 0.2s ease; }
.card__link:hover::after { margin-left: 10px; }

.card__note { font-size: 12px; color: var(--sub); margin-top: 10px; }

/* ---------- パララックス帯 ---------- */

.parallax-band {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-band--slim { height: 280px; }

.parallax-band__img {
  position: absolute;
  left: 0;
  top: -90%;
  width: 100%;
  height: 280%;
  object-fit: cover;
  will-change: transform;
}

.parallax-band__plate {
  position: relative;
  background: rgba(255, 255, 255, 0.68);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 36px 64px;
  border-radius: 999px;
  box-shadow: 0 10px 44px rgba(43, 43, 40, 0.10);
  will-change: transform;
}

.parallax-band__mark {
  display: block;
  width: min(380px, 58vw);
}

/* ---------- 選ばれる理由 ---------- */

.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.reason { padding: 8px 0; }

.reason__num {
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 900;
  color: var(--acc);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 14px;
}

.reason__title { font-size: 19px; font-weight: 900; margin-bottom: 12px; }
.reason__body { font-size: 15px; }

/* ---------- プロフィール ---------- */

.profile {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 56px;
  border-left: 6px solid var(--acc);
  max-width: 800px;
  margin-top: 48px;
}

.profile__name { font-size: 24px; font-weight: 900; margin-bottom: 4px; }

.profile__role {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--sub);
  margin-bottom: 18px;
}

.profile__quals { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

.profile__quals li {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
  border-radius: 999px;
  padding: 6px 16px;
}

.profile__body { font-size: 15px; }
.profile__body strong { color: var(--ink); }

/* ---------- CTAセクション ---------- */

.cta {
  background: var(--ink);
  border-radius: calc(var(--radius) + 6px);
  padding: 72px 56px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.cta__title {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.cta__body { max-width: 560px; margin: 0 auto 36px; font-size: 15px; }

/* ---------- フッター ---------- */

.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__brand { font-family: var(--font-head); font-weight: 900; font-size: 18px; color: var(--ink); margin-bottom: 10px; }

.footer__addr { font-size: 13px; color: var(--sub); }

.footer__nav { display: flex; gap: 48px; flex-wrap: wrap; }

.footer__col h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sub);
  margin-bottom: 14px;
}

.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { font-size: 14px; color: var(--ink); }
.footer__col a:hover { color: var(--acc); }

.footer__copy {
  max-width: 1080px;
  margin: 40px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--sub);
}

/* ---------- モーション共通 ---------- */

:root { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }

/* ブランドイントロ（半透明の白） */

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: opacity 0.9s ease;
}

.intro-overlay__mark {
  position: relative;
  width: min(560px, 76vw);
  clip-path: inset(-10% 100% -10% 0);
}

body.intro-play .intro-overlay__mark {
  animation: mark-write 1.9s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

@keyframes mark-write {
  to { clip-path: inset(-10% 0% -10% 0); }
}

.intro-overlay.is-done { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none; }
}

/* ヒーローのオープニング */

.intro-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.intro-line > span {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1.2s var(--ease-out);
  transition-delay: var(--d, 0s);
}
body.is-loaded .intro-line > span { transform: translateY(0); }

.intro-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
body.is-loaded .intro-fade { opacity: 1; transform: translateY(0); }

/* マーキー帯 */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee__track span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sub);
  white-space: nowrap;
}

.marquee__track span:nth-child(4n+1) { color: var(--acc); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* 巨大ゴースト英字 */

.section { position: relative; }

.section-ghost {
  position: absolute;
  top: 34px;
  right: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(90px, 13vw, 170px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(43, 43, 40, 0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* スクロールリビール（大胆版） */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* カード・理由は順番にずれて現れる */
.cards .card:nth-child(2), .reasons .reason:nth-child(2) { transition-delay: 0.14s; }
.cards .card:nth-child(3), .reasons .reason:nth-child(3) { transition-delay: 0.28s; }

/* カード画像は下からめくれるように開く＋ズームで着地 */
.card .card__media img {
  transform: scale(1.18);
  transition: transform 1.4s var(--ease-out);
}
.card.is-visible .card__media img { transform: scale(1); }
.card .card__media {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease-out);
}
.card.is-visible .card__media { clip-path: inset(0 0 0 0); }
.card.is-visible:hover .card__media img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .intro-fade { opacity: 1; transform: none; transition: none; }
  .intro-line > span { transform: none; transition: none; }
  .card .card__media { clip-path: none; transition: none; }
  .card .card__media img { transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 下層ページ共通 ---------- */

.page-hero { padding: 150px 0 64px; }

.page-hero__title {
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-hero__lead { font-size: 16px; max-width: 640px; }

/* 悩みカード */
.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.problem-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 30px;
}

.problem-card h3 { font-size: 18px; font-weight: 900; margin-bottom: 14px; }
.problem-card ul { list-style: none; }
.problem-card li {
  font-size: 14px;
  padding: 8px 0 8px 20px;
  position: relative;
  border-bottom: 1px dashed var(--line);
}
.problem-card li:last-child { border-bottom: none; }
.problem-card li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--acc);
  opacity: 0.6;
}

/* アプローチ3要素 */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0 28px; }

.approach__item {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
  text-align: center;
}

.approach__label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--acc);
  display: block;
  margin-bottom: 10px;
}

.approach__item h3 { font-size: 19px; font-weight: 900; margin-bottom: 10px; }
.approach__item p { font-size: 14px; }

.approach-sum {
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.08em;
}

/* ステップ */
.steps { counter-reset: step; margin-top: 48px; display: grid; gap: 18px; }

.step {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 900;
  color: var(--acc);
  opacity: 0.5;
  line-height: 1.2;
}

.step h3 { font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.step p { font-size: 14px; }

/* 料金表 */
.price-table-wrap { overflow-x: auto; margin-top: 48px; }

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-width: 560px;
}

.price-table th, .price-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.price-table th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--sub);
  background: rgba(239, 236, 230, 0.5);
}

.price-table tr:last-child td { border-bottom: none; }

.price-table .price {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.price-note { font-size: 13px; color: var(--sub); margin-top: 16px; }

/* FAQ */
.faq { margin-top: 48px; display: grid; gap: 14px; }

.faq details {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 56px 22px 28px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--acc);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq .faq__a { padding: 0 28px 24px; font-size: 14px; }

/* 法務ページ用本文 */
.prose { max-width: 760px; margin-top: 40px; }
.prose h2 {
  font-size: 20px;
  font-weight: 900;
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 15px; }
.prose ul { padding-left: 22px; margin: 10px 0; }
.prose li { margin-bottom: 6px; }

/* 会社概要表 */
.company-table {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 48px;
}

.company-table th, .company-table td {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}

.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }

.company-table th {
  font-family: var(--font-head);
  font-weight: 700;
  width: 160px;
  color: var(--sub);
  background: rgba(239, 236, 230, 0.5);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .problem-cards, .approach { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; }
  .company-table th { width: 110px; }
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 900px) {
  .cards, .reasons { grid-template-columns: 1fr; }

  .profile { padding: 40px 28px; }

  .section-title { font-size: 27px; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin-top: 16px; text-align: center; border-bottom: none; }

  .nav-toggle { display: block; }

  .hero { padding: 128px 0 72px; }
  .hero__actions .btn { width: 100%; text-align: center; }

  .trust { padding: 18px 22px; gap: 10px; }

  .section { padding: 64px 0; }

  .cta { padding: 52px 28px; }
  .cta__title { font-size: 24px; }

  .parallax-band { height: 260px; }
  .parallax-band--slim { height: 200px; }

  .footer__nav { gap: 28px; }
}
