:root {
  --cocoon-twitter-color: #000000;
  --cocoon-mastodon-color: #6364FF;
  --cocoon-bluesky-color: #0085ff;
  --cocoon-misskey-color: #96d04a;
  --cocoon-facebook-color: #3b5998;
  --cocoon-hatebu-color: #2c6ebd;
  --cocoon-google-plus-color: #dd4b39;
  --cocoon-pocket-color: #ef4056;
  --cocoon-line-color: #00c300;
  --cocoon-linkedin-color: #0077b5;
  --cocoon-website-color: #002561;
  --cocoon-instagram-color: #405de6;
  --cocoon-pinterest-color: #bd081c;
  --cocoon-youtube-color: #cd201f;
  --cocoon-tiktok-color: #000000;
  --cocoon-note-color: #41c9b4;
  --cocoon-soundcloud-color: #ff8800;
  --cocoon-flickr-color: #111;
  --cocoon-amazon-color: #ff9900;
  --cocoon-twitch-color: #6441a4;
  --cocoon-rakuten-color: #bf0000;
  --cocoon-rakuten-room-color: #c61e79;
  --cocoon-slack-color: #e01563;
  --cocoon-github-color: #4078c0;
  --cocoon-codepen-color: #333;
  --cocoon-feedly-color: #2bb24c;
  --cocoon-rss-color: #f26522;
  --cocoon-copy-color: #333333;
  --cocoon-comment-color: #333333;
  --cocoon-red-color: #e60033;
  --cocoon-pink-color: #e95295;
  --cocoon-purple-color: #884898;
  --cocoon-deep-color: #55295b;
  --cocoon-indigo-color: #1e50a2;
  --cocoon-blue-color: #0095d9;
  --cocoon-light-blue-color: #2ca9e1;
  --cocoon-cyan-color: #00a3af;
  --cocoon-teal-color: #007b43;
  --cocoon-green-color: #3eb370;
  --cocoon-light-green-color: #8bc34a;
  --cocoon-lime-color: #c3d825;
  --cocoon-yellow-color: #ffd900;
  --cocoon-amber-color: #ffc107;
  --cocoon-orange-color: #f39800;
  --cocoon-deep-orange-color: #ea5506;
  --cocoon-brown-color: #954e2a;
  --cocoon-light-grey-color: #cccccc;
  --cocoon-grey-color: #949495;
  --cocoon-dark-grey-color: #666666;
  --cocoon-blue-gray-color: #607d8b;
  --cocoon-black-color: #333333;
  --cocoon-white-color: #ffffff;
  --cocoon-watery-blue-color: #f3fafe;
  --cocoon-watery-yellow-color: #fff7cc;
  --cocoon-watery-red-color: #fdf2f2;
  --cocoon-watery-green-color: #ebf8f4;
  --cocoon-custom-background-color: inherit;
  --cocoon-custom-text-color: inherit;
  --cocoon-custom-border-color: #ccc;
  --cocoon-default-font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --cocoon-text-color: #333;
  --cocoon-pallid-text-color: #777;
  --cocoon-x-pallid-text-color: #999;
  --cocoon-default-text-size: 18px;
  --cocoon-text-size-s: 0.8em;
  --cocoon-basic-border-color: #ccc;
  --cocoon-three-d-border-colors: #e3e3e3 #cecece #b4b4b4 #d6d6d6;
  --cocoon-middle-thickness-color: #888;
  --cocoon-thin-color: #ddd;
  --cocoon-x-thin-color: #eee;
  --cocoon-xx-thin-color: #f5f6f7;
  --cocoon-xxx-thin-color: #fafbfc;
  --cocoon-current-background-color: #eee;
  --cocoon-select-background-color: #d8eaf2;
  --cocoon-tab-label-color: #f2f2f2;
  --cocoon-tab-label-active-color: #404453;
  --cocoon-basic-border-radius: 4px;
  --cocoon-badge-border-radius: 2px;
  --cocoon-middle-border-radius: 8px;
  --cocoon-box-padding: 1em 1.5em;
  --cocoon-list-padding: min(1%, 8px) min(2%, 16px) min(1%, 8px) min(3%, 24px);
  --cocoon-list-wide-padding: min(3%, 24px) min(5%, 40px) min(3%, 24px) min(7%, 56px);
  --cocoon-box-border-color: #47585c;
  --cocoon-sns-color: var(--cocoon-text-color);
  --card-ratio: 16/9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: #3A3A3A;
}

img {
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* iOS Safari / Android Chrome */
  tap-highlight-color: rgba(0,0,0,0);        /* 標準 */
}

a img {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  tap-highlight-color: rgba(0,0,0,0);
}

img, a img {
  outline: none;
}

a, a * {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}


p, li, th, td {
  font-size: 14px;
  line-height:1.6;
}

p {
  margin-bottom: 1.5em;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  color: #3A3A3A;
}

p:last-child {
  margin-bottom: 0;
}

p.center {
  text-align:left;
}

p a {
  color: #132bb3;
}

p a:hover {
  color: #132bb3;
  text-decoration: none;
}

a img:hover {
  transition: 1.5s;
  opacity: 0.6;
}

@media screen and (min-width: 640px) {

p, li, th, td {
  font-size: 16px;
}

p.center {
  text-align:center;
}

}

.zk-r {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
}

.zk-m {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-style: normal;
}

.zk-b {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-style: normal;
}

a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  tap-highlight-color: rgba(0, 0, 0, 0);
}

td a {
  color:#3A3A3A;
}

td a:hover {
  text-decoration:none;
}

ul {
  list-style-type:none;
  padding:0;
  margin:0;
}




/* ヘッダー */

header {
  width:100%;
  height:64px;
  background-color:#1E2833;
  position:fixed;
  z-index:9998;
  top:0;
}

#site-id {
  width:100px;
  height:auto;
  position:absolute;
  top:10px;
  left:30px;
  z-index:10;
}

#site-id img {
  width:100%;
}

@media screen and (min-width: 640px) {

#site-id {
  width:160px;
  top:10px;
  left:0;
}

}


#menu {
  display:none;
}

#global-nav ul {
	width: 1060px;
	height: auto;
	background: #f5f2e8;
	margin: 3px 0 0 0 !important;
	position: absolute;
	z-index: 9999;
}

#global-nav ul li a {
    display: block;
    
    font-size: 12px;
    font-weight: bold;
    color: #756550;
    text-decoration: none;
}

#global-nav ul li:hover {
	background-color: #f5e8bf;
}

#global-nav ul li li {
	float: none;
}

#global-nav li ul {
	display: none;
}

.fixed {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 9999;
}

#head-sns {
  width:fit-content;
  height:40px;
  margin:30px auto;
}

#head-sns .facebook {
  float:left;
  margin:0 5px 0 0;
}

#head-sns .twitter {
  float:left;
  margin:0 5px 0 0;
}

#head-sns .insta {
  float:left;
  margin:0 5px 0 0;
}

#head-sns .youtube {
  float:left;
  margin:0 5px 0 0;
}

#head-sns .litlink {
  float:left;
}

#head-sns img {
  width:40px;
  height:40px;
}


#sub-menu {
  width:auto;
  height:auto;
  position:absolute;
  left:0;
  top:10px;
}

#sub-menu a {
  display:block;
  width:150px;
  padding:3px 6px;
  background:#3A3A3A;
  border-radius:100px;
  font-size:12px;
  line-height:1.6;
  font-weight:bold;
  color:#fff;
  text-align:center;
  text-decoration:none;
}

#sub-menu a:hover {
  opacity:0.6;
}

#sub-menu li {
  width:auto;
  height:auto;
  margin:0 0 5px;
}

#sub-menu li span {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #3A3A3A;
  text-align: center;
  line-height: 20px;
}

#gnavi {
  width:fit-content;
  height:auto;
  margin:0 auto;
}

#gnavi ul {
  width:fit-content;
  height:auto;
}

#gnavi ul li {
  float:left;
  width:fit-content;
  height:auto;
  padding:15px 30px;
  line-height: 1.6;
  text-align:center;
}

#gnavi ul li a {
  padding: 15px 0;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
  text-decoration:none;
}

#gnavi ul li a:hover {
  border-bottom:solid 2px #e7c45d;
}

#gnavi ul li li a:hover {
  border-bottom:none;
}

#gnavi ul li.row2 a {
  margin-top:12px;
  line-height: 16px;
}

#gnavi ul li.row2 li a {
  margin-top:0;
}

#gnavi ul li.row3 a {
  margin-top:4px;
  line-height: 16px;
}

#gnavi ul li.row3 li a {
  margin-top:0;
}

