@charset "utf-8";

.why_nav_menu{
  text-align: center;
  font-size: 3rem;
  justify-content: center;
  color: #fff;
  margin-bottom: 35px;
}
@media screen and (max-width: 1024px) {
  .why_nav_menu {
    text-align: center;
    font-size: min(6.5vw, 3rem);
    line-height: 1.5;
    justify-content: center;
    color: #fff;
    margin-bottom: 35px;
  }
}

.link_nav_wrap{
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.link_nav_wrap .figure01{
  position: absolute;
  left:50%;
  top:-100px;
  margin-left: -430px;
}

.link_nav_wrap .figure02{
  position: absolute;
  right:50%;
  top:-100px;
  margin-right: -430px;
}

.link_nav,
.local_nav2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 5%;
  justify-content: center;
}

.link_nav{
  display: flex;
  gap: 25px 5%;
}

.link_nav>li{
  width: 45%;
}

.link_nav>li>a,
.local_nav2>li>a {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 22px 70px 22px 33px;
  border-radius: 10px;
  line-height: 1.2;
  gap: 20px;
  min-height: 123px;
  border-radius: 15px;
  background: #fff;
}

.local_nav2>li>a .ttl {
  font-family: "Fira Sans";
}

.local_nav2>li>a .ttl strong {
  font-weight: bold;
  font-size: 2.3rem;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
  color: #37D3EA;
}

.local_nav2>li>a .ttl em {
  display: block;
  color: #0068B7;
  font-size: 5.1rem;
  line-height: 1;
  font-weight: 700;
  text-align: center;
}

.link_nav>li>a i,
.local_nav2>li>a i{
  position: absolute;
  content: '';
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 10px;
 background: #0068B7;
}

.link_nav>li>a i::after,
.local_nav2>li>a i::after{
  position: absolute;
  content: '';
	width: 6px;
	height: 6px;
	background: transparent;
	border: 2px solid #fff;
	border-left: 0;
	border-bottom: 0;
  left:10px;
  top:10px;
	transform: rotate(45deg);
}

.local_nav2>li>a p>span{
  font-family: "Hiragino Sans";
  font-weight: normal;
  font-size: min(2vw, 2.4rem);
  letter-spacing: 0.03em;
  line-height: calc( 36 / 24);
  text-align: left;
  color: #0068B7;
  font-weight: 700;
}

.local_nav2>li>a p>small{
  color: #06B1D9;
  display: block;
  font-weight: 700;
  font-size: min(1.8vw, 2rem);
}

.link_nav>li>a{
  font-size: min(2vw, 2.4rem);
  justify-content: center;
  display: flex;
  font-weight: 700;
  min-height: 123px;
  color: #0068B7;
}

@media screen and (max-width: 1200px) {
  .link_nav,
  .local_nav2 {
    gap: 25px 3%;
  }
}

@media screen and (max-width: 1024px) {

  .local_nav2>li>a .ttl strong {
    font-size: 2rem;
  }

  .local_nav2>li>a .ttl em {
    font-size: 4rem;
  }

  .link_nav_wrap {
    padding: 0;
  }

  .link_nav_wrap .figure01 {
    position: absolute;
    left: 7%;
    top: -174px;
    margin-left: 0;
    width: 96px;
    z-index: 0;
  }

  .link_nav_wrap .figure02 {
    right: 7%;
    top: -160px;
    margin-right: 0;
    width: 83px;
    z-index: 0;
  }

  .link_nav>li>a {
    font-size: min(4vw, 2.4rem);
  }

  .link_nav,
  .local_nav2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px 5%;
    position: relative;
    z-index: 2;
  }

  .link_nav>li {
    width: 100%;
  }

  .local_nav2>li>a i {
    right: 20px;
  }

  .local_nav2>li>a p>span {
    font-size: min(4.8vw,2.4rem);
  }

  .local_nav2>li>a p>small {
      font-size: min(4vw, 2rem);
  }

  .local_nav2>li>a {
    gap: 6%;
  }

}
@media screen and (max-width: 768px) {
  .link_nav_wrap {
    padding: 0;
  }

  .link_nav_wrap .figure01 {
    position: absolute;
    left: 0%;
    top: -118px;
    width: 70px;
  }
  
  .link_nav_wrap .figure02 {
    right: 0%;
    top: -118px;
    width: 60px;
  }

  .link_nav>li>a {
    font-size: min(5vw, 2.4rem);
  }

}

