/* ------------------------------
   body
------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  margin: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.page-wrapper.page-index {
  width: 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  background-color: var(--color-bg-base);
  padding-top: 180px;
  padding-bottom: 80px;
}

.page-wrapper {
  width: 100%;
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  background-color: var(--color-bg-base);
  padding-top: 80px;
  padding-bottom: 80px;
}

/* ==========================
   　　レスポンシブ
========================== */

@media (max-width: 769px) {
  .page-wrapper.page-index {
  gap: 40px;
  background-color: var(--color-bg-base);
  padding-top: 164px;
  padding-bottom: 40px;
}
}

@media (max-width: 769px) {
  .page-wrapper {
  gap: 40px;
  background-color: var(--color-bg-base);
  padding-top: 120px;
  padding-bottom: 40px;
}
}

/* ------------------------------
   フォントサイズ
------------------------------ */

.text-max{
  font-size: var(--font-size-heading-xl);
  font-weight: var(--font-weight-black);
  line-height: 1;
}

/* --------42.667px----------- */
.text-xl{
  font-size: var(--font-size-heading-md);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

/* --------32px----------- */
.text-lg{
  font-size: var(--font-size-heading-sm);
  font-weight: var(--font-weight-black);
  line-height: 1.5;
}

/* --------25.6px----------- */
.text-md{
  font-size: var(--font-size-meta);
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}



/* ------------------------------
   文字の装飾 パターン１
------------------------------ */

.text-underline {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.text-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.15em; /* テキストに被る位置に調整 */
  width: 100%;
  height: 24px;    /* ← 下線の太さ */
  background-color: var(--color-accent);
  z-index: -1;    
}


/* ------------------------------
   セクション共有のスタイル
------------------------------ */
.wrapper{
  padding: 0 16px;
}
.container{
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

.section{
  background-color: var(--color-bg-card);
  border-radius: 12px;
  padding-top: 40px;
  padding-bottom: 80px;
  margin-inline: auto;
} 

.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================
   　　レスポンシブ
========================== */
@media (max-width: 769px){
  .container{
  padding-left: 24px;
  padding-right: 24px;
}
}



/* ------------------------------
   セクション見出しの共通スタイル
------------------------------ */

.section-header{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 80px;
}

.section-header>.section-kicker{
  font-size: var(--font-size-heading-sm);
  font-weight: var(--font-weight-black);
  line-height: 1.5;
}
.section-header>.section-title{
  font-size: var(--font-size-heading-xl);
  font-weight: var(--font-weight-black);
  line-height: 1;
  margin-bottom: 40px;
}


/* ==========================
   　　レスポンシブ
========================== */
@media (max-width: 769px){
  .section-header{
  margin-bottom: 40px;
}
}


/* ----------見出しの装飾------------ */

.section-header>.section-title {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.section-header>.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 32px;
  background-color: var(--color-accent);
  z-index: -1;           /* ← 文字の下 */
  pointer-events: none; 
}

.section-header>.section-title::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 32px;

  background-color: var(--color-accent);
  mix-blend-mode: hard-light;

  z-index: 1;           /* ← 文字の上 */
  pointer-events: none; 
  opacity: 0.8;
}

/* ===== 見出しの装飾(改行ありバージョン) ===== */

.section-header>.section-title--line-break {
  display: flex;
  flex-wrap: wrap; /* 改行は維持 */
  gap: 0;          /* span間の余白を完全にゼロ */
  justify-content: center;
}

.section-header>.section-title--line-break::before,
.section-header>.section-title--line-break::after {
  content: none;
}



.section-title__line-break {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.section-title__line-break::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 32px;
  background-color: var(--color-accent);
  z-index: -1;
}

.section-title__line-break::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15em;
  width: 100%;
  height: 32px;
  background-color: var(--color-accent);
  mix-blend-mode: hard-light;
  opacity: 0.8;
  z-index: 1;
}

/* ==========================
   　　レスポンシブ
========================== */
@media (max-width: 769px){
  .section-header>.section-title::after,
  .section-title__line-break::after {
  height: 24px;
}

.section-header>.section-title::before,
.section-title__line-break::before{
  height: 24px;
}
}

@media (max-width: 480px){
  .section-header>.section-title::after,
  .section-title__line-break::after {
  height: 16px;
}

.section-header>.section-title::before,
.section-title__line-break::before{
  height: 16px;
}
}


/* ----------見出しの補足文章------------ */

.section-sub{
  font-size: var(--font-size-caption);
  line-height: 1.5;
  font-weight: var(--font-weight-bold);
  text-align: center;
}

@media (max-width: 376px){
  .section-sub{
  font-size: var(--font-size-body);
}
}

/* ----------Tunstileの位置設定------------ */

.cf-turnstile{
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

/* ------------------------------
   出現アニメーション
------------------------------ */
/* 初期状態（非表示） */
.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.8s ease;
}

/* 表示状態 */
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}




