@charset "UTF-8";
/* ============================================
   PETOK メインサイト共通スタイル
   要件定義書 v1.3 準拠 / P-01〜P-07 共通基盤
   ============================================ */

/* -------- RESET -------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.04em;
  color: #4A3A38;
  background: #FFFCF7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .82; }
button { font: inherit; color: inherit; background: transparent; border: none; cursor: pointer; }

/* -------- 変数（アイボリー基調 / 上品・信頼感・親しみやすさ） -------- */
:root {
  /* === メインピンク（アクセント用に控えめ） === */
  --pink:#F4A6BD;          /* 少し落ち着いた淡ピンク */
  --pink-soft:#F8C8D5;
  --pink-deep:#D67A99;
  --pink-bg:#FBF1F2;       /* 背景はほぼアイボリーに */
  --pink-bg-2:#F7E8EC;
  --pink-tint:#FBF6F4;

  /* === オレンジ後方互換（既存コードのため・ピンクに寄せた淡色） === */
  --orange:#F4A6BD;
  --orange-soft:#F8C8D5;
  --orange-deep:#D67A99;
  --orange-ink:#6E4A56;

  /* === LINE === */
  --line-green:#06c755;
  --line-green-deep:#04a045;

  /* === ゴールド/クリーム/ベージュ（信頼感の主軸） === */
  --gold:#C9A766;
  --gold-light:#E6D2A0;
  --gold-deep:#A07F44;
  --cream:#FBF4E4;
  --beige:#EFE4D2;
  --beige-soft:#F6EEDD;

  /* === 背景（アイボリー基調） === */
  --ivory:#FFFCF7;
  --ivory-deep:#FAF4E8;
  --bg-soft:#FFFCF7;
  --bg-deep:#F6EEDD;

  /* === テキスト（濃ブラウン / チャコール） === */
  --ink:#3A2A28;          /* 濃いブラウン・主見出し */
  --ink-soft:#4A3A38;     /* 本文 */
  --text:#4A3A38;
  --text-mute:#8C7A74;    /* 落ち着いたウォームグレー */
  --border:#E6DCC9;       /* ベージュ寄り */

  /* === レイアウト === */
  --container-max:1120px;
  --container-pad:32px;
  --section-pad-y:112px;
  --radius-card:28px;

  /* === シャドウ（ゴールド系の温かみ） === */
  --shadow-soft:0 14px 36px rgba(160,127,68,0.10);
  --shadow-lift:0 22px 50px rgba(160,127,68,0.16);
  --shadow-glow-pink:0 12px 30px rgba(214,122,153,0.22);
  --shadow-glow-orange:0 12px 30px rgba(201,167,102,0.24); /* 後方互換：ゴールドに */
}

/* -------- 数字組版（Tabular） -------- */
.num, .home-hero-badges strong, .ceo-stats strong, .feature-num,
.podium-rank, .ranking-row .rank-num, .stat-figure {
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
}

/* -------- 装飾モチーフ（上品・控えめ） -------- */
.deco-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.deco-paw {
  position: absolute;
  width: 56px; height: 56px;
  opacity: .07;
  color: var(--gold);
}
.deco-paw svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.deco-heart, .deco-star {
  position: absolute;
  opacity: .18;
  pointer-events: none;
}
.deco-heart svg, .deco-star svg { width: 100%; height: 100%; display: block; fill: currentColor; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}
@keyframes twinkle {
  0%,100% { opacity: .25; transform: scale(1) rotate(0); }
  50% { opacity: .55; transform: scale(1.08) rotate(8deg); }
}
.deco-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .32;
  pointer-events: none;
}
.deco-blob.orange { background: rgba(244,166,189,0.42); }
.deco-blob.gold   { background: rgba(230,210,160,0.55); }
.deco-blob.pink   { background: rgba(248,200,213,0.42); }
.deco-noise::before {
  content:"";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(28,12,1,0.05) 1px, transparent 1px),
    radial-gradient(rgba(28,12,1,0.04) 1px, transparent 1px);
  background-size: 28px 28px, 14px 14px;
  background-position: 0 0, 14px 14px;
  opacity: .35;
  pointer-events: none;
}

/* -------- ハイライト下線（マーカー風・淡ピンク） -------- */
.mk {
  background: linear-gradient(transparent 62%, rgba(244,166,189,0.40) 62%, rgba(244,166,189,0.40) 92%, transparent 92%);
  padding: 0 .06em;
}

/* -------- リビールアニメ -------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
[data-reveal-delay="6"] { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* -------- 共通レイアウト -------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
section { padding: var(--section-pad-y) 0; position: relative; isolation: isolate; }
section > .container { position: relative; z-index: 2; }

/* PC/SP切替 */
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 640px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

