/* --- Base Styles --- */
:root {
    --primary: #162d62;
    --primary-dark: #0f204a;
    --accent: #4dc764;
    --accent-dark: #3da852;
    --urgent-green: #28a745;
    --yellow: #facc15;
    --yellow-dark: #eab308;
    --yellow-border: #a16207;
    --text-white: #ffffff;
    --text-gray: #4b5563;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--primary);
    color: var(--text-white);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
    line-height: 1.6;
    overflow-x: hidden; /* 指示0: 横スクロール防止 */
    -webkit-font-smoothing: antialiased;
}

/* --- Layout --- */
.container, .container-narrow, .container-faq, .container-form {
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 1.5rem;
    /* overflow-x: hidden; はモバイルスクロールの障壁になるためコンテナからは削除 */
}
.container { max-width: 1200px; }
.container-narrow { max-width: 896px; }
.container-faq { max-width: 768px; }
.container-form { max-width: 896px; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-bold { font-weight: bold; }
.py-sm { padding: 2rem 0; }
.py-md { padding: 3rem 0; }
.py-lg { padding: 6rem 0; }
.mb-xs { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 2.5rem; }
.mt-sm { margin-top: 1rem; }
.full-img { width: 100%; height: auto; display: block; }
.underline { text-decoration: underline; }
.italic { font-style: italic; }

@media (min-width: 768px) { .md-only { display: block; } }

/* --- Reveal Animation --- */
.reveal-item { opacity: 0; transform: translateY(30px); transition: opacity 1s ease-out, transform 1s ease-out; }
.reveal-item.active { opacity: 1; transform: translateY(0); }

@keyframes wobble {
    0%, 100% { transform: scale(1); }
    5%, 15% { transform: scale(1.05) rotate(-1deg); }
    10%, 20% { transform: scale(1.05) rotate(1deg); }
}
.animate-wobble { animation: wobble 3.5s infinite ease-in-out; }

/* --- UI Parts --- */
.bg-green-dark { background-color: var(--urgent-green); }
.bg-overlay { background-color: rgba(15, 32, 74, 0.6); }

.section-title { font-size: 2rem; font-weight: 900; margin-bottom: 4rem; line-height: 1.3; }
@media (min-width: 768px) { .section-title { font-size: 2.5rem; } }

.btn-yellow-3d {
    display: inline-block;
    background: linear-gradient(to bottom, var(--yellow), var(--yellow-dark));
    color: var(--primary);
    font-weight: 900;
    font-size: 1.25rem;
    padding: 1.5rem 3rem;
    border-radius: 9999px;
    border-bottom: 5px solid var(--yellow-border);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.grid-3, .grid-2 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card, .voice-card { background: #fff; color: #111; padding: 2rem; border-radius: 1.5rem; box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.card-img { width: 100%; height: 250px; object-fit: cover; border-radius: 1rem; margin-bottom: 1rem; } /* 指示1: 画像伸び防止 */
.card-tag { font-weight: 900; color: var(--urgent-green); margin-bottom: 0.5rem; }
.card-text { color: var(--text-gray); font-size: 0.95rem; }

.hero-text { font-size: 1.8rem; font-weight: 900; margin-bottom: 2rem; }
@media (min-width: 768px) { .hero-text { font-size: 2.2rem; } }
.text-accent-big { color: var(--accent); font-size: 4.5rem; margin-right: 1rem; }

.main-visual-container { width: 100%; text-align: center; }
.rounded-visual { max-width: 100%; height: auto; border-radius: 2rem; } /* 指示2: 見切れ防止 */

.white-box { background: #fff; color: #111; padding: 2.5rem; border-radius: 2rem; box-shadow: 0 20px 25px rgba(0,0,0,0.2); }
.text-accent-bold { color: var(--accent); font-weight: bold; }
.box-text { font-size: 1.2rem; line-height: 1.8; }

.reason-stack { display: flex; flex-direction: column; gap: 3rem; }
.reason-card { background: #fff; color: #111; border-radius: 2.5rem; overflow: hidden; display: flex; flex-direction: column; }
@media (min-width: 768px) { .reason-card { flex-direction: row; } .reason-card.rev-row { flex-direction: row-reverse; } }
.reason-img-box { flex: 1; }
.reason-img-box img { width: 100%; height: 100%; object-fit: cover; }
.reason-content { flex: 1; padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.reason-tag { background: var(--accent); color: #fff; padding: 0.75rem; border-radius: 0.5rem; font-weight: 900; margin-bottom: 1rem; text-align: center; font-size: 1.25rem; } /* 指示4: サイズアップ */
.reason-text { color: var(--text-gray); font-size: 1.15rem; line-height: 1.7; } /* 指示4: サイズアップ */
.text-accent-num { color: var(--accent); font-size: 3.5rem; font-weight: 900; vertical-align: middle; margin: 0 0.2em; } /* 指示4: 3を強調 */

.stat-card { background: #fff; color: #111; padding: 2rem; border-radius: 2rem; border-bottom: 4px solid var(--accent); }
.stat-value { font-size: 4rem; font-weight: 900; color: var(--accent); }

.ban-box { background: var(--yellow); border: 4px solid var(--yellow-border); border-radius: 2rem; padding: 2.5rem; margin: 0 auto; }
.ban-title { color: var(--primary-dark); font-weight: 900; font-size: 1.25rem; } /* 指示5: 視認性改善 */
.ban-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem; background: rgba(255,255,255,0.4); padding: 1.5rem; border-radius: 1rem; margin-top: 1rem; }
.ban-text { color: var(--primary-dark); font-weight: bold; } /* 指示5: 視認性改善 */

.voice-icon-box { width: 45px; height: 45px; flex-shrink: 0; margin-bottom: 1rem; overflow: hidden; border-radius: 50%; } /* 指示6: アイコン伸び防止 */
.voice-icon-box img { width: 100%; height: 100%; object-fit: cover; }
.voice-meta { font-size: 0.85rem; font-weight: bold; color: var(--accent); margin-bottom: 0.5rem; }
.text-highlight { background: linear-gradient(transparent 70%, rgba(77, 199, 100, 0.4) 70%); font-weight: bold; }

.faq-item { background: #fff; color: #111; margin-bottom: 1rem; border-radius: 1rem; }
.faq-q { padding: 1.5rem; cursor: pointer; font-weight: bold; display: flex; justify-content: space-between; align-items: center; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-a { padding: 0 1.5rem 1.5rem; color: var(--text-gray); border-top: 1px solid #eee; }
.faq-special { background: var(--yellow); border: 2px solid var(--yellow-border); }

/* --- Form Design --- */
.form-card { background: #fff; color: #111; padding: 2.5rem; border-radius: 2.5rem; box-shadow: 0 25px 50px rgba(0,0,0,0.2); border: 1px solid #eee; }
.form-title-3d { background: linear-gradient(to bottom, var(--accent), var(--accent-dark)); color: #fff; padding: 1.5rem; border-radius: 1rem; border-bottom: 6px solid #2d7a3d; margin-bottom: 2rem; display: inline-block; width: 100%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.form-header { font-size: 1.5rem; font-weight: 900; line-height: 1.3; }

.ban-box-small { background: #fff7ed; border: 2px solid #fdba74; padding: 1.5rem; border-radius: 1rem; margin-top: 1.5rem; } /* 指示7: フォーム内背景復元 */
.ban-title-small { font-weight: 900; color: #9a3412; font-size: 0.9rem; margin-bottom: 0.75rem; }
.ban-content-small { display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: rgba(255,255,255,0.6); padding: 0.75rem; border-radius: 0.5rem; }
.ban-list-small { font-size: 0.8rem; font-weight: bold; color: #c2410c; }

.form-group { margin-bottom: 1.75rem; text-align: left; } /* 指示8: 間隔調整 */
.form-label { font-weight: 900; font-size: 1rem; color: var(--primary); display: block; margin-bottom: 0.5rem; }
.form-input, .form-select { 
    width: 100%; 
    padding: 1.1rem; 
    border-radius: 0.75rem; 
    border: 2px solid #e5e7eb; 
    font-size: 1rem; 
    transition: all 0.2s; 
    background-color: #f9fafb;
}
.form-input:focus, .form-select:focus { outline: none; border-color: var(--accent); background-color: #fff; box-shadow: 0 0 0 4px rgba(77, 199, 100, 0.1); }

.radio-group { display: flex; gap: 2rem; padding: 0.5rem 0; }
.radio-label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-weight: bold; }
.radio-input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); }

.agree-label { display: flex; align-items: center; justify-content: center; gap: 0.75rem; cursor: pointer; padding: 1rem 0; }
.check-input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); }

.btn-submit { 
    width: 100%; 
    background: linear-gradient(to bottom, #4dc764, #3da852);
    color: #fff; 
    font-weight: 900; 
    font-size: 1.4rem; 
    padding: 1.6rem; 
    border-radius: 9999px; 
    border: none; 
    border-bottom: 6px solid #2d7a3d; 
    cursor: pointer; 
    margin: 1.5rem 0; 
    transition: all 0.1s; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
} /* 指示9: デザイン刷新 */
.btn-submit:active { transform: translateY(4px); border-bottom-width: 2px; }

.agree-text { font-size: 1rem; font-weight: 900; color: var(--accent-dark); margin-top: 0.5rem; } /* 指示10: CVボタン下に配置 */

.footer { padding: 4rem 0; background: var(--primary-dark); color: #9ca3af; text-align: center; }
.footer-office { color: #fff; font-weight: 900; font-size: 1.2rem; margin-bottom: 0.5rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin: 2rem 0; font-size: 0.8rem; }
.footer-link-item { color: #fff; text-decoration: underline; }

/* Navigation */
.mobile-floating-cta { position: fixed; bottom: 20px; right: 20px; z-index: 1000; width: 60px; height: 60px; background: var(--yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.4); pointer-events: auto; }
.fixed-menu-btn { position: fixed; top: 20px; right: 20px; z-index: 2000; background: var(--accent); padding: 0.8rem; border-radius: 0.5rem; border: none; cursor: pointer; }
.nav-overlay { 
    position: fixed; 
    inset: 0; 
    background: #28a745; 
    z-index: 1500; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 2rem; 
    font-size: 1.5rem; 
    font-weight: bold; 
    transform: translateX(100%); 
    transition: transform 0.3s; 
    pointer-events: none; /* 通常時は透過させスクロールを阻害しない */
}
.nav-overlay.active { transform: translateX(0); pointer-events: auto; } /* メニュー展開時のみ判定を有効化 */
.nav-link { color: #fff; text-decoration: none; }
.btn-menu-seminar { background: #fff; color: var(--urgent-green) !important; padding: 0.8rem 2rem; border-radius: 5rem; }
/* =========================
   FV copy (lightweight version)
   デザインを壊さない控えめサイズ
========================= */
.fv-copy{
  max-width: 760px;
  margin: 0.75rem auto 0.25rem;
  padding: 0 1.25rem;
  text-align: center;
}
.fv-copy h1,
.fv-copy h2{
  font-size: 1.15rem;   /* ← 小さく */
  font-weight: 700;     /* ← 太さも少し落とす */
  line-height: 1.5;
  margin-bottom: 0.35rem;
}

.fv-copy p{
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.9;
}

.fv-copy .fv-note{
  margin-top: 0.35rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

@media (min-width:768px){
  .fv-copy h1,
  .fv-copy h2{
    font-size: 1.35rem; /* PCでも主張しすぎない */
  }
  .fv-copy p{
    font-size: 0.95rem;
  }
}
/* --- LP relevance helper (small, non-intrusive) --- */
.lp-sr-copy{
  max-width: 760px;
  margin: 0.4rem auto 0.2rem;
  padding: 0 1.25rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.6;
  opacity: 0.72;
}
@media (min-width:768px){
  .lp-sr-copy{ font-size: 0.82rem; }
}
/* FV CLS対策（崩さない版） */
.hero-picture{
  display:block;
  width:100%;
}

/* SP：縦長の枠を先に確保（CLS低下） */
@media (max-width: 767px){
  .hero-picture{
    aspect-ratio: 721 / 959;
  }
}

/* PC：横長の枠を先に確保（CLS低下） */
@media (min-width: 768px){
  .hero-picture{
    aspect-ratio: 1200 / 630;
  }
}

/* 重要：cover禁止。見切れ・拡大の原因 */
.hero-picture img{
  width:100%;
  height:100%;
  object-fit: contain;  /* ← これが復旧の核心 */
  display:block;
}