/* 和風ベース設定 */
body {
  /*background-color: #fdfaf5;*/
  background-image: url("images/washi-texture4_2.jpg");
  background-repeat: repeat, repeat;
  background-size: 400px auto, 300px auto;
  background-blend-mode: lighten;
  font-family: 'Sawarabi Mincho', serif;
  color: #3c2f2f;
  margin: 0;
  padding: 0; /* ← 余白はmain要素で設定するのでここは0 */
  line-height: 1.8;
}

a {
  color: #7b1e1e;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #cbb28d;
  text-decoration: underline;
}

/* ヘッダー（画面いっぱい） */
header {
  background-image: url("images/washi-texture3_2.jpg");
  background-repeat: repeat, repeat;
  background-size: 400px auto, 300px auto;
  background-blend-mode: lighten;
  color: #fff;
  padding: 1em 0;
  text-align: center;
  border-bottom: 4px solid #d4af37;
}

header h1{
  color: #fff;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.1em;
  margin-top: 0; /* 上余白をなくす */
}
header a h1, header a:visited h1 {
  text-decoration: none;
}
.subtitle {
  text-align: center;
  font-size: 1.0em;
  color: #FFF;
  margin:  0;
  font-family: 'Sawarabi Mincho', 'Shippori Mincho', serif;
  letter-spacing: 0.08em;
}

/* ナビゲーション */
nav {
  text-align: center;
  margin-top: 0.5em;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 1em;
  font-weight: 400;
}

nav a:hover {
  text-decoration: underline;
}

/* 見出し */
h1, h2, h3 {
  font-family: 'Sawarabi Mincho', serif;
  color: #7b1e1e;
}

h3 {
  border-bottom: 2px solid #cbb28d;
  padding-bottom: 0.3em;
  margin-bottom: 1em;
  padding-top: 1.5em; /* 追加・調整 */
}

h4 {
  font-family: 'Sawarabi Mincho', serif;
  color: #FFF;
  margin-top: 1em;
  margin-bottom: 0.5em;
  font-weight: bold;
  background: #7b1e1e; 
  padding: 0.4em ; /* 0.8emの余白 */
}

/*スライドショー*/
.slideshow-container {
  position: relative;
  width: 100%;
  max-width: 948px;
  margin: 0 auto;
  height: 500px;
  box-sizing: border-box;
  border: none;
  box-shadow: none;
  overflow: hidden;
  /* mainの幅に合わせる */
}

.slide {
  position: absolute;
  inset: 0; /* ←追加（上下左右0で親にぴったり） */
  opacity: 0;
  transition: opacity 1s;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  max-width:948px;
}

.slideshow-container .slide img {
  filter: grayscale(100%);
  transition: transform 0.5s;
}

    .active {
      opacity: 1;
      z-index: 1;
    }

/* メインコンテンツ（ここに左右余白を追加） */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em 1.5em;
  background: #fbf2e9;
}

.main-banner {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 2em auto;
  border: none;
  background: none;
  padding: 0;
}

/* 画像装飾 */
img {
  max-width: 100%;
  border: 1px solid #cbb28d;
  padding: 4px;
  background-color: #fff;
}

/* フッター（画面いっぱい） */
footer {
  background-color: #9e1c1c;
  color: #fff;
  text-align: center;
  padding: 1em 0;
  font-size: 0.9em;
}

/* カラムレイアウト */
.three-column {
  display: flex;
  gap: 2em;
  margin: 2em 0;
}
.three-column .column {
  flex: 1;
  text-align: center;
}
.three-column .column img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.three-columns {
  display: flex;
  gap: 2em;
  margin: 2em 0;
}
.three-columns .column {
  flex: 1;
  text-align: center;
}
.three-columns .column img {
  width: 100%;
  max-width: 280px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin: 0 auto;
  display: block;
}

