@charset "UTF-8";

@media (min-width: 1024px) {
  .under main {
    margin: 0 0 0;
  }
  main .breadcrumbs {
    margin: 0 0 2.5rem;
  }
  .under_ttl h2 {
    line-height: 1.55;
  }
  .under main .under_cell {
    margin-bottom: 6.25rem;
  }

  .sec01_lead {
    background: #DC0021;
    padding: 4.0rem 0 4.0rem;
    border-radius: 1.8rem 1.8rem 0 0;
  }
  .sec01_lead .sec01_lead_flcell {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 2.8rem;
  }
  .sec01_lead .sec01_lead_flcell .sec01_lead_ttl {
    font-size: 2.4rem;
    line-height: 1.6;
    margin: 0 1.5rem 0 0;
    color: #fff;
    font-weight: bold;
  }
  .sec01_lead .sec01_lead_flcell .sec01_lead_img {
    width: 37.9vw;
    max-width: 53.7rem;
  }
  .sec01_lead .sec01_lead_txt {
    font-size: 1.0rem;
    line-height: 1.8;
    margin: 0 auto 0;
    color: #fff;
    text-align: center;
  }

  .sec01_detail {
    background: #F9E7EB;
    padding: 4.5rem 0rem 3.5rem;
    border-radius: 0 0 1.8rem 1.8rem;
  }
  .under.dantai_car main .under_cell .sec01_detail h3 {
    font-size: 2.5rem;
    margin: 0 auto 3.0rem;
    text-align: center;
    color: #DC0021;
    line-height: 1;
    width: max-content;
    padding: 0 4.0rem;
    position: relative;
  }
  .under.dantai_car main .under_cell .sec01_detail h3::before,
  .under.dantai_car main .under_cell .sec01_detail h3::after {
    display: block;
    position: absolute;
    content: "";
    width: 2.5rem;
    height: 6.0rem;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  .under.dantai_car main .under_cell .sec01_detail h3::before {
    background: url(../images/dantai_car/sec01_detail_h3_01.png) no-repeat;
    background-size: 100% 100%;
    left: 0;
  }
  .under.dantai_car main .under_cell .sec01_detail h3::after {
    background: url(../images/dantai_car/sec01_detail_h3_02.png) no-repeat;
    background-size: 100% 100%;
    right: 0;
  }
  .under main .under_cell .cell .sec01_detail p.txt {
    width: 85%;
    margin: 0 auto 2.0rem;
    max-width: 1165px;
    text-align: center;
    font-size: 1.5rem;
  }
  .under main .sec01_detail .list_merit_L { width: 85%; margin: 0 auto 1.0rem;}
  .under main .sec01_detail .lead { width: 85%; margin: 0 auto 1.0rem; font-size: 1.0rem; color: #5C5C5C; line-height: 1.8;}

  .under main .list_merit_L li .txt_ttl .line {
    background:linear-gradient(transparent 60%, #FFF89A 60%);
  }
  .under main .list_merit_L li .txt_ttl .txt_red {
    font-size: 130%;
    font-weight: bold;
    color: #DC0021;
  }
  .under main .hoken_cell {
    background: #FFF7E3;
  }
  .under main .hoken_cell h3 {
    padding-left: 1rem;
    border-left: 6px solid #DC0021;
  }
  .under main .hoken_cell h3 span {
    color: #DC0021;
  }
}


@media (max-width: 1023px) {
  .under main {
    margin: 0 0 0;
  }
  main .breadcrumbs {
    margin: 0 0 2.5rem;

  }
  .under main .under_cell {
    margin-bottom: 6.25rem;
  }
  .under_ttl h2 {
    left: 1.625rem;
    bottom: 8.3125rem;
    line-height: 1.55;
  }
  .under_ttl p {
    position: absolute;
    left: 1.625rem;
    bottom: 1.25rem;
    line-height: 1.73;
    font-weight: 500;
    font-size: 0.9375rem;
    color: #5C5C5C;
    height: max-content;
  }
  .under main .hoken_cell .hoken_box {
    margin-bottom: 3.125rem;
  }
  .under main .hoken_cell .hoken_box:last-of-type {
    padding-bottom: 1.875rem;
  }
  .under main .list_merit_L li .icon { margin-right: 1.0rem;}

  .sec01_lead {
    background: #DC0021;
    padding: 2.5rem 0 2.5rem;
    border-radius: 1.0rem 1.0rem 0 0;
  }
  .sec01_lead .sec01_lead_flcell {
    display: flex;
    flex-direction: column;
    margin: 0 auto 1.8rem;
    width: 85%;
  }
  .sec01_lead .sec01_lead_flcell .sec01_lead_ttl {
    font-size: 1.5rem;
    line-height: 1.6;
    margin: 0 0 1.0rem 0;
    color: #fff;
    font-weight: bold;
  }
  .sec01_lead .sec01_lead_flcell .sec01_lead_img {
    width: 100%;
  }
  .sec01_lead .sec01_lead_txt {
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0 auto 0;
    color: #fff;
    text-align: center;
    width: 90%;
  }

  .sec01_detail {
    background: #F9E7EB;
    padding: 3.5rem 0rem 3.5rem;
    border-radius: 0 0 1.8rem 1.8rem;
  }
  .under.dantai_car main .under_cell .sec01_detail h3 {
    font-size: 1.5rem;
    margin: 0 auto 2.0rem;
    text-align: center;
    color: #DC0021;
    line-height: 1;
    width: max-content;
    padding: 0 1.5rem;
    position: relative;
  }
  .under.dantai_car main .under_cell .sec01_detail h3::before,
  .under.dantai_car main .under_cell .sec01_detail h3::after {
    display: block;
    position: absolute;
    content: "";
    width: 1.25rem;
    height: 3.0rem;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  .under.dantai_car main .under_cell .sec01_detail h3::before {
    background: url(../images/dantai_car/sec01_detail_h3_01.png) no-repeat;
    background-size: 100% 100%;
    left: 0;
  }
  .under.dantai_car main .under_cell .sec01_detail h3::after {
    background: url(../images/dantai_car/sec01_detail_h3_02.png) no-repeat;
    background-size: 100% 100%;
    right: 0;
  }
  .under main .under_cell .cell .sec01_detail p.txt {
    width: 85%;
    margin: 0 auto 5.0rem;
    text-align: center;
    font-size: 1.0rem;
  }
  .under main .sec01_detail .list_merit_L { width: 85%; margin: 0 auto 1.0rem;}
  .under main .sec01_detail .lead { width: 85%; margin: 0 auto 1.0rem; font-size: 1.0rem; color: #5C5C5C; line-height: 1.8;}

  .under main .list_merit_L li .txt_ttl .line {
    background:linear-gradient(transparent 60%, #FFF89A 60%);
  }
  .under main .list_merit_L li .txt_ttl .txt_red {
    font-size: 130%;
    font-weight: bold;
    color: #DC0021;
  }
  .under main .hoken_cell {
    background: #FFF7E3;
  }
  .under main .hoken_cell h3 {
    padding-left: 1rem;
    border-left: 6px solid #DC0021;
  }
  .under main .hoken_cell h3 span {
    color: #DC0021;
  }

}

.under main .list_hoken_bnr li { text-align: center; }
.under main .list_hoken_bnr li a { color: #5c5c5c;}

.under main .hoken_cell { padding-bottom: 3.5rem;}

footer {
  background: #fff;
}
footer .footer_bottom { background: #000;}
footer .footer_bottom ul li,
footer .footer_bottom ul li a { color: #fff;}
