/* Vendors - include bootrap
========================================================================== */
/* Helpers - helpers Variable file along with starting point Mixins and Placeholders.
========================================================================== */
/*
 * Variables
 */
:root {
  /* family: */
  --font-family-text: "kozuka-gothic-pr6n", sans-serif;
  --font-family-title: "kozuka-gothic-pr6n", sans-serif;
  --font-family-en: "kozuka-gothic-pr6n", sans-serif;
  /* Colors: */
  --text-color: #020202;
  --text-dark-color: #cecece;
  --loud-color: #178b3c;
  --title-color: #020202;
  --menu-color: #000000;
  --primary-btn-color: #ffffff;
  /* background: */
  --background-primary-btn: #1d1f23;
  --background-loud: #e8e7e3;
  --background-footer: #483923;
  /* size */
  --base-font-size: 1.6rem;
  --h1-font-size: 3.5rem;
  --h2-font-size: 5.2rem;
  --h3-font-size: 2.2rem;
}

/*
 * Function
 */
/*
* mixins
*/
@media (min-width: 768px) and (max-width: 991px) {
  .class {
    width: 60%;
  }
}

/*
 * Placeholders
 */
/* Base - reset and typography.
========================================================================== */
/*
 * reset
 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*
 * reset
 */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background-color: transparent;
  outline: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-family-text);
}

input {
  padding: 0;
  font-family: var(--font-family-text);
}

/*
 * Typography
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-title);
  font-weight: 700;
  color: var(--title-color);
  line-height: 1.4;
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

/* Components - Re-usable site elements.
========================================================================== */
a {
  color: var(--text-color);
  text-decoration: none;
}
a:visited {
  color: var(--text-color);
  text-decoration: none;
}
a:hover,
a:visited:hover {
  color: var(--loud-color);
  text-decoration: none;
}
a:focus {
  outline: none;
  text-decoration: none;
}

.more {
  transition: all 300ms ease-in-out;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
}

.nav-bar-menu ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  gap: 4rem;
}
.nav-bar-menu ul li a {
  display: block;
  font-size: 2rem;
  line-height: 3.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--menu-color);
}

/* Layout - Structure and layout files.
========================================================================== */
/* -------------------->>> COMMON <<<-------------------- */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 10px;
}

body {
  background: #fff;
  font-family: var(--font-family-text);
  color: var(--text-color);
  font-size: var(--base-font-size);
  line-height: 1.5;
  overflow-x: hidden;
  font-weight: 500;
  letter-spacing: 0;
  width: 100%;
}

hr {
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -moz-border-right-colors: none;
  -moz-border-top-colors: none;
  border-color: #000 -moz-use-text-color -moz-use-text-color;
  -o-border-image: none;
  border-image: none;
  border-style: solid none none;
  border-width: 0.2em 0 0 0;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 148rem;
  padding: 0 1.5rem;
  margin: 0 auto;
}

p {
  margin-bottom: 1.5rem;
}

input:focus {
  outline: none;
}

a img {
  transition: all 400ms ease-in-out;
  -webkit-transition: all 400ms ease-in-out;
  -moz-transition: all 400ms ease-in-out;
  -o-transition: all 400ms ease-in-out;
}
a img:hover {
  opacity: 0.7;
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
}

.head-box {
  margin-bottom: 8rem;
  text-align: center;
}
.head-box h2 {
  font-size: 5rem;
  line-height: 1;
  font-weight: 900;
  color: #0189d2;
  margin-bottom: 6rem;
}
.head-box p {
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 500;
}

.error {
  font-size: 1.6rem;
  color: #ff0000;
}

#result input.error {
  border-color: #e41919;
}

#result div.error {
  margin-top: 20px;
  padding: 13px 20px;
  text-align: center;
  background: rgba(228, 25, 25, 0.75);
  color: #fff;
}

