@import url(common.css);
/* -------------------------------

ページ内共通css
（ページ内の何カ所かに使われている）

------------------------------- */
.bg_fff h2 {
  padding: 0.5em 0 0.5em 1.5em;
  position: relative;
}

section.bg_fff {
  width: calc(100% - 0px);
  max-width: 820px;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #fff;
  padding: 2em 1em;
  border-radius: 5px;
  border: 1px solid #f0f0f0;
}
.bg_fff h2::before {
  background-color: var(--main_green);
  border-radius: 5px;
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 8px;
  height: 80%;
  text-align: center;
}
.bg_fff h2::after {
  background-color: #cbffd3;
  border-radius: 5px;
  content: "";
  position: absolute;
  top: 5px;
  left: 18px;
  width: 8px;
  height: 80%;
}

/* -----------------------------------

メインビジュアル

----------------------------------- */
#hero {
  background-image: linear-gradient(125deg, rgb(24, 133, 46) 55%, #13961e 49%);
  padding: 2em 0;
}
.hero {
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.hero-container {
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

/* ----------------------------------

ファーストビュー左側
（h1とか）

---------------------------------- */
.hero-title-block {
  color: #fff;
  text-shadow: 3px 3px 4px rgba(54, 54, 54, 1);
  line-height: 1.3;
}
.hero-title-block p {
  font-size: clamp(20px, 4.2vw, 20px);
  padding-bottom: 0.8em;
}
.hero-left h1 {
  text-align: left;
  font-size: clamp(38px, 4.2vw, 40px);
  padding: 0 0 0.5em;
}
/* まちの電気屋さん */
.hero-left h1 span {
  display: block;
  font-size: clamp(28px, 4.2vw, 48px);
  padding-bottom: 0.2em;
}

/* 見積依頼・探すボタン
---------------------------------- */
.btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2em;
}
.btns a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  padding: 1em 1.5em 1em 2em;
  display: block;
  background-image: -webkit-linear-gradient(90deg, rgb(213, 213, 213) 0%, rgb(255, 255, 255) 51%);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  text-align: center;
  border-radius: 5px;
  color: #444;
  font-weight: bold;
  font-size: 20px;
}
/* 見積依頼ボタン */
.btns .mini_copy::before {
  position: absolute;
  content: "対応エリア内はお見積り無料！";
  background: var(--main_moreorang);
  text-align: center;
  color: #fff;
  box-shadow: 3px 3px 4px rgba(54, 54, 54, 1);
  font-size: 14px;
  top: -30%;
  left: 10%;
  transform: translate(0%, 0%);
  font-weight: 700;
  padding: 0.5em 1em;
  text-align: center;
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
}
.btns a:hover {
  background: #fff;
  opacity: unset;
}

/* 丸矢印アイコン
------------------------------ */
.dli-caret-circle-fill-right {
  display: inline-block;
  vertical-align: middle;
  color: #00940c;
  line-height: 1;
  position: relative;
  width: 0.8em;
  height: 0.8em;
  border: 0.075em solid currentColor;
  background: currentColor;
  border-radius: 50%;
  box-sizing: content-box;
  margin-left: 1em;
}

