@charset "UTF-8";

/*================

  common.css

================*/

body {
  color: #40220f;
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
}

.inner {
  max-width: 80%;
  margin: 0 auto;
}

.flex {
  display: flex;
  gap: 50px;
}

.triangle {
  width: 200px !important;
  height: 50px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -49px;
  z-index: 1;
}

.pink_txt {
  color: #d35f6b;
}

.red_txt {
  color: #c30d23;
  font-size: 90px;
  line-height: 1;
  margin-right: 10px;
  font-weight: bold;
}

.simulation_link {
  width: 80%;
  margin: 0 auto;
}

.simulation_link a {
  display: block;
  height: min-content;
  line-height: 1;
  transition: all 0.3s ease;
}

.simulation_link a:hover {
  opacity: 0.8;
}

.border_none {
  border-bottom: none !important;
}

.sp_only {
  display: none !important;
}

/*フェードイン*/

.effect-fade {
  opacity: 0;
  transform: translateY(100px);
  transition: all 1000ms ease-out !important;
}

.effect-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/*フェードイン*/

/*================

  header

================*/

header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  width: 100%;
  padding-right: 40px;
}

header h1 {
  background: rgba(255, 255, 255, 0.7);
  padding: 5px 50px 10px;
  border-bottom-right-radius: 24px;
}

header h1 img {
  width: 300px;
}

.hd_simulation_link a {
  background: linear-gradient(to top, #036eb8 30%, #182596);
  color: #fff;
  padding: 10px 20px;
  border-radius: 16px;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s ease;
  position: relative;
}

.hd_simulation_link a img {
  position: absolute;
  top: -20px;
  left: -10%;
  width: 60%;
  height: 100%;
  display: block;
  margin: 0 auto;
}

.hd_simulation_link a:hover {
  opacity: 0.8;
}

.hd_simulation_link a span {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

/*================

  footer

================*/

/* footer上部　 取扱代理店・引受保険会社 */

.footer_top {
  background: #efb6b9;
  padding: 100px 0;
}

.footer_top .inner .flex {
  justify-content: center;
  max-width: 90%;
  margin: 0 auto;
}

.footer_top_item {
  background: #fff;
  padding: 25px 50px;
  width: 50%;
  border-radius: 16px;
  font-size: 18px;
  line-height: 1.8;
}

.footer_top_item .flex {
  gap: 0;
  max-width: 100% !important;
  justify-content: flex-start !important;
  gap: 1em;
}

.footer_top_item_title {
  margin-bottom: 10px;
}

/* footer下部　 ロゴ・勧誘方針等リンク */

.footer_bottom {
  padding: 50px 0;
}

.footer_bottom_logo {
  display: block;
  width: 40%;
  margin: 0 auto 50px;
}

.footer_bottom_logo img {
  width: 100%;
}

.footer_bottom .inner .flex {
  justify-content: space-between;
  margin: 0 auto;
  gap: 25px;
}

.footer_bottom_link {
  width: 33%;
}

.footer_bottom_link a {
  align-items: center;
  justify-content: space-between;
  color: #40220f;
  text-decoration: none;
  padding: 25px 20px;
  border: 1px solid #40220f;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.footer_bottom_link a:hover {
  background: #036eb8;
  color: #fff;
}

.footer_bottom_link a img {
  width: 30px;
  margin: 0;
}

.copyright {
  margin-top: 50px;
  text-align: center;
}


@media screen and (min-width: 1600px) {

  .inner {
    max-width: 1280px;
  }
}

@media screen and (max-width: 1500px) {

  .inner {
    max-width: 1080px;
  }

  .flex {
    gap: 25px;
  }
}

@media screen and (max-width: 1300px) {

  .inner {
    max-width: 90%;
  }

  .footer_bottom .inner .flex {
    max-width: 100%;
  }
}

@media screen and (max-width: 1200px) {

  .footer_top_item .flex {
    flex-direction: column;
    gap: 0 !important;
  }
}

@media screen and (max-width: 1024px) {

  .inner {
    max-width: 90%;
  }

  .flex {
    gap: 25px;
  }

  .red_txt {
    font-size: 72px;
    margin-right: 5px !important;
  }

  .simulation_link {
    width: 100%;
  }

  /*================
  
    footer
  
  ================*/

  .footer_top .inner .flex {
    max-width: 100%;
  }

  .footer_top_item {
    font-size: 18px;
    padding: 25px;
  }

  .footer_top_item .flex {
    flex-direction: column;
    gap: 0;
  }

  .footer_bottom .inner .flex {
    flex-direction: column;
    max-width: 100%;
  }

  .footer_bottom_logo {
    width: 60%;
  }

  .footer_bottom_link {
    width: 100%;
  }

  .footer_bottom_link a {
    flex-direction: row !important;
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {

  .pc_only {
    display: none !important;
  }

  .sp_only {
    display: block !important;
  }

  .inner {
    max-width: 90%;
  }

  .flex {
    flex-direction: column;
    gap: 25px;
  }

  .simulation_link {
    width: 100%;
  }

  /*================
  
    header
  
  ================*/

  header {
    padding-right: 0;
  }

  header h1 {
    padding: 5px 5% 10px;
  }

  .hd_simulation_link {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
  }

  .hd_simulation_link a {
    font-size: 24px;
    text-align: center;
    border-radius: unset;
    display: block;
    padding: 15px 5%;
  }

  .hd_simulation_link a img {
    left: 5%;
    top: -35px;
  }

  /*================
  
    footer
  
  ================*/

  .footer_top .inner .flex {
    max-width: 100%;
  }

  .footer_top_item {
    width: 100%;
    padding: 15px 5%;
    font-size: 18px;
  }

  .footer_bottom {
    padding: 50px 0 100px;
  }

  .footer_bottom_logo {
    width: 100%;
  }

  .footer_bottom .inner .flex {
    max-width: 100%;
  }

  .footer_bottom_link {
    width: 100%;
  }

  .footer_bottom_link a {
    flex-direction: row;
    font-size: 18px;
  }
}