@charset "UTF-8";
/* =========================================================
   雨漏り修理LP 料金・費用についてページ専用スタイル（price）
   共通部分は under-layer.css（下層ページ共通）と common.css。ここは料金ページだけの差分と新規部品
   PCファースト / ブレークポイント 1280px・960px・568px
   ========================================================= */

/* ===== 料金セクションの余白（下層ページなのでパンくずの直下から始める。TOP の .price の余白を上書き） ===== */
.price_page {
  padding: 0 0 57px;
}

@media only screen and (max-width: 960px) {
  .price_page {
    padding: 25px 0 50px;
  }
}

/* ===== 費用・料金のご案内 =====
   セクション全体・波紋・見出しは TOP の .price / .sec_head を流用。
   料金ページだけの部品は price_page_ 接頭辞 */

/* --- 導入（見出し＋本文＋価格／写真） --- */
.price_page_intro {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-top: 30px;
}

.price_page_intro_body {
  flex: 1;
  max-width: 632px;
}

.price_page_intro_title {
  font-size: 36px;
  font-weight: 700;
  line-height: 52px;
  color: var(--c_navy);
}

.price_page_intro_text {
  max-width: 614px;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}

.price_page_intro_cost {
  margin-top: 34px;
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  color: var(--c_red);
  text-align: center;
}

.price_page_intro_cost span {
  font-family: var(--f_num);
  font-size: 58px;
}

.price_page_intro_img {
  display: block;
  flex-shrink: 0;
  width: 520px;
  height: auto;
  margin-top: 4px;
  align-self: flex-start;
  border-radius: 10px;
}

@media only screen and (max-width: 1280px) {
  .price_page_intro {
    gap: 30px;
  }

  .price_page_intro_title {
    font-size: 30px;
    line-height: 1.45;
  }

  .price_page_intro_img {
    width: 44%;
  }
}

@media only screen and (max-width: 960px) {
  /* SP は見出し → 写真 → 本文 → 価格の順 */
  .price_page_intro {
    flex-direction: column;
    gap: 0;
    margin-top: 26px;
  }

  .price_page_intro_body {
    display: contents;
  }

  .price_page_intro_title {
    order: 1;
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
  }

  .price_page_intro_img {
    order: 2;
    width: 100%;
    margin-top: 12px;
    border-radius: 5px;
  }

  .price_page_intro_text {
    order: 3;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.35;
  }

  .price_page_intro_cost {
    order: 4;
    margin-top: 18px;
    font-size: 20px;
    line-height: 1.2;
  }

  .price_page_intro_cost span {
    font-size: 37px;
  }
}

/* --- 修理プランの見出し --- */
.price_page_plan_title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 108px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c_navy);
}

.price_page_plan_title img {
  flex-shrink: 0;
  width: 64px;
}

.price_page_plan_title em {
  font-size: 48px;
  font-style: normal;
  color: var(--c_orange);
}

@media only screen and (max-width: 960px) {
  .price_page_plan_title {
    gap: 10px;
    margin-top: 40px;
    font-size: 20px;
    line-height: 28px;
  }

  .price_page_plan_title img {
    width: 37px;
  }

  .price_page_plan_title em {
    font-size: 24px;
  }
}

/* --- 修理プランのカード（写真4分割とテキストを左右交互に） --- */
.price_page_plan_list {
  margin-top: 69px;
}

.price_page_plan {
  display: flex;
  align-items: flex-start;
  gap: 41px;
  padding: 36px 41px 36px 45px;
  background: var(--c_light);
  border: 4px solid var(--c_border);
  border-radius: 10px;
}

.price_page_plan + .price_page_plan {
  margin-top: 60px;
}

.price_page_plan:nth-child(even) {
  flex-direction: row-reverse;
  padding: 36px 41px 36px 45px;
}

.price_page_plan_photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex: 0 0 533px;
  border-radius: 10px;
  overflow: hidden;
}

.price_page_plan_photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 266.5 / 194.5;
  object-fit: cover;
}

.price_page_plan_body {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.price_page_plan_name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c_navy);
}

.price_page_plan_name img {
  flex-shrink: 0;
  width: auto;
  height: 37px;
}

.price_page_plan_cost {
  margin-top: 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--c_red);
}

.price_page_plan_cost span {
  font-family: var(--f_num);
  font-size: 48px;
}

.price_page_plan_text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