.dli-caret-circle-fill-right::before {
  content: "";
  color: #fff;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 0.18em 0.31177em;
  border-left-color: currentColor;
  border-right: 0;
  transform: translateX(15%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

/* 建築業許可block
----------------------------------*/
.kenchiku_wap {
  background: #fffad7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.8em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.kenchiku_top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}

.hero-badge {
  flex: 0.5;
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: #e9f6ea;
  display: grid;
  place-items: center;
  font-size: 32px;
}
.kenchiku_top p {
  font-size: 15px;
  flex: 3;
}
.kenchiku_top p span {
  display: block;
  font-weight: bold;
  font-size: clamp(18px, 1.8vw, 20px);
}
.kenchiku_bottom {
  font-size: 15px;
  color: var(--aside_gray);
}

/* ----------------------------------

ファーストビュー右側
（画像スライダー）

---------------------------------- */
.hero-right {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 40px;
  box-sizing: border-box;
}

.hero-right .slider-window {
  overflow: hidden;
  width: 100%;
}

.hero-right .top_slider {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.hero-right .slide-item {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.hero-right .slide-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.hero-right .slide-item a:hover {
  opacity: unset;
}

/* 矢印ボタン */
.hero-right .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  padding: 0;
}

.hero-right .slider-prev {
  left: 8px;
}

.hero-right .slider-next {
  right: 8px;
}

.hero-right .slider-arrow:hover {
  background: #f0f0f0;
}

/* ドット */
.hero-right .slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.hero-right .slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  border: none;
  padding: 0;
}

.hero-right .slider-dot.is-active {
  background: #333;
}

/*--------------------------------

画像スライダー（ランダム3秒オート）

--------------------------------*/
.top_slider {
  width: 100%;
  padding: 1em 0 0.5em;
  box-sizing: border-box;
  overflow: visible; /* ←これが一番重要！ */
}
.hero .slick-dotted.slick-slider {
  padding-left: unset;
  max-width: 480px;
  margin: 0 auto 1.5em;
}

/* 画像+会社名+所在地 */
.slide-item {
  box-sizing: border-box;
  padding: 0 10px;
}

.slide-item a {
  display: block;
  text-align: center;
  color: #333;
}
/* 各社の画像 */
.slide-item img {
  display: block;
  width: min(100%, 450px);
  height: auto;
  margin: 0 auto 0.8em;
  display: block;
  box-shadow: 6px 6px 1px #09670c;
}
/* 画像の下の会社名 */
.slide-item p {
  text-align: left;
  color: #fff;
}
/* 画像の下の会社名のあとの（） */
.slide-item p span {
  font-size: 10px;
}

/* -------------------------------


メイン部分ここから
（メインビジュアルの下から）
#main
↓
#main_body_container
↓
#side
#index_main_right

※#sideと#index_main_rightはflexboxで横並び


------------------------------- */
#index_main_right {
  width: 74%;
  margin: 1.5em auto 3em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}
.section_container {
  width: calc(100% - 40px);
  max-width: 820px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* -------------------------------

絞り込み検索セクション
（#area_search）

------------------------------- */
#area_search {
  width: calc(100% - 0px);
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #fff;
  padding: 3em 0;
  border-radius: 5px;
  border: 1px solid #f0f0f0;
}
.search_top {
  padding: 0 1.5em 2em;
}
#area_search h2 {
  margin: 0.5em 0 1em;
}

/* セレクトボックス1～4
----------------------------------- */
.select_block {
  display: flex;
  flex-direction: column;
  gap: 1.6em;
  padding: 1em 0;
}
label {
  display: block;
  margin: 0.6em 0;
  font-weight: bold;
}
/* 必須表記 */
label .required {
  color: red;
  background-color: rgb(255, 218, 218);
  font-size: clamp(11px, 1.8vw, 12px);
  margin-left: 1em;
  padding: 0.1em 0.6em;
  font-weight: 400;
  border-radius: 999px;
}

/* 各セレクトボックス */
.prefecture select,
.city select,
#workCat,
#workName {
  width: 100%;
  padding: 15px 8px;
  font-size: 14px;
}

/* セレクト内の矢印の位置調整用 */
.sel {
  padding-right: 2.5em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #a8aba4;
  background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  background-position: calc(100% - 1.2em) 55%, /* ← ここで右の位置＋縦の位置を調整 */ calc(100% - 0.8em) 55%;
}
#workName option.option-disabled {
  color: #aaa;
}
/* 工事カテゴリのみ装飾凝る */
.work-cat-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.work-cat-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  margin: unset;
}

