/* ========================================
  Price Page Specific Styles
======================================== */

/* Main Visual オーバーレイテキスト */
.main_visual__image {
  position: relative;
}

.main_visual__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.main_visual__title {
  font-size: clamp(48px, 8vw, 120px); /* indexページと同じサイズ */
  font-weight: 700;
  color: #58E1F3;
  text-align: center;
  letter-spacing: 0.1em;
  margin: 0;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding: 20px 40px;
  background: rgba(20, 20, 20, 0.7); /* 文字の後ろに濃いグレー背景 */
  border-radius: 20px;
  backdrop-filter: blur(4px); /* ぼかし効果でさらに見やすく */
}

/* スクランブル中の文字スタイル */
.main-visual-scramble {
  opacity: 0.9;
}

/* === 553px以下：main_visualの文字を折り返さないように縮小 === */
@media (max-width: 553px){
  .main_visual__title {
    font-size: clamp(28px, 6.5vw, 48px) !important; /* 最小値を28pxに、最大値を48pxに調整（6.5vwでより小さく） */
    padding: 16px 24px !important; /* paddingも少し縮小 */
    letter-spacing: 0.05em !important; /* 文字間隔も少し詰める */
  }
}

/* === 430px以下（iPhone 16 Pro Maxなど）：さらに縮小 === */
@media (max-width: 430px){
  .main_visual__title {
    font-size: clamp(24px, 5.5vw, 36px) !important; /* iPhone 16 Pro Max用にさらに縮小 */
    padding: 12px 20px !important;
  }
}

/* ========================================
  Price List Section Styles
======================================== */

.price_list__title h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(28px, 3.5vw, 36px);
  margin-top: 100px;
  color: #0F9403;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0;
}

.price_list__items {
  max-width: 1000px;
  width: min(83.333%, 1000px);
  margin: 50px auto;
  padding: 0 20px;
}

.price_list__item {
  width: 100%;
}

.price_list__item h3 {
  font-size: clamp(16px, 2vw, 20px);
  color: #0F9403;
  text-align: center;
  margin-bottom: 60px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.contents {
  font-size: clamp(18px, 2.2vw, 22px);
  color: #0F9403;
  text-align: left;
  margin: 0 0 20px 0;
  font-weight: 700;
  scroll-margin-top: 100px;
}

/* Price Summary (リンクリスト) */
.price_summary {
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price_summary li {
  margin: 0;
  padding: 0;
}

.price_summary__link {
  display: block;
  font-size: clamp(16px, 2vw, 18px);
  color: #0F9403;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 20px;
  border: 2px solid #0F9403;
  border-radius: 8px;
  background: rgba(88, 225, 243, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.price_summary__link:link,
.price_summary__link:visited {
  color: #0F9403;
  text-decoration: none;
}

.price_summary__link:hover {
  background: rgba(88, 225, 243, 0.2);
  color: #58E1F3 !important;
  border-color: #58E1F3;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 12px rgba(88, 225, 243, 0.3);
}

.price_summary__link:focus-visible {
  outline: 2px solid #58E1F3;
  outline-offset: 3px;
}

/* Price Section (各セクション) */
.price_section {
  margin: 40px 0;
  padding: 30px 20px;
  background: rgba(20, 20, 20, 0.6);
  border-radius: 12px;
  scroll-margin-top: 100px; /* アンカーリンク時のスクロール位置調整 */
  transition: all 0.3s ease;
}

.price_section:hover .price_section__content {
  transform: scale(1.03);
  transition: transform 0.3s ease;
}

.price_section:hover .price_section__title,
.price_section:hover .price_section__list > li,
.price_section:hover .price_section__subtitle,
.price_section:hover .price_section__detail > li,
.price_section:hover .price_section__detail > li > ul > li,
.price_section:hover .price_section__note p,
.price_section:hover .price_section__description {
  color: #58E1F3;
  transition: color 0.3s ease;
}

.price_section__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px;
}

.price_section__title {
  font-size: clamp(20px, 2.5vw, 24px);
  color: #0F9403;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.price_section__description {
  font-size: clamp(14px, 1.8vw, 18px);
  color: #0F9403;
  margin: 0;
  line-height: 1.6;
}

/* Price Section List Styles */
.price_section__list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: left;
}

.price_section__list > li {
  margin-bottom: 30px;
  color: #0F9403;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.8;
}

.price_section__subtitle {
  font-size: clamp(18px, 2.2vw, 22px);
  color: #0F9403;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-align: left;
}

.price_section__detail {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
}

.price_section__detail > li {
  font-size: clamp(14px, 1.8vw, 18px);
  color: #0F9403;
  margin-bottom: 10px;
  line-height: 1.8;
  text-align: left;
}

.price_section__detail > li::before {
  content: "・";
  color: #0F9403;
  margin-right: 4px;
}

.price_section__detail > li > ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  text-align: left;
}

.price_section__detail > li > ul > li {
  font-size: clamp(13px, 1.6vw, 16px);
  color: #0F9403;
  margin-bottom: 5px;
  line-height: 1.6;
  text-align: left;
}

.price_section__note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 148, 3, 0.3);
  text-align: left;
}

.price_section__note h5 {
  text-align: left;
}

.price_section__note p {
  font-size: clamp(13px, 1.6vw, 16px);
  color: #0F9403;
  margin: 10px 0 0 0;
  line-height: 1.6;
  text-align: left;
}

.price_section__back {
  margin-top: 30px;
  text-align: left;
}

.price_section__back a {
  font-size: clamp(14px, 1.8vw, 18px);
  color: #0F9403;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.price_section__back a:link,
.price_section__back a:visited {
  color: #0F9403;
  text-decoration: underline;
}

.price_section__back a:hover {
  color: #58E1F3 !important;
  text-decoration: underline;
}

/* Price Bar SVG (仕切り) */
.work_price__bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  width: 100%;
}

.price_bar__svg {
  width: 100%;
  max-width: 1000px;
  height: auto;
  object-fit: contain;
}

/* レスポンシブ対応 */
@media (max-width: 900px) {
  .price_list__items {
    padding: 0 15px;
  }
  
  .price_summary {
    gap: 15px;
  }
  
  .price_summary__link {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .price_section {
    padding: 20px 15px;
    margin: 30px 0;
  }
  
  .price_section__title {
    font-size: 18px;
  }
  
  .price_section__description {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .price_list__items {
    padding: 0 10px;
  }
  
  .price_summary__link {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .price_section {
    padding: 15px 10px;
    margin: 20px 0;
  }
}

