@charset "UTF-8";
/**** 共通カラー ****/
.estimate_wrap {
  background-color: #F8F8F8;
  border-radius: 50px;
  padding: 60px 5%;
  margin-top: 54px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .estimate_wrap {
    border-radius: 10px;
    padding: 40px 20px 40px 20px;
    margin-top: 40px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.estimate_item {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .estimate_item {
    width: 100%;
  }
}

.otn_btn {
  max-width: 420px;
  border-radius: 10px;
  margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .otn_btn {
    max-width: 100%;
  }
}

.estimate-lead {
  color: #707070;
  font-size: clamp(1.2rem, 1.25vw, 1.4rem);
  line-height: 1.8;
  max-width: 420px;
  text-indent: -1em;
  padding-left: 1em;
}
@media screen and (max-width: 768px) {
  .estimate-lead {
    max-width: 100%;
    text-indent: -1em;
    padding-left: 1em;
    margin-bottom: 16px;
  }
}

.store_wrap {
  width: 45%;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
}
@media screen and (max-width: 768px) {
  .store_wrap {
    width: 100%;
  }
  .store_wrap .tel {
    font-size: clamp(1.2rem, 1.25vw, 1.4rem);
  }
}
.store_wrap .info {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.store_wrap .info::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background-image: url(../image/border.webp);
  background-repeat: repeat-x;
  background-size: contain;
  width: 100%;
  height: 1px;
}
.store_wrap .info:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}
.store_wrap .info:last-of-type::after {
  display: none;
}
.store_wrap .info:last-of-type .address {
  margin-bottom: 0;
}
.store_wrap .shop {
  display: inline-block;
  color: #fff;
  font-size: clamp(1.4rem, 1.25vw, 1.6rem);
  background-color: #E61B23;
  padding: 6px 20px;
  border-radius: 5px;
  margin-bottom: 13px;
}
@media screen and (max-width: 768px) {
  .store_wrap .shop {
    font-size: 1.4rem;
  }
}
.store_wrap h3 {
  font-size: clamp(1.6rem, 1.25vw, 1.8rem);
  margin-bottom: 6px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .store_wrap h3 {
    font-size: 1.6rem;
    line-height: 1.8;
  }
}
.store_wrap .address {
  font-size: clamp(1.2rem, 1.25vw, 1.4rem);
  margin-bottom: 12px;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .store_wrap .address {
    font-size: 1.4rem;
  }
}
.store_wrap .address span:first-child {
  display: inline-block;
  margin-right: 1.6rem;
}
@media screen and (max-width: 768px) {
  .store_wrap .address span:first-child {
    display: block;
    font-size: 1.4rem;
    margin-right: 0;
    margin-bottom: 6px;
  }
}
.store_wrap .address span:nth-child(3) {
  margin-left: 1.6rem;
}
@media screen and (max-width: 768px) {
  .store_wrap .address span:nth-child(3) {
    display: block;
    font-size: 1.4rem;
    margin-top: 6px;
    margin-left: 0;
  }
}

.application_wrap {
  background-color: #fff;
  border-radius: 50px;
  margin-top: 52px;
  padding: 55px 5% 60px;
}
@media screen and (max-width: 768px) {
  .application_wrap {
    margin-top: 32px;
    padding: 36px 20px 40px 20px;
    border-radius: 10px;
  }
}
.application_wrap .description {
  text-align: center;
  font-size: clamp(1.4rem, 1.25vw, 1.6rem);
  line-height: 1.8;
  margin-bottom: 55px;
}
@media screen and (max-width: 768px) {
  .application_wrap .description {
    font-size: 1.4rem;
    margin-bottom: 36px;
  }
}
.application_wrap .application_list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .application_wrap .application_list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.application_wrap .application_list .application_btn {
  width: 47%;
  height: 27.9vw;
  max-height: 302px;
  padding: 0 0 20px 20px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .application_wrap .application_list .application_btn {
    width: 100%;
    height: 46.1333333333vw;
    max-height: 173px;
  }
}
.application_wrap .application_list .application_btn p {
  color: #fff;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  z-index: 3;
}
.application_wrap .application_list .application_btn p span:first-child {
  display: inline-block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: clamp(1.6rem, 1.25vw, 1.8rem);
  border-radius: 5px;
  padding: 2px 10px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.application_wrap .application_list .application_btn p span:last-of-type {
  font-size: clamp(2rem, 1.527vw, 2.2rem);
}
@media screen and (max-width: 1200px) {
  .application_wrap .application_list .application_btn p span:last-of-type {
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 768px) {
  .application_wrap .application_list .application_btn p span:last-of-type {
    font-size: 1.4rem;
  }
}
.application_wrap .application_list .application_btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: ease-in-out 0.2s;
  transition: ease-in-out 0.2s;
}
@media screen and (max-width: 768px) {
  .application_wrap .application_list .application_btn.red {
    margin-bottom: 45px;
  }
}
.application_wrap .application_list .application_btn.red span:first-child {
  background-color: #E61B23;
}
@media screen and (max-width: 768px) {
  .application_wrap .application_list .application_btn.red span:first-child {
    font-size: 1.2rem;
  }
}
.application_wrap .application_list .application_btn.red::before {
  background-image: url(../image/application_image01.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.application_wrap .application_list .application_btn.blue span:first-child {
  background-color: #013399;
}
@media screen and (max-width: 768px) {
  .application_wrap .application_list .application_btn.blue span:first-child {
    font-size: 1.2rem;
  }
}
.application_wrap .application_list .application_btn.blue::before {
  background-image: url(../image/application_image02.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.application_wrap .application_list .application_btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: ease-in-out 0.4s;
  transition: ease-in-out 0.4s;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.1)), to(rgba(0, 0, 0, 0.8)));
  background: linear-gradient(rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
  opacity: 0.8;
  -webkit-filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.1));
          filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.1));
  z-index: 2;
}
.application_wrap .application_list .application_btn .arrow_btn {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 10px;
  border: solid 1px #fff;
  -webkit-transition: ease-out 0.2s;
  transition: ease-out 0.2s;
  overflow: hidden;
}
@media screen and (max-width: 992px) {
  .application_wrap .application_list .application_btn .arrow_btn {
    width: 30px;
    height: 30px;
    bottom: 16px;
    right: 8px;
    border-radius: 5px;
  }
}
@media screen and (max-width: 768px) {
  .application_wrap .application_list .application_btn .arrow_btn {
    width: 20px;
    height: 20px;
    bottom: 16px;
    right: 25px;
    border-radius: 5px;
  }
}
.application_wrap .application_list .application_btn .arrow_btn::after {
  content: "";
  display: inline-block;
  background-image: url(../image/t-arrow_w.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 22px;
  height: 22px;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
@media screen and (max-width: 768px) {
  .application_wrap .application_list .application_btn .arrow_btn::after {
    width: 10px;
    height: 10px;
  }
}
.application_wrap .application_list .application_btn:hover .arrow_btn {
  border: solid 1px #E61B23;
  background-color: #E61B23;
}
.application_wrap .application_list .application_btn:hover::after {
  opacity: 0.7;
}
.application_wrap .application_list .application_btn:hover::before {
  -webkit-transform: scale(1.04);
          transform: scale(1.04);
}
/* ===============================================
 「からだの保険」セクションの画像表示スタイル
=============================================== */

/* 画像を囲むコンテナをFlexboxに設定し、画像を横並びにします */
#body-insurance .estimate_list {
  display: flex;
  justify-content: space-between; /* 画像間のスペースを均等に配置 */
  gap: 2%; /* 画像間の隙間 */
}

/* 各画像（リンク）の基本スタイル */
#body-insurance .estimate_btn {
  display: block;
  width: 32%; /* 3つの画像が均等に並ぶように幅を指定 */
  height: 0;
  padding-top: 16%; /* 画像の縦横比を維持します。画像の比率に合わせてこの数値を調整してください */
  border-radius: 8px; /* 角を少し丸めます */
  
  /* 背景画像の共通設定 */
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.3s ease;
}

#body-insurance .estimate_btn:hover {
  opacity: 0.8; /* マウスを乗せると少し透明になります */
}

/* 各クラスに背景画像を設定します */
#body-insurance .estimate_btn.shougai {
  background-image: url('../image/application_body_image01.webp'); 
}

#body-insurance .estimate_btn.cycle {
  background-image: url('../image/application_body_image02.webp'); 
}

#body-insurance .estimate_btn.golf {
  background-image: url('../image/application_body_image03.webp');
}

/* スマートフォン向けの表示設定 (画面幅768px以下で適用) */
@media screen and (max-width: 768px) {
  #body-insurance .estimate_list {
    flex-direction: column; /* 縦並びに切り替え */
    gap: 15px;
  }

  #body-insurance .estimate_btn {
    width: 100%; /* 横幅を最大に */
    padding-top: 50%; /* スマホでの縦横比 */
  }
}
/* 内側のボックス背景を薄いグレーに設定 */
#body-insurance .application_wrap {
  background-color: #F8F8F8;
}
/*# sourceMappingURL=estimate.css.map */