:root{
  --main-color: #FFE148;
  --black-color: #222222;
  --blue-color: #255FE6;
  --gray-color: #F2F2F2;
  --ye-color: #FFE871;
}


/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.4;
  color: var(--black-color);
  background-color: var(--main-color);
  overflow-x: hidden; /* 横スクロールのみ防ぐ */
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* グローバルナビゲーション */
.hero-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  padding: 20px 0;
}

.global-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo p {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  color: var(--black-color);
}

/* ナビゲーションメニューのボタン配置 */
.nav-menu {
  display: flex;
  gap: 16px; /* ボタン間の間隔 */
  align-items: center;
}

.invite-button {
  background-color: var(--black-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.invite-button:hover {
  background-color: var(--blue-color);
  transform: translateY(-2px);
}

/* 新しい招待ボタンスタイル */
.invite-button-new {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  font-size: 1.4rem;
  font-weight: 600;
  background-color: #0a51f6;
  backdrop-filter: blur(16px);
  isolation: isolate;
  border: 2px solid #0a51f6;
  padding: 12px 16px;
  overflow: hidden;
  border-radius: 9999px;
  position: relative;
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none; /* aタグの下線を削除 */
}

.invite-button-new::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  border-radius: 9999px;
  background-color: #ffe148;
  z-index: -10;
  aspect-ratio: 1;
  transition: all 0.7s ease;
  transform: scale(1);
}

.invite-button-new:hover::before {
  left: 0;
  transform: scale(1.5);
  transition-duration: 0.7s;
}

.invite-button-new:hover {
  color: #222222;
}

.invite-button-icon {
  width: 32px;
  height: 32px;
  padding: 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: transparent;
  transform: rotate(45deg);
  transition: all 0.3s linear;
  fill: white;
}

.invite-button-new:hover .invite-button-icon {
  transform: rotate(90deg);
  background-color: #222222;
  border: none;
  fill: #ffe148;
}

/* ログインボタン専用スタイル */
.login-button {
  background-color: #222222 !important;
  border: none !important;
}

.login-button::before {
  background-color: #ffe148 !important;
}

/* HEROセクションのスマホ画像 */
.hero-phone {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20; /* スライド画像より上 */
  width: 367px; /* 固定サイズ */
  height: 374px; /* 半分表示用のコンテナ高さ（748px / 2） */
  overflow: hidden;
  opacity: 0; /* 初期状態で非表示 - JavaScriptで制御 */
}

.hero-phone img {
  width: 367px !important; /* 固定サイズ、hero imgの影響を受けない */
  height: 748px !important; /* 固定サイズ、hero imgの影響を受けない */
  display: block;
  position: relative;
  top: 0; /* 画像の上部から表示 */
  margin: 0 !important; /* グローバルスタイルの影響を除外 */
}

/* 画像が止まった時の状態 */
.hero-phone.stopped {
  position: absolute !important;
  top: 0 !important; /* phone-stop要素の上端に配置 */
  left: 50% !important;
  transform: translateX(-50%) !important;
  /* サイズはJavaScriptで動的に設定 */
  overflow: visible !important;
  z-index: 20 !important; /* スライド画像より上 */
}

.hero-phone.stopped img {
  /* サイズはJavaScriptで動的に設定 */
  object-fit: contain;
  object-position: center;
}

/* メインコンテンツ */
section {
  padding: 60px 0;
}

img:not(.hero-phone img):not(.slide-left):not(.slide-right):not(.section-heading-en){
  width: 100%;
}


/* テーブルのセル間隙間を削除 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td {
  padding: 0;
  border: 1px solid #000;
}

/* 必要に応じてtd内の余白を調整 */
td.with-padding {
  padding: 8px;
} 

.pc-only{
  display: block !important;
}

.sp-only{
  display: none !important;
}

/* スマホ専用改行 */
.spbr {
  display: none;
}

@media (max-width: 768px) {

section{
  padding: 40px 0;
}

  .pc-only{
      display: none !important;
  }

  .sp-only{
      display: block !important;
  }

  /* スマホ時のみ改行を表示 */
  .spbr {
      display: block;
  }
}


/*****************************************
hero
*****************************************/

.hero {
  text-align: center;
  padding: 0 0 40px 0;
  background-color: #FFF8D2;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  overflow: hidden; /* はみ出した背景要素を隠して横スクロールを防ぐ */
}

.hero::before,
.hero::after {
  content: none; /* 疑似要素を無効化 */
}

/* 新しいDOM要素としての背景画像 */
.hero-bg-city {
  position: absolute;
  bottom: -55px;
  left: 0;
  width: 100%;
  height: calc(100% + 55px);
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
  background-image: url(../img/mv-bg-city.svg);
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-bg-city img {
  display: none; /* 背景画像を使用するため非表示 */
}

.hero-bg-union {
  position: absolute;
  top: 200px;
  left: 0;
  width: 100%;
  height: calc(100% - 200px);
  z-index: 1;
  opacity: 0;
  transform: translateY(50px);
  background-image: url(../img/mv-bg-union.svg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden; /* はみ出しを防ぐ */
}

.hero-bg-union img {
  display: none; /* 背景画像を使用するため非表示 */
}

/* ピン画像の配置 - JavaScript制御 */
.mv-pin {
  position: absolute;
  z-index: 15;
  pointer-events: none;
  transition: all 0.1s ease-out; /* スムーズな位置変更 */
  width: 13vw; /* デフォルトサイズ */
  min-width: 110px; /* 最低110pxのwidth */
  opacity: 0; /* 初期状態で非表示 */
  transform: scale(0.5); /* 小さい状態から出現、回転なし */
}

.mv-pin img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transform: translateZ(0); /* SafariでGPUレイヤーを作成してfilterアニメーション問題を解決 */
  will-change: transform; /* アニメーション最適化のヒント */
}

/* 各ピンの初期位置（ユーザーが設定予定） */
.mv-pin1 {
  bottom: 49vh;
  left: 77vw;
}

.mv-pin2 {
  bottom: 29vh;
  left: 70vw;
}

.mv-pin3 {
  bottom: 45vh;
  left: 65vw;
}

.mv-pin4 {
  bottom: 37vh;
  left: 27vw;
}

.mv-pin5 {
  bottom: 45vh;
  left: 21vw;
}

.mv-pin6 {
  bottom: 22vh;
  left: 14vw;
}

.hero-inner {
  position: relative;
  z-index: 10;
  padding-top: 120px;
}

.hero-text {
  text-align: center;
  margin: 0 auto;
  opacity: 0; /* 初期状態で非表示 */
  transform: translateY(30px); /* 下から出現 */
}

.hero h1{
  font-size: 7rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 30px;
  line-height: 1.3;
}

.hero p {
  margin-bottom: 0px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.0rem;
  font-weight: 500;
}

.hero img:not(.hero-phone img){
  width: 80%;
  margin: 0 auto;
}

/* スマホ画像は除外（メインの定義は上部にあり） */

.mv-cta-line{
  width: 100%;
  border-top: 1px solid var(--black-color);
  border-bottom: 1px solid var(--black-color);
}

.hero .mv-cta{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 20px;
}

.hero .mv-cta-inner{
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
}

.hero .mv-cta img{
  height: 50px;
  width: auto;
}

.hero .mv-cta input{
  padding: 10px;
  border-radius: 4px;
  border: none;
  height: 50px;
  font-size: 1.8rem;
}

.hero .mv-cta button{
  width: 150px;
  padding: 10px;
  border-radius: 4px;
  border: none;
  height: 50px;
  font-size: 1.6rem;
}



/*****************************************
general
*****************************************/

.section-label-container{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.section-label{
  background-color: var(--black-color);
  color: #ffffff;
  padding: 12px 40px;
  border-radius: 100vh;
  font-size: 1.6rem;
  font-weight: 700;
}

.section-heading-container{
}

.section-heading{
  font-size: 4.8rem;
  font-weight: 900;
  position: relative;
}

.section-heading-sub{
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: -25px;
}

.section-heading-en{
  z-index: -1;
  height: 70px;
  width: auto;
}

.public-text{
  font-size: 1.6rem;
  font-weight: 500;
  margin-top: 40px;
}

.default-text{
  font-size: 1.6rem;
  font-weight: 500;
  margin-top: 10px;
}

.center-text{
  text-align: center;
}

.m-0{
  margin: 0 !important;
}

.w-100{
  width: 100%;
}


@media (max-width: 768px) {

.section-heading-en{
  height: 44px;
}

.section-heading-sub{
  font-size: 1.6rem;
  margin-top: -15px;
}

.section-heading{
  font-size: 2.9rem;
}

.default-text{
  font-size: 1.3rem;
}


}



/*****************************************
about
*****************************************/

.about-bg{
  background: url(../img/concept_bg.png) no-repeat center center;
  position: absolute;
  top: -100px;
  width: 100%;
  height: 630px;
  z-index: -1;
  background-size: contain;
}

.about-text{
  max-width: 600px;
  margin: 250px auto 0;
  line-height: 1.6;
}

.about-text2{
  font-size: 2.4rem;
  margin: 30px auto 20px;
  line-height: 1.6;
  text-align: center;
  font-weight: 600;
}

.about-function-container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 5;
  margin-top: 30px; /* 適度な余白 */
}

/* スマホ画像停止位置の高さ確保 */
.phone-stop {
  height: 748px; /* スマホ画像の高さ分を確保 */
  width: 100%;
  margin-top: 30px;
  position: relative;
  overflow: hidden; /* スライド画像の初期位置を隠す */
}

/* スライドアニメーション用画像コンテナ */
.slide-images {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: 5; /* スマホ画像より下 */
}

/* 左スライド画像（prof+1.png） */
.slide-left {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 293px; /* 指定サイズ */
  height: 596px; /* 指定サイズ */
  z-index: 5;
  opacity: 0;
}

/* 右スライド画像（rakusura01.png） */
.slide-right {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 293px; /* 指定サイズ */
  height: 596px; /* 指定サイズ */
  z-index: 5;
  opacity: 0;
}

.about-function-item{
  width: calc(25% - 15px); /* PC時は4つ横並び */
  height: 160px;
  background-color: #FFF8D2; /* 背景色を#FFF8D2に変更 */
  border-radius: 35px 35px 35px 0; /* 右下のみ0、それ以外は35px */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 25px;
}

.about-function-item-text{
  font-size: 1.4rem;
  font-weight: 700;
}

.about-function-item img{
  width: 40px !important;
  height: auto;
}

.about-function-item p{
  font-size: 1.0rem !important;
  margin: 0 !important;
}

.about-arrow{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.about-arrow img{
  width: 150px;
  height: auto;
}



@media (max-width: 768px) {
.about-bg{
  background: url(../img/about_bg_sp.png) no-repeat center center;
  position: absolute;
  top: 80px;
  width: 100%;
  height: 206px;
  z-index: -1;
  background-size: contain;
}

.about-text {
margin: 140px auto 0;
line-height: 1.6;
font-size: 1.4rem;
}

.about-text2 {
font-size: 1.8rem !important;
font-weight: 600 !important;
}

  .about-function-item {
    width: calc(50% - 10px); /* レスポンシブ時は2列×2 */
    padding: 15px;
    text-align: center;
  }

  /* レスポンシブ時のphone-stop要素の高さ調整 */
  .phone-stop {
    height: 301px !important; /* スマホ時の縮小サイズに合わせる */
  }

}




.btn {
  display: inline-block;
  background-color: var(--blue-color);
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background-color: #0069d9;
}

/* 送信ボタンのキラリとした光るエフェクト */
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -100%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
      to right,
      transparent,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0)
  );
  transform: rotate(30deg);
  animation: btn-shine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shine {
  0% {
      left: -100%;
  }
  20%, 100% {
      left: 200%;
  }
}

/* タブメニュー */
.function-tab-container {
  margin-top: 40px;
}

.function-tab-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: -1px;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: inherit;
  padding-top: 10px;
  transition: box-shadow 0.3s ease;
}

