/*
Theme Name: hoikunohimitsukichi
Theme URI: https://hoikunohimitsukichi.com/
Author: 株式会社ホイクノヒミツキチ
Description: ホイクノヒミツキチ 公式サイトテーマ（Design 05 ベース）。紫グラデーション・波・パララックスのデザイン。
Version: 1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: hoiku
*/

/* ============================================================
   ホイクノヒミツキチ Design 05 系 共通スタイル
   index5 / about / training / consulting / tsunagari / privacy / tokusho
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #3d2460;
  background: #fffcff;
  overflow-x: hidden;
}
body.legal-page { background: #faf4ff; }
img { max-width: 100%; }

/* ── ボタン ── */
.btn-grad {
  display: inline-block; background: linear-gradient(135deg, #c4a0e8 0%, #8b5fc8 50%, #6a3db0 100%);
  color: #fff; font-weight: 700; font-size: 14px; padding: 13px 40px; border-radius: 100px;
  text-decoration: none; letter-spacing: 0.06em; box-shadow: 0 4px 20px rgba(110,60,190,0.3);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s; border: none; cursor: pointer;
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(110,60,190,0.38); filter: brightness(1.07); }
.btn-grad-outline {
  background: #fff; color: #8b5fc8; border: 2px solid transparent; background-clip: padding-box;
  box-shadow: 0 0 0 2px #c4a0e8, 0 4px 16px rgba(110,60,190,0.15);
}
.btn-grad-outline:hover { background: linear-gradient(135deg, #c4a0e8 0%, #8b5fc8 50%, #6a3db0 100%); color: #fff; box-shadow: 0 8px 28px rgba(110,60,190,0.3); }
.btn-white {
  display: inline-block; background: #fff; color: #8b5fc8; font-weight: 700; font-size: 14px;
  padding: 15px 52px; border-radius: 100px; text-decoration: none; letter-spacing: 0.06em;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15); transition: transform 0.2s, box-shadow 0.2s;
}
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,0.2); }

