body{
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
  color: #333;
  position: relative;
  background: none; /* ← ここ重要 */
}

/* 背景固定レイヤー（画像＋白ベールを1枚で） */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  /* PC背景 */
  background-image:
    linear-gradient(rgb(255 255 255 / 94%), rgb(255 255 255 / 94%)),
    url("img/background2.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

/* 本文は前面 */
body > *{
  position: relative;
  z-index: 1;
}

/* モバイル背景（固定のまま画像だけ差し替え） */
@media (max-width: 768px){
  body::before{
    background-image:
      linear-gradient(rgb(255 255 255 / 94%), rgb(255 255 255 / 94%)),
      url("img/background2-sp.webp");
    background-position: center top, center top;
  }
}

  h1, h2, h3 {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .hero {
    background:
      linear-gradient(
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.45)
      ),
      url("img/hero-running.webp") center / cover no-repeat;
    padding: 100px 20px;
    position: relative;
    min-height: 100vh;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  /* 背景レイヤー */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.45)
      ),
      url("img/hero-running.jpg") center / cover no-repeat;
    filter: blur(4px);
    transform: scale(1.05); /* ブラーで端が切れるのを防ぐ */
    z-index: -1;
  }
  
  .hero h1 {
    text-shadow: 0 6px 20px rgba(0,0,0,0.7);
    font-size: 2.5rem;
        font-family: "Noto Sans JP", sans-serif;
        font-weight: 900;
        letter-spacing: 0.05em;
        line-height: 1.2;
        text-shadow: 0 6px 20px rgba(0,0,0,0.7);
  }
  .hero h1 span {
    display: block;
    font-weight: 900;
    letter-spacing: 0.08em;
    font-size: 3rem;
  
    background: linear-gradient(
      90deg,
      #fff6e5 0%,
      #ffd166 30%,
      #ffb703 60%,
      #ffffff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  
    text-shadow:
    0 0 4px rgba(255, 214, 102, 0.4),
    0 0 10px rgba(255, 255, 255, 0.3);
  }

  .hero-sub {
    margin: 30px 0;
    font-size: 1.1rem;
  }

  @media (max-width: 768px){
    .hero h1{
      font-size: 2.3rem;        /* PC: 2.5rem → SPで少しだけ下げる */
      line-height: 1.2;
    }
  
    .hero h1 span{
      font-size: 2.7rem;     /* 強調行は少し大きめに残す */
      letter-spacing: 0.06em;
    }
  
    .hero-sub{
      font-size: 0.95rem;    /* 読みやすさ重視 */
      line-height: 1.6;
    }
  }
  
  
  .section {
    padding: 20px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
  }
  
  .bg-light {
    background-color: #f7f7f700;
  }
  
  .text-center {
    text-align: center;
    color: black;
    text-shadow: 0px -1px #ffdcc3;
  }
  
  .list {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .list li {
    margin-bottom: 10px;
  }
  
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  
  .card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .btn-primary {
    display: inline-block;
    background: #ff9f1c;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .cta {
    background: #7fc8f8;
    color: #fff;
    text-align: center;
  }

  @media (max-width: 768px){
    .cta h2{
      font-size: 1.2rem;   /* 少しだけ小さく */
      line-height: 1.4;
      letter-spacing: 0.02em;
    }
  }
  
  
  .info {
    text-align: center;
  }
  
  .footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
  }


  .lead{
    max-width: 720px;
    margin: 0 auto 30px;
    opacity: .9;
  }
  
  .pain-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    max-width: 820px;
    margin: 0 auto;
  }
  
  .pain-item{
    background: #fff;
    border-radius: 14px;
    padding: 16px 16px 16px 46px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.06);
  }
  
  .pain-item::before{
    content: "✓";
    position: absolute;
    left: 16px;
    top: 14px;
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    color: #ff9f1c;
  }
  
  .mini-bridge{
    margin-top: 26px;
    font-weight: 700;
  }
  .coach-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .coach-card{
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
  }
  
  .mini-note{
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.75;
  }
  
  .lead strong{
    color: #ff9f1c;
  }
  .trust-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
  }
  
  .trust-card{
    background: #fff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  }
  
  .trust-note{
    margin-top: 26px;
    font-size: 0.9rem;
    opacity: 0.75;
  }
/* お悩み画像（1280×680対応） */
.worry-img{
    display: block;
    width: 100%;

    margin: 0 auto;
    object-fit: contain;
    border-radius: 18px;
  }
  .bg-light{
  /* background-image: url(img/background1.png); */
  background-size: cover;
  background-position: right;
  }

/* 目立つ見出し（解決策用） */
.section-title--impact{
  display: inline-block;          /* 背景を文字幅に沿わせる */
  margin: 0 auto 26px;
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  position: relative;
  line-height: 1.25;
  letter-spacing: 0.03em;
  font-weight: 900;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

/* 下に強調ライン（オレンジ） */
.section-title--impact::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: min(240px, 70%);
  height: 6px;
  border-radius: 999px;
  background: #ff9f1c;
  box-shadow: 0 8px 20px rgba(255,159,28,0.25);
}

/* 背景がグレー（bg-light）でも浮くように */
.bg-light .section-title--impact{
  border: 1px solid rgba(0,0,0,0.06);
}

/* スマホ対応：詰まりを防ぐ */
@media (max-width: 768px){
  .section-title--impact{
    padding: 14px 14px;
    border-radius: 14px;
    font-size: 1.15rem;
  }
  .section-title--impact::after{
    bottom: -9px;
    height: 5px;
    width: min(200px, 72%);
  }
}

/* PCで少し大きく（既存h2に上書きしたい場合） */
@media (min-width: 769px){
  .section-title--impact{
    font-size: 2rem;
  }
}
.feature-icon-img{
  width: 180px;
  height: 120px;
  object-fit: contain;
}
@media (max-width: 768px){
  .feature-icon-img{
    width: 100%;
    height: auto;      /* ← これ重要 */
  }
}


/* 指導体制カード調整 */
.coach-cards{
  margin-top: 40px;
}

.coach-card{
  text-align: center;
  padding-top: 36px;
}

/* アイコン */
.coach-icon{
  font-size: 2.4rem;
  margin-bottom: 12px;
  line-height: 1;
}
.youtube-thumb{
  display: block;
  position: relative;
  max-width: 880px;
  margin: 30px auto;
}

.youtube-thumb img{
  width: 100%;
  border-radius: 18px;
  display: block;
}

.play-btn{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
}

.play-btn::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent #fff;
}
.strength-section{
  position: relative;
  background: #f7f1e3;
  overflow: hidden;
}

