@charset "UTF-8";
/* ----関数設定---- */
:root {
  --liquid-rem-base: 10;
  --liquid-design-w: 1920;
}

html {
  font-size: calc(100vw / (var(--liquid-design-w) / var(--liquid-rem-base)));
}

/* 1920px以上は固定 */
@media (min-width: 1921px) {
  html {
    font-size: 62.5%;
  }
}
/* ブレイクポイント */
@media (max-width: 820px) {
  :root {
    --liquid-design-w: 820;
  }
}
:root {
  --color-black: #000;
}

/* ----------------------------------------------------------------------
基本設定
---------------------------------------------------------------------- */
@font-face {
  font-family: HannariMincho;
  src: url(../fonts/HannariMincho-Regular.woff);
}
body {
  font-family: "HannariMincho", "Noto Sans JP", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-feature-settings: "palt";
  color: var(--color-black);
  line-height: 1;
  font-weight: 400;
  font-size: max(1.6rem, 14px);
  overflow-x: hidden;
  transition: opacity 0.3s;
}

main {
  border-bottom: 11px solid #d9d9d9;
}

p {
  text-box: trim-both text text;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

picture {
  display: block;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------------------------------------
ページ共通CSS
---------------------------------------------------------------------- */
.inner {
  width: 85%;
  max-width: 1100px;
  margin-inline: auto;
  position: relative;
}

.tate {
  writing-mode: vertical-rl;
}
.tate span.kakko {
  writing-mode: horizontal-tb;
  rotate: 90deg;
  display: inline-block;
}
.tate span.kakko.kakko_start {
  margin-top: -0.5em;
}
.tate span.kakko.kakko_end {
  margin-bottom: -0.5em;
}

.bg_mesh {
  position: relative;
}
.bg_mesh::before {
  content: "";
  width: 100%;
  height: 42rem;
  background-image: url("../images/bg_mesh.webp");
  background-repeat: repeat;
  background-position: left top;
  position: absolute;
  top: -22px;
  left: 0;
  z-index: -1;
}

.bottom_deco {
  position: relative;
}

@media screen and (max-width: 820px) {
  .inner {
    width: 90%;
  }
}
/* ----------------------------------------------------------------------
ページヘッダーメニュー
---------------------------------------------------------------------- */
.index_header {
  padding: 40px 8rem 35px 4rem;
  height: 260px;
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 820px) {
  .index_header {
    height: auto;
  }
}

.index_header_list {
  margin: 0 0 0 auto;
}
.index_header_list .index_header_list_item {
  margin-left: 4.4rem;
}
.index_header_list .index_header_list_item a {
  color: #3e3a39;
  font-size: 18px;
  position: relative;
  line-height: 1.2;
  white-space: nowrap;
}
.index_header_list .index_header_list_item a span.header_en_sub {
  display: block;
  color: #898989;
  letter-spacing: 0.3em;
  margin-right: 4px;
  font-size: 15px;
}
.index_header_list .index_header_list_item a::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("../images/mori_icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: -20px;
  right: 3px;
  display: block;
  opacity: 0;
  transition: opacity 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  .index_header_list .index_header_list_item a:hover::before {
    opacity: 1;
  }
}
@media screen and (max-width: 820px) {
  .index_header_list {
    display: none;
  }
}

/* ----------------------------------------------------------------------
404エラーページ
---------------------------------------------------------------------- */
#error_page {
  margin-top: 8rem;
}
#error_page .lead_text p {
  line-height: 1.5;
  text-align: center;
}
#error_page .back_to_top {
  display: block;
  max-width: 225px;
  width: 100%;
  z-index: 1;
  margin: 8rem auto 12rem;
}
#error_page .back_to_top a {
  display: inline-block;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "メイリオ", sans-serif;
  letter-spacing: 0.15em;
  padding: 15px 45px 15px 15px;
  font-size: max(1.6rem, 14px);
  background-color: #fff;
  border: 1px solid #000;
  width: 100%;
  transition: opacity 0.3s;
  position: relative;
}
#error_page .back_to_top a::after {
  content: "";
  width: 6px;
  height: 12px;
  background-image: url("../images/more_btn_arrow.svg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 48%;
  right: 15px;
  translate: 0 -50%;
  transition: translate 0.3s;
}
@media (hover: hover) and (pointer: fine) {
  #error_page .back_to_top a:hover {
    opacity: 0.7;
  }
  #error_page .back_to_top a:hover::after {
    translate: 4px -50%;
  }
}

/* ----------------------------------------------------------------------
scroll アニメーション
---------------------------------------------------------------------- */
.gallery_scroll {
  overflow: hidden;
  width: 100%;
}

.gallery_scroll_wrapper {
  display: flex;
  width: max-content;
  animation: gallery_scroll 36s linear infinite;
}

.gallery_wrapper {
  display: flex;
  flex-shrink: 0;
}

.gallery_wrapper picture {
  flex-shrink: 0;
  display: block;
}

.gallery_wrapper img {
  display: block;
  width: 41rem;
  aspect-ratio: 41/30;
}

@keyframes gallery_scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}