@import url("./reset.css");
@import url("./font.css");
html {
  overflow-x: hidden;
}

:root {
  font-size: 10px;
}

.d-none {
  display: none !important;
}

a {
  text-decoration: none;
  color: #333;
  font-size: 1.6rem;
}

body {
  position: relative;
  font-family: "SBAggro", sans-serif;
  color: #333;
  overflow-x: hidden;
  word-break: keep-all;
}
body.modal-active {
  overflow: hidden;
}

.fix-btn {
  position: fixed;
  z-index: 9999;
  display: flex;
  top: calc(50% - 96px);
  right: 0;
  height: 192px;
  width: 52px;
  background: #fff;
  border: 5px solid #1876FB;
  border-right: none;
  border-radius: 10px 0 0 10px;
  writing-mode: vertical-rl;
  cursor: pointer;
}
.fix-btn span {
  margin: auto;
  color: #1876FB;
  font-size: 30px;
}

.modal,
.privacy-modal {
  position: fixed;
  padding: 20px;
  inset: 0;
  z-index: 9999;
  display: flex;
  background: rgba(0, 0, 0, 0.7);
}
.modal .modal-wrap,
.privacy-modal .modal-wrap {
  overflow: hidden;
  margin: auto;
  max-width: 780px;
  width: 100%;
  height: 70rem;
  background: #fff;
  border-radius: 10px;
  position: relative;
}
.modal .modal-wrap .modal-head,
.privacy-modal .modal-wrap .modal-head {
  position: relative;
  text-align: center;
  background: #f9f9f9;
  line-height: 7.6rem;
}
.modal .modal-wrap .modal-head .modal-close-btn,
.privacy-modal .modal-wrap .modal-head .modal-close-btn {
  position: absolute;
  right: 2rem;
  top: calc(50% - 1.8rem);
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid #e1e1e1;
  border-radius: 50%;
}
.modal .modal-wrap .modal-head .modal-close-btn span,
.privacy-modal .modal-wrap .modal-head .modal-close-btn span {
  display: block;
  width: 1.6rem;
  height: 0.16rem;
  background: #333;
  border-radius: 2px;
}
.modal .modal-wrap .modal-head .modal-close-btn span:nth-child(1),
.privacy-modal .modal-wrap .modal-head .modal-close-btn span:nth-child(1) {
  transform: translate(1rem, 1.7rem) rotate(45deg);
}
.modal .modal-wrap .modal-head .modal-close-btn span:nth-child(2),
.privacy-modal .modal-wrap .modal-head .modal-close-btn span:nth-child(2) {
  transform: translate(1rem, 1.55rem) rotate(-45deg);
}
.modal .modal-wrap .modal-body,
.privacy-modal .modal-wrap .modal-body {
  height: calc(100% - 116px);
  padding: 40px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  overflow-y: scroll;
}
.modal .modal-wrap .modal-body p,
.privacy-modal .modal-wrap .modal-body p {
  margin-bottom: 40px;
}
.modal .modal-wrap .modal-body dt,
.privacy-modal .modal-wrap .modal-body dt {
  margin-bottom: 10px;
  font-weight: 500;
}
.modal .modal-wrap .modal-body dl,
.privacy-modal .modal-wrap .modal-body dl {
  margin-bottom: 40px;
}

h2 {
  font-size: 1.6rem;
  font-weight: 300;
}

.header-txt-b {
  font-size: 2.4rem;
  font-weight: 500;
}

form {
  width: 100%;
  height: calc(100% - 7.6rem);
  padding: 4rem 10rem 11.7rem;
  box-sizing: border-box;
  overflow-y: auto;
}

.form-page {
  display: none;
}
.form-page.active {
  display: flex;
  flex-direction: column;
}

.page-num {
  margin-inline: auto;
  margin-bottom: 1rem;
  display: block;
  width: 4rem;
  line-height: 2rem;
  border-radius: 2rem;
  text-align: center;
  font-weight: 300;
  color: #fff;
  background: #1876FB;
}

h3 {
  margin-inline: auto;
  display: inline-block;
  font-size: 3.2rem;
  border-bottom: 4px solid #333;
  margin-bottom: 4rem;
  text-align: center;
}

label {
  display: block;
  line-height: 5.6rem;
  font-size: 2rem;
  text-align: center;
  max-width: 38rem;
  width: 100%;
  border: 1px solid #e1e1e1;
  border-radius: 1rem;
  margin-bottom: 1rem;
  margin-inline: auto;
  cursor: pointer;
  color: #666;
}

input:checked + label {
  color: #fff;
  background: #1876FB;
}

span.alert-txt {
  display: block;
  text-align: center;
  font-size: 1.4rem;
  color: #F54931;
}

