.hre2 {
  --white: #fff;
  --brown: #534942;
  --red: #e83820;
  --blue: #0053b7;
  --yellow: #ffd55a;
  --light-yellow: #fff0a5;
  --light-orange: #fff4d3;
  --dark-orange: #f07b23;

  --arrow: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M9.42114 2.82373L13.8917 7.19075C14.3153 7.60486 14.3153 8.29197 13.8917 8.70608L9.42114 13.0731" stroke="black" stroke-width="1.88235" stroke-linecap="round" stroke-linejoin="round"/><path d="M0.941162 7.94336H13.5905" stroke="black" stroke-width="1.88235" stroke-linecap="round" stroke-linejoin="round"/></svg>');

  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--brown);
  overflow-x: hidden;
}
@media screen and (max-width: 768px) {
  .hre2 {
    font-size: 1.4rem;
  }
}

.hre2 img {
  display: block;
  width: 100%;
}

@media screen and (max-width: 768px) {
  .breadcrumb {
    border-bottom: none;
  }
  .service-detail-items {
    width: 100%;
  }
  .content-wrapper {
    padding-top: 0;
  }
}

/* --------------------- */
/* 共通パーツ */
/* --------------------- */
/* ボタン */
.btn {
  display: grid;
  place-content: center;
  width: min(100%, 330px);
  height: 56px;
  border: 2px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 0 0 var(--white);
  text-decoration: none !important;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  position: relative;
}

.btn::after {
  content: "";
  -webkit-mask-image: var(--arrow);
  mask-image: var(--arrow);
  width: 16px;
  height: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

.btn--white {
  border: 2px solid var(--brown);
  background: var(--white);
  box-shadow: 0 4px 0 0 var(--brown);
  color: var(--brown) !important;
}
.btn--white::after {
  background-color: var(--brown);
}

.btn--red {
  background: var(--red);
  color: var(--white) !important;
}
.btn--red::after {
  background-color: var(--white);
}

.btn--blue {
  background: var(--blue);
  color: var(--white) !important;
}
.btn--blue::after {
  background-color: var(--white);
}

.attention {
  margin-top: 8px;
}
@media screen and (max-width: 768px) {
  .attention {
    max-width: 560px;
    margin-top: 16px;
  }
}

/* 注意事項 */
.annotation {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 400;
}

.annotation--bold {
  color: var(--dark-orange);
  font-weight: 700;
}

.marker {
  background: linear-gradient(transparent 60%, var(--light-yellow) 0%);
  font-weight: 700;
}

/* --------------------- */
/* セクション */
/* --------------------- */
/* メインビジュアル */
.mv,
.present {
  background: var(--light-orange);
  position: relative;
}

.mv::before {
  content: "";
  background: url("https://www.haseko.co.jp/branchera/assets/hre2/mv-bg-pc.svg")
    no-repeat center / cover;
  width: 100%;
  aspect-ratio: 700 / 138;
  position: absolute;
  inset: 0;
}
@media screen and (max-width: 768px) {
  .mv::before {
    background: url("https://www.haseko.co.jp/branchera/assets/hre2/mv-bg-sp.svg")
      no-repeat center / cover;
    aspect-ratio: 390 / 130;
  }
}

.mv_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 40px 40px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .mv_inner {
    padding: 40px 10px 31px;
  }
}

@media screen and (max-width: 768px) {
  .mv-title {
    width: min(calc(353 / 390 * 100vw), 560px);
  }
}

.mv-main {
  margin-top: 32px;
}
@media screen and (max-width: 768px) {
  .mv-main {
    width: min(calc(370 / 390 * 100vw), 560px);
    margin-top: 16px;
  }
}

.mv .btn,
.present .btn {
  margin-top: 12px;
}
@media screen and (max-width: 768px) {
  .mv .btn,
  .present .btn {
    margin-top: 20px;
  }
}

/* アコーディオン */
.accordion {
  width: 100%;
  margin-top: 24px;
  border-radius: 8px;
  border: 2px solid var(--brown);
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .accordion {
    width: 330px;
  }
}

.accordion-header {
  display: grid;
  place-content: center;
  width: 100%;
  height: 56px;
  border-radius: 8px 8px 0 0;
  background: var(--yellow);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  cursor: pointer;
  position: relative;
}
@media screen and (max-width: 768px) {
  .accordion-header {
    font-size: 1.6rem;
  }
}

.accordion-header::before,
.accordion-header::after {
  content: "";
  background: var(--brown);
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
}

