/*--------------------------------------------------
  Semantic Element
--------------------------------------------------*/
main { min-height: calc(100vh - 664px); }

@media (min-width: 768px) {
  main { min-height: calc(100vh - 280px); }
}

/*--------------------------------------------------
  Container
--------------------------------------------------*/
main .container {
  position: relative;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 540px) {
  main:not(.top-page) .container { max-width: 630px; }
}

@media (min-width: 768px) {
  main:not(.top-page) .container { max-width: 700px; }
}

@media (min-width: 1025px) {
  main:not(.top-page) .container { max-width: 800px; }
  main#terms .container { max-width: 802px; }
}

/*--------------------------------------------------
  Section
--------------------------------------------------*/
.section {
  padding-right: 15px;
  padding-bottom: 48px;
  padding-left: 15px;
}

@media (min-width: 768px) {
  .section {
    padding-right: 0;
    padding-bottom: 50px;
    padding-left: 0;
  }
}

/*--------------------------------------------------
  Heading
--------------------------------------------------*/
.heading {
  margin-bottom: 20px;
  color: #272737;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 2px;
  font-family: NotoSansMedium;
}
.heading-terms {
  text-align: center;
  margin-bottom: 20px;
  color: #272737;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 2px;
  font-family: NotoSansMedium;
}
.heading-error {
  margin-bottom: 10px;
  color: #272737;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 2px;
  text-align: center; 
  font-family: NotoSansMedium;
}
.txt-force-fit1 {
  letter-spacing: -2px;
}

@media (min-width: 768px) {
  .heading,
  .heading-error { line-height: 2; }
  .heading-error { font-size: 24px; }
}

@media (max-width: 380px) {
  .heading { letter-spacing: -2px; }
}

/*--------------------------------------------------
  Entry
--------------------------------------------------*/
.entry-b {
  margin-bottom: 0 0 8px;
  color: #212121;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 27.2px;
  font-family: NotoSansRegular, sans-serif;
}
.entry {
  margin-bottom: 15px;
  color: #212121;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  /*line-height: 27.2px;*/
  line-height: 1.6;
  font-family: NotoSansRegular, sans-serif;
}
.entry-text01{
  margin-bottom: 20px;
  padding-left: 0;
}
.entry-text01 ol{
  /*display: block;
  margin-left: 1em !important;*/
  margin-bottom: 20px;
}
.entry-text01 ol li {
  list-style-type: none;
  counter-increment: cnt;
  line-height: 1.6;
  padding-left: 0;
  margin-bottom: 20px;
}
.entry-text01 ol li::before {
  content:  counter(cnt)".";
  display:inline-block;
  /*margin-left:-1em;*/
  width: 1em;
}

.entry-text02 ol{
  text-indent: 0.2em;
  padding-left: 1em;
  margin-bottom: 20px;
}
.entry-text02 ol li {
  list-style-type: none;
  counter-increment: cnt;
  line-height: 1.6;
  padding-left: 0;
  /*margin: 0 0 10px;*/
  margin: 0;
}

.entry-text02 ol li::before {
  content: "(" counter(cnt) ")";
  display:inline-block;
  /*margin-left:-2.1em;*/
  width: 1.8em;
}

.entry-text03 {
    margin-bottom: 20px;
    padding-left: 0;
}
.entry-text03 ol{
  display: block;
  margin-bottom: 20px;
}
.entry-text03 ol li {
  list-style: none;
  /*text-indent: -1em;
  padding-left: 1em;*/
  line-height: 25px;
}
.entry-text03 ol li::before {
  list-style: none;
  display:inline-block;
  margin-left:0em;
  width: 1em;
}


.entry-alt {
  color: #212121;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 27.2px;
  font-family: NotoSansRegular, sans-serif;
}
.entry-alt-colored {
  color: #36475D;
}

.entry-center {
  margin-bottom: 30px;
  color: #272737;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  text-align: center;
  font-family: NotoSansRegular, sans-serif;
}

.entry-title {
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 27px;
  font-family: NotoSansMedium;
}

.entry-small {
  margin-bottom: 20px;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  font-family: NotoSansRegular, sans-serif;
}

@media (max-width: 767px) {
  .entry-title { margin-bottom: 10px; }
}

/*--------------------------------------------------
  Image-error
--------------------------------------------------*/
.img-error {
  display: block;
  margin-bottom: -20px;
}

