@charset "UTF-8";
/* ============================
   共通・基本設定
============================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Zen Maru Gothic", sans-serif;
  color: #333;
  line-height: 1.8;
  background-color: #fff9f9;
}

a {
  color: inherit;
  text-decoration: none;
}

/* main-comment,recruit,access,stay,footer-main */
.container {
  width: 80%;
  margin: 0 auto;
}

/* recruit,access,stay */
.section {
  padding: 80px 0;
}

/* 募集案内,アクセス,宿泊案内 */
.section-title {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 0.2em;
  margin: 0 0 48px;
}

/* アクセスのテキスト */
.section-title--left {
  text-align: left;
  margin-bottom: 40px;
}

/* すべて見る */
.btn-link {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #c75a3a;
}

.btn-link::after {
  content: "＞";
  margin-left: 4px;
  font-size: 12px;
}

.title-small {
  font-size: 0.7em;
}

.shadow-text {
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.6);
}

/* ============================
   MAIN（メインビジュアル）
============================ */

.main {
  position: relative;
  /* main-comment、main-navの基準 */
  margin-bottom: 160px;
}

.main-image img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  object-position: center;
}

.red-line-main {
  position: absolute;
  top: 720px;
  z-index: 10;
  width: 100%;
  height: 160px;
  background-image: url(../img/red-line.png);
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(190deg);
}

.main-comment {
  position: absolute;
  top: 12%;
  left: 8%;
  width: 440px;
  padding: 10px 20px 20px;
  border-radius: 8px;
  background-color: rgba(255, 245, 238, 0.5);
}

.main-comment p {
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 32px;
  line-height: 1.3;
}

/* ヘッダー下のナビゲーション帯 */
.main-nav {
  position: absolute;
  right: 0;
  bottom: 55px;
  width: 51%;
  height: 120px;
  border-radius: 8px 0 0 8px;
  background-color: rgba(128, 128, 0, 0.9);
}

.main-nav-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 12px 36px;
}

.site-title {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-align: center;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0;
  list-style: none;
  font-size: 18px;
  letter-spacing: 0.12em;
}

.main-nav a:hover,
.footer-nav a:hover {
  opacity: 0.7;
}

/* スクロール後の固定ヘッダー状態 */
.main-nav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  border-radius: 0;
  padding: 8px 0;
  background-color: rgb(128, 128, 0);
}

.main-nav.fixed .main-nav-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-left: 40px;
  padding-right: 40px;
}

.main-nav.fixed ul {
  gap: 20px;
  font-size: 18px;
}

/* ============================
   INTRO（旅館紹介文）
============================ */

.intro {
  position: absolute;
  top: 740px;
  left: 0;
  z-index: 10;
  width: 51%;
  padding: 0;
  /* ※指定はしていないが、box構造を意識しやすくするためコメントだけ意識 */
  background-color: rgba(255, 245, 238, 0.9);
  border-radius: 0 8px 8px 0;
}

.intro-text {
  padding: 16px 40px 16px 60px;
  font-size: 20px;
  font-weight: 300;
}

/* ============================
   RECRUIT（募集案内）
============================ */

#recruit {
  position: relative;
  z-index: 0;
  width: 100%;
  background-image: url("../img/bg-1.png");
  background-size: cover;
  /* margin-bottom: 80px; */
}

/* ============================
   レイアウト（グリッド）
============================ */

.recruit-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  /* 2列グリッド */
}

/* recruit-inner の4番目（右下の写真）だけ右寄せ */
.recruit-inner .recruit-item:nth-child(4) {
  justify-self: end;
  /* グリッド内で右寄せ */
}

/* ============================
   装飾（手書きライン）
============================ */

.green-line-right,
.green-line-left {
  position: absolute;
  z-index: -1;
  width: 835px;
  height: 85px;
  background-image: url(../img/green-line.png);
  background-repeat: no-repeat;
}

/* 個別の位置指定はそのままでOK */
.green-line-right {
  top: 120px;
  right: 0;
  /* transform: rotate(-5deg); */
}

