@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: bold;
}
:root {
  --YuGothic: YuGothic, "Yu Gothic", "Hiragino Sans", Meiryo, sans-serif;
  --NotoSans: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
  --NotoSerif: "Noto Serif JP", "Hiragino Mincho", Meiryo, serif;
  --MarlideDisplay: "marlide-display-variable", "Helvetica Neue", Arial, 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: 8.5em;
  }
}
@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.4rem;
  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;
  }
}
#wrapper {
  margin: 0 auto;
  max-width: 120rem;
}
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.6;
}
br.pc {
  display: none;
}
@media screen and (min-width: 768px) {
  br.pc {
    display: inline;
  }
  br.sp {
    display: none;
  }
}

/* header */
#wrapper > header {
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.5rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: rgb(255, 255, 255);
}
@media screen and (min-width: 768px) {
  #wrapper > header {
    padding: 0 4rem;
    min-height: 8.5rem;
  }
}
#wrapper > header h1 {
  margin: 0;
  font-size: inherit;
}
#wrapper > header .logo a {
  display: block;
  font-size: 0;
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  #wrapper > header .logo a {
    padding: 0.8rem;
  }
}
#wrapper > header .logo .mark {
  display: inline-block;
  vertical-align: middle;
  width: 3.8rem;
  font-size: 1rem;
}
#wrapper > header .logo a .type {
  display: none;
}
@media screen and (min-width: 768px) {
  #wrapper > header .logo a .type {
    margin-left: 0.9rem;
    display: inline-block;
    vertical-align: middle;
    width: 28rem;
    font-size: 1rem;
  }
}
#wrapper > header .logo span img {
  width: 100%;
}

/* globalnav */
#globalnav ul {
  display: flex;
  align-items: center;
}
#globalnav ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.8rem;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  #globalnav ul a {
    min-height: 4rem;
  }
}
#globalnav .column {
  padding: 0 1.2rem;
}
@media screen and (min-width: 768px) {
  #globalnav .column {
    padding: 0 2.8rem;
  }
}
#globalnav .column a {
  padding: 0.25em 0;
  font-size: 0.9rem;
  font-weight: 600;
  font-feature-settings: "palt";
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-decoration: underline;
  text-decoration-thickness: 0.8px;
  text-underline-offset: 0.25em;
}
@media screen and (min-width: 768px) {
  #globalnav .column a {
    font-size: 1.4rem;
  }
}
#globalnav .contact a {
  padding: 0.2em 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: rgb(255, 255, 255);
  background-image: linear-gradient(
    300deg,
    rgb(0, 89, 255) calc(1% * 100 / 150),
    rgb(4, 87, 255) calc(2% * 100 / 150),
    rgb(16, 83, 255) calc(17% * 100 / 150),
    rgb(37, 76, 255) calc(31% * 100 / 150),
    rgb(66, 66, 255) calc(45% * 100 / 150),
    rgb(103, 53, 255) calc(59% * 100 / 150),
    rgb(149, 37, 255) calc(73% * 100 / 150),
    rgb(203, 19, 255) calc(86% * 100 / 150),
    rgb(211, 17, 255) calc(99% * 100 / 150)
  );
  background-repeat: no-repeat;
  background-position: 100% 50%;
  background-size: 150% auto;
  border-radius: 3px;
  transition: 0.2s background-position ease-out;
}
@media screen and (min-width: 768px) {
  #globalnav .contact a {
    padding: 0.2em 1.7rem;
    min-width: 24rem;
    position: relative;
    font-size: 1.45rem;
  }
}
#globalnav .contact + .contact a {
  margin-left: 0.8rem;
  background-image: linear-gradient(
    120deg,
    rgb(255, 51, 0) calc(-3% * 150 / 100),
    rgb(251, 77, 0) calc(5% * 150 / 100),
    rgb(247, 110, 0) calc(18% * 150 / 100),
    rgb(244, 136, 0) calc(31% * 150 / 100),
    rgb(241, 155, 0) calc(44% * 150 / 100),
    rgb(240, 166, 0) calc(58% * 150 / 100),
    rgb(240, 170, 0) calc(73% * 150 / 100)
  );
}
@media screen and (min-width: 768px) {
  #globalnav .contact + .contact a {
    margin-left: 1.2rem;
  }
}
#globalnav .contact a:hover {
  opacity: 1;
  background-position: 0 50%;
}
@media screen and (min-width: 768px) {
  #globalnav .contact a::before {
    content: "";
    margin: auto;
    display: inline-block;
    width: 1px;
    height: 2.1rem;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 4.4rem;
    background-color: currentColor;
  }
  #globalnav .contact a::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: calc(9 / 14.5 * 1em) solid currentColor;
    border-top: calc(6 / 14.5 * 1em) solid transparent;
    border-bottom: calc(6 / 14.5 * 1em) solid transparent;
  }
}
#globalnav .contact a:hover::after {
  -webkit-animation: arrow 0.4s ease;
  animation: arrow 0.4s ease;
}

