@charset 'UTF-8';

:root {
  --NotoSansJP: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  --LibreBaskerville: "Libre Baskerville", "Helvetica Neue", Arial, sans-serif;
  --HiraginoSans: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Hiragino Sans", Meiryo, YuGothic, "Yu Gothic", "ＭＳ Ｐゴシック", sans-serif;
  --DIN2014: din-2014, "Helvetica Neue", Arial, sans-serif;
}

html {
  min-width: 320px;
  font-size: calc(10 / 393 * 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 3rem;
  font-family: var(--NotoSansJP);
  font-size: 1.5rem;
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  overflow-x: clip;
}
@media screen and (min-width: 768px) {
  body {
    padding: 0;
    font-size: 1.6rem;
  }
}
body.fixed {
  --position-top: 0;
  position: fixed;
  top: var(--position-top);
  left: 0;
  right: 0;
}
#wrapper {
  padding-top: 5rem;
  margin: 0 auto;
  max-width: 100rem;
}
@media screen and (min-width: 768px) {
  #wrapper {
    padding-top: 8rem;
  }
}
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 */
#wrapper > header {
  padding: 0 1.4rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  min-height: 5rem;
  border-bottom: 2px solid rgb(25, 79, 167);
  box-sizing: border-box;
  background-color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #wrapper > header {
    padding: 0 3rem;
    min-height: 8rem;
    border-bottom-width: 3px;
  }
}
#wrapper > header h1 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1;
}
#wrapper > header .logo {
  width: 11rem;
}
@media screen and (min-width: 768px) {
  #wrapper > header .logo {
    width: 21.8rem;
  }
}
#wrapper > header .logo a {
  display: flex;
  align-items: center;
  height: 100%;
}
#wrapper > header .logo a img {
  width: 100%;
  vertical-align: top;
}
#wrapper > header .back {
  height: 100%;
}
#wrapper > header .back a {
  padding-right: calc(19 / 14 * 1em);
  display: flex;
  align-items: center;
  height: 100%;
  font-family: var(--HiraginoSans);
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: calc(0.24 / 12 * 1em);
}
@media screen and (min-width: 768px) {
  #wrapper > header .back a {
    font-size: 1.4rem;
    letter-spacing: calc(0.42 / 14 * 1em);
  }
}
#wrapper > header .back a::before {
  margin-right: 0.75em;
  content: "";
  display: inline-block;
  width: calc(9 / 14 * 1em);
  height: calc(15 / 14 * 1em);
  background: url(../images/ico_arrow_hd.svg) no-repeat 50% 50% / contain;
}

/*  footer  */
#wrapper > footer {
  padding: 2.4rem calc(50vw - 50%) 1rem calc(50vw - 50%);
  margin: 26.3rem calc(50% - 50vw) 0 calc(50% - 50vw);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 15rem;
  box-sizing: border-box;
  position: relative;
  font-family: var(--HiraginoSans);
  color: rgb(255, 255, 255);
  background-color: rgb(0, 48, 127);
}
@media screen and (min-width: 768px) {
  #wrapper > footer {
    padding: 1rem 3.4rem;
    margin-top: 18rem;
    flex-direction: row;
    align-items: center;
    min-height: 6.3rem;
  }
}
#wrapper > footer .gotop {
  position: absolute;
  right: 3rem;
  bottom: calc(100% - 1.5rem);
}
@media screen and (min-width: 768px) {
  #wrapper > footer .gotop {
    right: 7.7rem;
  }
}
#wrapper > footer .gotop a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#wrapper > footer .gotop .text {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 14.8rem;
  min-height: 5.7rem;
  border-radius: 2.85rem;
  box-sizing: border-box;
  position: relative;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-indent: 0.1em;
  text-align: center;
  background-color: rgb(0, 48, 127);
  transition: 0.4s translate ease-in-out, 0.4s opacity ease-in-out;
}
#wrapper > footer .gotop.outside .text {
  opacity: 0;
  translate: 0 1rem;
}
#wrapper > footer .gotop .text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 1.6rem solid rgb(0, 48, 127);
  border-left: 0.95rem solid transparent;
  border-right: 0.95rem solid transparent;
}
#wrapper > footer .gotop .image {
  width: 11rem;
}
#wrapper > footer .gotop .image img {
  width: 100%;
}
#wrapper > footer nav {
  display: flex;
  justify-content: space-between;
}
@media screen and (min-width: 768px) {
  #wrapper > footer nav ul {
    padding: 0 2.4rem;
    display: flex;
  }
}
#wrapper > footer li {
  padding: 0.2rem 0;
}
@media screen and (min-width: 768px) {
  #wrapper > footer li {
    padding: 0 2.4rem;
  }
}
#wrapper > footer li a {
  padding: 0.2em 0;
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  line-height: 1.4;
}
@media screen and (min-width: 768px) {
  #wrapper > footer li a {
    padding: 0.2em 0.4em;
  }
}
#wrapper > footer li a::after {
  content: "";
  margin-left: 0.75em;
  display: inline-block;
  width: 1rem;
  height: 0.7rem;
  background: url(../images/ico_extlink.svg) no-repeat 50% 50% / contain;
}
#wrapper > footer .back a {
  padding: 0.34em 0;
  display: block;
  font-size: 1rem;
  line-height: 1.68;
}
@media screen and (min-width: 768px) {
  #wrapper > footer .back a {
    padding: 0.34em 5rem;
  }
}
#wrapper > footer small {
  display: block;
  font-size: 0.8rem;
  line-height: 1;
  text-align: center;
}
@media screen and (min-width: 768px) {
  #wrapper > footer small {
    order: -10;
    align-self: flex-end;
    text-align: start;
  }
}

/* fadein @common.js */
.fadein:not(.outside).totop,
.fadein:not(.outside).inner > * {
  transition: opacity 0.4s ease-in-out, translate 0.4s ease-out 0.2s;
}
.fadein.outside.totop,
.fadein.outside.inner > * {
  opacity: 0;
  translate: 0 2.4rem;
}
.fadein:not(.outside).inner > *:nth-child(1) {
  transition-delay: 0.2s;
}
.fadein:not(.outside).inner > *:nth-child(2) {
  transition-delay: 0.4s;
}
.fadein:not(.outside).inner > *:nth-child(3) {
  transition-delay: 0.6s;
}
.fadein:not(.outside).inner > *:nth-child(4) {
  transition-delay: 0.8s;
}

/* keyframes */
@-webkit-keyframes parallax {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 40svh;
  }
}
@keyframes parallax {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 40svh;
  }
}
