html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "M PLUS 1p", sans-serif;
  background-color: #f9f6f1;
  color: #333;
}

a {
  text-decoration: none;
  color: #000;
  cursor: pointer;
}
/* header */
header {
  position: relative;
  background: linear-gradient(90deg, rgb(255, 255, 255) 0%, #ffffff 100%);
  height: 60px;
  color: #333;
  padding: 0 2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  font-family: "Quicksand", sans-serif;
}
header h1:hover {
  opacity: 0.6;
  transition: all 0.3s;
}

header h1 img {
  width: 40px;
  height: 40px;
  vertical-align: sub;
  margin-right: 6px;
  background-color: beige;
  border-radius: 50%;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

nav li {
  margin: 0 15px;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: normal;
  transition: 0.6s;
  font-family: "M PLUS 1p", sans-serif;
}
nav a:hover {
  color: #f7ef8a;
  transition: 0.6s;
}

.nav_menu {
  display: none;
}

.linear {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    #ae8625 0%,
    #f7ef8a 30%,
    #d2ac47 70%,
    #edc967 100%
  );
}
/* banner */
.banner {
  position: fixed;
  bottom: 70px;
  /* right: 0px; */
  right: -100px; /* ← 最初は画面外に隠す */
  width: 60px;
  height: auto;
  background-color: rgba(255, 255, 255, 0.7);
  color: #333;
  z-index: 100;
  padding: 10px 5px;
  border-radius: 12px 0 0 12px;
  border: 3px solid #ae8625;
  border-right: unset;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 2px 0 6px #444;
  transition: all 1.5s ease; /* ← スムーズに動く */
}
/* 表示用クラス（JavaScriptで付ける） */
.banner.show {
  right: 0;
}
.banner:hover {
  transform: translateY(-8px);
  transition: all 0.4s;
  background-color: rgba(255, 255, 255, 0.9);
}
.banner__image {
  width: 50px;
  height: auto;
  object-fit: cover;
  margin-bottom: 6px;
}
.banner__text {
  /*文字は縦に並べる*/
  writing-mode: vertical-rl;
  text-orientation: upright;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-weight: normal;
  color: #444;
}

/* main */
main {
  background: url(./img/bg.webp);
  background-attachment: fixed;
  background-size: cover;
}

/* hero */
.hero {
  position: relative;
  overflow: hidden;
  height: calc(100vh - 60px);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out;
  z-index: 1;
  opacity: 0;
}

.hero-bg.active {
  opacity: 1;
  z-index: 2;
}
.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.overlay-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: white;
  /* font-family: "Hannari", serif; */
  font-size: 2rem;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 3;
  font-family: "Pinyon Script", cursive;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* about */
.about {
  position: relative;
  width: 100%;
  height: 300px;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)),
    url(./img/about-bg.webp);
  border-top: 26px solid #333;
  border-bottom: 26px solid #333;
  background-size: cover;
  z-index: 0;
}
.about::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgb(0, 0, 0, 0.3);
  z-index: -1;
}
.about-wrap {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.about-text {
  color: #fff;
  text-align: left;
  text-indent: 1em;
  line-height: 32px;
  margin-bottom: 20px;
  padding: 20px;
  font-size: 18px;
  background-color: rgba(3, 3, 3, 0.3); /* 深い赤にしても和風でGood */
}
.indent::before {
  content: "　"; /* 全角スペースで字下げを表現 */
}

/* articles */
.articles {
  padding: 40px 20px;
  background-color: rgba(222, 184, 135, 0.2);
  padding-bottom: 80px;
}
.section-title {
  font-size: 36px;
  letter-spacing: 0.2em;
  font-weight: bold;
  text-align: center;
  margin: 20px auto;
  font-family: "M PLUS 1p", sans-serif;
}

.articles-wrap {
  /* display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; */
  width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

article {
  width: 300px;
  margin: 20px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

article a {
  display: block;
  height: 100%;
}
article:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  transition: 0.3s;
  opacity: 0.8;
}

article img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

article h2 {
  margin: 15px 15px 4px;
  font-size: 1rem;
  color: #444;
}
.articles-date {
  float: right;
  margin-right: 10px;
}
.article-tags {
  display: block;
  margin: 10px 15px 15px;
  clear: both;
}

.article-tags .tag {
  display: inline-block;
  background-color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 2px;
}

.article-tags .tag-1 {
  border: 1px solid brown;
  color: brown;
}
.article-tags .tag-2 {
  border: 1px solid darkgreen;
  color: darkgreen;
}
.btn-more {
  display: block;
  width: 200px;
  margin: 30px auto 0;
  padding: 10px 30px;
  background: #ae8625;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.btn-more:hover {
  opacity: 0.8;
}
/* movie */
.movie {
  position: relative;
  background-color: rgba(238, 108, 132, 0.7);
  background-image: url(./img/welcome_left.png), url(./img/welcome_right.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left -22px top 4px, right 15px top 20px;
  padding-bottom: 60px;
  padding-top: 60px;
  overflow: hidden;
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.05), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.movie .section-title {
  margin-top: 0px;
  margin-bottom: 10px;
  color: #fff;
}
.video-gallery {
  gap: 20px;
  padding: 20px;
}

.video-item {
  position: relative;
  aspect-ratio: 16 / 9; /* アスペクト比を強制 */
  overflow: hidden;
  border: 1px solid #d5a848;
  border-radius: 6px;
  background-color: #000;
}

.video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← 上下の空白をなくす */
  display: block;
}

.video-item iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slick-slide {
  padding: 0 10px;
  box-sizing: border-box;
}

/* profile */
.profile {
  background-color: rgba(222, 184, 135, 0.2);
  padding: 60px 20px;
}

.profile-wrap {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.profile-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #666;
  background-color: rgba(250, 235, 215, 0.6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.profile-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
  font-family: "Sawarabi Mincho", serif;
}

/* news */
.news {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
  /* 上下のシャドウで「浮いてる感じ」 */
  box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.05), 0 8px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.news .section-title {
  font-weight: bold;
  margin-bottom: 30px;
  color: #333;
  letter-spacing: 0.2em;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: left;
}

.news-list li {
  border-bottom: 1px solid #ddd;
  padding: 16px 0 8px;
  font-size: 15px;
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.news-list li:last-child {
  margin-bottom: 50px;
}

.news-date {
  font-size: 12px;
  color: #555;
  font-weight: bold;
  white-space: nowrap;
  width: 120px;
}

.news-text {
  color: #333;
  flex: 1;
}

.news-btn-wrap {
  margin-top: 30px;
}

.btn-news-more {
  display: inline-block;
  padding: 10px 30px;
  background-color: #f4f4f4;
  color: #333;
  border: 1px solid #d8aa4d;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-news-more:hover {
  background-color: #e8e8e8;
  color: #000;
}

/* 戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 20px; /* バナーより少し上 */
  right: 16px;
  width: 40px;
  height: 40px;
  background-color: rgba(178, 34, 34, 0.9);
  color: #fff;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #a10000;
  cursor: pointer;
}

footer {
  max-height: 50px;
  background: linear-gradient(90deg, #8b0000 0%, #b22222 100%);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

/* 問い合わせフォーム */
.contact {
  background-color: rgba(222, 184, 135, 0.2);
  padding: 60px 20px 100px;
}

.contact-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 8px;
  font-family: "Sawarabi Mincho", serif;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: "M PLUS 1p", sans-serif;
}

.btn-submit {
  display: block;
  width: 200px;
  margin: 30px auto 0;
  padding: 10px 30px;
  background: #ae8625;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0px 6px 0px #795d1b;
  border: unset;
  box-sizing: content-box;
  transition: 0.2s;
}

.btn-submit-back {
  margin-top: 20px;
  background-color: rgb(106, 104, 104);
  box-shadow: 0px 6px 0px #444;
}

.btn-submit:hover {
  transform: translateY(6px);
  box-shadow: 0px 0px 0px #ae8625;
  transition: 0.4s;
  opacity: 0.8;
}

/* SNS共有ボタン */
.share {
  text-align: center;
  margin: 0 auto;
  background-color: #fdf7f0;
  padding-bottom: 120px;
  padding-top: 120px;
}
.share-title {
  font-family: "Sawarabi Mincho", serif;
  font-size: 1.1rem;
  margin: 0;
  margin-bottom: 16px;
}
.share-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.icon {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
}
.icon.x {
  background-image: url("./img/img_x.png");
  background-color: #000;
}
.icon.fb {
  background-image: url("./img/img_facebook.png");
  background-color: #1877f2;
}
.icon.line {
  background-image: url("./img/img_line.png");
  background-color: #06c755;
}

/* 戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 20px; /* バナーより少し上 */
  right: 16px;
  width: 40px;
  height: 40px;
  background-color: #ae8625;
  color: #fff;
  font-size: 20px;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #d2ac47;
  cursor: pointer;
  transition: all 0.3s;
}

footer {
  background: linear-gradient(90deg, #000 0%, #333 40%, #000 100%);
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}
/* -------------- モーダル -------------- */
/* モーダル背景 */
.modal-container {
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-container.active {
  visibility: visible;
  opacity: 1;
}

/* モーダルボディ */
.modal-body {
  position: relative;
  background: white;
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
  max-width: 1000px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.modal-container.active .modal-body {
  transform: scale(1);
  opacity: 1;
}

/* モーダルのコンテンツ */
.modal-content {
  width: 100%;
  text-align: left;
}

/* flexbox */
.modal-flex {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

/* 画像 */
#modal-img {
  width: 48%;
  max-height: 300px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 8px;
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* 情報のテーブル */
.modal-info {
  width: 48%;
  border-collapse: collapse;
  margin-top: 15px;
  box-shadow: none;
}

.modal-info tr {
  border-bottom: 1px solid #ccc;
}

.modal-info td {
  padding: 8px;
  border: none;
  font-size: 18px;
  width: 80%;
  vertical-align: baseline;
}

.modal-info td:nth-child(1) {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}

/* メニュー名 */
#modal-title {
  font-size: 18px;
  font-weight: bold;
  margin-top: 40px;
  text-align: center;
}

/* 説明文 */
#modal-description {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.link-blue {
  color: #007bff;
}

.link-blue:hover {
  color: #0056b3;
  text-decoration: underline;
}
#inquiry .thanks {
  height: calc(100vh - 300px);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
