/* リセットCSS */

/* iPhoneのステータスバー透明化対応 */
@supports (padding-top: env(safe-area-inset-top)) {
  html {
    padding-top: env(safe-area-inset-top);
  }
  
  body {
    padding-top: 0;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Zen Kaku Gothic New', 'Josefin Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #4c4c4c;
  background: #FFF9EB;
  font-weight: 400;
  position: relative;
  overflow-x: hidden;
}

/* 英語テキスト用 */
.en-text {
  font-family: 'Josefin Sans', sans-serif;
}

/* 日本語テキスト用 */
.ja-text {
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

/* 全画面背景用のコンテナ */
.hero-background {
  position: relative;
  min-height: 100vh; /* 最小でもビューポートの高さを確保 */
  --blur-amount: 0px; /* カスタムプロパティでぼかし量を制御 */
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/firstview.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: -1;
  filter: blur(var(--blur-amount)); /* カスタムプロパティを使用 */
  transition: filter 0.1s ease; /* より細かい制御 */
}

/* コンテンツが多い場合は背景を伸ばす */
@media (min-height: 800px) {
  .hero-background::before {
    background-size: 100% auto; /* 横幅100%、高さは自動調整 */
  }
}

/* SP版での背景調整 */
@media (max-width: 768px) {
  .hero-background {
    min-height: auto; /* SP版では最小高さ制限を解除 */
  }
  
  .hero-background::before {
    background-attachment: scroll; /* SP版では確実にスクロール */
    background-size: cover;
    background-position: center center;
  }
}

/* ファーストビューセクション */
.first-view {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  background: transparent;
}

/* キャッチコピーコンテナ */
.catchcopy-container {
  position: absolute;
  left: 60px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: flex-start; /* 上揃え */
  gap: 15px;
  z-index: 2;
  padding-top: 50px; /* 上部余白 */
}

/* キャッチコピーボックス */
.catchcopy-box {
  background: #FEFCF7; /* 指定された背景色 */
  padding: 25px 10px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  min-height: 180px; /* 元の高さに戻す */
  display: flex;
  align-items: flex-start; /* 上揃え */
  justify-content: center;
  opacity: 0; /* 初期状態で非表示 */
  transform: translateY(30px); /* 下から上へ */
  animation: fadeInUp 1.5s ease-out forwards; /* フェードインアニメーション（ゆっくり） */
}

/* 各ボックスのアニメーション遅延（右から左へ） */
.catchcopy-box:nth-child(1) {
  animation-delay: 1.2s; /* 1番目（この街の〜）：最後 */
}

.catchcopy-box:nth-child(2) {
  animation-delay: 0.8s; /* 2番目（自らつながる）：中間 */
}

.catchcopy-box:nth-child(3) {
  animation-delay: 0.4s; /* 3番目（自らつくる）：最初 */
}


/* 縦書きテキスト */
.catchcopy-vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: 'Shippori Mincho', serif; /* Shippori Minchoに変更 */
  font-size: 26px; /* PC版サイズ */
  font-weight: 400; /* Regular */
  color: #2c3e50;
  letter-spacing: 0.4em;
  line-height: 1.5;
  height: auto; /* 自然な高さ */
  display: block; /* シンプルに */
  text-align: center;
}

.catchcopy-box.large .catchcopy-vertical {
  font-size: 30px; /* 大きなボックス用サイズ */
  font-weight: 400; /* Regular */
  letter-spacing: 0.12em;
}

/* フェードインアニメーション */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ロゴエリア */
.logo-area {
  position: fixed; /* PC版では追従させる */
  top: 20px;
  right: 30px;
  width: 250px; /* PC版基準値 */
  height: 430px; /* PC版基準値 */
  background: rgba(255, 255, 255, 0.4); /* #ffffff 40%不透明度 */
  border-radius: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px; /* 上下の余白を均等に */
  backdrop-filter: blur(15px);
  border: none;
  padding: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  opacity: 0; /* 初期状態では非表示 */
  transform: translateX(100%); /* 右に隠す */
  transition: opacity 1.2s ease, transform 1.2s ease; /* もっとゆっくりなアニメーション */
}

/* スクロール中に表示 */
.logo-area.show-on-scroll {
  opacity: 1;
  transform: translateX(0);
}



/* 木のアイコン */
.tree-icon {
  margin-bottom: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tree-image {
  width: 150px; /* エリア幅250pxの約半分 */
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

/* 会社タイトル画像 */
.company-title-image {
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

/* 会社テキスト */
.company-text {
  text-align: center;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 11px;
  color: #4c4c4c;
  margin-bottom: 5px;
  font-weight: 500;
}

.company-name {
  font-size: 14px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

/* メニューボタン */
.menu-btn {
  position:relative;
  font-family: 'Josefin Sans', sans-serif;
  background: #FEFCF7;
  color: #00659C;
  border: none;
  border-radius: 25px;
  padding: 8px 20px;
  width: 150px;
  height: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-btn::before {
    content: "";
    position: absolute;
    inset: 3px;
    border: 1px dashed #00659C;  /* 内側破線 */
    pointer-events: none;     /* 邪魔しない */
    border-radius: inherit;   /* 親の角丸を引き継ぐ（必要なら） */
  }

.menu-btn:hover {
  background: #00659C;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

/* タブレット横表示専用 (769px-1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
  .catchcopy-container {
    left: 40px;
    gap: 12px;
    padding-top: 45px;
  }
  
  .catchcopy-box {
    padding: 22px 12px;
    min-height: 160px;
  }
  
  .catchcopy-vertical {
    font-size: 24px;
    letter-spacing: 0.3em;
  }
  
  .catchcopy-box.large .catchcopy-vertical {
    font-size: 28px;
    letter-spacing: 0.11em;
  }
  
  .logo-area {
    top: 35px;
    right: 25px;
    width: 220px;
    height: 380px;
  }
  
  .tree-image {
    width: 120px;
    height: 170px;
  }
  
  .company-title-image {
    max-width: 160px;
  }
  
  .menu-btn {
    padding: 7px 18px;
    font-size: 14px;
    width: 130px;
    height: 40px;
  }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .catchcopy-container {
    left: 30px;
    gap: 15px;
    padding-top: 60px;
  }
  
  .catchcopy-box {
    padding: 20px 15px;
    min-height: 140px;
  }

  
  .catchcopy-vertical {
    font-size: 20px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.12em;
  }
  
  .catchcopy-box.large .catchcopy-vertical {
    font-size: 24px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.1em;
  }
  
  .logo-area {
    position: fixed; /* タブレット版でも追従させる */
    top: 50px;
    right: 20px;
    width: 200px; /* タブレット版：PC版の約80% */
    height: 344px; /* タブレット版：PC版の約80% */
    padding: 10px; /* 上下余白をなくす */
    z-index: 1000; /* 他の要素の上に表示 */
    /* 初期状態：右側に隠す */
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
  }

  /* タブレット版でもスクロール時に表示 */
  .logo-area.show-on-scroll {
    opacity: 1;
    transform: translateX(0);
  }

  .tree-icon{
    margin-bottom: 5px;
  }
  
  .tree-image {
    width: 100px; /* エリア幅200pxの約半分 */
    height: 150px;
  }
  
  .company-title-image {
    max-width: 140px;
  }
  
  .subtitle {
    font-size: 9px;
  }
  
  .company-name {
    font-size: 12px;
  }
  
  .menu-btn {
    margin-top: 5px;
    padding: 6px 15px;
    font-size: 11px;
    width: 100px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .catchcopy-container {
    left: 20px;
    gap: 8px;
    padding-top: 30px;
  }
  
  .catchcopy-box {
    padding: 10px 5px;
    min-height: 100px;
  }
  
  .catchcopy-box.large {
    min-height: 140px;
    padding: 18px 10px;
  }
  
  .catchcopy-vertical {
    font-size: 18px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.1em;
  }
  
  .catchcopy-box.large .catchcopy-vertical {
    font-size: 20px;
    font-weight: 400; /* Regular */
    letter-spacing: 0.08em;
  }
  
  .logo-area {
    position: fixed; /* SP版でも追従させる */
    top: 30px;
    right: 15px;
    width: 130px; /* SP版基準値 */
    height: 240px; /* SP版基準値 */
    justify-content: center;
    gap: 2px;
    z-index: 1000; /* 他の要素の上に表示 */
    /* 初期状態：右側に隠す */
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
  }

  /* SP版でもスクロール時に表示 */
  .logo-area.show-on-scroll {
    opacity: 1;
    transform: translateX(0);
  }

  .tree-image {
    width: 70px; /* エリア幅130pxの約半分 */
    height: 100px;
    margin-bottom: 0px;
  }


  .company-text {
    margin-bottom: 0px;
  }
  
  .company-title-image {
    max-width: 120px;
  }
  
  .subtitle {
    font-size: 8px;
  }
  
  .company-name {
    font-size: 10px;
  }
}

/* 既存のセクションスタイル（基本設定） */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-en {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  color: #4c4c4c;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 400;
}

.section-title-ja {
  font-family: 'Shippori Mincho', serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 30px;
  color: #4c4c4c;
}

/* ストーリータイトル専用スタイル */
.story .section-title-ja {
  font-family: 'Shippori Mincho', serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 40px;
}

.intro-text {
  font-size: 16px;
  line-height: 3;
  font-weight: 500;
  color: #4c4c4c;
  margin-bottom: 40px;
}

/* コンセプトセクション */
.concept {
  background: transparent;
}

/* コンセプトセクションの文章 */
.concept .intro-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  line-height: 3;
  text-align: center;
  padding-top: 30px;
}

/* PC・タブレット版は横書きテキストのみ表示 */
.concept .intro-text-vertical {
  display: none;
}

/* ストーリーセクション */
.story {
  background: linear-gradient(90deg, #FFD3A5 0%, #D9F2F1 100%);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  text-align: center;
  min-height: 600px;
}

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

.story-wave-bottom {
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1;
}

.story-wave-top svg,
.story-wave-bottom svg {
  width: 100%;
  height: 100%;
}

.story-content {
  position: relative;
  z-index: 2;
  padding: 150px 0 150px 0;
  max-width: 1200px;
  margin: 50px auto 0px auto;
}

.story .section-title-ja {
  margin-bottom: 70px;
  color: #4c4c4c;
}

.story-text-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ストーリーセクションの文章 */
.story .story-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 500;
  color: #4c4c4c;
  margin: 0;
}

/* PC・タブレット版はhorizontalのみ表示 */
.story .story-text-vertical {
  display: none;
}

/* ストーリーセクション レスポンシブ対応 */
@media (max-width: 768px) {
  .story {
    min-height: 500px;
  }
  
  .story-content {
    padding: 150px 0 100px 0;
  }
  
  .story .section-title-ja {
    margin-bottom: 50px;
  }
  
  .story-text-container {
    padding: 0 16px;
  }
  
  .story .story-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .story-text-container {
    padding: 0 12px;
  }
  
  .story .story-text {
    font-size: 15px;
    line-height: 1.8;
  }
  
  /* SP版では横書きテキストを非表示 */
  .story .story-text-horizontal {
    display: none;
  }
  
  /* SP版では縦書きテキストを表示 */
  .story .story-text-vertical {
    display: block;
  }
}

/* タブレット横表示対応 (769px-1023px) */
@media (min-width: 769px) and (max-width: 1023px) {
  /* セクションタイトルのサイズ調整 */
  .section-title-ja {
    font-size: 30px;
  }
  
  .story .section-title-ja {
    font-size: 32px;
  }
  
  /* コンセプトテキストサイズ調整 */
  .concept .intro-text {
    font-size: 16px;
    line-height: 2.8;
  }
  
  /* ストーリーテキストサイズ調整 */
  .story .story-text {
    font-size: 16px;
    line-height: 1.9;
  }
  
  /* intro-textの一般的なサイズ調整 */
  .intro-text {
    font-size: 15px;
    line-height: 2.5;
  }
}

/* Shippori Mincho用レスポンシブ対応 */
@media (max-width: 768px) {
  .section-title-ja {
    font-size: 28px;
  }
  
  .story .section-title-ja {
    font-size: 30px;
  }
  
  .concept .intro-text {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .section-title-ja {
    font-size: 24px;
  }
  
  .story .section-title-ja {
    font-size: 26px;
  }
  
  /* SP版のintro-textの行間を調整 */
  .intro-text {
    font-size: 14px;
    line-height: 2;
  }
  
  /* SP版では横書きテキストを非表示 */
  .concept .intro-text-horizontal {
    display: none;
  }
  
  /* SP版では縦書きテキストを表示 */
  .concept .intro-text-vertical {
    display: block;
    font-size: 14px;
    line-height: 28px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: start;
    height: 350px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.btn {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.btn:hover {
  background: #0056b3;
}

/* ブログボタン - 新デザイン */
.blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, #FECEAE 0%, #D9F2F1 100%);
  color: #4c4c4c;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  min-width: 280px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.blog-btn .btn-text {
  flex: 1;
  text-align: left;
  padding-left: 8px;
}

.blog-btn .btn-arrow {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
  margin-left: 16px;
}

.blog-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* ブログボタン タブレット横表示対応 */
@media (min-width: 769px) and (max-width: 1023px) {
  .blog-btn {
    min-width: 260px;
    padding: 15px 30px;
    font-size: 17px;
  }
  
  .blog-btn .btn-arrow {
    font-size: 19px;
    margin-left: 14px;
  }
}

/* ブログボタン レスポンシブ対応 */
@media (max-width: 768px) {
  .blog-btn {
    min-width: 240px;
    padding: 14px 28px;
    font-size: 16px;
  }
  
  .blog-btn .btn-arrow {
    font-size: 18px;
    margin-left: 12px;
  }
}

@media (max-width: 480px) {
  .blog-btn {
    min-width: 200px;
    padding: 12px 24px;
    font-size: 15px;
  }
  
  .blog-btn .btn-text {
    padding-left: 4px;
  }
  
  .blog-btn .btn-arrow {
    font-size: 16px;
    margin-left: 8px;
  }
}

/* カードスタイル */
.card-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.card {
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-icon {
  height: 90px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  height: 90px;
  width: auto;
  object-fit: contain;
}

/* business-plan-iconの特別スタイル */
.card-icon.business-plan-icon {
  height: 90px; /* 他と同じ高さを維持 */
}

.card-icon.business-plan-icon img {
  height: 60px; /* 画像のみ小さく */
}

.card-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #4c4c4c;
  margin-bottom: 16px;
  line-height: 1.4;
}

.card-description {
  font-size: 15px;
  line-height: 1.6;
  color: #4c4c4c;
  margin: 0;
}

/* カードレスポンシブ対応 */
@media (max-width: 1024px) {
  .card-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .card {
    padding: 28px 20px;
  }
  
  .card-icon {
    height: 60px;
    margin-bottom: 16px;
  }
  
  .card-icon img {
    height: 60px;
  }
  
  /* business-plan-iconのレスポンシブ対応 */
  .card-icon.business-plan-icon {
    height: 60px; /* 他と同じ高さを維持 */
  }
  
  .card-icon.business-plan-icon img {
    height: 30px; /* SP版では30px */
  }
  
  .card-title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .card-description {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .card-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
  }
  
  .card {
    padding: 24px 16px;
  }
  
  .card-icon {
    height: 60px;
    margin-bottom: 14px;
  }
  
  .card-icon img {
    height: 60px;
  }
  
  /* business-plan-iconのレスポンシブ対応 */
  .card-icon.business-plan-icon {
    height: 60px;
  }
  
  .card-icon.business-plan-icon img {
    height: 30px;
  }
  
  .card-title {
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  .card-description {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .card-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
  }
  
  .card {
    padding: 20px 12px;
  }
  
  .card-icon {
    height: 60px;
    margin-bottom: 12px;
  }
  
  .card-icon img {
    height: 60px;
  }
  
  /* business-plan-iconのレスポンシブ対応 */
  .card-icon.business-plan-icon {
    height: 60px;
  }
  
  .card-icon.business-plan-icon img {
    height: 30px;
  }
  
  .card-title {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .card-description {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* プランカードスタイル */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 60px auto 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

.plan-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 350px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.plan-header {
  background: #FF7F2A;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 20px;
  font-weight: 600;
}

.plan-price {
  text-align: center;
  padding: 30px 20px 20px;
  background: #fff;
}

.price-amount {
  font-size: 48px;
  font-weight: 500;
  color: #FF7F2A;
  font-family: 'Josefin Sans', sans-serif;
}

.price-unit {
  font-size: 16px;
  font-weight: 600;
  color: #FF7F2A;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  margin-left: 4px;
}

.plan-features {
  flex: 1;
  padding: 20px;
  background: #FFF1E2;
  margin: -10px 20px 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  line-height: 1.5;
}

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

.feature-check {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-text {
  font-size: 14px;
  color: #333;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  line-height: 1.5;
}

/* プランカード レスポンシブ対応 */
@media (max-width: 1024px) {
  .plans {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .plan-card {
    height: 320px;
  }
  
  .plan-header {
    padding: 18px;
    font-size: 18px;
  }
  
  .plan-price {
    padding: 25px 20px 18px;
  }
  
  .price-amount {
    font-size: 42px;
  }
  
  .price-unit {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .plans {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
    padding: 0 16px;
  }
  
  .plan-card {
    height: 270px;
  }
  
  .plan-header {
    padding: 16px;
    font-size: 17px;
  }
  
  .plan-price {
    padding: 20px 16px 15px;
  }
  
  .price-amount {
    font-size: 36px;
  }
  
  .price-unit {
    font-size: 14px;
  }
  
  .plan-features {
    padding: 0 16px 16px;
    margin: 8px 16px 24px 16px;
  }
  
  .plan-feature {
    margin-bottom: 10px;
  }
  
  .feature-text {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .plans {
    padding: 0 12px;
  }
  
  .plan-card {
    height: 270px;
  }
  
  .plan-header {
    padding: 14px;
    font-size: 16px;
  }
  
  .plan-price {
    padding: 18px 12px 12px;
  }
  
  .price-amount {
    font-size: 32px;
  }
  
  .price-unit {
    font-size: 13px;
  }
  
  .plan-features {
    padding: 0 12px 12px;
    margin: 8px 12px 20px 12px;
  }
  
  .plan-feature {
    margin-bottom: 8px;
  }
  
  .feature-text {
    font-size: 12px;
  }
}

/* ブログセクション */
.blog {
  background: 
    linear-gradient(to bottom, rgba(244, 219, 209, 1) 0%, rgba(254, 252, 247, 0.8) 50%, rgba(254, 252, 247, 0.8) 100%);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: -20px; /* 少し上にずらしてスキマを埋める */
  padding: 120px 0 100px 0; /* 上パディングを増やして調整 */
  box-sizing: border-box;
}

/* ブログセクション背景ラディアルグラデーション */
.blog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at 80% 20%, #FECEAE 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ブログセクション内のコンテンツコンテナ */
.blog-content-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* タイトル部分（左寄せに戻す） */
.blog .section-title-en,
.blog .section-title-ja {
  text-align: left;
  margin-bottom: 20px;
}

/* PC版：文章とボタンを左右に配置 */
.blog-content {
  display: flex;
  align-items: flex-end; /* 下端揃えに変更 */
  gap: 40px;
  margin-top: 40px;
}

.blog-text-content {
  flex: 1;
  text-align: left;
}

.blog-button-content {
  flex: 0 0 auto;
  align-self: flex-end; /* ボタンを下端に配置 */
}

/* ブログボタンは元のスタイルを維持（特別な制約なし） */

/* SP版：上下に並べる */
@media (max-width: 768px) {
  .blog-content-wrapper {
    padding: 0 16px;
  }
  
  .blog-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .blog-text-content {
    text-align: left;
  }
  
  .blog .section-title-en,
  .blog .section-title-ja {
    text-align: left; /* SP版でも左寄せに変更 */
  }
}

@media (max-width: 480px) {
  /* ブログセクションの下部余白を削減 */
  .blog {
    padding: 120px 0 50px 0;
  }
  
  .blog-content-wrapper {
    padding: 0 12px;
  }
  
  .blog-content {
    gap: 25px;
  }
}

/* ギャラリーセクション - 画面幅いっぱい連続流し */
.gallery {
  width: 100vw;
  position: relative; /* wave-dividerの基準点 */
  background: #FEFCF7;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  overflow: visible; /* 曲線が見えるように変更 */
}

/* ギャラリーセクション背景ラディアルグラデーション */
.gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(600px circle at 80% 60%, rgba(217, 242, 241, 1) 0%, transparent 70%),
              radial-gradient(400px circle at 55% 70%, rgba(254, 206, 174, 1) 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

.continuous-gallery {
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  width: 420%; /* 4枚の画像 + 余白分を考慮 */
  animation: infiniteScroll 25s linear infinite;
}

.gallery-item {
  flex: 0 0 25%; /* 各アイテムの幅 */
  padding: 0 20px; /* 左右に余白 */
  box-sizing: border-box;
}

.gallery-item img {
  width: 100%;
  height: auto; /* 画像が切れないようにautoに設定 */
  min-height: 400px; /* 最小高さを確保 */
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-25%); /* 1枚分移動 */
  }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .gallery-item img {
    min-height: 350px;
  }
  
  .gallery-item {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  /* タブレット版ではラディアルグラデーションを非表示 */
  .gallery::before {
    display: none;
  }
  
  .gallery-item img {
    min-height: 250px;
  }
  
  .gallery-item {
    padding: 0 10px;
  }
  
  /* タブレット版 - 施設セクション調整 */
  .facility-container {
    flex-direction: column;
    margin: 0 0 50px 0;
    gap: 0;
  }
  
  .facility-image {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .facility-fade-slideshow {
    min-height: 300px;
    height: auto;
    position: relative;
    overflow: hidden;
  }
  
  .facility-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 300px;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .facility-slide.active {
    opacity: 1;
  }
  
  .facility-info {
    padding: 30px;
    order: 2;
    position: relative;
    z-index: 5;
  }
  
  .info-table {
    position: relative;
    z-index: 10;
  }
  
  .info-table th {
    font-size: 14px;
    width: 85px;
  }
  
  .info-table td {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  /* ギャラリー全体の調整 - PC版と同じ全画面設定 */
  .gallery {
    width: 100vw;
    position: relative;
    background: #FEFCF7;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 0 20px 0;
    overflow: hidden;
  }
  
  /* SP版ではラディアルグラデーションを非表示 */
  .gallery::before {
    display: none;
  }
  
  /* 連続ギャラリーコンテナ - PC版と同じ設定 */
  .continuous-gallery {
    width: 100%;
    overflow: hidden;
  }
  
  /* 連続スクロールの調整 - PC版と同じ設定 */
  .gallery-track {
    display: flex;
    width: 420%;
    animation: infiniteScroll 25s linear infinite;
  }
  
  /* SP版では各アイテムの幅を調整 - PC版と同じベース設定 */
  .gallery-item {
    flex: 0 0 25%;
    padding: 0 8px;
    box-sizing: border-box;
  }
  
  .gallery-item img {
    width: 100%;
    min-height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    display: block;
  }
  
  /* SP版ではSVGを非表示 */
  .wave-divider {
    display: none;
  }
  
  /* INVESTORセクションのマイナスマージンを削除 */
  .investor {
    margin-top: 0 !important;
  }
}

/* SVG曲線スタイル */
.wave-divider {
  position: absolute;
  top: 100px; /* ギャラリーセクションの開始位置と同じ */
  left: 0;
  width: 100%;
  height: 100%; /* ギャラリーセクション全体をカバー */
  z-index: 10;
  pointer-events: none; /* クリックを通す */
}

.wave-divider svg {
  position: absolute;
  top: 0; /* 上から開始 */
  left: 0;
  width: 100%;
  height: 100%;
}

/* 投資家セクション */
.investor {
  position: relative;
  z-index: 15;
  margin-top: -100px; /* 曲線に重なる形で配置 */
}

/* 施設セクション - 左端余白なし + スライドショー */
.uematsu-base {
  padding: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  width: 100% !important;
  background: #FFFBF1;
}

.uematsu-base .section-title-en,
.uematsu-base .section-title-ja,
.uematsu-base .intro-text {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  margin-bottom: 40px;
}

.uematsu-base .section-title-en {
  margin-top: 40px;
  padding-top: 100px;
  margin-bottom: 10px;
}

.uematsu-base .section-title-ja {
  margin-top: 0;
  margin-bottom: 30px;
}

.uematsu-base .intro-text {
  margin-top: 0;
  margin-bottom: 60px;
}

.facility-container {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin: 0 0 80px 0;
  background: transparent;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}

/* 植松ベースⅡ内のサブタイトル専用スタイル */
.uematsu-base .sub-title {
  margin-top: 60px;
  margin-bottom: 40px;
}

.facility-image {
  flex: 0 0 50%;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* 画像が切れないように */
}

.facility-fade-slideshow {
  position: relative;
  width: 100%;
  min-height: 500px; /* 高さを増やして画像が切れないように */
  height: auto;
}

.facility-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto; /* 画像の縦横比を保持 */
  min-height: 500px; /* 最小高さを確保 */
  object-fit: contain; /* coverからcontainに変更して画像全体を表示 */
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.facility-slide.active {
  opacity: 1;
}

/* ドットナビゲーション - シンプル版 */
.facility-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.facility-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s ease;
}

.facility-dot.active {
  background: rgba(255, 255, 255, 0.8);
}

.facility-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.facility-info {
  flex: 1;
  background: transparent;
  padding: 40px;
  display: flex;
  align-items: center;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.info-table th {
  background: transparent;
  color: #333;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 12px 0;
  text-align: left;
  vertical-align: top;
  width: 100px;
  border-bottom: 1px solid #E0E0E0;
}

.info-table td {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  color: #333;
  padding: 12px 0 12px 20px;
  line-height: 1.6;
  border-bottom: 1px solid #E0E0E0;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.facility-phone-link {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.facility-phone-link:hover {
  color: #FF7F2A;
}

/* 施設セクション レスポンシブ対応 */
@media (max-width: 1024px) {
  .facility-image {
    padding: 0;
  }
  
  .facility-info {
    padding: 30px;
  }
  
  .info-table th {
    padding: 10px 0;
    font-size: 13px;
    width: 90px;
  }
  
  .info-table td {
    padding: 10px 0 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 16px;
  }
  
  .uematsu-base .section-title-en,
  .uematsu-base .section-title-ja,
  .uematsu-base .intro-text {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .uematsu-base .section-title-en {
    margin-top: 40px;
    padding-top: 80px;
  }
  
  .facility-container {
    flex-direction: column;
    margin: 0 0 60px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }
  
  .uematsu-base .sub-title {
    margin-top: 50px;
    margin-bottom: 30px;
  }
  
  .facility-image {
    flex: none;
    padding: 0;
    min-height: 250px;
  }
  
  .facility-fade-slideshow {
    min-height: 350px;
    height: auto;
  }
  
  .facility-slide {
    min-height: 350px;
    object-fit: contain;
  }
  
  .facility-dots {
    bottom: 12px;
    gap: 6px;
  }
  
  .facility-dot {
    width: 7px;
    height: 7px;
  }
  
  .facility-info {
    padding: 24px;
  }
  
  .info-table th {
    padding: 8px 0;
    font-size: 14px;
    width: 80px;
  }
  
  .info-table td {
    padding: 8px 0 8px 12px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 12px;
  }
  
  .uematsu-base .section-title-en,
  .uematsu-base .section-title-ja,
  .uematsu-base .intro-text {
    padding-left: 12px;
    padding-right: 12px;
  }
  
  .uematsu-base .section-title-en {
    margin-top: 40px;
    padding-top: 60px;
  }
  
  .facility-container {
    margin-bottom: 50px;
  }
  
  .uematsu-base .sub-title {
    margin-top: 40px;
    margin-bottom: 25px;
  }
  
  .facility-image {
    padding: 0;
    min-height: 200px;
  }
  
  .facility-fade-slideshow {
    min-height: 250px;
    height: auto;
    position: relative;
    overflow: hidden; /* SP版では画像がはみ出さないように */
  }
  
  .facility-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-height: 250px;
    max-height: 250px; /* SP版では高さを制限 */
    object-fit: cover; /* SP版では画像を適切にフィット */
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out; /* SP版では少し速めに */
  }
  
  .facility-slide.active {
    opacity: 1;
  }
  
  .facility-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }
  
  .facility-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background 0.3s ease;
    /* タップしやすいように少し大きめのタッチエリア */
    padding: 4px;
    margin: -4px;
  }
  
  .facility-dot.active {
    background: rgba(255, 255, 255, 1);
  }
  
  .facility-dot:hover,
  .facility-dot:active {
    background: rgba(255, 255, 255, 0.8);
  }
  
  .facility-info {
    padding: 20px;
  }
  
  .info-table th {
    padding: 6px 0;
    font-size: 14px;
    width: 70px;
  }
  
  .info-table td {
    padding: 6px 0 6px 10px;
    font-size: 14px;
    line-height: 1.5;
  }
}

/* 利用者の声セクション */
.voice-card {
  display: flex;
  background: linear-gradient(90deg, #FFD3A5 0%, #D9F2F1 100%);
  border-radius: 20px;
  padding: 40px;
  gap: 30px;
  align-items: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin: 40px auto;
  max-width: 1200px;
  position: relative;
}

.voice-image {
  flex: 0 0 300px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
}

.voice-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: #FEFCF7;
  border-radius: 15px;
  padding: 50px;
}

.voice-text {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 2.4;
  color: #4c4c4c;
  margin: 0;
}

.voice-author {
  text-align: right;
  color: #4c4c4c;
}

.author-name {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #4c4c4c;
  margin-bottom: 4px;
}

/* PC版・タブレット版では改行を非表示 */
.sp-linebreak {
  display: none;
}


/* voice-card レスポンシブ対応 */
@media (max-width: 768px) {
  .voice-card {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    text-align: center;
    margin: 30px 16px;
  }
  
  .voice-content {
    padding: 30px 20px;
  }
  
  .voice-image {
    flex: none;
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  
  .voice-text {
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
  }
  
  .voice-author {
    text-align: center;
  }
  
  .author-name {
    font-size: 14px;
  }
  
  .author-title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .voice-card {
    padding: 30px 20px 30px 20px;
    border-radius: 15px;
    gap: 20px;
    margin: 25px 12px;
  }
  
  .voice-content {
    padding: 30px 20px;
  }
  
  .voice-image {
    width: 200px;
    height: 200px;
  }
  
  .voice-text {
    font-size: 14px;
    line-height: 2;
  }
  
  .author-name {
    font-size: 14px;
  }
  
  .author-title {
    font-size: 14px;
  }
  
  /* SP版でのみ改行を表示 */
  .sp-break {
    display: none;
  }
  
  .sp-linebreak {
    display: inline;
  }
  
  .sp-linebreak::before {
    content: "\A";
    white-space: pre;
  }
}

/* サブタイトルスタイル */
.sub-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #4c4c4c;
  margin-top: 60px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.sub-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #FFB27F 0%, #D9F2F1 100%);
  border-radius: 2px;
}

/* サブタイトル レスポンシブ対応 */
@media (max-width: 768px) {
  .sub-title {
    font-size: 18px;
    margin-bottom: 25px;
  }
  
  .sub-title::after {
    bottom: -12px;
    width: 50px;
    height: 3px;
  }
}

@media (max-width: 480px) {
  .sub-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .sub-title::after {
    bottom: -10px;
    width: 50px;
    height: 3px;
  }
}

/* コンタクトセクション */
.contact.section {
  background: #FFFBF1;
}

.contact-cards {
  display: flex;
  gap: 0;
  margin: 40px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.contact-card {
  flex: 1;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.phone-card {
  background: #A8DAD8;
  color: #FEFCF7;
  border-radius: 20px 0 0 20px;
  transition: transform 0.3s ease;
}

.phone-card:hover {
  transform: translateY(-2px);
}

.web-card {
  background: #FFB27F;
  color: #FEFCF7;
  text-decoration: none;
  border-radius: 0 20px 20px 0;
  transition: transform 0.3s ease;
}

.web-card:hover {
  transform: translateY(-2px);
}

.contact-card-header {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 30px;
  border: 1px solid #FEFCF7;
  border-radius: 25px;
  padding: 12px 20px;
  display: inline-block;
}

.contact-icon {
  width: 32px;
  height: 32px;
  margin-right: 5px;
}

.phone-number-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.phone-number {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #FEFCF7;
  text-decoration: none;
}

.mail-text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mail-text {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 28px;
  font-weight: 500;
}

.contact-hours {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.contact-hours .note {
  font-size: 12px;
}

/* ブログバナー */
.blog-banner {
  margin: -70px auto 0 auto;
  text-align: center;
  max-width: 1200px;
  padding: 0 20px;
}

.blog-banner-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.blog-banner-link:hover {
  transform: translateY(-2px);
}

.blog-banner-image {
  max-width: 100%;
  height: auto;
}

.blog-banner-sp {
  display: none;
}

/* コンタクトセクション タブレット横表示対応 */
@media (min-width: 769px) and (max-width: 1023px) {
  .contact-cards {
    gap: 0;
    margin: 35px auto;
    padding: 0 18px;
  }
  
  .contact-card {
    padding: 35px 25px;
  }
  
  .contact-card-header {
    font-size: 17px;
    padding: 11px 18px;
    margin-bottom: 25px;
  }
  
  .contact-icon {
    width: 28px;
    height: 28px;
    margin-right: 5px;
  }
  
  .phone-number {
    font-size: 32px;
  }
  
  .mail-text {
    font-size: 26px;
  }
  
  .contact-hours {
    font-size: 13px;
  }
  
  .blog-banner {
    margin: -50px auto 0 auto;
    padding: 0 18px;
  }
}

/* コンタクトセクション レスポンシブ対応 */
@media (max-width: 768px) {
  .contact-cards {
    flex-direction: column;
    gap: 0;
    margin: 30px auto;
    padding: 0 16px;
  }
  
  .contact-card {
    padding: 30px 20px;
  }
  
  .phone-card {
    border-radius: 20px 20px 0 0;
  }
  
  .web-card {
    border-radius: 0 0 20px 20px;
  }
  
  .contact-card-header {
    font-size: 16px;
    padding: 10px 16px;
  }
  
  .contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
  }
  
  .phone-number-container,
  .mail-text-container {
    margin-bottom: 16px;
  }
  
  .phone-number {
    font-size: 28px;
  }
  
  .mail-text {
    font-size: 24px;
  }
  
  .contact-hours {
    font-size: 13px;
  }
  
  .blog-banner {
    margin: 20px auto 0 auto;
    padding: 0 16px;
  }
  
  .blog-banner-pc {
    display: none;
  }
  
  .blog-banner-sp {
    display: block;
  }
}

@media (max-width: 480px) {
  .contact-cards {
    padding: 0 12px;
  }
  
  .blog-banner {
    padding: 0 12px;
  }
}



/* 全画面メニュー */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.fullscreen-menu.active {
  visibility: visible;
  opacity: 1;
  pointer-events: all;
}

.menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #FFD3A5 0%, #D9F2F1 100%);
  padding-right: calc(50px + env(safe-area-inset-right, 0px)); /* スクロールバー幅 + 安全エリア考慮 */
  box-sizing: border-box;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .menu-overlay {
    padding-right: calc(30px + env(safe-area-inset-right, 0px)); /* タブレット版 */
  }
}

@media (max-width: 480px) {
  .menu-overlay {
    padding-right: calc(20px + env(safe-area-inset-right, 0px)); /* SP版 */
  }
}

/* メニューコンテンツ */
.menu-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px;
  box-sizing: border-box;
}

.menu-nav {
  margin-bottom: 60px;
}

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

.menu-item {
  margin-bottom: 15px;
}

.menu-link {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: #4c4c4c;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.menu-link:hover {
  color: #2c3e50;
  transform: translateX(10px);
}

/* メニューボタン */
.menu-buttons {
  display: flex;
  gap: 30px;
}

.menu-contact-btn {
  background: #FF7F2A;
  border: 2px solid #FF7F2A;
  color: #fff;
  padding: 20px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 24px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
}

.menu-contact-btn:hover {
  background: transparent;
  color: #FF7F2A;
  transform: translateY(-2px);
}

.menu-note-btn {
  position: relative;
  background: transparent;
  border: 2px solid #4c4c4c;
  color: #4c4c4c;
  padding: 20px 50px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.menu-note-btn::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px dashed #4c4c4c;  /* 内側破線 */
  pointer-events: none;     /* 邪魔しない */
  border-radius: inherit;   /* 親の角丸を引き継ぐ */
}

.menu-note-btn img {
  height: auto;
  width: 80px;
  /* SVG画像を鮮明に表示するための設定 */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: auto;
}

.menu-note-btn:hover {
  background: #FFF1E2;
  transform: translateY(-2px);
}

.menu-note-btn:hover::before {
  border-color: #4c4c4c;  /* ホバー時は破線を白に */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .menu-content {
    padding: 40px 30px;
  }
  
  .menu-link {
    font-size: 24px;
  }
  
  .menu-buttons {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .menu-contact-btn,
  .menu-note-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .menu-content {
    padding: 30px 20px;
  }
  
  .menu-link {
    font-size: 18px;
  }
  
  .menu-item {
    margin-bottom: 20px;
  }
  
  .menu-nav {
    margin-bottom: 40px;
  }
  
  /* SP版でボタンサイズを小さく */
  .menu-contact-btn,
  .menu-note-btn {
    padding: 15px 30px;
    font-size: 18px;
  }
  
  .menu-note-btn img {
    width: 60px;
    height: auto;
    /* SVG画像を鮮明に表示するための設定 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
    /* アンチエイリアシングを無効にしてシャープな表示 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* 特定商取引法ページ */
.tokutei-header {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.tokutei-header .header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tokutei-header .header-logo a {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.tokutei-header .tree-image {
  width: 40px;
  height: 50px;
  object-fit: contain;
}

.tokutei-header .company-title-image {
  max-width: 150px;
  height: auto;
}

.tokutei-main {
  min-height: calc(100vh - 200px);
  padding: 60px 0;
  background: #fafafa;
}

.tokutei-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.tokutei-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 50px;
}

.tokutei-content {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.tokutei-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

.tokutei-table th,
.tokutei-table td {
  padding: 20px;
  border: 1px solid #e0e0e0;
  vertical-align: top;
  line-height: 1.6;
}

.tokutei-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #2c3e50;
  width: 30%;
  font-size: 16px;
}

.tokutei-table td {
  font-size: 15px;
  color: #4c4c4c;
}

.tokutei-table td strong {
  color: #2c3e50;
  font-weight: 600;
}

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

.back-btn {
  display: inline-block;
  background: #FF7F2A;
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: #e56b1a;
  transform: translateY(-2px);
}

.tokutei-footer {
  background: #2c3e50;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.tokutei-footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.tokutei-footer p {
  margin: 0;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 14px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .tokutei-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .tokutei-content {
    padding: 20px;
  }
  
  .tokutei-table th,
  .tokutei-table td {
    padding: 15px 10px;
    font-size: 14px;
  }
  
  .tokutei-table th {
    width: 35%;
  }
  
  .tokutei-header .tree-image {
    width: 30px;
    height: 40px;
  }
  
  .tokutei-header .company-title-image {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .tokutei-container {
    padding: 0 15px;
  }
  
  .tokutei-title {
    font-size: 20px;
  }
  
  .tokutei-content {
    padding: 15px;
  }
  
  .tokutei-table th,
  .tokutei-table td {
    padding: 12px 8px;
    font-size: 13px;
  }
  
  .back-btn {
    padding: 12px 30px;
    font-size: 14px;
  }
}

/* フッター */
.footer {
  background: #333;
  color: #fff;
  padding: 40px 0 20px 0;
  font-size: 14px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  gap: 60px;
  margin-bottom: 30px;
  align-items: stretch;
}

.footer-left {
  flex: 1;
}

.footer-right {
  flex: 1;
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-logo img {
  width: 300px;
}

.footer-info {
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
  border-collapse: collapse;
}

.footer-info th {
  text-align: left;
  font-weight: normal;
  width: 90px;
  padding: 6px 0;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

.footer-info td {
  padding: 6px 0 6px 20px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}

.phone-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: #FFD3A5;
  text-decoration: underline;
}

.footer-note {
  margin-bottom: 20px;
}

.footer-note-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-note-link:hover {
  transform: translateY(-2px);
}

.footer-note-link img {
  height: 30px;
  width: auto;
}

.footer-map {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  flex: 1;
  border-radius: 8px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #ccc;
  border-top: 1px solid #555;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  color: #ccc;
  text-decoration: underline;
}

.footer-link:hover {
  color: #fff;
}

/* フッター レスポンシブ対応 */
@media (max-width: 768px) {
  .footer-inner {
    padding: 0 16px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-logo img {
    height: 60px;
    /* SVG画像を鮮明に表示するための設定 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
  }
  
  .footer-info {
    font-size: 13px;
  }
  
  .footer-info th {
    width: 80px;
    padding: 4px 0;
  }
  
  .footer-info td {
    padding: 4px 0 4px 16px;
  }
  
  .footer-note-link img {
    height: 25px;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    padding: 0 12px;
  }
  
  .footer-logo {
    text-align: left;
    margin-bottom: 10px;
  }
  
  .footer-logo img {
    width: auto;
    height: 50px;
    /* SVG画像を鮮明に表示するための設定 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .footer-info {
    font-size: 13.5px;
    margin-left: 10px;
  }
  
  .footer-info th {
    width: 70px;
  }
  
  .footer-info td {
    padding: 4px 0 4px 12px;
  }
  
  .footer-note-link img {
    height: 28px;
    margin-left: 7px;
    /* 画像を鮮明に表示するための設定 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: auto;
  }
}
