@charset "utf-8";

:root {
  --sans-font: 'Zen Kaku Gothic New';
  --default-font: 'Zen Old Mincho';
  --font-color: #2F2F2F;
  --white-color: #fff;
  --bg-color: #eaf1e4;
  --base-color: #F2F2F2;
  --main-color: #91BA8F;
  --accent-color: #6A8768;
  --gray-color: #C4C4C4;
  --lightblack-color: #6A6969;
  --logo-color: #4D4A47;
  --header-height: 91px;
  --tabHeader-height: 69px;
  --spHeader-height: 57px;
}

.under-wrapper img {
  filter: contrast(0.8) brightness(1.1);
}
.under-mv {
  width: 100%;
  position: relative;
}

.under-mv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background-image: url("../img/farmer.png");
  background-repeat: repeat;
  z-index: 5;
}

.under-mvInner {
  position: relative;
  width: 100%;
  height: 40vh;
}

.under-mvInner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  filter: brightness(0.8);
}
.room .under-mvInner img {
  object-position: center 20%;
}

.under-tlWrap {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: var(--header-height);
}

.under-tl {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white-color);
  text-shadow: 2px 2px 15px rgba(0, 0, 0, 1);
}

@media (max-width: 900px) {
  .under-mv {
    margin-bottom: 0;
  }

  .under-tlWrap {
    padding-top: var(--tabHeader-height);
  }
}

@media (max-width: 900px) {
  .under-tlWrap {
    padding-top: var(--spHeader-height);
  }
}

/* -------------------------------------------
下層共通レスポンシブ
-------------------------------------------- */
@media (max-width: 572px) {
  .under-wrapper .p {
    font-size: 1.6rem;
    line-height: 1.7;
    letter-spacing: 0.05em;
  }
}

/* -------------下層コンテンツ--------------- */

.layout {
  display: flex;
  height: 100%;
  position: relative;
}

@media (max-width: 900px) {
  .layout {
    display: block;
  }
}

/* =====================================
サイドバー
======================================== */
.sidebar {
  width: 300px;
  padding-left: 5rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: sticky;
  top: 20%;
  height: fit-content;
}

/* .sidebar p {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
} */

.sidebar li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 20px;
}

.sidebar li::before {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  content: '・';
}

.sidebar a {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 2;
  letter-spacing: normal;
  color: var(--font-color);
}

@media (max-width: 1080px) {
  .sidebar {
    width: 240px;
    padding-left: 3rem;
    padding-top: 5rem;
  }

  .sidebar li {
    margin-bottom: 15px;
  }
}

@media screen and (min-width: 901px) {

  .sidebar-toggle,
  .sidebar-popup {
    display: none !important;
  }
}


@media (max-width: 900px) {
  .sidebar {
    width: 100%;
    position: static;
    margin-right: auto;
    margin-left: auto;
    transition: transform 0.3s ease;
    z-index: 1000;
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-right: 3rem;
  }

  .sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }

  .sidebar li {
    width: calc((100% - 15px) / 2);
    margin-bottom: 0;
  }

  .sidebar li a {
    border-bottom: 1px solid var(--accent-color);
  }

  /* -----ポップアップ----- */

  .sidebar-toggle {
    position: fixed;
    top: 68px;
    right: 0;
    z-index: 998;
    background: rgba(255, 255, 255, 1);
    color: var(--accent-color);
    border: none;
    width: 40px;
    height: 40px;
    font-size: 24px;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.2);
  }

  .sidebar-toggle span {
    transition: ease-in-out 0.3s;
  }

  .sidebar-toggle.visible {
    display: flex;
  }

  /* ポップアップが開いているときのボタン変化 */
  .sidebar-toggle.opened span {
    transform: rotate(45deg);
  }


  .sidebar-popup {
    position: fixed;
    top: 70px;
    right: 0;
    left: auto;
    width: 200px;
    height: auto;
    background-color: rgba(223, 223, 223, 0.9);
    /* background-color: var(--bg-color); */
    z-index: 997;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding-top: 20px;
  }

  .sidebar-popup.open {
    transform: translateX(0);
  }

  /* .popup-cont {
    padding-left: 15px;
    padding-right: 15px;
  } */

  .sidebar-sp-tl {
    font-size: 2.4rem;
    margin-bottom: 15px;
  }

  .sidebar-popup-inner ul {
    display: flex;
    flex-flow: column;
    /* gap: 20px; */
  }

  .sidebar-popup-inner li {
    border-top: 1px solid var(--gray-color);
    padding: 10px 0;
    /* background-color: var(--bg-color); */
  }

  /* .sidebar-popup-inner li:last-child {
    border-bottom: 1px solid #fff;
  } */

  .sidebar-popup-inner a {
    display: block;
    font-family: var(--sans-font);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--font-color);
    padding-left: 20px;
  }
}

