@charset "UTF-8";

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

@media all and (min-width:751px) {
  .pc_only {
    display: block;
  }

  .sp_only {
    display: none !important;
  }
}

@media all and (min-width: 751px) and (max-width: 999px) {
  .u-hide-tab {
    display: none;
  }
}

@media all and (max-width:750px) {
  .pc_only {
    display: none !important;
  }

  .sp_only {
    display: block;
  }
}

html {
  scroll-behavior: smooth;
}

ol,
ul {
  list-style: none;
  padding: 0;
}

.bold {
  font-weight: bold;
}

/* リンクカラー　下線なし */
a {
  color: #c89b5b;
  text-decoration: none;
}

/* リンクホバー時 */

a:hover {
  color: #e6b96d;
}

/* 訪問済み */
/*
 a:visited {
   color: #FF8080;
   }
   */
/* 画像サイズ調整 */

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

#wrap {
  overflow: hidden;
}


/*==================================
 ■common
===================================*/


.wrapper {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 0px 10px;
}

.red {
  color: #FF8080;
}

.blue {
  color: #6584b3;
}


.small {
  font-size: 12px;
  /* 75% of the baseline */
}

.large {
  font-size: 20px;
  /* 125% of the baseline */
}

h1 {
  font-size: 16px;
  font-weight: normal;
}

.small_h1 {
  font-size: 16px;
  font-weight: normal;
}

.large_h1 {
  font-size: 28px;
  font-weight: bold;
}

.middle_h1 {
  font-size: 22px;
  font-weight: bold;
}

.large_h2 {
  font-size: 28px;
  font-weight: bold;
}

.middle_h2 {
  font-size: 22px;
  font-weight: bold;
}


.text_left {
  text-align: left;
}




.text-label {
  width: 100%;
  background: linear-gradient(#CDE9FC 0%,
      #97d1f8);
  text-align: left;
  padding: 10px 0;
  font-size: 18px;
  /*
    text-shadow: rgba(0,0,0,0.2) 1px 1px 1px;
    */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.text-label .bold {
  white-space: nowrap
}


.text-label .link {
  margin: 0 0 0 auto;
  text-align: right;
  display: flex;
  justify-content: end;
  align-items: flex-end;
  text-decoration: underline;
  padding-right: 10px;
}

.text-label .link a {
  display: flex;
  border: solid 1px #7dc6f7;
  border-radius: 4px;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .5);
  padding: 1px 10px;
  background: linear-gradient(#CDE9FC 0%,
      #97d1f8);
  text-align: center;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  text-shadow: 1px 1px 1px #7dc6f7;
}


/* 少し透明にする 下にずらす*/
.text-label .link a:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
  transform: translateY(+4px) translateX(+4px);
  box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0);
  border-color: transparent;
}


.btn a {
  display: flex;
  border: solid 1px #7dc6f7;
  border-radius: 4px;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .5);
  padding: 1px 10px;
  background: linear-gradient(#CDE9FC 0%,
      #97d1f8);
  text-align: center;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  text-shadow: 1px 1px 1px #7dc6f7;
  width: 50%;
}


/* 少し透明にする 下にずらす*/
.btn a:hover {
  opacity: 0.6;
  transition-duration: 0.3s;
  transform: translateY(+4px) translateX(+4px);
  box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0);
  border-color: transparent;
}

@media screen and (max-width:768px) {

  body {}

  .red {
    color: #FF8080;
  }

  h1 {
    font-size: 14px;
  }

  .small_h1 {
    font-size: 14px;
  }

  .large_h1 {
    font-size: 3vw;
  }

  .middle_h1 {
    font-size: 3vw;
  }


  h2 {
    font-size: 14px;
  }

  .large_h2 {
    font-size: 3vw;
  }

  .middle_h2 {
    font-size: 14px;
  }

  h3 {
    font-size: 14px;
  }

  .sp_text_left {
    text-align: left;
  }

  .sp_text_left {
    text-align: left;
  }

  .sp_small {
    font-size: 12px;
    /* 75% of the baseline */
  }



  .text-label {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .text-label .mini {
    font-size: 12px;
  }


}




.titter-box {
  display: flex;
  flex-direction: row;
  margin: 0 auto;
  border: solid 3px #1d9bf0;
  border-radius: 20px;
  padding: 5px;
  width: 640px;
}

.titter-box img {
  width: 75px;
  height: 60px;
  margin: auto 10px;
}

.titter-box span {
  padding: 15px;
  text-align: left;
}

.titter-box span {
  padding: 15px;
  text-align: left;
}


@media screen and (max-width:768px) {

  .titter-box {
    width: 80%;
    padding: 5px;
  }

  .titter-box img {
    width: 40px;
    height: 30px;
  }

  .titter-box span {
    padding: 5px;
    text-align: left;
  }


}

.column {
  background-color: #CDE9FC;
  width: 90%;
  margin: 0 auto;
  padding: 10px;
  text-align: left;
  border: solid 3px #7dc6f7;
  border-radius: 10px;
}




/*==================================
 ■mhistory　併用
===================================*/

#mhistory .wrapper {
  max-width: 1080px;

}