.dropmenu{
  *zoom: 1;
  list-style-type: none;
  width: 1100px;
  margin: 5px auto 30px;
  padding: 0;
}
.dropmenu:before, .dropmenu:after{
  content: "";
  display: table;
}
.dropmenu:after{
  clear: both;
}
.dropmenu li{
  position: relative;
  width: 20%;
  float: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.dropmenu li a{
  display: block;
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
}
.dropmenu li .sub-menu{
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0;
}
.dropmenu li .sub-menu li{
  float:none !important;
  width:430px !important;
  height:40px !important;
  padding:0 !important;
  line-height:40px !important;
  border-right:none !important;
}
.dropmenu li .sub-menu li a {
  height:40px !important;
  line-height:40px !important;
  background:rgb(51,51,51,0.8) !important;
  padding:0 20px !important;
  color:#fff !important;
  text-align:left !important;
}
.dropmenu li .sub-menu li a:hover {
  background:#999 !important;
  color:#fff !important;
}

.sub-menu b {
  color:#ffeb3b;
}

.sub-menu a:hover b {
  color:#e91e63;
}


    /* ハンバーガーボタン */
    .menu-toggle {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 1001;
      width: 80px;
      height: auto;
      padding: 20px;
      background-color:#1E2833;
      cursor: pointer;
      user-select: none;
    }
    
    @media screen and (min-width: 640px) {
    
    .menu-toggle {
      top: 20px;
      left: initial;
      right: 0;
    }
    
    }

    .menu-toggle .bar {
      display: block;
      width: 100%;
      height: 4px;
      margin: 6px auto;
      background-color: #fff;
      transition: all 0.3s ease;
    }

    /* メニューのスタイル */
    .side-menu {
      position: fixed;
      top: 0;
      left: -640px; /* 非表示の位置 */
      width: 100%;
      height: 100%;
      background-color: #E5E2E0;
      box-shadow: 2px 0 5px rgba(0,0,0,0.1);
      transition: left 0.3s ease;
      z-index: 1000;
      padding: 10px; /* 上部はハンバーガー分のスペース */
    }

    .side-menu.open {
      left: 0;
    }

    .side-menu ul {
      list-style: none;
    }

    .side-menu li {
      margin-bottom: 10px;
    }
    
    .side-menu a {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
      text-decoration: none;
      color: #3A3A3A;
      font-size: 16px;
    }
    .side-menu ul li ul {
      margin-top:10px !important;
    }
    
    .side-menu img {
      width:100%;
      margin:15px 0 0;
    }

    /* ハンバーガーアイコンのアニメーション */
    .menu-toggle.open .bar:nth-child(1) {
      transform: translateY(10px) rotate(45deg);
    }
    .menu-toggle.open .bar:nth-child(2) {
      opacity: 0;
    }
    .menu-toggle.open .bar:nth-child(3) {
      transform: translateY(-10px) rotate(-45deg);
    }
    
    @media screen and (min-width: 640px) {
    
    .side-menu {
      left: -450px; /* 非表示の位置 */
      width: 400px;
      padding: 10px 40px; /* 上部はハンバーガー分のスペース */
    }
    
    .side-menu li {
      margin-bottom: 20px;
    }
    
    .side-menu a {
      text-decoration: none;
      color: #3A3A3A;
      font-size: 16px;
    }
    
    }
    
    /* モーダルのオーバーレイ */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.6);
      display: none; /* 初期状態は非表示 */
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }
    /* モーダルウィンドウのスタイル */
    .modal-window {
      background: #fff;
      padding: 20px;
      border-radius: 8px;
      max-width: 90%;
      width: 320px;
      position: relative;
    }
    /* 閉じるボタン */
    .close-modal {
      position: absolute;
      top: 10px;
      right: 10px;
      font-size: 20px;
      cursor: pointer;
      border: none;
      background: none;
    }
    /* サイト内検索フォームのスタイル */
    .kwsearch form div {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .kwsearch input[type="search"] {
      padding: 8px;
      font-size: 16px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    .kwsearch input[type="submit"] {
      padding: 10px;
      font-size: 16px;
      border: none;
      background-color: #0073aa;
      color: #fff;
      border-radius: 4px;
      cursor: pointer;
    }
    .kwsearch input[type="submit"]:hover {
      background-color: #005a8d;
    }
    
@media screen and (min-width: 640px) {

    .modal-window {
      width: 400px;
    }

}

.side-menu .side-menu-link {
  width:auto;
  height:auto;
  overflow:hidden;
  padding:80px 80px 20px 20px;
}

.side-menu .side-menu-link li {
  width:auto;
  height:auto;
  overflow:hidden;
  padding:20px;
  border-bottom:solid 1px #999;
  background: url(../img/icn_link_b.png) right 10px center no-repeat;
  background-size:16px;
  margin:0;
}

.side-menu .side-menu-link li:first-child {
  border-top:solid 1px #999;
}

.side-menu .side-menu-link li li {
  border-bottom:dotted 1px #999;
}

.side-menu .side-menu-link li li:first-child {
  border-top:dotted 1px #999;
}

.side-menu .side-menu-link li a,
.side-menu .side-menu-link li span {
  display:block;
  font-size: 16px;
  color: #3A3A3A;
  text-decoration:none;
}

.side-menu .side-menu-link li a:hover {
  text-decoration:none;
}


    /* スライダー全体の幅やマージン等の調整（必要に応じて変更） */
    .slider-container {
      max-width: 1920px;
      margin: 0 auto 20px;
    }
    /* 画像サイズの調整 */
    .slider-item img {
      width: 100%;
      height: 100vh;
      object-fit: cover;
    }
    /* スライドアイテム間の余白を追加 */
    .slick-slide {
      margin: 0; /* 左右の余白 */
    }
    .slide-items2 .slick-slide {
      margin: 0 5px; /* 左右の余白 */
    }

@media screen and (min-width: 640px) {

    /* スライダー全体の幅やマージン等の調整（必要に応じて変更） */
    .slider-container {
      max-width: 1920px;
      margin: 0 auto 40px;
    }
    /* 画像サイズの調整 */
    .slider-item img {
      width: 100%;
      height: auto;
      display: block;
    }
    /* スライドアイテム間の余白を追加 */
    .slick-slide {
      margin: 0 5px; /* 左右の余白 */
    }
    /* slick-slide側のpaddingを除くため */
    .slick-slide {
      outline: none;
    }
    
}


@media screen and (min-width: 640px) {

#header {
  height:90px;
}

#header .inner {
  width:1100px;
  height:auto;
  overflow:initial;
  margin:0 auto;
  position:relative;
}

    #gnavi > ul > li {
      position: relative;
      display: inline-block;
    }

    #gnavi li a {
      display: block;
      color: #fff;
      text-decoration: none;
      padding: 15px 20px;
    }

    /* ドロップダウンメニューのスタイル */
    #gnavi li ul {
      display: none;
      padding: 0 !important;
      margin: 0;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #3A3A3A;
      width: 200px;
      z-index: 2000;
    }

    #gnavi li:hover ul {
      display: block;
    }

    #gnavi li ul li {
      display: block;
      width:100%;
      padding:10px;
      border-bottom: solid 1px #fff;
    }
    
    #gnavi li ul li:last-child {
      border-bottom: none;
    }

    #gnavi li ul li a {
      display:block;
      padding: 10px;
      background:url(../img/icn_link_w.svg) right 0 center no-repeat;
      background-size:25px;
      color: #fff;
      text-align:left;
    }

}


.head-cta {
  width:100%;
  height:auto;
  overflow:hidden;
  position:fixed;
  top:69px;
  z-index:999;
}

.head-cta ul {
  display:flex;
  justify-content:space-around;
}

.head-cta a {
  display: block;
  width: fit-content;
  height: auto;
  padding:4px 20px;
  background-color:#666;
  border-radius:100px;
  margin:0 auto;
  font-size:14px;
  font-weight:bold;
  line-height:1.2;
  color:#fff;
  text-align:center;
  text-decoration:none;
}

@media screen and (min-width: 640px) {

.head-cta {
  display:none;
}

}


footer {
  width:auto;
  height:auto;
  overflow:hidden;
  border-top:solid 1px #4b5c6e;
}

.footer-inner {
  width:auto;
  height:auto;
  overflow:hidden;
  margin:0 auto;
}

.footer-top {
  width:auto;
  height:auto;
  overflow:hidden;
  padding:20px 0;
  background-color:#1E2833;
}

.footer-bottom {
  width:auto;
  height:auto;
  overflow:hidden;
  background-color:#E5E2E0;
  padding:0 0 20px;
}

.footer-bottom ul {
  width:auto;
  height:auto;
  overflow:hidden;
  padding:30px 40px;
  border-bottom:solid 1px #999;
  margin:0 0 20px;
}

.footer-bottom li {
  width:auto;
  height:auto;
  overflow:hidden;
  padding:10px;
  border-bottom:solid 1px #999;
  text-align:center;
}

.footer-bottom li:first-child {
  border-top:solid 1px #999;
}

.footer-bottom a {
  display:block;
  font-size: 14px;
  color: #3A3A3A;
  text-decoration:none;
}

