@charset "UTF-8";

/* --------------------
　MV
-------------------- */

/* MV全体 */
#mv {
  position: relative;
  width: 100%;
  overflow: hidden;          /* SVGはみ出し防止 */
  margin-top:-124px;
}

#mv h2{
  line-height:normal;
  color:var(--color-primary);
}
.mv-wrapper {
  position: absolute; /* 背面に */
  top: 0;
  left: 0;
  width: 100%;       /* 画面幅に合わせる */
  min-height: 100vh;  /* 画面高さに合わせる */
  /* overflow-x: hidden; */
  z-index: 1;         /* header より背面 */
}

/* MV背景 */
.mv-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}


/* MV上のテキストやアイコン */
.mv-content,
.mv-icons {
  position: relative; /* 背景の上に */
  z-index: 2;
}

#mv image{
  right:0;
}

/* ---------- */

.mv-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1.5;
  display: flex;
  justify-content: center; /* 中央寄せで max-width を効かせる */
}


.mv-icon-wrap {
  position: relative; /* この中を基準に円を配置 */
  width: 100%;
  height: 100%;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}

/* 下側の大きめブルー */
.bottom-circle {
  width: 100px;
  height: 100px;
  background-color: var(--color-blue3);
  left: 260px;
  top: 160px;
  position:fixed;
}

/* 上側のプライマリー */
.top-circle {
  width: 60px;
  height: 60px;
  background-color: var(--color-blue2);
  left: 310px;
  top: 150px;
  position:fixed;
}

#mv-text .flex img{
  width: clamp(100px, 15vw, 171px);
  height: auto;       /* 縦横比を維持 */
  padding-left:clamp(1rem, 2vw, 2rem);
}

#mv-text .font-mv1{
display: inline-block; /* inline-block で line-height が効く */
line-height:1.2;
}



.price-group{
 gap: 2rem; /* 横でも縦でも共通で空く */
}

.btn2{
  color:var(--color-white);
  padding:.6rem 2rem;
  border-radius:100px;
  background-color:var(--color-primary);
  font-size:var(--font-18);
}

.mv-price {
  display: inline-flex;
  align-items: baseline;
  margin-right: 2rem; /* 金額＋円のブロックに余白 */
}


/* --------------------
　強み
-------------------- */

#strengths {
  text-align: center;
  z-index:1000;
}

/* デフォルトは4列 */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.strength-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.strength-item h3 {
  display: flex;
  flex-direction: column; /* 1行目と2行目は縦に積む */
  align-items: center;
  justify-content: center;
  width: clamp(80px,24vw,280px);
  height: clamp(120px,24vw,280px); 
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  line-height: 1.3;
}


/* 1行目 */
.strength-item h3 > span:first-child {
  display: block;
}

/* 2行目：数字と単位を横並び */
.strength-item h3 .number-line {
  display: flex;
  align-items: baseline; /* 数字と％の高さを揃える */
  gap: 0.2rem;
}


.strength-item p{
  width:280px;
}

.strength-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* 注意事項ボックス */
.note-box {
  max-width:800px;
  width:80%;
  text-align:left;
  display: flex;
  align-items: center;
  border: 1px solid var(--color-primary);
  color:var(--color-primary);
  padding: 1rem 2rem;
}

.note-icon {
  background: var(--color-blue2);
  color: var(--color-primary);
  font-weight: bold;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;

  flex-shrink: 0;           /* 縦長にならないよう固定 */
  line-height: 1;           /* 高さに影響するline-heightをリセット */
  font-size: 1rem;          /* 必要に応じて調整 */
}

/* バナーのボタン */
.banner-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}


/* --------------------
　スケジュール
-------------------- */

#schedule h3:before{
    content:"■";
    font-size:var(--font-32);
    padding-right:.5rem;
  }