#mhistory .table {

  text-align: left;
  border: ridge 2px #707070;
  border-width: 2px 2px 0px 2px;
}

#mhistory .table-box {
  display: grid;
  /*グリッドの横方向のサイズ それぞれの高さ*/
  grid-template-rows: auto;
  /*グリッドの縦方向のサイズ　それぞれの横幅*/
  grid-template-columns: 6% 47% 47%;
}

#mhistory .table-label {
  width: 80%;
  min-width: 960px;
  border: ridge 2px #707070;
  border-width: 0px 0px 2px 0px;
  padding: 5px 5px;
}


#mhistory .table_time {
  display: flex;
  align-items: center;
  border: ridge 2px #707070;
  /*上右下左*/
  border-width: 0px 2px 2px 0px;
  padding: 3px;
}

#mhistory .table_content {
  display: flex;
  align-items: center;
  border: ridge 2px #707070;
  border-width: 0px 2px 2px 0px;
  padding: 3px;
}

#mhistory .table_event {

  border: ridge 2px #707070;
  border-width: 0px 0px 2px 0px;
  padding: 3px;
}

#mhistory .t_blue {
  background-color: #97d1f8;
}

#mhistory .t_green {
  background-color: #2f5d50 !important;
  color: #fff;
}

#mhistory .t_red {
  background-color: #FFE1E1;
}



#mhistory .table_event .event_text {}

#mhistory .table_event .event_link {
  text-align: right;
}


@media screen and (max-width:768px) {

  #mhistory .table {
    width: 100%;
    min-width: 320px;
  }

  #mhistory .table-box {
    display: grid;
    /*グリッドの横方向のサイズ それぞれの高さ*/
    grid-template-rows: auto;
    /*グリッドの縦方向のサイズ　それぞれの横幅*/
    grid-template-columns: 50px auto;
  }

  #mhistory .table-label {
    width: 100%;
    min-width: 320px;
  }

  #mhistory .table_time {
    grid-row: 1 / 3;
    grid-column: 1 / 2;
  }

  #mhistory .table_content {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    border-width: 0px 0px 2px 0px;
    font-size: 18px;
    font-weight: bold;
  }

  #mhistory .table_content:before {
    /* content: "■"; */
  }

  #mhistory .table_event {
    grid-row: 2 / 3;
    grid-column: 2 / 3;
    background-color: #f0f0f0;
    font-size: 14px;
  }


}


/*==================================
 ■以下　machi　追加
===================================*/

:root {
  --main-bg: #f5f0e9;
  --accent: #2f5d50;
  /* 統一アクセント（緑） */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0px !important;
  font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN", sans-serif;
  background-color: var(--main-bg);
  color: #333;
}

/* ===== ヘッダー背景 ===== */
#machi .header {
  position: relative;
  width: 100%;
  height: 400px;
  background: url('top.JPG') no-repeat center bottom / cover;
}


#machi .text01 {
  animation: slideIn01 1s ease-out;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideIn01 {
  0% {
    transform: translateX(10%);
    opacity: 0;

  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


#machi .text02 {
  animation: slideIn02 1s ease-out;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideIn02 {
  0% {
    transform: translateX(10%);
    opacity: 0;

  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}


#machi .text03 {
  animation: slideIn03 1s ease-out;
  animation-delay: 1.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideIn03 {
  0% {
    transform: translateX(-10%);
    opacity: 0;

  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {}


#machi .title-container {
  position: absolute;
  top: 30px;
  left: 50px;
}

#machi .title-shadow {
  font-size: 2.5vw;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 2px;
  position: absolute;
  top: 40px;
  left: -5px;
  z-index: 0;
}

#machi .title {
  font-size: clamp(32px, 4vw, 64px);
  font-family: 'Noto Serif JP', serif;
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 1;
}

#machi .catch {
  position: absolute;
  bottom: 40px;
  right: 50px;
  color: white;
  font-size: 24px;
  text-align: right;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  font-family: 'Noto Serif JP', serif;
  /* 美しい明朝体に変更 */
  font-weight: bold;
}

/* ===== NAV（あなたが気に入った版） ===== */
#machi .nav {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  height: 50px;
  width: 90%;
  max-width: 1000px;
  border-radius: 6px;
  background: var(--main-bg);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  overflow: hidden;
  font-size: clamp(14px, 1.5vw, 15px);
  white-space: nowrap;
}

