:root {
  --content-max-width: 1200px;
  --side-padding: 2vw;
}

.funeral-lp {
  padding: 0 20px;
}

.fv {
  background-image: url('../images/miyawaka/miyawaka.jpg'); /* 画像パスを調整してください */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px; /* ←縦方向を拡大（上下とも60pxずつ→120px） */
  position: relative;
  min-height: 550px; /* ←高さの最小値を指定して常にある程度の高さを確保 */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(153, 153, 153, 0.3), rgba(230, 230, 230, 0.5));
  z-index: 0;
}

.fv-content-circle {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
}

/* 1つ目の丸 */
.fv-content-circle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: rgba(249, 245, 230, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -3;
  animation: slowPulse1 12s ease-in-out infinite;
}

/* 2つ目の丸 */
.fv-content-circle::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 55%;
  width: 400px;
  height: 400px;
  background: rgba(255, 253, 247, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -2;
  animation: slowPulse2 14s ease-in-out infinite;
}

/* 3つ目の丸 */
.fv-content-circle span.circle-layer {
  position: absolute;
  top: 60%;
  left: 40%;
  width: 300px;
  height: 300px;
  background: rgba(253, 245, 230, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
  animation: slowPulse3 16s ease-in-out infinite;
}

@keyframes slowPulse1 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes slowPulse2 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.03) translateY(-2%);
  }
}

@keyframes slowPulse3 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.05) translateX(2%);
  }
}


.fv h1,
.fv .lead,
.fv .cta-buttons {
  position: relative;
  z-index: 1;
}

.fv h1 {
  font-size: 2.5rem;
  font-weight: bold;
  padding: 10px 24px 10px 10px;
  margin-bottom: 2rem;
  color: #392c1a;
  border-radius: 8px;
  background: linear-gradient(to right, #fffdf7, #f9f5e6);
  display: inline-block;
  font-family: 'Hiragino Mincho ProN', serif;
}


.fv .price {
  display: block;
  font-size: 2.8rem;
  color: #ffd700;
}

.fv .lead {
  font-size: 2rem;
  font-weight: bold;
  color: #392c1a;
  margin-bottom: 3rem;
  animation: fadeUp 1.5s ease-out forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .fv h1 {
    font-size: 1.8rem;
    padding: 8px 16px 8px 8px;
    margin-bottom: 2rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .fv .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
  }
}

@media screen and (max-width: 550px) {
.fv h1 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    word-break: break-word;
    width: 90%;
    padding: 0.9em 1em;
  }

  .fv .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-align: center;
  }

}

/* LINEボタン：明るく目立つグリーンに */
.btn-line {
  background: linear-gradient(135deg, #00c300, #00a300);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 179, 0, 0.4);
}

/* 電話ボタン：信頼感のある青系 */
.btn-phone {
  background: linear-gradient(135deg, #0073a8, #005881);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 88, 129, 0.4);
}

.cta-buttons .btn-icon {
  width: 1.6em;
  height: 1.6em;
  margin-right: 0.6em;
  vertical-align: middle;
}

.cta-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  padding: 1.2em 1.6em;
  margin: 0.5rem;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  color: white;
  -webkit-tap-highlight-color: transparent;
}

/* ホバー時に浮かせる */
.cta-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* タップ時の押し込み感 */
.cta-buttons a:active {
  transform: scale(0.96);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2) inset;
}


@media screen and (max-width: 768px) {
  .cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons a {
    width: 90%;
    font-size: 1.3rem;
    padding: 0.9em 1em;
    margin: 0.4rem 0;
  }

  .cta-buttons .btn-icon {
    width: 1.2em;
    height: 1.2em;
    margin-right: 0.4em;
  }
}

@media screen and (max-width: 550px) {
  .cta-buttons a {
    font-size: 1.2rem;
  }
}

/* ボタン全体 */
.fv-urgent-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  text-align: center;
}

