html {
  overflow-x: hidden;
}
body.loading {
  overflow: hidden;
}
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "NotoSansJP", "Inter", sans-serif;
}
#loadingScreen {
  position: fixed;
  z-index: 99999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #eee;
  border-top: 5px solid #888;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
body:not(.loading) #loadingScreen {
  display: none;
}
.main {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.main img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
}
/* アニメーション共通設定 */
.animate-on-scroll {
  opacity: 0;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes fadeInRightToCenter {
  0% {
    opacity: 0;
    transform: translate(-48%, 0);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes pulse {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.04);
  }
}
@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* FV */
.sec-FV {
  position: relative;
  max-width: 480px;
  width: 100%;
}
.FV-text {
  position: absolute;
  top: 14%;
  left: 70%;
  width: 63%;
  opacity: 0;
}
.FV-text.is-visible {
  animation: fadeUp 1s ease-out 0.3s forwards;
}
.FV-3point {
  position: absolute;
  bottom: 21%;
  left: 50%;
  opacity: 0;
  width: 90%;
}
.FV-3point.is-visible {
  animation: fadeInRightToCenter 1s ease-out 0.7s forwards;
}

.FV-btn {
  position: absolute;
  bottom: 3%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 90%;
  animation: pulse 2s ease-in-out infinite;
}
.FV-btn:hover {
  filter: brightness(1.15);
  transition: filter 0.3s ease;
}

/* sec-02 */
.sec-02 {
  position: relative;
  width: 100%;
}
.sec-02-10000users {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 1.5%;
  opacity: 0;
}
.sec-02-10000users.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.gold-studio {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 8.5%;
  opacity: 0;
}
.gold-studio.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.box-2 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 17.5%;
  opacity: 0;
}
.box-2.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec2top {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 40%;
  width: 90%;
  opacity: 0;
}
.sec2top.is-visible {
  animation: fadeInRightToCenter 1s ease-out 0.5s forwards;
}
.sec2-1 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  bottom: 45%;
  width: 80%;
  opacity: 0;
}
.sec2-1.is-visible {
  animation: fadeInRightToCenter 1s ease-out 0.5s forwards;
}
.sec2-2 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  bottom: 38%;
  opacity: 0;
  width: 80%;
}
.sec2-2.is-visible {
  animation: fadeInRightToCenter 1s ease-out 0.5s forwards;
}
.sec2-3 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  bottom: 31%;
  opacity: 0;
  width: 80%;
}
.sec2-3.is-visible {
  animation: fadeInRightToCenter 1s ease-out 0.5s forwards;
}
.sec2-4 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  bottom: 18%;
  opacity: 0;
  width: 90%;
}
.sec2-4.is-visible {
  animation: fadeInRightToCenter 1s ease-out 0.5s forwards;
}

/* sec-CTA */
.sec-cta{
width: 100%;
position: relative;
}

.cta-btn {
  position: absolute;
  bottom: 7%;
  left: 50%;
  width: 90%;
  animation: pulse 2s ease-in-out infinite;
}
.cta-btn:hover {
  filter: brightness(1.15);
  transition: filter 0.3s ease;
}

/* sec-03 */
.sec-03 {
  position: relative;
  width: 100%;
}
.sec-03-top{
  width: 100%;
}
.sec-03-text {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    width: 90%;
    top: 1%;
    opacity: 1;
}
.sec-03-1 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 4%;
  width: 100%;
  opacity: 0;
}
.sec-03-1.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec-03-2 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 11.5%;
  width: 100%;
  opacity: 0;
}
.sec-03-2.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec-03-3 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 19%;
  width: 100%;
  opacity: 0;
}
.sec-03-3.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec-03-4 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 26.9%;
  width: 100%;
  opacity: 0;
}
.sec-03-4.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
.sec-03-5 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 34.6%;
  width: 100%;
  opacity: 0;
}
.sec-03-5.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
/* sec-04 */
.sec-04 {
  position: relative;
  width: 100%;
}
.sec-04-text {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    width: 90%;
    top: 1%;
    opacity: 1;
}
.sec04-1 {
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: 1%;
  width: 80%;
  opacity: 1;
}
.sec04-1.is-visible {
  animation: fadeUpY 1s ease-out 0.5s forwards;
}
/* sec09 */
.sec-09 {
  background-color: #c4cad1;
  padding: 60px 0;
}
.sec-09 h2 {
  margin: 0 0 50px 0;
  font-family: YuMincho;
  font-weight: 500;
  font-size: 32px;
  text-align: center;
  color: #333;
  letter-spacing: 0.12rem;
}
.carousel-wrapper {
  max-width: 480px;
  margin: 0 auto;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  padding: 0 30px;
  box-sizing: border-box;
}

