@charset 'UTF-8';

@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Medium"), local("YuGothic-Medium");
}
@font-face {
  font-family: "Yu Gothic";
  src: local("Yu Gothic Bold"), local("YuGothic-Bold");
  font-weight: 600;
}
:root {
  --YuGothic: YuGothic, "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
  --ZenMaruGothic: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO", Meiryo, sans-serif;
}

html {
  min-width: 320px;
  font-size: calc(10 / 375 * 100vw);
  overflow: auto;
  scroll-padding-top: 6.5em;
}
@media screen and (min-width: 768px) {
  html {
    font-size: min(10 / 1280 * 100vw, 62.5%);
    scroll-padding-top: 14em;
  }
}
@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(--YuGothic);
  font-size: 1.3rem;
  color: rgb(0, 0, 0);
  background: rgb(255, 255, 255);
  overflow-x: clip;
}
@media screen and (min-width: 768px) {
  body {
    padding: 0;
    font-size: 1.8rem;
  }
}
#wrapper {
  margin: 0 auto;
  max-width: 100rem;

  /* outline: 1px solid magenta; */
}
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 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  min-height: 6.5rem;
  background-color:rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(10px) brightness(1.2);
  backdrop-filter: blur(10px) brightness(1.2);
}
@media screen and (min-width: 768px) {
  #wrapper > header {
    padding: 0 2rem;
    margin: 0 auto;
    top: 3rem;
    min-height: 8rem;
    max-width: 120rem;
    border-radius: 4rem;
    box-sizing: border-box;
  }
}
#wrapper > header h1 {
  margin: 0;
}
#wrapper > header .logo a {
  padding-top: 0.6rem;
  display: block;
  width: 100%;
  max-width: 9.3rem;
}
@media screen and (min-width: 768px) {
  #wrapper > header .logo a {
    padding-left: 1.8rem;
    padding-right: 1.8rem;
    max-width: 13.2rem;
  }
}
#wrapper > header .logo a img {
  width: 100%;
}

/* globalnav */
#globalnav ul {
  display: flex;
  align-items: center;
}
#globalnav li {
  padding-left: 1.2rem;
}
@media screen and (min-width: 768px) {
  #globalnav li {
    padding-left: 2rem;
  }
}
#globalnav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8rem;
  min-height: 3.8rem;
  font-family: var(--ZenMaruGothic);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  word-break: keep-all;
  color: rgb(255, 255, 0);
  border-radius: 2rem;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #globalnav li a {
    padding-left: 2.2rem;
    padding-right: 2rem;
    justify-content: space-between;
    width: auto;
    min-width: 21.4rem;
    min-height: 4rem;
    font-size: 1.8rem;
  }
  #globalnav li a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 0.9rem solid currentColor;
    border-top: 0.5rem solid transparent;
    border-bottom: 0.5rem solid transparent;
  }
}
#globalnav li:nth-of-type(1) a {
  background-color: rgb(0, 191, 180);
}
#globalnav li:nth-of-type(2) a {
  background-color: rgb(255, 82, 103);
}

/*  footer  */
#wrapper > footer {
  padding: 4.2rem calc(50vw - 50%) 2.2rem calc(50vw - 50%);
  margin: 0 calc(50% - 50vw);
  background-color: rgb(0, 0, 0);
}
@media screen and (min-width: 768px) {
  #wrapper > footer {
    padding: 5.4rem calc(50vw - 50% - 10rem);
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 15.4rem auto;
  }
  #wrapper > footer .logo {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  #wrapper > footer .addr {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  #remotenav {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  #wrapper > footer small {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
}
#wrapper > footer .logo {
  padding: 0.8rem 0;
}
@media screen and (min-width: 768px) {
  #wrapper > footer .logo {
    padding: 1.2rem 0;
  }
}
#wrapper > footer .logo a {
  display: block;
  max-width: 14.3rem;
}
@media screen and (min-width: 768px) {
  #wrapper > footer .logo a {
    max-width: 21.9rem;
  }
}
#wrapper > footer .logo a img {
  width: 100%;
}
#wrapper > footer .addr {
  padding: 0.315em 0;
  margin: 0.8rem 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.63;
  letter-spacing: calc(0.6 / 10 * 1em);
  color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #wrapper > footer .addr {
    margin: 0;
    font-size: 1.6rem;
    letter-spacing: calc(0.48 / 16 * 1em);
  }
}
#wrapper > footer .addr dd {
  margin: 0;
}
#remotenav ul {
  padding: 0.3em 0;
  font-size: 0.9rem;
  line-height: 1.62;
}
@media screen and (min-width: 768px) {
  #remotenav ul {
    margin-left: auto;
    font-size: 1.4rem;
    line-height: 1.54;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
#remotenav li {
  padding: 0.3em 0;
}
#remotenav a {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-weight: 500;
  letter-spacing: calc(0.54 / 9 * 1em);
  color: rgb(255, 255, 255);
  font-feature-settings: "palt";
}
@media screen and (min-width: 768px) {
  #remotenav a {
    letter-spacing: calc(0.42 / 14 * 1em);
  }
}
#remotenav a[target="_blank"]::after {
  margin-left: 0.6em;
  content: "";
  display: inline-block;
  vertical-align: text-bottom;
  width: 0.9rem;
  height: 0.8rem;
  background: url(../images/ico_external.svg) no-repeat 50% 50% / contain;
}
@media screen and (min-width: 768px) {
  #remotenav a[target="_blank"]::after {
    width: 1.8rem;
    height: 1.5rem;
  }
}
#wrapper > footer small {
  padding: 0.25em 0;
  margin-top: 5.5rem;
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: calc(0.48 / 8 * 1em);
  text-align: right;
  color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #wrapper > footer small {
    padding: 0.35em 0;
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    font-size: 1.4rem;
    line-height: 1.7;
    letter-spacing: calc(0.42 / 14 * 1em);
  }
}