/* ヘッダー */
.fv-urgent-header {
  font-size: 0.9rem;
  font-weight: bold;
  color: #fff;
  background: #cdb872;
  padding: 6px 8px;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

/* ボタン本体 */
.fv-urgent-button a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #392c1a;
  font-weight: bold;
  text-align: center;
  padding: 16px 8px;
  border-radius: 0 0 8px 8px;
  border: 1px solid #cdb872;
  width: 110px;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fv-urgent-button a:active {
  transform: scale(0.96);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* アイコン画像 */
.fv-urgent-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  border-radius: 50%;
}

/* 吹き出し */
.fv-urgent-bubble {
  position: absolute;
  top: -40px;
  right: -20px;
  background: #fff4dc;
  color: #392c1a;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.fv-urgent-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 10px;
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: #fff4dc transparent transparent transparent;
}


.fv-urgent-mobile {
  display: none;
  text-align: center;
  margin: 0px auto;
  padding: 0 20px;

  border-radius: 12px;
  max-width: 260px;
}

.fv-urgent-mobile .fv-urgent-header {
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  background: #cdb872;
  padding: 16px 8px;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

.fv-urgent-mobile-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  color: #392c1a;
  font-weight: bold;
  text-align: center;
  padding: 16px 8px;
  border-radius: 0 0 8px 8px;
  border: 1px solid #cdb872;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fv-urgent-mobile-link:active {
  transform: scale(0.96);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.3);
}

.fv-urgent-mobile .fv-urgent-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 18px;
  border-radius: 50%;
}

/* スマホ・タブレットのみ表示 */
@media screen and (max-width: 768px) {
  .fv-urgent-mobile {
    display: block;
  }

  .fv-urgent-button {
    display: none;
  }
}

.worry {
  padding: 80px 20px;
  text-align: center;
}

.worry h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.worry-texts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.worry-text {
  max-width: 240px;
  line-height: 1.6;
  font-weight: 500;
  opacity: 1;
  animation-fill-mode: both;
  white-space: pre-wrap;
  transition: transform 0.3s ease;
}

/* 書字方向：デフォルトは横書き */
.worry-text.vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* サイズ指定 */
.small {
  color: #444;
  font-size: 1.2rem;
}

.medium {
  font-size: 1.7rem;
  color: #2b1616;
}

.large {
color: #615b5b;
  font-size: 2.4rem;
}

/* アニメーション効果 */
@keyframes fadeLoop {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes shakeLoop {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(1px, -1px); }
  50% { transform: translate(-1px, 1px); }
  75% { transform: translate(1px, 1px); }
}

@keyframes floatLoop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


@keyframes rotateLoop {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(1.5deg); }
  75% { transform: rotate(-1.5deg); }
}

.float {
  animation: floatLoop 4s ease-in-out infinite;
}

.rotate {
  animation: rotateLoop 2.5s ease-in-out infinite;
}


.fade-in {
  animation: fadeLoop 3s ease-in-out infinite;
}

.shake {
  animation: shakeLoop 1.5s infinite ease-in-out;
}

/* 画像ブロック（テキストと同じレイアウトで配置） */
.worry-image {
  max-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation-fill-mode: both;
  transition: transform 0.3s ease;
}

/* 画像サイズ調整 */
.worry-image img {
  width: 80px;
  height: auto;
  display: block;
}

/* ✨ きらりと輝くようなアニメーション */
@keyframes sparkleLoop {
  0%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 0 transparent);
  }
  25% {
    opacity: 0.8;
    transform: scale(1.1) rotate(3deg);
    filter: drop-shadow(0 0 6px rgba(255, 182, 182, 0.6));
  }
  50% {
    opacity: 1;
    transform: scale(1.2) rotate(-3deg);
    filter: drop-shadow(0 0 10px rgb(255, 181, 181));
  }
  75% {
    opacity: 0.9;
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 0 6px rgba(254, 209, 209, 0.6));
  }
}

/* sparkle-effect クラスを付けたら光る */
.sparkle-effect {
  animation: sparkleLoop 3s infinite ease-in-out;
}


