@charset "utf-8";
/* 葬儀社選びページ専用。共通のスタイルは others.css を流用し、ここには差分のみ記載 */
/* 警告色：#b01e23（赤）／ 安心色：#363386（サイトの紺） */

/* ===== 大見出し ===== */
.erabi-title{
  margin: 0;
  padding: 1.4em 1em;
  background: #b01e23;
  color: #fff;
  text-align: center;
  font-family: 'Noto Serif JP', serif;
  line-height: 1.4;
}
.erabi-title-sub{
  display: inline-block;
  margin-bottom: 0.6em;
  padding: 0.2em 1em;
  background: #fff;
  color: #b01e23;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.erabi-title-sub i{
  margin-right: 0.4em;
}
.erabi-title-main{
  display: block;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ===== 必ずお読みください ===== */
.erabi-must{
  margin: 1.5em 0 0.8em;
  text-align: center;
}
.erabi-must span{
  display: inline-block;
  padding: 0.3em 1.2em;
  border-radius: 50em;
  background: #b01e23;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
}
.erabi-must i{
  margin-right: 0.4em;
}

/* リード文は控えめに */
.erabi-intro{
  margin-bottom: 1.5em;
  color: #000;
  font-weight: 400;
  font-size: 1.15rem;
  text-align: center;
}

/* ===== 最重要の注意喚起ボックス ===== */
.erabi-alert{
  margin-bottom: 3em;
  border: 4px solid #b01e23;
  background: #fff4f4;
}
.erabi-alert-head{
  margin: 0;
  padding: 0.5em 1em;
  background: #b01e23;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}
.erabi-alert-head i{
  margin-right: 0.4em;
  color: #ffd84d;
}
.erabi-alert-list{
  margin: 0;
  padding: 1.5em 2em;
  list-style: none;
}
.erabi-alert-list li{
  position: relative;
  margin-bottom: 1em;
  padding-left: 1.8em;
  color: #000;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.7;
}
.erabi-alert-list li:last-child{
  margin-bottom: 0;
}
.erabi-alert-list li:before{
  content: "\f00d"; /* × */
  position: absolute;
  top: 0.05em;
  left: 0;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #b01e23;
}
.erabi-alert-list strong{
  color: #b01e23;
  background: linear-gradient(transparent 60%, #ffe066 60%);
}

/* ===== 各事例 ===== */
.erabi .erabi-case{
  padding: 0;
  overflow: hidden;
  border-top: 6px solid #b01e23;
  background: #fff;
}
/* 題名が折り返しても番号の下に回り込まないよう、番号と文字を横並びにする */
.erabi .erabi-case h2{
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0.7em 1em;
  text-indent: 0;
  background: #fff4f4;
  color: #b01e23;
}
.erabi .erabi-case h2 .number{
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8em;
  height: 1.8em;
  margin-right: 0.6em;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #b01e23;
  color: #fff;
  font-size: 0.9em;
}
/* 見出し下の※補足（小さめ・見出しとは別要素） */
.erabi-case .erabi-h2-note{
  margin: 0;
  padding: 0 1.5em 0.7em;
  background: #fff4f4;
  color: #000;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}
.erabi-body{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5em 2em;
}
.erabi-text{
  width: 66%;
}
.reasons .erabi-lead{
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #b01e23;
  color: #b01e23;
  font-size: 1.2em;
  font-weight: 700;
}
.erabi-lead i{
  margin-right: 0.3em;
}
.erabi-ng{
  margin: 0;
  padding: 0;
  list-style: none;
}
.erabi-ng li{
  position: relative;
  margin-bottom: 0.7em;
  padding-left: 1.6em;
  color: #000;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}
.erabi-ng li:before{
  content: "\f00d"; /* × */
  position: absolute;
  top: 0.1em;
  left: 0.2em;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #b01e23;
}

/* イラスト枠 */
.erabi-illust{
  width: 30%;
}
.erabi-illust img{
  display: block;
  height: auto;
}

/* ===== 高槻葬祭では（安心材料） ===== */
.erabi-ok{
  margin: 0 2em 2em;
  padding: 1em 1.5em;
  border-left: 6px solid #363386;
  background: #f0f1fa;
}
.erabi-ok-head{
  margin: 0 0 0.3em;
  color: #363386;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25em;
  font-weight: 700;
}
.erabi-ok-head i{
  margin-right: 0.4em;
}
.reasons .erabi-ok-text{
  margin: 0;
  color: #000;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
}

/* ===== 締め ===== */
.erabi-closing{
  margin-top: 1em;
  padding: 2em 1em;
  background: #363386;
  color: #fff;
  text-align: center;
}
.erabi-closing-text{
  margin-bottom: 0.6em;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
}
.erabi-closing-sub{
  margin-bottom: 1.2em;
  font-size: 1.05rem;
}
.erabi-closing-btn{
  margin: 0;
}
.erabi-closing-btn a{
  display: inline-block;
  padding: 0.7em 2.5em;
  border-radius: 50em;
  background: #fff;
  color: #363386;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: opacity .2s;
}
.erabi-closing-btn a:hover{
  opacity: 0.8;
}
.erabi-closing-btn i{
  margin-left: 0.6em;
}

@media screen and (max-width: 768.98px){
  .erabi-title{
    padding: 1.2em 0.8em;
  }
  .erabi-title-sub{
    font-size: 0.9rem;
  }
  .erabi-title-main{
    font-size: 1.9rem;
  }
  .erabi-must span{
    font-size: 1.15rem;
  }
  .erabi-alert{
    border-width: 3px;
  }
  .erabi-alert-head{
    font-size: 1.2rem;
  }
  .erabi-alert-list{
    padding: 1.2em 1em;
  }
  .erabi-alert-list li{
    font-size: 1.2rem;
  }
  .erabi .erabi-case{
    margin-bottom: 2em;
  }
  .erabi .erabi-case h2{
    padding: 0.6em 0.8em;
  }
  .erabi-case .erabi-h2-note{
    padding: 0 1em 0.6em;
    font-size: 0.9rem;
  }
  /* スマホではイラストを見出しの直下に表示 */
  .erabi-body{
    flex-direction: column-reverse;
    padding: 1.2em 1em;
  }
  .erabi-text,
  .erabi-illust{
    width: 100%;
  }
  .erabi-illust{
    margin-bottom: 1em;
  }
  .erabi-illust img{
    max-width: 260px;
    margin: 0 auto;
  }
  .reasons .erabi-lead{
    font-size: 1.1em;
    text-align: left;
  }
  .erabi-ok{
    margin: 0 1em 1.2em;
    padding: 0.8em 1em;
  }
  .erabi-closing-text{
    font-size: 1.35rem;
  }
  .erabi-closing-sub{
    font-size: 0.95rem;
  }
}
