@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

#main {
  padding-bottom: 200px;
}

@media screen and (min-width:768px) {

  body {
    font-size: 18px;
  }

  #main {
    padding-bottom: 300px;
  }

}

/** ***************************************************************************
 * ビジュアル
 * ************************************************************************* */

#visual {
  padding-top: 60px;
  padding-bottom: 40px;
}

#visual div.body {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

@media screen and (min-width:768px) {

  #visual {
    padding-bottom: 110px;
  }

  #visual div.body {
    max-width: 1500px;
    padding-top: 0;
    padding-left: min(6.67%, 100px);
    padding-right: 20px;
    flex-direction: row;
    align-items: flex-start;
  }

}

/**
 * ロゴ / ナビ
 */

#visual div.contents {
  width: 100%;
  order: 3;
}

@media screen and (min-width:768px) {

  #visual div.contents {
    width: 31%;
    max-width: 430px;
    padding: 20px 3.34% 8%;
    align-self: flex-end;
    order: 0;
  }

}

/* ロゴ */

#visual div.logo {
  width: 120px;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  z-index: 1;
  top: 30px;
  left: calc(50% - 60px);
}

@media screen and (min-width:768px) {

  #visual div.logo {
    width: auto;
    position: static;
  }

}

/* ナビ */

#visual nav.nav ul.list {
  font-size: 0.834em;
  font-weight: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

#visual nav.nav ul.list li {
  width: 70%;
  text-align: center;
  animation: nav-list 3.0s ease-in-out 0.0s infinite alternate;
}

#visual nav.nav ul.list li:nth-child(odd) {
  animation-delay: 0.3s;
}

#visual nav.nav ul.list li:nth-child(odd) {
  margin-left: 0;
  margin-right: auto;
}

#visual nav.nav ul.list li:nth-child(even) {
  margin-left: auto;
  margin-right: 0;
}

#visual nav.nav ul.list li a {
  padding: 0.75em 0.75em 0.75em 1.5em;
  color: inherit;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 0;
}

#visual nav.nav ul.list li a:not([href]) {
  pointer-events: none;
  opacity: 0.4;
}

#visual nav.nav ul.list li a::before {
  content: '';
  width: 0.25em;
  height: 0.375em;
  background:
    url("../_image/_common/icon-arrow-1.png")
    0 0 / 100% 100%
    no-repeat;
  position: absolute;
  z-index: 1;
  top: 1.5em;
  left: 0.5em;
}

@keyframes nav-list {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, 20px);
  }
}

@media screen and (min-width:768px) {

  #visual nav.nav {
    margin-top: 20px;
    display: block;
  }

  #visual nav.nav ul.list {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  #visual nav.nav ul.list li {
    width: auto;
    text-align: left;
    animation: none;
  }

}

/**
 * テキスト
 */

#visual div.text {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 3px;
  font-family: YakuHanMP, 'Noto Serif JP', serif;
  order: 1;
}

@media screen and (min-width:768px) {

  #visual div.text {
    width: 5%;
    padding: 40px 0;
    letter-spacing: 6px;
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    order: 0;
  }

}

/**
 * スライダー
 */

#visual div.visual {
  width: 100%;
  margin-top: 20px;
  padding-right: 20px;
  position: relative;
  z-index: 0;
  order: 2;
}

#visual div.visual div.image div.swiper-slide {
  clip-path: url("#visual-mask");
}

@media screen and (min-width:768px) {

  #visual div.visual {
    width: 64%;
    margin: 0;
    padding-left: 4%;
    padding-right: 4%;
    order: 0;
  }

}

/**
 * ページャー
 */

#visual ul.pagination {
  width: auto;
  height: 100%;
  padding: 5% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 2;
  top: 0;
  left: auto;
  right: 0;
  bottom: auto;
}

#visual ul.pagination li {
  width: auto;
  height: calc(100% / 6);
  margin: 0;
  padding: 5px 5px;
  border-radius: 0;
  background: none;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

#visual ul.pagination li::before {
  content: '';
  width: 4px;
  height: 100%;
  border-radius: 100px;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(0, 0, 0, 0.1);
}

#visual ul.pagination li[class*="active"]::before {
  background-color: rgba(0, 0, 0, 0.2);
}

@media screen and (min-width:768px) {

  #visual ul.pagination li {
    height: calc(100% / 10);
    padding: 5px 15px;
  }

}

/** ***************************************************************************
 * itonamiとは
 * ************************************************************************* */