#machi .nav a {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  color: #333;
  position: relative;
  transition: background-color .22s ease, color .22s ease, font-size .2s ease;
}

#machi .nav a:hover {
  background: rgba(47, 93, 80, .10);
  color: var(--accent);
  /*font-size: 1.05em;*/
  /* 文字だけ拡大 */
}

/* 区切り棒 ｜ */
#machi .nav a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #c7c7c7;
  opacity: .9;
  line-height: 1;
  font-weight: 400;
}

/* COMINGSOON 縦並び */
#machi .nav .comingsoon {
  display: block;
  margin-top: 2px;
  font-size: .75em;
  color: #c33;
  line-height: 1.1;
}

/* H1用メインタイトル */
.page-main-title {
  text-align: center;
  font-size: 1.8rem;
  /* H2より少し大きめ */
  font-weight: 600;
  color: #333;
  margin: 60px 0 0px;
  position: relative;
  font-family: 'Noto Serif JP', serif;
  /* 落ち着いた和風フォント */
}

/* 下に細い装飾ライン */
.page-main-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #c0a060, #e5d4a6);
  /* 金色風グラデ */
  border-radius: 2px;
}


#machi .section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  margin: 50px 0 60px;
  color: var(--accent);
  text-align: center;
}

#machi .section-title2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6em;
  margin: 50px 0 60px;
  color: var(--accent);
  padding: 20px 0;
  text-align: center;
}


#machi .section-title.title-middle {
  margin: 40px 0 60px;
}

/* ===== メイン ===== */
#machi .event-test {
  text-align: center;

}

/* ===== メイン ===== */
#machi .main {
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0 20px;
  display: flex;
  gap: 20px;
}

#machi .main.narrow {
  width: 60%;
}

/* 左カラム */
#machi .left-col {
  flex: 2;
}



/* ===== ボタン（画像） ===== */
#machi .guide-buttons {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

#machi .guide-buttons a {
  position: relative;
  display: block;
  width: min(540px, 100%);
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  /* 綺麗なホバー動作 */
  transition: transform .35s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow .35s cubic-bezier(0.25, 1, 0.5, 1);
  background-position: top center;
  /* 上寄せに */
}

#machi .guide-buttons a:hover {
  transform: translate(-3px, -4px) scale(1.02);
  /* 左3px・上4pxへ移動しつつスケール */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}



/* 下部のみ半透明グリーン＋上端だけぼかす */
#machi .guide-buttons a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 35%;
  background: rgba(47, 93, 80, 0.8);
  /* 半透明緑（少し濃いめ） */
  z-index: 1;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
  transition: background .35s ease;
  /* ホバー時にほんの少し濃く */
}

#machi .guide-buttons a:hover::before {
  background: rgba(47, 93, 80, 0.9);
}

/* 文字は少し上げて見やすく＆強いシャドウ */
#machi .guide-buttons a span {
  position: relative;
  z-index: 2;
  margin-bottom: 5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  width: 100%;
}

#machi .guide-buttons a.map-link span::after {
  content: "›";
  font-size: 1.2em;
  margin-left: 8px;
  color: white;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s ease;
  /* ← 動きの滑らかさ */
}

#machi .guide-buttons a.map-link {
  position: relative;
}

/* ホバー時に矢印を右に少し動かす */
#machi .guide-buttons a.map-link:hover span::after {
  right: 10px;
  /* 右方向に動く距離を調整 */
}




.back-to-top {
  position: fixed;
  right: 20px;
  top: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  z-index: 9999;
  transition: background 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-2px);
  color: #fff;
}



/* 右カラム（アクセス） */
#machi .access {
  flex: 1.2;
  background: var(--accent);
  color: #fff;
  padding: 20px;
  border-radius: 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: end;
  margin: 30px 0;
}

#machi .access h3 {
  margin-top: 0;
}

#machi .post-badge {
  position: absolute;
  left: -80px;
  bottom: -80px;
  width: 350px;
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35));
  z-index: 1;
  pointer-events: none;
}