.strength-section::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.02),
      rgba(0,0,0,0.02) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.4;
  pointer-events: none;
}
.red{
  color: #ff4603;
}

.coach-card{
  padding: 32px;
}

/* タイトル */
.coach-title{
  text-align: center;
  margin-bottom: 24px;
}

/* 文章 → 写真 */
.coach-body{
  display: flex;
  align-items: center;
  gap: 24px;
}

/* 文章 */
.coach-text{
  flex: 1;                 /* 文章は控えめ */
  font-size: 0.95rem;
  line-height: 1.8;
}

/* 写真（主役） */
.coach-image{
  flex: 1.4;               /* ← 写真を大きくする鍵 */
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
@media (max-width: 768px){
  .coach-body{
    flex-direction: column;
  }

  .coach-text{
    order: 1;
  }

  .coach-image{
    order: 2;
    width: 100%;
  }
}
/* 指導体制CTA */
.coach-cta{
  margin-top: 64px;
  padding: 40px 20px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(255,245,226,0.9),
    rgba(255,235,200,0.9)
  );
  border-radius: 24px;
  height: 240px;
}

.coach-cta-text{
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 24px;
}

.coach-cta-text strong{
  color: #ff6b00;
  font-size: 1.3em;
}

.btn-cta{
  font-size: 1.1rem;
  padding: 18px 36px;
  box-shadow: 0 10px 30px rgba(255,159,28,0.4);
}

.coach-cta-note{
  margin-top: 16px;
  font-size: 0.85rem;
  color: #666;
}

/* スマホ調整 */
@media (max-width: 768px){
  .coach-cta{
    padding: 32px 16px;
  }
}

.coach-balloon{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
  margin-bottom: 20px;
}

/* 牛キャラ画像 */
.coach-balloon-img{
  position: relative;
  top: -341px;
  left: -81px;
  width: 270px;

}

