/*-----------------------------
全体 
------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Maru Gothic", "Zen Kaku Gothic New", serif;
  color: #4a4a4a;
  background-color: #fff8f0;
  box-sizing: border-box;
}

/* PC用レイアウト */
@media screen and (min-width: 1040px) {
  /* 1040px以上 */
  .hidden--pc {
    display: none;
  }

  .container--pc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
  }

  .fv,
  .empathy {
    flex: 1;
  }
}

/*-----------------------------
header 
------------------------------*/
header {
  width: 100%;
  font-size: 16px;
}

.header__inner {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ed1520;
  padding: 8px 16px;
}

/*  */
.poyopoyo {
  animation: poyopoyo 2s ease-out infinite;
  opacity: 1;
}
@keyframes poyopoyo {
  0%, 40%, 60%, 80% {
    transform: scale(1.0);
  }
  50%, 70% {
    transform: scale(0.95);
  }
}
/*  */
.header__logo img {
  max-width: 124px;
}

/* nav（pc） */
.global-nav {
  font-weight: bold;
  font-family: "Zen Maru Gothic", serif;
  color: #fff8f0;
}

.global-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.global-nav__link {
  display: inline-flex;
  align-items: center;
}

.global-nav__link::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  background-image: url("image/list-icon.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.global-nav__link:hover {
  opacity: 0.8;
}

.btn-menu {
  display: none;
}

/* nav(sp) */
@media screen and (max-width: 1040px) {
  /* 1040px以下*/
  .global-nav {
    font-size: 20px;
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    height: 560px;
    border-radius: 20px;
    background-color: #ed1520;
    box-shadow: -10px 0 35px -20px rgb(0 0 0 / 25%);
  }

  .global-nav__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 90px 20px 20px 50px;
    row-gap: 24px;
  }

  .btn-menu {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    text-align: center;
    padding: 21px 16px;
    background-color: #ed1520;
  }

  .btn-menu__line {
    display: block;
    position: relative;
    left: 0;
    width: 100%;
    height: 2px;
    transition: all 0.4s;
    border-radius: 4px;
    background-color: #fff8f0;
  }

  .btn-menu__line::before,
  .btn-menu__line::after {
    display: block;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    transition: inherit;
    border-radius: 4px;
    background-color: #fff8f0;
  }

  .btn-menu__line::before {
    top: -8px;
  }

  .btn-menu__line::after {
    top: 8px;
  }

  .btn-menu.active .btn-menu__line {
    background-color: transparent;
  }

  .btn-menu.active .btn-menu__line::before,
  .btn-menu.active .btn-menu__line::after {
    top: 0;
    background-color: #fff8f0;
  }

  .btn-menu.active .btn-menu__line::before {
    transform: rotate(45deg);
  }

  .btn-menu.active .btn-menu__line::after {
    transform: rotate(-45deg);
  }
}

/*-----------------------------
main 
------------------------------*/
main {
  margin: 0 auto;
  background-image: url("image/background-img.png");
  background-repeat: repeat-y;
  background-size: contain;
  background-position: center;
}

.wrapper {
  padding: 20px 30px;
}

/*-----------------------------
fv
------------------------------*/
.fv {
  width: 100%;
  text-align: center;
  font-family: "Zen Maru Gothic", serif;
}