/* ===== フッターリンク（追加） ===== */
#machi .footer-links {
  display: flex;
  flex-direction: column;
  /* 縦並び */
  align-items: center;
  /* 中央寄せ */
  gap: 8px;
  /* 上下の間隔 */
  margin-top: 140px;
  /* 上に大きめ余白を追加 */
  margin-bottom: 15px;
  /* フッターとの間隔 */
}



#machi .footer-links a {
  /* color: var(--accent);*/
  text-decoration: none;
  font-weight: bold;
  margin: 0 15px;
  transition: transform 0.25s ease, color 0.25s ease;
  display: inline-block;
  margin-bottom: 10px;
}

#machi .footer-links a:hover {
  transform: scale(1.08);
  /*color: #1f3f36;*/
}

/* フッター */
#machi .footer {
  margin-top: 60px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: .9em;
}

/* カテゴリ見出しの位置をボタンより少し左に */
#machi .category-title {
  text-align: center;
  /* 基本は中央寄せ */
  transform: translateX(-20px);
  /* 少し左へずらす（値は好みで調整） */
  font-weight: 700;
  color: #2f5d50;
  margin-bottom: 12px;
}

/* リンク集ページ用 ナチュラルおしゃれボタン（中央揃え＋横幅長め） */
#machi .link-list {
  text-align: center;
  /* ボタン中央寄せ */
}

#machi .link-list a {
  display: inline-block;
  width: 320px;
  /* 横幅統一（長め） */
  padding: 12px 20px;
  margin: 8px 0;
  background: linear-gradient(135deg, #ffffff, #fdf8f3);
  border: 1px solid #c89b5b;
  border-radius: 30px;
  text-decoration: none;
  color: #2f5d50;
  font-weight: 600;
  font-size: clamp(14px, 1.1vw, 16px);
  letter-spacing: 0.03em;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  white-space: normal;
  /* 折り返し許可 */
  text-align: center;
  /* 文字中央揃え */
  word-break: break-word;
  /* 長い単語も折る */
  display: inline-flex;
  /* 横並び */
  align-items: center;
  /* 縦位置を揃える */
  justify-content: center;
  gap: 8px;
}

#machi .link-list .icon {
  height: 25px;
  /* 高さを固定 */
  width: auto;
  /* 横は自動 */
  flex-shrink: 0;
  /* 文字で押しつぶされない */
}

#machi .link-list a:hover {
  background: #c89b5b;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#machi .link-list a:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* スマホ対応：幅100%に */
@media (max-width: 600px) {
  #machi .link-list a {
    width: 100%;
  }
}

#machi .twitter-box {
  text-align: center;
  margin-bottom: 1em;
}

#machi .twitter-icon {
  width: 40px;
  height: auto;
  vertical-align: middle;
}

#machi .twitter-box p {
  margin: 0.5em 0 0;
  font-size: 14px;
  color: #555;
}




@media all and (max-width:736px) {

  #machi .header {
    position: relative;
    width: 100%;
    background: url('top_sp.JPG') no-repeat right bottom / cover;
  }

  /* タイトル周りを小さく */
  #machi .title {
    font-size: 36px;
  }

  #machi .title-shadow {
    font-size: 18px;
    top: 25px;
    left: 0;
  }

  #machi .title-container {
    top: 15px;
    left: 15px;
  }

  /* キャッチコピーも少し小さくし、右下寄せから中央寄せへ */
  #machi .catch {
    font-size: 16px;
    line-height: 1.3;
    bottom: 50px;
    right: 20px;
    text-align: right;
    max-width: 90%;
  }

  /* ナビゲーションを縦並びに */
  #machi .nav {
    flex-direction: column;
    height: auto;

    bottom: -200px;
    /* PC時より上にしない */
    margin-top: 10px;
    /* 固定をやめて流れに沿わせる */
  }

  #machi .nav a {
    width: 100%;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
    padding: 10px 0;
  }

  #machi .nav a:not(:last-child)::after {
    content: none;
  }

  /* H1用メインタイトル */
  .page-main-title {
    font-size: 1.2em;
    font-weight: 600;
    margin: 250px 0 0px;
  }



  #machi .section-title {
    margin: 50px 0 30px;
  }

  #machi .section-title2 {
    margin: 50px 0 30px;
  }

  #machi .section-title.title-middle {
    margin: 20px 0 20px;
  }

  /* 不要な「左上の予約」等を非表示（該当クラスに合わせて変更） */
  .reservation,
  .reserve-button,
  .yoyaku {
    display: none !important;
  }

  /* メインカラムを縦並びにしてアクセスを下へ */
  #machi .main {
    flex-direction: column;
  }

  #machi .main.narrow {
    width: 100%;
  }


  #machi .left-col {
    order: 1;
  }

  #machi .access {
    order: 2;
    width: 100%;
    margin-top: 20px;
    align-items: flex-start;
    text-align: left;
  }

  /* ボタン画像の高さを縮める */
  #machi .guide-buttons a {
    height: 90px;
    font-size: 16px;
  }

  #machi .access {
    position: relative;
    align-items: center;
    /* 中央寄せ */
    text-align: center;
    padding-bottom: 80px;
    /* バッジ分の下余白 */
  }

  #machi .post-badge {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    /* スマホ用に小さめ */
  }


  /* スマホでも隠れない “下付きフッター”（#machi ページ限定） */
  #machi {
    min-height: 100dvh;
    /* モバイルのアドレスバー高さ変動に対応 */
    display: flex;
    flex-direction: column;
  }

  #machi .footer {
    margin-top: auto;
    /* 常に最下部へ押し下げる */
    /* 下部安全域（iOS等）に配慮するなら下記も追加可 */
    /* padding-bottom: calc(20px + env(safe-area-inset-bottom)); */
  }

  /* ===== メイン ===== */
  #machi .main {

    margin: 40px 0 0;

  }

}