.carousel-track {
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-padding: 30px;
  gap: 20px;
  padding: 0;
}

.carousel-track::before,
.carousel-track::after {
  content: none;
  flex: 0 0 30px;
}
.carousel-track .carousel-item.dummy {
  flex: 0 0 10px !important;
  width: 30px !important;
  max-width: 30px !important;
  margin-right: 0 !important; /* ← ここを必要に応じて調整 */
  margin-left: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  pointer-events: none;
}
.carousel-item {
  background-color: #fff;
  border: 1px solid #394d65;
  transform: translateZ(0);
  border-radius: 5px;
  flex: 0 0 calc(100% - 30px);
  scroll-snap-align: start;
  box-sizing: border-box;
}

.carousel-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/*sec-10*/

.p-flow {
  position: relative;
  padding-top: 40px;
  padding-bottom: 50px;
}

.p-flow::after {
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("./../img/flow-bg.webp") no-repeat center center/cover;
  content: "";
}

.p-flow__title {
  aspect-ratio: 433/140;
  width: 216px;
  height: auto;
  margin-inline: auto;
}

.p-flow__title img {
  width: 100%;
  height: auto;
}

.p-flow__contents {
  margin-top: 48px;
}

.p-flow__item:not(:first-child) {
  margin-top: clamp(20px, 7.645vw, 49.6925px);
}

/*===================================
.p-flow-item
====================================*/

.p-flow-item {
  display: flex;
  justify-content: space-between;
}

.p-flow-item__left {
  position: relative;
  width: 20.8585981082%;
}

.p-flow-item__right {
  width: 73.571024335%;
}

.p-flow-item__step {
  display: block;
  position: relative;
  aspect-ratio: 129/52;
  width: 100%;
  height: auto;
  background: #a99072;
  box-shadow: 1px 2px 2px 0px rgba(0, 0, 0, 0.25);
}

.p-flow-item__step img {
  position: absolute;
  top: 55%;
  left: 50%;
  width: 69.7674418605%;
  height: auto;
  translate: -50% -50%;
}

.p-flow-item__bar {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 87%;
  margin-top: 62.7906976744%;
  background: #333;
}

.p-flow-item__title {
  font-weight: 500;
  font-size: 24px;
  margin: 8px auto;
  line-height: 1;
  font-family: "Zen Old Mincho", serif;
}

.p-flow-item__title.--lh {
  margin-top: -2px;
  line-height: 1.27;
}

.p-flow-item__btn {
  margin-top: clamp(12px, 4.8vw, 31.2px);
}

.p-flow-item__img {
  width: 100%;
  height: auto;
  margin-top: clamp(10px, 5.3333vw, 34.666px);
}

.p-flow-item__img img {
  width: 100%;
  height: auto;
}

.p-flow-item__text {
  margin-top: clamp(12px, 4.8vw, 31.2px);
  font-size: 20px;
  line-height: 1.5333;
}

/*===================================
.p-flow-item-btn
====================================*/

.p-flow-item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80.4395604396%;
  -moz-column-gap: 5%;
  column-gap: 5%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 2.5px;
  background: linear-gradient(1deg, #fc8a00 1.4%, #ffaa42 98.96%);
  transition: opacity 0.3s ease 0s;
}

.p-flow-item-btn:hover {
  opacity: 0.7;
}

.p-flow-item-btn__text {
  color: #fff;
  font-size: 20px;
  margin: 12px;
  font-family: "Zen Old Mincho", serif;
}

.p-flow-item-btn__img {
  width: 10.1092896175%;
  height: auto;
}

.p-flow-item-btn__img img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

@keyframes fadeUpY {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.footer-image {
  position: relative;
  margin: 0 auto;
}
.reserve-link {
    position: absolute;
    left: 58.3%;
    transform: translateX(-50%);
    bottom: 29.3%;
    width: 27%;
    aspect-ratio: 300 / 56;
    display: block;
    z-index: 2;
    touch-action: manipulation;
}
.company-link {
    position: absolute;
    left: 33.3%;
    transform: translateX(-50%);
    bottom: 32.3%;
    width: 12%;
    aspect-ratio: 300 / 56;
    display: block;
    z-index: 2;
    touch-action: manipulation;
}

/* 追従ボタンのスタイル */
.follow-btn {
    position: fixed;
    bottom: 20px;
    left: 50%; 
    transform: translateX(-50%); 
    width: 90%; 
    max-width: 432px; 
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer;
}

.follow-btn.show {
    opacity: 1;
    visibility: visible;
}

.follow-btn a {
    display: block;
    text-decoration: none;
}

.follow-btn img {
    width: 100%; 
    height: auto;
    border-radius: 10px;
    transition: transform 0.2s ease;
}

.follow-btn:hover img {
    transform: scale(1.02); 
}

/* スタジオモーダル */
.studio-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.studio-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overscroll-behavior: contain;
  touch-action: none;
}