.accordion-header::before {
  width: 18px;
  height: 2px;
  right: 19px;
}
@media screen and (max-width: 768px) {
  .accordion-header::before {
    width: 14px;
  }
}

.accordion-header::after {
  width: 2px;
  height: 18px;
  right: 27px;
  transition: opacity 0.3s ease;
}
@media screen and (max-width: 768px) {
  .accordion-header::after {
    height: 14px;
    right: 25px;
  }
}

.accordion-item:has(.open) .accordion-header::after {
  opacity: 0;
}

.accordion-body {
  height: 0;
  background: var(--white);
  overflow: hidden;
  transition: height 0.3s ease;
}

.accordion-body_inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 20px 24px 28px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .accordion-body_inner {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 20px;
  }
}

.accordion-body_inner::before {
  content: "";
  width: 1px;
  height: 100%;
  background: var(--yellow);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 768px) {
  .accordion-body_inner::before {
    content: none;
  }
}

.accordion-cont_head {
  display: block;
  padding: 4px 24px;
  border-radius: 4px;
  color: var(--white);
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 768px) {
  .accordion-cont_head {
    font-size: 1.4rem;
  }
}

.accordion-cont_head--red {
  background: var(--red);
}

.accordion-cont_head--blue {
  background: var(--blue);
}

.accordion-cont_lists {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
@media screen and (max-width: 768px) {
  .accordion-cont_lists {
    gap: 4px;
    margin-top: 8px;
  }
}

.accordion-text {
  font-size: 1.3rem;
}

.accordion-text_head {
  font-size: 1.4rem;
  font-weight: 700;
}

.accordion-img {
  margin-top: 8px;
  margin-inline: auto;
}

.accordion-img--sm {
  max-width: 208px;
}

.accordion-img--lg {
  max-width: 270px;
}
@media screen and (max-width: 768px) {
  .accordion-img--lg {
    max-width: 290px;
  }
}

/* 特別な優待 */
.present {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 40px 32px;
}
@media screen and (max-width: 768px) {
  .present {
    padding: 64px 24px 56px;
  }
}

.present-title {
  max-width: 437px;
}

.present-main {
  margin-top: 16px;
}
@media screen and (max-width: 768px) {
  .present-main {
    max-width: 560px;
    margin-top: 24px;
  }
}

/* cv */
.cv {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px 40px;
  background: var(--brown);
  color: var(--white);
}
@media screen and (max-width: 768px) {
  .cv {
    gap: 32px;
    padding: 32px 10px 40px;
  }
}

.cv-head {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 768px) {
  .cv-head {
    font-size: 1.8rem;
  }
}

.cv-btn {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media screen and (max-width: 768px) {
  .cv-btn {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* list */
.lists {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: fit-content;
  margin-inline: auto;
}

.lists_item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 4px;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  position: relative;
}
@media screen and (max-width: 768px) {
  .lists_item {
    font-size: 1.6rem;
  }
}

.lists_item .annotation {
  margin-top: 8px;
}

.lists_item::before {
  content: "";
  width: 100%;
  aspect-ratio: 1 / 1;
}

.lists_item--white::before {
  background: url("https://www.haseko.co.jp/branchera/assets/hre2/icon-check_white.png")
    no-repeat center / cover;
}

.lists_item--yellow::before {
  background: url("https://www.haseko.co.jp/branchera/assets/hre2/icon-check_yellow.png")
    no-repeat center / cover;
}

/* sec1 */
.sec1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  background: var(--light-yellow);
}
@media screen and (max-width: 768px) {
  .sec1 {
    padding: 40px 18.5px 17px;
  }
}

.sec1-title {
  max-width: 390px;
}
@media screen and (max-width: 768px) {
  .sec1-title {
    max-width: 302px;
  }
}

.sec1-title2 {
  max-width: 376px;
  margin-top: 34px;
}
@media screen and (max-width: 768px) {
  .sec1-title2 {
    max-width: 299px;
  }
}

.sec1-lists {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: min(100%, 560px);
  margin-top: 48px;
}

.sec1-item {
}

.sec1-item_head {
  padding: 12px;
  border-radius: 24px 24px 0 0;
  background: var(--yellow);
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .sec1-item_head {
    font-size: 1.6rem;
  }
}

.sec1-item_q {
  display: grid;
  justify-content: center;
  width: 80px;
  padding-top: 11px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--yellow);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -24px);
  z-index: -1;
}