/* チェックボックスのデフォルトマージンを少し調整 */
.work-cat-item input[type="checkbox"] {
  margin: 0;
}

/* カード本体 */
.work-cat-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.5em 0.6em;
  border: 1px solid #a8aba4;
  background-color: #efefef;
}

/* チェック時の強調 */
.work-cat-item input[type="checkbox"]:checked + .work-cat-card {
  background-color: #f3f7ff;
  box-shadow: 0 0 0 1px rgba(0, 75, 159, 0.15);
}

/* アイコン部分（青い四角＋白アイコン） */
.work-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background-color: #004b9f;
  flex-shrink: 0;
  display: inline-block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px; /* 中のアイコンサイズ */
}

/* 一般電気工事アイコン */
.work-cat-icon-gen {
  background-image: url("../parts/common/emojione-monotone_electric-plug.png");
}
/* エネルギー関連アイコン */
.work-cat-icon-energy {
  background-image: url("../parts/common/ix_electrical-energy-filled.png");
}
/* 換気・空調アイコン */
.work-cat-icon-hvac {
  background-image: url("../parts/common/mdi_air-filter.png");
}
/* 法人向けアイコン */
.work-cat-icon-corp {
  background-image: url("../parts/common/rivet-icons_building-solid.png");
  background-color: #005bac;
}

/* テキスト */
.work-cat-label {
  font-size: 0.95rem;
  white-space: nowrap;
}

/* この条件で検索・リセットボタン */
.btn_block {
  padding: 2em 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
  gap: 1em;
}
.btn_block button {
  padding: 10px 8px;
  font-size: 14px;
  cursor: pointer;
}
#searchBtn {
  background-color: var(--main_moreorang);
  color: #fff;
  font-weight: bold;
  padding: 0.8em 1.2em;
  border-radius: 999px;
  border: unset;
}
/* 虫眼鏡アイコン */
.dli-search {
  display: inline-block;
  vertical-align: middle;
  color: #ffffff;
  line-height: 1;
  width: 0.7em;
  height: 0.7em;
  border: 0.2em solid currentColor;
  border-radius: 50%;
  box-sizing: content-box;
  position: relative;
  margin-left: 0.5em;
}

.dli-search::before {
  content: "";
  position: absolute;
  top: calc(85.35534% + 0.07071em);
  left: calc(85.35534% + 0.07071em);
  width: 0.336em;
  height: 0.18em;
  background: currentColor;
  border-radius: 0 0.1em 0.1em 0;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: left center;
}
#resetBtn {
  background-color: #fff;
  border: 1px solid #a5a5a5;
  color: #707070;
}

/* -----------------------------------

検索結果ブロック（#areaResult）
この条件で検索ボタンを押したら表示

----------------------------------- */
#areaResult {
  /* background-color: #e1f3e2; */
  padding: 0 1.5em;
}
#areaResult h2 {
  padding: 2em 0 0;
}
#storeData {
  padding: 3em 0 0;
}

/* ▼ 選択中条件の表示 */
/* ----------------------------------- */
.search-summary-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 10px 12px;
  margin-bottom: 3em;
  border-radius: 8px;
  background-color: #f8fafc;
  border: 1px solid #dde3f0;
}
.search-summary-inline p {
  padding: 0.3em 0.8em;
  border-radius: 999px;
  border: 1px solid #b3b3b3;
  background-color: #fff;
  font-size: 0.9rem;
}
.search-summary-inline .summary-title {
  border: unset;
  padding: 0.3em 0;
  background-color: unset;
}

/*検索結果カードのデザイン
----------------------------------- */
#storeData {
  display: none;
}
.store-cards {
  display: flex;
  flex-direction: column;
  gap: 1em;
  background: #fff;
  padding: 0 1em;
}
.store-card {
  padding: 1.5em 0;
  border-bottom: 1px solid var(--aside_gray);
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
}
.store-card:last-of-type {
  border-bottom: unset;
}
/* 画像・会社名・住所
------------------------------ */
.top_block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  color: #444;
}
.top_block:hover {
  cursor: pointer;
}