.function-tab-buttons.sticky {
  background: #ffe148;
}

.function-tab-button {
  padding: 16px 16px;
  border: 2px solid #FFFFFF;
  background-color: transparent;
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  width: 50%;
}

.function-tab-button.active {
  background-color: #FFFFFF;
  color: var(--black-color);
  border: none;
}

.function-tab-contents {
  position: relative;
}

.function-tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.function-tab-content.active {
  display: block;
  opacity: 1;
}

.function-tab-content-inner {
  display: flex;
  gap: 40px;
  padding: 30px;
  background-color: #FFFFFF;
  border-radius: 0 0 10px 10px;
  flex-direction: column;
}

.function-tab-content-text {
  flex: 1;
  text-align: center;
}

.function-tab-content-text h3 {
  font-size: 3.6rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.function-tab-content-text h4{
  font-size: 1.8rem;
  font-weight: 700;
}

.function-tab-content-text p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.3rem;
}

.function-tab-content-text ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.function-tab-content-text li {
  margin-bottom: 10px;
}

.function-tab-content-image {
  flex: 1;
}

.function-tab-content-image img {
  width: 100%;
}

.function-tab-content-tags{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.function-tab-content-tags p{
  font-size: 1.5rem;
  font-weight: 700;
}

.function-tab-content-tags-item{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.function-tab-content-tags-item span{
  font-size: 1.2rem;
  font-weight: 500;
  background-color: var(--gray-color);
  padding: 5px 10px;
  border-radius: 10px;
}


.function-tab-btn {
  display: inline-block;
  padding: 10px 25px;
}

@media (max-width: 768px) {
  .function-tab-container{
      margin-top: 20px;
  }
  
  .function-tab-buttons {
      gap:6px
  }
  
  .function-tab-content-inner {
      flex-direction: column;
      padding: 20px;
  }

  .function-tab-content-text h3{
      font-size: 2.1rem;
  }
  

  .function-tab-content-text p{
      margin-bottom: 0px;
  }

  .function-tab-content-tags-item span{
      font-size: 1.0rem;
  }

  .function-tab-content-text {
      order: 1;
  }
  
  .function-tab-content-image {
      order: 2;
  }
  
  .function-tab-content-tags {
      order: 3;
  }
}

/* タブメニュー（オプション） */
.option-tab-container {
  margin-top: 40px;
}

.option-tab-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: -1px;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: inherit;
  padding-top: 10px;
  transition: box-shadow 0.3s ease;
}

.option-tab-buttons.sticky {
  background: #ffe148;
}

.option-tab-button {
  padding: 16px 30px;
  border: 2px solid #FFFFFF;
  background-color: transparent;
  color: #FFFFFF;
  font-weight: 700;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  width: 50%;
}

.option-tab-button.active {
  background-color: #FFFFFF;
  color: var(--black-color);
  border: none;
}

.option-tab-contents {
  position: relative;
}

.option-bg1 {
  background: url(../img/option-bg1.png) no-repeat center center;
  background-size: cover;
}

.option-bg2 {
  background: url(../img/option-bg2.png) no-repeat center center;
  background-size: cover;
}

.option-tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.option-tab-content.active {
  display: block;
  opacity: 1;
}

.option-tab-content-inner {
  display: flex;
  gap: 40px;
  padding: 0px;
  background-color: #FFFFFF;
  border-radius: 0 0 10px 10px;
  flex-direction: row;
  border-radius: 0 0 25px 25px;
}

.option-tab-content-text {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.option-tab-content-text-inner{
  margin: 0 auto;
  text-align: center;
}

.option-tab-content-text h2{
  font-size: 6.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.option-tab-content-text h3 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.option-tab-content-text h4{
  font-size: 1.6rem;
  font-weight: 700;
}

.option-tab-content-text p {
  margin-bottom: 50px;
  line-height: 1.6;
  font-size: 1.3rem;
}

.option-tab-content-text ul {
  margin-bottom: 25px;
  padding-left: 20px;
}

.option-tab-content-text li {
  margin-bottom: 10px;
}

.option-tab-content-image {
  flex: 1;
}

.option-tab-content-image img {
  height: 100%;
}

.option-tab-content-tags{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-tab-content-tags p{
  font-size: 1.5rem;
  font-weight: 700;
}

.option-tab-content-tags-item{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.option-tab-content-tags-item span{
  font-size: 1.2rem;
  font-weight: 500;
  background-color: var(--gray-color);
  padding: 5px 10px;
  border-radius: 10px;
}

.option-tab-btn {
  display: inline-block;
  padding: 10px 25px;
}

.option1-info{
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.option1-place{
  width: 50%;
}

.option1-place table{
  width: 100%;
  height: 38px;
}

.option1-place table td{
  width: 50%;
  text-align: center;
  border: 2px solid var(--black-color);
  font-size: 1.1rem;
  font-weight: 600;
  background-color: #fff;
}

.option1-place-title{
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  background-color: var(--black-color)!important;
}

.option1-place-title-special{
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black-color);
  background-color: var(--main-color)!important;
}








@media (max-width: 768px) {

.option-tab-container{
  margin-top: 20px;
}
  .option-tab-button {
     font-size: 15px;
     padding: 16px 10px;
  }
  
  .option-tab-content-inner {
      flex-direction: column;
      padding: 20px;
      gap: 0px;
  }
  
  .option-tab-content-text {
      order: 1;
      padding: 0px;
  }

  .option-tab-content-text h2{
      font-size: 4rem;
  }

  .option-tab-content-text h3{
      font-size: 2rem;
  }

  .option-tab-content-text h4{
      font-size: 1.4rem;
  }

  .option-tab-content-text p{
      margin-bottom: 0px;
  }
  
  .option-tab-content-text-inner {
      order: 1;
      margin-bottom: 20px;
  }
  
  .option-tab-content-image {
      order: 2;
      margin-bottom: 0px;
  }
  
  .option1-info {
      order: 3;
      flex-direction: column;
  }

  .option1-place {
      width: 100%;
  }

  .option1-place table{
      height: 38px;
  }
  .option-tab-content-image img{
    margin-top: 20px;
  }
}

/* 斜めの線付きタイトル */
.diagonal-title {
  position: relative;
  text-align: center;
  padding: 0 30px;
  margin-bottom: 10px;
  display: inline-block;
}

.diagonal-title span {
  position: relative;
  z-index: 2;
  padding: 0 10px;
  font-weight: 500;
  font-size: 1.8rem;
}

.diagonal-title::before,
.diagonal-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 20px;
  height: 2px;
  background-color: var(--black-color, #333);
  transform-origin: center;
}

.diagonal-title::before {
  left: 0;
  transform: rotate(45deg);
}

.diagonal-title::after {
  right: 0;
  transform: rotate(-45deg);
}


@media (max-width: 768px) {
.diagonal-title span {
      font-size: 1.4rem;
  }
}







/* アニメーション付き入力フィールド */
.animated-input {
  position: relative;
  border: 1px solid #e5e5e5;
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  display: block;
  border-radius: 4px;
  font-size: 1.6rem;
}

.animated-input:focus {
  outline: none;
}

/* 入力フィールドの位置指定用 */
.mv-cta-inner {
  position: relative;
}

/* 入力フィールドとアニメーションのラッパー */
.input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: 4px;
}

/* INPUTのアニメーションを削除 */
.input-animation {
  display: none;
}

.features-list{
  background-color: #ffffff;
  border-radius: 25px;
  padding: 50px;
  display: flex;
  flex-direction: row;
  gap: 70px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.feature-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.feature-item {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.features-list-item{
  width: calc(50% - 35px);
}

.features-list-item h3 {
  margin-bottom: 15px;
  font-size: 2.1rem;
  font-weight: 700;
}

.features-list-item span{
  font-size: 4rem;
  font-weight: 700;
}

.features-list-item p{
  font-size: 1.3rem;
  line-height: 1.6;
}



@media (max-width: 768px) {
.features-list {
  padding: 30px;
  flex-direction: column;
  gap: 20px;
  flex-wrap: nowrap;
  margin-top: 20px;
}

.features-list-item {
  width: 100%;
}

#fixedHeader th:not(.empty-cell) {
font-size: 12px;
}
  
  
}








/* お問い合わせフォーム */
.contact {
  background-color: #f8f9fa;
}

.contact h2 {
  text-align: center;
  margin-bottom: 40px;
}

form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button.btn {
  border: none;
  cursor: pointer;
  width: 100%;
}

/* フッター */
footer {
  background-color: #343a40;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .feature-items {
      flex-direction: column;
  }
  
  .feature-item {
      min-width: auto;
  }
  
  .nav-logo p {
      font-size: 1.8rem;
  }

  /* スマホ用ナビゲーションメニューのボタン配置 */
  .nav-menu {
    gap: 10px; /* スマホ時は間隔を狭める */
  }

    .invite-button {
    font-size: 1.2rem;
    padding: 10px 20px;
  }

  .invite-button-new {
    font-size: 1.2rem;
    padding: 6px 6px 6px 14px;
    gap: 6px;
  }

  .invite-button-icon {
    width: 28px;
    height: 28px;
    padding: 6px;
  }

  .hero-nav {
      padding: 0 0 20px 0; /* レスポンシブ時は下に20pxのみ */
  }

  .hero-phone {
      width: 220px;
      height: 224px; /* 半分表示用 */
  }

  .hero-phone img {
      width: 220px !important; /* グローバルimgスタイルの影響を除外 */
      height: 448px !important; /* 元の縦サイズ、グローバルimgスタイルの影響を除外 */
      position: relative;
      top: 0; /* 画像の上部から表示 */
      margin: 0 !important; /* グローバルスタイルの影響を除外 */
  }

  .hero-phone.stopped {
      /* サイズはJavaScriptで動的に設定 */
      transition: all 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; /* 縮小アニメーション */
  }

  .hero-phone.stopped img {
      object-fit: contain;
      object-position: center;
      margin: 0 !important; /* グローバルスタイルの影響を除外 */
      transition: all 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; /* 縮小アニメーション */
  }

  .hero {
      height: 100dvh;
      overflow: hidden; /* はみ出し防止 */
  }

  /* スマホ用背景画像に変更 */
  .hero-bg-city {
      background-image: url(../img/mv-bg-city-sp.svg);
      bottom: 20px; /* 表示位置を上に調整 */
      height: calc(100% - 20px); /* 高さも調整 */
  }

  /* union背景のはみ出し防止 */
  .hero-bg-union {
      left: 0; /* はみ出しを防ぐため左端に調整 */
      width: 100%; /* 幅を100%に調整 */
      overflow: hidden;
      top:390px;
  }

  .hero::before {
      top: 100px;
      left: -17.5px;
      width: calc(100% + 35px);
      height: calc(100% - 100px);
      background-position: center top;
      background-size: contain;
  }

  .hero::after {
      bottom: -30px;
      height: calc(100% + 30px);
  }

  /* ピン1と6を非表示 */
  .mv-pin1,
  .mv-pin6 {
      display: none;
  }

  /* レスポンシブ用ピンの初期位置設定 */
  .mv-pin2 {
      bottom: 80vh;
      left: 65vw;
  }

  .mv-pin3 {
      bottom: 73vh;
      left: 35vw;
  }

  .mv-pin4 {
      bottom: 64vh;
      left: 75vw;
  }

  .mv-pin5 {
      bottom: 61vh;
      left: 10vw;
  }

  .hero-inner {
      padding-top: 80px;
  }



  .hero h1 {
    font-size: 3.7rem;
    line-height: 1.2;
    letter-spacing: -0.36vw;
    text-align: left;
  }
  
  .hero h2 {
      font-size: 1.6rem;
      margin-bottom: 6px;
  }

  .hero p {
      font-size: 1.6rem;
      margin-top: 20px;
      margin-bottom: 20px;
  }

  .hero img {
      width: 100%;
  }

  /* スライド画像のレスポンシブサイズ */
  .slide-left,
  .slide-right {
      width: 118px !important;
      height: 240px !important;
      top: 50px !important; /* レスポンシブ時の位置調整（301pxの高さに合わせて調整） */
  }

  /* レスポンシブ時の停止状態 */
  .hero-phone.stopped {
      /* サイズはJavaScriptで動的に設定（スマホ用） */
  }

  .hero-phone.stopped img {
      /* サイズはJavaScriptで動的に設定（スマホ用） */
  }
}







section.merit{
  background-color: var(--ye-color);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

/* Swiperスライダーのスタイル */
.merit-swiper {
  position: relative;
  margin-top: 20px;
  overflow: visible;
  padding-bottom: 40px;
  margin-bottom: 40px;
}

/* ナビゲーションコンテナ位置調整 */
.merit-nav-container {
  position: absolute;
  bottom: 0;
  z-index: 10;
  display: flex;
  gap: 8px;
}

/* Swiperナビゲーションボタンのカスタマイズ */
.merit-nav-container .merit-nav-prev,
.merit-nav-container .merit-nav-next {
  position: static !important;
  margin: 0 !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 4px !important;
  background-color: var(--black-color) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
}

.merit-nav-container .merit-nav-prev:hover,
.merit-nav-container .merit-nav-next:hover {
  background-color: var(--blue-color) !important;
  transform: translateY(-2px) !important;
}

.merit-nav-container .merit-nav-prev:after,
.merit-nav-container .merit-nav-next:after {
  font-size: 12px !important;
  font-weight: bold !important;
  color: #ffffff !important;
}

/* Swiperのページネーション */
.swiper-pagination {
  bottom: 0;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: #bba63e !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background-color: #bba63e !important;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {

}

@media (max-width: 768px) {
  .merit-card {
      width: 300px;
  }
  
  .merit .section-heading {
      font-size: 2.8rem;
  }
}

.merit-card {
  height: auto;
  width: 380px;
}


.merit-card-info p{
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.merit-card h4{
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0px auto 5px;
}

.merit-card-content p{
  font-size: 1.2rem;
  line-height: 1.6;
}

.merit-card-content-inner{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.merit-card-content-title{
  font-size: 1.3rem;
  font-weight: 700;
  background-color: var(--black-color);
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 5px;
  min-width: 75px;
  text-align: center;
}

.merit-card-content-text{
  font-size: 1.3rem;
  font-weight: 700;
}




.merit-card-inner {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 281px;
}

/* 選ばれる理由スライダーのスタイル */
.usemerit-swiper {
  position: relative;
  margin-top: 20px;
  overflow: visible;
  padding-bottom: 40px;
}

/* 数字表示のスタイル */
.merit-card-number {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--blue-color);
  margin-right: 15px;
  line-height: 1;
  flex-shrink: 0;
  min-width: 50px;
  text-align: center;
}

.user-voice h4{
  margin: 15px auto;
}




@media (max-width: 768px) {
.merit-card-inner {
  min-height: auto;
}
  
  
}





/**************************************************

PLAN

***************************************************/    

.plan-selection-container {
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0px;
  position: relative;
}

.plan-title {
  text-align: center;
  font-size: 24px;
  margin-bottom: 40px;
}

/* 比較テーブルのスタイル */
.plan-comparison-table-container {
  overflow-x: auto;
  position: relative;
  width: 100%;
}

.plan-comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 30px;
  table-layout: fixed; /* 固定幅のテーブルレイアウト */
}

.plan-comparison-table th,
.plan-comparison-table td {
  padding: 15px;
  border: 1px solid #eee;
  text-align: left;
  vertical-align: middle;
  word-wrap: break-word; /* 長いテキストを折り返し */
  background-color: #ffffff;
  font-size: 1.3rem;
}

/* 2列目と3列目のセルを中央寄せに */
.plan-comparison-table td:nth-child(2),
.plan-comparison-table td:nth-child(3) {
  text-align: center;
}

/* 左寄せクラス */
.text-left {
  text-align: left !important;
}

/* 特定のセルを左寄せに */
.plan-comparison-table tr:nth-of-type(14) td:nth-child(2), /* 会員招待特典 */
.plan-comparison-table tr:nth-of-type(17) td:nth-child(3) /* 報酬内容 */ {
  text-align: left;
}

/* 列の幅設定 */
.plan-comparison-table th:first-child,
.plan-comparison-table td:first-child {
  width: 30%;
  font-weight: bold;
}

.plan-comparison-table th:not(:first-child),
.plan-comparison-table td:not(:first-child) {
  width: 35%;
}

/* ヘッダーのスタイル - 通常状態 */
.plan-comparison-table thead th {
  background-color: #f9f9f9;
  font-weight: bold;
  text-align: center;
}

/* サポータープランのヘッダースタイル */
.plan-comparison-table thead th:nth-child(3),
#fixedHeader th:nth-child(3) {
  background-color: #ef5656;
  color: #ffffff;
  border: none;
}

/* 固定ヘッダーのスタイル */
.plan-comparison-table-fixed {
  position: fixed;
  top: 0;
  z-index: 1000;
  background-color: transparent;
  width: auto;
  display: none;
  text-align: center;
}

/* 左上のセルを空に見せる */
.empty-cell {
  background-color: var(--main-color)!important;
  border: none !important; /* 枠線も削除、優先度を上げる */
  box-shadow: none !important;
}

/* 固定ヘッダーの左上セルも同様に */
#fixedHeader .empty-cell {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 固定ヘッダーの他のセルにのみシャドウを適用 */
#fixedHeader th:not(.empty-cell) {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 左側列の上のセルの上枠線を消す */
.plan-comparison-table tr:first-child td:first-child {
  border-top: none;
}

/* サブ見出し行のスタイル */
.section-title td {
  background-color: #f0f0f0;
  font-weight: bold;
  text-align: left;
  padding: 10px 15px;
}

/* スマホ時のテーブルスタイル */
@media (max-width: 768px) {
  .plan-selection-container{
  margin: 40px 0 0 -20px;
  padding: 0px;
  width: calc(100% + 40px);
}



  .plan-comparison-table-container {
    overflow-x: auto; /* スクロール可能に */
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  /* 列の幅調整 */
  .plan-comparison-table th:first-child,
  .plan-comparison-table td:first-child {
    width: 25%;
    min-width: 120px; /* 最小幅を設定 */
  }

  .plan-comparison-table th:not(:first-child),
  .plan-comparison-table td:not(:first-child) {
    width: 37.5%;
    min-width: 120px; /* 最小幅を設定 */
  }

  /* フォントサイズを小さくする - スマホ用 */
  .plan-comparison-table th {
    padding: 12px 10px;
    font-size: 14px;
  }

  .plan-comparison-table td {
    padding: 10px;
    font-size: 13px;
  }

  .section-title td {
    font-size: 15px;
    padding: 10px;
  }

  /* タイトルのサイズ調整 */
  .plan-title {
    font-size: 20px;
    margin-bottom: 30px;
  }
}

/* さらに小さい画面用 */
@media (max-width: 480px) {
  .plan-comparison-table-fixed {
    font-size: 11px;
  }

  .plan-comparison-table th {
    padding: 10px 8px;
    font-size: 12px;
  }

  .plan-comparison-table td {
    padding: 8px;
    font-size: 10px;
  }

  .section-title td {
    font-size: 11px;
    padding: 2px 8px;
  }

  /* タイトルのサイズ調整 */
  .plan-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  /* ボタンのサイズ調整 */
  .button-row td {
    padding: 12px 5px 20px;
  }

  .plan-apply-button {
    padding: 8px 0;
    font-size: 12px;
    max-width: 100%;
  }
}

/* 申込ボタンのスタイル */
.button-row td {
  padding: 25px 10px 30px;
  text-align: center;
  border-bottom: none;
  background-color: #f9f9f9;
}

.button-row td:first-child {
  background-color: transparent;
}

.plan-apply-button {
  display: inline-block;
  width: 100%;
  max-width: 200px;
  padding: 15px 0;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.plan-apply-button:hover {
  background-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.standard-button {
  background-color: #3498db;
}

.standard-button:hover {
  background-color: #2980b9;
}

.supporter-button {
  background-color: #e74c3c;
}

.supporter-button:hover {
  background-color: #c0392b;
}

/* スマホ時のボタンスタイル調整 */
@media (max-width: 768px) {
  .button-row td {
    padding: 15px 10px 25px;
  }

  .plan-apply-button {
    padding: 10px 0;
    font-size: 14px;
  }
}

/* ツールチップのスタイル */
.tooltip-icon {
  position: relative;
  display: inline-block;
  margin-left: 5px;
  cursor: pointer;
  color: #777;
  font-weight: 500;
}

.tooltip-icon .fas {
  font-size: 14px;
}

.tooltip-icon:hover {
  color: #333;
}

/* ツールチップのポップアップ（PC用） */
.tooltip-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -5px;
  left: 100%;
  margin-left: 10px;
  transform: translateY(-50%);
  width: 250px;
  padding: 10px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.4;
  text-align: left;
  pointer-events: none;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ポインター（PC） */
.tooltip-icon:hover::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent rgba(0, 0, 0, 0.8) transparent transparent;
  transform: rotate(180deg);
}

/* スマホ用ツールチップ（アクティブ時） */
.tooltip-icon.active::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -5px;
  left: 100%;
  margin-left: 10px;
  transform: translateY(-50%);
  width: 250px;
  padding: 10px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ポインター（スマホアクティブ時） */
.tooltip-icon.active::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent rgba(0, 0, 0, 0.8) transparent transparent;
  transform: rotate(180deg);
  z-index: 1001;
}

/* 小さい画面用のツールチップスタイル調整 */
@media (max-width: 768px) {
  .tooltip-icon {
    position: relative; /* static から relative に変更 */
    font-size: 15px;
    z-index: 1500;
  }

  .mobile-title {
    display: none; /* モバイルタイトルを非表示 */
  }

  .tooltip-icon:hover::before,
  .tooltip-icon.active::before {
    display: none;
  }

  .tooltip-icon:hover::after,
  .tooltip-icon.active::after {
    position: absolute; /* fixed から absolute に変更 */
    width: 170px;
    left: calc(100% + 5px); /* アイコンの右側に配置 */
    top: 50%; /* アイコンの中央に合わせる */
    transform: translateY(-50%); /* 垂直中央揃え */
    right: auto; /* right プロパティをクリア */
    bottom: auto; /* bottom プロパティをクリア */
    border: 1px solid rgba(0, 0, 0, 0.2);
    white-space: normal; /* テキストを折り返し */
    z-index: 1600;
  }
}

@media (max-width: 480px) {
  .tooltip-icon .fas {
    font-size: 14px;
  }

  .tooltip-icon:hover::after,
  .tooltip-icon.active::after {
    width: 160px;
    padding: 8px;
    font-size: 11px;
    position: absolute; /* fixed から absolute に変更 */
    left: 100%; /* left: auto から left: 100% に変更 */
    right: auto; /* right 指定を削除 */
    top: 50%;
    transform: translateY(-50%); /* none から translateY(-50%) に変更 */
  }
}

/* モバイルタイトルは通常は非表示 */
.mobile-title {
  display: none;
}

/* 特に小さい画面での見切れ防止 */
@media (max-width: 360px) {
  .tooltip-icon:hover::after,
  .tooltip-icon.active::after {
    width: 140px;
    font-size: 10px;
    padding: 6px;
    margin-left: 5px;
  }
}

/* スクロール可能なテーブル内でのツールチップ対応 */
.plan-comparison-table-container {
  position: relative;
  z-index: 1;
}

/* ツールチップが画面外に出ないように調整 */
.tooltip-icon.active::after {
  max-width: calc(100vw - 30px);
}








/**************************************************

FLOW

***************************************************/

/* 会員登録フローのスタイル */
.registration-flow-container {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.flow-item {
  display: flex;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.flow-number {
  background-color: var(--ye-color);
  color: var(--black-color);
  padding: 25px 20px;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
}

.flow-content {
  padding: 25px 30px;
  flex-grow: 1;
}

.flow-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black-color);
}

.flow-content p {
  font-size: 1.2rem;
  color: var(--black-color);
  line-height: 1.6;
}

.flow-arrow {
  height: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  color: var(--black-color);
}

.flow-arrow i {
  font-size: 3rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .registration-flow-container{
    gap: 0px;
  }

  .flow-item {
    flex-direction: column;
  }
  
  .flow-number {
    width: 100%;
    padding: 15px;
  }
  
  .flow-content {
    padding: 20px;
  }
  
  .flow-content h3 {
    font-size: 1.8rem;
  }
  
  .flow-arrow {
    height: 40px;
  }
  
  .flow-arrow i {
    font-size: 2.5rem;
  }
}


/**************************************************

FAQ

***************************************************/

/* FAQコンテナ */
.faq-container {
  margin-top: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.faq-column {
  flex: 1;
  min-width: 300px;
}

/* FAQ項目 */
.faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 質問部分 */
.faq-question {
  padding: 18px 20px;
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: var(--gray-color);
}

.faq-question span {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black-color);
  flex: 1;
}

.faq-question i {
  font-size: 1.4rem;
  color: var(--black-color);
  transition: transform 0.3s;
}

/* 回答部分 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 20px;
  background-color: #ffffff;
}

.faq-answer p {
  padding: 0 0 20px;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--black-color);
}

/* アクティブ状態 */
.faq-item.active .faq-question {
  background-color: var(--ye-color);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 10px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .faq-container {
    flex-direction: column;
    gap: 0px;
  }
  
  .faq-column {
    width: 100%;
  }
  
  .faq-question span {
    font-size: 1.4rem;
  }
  
  .faq-answer p {
    font-size: 1.2rem;
  }
}


/**************************************************

登録ボタン（固定表示）

***************************************************/

.scroll-to-register {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--blue-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
  font-size: 1.3rem;
}

.scroll-to-register.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-register:hover {
  background-color: #1e4fc3;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.scroll-to-register i {
  font-size: 2.4rem;
}

@media (max-width: 768px) {
  .scroll-to-register {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .scroll-to-register i {
    font-size: 2rem;
  }
}


/* スマホ用会員登録ボタン（固定表示） */
.sp-register-btn {
display: none;
position: fixed;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 90%;
background-color: var(--blue-color);
color: white;
text-align: center;
padding: 15px 0;
font-size: 1.6rem;
font-weight: 700;
z-index: 1000;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
cursor: pointer;
border-radius: 100vh;
margin-bottom: 10px;
}

/* モーダル */
.register-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
height: 100dvh;
z-index: 2000;
visibility: hidden;
pointer-events: none;
}

.register-modal.active {
visibility: visible;
pointer-events: auto;
}

.register-modal-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7);
opacity: 0;
transition: opacity 0.3s ease;
}

.register-modal.active .register-modal-overlay {
opacity: 1;
}

.register-modal-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, 100vh);
width: 90%;
max-width: 400px;
background-color: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
transition: transform 0.5s ease-out;
opacity: 0;
}

.register-modal.active .register-modal-content {
transform: translate(-50%, -50%);
opacity: 1;
}

.register-modal-header {
background-color: var(--main-color);
color: #222222;
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}

.register-modal-header h3 {
font-size: 1.5rem;
margin: 0 auto;
}

.close-modal-btn {
background: none;
border: none;
color: #222222;
font-size: 2rem;
cursor: pointer;
line-height: 1;
}

.register-modal-body {
padding: 25px;
text-align: center;
}

.register-modal-body p {
font-size: 1.5rem;
margin-bottom: 20px;
font-weight: 700;
}

.modal-input {
margin-bottom: 20px;
}

.modal-btn {
width: 100%;
margin-top: 10px;
font-size: 1.5rem;
}

@media (max-width: 768px) {
.sp-register-btn {
  display: block;
}
}



.invalid-message.text-danger {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff1a1a;
  text-align: left;
}



/******************
その他
*******************/
.cp_30 {
  /* background: #fff875; */
  font-size: 1.8rem;
  padding: 0px 10px;
  /* width: 80%; */
  margin: 0 auto 15px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}


.cp_30::before {
  position: absolute;
  left: 0;
  top: 0;
  content: "";
  width: 1px;
  height: 100%;
  background: #000;
  border-radius: 3px;
  transform: rotate(-25deg);
}


.cp_30:after {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: #000;
  border-radius: 3px;
  transform: rotate(25deg);
}



.cp_30 p {
  margin-bottom: 0;
}

/* ===== REGIONAL STATS SECTION ===== */
.regional-stats {
  background: #1a1a1a;
  color: #ffffff;
}

.regional-stats .section-heading-container {
  /*text-align: center;
  margin-bottom: 3rem;*/
}

.regional-stats .section-heading-sub {
  color: #FFE148;
  /*font-size: 1rem;
  margin-bottom: 0.5rem;
  */
}

.regional-stats .section-heading {
  color: #ffffff;
  /*font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0;*/
}

.regional-charts-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.regional-charts-grid .top-row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
}