.footer-bottom a:hover {
  text-decoration:none;
}

.footer-logo {
  width: 80px;
  margin: 0 auto;
}

.footer-logo img {
  width: 100%;
}

.footer-nav {
  text-align: center;
}

.footer-nav a {
  font-size: 14px;
  color: #fff;
}

.footer-nav a:hover {
  text-decoration: none;
}

.copyright {
  font-size: 12px;
  text-align: center;
  color: #999;
}

.footer-inner .sns-wrap {
  width:30px;
  height:auto;
  overflow:hidden;
  margin:10px auto 0;
}

.footer-inner .sns-wrap img {
  width:100%;
}

@media screen and (min-width: 640px) {

footer {
  width:auto;
  height:auto;
  overflow:hidden;
}

.footer-inner {
  width:1200px;
  height:auto;
  overflow:hidden;
  margin:0 auto;
}

.footer-top {
  padding: 30px 0 20px;
}

.footer-bottom {
  padding: 30px 10px 20px;
  background-color: #E5E2E0;
}

.footer-bottom ul {
  width:auto;
  height:auto;
  overflow:hidden;
  padding:0 0 30px;
  display:flex;
  justify-content:center;
}

.footer-bottom li {
  padding:0 20px;
  border:none;
}

.footer-bottom li:first-child {
  border:none;
}

.footer-bottom a {
  font-size: 14px;
}

.footer-bottom a:hover {
  text-decoration:underline;
}

.footer-logo {
  width: 100px;
  margin: 0 auto;
}

.footer-logo img {
  width: 100%;
}

.footer-nav {
  text-align: center;
}

.footer-nav a {
  font-size: 14px;
  color: #fff;
}

.footer-nav a:hover {
  text-decoration: none;
}

.copyright {
  font-size: 12px;
}

.footer-inner .sns-wrap {
  width:40px;
}

}


/* メインビジュアル */

#mv {
  width:100%;
  height:auto;
  overflow:hidden;
  background-color:#1E2833;
  position:relative;
  margin:10px 0 0;
}

#mv .image-wrap {
  width:100%;
  height:auto;
  overflow:hidden;
  background:#1E2833;
  padding:20px 0;
  margin:0 auto;
  position:absolute;
  left:0;
  right:0;
  bottom:0;
}

#mv .image-wrap img {
  display:block;
  width:300px;
  margin:0 auto;
}

@media screen and (min-width: 640px) {

#mv {
  margin-top:0;
}

#mv .image-wrap {
  padding:40px 0;
  margin-top:-90px;
  position:relative;
}

#mv .image-wrap img {
  width:auto;
}

}


/* 宵の小町とは */

#top01 {
  width:100%;
  height:auto;
  overflow:hidden;
  padding:0 0 40px;
  background-color:#E5E2E0;
}

#top01.top01v2 {
  background-color:#1E2833;
}

#top01 p.lead,
#top03 p.lead {
  font-size:16px;
  line-height:2.0;
}

#top01.top01v2 p.lead {
  color:#fff;
}

#top01 img.bg-image {
  display:block;
  width:100%;
  height:auto;
  overflow:hidden;
}

#top01 .inner,
#top02 .inner,
#top-map .inner {
  clear: both;
  width: auto;
  height: auto;
  overflow: hidden;
  margin: 0 15px;
}

#top01 .text-box,
#top03 .text-box {
  width:100%;
  height:auto;
  overflow:hidden;
  padding:5px 0 20px;
  border-radius:10px;
  margin:0 auto;
  text-align:center;
}

#top01.top01v2 .text-box {
  padding-bottom:0;
  background-color:#1E2833;
}

#top01 .text-box p,
#top03 .text-box p,
#com02 .text-box p {
  margin:0;
}

#top01 .text-box b,
#top03 .text-box b,
#com02 .text-box b {
  font-size:18px;
}

@media screen and (min-width: 640px) {

#top01 {
  width:100%;
  height:auto;
  overflow:hidden;
  padding:0 0 60px;
}

#top01 p.lead,
#top03 p.lead {
  font-size:20px;
}

#top01 .inner,
#top02 .inner
#top-map .inner {
  width: 1200px;
  margin: 0 auto;
}

#top01 .text-box,
#top03 .text-box {
  width:700px;
  padding:20px 0 50px;
  border-radius:20px;
}

#top01 .text-box b,
#top03 .text-box b,
#com02 .text-box b {
  font-size:20px;
}

}


/* お知らせ */

#top02 {
  width:100%;
  height:auto;
  overflow:hidden;
  padding:30px 0 70px;
  background-color:#1E2833;
  margin:0;
}

#top02 h2 {
  margin:0 0 40px;
  position:relative;
  font-size:22px;
  color:#fff;
  text-align:center;
}

#top02 ul {
  width:auto;
  height:auto;
  overflow:hidden;
}

#top02 li {
  width:auto;
  margin:0 0 20px;
}

#top02 li img {
  width:100%;
  height:auto;
  overflow:hidden;
  margin:0 0 5px;
}

#top02 h3 {
  margin:0 0 0.6em;
  font-size:14px;
}

#top02 h3 a {
  color:#fff;
  text-decoration:none;
}

#top02 h3 a:hover {
  text-decoration:underline;
}

#top02 .date {
  display:block;
  font-size:12px;
  color:#fff;
}

@media screen and (min-width: 640px) {

#top02 {
  padding:40px 0 100px;
  margin:0;
}

#top02 h2 {
  margin:0 0 50px;
  font-size:28px;
}

#top02 ul {
  width:900px;
  height:auto;
  overflow:hidden;
  margin:0 auto;
}

#top02 li {
  width:auto;
}

#top02 h3 {
  font-size:16px;
}

#top02 h3 a:hover {
  text-decoration:underline;
}

#top02 .date {
  display:inline-block;
  margin:0 8px 0 0;
  font-size:14px;
}

}


.cont {
  width:auto;
  height:auto;
  overflow:hidden;
  margin:20px 10px;
}

@media screen and (min-width: 640px) {

.cont {
  width:1100px;
  margin:50px auto;
}

}


.btn-wrap {
  width: 90%;
  height: auto;
  overflow: hidden;
  margin: 15px auto;
}

.btn {
  display: block;
  width: 240px;
  height: 40px;
  border: solid 1px #999;
  color: #3A3A3A;
  margin: 0 auto;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 14px;
  line-height: 40px;
  text-align: center;
  position: relative; /* ← 追加（擬似要素の位置基準） */
  padding-right: 20px; /* ← 矢印分の余白を確保 */
}

.btn::after {
  content: "→";
  position: absolute;
  right: 10px; /* 右端からの距離 */
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #3A3A3A;
  transition: right 0.3s ease;
}

.btn.white {
  border: solid 1px #fff;
  color: #fff;
}

.btn.white::after {
  color: #fff;
}

.btn:hover {
  transition:1.5s;
  opacity:0.6;
}

@media screen and (min-width: 640px) {

.btn-wrap {
  margin: 30px auto;
}

.btn {
  width: 300px;
  height: 50px;
  transition: background-color 0.3s ease;
  font-size: 16px;
  line-height: 50px;
}

}


.sp {
  display: block;
}

.pc {
  display: none;
}

@media screen and (min-width: 640px) {

.sp {
  display: none;
}

.pc {
  display: block;
}

}


/* パンくずリスト */

.pankuzu {
  width:100%;
  background-color:#E5E2E0;
  padding:5px 15px;
  margin:0 0 20px;
}

.pankuzu ul {
  display:flex;
  justify-content:flex-start;
  gap:5px;
}

.pankuzu li {
  width:fit-content;
  font-size:12px;
}

.pankuzu li a {
  font-size:12px;
  color:#3A3A3A;
  text-decoration:none;
}

.pankuzu br {
  display:none;
}

@media screen and (min-width: 640px) {

.pankuzu {
  padding:10px 0;
  margin:0 0 30px;
}

.pankuzu ul {
  width:1100px;
  margin:0 auto;
}

.pankuzu li {
  font-size:14px;
}

.pankuzu li a {
  font-size:14px;
}

}


#sticky {
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 10px;
  background-color: rgb(255 255 255 / 80%);
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 900;
  margin: 0 auto;
}

#sticky ul {
  list-style-type: none;
  display: flex;
  justify-content: space-evenly;
  gap: 5px;
  align-items: center;
}

#sticky li a {
  display: block;
  padding: 8px 16px 8px 30px;
  background: url(../img/icn_link_b.png) left 5px center no-repeat;
  background-size: 20px;
  background-color: #cdedf8;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  color: #3A3A3A;
}

@media screen and (min-width: 640px) {

#sticky {
  display: none !important;
}

}


#pagetop {
  width: 50px;
  position: fixed;
  right: 10px;
  bottom: 0;
  z-index: 1000;
}

#pagetop img {
  width: 100%;
}