/* 吹き出し */
.coach-balloon-text{
  position: relative;
  background: #fff;
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

/* 吹き出しのしっぽ */
.coach-balloon-text::before{
  content: "";
  position: absolute;
  left: -10px;
  bottom: 16px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid #fff;
}

.schedule-box{
  margin: 24px auto;
  padding: 18px 20px;
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  max-width: 640px;
}

.schedule-title{
  font-weight: 900;
  color: #ff6b00;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.schedule-box p{
  margin-bottom: 10px;
  line-height: 1.6;
}

.schedule-note{
  font-size: 0.85rem;
  color: #666;
  margin-top: 8px;
}


/* モバイル */
@media (max-width: 768px){
  .coach-balloon{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }


  .coach-balloon-text::before{
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    border-right: none;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
  }
}
h3 {
  color:#d17c30;/*文字色*/
  padding: 0.5em;/*文字周りの余白*/
  display: inline-block;/*おまじない*/
  line-height: 1.3;/*行高*/
  background: #dbebf8;/*背景色*/
  vertical-align: middle;
  border-radius: 25px 0px 0px 25px;/*左側の角を丸く*/
}

.saino-img{
  width: 100%;
  height: auto;
}
/* ===== 上品スクロールアニメ（初期状態） ===== */
[data-animate]{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

/* fade は移動なし */
[data-animate="fade"]{
  transform: none;
}

/* 表示状態 */
.is-inview{
  opacity: 1;
  transform: none;
}

/* stagger：子要素を順番に */
[data-animate="stagger"] > *{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}

[data-animate="stagger"].is-inview > *{
  opacity: 1;
  transform: none;
}

/* ここで順番を作る（12個まで対応） */
[data-animate="stagger"].is-inview > *:nth-child(1){ transition-delay: .05s; }
[data-animate="stagger"].is-inview > *:nth-child(2){ transition-delay: .12s; }
[data-animate="stagger"].is-inview > *:nth-child(3){ transition-delay: .19s; }
[data-animate="stagger"].is-inview > *:nth-child(4){ transition-delay: .26s; }
[data-animate="stagger"].is-inview > *:nth-child(5){ transition-delay: .33s; }
[data-animate="stagger"].is-inview > *:nth-child(6){ transition-delay: .40s; }

/* ボタン：ホバーを上品に */
.btn-primary{
  transition: transform .2s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255,159,28,.35);
  filter: saturate(1.05);
}

/* YouTubeサムネ：軽い浮き */
.youtube-thumb{
  transition: transform .25s ease, box-shadow .25s ease;
}
.youtube-thumb:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

/* 動きが苦手な人への配慮（重要） */
@media (prefers-reduced-motion: reduce){
  [data-animate], [data-animate="stagger"] > *{
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ===== 追加：画像の“呼吸”（上品） ===== */
.worry-img.is-breathe,
.saino-img.is-breathe,
.youtube-thumb.is-breathe img{
  animation: breathe 5.5s ease-in-out infinite;
  transform-origin: 50% 50%;
}

@keyframes breathe{
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.015); } /* 1.5%だけ */
}

/* ===== 追加：セクション入場を少しだけリッチに ===== */
.section.is-float{
  animation: sectionFloat 900ms cubic-bezier(.2,.8,.2,1) 1;
}

@keyframes sectionFloat{
  0%   { transform: translateY(10px); }
  100% { transform: translateY(0); }
}

/* 動きが苦手な人への配慮 */
@media (prefers-reduced-motion: reduce){
  .worry-img.is-breathe,
  .saino-img.is-breathe,
  .youtube-thumb.is-breathe img{ animation:none !important; }

  .section.is-float{ animation:none !important; }
}

/* ===== ヒーロー：ゆっくり・上品な出方 ===== */
.hero [data-animate="stagger"] > *{
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1.6s ease,
    transform 1.8s cubic-bezier(.22,.9,.22,1);
}

/* 表示状態 */
.hero [data-animate="stagger"].is-inview > *{
  opacity: 1;
  transform: none;
}

/* 順番と“間”をしっかり取る */
.hero [data-animate="stagger"].is-inview > *:nth-child(1){
  transition-delay: .25s;   /* h1 */
}
.hero [data-animate="stagger"].is-inview > *:nth-child(2){
  transition-delay: .55s;   /* サブコピー */
}
.hero [data-animate="stagger"].is-inview > *:nth-child(3){
  transition-delay: .85s;   /* CTA */
}

.hero .btn-primary{
  transition:
    opacity 1.6s ease,
    transform 2s cubic-bezier(.22,.9,.22,1);
}

/* ===== 牛キャラ：初回だけ上品に ===== */
.coach-balloon-img{
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition:
    opacity 1s ease,
    transform 1.1s cubic-bezier(.25,.9,.25,1);
}


/* 表示 */
.coach-balloon-img.is-inview{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ぷるん（1回だけ） */
.coach-balloon-img.is-pop{
  animation: cowPopOnce 700ms cubic-bezier(.25,.8,.25,1) 1;
  transform-origin: 60% 80%;
}

@keyframes cowPopOnce{
  0%   { transform: scale(1) translateY(0) rotate(0deg); }
  35%  { transform: scale(1.06) translateY(-8px) rotate(-2deg); }
  60%  { transform: scale(0.98) translateY(0) rotate(1deg); }
  100% { transform: scale(1) translateY(0) rotate(0deg); }
}


/* モバイルは控えめ */
@media (max-width: 768px){
  .coach-balloon-img{
    transform: translateY(12px) scale(0.99);
  }
}

/* 動きが苦手な人への配慮 */
@media (prefers-reduced-motion: reduce){
  .coach-balloon-img{
    transition:none !important;
    opacity:1 !important;
    transform:none !important;
  }
  .coach-balloon-img.is-pop{
    animation:none !important;
  }
}

.about p,
.about ul {
  text-align: center;
}


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

ul li {
  position: relative;
  padding-left: 1.2em;
}

.footer-nav {
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;       /* ← 折り返さない */
  white-space: nowrap;     /* ← 改行させない */
  font-size: 0.9rem;
}

.footer-nav a {
  color: #ddd;
  font-size: 0.9rem;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.footer-nav a:hover {
  color: #ff9f1c;
  text-decoration: underline;
}

@media (max-width: 480px){
  .footer-nav{
    flex-wrap: wrap;          /* ← スマホだけ折り返す */
    white-space: normal;
    row-gap: 6px;
    font-size: 0.85rem;
  }
}


.back-to-top {
  margin-top: 60px;
  margin-bottom: 60px;
  text-align: center;
}

.back-to-top a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #f7f7f7;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-to-top a:hover {
  background: #ff9f1c;
  color: #fff;
}