/*==================================
 ■写真ページ
===================================*/


/* カテゴリ */
#machi .category {
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 15px;
}

#machi .category-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  border-left: 6px solid #2f5d50;
  padding-left: 10px;
  text-align: left;
  display: flex;
  align-items: center;
}

/* グリッド */
#machi .photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

#machi .photo-item, #machi .photo-link {
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  background: #fff;
  color: #333;
}



#machi .photo-thumb {
  width: 100%;
  height: 120px;
  overflow: hidden;
}

#machi .photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#machi .photo-thumb-top img {
  object-position: top;
}


#machi .photo-caption {
  font-size: 0.85em;
  padding: 6px;
  background: white;
  text-align: center;
}

#machi .photo-item:hover, #machi .photo-link:hover {
  transform: translateY(-4px);
  color: #333;
}

@media all and (max-width:736px) {


  /* カテゴリ */
  #machi .category {
    width: 100%;
  }

  #machi .photo-grid {
    grid-template-columns: 1fr;
    /* 1列固定 */
  }
}




/*==================================
 ■最新イベント関連
===================================*/

/* ===== 最新イベント（index） ===== */
#machi .events {
  max-width: 1000px;
  margin: 0 auto 0px;
  padding: 0 20px;
}

#machi .event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

#machi .event-item {
  display: flex;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e5e5;

}



#machi .event-item .thumb {
  flex: 0 0 160px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  width: 160px;
  height: 120px;
  border-radius: 5px;
  /* 綺麗なホバー動作 */
  transition: transform .35s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow .35s cubic-bezier(0.25, 1, 0.5, 1);
  background-position: top center;
  /* 上寄せに */
}

#machi .event-item .thumb img {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

#machi .event-item .thumb:hover {
  transform: translate(-1px, -2px) scale(1.00);
  /* 左3px・上4pxへ移動しつつスケール */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

#machi .event-item .meta {
  flex: 1;
  text-align: left;
}

#machi .event-item .tags {
  display: inline-flex;
  gap: 6px;
  margin-bottom: 6px;
}

#machi .event-item .tags span {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: #2f5d50;
  color: #fff;
  letter-spacing: .02em;
}

#machi .event-item time {
  display: block;
  font-size: 13px;
  color: #666;
  margin: 2px 0 6px;
}

#machi .event-item .new-title {
  font-size: 18px;
  margin: 0 0 6px;
  line-height: 1.5;
}

/* タイトル色（通常）: h3直下がテキストでもaでも両対応 */
#machi .event-item .new-title,
#machi .event-item .new-title a{
  color: #2f5d50;
  text-decoration: none;
  transition: color .2s ease;
}


/* ホバーでタイトル色も変える（li hover と a.event-link hover 両対応） */
#machi .event-item:hover .new-title,
#machi .event-item:hover .new-title a,
#machi .event-item .event-link:hover .new-title,
#machi .event-item .event-link:hover .new-title a{
  color: #c89b5b;
}



#machi .event-item .excerpt {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* 下部「記事一覧」ボタン */
#machi .event-archive {
  text-align: center;
  margin-top: 28px;
}

