@charset "UTF-8";

/* 基本リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* レイアウトコンテナ */
.container {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* 共通セクションスタイル */
.side-section,
.center-section {
  padding: 0; /* パディングリセット */
}

/* --------------------------------------------------
   左セクション (デスクトップ)
   -------------------------------------------------- */
.side-section {
  width: 33.333%;
  min-width: 320px;
  height: 100vh;
  position: sticky;
  top: 0;
  background-color: #000; /* 背景黒 */
  color: #fff;
  overflow-y: auto; /* コンテンツが溢れる場合はスクロール */
}

/* スクロールバーを非表示（Chrome, Safari, Opera） */
.side-section::-webkit-scrollbar {
  display: none;
}

/* スクロールバーを非表示（IE, Edge, Firefox） */
.side-section {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.left-section {
  background-image: url('images/the-n-lp-image07.jpeg');
  background-size: 240%; /* 画像を大きく */
  background-position: center bottom; /* 画像位置調整 */
  position: sticky;
}

.left-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2); /* オーバーレイを少し薄く */
  z-index: 1;
}

.left-section .content-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 100vh; /* 最低でも画面の高さ */
  padding: 20px 30px 200px 30px; /* 下のpaddingを増やしてボタンのスペース確保 */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 上揃え */
  align-items: center; /* 子要素を中央揃え */
  gap: 10px; /* 要素間の間隔 */
  overflow-y: auto; /* コンテンツが溢れる場合はスクロール */
}



.left-header {
  text-align: center;
  margin-top: 0; /* マージンリセット */
  width: 100%;
}

.logo-area {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo-link:hover {
  opacity: 0.8;
}

.logo-link:hover .logo-text {
  color: #ff4081;
}



.logo-text {
  font-size: 2rem;
  color: #fff;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: color 0.3s;
}

.logo-text .bold {
  font-weight: bold;
}

.logo-img {
  width: auto;
  height: 150px;
  max-width: 290px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
  transition: filter 0.3s;
}


.main-info {
  margin: 250px auto 0 auto; /* 320pxから300pxに微調整してスペース確保 */
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.area-tag {
  background-color: #fff;
  color: #000;
  display: block;
  width: fit-content;
  margin: 0 auto 5px auto;
  padding: 4px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  text-shadow: none; /* シャドウなし */
}

.target-tag {
  background-color: #fff;
  color: #000;
  display: block;
  width: fit-content;
  margin: 0 auto 2px auto;
  padding: 4px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  text-shadow: none; /* シャドウなし */
}

.sub-title {
  font-size: 1rem;
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.main-title {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 5px;
  font-weight: bold;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}
.price .tax {
  font-size: 1.4rem;
  font-weight: bold;
}

.price .yen {
  font-size: 0.7em; /* 親要素の70% */
}

.service-list {
  list-style: none;
  font-size: 0.9rem;
  line-height: 2.5;
  display: inline-block; /* 中央配置のためにインラインブロック化 */
  text-align: left; /* リストの中身は左揃え */
}

.left-nav {
  font-size: 0.8rem; /* 文字サイズを大きく */
  margin-bottom: 20px;
  margin-top: 40px; /* タイトルに近づける */
  opacity: 1; /* 視認性向上のため不透明度調整 */
  text-align: center; /* 中央揃え */
}
.left-nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s;
}
.left-nav a:hover {
  color: #ff4081; /* ホバー時にピンク */
}

.cta-button {
  display: inline-block;
  background-color: #ff4081;
  color: #fff;
  text-align: center;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(255, 64, 129, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 左カラムのCTAボタン（通常配置に戻す） */
.left-section .cta-button {
  position: static;
  margin-top: 10px;
  z-index: 10;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}
.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 64, 129, 0.6), 0 0 30px rgba(255, 64, 129, 0.4);
}

.cta-button:active {
  transform: translateY(-1px);
}

/* パララックス・フェードインアニメーション用クラス */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 画像の視差効果用ラッパー */
.parallax-img-wrapper {
  overflow: hidden;
  position: relative;
}

.parallax-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.1s ease-out;
  transform: scale(1.2); /* 初期状態で拡大しておく */
}

/* 左セクションの修正 */
.side-section.left-section {
  /* 1. 背景画像のリピート防止とサイズ調整 */
  background-repeat: no-repeat !important;
  background-size: cover !important; /* 隙間なく埋めるための最適な設定 */
  background-position: center bottom !important;

  /* 2. ボタンが見切れる問題の修正 */
  overflow-y: auto !important; /* 縦方向のスクロールを許可する */
  
  /* スクロールバーを非表示にする（デザインを崩さないため） */
  scrollbar-width: none; /* Firefox用 */
}

/* Chrome, Safari, Edgeでスクロールバーを消す記述 */
.side-section.left-section::-webkit-scrollbar {
  display: none;
}

/* --------------------------------------------------
   中央セクション (デスクトップ)
   -------------------------------------------------- */
.center-section {
  width: 33.333%;
  min-width: 320px;
  background-color: #fff;
  padding-bottom: 0;
}

.center-top-visual {
  position: relative;
  width: 100%;
  height: auto;
}

.center-vi.section-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  aspect-ratio: 1 / 1; /* スクエア（1:1）に統一 */
  transition: transform 0.6s ease, filter 0.6s ease;
}