/*
why
*/
.section_why_head {
  position: relative;
  background: #0080CB;
  padding-bottom: 0px;
}

.section_why_head .main_ttl{
  justify-content: center;
  font-size: 6.1rem;
  font-weight: bold;
  position: relative;
  color: #fff;
  padding-bottom: 30px;
}

.section_why_head .main_ttl::after{
  content: '';
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  height: 1px;
  width: 154px;
}

.section_why_head .wrap_l{
  position: relative;
}

.section_why_head .figure01{
  position: absolute;
  left:112px;
  top:80px;
  z-index: 10;
}

.section_why_head .figure02 {
  position: absolute;
  right: 0px;
  top: 113px;
  z-index: 10;
}

.section_why_head .msg{
  padding: 60px 0;
  font-size: 2.4rem;
  letter-spacing: 0.1em;
  line-height: 2;
  text-align: center;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
  margin-bottom: 0px;
}

.section_why_head::before,
.section_why_head::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 14px;
  background: #37d3ea;
}

.section_why_head::after{
  background: #0056a8;
  top: 15px;
}

.section_why_head .head{
  padding: 60px 0 20px;
  background: #0068B7;
  text-align: center;
}

.section_why_head .head .catch{
  margin: 30px auto;
  max-width: 600px;
  width: 70%;
}

@media screen and (max-width: 1300px) {
  
  .section_why_head .main_ttl{
    justify-content: center;
    font-size:min(6vw, 6.1rem);
  }

  .section_why_head .figure01 {
    left: 0%;
    top: -140px;
    max-width: 137px;
    width: 28%;
    z-index: 10;
  }

  .section_why_head .figure02 {
    position: absolute;
    right: -20px;
    top: auto;
    bottom: -103px;
    width: 28%;
    max-width: 300px;
  }
}

@media screen and (max-width: 850px) {
  .section_why_head .msg{
    font-size: min(4vw, 2.4rem);
  }

  .section_why_head .figure01 {
    left: 5%;
    top: 0px;
    max-width: 137px;
    z-index: 10;
  }
}

/*why 詳細*/
.section_why .works{
  position: relative;
  width: 100%;
  padding: 60px;
  border-radius: 18px;
  background: #fff;
}

.section_why .works .works_ttl{
  font-size: 3rem;
  text-align: center;
  margin-bottom: 50px;
}

.section_why .works .figure03 {
  position: absolute;
  right: 70px;
  top: -55px;
  width: 16%;
}

.section_why .works .list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.section_why .works .list_item {
  position: relative;
  padding: 4px;
}

/* 縦の点線 */
.section_why .works .list_item:not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: radial-gradient(circle, #0071bc 1px, transparent 1px) center / 2px 6px repeat-y;
}

/* 横の点線 */
.section_why .works .list_item:nth-child(-n + 4)::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: radial-gradient(circle, #0071bc 1px, transparent 1px) center / 6px 2px repeat-x;
}

@media screen and (max-width: 1200px) {
  
  .section_why .works {
    position: relative;
    width: 100%;
    padding: 50px 20px;
    background: #fff;
  }

}
@media screen and (max-width: 1024px) {
  .section_why .works .works_ttl {
    font-size:min(6vw, 3rem);
  }
}

