:root {
  --bulma-primary-h: 206deg;
  --bulma-primary-l: 85%;
  --bulma-link-h: 207deg;
  --bulma-link-l: 73%;
  --bulma-info-h: 238deg;
  --bulma-info-l: 80%;
  --bulma-success-l: 77%;
  --bulma-warning-l: 96%;
  --bulma-danger-l: 83%;
  --bulma-scheme-h: 265;
  --brand: #22c7a8;
  --brand-dark: #0f8f83;
  --accent: #ffd166;
  --pop: #ff6b6b;
  --ink: #213547;
  --bg-soft: #fff;
}

.title {
  line-height: 1.4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: #ffffff;
}

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

.hero-fv {
  position: relative;
  background-image:
    linear-gradient(120deg, rgba(8, 33, 55, 0.78), rgba(15, 143, 131, 0.66), rgba(255, 107, 107, 0.45)),
    url("../img/head.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

@media screen and (max-width: 768px) {
 .hero-fv {
      position: relative;
      background-image:
        linear-gradient(120deg, rgba(8, 33, 55, 0.78), rgba(15, 143, 131, 0.66), rgba(255, 107, 107, 0.45)),
        url("../img/head-mobile.png");
      background-size: cover;
      background-position: center;
      color: #fff;
    }
}

.hero-overlay {
  padding: 5.5rem 0 5rem;
  backdrop-filter: saturate(1.05);
}

.hero-copy {
  max-width: 760px;
  background: rgba(8, 26, 38, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 1rem;
  padding: 2rem;
  margin: 0 15px;
  box-shadow: 0 16px 30px rgba(10, 22, 29, 0.35);
}

.hero-title {
  color: #fff;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.hero-sub {
  color: #e9f6f2;
  line-height: 1.55;
}

.hero-highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff4c7;
  margin-top: 1rem;
}

.placeholder-img {
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
  box-shadow: 0 12px 25px rgba(31, 53, 71, 0.18);
}

.problem-box {
  background: #fff;
  border-left: 6px solid var(--accent);
  border-radius: 0.9rem;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(49, 66, 79, 0.07);
}

.program-card {
  height: 100%;
  border-radius: 1rem;
  border: 1px solid #daf6ef;
  box-shadow: 0 8px 20px rgba(31, 56, 74, 0.06);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(31, 56, 74, 0.1);
}

.program-card .card-content {
  padding: 1.35rem;
}

.program-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: linear-gradient(145deg, rgba(34, 199, 168, 0.24), rgba(255, 209, 102, 0.42));
  color: var(--brand-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.price-wrap {
  border: 2px solid #c5f2e8;
  border-radius: 1rem;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 12px 25px rgba(27, 55, 48, 0.06);
}

.old-price {
  color: #7b8794;
  text-decoration: line-through;
  font-weight: 600;
}

.special-price {
  font-size: 2rem;
  font-weight: 800;
  color: #dc143c;
  line-height: 1.2;
}

.faq-item {
  border: 1px solid #c9efe6;
  border-radius: 0.85rem;
  padding: 1rem 1.15rem;
  background: #fff;
  height: 100%;
}

.cta-box {
  border-radius: 1.2rem;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand), #40d9ff);
  color: #fff;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 28px rgba(9, 55, 44, 0.3);
}

.cta-box .button.is-warning {
  font-weight: 700;
}

.button.is-warning {
  background-color: var(--accent);
  border-color: transparent;
  color: #2d2a22;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 209, 102, 0.45);
}

.button.is-warning:hover {
  background-color: #ffd977;
  color: #2d2a22;
}

.button.is-success {
  background-color: var(--pop);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.4);
}

.button.is-success:hover {
  background-color: #ff7f7f;
  color: #fff;
}

.is-accent {
  color: var(--brand-dark);
}

.cell_w {
  width: 50%;
}

.split-text-container {
  overflow: hidden;
}

.text-part {
  display: inline-block;
  position: relative;
  transform: translateX(0);
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

.text-part.left {
  transform: translateX(-200%);
  animation-name: slide-in-left;
}

.text-part.right {
  transform: translateX(200%);
  animation-name: slide-in-right;
}

.hero-price {
  position: relative;
  background: url("../img/price-bg.png") center center / cover no-repeat;
}

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

.parallax-hero {
  position: relative;
  min-height: 400px;
  background-image: url("../img/sec-bg.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
 .parallax-hero{
  position: relative;
  min-height: 200px;
  background-image: url("../img/sec-bg-mobile.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* パララックス風 */
  overflow: hidden;
}
}

.parallax-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.parallax-hero .hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.parallax-hero2{
  position: relative;
  min-height: 400px;
  background: url("../img/sec-3-bg.png") center center / cover no-repeat fixed;
}

.parallax-hero2::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3);
}

.parallax-hero2 .hero-body{
  position: relative;
  z-index: 1;
  min-height: 400px;
  align-items: center;
}

.tenou-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.tenou-composition {
  position: relative;
  width: 100%;
  line-height: 0;
}

.tenou-bg {
  display: block;
  width: 100%;
  height: auto;
}

.tenou-person {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 62%;
  height: auto;
  z-index: 2;
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  0% {
    transform: translateX(200%);
  }

  100% {
    transform: translateX(0);
  }
}

@media screen and (max-width: 768px) {
  .tenou-person {
    width: clamp(220px, 58vw, 420px);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
  }

  .special-price {
    font-size: 1.7rem;
  }

  .hero-overlay {
    padding: 4.75rem 0 4.25rem;
  }

  .hero-copy {
    padding: 1.5rem 1.25rem;
  }

  .hero-title {
    font-size: 2rem !important;
  }

  .hero-sub {
    font-size: 1.05rem;
  }

  .hero-highlight {
    font-size: 1rem;
  }
}