.fv__text {
  font-size: 32px;
  padding-bottom: 20px;
  font-weight: bold;
  background-image: url("image/title-back.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.fv__text--sub {
  padding-top: 20px;
  font-size: 16px;
}

video {
  width: 100%;
  max-width: 375px;
  clip-path: inset(0 0 8% 0);
  margin: 0 auto;
}

.fv__video video {
  position: relative;
}

/* taxt-animation */
@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.taxt-animation__wrapper--st {
  width: 100%;
  overflow: hidden;
  font-family: "Zen Kaku Gothic New", serif;
  max-width: 375px;
}

.taxt__animation--st {
  animation: scrollText 40s linear -10s infinite;
  font-weight: bold;
  font-size: 150px;
  color: #fff8f0;
}

/*  */
.fv__video {
  position: relative;
  max-width: 375px;
  margin: 0 auto;
}

.fv__video video {
  width: 100%;
  clip-path: inset(0 0 8% 0);
  display: block;
}

.taxt-animation__wrapper--st {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* 動画操作を邪魔しない */
  font-family: "Zen Kaku Gothic New", serif;
  display: flex;
  align-items: end;
  justify-content: center;
  overflow: hidden;
}

.taxt__animation--st {
  animation: scrollText 40s linear infinite;
  font-weight: bold;
  font-size: 150px;
  color: #fff8f0;
  white-space: nowrap;
  padding-left: 100%;
}

@keyframes scrollText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/*-----------------------------
empathy
------------------------------*/
.empathy {
  text-align: center;
  font-family: "Zen Maru Gothic", serif;
  font-size: 16px;
}

.empathy__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.empathy__list {
  margin-bottom: 16px;
}

.empathy__item {
  font-size: 16px;
}

.empathy__img {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
}

@media screen and (min-width: 1040px) {
  /* 1040px以上 */
  .empathy {
    margin-top: 220px;
  }
}

/*-----------------------------
solution
------------------------------*/
.solution {
  text-align: center;
  padding: 48px 0px;
}

.solution__title {
  font-size: 20px;
  font-weight: bold;
  padding-bottom: 8px;
}

.solution__text {
  font-size: 16px;
}

/*-----------------------------
scroll
------------------------------*/
/* スクロール位置 */
.scroll {
  color: #ed1520;
  padding-top: 60px;
  position: relative;
  text-align: center;
  margin-bottom: 90px;
}

.scroll span {
  font-family: "Zen Maru Gothic", serif;
  font-weight: bold;
}

/* 矢印のアニメーション */
.scroll::before {
  animation: scroll 2s infinite;
  border-bottom: 2px solid #ed1520;
  border-left: 2px solid #ed1520;
  content: "";
  height: 20px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
}
/* 矢印のアニメーション変数 */
@keyframes scroll {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: rotate(-45deg) translate(-20px, 20px);
  }
  100% {
    opacity: 0;
  }
}

/*-----------------------------
text(line)-animation
------------------------------*/
.text-animation__wrapper {
  display: flex;
  align-items: center;
  border-top: 2px solid #4a4a4a;
  overflow: hidden;
  border-bottom: 2px solid #4a4a4a;
  width: 100vw;
  margin: calc(50% - 50vw);
}

.text__animation {
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
  animation: scrollText 40s linear infinite;
  padding-bottom: 2px;
}

/*-----------------------------
point
------------------------------*/
.point {
  width: 100%;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 50px;
}

.point__title {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 24px;
}

.point__title > span {
  font-size: 32px;
  font-weight: bold;
  padding: 0px 4px;
}

.point__list {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 16px;
}

.point__item img {
  width: 80%;
  max-width: 128px;
}

.point__text {
  font-size: 16px;
  padding-top: 16px;
  font-weight: bold;
  color: #ed1520;
}

/* 最小サイズレイアウト */
@media screen and (max-width: 440px) {
  /* 440px以下 */
  .point__text {
    font-size: 10px;
    padding-top: 16px;
    font-weight: bold;
    color: #ed1520;
  }
}

@media screen and (min-width: 440px) {
  /* 440px以上 */
  .hidden--440px {
    display: none;
  }
}

/*-----------------------------
spots
------------------------------*/
.spots {
  text-align: center;
  max-width: 1440px;
  margin: 0 auto 80px auto;
}

.spot__inner {
  height: auto;
  max-width: 375px;
  border: #4a4a4a 3px inset;
  border-radius: 10px;
  margin: 0 auto;
  padding: 24px;
}

.spot__title {
  font-family: "Zen Maru Gothic", serif;
  font-weight: bold;
  font-size: 16px;
  color: #4a4a4a;
}

.spot__subtitle {
  color: #4a4a4a;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  font-family: "Zen Maru Gothic", serif;
}

.spot__img {
  border: #4a4a4a solid 1px;
  margin: 24px auto;
}

/* details */
.spot__details {
  border-top: 1px solid #4a4a4a;
  border-bottom: 1px solid #4a4a4a;
  padding-top: 16px;
  padding-bottom: 16px;
  margin: 0 auto 16px auto;
}