@media (max-width: 572px) {
  .sidebar ul {
    flex-flow: column;
  }

  .sidebar li {
    width: 100%;
  }

  .sidebar-popup {
    top: 56px;
    /* ヘッダーの高さ */
  }

  .sidebar-toggle {
    top: 56px;
    /* ヘッダーの高さ */
  }
}


/* =====================================
メインコンテンツ
======================================== */
.content {
  flex: 1;
  width: calc(100% - 300px);
  /* sidebarの幅 */
}

.cont-tl {
  font-size: 2.4rem;
  margin-bottom: 2rem;
}

.cont-bg {
  display: flex;
  flex-flow: column;
  gap: 15rem;
  /* background-color: var(--bg-color); */
  border-left: 5px solid var(--accent-color);
  padding: 5rem 0 10rem;
}

@media (max-width: 1080px) {
  .content {
    width: calc(100% - 240px);
    /* sidebarの幅 */
  }
}

@media (max-width: 900px) {
  .content {
    width: 100%;
    padding-right: 0;
    /* padding-left: 5px; */
  }

  .cont-tl {
    margin-bottom: 2rem;
    font-size: 2.8rem;
  }

  .cont-bg {
    border-left: 6px solid var(--accent-color);
    padding-top: 5rem;
  }
}

@media (max-width: 768px) {
  .cont-bg {
    gap: 10rem;
  }
}

.scroll-margin {
  scroll-margin-top: 15rem;
}

@media (max-width: 900px) {
  .scroll-margin {
    scroll-margin-top: 5rem;
  }
}

.under-item {
  display: flex;
  flex-flow: column;
  gap: 5rem;
}

.under-cont {
  padding: 0 5rem;
}

/* 内容 */
.under-info {
  display: flex;
  align-items: start;
  gap: 5%;
}

.under-txt {
  flex: 1;
}

.under-item .btn {
  width: fit-content;
  margin-right: 5rem;
  margin-left: auto;
}