.green-line-left {
  bottom: 150px;
  left: 0;
  transform: rotate(-10deg);
}

/* ============================
   写真カード
============================ */

.recruit-photo img {
  display: block;
  width: 100%;
  max-width: 510px;
  height: 352px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
  object-fit: cover;
}

/* ============================
   テキストボックス
============================ */

.recruit-text-box {
  z-index: 20;
  width: 100%;
  height: auto;
  background-color: rgba(255, 245, 238, 0.9);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
  font-size: 20px;
}

.recruit-text-title {
  padding: 16px 0;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.recruit-text-box ul {
  width: fit-content;
  margin: 8px auto 24px;
  list-style: none;
  text-align: left;
  font-size: 18px;
  line-height: 1.3;

  /* 全体を中央寄せ */
}

.recruit-text-box li {
  margin-bottom: 4px;
}

/* ============================
   開閉（アコーディオン）部分
============================ */

/* 開閉する部分（最初は閉じておく） */
.recruit-more {
  display: none;
  overflow: hidden;
}

.recruit-more ul {
  font-size: 16px;
  font-weight: 300;
}

ul.recruit-more-list {
  width: 80%;
}

.recruit-more li.space {
  padding-bottom: 1em;
}

/* リスト全体のインデント設定 */
ul.more-list {
  margin-left: 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  list-style: none;

  /* 左マージンで字下げを実現 */
  /* 箇条書きの黒点や数字を非表示にする（見た目に応じて調整） */
  /* 上下に少しスペースを入れることで、親liとの区切りを明確にする */
}

/* ============================
   リンク類
============================ */

/* 「すべて見る」リンクを中央寄せにする */
.recruit-link-center {
  margin-top: 8px;
  text-align: center;
  font-size: 18px;
}

.recruit-apply {
  margin-top: 80px;
  text-align: right;
  font-size: 20px;
}

.recruit-apply a {
  color: #c75a3a;
}

/* ============================
   ACCESS（アクセス）
============================ */

.section.access {
  position: relative;
  z-index: 0;
}

/* ============================
   レイアウト
============================ */

.access-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 80px;
}

/* ============================
   地図画像のカード
============================ */

.access-map img {
  z-index: 20;
  display: block;
  width: 500px;
  height: 370px;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
}

/* ============================
   テキスト
============================ */

.access-text {
  font-size: 20px;
}

.access-text p {
  margin: 0 0 6px;
}

/* ============================
   リンク類
============================ */

/* 「お問い合わせはこちら」 */
.access-contact-link {
  margin-top: 20px;
  text-align: right;
  font-size: 18px;
}

.access-contact-link a {
  color: #c75a3a;
}

/* ============================
   装飾（手書きライン）
============================ */

.red-line-access {
  position: absolute;
  top: 350px;
  z-index: -1;
  width: 100%;
  height: 160px;
  background-image: url(../img/red-line.png);
  background-repeat: no-repeat;
  background-position: center;
}

/* ============================
   STAY（宿泊案内）
============================ */

#stay {
  width: 100%;
  background-image: url("../img/bg-1.png");
  background-size: cover;
}

/* ============================
   スライドショー枠
============================ */

/* 見える窓部分 */
.slideshow {
  width: 100%;
  margin: 40px auto 80px;
  overflow: hidden;
}

/* 写真を横一列に並べて、その列ごと流す */
.stay-photos-top {
  display: flex;
  gap: 40px;
  /* ここでずっと一定の速さで流す */
  animation: stay-slide 30s linear infinite;
}

/* ============================
   写真カード
============================ */

.stay-photo {
  flex: 0 0 384px;
  /* ← 画像の幅は 384px で固定 */
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
}

/* 画像 */
.stay-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================
   リンク類
============================ */

/* 宿泊予約リンク */
.stay-reserve-link {
  margin-top: 40px;
  text-align: right;
  font-size: 20px;
}

.stay-reserve-link a {
  color: #c75a3a;
}

/* ============================
   アニメーション
============================ */