.section-img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.center-copy {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  padding: 20px;
  /* background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); */
}

.center-visual-img {
  width: 100%;
  height: 44vh;
  object-fit: cover;
  display: block;
}

.center-copy {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  padding: 20px;
  /* background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); */
}

.copy-main {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.6;
}

.message-section {
  padding: 40px 40px; /* パディングを広げて余白を持たせる */
  text-align: justify;
}

.message-section h2 {
  text-align: center;
  font-size: 2.5rem; /* FAQに合わせて統一 */
  margin-bottom: 40px;
  letter-spacing: 0.15em;
  line-height: 1.4;
}

.message-section p {
  margin-bottom: 30px;
  font-size: 1rem; /* 文字サイズ調整 */
  line-height: 2.2; /* 行間を広げて読みやすく */
  letter-spacing: 0.05em;
  text-align: center;
}

.message-footer {
  background: none;
  background-color: #fff;
  padding: 40px 20px;
  text-align: center;
  color: #333;
  font-weight: bold;
  line-height: 2.2;
  margin: 40px 0 0 0; /* 上マージンのみ */
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* セクションアイキャッチ画像（全幅・高さ統一） */
.section-hero-visual {
  width: 100%;
  height: 400px; /* 高さを拡大 */
  overflow: hidden;
  margin-bottom: 0; /* セクションとの間隔はセクション側のpaddingで調整 */
}

.section-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* POINTセクション */
.point-section {
  padding: 30px 40px 40px 40px; /* 下のpaddingも半分に */
  text-align: center;
}

.section-img {
  width: 100%;
  display: block;
  margin-bottom: 40px;
  height: auto;
  aspect-ratio: 1 / 1; /* 正方形に統一 */
  object-fit: cover;
}

.point-header h2 {
  font-size: 2.5rem; /* FAQに合わせて統一 */
  font-weight: bold;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.point-lead {
  font-size: 1rem; /* 1remに統一 */
  line-height: 2.2;
  margin-bottom: 60px;
  letter-spacing: 0.05em;
}

.bold-num {
  font-weight: bold;
  font-size: 1.3em;
}

.detail-visual {
  padding: 0 20px; /* 左右に余白を追加 */
}

.point-detail {
  margin-bottom: 60px;
}

.detail-text h3 {
  font-size: 1.6rem; /* 1.6remに統一 */
  font-weight: bold;
  margin-bottom: 25px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.detail-text p {
  font-size: 1rem;
  line-height: 2;
  text-align: justify; /* 両端揃え */
  letter-spacing: 0.05em;
}


/* PLANセクション */
.plan-section {
  padding: 60px 40px 60px 40px; /* 左右paddingを40pxに統一 */
  text-align: center;
}

.plan-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.plan-header h3 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1.4;
}

.plan-lead {
  font-size: 1rem; /* 1remに統一 */
  line-height: 2;
  font-weight: bold;
  margin-bottom: 40px;
}

.plan-list-container {
  background-color: #f9f9f9;
  padding: 30px 20px;
  border-radius: 10px;
  margin-bottom: 40px;
  text-align: left;
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.plan-list li:last-child {
  margin-bottom: 0;
}

.check-icon {
  color: #ff4081;
  font-weight: bold;
  margin-right: 10px;
}

.plan-price-area {
  margin-bottom: 40px;
}

.price-label {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.plan-price {
  font-size: 3rem;
  font-weight: bold;
  color: #000;
  line-height: 1;
}

.plan-price .yen {
  font-size: 1.5rem;
}

.plan-price .tax {
  font-size: 1rem;
  font-weight: normal;
}

.cta-button-large {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  background-color: #ff4081;
  color: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(255, 64, 129, 0.4);
  transition: opacity 0.3s, transform 0.3s;
}

.cta-button-large:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.plan-target-box {
  background-color: #ff4081;
  color: #fff;
  padding: 20px;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.8;
}

.plan-item {
  margin-bottom: 60px;
  text-align: left;
}

.plan-visual-item {
  position: relative;
  margin-bottom: 10px;
  padding: 0 20px; /* 左右に余白を追加 */
}

.plan-visual-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* 正方形に統一 */
  object-fit: cover;
  display: block;
}

.plan-number {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7rem;
  font-weight: bold;
  color: #ff4081;
  line-height: 1;
  text-shadow: 2px 2px 0 #fff;
  z-index: 10;
}

.plan-title-pink {
  text-align: center;
  font-size: 2rem;
  color: #ff4081;
  font-weight: bold;
  margin-bottom: 20px;
}

.plan-content-box {
  background-color: #ff4081;
  color: #fff;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.box-title {
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.6;
}

.plan-check-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  color: #ff4081;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: center;
}

.plan-desc {
  font-size: 1rem; /* 1remに統一 */
  line-height: 1.8;
  text-align: justify;
}

.plan-desc-pink {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #ff4081;
  font-weight: bold;
  text-align: center;
}

.sub-plan-container {
  margin-bottom: 60px;
}

.sub-plan-item {
  margin-bottom: 40px;
  text-align: left;
  padding: 0 20px; /* 左右に余白を追加 */
}

.sub-plan-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* 正方形に統一 */
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.sub-plan-title {
  border: 1px solid #666;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 20px;
  background-color: #fff;
  color: #000;
}

.sub-plan-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: bold;
}

.sub-plan-list li {
  margin-bottom: 5px;
}

.underline-list li {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.extra-cost-area {
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: left;
}

.black-bar-title {
  background-color: #000;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.extra-cost-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.8;
}

.note-text {
  font-size: 0.7rem;
  color: #666;
  line-height: 1.6;
}

.cta-area-center {
  text-align: center;
  margin-bottom: 60px;
}

/* ボタンの幅を統一 */
.cta-button-pink,
.cta-button-white {
  width: 320px;
  max-width: 90%;
  box-sizing: border-box;
  white-space: nowrap; /* テキストの折り返しを禁止 */
}

@media (max-width: 480px) {
  .cta-button-pink,
  .cta-button-white {
    padding: 15px 20px; /* モバイルでは左右のpaddingを減らす */
    font-size: 0.95rem; /* 必要であれば少し文字サイズを下げる */
  }
}

.cta-button-pink {
  display: inline-block;
  background-color: #ff4081;
  color: #fff;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(255, 64, 129, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button-pink::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button-pink:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button-pink:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(255, 64, 129, 0.6), 0 0 30px rgba(255, 64, 129, 0.4);
}

.cta-button-pink:active {
  transform: translateY(-1px);
}

.cta-button-white {
  display: inline-block;
  background-color: #fff;
  color: #333;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
  margin-top: 20px;
}

.cta-button-white::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button-white:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background-color: #f9f9f9;
  color: #333;
}

.cta-button-white:active {
  transform: translateY(-1px);
}

.flow-section {
  padding: 60px 40px 60px 40px; /* 左右paddingを40pxに統一 */
  text-align: center;
}

.flow-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.flow-step {
  margin-bottom: 40px;
}

.flow-img-wrapper {
  width: 225px;
  height: 225px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.flow-img {
  width: 110%;
  height: 110%;
  object-fit: cover;
}

.step-label {
  display: inline-block;
  background: linear-gradient(to right, #7b81f5, #f093fb);
  color: #fff;
  padding: 5px 20px;
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
}

.step-title {
  font-size: 1.6rem; /* 1.6remに統一 */
  font-weight: bold;
  margin-bottom: 20px;
}

.step-desc {
  font-size: 1rem; /* 1remに統一 */
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
  display: inline-block; /* 左揃えにしつつ中央配置っぽく見せるため */
}

.flow-arrow {
  color: #f093fb; /* ピンク〜紫っぽい色 */
  font-size: 1.5rem;
  margin-top: 10px;
}

.step-desc-left {
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: center;
  display: inline-block;
  width: 100%;
  max-width: 400px; /* 読みやすい幅に制限 */
}

.bold-text {
  font-weight: bold;
  margin-bottom: 5px;
}

.mb-20 {
  margin-bottom: 20px;
}

.faq-section {
  padding: 60px 40px 60px 40px; /* 左右paddingを40pxに統一 */
  text-align: center;
}

.faq-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  line-height: 1.4;
}

.faq-section h2 .jp-title {
  font-size: 1.5rem;
  display: block;
  margin-top: 10px;
}

.faq-list {
  text-align: left;
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: none; /* ボーダー削除 */
  padding-bottom: 0;
}

.faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
}

.faq-q:hover {
  background-color: #eee;
}

.faq-a {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background-color: #fff;
  border-radius: 0 0 10px 10px;
  margin-top: 0;
  display: none; /* 初期非表示 */
  animation: fadeIn 0.3s ease-in-out;
}

.faq-item.open .faq-a {
  display: flex; /* openクラスで表示 */
}

.faq-item.open .faq-q {
  border-radius: 10px 10px 0 0; /* 下の角丸をなくす */
  background-color: #eee;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.q-icon, .a-icon {
  font-weight: bold;
  font-size: 1.2rem;
  width: 30px;
  flex-shrink: 0;
  margin-right: 10px;
}

.q-icon {
  color: #000;
}

.a-icon {
  color: #000;
}

.q-text {
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.6;
}

.a-text {
  font-size: 1rem; /* 1remに統一 */
  line-height: 1.8;
  flex: 1;
}

/* トグルアイコン */
.toggle-icon {
  width: 20px;
  height: 20px;
  position: relative;
  margin-left: 10px;
  flex-shrink: 0;
}

.toggle-icon::before,
.toggle-icon::after {
  content: '';
  position: absolute;
  background-color: #333;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}

.toggle-icon::before {
  width: 100%;
  height: 2px;
}

.toggle-icon::after {
  width: 2px;
  height: 100%;
}

.faq-item.open .toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg); /* プラスをマイナスに */
}

