@charset "UTF-8";
/* =========================================================
   雨漏り修理LP 市区町村ページ専用スタイル（city）
   PCファースト / ブレークポイント 1280px・960px・568px
   ※MV・対応できる雨漏りは top.css、その他のセクション（お困りの方へ〜会社情報）は common.css を共用
   ========================================================= */

/* ===== 導入文（市区町村ごとの内容） ===== */
.city_intro {
  padding-bottom: 63px;
  background: var(--c_cream);
  overflow: hidden;
}

.city_intro_title {
  padding: 18px 20px;
  font-size: 48px;
  font-weight: 700;
  line-height: 58px;
  color: #fff;
  text-align: center;
  background: var(--c_navy);
}

.city_intro_title_em {
  font-size: 58px;
  color: #ffff0a;
}

.city_intro .container {
  position: relative;
}

/* 背景の滋賀県の地図（装飾） */
.city_intro .container::before {
  content: "";
  position: absolute;
  top: 62px;
  left: 576px;
  width: 624px;
  height: 693px;
  background: url("../img/top/map_shiga.webp") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

.city_intro_row {
  position: relative;
  display: grid;
  align-items: start;
}

.city_intro_row_caution {
  grid-template-columns: 523fr 619fr;
  column-gap: 58px;
  padding-top: 62px;
}

.city_intro_row_subsidy {
  grid-template-columns: 536fr 612fr;
  column-gap: 52px;
  margin-top: 81px;
}

.city_intro_photo img {
  display: block;
  width: 100%;
  aspect-ratio: 523 / 328;
  object-fit: cover;
  border-radius: 10px;
}

.city_intro_heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 38px;
  color: var(--c_navy);
}

.city_intro_heading img {
  flex-shrink: 0;
}

.city_intro_row_caution .city_intro_heading img {
  width: 63px;
}

.city_intro_row_subsidy .city_intro_heading {
  gap: 20px;
}

.city_intro_row_subsidy .city_intro_heading img {
  width: 59px;
}

.city_intro_row_subsidy .city_intro_heading span {
  max-width: 457px;
}

.city_intro_nowrap {
  white-space: nowrap;
}

.city_intro_underline {
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
}

.city_intro_text {
  max-width: 601px;
  margin-top: 18px;
  font-size: 16px;
  line-height: 24px;
}

.city_intro_row_subsidy .city_intro_text {
  margin-top: 22px;
}

.city_intro_notes {
  margin-top: 24px;
  font-size: 14px;
  line-height: 24px;
  color: #999;
}

.city_intro_box {
  padding: 30px 40px 38px 44px;
  background: #fff;
}

.city_intro_box_title {
  display: flex;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  color: var(--c_navy);
}

.city_intro_box_title::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-right: -5px;
  background: var(--c_navy);
}

.city_intro_box_text {
  margin-top: 21px;
  font-size: 16px;
  line-height: 24px;
}

.city_intro_link {
  position: relative;
  display: block;
  margin-top: 28px;
  padding: 19px 72px 19px 32px;
  color: #fff;
  background: var(--c_navy);
  border: 3px solid #fff;
  border-radius: 10px;
  transition: opacity 0.2s;
}

.city_intro_link:hover {
  opacity: 0.85;
}

.city_intro_link_name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}

.city_intro_link_url {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  word-break: break-all;
}

.city_intro_link img {
  position: absolute;
  top: 50%;
  right: 33px;
  width: 18px;
  transform: translateY(-50%);
}

@media only screen and (max-width: 1280px) {
  .city_intro .container::before {
    left: auto;
    right: 40px;
    width: 52%;
    height: auto;
    aspect-ratio: 624 / 693;
  }
}

@media only screen and (max-width: 960px) {
  .city_intro {
    padding-bottom: 30px;
  }

  .city_intro_title {
    padding: 14px 17px;
    font-size: 24px;
    line-height: 34px;
  }

  .city_intro_title_em {
    font-size: 29px;
  }

  .city_intro .container::before {
    top: 13px;
    left: 50%;
    right: auto;
    width: 341px;
    transform: translateX(-50%);
  }

  .city_intro_row_caution,
  .city_intro_row_subsidy {
    grid-template-columns: 1fr;
  }

  .city_intro_row_caution {
    padding-top: 21px;
  }

  .city_intro_row_subsidy {
    margin-top: 20px;
  }

  /* SPは見出し → 写真 → 本文の順 */
  .city_intro_row_caution .city_intro_photo {
    order: 1;
    margin-top: 23px;
  }

  .city_intro_row_caution .city_intro_body {
    display: contents;
  }

  .city_intro_row_caution .city_intro_text {
    order: 2;
    margin-top: 25px;
  }

  .city_intro_photo img {
    aspect-ratio: 680 / 415;
  }

  .city_intro_heading {
    gap: 7px;
    font-size: 20px;
    line-height: 26px;
  }

  .city_intro_row_caution .city_intro_heading img {
    width: 31px;
  }

  .city_intro_row_subsidy .city_intro_heading {
    gap: 14px;
    padding-left: 7px;
  }

  .city_intro_row_subsidy .city_intro_heading img {
    width: 30px;
  }

  .city_intro_row_subsidy .city_intro_heading span {
    max-width: none;
  }

  .city_intro_text,
  .city_intro_row_subsidy .city_intro_text {
    max-width: none;
    font-size: 15px;
    line-height: 20px;
  }

  .city_intro_row_subsidy .city_intro_text {
    margin-top: 20px;
  }

  .city_intro_notes {
    margin-top: 12px;
    font-size: 12px;
    line-height: 18px;
  }

  .city_intro_box {
    margin-top: 20px;
    padding: 18px 20px 24px;
  }

  .city_intro_box_title {
    font-size: 18px;
    line-height: 24px;
  }

  .city_intro_box_title::before {
    width: 10px;
    height: 9px;
    margin-right: -2px;
  }

  .city_intro_box_text {
    margin-top: 12px;
    font-size: 15px;
    line-height: 20px;
  }

  .city_intro_link {
    margin-top: 13px;
    padding: 12px 44px 12px 21px;
    border: 0;
    border-radius: 5px;
  }

  .city_intro_link_name {
    font-size: 15px;
    line-height: 22px;
  }

  .city_intro_link_url {
    margin-top: 2px;
    font-size: 10px;
    line-height: 12px;
  }

  .city_intro_link img {
    right: 21px;
    width: 12px;
  }
}