/* 全体2カラム */
.feature-grid {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

/* 左カラム */
.feature-left {
  flex: 1;
}

.sticky-box {
  position: sticky;
  top: 120px; /* ヘッダー高さ分だけ調整 */
}

/* 右カラム */
.feature-right {
  flex: 2;
}

.feature-img {
  width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.baseline{
align-items:baseline;
line-height:1;
}

.strengths-grid .strength-item:first-child h3 .baseline{
  line-height:1.4;
}

/* テーブル */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  border-top:3px solid var(--color-primary);
}

.feature-table th,
.feature-table td {
  border: 1px solid var(--color-primary);
  padding: 2rem 1rem;
    text-align:center;
}
.feature-table td span {
  display: inline-flex;        /* 1セットを1箱に */
  align-items: center;
  margin:0 1rem;
  white-space: nowrap;         /* 箱の中では改行しない */
}

.day {
  display: inline-flex;          /* 日付+曜日を横並びの1セットにする */
  align-items: center;
  margin: 0 .5rem;
  white-space: nowrap;           /* セットの中では改行しない */
}

.week,
.sat,
.sun,
.holiday{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  font-size:var(--font-16);
  width: 26px;
  height: 26px;
  border-radius: 100px;
  margin-left: .5rem;
  color: var(--color-white);
  line-height: 1;            /* 縦位置ずれ防止 */
  vertical-align: middle;    /* テキストと揃える */
}


.week { content: ""; background-color: var(--color-black-80); }
.sat { content: ""; background-color: var(--color-blue); }
.sun,.holiday { content: ""; background-color: var(--color-red); }

.feature-table th {
  width:14%;
  color: var(--color-primary);
  font-size:var(--font-20);
}

.feature-table td{
  width:43%;
  font-size:var(--font-20);
}


/* --------------------
　ニュース
-------------------- */

.news-wrapper{
  display:flex;
  align-items:center;
  gap:5rem;
}


/* --------------------
　SP-1300
-------------------- */

/* スマホ用 */
@media screen and (max-width: 1300px) {



  .mv-icons {
    /* 中央寄せのまま幅100% */
    justify-content: center;
  }

  .max-1300 {
    padding-left: 1rem;  /* 左右に余白を作る */
    padding-right: 1rem;
  }

  .bg-circle.bottom-circle {
    width: 70px;
    height: 70px;
    left: 10px;
    top: 40px;
  }

  .bg-circle.top-circle {
    width: 40px;   /* 小さくする */
    height: 40px;
    left: 55px;    /* 右位置を調整 */
    top: 35px;       /* 上位置を調整 */
  }

}

/* --------------------
　SP-1200
-------------------- */

@media (max-width: 1200px) {
  .strengths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------
　SP-1000
-------------------- */

@media screen and (max-width: 1000px) {
  .feature-grid {
    flex-direction: column;
  }

  .sticky-box {
    position: relative;
    top: auto;
  }

  #strengths,#schedule,#price,#news{
    width:90%;
  }
  
  .feature-table td span {
    margin:0 .3rem;
  }
}


/* --------------------
　SP-768
-------------------- */

@media screen and (max-width:768px){
  #mv {
    margin-top:-75px;
  }

  #mv-text p{
    justify-content: center;
  }

  /*-----強み-----*/
  #strengths .font-xl{
    line-height:1.5;
  }
  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .strength-item {
    text-align: left;
    display: flex;
    align-items: center;
  }

  .strength-icon {
    flex-shrink: 0;
  }

  .banner-buttons {
    flex-direction: column;
    align-items: center;
  }

  .strength-item h3{
    width: 100%;
    height:80px;
    border-radius: 16px;
    flex-direction:row;
    flex-wrap: wrap;
    letter-spacing:0;
  }

  .strength-item h3 span:nth-child(2){
    padding-left:0.4rem;
  }

  .strength-item p{
    width: 100%;
    margin-bottom:1rem;
  }

  .first-row{
    display:flex;
    align-items:center;
  }

  .note-box{
    width:100%;
    padding:1rem;
  }

  .note-icon{
    margin-right:1rem;
  }


  /* -----スケジュール----- */

  .feature-table tbody{
    display:table-row-group;
  }

  .feature-table, 
  .feature-table th, 
  .feature-table td {
    box-sizing: border-box;
  }

  .feature-table {
    width: 100%;
    table-layout: fixed; /* 幅計算を固定 */
    border-collapse: collapse;
  }

  .feature-table th,
  .feature-table td {
    box-sizing: border-box; /* padding込みで幅計算 */
    padding: 1rem 0.5rem;   /* 少し狭く */
    font-size: var(--font-16); /* スマホ用に文字サイズ縮小 */
  }

  .feature-table th {
    width: 13%; /* 左カラム狭め */
  }

  .feature-table td {
    width: 43%; /* 右2カラム均等 */
  }

  .feature-table td span {
    display: inline-flex;   /* inline-flexをやめる */
    max-width: 100%; 
    white-space: nowrap;     /* 必要ならwrap */
  }

}


/* --------------------
　SP-408
-------------------- */

@media screen and (max-width: 408px) {
  #mv {
    position: relative;
    width: 100%;
  }

  #mv-text p{
    justify-content: center;
  }
}
