/* ---------------- */
/* service-page
/* ---------------- */
.service__intro {
  padding: 10px 0 20px;
}

.service__intro p {
  line-height: 2;
  text-align: justify;
}

.service__box {
  background-color: #e8f6fc;
  padding: 35px 40px;
}

.service__box p {
  line-height: 2;
}

.service__flow {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 30px 120px;
}

.service__flow ol {
  align-items: stretch !important;
}

.service__flow ol li {
  max-width: 350px;
  width: 30%;
  padding: 0 10px;
}

.service__flow ol li div:last-child {
  position: relative;
  padding: 90px 10px 0;
}

.service__flow ol li div:last-child::after {
  content: "";
  display: inline-block;
  width: 75px;
  height: 45px;
  background-image: url(../image/service/arrow_rightward.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: -50px;
  top: 10px;
}

.service__flow ol li div:last-child h3 {
  position: absolute;
  top: -30px;
  text-align: center;
  max-width: none;
  color: #009be0;
  font-size: 1.8rem;
  font-weight: bold;
}

.service__flow ol li div:last-child h3 span {
  display: block;
  color: #009be0;
  font-family: 'Karla', sans-serif;
  font-size: 7.2rem;
  font-weight: 400;
}

.service__flow ol li div:last-child p {
  text-align: justify;
}

.service__flow ol li:last-child div:last-child::after {
  content: none;
}

.service__insurance {
  max-width: 1260px;
  margin: 0 auto;
  padding: 130px 30px 100px;
}

.service__insurance ul {
  flex-wrap: wrap;
  align-items: stretch !important;
}

.service__insurance ul li {
  max-width: 580px;
  width: 49%;
  border: 4px solid #009be0;
  background-color: #ffffff;
  padding: 45px 35px;
  margin-bottom: 30px;
}

.service__insurance ul li h3 {
  font-size: 2.4rem;
  font-weight: bold;
  padding: 0 0 30px 40px;
  position: relative;
}

.service__insurance ul li h3::before {
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  background-repeat: no-repeat;
}

.service__insurance ul li:nth-child(1) h3::before {
  width: 30px;
  height: 25px;
  background-image: url(../image/service/car.png);
}

.service__insurance ul li:nth-child(2) h3::before {
  width: 25px;
  height: 25px;
  background-image: url(../image/service/home.png);
}

.service__insurance ul li:nth-child(3) h3::before {
  width: 27px;
  height: 27px;
  background-image: url(../image/service/first-aid.png);
}

.service__insurance ul li:nth-child(4) h3::before {
  width: 30px;
  height: 30px;
  background-image: url(../image/service/medical.png);
}

.service__insurance ul li:nth-child(5) h3::before {
  width: 28px;
  height: 25px;
  background-image: url(../image/service/heart.png);
}

.service__insurance ul li:nth-child(6) h3::before {
  width: 13px;
  height: 30px;
  left: 5px;
  background-image: url(../image/service/tie.png);
}

.service__insurance ul li p {
  font-size: 1.5rem;
  line-height: 1.8;
  text-align: justify;
}

.service__web-insurance {
  max-width: 1260px;
  margin: 0 auto;
  padding: 120px 30px 100px;
}

.service__web-insurance div {
  padding: 50px;
  margin-bottom: 50px;
  background-color: #f4f5f5;
}

.service__web-insurance div h3 {
  color: #009be0;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1;
  padding-bottom: 50px;
}
.service__web-insurance div ul {
    align-items: stretch;
    flex-wrap:wrap;
}
.service__web-insurance div ul li {
  position: relative;
  padding-bottom: 50px;
  margin: 0 20px 30px 20px;
}
.service__web-insurance div ul li a {
    display:block;
    position:relative;
    width:100%;
    height:100%;
}
.service__web-insurance div ul li a img {
    vertical-align:middle;
    width:auto;
    max-width:100%;
    height:auto;
}
.service__web-insurance div ul li p {
  position: absolute;
  letter-spacing: 0;
  bottom: 0;
  font-size: 1.4rem;
  line-height: 1.7;
}

.service__contact {
  max-width: 1260px;
  margin: 0 auto;
  padding: 120px 30px;
}

.service__contact_catch {
  padding-bottom: 30px;
  text-align: justify;
}

.service__contact_tel {
  padding-bottom: 70px;
}

.service__contact_tel span {
  color: #009be0;
  font-size: 3.6rem;
  font-weight: bold;
  padding: 0 20px 0 10px;
}

.service__contact_tel span a {
  color: #009be0;
}

.service__contact_tel br {
  display: none;
}

.service__contact div {
  background-color: #ffffff;
}

.service__contact div .form-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px 80px;
}