/* keyframes */
@-webkit-keyframes darting {
  0% {
    translate: 0 0;
  }
  5% {
    /* translate: 1.2rem 0.2rem; */
    translate: 12px 2px;
  }
  50% {
    /* translate: 1.2rem 0.2rem; */
    translate: 12px 2px;
  }
  55% {
    translate: 0 0;
  }
  100% {
    translate: 0 0;
  }
}
@keyframes darting {
  0% {
    translate: 0 0;
  }
  5% {
    /* translate: 1.2rem 0.2rem; */
    translate: 12px 2px;
  }
  50% {
    /* translate: 1.2rem 0.2rem; */
    translate: 12px 2px;
  }
  55% {
    translate: 0 0;
  }
  100% {
    translate: 0 0;
  }
}
@-webkit-keyframes darting2 {
  0% {
    translate: 0 0;
  }
  5% {
    translate: -5px -12px;
  }
  50% {
    translate: -5px -12px;
  }
  55% {
    translate: 0 0;
  }
  100% {
    translate: 0 0;
  }
}
@keyframes darting2 {
  0% {
    translate: 0 0;
  }
  5% {
    translate: -5px -12px;
  }
  50% {
    translate: -5px -12px;
  }
  55% {
    translate: 0 0;
  }
  100% {
    translate: 0 0;
  }
}
@-webkit-keyframes darting2_r {
  0% {
    translate: 0 0;
  }
  5% {
    translate: 2px 13px;
  }
  50% {
    translate: 2px 13px;
  }
  55% {
    translate: 0 0;
  }
  100% {
    translate: 0 0;
  }
}
@keyframes darting2_r {
  0% {
    translate: 0 0;
  }
  5% {
    translate: 2px 13px;
  }
  50% {
    translate: 2px 13px;
  }
  55% {
    translate: 0 0;
  }
  100% {
    translate: 0 0;
  }
}
@-webkit-keyframes darting3 {
  0% {
    translate: 0 0;
  }
  5% {
    translate: -2px 0;
  }
  50% {
    translate: -2px 0;
  }
  55% {
    translate: 0 0;
  }
  100% {
    translate: 0 0;
  }
}
@keyframes darting3 {
  0% {
    translate: 0 0;
  }
  5% {
    translate: -2px 0;
  }
  50% {
    translate: -2px 0;
  }
  55% {
    translate: 0 0;
  }
  100% {
    translate: 0 0;
  }
}
@-webkit-keyframes darting4 {
  0% {
    translate: 0 0;
  }
  5% {
    translate: -12px 4px;
  }
  50% {
    translate: -12px 4px;
  }
  55% {
    translate: 0 0;
  }
  100% {
    translate: 0 0;
  }
}
@keyframes darting4 {
  0% {
    translate: 0 0;
  }
  5% {
    translate: -12px 4px;
  }
  50% {
    translate: -12px 4px;
  }
  55% {
    translate: 0 0;
  }
  100% {
    translate: 0 0;
  }
}
@-webkit-keyframes blur {
  0% {
    scale: 0;
    translate: 0 0;
    transform-origin: left bottom;
  }
  100% {
    scale: 1;
    translate: calc(75 / 96 * 100%) calc(38 / 94 * -100%);
    transform-origin: left bottom;
  }
}
@keyframes blur {
  0% {
    scale: 0;
    translate: 0 0;
    transform-origin: left bottom;
  }
  100% {
    scale: 1;
    translate: calc(75 / 96 * 100%) calc(38 / 94 * -100%);
    transform-origin: left bottom;
  }
}
@-webkit-keyframes blur_sp {
  0% {
    scale: 0;
    translate: 0 calc(38 / 94 * 100%);
    transform-origin: left bottom;
  }
  100% {
    scale: 1;
    translate: calc(28 / 47 * 100%) 0;
    transform-origin: left bottom;
  }
}
@keyframes blur_sp {
  0% {
    scale: 0;
    translate: 0 calc(38 / 94 * 100%);
    transform-origin: left bottom;
  }
  100% {
    scale: 1;
    translate: calc(28 / 47 * 100%) 0;
    transform-origin: left bottom;
  }
}
@-webkit-keyframes popout {
  0% {
    translate: 0 100%;
  }
  100% {
    translate: 0 0;
  }
}
@keyframes popout {
  0% {
    translate: 0 100%;
  }
  100% {
    translate: 0 0;
  }
}
@-webkit-keyframes blind {
  0% {
    background-color: rgb(0, 0, 0);
  }
  100% {
    background-color: var(--color-secondary-dark);
  }
}
@keyframes blind {
  0% {
    background-color: rgb(0, 0, 0);
  }
  100% {
    background-color: var(--color-secondary-dark);
  }
}
@-webkit-keyframes swing {
  0% {
    rotate: 0deg;
  }
  5% {
    rotate: -5deg;
  }
  50% {
    rotate: -5deg;
  }
  55% {
    rotate: 0deg;
  }
  100% {
    rotate: 0deg;
  }
}
@keyframes swing {
  0% {
    rotate: 0deg;
  }
  5% {
    rotate: -5deg;
  }
  50% {
    rotate: -5deg;
  }
  55% {
    rotate: 0deg;
  }
  100% {
    rotate: 0deg;
  }
}
}
