@charset "utf-8";

/* 変数定義 */
:root {
  --h1-size:clamp(24px, 2.5vw, 48px);
  --h2-size: clamp(20px, 2.7vw, 32px);
}

/* リセット */
*,
::before,
::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
ul,
ol {
  list-style: none;
}
a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* 基本 */
body {
  max-width: 100vw;
  background-color: #F8F5E8;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-style: normal;
}
p {
  line-height: 1.8;
}
ul,
li {
  display: inline-block;
}
a,
img {
  display: inline-block;
}

/* 共通 */
h2 {
  writing-mode: vertical-rl;
  padding-left: 2em;
  font-size: var(--h2-size);
}
p {
  font-size: 1.25em;
}
.news,
.stay,
.onsen,
.meal,
.about,
.tourism,
.access {
  width: 100%;
  display: flex;
}
.w-container {
  width: min(92%, 1160px);
  height: auto;
  margin: auto;
}
.vertical {
  writing-mode: vertical-lr;
}
.morebtn {
  width: min(92%, 1160px);
  margin-right: 1em;
  margin-bottom: 1em;
  margin-left: auto;
  width: fit-content;
  border-bottom: 1px dotted #000;
  font-size: 1.25em;
}

/* ヘッダー */
header {
  width: 100vw;
  height: clamp(60px, 5.2vh, 100px);
  display: flex;
  position: fixed;
  background-color: #38B48B;
  color: #fff;
  z-index: 115;
}
.header-inner {
  width: 100vw;
  height: auto;
  margin: 0 auto;
  padding-right: 1em;
  padding-left: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h1 {
  display: inline-block;
  font-size: clamp(16px, 1.2vw, 24px);
}
h1 span {
  font-size: var(--h1-size);
}
.header-inner nav {
  font-size: clamp(16px, 1.2vw, 24px);
}
.header-inner ul li {
  margin-right: 1em;
}

/* ナビゲーションボタン */
.sp-nav {
  padding: 0;
  margin-right: 0.5rem;
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
  color: #aaa;
  font-size: 30px;
}
.open .sp-nav {
  z-index: 120;
  color: #fff;
}
.sp-nav .fa-bars {
  display: revert;
}
.open .sp-nav .fa-bars {
  display: none;
}
.sp-nav .fa-xmark {
  display: none;
}
.open .sp-nav .fa-xmark {
  display: revert;
}

/* ファーストビュー */
.mv {
  height: 100vh;
  position: relative;
  background-image: url(../images/bg-mv.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
}
.mv::after {
  content:"";
  position: absolute;
  width: 100%;
  height: 100vh;
  background-color: rgba(255,255,255,0.6);
  z-index: 105;
}
.mv p {
  position: absolute;
  z-index: 110;
  padding-right: 1rem;
  padding-left: 1rem;
  color: #000;
  font-size: var(--h2-size);
  line-height: 2em;
}

/* 宿泊予約ボタン */
.reserve {
  width: 1.5em;
  height: 5em;
  position: fixed;
  z-index: 999;
  right: 0;
  top: 40%;
  color: #fff;
  font-size: 1.5em;
  text-align: center;
  background-color: #81B8A6;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

/* お知らせ */
.news {
  margin: 5em auto;
  flex-direction: column;
}
.news::after {
  content: "";
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #493805 0%, #E6B422 20%, #E6B422 80%, #493805 100%) 2;
  width: 40%;
  margin: 0 auto;
  padding-top: 5em;
}
.news-content {
  display: flex;
}
.news-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-left: 5em;
}
.news-container li {
  margin-bottom: 0.5em;
}

/* 宿泊 */
.stay {
  margin-top: 5em;
  margin-bottom: 5em;
}
.stay img {
  max-width: 25vw;
  height: auto;
}
.stay a p {
  display: inline-block;
}
.stay-container {
  display: flex;
  margin-left: 5em;
  overflow-x: auto;
}
.stay-container::-webkit-scrollbar{
  display: none;
}
.stay-content {
  display: inline-block;
	max-width: 25vw;
	height: auto;
	margin: 16px;
	color: #000;
	background-color: #fff;
  box-shadow: 2px 4px 12px #00000014;
}
.stay-content dl dt {
  max-width: 25vw;
  padding-right: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 0.5em;
  text-align: center;
  font-size: 1.25em;
  font-weight: bold;
}
.stay-content dl dd {
  max-width: 25vw;
  padding-right: 1em;
  padding-left: 1em;
  text-align: center;
}

/* 温泉 */
.onsen {
  margin: 5em auto;
  flex-direction: column;
  background-image: url(../images/onsen.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(255,255,255,0.6);
  background-blend-mode: lighten;
  color: #000;
}
.onsen-content {
  display: flex;
  margin-top: 5em;
}
.onsen-content p {
  margin-left: 5em;
}

/* 食事 */
.meal {
  margin: 5em auto 0;
  flex-direction: column;
  aspect-ratio: 16 / 9;
}
.meal::after {
  content: "";
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #493805 0%, #E6B422 20%, #E6B422 80%, #493805 100%) 2;
  width: 40%;
  margin: 0 auto;
  padding-top: 5em;
}
.meal img {
  max-width: 40vw;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-left: 5em;
}
.meal p {
  margin-left: 2em;
}
.meal-content {
  display: flex;
}

/* 和翠の宿について */
.about {
  flex-direction: column;
  background-image: url(../images/about.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: rgba(255,255,255,0.6);
  background-blend-mode: lighten;
}
.about-content {
  display: flex;
  margin-top: 5em;
}
.about-content p {
  margin-left: 5em;
}

/* 観光案内 */
.tourism {
  margin: 5em auto;
  flex-direction: column;
}
.tourism::after {
  content: "";
  border-bottom: 1px solid;
  border-image: linear-gradient(to right, #493805 0%, #E6B422 20%, #E6B422 80%, #493805 100%) 2;
  width: 40%;
  margin: 0 auto;
  padding-top: 5em;
}
.tourism-content {
  display: flex;
}
.tourism-content p {
  margin-left: 5em;
}

/* アクセス */
iframe {
  width: 100vw;
  height: 70vh;
}
.access {
  margin-bottom: 5em;
  flex-direction: column;
}
.access-content {
  margin: 5em auto 0;
  display: flex;
  flex-direction: row;
}
.access-content p {
  margin-left: 5em;
}

/* フッター */
footer {
  width: 100%;
  height: auto;
  background-color: #E0DCCF;
  color: #000;
}
.footer-inner {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: space-evenly;
  white-space: nowrap;
}
.footer-inner ul li {
  display: flex;
  flex-direction: column;
}
.footer-left p {
  font-size: 1em;
}
.footer-center {
  margin-top: 2em;
}
.footer-right {
  margin-top: 2em;
}
.logo {
  display: inline-block;
  font-size: clamp(16px, 1.2vw, 24px);
  margin-top: 1em;
  margin-bottom: 1em;
}
.logo span {
  font-size: var(--h1-size);
}
.sns {
  font-size: 2em;
}
.copy {
  margin-top: 2em;
  text-align: center;
}

/* モバイル用メディアクエリ */
@media (max-width: 767px){
  h2 {
    margin-bottom: 1em;
    writing-mode: horizontal-tb;
  }
  .w-container {
    width: min(92%, 667px);
    height: auto;
  }
  .news,
  .stay,
  .onsen,
  .meal,
  .about,
  .tourism,
  .access {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .sp-nav {
    max-width: 100%;
    display: block;
  }
  .nav {
    background-color: #4e483ae6;
    position: fixed;
    inset: 0 -100% 0 100%;
    z-index: 100;
    transition: transform 0.3s;
  }
  .open .nav {
    transform: translate(-100%, 0);
  }
  .open body {
    position: fixed;
    overflow: hidden;
  }
  .nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
    color: #fff;
  }
  .reserve {
    top: 20%;
  }
  .news-content {
    flex-direction: column;
  }
  .stay-container {
    flex-direction: column;
  }
  .stay-content {
    max-width: 60vw;
  }
  .stay-content img {
    max-width: 60vw;
  }
  .stay-content dl dt {
    max-width: 60vw;
  }
  .stay-content dl dd {
    max-width: 60vw;
  }
  .onsen-content {
    flex-direction: column;
  }
  .onsen-content p {
    margin-bottom: 1em;
  }
  .meal img {
    max-width: 60vw;
    margin: 0 auto;
  }
  .meal-content {
    flex-direction: column;
  }
  .meal-content p {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  .about-content {
    flex-direction: column;
  }
  .about-content p {
    margin-right: 2em;
    margin-bottom: 1em;
    margin-left: 2em;
  }
  .tourism-content {
    flex-direction: column;
  }
  .tourism-content p {
    margin-right: 2em;
    margin-bottom: 1em;
    margin-left: 2em;
  }
  .access a {
    margin-top: 1em;
  }
  .access-content {
    flex-direction: column;
  }
  footer {
    text-align: center;
  }
  .footer-inner {
    flex-direction: column;
  }
}

/* PC用メディアクエリ */
@media (min-width: 768px){
  .sp-nav {
    display: none;
  }
}