#result div.success {
  margin-top: 20px;
  padding: 13px 20px;
  text-align: center;
  background: rgba(50, 178, 95, 0.75);
  color: #fff;
}

.loader_wrap {
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: white;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-align-items: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
}

.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #555;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  padding-top: 6rem;
}
.header__main {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -webkit-align-items: end;
  -ms-flex-align: end;
  align-items: end;
}
.header__main .logo {
  width: 33.9rem;
}

.review-box {
  padding: 10.5rem 0 14rem;
}
.review-box .head {
  margin-bottom: 5.5rem;
  position: relative;
  z-index: 9;
}
.review-box .head h2 {
  text-align: center;
  line-height: 11.2rem;
  font-weight: 900;
  color: #ffffff;
}
.review-box .head h2 strong {
  font-size: 7rem;
}
.review-box .head::after {
  content: "";
  width: 100vw;
  height: 100%;
  background: #178b3c;
  position: absolute;
  left: 50%;
  top: 0;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: -1;
}

.replace-box {
  padding-top: 7rem;
  position: relative;
  background: #f5f5f5;
}
.replace-box::after {
  content: "";
  width: 100%;
  height: 100%;
  background: #d7eefa;
  -webkit-clip-path: polygon(100% 0, 100% 85%, 50% 100%, 0 85%, 0 0);
  clip-path: polygon(100% 0, 100% 85%, 50% 100%, 0 85%, 0 0);
  position: absolute;
  top: 0;
  left: 0;
}
.replace-box .container {
  max-width: 170.6rem;
  position: relative;
  z-index: 9;
}

.significant-box {
  padding: 17rem 0 15rem;
  background: #f5f5f5;
}

.first-box {
  padding-top: 14.5rem;
}
.first-box__main {
  padding: 0 6rem;
}

