
/* =========================
  TOP4コンテンツ枠
========================= */
.dental_plan {
  background: #eef3f7;
  padding: 40px 20px 60px;
  max-width: 1250px;
  margin: 0 auto;
  border-radius: 10px;
}

.plan_inner {
  max-width: 1000px;
  margin: 0 auto;
}

.plan_title {
  margin: 0;
  text-align: center;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  color: #222;
}

.plan_subtitle {
  margin: 0 0 50px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
}

.plan_subtitle span {
  font-size: 18px;
  display: block;
}

.plan_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.plan_card {
  position: relative;
  padding: 30px 30px 10px;
  background: linear-gradient(315deg, #1872bd 0%, #2f8bd3 100%);
  border: 10px solid #d6e7f5;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  border-radius: 20px;
}

.point_badge {
  position: absolute;
  top: -16px;
  right: -16px;
  display: flex;
  align-items: center;
}

.point_label {
  position: relative;
  z-index: 1;
  padding: 4px 18px 5px;
  background: #ffffff;
  color: #5c9ad2;
  font-size: 20px;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  margin-bottom: 35px;
  margin-right: -15px;
}

.point_number {
  width: 80px;
  height: 80px;
  margin-left: -3px;
  border-radius: 50%;
  background: #fff;
  border: 8px solid #4c88c8;
  color: #1d67b2;
  font-size: 46px;
  font-weight: 900;
  line-height: 60px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.card_lead {
  margin: 0 0 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

.card_title {
  margin: 0 0 20px;
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.16;
  text-shadow: 0 6px 8px rgba(0, 0, 0, 0.12);
}

.card_list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.card_list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.8;
}

.card_list li::before {
  content: "○";
  position: absolute;
  left: 0;
  top: 0;
}

.card_list li.void::before {
  content: none;
  position: absolute;
  left: 0;
  top: 0;
}



@media screen and (max-width: 1199px) {
  .dental_plan {
      background: #eef3f7;
      padding: 40px 20px 40px;
      max-width: 1250px;
      margin: 0 auto;
      border-radius: 10px;
  }
}

@media screen and (max-width: 990px) {
.dental_plan {
    background: #eef3f7;
    padding: 40px 20px 30px;
    max-width: 1250px;
    margin: 0 auto;
    border-radius: 10px;
}
}


@media screen and (max-width: 767px) {
  .dental_plan {
    padding: 0 20px 20px;
  }

  .plan_title {
    font-size: 42px;
  }

  .plan_subtitle {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    padding: 20px 0 20px;
    margin: 0;
  }

  .plan_grid {
    grid-template-columns: 1fr;
  }

  .plan_card {
    padding: 34px 24px 24px;
  }

  .card_lead {
    font-size: 18px;
  }

  .card_title {
    font-size: 28px;
  }

  .point_number {
    width: 78px;
    height: 78px;
    font-size: 38px;
    line-height: 62px;
  }

  .point_label {
    font-size: 16px;
  }

  .card_list li {
    font-size: 16px;
  }
}


/* =========================
  保険料テーブル
========================= */
.insurance_fee {
  /* background: #f2f2f2; */
  padding: 40px 20px;
}

.insurance_fee_inner {
  /* max-width: 1200px; */
  margin: 0 auto;
}

.insurance_fee_head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 24px;
}

.insurance_fee_title_wrap {
  display: flex;
  align-items: center;
  gap: 15px;
}

.insurance_fee_icon {
  width: 64px;
  height: 64px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(109, 158, 211, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.insurance_fee_icon img {
  width: 38px;
}

.insurance_fee_title {
  margin: 0;
  color: #3d3d3d;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.2;
}

.insurance_fee_rank {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insurance_fee_rank_item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.price_en {
  font-size: 18px;
}

.rank_label {
  min-width: 78px;
  padding: 5px 0;
  border-radius: 999px;
  background: #8fb1d6;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.rank_text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* table */
.insurance_fee_table_wrap {
  overflow-x: auto;
}

.insurance_fee_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
  table-layout: fixed;
}

.insurance_fee_table th,
.insurance_fee_table td {
  padding: 22px 16px;
  background: #f1f1f1;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
}

/* 左列 */
.insurance_fee_table th.table_side_head {
  width: 130px;
  background: #8fb1d6;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.table_side_head small {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

/* A B C */
.insurance_fee_table th.table_head {
  padding-top: 15px;
  padding-bottom: 15px;
}

.machine_label {
  display: block;
  margin-bottom: 18px;
  padding: 12px 0;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  border-radius: 5px;
}

.table_head_a .machine_label {
  background: #8dc9a7;
}

.table_head_b .machine_label {
  background: #ebb05d;
}

.table_head_c .machine_label {
  background: #df96a8;
}

.machine_name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 保険料行 */
.insurance_fee_table .insurance_fee_row th,
.insurance_fee_row td {
  padding: 0;
}

/* 1級 / 2級 */
.insurance_fee_table th.insurance_fee_grade_cell {
  background: #8fb1d6;
}

.insurance_fee_grade_cell span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.insurance_fee_grade_cell span:first-child {
  border-bottom: 4px solid #f2f2f2;
}

.fee_cell span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 78px;
  background: #e7e7e7;
  font-size: 20px;
  font-weight: 500;
}

.fee_cell span:first-child {
  border-bottom: 4px dotted #ffffff;
}

/* 注釈 */
.insurance_fee_note {
  margin-top: 10px;
  font-size: 16px;
}

/* =========================
  タブレット
========================= */
@media screen and (max-width: 1199px) {
  .insurance_fee {
    padding: 40px 0px;
  }
}

@media screen and (max-width: 990px) {
  .insurance_fee {
    padding: 40px 0;
  }
}



@media screen and (max-width: 767px) {

  .insurance_fee {
    padding: 40px 0;
  }

  .insurance_fee_inner {
    overflow: hidden;
  }

  /* タイトル */
  .insurance_fee_head {
    display: block;
    margin-bottom: 20px;
  }

  .insurance_fee_title_wrap {
    gap: 12px;
    margin-bottom: 18px;
  }

  .insurance_fee_icon {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }

  .insurance_fee_title {
    font-size: 24px;
  }

  /* 1級2級説明 */
  .insurance_fee_rank {
    gap: 10px;
  }

  .insurance_fee_rank_item {
    align-items: flex-start;
    gap: 10px;
  }

  .rank_label {
    min-width: 54px;
    padding: 4px 0;
    font-size: 16px;
  }

  .rank_text {
    font-size: 14px;
    line-height: 1.6;
  }

  /* テーブル */
  .insurance_fee_table_wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
  }

  .insurance_fee_table {
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
  }

  .insurance_fee_table th,
  .insurance_fee_table td {
    border: 3px solid #fff;
    padding: 14px 10px;
    font-size: 18px;
    line-height: 1.4;
    white-space: nowrap;
    background: #f2f2f2;
  }

  /* 左固定列 */
  .insurance_fee_table .table_side_head {
    position: sticky;
    left: 0;
    z-index: 20;
    width: 110px;
    min-width: 110px;
    background: #8fb1d6 !important;
    background-clip: padding-box;
    color: #fff;
    font-size: 18px;
  }

  .table_side_head small {
    display: block;
    font-size: 12px;
    line-height: 1.4;
  }

  /* 1級2級 */
  .insurance_fee_table .insurance_fee_grade_cell {
    position: sticky;
    left: 65px;
    z-index: 21;
    width: 58px;
    min-width: 58px;
    /* background: #8fb1d6 !important; */
    background-clip: padding-box;
    /* box-shadow: 6px 0 0 #8fb1d6; */
  }

  .insurance_fee_grade_cell span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    font-size: 16px;
    font-weight: 500;
  }

  /* A B C */
  .table_head {
    position: relative;
    z-index: 1;
  }

  .machine_label {
    height: 28px;
    margin-bottom: 10px;
    padding: 0;
    font-size: 24px;
  }

  .machine_name {
    min-height: 72px;
    font-size: 16px;
    line-height: 1.5;
  }

  /* 保険料金額 */
  .insurance_fee_row th,
  .insurance_fee_row td {
    padding: 0;
  }

  .insurance_fee_title_cell {
    font-size: 18px;
  }

  .fee_cell {
    position: relative;
    z-index: 1;
  }

  .fee_cell span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    font-size: 18px;
  }

  /* 注釈 */
  .insurance_fee_note {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.9;
  }

}


/* tableスクロール */
@media screen and (max-width: 767px) {

  .insurance_fee_table_wrap {
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* スクロール案内 */
  .insurance_fee_table_wrap::after {
    content: "← 横にスクロールできます →";
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 30;

    padding: 8px 14px;
    border-radius: 999px;

    background: rgba(0, 0, 0, 0.72);
    color: #fff;

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    pointer-events: none;

    animation: scroll_guide 1.8s infinite;

    transition:
      opacity 0.3s ease,
      visibility 0.3s ease;
  }

  /* スクロール後に消す */
  .insurance_fee_table_wrap.is_scrolled::after {
    opacity: 0;
    visibility: hidden;
  }

  @keyframes scroll_guide {

    0% {
      transform: translateX(0);
      opacity: 0.7;
    }

    50% {
      transform: translateX(-8px);
      opacity: 1;
    }

    100% {
      transform: translateX(0);
      opacity: 0.7;
    }

  }

}





/* =========================
  保険加入のパターン
========================= */
.insurance_pattern {
  /* max-width: 1200px; */
  padding: 40px 20px;
}

/* タイトル */
.insurance_pattern__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.insurance_pattern__icon {
  width: 64px;
  height: 64px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(109, 158, 211, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.insurance_pattern__icon img {
  width: 44px;
}

.insurance_pattern__head h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* 全体ボックス */
.insurance_pattern__table {
  border: 10px solid #edf1f7;
  background: #fff;
}

/* 上段 */
.insurance_pattern__table {
  display: grid;
  grid-template-columns: 1fr 70px 0.9fr;
}

/* 左側 */
.insurance_pattern__left {
  display: flex;
}

.insurance_pattern__label {
  width: 70px;
  background: #aebfdc;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.insurance_pattern__rows {
  flex: 1;
}

.insurance_pattern__row {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  border-bottom: 2px solid #d7e1ef;
  padding-left: 30px;
}

.insurance_pattern__row:last-child {
  border-bottom: none;
}

/* 中央ラベル */
.insurance_pattern__center {
  background: #9bb6d6;
  color: #fff;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 2px;
}

/* 右側 */
.insurance_pattern__right {
  display: flex;
  flex-direction: column;
}

.insurance_pattern__single {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  border-bottom: 2px solid #d7e1ef;
  padding-left: 30px;
}

.insurance_pattern__single:last-child {
  border-bottom: none;
}

/* プランボックス */
.plan_group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan {
  width: 50px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  border-radius: 5px;
}

.plan_single {
  width: 100px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  border-radius: 5px;
}

.plan_a {
  background: #93c8aa;
}

.plan_b {
  background: #e8b453;
}

.plan_c {
  background: #e2a0b0;
}

.plus {
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.insurance_pattern__row p,
.insurance_pattern__single p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

/* 下部テキスト*/
.insurance_pattern__bottom {
  grid-column: 1 / -1;
  border-top: 2px solid #d7e1ef;
  padding: 28px 20px;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
}

/* 注釈 */
.insurance_pattern__note {
  margin-top: 10px;
  font-size: 16px;
}


/* =========================
  タブレット
========================= */
@media screen and (max-width: 1199px) {
  .insurance_pattern {
    padding: 40px 0px;
  }

  .insurance_pattern__row {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    border-bottom: 2px solid #d7e1ef;
    padding-left: 30px;
  }

  .insurance_pattern__single {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    border-bottom: 2px solid #d7e1ef;
    padding-left: 30px;
  } 
}


@media screen and (max-width: 990px) {
  .insurance_pattern {
    padding: 0;

  }
  .insurance_pattern__head h2 {
    font-size: 24px;
  }

  .insurance_pattern__table {
    grid-template-columns: 1fr;
  }

  .insurance_pattern__left {
    flex-direction: column;
  }

  .insurance_pattern__label,
  .insurance_pattern__center {
    writing-mode: horizontal-tb;
    width: 100%;
    height: 60px;
    font-size: 22px;
  }

  .insurance_pattern__center {
    min-height: auto;
  }

  .insurance_pattern__row,
  .insurance_pattern__single {
    min-height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20px 10px 10px;
    gap: 8px;
    padding-left: 0;
  }

  .plan {
    width: 50px;
    height: 35px;
    font-size: 20px;
  }

  .insurance_pattern__row p,
  .insurance_pattern__single p {
    font-size: 18px;
  }

  .insurance_pattern__bottom {
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
  }

  .insurance_pattern__note {
    font-size: 14px;
    line-height: 1.7;
  }

  .plan_single {
    width: 50px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
  }

}



/* =========================
  SP
========================= */
@media screen and (max-width: 768px) {

  .insurance_pattern {
    padding: 0;

  }
  .insurance_pattern__head h2 {
    font-size: 24px;
  }

  .insurance_pattern__table {
    grid-template-columns: 1fr;
  }

  .insurance_pattern__left {
    flex-direction: column;
  }

  .insurance_pattern__label,
  .insurance_pattern__center {
    writing-mode: horizontal-tb;
    width: 100%;
    height: 60px;
    font-size: 22px;
  }

  .insurance_pattern__center {
    min-height: auto;
  }

  .insurance_pattern__row,
  .insurance_pattern__single {
    min-height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0;
    gap: 8px;
  }

  .plan {
    width: 50px;
    height: 35px;
    font-size: 20px;
  }

  .insurance_pattern__row p,
  .insurance_pattern__single p {
    font-size: 18px;
  }

  .insurance_pattern__bottom {
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    padding: 20px;
  }

  .insurance_pattern__note {
    font-size: 14px;
    line-height: 1.7;
  }

  .plan_single {
    width: 50px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
  }
}







/* =========================
  補償対象機器
========================= */

.device_section {
  padding: 20px;
  background: #edf2f7;
  border-radius: 10px;
  margin: 0 20px;
}

.device_content {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
}

.device_content .target_block:nth-child(3) {
  margin-bottom: 0;
}

/* タイトル */
.device_heading {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 24px;
}

.device_heading_icon {
  width: 66px;
  height: 66px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(109, 158, 211, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.device_heading_icon img {
  width: 44px;
}

.device_heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.device_subject_img {
  margin-left: auto;
}

.device_subject_img img {
  width: 500px;
}

.target_block {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 20px;
  align-items: center;
}

/* =========================
  左ボックス
========================= */
.target_box {
  width: 320px;
  /* min-height: 100px; */
  padding: 20px 18px;
  border: 4px solid;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  border-radius: 5px;
}

/* 緑 */
.target_box_green {
  border-color: #9ccfb0;
}

.target_label_green {
  background: #9ccfb0;
}

/* オレンジ */
.target_box_orange {
  border-color: #f6bc5c;
}

.target_label_orange {
  background: #f6bc5c;
}

/* ピンク */
.target_box_pink {
  border-color: #f3aaba;
}

.target_label_pink {
  background: #f3aaba;
}



/* ラベル */
.target_label {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0;
  border-radius: 5px;
}

.target_box p {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

/* =========================
  右リスト
========================= */
.target_list {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.target_list li {
  position: relative;
  padding-left: 28px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

/* 2列 */
.target_list li:nth-child(1),
.target_list li:nth-child(2),
.target_list li:nth-child(3),
.target_list li:nth-child(4) {
  /* width: calc(50% - 13px); */
  box-sizing: border-box;
  width: 300px;
  white-space: nowrap;
}

/* 最下段 */
.target_list li:nth-child(5) {
  width: 100%;
}

/* ドット */
.target_list li::before {
  content: "";
  width: 20px;
  height: 20px;
  border-radius: 50%;
  position: absolute;
  top: 6px;
  left: 0;
}

/* 緑 */
.target_list_green li::before {
  background: #86c8a1;
}

/* オレンジ */
.target_list_orange li::before {
  background: #f6bc5c;
}

/* 緑 */
.target_list_pink li::before {
  background: #f3aaba;
}



/* =========================
  タブレット
========================= */
@media screen and (max-width: 1199px) {
  .device_section {
    padding: 20px 10px 10px;
    background: #edf2f7;
    border-radius: 10px;
    margin: 40px 0 0 0;
  }

  .device_content {
      background: #fff;
      padding: 20px 20px 10px;
  }

  .target_block {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
  }

  .target_box {
    width: 100%;
    min-height: auto;
    padding: 10px;
  }

  .target_label {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .target_box p {
    font-size: 20px;
  }

  .target_list {
    display: block;
    width: 100%;
  }

  .target_block .target_list li {
    width: 100%;
    font-size: 16px;
    line-height: 1.8;
    padding-left: 22px;
    white-space: normal;
  }

  .target_list li + li {
    margin-top: 4px;
  }

  .target_list li::before {
    width: 14px;
    height: 14px;
    top: 8px;
  }

  .device_subject_img {
    display: none;
  }

}

@media screen and (max-width: 990px) {
  .device_section {
    padding: 20px 10px 10px;
    background: #edf2f7;
    border-radius: 10px;
    margin: 40px 0 0;
  }

  .device_content {
      background: #fff;
      padding: 20px 20px 10px;
  }

  .target_block {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
  }

  .target_box {
    width: 100%;
    min-height: auto;
    padding: 10px;
  }

  .target_label {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .target_box p {
    font-size: 20px;
  }

  .target_list {
    display: block;
    width: 100%;
  }

  .target_block .target_list li {
    width: 100%;
    font-size: 16px;
    line-height: 1.8;
    padding-left: 22px;
    white-space: normal;
  }

  .target_list li + li {
    margin-top: 4px;
  }

  .target_list li::before {
    width: 14px;
    height: 14px;
    top: 8px;
  }

  .device_subject_img {
    display: none;
  }

}



/* =========================
  SP
========================= */
@media screen and (max-width: 768px) {

  .device_section {
    padding: 20px 10px 10px;
    background: #edf2f7;
    border-radius: 10px;
    margin: 40px 0 0 0;
  }

  .device_content {
      background: #fff;
      padding: 20px 20px 10px;
  }

  .target_block {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
  }

  .target_box {
    width: 100%;
    min-height: auto;
    padding: 10px;
  }

  .target_label {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .target_box p {
    font-size: 20px;
  }

  .target_list {
    display: block;
    width: 100%;
  }

  .target_block .target_list li {
    width: 100%;
    font-size: 16px;
    line-height: 1.8;
    padding-left: 22px;
    white-space: normal;
  }

  .target_list li + li {
    margin-top: 4px;
  }

  .target_list li::before {
    width: 14px;
    height: 14px;
    top: 8px;
  }

  .device_subject_img {
    display: none;
  }

}







/* =========================
  よくある質問
========================= */

.faq_section {
  background: #edf2f7;
  border-radius: 10px;
  padding: 40px;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  margin: 40px 20px;
}

/* =========================
  タイトル
========================= */
.faq_heading {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 30px;
}

.faq_heading_icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #8fb8df;
  border: 6px solid #c8dff1;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.faq_heading_text {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.faq_heading_text h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

.faq_heading_text p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

/* =========================
  FAQ
========================= */
.faq_item + .faq_item {
  margin-top: 20px;
}

/* 質問 */
.faq_question {
  background: #98bfe3;
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 28px;
  box-sizing: border-box;
  border-radius: 5px 5px 0 0;
}

.faq_question_mark {
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0;
}

.faq_question p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
}

/* 回答 */
.faq_answer {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 15px 28px 10px;
  background: #fff;
  border-radius: 0 0 5px 5px;
}

.faq_answer_mark {
  color: #8fb8df;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  flex-shrink: 0;
}

.faq_answer p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.faq_answer_body p + p {
  margin-top: 6px;
}



/* =========================
  タブレット
========================= */
@media screen and (max-width: 1199px) {
  .faq_section {
    background: #edf2f7;
    border-radius: 10px;
    padding: 40px;
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    margin: 40px 0;
  }
}


@media screen and (max-width: 990px) {
  .faq_section {
    background: #edf2f7;
    border-radius: 10px;
    padding: 20px;
    font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
    margin: 40px 0;
  }
}



/* =========================
  SP
========================= */
@media screen and (max-width: 768px) {

  .faq_section {
    padding: 20px 18px 20px;
    border-radius: 16px;
    margin: 40px 0 20px;
  }

  .faq_heading {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .faq_heading_icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
    border-width: 6px;
  }

  .faq_heading_text {
    display: block;
  }

  .faq_heading_text h2 {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .faq_heading_text p {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
  }

  .faq_question {
    padding: 12px 16px;
    gap: 12px;
  }

  .faq_question_mark {
    font-size: 28px;
  }

  .faq_question p {
    font-size: 18px;
    line-height: 1.6;
  }

  .faq_answer {
    padding: 15px;
    gap: 12px;
  }

  .faq_answer_mark {
    font-size: 30px;
  }

  .faq_answer p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
  }

}







/* =========================
  重要事項のご説明
========================= */
.info_section_text {
  margin: 60px 20px 20px;
  font-weight: 500;
}
.info_section {
  background: #f4f4f4;
  padding: 40px;
  margin: 10px 20px 40px;
  border-radius: 10px;
}

.info_heading {
  display: flex;
  justify-content: space-between;
  border-left: 16px solid #92b9e3;
  padding-left: 20px;
}

.info_text_box {
  margin-top: 20px;
}

.info_subtitle {
  font-size: 16px;
}

.info_caution_title {
  font-size: 18px;
  color: #d94473;
  margin-bottom: 0;
}
.info_title {
  font-size: 24px;
  font-weight: bold;
}

.info_text {
  font-size: 16px;
  margin-bottom: 18px;
}

.info_text span {
  text-decoration: underline;
}

.info_qr_img {
  width: 80px;
  height: 80px;
}



/* =========================
  タブレット
========================= */
@media screen and (max-width: 1199px) {
  .info_section {
    background: #f4f4f4;
    padding: 40px;
    margin: 10px 0 40px;
    border-radius: 10px;
  }
}

@media screen and (max-width: 990px) {
  .info_section {
    background: #f4f4f4;
    padding: 20px;
    margin: 10px 0 40px;
    border-radius: 10px;
  }
}


/* =========================
  SP
========================= */
@media screen and (max-width: 768px) {
  .info_section_text {
    margin: 20px 10px 20px;
    font-weight: normal;
  }

  .info_section {
    background: #f4f4f4;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
  }

  .info_subtitle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
  }

  .info_title {
    font-size: 16px;
    font-weight: bold;
  }

  .info_subtitle {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .info_text {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .info_heading {
    display: flex;
    justify-content: space-between;
    border-left: 10px solid #92b9e3;
    padding-left: 16px;
  }

  .info_qr_img {
    width: 70px;
    height: 70px;
    margin-left: 10px;
  }
}









/* =========================
  お支払いする保険金および費用保険金のご説明
========================= */
.info_subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo_aioi {
  width: 70px;
}

.info_payment_title {
  font-size: 20px;
  margin: 20px 0;
}

.special_clause_title {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.special_clause_block + .special_clause_block {
  margin-top: 48px;
}

.special_clause_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

/* 左列 */
.special_clause_side,
.special_clause_head:first-child {
  width: 250px;
}

/* 右列 */
.special_clause_head:last-child,
.special_clause_table td {
  width: auto;
}

.special_clause_table_wrap {
  overflow-x: auto;
}

.special_clause_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.special_clause_table th,
.special_clause_table td {
  border: 1px solid #8eb4dc;
  padding: 8px 15px;
  font-size: 16px;
  line-height: 1.7;
  vertical-align: top;
  background: #fff;
}

.special_clause_table .special_clause_head {
  background: #d9e7f5;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

.special_clause_table .special_clause_side {
  width: 240px;
  background: #f8fbff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  vertical-align: middle;
}


/* =========================
  タブレット
========================= */
@media screen and (max-width: 990px) {

}



/* SP */
@media screen and (max-width: 767px) {

  .special_clause {
    margin-top: 20px;
  }

  .special_clause_block + .special_clause_block {
    margin-top: 10px;
  }

  .special_clause_title {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
  }

  /* .special_clause_table {
    min-width: 760px;
  }

  .special_clause_table th,
  .special_clause_table td {
    padding: 12px 12px;
    font-size: 15px;
    line-height: 1.8;
  }

  .special_clause_table .special_clause_head {
    font-size: 17px;
  }

  .special_clause_table .special_clause_side {
    width: 180px;
    font-size: 17px;
  } */


  .special_clause_table_wrap {
    overflow: visible;
  }

  .special_clause_table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .special_clause_table th,
  .special_clause_table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    font-size: 14px;
    line-height: 1.8;
  }

  /* 見出し行 */
  .special_clause_table tr:first-child {
    display: none;
  }

  /* 1セットごと */
  .special_clause_table tr {
    display: block;
    margin-bottom: 16px;
    border: 2px solid #8eb4dc;
  }

  /* 左見出し */
  .special_clause_table .special_clause_side {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #8eb4dc;
    background: #d9e7f5;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
  }

  /* 内容 */
  .special_clause_table td {
    border: 0;
    font-size: 14px;
    background: #fff;
  }



  .info_payment_title {
    font-size: 18px;
    margin: 20px 0;
  }

}









/* =========================
  取り扱い会社
========================= */
.company_info {
  padding: 24px 20px 28px;
  background: #fff;
}

.company_info_inner {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 60px;
  max-width: 1600px;
  margin: 0 auto;
}

/* ブロック */
.company_block {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-direction: column;
  border: solid 1px #ddd;
  padding: 20px;
  width: 50%;
}

/* 縦ラベル */
/* .company_label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 16px 10px;
  background: #d8d8d8;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  display: flex;
  justify-content: center;
  height: 124px;
} */
.company_label {
  padding: 10px 10px;
  background: #eeeeee;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  width: 100%;
  text-align: center;
}

/* 中身 */
.company_content {
  display: flex;
  align-items: center;
  gap: 45px;
}

.company_logo {
  margin-top: 20px;
}

/* IMI */
.company_logo_imi {
  width: 100px;
  text-align: center;
}

/* テキスト */
.company_text {
  padding-top: 10px;
}

.company_name {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.company_department,
.company_address,
.company_tel {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.company_tel {
  letter-spacing: 0.02em;
}

/* 承認番号 */
.company_approval {
  width: fit-content;
  margin: 24px 0 0 auto;
  padding: 8px 14px;
  border: 1px solid #ddd;
  font-size: 14px;
  line-height: 1.2;
}

.application_btn-text {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
}




/* =========================
  タブレット
========================= */
@media screen and (max-width: 1199px) {
  .company_info {
    padding: 0;
    margin: 40px 0 0;
  }

  .company_info_inner {
    flex-direction: column;
    gap: 36px;
  }

  .company_block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    border: solid 1px #ddd;
    padding: 20px;
    width: 100%;
  }

  .company_label {
    padding: 12px 6px;
    font-size: 16px;
  }

  .company_content {
    flex-direction: column;
    gap: 18px;
  }

  .company_logo_imi {
    width: auto;
  }

  .company_name {
    font-size: 22px;
    white-space: normal;
  }

  .company_department,
  .company_address,
  .company_tel {
    font-size: 16px;
    line-height: 1.7;
  }

  .company_approval {
    margin: 24px 0 20px auto;
    font-size: 14px;
    border: 1px solid #ddd;
    padding: 8px;
  }
}



/* SP */
@media screen and (max-width: 767px) {

  .company_info {
    padding: 0;
    margin: 40px 0 0 0;
  }

  .company_info_inner {
    flex-direction: column;
    gap: 36px;
  }

  .company_block {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    border: solid 1px #ddd;
    padding: 20px;
    width: 100%;
  }

  .company_label {
    padding: 12px 6px;
    font-size: 16px;
  }

  .company_content {
    flex-direction: column;
    gap: 18px;
  }

  .company_logo_imi {
    width: auto;
  }

  .company_name {
    font-size: 20px;
    white-space: normal;
  }

  .company_department,
  .company_address,
  .company_tel {
    font-size: 16px;
    line-height: 1.7;
  }

  .company_approval {
    margin: 24px 0 20px auto;
    font-size: 14px;
    border: 1px solid #ddd;
    padding: 8px;
  }

  .application_btn-text {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }
  .contact-btn .arrow-box {
    position: absolute;
    right: 10px;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }

}









/* =========================================================
  ケン・バーンズ効果 (画像ズーム)
========================================================= */

/* 1. アニメーションの定義 */
@keyframes kenBurnsZoom {
  from {
    transform: scale(1); /* 開始時: 拡大なし */
  }
  to {
    transform: scale(1.1); /* 終了時: 5%拡大 */
  }
}

/* 2. 画像へのアニメーション適用 */
.carousel-item img.kenburns-zoom {
  /* アニメーション名、時間、イージング（滑らかさ）、終了状態（forwardsで最終状態を維持） */
  animation: kenBurnsZoom 5s ease-out forwards;
  
  /* トランジションが切り替わったときにスムーズにリセットされるように */
  transition: transform 0s;
}

/* 3. 親要素の設定 */
/* アニメーションをカルーセル全体に適用するため、画像がはみ出しても見えないように設定 */
#header_carousel {
  overflow: hidden; 
  position: relative;
}

/* =========================================================
  テキストマスク（左入→滞留→右抜け）
========================================================= */
.headlineReveal {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  margin-top: 70px;
}

.headlineReveal__content {
  position: relative;
  z-index: 1;
  opacity: 0;
}

.headlineReveal__bar {
  position: absolute;
  inset: 0;
  background: #fff;
  z-index: 2;
  transform: translateX(-100%);
  will-change: transform;
}

/* active */
.headlineReveal.is-active .headlineReveal__bar {
  animation: revealBarSharp 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.headlineReveal.is-active .headlineReveal__content {
  animation: revealText 0.2s ease-out forwards;
  animation-delay: 0.46s;
}

@media screen and (max-width: 768px) {
  .headlineReveal {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    margin-top: 10px;
  }
}




/* 白帯 */
@keyframes revealBarSharp {
  0% {
    transform: translateX(-100%);
  }
  48% {
    transform: translateX(0);
  }
  52% {
    transform: translateX(4%);
  }
  100% {
    transform: translateX(102%);
  }
}

/* テキスト表示 */
@keyframes revealText {
  to {
    opacity: 1;
  }
}

/* メインビジュアル */
#header_carousel .carousel-item {
  height: 40vh;
}

#header_carousel .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

@media (max-width: 768px) {
  #header_carousel .carousel-item {
    position: relative;
    min-height: 200px;
    height: 30vh;
  }
}