/* common */
:root {
  --font-body: "Barlow", "Noto Sans JP", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Barlow", sans-serif;
  --color-bg: #fff;
  --color-bg-dark: #222427;
  --color-bg-gray: #f4f4f4;
  --color-txt: #313438;
  --color-txt-gray: #7A818B;
  --color-border: #d6d6d6;
  --color-attention: #cd3936;
}

html {
  margin: 0;
  padding: 0;
  font-size: clamp(0.5rem, 0.3119rem + 0.3914vw, 0.625rem);
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}
@media screen and (width <= 768px) {
  html {
    font-size: 2.5641025641vw;
    scroll-padding-top: 6rem;
  }
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--color-txt);
  line-height: 2;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}
body .sp-only {
  display: none;
}
body .is-bold {
  font-weight: bold;
}
@media screen and (width <= 768px) {
  body{
    font-size: 1.4rem;
  }
  body .sp-only {
    display: block;
  }
}

body .pc-only {
  display: none;
}
@media screen and (width >= 769px) {
  body .pc-only {
    display: block;
  }
}

main {
  min-height: calc(100vh - 7.7rem - 19.4rem);
  padding-bottom: 20rem;
  background-color: var(--color-bg);
  /* overflow: hidden; */
  overflow: clip;
}
section{
  padding: 0 3rem;
}
.section-inner {
  position: relative;
  max-width: 124rem;
  margin: auto;
}
.btn{
  width: 100%;
  max-width: 40rem;
  margin: auto;
  padding: 2.5rem;
  background-color: var(--color-bg-dark);
  font-size: 2.4rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
  transition: opacity .3s;
}
@media screen and (width <= 768px) {
  main {
    padding-bottom: 10rem;
  }
  section{
    padding: 0 2rem;
  }
  .btn{
    font-size: 1.8rem;
  }
}
@media (any-hover: hover) {
  .btn:hover{
    opacity: 0.5;
  }
}

h2, h3, h4{
  line-height: 1.4;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a,
a:visited,
a:hover,
a:active {
  /* color: inherit; */
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  background-color: rgb(0 0 0 / 0%);
  border: none;
  outline: none;
  cursor: pointer;
  font-family: var(--font-body);
}

svg {
  width: 100%;
  height: auto;
  display: block;
}

input[type="text"]{
  width: 100%;
	padding: 1rem 2rem;
	border: solid 1px var(--color-border);
	border-radius: 0.5rem;
}
input[type="text"]:focus{
  outline-color: var(--color-border);
}

textarea{
	width: 100%;
  min-height: 18.2rem;
	margin: 1rem auto;
	padding: 1rem 2rem;
	border: solid 1px var(--color-border);
	border-radius: 0.5rem;
	field-sizing: content;
}
textarea:focus{
  outline-color: var(--color-border);
}

.select-wrapper{
  position: relative;
  width: 100%;
}
.select-wrapper::before{
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 8rem;
  height: calc(100% - 2px);
  background: linear-gradient(90deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%);
	border-radius: 0.5rem;
  pointer-events: none;
}
.select-wrapper::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 2rem;
  width: 1rem;
  height: 1rem;
  margin: auto;
  border-right: 1px solid var(--color-txt);
  border-bottom: 1px solid var(--color-txt);
  transform: rotate(45deg) translate(-0.1rem, -0.1rem);
  pointer-events: none;
}
select{
  width: 100%;
	margin: 0 0.5rem;
	padding: 1rem 2rem;
	border: solid 1px var(--color-border);
	border-radius: 0.5rem;
  -webkit-appearance: none;
  appearance: none;
}
select:first-of-type{
  margin-left: 0;
}
select:focus{
  outline-color: var(--color-border);
}
select:invalid{
  color: var(--color-txt-gray);
}

label{
	cursor: pointer;
	white-space: nowrap;
}