/* -------- セクション見出し（上品・信頼感） -------- */
.section-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-deep);
  letter-spacing: 0.32em;
  text-align: center;
  margin: 0 auto 14px;
  padding: 0;
  width: fit-content;
  left: 50%;
  transform: translateX(-50%);
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: .6;
}
.section-eyebrow.left {
  left: 0; transform: none; margin-left: 0;
}
.section-eyebrow.left::before { display: none; }
.section-title {
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  color: var(--ink);
  line-height: 1.28;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.section-title .accent { color: var(--pink-deep); }
.section-title .mk { background: linear-gradient(transparent 60%, rgba(244,166,189,0.38) 60%); padding: 0 .08em; }
.section-lead {
  text-align: center;
  font-size: 16px;
  line-height: 2;
  color: var(--text);
  margin-bottom: 64px;
  font-weight: 500;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* -------- ヘッダー（白ベース＋ピンクアクセント） -------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  height: 80px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 143, 177, 0.16);
  transition: background .3s, height .25s, transform .35s cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.site-header.is-scrolled {
  height: 64px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(255, 143, 177, 0.16);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner {
  width: 100%;
  max-width: 1192px;
  margin: 0 auto;
  padding-inline: var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-logo img { height: 56px; width: auto; display: block; }
.header-nav { flex: 1; }
.header-nav ul {
  display: flex;
  gap: 22px;
  justify-content: center;
}
.header-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  letter-spacing: 0.02em;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: right .3s cubic-bezier(.22,.61,.36,1);
}
.header-nav a:hover { color: var(--pink-deep); opacity: 1; }
.header-nav a:hover::after { right: 0; }
/* カレント表示：is-currentクラスと、WordPress標準の current-menu-item / current_page_item の両方に対応 */
.header-nav a.is-current,
.header-nav li.current-menu-item > a,
.header-nav li.current_page_item > a,
.header-nav li.current-menu-parent > a,
.header-nav li.current-menu-ancestor > a {
  color: var(--pink-deep);
  font-weight: 800;
}
.header-nav a.is-current::after,
.header-nav li.current-menu-item > a::after,
.header-nav li.current_page_item > a::after,
.header-nav li.current-menu-parent > a::after,
.header-nav li.current-menu-ancestor > a::after {
  right: 0;
  background: var(--pink-deep);
  height: 3px;
}
.header-cta {
  background: linear-gradient(135deg, #07d35d 0%, #04a045 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.38);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.header-cta img { width: 22px; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6, 199, 85, 0.48); opacity: 1; }
.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid rgba(255,143,177,0.32);
  box-shadow: 0 4px 12px rgba(255,143,177,0.12);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--pink-deep); margin: 0 auto;
  border-radius: 2px;
  transition: transform .2s, opacity .2s, background .2s;
}
.hamburger.active {
  background: linear-gradient(135deg, var(--pink-soft), var(--pink));
  border-color: var(--pink);
  box-shadow: 0 6px 16px rgba(255,143,177,0.32);
}
.hamburger.active span { background: #fff; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------- 共通ボタン -------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 36px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 30%, rgba(255,255,255,0.32) 50%, rgba(255,255,255,0) 70%);
  transform: translateX(-130%);
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
  z-index: 1;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(130%); }
.btn > * { position: relative; z-index: 2; }
.btn img { transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.btn:hover img { transform: translateX(4px); }

.btn-line {
  background: linear-gradient(135deg, #07d35d 0%, #04a045 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.32);
}
.btn-line img { width: 22px; }
.btn-line:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(6, 199, 85, 0.42); opacity: 1; }
.btn-line:hover img { transform: scale(1.08); }

.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--pink);
  box-shadow: 0 4px 0 var(--pink);
}
.btn-secondary img { width: 16px; }
.btn-secondary:hover {
  background: linear-gradient(135deg, var(--pink-soft), var(--pink));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--pink-deep);
  border-color: var(--pink);
  opacity: 1;
}
.btn-secondary:hover img { filter: invert(1) brightness(2); }

.btn-primary {
  background: linear-gradient(135deg, var(--pink-soft) 0%, var(--pink) 60%, var(--pink-deep) 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 143, 177, 0.42), inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(255, 143, 177, 0.55); opacity: 1; }