/*--------------------------------------------------
  Center box
--------------------------------------------------*/
.center-box {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

/*--------------------------------------------------
  Legal Info
--------------------------------------------------*/
.legal-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-info li {
  display: flex;
  flex-wrap: wrap;
  padding-top: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #D7DADF;
}

.legal-info li:last-child {
  padding-bottom: 23px;
}

.legal-info li > *:first-child {
  flex: 0 0 100%;
}

.legal-info li > *:last-child {
  flex: 0 0 100%;
}

@media (min-width: 768px) {
  .legal-info li > *:first-child {
    flex: 0 0 278px;
  }
  
  .legal-info li > *:last-child {
    flex: 0 0 calc(100% - 278px);
  }
  .legal-info li {
    border-bottom: 1px solid #D7DADF;
  }
}

/*--------------------------------------------------
  List
--------------------------------------------------*/
.list-terms { 
  list-style-position: inside;
  line-height: 1.6;
  margin-bottom: 20px;
}

/*--------------------------------------------------
  Extended Footer
--------------------------------------------------*/
.ext-footer {
  margin-top: 46px;
  background-color: #EAEFF2;
}

.ext-footer-container {
  width: 100%;
  max-width: 375px;
  margin-right: auto;
  margin-left: auto;
}

.ext-footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 30px;
  padding-right: 24px;
  padding-bottom: 60px;
  padding-left: 24px;
}

.ext-footer-item {
  flex: 0 0 100%;
}

.ext-footer-info {
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 24px;
  color: #36475D;
  line-height: 38px;
  letter-spacing: 2px;
  font-family: NotoSansMedium;
}

.ext-footer-icon {
  max-width: 100%;
}

.ext-footer .btn {
  padding-right: 10px;
  padding-left: 10px;
}

@media (min-width: 768px) {
  .ext-footer-container {
    max-width: 750px;
  }

  .ext-footer-content {
    padding-top: 46px;
    padding-right: 20px;
    padding-bottom: 46px;
    padding-left: 20px;
  }

  .ext-footer-item:first-child {
    flex: 0 0 calc(100% - 340px);
    order: 2;
  }

  .ext-footer-item:last-child {
    flex: 0 0 340px;
    order: 1;
  }

  .ext-footer-info {
    font-size: 32px;
    line-height: 48px;
  }
}

@media (max-width: 767px) {
  .ext-footer-item { text-align: center; }
  .ext-footer .btn { display: flex; }
}

/*--------------------------------------------------
  Contact
--------------------------------------------------*/

.contact {
  position: relative;
  margin-bottom:40px;
}

.contact .contact-small {
    color: #272737;
    line-height: 28px;
    margin-bottom: 10px;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    font-family: NotoSansRegular, sans-serif;
}

.contact .contact-title {
    color: #272737;
    line-height: 28px;
    margin-bottom: 10px;
    font-size: 14px;
    font-style:normal;
    font-weight: 700;
    font-family: NotoSansRegular, sans-serif;
}

.contact label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
    font-family: NotoSansMedium;
}

.new-tab {
    width: 20px;
    height: 20px;
    margin-left: 10px;
}

/*--------------------------------------------------
  Form
--------------------------------------------------*/

.form {
  position: relative;
}

.form a {
  color: #2F80ED;
  text-decoration: none;
}

.form label {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  font-family: NotoSansMedium;
}

.form textarea {
  max-width: 100%;
  height: 160px;
  min-height: 50px;
  max-height: 100vh;
  resize: vertical;
}

.form input[type=checkbox] {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}

.form select,
.form input[type=text],
.form input[type=email],
.form input[type=number] {
  height: 48px;
}

.form input[type=text],
.form input[type=email],
.form input[type=number],
.form .select-wrapper {
  margin-bottom: 24px;
}

.form textarea,
.form input[type=text],
.form input[type=email],
.form input[type=number],
.form .select-wrapper,
.form .select-wrapper select {
  width: 100%;
}

.form select,
.form textarea,
.form input[type=text],
.form input[type=email],
.form input[type=number] {
  padding-top: 10px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-left: 20px;
  color: inherit;
  font-size: 16px;
  font-family: inherit;
  font-weight: inherit;
  line-height: 1.6;
  background-color: transparent;
  border: 1px solid #D7DADF;
  border-radius: 8px;
  box-sizing: border-box;
}

.form select {
  padding-right: 48px;
}

form .new-tab-bl {
    width: 15px;
    height: 15px;
    margin-left: 1px;
}