.btn-ui {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  width: 100%;
  border-top: 1px solid #e1e1e1;
  background: #fff;
}
.btn-ui a,
.btn-ui input[type=button] {
  display: block;
  width: 50%;
  line-height: 7.6rem;
  font-size: 1.6rem;
  color: #666;
  text-align: center;
}
.btn-ui a:first-child,
.btn-ui input[type=button]:first-child {
  width: calc(50% - 1px);
  border-right: 1px solid #e1e1e1;
}
.btn-ui a:hover,
.btn-ui input[type=button]:hover {
  color: #fff;
  background: #1876FB;
}
.btn-ui input[type=button] {
  border: none;
  background: none;
  font-family: "SBAggro", sans-serif;
  cursor: pointer;
  padding: 0;
}

.region {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.region label {
  max-width: 18.5rem;
  width: calc(33.3333333333% - 2rem);
  flex-grow: 1;
}

.form-last {
  max-width: 38rem;
  width: 100%;
  margin-inline: auto;
}

.position {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.position label {
  max-width: 18.5rem;
  width: 50%;
}

.input-txt {
  display: flex;
}
.input-txt label {
  width: calc(25% - 1rem);
  border: none;
  text-align: left;
  cursor: inherit;
}
.input-txt label:hover {
  color: #666;
  background: inherit;
}
.input-txt input[type=text] {
  padding: 0 1rem;
  box-sizing: border-box;
  width: calc(75% - 1rem);
  border: 1px solid #e1e1e1;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.agreement label {
  position: relative;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: end;
  font-size: 1.6rem;
  line-height: inherit;
  border: none;
}
.agreement label:hover {
  color: #666;
  background: inherit;
}
.agreement label::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2rem;
  background-color: #fff;
  border: 2px solid #1876FB;
  box-sizing: border-box;
}
.agreement input[type=checkbox]:checked + label {
  color: #666;
  background: inherit;
}
.agreement input[type=checkbox]:checked + label::before {
  background-color: #1876FB;
}

.procedure span {
  display: block;
  line-height: 5.6rem;
  font-size: 2rem;
  text-align: center;
  max-width: 38rem;
  width: 100%;
  background: #1876FB;
  border-radius: 1rem;
  margin-bottom: 1rem;
  margin-inline: auto;
  color: #fff;
}

iframe {
  width: 100%;
  height: calc(100% - 7.6rem);
  padding: 0;
  box-sizing: border-box;
  position: relative;
}

.d-flex {
  display: flex;
}

.m-bottom-80 {
  margin-bottom: 80px;
}

.m-bottom-160 {
  margin-bottom: 160px;
}

section {
  padding: 160px 18px;
}
section > div {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  max-width: 980px;
  width: 100%;
  overflow: hidden;
}
section img {
  width: 100%;
}
section#st_01 {
  padding: 40px 18px;
  box-sizing: border-box;
  height: 100dvh;
}
section#st_01 div {
  height: 100%;
}
section#st_01 div img {
  display: block;
  margin: auto;
}
section#st_02 {
  background: #1876FB;
  padding: 40px 18px;
}
section#st_04 {
  flex-direction: column;
  align-items: center;
  background: #1876FB;
}
section#st_04 > div:nth-child(1) {
  position: static;
}
section#st_04 > div:nth-child(2) {
  gap: 20px;
  align-items: end;
}
section#st_04 > div:nth-child(2) > div:nth-child(1) {
  width: 60%;
}
section#st_04 > div:nth-child(2) > div:nth-child(2) {
  width: 40%;
}
section#st_05 > div:nth-child(1) {
  margin-bottom: 160px;
}
section#st_06 {
  background: #DFF0FF;
  padding: 160px 18px 80px;
}
section#st_07 {
  background: #1876FB;
  padding: 40px 20px;
}
section#st_08 {
  padding: 0 18px 80px;
}
section#st_09 {
  padding: 0 18px 80px;
}
section#st_09 ul {
  gap: 20px;
}
section#st_10 {
  background: #1876FB;
  padding: 40px 18px;
}
section#st_12 {
  background: #F6FCFF;
}
section#st_13 {
  background: #1876FB;
  padding: 40px 18px;
}
section#st_14 {
  background: #F6FCFF;
}
section#st_15 {
  padding: 80px 18px;
  background: #233C5F;
}
section .popup-btn {
  display: block;
  margin: 0 auto;
  max-width: 580px;
  width: 100%;
  min-width: 192px;
  line-height: 100px;
  background: #fff;
  color: #1876FB;
  border-radius: 10px;
  font-size: 40px;
  text-align: center;
}

.consulting > span {
  display: block;
  text-align: right;
  color: #FFDC00;
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: 300;
  text-decoration: underline;
}
.consulting ul li {
  align-items: end;
  padding: 40px 24px;
  border-radius: 10px;
}
.consulting ul li span {
  color: #999;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.05em;
}
.consulting ul li span:nth-child(2) {
  margin-left: auto;
  font-size: 60px;
  font-weight: 700;
  transform: translateY(6px);
}
.consulting ul li:nth-child(1) {
  position: relative;
  margin-bottom: 120px;
  background: #fff;
}
.consulting ul li:nth-child(1) span:nth-child(1) {
  color: #333;
}
.consulting ul li:nth-child(1)::after {
  content: url(../images/arrow.png);
  position: absolute;
  bottom: -70%;
  right: 30%;
}
.consulting ul li:nth-child(2) {
  background: #152C4C;
}
.consulting ul li:nth-child(2) span {
  color: #F64D18;
}
.consulting ul li:nth-child(2) span:nth-child(1) {
  color: #FFDC00;
}