label input[type="radio"]{
  position: relative;
  min-width: 3rem;
  aspect-ratio: 1 / 1;
  /* margin-right: 1rem; */
  margin: 0;
  border: solid 1px var(--color-border);
  border-radius: 50vmax;
  /* vertical-align: middle; */
  display: inline-block;
  /* transform: translateY(-10%); */
  appearance: none;
}
label input[type="radio"]::after{
  content: "";
  position: absolute;
  inset: 0;
  width: 65%;
  height: 65%;
  margin: auto;
  border-radius: 50vmax;
  background-color: var(--color-txt);
  opacity: 0;
  transform: scale(0);
  transition: opacity .3s, transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
label input[type="radio"]:checked::after{
  opacity: 1;
  transform: scale(1);
}

label input[type="checkbox"]{
  position: relative;
  min-width: 3rem;
  aspect-ratio: 1 / 1;
  /* margin-right: 1rem; */
  border: solid 1px var(--color-border);
  border-radius: 0.5rem;
  /* vertical-align: middle; */
  display: inline-block;
  /* transform: translateY(-10%); */
  appearance: none;
}
label input[type="checkbox"]::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0.5rem;
  width: 2.6rem;
  height: 1.6rem;
  border-bottom: 0.6rem solid var(--color-txt);
  border-left: 0.6rem solid var(--color-txt);
  opacity: 0;
  transform: rotate(-45deg) scale(0);
  transition: opacity .3s, transform .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
label input[type="checkbox"]:checked::after{
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

img{
  height: auto;
}

a{
  color: inherit;
}
a.link-underline,
a.link-external{
  position: relative;
  padding-bottom: 0.1rem;
  border-bottom: solid 1px var(--color-border);
  display: inline-block;
}
a.link-underline::before,
a.link-external::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-txt);
  pointer-events: none;
  transition: width .3s;
}
a.link-external::after{
  content: "";
  width: 1.4rem;
  aspect-ratio: 1/1;
  margin-left: 0.5rem;
  background: url("../img/icon_external.svg") no-repeat center center;
  background-size: cover;
  filter: invert(1);
  display: inline-block;
}
@media (any-hover: hover) {
  a.link-underline:hover::before,
  a.link-external:hover::before{
    width: 100%;
  }
}
@media screen and (width >= 769px) {
  a[href^="tel:"]{
    padding-bottom: 0 !important;
    pointer-events: none;
    border-bottom: none !important;
  }
  a[href^="tel:"]::after{
    display: none;
  }
}


table, th, td{
  border: solid 1px var(--color-border);
  border-collapse: collapse;
}
th,td{
  padding: 1rem;
}
table{
  margin-top: 1rem;
}
th{
  background-color: var(--color-bg-gray);
  font-weight: bold;
  text-align: center;
}

/*-------------------------------- */
/* dialog */
/*-------------------------------- */
dialog{
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: inherit !important;
  height: 100%;
  max-height: inherit !important;
  margin: 0 !important;
  padding: 0;
  background-color: transparent;
  border: none;
  z-index: calc(infinity);
}
#modal .modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
#modal .modal-bg{
  position: absolute;
  inset: 0;
  background-color: rgba(34, 36, 39, 0.7);
  backdrop-filter: blur(1rem);
  font-size: 0;
}
#modal .modal-inner {
  position: relative;
  width: 95%;
  height: 95%;
  max-width: 86rem;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  pointer-events: none;
}
#modal .modal-btn-close {
  position: relative;
  width: 4rem;
  aspect-ratio: 1/1;
  background-color: var(--color-bg-dark);
  font-size: 0;
  transition: opacity .3s;
  pointer-events: auto;
}
#modal .modal-btn-close::before,
#modal .modal-btn-close::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 70%;
  height: 0.3rem;
  margin: auto;
  background-color: var(--color-bg);
}
#modal .modal-btn-close::before {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
#modal .modal-btn-close::after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#modal .modal-window {
  position: relative;
  width: 100%;
  max-height: 86%;
  padding: 4rem;
  background-color: var(--color-bg);
  text-align: left;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  pointer-events: auto;
}
@media screen and (min-width: 769px) {
  #modal .modal-btn-close {
    width: 5.5rem;
  }
}
@media screen and (width <= 768px) {
  #modal .modal-window {
    padding: 4rem 2rem;
  }
}
@media (any-hover: hover) {
  #modal .modal-btn-close:hover {
    opacity: 0.5;
  }
}

/*-------------------------------- */
/* header */
/*-------------------------------- */
#header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

#header .header-bar {
  padding: 0.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(0deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.75) 100%);
  /* backdrop-filter: blur(3rem); */
}

@media screen and (width <= 768px) {
  #header .header-bar {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    display: -webkit-box;
    display: flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    z-index: 100;
  }
}

#header .header-logo {
-ms-flex-preferred-size: 30rem;
flex-basis: 30rem;
display: block;
}

@media (any-hover: hover) {
  #header a.header-logo {
    transition: opacity 0.3s;
  }

  #header a.header-logo:hover {
    opacity: 0.5;
  }
}

@media screen and (width <= 768px) {
#header .header-logo {
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
}
}