.spot__meta-item {
  display: flex;
  justify-content: space-between;
  align-items: end;
  font-size: 16px;
}

.spot__meta-item--sub {
  display: inline-block;
  max-width: auto;
}

.spot-value__sub {
  text-align: right;
  font-size: 16px;
}

/* access */
.spot__access {
  margin: 0 auto;
}

.spot__meta-label {
  font-size: 16px;
  color: #4a4a4a;
  font-family: "Zen Maru Gothic", serif;
  font-weight: bold;
}

.spot__meta-value {
  font-weight: bold;
  font-size: 16px;
  color: #4a4a4a;
  font-family: "Zen Maru Gothic", serif;
}

.highlight {
  font-weight: bold;
  font-size: 24px;
  color: #4a4a4a;
  font-family: "Zen Maru Gothic", serif;
}

.spot__access-title {
  font-family: "Zen Maru Gothic", serif;
  font-weight: bold;
  font-size: 24px;
  text-align: center;
  color: #4a4a4a;
}

.spot__access-type {
  font-size: 16px;
  color: #4a4a4a;
  font-family: "Zen Maru Gothic", serif;
  font-weight: bold;
}

/* button */
.spot__buttons {
  padding-top: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.spot__button {
  width: 100%;
  height: auto;
  font-size: 16px;
  border-radius: 20px;
  border: 1px solid #4a4a4a;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: #fff8f0;
  padding: 8px 16px;
}

.spot__button--hp {
  background-color: #43aa8b;
}

.spot__button--cta {
  background-color: #ed1520;
}

/* 最小サイズレイアウト */
@media screen and (max-width: 440px) {
  /* 440px以下 */
  .spot__inner {
    height: auto;
    max-width: 375px;
    border: #4a4a4a 3px solid;
    border-radius: 10px;
    margin: 0 auto;
    padding: 12px;
  }

  .spot__title {
    font-family: "Zen Maru Gothic", serif;
    font-weight: bold;
    font-size: 12px;
    color: #4a4a4a;
  }

  .spot__subtitle {
    color: #4a4a4a;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    font-family: "Zen Maru Gothic", serif;
  }

  .spot__img {
    border: #4a4a4a solid 1px;
    margin: 12px auto;
  }

  /* details */
  .spot__details {
    border-top: 1px solid #4a4a4a;
    border-bottom: 1px solid #4a4a4a;
    padding-top: 8px;
    padding-bottom: 8px;
    margin: 0 auto 8px auto;
  }

  .spot__meta-item {
    display: flex;
    justify-content: space-between;
    align-items: end;
    font-size: 12px;
  }

  .spot__meta-item--sub {
    display: inline-block;
    max-width: auto;
  }

  .spot-value__sub {
    text-align: right;
    font-size: 12px;
  }

  /* access */
  .spot__access {
    margin: 0 auto;
  }

  .spot__meta-label {
    font-size: 12px;
    color: #4a4a4a;
    font-family: "Zen Maru Gothic", serif;
    font-weight: bold;
  }

  .spot__meta-value {
    font-weight: bold;
    font-size: 12px;
    color: #4a4a4a;
    font-family: "Zen Maru Gothic", serif;
  }

  .highlight {
    font-weight: bold;
    font-size: 16px;
    color: #4a4a4a;
    font-family: "Zen Maru Gothic", serif;
  }

  .spot__access-title {
    font-family: "Zen Maru Gothic", serif;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    color: #4a4a4a;
  }

  .spot__access-type {
    font-size: 12px;
    color: #4a4a4a;
    font-family: "Zen Maru Gothic", serif;
    font-weight: bold;
  }

  /* button */
  .spot__buttons {
    padding-top: 8px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
  }

  .spot__button {
    font-size: 10px;
    border-radius: 20px;
    border: 1px solid #4a4a4a;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    color: #fff8f0;
    padding: 6px 8px;
  }
}
/* /最小レイアウト */

/*-----------------------------
swiper
------------------------------*/
.spots__slider {
  margin-top: 25px;
}
@media screen and (min-width: 1040px) {
  .spots__slider {
    width: calc(100% - 56px - 32px);
    margin-top: 0;
  }
}

.spots__arrows {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-top: -10px;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (min-width: 1200px) {
  .spots__arrows {
    max-width: 944px;
    margin-top: -32px;
  }
}

.spots-swiper__slide {
  height: auto;
}

.spots-swiper-arrows {
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.spots-swiper-arrows__prev,
.spots-swiper-arrows__next {
  position: static;
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 48px 48px;
  border-radius: 50%;
  transition: background-position 0.3s;
}

.spots-swiper-arrows__prev::after,
.spots-swiper-arrows__next::after {
  content: "";
}

.spots-swiper-arrows__prev {
  background-image: url(image/prev-btn.png);
  margin-top: 6%;
  margin-left: 40px;
}
@media (hover: hover) {
  .spots-swiper-arrows__prev:hover {
    background-position: center left 40%;
  }
}

.spots-swiper-arrows__next {
  background-image: url(image/next-btn.png);
  margin-right: 40px;
  margin-top: 6%;
}
@media (hover: hover) {
  .spots-swiper-arrows__next:hover {
    background-position: center right 40%;
  }
}

/*-----------------------------
study
------------------------------*/
.study {
  width: 100%;
  max-width: 1440px;
  margin: 64px auto 80px auto;
  text-align: center;
}

.study__title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}

.study-card {
  max-width: 400px;
  border: #43aa8b 3px inset;
  border-radius: 20px;
  margin: 0 auto;
  padding: 24px;
  margin-bottom: 24px;
}

.study-card__img {
  margin: 16px auto;
  padding: 16px;
}

.study-card__title {
  font-weight: bold;
}

@media screen and (min-width: 1040px) {
  /* 1040px以上 */
  .study__inner {
    max-width: 1440px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px;
  }

  .study__title {
    width: 400px;
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    margin: 0 auto;
    padding: 24px;
    border-radius: 20px;
    border: #ed1520 3px inset;
    margin-bottom: 24px;
  }
}

/*-----------------------------
character
------------------------------*/
.character {
  text-align: center;
  max-width: 375px;
  margin: 0 auto;
  padding-bottom: 80px;
}
.character__title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
}

.character__name {
  font-size: 24px;
  font-weight: bold;
  margin: 16px 0px;
}

.character__note {
  font-size: 8px;
  text-align: center;
}

/* fuwafuwa-animation */
.fuwafuwa {
  animation: fuwafuwa 3s ease-in-out infinite alternate;
  display: inline-block;
  transition: 1.5s ease-in-out;
  width: 100%;
  height: 100%;
  margin-top: 15px;
}

@keyframes fuwafuwa {
  0% {
    transform: translate(0, 0) rotate(-7deg);
  }
  50% {
    transform: translate(0, -7px) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(7deg);
  }
}

/*-----------------------------
page-end
------------------------------*/
.page-end {
  text-align: center;
  max-width: 375px;
  margin: 0 auto 150px auto;
}

.page-end__message {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 80px;
}

.page-end__sub-message {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.back__link,
.back__icon {
  font-size: 16px;
  font-weight: bold;
  display: flex;
  flex-direction: column;
}

/*-----------------------------
footer
------------------------------*/
footer {
  background-color: #ed1520;
  margin: 0 auto;
}

.footer__inner {
  position: relative;
}

.back__img {
  position: absolute;
  top: -160px;
  left: 65%;
  z-index: -1;
}

.footer-character__description {
  display: flex;
  flex-direction: column;
}

.footer-nav__list {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  color: #fff8f0;
  font-size: 12px;
  padding-top: 32px;
}

.footer__text {
  color: #fff8f0;
  font-size: 8px;
  text-align: center;
  padding: 20px;
}

@media screen and (max-width: 1040px) {
  /* 1040px以下 */
  /* footer */
  .footer-nav__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: #fff8f0;
    font-size: 12px;
    padding-top: 32px;
  }
}

@media screen and (max-width: 440px) {
  /* 440px以下 */
  /* footer */
  .back__img {
    position: absolute;
    top: -120px;
    left: 65%;
    z-index: -1;
  }
}