.service__contact div h3 {
  padding: 90px 0 30px;
  color: #009be0;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.06em;
}


.number {
    padding-bottom:40px;
}

.form__item {
  justify-content: flex-start;
  position: relative;
  border-bottom: 2px solid #e3e3e3;
}

.form__item::after {
  content: "";
  display: block;
  max-width: 250px;
  width: 35%;
  position: absolute;
  border-bottom: 2px solid #c9c9c9;
  bottom: -2px;
}

.form__item:nth-of-type(1) {
  border-top: 2px solid #e3e3e3;
}

.form__item:nth-of-type(1)::before {
  content: "";
  display: block;
  width: 35%;
  max-width: 250px;
  position: absolute;
  border-top: 2px solid #c9c9c9;
  top: -2px;
}

form .form__item:nth-of-type(7) {
  border-bottom: none;
  border-top: 2px solid #e3e3e3;
}

form .form__item:nth-of-type(7)::after {
  border-bottom: none;
  border-top: 2px solid #c9c9c9;
  top: -2px;
}

form .form__item:nth-of-type(13) {
  border-top: 2px solid #e3e3e3;
}

form .form__item:nth-of-type(13)::before {
  content: "";
  display: block;
  width: 35%;
  max-width: 250px;
  position: absolute;
  border-top: 2px solid #c9c9c9;
  top: -2px;
}

.form__item div:first-child {
  max-width: 250px;
  width: 40%;
  padding: 20px 30px 20px 10px;
}

.form__item div:first-child label {
  letter-spacing: 0.02em;
}

.form__item div:last-child {
  max-width: 590px;
  width: 70%;
  padding: 15px 10px;
}

.form__item div:last-child span {
  padding: 0 20px 0 10px;
}

form em {
    color:#e33;
    display:block;
    padding-top:10px;
}

form button {
    border:none;
    border-radius:0 !important;
    font-size:1.6rem !important;
}

input[type="text"], textarea {
  max-width: 530px;
  padding: 10px;
}

input[type="text"]::placeholder, textarea::placeholder {
  color: #898989;
}

textarea {
  height: 140px;
}


input[name=mailaddress1] {
    margin-bottom:20px;
}

.postal-code {
  padding-right: 15px;
}

#postalcode {
  max-width: 130px;
}

.year {
  max-width: 130px !important;
  width: 23% !important;
  min-width: 60px;
}

.month {
  max-width: 85px !important;
  width: 15% !important;
  min-width: 40px;
}

.day {
  max-width: 85px !important;
  width: 15% !important;
  min-width: 40px;
}

select {
  max-width: 220px;
  width: 100%;
  padding: 10px;
}