.form .select-wrapper {
  position: relative;
  display: inline-block;
}

.form .select-wrapper::after {
  position: absolute;
  top: calc(50% - 2px);
  right: 20px;
  content: "";
  width: 10px;
  height: 10px;
  border-width: 0 1px 1px 0;
  border-style: solid;
  border-color: #272727;
  transform: translateY(-50%) rotate(45deg);
}

.form button,
.form input[type=button],
.form input[type=submit] {
  margin-top: 30px;
  cursor: pointer;
  border: none;
}

.form button:disabled:hover,
.form input[type=button]:disabled:hover,
.form input[type=submit]:disabled:hover {
  cursor: auto;
  opacity: 0.5;
  box-shadow: none;
}

.form select,
.form button,
.form textarea,
.form input[type=text],
.form input[type=email],
.form input[type=button],
.form input[type=number],
.form input[type=submit] {
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}
.form input[type=submit]:disabled{
  opacity:0.5;
}
.form ::placeholder,
.form ::-webkit-input-placeholder,
.form :-ms-input-placeholder,
.form ::-ms-input-placeholder {
  color: #86919E;
  font-size: 16px;
  line-height: 50px;
}

.form-counter {
  font-family: Sen, monospace;
  font-size: 14px;
  line-height: 18px;
  color: #36475D;
  text-align: right;
  margin-top: 10px;
  margin-bottom: 20px;
}

.form-notice {
  position: relative;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  color: #D15540;
  padding-left: 15px;
  font-family: NotoSansMedium;
}

.form-notice::before {
  position: absolute;
  top: 50%;
  left: 0;
  content: "";
  width: 8px;
  height: 8px;
  transform: translateY(-50%);
  background-color: #D15540;
  border-radius: 50%;
}

.form-required::after {
  position: relative;
  top: -12px;
  content: "\2022";
  color: #D15540;
}

.thankyou a {
  margin-top: 50px;
}
.thankyou .img-error {
  width: 160px;
  height: 160px;
}