/* スマホ対応 */
@media screen and (max-width: 768px) {
  .worry-texts {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .worry-text {
    writing-mode: horizontal-tb !important;
    text-align: center;
  }
}

.worry-solution {
  background: #faf9f5;
  padding: 0 40px;
}

.worry-solution-inner {
  flex-wrap: wrap;
  gap: 10px;
  max-width: min(var(--content-max-width), 100% - var(--side-padding) * 2);
  padding: 0 var(--side-padding);
  margin: 0 auto;
  align-items: stretch;
  box-sizing: border-box;
}

.worry-solution-content {
  background-color: #faf9f5;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(172, 40, 40, 0.09);
  padding: 40px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.worry-solution-content h3 {
  font-size: 2.8rem;
  font-weight: bold;
  color: #b34a00;
  margin-bottom: 20px;
   line-height: 1.5;
}

.worry-solution-content h3 .marker {
  background: linear-gradient(transparent 60%, #ffe8a3 60%);
}

.worry-solution-content p {
  margin-bottom: 30px;
  color: #333;
}

.worry-solution .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.worry-solution .cta-buttons a {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1.6rem;
  text-decoration: none;
  display: inline-block;
  color: #fff;
  white-space: nowrap;
}

.btn-line {
  background-color: #00B900;
}

.btn-phone {
  background-color: #005881;
}

.worry-solution-image {
  position: relative; /* 重ねるために relative 指定 */
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
}

.worry-solution-image .main-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  object-fit: contain;
  display: block;
}

.worry-solution-image .overlay-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* または画像サイズに合わせて調整 */
  height: 100%;
  object-fit: contain;
  pointer-events: none; /* クリック透過 */
  z-index: 1; /* 前面に */
}

.overlay-img {
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { opacity: 0; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1); }
}




@media screen and (max-width: 1200px) and (min-width: 900px) {
  .worry-solution {
    padding: 0 20px; /* ナビとの距離 */
  }

  .worry-solution-inner {
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
  }

  .worry-solution-content {
    padding: 30px 24px;
    flex: 1 1 100%;
  }

  .worry-solution-content h3 {
    font-size: 2.4rem;
  }

  .worry-solution-content p {
    font-size: 1.5rem;
  }

  .worry-solution .cta-buttons {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
  }

  .worry-solution .cta-buttons a {
    font-size: 1.4rem;
    padding: 10px 20px;
    flex: 1 1 auto;
    min-width: 160px;
    max-width: 100%;
  }

  .worry-solution-image {
    position: relative;
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: -150px;
    z-index: 1;
  }

  .worry-solution-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
    display: block;
  }
}



@media screen and (max-width: 768px) {
  .worry-solution {
    padding: 0 20px;
  }

  .worry-solution-inner {
    flex-direction: column;
    gap: 24px;
  }

  .worry-solution-content {
    padding: 24px 20px;
    border-radius: 8px;
  }

  .worry-solution-content h3 {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 16px;
  }

  .worry-solution-content p {
    font-size: 1.4rem;
    text-align: left;
    margin-bottom: 24px;
    line-height: 1.7;
  }

  .worry-solution .cta-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .worry-solution .cta-buttons a {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    padding: 14px;
  }

  .worry-solution-image {
    justify-content: center;
  }

  .worry-solution-image img {
    max-width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 550px) {
  .worry-solution .cta-buttons a {
    font-size: 1.2rem;
  }
}

#features {
  position: relative;
  padding: 60px 0;
  background-image: url('/wp-content/themes/akitsusousai/assets/images/plan/plan_haikei.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  margin: 0;
  z-index: 1;
  overflow: hidden;
  text-align: center;
}

#features::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: -1;
}

.feature-highlight {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: min(var(--content-max-width), 100% - var(--side-padding) * 2);
  padding: 0 var(--side-padding);
  margin: 0 auto;
  align-items: center;
}


.feature-text-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 40px 30px;
}

.feature-text-item {
  position: relative;
  overflow: hidden; /* 擬似要素がはみ出さないように */
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(120deg, #fdfbfb 0%, #fffdf9 100%);
  padding: 30px 24px;
  border-radius: 8px;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}


.feature-text-item img {
  width: 60px;
  height: auto;
  object-fit: contain;
}

.feature-text-item p {
  margin: 0;
  font-size: var(--fs__2l);
  line-height: var(--line-height-l);
  font-weight: bold;
  text-align: left;
  flex: 1;
}



.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  padding: 30px 20px;
  max-width: 300px;
  flex: 1 1 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-list li:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.feature-list img {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
}

.feature-list h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  text-align: left;
}