.contact-section {
  padding: 60px 40px 30px 40px; /* 下部paddingを30pxに変更 */
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
  line-height: 1.4;
}

.contact-section h2 .jp-title {
  font-size: 1.5rem;
  display: block;
  margin-top: 10px;
}

.contact-lead {
  font-size: 1rem; /* 1remに統一 */
  line-height: 2;
  margin-bottom: 40px;
  text-align: left;
  display: inline-block;
}

.contact-message {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 40px;
  font-weight: 500;
}

.contact-footer-text {
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: bold;
  margin-bottom: 40px;
}

.footer-section {
  width: 100%;
}

.footer-visual {
  position: relative;
  width: 100%;
  height: 750px; /* 縦幅を広げる（元の約1.5倍を想定） */
  overflow: hidden;
}

.footer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-overlay {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
}

.footer-logo-link {
  display: inline-block;
  transition: opacity 0.3s;
}

.footer-logo-link:hover {
  opacity: 0.7;
}

.footer-logo {
  width: 200px;
  margin-bottom: 10px;
  vertical-align: bottom; /* 画像の下に隙間ができないように */
}

.copyright {
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* --------------------------------------------------
   右セクション (デスクトップ)
   -------------------------------------------------- */
.right-section {
  position: sticky;
  top: 0;
  height: 100vh;
  background-color: #000;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* 画像切り替えアニメーション (3枚構成) */
.slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 18s infinite; /* 3枚 x 6秒 = 18秒 */
}

.slide-1 {
  background-image: url('images/the-n-lp-image09.jpeg');
  animation-delay: 0s;
}
.slide-2 {
  background-image: url('images/the-n-lp-image06.jpeg');
  background-position: center bottom;
  animation-delay: 6s;
}
.slide-3 {
  background-image: url('images/the-n-lp-image11.jpeg');
  animation-delay: 12s;
}

@keyframes slideShow {
  0% { opacity: 0; }
  5% { opacity: 1; }
  33% { opacity: 1; }
  38% { opacity: 0; }
  100% { opacity: 0; }
}

.right-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.right-main-message {
  font-size: 1.6rem; /* 文字を大きく */
  letter-spacing: 0.1em;
  line-height: 1.8;
  margin-bottom: 60px; /* ボトムマージンを広げる */
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* 視認性確保 */
}

.vertical-text {
  writing-mode: vertical-rl;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  line-height: 2;
  margin-bottom: 40px;
  height: 50%; /* 縦書きエリアの高さ確保 */
}

.sub-text-right {
  font-size: 0.9rem;
  font-weight: medium;
  line-height: 3;
  opacity: 0.9;
}


/* --------------------------------------------------
   レスポンシブ対応 (タブレット・モバイル)
   -------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    flex-direction: column;
  }

  .side-section,
  .center-section {
    width: 100%;
    min-width: auto;
    height: auto; /* 高さを自動に戻す */
    position: static;
    padding: 0;
  }

  /* 表示順序の制御: 左(10) -> 右(20) -> 中央(30) */
  .left-section {
    order: 10;
    height: auto; /* コンテンツに合わせて高さ調整 */
    min-height: 100vh; /* ファーストビューとして画面いっぱいに */
  }

  .right-section {
    order: 20;
    height: auto; /* コンテンツに合わせて高さ調整 */
    min-height: auto; /* 500pxからautoに変更して余白を削除 */
    padding: 60px 0; /* 上下のパディングで高さを確保 */
  }

  .center-section {
    order: 30;
  }
  
  .left-section .content-wrapper {
      padding: 30px 20px;
  }
  .logo-text {
      font-size: 1.8rem;
  }
  .main-title {
      font-size: 3rem;
  }

  .right-content {
    padding: 20px 10px; /* 上下に最低10px以上の余白を確保 */
  }

  .right-main-message {
    font-size: 1.1rem; /* スマホ用にサイズダウンして枠内に収める */
    margin-bottom: 30px;
  }

  /* --------------------------------------------------
     モバイル背景修正: 右カラムの背景（スライドショー）のみを表示
     -------------------------------------------------- */
  
  /* 左セクションの背景画像を削除 */
  .left-section {
    background-image: none !important;
    background-color: transparent !important;
  }

  /* 右セクションの黒背景を削除（スライドショーを見せるため） */
  .right-section {
    background-color: transparent !important;
  }

  /* スライドショーを画面全体に固定 */
  .slideshow {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2 !important; /* 最背面へ */
  }

  /* モバイル用固定オーバーレイ（左セクションだけでなく全体に適用） */
  .left-section .overlay {
    background-color: rgba(0, 0, 0, 0.6) !important; /* 濃いめのオーバーレイ */
    position: fixed !important; /* 固定配置に変更 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh !important;
    z-index: -1 !important; /* スライドショーの上、コンテンツの下 */
    pointer-events: none; /* クリックを透過 */
  }

  /* コンテンツの余白調整 */
  .right-content {
    padding-bottom: 60px; /* 下部に余白を追加 */
  }
  
  /* 謎の白余白対策：center-sectionのマージン調整 */
  .center-section {
    margin-top: -1px; /* 隙間を埋める */
  }
}