.price_page_method_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.price_page_method {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 161px;
  padding: 8px 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
  text-align: center;
  background: var(--c_cream);
  border-radius: 10px;
}

.price_page_method img {
  display: block;
  max-width: 100%;
  height: auto;
}

.price_page_plan_note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: #999;
  text-align: right;
}

@media only screen and (max-width: 1280px) {
  .price_page_plan,
  .price_page_plan:nth-child(even) {
    gap: 30px;
    padding: 30px;
  }

  .price_page_plan_photos {
    flex-basis: 46%;
  }

  .price_page_plan_name {
    font-size: 28px;
  }

  .price_page_method_list {
    gap: 10px;
  }

  .price_page_method {
    font-size: 15px;
  }
}

@media only screen and (max-width: 960px) {
  .price_page_plan_list {
    margin-top: 16px;
  }

  .price_page_plan,
  .price_page_plan:nth-child(even) {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 16px 22px;
    border-width: 2px;
    border-radius: 5px;
  }

  .price_page_plan + .price_page_plan {
    margin-top: 20px;
  }

  .price_page_plan_photos {
    flex-basis: auto;
    border-radius: 5px;
  }

  .price_page_plan_photos img {
    aspect-ratio: 302.5 / 194.5;
  }

  .price_page_plan_body {
    padding-top: 0;
  }

  .price_page_plan_name {
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
    font-size: 24px;
  }

  .price_page_plan_name img {
    height: 24px;
  }

  .price_page_plan_cost {
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
  }

  .price_page_plan_cost span {
    font-size: 32px;
  }

  .price_page_plan_text {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.35;
  }

  .price_page_method_list {
    gap: 10px;
    margin-top: 15px;
  }

  .price_page_method {
    gap: 8px;
    min-height: 107px;
    padding: 8px 2px;
    font-size: 14px;
    line-height: 1.3;
    border-radius: 5px;
  }

  .price_page_method img {
    width: auto;
    height: 46px;
  }

  .price_page_plan_note {
    margin-top: 14px;
    font-size: 13px;
    text-align: center;
  }
}

@media only screen and (max-width: 568px) {
  .price_page_method {
    font-size: 12px;
  }
}

/* --- まずは状態を確認してお見積り --- */
.price_page_estimate {
  margin-top: 124px;
  padding: 30px 45px 43px;
  background: var(--c_cream);
  border: 4px solid var(--c_border);
  border-radius: 10px;
}

.price_page_estimate_title {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c_navy);
}

.price_page_estimate_title img {
  flex-shrink: 0;
  width: 30px;
}

.price_page_estimate_text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}

.price_page_estimate_text strong {
  color: var(--c_navy);
}

.price_page_estimate_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.price_page_estimate_item {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: var(--c_navy);
}

.price_page_estimate_item img {
  display: block;
  width: 100%;
  height: auto;
}

.price_page_estimate_item_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 120px;
  padding: 8px 4px;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #fff;
  text-align: center;
}

.price_page_estimate_item_text strong {
  font-size: 24px;
  color: #ffff0a;
}

@media only screen and (max-width: 1280px) {
  .price_page_estimate {
    padding: 30px 30px 36px;
  }

  .price_page_estimate_list {
    gap: 15px;
  }

  .price_page_estimate_item_text {
    font-size: 16px;
    line-height: 1.5;
  }

  .price_page_estimate_item_text strong {
    font-size: 20px;
  }
}

@media only screen and (max-width: 960px) {
  .price_page_estimate {
    margin-top: 24px;
    padding: 18px 16px 22px;
    border-width: 2px;
    border-radius: 5px;
  }

  .price_page_estimate_title {
    align-items: flex-start;
    gap: 12px;
    font-size: 20px;
    line-height: 24px;
  }

  .price_page_estimate_title img {
    width: 25px;
    margin-top: 4px;
  }

  .price_page_estimate_text {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.35;
  }

  .price_page_estimate_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 18px;
  }

  .price_page_estimate_item {
    border-radius: 5px;
  }

  .price_page_estimate_item img {
    aspect-ratio: 289 / 171;
    object-fit: cover;
  }

  .price_page_estimate_item_text {
    min-height: 60px;
    padding: 6px 2px 8px;
    font-size: 12px;
    line-height: 1.4;
  }

  .price_page_estimate_item_text strong {
    font-size: 14px;
  }
}
