@charset "utf-8";
/* CSS Document */

*{margin:0;padding:0;box-sizing: border-box;}

body {
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  overflow-wrap: break-word;
  word-break: normal;
	font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	color:#333;
  line-height: 1.7;
}
ol, ul {list-style: none;}
a{text-decoration: none;color:#333;}
/*a:hover {opacity: 0.7 ;}*/
html {scroll-behavior: smooth;font-size: 62.5%;}

img{width:100%;}

header .mv{
  position: relative;
  width: 100%;
  min-height: 70vw;
  background: url("../images/mv_image.jpg") center / cover;
}
header .mv::before{
	background-color: rgba(0,0,0,0.5);
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	content: ' ';
}
.mv_inner {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 15rem;
  font-weight: initial;
  text-align: left;
  transform: translateY(-50%) ;
}
.mv_inner h1{
  font-size: 5.5rem;
  color: #fff;
  line-height: 1.2;
  text-shadow: 1px 1px 1px #333;
  margin-bottom: 3rem;
}

.mv_inner h2 span{
  display: inline-block;
  font-size: 2rem;
  color: #222;
  padding: .5rem 2rem;
  margin: .5rem;
  background-color: #fff;
}
header h3{
  position: absolute;
  background-color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 2.5rem;
  width: 100%;
  top: 0;
}

.ft_ylw{
  color: #f2e22c;
}
.ft_ylw2{
  color: #d7cc4a;
}
.small{
  font-size: 70%;
}
.ap_info{
  background-color: #00204c;
}
.ap_info_inner{
  margin: auto;
  max-width: 800px;
  padding: 5rem 0;
  text-align: center;
  color: #fff;
}
img.kenzai_logo{
  width: 30%;
}

.ap_info_inner a{
  padding: 1rem 5rem;
  margin: 2rem 0 5rem;
  background-color: #f2e22c;
  border-radius: 1000px;
  display: inline-block;
  font-size: 2.4rem; 
}
.ap_info_inner a:before{
  content: '';
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url(../images/th_lpicon9.png);
  background-size: contain;
  vertical-align: middle;
}
img.kenzai_qr{
  width: 15%;
}
.ap_info_inner_point{
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  color: #222;
  margin: 5rem 0 1rem;
}
.ap_info_inner_point div {
  background-color: #fff;
  border-radius: 10px 0 0 0 ;
  width: calc(100% / 3 - 1rem );
  text-align: center;
  padding: 2rem 5rem;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.5;
}
.scroll-gallery {
	overflow: hidden;
}
.scroll-gallery ul {
	animation: scroll-gallery 20s linear infinite; /* 20s スクロール1回にかかる秒数 */
	display: flex;
	margin: 0;
	padding: 0;
	width: max-content;
}
.scroll-gallery ul li {
	list-style: none;
	padding: 0 5px; /* 余白 */
	width: calc(100vw / 3 - 10px); /* 3 写真の枚数にあわせる */
}
.scroll-gallery img {
	display: block;
	width: 100%;
}
@keyframes scroll-gallery {
	from {
		transform: translateX(0%);
	}
	to {
		transform: translateX(-50%);
	}
}

/*お悩み*/
.ap_problems{
  background-color: #dee5ee;
  max-width: 800px;
  margin:5rem  auto;
  position: relative;
  z-index: 99999;
}
.ap_problems h3{
  text-align: center;
  font-size: 3rem;
  padding-top: 5rem;
  font-weight: unset;
}
.ap_problems h3 span{
  font-size: 150%;
  font-weight: bold;
}

.ap_problems ul {
  padding: 0 5rem 3rem;
}
.ap_problems ul li{
    position: relative;
    background: #fff;
    margin: 2em;
    padding: 5px 5px 5px 50px;
}
.ap_problems ul li:before {
  content: '';
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url(../images/checkicon.png);
  background-size: cover;
  vertical-align: middle;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) ;
  left: -.7rem;
}
.ap_problems:before {
  position: absolute;
  content: '';
  border-top: 50px solid #dee5ee;
  border-right: 150px solid transparent;
  border-left: 150px solid transparent;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.ap_problems_sec{
  background-color: #00204c;
  position: relative;
  top: -15rem;
  padding: 18rem 0 10rem;
}
.ap_problems_sec_inner{
    max-width: 800px;
    margin: auto;
    color: #fff;
}
.ap_problems_sec_inner h3{
  font-size: 5rem;
  font-weight: unset;
  line-height: 1.3;
  text-shadow: 2px 1px 5px #222;
}
.ap_problems_sec .p_lt , .ap_problems_sec .p_rt {
  position: absolute;
}
.ap_problems_sec .p_lt{
  left: -5rem;
  width: 30%;
}
.ap_problems_sec .p_rt {
  top: 5rem;
  right: 0;
  width: 40%;
  max-width: 444px;
}

.underline {
  background: linear-gradient(transparent 80%, #f2e22c 80%);
  background-position: 0;
  background-size: 0;
  background-repeat: no-repeat;
  transition: background 3s;
}
.underline.active {
  background-size: 100% ;
}


.ap_problems_sec_check{
  max-width: 800px;
  margin: 20rem auto 10rem;
}
.ap_problems_sec_check .check_box {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}

.ap_problems_sec_check .check_box > div{
  width: calc(100% - 35%);
  background-color: #fff;
  padding: 2rem 5rem ;
  box-shadow: 2px 5px 5px #ccc;
  position: relative;
}
.ap_problems_sec_check .check_box img{
  width: 35%;
}
.ap_problems_sec_check .check_box > div h4{
  font-size: 2rem;
  margin-bottom: 2rem;
}
.ap_problems_sec_check .check_box > div:before {
  content: '';
  display: inline-block;
  width: 100px;
  height: 40px;
  background-image: url(../images/check.png);
  background-size: cover;
  position: absolute;
  top: -2rem;
  left: -2rem;
}
.ap_support{
  background-image: repeating-linear-gradient(330deg, #00204c, #00204c 10px, #00204cf5 10px, #00204cf5 20px);
  margin-left: 10rem;
  color: #fff;
  padding: 5rem 10rem 15rem;
}
.ap_support h4{
  font-size: 3rem;
  font-weight: unset;
}

.ap_support_sec{
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: auto;
  position: relative;
  top: -10rem;
}
.ap_support_sec_inner{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.ap_support_sec_inner div, .ap_support_sec_inner5 {
  box-shadow: 2px 5px 10px #9c9c9c;
  width: calc(100% / 2 - 1rem);
  align-items: center;
  background-color: #fff;
  display: flex;
  gap: 2rem;
  padding: 2rem 3rem;
  font-size: 1.8rem;
}
.ap_support_sec_inner5{
  width: 100%;
  margin-top: 2rem;
}
.ap_support_sec_inner div img, .ap_support_sec_inner5 img{
  width: 85px;
}
.ap_howto{
  background-image: repeating-linear-gradient(325deg, #fffbd1, #fffbd1 10px, #fffbd1ab 10px, #fffbd1ab 20px);
  color: #333;
  text-align: center;
  padding: 5rem 10rem 15rem;;
}
.ap_howto h4{
  font-size: 3vw;
}
.ap_howto_inner{
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  gap: 3.5rem;
  justify-content: center;
  margin: 5rem auto 1rem;
}
.ap_howto_inner div {
  position: relative;
  background-color: #fff;
  width: calc(100% / 3 - 2.4rem );
  text-align: center;
  padding: 3rem 2rem;
}
.ap_howto_inner div img{ width: 65%;}
.ap_howto_inner div:after {
  content: "01";
  background-color: #f2e22c;
  display: inline-block;
  width: 60px;
  height: 60px;
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Zen Kaku Gothic New';
  font-size: 3rem;
  font-weight: bold;
  align-content: center;
}
.ap_howto_inner div:nth-child(2):after {
  content: "02";
}
.ap_howto_inner div:nth-child(3):after {
  content: "03";
}
.ap_info_txt{
  position: relative;
  width: 100%;
  min-height: 50vw;
  background: url("../images/ap_info.jpg") center / cover;
  position: relative;
}
.ap_info_txt h3{
  text-align: center;
  font-size: 4rem;
  color: #fff;
  font-weight: unset;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
}

.ap_btn a{
  padding: 1rem 5rem;
  margin: 5rem 2rem;
  background-image: linear-gradient(#334c70, #00204c);
  border-radius: 1000px;
  display: inline-block;
  font-size: 2.4rem; 
  box-shadow: 1px 1px 5px #9c9c9c;
  color: #fff;
}
.ap_btn a:before{
  content: '';
  display: inline-block;
  width: 50px;
  height: 50px;
  background-image: url(../images/th_lpicon9.png);
  background-size: contain;
  vertical-align: middle;
}
footer{
  font-size: 1.2rem;
  text-align: center;
}

.slide-in-box {
    opacity: 0;
    transform: translateY(100px); 
    animation: slideInUp 1s ease-out forwards; 
}
.slide-in-box:nth-child(1) {
  animation-delay: 0s;
}
.slide-in-box:nth-child(2) {
  animation-delay: 0.5s;
}
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px); 
    }
    to {
        opacity: 1;
        transform: translateY(0); 
    }
}
.pc{display: block;}
.sp{display: none;}

@media screen and (max-width: 768px) {
  .pc{display: none;}
  .sp{display: block;}

  .mv_inner{
    left: 5rem;
  }
  .ap_info_inner{
    padding: 5rem 2rem;
  }
  .ap_info_inner_point div{
    padding: 2rem 2.5rem;
  }
  .ap_info_inner_point div img{
    width: 85%;
  }

  img.kenzai_qr {
    width: 25%;
  }
  .ap_problems h3{
    font-size: 3.5vw;
  }
  .ap_problems_sec_inner {
    max-width: 600px;
  }
  .ap_problems_sec_check {
    max-width: 600px;
    margin: 0 auto 10rem;
  }
  .ap_howto{
    padding: 10vw 0;
  }

  .ap_support_sec , .ap_howto_inner{
    max-width: 600px;
  }
  .ap_info_txt h3{
    font-size: 4.5vw;
    width: 100%;
  }
  .ap_howto_inner div{
    padding: 5rem 1rem 1rem;
  }

}
@media screen and (max-width: 390px) {
  header .mv{
    min-height: 100vw;
  }
  .mv_inner {
    left: 3rem;
  }
.mv_inner h1{
  font-size: 8vw;
  margin-bottom: 1rem;
}
.mv_inner h2 span{
  font-size: 3.5vw;
  padding: 0 1rem;
  margin: 0;
}
.ap_info_inner a,.ap_btn a{
  font-size: 4vw;
  margin: 1rem;
  padding: 2vw 9vw;
}
.ap_info_inner_point div{
  width: 80%;
}
.ap_info_inner_point div img {
  width: 55%;
}
.ap_problems ul {
  padding: 0 1rem 2rem;
}
.ap_problems ul li:before{
  width: 15vw;
  height: 15vw;
  left: -8vw;
}
.ap_problems_sec_inner h3{
  font-size: 8vw;
  padding: 0 2rem;
}
.ap_problems_sec .p_lt {
  left: 0;
  width: 40%;
}
.ap_problems_sec .p_rt {
  top: 25vh;
}
.ap_problems_sec_check{
  margin: 0;
}
.ap_problems_sec_check .check_box{
  margin: 0 5rem;
}
.ap_problems_sec_check .check_box > div {
    width: 100%;
    order:1;
    margin-bottom: 2rem;
    padding: 3rem;
}
.ap_problems_sec_check .check_box img {
    width: 90%;
    order: 2;
    margin-bottom: 8rem;
}
.ap_problems_sec_check .check_box > div h4{
  line-height: 1.4;
}
.ap_support{
  margin-left: 0;
  padding: 10vw 0;
}
.ap_support_sec{
  padding: 10vw 10vw 20vw;
}
.ap_support h4 {
    font-size: 5vw;
    text-align: center;
}
.ap_support_sec{
  top: 0;
  padding: 10vw 10vw 20vw;
}
.ap_howto{
  padding: 10vw 5vw;
}
.ap_howto h4 {
  font-size: 5vw;
}
.ap_howto_inner{
  margin: 10vw 10vw 11px;
}
.ap_support_sec_inner div, .ap_support_sec_inner5 ,.ap_howto_inner div{
  width: 100%;
}
.ap_support_sec_inner div, .ap_support_sec_inner5{
  padding: 5vw 3vw;
  font-size: 4vw;
}
.ap_howto_inner div{
  height: 65vw;
}
.ap_howto_inner div img {width: 40%;}

}