@media (max-width: 850px) {
  .section_why .works .figure03 {
    right: 2%;
    top: -2%;
    width: 17%;
  }
  .section_why .works .list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 縦線をいったん全部消す */
  .section_why .works .list_item::after {
    display: none;
  }

  /* 奇数番目だけ縦線を表示 */
  .section_why .works .list_item:nth-child(odd)::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: radial-gradient(circle, #0071bc 1px, transparent 1px) center / 2px 6px repeat-y;
  }

  /* 横線 */
  .section_why .works .list_item::before {
    display: none;
  }

  .section_why .works .list_item:nth-child(-n + 6)::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: radial-gradient(circle, #0071bc 1px, transparent 1px) center / 6px 2px repeat-x;
  }
}

.section_why{
  padding-bottom: 60px;
}

.section_why4{
  padding-bottom: 160px;
}
.section_why .why_item {
  position: relative;
  height: 100%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  margin-top: 30px;
  gap: 75px;
  margin-bottom: 80px;
}

.section_why .why_item .ttl{
  margin-bottom: 50px;
}

.section_why .why_item .box1 {
  min-height: 0;
  padding-left: 62px;
  padding-top: 40px;
  padding-bottom: 0;
}

.section_why .why_item .img{
  position: relative;
  padding-bottom: 32px;
  margin-bottom: 0px;
  align-self: flex-start;
}