.feature-list p {
  font-size: 1.4rem;
   text-align: left;
  line-height: 1.6;
  color: #555;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-list li {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
}

.feature-list li:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-list li:nth-child(2) {
  animation-delay: 0.3s;
}
.feature-list li:nth-child(3) {
  animation-delay: 0.5s;
}


@media screen and (max-width: 1024px) {
  .feature-highlight {
    flex-direction: column;
    padding: 0 5vw;
  }

  .feature-text-block {
    padding: 30px 20px;
  }

  .feature-text-item {
    flex-direction: row;
    padding: 24px 18px;
  }

  .feature-text-item p {
    font-size: 2.2rem;
  }

  .feature-list {
    gap: 30px;
  }

  .feature-list li {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

@media screen and (max-width: 768px) {
  #features {
    padding: 50px 0;
  }

  .feature-text-block {
    padding: 24px 16px;
    gap: 16px;
  }

  .feature-text-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .feature-text-item img {
    width: 48px;
  }

  .feature-text-item p {
    font-size: 1.8rem;
    text-align: left;
  }

  .feature-list {
    gap: 20px;
  }

  .feature-list li {
    padding: 24px 16px;
  }

  .feature-list h3 {
    font-size: 1.5rem;
  }

  .feature-list p {
    font-size: 1.3rem;
  }
}

@media screen and (max-width: 550px) {
  #features .cta-buttons a {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  #features {
    padding: 40px 0;
  }

  .feature-text-item {
    padding: 20px 14px;
  }

  .feature-text-item img {
    width: 40px;
  }

  .feature-text-item p {
    font-size: 1.6rem;
  }

  .feature-list li {
    padding: 20px 14px;
  }

  .feature-list h3 {
    font-size: 1.4rem;
  }

  .feature-list p {
    font-size: 1.8rem;
  }
}


.features-next {

  text-align: center;
  padding: 100px 20px 80px;
  position: relative;
  margin-top: -50px; /* ← 三角形の高さぶん重ねて段差をなくす */
  z-index: 1;
}

.features-next  h2 {
  font-size: 2rem;
   padding: 20px 30px;
  margin-bottom: 50px;
  color: #333;
   border: 3px solid #333;
  border-radius: 12px;
display: inline-block;
}