#machi .archive-btn {
  display: inline-block;
  padding: 14px 40px 14px 28px;
  /* 右に余白確保 */
  border-radius: 9999px;
  background: #2f5d50;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 0 rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  position: relative;
  /* ← これが必須 */
}

#machi .archive-btn::after {
  content: "›";
  font-size: 1.2em;
  color: #fff;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  transition: right 0.3s ease;
}

#machi .archive-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  opacity: .95;
}

#machi .archive-btn:hover::after {
  right: 12px;
  /* ← ホバーで右に動く */
}


#machi .archive-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
  opacity: .95;
}

/* スマホ */
@media (max-width: 750px) {
  #machi .event-item {
    flex-direction: column;
  }

  #machi .event-item .thumb {
    flex-basis: auto;
    width: 100%;
    height: 120px;
  }

  #machi .event-item .thumb img {
    width: 100%;
    height: 120px;
    object-position: top;
  }

  #machi .event-item .title {
    font-size: 16px;
  }

  #machi .event-item .thumb {
    flex: 0 0 120px;
    display: block;
  }

}




/* ===== イベント詳細用（追記） ===== */
/* ===== イベント詳細用（追記） ===== */
#machi .event-detail{max-width:1000px;margin:0 auto;padding:0 20px;}
#machi .event-hero img{border-radius:8px;box-shadow:0 8px 20px rgba(0,0,0,.12);}
#machi .event-body{line-height:1.9;font-size:1rem;color:#333;}
#machi .event-body h3{margin:1.6em 0 .5em;color:var(--accent);font-family:'Noto Serif JP',serif;}
#machi .event-meta{display:flex;gap:.75em;align-items:center;color:#666;font-size:.95rem;}
#machi .event-meta .tag{display:inline-block;border:1px solid #c89b5b;color:#2f5d50;padding:.15em .55em;border-radius:999px;background:linear-gradient(135deg,#fff,#fdf8f3);}
#machi .event-cta{margin:32px 0;text-align:center;}
#machi .event-cta .btn a{
  display:inline-block;padding:14px 28px;border-radius:50px;
  background:linear-gradient(135deg,#c89b5b,#e0b973);
  color:#fff;font-size:1.2rem;font-weight:700;text-decoration:none;
  box-shadow:0 4px 10px rgba(0,0,0,.2);transition:transform .2s,box-shadow .3s;
  border:none;
}
#machi .event-cta .btn a:hover{transform:translateY(-3px);box-shadow:0 6px 14px rgba(0,0,0,.3);}
#machi .article-nav{display:flex;justify-content:space-between;gap:12px;margin:40px auto 10px;max-width:1000px;padding:0 20px;}
#machi .article-nav a{display:inline-flex;align-items:center;gap:6px;}
#machi .archive-btn{display:inline-block;padding:10px 14px;border:1px solid #c89b5b;border-radius:6px;background:linear-gradient(135deg,#fff,#fdf8f3);color:#2f5d50;font-weight:600;text-decoration:none;}
#machi .archive-btn:hover{background:#c89b5b;color:#fff;}
#machi .eyecatch-caption{font-size:.9rem;color:#666;text-align:center;margin-top:.5em;}

#machi .event-detail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

#machi .event-detail .event-date {
  text-align: center;
  font-weight: 700;
  color: #666;
  margin: 6px 0 18px;
}

#machi .event-detail .event-hero {
  text-align: center;
  margin-bottom: 20px;
}

#machi .event-detail .event-hero img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  max-height: 640px;
  /* 高さを640px以内に制限 */
  object-fit: contain;
  /* 万一の縦長画像でもはみ出しにくく */
  border-radius: 6px;
}

/* イベント詳細 全体メッセージ装飾 */
#machi .event-message {
  text-align: center;
  font-size: 1em;
  line-height: 1.9;
  color: #2f5d50;
  background: #fdf8f3;
  padding: 24px 18px;
  border: 2px solid #e5d3b3;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  margin: 40px auto;
  max-width: 860px;
}

#machi .event-message strong {
  color: #b85c38;
}

#machi .event-message .main-label::before,
#machi .event-message .main-label::after {
  content: "✦";
  color: #c89b5b;
  margin: 0 10px;
  font-size: 1.4em;
}

#machi .nopadding {
  padding: 0 !important;
}

/*==================================
 ■以下追加
===================================*/



/*==================================
 ■イベントページ用
 ===================================*/
















/* ***********************************
   scrollanime 2
* *********************************** */
.bgappear,
.bgLRextend {
  opacity: 0;
}