@media screen and (min-width: 640px) {

#pagetop {
  width: 84px;
  right: 30px;
  bottom: 20px;
}

}


.anc {
  padding-top: 60px;
  margin-top: -60px;
}

@media screen and (min-width: 640px) {

.anc {
  padding-top: 80px;
  margin-top: -80px;
}

}


/* アンカーリンク */

.anchor-wrap {
  width:100%;
  height:auto;
  overflow:hidden;
  padding:10px 0 20px;
  background-color:#E5E2E0;
  position:relative;
  z-index:10;
}

.anchor-wrap ul {
  width:280px;
  height:auto;
  overflow:hidden;
  margin:0 auto;
}

.anchor-wrap li {
  width:auto;
  height: 40px;
  margin:0 0 10px;
}

.anchor-wrap a {
  display: block;
  width: auto;
  height: 40px;
  background: url(../img/icn_link_b.png) right 10px center no-repeat;
  background-size:16px;
  background-color:#fff;
  border:solid 1px #000;
  border-radius:4px;
  margin:0 auto;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  font-size:14px;
  line-height:40px;
  color:#000;
  text-align:center;
  text-decoration:none;
}

@media screen and (min-width: 640px) {

.anchor-wrap {
  width:100%;
  height:auto;
  overflow:hidden;
  padding:20px 0 40px;
  background-color:#E5E2E0;
  position:relative;
  z-index:10;
}

.anchor-wrap ul {
  width:1000px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-evenly;
  margin:0 auto 15px;
}

.anchor-wrap li {
  width:300px;
  margin:0;
}

.anchor-wrap a {
  width: 300px;
  height: 40px;
  font-size:16px;
  line-height:40px;
}

.anchor-wrap a:hover {
  opacity:0.6;
}

}


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

/* ====== MV 全体 ====== */
#mv,
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* iOS Safari対策（アドレスバー考慮） */
@supports (height: 100svh) {
  #mv,
  .hero {
    height: 100svh;
  }
}

/* ====== 背景動画ラッパー ====== */
.video-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* ====== iframeの親 ====== */
.video-foreground {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  transform: translate(-50%, -50%);
}

/* ====== SCROLLインジケーター ====== */
.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.15em;
  pointer-events: none;
}

/* SCROLL文字 */
.scroll-text {
  display: block;
  font-size: 12px;
  opacity: 0.85;
}

/* ↓ 矢印 */
.scroll-arrow {
  display: block;
  font-size: 20px;
  line-height: 1;
  margin-top: 6px;
  animation: scrollArrow 1.8s infinite ease-in-out;
}

/* アニメーション */
@keyframes scrollArrow {
  0% {
    transform: translateY(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.3;
  }
}

}

@media screen and (min-width: 640px) {

.scroll-indicator {
  display: none;
}

}

/* ====== 高さが足りない場合は縦基準に切り替え ====== */
@media (max-aspect-ratio: 16/9) {
  .video-foreground {
    width: 177.78vh; /* 16:9 */
    height: 100vh;
  }

  @supports (height: 100svh) {
    .video-foreground {
      height: 100svh;
    }
  }
}

/* ====== iframe本体 ====== */
.video-foreground iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

@media screen and (min-width: 640px) {

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}

/* 背景動画ラッパー */
.video-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* iframeを幅100%・高さ100%でフィットさせる */
.video-foreground {
  position: relative;
  width: 100%; height: 100%;
}

}


/* 下層ページ */

#cont {
  width:100%;
  height:auto;
  overflow:hidden;
  padding:64px 0 40px;
}

#cont .inner {
  width:auto;
  height:auto;
  overflow:hidden;
  padding:0 15px;
  margin:0 0 40px;
}

#cont img.main {
  width:100%;
  height:auto;
  overflow:hidden;
  margin:0 0 20px;
}

#cont .concept {
  width:auto;
  height:auto;
  overflow:hidden;
  background-color:#E5E2E0;
  padding-top:30px;
}

#cont .concept .inner {
  margin:0 0 20px;
}

#cont .concept p {
  font-size:16px;
  text-align:center;
}

@media screen and (min-width: 640px) {

#cont {
  padding:90px 0 60px;
}

#cont .inner {
  width: 900px;
  padding:0;
  margin: 0 auto 60px;
}

#cont img.main {
  display:block;
  width:auto;
  height:auto;
  overflow:hidden;
  margin:0 auto 30px;
}

#cont .concept {
  padding-top:50px;
}

#cont .concept .inner {
  margin:0 auto 40px;
}

#cont .concept p {
  font-size:20px;
}

}


#cont .cont-ttl {
  width: 100%;
  height: auto;
  min-height: 640px;
  overflow: hidden;
  position: relative;
}

#cont .cont-ttl.bg-about {
  background: url("https://yoinokomachi.jp/wp-content/uploads/2025/11/ttl_about_bg_sp.jpg") no-repeat top center;
  background-size: cover;
}

#cont .cont-ttl.bg-news {
  background: url("https://yoinokomachi.jp/wp-content/uploads/2025/11/ttl_news_bg_sp.jpg") no-repeat top center;
  background-size: cover;
}

#cont .cont-ttl.bg-spot {
  background: url("https://yoinokomachi.jp/wp-content/uploads/2025/11/ttl_spot_bg_sp.jpg") no-repeat top center;
  background-size: cover;
}

#cont .cont-ttl h1 {
  width:80px;
  height:auto;
  position:absolute;
  top:25%;
  left:0;
  right:0;
  margin:0 auto;
}

#cont .cont-ttl h1 img {
  width:100%;
}

@media screen and (min-width: 640px) {

#cont .cont-ttl {
  min-height: 400px;
}

#cont .cont-ttl.bg-about {
  background: url("https://yoinokomachi.jp/wp-content/uploads/2025/11/ttl_about_bg_pc.jpg") no-repeat top center;
  background-size: cover;
}

#cont .cont-ttl.bg-news {
  background: url("https://yoinokomachi.jp/wp-content/uploads/2025/11/ttl_news_bg_pc.jpg") no-repeat top center;
  background-size: cover;
}

#cont .cont-ttl.bg-spot {
  background: url("https://yoinokomachi.jp/wp-content/uploads/2025/11/ttl_spot_bg_pc.jpg") no-repeat top center;
  background-size: cover;
}

#cont .cont-ttl h1 {
  width:100px;
  top:10%;
}

}


.video-wrap {
  width:100%;
  height:auto;
  overflow:hidden;
  background-color:#1E2833;
  padding-top:30px;
}

.video-container {
  width:100%;
  height:auto;
  overflow:hidden;
}

.video-container iframe {
  width:100%;
  height:100%;
  aspect-ratio:16 / 9;
  margin:0;
}

@media screen and (min-width: 640px) {

.video-wrap {
  padding-top:70px;
}

}


.map-wrap {
  width:100%;
  height:auto;
  overflow:hidden;
  padding-top:30px;
}

.map-wrap iframe {
  width:100%;
  height:100%;
  aspect-ratio:3 / 5;
  margin:0;
}

.map-wrap.map-16-9 iframe {
  aspect-ratio:4 / 3;
}

@media screen and (min-width: 640px) {

.map-wrap {
  padding-top:70px;
}

.map-wrap iframe {
  aspect-ratio:4 / 3;
}

.map-wrap.map-16-9 iframe {
  aspect-ratio:16 / 9;
}

}


#top03 .inner h2 {
  margin:0 0 40px;
  position:relative;
  font-size:24px;
  color:#fff;
  text-align:center;
}

#top02 .inner h2::before,
#top03 .inner h2::before,
#cont .inner h2::before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 30px;
  height: 3px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #e7c45d;
  border-radius: 10px;
}

@media screen and (min-width: 640px) {

#top03 .inner h2 {
  margin:0 0 50px;
  font-size:30px;
}

#top02 .inner h2::before,
#top03 .inner h2::before,
#cont .inner h2::before {
  width: 40px;
  height: 4px;
}

}

#cont .inner h2 {
  margin:0 0 40px;
  position:relative;
  font-size:22px;
  text-align:center;
}

@media screen and (min-width: 640px) {

#cont .inner h2 {
  margin:0 0 50px;
  font-size:28px;
}

}


#cont ul.news-list {
  width:auto;
  height:auto;
  overflow:hidden;
}

#cont ul.news-list li {
  width:auto;
  margin:0 0 20px;
}

#cont ul.news-list li img {
  width:100%;
  height:auto;
  overflow:hidden;
  margin:0 0 5px;
}

#cont ul.news-list h3 {
  margin:0 0 0.6em;
  font-size:14px;
}

#cont ul.news-list h3 a {
  color:#3A3A3A;
  text-decoration:none;
}

#cont ul.news-list h3 a:hover {
  text-decoration:underline;
}

#cont ul.news-list .date,
.third .date {
  display:block;
  margin:0 8px 0 0;
  font-size:12px;
  color:#3A3A3A;
}