.mandatory {
  display: inline-block;
  color: #ffffff;
  background-color: #30b487;
  font-size: 1.4rem;
  padding: 5px 10px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.privacy {
  padding: 90px 0 50px;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 2;
}

.privacy a {
  color: #2226ee;
  line-height: 2;
  text-decoration: underline;
}

.blue-diagonal {
  background: linear-gradient(112deg, #c3e7f8 33%, #ebf7fd 33%);
}

#contact {
  background-color: #e8f6fc;
}

.cta {
    display:none;
}

.service__contact .form-back h3 ,
.service__contact .form-send h3 {
    display:none;
}
.service__contact .form-back ,
.service__contact .form-send {
    border:none;
    display:inline-block;
    width:48%;
    padding:40px 0;
    text-align:center;
}
.service__contact .form-back button {
    background:#999;
}

/* ------------------ */
/* responsive (laptop)
/* ------------------ */
@media screen and (max-width: 1024px) {
  .service__flow ol {
    flex-direction: column;
  }
  .service__flow ol li {
    max-width: none;
    width: 100%;
    padding: 0 0 40px;
    display: flex;
    justify-content: space-between;
  }
  .service__flow ol li:last-child {
    padding-bottom: 0;
  }
  .service__flow ol li:last-child div:last-child::after {
    content: none;
  }
  .service__flow ol li div:first-child {
    max-width: 350px;
    width: 33%;
  }
  .service__flow ol li div:last-child {
    width: 65%;
    padding: 0;
  }
  .service__flow ol li div:last-child::after {
    content: "";
    display: block;
    background-image: url(../image/top/arrow_downward.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 35px;
    height: 60px;
    margin: 50px 20px 0;
    position: static;
  }
  .service__flow ol li div:last-child h3 {
    position: static;
    text-align: left;
  }
  .service__flow ol li div:last-child h3 span {
    display: inline-block;
    padding-right: 10px;
  }
  .service__insurance ul li {
    padding: 40px 25px;
  }
  .service__web-insurance div {
    padding: 50px 30px;
  }
}

/* ------------------ */
/* responsive (tablet)
/* ------------------ */
@media screen and (max-width: 768px) {
  .service__box {
    padding: 30px 20px;
  }
  .service__flow {
    padding: 30px 4vw 60px;
  }
  .service__flow ol li {
    display: block;
  }
  .service__flow ol li div {
    width: 100% !important;
    max-width: none;
  }
  .service__flow ol li div:first-child {
    margin: 0 auto;
    max-width: 450px;
  }
  .service__flow ol li div:last-child::after {
    margin: 20px auto 0;
  }
  .service__flow ol li div:last-child h3 span {
    padding-top: 10px;
  }
  .service__insurance {
    padding: 70px 4vw 50px;
  }
  .service__insurance ul {
    flex-direction: column;
  }
  .service__insurance ul li {
    padding: 30px 20px;
    max-width: none;
    width: 100%;
  }
  .service__insurance ul li h3 {
    padding: 0 0 30px 40px;
  }
  .service__web-insurance {
    padding: 70px 4vw 50px;
  }
  .service__web-insurance div {
    padding: 50px 4vw;
  }
  .service__web-insurance div:first-of-type ul {
    flex-direction: column;
  }
  .service__web-insurance div:first-of-type ul li:nth-child(2) {
    padding: 0 0 50px;
  }
  .service__web-insurance div:first-of-type ul li:nth-child(5) {
    padding-left: 0;
  }
  .service__web-insurance div:first-of-type ul li p {
    position: static;
    text-align: center;
    padding-top: 30px;
  }
  .service__web-insurance div:nth-of-type(2) ul {
    flex-direction: column;
    max-width: none !important;
  }
  .service__web-insurance div:nth-of-type(2) ul li p {
    position: static;
    text-align: center;
    padding-top: 30px;
  }
  .service__contact {
    padding: 80px 4vw;
  }
  .service__contact div .form-inner {
    padding: 0 4vw 60px;
  }
  .form__item {
    display: block;
  }
  .form__item::before {
    content: none !important;
  }
  .form__item::after {
    content: none !important;
  }
  .form__item:nth-of-type(8) div:first-child {
    display: none;
  }
  .form__item:nth-of-type(13) div:first-child {
    display: none;
  }
  .form__item div:first-child {
    max-width: none;
    width: 100%;
    padding: 20px 20px 10px 10px;
  }
  .form__item div:last-child {
    max-width: none;
    width: 100%;
  }
  input[type=text], textarea {
    max-width: none;
  }
  input[name=mail0] , input[name=mail1] , input[name=mail2] , input[name=mail3] {
    width:40%;
  }
  input[name=birthday1] {
    width:4em;
  }
  input[name=birthday2] , input[name=birthday3] {
    width:2em;
  }
}

/* ------------------ */
/* responsive (sp)
/* ------------------ */
@media screen and (max-width: 640px) {
  .service__flow ol li div:last-child h3 span {
    font-size: 4rem;
  }
  .service__contact_tel span {
    font-size: 2.4rem;
  }
  .service__contact_tel br {
    display: block;
  }
  .mandatory {
    font-size: 1.2rem;
  }
}

/* ------------------ */
/* responsive (sp)
/* ------------------ */
@media screen and (max-width: 414px) {
  .service__insurance ul li {
    padding: 30px 15px;
  }
  .service__insurance ul li h3 {
    font-size: 2rem;
  }
  .service__contact div form h3 {
    font-size: 1.8rem;
  }
  .form__item div:last-child span {
    padding: 0 5px;
  }
}