main .online-service {
  position: relative;
  width: 100%;
  background-color: #EAEFF2;
  height: auto;
  padding: 46px 0px;
}
main .online-service .container a:hover {
  background-color: #BD412C;
}
main .online-service .container {
  display: block;
  max-width: 670px;
  height: 183px;
  margin: 0px auto;
  background-image: url("../img/brand-logo-3d.svg");
  background-repeat: no-repeat;
  background-size: 25.49vw 12.71vw;         /* background-size: 367px 183px; */
  background-position: 29.17vw 0px;         /* background-position: 420px 0px; */
}
main .online-service .container p {
  font-weight: bold;
  font-size: 2.22vw;                        /* font-size: 32px; */
  line-height: 48px;
  color: #36475D;
  font-family: NotoSansMedium;
}
main .online-service .container a {
  margin-top: 24px;
  text-decoration: none;
  height: 48px;
  line-height: 48px;
}
.contact .entry-small {
  color: #272737;
  line-height: 28px;
}
.contact .agreement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.thankyou .entry-small {
  line-height: 25px;
  padding: 20px;
}
.thankyou .btn-primary-dark {
  width: 121px;
  height: 48px;
  padding-left: 0px;
  padding-right: 0px;
}
.thankyou h2 br {
  display: none;
}
.page-404 .btn-primary-dark {
  width: 121px;
  height: 48px;
  padding-left: 0px;
  padding-right: 0px;
}
.contact .form input[type=checkbox]{
  vertical-align: top;
  position: relative;
  top: 3px;
  cursor: pointer;
}
.contact .section h2 {
  letter-spacing: 0px;
}
.thankyou .description {
  background-color: #F8F8F8;
}
@media screen and (min-width: 1025px) {
  main {
    top: 0px;
    padding-top: 144px;
  }
  .legal section {
    padding-bottom: 96px;
  }
  .privacy {
    margin-top: -20px;
  }
  .privacy .section {
    padding-bottom: 230px;
  }
  .page-404 .img-error,
  .page-504 .img-error,
  .maintenance .img-error {
    margin-left: auto;
    margin-right: auto;
    max-width: 37.37vw;
  }
  .page-404 .heading-error,
  .page-504 .heading-error,
  .maintenance .heading-error  {
    font-size: 2.22vw;
    line-height: 3.34vw;
    margin-top: -0.70vw;
  }
  .page-504 .entry-center,
  .maintenance .entry-center {
    font-size: 1.12vw;
    line-height: 1.89vw;
  }
  .page-404 .btn-primary-dark {
    margin-top: 3.06vw;
  }
  .contact section{
    width: 524px;
    margin:0 auto;
  }
  .thankyou .center-box .img-error {
    margin-bottom: 26px;
  }
  #terms .section {
    padding-bottom: 104px;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1280px) {
  main .online-service .container a{
    font-size: 1.30vw;
    line-height: 1.88vw;
  }
  main .online-service .container p {
    font-size: 2.50vw;
    line-height: 3.75vw;
  }
}
@media screen and (max-width: 1024px) {
  main .online-service .container {
    background-size: 373px auto;
    background-position: 410px 0px;
  }
  main .online-service .container a {
    font-size: 16px;
  }
  main .online-service .container p {
    font-size: 32px;
    line-height: 48px;
  }
  .thankyou .center-box .img-error {
    margin-bottom: 30px;
  }
  .privacy .section {
    padding-bottom: 150px;
  }
  .page-404 .img-error,
  .page-504 .img-error,
  .maintenance .img-error {
    max-width: 52.60vw;
    margin-top: -60px;
  }
  .page-404 .heading-error,
  .page-504 .heading-error,
  .maintenance .heading-error,
  .thankyou h2 {
    margin-top: 20px;
    font-size: 32px;
    margin-top: -2.93vw;
  }
  .page-504 .entry-center,
  .maintenance .entry-center {
    font-size: 1.57vw;
    line-height: 2.64vw;
  }
  .thankyou .description {
    max-width: 560px;
  }
  main {
    top: 0px;
    padding-top: 144px;
  }
  .legal section {
    padding-bottom: 76px;
  }
  .img-error {
    max-width: 438px;
  }
  .contact section {
    padding-bottom: 96px;
  }
  .thankyou .description {
    line-height: 25px;
  }
  #terms .section {
    padding-bottom: 96px;
  }
}
@media screen and (max-width: 768px) {
  main .online-service .container a {
    font-size: 16px;
  }
  main .online-service {
    padding: 4vw 0px 7.30vw 0px;
  }
  main .online-service .container {
    max-width: 360px;
    height: auto;
    background-size: 31.78vw 15.90vw;
    background-position: center 0px;
    box-sizing: border-box;
    padding: 0px 3.13vw;
  }
  main .online-service .container p {
    padding-top: 120px;
    font-size: 24px;
    line-height: 38px;
    letter-spacing: -1px;
    text-align: center;
  }
  main .online-service .container a {
    width: 100%;
    height: 48px;
    margin-top: 40px;
    box-sizing: border-box;
  }
  .thankyou .center-box .img-error {
    margin-bottom: -10px;
  }
  .privacy .section {
    padding-bottom: 40px;
  }
  .page-404 .heading-error,
  .page-504 .heading-error,
  .maintenance .heading-error {
    font-size: 3.13vw; /*32px*/
    margin-top: -0.66vw;
  }
  .page-404 .img-error,
  .page-504 .img-error,
  .maintenance .img-error {
    max-width: 45.71vw; /*351px*/
    margin-top: -7.83vw;
  }
  .page-404 .btn-primary-dark {
    margin-top: 4.17vw;
  }
  .thankyou h2 {
    margin-top: 20px;
    font-size: 24px;
  }
  .thankyou .description {
    max-width: 560px;
  }
  main {
    top: 0px;
    padding-top: 120px;
  }
  .contact input[type='submit'] {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0px;
    padding-right: 0px;
    width: 343px;
  }
  .contact section {
    padding-bottom: 120px;
  }
  .legal section, #terms .section {
    padding-bottom: 64px;
  }
  #terms .section {
    padding-left: 80px;
    padding-right: 80px;
  }
  main .container {
    max-width: 100%;
  }
  main .container .section {
    box-sizing: border-box;
    padding-left: 80px;
    padding-right: 80px;
  }
  main .container.thankyou { 
    max-width: auto; 
    width: auto;
    padding-left: 0px;
    padding-right: 0px;
  }
  .form {
    max-width: 608px;
  }
}