.third .date {
  margin:0 0 1.5em;
}

@media screen and (min-width: 640px) {

#cont ul.news-list {
  width:900px;
  height:auto;
  overflow:hidden;
  margin:0 auto;
}

#cont ul.news-list li {
  width:auto;
}

#cont ul.news-list h3 {
  font-size:16px;
}

#cont ul.news-list h3 a:hover {
  text-decoration:underline;
}

#cont ul.news-list .date,
.third .date {
  display:inline-block;
  font-size:14px;
}

}


#cont .spot-list ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0 0 30px;
}

#cont .spot-list li {
  width: 300px;
  margin: 0 auto;
}

#cont .spot-list .image {
  padding:0;
  margin:0;
  overflow:hidden;
  line-height:0;
}

#cont .spot-list img {
  width:100%;
  height:auto;
}

#cont .spot-list img:hover {
  transition:1.5s;
  opacity:0.6;
}

#cont .spot-list h3 {
  padding:10px;
  background-color:#1E2833;
  font-size:14px;
  text-align:center;
}

#cont .spot-list h3:hover {
  transition:1.5s;
  opacity:0.6;
}

#cont .spot-list h3 a {
  display:block;
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-style: normal;
  color:#fff;
  text-decoration:none;
}

@media screen and (min-width: 640px) {

#cont .spot-list ul {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 30px;
}

#cont .spot-list li {
  width: 100%;
}

#cont .spot-list ul.top {
  width:800px;
  margin:0 auto 50px;
}

#cont .spot-list ul.bottom {
  width:100%;
}

#cont .spot-list img {
  width:100%;
}

#cont .spot-list h3 {
  padding:10px;
  font-size:16px;
  flex-grow: 1; /* h3の高さを自動でそろえるポイント */
  display: flex;
  align-items: center;
  justify-content: center;
}

}


.slider-wrap {
  max-width: 900px;
  margin: 0 auto 30px;
  position: relative;
}

.slider-for {
  position: relative;
  margin-bottom: 20px;
}

.slider-for img {
  width: 100%;
}

.slick-slide {
  transition: all 0.3s ease;
  opacity: 0.4;
}

.slick-center {
  transform: scale(1.05);
  opacity: 1;
}

/* --- 背景なし・ラインだけの矢印 --- */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

/* ホバー時：少し濃く */
.slick-prev:hover,
.slick-next:hover {
  opacity: 1;
}

/* 矢印をborderで描く：60°角度 */
.slick-prev::before,
.slick-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: translate(-50%, -50%) rotate(-135deg);
}

/* →側 */
.slick-next::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* 矢印の位置：見切れ部分の中央付近 */
.slick-prev {
  left: 2%;
}

.slick-next {
  right: 2%;
}

/* --- サムネイル --- */
.slider-thumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.slider-thumbs img {
  width: 100px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  opacity: 0.4;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-thumbs img.active {
  opacity: 1;
  border: 2px solid #333;
  transform: scale(1.05);
}


#cont.gray-bg {
  background-color: #E5E2E0;
}

#cont.third h1 {
  border-bottom: solid 3px #1E2833;
  position: relative;
  padding:0 0 0.4em;
  margin:0 0 1em;
  font-size:24px;
}

#cont.third h1:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #e7c45d;
  bottom: -3px;
  width: 30%;
}

#cont.third h1 br {
  display:none;
}

@media screen and (min-width: 640px) {

#cont.third h1 {
  font-size:30px;
}

}


#cont.third .map-wrap {
  width:100%;
  height:auto;
  overflow:hidden;
  background-color:#1E2833;
  padding-top:30px;
}

@media screen and (min-width: 640px) {

#cont.third .map-wrap {
  padding-top:70px;
}

}

#cont.third .info-wrap {
  width:100%;
  height:auto;
  overflow:hidden;
  padding-top:30px;
}

@media screen and (min-width: 640px) {

#cont.third .info-wrap {
  padding-top:70px;
}

}

.table_design05 {
  border-collapse: collapse;
  width: 100%;
}
.table_design05 th, .table_design05 td {
  padding: 1em;
}
.table_design05 th {
  color: #4d9bc1;
  font-weight: bold;
  text-align: left;
  width: 34%;
  min-width: 4em;
  position: relative;
}
.table_design05 th::after {
  content: "";
  background-color: #c1c7c6;
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
}
.table_design05 td {
  word-break: break-all;
}

@media screen and (min-width: 640px) {

.table_design05 th, .table_design05 td {
  padding: 1em 2em;
}

.table_design05 th {
  width: 20%;
}

}


#cont.third .sns-wrap {
  width:100%;
  height:auto;
  overflow:hidden;
  margin:20px 0 0;
}

#cont.third .sns-wrap ul {
  display:flex;
  justify-content:center;
  gap:10px;
}

#cont.third .sns-wrap li {
  width:45px;
}

#cont.third .sns-wrap li img {
  width:100%;
}

@media screen and (min-width: 640px) {

#cont.third .sns-wrap li {
  width:60px;
}

}


#cont.third.news img {
  display:block;
  width:100%;
  height:auto;
  margin:0 auto 1.5em;
}

@media screen and (min-width: 640px) {

#cont.third.news img {
  width:auto;
  max-width:700px;
}

}


#cont .image-wrap {
  width:auto;
}

#cont .image-wrap img {
  width:100%;
}

@media screen and (min-width: 640px) {

#cont .image-wrap {
  width:900px;
}

}


.wp-caption {
  display:block;
  width:fit-content;
  margin:0 auto 1.5em;
}

.wp-caption-text {
  margin:-0.8em auto 1.5em;
  font-size:14px;
  text-align:center;
}


.back-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    margin: 0 auto;
    padding: .9em 2em;
    border-top: 1px solid #3a3a3a;
    border-right: none;
    border-bottom: 1px solid #3a3a3a;
    border-left: none;
    background-color: #fff;
    color: #3a3a3a;
    font-size: 16px;
    text-decoration:none;
}

.back-btn a::before,
.back-btn a::after {
    position: absolute;
    width: 1px;
    height: 140%;
    background-color: #3a3a3a;
    content: '';
}

.back-btn a::before {
    left: calc(3.1em / 5 - 1px);
}

.back-btn a::after {
    right: calc(3.1em / 5 - 1px);
}

.back-btn a:hover {
  opacity:0.6;
}


.genre {
  display: block;
  width: fit-content;
  height: auto;
  padding:4px 12px;
  border: solid 1px #999;
  margin:0 0 15px;
  color: #3A3A3A;
  font-size: 14px;
  text-align: center;
}


.nav-spots-center {
  width: 320px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 auto 30px;
}

.nav-spots-center a {
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

.nav-spots-center a:hover {
  text-decoration: underline;
}

@media screen and (min-width: 640px) {

.nav-spots-center {
  width: 600px;
  margin:0 auto;
}

.nav-spots-center a {
  font-size: 16px;
}

}


#form {
  width:100%;
  height:auto;
  overflow:hidden;
}

#form table {
  width:100%;
}

#form th {
  display:block;
  width:100%;
  padding: 10px 0;
  text-align: left;
}

#form td {
  display:block;
  width:100%;
  padding: 0 0 10px;
}

@media screen and (min-width: 640px) {

#form {
  width:700px;
  margin:0 auto;
}

#form td.short input {
  width:50%;
}

}


/* ラジオボタンのリセット＋カスタム */
input[type="radio"] {
  /* ブラウザ標準の見た目を消す */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* サイズ（標準より少し大きめ） */
  width: 20px;
  height: 20px;

  /* 丸にする */
  border-radius: 50%;
  border: 2px solid #666;

  /* 配置調整 */
  vertical-align: middle;
  margin: 0 4px 0 0;
  box-sizing: border-box;

  /* 背景 */
  background-color: #fff;
  cursor: pointer;
}

/* ホバー時 */
input[type="radio"]:hover {
  border-color: #333;
}

/* チェックマーク（中の●） */
input[type="radio"]:checked::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 3px; /* (20 - 10) / 2 */
  border-radius: 50%;
  background-color: #4d90fe;
}

/* 共通リセット＋角丸 */
input,
select,
textarea {
  width: 100%;
  
  /* ブラウザ標準の余計な見た目を消す */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
  font-family: inherit;
  background-color: #fff;

  /* iOS/Safariのグレー背景対策 */
  background-clip: padding-box;

  outline: none;
}

/* フォーカス時 */
input:focus,
select:focus,
textarea:focus {
  border-color: #4d90fe;
  box-shadow: 0 0 0 2px rgba(77, 144, 254, 0.2);
}

/* textarea 用のサイズ例 */
textarea {
  width: 100%;
}

@media screen and (min-width: 640px) {

input,
select,
textarea {
  font-size: 16px;
}

}