/* ── ヘッダー ── */
header { background: #fff; box-shadow: 0 2px 16px rgba(130,80,200,0.08); height: 120px; position: sticky; top: 0; z-index: 300; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 90px; width: auto; display: block; }
nav { display: flex; gap: 6px; }
nav a { font-size: 13px; font-weight: 500; color: #6b5b8a; text-decoration: none; padding: 8px 18px; border-radius: 100px; letter-spacing: 0.04em; transition: background 0.2s, color 0.2s; }
nav a:hover { background: #f3eaff; color: #7c5cbf; }
nav a.active { background: linear-gradient(135deg, #c4a0e8, #8b5fc8); color: #fff; font-weight: 700; }
/* ハンバーガー（デスクトップでは非表示） */
.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ── アニメーション ── */
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatBlob { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-20px) scale(1.04); } }

/* ── 見出し（共通）── */
.sec-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: #b39ddb; text-transform: uppercase; margin-bottom: 8px; text-align: center; }
.sec-title { font-size: 28px; font-weight: 900; color: #3d2460; line-height: 1.4; position: relative; display: block; text-align: center; padding-bottom: 16px; margin-bottom: 0; }
.sec-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 48px; height: 3px; background: linear-gradient(90deg, #c4a0e8, #8b5fc8); border-radius: 2px; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 48px; }
.container > .sec-title { margin-bottom: 48px; }
.section { padding: 80px 0; }
.section.tint { background: #faf4ff; }

/* ── ウェーブ共通 ── */
.wave-down { line-height: 0; margin-top: -2px; }
.wave-up { line-height: 0; margin-bottom: -2px; }
.wave-down svg, .wave-up svg { display: block; width: 100%; }
.px-wave-top { position: absolute; top: -2px; left: 0; right: 0; z-index: 2; line-height: 0; }
.px-wave-bottom { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2; line-height: 0; }
.px-wave-top svg, .px-wave-bottom svg { display: block; width: 100%; }

/* ── ドット背景 ── */
.dot-bg { background-color: #faf4ff; background-image: radial-gradient(circle, #d8c2f0 1.2px, transparent 1.2px); background-size: 22px 22px; }

/* ============================================================
   TOP（index5）専用
   ============================================================ */
.hero { height: 100vh; min-height: 680px; max-height: 900px; position: relative; display: flex; align-items: center; overflow: hidden; background-image: url('images/hero_main2.jpg'); background-attachment: fixed; background-size: cover; background-position: center center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(125deg, rgba(100,55,180,0.82) 0%, rgba(150,100,210,0.6) 55%, rgba(196,160,232,0.32) 100%); }
.hero-blob1 { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(255,220,240,0.22) 0%, transparent 70%); top: -80px; right: 80px; animation: floatBlob 8s ease-in-out infinite; pointer-events: none; }
.hero-blob2 { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.14) 0%, transparent 70%); bottom: 120px; left: 200px; animation: floatBlob 11s ease-in-out infinite reverse; pointer-events: none; }
.hero-content { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; padding: 0 56px; padding-top: 40px; color: #fff; animation: fadeSlideUp 1s ease both; }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; padding: 6px 18px; margin-bottom: 24px; text-transform: uppercase; }
.hero-title { font-size: 52px; font-weight: 900; line-height: 1.4; margin-bottom: 18px; text-shadow: 0 2px 14px rgba(60,20,100,0.25); }
.hero-title em { font-style: normal; display: block; font-size: 22px; font-weight: 400; color: rgba(255,255,255,0.85); margin-top: 12px; letter-spacing: 0.05em; text-shadow: none; }
.hero-sub { font-size: 16px; line-height: 1.95; color: rgba(255,255,255,0.9); margin-bottom: 40px; max-width: 440px; }
.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

.points-section { padding: 84px 0 88px; position: relative; overflow: hidden; background: #faf4ff; }
.points-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }
.points-header { text-align: center; margin-bottom: 52px; }
.points-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: center; }
.point-card { padding: 36px 28px; background: #fff; border-radius: 24px; box-shadow: 0 4px 24px rgba(130,80,200,0.08); }
.point-img { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; border: 3px solid #e8d5f5; box-shadow: 0 4px 14px rgba(130,80,200,0.12); }
.point-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.point-num { font-size: 40px; font-weight: 900; background: linear-gradient(135deg, #c4a0e8, #7c5cbf); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 4px; }
.point-num-unit { font-size: 16px; }
.point-label { font-size: 13px; color: #8a7aaa; font-weight: 500; margin-bottom: 12px; }
.point-desc { font-size: 13px; color: #6b5b8a; line-height: 1.8; }

.services-section { padding: 84px 0 96px; position: relative; overflow: hidden; background: #fffcff; }
.svc-wave-bg { position: absolute; left: -2%; right: -2%; top: 30%; pointer-events: none; z-index: 0; opacity: 0.5; }
.svc-wave-bg svg { width: 100%; }
.services-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }
.services-header { text-align: center; margin-bottom: 52px; }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 820px; margin: 0 auto; }
.svc-card { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 6px 32px rgba(120,70,200,0.1); transition: transform 0.3s, box-shadow 0.3s; }
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 18px 48px rgba(120,70,200,0.18); }
.svc-img-wrap { position: relative; height: 200px; overflow: hidden; }
.svc-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.svc-card:hover .svc-img-wrap img { transform: scale(1.06); }
.svc-img-badge { position: absolute; bottom: 14px; left: 18px; background: linear-gradient(135deg, #c4a0e8, #8b5fc8); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; padding: 4px 14px; border-radius: 100px; text-transform: uppercase; }
.svc-body { padding: 28px 28px 32px; }
.svc-title { font-size: 20px; font-weight: 900; color: #3d2460; margin-bottom: 12px; line-height: 1.35; }
.svc-desc { font-size: 13px; color: #7b6a9a; line-height: 1.9; margin-bottom: 24px; }

.manabi-section { padding: 30px 0 96px; background: #fffcff; }
.manabi-inner { max-width: 1000px; margin: 0 auto; padding: 0 48px; }
.manabi-header { text-align: center; margin-bottom: 32px; }
.manabi-lead { text-align: center; font-size: 18px; font-weight: 700; color: #5a4a7a; line-height: 1.8; margin-bottom: 40px; }
.manabi-feature { display: grid; grid-template-columns: 360px 1fr; gap: 0; align-items: stretch; background: #fff; border-radius: 28px; box-shadow: 0 6px 32px rgba(120,70,200,0.1); overflow: hidden; margin-bottom: 40px; }
.manabi-feature-img { min-height: 240px; }
.manabi-feature-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.manabi-feature-body { padding: 36px 44px; font-size: 14px; line-height: 2; color: #7b6a9a; display: flex; align-items: center; }
.manabi-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.manabi-card { background: #faf4ff; border-radius: 24px; padding: 28px 30px; border: 1px solid #ede0fa; }
.manabi-tag { display: inline-block; background: linear-gradient(135deg, #c4a0e8, #8b5fc8); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; padding: 5px 16px; border-radius: 100px; margin-bottom: 14px; }
.manabi-card p { font-size: 14px; line-height: 1.9; color: #7b6a9a; }
.manabi-card p strong { display: block; color: #3d2460; font-size: 16px; margin-bottom: 6px; }
.manabi-btn-wrap { text-align: center; margin-top: 44px; }

.parallax-mid { position: relative; padding: 150px 0; text-align: center; background-image: url('images/parallax_mid3.jpg'); background-attachment: fixed; background-size: cover; background-position: center; }
.parallax-mid-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(140,95,200,0.78) 0%, rgba(100,60,170,0.8) 100%); }
.parallax-mid-content { position: relative; z-index: 3; color: #fff; max-width: 760px; margin: 0 auto; padding: 0 48px; }
.parallax-mid-quote { font-size: 32px; font-weight: 900; line-height: 1.6; margin-bottom: 20px; letter-spacing: 0.02em; }
.parallax-mid-sub { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.9; }

.insta-section { padding: 84px 0; background: #fffcff; }
.insta-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.insta-header { text-align: center; margin-bottom: 32px; }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.insta-item { aspect-ratio: 1; border-radius: 16px; overflow: hidden; position: relative; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.insta-item:hover img { transform: scale(1.07); }
.insta-overlay { position: absolute; inset: 0; background: rgba(110,60,190,0.45); border-radius: 16px; opacity: 0; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-footer { text-align: center; margin-top: 28px; }

.offer-parallax { position: relative; padding: 130px 0; text-align: center; background-image: url('images/parallax_offer3.jpg'); background-attachment: fixed; background-size: cover; background-position: center top; }
.offer-parallax-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(160,110,210,0.85) 0%, rgba(92,61,158,0.9) 100%); }
.offer-content { position: relative; z-index: 3; }
.offer-eyebrow { display: inline-block; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35); border-radius: 100px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; padding: 5px 16px; margin-bottom: 20px; text-transform: uppercase; }
.offer-title { font-size: 36px; font-weight: 900; color: #fff; margin-bottom: 16px; line-height: 1.4; }
.offer-desc-p { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.85; margin-bottom: 40px; }

.offer-section { padding: 88px 0; background: #fff; position: relative; overflow: hidden; }
.offer-section::after { content: ''; position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(196,160,232,0.14) 0%, transparent 70%); pointer-events: none; }
.offer-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.offer-img { border-radius: 28px; overflow: hidden; box-shadow: 0 8px 40px rgba(120,70,200,0.14); aspect-ratio: 4/3; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-text .sec-title { display: block; text-align: left; }
.offer-text .sec-title::after { left: 0; transform: none; }
.offer-desc { font-size: 14px; color: #7b6a9a; line-height: 1.95; margin: 24px 0 32px; }
.offer-list { list-style: none; margin-bottom: 32px; }
.offer-list li { font-size: 14px; color: #5a4a7a; padding: 8px 0 8px 22px; position: relative; border-bottom: 1px dashed #e8d5f5; line-height: 1.7; }
.offer-list li::before { content: ''; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #c4a0e8, #8b5fc8); }

/* ============================================================
   下層ページ共通：ページヒーロー
   ============================================================ */
.page-hero { position: relative; padding: 96px 0 104px; text-align: center; overflow: hidden; background-attachment: fixed; background-size: cover; background-position: center; }
.page-hero.flat { padding: 76px 0 84px; background: linear-gradient(130deg, #c4a0e8 0%, #8b5fc8 48%, #5c3d9e 100%); background-attachment: scroll; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(130deg, rgba(150,100,210,0.85) 0%, rgba(92,61,158,0.9) 100%); }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-en { font-size: 42px; font-weight: 900; color: #fff; letter-spacing: 0.08em; text-shadow: 0 2px 14px rgba(60,20,100,0.25); position: relative; z-index: 2; }
.page-hero.flat .page-hero-en { font-size: 34px; letter-spacing: 0.06em; text-shadow: none; }
.page-hero-jp { font-size: 14px; color: rgba(255,255,255,0.9); margin-top: 12px; letter-spacing: 0.14em; position: relative; z-index: 2; }
.page-hero.flat .page-hero-jp { font-size: 13px; margin-top: 10px; }
.page-hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; z-index: 2; line-height: 0; }
.page-hero-wave svg { display: block; width: 100%; }

/* ── ABOUT ── */
.philosophy { text-align: center; max-width: 820px; margin: 0 auto; }
.philosophy-text { font-size: 30px; font-weight: 900; line-height: 1.7; color: #3d2460; margin-bottom: 28px; }
.philosophy-text em { font-style: normal; background: linear-gradient(transparent 62%, #e6d5f7 62%); padding: 0 2px; }
.philosophy-sub { font-size: 15px; line-height: 2.1; color: #7b6a9a; }
.greeting-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; max-width: 1000px; margin: 0 auto; }
.president-photo { width: 100%; aspect-ratio: 3/4; border-radius: 28px; overflow: hidden; box-shadow: 0 10px 40px rgba(120,70,200,0.18); }
.president-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.greeting-text p { font-size: 15px; line-height: 2; color: #5a4a7a; margin-bottom: 20px; }
.president-name { font-weight: 700; font-size: 16px; margin-top: 28px; color: #3d2460; }
.company-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 32px rgba(120,70,200,0.08); }
.company-table th, .company-table td { padding: 18px 24px; text-align: left; vertical-align: top; font-size: 14px; border-bottom: 1px solid #f0e8f8; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th { background: #f5eeff; font-weight: 700; width: 26%; white-space: nowrap; color: #5c3d9e; }
.company-table td { color: #5a4a7a; line-height: 1.8; }

/* ── コンセプト（training / consulting / tsunagari）── */
.concept-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: center; }
.concept-catch { font-size: 22px; font-weight: 900; line-height: 1.7; color: #3d2460; margin-bottom: 22px; }
.concept-catch span { display: block; font-size: 15px; font-weight: 500; color: #7b6a9a; margin-top: 10px; line-height: 1.9; }
.concept-desc { font-size: 14px; line-height: 2; color: #7b6a9a; }
.concept-img { border-radius: 28px; overflow: hidden; box-shadow: 0 8px 40px rgba(120,70,200,0.16); aspect-ratio: 3/4; }
.concept-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── TRAINING ── */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat-card { background: #fff; border-radius: 24px; padding: 40px 24px; text-align: center; box-shadow: 0 4px 24px rgba(130,80,200,0.08); }
.stat-num { font-size: 40px; font-weight: 900; background: linear-gradient(135deg, #c4a0e8, #7c5cbf); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: #8a7aaa; font-weight: 500; }
.stat-note { font-size: 12px; color: #b39ddb; margin-top: 16px; }
.record-table { width: 100%; max-width: 720px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 32px rgba(120,70,200,0.08); }
.record-table th { background: #f5eeff; color: #5c3d9e; text-align: left; padding: 16px 24px; font-size: 14px; font-weight: 700; }
.record-table td { border-top: 1px solid #f0e8f8; padding: 15px 24px; font-size: 14px; color: #5a4a7a; }
.theme-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.theme-card { background: #fff; border-radius: 24px; padding: 30px 26px; box-shadow: 0 4px 24px rgba(130,80,200,0.08); }
.theme-tag { display: inline-block; background: linear-gradient(135deg, #c4a0e8, #8b5fc8); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; padding: 5px 14px; border-radius: 100px; margin-bottom: 16px; }
.theme-title { font-size: 15px; font-weight: 700; line-height: 1.75; color: #3d2460; }
.theme-note { text-align: center; font-size: 13px; color: #8a7aaa; margin-top: 28px; }

/* ── フロー（training / consulting）── */
.flow { display: flex; align-items: stretch; gap: 0; }
.flow-step { flex: 1; background: #fff; border-radius: 20px; padding: 22px 14px; text-align: center; font-size: 13px; font-weight: 700; color: #5c3d9e; box-shadow: 0 4px 18px rgba(130,80,200,0.08); }
.flow-step span { display: block; font-size: 20px; font-weight: 900; background: linear-gradient(135deg, #c4a0e8, #7c5cbf); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 6px; }
.flow-arrow { display: flex; align-items: center; font-size: 20px; color: #c9b3e8; padding: 0 8px; flex-shrink: 0; }
.cta-lead { font-size: 15px; line-height: 1.9; color: #7b6a9a; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-lead a { color: #7c5cbf; font-weight: 700; }

/* ── CONSULTING 特徴 ── */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: #fff; border-radius: 24px; padding: 32px 28px; box-shadow: 0 4px 24px rgba(130,80,200,0.08); text-align: center; }
.feature-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(135deg, #c4a0e8, #8b5fc8); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 900; }
.feature-title { font-size: 16px; font-weight: 700; color: #3d2460; margin-bottom: 12px; }
.feature-text { font-size: 13px; line-height: 1.9; color: #7b6a9a; }

/* ── フォーム（training / consulting）── */
.form-box { background: #fff; border-radius: 28px; padding: 48px 44px; box-shadow: 0 6px 32px rgba(120,70,200,0.08); max-width: 820px; margin: 0 auto; }
.form-table { width: 100%; border-collapse: collapse; }
.form-table tr { border-bottom: 1px solid #f0e8f8; }
.form-table th { padding: 18px 20px 18px 0; text-align: left; font-size: 14px; font-weight: 700; vertical-align: top; white-space: nowrap; width: 240px; color: #5c3d9e; }
.form-table td { padding: 14px 0; }
.req { color: #c46; font-size: 11px; font-weight: 700; margin-left: 8px; }
.form-input, .form-textarea { width: 100%; border: 1px solid #ddd0f0; border-radius: 10px; padding: 12px 14px; font-family: inherit; font-size: 14px; background: #faf7ff; }
.form-textarea { height: 110px; resize: vertical; }
.radio-group { display: flex; gap: 24px; align-items: center; }
.radio-group label { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.date-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.date-row span { font-size: 13px; color: #8a7aaa; width: 60px; }
.date-row input { border: 1px solid #ddd0f0; border-radius: 10px; padding: 10px 12px; font-family: inherit; font-size: 14px; background: #faf7ff; }
.form-submit { text-align: center; margin-top: 36px; }

/* ── ホイクノツナガリ ── */
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.reg-card { background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 6px 32px rgba(120,70,200,0.1); transition: transform 0.3s, box-shadow 0.3s; }
.reg-card:hover { transform: translateY(-8px); box-shadow: 0 18px 48px rgba(120,70,200,0.18); }
.reg-img { height: 200px; overflow: hidden; position: relative; }
.reg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reg-img-badge { position: absolute; bottom: 14px; left: 18px; background: linear-gradient(135deg, #c4a0e8, #8b5fc8); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; padding: 4px 14px; border-radius: 100px; text-transform: uppercase; }
.reg-body { padding: 32px 32px 36px; text-align: center; }
.reg-title { font-size: 20px; font-weight: 900; color: #3d2460; margin-bottom: 14px; }
.reg-desc { font-size: 14px; line-height: 1.9; color: #7b6a9a; margin-bottom: 26px; }
.banner-cta { text-align: center; }
.banner-placeholder { background: linear-gradient(135deg, #ede0fa, #f5eeff); border: 1px dashed #c9b3e8; border-radius: 24px; height: 220px; display: flex; align-items: center; justify-content: center; color: #a68fce; font-size: 13px; margin-bottom: 32px; }
.tsunagari-cta { margin-top: 8px; text-align: center; }

/* ── 法務ページ（privacy / tokusho）── */
.legal-wrap { max-width: 900px; margin: 72px auto; padding: 0 48px; }
.legal-box { background: #fff; border-radius: 28px; box-shadow: 0 6px 32px rgba(120,70,200,0.08); padding: 56px 56px; }
.legal-lead { font-size: 14px; line-height: 2; color: #5a4a7a; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid #f0e8f8; }
.legal-lead .lead-strong { font-size: 17px; font-weight: 700; color: #3d2460; display: block; margin-bottom: 16px; }
.legal-sec { margin-bottom: 40px; padding-bottom: 36px; border-bottom: 1px solid #f0e8f8; }
.legal-sec:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.legal-h { font-size: 16px; font-weight: 700; color: #3d2460; margin-bottom: 16px; padding-left: 14px; border-left: 3px solid #8b5fc8; }
.legal-subh { font-size: 14px; font-weight: 700; color: #5c3d9e; margin: 20px 0 10px; }
.legal-box p { font-size: 14px; line-height: 1.95; color: #5a4a7a; margin-bottom: 12px; }
.legal-box ul { list-style: none; margin: 8px 0; }
.legal-box ul li { font-size: 14px; line-height: 1.9; color: #5a4a7a; padding: 3px 0 3px 16px; position: relative; }
.legal-box ul li::before { content: '・'; position: absolute; left: 0; color: #b39ddb; }
.legal-box ol { margin: 10px 0 12px 22px; }
.legal-box ol li { font-size: 14px; line-height: 1.9; color: #5a4a7a; margin-bottom: 4px; }
.return-list { list-style: none; margin: 0 0 12px; }
.return-list li { font-size: 14px; line-height: 1.9; color: #5a4a7a; padding: 6px 0 6px 16px; position: relative; border-bottom: 1px solid #f5eeff; }
.return-list li:last-child { border-bottom: none; }
.return-list li::before { content: '・'; position: absolute; left: 0; color: #b39ddb; }
.note-box { background: #faf4ff; border: 1px solid #ede0fa; border-radius: 16px; padding: 18px 22px; margin: 16px 0; }
.note-box p { font-size: 13px; }
.note-box .nb-title { font-weight: 700; color: #5c3d9e; margin-bottom: 10px; }
.legal-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.legal-table th { font-size: 14px; font-weight: 700; text-align: left; padding: 12px 20px 12px 0; white-space: nowrap; width: 200px; vertical-align: top; color: #5c3d9e; }
.legal-table td { font-size: 14px; padding: 12px 0; line-height: 1.8; color: #5a4a7a; border-bottom: 1px solid #f0e8f8; }
.legal-table tr:last-child td { border-bottom: none; }
.legal-date { font-size: 14px; color: #7b6a9a; line-height: 2; }

/* ── フッター ── */
footer { background: linear-gradient(180deg, #f5eeff 0%, #ede5f8 100%); border-top: 1px solid #ddd0f0; padding: 80px 0 28px; position: relative; overflow: hidden; }
.footer-wave { position: absolute; top: 0; left: 0; right: 0; height: 68px; line-height: 0; pointer-events: none; z-index: 0; }
.footer-wave svg { display: block; width: 100%; height: 100%; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 48px; position: relative; z-index: 1; }
.footer-logo img { height: 64px; width: auto; display: block; margin-bottom: 14px; }
.footer-top { display: grid; grid-template-columns: 1fr auto auto; gap: 72px; align-items: start; padding-bottom: 36px; margin-bottom: 20px; border-bottom: 1px solid #ddd0f0; }
.footer-tagline { font-size: 12px; color: #8a7aaa; line-height: 1.85; }
.footer-col-title { font-size: 10px; font-weight: 700; color: #b39ddb; letter-spacing: 0.2em; margin-bottom: 14px; text-transform: uppercase; }
.footer-nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-list a { text-decoration: none; color: #7b6a9a; font-size: 13px; }
.footer-nav-list a:hover { color: #5c3d9e; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; color: #b0a0cc; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 11px; color: #b0a0cc; text-decoration: none; }
.footer-links a:hover { color: #7c5cbf; }

/* ============================================================
   レスポンシブ：タブレット
   ============================================================ */
@media (max-width: 1080px) {
  .hero-title { font-size: 44px; }
  .offer-inner { gap: 44px; }
  .concept-grid { grid-template-columns: 1fr 320px; gap: 36px; }
  .greeting-grid { grid-template-columns: 260px 1fr; gap: 40px; }
  .footer-top { gap: 44px; }
}

/* ============================================================
   レスポンシブ：スマートフォン
   ============================================================ */
@media (max-width: 768px) {
  /* パララックスはiOSで崩れるため固定を解除 */
  .hero, .parallax-mid, .offer-parallax, .page-hero { background-attachment: scroll; }

  /* ヘッダー（ハンバーガー） */
  header { height: auto; }
  .header-inner { flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px; position: relative; }
  .logo img { height: 48px; }
  .nav-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; cursor: pointer; }
  .nav-burger span { display: block; width: 24px; height: 2px; margin: 0 auto; background: #7c5cbf; border-radius: 2px; transition: transform 0.3s, opacity 0.2s; }
  nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; box-shadow: 0 10px 24px rgba(130,80,200,0.14); max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
  .nav-toggle:checked ~ nav { max-height: 420px; }
  nav a { font-size: 14px; padding: 15px 24px; border-radius: 0; text-align: center; border-bottom: 1px solid #f3eaff; }
  nav a:last-child { border-bottom: none; }
  /* 開いたときに×へ */
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* 余白・幅 */
  .container, .points-inner, .services-inner, .insta-inner, .manabi-inner, .offer-inner, .footer-inner, .hero-content, .parallax-mid-content { padding-left: 22px; padding-right: 22px; }
  .legal-wrap { margin: 40px auto; padding: 0 20px; }
  .legal-box { padding: 30px 20px; }
  .section { padding: 56px 0; }
  .points-section, .services-section, .manabi-section, .insta-section, .offer-section { padding: 56px 0; }
  .parallax-mid, .offer-parallax { padding: 80px 0; }
  .manabi-section { padding-top: 10px; }

  /* ヒーロー */
  .hero { height: auto; min-height: 0; max-height: none; padding: 110px 0 90px; }
  .hero-content { padding-top: 0; }
  .hero-title { font-size: 30px; }
  .hero-title em { font-size: 15px; }
  .hero-sub { font-size: 14px; max-width: none; }
  .hero-blob1, .hero-blob2 { display: none; }

  /* ページヒーロー */
  .page-hero { padding: 52px 0 60px; }
  .page-hero-en { font-size: 28px; }
  .page-hero.flat .page-hero-en { font-size: 24px; }

  /* 見出し */
  .sec-title, .container > .sec-title { font-size: 22px; margin-bottom: 32px; }
  .points-header, .services-header, .insta-header, .manabi-header { margin-bottom: 32px; }

  /* グリッド → 1カラム */
  .points-grid, .stat-grid, .theme-cards, .feature-cards, .manabi-cards, .reg-grid,
  .concept-grid, .greeting-grid, .offer-inner, .manabi-feature, .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .svc-grid { grid-template-columns: 1fr; max-width: 420px; }
  .insta-grid { grid-template-columns: repeat(2, 1fr); }

  /* 画像を中央・幅制限 */
  .concept-img, .president-photo { max-width: 340px; margin: 0 auto; }
  .concept-grid > div:first-child { order: 2; }

  /* フロー → 縦積み */
  .flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 6px 0; justify-content: center; }

  /* 各種見出し・文字 */
  .philosophy-text { font-size: 21px; }
  .parallax-mid-quote { font-size: 21px; }
  .offer-title { font-size: 25px; }
  .manabi-lead { font-size: 15px; }
  .concept-catch { font-size: 19px; }

  /* フォーム：ラベルとフィールドを縦積み */
  .form-box { padding: 28px 20px; }
  .form-table th, .form-table td { display: block; width: 100%; padding: 4px 0; white-space: normal; }
  .form-table th { padding-top: 16px; }
  .date-row { flex-wrap: wrap; }

  /* テーブルを縦積み */
  .company-table th, .company-table td { display: block; width: 100%; }
  .legal-table th, .legal-table td { display: block; width: 100%; padding: 4px 0; }
  .legal-table td { border-bottom: none; padding-bottom: 14px; }

  /* フッター */
  .footer-top { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

@media (max-width: 420px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 26px; }
  .page-hero-en { font-size: 24px; }
}