#about {
  overflow: hidden;
  position: relative;
  z-index: 0;
}

#about div.body {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  z-index: 0;
}

/**
 * コンテンツ
 */

#about div.contents {
  width: 100%;
  height: 100%;
  padding: 2.67% 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
}

@media screen and (min-width:768px) {

  #about div.contents {
    justify-content: flex-end;
  }

}

/* キャッチコピー */

#about div.contents div.catchcopy {
  letter-spacing: 3px;
  font-family: YakuHanMP, 'Noto Serif JP', serif;
  font-size: 1.12em;
}

@media screen and (min-width:768px) {

  #about div.contents div.catchcopy {
    letter-spacing: 6px;
    font-size: 1.12em;
    writing-mode: vertical-rl;
  }

}

/* リンクボタン */

#about div.contents div.button {
  font-size: 1.125em;
  font-weight: 100;
}

#about div.contents div.button a {
  padding: 2em;
  color: inherit;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 0;
}

#about div.contents div.button a::after {
  content: '';
  width: calc(100% - 4em);
  border-top: 1px solid #fff;
  position: absolute;
  z-index: 1;
  left: 2em;
  bottom: 1.5em;
}

@media screen and (min-width:768px) {

  #about div.contents div.button {
    font-size: 0.89em;
  }

}

/**
 * 動画
 */

#about div.movie {
  padding-bottom: 100%;
  background-color: #000;
  position: relative;
  z-index: 0;
}

#about div.movie::after {
  content: '';
  width: 100%;
  height: 100%;
  background: url("../_image/_common/image-mask-1.png");
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
}

#about div.movie iframe {
  max-width: none;
  width: 177.7777777777778%;
  height: 100%;
  position: absolute;
  z-index: 1;
  top: 0;
  left: calc(50% - 88.88888888888889%);
}

@media screen and (min-width:768px) {

  #about div.movie {
    padding-bottom: 56.25%;
  }

  #about div.movie iframe {
    width: 100%;
    height: 100%;
    left: 0;
  }

}

/** ***************************************************************************
 * ページ一覧
 * ************************************************************************* */

#main .page-list {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 0;
}

#main .page-list::after {
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.0),
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.65)
  );
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

#main .page-list ~ .page-list {
  margin-top: 30px;
}

#main .page-list div.body {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  position: relative;
  z-index: 0;
}

@media screen and (min-width:768px) {

  #main .page-list ~ .page-list {
    margin-top: 60px;
  }

}

/**
 * コンテンツ
 */

#main .page-list div.contents {
  min-height: 100vw;
  padding: 40px 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

@media screen and (min-width:768px) {

  #main .page-list div.contents {
    min-height: min(48.67vw, 730px);
    padding: 2.67% 20px;
  }

}

/* キャッチコピー */

#main .page-list div.contents div.catchcopy {
  margin-bottom: 15px;
  font-family: YakuHanMP, 'Noto Serif JP', serif;
  font-size: 1.25em;
}

@media screen and (min-width:768px) {

  #main .page-list div.contents div.catchcopy {
    margin-bottom: 30px;
    line-height: 1.4;
    font-size: 1.45em;
  }

}

/* 文章 */

#main .page-list div.contents div.text {
  font-size: 0.78em;
  font-weight: 100;
}

/* リンクボタン */

#main .page-list div.contents div.button {
  margin-top: 15px;
  font-size: 1.125em;
  font-weight: 100;
}

#main .page-list div.contents div.button a {
  padding: 0.5em;
  color: inherit;
  text-decoration: none;
  display: inline-block;
  position: relative;
  z-index: 0;
}

#main .page-list div.contents div.button a:not([href]) {
  pointer-events: none;
  opacity: 0.4;
}

#main .page-list div.contents div.button a::after {
  content: '';
  width: calc(100% - 1em);
  border-top: 1px solid #fff;
  position: absolute;
  z-index: 1;
  left: 0.5em;
  bottom: 0;
}

@media screen and (min-width:768px) {

  #main .page-list div.contents div.button {
    font-size: 0.89em;
  }

  #main .page-list div.contents div.button a {
    padding: 2em;
  }

  #main .page-list div.contents div.button a::after {
    width: calc(100% - 4em);
    left: 2em;
    bottom: 1.5em;
  }

}

/**
 * 画像
 */

#main .page-list div.image {
  position: relative;
  z-index: 0;
}

#main .page-list div.image::after {
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.65));
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

#main .page-list div.image img {
  width: 100%;
}