/* input type="submit" のリセット＆ボタンスタイル */
input[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  border: none;
  display: block;
  width: 240px;
  margin: 0 auto;
  padding: 10px 20px;
  background: #e7c45d;
  color: #3A3A3A;
  font-size: 18px;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
  box-sizing: border-box;
  text-align: center;
}

/* ホバー時（PC向け） */
input[type="submit"]:hover {
  opacity: 0.6;
}


.wpcf7-response-output {
  border-color: #e7c45d !important;
  text-align: center !important;
  margin: 0 !important;
}

.wpcf7-spinner {
  display:block;
  margin:10px auto 0;
}


p.credit {
  width:95%;
  margin:-10px auto 10px;
  font-size:12px;
  text-align:right;
}

@media screen and (min-width: 640px) {

p.credit {
  width:620px;
}

}


#hover-preview {
  position: absolute;
  pointer-events: none;
  display: none;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: opacity 0.15s ease;
  max-width: 440px; /* プレビュー画像の最大サイズ */
}
#hover-preview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

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

.sp-modal {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(0,0,0,0.0); /* 背景透明 → 周囲タップで閉じるため必要 */
  z-index: 999999;
  transform: translateZ(0) scale(1) !important;
}

/* モーダル本体（100px固定） */
.sp-modal-inner {
  position: absolute;
  width: 100px;
  max-width: 100px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.sp-modal-inner img {
  width: 100%;
  height: auto;
  display: block;
}

}


/* Yoi no Komachi Map */

#top-map {
  width:100%;
  height:auto;
  overflow:hidden;
  padding:30px 0;
  background-color:#f8f5ee;
  margin:0;
}

#top-map h2 {
  margin:0 0 20px;
  position:relative;
  font-size:22px;
  text-align:center;
}

#top-map img {
  display:block;
  width:100%;
  margin:0;
}

#top-map p.center {
  text-align:center;
}

@media screen and (min-width: 640px) {

#top-map {
  padding:40px 0;
  margin:0;
}

#top-map h2 {
  margin:0 0 30px;
  font-size:28px;
}

#top-map img {
  width:auto;
  margin:0 auto;
}

}


#sp-modal,
#sp-modal * {
  transform: none !important;
}

#top-map, 
#top-map * {
  transform: none !important;
}

@media screen and (min-width: 640px) {

#sp-modal {
  display: none;
}

}


/*太字*/
.bold {
  font-weight: bold;
}

/*赤色*/
.red {
  color: red;
}

/*太字で赤色*/
.bold-red {
  font-weight: bold;
  color: #E50202;
}

/*青色*/
.blue {
  color: blue;
}

/*紺色*/
.navy {
  color: #3f51b5;
}

/*白色*/
.white {
  color: #fff;
}

/*太字で青色*/
.bold-blue {
  font-weight: bold;
  color: blue;
}

/*緑色*/
.green {
  color: green;
}

/*太字で緑色*/
.bold-green {
  font-weight: bold;
  color: green;
}

/*赤のアンダーライン*/
.red-under {
  border-bottom: 2px solid red;
}

/*マーカーの黄色のような色*/
.marker {
  background-color: #ff9;
}

.marker-red {
  background-color: #ffd0d1;
}

.marker-blue {
  background-color: #a5d7f9;
}