@media (max-width: 1080px) {

  /* 内容 */
  .under-info {
    flex-flow: column;
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .under-cont {
    padding: 0 15px;
  }

  /* ルームタイトル */
  .under-cont h3 {
    font-size: 2.4rem;
    margin-bottom: 5rem;
  }
}

@media (max-width: 572px) {

  /* ルームタイトル */
  .under-cont h3 {
    font-size: 2rem;
    margin-bottom: 5rem;
  }

  .under-item .btn a {
    font-size: 1.6rem;
  }
}

/* 詳細情報リスト */
.info-list {
  display: flex;
  justify-content: start;
  align-items: start;
  gap: 5%;
  width: 100%;
  background-color: var(--bg-color);
  padding: 15px 25px;
  color: var(--logo-color);
  margin-top: 3rem;
}

.info-list dl {
  width: fit-content;
}

.info-list hr {
  display: none;
}

.info-list dt {
  width: fit-content;
  font-family: var(--sans-font);
  font-size: 1.6rem;
  font-weight: 500;
  /* text-align: center; */
  margin-bottom: 5px;
  border-bottom: 2px dashed var(--accent-color);
}

.info-list dd {
  font-family: var(--sans-font);
  font-size: 1.6rem;
  font-weight: normal;
}

/* タグ風リスト */
.under-list {
  padding: 0;
  margin-top: 3rem;
}

.under-list li {
  width: fit-content;
  position: relative;
  list-style-type: none;
  padding: 0.5em 2em 0.5em 0.5em;
  margin-bottom: 10px;
  font-family: var(--sans-font);
  line-height: 1.5;
  font-size: 1.4rem;
  background-color: var(--bg-color);
  vertical-align: middle;
  color: var(--logo-color);
  border-radius: 15px 0px 0px 15px;
  /*左側の角丸く*/
}

.under-list li:before {
  display: inline-block;
  vertical-align: middle;
  /*以下白丸つくる*/
  content: '';
  width: 1em;
  height: 1em;
  background: #fff;
  border-radius: 50%;
  margin-right: 8px;
}

@media (max-width: 768px) {
  .under-txt {
    width: 100%;
  }

  .info-list {
    width: 100%;
  }
  .info-list dt {
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .info-list {
    display: block;
  }

  .info-list hr {
    display: block;
    margin: 15px 0;
  }
}

/* -----------------------------------
下層共通専用スライダー
-------------------------------------- */
.under-pic {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.under-slider {
  width: 98%;
  height: auto;
  padding: 0;
  box-sizing: border-box;
  overflow: visible;
  margin: 0 auto;
}

.under-slider .swiper-slide {
  aspect-ratio: 3 / 2;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.under-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* 矢印カスタマイズ */
.under-slider .swiper-button-next,
.under-slider .swiper-button-prev {
  background-color: rgba(106, 135, 104, 0.7);
  /* background-color: rgba(255,255,255,0.7); */
  padding: 30px 15px;
}

.under-slider .swiper-button-next {
  right: 0;
}

.under-slider .swiper-button-prev {
  left: 0;
}

.under-slider .swiper-button-next:after,
.under-slider .swiper-button-prev:after {
  color: var(--white-color);
  font-size: 2rem;
  /* text-shadow: 1px 1px 0 #fff,-1px 1px 0 #fff,1px -1px 0 #fff,-1px -1px 0 #fff; */
}

/* ===================================
ルーム
====================================== */
/* ルームタイトル */
.under-cont h3 {
  font-size: 2.8rem;
  margin-bottom: 5rem;
  letter-spacing: normal;
}

/* アイコン */
.room-icon {
  width: 100%;
  display: flex;
  gap: 28px;
  margin-bottom: 3rem;
}

.room-icon div {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-icon img {
  width: auto;
  height: 28px;
}

.room-icon p {
  font-size: 1.4rem;
  font-weight: 400;
  font-family: var(--sans-font);
}

.room-ac p {
  border-top: 1px solid var(--font-color);
  border-bottom: 1px solid var(--font-color);
  text-align: center;
  font-size: 1.6rem;
  padding: 5px 0;
}

/* -------------------------
アコーディオン
---------------------------- */
.r-accordion {
  flex: 1;
  width: 100%;
  font-family: var(--sans-font);
  border-top: 1px solid var(--font-color);
  /* 上のボーダーは常に表示 */
}

.r-accordion-header {
  display: flex;
  justify-content: center;
  /* 中央寄せのベース */
  align-items: center;
  position: relative;
  /* 子要素の絶対配置の基準 */
  cursor: pointer;
  padding: 1em;
  font-size: 1.2em;
  /* transition: background-color 0.2s ease; */
  border-bottom: 1px solid var(--font-color);
  /* 閉じたときの下ボーダー */
}

.r-accordion-header span {
  font-size: 1.6rem;
  font-weight: 400;
}

/* 「詳細」テキストを中央に配置 */
.r-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* プラス／マイナスマークを右端に配置 */
.open-icon {
  position: absolute;
  right: 1em;
  transition: transform 0.4s ease;
  font-weight: bold;
  display: inline-block;
}

/* コンテンツ部分（初期状態は非表示） */
.r-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.1s ease, padding 0.1s ease;
  padding: 0 1em;
  border-bottom: none;
}

/* 開いたときのスタイル */
.r-accordion.open .r-accordion-header {
  border-bottom: none;
  /* 「詳細」の下のボーダーを消す */
}

.r-accordion.open .r-accordion-content {
  max-height: 500px;
  /* 必要に応じて調整可能 */
  padding: 1em;
  border-bottom: 1px solid var(--font-color);
  /* コンテンツの下にボーダー */
}

/* マイナスマークは水平のまま */
.r-accordion.open .open-icon {
  transform: rotate(0deg);
}

.r-accordion-content .item {
  padding: 10px 0;
}

.r-accordion-content .item p {
  font-size: 1.3rem;
  color: var(--lightblack-color);
}

.r-accordion-content .item div {
  display: flex;
  justify-content: start;
  gap: 8px;
  margin-bottom: 5px;
}

.r-accordion-content .item img {
  width: 28px;
  height: auto;
}

.r-accordion-p {
  padding-left: 33px;
  /* 25+8 */
}

@media (max-width: 572px) {
  .r-accordion-header span {
    font-size: 1.4rem;
  }
}

/* ===================================
下層コンテナ　シンプルなフレックススタイル
====================================== */
.other-item {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 5rem;
}

.other-item .under-cont {
  flex: 1;
  padding: 0;
}

.other-item .under-pic {
  flex: 1;
}

.other-item .under-pic img {
  width: 100%;
  height: auto;
}

.other-item .under-list {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
}

@media (max-width: 900px) {
  .other-item {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .other-item {
    display: block;
  }

  .other-item .under-pic {
    width: 80%;
    margin-top: 3rem;
  }
}
@media (max-width: 572px) {

  .other-item .under-pic {
    width: 100%;
  }
}

/* ===================================
大浴場
====================================== */
#sauna h3 {
  line-height: 1;
}

#sauna h3 span {
  font-size: 1.4rem;
}

/* ===================================
朝食
====================================== */
.fee p {
  font-family: var(--sans-font);
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 3rem;
}

/* ===================================
施設案内 facility
====================================== */
.facility #access .txt {
  margin-bottom: 30px;
}

.facility-map {
  aspect-ratio: 16 / 9;
}
.facility #access .btn {
  margin: 3rem 0;
}

.guest-info {
  width: 100%;
  display: flex;
  flex-flow: column;
  gap: 5rem;
}
.guest-info h4 {
  font-family: var(--default-font);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--logo-color);
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.guest-info p {
  font-size: 1.6rem;
  font-family: var(--sans-font);
  color: var(--lightblack-color);
  margin-bottom: 10px;
}
.guest-info p:last-child {
  margin-bottom: 0;
}

@media (max-width: 572px) {
  .guest-info .sp-br {
    display: block;
  }
  .guest-info h4 {
    font-size: 1.6rem;
  }
  .guest-info p {
    font-size: 1.4rem;
  }
}

/* ===================================
FAQページ
====================================== */

.faq-section {
  scroll-margin-top: 10rem;
  width: 95%;
  margin-right: auto;
  margin-left: auto;
}

.faq-section h3 {
  font-size: 3.6rem;
  margin-bottom: 5rem;
}

.faq-toggle {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: var(--base-color);
  border: none;
}

.faq-item h4 {
  font-size: 1.6rem;
  font-family: var(--sans-font);
  font-weight: 500;
}

.faq-item h4::before {
  content: 'Q.';
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--main-color);
  margin-right: 5px;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  margin-bottom: 15px;
}