/* -----------------------------------

左側（.left_block）

----------------------------------- */
.left_block {
  flex: 1;
}
/* 画像 */
.left_block .store-thumb img {
  display: block;
  width: min(100%, 200px);
  height: auto;
}

/* -----------------------------------

右側（.right_block）

----------------------------------- */
.right_block {
  flex: 2;
}

/* 会社名 */
.right_block h4 {
  font-size: clamp(20px, 1.8vw, 22px);
  font-weight: bold;
  padding-bottom: 1em;
}

/* 会社住所 */
.store-address {
  font-size: clamp(16px, 1.8vw, 18px);
  padding-bottom: 0.7em;
}
/* 電話番号 */
.right_block dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2px 6px;
  align-items: center;
}
.right_block dt {
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid #ccc;
  background: #f1f1f1;
  font-size: 15px;
  text-align: center;
}
.right_block dd a {
  font-size: 19px;
}
.dli-chevron-right {
  display: inline-block;
  vertical-align: middle;
  color: #177400;
  line-height: 1;
  width: 1em;
  height: 1em;
  border: 0.2em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateX(-25%) rotate(45deg);
}

/* -----------------------------------

カード下部（.work_block）

-----------------------------------*/
.work_block {
  padding: 2.5em 0 0;
}
.area-list {
  padding: 1.5em 0 3em;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  padding: 0.8em 0 0;
}

/* 工事カテゴリ（chip） */
.chip-cat {
  font-size: 15px;
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid #ccc;
  background: #f1f1f1;
}
/* 工事名（chip） */
.chip-work-grid {
  font-size: 15px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  padding-top: 0.8em;
}
.chip-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

/* 対応エリア内の市区町村表示 */
.area-city {
  white-space: nowrap;
}

.chip {
  display: inline-flex;
  align-items: center;
}

.area-city {
  white-space: nowrap;
}
/* 市区町村の一致ハイライト */
/* 工事メニューの一致ハイライト */
.area-city-hit,
.chip-work-hit {
  font-weight: 700;
  background: #ffdada;
  border-color: #d9534f;
  border: 1px solid #d9534f;
}

/* -----------------------------------

アコーディオン（対応可能工事）

-----------------------------------*/
.store-more {
  margin-top: 1.5em;
  font-size: 13px;
}
.store-more summary {
  cursor: pointer;
  list-style: none;
}
.store-more summary::-webkit-details-marker {
  display: none;
}
.store-more summary::before {
  content: "＋";
  display: inline-block;
  margin-right: 4px;
  font-weight: 700;
}
.store-more[open] summary::before {
  content: "－";
}
.store-more-body {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 4px;
  background: #fafafa;
}
.more-heading {
  margin: 0 0 4px;
  font-weight: 700;
}
.more-areas {
  margin: 0 0 8px;
}
.area-city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.area-city,
.area-city-hit {
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* ▼ 希望工事ヒット用チップ（既存チップを流用してOK） */
.chip-work-hit {
  border-color: #d9534f;
  font-weight: 600;
}

/* ///////////////////////////////////

選ばれる理由section

/////////////////////////////////// */
#reasons {
  padding: 3em 0;
}
#reasons .section_container {
  width: calc(100% - 0px);
}

/* 吹き出しデザインh2
------------------------------- */
#reasons h2 {
  position: relative;
  padding: 1.5rem 2rem;
  color: #fff;
  border-radius: 10px;
  background: #094;
}
#reasons h2:after {
  position: absolute;
  bottom: -9px;
  left: 1em;
  width: 0;
  height: 0;
  content: "";
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #094 transparent transparent transparent;
}
/* 理由黄色カード4つ
------------------------------- */
.reasons_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 2em;
}
/* 理由黄色カード単体
------------------------------- */
.reason {
  background-color: #fff7b4;
  padding: 18px;
  display: grid;
  gap: 8px;
}
/* めくれた紙風 */
.cstm-box-paper {
  padding: 2em 1.5em;
  position: relative;
}