/*下半分のマーカー色（km）*/
.marker-under {
  background: linear-gradient(transparent 60%, #ff6 60%);
}

.marker-under-red {
  background: linear-gradient(transparent 60%, #ffb6b9 60%);
}

.marker-under-blue {
  background: linear-gradient(transparent 60%, #a8dafb 60%);
}

/*打ち消し線*/
.strike {
  text-decoration: line-through;
}


.blogcard,
.ecb-entry-border .entry-card-wrap,
.page-numbers,
.pagination-next-link,
.comment-btn,
.index-tab-buttons .index-tab-button,
.border-square .a-wrap,
.author-box {
  border-color: var(--cocoon-three-d-border-colors);
  border-width: 1px;
  border-style: solid;
}

.entry-card-thumb,
.author-thumb,
.blogcard-thumbnail,
.related-entry-card-thumb,
.popular-entry-card-thumb,
.new-entry-card-thumb {
  margin-right: 1.6%;
}

.blogcard-wrap {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
  width: 90%;
  background-color: var(--cocoon-white-color);
  margin: 0 auto 1.5em;
}

.blogcard {
  padding: 1.6% 2.2% 2%;
  border-radius: var(--cocoon-basic-border-radius);
  line-height: 1.6;
  position: relative;
}

.blogcard-thumbnail {
  float: left;
  margin-top: 3px;
  width: 160px;
}
.blogcard-thumbnail img {
  width: 100% !important;
  margin: 0 0 10px !important;
}

.blogcard-content {
  margin-left: 170px;
  max-height: 140px;
  min-height: 100px;
  overflow: hidden;
}

.blogcard-title {
  font-weight: bold;
  margin-bottom: 0.4em;
}

.blogcard-snippet {
  font-size: 0.9em;
}

.blogcard-footer {
  clear: both;
  font-size: 14px;
  padding-top: 0.6%;
  height: auto;
  overflow: hidden;
}

.blogcard-site {
  float: left;
  display: flex;
  align-items: center;
  align-content: center;
}

.blogcard-date {
  float: right;
  display: flex;
  align-content: center;
}

.blogcard-favicon {
  margin-right: 6px;
  margin-top: 2px;
}

img.blogcard-favicon-image {
  width: auto !important;
  border: 0;
  box-shadow: none;
  margin: 0 !important;
}

/************************************
** ブログカードのサムネイルスタイル
************************************/
.ib-right .blogcard-thumbnail,
.eb-right .blogcard-thumbnail {
  float: right;
  margin-left: 1.6%;
  margin-right: 0;
}
.ib-right .blogcard-content,
.eb-right .blogcard-content {
  margin-left: 0;
  margin-right: 170px;
}

.nwa .blogcard-wrap {
  width: 100%;
}
.nwa .blogcard-thumbnail {
  width: 120px;
}
.nwa .blogcard-title {
  font-size: 0.9em;
  margin-bottom: 0;
}
.nwa .blogcard-snippet {
  font-size: 12px;
}
.nwa .blogcard-content {
  margin-left: 130px;
  margin-right: 0;
  max-height: 120px;
  min-height: 70px;
  font-size: 0.9em;
  line-height: 1.2;
}
.nwa .blogcard-footer {
  font-size: 12px;
}
.nwa .ib-right .blogcard-content,
.nwa .eb-right .blogcard-content {
  margin-right: 31.6%;
  margin-left: 0;
}

.blogcard-type br {
  display: none;
}

.blogcard-label {
  position: absolute;
  top: -18px;
  left: 16px;
  font-size: 13px;
  padding: 3px 0.6em;
  background-color: #333;
  color: #fff;
  border-radius: 3px;
  letter-spacing: 0.7px;
  display: none;
}

.blogcard-label .fa::before {
  margin-right: 6px;
}

.blogcard-type .blogcard-label {
  display: block;
}

.bct-none .blogcard-label {
  display: none;
}

.bct-related .blogcard-label .fa::before {
  content: "\f15c";
}

.bct-related .blogcard-label::after {
  content: "関連記事";
}

.bct-reference .blogcard-label .fa::before {
  content: "\f19d";
}

.bct-reference .blogcard-label::after {
  content: "参考記事";
}

.bct-reference-link .blogcard-label .fa::before {
  content: "\f19d";
}

.bct-reference-link .blogcard-label::after {
  content: "参考リンク";
}

.bct-popular .blogcard-label .fa::before {
  content: "\f005";
}

.bct-popular .blogcard-label::after {
  content: "人気記事";
}

.bct-pickup .blogcard-label .fa::before {
  content: "\f005";
}

.bct-pickup .blogcard-label::after {
  content: "ピックアップ";
}

.bct-check .blogcard-label .fa::before {
  content: "\f00c";
}

.bct-check .blogcard-label::after {
  content: "チェック";
}

.bct-together .blogcard-label .fa::before {
  content: "\f02d";
}

.bct-together .blogcard-label::after {
  content: "あわせて読みたい";
}

.bct-detail .blogcard-label .fa::before {
  content: "\f15c";
}

.bct-detail .blogcard-label::after {
  content: "詳細はこちら";
}

.bct-official .blogcard-label .fa::before {
  content: "\f024";
}

.bct-official .blogcard-label::after {
  content: "公式サイト";
}

.bct-dl .blogcard-label .fa::before {
  content: "\f019";
}

.bct-dl .blogcard-label::after {
  content: "ダウンロード";
}

.bct-prev .blogcard-label .fa::before {
  content: "\f137";
}

.bct-prev .blogcard-label::after {
  content: "前回の記事";
}

.bct-next .blogcard-label .fa::before {
  content: "\f138";
}

.bct-next .blogcard-label::after {
  content: "続きの記事";
}

/************************************
** エントリーカードの設定
************************************/
.a-wrap {
  text-decoration: none;
  display: block;
  color: var(--cocoon-text-color);
  transition: all 0.3s ease-in-out;
}
.a-wrap:hover {
  background-color: #f5f8fa;
  transition: all 0.3s ease-in-out;
  color: var(--cocoon-text-color);
}

.card-thumb img {
  width: 100%;
}

.entry-card-thumb {
  width: 320px;
}

.related-entry-card-thumb {
  width: 160px;
}

.cat-label {
  position: absolute;
  top: 0.24em;
  left: 0.24em;
  border: 1px solid #eee;
  font-size: 10px;
  color: var(--cocoon-white-color);
  background-color: rgba(51, 51, 51, 0.7);
  padding: 1px 5px;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pr-label-s {
  position: absolute;
  top: 3px;
  left: 3px;
  border: 1px solid rgba(51, 51, 51, 0.7);
  font-size: 12px;
  color: var(--cocoon-text-color);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2px 12px;
  border-radius: var(--cocoon-badge-border-radius);
}

.pr-label-l {
  border: 1px solid rgba(51, 51, 51, 0.7);
  font-size: 0.8em;
  color: var(--cocoon-text-color);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1em;
  text-align: center;
  border-radius: var(--cocoon-badge-border-radius);
  margin-top: 1em;
  margin-bottom: 1em;
}

.entry-card-content {
  margin-left: 330px;
}

.entry-card-info > * {
  font-size: 0.7em;
  padding: 2px;
}

.e-card-meta .e-card-categorys {
  display: none;
}

.e-card-info .post-author {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.post-author-image {
  margin-right: 3px;
}
.post-author-image img {
  border-radius: 50%;
}

.e-card-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}
.e-card-info > span {
  margin-right: 4px;
}

.fpt-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 0.5%;
}

.post-comment-count .comment-icon {
  margin-right: 3px;
}

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

.blogcard-wrap {
  width: 100%;
}

.blogcard {
  padding: 10px;
}

  .blogcard-thumbnail {
    width: 120px;
  }
  .blogcard-title {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
  }
  .blogcard-snippet {
    font-size: 12px;
    line-height: 1.6;
  }
  .blogcard-content {
    margin-left: 130px;
    margin-right: 0;
    max-height: 120px;
    min-height: 70px;
    font-size: 0.9em;
    line-height: 1.2;
  }
  .blogcard-footer {
    font-size: 12px;
  }
  
}


.box-wrap {
  width:auto;
  height:auto;
  overflow:hidden;
}

.box-left {
  width:auto;
  height:auto;
  overflow:hidden;
  margin:0 0 20px;
}

.box-right {
  width:auto;
  height:auto;
  overflow:hidden;
}

@media screen and (min-width: 640px) {

.box-wrap {
  width:auto;
  height:auto;
  overflow:hidden;
}

.box-left {
  float:left;
  width:49%;
  margin:0;
}

.box-right {
  float:right;
  width:49%;
}

}


.translate-wrap {
  width:auto;
  height:auto;
  overflow:hidden;
  position:absolute;
  top:19px;
  right:20%;
  z-index:9999;
}

.goog-te-gadget-simple {
  float:right;
}

@media screen and (min-width: 640px) {

.translate-wrap {
  width:1100px;
  margin:0 auto;
  top:0;
  right:0;
}

}


/* Google翻訳バーが出た時だけ、固定ヘッダーを下げる */
.translated-ltr header,
.translated-rtl header {
  top: 40px !important;
}

/* 翻訳バーでbody全体が押し下げられるのを防ぐ（ズレ対策） */
.translated-ltr,
.translated-rtl {
  top: 0 !important;
}


    /* ===== 導入部セクション ===== */
    .intro-section {
      position: relative;
      height: 100vh;
      overflow: hidden;
      padding-top: 30px;
    }

    /* 背景 */
    .intro-bg {
      position: absolute;
      inset: 0;
      background-color: #1e2835;
      z-index: 0;
    }
    .intro-bg img {
      position: absolute;
      bottom: 0;  /*夕暮れ側を初期表示*/
      width: 100%;
      height: 2400px;
      object-fit: cover;
      will-change: transform;
    }
    
    /* 町家イラスト */
    .intro-machiya {
      position: absolute;
      inset: 0;
      z-index: 2;
    }
    .intro-machiya img {
      position: absolute;
      object-fit: contain;
      will-change: transform;
    }
    /* 町家の灯りイラスト */
    .intro-machiya-light1-1,
    .intro-machiya-light1-2,
    .intro-machiya-light2-1,
    .intro-machiya-light2-2 {
      position: absolute;
      inset: 0;
      z-index: 4;
    }
    .intro-machiya-light1-1 img,
    .intro-machiya-light1-2 img,
    .intro-machiya-light2-1 img,
    .intro-machiya-light2-2 img {
      position: absolute;
      object-fit: contain;
      opacity: 0;
      will-change: transform;
    }
    
    /*.町家拡大時の基準点設定 + サイズを相対化 */
    .intro-machiya img,
    .intro-machiya-light1-1 img,
    .intro-machiya-light1-2 img,
    .intro-machiya-light2-1 img,
    .intro-machiya-light2-2 img {
      transform-origin: center bottom;
      width: min(85vw, 19200px);
      height: auto;
      bottom: 2vh;
      left: 50%;
      transform: translateX(-50%);
    }
    
    /* 月イラスト */
    .intro-moon {
      position: absolute;
      inset: 0;
      z-index: 1;
    }
    .intro-moon img {
      position: absolute;
      width: min(12vw, 200px);
      height: auto;
      bottom: 60vh;
      left: calc(50% + 400px);
      object-fit: contain;
      opacity: 1;
      transform: scale(1);
      will-change: transform;
    }
    
    /* 文字を読みやすくするオーバーレイ */
    .intro-section::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.05)
      );
      pointer-events: none;
    }

    /* テキストラッパー */
    .intro-text {
      position: relative;
      color: #fff;
      text-align: center;
      top: clamp(5em, 15vh, 300px);
      z-index: 5;
    }

    /* 行単位 */
    .intro-text .line {
      position: relative;
      margin-bottom: clamp(0.7em, 1.5vw, 35px);
      left: 50%;
      transform: translateX(-50%);
    }
    .intro-text .line.zk-m {
      font-size: 22px;
      letter-spacing: 0.08em;
    }

    /* 文節初期状態 */
    .intro-text span {
      gap: 0.5em;
      white-space: nowrap;
      opacity: 0;
      transform: translateY(50px);
      will-change: opacity, transform;
    }
    
    /*.「宵の小町とは」ボタンセンタリング */
    .intro-text .line.btn-wrap {
      position: absolute;
      top: 24vh;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      transform: none;
    }
    
    /* ===== お店紹介セクション ===== */
    .spot-section {
      position: relative;
      height: 110vh;
      background: #1E2832;
      overflow: hidden;
      padding-top: 30px;
    }
    
    /* 背景 */
    .spot-bg {
      position: absolute;
      inset: 0;
    }
    .spot-bg::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(30,40,51,0.7);
      z-index: 2;
    }
    .spot-bg-1 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-1-bw.jpg");
    }
    .spot-bg-2 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-2-bw.jpg");
    }
    .spot-bg-3 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-3-bw.jpg");
    }
    .spot-bg-4 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-4-bw.jpg");
    }
    
    .spot-bg-1,
    .spot-bg-2,
    .spot-bg-3,
    .spot-bg-4 {
      position: absolute;
      inset: 0;
      background-color: #1E2832;
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      width: 100%;
      height: auto;
      opacity: 0;
      z-index: 1;
      will-change: opacity, transform;
    }
    
    .spot-bg-1 img,
    .spot-bg-2 img,
    .spot-bg-3 img,
    .spot-bg-4 img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      will-change: opacity, transform;
    }
    
    /* 見出し */
    .spot-section .inner {
      clear: both;
      width: auto;
      height: 100vh;
      overflow: hidden;
      margin: 0 15px;
      padding-top: 70px;
    }

    .spot-section .inner h2 {
      margin-bottom: clamp(0.7em, 1vw, 24px);
      position:relative;
      font-size:24px;
      text-align:center;
      z-index: 3;
    }

    .spot-section .inner h2::before {
      content: '';
      position: absolute;
      bottom: -15px;
      display: inline-block;
      width: 30px;
      height: 3px;
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      background-color: #e7c45d;
      border-radius: 10px;
    }
    
    /* テキストラッパー */
    .spot-text {
      position: relative;
      color: #fff;
      text-align: center;
      z-index: 4;
    }

    /* 行単位 */
    .spot-text .line {
      position: relative;
      margin-bottom: clamp(0.5em, 0.8vw, 18px);
      left: 50%;
      transform: translateX(-50%);
    }
    .spot-text .line.zk-m {
      font-size: 20px;
      letter-spacing: 0.08em;
    }
    .spot-text .line span {
      display: block;
    }
    
    /* 文節・ボタン・センタリング 初期状態 */
    .spot-text span,
    .spot-section .btn-wrap,
    .spot-scroll {
      opacity: 0;
      transform: translateY(50px);
      will-change: opacity, transform;
    }
    .spot-text span {
      gap: 0.5em;
      white-space: nowrap;
    }
    
    /*.「お店一覧を見る」ボタンセンタリング */
    .spot-section .btn-wrap {
      position: absolute;
      bottom: 5vh;
      left: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      z-index: 5;
    }
    
    /* サムネイル・スクロール */
    .spot-scroll-wrap {
      position: absolute;
      bottom: 20vh;
      width: 100%;
      padding: 0;
      transform: translateY(40px);
      overflow: hidden;
      z-index: 6;
    }
    .spot-scroll {
      display: flex;
      align-items: center;
      touch-action: pan-y;
      list-style: none;
      opacity: 1;
      transform: none;
      will-change: transform;
    }
    .spot-scroll-item {
      position: relative;
      flex: 0 0 auto;
      width: 20vw;
      height: 16vw;
      background-color: #1E2833;
      margin-right: 30px;
      margin-bottom: 0;
      padding: 0;
      overflow: hidden;
      cursor: pointer;
    }

    .spot-scroll-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: scale(1);
      transition: transform 0.3s ease-in-out;
      will-change: transform;
    }

    .spot-scroll-item:hover img {
      transition: 0.5s;
      transform: scale(1.15);
    }

    .spot-scroll-item h3 {
      position: absolute;
      width: 100%;
      height: 60px;
      padding: 10px;
      background-color: #1E2833;
      font-size: 16px;
      color: #fff;
      text-align: center;
      margin-top: auto;
      backface-visibility: hidden;
      bottom: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .spot-scroll-item h3 a {
      display: block;
      font-family: "Noto Serif JP", serif;
      font-weight: 400;
      font-style: normal;
      color: #fff;
      text-decoration: none;
    }
    
    /* ===== ダミー：次セクション ===== */
    .next-section {
      height: 120vh;
      background: #f5f5f5;
      color: #000;
      display: flex;
      align-items: center;
      justify-content: center;      
      font-size: 22px;
    }
    
    /*.レスポンシブ対応 */
    @media (max-width: 640px) {
      
      .intro-bg {
        background-color: #422b18;
      }
      
      .intro-bg img {
        width: auto;
        height: 100vh;
        bottom: 5vh;
      }
      
      .intro-machiya img {
        left: 50%;
        margin-left: -100vw; /*町家の半分*/
        width: 200vw;
        transform: none; /*GSAP専用*/
      }
      
      .intro-machiya-light1-1 img,
      .intro-machiya-light1-2 img,
      .intro-machiya-light2-1 img,
      .intro-machiya-light2-2 img {
        left: 50%;
        margin-left: -100vw; /*町家の半分*/
        width: 200vw;
        opacity: 1;
        transform: none; /*GSAP専用*/
      }
      
      .intro-moon img {
        left: 40%;
        margin-left: 15vw; /*月の半径*/
        bottom: 65vh;
        width: 30vw;
        transform: none; /*GSAP専用*/
      }
      
      .intro-text .line.btn-wrap {
        position: absolute;
        top: 34vh;
      }
      
      .spot-section {
        height: auto;
        overflow-x: hidden;
      }
      
      .spot-section .inner {
        height: auto;
        overflow: visible;
        padding-top: 60px;
        padding-bottom: 18vh;
      }
      
      .spot-bg-4 {
        opacity: 1;
      }
      .spot-bg-4 img {
        opacity: 1;
      }
      
      .spot-scroll-wrap {
        position: relative;
        bottom: auto;
        margin-top: 4vh;
      }
      
      .spot-scroll,
      .spot-btn {
        position: relative;
        bottom: auto;
        gap: 20px;
      }
      
      .spot-scroll {
        margin-top: 6vh;
      }
      
      .spot-btn {
        margin-top: 0;
      }
      
      .spot-scroll-item {
        width: 60vw;
        height: 50vw;
      }
      
      .spot-scroll-item h3 {
        font-size: 14px;
      }
    }

    @media (max-width: 640px) {
      /* ===== 導入部セクション ===== */
      .intro-section {
        padding-top: 0;
      }
      
      .intro-text {
        text-shadow: 2px 2px 10px rgba(102, 102, 102, 0.9), -2px 2px 10px rgba(102, 102, 102, 0.9), 2px -2px 10px rgba(102, 102, 102, 0.9), -2px -2px 10px rgba(102, 102, 102, 0.9);
        top: 8vh;
      }
      
      .intro-text .line.zk-m {
        font-size: 17px;
        line-height: 2.0;
      }
      
      /* ===== お店紹介セクション ===== */
      .spot-section {
        padding-top: 0;
      }
      
      .spot-text {
        top: 0;
      }
      
      .spot-text .line.zk-m {
        font-size: 16px;
      }
      
    .spot-bg-1 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-1-bw.jpg");
    }
    .spot-bg-2 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-1-c.jpg");
    }
    .spot-bg-3 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-2-bw.jpg");
    }
    .spot-bg-4 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-2-c.jpg");
    }
    .spot-bg-5 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-3-bw.jpg");
    }
    .spot-bg-6 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-3-c.jpg");
    }
    .spot-bg-7 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-4-bw.jpg");
    }
    .spot-bg-8 {
      background-image: url("https://yoinokomachi.jp/wp-content/uploads/2026/01/spot-ex-4-c.jpg");
    }
    
    .spot-bg-1,
    .spot-bg-2,
    .spot-bg-3,
    .spot-bg-4,
    .spot-bg-5,
    .spot-bg-6,
    .spot-bg-7,
    .spot-bg-8 {
      position: absolute;
      inset: 0;
      background-color: #1E2832;
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      width: 100%;
      height: auto;
      opacity: 0;
      z-index: 1;
      will-change: opacity, transform;
    }
    
    .spot-bg-1 img,
    .spot-bg-2 img,
    .spot-bg-3 img,
    .spot-bg-4 img,
    .spot-bg-5 img,
    .spot-bg-6 img,
    .spot-bg-7 img,
    .spot-bg-8 img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      will-change: opacity, transform;
    }
    
    }
    