#header .header-right{
  font-weight: 500;
}
#header .header-lang a{
  padding: 0 1rem;
  font-family: var(--font-en);
  transition: opacity .3s;
}
#header .header-lang .is-current{
  border: solid 1px #bbbcbd;
  pointer-events: none;
}
@media(any-hover: hover){
  #header .header-lang a:hover{
    opacity: 0.5;
  }
}

.header-btn {
  position: relative;
  display: flex;
  height: 50px;
  width: 50px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  padding: 5px;
}

.header-btn span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* .header-btn span, */
.header-btn span::before
,.header-btn span::after {
  content: "";
  display: block;
  height: 2px;
  width: 25px;
  background-color: var(--color-txt);
}


/*-------------------------------- */
/* page-header */
/*-------------------------------- */
.page-header{
  padding-top: 8rem;
  padding-bottom: 12rem;
}
.page-header .page-title .is-en{
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 6.4rem;
  line-height: 1;
}
.page-header .page-title .is-jp{
  margin-top: 1rem;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 2rem;
}
@media screen and (width <= 768px) {
  .page-header {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }
  .page-header .page-title .is-en{
    font-size: 4.2rem;
  }
  .page-header .page-title .is-jp{
    font-size: 1.6rem;
  }
}

/*-------------------------------- */
/* page-content */
/*-------------------------------- */
.page-content .section-inner{
  padding-top: 6rem;
  border-top: solid 1px var(--color-border);
}
.page-content .section-inner:not(:first-of-type){
  margin-top: 6rem;
}
.notice{
  color: var(--color-txt-gray);
  text-align: center;
}
@media screen and (width >= 769px) {
  .page-content .section-inner{
    display: flex;
    gap: 4rem;
    justify-content: center;
  }
  .column-main{
    width: 100%;
    max-width: 90rem;
  }
  .column-side{
    position: relative;
    width: 100%;
    max-width: 30rem;
    min-width: 20rem;
  }
  .anker-list{
    position: sticky;
    top: 8rem;
    left: 0;
    line-height: 1.4;
  }
  .anker-list .anker-list-item:not(:last-of-type){
    margin-bottom: 3rem;
  }
  .anker-list a{
    position: relative;
    padding-left: 4rem;
    color: #7A818B;
    transition: color .3s;
    display: block;
  }
  .anker-list a::before,
  .anker-list a::after{
    content: "";
    position: absolute;
    top: 1.2rem;
    left: 0;
    width: 3rem;
    height: 0.2rem;
    background-color: #7A818B;
  }
  .anker-list a::after{
    width: 0;
    background-color: var(--color-txt);
    transition: width .3s;
  }
  @media (any-hover: hover) {
    .anker-list a:hover {
      color: var(--color-txt);
    }
    .anker-list a:hover::after {
      width: 3rem;
    }
  }
}
@media screen and (width <= 768px) {
  .column-side{
    display: none;
  }
  .table-wrapper{
    overflow-x: scroll;
  }
  .table-wrapper table{
    min-width: 600px;
  }
}


/*-------------------------------- */
/* policy  */
/*-------------------------------- */
.policy-detail:not(:first-of-type){
  margin-top: 8rem;
}
.policy-detail:not(:last-of-type){
  padding-bottom: 8rem;
  border-bottom: solid 1px var(--color-border);
}
.policy-detail h2{
  margin-bottom: 1rem;
  font-size: 2.4rem;
}
.policy-detail h3{
  margin: 6rem 0 2rem;
}
.policy-detail h4{
  margin-top: 3rem;
}
.policy-detail .policy-date{
  margin-bottom: 6rem;
  font-size: 1.4rem;
  text-align: right;
}
.policy-detail a{
  position: relative;
  padding-bottom: 0.3rem;
  border-bottom: solid 1px var(--color-border);
  display: inline-block;
}
.policy-detail a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-txt);
  pointer-events: none;
  transition: width .3s;
}
.policy-detail > ul{
  margin-top: 3rem;
}
@media screen and (width <= 768px) {
  .policy-detail h2{
    font-size: 2rem;
  }
  .policy-detail .policy-date{
    font-size: 1.2rem;
  }
}
@media (any-hover: hover) {
  .policy-detail a:hover::after{
    width: 100%;
  }
}

/*-------------------------------- */
/* policy  */
/*-------------------------------- */
.attribution-list li:not(:last-of-type){
  margin-bottom: 4rem;
}