/*  footer  */
#wrapper > footer {
  padding: 1.7rem calc(50vw - 50%);
  margin: 0 calc(50% - 50vw);
  background-color: rgb(221, 221, 221);
}
@media screen and (min-width: 768px) {
  #wrapper > footer {
    padding: 4.6rem 4.8rem;
    display: grid;
    grid-template-columns: 600fr 600fr;
    grid-template-rows: 1fr auto;
    min-height: 38rem;
    box-sizing: border-box;
  }
  #wrapper > footer #sitemap {
    grid-column: 2 / 23;
    grid-row: 1 / 2;
  }
  #wrapper > footer #sitename {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  #wrapper > footer small {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
}
#sitemap {
  padding-top: 1.2rem;
}
@media screen and (min-width: 768px) {
  #sitemap {
    padding-top: 0;
  }
  #sitemap ul {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-left: auto;
    -moz-column-count: 2;
    column-count: 2;
    -moz-column-gap: 2.2rem;
    column-gap: 2.2rem;
  }
}
#sitemap li:not(.ext) + li.ext {
  margin-top: 1.3rem;
}
@media screen and (min-width: 768px) {
  #sitemap li:not(.ext) + li.ext {
    margin-top: 0.2em;
    -moz-column-break-before: column;
    break-before: column;
  }
}
#sitemap li:last-of-type {
  margin-bottom: 1.3rem;
}
@media screen and (min-width: 768px) {
  #sitemap li:last-of-type {
    margin-bottom: 0;
  }
}
#sitemap a {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: rgb(57, 57, 57);
}
@media screen and (min-width: 768px) {
  #sitemap a {
    font-size: 1.6rem;
    line-height: 2.25;
    letter-spacing: 0.05em;
  }
}
#sitemap a:not([target="_blank"]):not([href="#wrapper"])::before {
  content: "-";
  display: inline-block;
  width: 1em;
}
#sitemap a[target="_blank"] {
  font-size: 1.4rem;
  letter-spacing: calc(0.42 / 14 * 1em);
}
#sitemap a[target="_blank"]::after {
  content: "";
  margin-left: 0.5em;
  display: inline-block;
  width: 1.3rem;
  height: 1.1rem;
  background: url(../images/ico_extlink.svg) no-repeat 50% 50% / contain;
}
@media screen and (min-width: 768px) {
  #sitemap a[target="_blank"]::after {
    width: 1.8rem;
    height: 1.5rem;
  }
}
#sitename {
  padding-top: calc(0.3em + 1.3rem);
  margin: 0;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  color: rgb(57, 57, 57);
  border-top: 1px solid rgb(161, 161, 161);
}
@media screen and (min-width: 768px) {
  #sitename {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    font-size: 1.4rem;
    line-height: 1.7;
    letter-spacing: calc(0.42 / 14 * 1em);
    border-top: none;
  }
}
#sitename dt {
  letter-spacing: 0.1em;
}
#sitename dd {
  margin: 0;
  letter-spacing: 0.05em;
}
@media screen and (min-width: 768px) {
  #sitename dt,
  #sitename dd:not(.logo) {
    flex-grow: 1;
  }
  #sitename dt {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    letter-spacing: 0.1em;
  }
}
#sitename .logo {
  padding: 1.8rem 0;
  font-size: 0;
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  #sitename .logo {
    padding: 0;
    order: -10;
  }
}
#sitename .logo .mark {
  display: inline-block;
  vertical-align: middle;
  width: 3.6rem;
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  #sitename .logo .mark {
    width: 5rem;
  }
}
#sitename .logo .type {
  margin-left: 0.8rem;
  display: inline-block;
  vertical-align: middle;
  width: 26.8rem;
  font-size: 1rem;
}
@media screen and (min-width: 768px) {
  #sitename .logo .type {
    margin-left: 1.2rem;
    width: 37.4rem;
  }
}
#sitename .logo span img {
  width: 100%;
}
#wrapper > footer small {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: calc(0.42 / 14 * 1em);
  color: rgb(57, 57, 57);
  text-align: center;
}
@media screen and (min-width: 768px) {
  #wrapper > footer small {
    font-size: 1.4rem;
    text-align: start;
  }
}
/* fadein @common.js */
.fadein:not(.outside):not(.inner),
.fadein:not(.outside).inner > * {
  transition:
    opacity 0.6s ease-in-out 0s,
    translate 0.4s ease-in-out 0s;
}
.fadein.outside:not(.inner),
.fadein.outside.inner > * {
  opacity: 0;
  translate: 0 1.6rem;
}
.fadein:not(.outside).inner > *:nth-child(1) {
  transition-delay: 0s;
}
.fadein:not(.outside).inner > *:nth-child(2) {
  transition-delay: 0.3s;
}
.fadein:not(.outside).inner > *:nth-child(3) {
  transition-delay: 0.6s;
}
.fadein:not(.outside).inner > *:nth-child(4) {
  transition-delay: 0.9s;
}
.fadein:not(.outside).inner > *:nth-child(5) {
  transition-delay: 1.2s;
}
.fadein:not(.outside).inner > *:nth-child(6) {
  transition-delay: 1.5s;
}

