/* CSS: hero-custom 配下にすべて記述 */

ul {
  margin-block-start: 0em;
  margin-block-end: 0em;
  padding-inline-start: 0px;
}

li {
  list-style-type: none;
}

.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
}


.hero-custom {
    background-color: #fef8f5;
    padding: 60px 20px;
    position: relative;
  overflow: hidden;
  /* 背景色を二色斜めグラデに変更 */
  background: linear-gradient(
    135deg,
    #ff6060 0%,
    #cf4646 50%,
    #fef8f5 50%,
    #f5e0d5 100%
  );
  padding: 60px 20px;
  }
  .hero-custom__inner {
    position: relative;
  z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  /* テキスト部分 */
  .hero-custom__text {
    flex: 1 1 500px;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .hero-custom__label {
    display: inline-block;
    margin-bottom: 16px;
    padding: 4px 12px;
    border: 2px solid #d11e09;
    color: #d11e09;
    font-weight: bold;
    border-radius: 4px;
  }
  .hero-custom__title {
    font-size: 2.5rem;
    margin: 0 0 16px;
    color: #333333;
    line-height: 1.2;
  }
  .hero-custom__title--highlight {
    color: #d11e09;
  }
  .hero-custom__lead {
    font-size: 1.125rem;
    margin-bottom: 24px;
    color: #666666;
  }
  .hero-custom__price-wrap {
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
  }
  .hero-custom__price {
    font-size: 2rem;
    font-weight: bold;
    color: #d11e09;
  }
  .hero-custom__price small {
    font-size: 0.875rem;
    color: #999999;
    margin-left: 4px;
  }
  .hero-custom__note {
    font-size: 1rem;
    margin-left: 12px;
    color: #999999;
  }
  
  /* サービスアイコン */
  .hero-custom__services {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }
  .hero-custom__service-item {
    text-align: center;
    flex: 1 1 80px;
  }
  .hero-custom__service-item img {
    width: 150px;
    height: auto;
  }
  .hero-custom__service-item p {
    font-size: 1rem;
    color: #333333;
    margin-block-start: 0;
  }
  
  /* 画像部分 */
  .hero-custom__image {
    flex: 0 0 400px;
    text-align: right;
  }
  .hero-custom__image img {
    max-width: 100%;
    height: auto;
  }
  
  /* レスポンシブ（スマホ） */
  @media (max-width: 768px) {
    .hero-custom {
        padding: 40px 10px;
    }
    .hero-custom__inner {
      flex-direction: column;
    }
    .hero-custom__image {
      text-align: center;
      margin-top: 30px;
    }
    .hero-custom__text {
        padding: 40px 15px;
    }
    .hero-custom__price-wrap {
        flex-direction: column;
    }
    .hero-custom__services {
        gap: 0;
    }
    .hero-custom__image {
        flex: 0 0 0;
    }
  }
  




  
  /* ────────────────────────────────────
   お悩みセクション
──────────────────────────────────── */
.problem-section {
  padding: 60px 20px;
  background-color: #fffbfa;
  background-image: radial-gradient(#d11e09 1px, transparent 1px);
  background-size: 20px 20px;
}
.problem-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.problem-section__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 40px;
}
.problem-section__icon-left,
.problem-section__icon-right {
  width: 48px;
  height: auto;
}
.problem-section__icon-left {
  margin-right: 12px;
}
.problem-section__icon-right {
  position: absolute;
  right: 0;
  top: 0;
  transform: translate(20%, -20%);
}
.problem-section__title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin: 0;
}
.problem-section__highlight {
  color: #d11e09;
  font-size: 2.5rem;
}
/* 4列グリッドレイアウト */
.problem-section__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.problem-section__item {
  background-color: #fff;
  text-align: center;
  padding: 20px 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.problem-section__item-img {
  width: 50%;
  height: auto;
  margin-bottom: 12px;
}
.problem-section__item-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
  margin: 0;
}

/* レスポンシブ：スマホで1列 */
@media screen and (max-width: 768px) {
  .problem-section__header {
    flex-direction: column;
    text-align: center;
  }
  .problem-section__icon-right {
    position: static;
    transform: none;
    margin-top: 12px;
  }
  .problem-section__list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .problem-section__item {
    margin-bottom: 20px;
  }
  .problem-section__highlight {
    font-size: 2.2rem;
  }
}






.alert-vertical {
  padding: 60px 20px;
  font-family: sans-serif;
  text-align: center;
  padding: 60px 20px;
  font-family: sans-serif;
  text-align: center;
  /* 既存のスタイルはそのまま */
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(250, 128, 114, 0.05),
    rgba(250, 128, 114, 0.05) 1px,
    transparent 1px,
    transparent 10px
  );
}