/* スマホ用ファーストビュー調整（CTAボタンまで画面内に収める） */
@media (max-width: 480px) {
  .left-section .content-wrapper {
    padding: 20px 15px 30px 15px !important; /* パディングを詰める */
    justify-content: center !important;
    gap: 5px !important; /* 要素間隔を詰める */
    min-height: 100vh !important; /* 画面高さを基準に */
    height: 100vh !important; /* はみ出し防止 */
  }

  .logo-wrapper {
    transform: scale(0.8); /* ロゴ全体を少し縮小 */
    margin-bottom: 80px !important; /* 下に余白を作ってロゴを上に押し上げる */
    margin-top: -20px !important; /* さらに少し上に */
  }

  .main-info {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
  }

  .main-title {
    font-size: 2.2rem !important; /* タイトルサイズ縮小 */
    line-height: 1.1;
  }

  .price {
    font-size: 2.2rem !important; /* 価格サイズ縮小 */
    margin-bottom: 5px;
  }

  .service-list {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    margin-bottom: 5px;
  }
  
  .service-list li {
      margin-bottom: 2px;
  }

  .left-nav {
    margin-top: 10px !important;
    margin-bottom: 15px !important;
    font-size: 0.7rem !important; /* ナビ文字サイズ縮小 */
  }

  .cta-button {
    padding: 12px 30px !important; /* ボタンサイズ微調整 */
    font-size: 0.9rem !important;
    margin-top: 0 !important;
  }


}