/*1.フェードインアニメーションの指定*/
.scrollanime1,
.scrollanime2,
.scrollanime3,
.scrollanime4,
.scrollanime5 {
  opacity: 0;
}

/*一瞬表示されるのを防ぐ*/



.fadeInStart {
  animation-name: fadeInStart;
  animation-duration: 1s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
}


.scrollanime2a,
.scrollanime3a,
.scrollanime4a {
  opacity: 0;
}

.fadeInStart_a {
  animation: slideIn11 1s ease-out;
}

.fadeInStart_b {
  animation: slideIn12 1s ease-out;
}

@media all and (min-width:737px) {

  /*最初から表示＆タイミングずらす PC用　表示をしてしまう*/
  .fadeInStart2 {
    animation-name: fadeInStart;
    animation-duration: 0.0s;
    animation-delay: 0.0s;
    animation-fill-mode: forwards;
    opacity: 1;
  }
}

@media all and (max-width:736px) {

  /*最初から表示＆タイミングずらす 携帯用　ちゃんとfadeInStartを行わせる*/
  .fadeInStart2 {
    opacity: 0;
  }
}

/*最初から表示＆タイミングずらす PC用　表示をしてしまう*/
.fadeInStart3 {
  animation-name: fadeInStart;
  animation-duration: 0.0s;
  animation-delay: 0.0s;
  animation-fill-mode: forwards;
  opacity: 1;
}



@keyframes fadeInStart {
  0% {
    opacity: 0;

  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

.slideout {
  display: none;
}

/*2.上下の動きを指定*/
/*上から*/
.updown {
  transform: translateY(-20px);
}

/*下から*/
.downup {
  transform: translateY(50px);
}

.slide-right {

  transform: translateX(100px);
}

.slide-left {
  transform: translateX(-200px);
}


@media all and (max-width:736px) {

  /*　画面サイズが以下の場合ここの記述が適用される　*/
  #voice .slide-right {
    transform: translateX(-200px);
  }


}



/* ***********************************
   textanime
* *********************************** */

.textanime_base_top {
  display: flex;
  overflow: hidden;
  font-weight: bold;

}

@media screen and (max-width: 768px) {
  .textanime_base_top {
    letter-spacing: 0.4em !important;

    white-space: normal !important;
    /* 改行を許可 */
    flex-wrap: wrap !important;
    /* flexが有効ならwrapにする */
  }
}

.textanime_base_top span {
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

@media screen and (max-width: 768px) {
  .textanime_base_top span {
    transform: translate(0, 220%);
  }
}

.textanime_base {
  display: flex;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .textanime_base {}
}

.textanime_base span {
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

.textanime_base2 {
  display: flex;
  overflow: hidden;
  color: #fff;
  font-size: 24px;
}

.textanime_base2 span {
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

@media all and (max-width:736px) {

  /*　画面サイズが以下の場合ここの記述が適用される　*/
  .textanime_base {}

  .textanime_base2 {
    font-size: 18px !important;
  }

  .textanime_base3 {
    font-size: 32px !important;
  }

  .textanime_base4 {
    font-size: 18px !important;
  }

  .textanime_base5 {
    font-size: 32px !important;
  }

  .textanime_base6 {
    font-size: 18px !important;
  }
}


.textanime_base3 {
  display: flex;
  overflow: hidden;
  color: #000;
  font-size: 48px;
  font-family: 'Josefin Sans', sans-serif;
}

.textanime_base3 span {
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

.textanime_base4 {
  display: flex;
  overflow: hidden;
  color: #000;
  font-size: 24px;
}

.textanime_base4 span {
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}


.textanime_base5 {
  display: flex;
  margin-left: auto;
  margin-right: auto;
  width: 20em;
  text-align: center;
  overflow: hidden;
  color: #fff;
  font-size: 48px;
}

.textanime_base5 span {
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}

.textanime_base6 {
  display: flex;
  overflow: hidden;
  color: #fff;
  font-size: 36px;

  display: inline-block;
  border-bottom: 1px solid #fff;
  white-space: nowrap
}

.textanime_base6 span {
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
}


.textanime_sub.-visible span {
  transform: translate(0, 0);
}

.textanimefont.-visible span {
  transform: translate(0, 0);
}

.textanimefont span:nth-child(2) {
  transition-delay: 0.06s;
}

.textanimefont span:nth-child(3) {
  transition-delay: 0.12s;
}

.textanimefont span:nth-child(4) {
  transition-delay: 0.18s;
}

.textanimefont span:nth-child(5) {
  transition-delay: 0.24s;
}

.textanimefont span:nth-child(6) {
  transition-delay: 0.30s;
}

.textanimefont span:nth-child(7) {
  transition-delay: 0.36s;
}

.textanimefont span:nth-child(8) {
  transition-delay: 0.42s;
}

.textanimefont span:nth-child(9) {
  transition-delay: 0.48s;
}

.textanimefont span:nth-child(10) {
  transition-delay: 0.54s;
}

.textanimefont span:nth-child(11) {
  transition-delay: 0.60s;
}

.textanimefont span:nth-child(12) {
  transition-delay: 0.66s;
}

.textanimefont span:nth-child(13) {
  transition-delay: 0.72s;
}

.textanimefont span:nth-child(14) {
  transition-delay: 0.78s;
}

.textanimefont span:nth-child(15) {
  transition-delay: 0.84s;
}

.textanimefont span:nth-child(16) {
  transition-delay: 0.90s;
}

.textanimefont span:nth-child(17) {
  transition-delay: 0.96s;
}

.textanimefont span:nth-child(18) {
  transition-delay: 1.02s;
}

.textanimefont span:nth-child(19) {
  transition-delay: 1.08s;
}

.textanimefont span:nth-child(20) {
  transition-delay: 1.14s;
}

.ended-note {
  margin-top: 6px;
  font-size: 0.75em;
  color: #c40000; /* 控えめな赤 */
}



/* navボタンを「ボタンらしく」 */
#machi .nav a {
  position: relative;
  padding-right: 28px; /* 矢印分の余白 */
}

/* 右端の矢印 */
#machi .nav a::before {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: var(--accent);
  opacity: 0.7;
  transition: right 0.25s ease, opacity 0.25s ease;
}


#machi .nav a:hover::before {
  right: 8px;      /* 少し右へ */
  opacity: 1;
}


#machi .nav a {
  transition:
    background-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

#machi .nav a:hover {
  background: linear-gradient(
    135deg,
    rgba(47,93,80,0.08),
    rgba(47,93,80,0.15)
  );
  box-shadow: inset 0 -3px 0 rgba(47,93,80,0.35);
  transform: translateY(-1px);
}

@media (max-width: 736px) {
  #machi .nav a::before {
    display: none;
  }
}
/* 最新イベント情報：サムネ右に矢印を表示 */
#machi .event-item .thumb{
  position: relative;     /* ← 擬似要素の基準 */
  display: block;
  overflow: hidden;       /* 矢印や効果がはみ出すのを防ぐ */
}