.japan-box {
  padding: 8.5rem 0 40rem;
  position: relative;
  background: #d7eefa;
}
.japan-box::after {
  content: "";
  width: 100%;
  height: 36.8rem;
  background-image: url("../images/japan-bg.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
}

.eligible-box {
  padding: 13rem 0 15rem;
}
.eligible-box__main {
  padding: 0 7rem;
}

.safety-box {
  padding: 10rem 0;
  background-image: url("../images/safety-bg.webp");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.phase-box {
  padding: 16.5rem 0 20rem;
  background: #d7eefa;
}

.faq-box {
  padding: 17rem 0 13rem;
}

.clinic-box {
  padding: 11rem 0 10rem;
}
.clinic-box .container {
  max-width: 107.9rem;
}

.contact-box {
  padding: 11rem 0 14.5rem;
  background: #f5f5f5;
}
.contact-box .container {
  max-width: 101.8rem;
}
.contact-box__main .form-group {
  margin-bottom: 6rem;
}
.contact-box__main .form-group .group {
  display: grid;
  gap: 2.8rem;
  grid-template-columns: repeat(2, 1fr);
}
.contact-box__main .form-group .labels {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: start;
  -ms-flex-align: start;
  align-items: start;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.contact-box__main .form-group .labels span {
  color: #ff0000;
}
.contact-box__main .form-group .input select,
.contact-box__main .form-group .input textarea,
.contact-box__main .form-group .input input[type="text"],
.contact-box__main .form-group .input input[type="email"],
.contact-box__main .form-group .input input[type="date"] {
  width: 100%;
  height: 6.5rem;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-size: 2.4rem;
  padding: 0 2.5rem;
}
.contact-box__main .form-group .input select:focus,
.contact-box__main .form-group .input textarea:focus,
.contact-box__main .form-group .input input[type="text"]:focus,
.contact-box__main .form-group .input input[type="email"]:focus,
.contact-box__main .form-group .input input[type="date"]:focus {
  outline: none;
  border: none;
}
.contact-box__main .form-group .input select::-webkit-input-placeholder,
.contact-box__main .form-group .input textarea::-webkit-input-placeholder,
.contact-box__main
  .form-group
  .input
  input[type="text"]::-webkit-input-placeholder,
.contact-box__main
  .form-group
  .input
  input[type="email"]::-webkit-input-placeholder,
.contact-box__main
  .form-group
  .input
  input[type="date"]::-webkit-input-placeholder {
  color: #9f9f9f;
}
.contact-box__main .form-group .input select::-moz-placeholder,
.contact-box__main .form-group .input textarea::-moz-placeholder,
.contact-box__main .form-group .input input[type="text"]::-moz-placeholder,
.contact-box__main .form-group .input input[type="email"]::-moz-placeholder,
.contact-box__main .form-group .input input[type="date"]::-moz-placeholder {
  color: #9f9f9f;
}
.contact-box__main .form-group .input select:-ms-input-placeholder,
.contact-box__main .form-group .input textarea:-ms-input-placeholder,
.contact-box__main .form-group .input input[type="text"]:-ms-input-placeholder,
.contact-box__main .form-group .input input[type="email"]:-ms-input-placeholder,
.contact-box__main .form-group .input input[type="date"]:-ms-input-placeholder {
  color: #9f9f9f;
}
.contact-box__main .form-group .input select::-ms-input-placeholder,
.contact-box__main .form-group .input textarea::-ms-input-placeholder,
.contact-box__main .form-group .input input[type="text"]::-ms-input-placeholder,
.contact-box__main
  .form-group
  .input
  input[type="email"]::-ms-input-placeholder,
.contact-box__main
  .form-group
  .input
  input[type="date"]::-ms-input-placeholder {
  color: #9f9f9f;
}
.contact-box__main .form-group .input select::placeholder,
.contact-box__main .form-group .input textarea::placeholder,
.contact-box__main .form-group .input input[type="text"]::placeholder,
.contact-box__main .form-group .input input[type="email"]::placeholder,
.contact-box__main .form-group .input input[type="date"]::placeholder {
  color: #9f9f9f;
}
.contact-box__main .form-group .input textarea {
  padding: 2.5rem;
  min-height: 44rem;
}
.contact-box__main .form-group .input ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 3.5rem;
}
.contact-box__main .form-group .input ul li {
  width: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2.4rem;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 3.4rem;
}
.contact-box__main .form-group .input ul li input {
  margin: 0;
  font-size: 2.4rem;
}
.contact-box__main .form-group .input__group {
  display: grid;
  gap: 2.8rem;
  grid-template-columns: repeat(2, 1fr);
}
.contact-box__main .privacy-box {
  font-size: 2.4rem;
  margin-top: -4rem;
  margin-bottom: 4rem;
}
.contact-box__main .more-box .more-submit {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  width: 28.1rem;
  height: 6.9rem;
  background: #178b3a;
  font-size: 2.5rem;
  font-weight: 500;
  color: #ffffff;
}
.contact-box__main .more-box .more-submit:hover {
  background: #000;
}
.contact-box__main .more-box .more-submit:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.footer {
  background: #178b39;
}
.footer__main {
  text-align: center;
  color: #ffffff;
  font-size: 1.8rem;
  color: #ffffff;
  line-height: 1;
  padding: 3rem 0;
}

/* layout - Responsive .
========================================================================== */
.sp {
  display: none;
}

@media screen and (max-width: 1200px) and (min-width: 769px) {
  html {
    font-size: 9px;
  }
}

@media screen and (max-width: 1050px) and (min-width: 769px) {
  html {
    font-size: 8px;
  }
}

@media screen and (max-width: 991px) and (min-width: 769px) {
  html {
    font-size: 7px;
  }
}

@media (max-width: 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .container {
    padding: 0 2rem;
  }
}

/* ipad Portrait */
/* ipad Landscape */
/* 


*/
html {
  scroll-behavior: smooth;
}
.sp-footer-btn,
.__sp-only {
  display: none;
}
#btn-sp {
  display: none;
  width: 40px;
  height: 40px;
}
@media (max-width: 768px) {
  html {
    /* scroll-behavior: unset; */
    scroll-padding-top: 60px;
  }

  #header {
    height: 60px;
    position: fixed;
    top: 0;
    left: 0;
    padding-top: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9998;
  }
  .__sp-only {
    display: initial;
  }
  .header__main .logo {
    width: auto;
    height: 40px;
    aspect-ratio: 100/33;
  }
  #btn-sp {
    display: block;
    width: 40px;
    height: 40px;
    position: relative;
    border: solid 1px black;
    border-radius: 8px;
  }
  #btn-sp span {
    display: block;
    position: absolute;
    width: 70%;
    height: 1px;
    background-color: black;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  #btn-sp span::before,
  #btn-sp span::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: black;
    transition: 0.3s;
  }
  #btn-sp span::before {
    top: 8px;
  }
  #btn-sp span::after {
    top: -8px;
  }
  #btn-sp.active span {
    background-color: white;
  }
  #btn-sp.active span::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
  }
  #btn-sp.active span::after {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
  }

  .header__main--right {
    width: 100%;
    height: calc(100vh - 60px);
    position: absolute;

    top: 60px;
    left: 100vw;
    /* left:0; */
    background-color: #e2f9e6;
    transition: 0.3s;
  }
  .header__main--right.active {
    left: 0;
  }
  .nav-bar-menu ul {
    display: block;
    padding-top: 20px;
    padding-left: 25%;
  }
  .nav-bar-menu ul li a{
    line-height: 2;
  }
  section:nth-of-type(1) {
    margin-top: 60px;
  }

  footer {
    display: flex;
    width: 100%;
    height: 60px;
    margin-bottom: 100px;
    /* position: fixed; */
    /* bottom: 0; */
    /* left: 0; */
    /* z-index: 9999; */
    align-items: center;
  }
  .footer__main {
    padding: 0;
  }
  .head-box {
    margin-bottom: 3rem;
  }
  .head-box h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }
  .review-box .head h2 {
    font-size: 2rem;
    line-height: 2;
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .review-box .head h2 strong {
    font-size: 1.2em;
  }
  .first-box .head-box p {
    line-height: 1.8;
  }

  .contact-box__main .form-group .labels {
    font-size: 1.6rem;
  }
  label {
    font-size: 1.6rem;
    height: 1.6rem;
  }
  .contact-box__main .form-group .input select,
  .contact-box__main .form-group .input textarea,
  .contact-box__main .form-group .input input[type="text"],
  .contact-box__main .form-group .input input[type="email"],
  .contact-box__main .form-group .input input[type="date"] {
    font-size: 1.6rem;
    height: 3.2rem;
    align-items: center;
  }
  .contact-box__main .form-group .group {
    grid-template-columns: unset;
  }
  .contact-box__main .form-group {
    margin-bottom: 2rem;
  }
  .contact-box__main .form-group .input ul li {
    width: 80%;
    margin-bottom: 2rem;
  }
  .contact-box__main .form-group .input ul {
    display: block;
  }

  .review-box,
  .significant-box,
  .eligible-box,
  .safety-box,
  .phase-box,
  .faq-box,
  .contact-box,
  .clinic-box {
    padding: 5rem 0 7rem;
  }

  .first-box {
    padding-top: 5rem;
  }
  textarea[name="mess2"] {
    margin-bottom: 2em;
  }
  .privacy-box {
    text-align: center;
  }
  .more-box {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .sp-footer-btn {
    display: flex;
    width: 100%;
    height: 100px;
    position: fixed;
    bottom: 0;
    left: 0;
    background: #e8f2e4;
    align-items: center;
    justify-content: space-around;
    column-gap: calc(17 / 430 * 100vw);
    padding-left: calc(17 / 430 * 100vw);
    padding-right: calc(17 / 430 * 100vw);
    z-index: 9999;
  }
}