/* keyframes */
@-webkit-keyframes arrow {
  0% {
    translate: 0 0;
    opacity: 1;
  }
  50% {
    translate: 200% 0;
    opacity: 0;
  }
  51% {
    translate: -100% 0;
    opacity: 0;
  }
  100% {
    translate: 0 0;
    opacity: 1;
  }
}
@keyframes arrow {
  0% {
    translate: 0 0;
    opacity: 1;
  }
  50% {
    translate: 200% 0;
    opacity: 0;
  }
  51% {
    translate: -100% 0;
    opacity: 0;
  }
  100% {
    translate: 0 0;
    opacity: 1;
  }
}
@-webkit-keyframes parallax {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 -80rem;
  }
}
@keyframes parallax {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 -80rem;
  }
}
@-webkit-keyframes parallax2 {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 160rem;
  }
}
@keyframes parallax2 {
  0% {
    translate: 0 0;
  }
  100% {
    translate: 0 160rem;
  }
}
@-webkit-keyframes disperse {
  0% {
    scale: 1;
    opacity: 1;
  }
  100% {
    scale: 4;
    opacity: 0;
  }
}
@keyframes disperse {
  0% {
    scale: 1;
    opacity: 1;
  }
  100% {
    scale: 4;
    opacity: 0;
  }
}
@-webkit-keyframes infini-scroll {
  0% {
    translate: 0 0;
  }
  100% {
    translate: -50% 0;
  }
}
@keyframes infini-scroll {
  0% {
    translate: 0 0;
  }
  100% {
    translate: -50% 0;
  }
}
@-webkit-keyframes expand {
  0% {
    scale: 0 1;
    transform-origin: left center;
  }
  25% {
    scale: 1 1;
    transform-origin: left center;
  }
  75% {
    scale: 1 1;
    transform-origin: right center;
  }
  100% {
    scale: 0 1;
    transform-origin: right center;
  }
}
@keyframes expand {
  0% {
    scale: 0 1;
    transform-origin: left center;
  }
  25% {
    scale: 1 1;
    transform-origin: left center;
  }
  75% {
    scale: 1 1;
    transform-origin: right center;
  }
  100% {
    scale: 0 1;
    transform-origin: right center;
  }
}
@-webkit-keyframes slide-text-color {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}
@keyframes slide-text-color {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0 0;
  }
}