.section_why .num {
  position: relative;
  font-family: var(--fira);
  font-size: min(15vw, 11.9rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ff0;
  font-weight: bold;
  width: 100%;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ff0;
  font-weight: bold;
  width: 100%;
  display: flex;
  align-items: center;
}

.section_why .num .chara {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20%;
  z-index: 3;
}
.section_why .num .chara img{
  max-width: 100%;
  width: auto;
}

.section_why .num>span{
  position: relative;
  background: #0080CB;
  width: 160px;
  display: inline-block;
  z-index: 2;
}

.section_why .num::after {
  content: "";
  position: absolute;
  left: 0px;
  width: 100%;
  top: 50%;
  height: 2px;
  z-index: 1;
  background: radial-gradient(circle, #ff0 1px, transparent 1px) center / 6px 2px repeat-x;
}

.section_why .why_item .ttl .text{
  padding-left: 0px;
  width: calc(100% - 100px);
  position: relative;
  font-size: 3.2rem;
  letter-spacing: 0.04em;
  line-height: 65px;
  text-align: left;
  color: #fff;
}

.section_why .why_item .box1 .button2{
  position: absolute;
  left:0;
  bottom:0;
  width: 100%;
}

.section_why .why_item .ttl .text{
  white-space: nowrap;
  position: relative;
  z-index: 1;
  font-weight: normal;
}

.section_why .why_item .ttl .text .circle01 {
  position: absolute;
  left: -7px;
  top: -33px;
  width: 256px;
}

.section_why .why_item .ttl .text .circle02{
  position: absolute;
  left: -7px;
  top: -33px;
  width: 286px;
}

.section_why .why_item .ttl .text .circle{
  z-index: -1;
}

.section_why .why_item .img .chara01 {
    position: absolute;
    right: -2px;
    top: -61px;
}

.section_why .why_item .img .chara02{
  position: absolute;
  right:-25px;
  top:-61px;
}

.section_why .why_item .img .catch{
  right:-18px;
  bottom:0;
  position: absolute;
}

.section_why .why_item .img img{
  position: relative;
  overflow: hidden;
}

.section_why .why_item .img .catch.catch01 {
    width: calc((286 / 520) * 100%);
}

.section_why .why_item .img .catch.catch02{
  width: calc(( 380 / 520 ) * 100% );
}

.section_why .why_item .img .catch.catch03{
  width: calc(( 370 / 520 ) * 100% );
}

.section_why .why_item .img .catch.catch04{
  width: calc(( 360 / 520 ) * 100% );
}

.section_why .why_item .msg1{
  font-size: 18px;
  letter-spacing: 0.01em;
  line-height: 2;
  text-align: left;
  color: #fff;
  margin-bottom: 30px;
}
@media screen and (max-width: 1300px) {

  .section_why .why_item .ttl{
    margin-bottom: 3.85vw;
  }
  .section_why .num>span {
    position: relative;
    background: #0080CB;
    width: 1.5em;
    display: inline-block;
    z-index: 2;
}

  .section_why .why_item .ttl .num {
    font-size: 5vw;
    width: 7.69vw;
  }

  .section_why .why_item .ttl .text {
    padding-left: 0;
    width: calc(100% - 7.69vw);
    font-size: 2.5vw;
    line-height: 2;
  }

  .section_why .why_item .ttl .text .circle01{
    left: -0.54vw;
    top: -2.54vw;
    width: 19.69vw;
  }

  .section_why .why_item .ttl .text .circle02{
    left: -0.54vw;
    top: -2.54vw;
    width: 22vw;
  }

  .section_why .why_item .img{
    padding-bottom: 2.46vw;
    margin-bottom: 2.69vw;
  }

  .section_why .why_item .img .chara01{
    right: -0.15vw;
    top: -4.69vw;
    width: calc(( 112 / 520 ) * 100% );
  }

  .section_why .why_item .img .chara02{
    right: -1.92vw;
    top: -4.69vw;
    width: calc(( 112 / 520 ) * 100% );
  }

  .section_why .why_item .img .catch{
    right: -1.38vw;
  }

  .section_why .why_item .box1 .button2{
    width: 100%;
    max-width: none;
  }
}

@media screen and (max-width: 1100px) {

  .section_why .num .chara {
    width: 34%;
    z-index: 3;
  }
  .section_why .why_item {
    gap: 50px;
  }
  .section_why .why_item .box1 {
    min-height: 0;
    padding-left: 30px;
    padding-top: 20px;
    padding-bottom: 0;
  }
  
}

@media screen and (max-width: 1024px) {
  .section_why4 {
    padding-bottom: 60px;
  }
  
  .section_why .why_item {
    position: relative;
    height: 100%;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-top: 0px;
    gap: 0px;
    margin-bottom: 80px;
    max-width: 800px;
    margin: 0 auto 5%;
  }

    .section_why4 .why_item {
      margin-bottom: 50px;
    }

  .section_why .why_item .box1 {
    min-height: 0;
    padding-left: 0px;
    padding-top: 20px;
    padding-bottom: 0;
  }

  .section_why .why_item .img img {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

}

@media screen and (max-width: 850px) {

  .section_why .why_item .ttl {
    margin-bottom: 40px;
  }


  .section_why .why_item .ttl .num {
    font-size: 6.2rem;
    width:auto;
  }

  .section_why .why_item .ttl .text {
    padding-left: 0em;
    width:auto;
    font-size: 3.2rem;
    line-height: 2;
  }

  .section_why .why_item .ttl .text .circle01 {
    width: 245px;
    top: -35px;
  }

  .section_why .why_item .ttl .text .circle02{
    width: 285px;
    top: -35px;
  }

  .section_why .why_item .img{
    padding-bottom: 2.46vw;
    margin-bottom: 2.69vw;
  }

  .section_why .why_item .img .chara01{
    right: -0.15vw;
    top: -4.69vw;
    width: calc(( 112 / 520 ) * 100% );
  }

  .section_why .why_item .img .chara02{
    right: -1.92vw;
    top: -4.69vw;
    width: calc(( 112 / 520 ) * 100% );
  }

  .section_why .why_item .img .catch{
    right: -1.38vw;
  }

  .section_why .why_item .box1 .button2{
    width: 100%;
    max-width: none;
  }

}
@media screen and (max-width: 600px) {
  .section_why .why_item .ttl .text {
    font-size: 7vw;
  } 
  .section_why .why_item .ttl .text img {
    max-width: none;
    height: auto;
    width: 100%;
  }

  .section_why .why_item .ttl .text .circle01{
    left: -0.54vw;
    top: -9.54vw;
    width:60.69vw;
  }

  .section_why .why_item .ttl .text .circle02 {
    left: -0.54vw;
    top: -7.54vw;
    width: 62vw;
  }

}