.studio-modal-content {
    position: relative;
    width: 90%;
    max-width: 450px;
    height: 100%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    z-index: 1;
    overscroll-behavior: contain;
}


.studio-modal-header {
  position: relative;
  background-color: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 10% 20%;
  overscroll-behavior: contain;
}

.studio-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #374151;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 2;
}

.studio-modal-close:hover {
  background-color: #1f2937;
}

.studio-modal-close span {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.studio-modal-header-img {
  text-align: center;
}

.studio-modal-header-img img {
  width: 70%;
  margin: 0 auto;
  height: auto;
}

.studio-modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

body.modal-open {
  overscroll-behavior: none;
  touch-action: none;
}

.studio-prefecture-item {
  margin: 10px 0;
  overscroll-behavior: contain;
}

.studio-prefecture-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  background-color: #f3f4f6;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 16px;
  color: #1f2937;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.studio-prefecture-btn:hover {
  background-color: #e5e7eb;
}

.studio-toggle-icon {
  font-size: 24px;
  color: #9ca3af;
  font-weight: 300;
  line-height: 1;
}

.studio-list {
  overflow: hidden;
  margin-top: 0;
  max-height: 0;
  transition: max-height 0.15s ease-out, margin-top 0.15s ease-out;
}

.studio-prefecture-item.is-open .studio-list {
  max-height: 1000px;
  margin-top: 8px;
  transition: max-height 0.35s ease-in-out, margin-top 0.35s ease-in-out;
}

.studio-prefecture-item.is-open .studio-toggle-icon {
  content: '−';
}

.studio-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  color: #374151;
  text-decoration: none;
  transition: background-color 0.3s ease;
  background-color: #fff;
  border-radius: 4px;
  margin-bottom: 8px;
}

.studio-link:last-child {
  margin-bottom: 0;
}

.studio-link:hover {
  background-color: #f9fafb;
}

.studio-arrow {
  font-size: 20px;
  color: #9ca3af;
}

/* 受付停止中の店舗スタイル */
.studio-link.disabled {
  position: relative;
  cursor: not-allowed;
  pointer-events: none;
}

/* 黒の半透明オーバーレイ */
.studio-link.disabled::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 4px;
  z-index: 1;
}

.studio-link.disabled:hover {
  background-color: #fff;
}

.closed-badge {
  display: none;
  position: absolute;
  font-size: 12px;
  right: 28%;
  background-color: #394d65a3;
  color: #fff;
  padding: 3px 10px;
  margin-right: -17%;
  z-index: 2;

}

.studio-link.disabled .closed-badge {
  display: inline-block;
}

/* マップビュー追加分 */
.studio-map-view {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
  aspect-ratio: 1 / 1.2;
}

.japan-map-bg {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  top: 0;
  left: 0;
}