/* ★ずっと同じ速さで左に流すアニメーション */
@keyframes stay-slide {
  from {
    transform: translateX(0);
  }

  to {
    /* 4枚ぶん + gapぶんだけ左に流す */
    transform: translateX(calc(-1 * (384px + 40px) * 4));
  }
}

/* ============================
   FOOTER（フッター）
============================ */

.footer-main {
  position: relative;
  z-index: 0;
  margin-top: 80px;
  padding: 24px 0;
  background-color: #808000;
}

/* ============================
   フッター内部レイアウト
============================ */

.footer-inner {
  z-index: 20;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 16px;
}

/* ============================
   ロゴ
============================ */

.footer-logo {
  margin-bottom: 6px;
  font-family: "Noto Serif JP", serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* ============================
   フッターナビ
============================ */

.footer-nav ul {
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 20px;
  letter-spacing: 0.15em;
}

.footer-nav a {
  color: #333;
}

/* ============================
   コピーライト
============================ */

.footer-bottom {
  margin-top: 32px;
  color: #333;
  text-align: center;
  font-size: 11px;
}

/* ============================
   装飾（手書きライン）
============================ */

.red-line-footer {
  position: absolute;
  top: -200px;
  z-index: 10;
  width: 100%;
  height: 160px;
  background-image: url(../img/red-line.png);
  background-repeat: no-repeat;
  background-position: center;
  transform: scaleX(-1) rotate(10deg);
  /* ★上下ひっくり返す */
}

/* ============================
   レスポンシブ（簡易）
============================ */

/* =====================================
   タブレットサイズ（〜1024px）
===================================== */
@media (max-width: 1024px) {

  /* 全体の横幅を少し広げる */
  .container {
    width: 90%;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  /* =========================
     MAIN（メインビジュアル）
  ========================== */
  .main-image img {
    height: 640px;
  }

  .main-comment {
    top: 10%;
    left: 6%;
    width: 40%;
  }

  .main-comment p {
    font-size: 26px;
  }

  /* ナビ帯を少し広げて詰める */
  .main-nav {
    width: 50%;
    height: 110px;
  }

  .main-nav-inner {
    padding: 10px 24px;
  }

  .main-nav ul {
    gap: 16px;
    font-size: 16px;
  }

  .main-nav.fixed {
    height: 70px;
    padding: 0 20px;
  }

  .main-nav.fixed .site-title {
    font-size: 24px;
  }

  .main-nav.fixed ul {
    gap: 16px;
    font-size: 15px;
  }

  .red-line-main {
    top: 600px;
  }

  /* =========================
     INTRO（旅館紹介文）
  ========================== */
  .intro {
    top: 550px;
    width: 53%;
  }

  .intro-text {
    font-size: 18px;
    padding: 16px 32px 16px 40px;
  }

  /* =========================
     RECRUIT（募集案内）
  ========================== */

  /* 募集案内：左右2カラムはそのままでもOKだが、少し詰める */
  .recruit-inner {
    gap: 32px;
  }

  .recruit-text-box {
    font-size: 18px;
  }

  .recruit-text-box ul {
    font-size: 16px;
  }

  .green-line-right {
    top: 140px;
  }

  /* =========================
     ACCESS（アクセス）
  ========================== */
  .access-inner {
    padding: 0 40px;
  }

  .access-map img {
    width: 100%;
    height: 300px;
  }

  .access-text {
    font-size: 16px;
    margin-top: 0;
  }

  .red-line-access {
    top: 320px;
    transform: rotate(10deg);
  }

  /* =========================
     STAY（宿泊案内）
  ========================== */
  /* スライドショー（少しだけ余白を小さく） */
  .stay-photos-top {
    gap: 32px;
  }

  .stay-photo {
    flex: 0 0 360px;
    height: 300px;
  }

  /* =========================
     FOOTER（フッター）
  ========================== */
  .footer-logo {
    font-size: 40px;
  }

  .footer-nav ul {
    font-size: 18px;
    gap: 16px;
  }
}

/* =====================================
   スマホサイズ（〜768px）
===================================== */
@media (max-width: 768px) {
  body {
    padding-top: 100px;
    /* ヘッダーの高さ分 */
  }

  .container {
    width: 92%;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 24px;
    letter-spacing: 0.15em;
    margin-bottom: 32px;
  }

  /* =========================
     MAIN（メインビジュアル）
  ========================== */

  /* 画像の高さを小さめに */
  .main-image img {
    height: 520px;
  }

  /* コメントは小さくして左上に */
  .main-comment {
    top: 16%;
    left: 8%;
    width: 60%;
    padding: 8px 16px 16px;
  }

  .main-comment p {
    font-size: 20px;
    line-height: 1.4;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    border-radius: 0;
    z-index: 9999;
    background-color: rgb(128, 128, 0);
  }

  .main-nav-inner {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }

  .site-title {
    font-size: 32px;
    margin: 0;
  }

  .main-nav ul {
    gap: 12px;
    font-size: 14px;
  }

  .main-nav.fixed .main-nav-inner {
    flex-direction: column;
    gap: 6px;
  }

  .main-nav.fixed .site-title {
    font-size: 20px;
  }

  .main-nav.fixed ul {
    gap: 12px;
    font-size: 14px;
  }

  /* 赤い手書きラインは下の要素と被りやすいのでスマホでは非表示 */
  .red-line-main {
    display: none;
  }

  /* =========================
     INTRO（旅館紹介文）
  ========================== */

  /* 絶対配置だと崩れやすいのでスマホでは通常のブロック表示に */
  .intro {
    position: static;
    width: 100%;
    margin-top: 16px;
    border-radius: 0;
  }

  .intro-text {
    font-size: 16px;
    padding: 16px 20px;
  }

  /* =========================
     RECRUIT（募集案内）
  ========================== */

  #recruit {
    margin-bottom: 40px;
  }

  /* 2カラム → 1カラムに */
  .recruit-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* 4番目だけ右寄せ、はスマホでは解除してOK */
  .recruit-inner .recruit-item:nth-child(4) {
    justify-self: stretch;
  }

  .recruit-photo img {
    max-width: 100%;
    height: auto;
  }

  .recruit-text-box {
    font-size: 16px;
  }

  .recruit-text-box ul {
    width: 90%;
    font-size: 15px;
  }

  ul.recruit-more-list {
    width: 90%;
  }

  .recruit-more ul {
    font-size: 14px;
  }

  .recruit-link-center {
    font-size: 16px;
  }

  .recruit-apply {
    font-size: 16px;
    margin-top: 40px;
  }

  /* 緑の手書きラインははみ出しやすいので非表示に */
  .green-line-right,
  .green-line-left {
    display: none;
  }

  /* =========================
     ACCESS（アクセス）
  ========================== */

  .access-inner {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 24px;
  }

  .access-map img {
    display: block;
    margin: 0 auto;
    width: 80%;
    height: auto;
  }

  .access-text {
    font-size: 16px;
  }

  .section-title--left {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .access-contact-link {
    font-size: 16px;
    text-align: right;
  }

  .red-line-access {
    display: none;
  }

  /* =========================
     STAY（宿泊案内）
  ========================== */

  .slideshow {
    margin: 24px auto 40px;
  }

  .stay-photos-top {
    gap: 24px;
  }

  /* 画像のカードを少し小さめに */
  .stay-photo {
    flex: 0 0 320px;
    height: 260px;
  }

  @keyframes stay-slide-sp {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(calc(-1 * (320px + 24px) * 4));
    }
  }

  .stay-reserve-link {
    font-size: 16px;
    margin-top: 24px;
  }

  /* =========================
     FOOTER（フッター）
  ========================== */

  .footer-main {
    margin-top: 40px;
    padding-top: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    font-size: 14px;
  }


  .footer-logo {
    font-size: 32px;
    margin-bottom: 4px;
  }

  .footer-nav ul {
    font-size: 14px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .footer-bottom {
    font-size: 10px;
  }

  .red-line-footer {
    display: none;
  }
}