.sec1-item_q img {
  width: 28px;
}

.sec1-item_body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--yellow);
  border-radius: 0 0 24px 24px;
  background: var(--white);
}

.sec1-item_img {
  margin-inline: auto;
}

.sec1-item_img-sm {
  max-width: 204px;
}

.sec1-item_img-lg {
  max-width: 300px;
}

.sec1-speech {
  max-width: 634px;
  margin-top: 28px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .sec1-speech {
    max-width: 353px;
  }
}

/* sec2 */
.sec2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 40px 0;
  background: var(--yellow);
  position: relative;
}
@media screen and (max-width: 768px) {
  .sec2 {
    gap: 24px;
    padding: 24px 15.5px 40px;
  }
}

.sec2::before,
.sec2::after {
  content: "";
  width: 50%;
  height: 120px;
  background: var(--yellow);
  position: absolute;
  top: 1px;
  transform: translateY(-100%);
}

.sec2::before {
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  left: 0;
}

.sec2::after {
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  right: 0;
}

.sec2-title {
  max-width: 558px;
}
@media screen and (max-width: 768px) {
  .sec2-title {
    max-width: 390px;
    margin-inline: -15.5px;
  }
}

.sec2-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 560px);
  padding: 24px;
  border-radius: 24px;
  background: var(--light-orange);
}

.sec2-box_text {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.sec2-box_text--lg {
  font-size: 2.8rem;
}

.sec2-maru {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  max-width: 560px;
}
@media screen and (max-width: 768px) {
  .sec2-maru {
    gap: 8px;
  }
}

.sec2-maru_main {
  display: grid;
  grid-template-columns: repeat(2, 246px);
  gap: 24px;
}
@media screen and (max-width: 768px) {
  .sec2-maru_main {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.sec3 {
  padding: 56px 0;
}

.sec3-lists {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media screen and (max-width: 768px) {
  .sec3-lists {
    gap: 32px;
  }
}

.sec3-item {
  padding: 16px 0 48px;
  border-radius: 24px;
  background: var(--light-yellow);
}
@media screen and (max-width: 768px) {
  .sec3-item {
    padding: 8px 20px 40px;
  }
}

.sec3-feature {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-inline: auto;
  padding-bottom: 4px;
  position: relative;
}
.sec3-feature::after {
  content: "";
  width: 74px;
  height: 2px;
  background: url("https://www.haseko.co.jp/branchera/assets/hre2/deco-dashed.svg")
    no-repeat center / cover;
  position: absolute;
  bottom: 0;
}

.sec3-feature_text {
  display: block;
  width: fit-content;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.sec3-feature_number {
  display: block;
  width: 27px;
}

.sec3-head {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-block: calc((1em - 1lh) / 2);
  margin-top: 16px;
}

.sec3-head--lg {
  display: block;
  font-size: 3.2rem;
}
@media screen and (max-width: 768px) {
  .sec3-head--lg {
    font-size: 2.8rem;
  }
}

.sec3-speech {
  height: 132px;
  margin-top: 32px;
}

.sec3-speech img {
  width: auto;
  height: 100%;
  margin-inline: auto;
}

.sec3-box {
  max-width: 560px;
  margin-inline: auto;
  margin-top: -24px;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  .sec3-box {
    margin-top: -32px;
  }
}

.sec3-box_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 24px 24px 0 0;
  background: var(--dark-orange);
  color: var(--white);
}
@media screen and (max-width: 768px) {
  .sec3-box_head {
    gap: 12px;
  }
}

.sec3-box_head_text {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 768px) {
  .sec3-box_head_text {
    font-size: 1.6rem;
  }
}

.sec3-box_head_text--lg {
  display: block;
  font-size: 2.8rem;
}
@media screen and (max-width: 768px) {
  .sec3-box_head_text--lg {
    font-size: 2.2rem;
  }
}

.sec3-box_head_img {
  display: block;
  width: 333px;
}
@media screen and (max-width: 768px) {
  .sec3-box_head_img {
    width: 252px;
  }
}

.sec3-box_body {
  padding: 20px 40px 28px;
  border-radius: 0 0 24px 24px;
  background: var(--white);
}
@media screen and (max-width: 768px) {
  .sec3-box_body {
    padding: 16px 20px 24px;
  }
}

.sec3-figure {
  max-width: 360px;
  margin-inline: auto;
}
@media screen and (max-width: 768px) {
  .sec3-figure {
    margin-top: 16px;
  }
}