.inquiry {
  width: 100%;
  gap: 20px;
}
.inquiry li {
  position: relative;
  max-width: 400px;
  width: 50%;
  height: 0;
  padding-bottom: calc(50% - 90px);
  margin: 0 40px;
  border-radius: 50%;
  background: #1876FB;
}
.inquiry li div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 30px;
  color: #fff;
}
.inquiry li div p {
  margin-top: 20px;
  text-align: right;
  font-size: 45px;
  font-weight: 700;
}
.inquiry li div p span {
  font-size: 100px;
  color: #FFDC00;
}

footer {
  padding: 80px 18px;
  background: #333;
}
footer ul {
  display: flex;
  margin: 0 auto;
  max-width: 1180px;
  width: 100%;
  gap: 20px;
}
footer ul li {
  width: 50%;
  color: #fff;
  font-size: 14px;
}
footer ul li dl {
  margin-bottom: 40px;
}
footer ul li dt {
  font-weight: 500;
  margin-bottom: 10px;
}
footer ul li dd,
footer ul li address {
  font-weight: 300;
  line-height: 22px;
  font-size: 12px;
}
footer ul li dd a,
footer ul li address a {
  font-size: 12px;
  color: #fff;
}
footer ul .privacy-popup-btn {
  display: inline-block;
  padding: 20px 40px;
  border: 1px solid #fff;
  font-size: 20px;
  color: #fff;
}

@media (max-width: 920px) {
  section#st_04 > div:nth-child(1) {
    position: absolute;
  }
  section#st_04 > div:nth-child(2) {
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  section#st_04 > div:nth-child(2) > div:nth-child(1) {
    width: 100%;
  }
  .consulting > span {
    text-align: left;
  }
  .inquiry li {
    padding-bottom: calc(50% - 50px);
    margin: 0 20px;
  }
}
@media (max-width: 768px) {
  .fix-btn {
    top: calc(100% - 200px);
    height: 156px;
    width: 40px;
  }
  .fix-btn span {
    font-size: 24px;
  }
  section {
    padding: 80px 18px;
  }
  section#st_04 > div:nth-child(2) {
    gap: 0;
  }
  section#st_05 > div:nth-child(1) {
    margin-bottom: 80px;
  }
  section#st_09 ul {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
  section#st_09 ul li {
    width: 80%;
  }
  section#st_15 {
    padding: 40px 18px;
  }
  section .popup-btn {
    max-width: 580px;
    width: 50%;
    line-height: 2.4;
    font-size: 20px;
  }
  .consulting > span {
    font-size: 20px;
  }
  .inquiry li div {
    font-size: 20px;
  }
  .inquiry li div p {
    margin-top: 20px;
    text-align: right;
    font-size: 30px;
    font-weight: 700;
  }
  .inquiry li div p span {
    font-size: 60px;
    color: #FFDC00;
  }
  footer ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  footer ul li {
    width: 100%;
  }
  footer ul .privacy-popup-btn {
    font-size: 16px;
  }
  .modal .modal-wrap,
  .privacy-modal .modal-wrap {
    height: 100%;
  }
  form {
    height: calc(100% - 15.2rem);
    padding: 4rem 2rem;
  }
  .region label {
    width: calc(50% - 1rem);
  }
}
@media (max-width: 620px) {
  section#st_06 {
    padding: 40px 18px;
  }
  .consulting ul li {
    flex-wrap: wrap;
  }
  .consulting ul li span {
    font-size: 20px;
  }
  .consulting ul li span:nth-child(1) {
    width: 100%;
  }
  .consulting ul li span:nth-child(2) {
    font-size: 52px;
  }
  .consulting ul li:nth-child(1)::after {
    right: 50%;
    transform: translateX(50%);
  }
  .inquiry li {
    padding-bottom: calc(50% - 10px);
    margin: 0 0;
  }
  .header-txt-b {
    font-size: 1.6rem;
    font-weight: 500;
  }
}
@media (max-width: 480px) {
  .inquiry li div p {
    margin-top: 10px;
  }
  .inquiry li div p span {
    font-size: 40px;
    color: #FFDC00;
  }
}
@media (max-width: 420px) {
  .consulting ul li span:nth-child(2) {
    font-size: 40px;
  }
  .header-txt-b {
    text-indent: -4rem;
    font-size: 1.4rem;
  }
  .input-txt label {
    width: calc(30% - 1rem);
  }
  .input-txt input[type=text] {
    width: calc(70% - 1rem);
  }
}