.plan-content {
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.faq dt {
  font-weight: bold;
  margin-top: 1rem;
}

.faq dd {
  margin-left: 0;
  margin-bottom: 1rem;
}

.final-cta {
  background: #fff4f4;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .fv h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}
#urgency-price-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}
.urgency-plan-header {
  display: flex;
  flex-wrap: wrap; /* ✅ レスポンシブ対応 */
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.urgency-plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.urgency-tag {
  border: 1px solid #333;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: var(--fs__s);
  white-space: nowrap;
}

.urgency-gold-tag {
  border: 1px solid #daa520;         /* ゴールドの枠線 */
  background-color: #fff8dc;         /* 明るいゴールド背景（お好みで調整） */
  color: #b8860b;                    /* ゴールド系の文字色 */
  border-radius: 4px;
  padding: 4px 10px;
  font-size: var(--fs__s);
  white-space: nowrap;
  font-weight: bold;                 /* 強調表示（任意） */
}

/* プラン一覧のラッパー */
.urgency-price-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

/* プランアイテム */
.urgency-price-item {
  background-color: #fff;
  overflow: hidden;
  max-width: 500px;
  width: 100%;
}

/* 画像 */
.urgency-price-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 内容 */
.urgency-price-content {
  padding: 20px;
  text-align: left;
}

.urgency-price-content h3 {
  font-size: var(--fs__3l);
  margin-bottom: 10px;
}

/* 金額表示の横並びを保証 */
.plan-list-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: var(--fs__5l);
  font-weight: bold;
  color: #C24A57;
  white-space: nowrap;
  text-align: left;
  margin-bottom: 10px;
  gap: 8px;
}

/* 会員価格ラベル */
.price-member-label {
  font-size: var(--fs__s);
  color: #fff;
  background-color: #daa520;
  display: inline-block;
  line-height: 1.2;
  text-align: center;
  padding: 5px 8px;
  border-radius: 4px;
}

/* 税込価格ラベル */
.plan-list-price .price-list-small {
  font-size: var(--fs__s);
  color: #fff;
  background-color: #8C0085;
  display: inline-block;
  line-height: 1.2;
  text-align: center;
  padding: 4px 6px;
  border-radius: 4px;
}

/* 単位表示 */
.plan-list-price .price-unit-small {
  font-size: var(--fs__1l);
  color: #333;
}
/* 説明文 */
.urgency-price-content p:last-of-type {
  font-size: var(--fs__l);
  color: #444;
  line-height: 1.6;
}

/* =============================
   レスポンシブ対応
============================= */

/* 768px以下 */
@media screen and (max-width: 768px) {
  #urgency-price-section {
    padding: 40px 16px;
  }

  .urgency-plan-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .urgency-price-list {
    gap: 20px;
  }

  .urgency-price-content h3 {
    font-size: var(--fs__2l);
  }

  .plan-list-price {
    font-size: var(--fs__4l);
    flex-wrap: wrap;
  }

  .urgency-price-content p:last-of-type {
    font-size: var(--fs__m);
    line-height: 1.6;
  }
}

/* 576px以下 */
@media screen and (max-width: 576px) {
  .urgency-price-content {
    padding: 16px;
  }

  .urgency-price-content h3 {
    font-size: var(--fs__l);
  }

  .plan-list-price {
    font-size: var(--fs__3l);
    gap: 6px;
  }

  .price-member-label,
  .plan-list-price .price-list-small {
    font-size: var(--fs__xs);
    padding: 4px 6px;
  }

  .plan-list-price .price-unit-small {
    font-size: var(--fs__s);
  }
}

.facility-section {
  padding: 60px 20px;
  background-color: #ffffff;
}

.facility-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.facility-slider {
  flex: 1 1 50%;
  max-width: 600px;
  position: relative;
  overflow: hidden;
}

.facility-slider .slide {
  display: none;
  width: 100%;
}

.facility-slider .slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  /* ✅ フレーム追加 */
  border: 6px solid #f9f9f9; /* 色と太さは必要に応じて調整 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* オプション：立体感を出す */
}


@keyframes slideFade {
  0%, 100% { opacity: 1; }
  33% { opacity: 0; }
  66% { opacity: 1; }
}

/* テキスト側 */
.facility-text {
  flex: 1 1 40%;
    padding: 20px;
margin: 0 auto;
  box-sizing: border-box;
}

.facility-text h2 {
   font-size: var(--fs__1l);
  margin-bottom: 20px;
  color: #333;
  line-height: 1.6;
}

 .facility-text .marker {
  background: linear-gradient(transparent 60%, #ffe8a3 60%);
}

.facility-text p {
  margin-bottom: 12px;
   font-size: var(--fs__l);
   line-height: 1.8;
}

@media screen and (max-width: 1024px) {
  .facility-inner {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }

  .facility-slider,
  .facility-text {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .facility-text {
    text-align: left;
    padding: 0;
  }

  .facility-text h2 {
    font-size: 2.4rem;
  }

  .facility-text p {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 768px) {
  .facility-section {
    padding: 40px 16px;
  }

  .facility-text h2 {
    font-size: 2.1rem;
    line-height: 1.5;
  }

  .facility-text p {
    font-size: 1.6rem;
    line-height: 1.6;
  }

  .facility-slider .slide img {
    border: 4px solid #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }
}

@media screen and (max-width: 480px) {
  .facility-text h2 {
    font-size: 1.8rem;
  }

  .facility-text p {
    font-size: 1.4rem;
  }

  .facility-slider .slide img {
    border-width: 3px;
  }

  .facility-slider {
    max-width: 100%;
  }
}