@media screen and (max-width: 540px) {
  main .online-service .container {
    background-size: 246px auto;
    background-position: center 0px;
  }
  main .online-service .container a {
    font-size: 16px;
    line-height: 24px;
    max-width: 327px;
    height: 48px;
  }
  main .online-service .container p {
    padding-top: 120px;
    font-size: 24px;
    line-height: 38px;
  }
  .privacy {
    margin-top: -11px;
  }
  .privacy .section {
    padding-bottom: 55px;
  }
  main .container .section {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-404 .heading-error,
  .page-504 .heading-error,
  .maintenance .heading-error {
    font-size: 4.45vw; /*24px*/
    margin-top: 0px;
    line-height: 7.04vw;
  }
  .page-504 .entry-center,
  .maintenance .entry-center {
    font-size: 2.97vw;
    line-height: 5vw;
  }
  .page-404 .btn-primary-dark {
    margin-top: 5.93vw;
  }
  .thankyou .entry-center br {
    display: none;
  }
  .legal section {
    padding-bottom: 44px;
  }
  #terms .section {
    padding-bottom: 77px;
    padding-left: 16px;
    padding-right: 16px;
  }
  main .container.thankyou { 
    max-width: auto; 
    width: auto;
    padding-left: unset;
    padding-right: unset;
  }
  .page-404 .img-error,
  .page-504 .img-error,
  .maintenance .img-error {
    max-width: 65vw; /*351px*/
    margin-top: 0px;
  }
  .contact form {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .contact section {
    padding-bottom: 80px;
  }
  .form input[type=submit]{
    width: 100%;
  }
}

@media screen and (max-width: 375px) {
  .thankyou h2 br {
    display: block;
  }
  .page-thankyou .context .check-icon{
    margin-bottom: 0px;
  }
}
@media screen and (max-width: 320px) {
  .contact input[type='submit'] {
    width: 280px;
  }
  main .online-service .container p {
    letter-spacing: -1px;
  }
  main .online-service .container {
    width: auto;
    padding: 0px 24px;
  }
  main .online-service .container a {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 280px;
    text-align: center;
    line-height: 48px;
  }
}
@media screen and (min-width: 1441px) {
  main .online-service .container {
    max-width: 770px;
    background-size: 373px auto;
    background-position: 420px 0px;
  }
  main .online-service .container p {
    font-size: 32px;
    line-height: 48px;
  }
}




/* Start of Thank you Page */

.page-thankyou {
  box-sizing: border-box;
  width: 100%;
  min-height: unset;
  background-color: #fff;
}
.page-thankyou .context {
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  /*background-color: white;*/
}
.page-thankyou .context .check-icon {
  display: block;
  margin: 0px auto;
  width: 160px;
  height: auto;
}
.page-thankyou .context .description {
  padding: 20px;
  background-color: #F8F8F8;
}
.page-thankyou .entry-center {
  margin-top: 20px;
}
.page-thankyou .context .btn-primary-dark {
  display: block;
  margin: 32px auto 0px auto;
  padding-left: 0px;
  padding-right: 0px;
  width: 121px;
  height: 48px;
  line-height: 48px;
  text-align: center;
}
.sp-only{display: none;}
@media screen and (min-width: 1025px) {
  .page-thankyou .context {
    padding-bottom: 80px;
    max-width: 760px;
  }
  .page-thankyou .context .check-icon {
    margin-bottom: 26px;
  }
}

@media screen and (max-width: 1024px) {
  .page-thankyou .context .check-icon {
    margin-bottom: 18px;
  }
  .page-thankyou .context {
    padding: 0px 80px 80px 80px;
    max-width: 760px;
  }
}

@media screen and (max-width: 768px) {
  .page-thankyou .context .check-icon {
    margin-bottom: 26px;
  }
  .page-thankyou .context {
    padding: 0px 80px 105px 80px;
    max-width: 100%;
  }
  .legal-info li:last-child{
    border-bottom: 0px;
  }
}

@media screen and (max-width: 540px) {
  .page-thankyou .context {
    padding: 0px 16px 105px 16px;
    max-width: 100%;
  }
  .sp-only{display: block;}
}

main .container.page-404 .section,
main .container.page-504 .section,
main .container.maintenance .section {
  padding-bottom: 0px;
}
main .container.page-404,
main .container.page-504,
main .container.maintenance {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: auto;
}
main.page-thankyou .heading-error {
  letter-spacing: 0px;
}
main .legal .entry-alt a {
  color: #2F80ED;
  text-decoration: none;
}
main#terms h4.entry {
  font-weight:normal;
  font-size: 20px;
  line-height: 30px;
}

/* End of Thank you Page */