*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    background-image: url(../image/bg.jpg);
    background-position: bottom;
    background-size: 100vw;
    background-position: fixed;
    background-attachment: fixed;
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
}
/*基準を1rem=10pxに設定*/
html {
    font-size: 62.5%;
}
/*最小値:1.1rem → 可変（0.9rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.6rem*/
.font-S {
    font-size: clamp(1.1rem, calc(0.9rem + 0.625vw), 1.6rem);
}

/*最小値:1.2rem → 可変（1rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:1.7rem*/
.font-M {
    font-size: 1.5rem;
}

/*最小値:1.6rem → 可変（2.2rem + 0.625vw（画面幅320px:2px, 800px:5px, 1200px:7.5px））→ 最大値:2.9rem*/
.font-L {
    font-size: clamp(2.4rem, calc(2.2rem + 0.625vw), 2.9rem);
}
body{
    max-width: 500px;
margin: 0 auto;
text-align: center;
box-shadow: 0px 0px 30px rgba(0,0,0,.3);
background-color: #fff;
font-family: noto-sans-cjk-jp, sans-serif;
font-weight: 500;
font-style: normal;
}

img{
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
section{
    margin: 0;
    padding: 0;
    border: solid 1px rgba(255, 255, 255, 0);
}
h2{
    color: #4b90c7;
    letter-spacing: 2px;
    margin: 0 auto 50px;
    font-weight: bold;
}
h2 span{
    color: #3c3c3c ;
}
h2 span.smaller{
font-size: smaller;
}
li{
    list-style: none;
}
.left{
    text-align: left;
}
span.bg-yellow{
background-color: #f9fe8b;
}
/*====================*/
div{
    margin: 0;
    padding: 0;
}
header{
    background-color: #0c3b6a;
    display: flex;
    justify-content:space-between;
    align-items: center;
    max-height: 70px;
    z-index: 0;
    position: relative;
    max-width: 100%;
    flex-wrap: nowrap;
}
header img{
    z-index: 1;
    transition: ease .7s;
    padding:0;
    margin: 0;
}
header div:nth-child(2){
    flex: 1;
}
header div:nth-child(3){
    flex: 3;
}
header div:nth-child(4){
    flex: 1;
}
header div:nth-child(4) img{
    width: 100%;
}
header a{
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    left: 0;
    top:0;
}
/*kv=========*/
.kv{
    
    padding:0;
    margin: 0;
    line-height: 0;
}
.kv img{
    width: 100%;
}
/*campaign========*/
.campaign{
    padding:0;
    margin: 0;
}
.campaign img{
    width: 100%;
}
/*service=======================*/
.service{
    background-image: url(../image/service_bg.jpg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    border: solid 1px rgba(255, 255, 255, 0);
    padding:20% 0
}
.service .wrap_box{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap:20px 10px;
    justify-content: center;
}
.service .box{
    width: calc(50% - 20px);
    border-radius: 10px;
    box-shadow:  3px 3px 5px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}
.service .box h3{
    background-color: #4dc4ee;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 1rem 0;
    color: #fff;
    font-size: 1.8rem;
}
.service .box p.price{
    color: #e00f40;
    margin: 0.5rem auto;
    font-family: "din-2014", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 3rem;
}
.service .box p.price:after{
content:"円～";
font-size: 1.5rem;
font-weight: bold;
color: darkslategray;
padding-left: 5px;
}
.service .box ul li{
    color: #056ec9;
    font-size:smaller;
    font-weight: 900;
    border: 1px #056ec9 solid;
    border-radius: 5px;
    margin: 2px;
    display:inline-block;
    padding:2px;
    margin-top: .5rem;
}
.service .box ul{
    flex-grow: 1;
    font-size: 1.5rem;
}
/*====insure====*/
.insure{
    background-color: #e5d9c4;
    padding: 1rem 1rem 10% 1rem;
    position: relative;
    z-index: 0;
}
.insure div{
    background-color: #fff;
    text-align: left;
    padding: 20px 100px 20px 20px;
    border-radius: 20px;
}
.insure div p{
    line-height: 1.9;
}
.insure div p span{
    font-size: x-large;
    display: inline-block;
    background:linear-gradient(transparent 60%, #ff6 60%);
}
.insure img.ttl{
    margin-top: -30px;
    margin-bottom: 20px;
}
.insure img.illust{
position: absolute;
right: 0;
bottom:-1px;
max-width: 120px;
z-index: 0;
}
/*===profile=====*/
.profile{
    background-image: url(../image/service_bg.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    padding: 0 1rem 20%;
}
.profile .box{
    background-color: #fff;
    margin: 0 1rem;
    padding:.5rem 1rem;
    box-shadow: 0px 0px 5px rgba(0,0,0,.2);
}
.profile .box h3{
    background-color: #013185;
    color: #fff;
    padding: 10px 0;
    margin-bottom: 20px;
    margin-top: 20px;
}
.profile .box table{
    margin: 0 auto;
    text-align: left;
    width: 100%;
    border: solid #f1f1f1 2px;
    border-collapse: collapse;
}
.profile .box table th{
    text-align: center;
    background-color: #f1f1f1;
    padding: 1rem 0;
    width: 30%;
}
.profile .box table td{
    width: 70%;
    padding: 1rem ;
    line-height: 1.8;
}
.profile .box p{
    line-height: 1.8;
}
/*flow=========*/
.flow{
    background-color: #eefaff;
    padding: 10% 1rem;
    display: none;
}
.flow .step .ttl{
    font-size:larger;
    font-weight: bold;
    text-align: left;
    position: relative;
    padding: 0.5rem 0 0.5rem 4rem;
    color: #013185;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}
.flow .step .ttl span {
    position: absolute;
    top: 0;
    left: 0;
    padding: .5rem 1rem;
    color: #e3f5d8;
    background: #4b90c7;
  }
.flow .step{
    margin: 1rem;
    width: 90%;
    margin: 0 auto 60px;
    position: relative;
}
.flow .step::after{
    content:"";
    width: 30px;
    height: 20px;
    position: absolute;
    bottom:-40px;
    z-index: 1;
  display: inline-block;
  vertical-align: middle;
  color: #013185;
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: .8rem 1.3rem;
  border-top-color: currentColor;
  border-bottom: 0;
}
.flow .step p{
    text-align: left;
    padding:0 1rem;
}
.flow .step img{
    width: 100%;
}
.flow .step .wrap_img{

    position: relative;
}
.flow .step .wrap_img span{
content: "無料";
position: absolute;
z-index: 1;
color: #013185;
right: -20px;
top:-20px;
background-color: #fbef20;
width: 80px;
height: 80px;
display: flex;
justify-content: center;
align-items: center;
font-weight: bold;
border-radius: 45px;
font-size: 1.5rem;
transform: rotate(20deg);
}
/*voice=============*/
.voice {
    background-image: url(../image/voice_bg.jpg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
    border: solid 1px rgba(255, 255, 255, 0);
    padding:20% 1rem 10%;
}
.voice .baloon{
    background-color: #ff8c28;
    color: #fff;
    display: inline;
    padding:10px;
    border-radius: 50px;
    position: relative;
    font-weight: bold;
    font-size: 1.5rem;
}
.voice .baloon::after{
    content:"";
    width: 30px;
    position: absolute;
    bottom: -.6rem;
    left:50%;
    transform: translateX(-50%);
  display: inline-block;
  vertical-align: middle;
  color:  #ff8c28;
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: .6rem .8rem;
  border-top-color: currentColor;
  border-bottom: 0;
}
.voice h2{
    color: #ff8c28;
    margin-top: 2rem;

}
.voice h3{
    color: #4b90c7;
    margin-bottom: 1rem;
}
.voice .box{
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
    padding: 1rem;
    margin-bottom: 3rem;
}
.voice .box .flex{
    display: flex;
    border-bottom: solid 1px #878787;
    margin-bottom: 1.5rem;
    align-items: center;
    gap:30px;
    text-align: left;
    padding-bottom: 1.5rem;
}
.voice .box .flex img{
    margin: 0;
}
.voice .box img{
    width: 25%;
}
.voice .box .flex div{
   
    width: 75%;
}

.voice .box .flex div img{
    width: 60%;
}
.voice p{
    text-align: left;
    line-height: 2;
}
.voice p span{
    background-color: #f9fe8b;
}
/*q-a==========*/
.q-a{
    background-color: #eefaff;
    padding: 10% 1rem;
}
.q-a div{
    background-color: #fff;
    text-align: left;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
}
.q-a h3{
    background-color: #55aed5;
    padding: 1rem ;
    color: #fff;
}
.q-a h3::before{
    content:"Q";
    color: #fbef20;
    font-family: "din-2014", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size:x-large;
    padding-right: 10px;
}
.q-a div p{
    padding: 1rem;
    line-height: 1.8;
}
/*======================*/
.company{
    padding: 10% 1rem 120px;
    background-color: #f5f5f5;
}
.company h2{
    color: #000;
}
.company td,
th,
tr,
table{
    border-collapse: collapse;
    border-spacing: 0;
}
.company table{
    box-shadow: 0 0 10px rgba(0,0,0,.2);
    width: 100%;
    background-color: #fff;
    padding: 1rem;
}
.company table th{
    color: #0c3b6a;
    padding: 1.5rem;
}
.company table td{
    padding: 1.5rem;
    text-align: left;
}
.company table tr:nth-child(odd) th,
.company table tr:nth-child(odd) td{
background-color: #EEF7FF;
}
/*--------------*/

footer{
    max-width: 500px;
}
footer img{
    padding:0;
    margin: 0;
}
.floating {
    position: fixed;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    background-color: #0c3b6a;
    display: flex;
    justify-content:space-between;
    align-items:center;
    max-height: 75px;
    z-index: 0;
    width: 100%;
    max-width: 500px;
    flex-wrap: nowrap;
    padding: 0 0 0 3px;
  }
  
.floating a{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top:0
}
.floating div:nth-child(2){
    width: 100%;
}
.floating div:nth-child(2) img{
    width: 100%;
}
.floating div:nth-child(3){
    max-width: 17%;
    margin-bottom: 40px;
}
.floating div:nth-child(3) img{
    width: 100%;
}
  .floating.fade-in-up {
    animation-name: fade-in-up;
  }
  
  .floating.fade-in-down {
    animation-name: fade-in-down;
  }
  @keyframes fade-in-up {
    0% {
      bottom: -20px;
      opacity: 0;
    }
    100% {
      bottom: -3px;
      opacity: 1;
    }
  }
  
  @keyframes fade-in-down {
    0% {
      bottom: -3px;
      opacity: 1;
    }
    100% {
      bottom: -20px;
      opacity: 0;
    }
  }
  /*===*/
  /*その他主な共通部分は省略*/
  .contact{
    padding: 20% 1rem;
    background-image: url(../image/contact_bg.jpg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: contain;
  }
  .contact h2{
    color: #3c3c3c;
  }
 .contact a{
    margin: 10px 0;
    display: block;
    color: #fff !important;
    background: #009BDF;
    text-decoration: none;
    font-weight: bold;
    font-size:16px;
    border-radius: 3px;
    text-align:center;
    width: 350px;
    padding: 1.8rem 0;
    margin: 10px auto;
    font-size:1.7rem;
    display:inline-block;
    transition: ease .4s;
  }
  .contact a:before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin: -3px 5px 0 0;
    background: url("../image/svg/icon-phone.svg") no-repeat;
    background-size: contain;
    vertical-align: middle;
    margin: -3px 10px 0 0;
  }
  .contact a:hover {
    opacity: .8;
    transition: ease .4s;
  }
  .contact a:nth-child(3){
    
    background: #036a96;
  }
  .contact a:nth-child(3):before {
    background: url("../image/svg/icon-mail.svg") no-repeat;
  }