/*-------------------------------- */
/* form */
/*-------------------------------- */
.form{
  margin-top: 6rem;
}
.form .form-field:not(:last-of-type){
  margin-bottom: 4rem;
}
.form .form-field dt{
  margin-bottom: 1.5rem;
}
.form .form-field dt > p{
  display: flex;
  align-items: center;
  gap: 1rem;
}
.form .form-field-title{
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.4;
}
.form .form-field-required,
.form-submit .form-submit-required{
  padding: .5rem 1rem;
  border: 1px solid var(--color-attention);
  /* font-weight: 500; */
  font-size: 1.2rem;
  color: var(--color-attention);
  line-height: 1;
}
.form .form-field-error,
.form-submit .form-submit-error{
  font-size: 1.2rem;
  color: var(--color-attention);
  text-align: right;
}
.form-field-note {
  padding-left: 4rem;
  display: none;
}
.form-field-note > *{
  margin-top: 1rem;
}

.form dd label{
  white-space: pre-line;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.form dd label:not(:first-of-type){
  margin-top: 1rem;
}
.agreement-terms{
  margin-top: 6rem;
  padding: 2.5rem;
  width: 100%;
  background-color: var(--color-bg-gray);
  font-size: 1.2rem;
}
.agreement-terms > *:not(:last-child){
  margin-bottom: 1.5rem;
}
.agreement-terms h2{
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
}
.agreement-terms h3{
  font-weight: 600;
}
.form-submit{
  margin-top: 6rem;
  text-align: center;
}
.form-submit .form-submit-check{
  margin-top: 3rem;
  font-size: 1.8rem;
}
.form-submit .form-submit-check > *:not(:last-child){
  margin-bottom: 1rem;
}
.form-submit .form-submit-check > p{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.form-submit .form-submit-check label{
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  white-space: pre-line;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.form-submit .form-submit-btn{
  margin-top: 6rem;
}
.recapcha-text{
  margin-top: 6rem;
  text-align: center;
  font-size: 1rem;
  color: var(--color-txt-gray);
}
@media screen and (min-width: 769px) {
  .form .form-field dt{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
}
@media screen and (width <= 768px) {
  .form-field-note {
    padding-left: 0;
  }
  .form-submit .form-submit-check > p{
    flex-direction: column-reverse;
  }
  .form .form-field-error{
    width: 100%;
    margin-top: 1rem;
    display: block !important;
  }
  .agreement-terms h2,
  .form-submit .form-submit-check,
  .form-submit .form-submit-check > label{
    font-size: 1.6rem;
  }
}

.inquiry-thanks{
  text-align: center;
}
.inquiry-thanks h2{
  margin-bottom: 1.5rem;
  font-size: 2.4rem;

}

/*-------------------------------- */
/* footer  */
/*-------------------------------- */
#footer {
  position: relative;
}

#footer .btn-wrapper {
  padding-bottom: 0.2rem;
  position: absolute;
  bottom: 100%;
  right: 0;
  z-index: 1;
}

@media screen and (width <= 768px) {
  #footer .btn-wrapper {
    position: relative;
  }
}

#footer .btn-top {
  position: relative;
  width: 6rem;
  height: 6rem;
  background-color: var(--color-bg-dark);
  font-size: 0;
  display: block;
}

#footer .btn-top::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 3rem;
  height: 3rem;
  margin: auto;
  border: solid 0.3rem var(--color-bg);
  border-bottom: none;
  border-right: none;
  transform: rotate(45deg) translate(20%, 20%);
  pointer-events: none;
}

@media screen and (width <= 768px) {
  #footer .btn-top {
    width: 100%;
  }
}

#footer .footer-inner{
  padding: 2rem;
  background-color: var(--color-bg-dark);
  color: var(--color-bg);
  text-align: center;
  font-size: 1rem;
}
@media screen and (min-width: 769px) {
  #footer .footer-inner{
    padding: 3rem 5rem;
    font-size: 1.4rem;
  }
}


#footer .logo {
  width: 24rem;
  margin: 0 auto 2rem;
}
#footer .footer-inner a{
  position: relative;
  border-bottom: solid 1px rgba(255,255,255,0.5);
  display: inline-block;
}
#footer .footer-inner a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background-color: #fff;
  pointer-events: none;
  transition: width .3s;
}

#footer .links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
}
#footer .external-link {
  position: relative;
  padding-right: 2rem;
}
#footer .external-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1.2rem;
  aspect-ratio: 1/1;
  background: url("/assets/img/icon_external.svg") no-repeat center center;
  background-size: contain;
  -webkit-filter: none;
  filter: none;
}
@media (any-hover: hover) {
  #footer .footer-inner a:hover::after{
    width: 100%;
  }
  #footer .links a {
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
  }
  #footer .links a:hover {
    opacity: 0.5;
  }
}