.spot-scroll {
  will-change: transform;
}

.spot-scroll-wrap {
  overflow: hidden;
}

.spot-scroll {
  cursor: grab;
  user-select: none;
  touch-action: pan-y; /* ← 縦スクロールは殺さない */
}

.spot-scroll:active {
  cursor: grabbing;
}


@media (min-width: 640px) {

#mv {
  position: relative;
  overflow: hidden;

  /* フォールバック */
  --mv-end-color: #7e5779;
}

/* 動画下端の黒を溶かすレイヤー（ベースはそのまま） */
#mv::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 220px;
  pointer-events: none;
  z-index: 5;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(40, 30, 50, 0.55) 35%,
    rgba(90, 55, 80, 0.75) 65%,
    var(--mv-end-color) 100%
  );
}

/* ===============================
   画面幅別：着地点の色
   =============================== */

/* 〜1399px */
@media (max-width: 1399px) {
  #mv::after {
    height: 80px;
  }
  
  #mv {
    --mv-end-color: #6d5578;
  }
}

/* 1400px〜1549px */
@media (min-width: 1400px) and (max-width: 1549px) {
  #mv::after {
    height: 70px;
  }
  
  #mv {
    --mv-end-color: #68567a;
  }
}

/* 1550px〜1699px */
@media (min-width: 1550px) and (max-width: 1699px) {
  #mv::after {
    height: 70px;
  }
  
  #mv {
    --mv-end-color: #60567e;
  }
}

/* 1700px〜1799px */
@media (min-width: 1700px) and (max-width: 1799px) {
  #mv::after {
    height: 60px;
  }
  
  #mv {
    --mv-end-color: #63557c;
  }
}

/* 1800px〜1920px */
@media (min-width: 1800px) and (max-width: 1920px) {
  #mv::after {
    height: 50px;
  }
  
  #mv {
    --mv-end-color: #545580;
  }
}

/* パララックス上端の保険（推奨） */
.intro-section {
  background-color: #715678;
}

}

@media (max-width: 640px) {

#mv {
  position: relative;
  overflow: hidden;

  /* フォールバック */
  --mv-end-color: #161e27;
}

/* 動画下端の黒を溶かすレイヤー */
#mv::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 80px;
  pointer-events: none;
  z-index: 5;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,

    /* 黒 → 深いネイビーに移行 */
    rgba(15, 22, 32, 0.45) 35%,

    /* 着地色直前の中間トーン */
    rgba(22, 30, 39, 0.75) 65%,

    /* 着地点 */
    var(--mv-end-color) 100%
  );
}

}
