@charset "utf-8";

.title {
  height: 80px;
  line-height: 80px;
  color: #ffffff;
  text-align: center;
  background-color: #0014ac;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%235661b5' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

/* イントロ */

.visa-intro {
  font-size: 1.6rem;
  max-width: 750px;
  line-height: 1.5;
  padding: 0 15px;
  margin: 30px auto 0 auto;
}

.intro-image {
  display: block;
  width: 440px;
  margin: 30px auto 0 auto;
}

.visa-intro span {
  background: linear-gradient(transparent 70%, #f9b737 70%);
}

.submission-flow {
  max-width: 600px;
  margin: 40px auto 0 auto;
}

.submission-flow h3 {
  font-size: 24px;
  text-align: center;
}

.submission-flow h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0014ac;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
}

.submission-flow p {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-top: 15px;
  padding: 0 15px;
}

/* 申請フロー */

.application-step-view {
  max-width: 700px;
  margin: 30px auto 0 auto;
  padding: 20px 20px 10px 20px;
  background-color: #ffffff;
  border-radius: 15px;
}

.application-step {
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

/* STEP1 */

.step1-box,
.step2-box,
.step3-box,
.step4-box,
.step5-box {
  color: #f3f3f4;
  min-width: 90px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 50;
}

.step1-box {
  background-color: #D93232;
}

.step2-box {
  background-color: #F25C05;
}

.step3-box {
  background-color: #D97904;
}

.step4-box {
  background-color: #D9A404;
}

.step5-box {
  background-color: #aab604;
}

.step1-box h3,
.step2-box h3,
.step3-box h3,
.step4-box h3,
.step5-box h3 {
  font-size: 1.8rem;
  font-weight: normal;
}

.step1-box p,
.step2-box p,
.step3-box p,
.step4-box p,
.step5-box p {
  font-size: 2.8rem;
}

.step1-triangle {
  width: 0;
  height: 0;
  border-left: solid 15px #D93232;
  border-bottom: solid 15px transparent;
  border-top: solid 15px transparent;
  border-right: solid 15px transparent;
  z-index: 100;
}

.step2-triangle {
  width: 0;
  height: 0;
  border-left: solid 15px #F25C05;
  border-bottom: solid 15px transparent;
  border-top: solid 15px transparent;
  border-right: solid 15px transparent;
  z-index: 100;
}

.step3-triangle {
  width: 0;
  height: 0;
  border-left: solid 15px #D97904;
  border-bottom: solid 15px transparent;
  border-top: solid 15px transparent;
  border-right: solid 15px transparent;
  z-index: 100;
}

.step4-triangle {
  width: 0;
  height: 0;
  border-left: solid 15px #D9A404;
  border-bottom: solid 15px transparent;
  border-top: solid 15px transparent;
  border-right: solid 15px transparent;
  z-index: 100;
}

.step5-triangle {
  width: 0;
  height: 0;
  border-left: solid 15px #aab604;
  border-bottom: solid 15px transparent;
  border-top: solid 15px transparent;
  border-right: solid 15px transparent;
  z-index: 100;
}

.step1-icon-box,
.step2-icon-box,
.step3-icon-box,
.step4-icon-box,
.step5-icon-box {
  line-height: 1.3;
  text-align: center;
  margin-left: -30px;
  width: 160px;
  height: 100%;
  font-weight: bold;
  background-color: #f3f3f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.step1-icon-box p {
  color: #D93232;
}

.step2-icon-box p {
  color: #F25C05;
}

.step3-icon-box p {
  color: #D97904;
}

.step4-icon-box p {
  color: #D9A404;
}

.step5-icon-box p {
  color: #aab604;
}

.step1-icon-box img {
  width: 55px;
  margin-bottom: 5px;
}

.step2-icon-box img {
  width: 45px;
  margin-bottom: 5px;
}

.step3-icon-box img {
  width: 50px;
  margin-bottom: 5px;
}

.step4-icon-box img {
  width: 55px;
  margin-bottom: 5px;
}

.step5-icon-box img {
  width: 55px;
  margin-bottom: 5px;
}

.application-text {
  font-size: 1.6rem;
  line-height: 1.5;
  width: 400px;
  height: 100%;
  background-color: #f3f3f4;
  margin-left: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 申請に必要な書類 */

.submission-document {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}

.submission-document-block {
  margin: 35px 20px 0 20px;
}

.submission-document h3 {
  text-align: center;
}

.submission-document h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0014ac;
  margin: 10px auto 15px auto;
}

.submission-document-list {
  border: 3px solid #0014ac;
  border-radius: 10px;
  padding: 10px 10px 0 10px;
}

.submission-document-list p {
  margin-bottom: 10px;
}

/* サポート費用 */

.service-charge {
  width: 650px;
  max-width: 90%;
  margin: 40px auto 0 auto;
}

.service-charge-header h3 {
  font-size: 2.4rem;
  text-align: center;
}

.service-charge-header h3::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #0014ac;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}

.service-charge h4 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 15px;
}

.service-charge span {
  font-size: 2.8rem;
  background: linear-gradient(transparent 70%, #f9b737 70%);
}

.service-contents {
  width: 320px;
  max-width: 90%;
  margin: 0 auto;
}

.service-contents h5 {
  color: #f3f3f4;
  background-color: #0014ac;
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.3;
  padding: 10px 10px 8px 10px;
  border-radius: 10px 10px 0 0;
}

.service-contents-list {
  line-height: 1.5;
  padding: 10px 10px;
  border: 2px solid #0014ac;
  border-radius: 0 0 10px 10px;
}

.link-button-area {
  font-size: 16px;
  text-align: center;
  margin: -20px auto 30px auto;
}

.link-button {
  display: inline-block;
  color: #ffffff;
  background-color: #0014ac;
  width: 250px;
  line-height: 25px;
  border: 1px solid #0014ac;
  border-radius: 20px;
}

.link-button:hover {
  font-weight: bold;
}

.end-caution-text p {
  line-height: 1.5;
  display: block;
  max-width: 550px;
  margin: 20px auto 0 auto;
  padding: 0 20px 40px 20px;
}

@media (max-width: 768px) {
  
  .title {
    font-size: 12px;
    height: 55px;
    line-height: 55px;
  }

  .intro-image {
    width: 320px;
  }

  .submission-flow h3 {
    font-size: 18px;
  }

  .application-step {
    height: 120px;
  }

  .step1-box,
  .step2-box,
  .step3-box,
  .step4-box,
  .step5-box {
    min-width: 65px;
  }
  
   .step1-icon-box img {
    width: 33px;
  }
  
  .step2-icon-box img {
    width: 27px;
  }
  
  .step3-icon-box img {
    width: 30px;
  }
  
  .step4-icon-box img {
    width: 33px;
  }
  
  .step5-icon-box img {
    width: 33px;
  }

  .service-charge h4 {
    font-size: 1.6rem;
  }

}