.alert-vertical__inner {
  max-width: 960px;
  margin: 0 auto;
}

.alert-vertical__badge {
  display: inline-block;
  background: #d11e09;
  color: #fff;
  font-weight: bold;
  padding: 8px 20px;
  font-size: 1.3rem;
  border-radius: 30px;
  margin-bottom: 20px;
}

.alert-vertical__header {
  margin-bottom: 40px;
}

.alert-vertical__title {
  font-size: 2.2rem;
  color: #333;
  font-weight: bold;
  margin: 0 0 16px;
}

.alert-vertical__subtitle {
  font-size: 1.25rem;
  color: #555;
  margin: 0;
}

.alert-vertical__block {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 30px 20px;
  margin: 30px 0;
}

.alert-vertical__icon {
  font-size: 4rem;
  color: #d11e09;
  margin-bottom: 20px;
}

.alert-vertical__text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #333;
}

.alert-vertical__footer {
  margin-top: 40px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

.alert-vertical .highlight {
  color: #d11e09;
  font-weight: bold;
  font-size: 2.8rem;
}

.alert-vertical .danger {
  color: #e53935;
  font-weight: bold;
  font-size: 1.4rem;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .alert-vertical__title {
    font-size: 1.6rem;
  }
  .alert-vertical__subtitle {
    font-size: 1rem;
  }
  .alert-vertical__text {
    font-size: 1rem;
  }
  .alert-vertical__footer {
    font-size: 1.2rem;
  }
  .alert-vertical .highlight {
    font-size: 2.3rem;
  }
  .alert-vertical .danger {
    font-size: 1.2rem;
  }
  .alert-vertical__icon {
    font-size: 3rem;
  }
}







/* =====================================
   menu-section 配下にすべて記述 (CSS)
===================================== */

/* セクション全体 */
.menu-section {
  background-color: #fffcf8;

  position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5e0d5 0%, #fef8f5 50%, #ffb2b2 50%, #ff8686 100%);
    padding: 60px 20px;
}

/* 内側ラッパー */
.menu-section__inner {
  width: 100%;
  margin: 0 auto;
}

/* ヘッダー */
.menu-section__header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 12px 0px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.menu-section__header-icon {
  font-size: 1.6rem;
  color: #d11e09;
  margin-right: 8px;
}
.menu-section__header-text {
  font-size: 1.8rem;
  font-weight: bold;
  color: #d11e09;
  margin: 0;
}

/* サブヘッダー */
.menu-section__subheader {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
  max-width: 700px;
}
.menu-section__subheader-icon {
  font-size: 1.4rem;
  color: #d11e09;
  margin-right: 8px;
}
.menu-section__subheader-text {
  flex: 1;
  font-size: 1rem;
  color: #555;
  margin: 0;
}
.menu-section__subheader-badge {
  background-color: #d11e09;
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.875rem;
}

/* グリッド */
.menu-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* 各メニューアイテム */
.menu-section__item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  overflow: hidden;
}
.menu-section__item-inner {
  display: flex;
  padding: 20px;
}
.menu-section__item-img {
  width: 200px;
  height: auto;
  margin-right: 16px;
}
.menu-section__item-body {
  flex: 1;
}
.menu-section__item-title {
  font-size: 1.1rem;
  color: #333;
  margin: 0 0 8px;
}
.menu-section__item-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #d11e09;
  margin: 0 0 12px;
}
.menu-section__item-list {
  margin: 0 0 16px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}
.menu-section__item-button {
  display: inline-block;
  background-color: #d11e09;
  color: #fff;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.9rem;
  text-decoration: none;
}