.btn-primary img { width: 16px; filter: brightness(0) invert(1); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost img { width: 14px; }
.btn-ghost:hover { background: var(--pink-tint); color: var(--pink-deep); border-color: var(--pink); opacity: 1; }
.btn-ghost:hover img { filter: none; }

/* -------- フッター（ピンク〜クリーム） -------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,180,200,0.32), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(235,217,168,0.28), transparent 60%),
    linear-gradient(180deg, #FBF4E4 0%, #F6EEDD 100%);
  color: var(--ink);
  padding: 80px 32px 32px;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--pink) 35%, var(--pink-deep) 50%, var(--pink) 65%, transparent 100%);
  opacity: 0.8;
}
.footer-grid {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  max-width: 1080px;
  margin: 0 auto;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-logo-img { width: 110px; margin-bottom: 16px; }
.footer-sns-label { font-size: 13px; margin-bottom: 10px; }
.footer-sns img { width: 28px; }
.footer-col h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--pink-deep);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; color: var(--text); font-weight: 600; }
.footer-col a:hover { color: var(--pink-deep); }
.footer-col.contact { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.footer-mail { font-size: 15px; margin-bottom: 14px; font-weight: 700; color: var(--ink); }
.footer-line-btn {
  background: linear-gradient(135deg, #07d35d 0%, #04a045 100%);
  color: #fff !important;
  height: 48px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(6,199,85,0.38);
  transition: transform .25s, box-shadow .25s;
}
.footer-line-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(6,199,85,0.48); opacity: 1; }
.footer-bottom {
  max-width: 1080px;
  margin: 40px auto 0;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(255, 143, 177, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.footer-legal {
  display: flex;
  gap: 16px;
  font-size: 13px;
}
.footer-legal a {
  color: var(--text-mute);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.footer-legal a:hover { color: var(--pink-deep); }
.copyright {
  font-size: 13px;
  margin-top: 20px;
  text-align: center;
  color: var(--text-mute);
  font-weight: 600;
}

/* -------- スティッキー LINE CTA（モバイル下部固定） -------- */
.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: linear-gradient(135deg, #07d35d 0%, #04a045 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(6,199,85,0.45), 0 4px 12px rgba(6,199,85,0.32);
  transition: transform .25s, box-shadow .25s, opacity .25s;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.sticky-cta::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(6,199,85,0.45);
  animation: stickyPulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes stickyPulse {
  0% { transform: scale(.95); opacity: 1; }
  100% { transform: scale(1.12); opacity: 0; }
}
.sticky-cta img { width: 26px; height: 26px; }
.sticky-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(6,199,85,0.55); opacity: 1; }
.sticky-cta-close {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.18);
  cursor: pointer;
  border: 1px solid var(--border);
}
@media (max-width: 640px) {
  .sticky-cta {
    right: 12px;
    bottom: 14px;
    padding: 12px 18px 12px 14px;
    font-size: 13px;
  }
  .sticky-cta img { width: 22px; height: 22px; }
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 960px) {
  :root { --section-pad-y: 72px; --container-pad: 24px; }
  .section-title { font-size: 28px; }
  .header-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .site-header { height: 64px; }
  .header-logo img { height: 40px; }
  /* メニュー展開時 */
  .header-nav.is-open {
    display: block;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background:
      radial-gradient(ellipse at top right, rgba(255,224,234,0.55), transparent 60%),
      radial-gradient(ellipse at bottom left, rgba(255,240,232,0.55), transparent 60%),
      #fffafb;
    padding: 14px 0 24px;
    box-shadow: 0 16px 36px rgba(165,108,72,0.16);
    border-top: 1px solid rgba(255,143,177,0.18);
    border-bottom: 4px solid var(--pink);
  }
  .header-nav.is-open ul {
    flex-direction: column;
    gap: 0;
  }
  .header-nav.is-open li { border-bottom: 1px solid rgba(255,143,177,0.14); }
  .header-nav.is-open li:last-child { border-bottom: 0; }
  .header-nav.is-open a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    position: relative;
  }
  .header-nav.is-open a::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--pink-soft);
    opacity: 0.6;
    flex-shrink: 0;
  }
  .header-nav.is-open a::after { display: none; }
  .header-nav.is-open a.is-current {
    background: linear-gradient(90deg, rgba(255,143,177,0.14), rgba(255,143,177,0.04));
    color: var(--pink-deep);
    font-weight: 900;
  }
  .header-nav.is-open a.is-current::before {
    background: var(--pink-deep);
    opacity: 1;
    box-shadow: 0 0 0 4px rgba(255,143,177,0.18);
  }
  .header-nav.is-open a:hover {
    background: rgba(255,143,177,0.08);
    color: var(--pink-deep);
  }
}
@media (max-width: 640px) {
  :root { --section-pad-y: 56px; --container-pad: 20px; }
  body { font-size: 15px; line-height: 1.8; }
  .section-title { font-size: 22px; margin-bottom: 14px; }
  .section-eyebrow { font-size: 13px; margin-bottom: 6px; }
  .section-lead { font-size: 14px; margin-bottom: 32px; line-height: 1.85; }
  .site-header { height: 56px; }
  .header-logo img { height: 36px; }
  .header-nav.is-open { top: 56px; }
  .btn { padding: 14px 24px; font-size: 14px; width: 100%; }
  .site-footer { padding: 40px 20px 20px; }
  .footer-grid { gap: 32px; }
  .footer-logo-img { width: 80px; }
  .footer-legal { font-size: 12px; }
  .footer-legal a { white-space: nowrap; }
  .copyright { font-size: 12px; }
}
