@charset 'UTF-8';

:root {
  --NotoSansJP: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  --Oswald: Oswald, "Trebuchet MS", sans-serif;
  --color-hover: rgb(138, 182, 227);
}

html {
  min-width: 320px;
  font-size: calc(10 / 375 * 100vw);
  overflow: auto;
}
@media screen and (min-width: 768px) {
  html {
    font-size: min(10 / 1280 * 100vw, 62.5%);
  }
}
@media screen and (min-width: 1920px) {
  html {
    font-size: calc(10 / 1920 * 100vw);
  }
}
html:not(.nosmooth) {
  scroll-behavior: smooth;
}
body {
  padding: 0 3.75rem;
  font-family: var(--NotoSansJP);
  font-size: 1.4rem;
  color: rgb(26, 26, 26);
  background-color: rgb(255, 255, 255);
  overflow-x: clip;
}
@media screen and (min-width: 768px) {
  body {
    padding: 0;
    font-size: 1.6rem;
  }
}
#wrapper {
  padding-top: 8.2rem;
  margin: 0 auto;
  max-width: 120rem;
}
@media screen and (min-width: 768px) {
  #wrapper {
    padding-top: 14rem;
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
section p {
  text-align: justify;
  text-justify: inter-ideograph;
  font-feature-settings: "palt";
}
nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
img,
svg,
video,
object,
canvas {
  max-width: 100%;
  height: auto;
}
img,
svg {
  vertical-align: middle;
}
svg {
  fill: currentColor;
}
label[for] {
  cursor: pointer;
}
a {
  text-decoration: none;
  color: inherit;
}
@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
a,
button:not(:disabled) {
  transition: opacity 0.2s ease-out;
}
a:hover,
button:not(:disabled):hover {
  opacity: 0.75;
}
br.pc {
  display: none;
}
@media screen and (min-width: 768px) {
  br.pc {
    display: inline;
  }
  br.sp {
    display: none;
  }
}
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

/* header */
#drawer {
  display: none;
}
#wrapper > header {
  padding: 1rem 3rem 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 8.2rem;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  #wrapper > header {
    padding: 0 5rem 0.6rem 5rem;
    min-height: 14rem;
  }
}
#wrapper > header .logo {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: inherit;
}
#wrapper > header .logo a {
  display: block;
  width: 18rem;
  color: rgb(0, 0, 0);
  pointer-events: auto;
  transition: 0.2s opacity ease-out, 0.2s color ease-out;
}
@media screen and (min-width: 768px) {
  #wrapper > header .logo a {
    width: 27.6rem;
  }
}
#wrapper > header[class^="inter_bgdark"] .logo a {
  color: rgb(255, 255, 255);
}
#wrapper > header .logo a svg {
  width: 100%;
  vertical-align: top;
}
#wrapper > header label {
  display: block;
  width: 3.2rem;
  position: relative;
  z-index: 20;
  color: rgb(0, 0, 0);
  cursor: pointer;
  pointer-events: auto;
  transition: 0.2s color ease-out;
}
@media screen and (min-width: 768px) {
  #wrapper > header label {
    width: 4rem;
  }
}
#wrapper > header[class^="inter_bgdark"] label {
  color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #drawer:not(:checked) + header label:hover {
    color: var(--color-hover);
    opacity: 1;
  }
}
#wrapper > header label svg {
  width: 100%;
  vertical-align: top;
}
#drawer:checked + header label svg {
  visibility: hidden;
}
#drawer:checked + header label::before,
#drawer:checked + header label::after {
  content: "";
  margin: auto;
  display: block;
  width: 4.2rem;
  height: 2px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(255, 255, 255);
  transition: 0.2s opacity ease-out;
}
#drawer:checked + header label:hover::before,
#drawer:checked + header label:hover:after {
  opacity: 0.75;
}
#drawer:checked + header label::before {
  rotate: 45deg;
}
#drawer:checked + header label::after {
  rotate: -45deg;
}

/*  globalnav  */
#globalnav {
  padding-top: 8.2rem;
  padding-right: 3.75rem;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 3.75rem;
  right: 0;
  z-index: 10;
  overflow: auto;
  -ms-scroll-chaining: none;
  overscroll-behavior: contain;
  pointer-events: auto;
  background-color: rgb(138, 182, 227, 0.52);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