.region-marker {
  position: absolute;
  padding: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.region-marker:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.region-marker img {
  width: 100%;
  height: auto;
  display: block;
}

/* 地域ごとの配置と画像サイズ */
.region-kansai {
  bottom: 22%;
  left: 40%;
  width: 27%;
}

.region-chubu {
  top: 39%;
  left: 27%;
  width: 27%;
}

.region-chugoku {
  bottom: 45%;
  left: 6%;
  width: 27%;
}

.region-kanto {
  top: 59%;
  left: 68%;
  width: 27%;
}

.region-kyusyu {
  top: 81%;
  left: 23%;
  width: 27%;
}

.region-tohoku {
  top: 34%;
  left: 69%;
  width: 27%;
}

.studio-list-view {
  padding: 10px;
  width: 90%;
  margin: 0 auto;
}

.back-to-map-button {
  background: none;
  border: none;
  color: #394d65;
  font-size: 16px;
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  align-items: center;
}

.back-to-map-button:hover {
  color: #2d3d52;
}

/* スライダー */
.feature-section {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* 背景画像（テキスト部分） */
.background-image {
  width: 100%;
  height: auto;
  display: block;
}

/* スライダー画像部分 */
.slider-wrapper {
  position: absolute;
  top: 30%;  
  left: 50%;
  transform: translateX(-50%);
  width: 85%;  
}

.slider-image {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

/* ナビゲーション部分 */
.navigation {
  position: absolute;
  bottom: 19.5%;  
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.nav-arrow {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.nav-arrow:hover {
  color: #1f2937;
}

.dots-container {
  display: flex;
  gap: 12px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0.01px solid #9ca3af;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot:hover {
  background-color: #9ca3af;
}

.dot.active {
  width: 10px;
  height: 10px;
  background-color: #1f2937;
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
  .slider-wrapper {
    width: 90%;
  }
  
  .navigation {
    gap: 12px;
  }
  
  .dots-container {
    gap: 10px;
  }
}

/* アコーディオン */
.pilates-section {
  max-width: 1200px;
  margin: 0 auto;
}

/* メイン画像とボタンのラッパー */
.main-content {
  position: relative;
  padding-bottom: 60px;
}

/* メイン画像 */
.pilates-main-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 詳しくはこちらボタン */
.detail-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 50px;
  background-color: #ffffff;
  border: 1px solid #4a5568;
  border-radius: 50px;
  font-size: 14px;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 400;
}

.detail-button:hover {
  background-color: #f7fafc;
  border-color: #2d3748;
}

/* 矢印アイコン */
.detail-button::after {
  content: '';
  width: 8px;
  height: 8px;
  border-top: 2px solid #4a5568;
  border-right: 2px solid #4a5568;
  transform: rotate(135deg);
  transition: transform 0.3s ease;
}

.detail-button.active::after {
  transform: rotate(-45deg);
}

/* 詳細コンテンツ */
.detail-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.detail-content.show {
  max-height: 5000px;
}

.detail-image {
  width: 100%;
  height: auto;
  display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .detail-button {
    width: 56%;
    padding: 12px 40px;
    font-size: 13px;
    gap: 15px;
  }
}

/* FAQ */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* ヘッダー部分 */
.faq-header {
  margin: 0 auto;
  margin-bottom: 25px;
  width: 80%;
}

.faq-label {
  font-size: 14px;
  color: #999999;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.faq-title {
  font-size: 32px;
  font-weight: 400;
  color: #333333;
  letter-spacing: 0.05em;
}

/* FAQ リスト */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* FAQ Item */
.faq-item {
  border-bottom: 1px solid #d0d0d0;
}

/* 質問ボタン */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 20px;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f9f9f9;
}

.faq-question.active {
  background-color: #778899;
}

.faq-question.active .question-text {
  color: #ffffff;
}

.faq-question.active .q-icon {
  color: #ffffff;
}

.faq-question.active .toggle-icon {
  color: #ffffff;
}

/* Q アイコン */
.q-icon {
  font-size: 24px;
  font-weight: 500;
  color: #778899;
  flex-shrink: 0;
}

/* 質問テキスト */
.question-text {
  flex: 1;
  font-size: 15px;
  color: #333333;
  line-height: 1.6;
}

/* トグルアイコン（+/-） */
.toggle-icon {
  font-size: 24px;
  color: #778899;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

.faq-answer.show {
  max-height: 600px;
  padding: 5%;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.9;
  color: #333333;
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .faq-title {
    font-size: 26px;
  }

  .faq-question {
    padding: 20px 15px;
    gap: 12px;
  }

  .q-icon {
    font-size: 20px;
  }

  .question-text {
    font-size: 14px;
  }

  .faq-answer p {
    font-size: 13px;
  }
}

.faq-answer-styled p {
  margin-bottom: 20px;
}

/* タイムライン（FAQ5用） */
.timeline-box {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: flex;
  gap: 15px;
  padding: 15px 0;
}

.timeline-item:not(:last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.timeline-label {
  flex-shrink: 0;
  width: 70px;
  padding: 6px 12px;
  background-color: #4a5568;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  border-radius: 3px;
  height: fit-content;
}

.timeline-content {
  flex: 1;
  font-size: 13px;
  line-height: 1.8;
  color: #333333;
}

/* 料金表画像（FAQ12用） - 背景なし */
.price-table {
  margin-top: 20px;
}

.price-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    gap: 10px;
  }

  .timeline-label {
    width: fit-content;
    padding: 5px 15px;
  }

  .timeline-content {
    font-size: 12px;
  }

  .price-image {
    max-width: 100%;
  }
}