@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}

/*mixin*/
/* ========== Global Reset & Vars ========== */
html, body {
  height: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box; /* パディングで高さが溢れないように */
}

p {
  margin-top: 0;
  margin-bottom: 0;
}

body {
  width: 100%;
  margin: 0; /* ブラウザ既定の8px余白を除去 → “数pxの隙間”対策 */
  line-height: 1.5;
  font-family: Arial, Helvetica, "Noto Sans", sans-serif;
}

.container {
  width: 100%;
}
.container .main {
  width: 100%;
  background-color: #dcd6d2;
  /* ヘッダー高を引いた実効高さに。対応環境では 100dvh を優先 */
  /* 任意：回転アニメ */
}
.container .main .tab-contents {
  position: relative;
  width: 100%;
  height: 100vh;
}
@supports (height: 100dvh) {
  .container .main .tab-contents {
    height: 100vh;
  }
}
.container .main .tab-contents .tab-contents-item {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 の省略 */
  width: 100%;
  height: 100%; /* ここは 100vh ではなく 100%（親に追随） */
  transition: all 1s ease 0s;
  padding: 0.5vh;
  background-color: #a69c95;
  overflow: hidden; /* はみ出し防止（必要に応じて） */
  /* Swiper UI */
}
.container .main .tab-contents .tab-contents-item .tab-page-contents {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%; /* ここも 100vh → 100% */
  font-weight: bold;
  text-align: center;
}
.container .main .tab-contents .tab-contents-item .swiper.swiper-main {
  width: 100%;
  height: 100%; /* ここも 100vh → 100% */
}
.container .main .tab-contents .tab-contents-item .swiper.swiper-main .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  font-weight: bold;
}
.container .main .tab-contents .tab-contents-item .swiper.swiper-main .swiper-slide img {
  width: 80%;
  height: auto;
  box-shadow: 0 0rem 1rem -0.5rem rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: block; /* 画像下の行ボックス隙間対策 */
}
.container .main .tab-contents .tab-contents-item .swiper.swiper-main .swiper-slide .text_box {
  width: 1000px;
  height: 560px;
  overflow: hidden;
  white-space: pre-line;
  overflow-wrap: anywhere;
  background: #fff;
  padding: 1rem;
}
.container .main .tab-contents .tab-contents-item .swiper.swiper-main .swiper-slide .text_box p {
  font-size: 36px;
  font-weight: normal;
}
.container .main .tab-contents .tab-contents-item .swiper.swiper-main .swiper-slide .text_box .title {
  font-size: 48px;
  background-color: beige;
}
.container .main .tab-contents .tab-contents-item .swiper.swiper-main .swiper-slide .text_box .text {
  margin: 0 0 0 1rem;
}
.container .main .tab-contents .tab-contents-item .swiper-button-prev,
.container .main .tab-contents .tab-contents-item .swiper-button-next {
  display: none;
}
.container .main .tab-contents .tab-contents-item .swiper-pagination-bullets .swiper-pagination-bullet {
  background-color: rgba(125, 125, 125, 0.5);
  border: #ccc 1px solid;
  opacity: 0.5;
  width: 1rem;
  height: 2rem;
  border-radius: 0;
  box-shadow: 0 0rem 1rem -0.5rem rgba(0, 0, 0, 0.5);
  transition: all 1s ease 0s;
}
.container .main .tab-contents .tab-contents-item .swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: rgba(125, 125, 125, 0.5);
  border: #ccc 1px solid;
  opacity: 0.5;
  width: 2rem;
  height: 2rem;
  border-radius: 0;
  box-shadow: 0 0rem 1rem -0.5rem rgba(0, 0, 0, 0.5);
  transition: all 1s ease 0s;
}
@keyframes rolling {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* 表示不要のため 0vh（意図通りならこのまま） */
  height: 0vh;
  background-color: #eae8e1;
  background-position: bottom;
  font-size: 0.8rem;
  color: #898989;
  font-weight: bold;
  overflow: hidden;
  /* ====== Modal ====== */
}
.footer #imageModal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5%;
  transition: all 0.5s ease 0s;
  z-index: 999999;
  transform: translateZ(1px);
}
.footer #imageModal #modalPicture {
  width: 97.5%;
  height: auto;
  /* ユーザー定義の @include mq(pc) が有効な前提で残置 */
  transform: rotateY(-180deg);
  transition: all 0.5s ease 0s;
}
@media screen and (min-width: 1081px) {
  .footer #imageModal #modalPicture {
    height: 100%;
    width: auto;
  }
}
.footer #imageModal.is-active {
  pointer-events: all;
  opacity: 1;
}
.footer #imageModal.is-active #modalPicture {
  transform: rotateY(0deg);
}
.footer #imageModal #closeModal {
  border: #fff 1px solid;
  padding: 1rem;
  margin: 1rem 0 0 0;
  cursor: pointer;
  transition: all 0.5s ease 0s;
}
.footer #imageModal #closeModal:hover {
  background-color: #dc143c;
}

.loading-box {
  display: block;
  width: 2rem;
  height: 2rem;
  border: rgba(89, 24, 33, 0.3) 4px solid;
  border-top: rgba(89, 24, 33, 0.8) 4px solid;
  border-radius: 50%;
  transform-origin: center center;
  animation: loading 2s linear 0s infinite;
}

@keyframes loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
#wp-admin-bar-wp-logo {
  display: none !important;
}

/* 前へ次への矢印カスタマイズ */
.swiper-button-prev {
  left: 1% !important;
}

.swiper-button-next {
  right: 1% !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "" !important;
  height: 0;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  opacity: 0.5;
  width: 0;
}

/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
  left: 0;
  border-bottom: 1rem solid transparent;
  border-right: 1.25rem solid #ccc;
  border-top: 1rem solid transparent;
}

/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  right: 0;
  border-bottom: 1rem solid transparent;
  border-left: 1.25rem solid #ccc;
  border-top: 1rem solid transparent;
}

.swiper-pagination-lock {
  display: flex !important;
  justify-content: center;
}/*# sourceMappingURL=style.css.map */