.regional-charts-grid .bottom-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
}

.regional-chart-box {
  position: relative;
  aspect-ratio: 1/1;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.regional-chart-box.animate {
  opacity: 1;
  transform: scale(1);
}

.regional-chart-box .background-chart,
.regional-chart-box .foreground-chart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.regional-chart-box .foreground-chart {
  z-index: 2;
}

.regional-chart-box .background-chart {
  z-index: 1;
}

.regional-chart-box .center-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  font-size: clamp(12px, 2.5vw, 18px);
  color: #ffffff;
  line-height: 1.2;
  text-align: center;
}

.regional-chart-box .center-label .percent {
  font-size: 1.4em;
  font-weight: 700;
  color: #FFE148;
}

/* 上段のサイズを左から20%ずつ小さく（1100px幅に合わせて調整） */
.regional-charts-grid .top-row .regional-chart-box:nth-child(1) {
  width: 320px;
  height: 320px;
}

.regional-charts-grid .top-row .regional-chart-box:nth-child(2) {
  width: 256px;
  height: 256px;
}

.regional-charts-grid .top-row .regional-chart-box:nth-child(3) {
  width: 192px;
  height: 192px;
}

/* 下段は全て同じサイズ（上段右端と同じ） */
.regional-charts-grid .bottom-row .regional-chart-box {
  width: 192px;
  height: 192px;
  flex-shrink: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .regional-stats {
    padding: 3rem 0;
  }
  
  .regional-charts-grid {
    gap: 1.5rem;
    max-width: min(1100px, 95vw);
  }
  
  .regional-charts-grid .top-row {
    justify-content: space-between;
    gap: 0.5rem;
  }
  
  .regional-charts-grid .bottom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem 0.5rem;
  }
  
  /* 上段のレスポンシブサイズ（比率維持） */
  .regional-charts-grid .top-row .regional-chart-box:nth-child(1) {
    width: 25vw;
    height: 25vw;
    max-width: 200px;
    max-height: 200px;
    min-width: 120px;
    min-height: 120px;
  }
  
  .regional-charts-grid .top-row .regional-chart-box:nth-child(2) {
    width: 20vw;
    height: 20vw;
    max-width: 160px;
    max-height: 160px;
    min-width: 100px;
    min-height: 100px;
  }
  
  .regional-charts-grid .top-row .regional-chart-box:nth-child(3) {
    width: 15vw;
    height: 15vw;
    max-width: 120px;
    max-height: 120px;
    min-width: 80px;
    min-height: 80px;
  }
  
  /* 下段のレスポンシブサイズ */
  .regional-charts-grid .bottom-row .regional-chart-box {
    width: 15vw;
    height: 15vw;
    max-width: 120px;
    max-height: 120px;
    min-width: 80px;
    min-height: 80px;
    justify-self: center;
  }
  
  /* 下段の配置：中部、九州、中国（2段目）、東北、四国（3段目・左寄せ） */
  .regional-charts-grid .bottom-row .regional-chart-box:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }
  
  .regional-charts-grid .bottom-row .regional-chart-box:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  
  .regional-charts-grid .bottom-row .regional-chart-box:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }
  
  .regional-charts-grid .bottom-row .regional-chart-box:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }
  
  .regional-charts-grid .bottom-row .regional-chart-box:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }
}