.cstm-box-paper::after {
  position: absolute; /* 絶対位置指定 */
  content: ""; /* 擬似要素にコンテンツを表示しない */
  right: 0px; /* 右端に配置 */
  top: 0px; /* 上端に配置 */
  border-width: 0 25px 25px 0; /* 形状 */
  border-style: solid; /* 線の種類 */
  border-color: #b1af9d #f7faf7 #e7db79; /* 線の色 */
  box-shadow: -1px 1px 1px rgb(0 0 0 / 0.15); /* 影*/
}

/* ボックス内の段落 */
.cstm-box-paper p {
  margin: 0;
}
.reason .badge {
  width: 150px;
  height: 150px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  margin: auto;
}
.reason .badge img {
  display: block;
  width: min(100%, 150px);
  height: auto;
  margin: auto;
}
/* 太字の理由h3
------------------------------- */
.reason h3 {
  padding: 0.5em 0 0.2em;
  text-align: center;
  color: #4a4030;
  letter-spacing: 2px;
  font-size: clamp(20px, 1.8vw, 24px);
}
.reason p {
  color: rgb(88, 76, 76);
  font-size: clamp(15px, 1.8vw, 17px);
}

/* ///////////////////////////////////

施工事例section
（#cases）

/////////////////////////////////// */

/* 施工事例カード6つ
------------------------------- */
.case-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 2em;
}
/* 施工事例カード単体
------------------------------- */
.case-list article {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  display: grid;
}
/* カード下部
------------------------------ */
.case-list article .body {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
/* エリアバッチ */
.badge-area {
  display: inline-block;
  background: #eaf2ff;
  color: #244;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
}
/* 工事名（h3） */
.case-list article h3 {
  font-size: 15px;
  margin: 4px 0 0;
}
/* 施工会社名 */
.case-list article p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* ///////////////////////////////////

お知らせsection

/////////////////////////////////// */
#news {
  padding: 3em 0;
}
.note_top {
  width: calc(100% - 0px);
  margin: 0 auto;
  box-sizing: border-box;
  background-color: #fffbd7;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
.note_top h2 {
  padding: 1em 1em 0.5em;
  color: #4a4030;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
  gap: 0.5em;
}
.note_top h2 svg {
  display: block;
  width: min(100%, 30px);
  height: auto;
}

.note {
  position: relative;
  padding: 0.5em 2em 1.5em;
  border-radius: 5px;

  /* --- ここからが罫線の設定 --- */
  background-image: linear-gradient(#ebf1b2 1px, transparent 1px);
  background-size: 100% 1.5em;
  line-height: 2em; /* 文字の行の高さを線の間隔を調整 */
}
.note::before {
  content: "";
  position: absolute;
  top: 0;
  left: 120px;
  height: 100%;
  width: 2px;
  background: rgba(255, 0, 0, 0.4);
}

.note p {
  margin: 0; /* pタグのデフォルトマージンをリセット */
  padding: 0;
}

.news-list article {
  /* border-bottom: 1px solid #e5e7eb; */
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: left;
  gap: 2em;
}
.news-list article time {
  flex: 1;
  font-size: 13px;
  color: rgb(102, 95, 95);
}
.news-list article p {
  flex: 8;
  color: rgb(88, 76, 76);
}
.news-list article span {
  background-color: var(--main_red);
  color: #fff;
  padding: 0.3em 0.6em;
  font-size: 13px;
}

/* ///////////////////////////////////

ご利用の流れsection

/////////////////////////////////// */

/* 吹き出しデザインh2
------------------------------ */
#flow-section h2 {
  position: relative;
  padding: 1.5rem 2rem;
  color: #fff;
  border-radius: 10px;
  background: #094;
}

#flow-section h2:after {
  position: absolute;
  bottom: -9px;
  left: 1em;
  width: 0;
  height: 0;
  content: "";
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #094 transparent transparent transparent;
}

