/* ==============================================
   スポーツチーム専門Web制作サービス LP
   スタイルシート
   - 色や余白は変数化してあるので、差し替えやすくしています
================================================= */

:root {
  /* ▼カラー（差し替えやすいように変数化） */
  --color-primary: #0d6efd;      /* メインカラー：爽やかな青 */
  --color-primary-dark: #0a4fbe;
  --color-accent: #16a34a;       /* サブカラー：グリーン（前向き・信頼感） */
  --color-line: #06c755;         /* LINE公式カラー：CTAボタンに使用 */
  --color-line-dark: #05a648;
  --color-monitor: #f59e0b;      /* モニター訴求用アンバー */

  --color-bg: #ffffff;
  --color-bg-soft: #f4f8fb;
  --color-bg-dark: #10253f;

  --color-text: #1e293b;
  --color-text-sub: #52606d;
  --color-text-light: #ffffff;

  --radius: 16px;
  --shadow-soft: 0 6px 20px rgba(15, 40, 80, 0.08);
  --max-width: 1080px;

  --font-base: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 400px) {
  .container {
    padding: 0 16px;
  }
}

.pc-only {
  display: none;
}

@media (min-width: 769px) {
  .pc-only {
    display: inline;
  }
}

/* ==============================================
   共通：見出し・テキスト
================================================= */

.section {
  padding: 72px 0;
}

.section-title {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 16px;
  color: var(--color-text);
}

.section-title-light {
  color: var(--color-text-light);
}

.section-lead {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-sub);
  margin: 0 auto 48px;
  max-width: 640px;
}

.section-lead-light {
  color: rgba(255, 255, 255, 0.9);
}

.section-note {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 2;
}

/* ==============================================
   ヘッダー
================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e9eef3;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: clamp(12px, 3.6vw, 15px);
  color: var(--color-primary-dark);
  margin: 0;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* ==============================================
   ボタン共通
================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-line {
  background-color: var(--color-line);
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 199, 85, 0.35);
}

.btn-line:hover {
  background-color: var(--color-line-dark);
}

.btn-small {
  padding: 8px 16px;
  font-size: 13px;
}

@media (max-width: 400px) {
  .header-inner {
    gap: 8px;
  }

  .btn-small {
    padding: 8px 12px;
    font-size: 12px;
  }
}

.btn-large {
  padding: 20px 40px;
  font-size: 18px;
  width: 100%;
  max-width: 420px;
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: #fff;
  padding: 14px 24px;
  font-size: 15px;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ==============================================
   バッジ
================================================= */

.badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge-center {
  display: block;
  width: fit-content;
  margin: 0 auto 20px;
}

/* 運営者の指導風景写真（丸型トリミング） */
.about-photo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.about-photo-img {
  width: 168px;
  height: 168px;
  object-fit: cover;
  object-position: 60% 35%;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: var(--shadow-soft);
}

/* ==============================================
   ファーストビュー
================================================= */

.hero {
  position: relative;
  /* 実際の指導風景の写真を、うっすらと背景に重ねています */
  background-image: linear-gradient(180deg, rgba(234, 243, 255, 0.93) 0%, rgba(255, 255, 255, 0.96) 100%),
    url("images/batter-action.jpg");
  background-size: cover;
  background-position: center 30%;
  padding: 56px 0 96px;
  text-align: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%);
}

/* ジャージ風の斜めストライプ（うっすら） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.05) 0,
    rgba(13, 110, 253, 0.05) 2px,
    transparent 2px,
    transparent 26px
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(26px, 6.5vw, 42px);
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 24px;
  color: var(--color-text);
}

.hero-title .accent {
  color: var(--color-primary);
}

.hero-lead {
  font-size: 16px;
  color: var(--color-text-sub);
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero-cta-note {
  font-size: 13px;
  color: var(--color-text-sub);
}

.hero-cta-note-light {
  color: rgba(255, 255, 255, 0.85);
}

.hero-visual {
  margin-top: 48px;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(15, 40, 80, 0.1));
}

/* ==============================================
   カードグリッド共通
================================================= */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.card-grid-2 {
  grid-template-columns: 1fr;
}

.card-grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}

.card-icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.card-heading {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}

.card-text {
  font-size: 14.5px;
  color: var(--color-text-sub);
  margin: 0;
}

.card-simple {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.card-simple .check {
  color: var(--color-accent);
  font-weight: 800;
}

/* ==============================================
   共感セクション
================================================= */

.empathy {
  background: var(--color-bg-soft);
}

/* ==============================================
   HP / LP 比較
================================================= */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.compare-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e9eef3;
}

.compare-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.compare-desc {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}

.compare-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--color-text-sub);
  margin-bottom: 10px;
}

.compare-list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

/* ==============================================
   おすすめチーム（タグリスト）
================================================= */

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.tag-list li {
  background: #fff;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
}

/* ==============================================
   プラン
================================================= */

.plans {
  background: var(--color-bg-soft);
}

.plan-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e9eef3;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 12px;
}

.plan-desc {
  font-size: 14.5px;
  color: var(--color-text-sub);
  margin: 0;
}

/* ==============================================
   モニター募集
================================================= */

.monitor {
  text-align: center;
  background: linear-gradient(180deg, #fff7e8 0%, #ffffff 100%);
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
  padding-top: 96px;
}

/* ==============================================
   流れ（ステップ）
================================================= */

.flow-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.flow-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.flow-heading {
  font-weight: 700;
  font-size: 16px;
  margin: 4px 0 6px;
}

.flow-text {
  font-size: 14px;
  color: var(--color-text-sub);
  margin: 0;
}

/* ==============================================
   最終CTA
================================================= */

.cta-final {
  /* チーム写真を、濃紺のオーバーレイ越しに背景として使用 */
  background-image: linear-gradient(180deg, rgba(16, 37, 63, 0.92) 0%, rgba(16, 37, 63, 0.96) 100%),
    url("images/team-photo.jpg");
  background-size: cover;
  background-position: center 35%;
  text-align: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 96%);
  padding-bottom: 96px;
}

.cta-sub-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.cta-sub-buttons .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.cta-sub-buttons .btn-outline:hover {
  background: #fff;
  color: var(--color-bg-dark);
}

/* ==============================================
   FAQ
================================================= */

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e9eef3;
  border-radius: 12px;
  padding: 4px 20px;
  box-shadow: var(--shadow-soft);
}

.faq-question {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  padding: 18px 28px 18px 0;
  position: relative;
  list-style: none;
}

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

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 22px;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 14.5px;
  color: var(--color-text-sub);
  margin: 0 0 20px;
  padding-top: 4px;
}

/* ==============================================
   フッター
================================================= */

.site-footer {
  background: #f4f8fb;
  padding: 48px 0 96px;
  text-align: center;
  border-top: 1px solid #e9eef3;
}

.footer-service-name {
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
}

.footer-copy {
  font-size: 13.5px;
  color: var(--color-text-sub);
  max-width: 480px;
  margin: 0 auto 24px;
}

.footer-copyright {
  font-size: 12px;
  color: #9aa5b1;
  margin-top: 28px;
}

/* ==============================================
   モバイル追従CTA
================================================= */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e9eef3;
  box-shadow: 0 -6px 20px rgba(15, 40, 80, 0.1);
  transform: translateY(120%);
  transition: transform 0.3s ease;
  display: none;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.btn-sticky {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 76px; /* 追従CTA分の余白 */
  }
}

/* ==============================================
   スクロールで表示するフェードイン
================================================= */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