/* 右下に矢印（常時表示） */
#machi .event-item .thumb::after{
  content: "›";
  position: absolute;
  right: 12px;
  bottom: 8px;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
  opacity: .85;
  transform: translateX(0);
  transition: transform .25s ease, opacity .25s ease;
  pointer-events: none;   /* クリック邪魔しない */
}

/* ホバーで矢印がスッと動く */
#machi .event-item .thumb:hover::after{
  transform: translateX(6px);
  opacity: 1;
}

#machi .event-item .event-link{
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* カード全体ホバー */
#machi .event-item:hover .thumb img{
  transform: scale(1.02);
  filter: brightness(1.05);
}

#machi .event-item:hover .thumb::after{
  transform: translateX(6px);
  opacity: 1;
}

/* 最新イベント：カード全体をリンクに */
#machi .event-item .event-link{
  display: flex;            /* いまの .event-item の flex をここへ移す */
  gap: 18px;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

/* いま .event-item に付いてる見た目を維持 */
#machi .event-item{
  padding-bottom: 22px;
  border-bottom: 1px solid #e5e5e5;
}

/* thumb は a から span になるので、既存CSSをそのまま活かす */
#machi .event-item .thumb{
  cursor: pointer;
}

/* ホバーは「どこでも」発動（カード全体） */
#machi .event-item:hover .thumb{
  transform: translate(-1px, -2px) scale(1.00);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

/* タイトル：通常時（前の色に戻す） */
#machi .event-item .new-title {
  color: #2f5d50;   /* ← 以前使っていた濃い緑 */
  transition: color .2s ease;
}

/* ホバー時（前と同じ色変化） */
#machi .event-item:hover .new-title {
  color: #c89b5b;   /* ← ホバー時のアクセント色 */
}

/* event-item：通常 */
#machi .event-item {
  background: transparent;
  border-radius: 8px;
  transition: background-color .2s ease;
}

/* ホバー時：うっすら背景 */
#machi .event-item:hover {
  background: rgba(47, 93, 80, 0.06); /* ごく薄い緑 */
}