.flow_container {
  width: calc(100% - 0px);
  max-width: 820px;
  margin: 2em auto 0;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #f0f0f0;
  padding: 2em;
}

.flow_chart_block {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
  padding: 2em 0;
}

.flow_chart_block dd {
  line-height: 1.7;
}

.flow03 {
  position: relative;
}

.flow03::before {
  content: "";
  width: 15px;
  height: 100%;
  background: #eee;
  margin-left: -129px;
  display: block;
  position: absolute;
  top: 0;
  left: 120px;
  border-radius: 20px;
}

.flow03 > li {
  position: relative;
}

.flow03 > li:not(:last-child) {
  margin-bottom: 60px;
}

.flow03 > li .icon03 {
  font-size: 0.8em;
  width: 2em;
  height: 2em;
  line-height: 2;
  text-align: center;
  font-weight: bold;
  border-radius: 100vh;
  color: #fff;
  background: #029501;
  display: inline-block;
  margin-right: 0.3em;
}

.flow03 > li dl {
  padding-left: 70px;
  position: relative;
}

.flow03 > li dl::before,
.flow03 > li dl::after {
  content: "";
  display: block;
  position: absolute;
  top: 15px;
}

.flow03 > li dl::before {
  width: 7px;
  height: 7px;
  margin-top: -3px;
  background: #029501;
  border-radius: 50%;
  left: -4px;
}

.flow03 > li dl::after {
  width: 50px;
  border-bottom: 1px dashed #999;
  position: absolute;
  left: 5px;
}

.flow03 > li dl dt {
  font-size: 1.3em;
  font-weight: 600;
  color: #029501;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
}

/* ///////////////////////////////////

FAQ section

/////////////////////////////////// */
.faq_block {
  padding: 1em 0 0;
}

details.faq {
  padding: 0.5em 0;
  border-bottom: 1px solid #e4e4e4;
}

details.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  padding: 1em 0 1em 1em;
  font-size: clamp(16px, 1.8vw, 18px);
  letter-spacing: 1px;
}
details.faq summary::-webkit-details-marker {
  display: none;
}
.answer_wap {
  width: calc(100% - 30px);
  max-width: 820px;
  margin: 0 auto;
  padding: 2em 0;
  box-sizing: border-box;
}
.answer_wap p {
  color: var(--aside_gray);
}
/* よくある質問一覧ボタン */
.faq-more {
  width: calc(100% - 40px);
  max-width: 400px;
  margin: 0 auto;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  border: 2px solid transparent;
  padding: 12px 18px;
  margin: 2em auto 0;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  background: #2d7c2f;
  text-align: center;
}
.faq-more a {
  color: #fff;
}
.faq_a {
  position: relative;
  padding-bottom: 3em;
}
.faq_a::before {
  position: absolute;
  content: "A.";
  font-weight: bold;
  font-size: 30px;
  color: var(--main_bleu);
}

/* /////////////////////////////////// */

/* スティッキー問い合わせ */

/* /////////////////////////////////// */
.cta-band {
  max-width: 820px;
  margin: auto;
  background: var(--main_orang);
  color: #fff;
  border-radius: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
}
.cta-text p:nth-of-type(1) {
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: bold;
}
.cta-text p:nth-of-type(2) {
  font-size: clamp(13px, 1.8vw, 15px);
}

.cta-band .cta-actions {
  display: flex;
  gap: 12px;
}
.cta-band .cta-actions .btn:nth-of-type(1) {
  background-color: #fff;
}

/* -------------------------------

960px幅

------------------------------- */
@media (max-width: 960px) {
  #content #main #main_right {
    width: 100%;
  }
}