/* 業種別データセクション */
.job-type-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #333;
}

.job-type-section .section-heading-container {
  text-align: center;
  margin-bottom: 2rem;
}

.job-type-section .section-heading-sub {
  color: #FFE148;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.job-type-section .section-heading {
  color: #ffffff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 0;
}

.job-type-chart-container {
  width: 100%;
  max-width: 1100px;
  height: 400px;
  margin: 0 auto;
  background: #2a2a2a;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .job-type-section {
    margin-top: 3rem;
    padding-top: 2rem;
  }
  
  .job-type-chart-container {
    height: 350px;
    padding: 15px;
    border-radius: 8px;
    max-width: min(1100px, 95vw);
  }
}

/* 招待リクエストモーダル */
.invite-request-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
  backdrop-filter: blur(20px);
}

.invite-request-modal.active {
  opacity: 1;
  visibility: visible;
}

.invite-request-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.invite-request-modal.active .invite-request-modal-overlay {
  opacity: 1;
}

.invite-request-modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(40px);
  width: 100%;
  max-width: 480px;
  height: auto;
  max-height: 80vh;
  border-radius: 20px;
  position: relative;
  transform: scale(0.95);
  transition: all 0.3s ease-out;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.05);
}

.invite-request-modal.active .invite-request-modal-content {
  transform: scale(1);
}

