/* ==================================================
   基本設定
   ================================================== */
:root {
  --blue: #173f86;
  --red: #e61a24;
  --green: #06c755;
  --yellow: #ffe36a;
  --ink: #202124;
  --muted: #566171;
  --line: #dfe4eb;
  --pale-blue: #f4f8ff;
  --pale-yellow: #fff9eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Zen Kaku Gothic New", "BIZ UDPGothic", sans-serif;
  font-weight: 500;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.9; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
section { padding: 88px 0; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.section-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -.05em;
}
.section-lead { color: var(--muted); font-size: 17px; }

/* ==================================================
   ヘッダー
   ================================================== */
.site-header { background: #fff; }
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  width: 250px;
  height: 72px;
  flex: 0 0 auto;
  overflow: hidden;
  text-indent: -9999px;
  background: url("/site-logo.jpg") left center / contain no-repeat;
}
.nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; font-weight: 800; }
.nav a:hover { color: var(--blue); }
.line-btn {
  flex: 0 0 auto;
  padding: 14px 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

/* ==================================================
   メインビジュアル
   ================================================== */
.hero {
  padding: 44px 0 70px;
  background: linear-gradient(110deg, #fff 0 52%, var(--pale-yellow));
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .97fr);
  align-items: center;
  gap: 54px;
}
.hero-title-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.hero-title-image { width: min(100%, 650px); margin: 0 0 -36px; }
.hero-copy { margin: 18px 0 0; color: #303946; font-size: 17px; font-weight: 600; line-height: 1.9; }
.hero-art { position: relative; margin: 0; }
.hero-art img {
  width: 100%;
  max-height: 470px;
  object-fit: contain;
  border-radius: 34px;
  mix-blend-mode: multiply;
}
.hero-badge {
  position: absolute;
  top: 54px;
  right: -12px;
  width: 160px;
  height: 160px;
  padding: 18px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.45;
  box-shadow: 0 12px 25px rgba(23, 63, 134, .18);
}
.hero-badge strong { display: block; margin-top: 5px; color: var(--yellow); font-size: 17px; line-height: 1.35; }

/* ==================================================
   たぶお式とは・LINE
   ================================================== */
.about { padding-bottom: 58px; }
.about .two-col { display: block; }
.about .section-title { white-space: nowrap; }
.about-copy { margin-top: 26px; font-size: 20px; }
.about-copy > p:first-child { margin-bottom: 0; }
.about-copy strong {
  color: #0869bd;
  background: linear-gradient(transparent 62%, var(--yellow) 62% 91%, transparent 91%);
}
.line-share-card {
  width: min(100%, 720px);
  min-height: 250px;
  margin: 28px 0 24px;
  padding: 30px 36px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  grid-template-areas: "title qr" "action qr";
  align-items: center;
  gap: 14px 30px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 18px 38px rgba(6, 199, 85, .24);
}
.line-share-title { grid-area: title; font-size: clamp(24px, 3vw, 38px); line-height: 1.35; font-weight: 900; }
.line-share-card img { grid-area: qr; width: 150px; height: 150px; padding: 8px; border-radius: 12px; background: #fff; }
.line-share-action {
  grid-area: action;
  justify-self: start;
  padding: 12px 24px;
  border-radius: 999px;
  color: #06a848;
  background: #fff;
  font-weight: 900;
}
.study-meeting-copy { margin: 26px 0 0; color: var(--blue); font-size: clamp(18px, 2vw, 24px); font-weight: 700; }

/* ==================================================
   4つの特徴
   ================================================== */
#secrets { padding-top: 58px; background: var(--pale-blue); }
.secrets-head { margin-bottom: 38px; }
.secrets-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.secret {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
}
.secret-number { color: #dbe7f8; font-size: 58px; font-weight: 900; line-height: 1; }
.secret h3 { margin: 12px 0; color: var(--blue); font-size: 26px; }
.secret p { margin: 0; color: var(--muted); }
.print-method-image { width: 100%; max-height: 260px; margin-top: 20px; object-fit: contain; border-radius: 16px; }

/* ==================================================
   学習システム
   ================================================== */
.system { background: #fff; }
.system-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; }
.system-visual img { width: 100%; border-radius: 24px; }
.point-list { margin-top: 28px; display: grid; gap: 12px; }
.point { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--pale-blue); }
.point b { color: var(--blue); font-size: 22px; }
.point span { font-weight: 700; }
.mobile-only-break { display: none; }

/* ==================================================
   サービス詳細
   ================================================== */
.information { padding-top: 0; }
.info-list { border-top: 1px solid var(--line); }
.info {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 34px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.info-label { color: var(--blue); font-weight: 900; }
.info h3 { margin: 0 0 8px; font-size: 27px; }
.info p { margin: 0; color: var(--muted); }
.heading-break-before { display: none; }

/* ==================================================
   対象・実績
   ================================================== */
.community { background: var(--pale-yellow); }
.community-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.community-card { padding: 36px; border-radius: 24px; background: #fff; }
.community-card h3 { margin: 0 0 12px; color: var(--blue); font-size: 28px; }
.community-card p:last-child { margin: 0; color: var(--muted); }

/* ==================================================
   コミュニティ写真
   ================================================== */
.kids-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "copy shirt" "copy badges";
  align-items: start;
  gap: 24px 48px;
}
.kids-copy { grid-area: copy; }
.kids-photo { grid-area: shirt; }
.badges { grid-area: badges; }
.kids-photo img, .badges img { width: 100%; border-radius: 18px; }
.badge-caption { margin: 10px 0 0; text-align: center; color: #14213d; font-size: 13px; font-weight: 800; line-height: 1.5; }

/* ==================================================
   料金・問い合わせ
   ================================================== */
.pricing { background: var(--blue); }
.price-card {
  padding: 44px;
  border-radius: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  background: #fff;
}
.price-card h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); }
.price-card p { color: var(--muted); }
.action { display: inline-flex; min-height: 56px; padding: 0 28px; border-radius: 999px; align-items: center; justify-content: center; color: #fff; background: var(--green); font-weight: 900; }

/* ==================================================
   フッター
   ================================================== */
footer { padding: 68px 0 24px; color: #fff; background: #111b30; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr .7fr; gap: 48px; }
.footer-brand { color: #fff; font-size: 30px; font-weight: 900; }
.footer-brand span { font-size: 12px; }
.footer-links { display: grid; gap: 8px; color: #cbd4e2; }
.footer-links a:hover { color: #fff; }
.copyright { margin-top: 44px; padding-top: 18px; border-top: 1px solid #ffffff24; color: #98a2b3; font-size: 12px; }

/* ==================================================
   タブレット・スマートフォン
   ================================================== */
@media (max-width: 900px) {
  .container { width: min(100% - 32px, 720px); }
  .nav { display: none; }
  .logo { width: 210px; height: 62px; }
  .hero-layout, .system-layout { grid-template-columns: 1fr; }
  .hero-message { order: 1; }
  .hero-art { order: 2; width: 100%; max-width: 620px; margin: auto; }
  .about .section-title { white-space: normal; }
  .secrets-grid, .community-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  section { padding: 64px 0; }
  .header-inner { min-height: 68px; gap: 8px; }
  .logo { width: 145px; height: 58px; }
  .line-btn { margin-left: auto; padding: 11px 9px; font-size: 9px; }
  .hero { padding: 34px 0 48px; }
  .hero-layout { gap: 30px; }
  .hero-title-image { width: 100%; margin: 0 0 12px; }
  .hero-copy { margin: 0; font-size: 15px; line-height: 1.85; }
  .hero-art img { border-radius: 24px; }
  .hero-badge { top: 18px; right: -4px; width: 104px; height: 104px; padding: 10px; font-size: 8px; }
  .hero-badge strong { font-size: 12px; }
  .section-title { font-size: 30px; }
  .about-copy { font-size: 18px; }
  .line-share-card {
    min-height: 0;
    padding: 24px 18px;
    grid-template-columns: 1fr 104px;
    gap: 12px 16px;
    border-radius: 18px;
  }
  .line-share-title { font-size: 21px; }
  .line-share-card img { width: 104px; height: 104px; padding: 5px; }
  .line-share-action { padding: 9px 14px; font-size: 13px; }
  .study-meeting-copy { font-size: 17px; }
  .secret { padding: 25px; }
  .secret-number { font-size: 46px; }
  .system-layout { gap: 30px; }
  .mobile-only-break { display: block; }
  .info { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .info h3 { font-size: 23px; }
  .info p { font-size: 15px; }
  .heading-break-before { display: block; }
  .community-card { padding: 26px; }
  .kids-layout { grid-template-columns: 1fr; grid-template-areas: "copy" "shirt" "badges"; }
  .price-card { grid-template-columns: 1fr; padding: 30px 24px; }
  .action { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