/* -------------------------------

768px幅

------------------------------- */
@media (max-width: 768px) {
  #index_main_right {
    width: 100%;
    margin: 0 auto;
    gap: unset;
  }
  .section_container {
    width: calc(100% - 0px);
  }
  /* お知らせ */
  #news {
    width: calc(100% - 40px);
    max-width: 820px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .news-list article {
    display: block;
  }
  .news-list article time {
    display: block;
  }
  .note::before {
    display: none;
  }
  /* フローチャート */
  .flow_container {
    padding: 1em;
  }
  #flow-section h2 {
    width: calc(100% - 30px);
    margin: auto;
  }
  .flow03 > li dl {
    padding-left: 55px;
  }
  details.faq {
    padding: 1em;
  }
  details.faq summary {
    padding: 0.51em 0 0.5em 0em;
  }
  .cta-band {
    border-radius: unset;
  }
  .cta-band {
    display: block;
  }
}

/* スマホレイアウト（縦並び） */
@media (max-width: 768px) {
  .hero {
    padding: 2em 0;
    flex-direction: column;
  }
  .hero-container {
    display: block;
  }

  .hero h1 {
    font-size: clamp(26px, 4.2vw, 44px);
    line-height: 1.25;
    padding: 0 0 0.5em;
  }
  .hero p.lead,
  .hero .btns {
    display: none;
  }
  .hero-right {
    width: 100%;
    max-width: 480px;
    padding: unset;
  }
  .top_slider {
    padding: 0;
  }
  .hero-right .slider-window {
    overflow: unset;
  }
  .kenchiku_wap {
    display: none;
  }

  /*-------------------------------
  絞り込み検索セクション
  ------------------------------- */
  #area_search {
    width: calc(100% - 0px);
    max-width: 820px;
    box-sizing: border-box;
    border: unset;
    border-radius: unset;
    margin: 0 auto;
  }
  /* 工事カテゴリ装飾凝る */
  .work-cat-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5em;
  }
  .work-cat-group {
    gap: 8px;
  }
  .work-cat-label {
    font-size: 0.9rem;
  }

  /* カードの枠 */
  .top_block {
    display: block;
  }
  /* 会社名 */
  .right_block h4 {
    padding-bottom: 0.5em;
  }
  .store-address {
    padding-bottom: unset;
  }
  .right_block dl {
    display: block;
  }
  #areaResult .store-thumb {
    width: 100%;
    height: auto;
    padding-bottom: 1em;
  }
  .box_batch img {
    left: 5%;
    width: 35px;
  }
  .dli-chevron-right {
    display: none;
  }
  .store-cards {
    padding: 0;
  }
  /* 対応エリアchip */
  .area-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5em;
  }
  /* 対応工事chip */
  .chip-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /*-------------------------------
   選ばれる理由セクション
  ------------------------------- */
  #reasons {
    background-color: var(--bg_gray_green);
    padding: 5em 0;
    width: calc(100% - 40px);
    margin: 0 auto;
    box-sizing: border-box;
  }
  .reasons_container {
    grid-template-columns: 1fr;
  }

  .cstm-box-paper {
    padding: 1em 1.5em 1.2em;
  }
  .badge_h3_block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;
    gap: 1em;
  }
  .reason .badge {
    width: 80px;
    height: 80px;
    margin: unset;
    padding: 0.6em;
    background-color: #ffffff;
    border: 2px solid #ebe18e;
  }
  .reason h3 {
    text-align: left;
    flex: 2;
  }

  /*-------------------------------
   施工事例セクション
  ------------------------------- */
  .case-list {
    grid-template-columns: 1fr;
  }
  #flow-section {
    margin: 5em 0 0;
  }

  /* ------------------------------
  よくあるご質問
  ------------------------------ */
  #faq {
    margin: 5em 0;
  }
}