@media screen and (min-width: 768px) {
  #globalnav {
    padding-top: 14rem;
    padding-right: 0;
    left: 0;
  }
}
#drawer:not(:checked) + header #globalnav {
  opacity: 0;
  translate: 100% 0;
  transition: 0.4s translate ease-out, 0s opacity linear 0.4s;
}
#drawer:checked + header #globalnav {
  transition: 0.4s translate ease-out, 0s opacity linear;
}
@media screen and (min-width: 768px) {
  #drawer:not(:checked) + header #globalnav {
    transition: 0.4s opacity ease-out, 0s translate ease-out 0.4s;
  }
  #drawer:checked + header #globalnav {
    transition: 0.4s opacity ease-out, 0s translate linear;
  }
}
#globalnav .inner_wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}
@media screen and (min-width: 768px) {
  #globalnav .inner_wrapper {
    margin: 0 auto;
    max-width: 120rem;
  }
}
#globalnav ul {
  padding: 1.3rem 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (min-width: 768px) {
  #globalnav ul {
    padding: 1.2rem 0;
  }
}
#globalnav li {
  padding: 1.3rem 0;
}
@media screen and (min-width: 768px) {
  #globalnav li {
    padding: 1.2rem 0;
  }
}
#globalnav li.contact {
  padding: 1.8rem 0 4.4rem 0;
}
@media screen and (min-width: 768px) {
  #globalnav li.contact {
    padding: 3.8rem 0;
  }
}
#globalnav a {
  display: flex;
  flex-direction: column;
}
#globalnav a .ja {
  padding-bottom: 0.4em;
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1.8;
  color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #globalnav a .ja {
    font-size: 1.6rem;
  }
}
#globalnav a .en {
  padding-top: 0.2em;
  order: -10;
  font-family: var(--Oswald);
  font-size: 3rem;
  line-height: 1.4;
  letter-spacing: calc(3.6 / 45 * 1em);
  color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #globalnav a .en {
    font-size: 4.5rem;
  }
}
#globalnav .contact a {
  padding: 0 1.8rem;
  display: flex;
  justify-content: center;
  min-height: 3.4rem;
  box-sizing: border-box;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.1em;
  color: rgb(26, 26, 26);
  background-color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #globalnav .contact a {
    min-height: 4rem;
    font-size: 1.6rem;
  }
}

/* main */
#drawer:checked + header + main,
#drawer:checked + header + main + footer {
  pointer-events: none;
}

/*  footer  */
#wrapper > footer {
  padding: 6rem calc(50vw - 50%);
  margin: 0 calc(50% - 50vw);
  box-sizing: border-box;
  background-color: rgb(0, 18, 45);
}
@media screen and (min-width: 768px) {
  #wrapper > footer {
    padding: 9rem 5rem;
    min-height: 50rem;
  }
}
#siteaddr {
  margin: 0 auto;
  max-width: 144rem;
}
#siteaddr dt {
  padding-bottom: 0.5em;
  font-family: var(--Oswald);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: calc(2.8 / 35 * 1em);
  color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #siteaddr dt {
    padding-bottom: 0.4em;
    font-size: 3.5rem;
  }
}
#siteaddr dd {
  padding: 0.3em 0;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.6;
  letter-spacing: calc(1.12 / 16 * 1em);
  color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #siteaddr dd {
    /* padding: 0.25em 0; */
    padding: 0.3em 0;
    font-size: 1.6rem;
    line-height: 1.5;
  }
}
#siteaddr dd.contact {
  padding-top: 1em;
}
@media screen and (min-width: 768px) {
  #siteaddr dd.contact {
    padding-top: 1.2em;
  }
}
#siteaddr dd.contact a {
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-height: 4rem;
  box-sizing: border-box;
  font-size: 1.6rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: normal;
  background-color: rgb(96, 96, 96);
}
#siteaddr dd.contact a::before {
  content: "";
  margin-right: 0.7rem;
  display: inline-block;
  width: 2.2rem;
  height: 1.6rem;
  background: url(../images/ico_mail.svg) no-repeat 50% 50% / contain;
}

/* keyframes */
@-webkit-keyframes bg-parallax {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 5rem;
  }
}
@keyframes bg-parallax {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 5rem;
  }
}
@-webkit-keyframes bg-parallax-sp {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 3rem;
  }
}
@keyframes bg-parallax-sp {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 3rem;
  }
}
@-webkit-keyframes scroll {
  0% {
    scale: 1 1;
    transform-origin: center bottom;
  }
  25% {
    scale: 1 1;
    transform-origin: center bottom;
  }
  49.999% {
    scale: 1 0;
    transform-origin: center bottom;
  }
  50.001% {
    scale: 1 0;
    transform-origin: center top;
  }
  75% {
    scale: 1 1;
    transform-origin: center top;
  }
  100% {
    scale: 1 1;
    transform-origin: center top;
  }
}
@keyframes scroll {
  0% {
    scale: 1 1;
    transform-origin: center bottom;
  }
  25% {
    scale: 1 1;
    transform-origin: center bottom;
  }
  49.999% {
    scale: 1 0;
    transform-origin: center bottom;
  }
  50.001% {
    scale: 1 0;
    transform-origin: center top;
  }
  75% {
    scale: 1 1;
    transform-origin: center top;
  }
  100% {
    scale: 1 1;
    transform-origin: center top;
  }
}