.faq-accordion.open .faq-content {
  max-height: 500px; /* コンテンツ量に応じて調整してください */
  opacity: 1;
  transition-duration: 1s;
}

.faq-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-color);
  padding: 15px;
}

.faq-icon {
  font-size: 1.8rem;
  /* font-weight: bold; */
  color: var(--accent-color);
}

.faq-content .faq-content-inner {
  position: relative;
  font-size: 1.6rem;
  font-family: var(--sans-font);
  color: var(--font-color);
  padding-left: 40px;
  margin-top: 15px;
  margin-right: 15px;
  margin-bottom: 15px;
}

.faq-content .faq-content-inner::before {
  display: block;
  position: absolute;
  left: 15px;
  top: 0;
  content: 'A.';
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--main-color);
}
.faq-content .faq-content-inner p {
  font-weight: 400;
}

@media (max-width: 572px) {
  .faq-section h3 {
    font-size: 2.8rem;
    margin-bottom: 5rem;
  }
}


/* ===================================
予約ページ　inquiry.css使用
====================================== */
.rp-inner {
  width: 90%;
  margin: 0 auto;
  padding-top: 8rem;
  background-color: var(--white-color);
}

.rp-tl {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.rp-tl h3 {
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
  color: var(--logo-color);
}

.rp-tl img {
  width: 45px;
  height: auto;
}

/* -----検索ボックス----- */
.rp-inner .tripla {
  margin: 5rem auto 0;
}

.rp-inner #booking form {
  box-shadow: none;
  text-align: center;
  padding: 0;
}

.rp-inner #booking label {
  color: var(--logo-color);
}

/* -----END検索ボックス----- */
.rp-inner .member {
  margin-top: 5rem;
}

.rp-inner .kotozna {
  margin-top: 8rem;
}

@media (max-width: 900px) {
  .rp-inner {
    padding-top: 5rem;
  }

  .rp-inner .kotozna {
    margin-top: 5rem;
  }
}

@media (max-width: 572px) {

  .rp-tl h3 {
    font-size: 2.8rem;
  }

  .rp-tl img {
    width: 35px;
    height: auto;
  }
}