.two-columns {
  display: flex;
  gap: 2em;
  justify-content: center;
  margin: 2em 0;
  flex-wrap: wrap;
}
.two-columns .column {
  flex: 1 1 300px;
  max-width: 500px;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  padding: 1.5em;
  box-sizing: border-box;
  text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.two-columns .column h4 {
  margin-top: 1em;
  margin-bottom: 0.5em;
  color: #7b1e1e;
  font-family: 'Sawarabi Mincho', serif;
  background: #f7e9d0;
  padding: 0.4em 0.8em;
  border-radius: 6px;
}
.two-columns .column p {
  margin-top: 0;
  margin-bottom: 1em;
  font-size: 1em;
}
.two-columns .column img {
  float: right;
  margin-left: 1em;
  margin-bottom: 0.5em;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* ボタン */

.contact-btn {
  display: inline-block;
  margin-top: 0.8em;
  padding: 0.8em 2em;
  background: #7b1e1e;
  color: #fff;
  font-size: 1.1em;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s;
}
.contact-btn:hover {
  background: #b22222; /* ホバー時は赤系に */
  transform: translateY(-2px);
}

/* お知らせボックス */
.info-box {
  background: rgba(255,255,255,0.85);
  border: 2px solid #cbb28d;
  border-radius: 12px;
  padding: 0 1.5em;
  margin:  0 auto; /* 上下余白をなくす */
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

/* Googleカレンダー埋め込みレスポンシブ対応 */
.calendar-responsive {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 4/3;
  position: relative;
}

.calendar-responsive iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}


/* サイドメニュー */
.side-menu {
  background: #f7e9d0;
  border-radius: 10px 0 0 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 1em 1em 1em 1.5em;
  font-family: 'Sawarabi Mincho', serif;
  text-align: left; /* 左揃え */
}
.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.side-menu li {
  border-bottom: 1px solid #e0d4b8;
  padding: 0.7em 0;
}
.side-menu li:last-child {
  border-bottom: none;
}
.side-menu a {
  color: #7b1e1e;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: color 0.2s;
  display: block;
}
.side-menu a:hover {
  color: #a82c2c;
  text-decoration: underline;
}

/* ブログ記事スタイル */
.blog-article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  margin: 2em auto;
  padding: 2em;
  max-width: 700px;
}
.blog-title {
  font-size: 1.5em;
  color: #7b1e1e;
  margin-bottom: 0.5em;
  font-family: 'Sawarabi Mincho', serif;
}
.blog-date {
  color: #a0824a;
  font-size: 0.95em;
  margin-bottom: 1em;
}
.blog-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1em;
  display: block;
}
.blog-body {
  font-size: 1.1em;
  color: #333;
  line-height: 1.7;
}
.blog-body dl {
  margin: 1em 0;
}
.blog-body dt,
.blog-body dd {
  display: block;
  margin: 0;
  padding: 0.4em 0;
  border-bottom: 1px dotted #e0d4b8;
}
.blog-body dt {
  min-width: 130px;
  font-weight: bold;
  color: #7b1e1e;
  font-family: 'Zen Old Mincho', serif;
  font-size: 1em;
  letter-spacing: 0.05em;
}
.blog-body dd {
  padding-left: 1em;
  color: #333;
}
.blog-body dl > dt:last-of-type,
.blog-body dl > dd:last-of-type {
  border-bottom: none;
}

/* SNSリンクスタイル */
.sns-links {
  margin: 1.5em 0 2em 0;
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
}
.sns-btn {
  display: inline-flex;
  align-items: center;
  background: #f7e9d0;
  color: #7b1e1e;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  padding: 0.5em 1em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: background 0.2s, color 0.2s;
}
.sns-btn:hover {
  background: #fff3e0;
  color: #a82c2c;
}
.instagram img {
  /* Instagramカラー例 */
  filter: none;
}
.x img {
  /* Xカラー例 */
  filter: grayscale(100%);
}

/* トピックスリストスタイル */
.topics-list {
  list-style: none;
  padding: 0;
  margin: 2em 0;
}
.topics-list li {
  border-bottom: 1px dotted #e0d4b8;
  padding: 0.7em 0 0.3em 0;
}
.topics-list li:last-child {
  border-bottom: none;
}
.topics-list a {
  color: #7b1e1e;
  text-decoration: none;
  font-size: 1.05em;
  font-weight: bold;
  transition: color 0.2s;
  display: inline-block;
  margin-bottom: 0.2em;
}
.topics-list a:hover {
  color: #cbb28d;
  text-decoration: underline;
}
.topics-list p {
  margin: 0 0 0.2em 0;
  font-size: 0.97em;
  color: #444;
  line-height: 1.5;
}

/* レスポンシブ対応 */
@media screen and (max-width: 900px) {
  .two-columns {
    flex-direction: column;
    gap: 1.5em;
  }
  .two-columns .column {
    max-width: 100%;
  }

  .three-columns {
    flex-direction: column;
    gap: 1em;
  }
  .three-columns .column img {
    max-width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  nav a {
    display: block;
    margin: 0.5em 0;

  }

  main {
    padding: 1em;
    margin: 1em auto;
    max-width: 100%;
    box-shadow: none;
    border: none;
  }

  img {
    width: 100%;
    height: auto;
  }

 
}
@media (max-width: 900px) {
  .three-column {
    flex-direction: column;
    gap: 1.5em;
  }
  .three-column .column {
    max-width: 100%;
  }
}
@media screen and (max-width: 900px) {

  main {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  header nav {
    display: none;
  }
  .bottom-nav {
    display: block;
    text-align: left;
    margin: 2em 0 1em 0;
    background: #fff;
    padding: 1em 0.5em;
  }
  .bottom-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .bottom-nav li {
    border-bottom: 1px solid #e0d4b8;
    padding: 0.7em 0;
  }
  .bottom-nav li:last-child {
    border-bottom: none;
  }
  .bottom-nav a {
    display: block;
    margin: 0;
    color: #7b1e1e;
    font-weight: bold;
    font-size: 1.1em;
    text-decoration: none;
    transition: color 0.2s;
  }
  .bottom-nav a:hover {
    color: #cbb28d;
    text-decoration: underline;
  }
}
@media screen and (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
}
.map-container iframe {
  width: 100%;
  height: 450px;
  max-width: 100%;
  border: 0;
  display: block;
}
@media screen and (max-width: 600px) {
  .map-container iframe {
    height: auto;
  }
}
@media screen and (max-width: 600px) {
  .sns-links {
    flex-direction: column;
    gap: 1em;
  }
}
.contents-nav {
  background: #fff;
  border: 2px solid #e0d4b8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 1em 1.5em;
  max-width: 300px;
  margin: 2em auto;
}
.contents-nav a {
  display: block;
  color: #7b1e1e;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  margin-bottom: 0.7em;
  transition: color 0.2s;
}
.contents-nav a:last-child {
  margin-bottom: 0;
}
.contents-nav a:hover {
  color: #cbb28d;
  text-decoration: underline;
}