/* PC以上：最大幅を制限＋2列レイアウト */
@media (min-width: 1001px) {
  .menu-section__inner {
    max-width: 1000px;
  }
  .menu-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ：1列・テキストセンタリング */
@media (max-width: 1000px) {
  .menu-section {
    padding: 40px 10px;
  }
  .menu-section__header,
  .menu-section__subheader {
    flex-direction: column;
    text-align: center;
  }
  .menu-section__subheader-text {
    margin: 8px 0;
  }
  .menu-section__item-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .menu-section__item-img {
    width: 70%;
    margin: 0 0 12px;
  }
}








/* =====================================
   電気工事110番が選ばれている４つの理由セクション
===================================== */
.reasons-section {
  font-family: sans-serif;
    color: #333;
    padding: 60px 0;
    background-color: #fff;
    background-image: linear-gradient(90deg, rgba(209, 30, 9, 0.04) 1px, transparent 1px), linear-gradient(rgba(209, 30, 9, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

.reasons-section__header-icon {
  font-size: 1.5rem;
  color: #d11e09;
  margin-right: 8px;
  /* テキストと縦方向を揃える */
  line-height: 1;
}

/* バナー */
.reasons-section__banner {
  background: linear-gradient(90deg, #ffec99, #ffd54f);
  padding: 20px 0;
  text-align: center;
  border-bottom: 4px solid #333;
}
.reasons-section__title {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
}
.reasons-section__highlight {
  color: #d11e09;
}

/* コンテナ（PCは max-width:900px） */
.reasons-section__container {
  max-width: 900px;    /* PC時の最大幅を900pxに */
  margin: 0 auto;
  padding: 40px 20px;
}

/* 理由４つのグリッド（PC時は2列） */
.reasons-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);  /* PCは2列 */
  gap: 24px;
}

/* 各アイテム */
.reasons-section__item {
  background: #fff;
  border: 2px solid #d11e09;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.reasons-section__item-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.reasons-section__item-number {
  display: inline-block;
  background: #333;
  color: #fff;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-weight: bold;
}
.reasons-section__item-subtitle {
  margin: 0 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.4;
}
.reasons-section__item-highlight {
  color: #d11e09;
}
.reasons-section__divider {
  border: none;
  border-top: 1px dashed #ccc;
  margin: 12px 0;
}
.reasons-section__item-text {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 12px;
}
.reasons-section__item-icon {
  text-align: right;
}
.reasons-section__item-icon img {
  width: 48px;
  height: auto;
}

/* レスポンシブ：スマホは1列＋テキスト中央寄せ */
@media (max-width: 768px) {
  .reasons-section__container {
    padding: 20px 10px;
  }
  .reasons-section__grid {
    grid-template-columns: 1fr;  /* スマホは1列 */
  }
  .reasons-section__banner {
    padding: 16px 0;
  }
  .reasons-section__title {
    font-size: 1.6rem;
  }
  .reasons-section__item {
    padding: 16px;
  }
  .reasons-section__item-header {
    align-items: baseline;
  }
  .reasons-section__item-number {
    margin-bottom: 8px;
  }
  .reasons-section__item-icon {
    text-align: center;
  }
}







.flow-section {
  /* ベースカラー */
  background-color: #fdf8f6;

  /* 斜めストライプのパターン */
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(209, 30, 9, 0.04) 0,
    rgba(209, 30, 9, 0.04) 1px,
    transparent 1px,
    transparent 20px
  );
  margin: 0 auto;
  padding: 60px 20px;
}
.flow-section__title {
  background-color: #d11e09;
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  padding: 12px 0;
  margin: 0 auto 40px;
  border-radius: 4px;
  max-width: 800px;
}
.flow-section__steps {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-section__step {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  width: 100%;
  max-width: 450px;
}
.flow-section__step-info {
  flex: 1;
  padding-right: 20px;
}
.flow-section__step-number {
  display: inline-block;
  background-color: #d11e09;
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.flow-section__step-label {
  font-size: 1.3rem;
  margin: 0 0 8px;
  color: #333;
}
.flow-section__step-desc {
  margin: 0;
  color: #666;
  font-size: 1rem;
}
.flow-section__step-image img {
  width: 120px;
  height: auto;
  border-radius: 4px;
}
.flow-section__arrow {
  font-size: 2rem;
  color: #d11e09;
  margin: 16px 0;
}

@media (max-width: 768px) {
  .flow-section {
    padding: 40px 10px;
  }
  .flow-section__step {
    flex-direction: column;
    text-align: center;
  }
  .flow-section__step-info {
    padding-right: 0;
    margin-bottom: 12px;
  }
  .flow-section__step-image img {
    width: 80px;
  }
  .flow-section__steps {
    margin: 0 20px;
  }
}





/* Q&Aセクション */
.qa-section {
  padding: 60px 20px;
  background-color: #fff;
  /* 控えめなドットパターン */
  background-image: radial-gradient(#e9e9e9 1px, transparent 1px);
  background-size: 20px 20px;
}
.qa-section__inner {
  max-width: 1200px;
  margin: 0 auto;
}
/* ヘッダー */
.qa-section__header {
  display: flex;
  align-items: center;
  background-color: rgba(209,30,9,0.05);
  padding: 16px 20px;
  border-left: 4px solid #d11e09;
  margin-bottom: 24px;
  border-radius: 4px;
}
.qa-section__icon {
  font-size: 1.6rem;
  color: #d11e09;
  margin-right: 8px;
}
.qa-section__title {
  font-size: 1.4rem;
  color: #333;
  margin: 0;
}
/* リード文 */
.qa-section__lead {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 32px;
}
/* グリッド */
.qa-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
/* 各QAアイテム */
.qa-section__item {
  background: #ffffff;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
/* 質問 */
.qa-section__question {
  margin: 0;
  font-weight: bold;
  color: #333;
  padding-bottom: 8px;
  border-bottom: 1px dotted #ccc;
}
.qa-section__label {
  color: #d11e09;
  margin-right: 4px;
}
/* 回答 */
.qa-section__answer {
  margin: 16px 0 0;
  color: #333;
}
/* モバイル対応 */
@media (max-width: 768px) {
  .qa-section__grid {
    grid-template-columns: 1fr;
  }
}




/* ─── .cta-banner 配下にすべて記述 ─── */
.cta-banner {
  border: 4px solid #d11e09;
  border-radius: 8px;
  overflow: hidden;
  background: #d11e09;
  color: #fff;
}
.cta-banner__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px;
}

/* テキストブロック */
.cta-banner__content {
  flex: 1 1 500px;
}
.cta-banner__title {
  font-size: 2.5rem; /* 元:2rem */
  margin: 0 0 0.5em;
  line-height: 1.2;
}
.cta-banner__title-highlight {
  display: inline-block;
  background: #ffed4a;
  color: #d11e09;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 10px;
}
.cta-banner__subtitle {
  margin: 0 0 1em;
  font-size: 1.25rem; /* 元:1rem */
}
.cta-banner__tags {
  display: flex;
  gap: 0.5em;
  margin-bottom: 1em;
}
.cta-banner__tags span {
  background: rgba(255,255,255,0.3);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 1rem; /* 元:0.875rem */
}

/* CTAボタン */
.cta-banner__ctas {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  margin-bottom: 1em;
}
.cta-banner__cta {
  display: flex;
  align-items: center;
  background: #fff;
  color: #d11e09;
  text-decoration: none;
  padding: 0.75em 1em;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.1rem;
  /* 必要に応じてボタン文字を大きくする場合は以下を追加 */
  /* font-size: 1.125rem; */
}
.cta-banner__cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5em;
}
.cta-banner__cta-icon i {
  font-size: 1em;
}
.cta-banner__cta-number {
  margin-left: 0.5em;
  font-size: 1.5rem; /* 元:1.125rem */
}

/* 注意書き */
.cta-banner__note {
  font-size: 1.4rem; /* 元:0.875rem */
  margin: 0;
  color: rgba(255,255,255,0.9);
}
.cta-banner__note small {
  display: block;
  margin-top: 0.25em;
}

/* 画像ブロック */
.cta-banner__image {
  flex: 0 0 200px;
  text-align: right;
}
.cta-banner__image img {
  max-width: 200%;
  height: auto;
  border-radius: 4px;
}

/* ─── レスポンシブ (スマホ) ─── */
@media (max-width: 900px) {
  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .cta-banner__image {
    margin-top: 1em;
    text-align: center;
    flex: 1 1 100%;
  }
  .cta-banner__cta {
    width: 100%;
  }
  .cta-banner__tags {
    flex-direction: column;
  }
  .cta-banner__image img {
    width: 100%;
  }
  .cta-banner__title {
    font-size: 2.2rem;
  }
  .cta-banner__content {
    flex: 1 1 450px;
  }
}