.invite-request-modal-header {
  padding: 24px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
  border-bottom: none;
}

.invite-request-modal-header h3 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.close-modal-btn {
  background: rgba(142, 142, 147, 0.12);
  border: none;
  color: #8e8e93;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  margin-top: -4px;
}

.close-modal-btn:hover {
  background: rgba(142, 142, 147, 0.2);
  color: #1d1d1f;
}

.invite-request-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
  text-align: center;
}

.prerelease-info {
  background: #f5f5f7;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid #dddddd;
  text-align: left;
}

.prerelease-info h4 {
  margin: 0 0 12px 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.prerelease-info h4 i {
  margin-right: 8px;
  color: #007AFF;
  font-size: 1.6rem;
}

.prerelease-info p {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  color: #242424;
  line-height: 1.5;
  font-weight: 400;
}

.prerelease-info p:last-child {
  margin-bottom: 0;
}

.line-guide {
  margin-bottom: 32px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid #dddddd;
  text-align: left;
}

.line-guide h4 {
  margin: 0 0 12px 0;
  font-size: 1.8rem;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.01em;
}

.line-guide h4 i {
  margin-right: 8px;
  color: #34C759;
  font-size: 1.6rem;
}

.line-guide p {
  margin: 0 0 8px 0;
  font-size: 1.3rem;
  color: #242424;
  line-height: 1.4;
  font-weight: 400;
}

.line-guide p:last-child {
  margin-bottom: 0;
}

.line-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #06C755;
  color: white;
  text-decoration: none;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border: none;
  letter-spacing: -0.01em;
}

