/* Root Style */
:root{
    --vw: 750;
    --base: 100vw;
    --bk: #000000;
    --gr: #009A53;
    --bl: #005EAD;
    --yl: #fdd835;
    --bg: #464234;
    --border: #464234;

    interpolate-size: allow-keywords;
}

@media (min-width: 769px) {
    :root {
        --vw: 1280;
        --vw2: 1920;
        --base: 100vw;
        --base2: 100vw;
    }
}

@media (min-width: 1281px) {
    :root {
        --vw: 1;
        --base: 1px;
    }
}

@media (min-width: 1921px) {
    :root {
        --vw2: 1;
        --base2: 1px;
    }
}

/* Common Style */
html{
  margin: 0;
  scroll-behavior: auto;
  scroll-padding-top: 48px;
}

@media (max-width: 768px) {
  html {
    width: 100%;
    font-size: calc(22 / var(--vw) * var(--base));
  }
}

@media (min-width: 769px) {
  html {
    width: 100%;
    scroll-padding-top: 86px;
    font-size: calc(18 / var(--vw) * var(--base));
  }
}

body {
  background-color: #fff;
  margin: 0;
  color: #464234;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.025em;
  line-height: calc(38/22);
}

@media screen and (max-width: 768px) {
  body {
    width: 100vw;
    font-size: 1.0rem;
  }
}

@media screen and (min-width: 769px) {
  body {
    width: auto;
    font-size: 1.0rem;
  }
}

:first-child {
    margin-block-start: 0;
}

:last-child {
    margin-block-end: 0;
}

picture {
    display: block;
}

:where(figure){
    margin-block: 0;
    margin-inline: 0;
}

:where(img) {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration-line: none;
    text-decoration-color: var(--bl);
    text-underline-offset: 0.4em;
}

@media (min-width: 769px) {
  a {
    transition: 0.6s ease;
  }

  a:hover {
    text-decoration-line: underline;
    opacity: 0.75;
  }
}

sup {
  vertical-align: top;
}

sub {
  vertical-align: baseline;
}

@media screen and (min-width: 769px) {
  .sp {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
}

.en {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
}

.noscroll {
  overflow: hidden;
}

.nowrap{
  white-space: nowrap;
}

.align-right{
    text-align: right;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

@media (max-width: 768px) {
    .align-center-sp {
        text-align: center;
    }
}

.underline{
    text-decoration-color: var(--bl);
    text-decoration-line: underline;
}

.object-cover {
    width: 100%;
    height: 100%;
    max-width: inherit;
    object-fit: cover;
}

.object-contain {
    width: 100%;
    height: 100%;
    max-width: inherit;
    object-fit: contain;
}

/* Header Footer Style */

header {
  width: 100%;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
}

header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(106 / var(--vw) * var(--base));
  padding-inline: calc(30 / var(--vw) * var(--base));
}

.logo-as {
  width: calc(240 / var(--vw) * var(--base));
  margin-block-start: calc(4 / var(--vw) * var(--base));;
}

.logo {
  width: calc(190 / var(--vw) * var(--base));
  line-height: 1;
}

#header.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}

#header.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  padding: calc(30 / var(--vw) * var(--base));
  background-color: #323232;
  font-size: calc(20 / var(--vw) * var(--base));
  font-weight: 300;
  color: #fff;
  text-align: center;
  line-height: 1;
}

@media screen and (min-width: 769px) {
  header {
    padding-block: calc(20 / var(--vw) * var(--base));
  }

  header .inner {
    max-width: 1500px;
    height: auto;
    margin: auto;
    padding-inline: calc(20 / var(--vw) * var(--base));
  }

  .logo-as {
    width: calc(260 / var(--vw) * var(--base));
    margin: 0;
  }

  .logo {
    width: calc(157 / var(--vw) * var(--base));
    margin: 0;
  }

  footer {
    padding: calc(20 / var(--vw) * var(--base));
    font-size: calc(13 / var(--vw) * var(--base));
    text-align: center;
  }
}

/* SNS Style */

#sns {
  padding-block-start: calc(110 / var(--vw) * var(--base));
  padding-block-end: calc(60 / var(--vw) * var(--base));
  background-color: #323232;
}

#sns h2 {
  width: calc(210 / var(--vw) * var(--base));
  padding-bottom: 1.0em;
  margin-inline: auto;
  margin-block-start: 0;
  margin-block-end: calc(48 / var(--vw) * var(--base));
  color: #fff;
  font-size: calc(28 / var(--vw) * var(--base));
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1;
  border-bottom: 2px solid #8c8c8c;
}

.sns-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(60 / var(--vw) * var(--base));
  list-style-type: none;
}

.sns-wrap li a {
  display: flex;
  align-items: center;
  gap: 1.0em;
  color: #fff;
  font-size: calc(19 / var(--vw) * var(--base));
  text-decoration: none;
}

.sns-wrap li a img {
  width: calc(54 / var(--vw) * var(--base));
}

.sns-wrap li:last-child a img {
  width: calc(44 / var(--vw) * var(--base));
}

@media screen and (min-width: 769px) {
  #sns {
    padding-block-start: min(45px, 100vw*(45/1280));
    padding-block-end: min(40px, 100vw*(40/1280));
    background-color: #323232;
  }

  #sns h2 {
    width: min(210px, 100vw*(210/1280));
    padding-bottom: 1.0em;
    margin: 0 auto min(60px, 100vw*(60/1280));
    color: #fff;
    font-size: min(25px, 100vw*(25/1280));
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1;
    border-bottom: 2px solid #8c8c8c;
  }

  .sns-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: min(75px, 100vw*(75/1280));
  }

  .sns-wrap li a {
    display: flex;
    align-items: center;
    gap: 1.0em;
    color: #fff;
    font-size: min(14px, 100vw*(14/1280));
    text-decoration: none;
  }

  .sns-wrap li a img {
    width: min(40px, 100vw*(40/1280));
  }

  .sns-wrap li:last-child a img {
    width: min(44px, 100vw*(44/1280));
  }
}