/* 左セクション：スクロール対応とレイアウト修正（デスクトップのみ適用） */
@media (min-width: 1025px) {
  /* 1. 外枠：スクロール可能にする */
  .side-section.left-section {
    height: 100vh !important;    /* 高さは画面いっぱい */
    overflow-y: auto !important; /* 縦スクロール許可 */
  }

  /* 2. 中身：最低でも画面の高さを持つようにする（ここが重要） */
  .left-section .content-wrapper {
    /* 中身が少なくても画面の高さ(100vh)まで広げる */
    min-height: 100vh !important; 
    height: auto !important;
    
    /* Flexbox設定の再定義（崩れ防止） */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* 中央揃えに変更 */
    align-items: center !important;         /* 左右中央揃え */
    
    /* 余白調整：ボタンの下に少し余裕を持たせる */
    padding-bottom: 60px !important; 
    box-sizing: border-box !important;
  }

  /* 3. ナビゲーション（MESSAGE...）を下に押し下げる */
  .left-nav {
    margin-top: 20px !important; /* autoから変更して中央寄せに追従させる */
    margin-bottom: 20px !important; /* ボタンとの隙間 */
  }

  /* 4. 黒いフィルターの高さ調整 */
  .left-section .overlay {
    height: 100% !important; /* 親要素に合わせて伸びるようにする */
    position: absolute !important;
    top: 0;
    left: 0;
    min-height: 100vh !important;
  }

  /* スクロールバー非表示 */
  .side-section.left-section::-webkit-scrollbar {
    display: none;
  }
}
.side-section.left-section {
  -ms-overflow-style: none;
  scrollbar-width: none;
}