.line-button:hover {
  background: #05B04A;
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}

.line-button:active {
  transform: translateY(0);
  transition: all 0.1s ease;
}

.line-button i {
  font-size: 1.2rem;
}

.notice-text {
  margin-top: 20px;
  padding: 12px 16px;
  background: rgba(142, 142, 147, 0.08);
  border-radius: 8px;
  border: none;
}

.notice-text::before {
  display: none;
}

.notice-text p {
  margin: 0;
  font-size: 1.1rem;
  color: #242424;
  line-height: 1.3;
  text-align: center;
  font-weight: 400;
}

/* スマホ対応 - Apple Design */
@media (max-width: 768px) {
  .invite-request-modal {
    align-items: flex-end;
  }
  
  .invite-request-modal-content {
    height: 90vh;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    margin: 0;
    transform: translateY(100%);
    backdrop-filter: blur(40px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
      0 -10px 30px rgba(0, 0, 0, 0.1),
      0 0 0 1px rgba(255, 255, 255, 0.2);
  }
  
  .invite-request-modal.active .invite-request-modal-content {
    transform: translateY(0);
  }
  
  .invite-request-modal-header {
    padding: 20px 20px 0;
  }
  
  .invite-request-modal-header h3 {
    font-size: 2.0rem;
  }
  
  .close-modal-btn {
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }
  
  .invite-request-modal-body {
    padding: 20px;
  }
  
  .prerelease-info {
    padding: 16px;
    margin-bottom: 15px;
  }
  
  .prerelease-info h4 {
    font-size: 1.6rem;
  }
  
  .prerelease-info h4 i {
    font-size: 1.4rem;
  }
  
  .prerelease-info p {
    font-size: 1.2rem;
  }
  
  .line-guide {
    margin-bottom: 28px;
  }
  
  .line-guide h4 {
    font-size: 1.6rem;
  }
  
  .line-guide h4 i {
    font-size: 1.4rem;
  }
  
  .line-guide p {
    font-size: 1.2rem;
  }
  
  .line-button {
    font-size: 1.2rem;
    padding: 16px 20px;
    max-width: 100%;
  }
  
  .line-button i {
    font-size: 1.1rem;
  }
  
  .notice-text {
    padding: 12px 16px;
  }
  
  .notice-text p {
    font-size: 1.0rem;
  }
}

/* 黄色い背景色のハイライト */
.highlight-yellow {
  background-color: #FFE148;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  margin: 4px 0;
}

/* ===== option2 セクション専用スタイル ===== */
.option2-tab-container{margin-top:40px;}
.option2-tab-buttons{display:flex;justify-content:center;gap:12px;margin-bottom:-1px;position:sticky;top:0;z-index:100;background-color:inherit;padding-top:10px;transition:box-shadow .3s ease;}
.option2-tab-buttons.sticky{background:#ffe148;}
.option2-tab-button{padding:16px 30px;border:2px solid #FFFFFF;background:transparent;color:#FFFFFF;font-weight:700;border-radius:10px 10px 0 0;cursor:pointer;transition:all .3s ease;font-size:16px;width:50%;}
.option2-tab-button.active{background:#FFFFFF;color:var(--black-color);border:none;}
.option2-tab-contents{position:relative;}
.option2-bg1{background:url(../img/option-bg1.png) no-repeat center/cover;}
.option2-bg2{background:url(../img/option-bg2.png) no-repeat center/cover;}
.option2-tab-content{display:none;opacity:0;transition:opacity .3s ease;}
.option2-tab-content.active{display:block;opacity:1;}
.option2-tab-content-inner{display:flex;gap:40px;padding:0;background:#FFFFFF;border-radius:0 0 25px 25px;flex-direction:row;}
.option2-tab-content-text{flex:1;padding:30px;display:flex;flex-direction:column;justify-content:center;}
.option2-tab-content-text-inner{text-align:center;margin:0 auto;}
.option2-tab-content-text h2{font-size:6.8rem;margin-bottom:15px;font-weight:700;}
.option2-tab-content-text h3{font-size:2.8rem;margin-bottom:15px;font-weight:700;}
.option2-tab-content-text h4{font-size:1.6rem;font-weight:700;}
.option2-tab-content-text p{margin-bottom:50px;line-height:1.6;font-size:1.3rem;}
.option2-tab-content-image{flex:1;}
.option2-tab-content-image img{height:100%;}
.option2-info{display:flex;flex-direction:row;gap:10px;}
.option2-place{width:50%;}
.option2-place table{width:100%;height:38px;}
.option2-place table td{width:50%;text-align:center;border:2px solid var(--black-color);font-size:1.1rem;font-weight:600;background:#FFFFFF;}
.option2-place-title{font-size:1.6rem;font-weight:700;color:#FFFFFF;background:var(--black-color)!important;}
.option2-place-title-special{font-size:1.3rem;font-weight:700;color:var(--black-color);background:var(--main-color)!important;}
@media (max-width:768px){.option2-tab-container{margin-top:20px;}.option2-tab-button{font-size:15px;padding:16px 10px;}.option2-tab-content-inner{flex-direction:column;padding:20px;gap:0;}.option2-tab-content-text{order:1;padding:0;}.option2-tab-content-text h2{font-size:4rem;}.option2-tab-content-text h3{font-size:2rem;}.option2-tab-content-text h4{font-size:1.4rem;}.option2-tab-content-text p{margin-bottom:0;}.option2-tab-content-text-inner{order:1;margin-bottom:20px;}.option2-tab-content-image{order:2;margin-bottom:0;}.option2-info{order:3;flex-direction:column;}.option2-place{width:100%;}.option2-place table{height:38px;}.option2-tab-content-image img{margin-top:20px;}}















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































