  * { box-sizing: border-box; margin: 0; padding: 0; }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* 固定ヘッダーの高さ分ずらす */
    overflow-x: clip;
  }
  body {
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    color: #222;
    background: #F3EFE5;
    line-height: 1.6;
    overflow-x: clip;
  }
  .wf-label {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
  }
  section {
    border-bottom: 1px solid #E2DACA;
    padding: 90px 20px;
    position: relative;
  }
  .section-white-bg {
    background: #FDFCFA;
    padding-bottom: 150px;
  }
  .section-last {
    padding-bottom: 150px;
  }
  /* セクション開発用ラベル（data-section）は非表示化。HTML属性自体は目印として残しています */
  .inner {
    max-width: 1100px;
    margin: 0 auto;
  }

  /* 実画像用（画像あり版） */
  .img-box {
    overflow: hidden;
    background: #eee;
    border: 1px solid #bbb;
    position: relative;
  }
  .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ロゴは .site-title 内でサイズ指定（下部の site-title ブロック参照） */

  /* ヒーロー：横に流れ続けるマーキー */
  .hero-marquee {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #111;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  .hero-marquee-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: hero-marquee-scroll 100s linear infinite;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .hero-marquee-track img {
    height: 100%;
    width: auto;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
  }
  @keyframes hero-marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
  }
  .hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
  }

  /* ==== ヘッダー ==== */
  header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 0;
    z-index: 100;
    padding: 6px 20px;
  }
  .header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
  }
  .header-right {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .site-title {
    font-size: 18px;
    font-weight: bold;
    color: #555;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    text-decoration: none;
  }
  .site-title img {
    height: 52px;
    display: block;
    margin: 0;
  }
  nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    flex-wrap: nowrap;
  }
  nav a {
    text-decoration: none;
    color: #222;
    font-size: 13px;
    letter-spacing: 0.08em;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
  }
  nav a:hover {
    border-color: #333;
  }
  nav a.nav-btn {
    border: 1px solid #999;
    padding: 8px 18px;
    background: #999;
    color: #fff;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }
  nav a.nav-btn:hover {
    background: #9E2F3F;
    color: #fff;
    border-color: #9E2F3F;
  }

  /* 言語切り替え（Language セレクタ） */
  .lang-switch-wrap {
    margin-left: 14px;
    flex-shrink: 0;
  }
  .lang-switch {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 6px 26px 6px 12px;
    font-size: 13px;
    font-family: inherit;
    color: #222;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23222' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    white-space: nowrap;
  }
  .lang-switch:hover {
    border-color: #000;
  }

  /* ハンバーガーボタン（デスクトップでは非表示） */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #222;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* ==== ヒーロー ==== */
  .hero {
    padding: 0;
  }
  .hero .img-box {
    border: 0;
    height: 560px;
    width: 100%;
  }
  .hero-text-overlay {
    position: absolute;
    top: 48%;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(247,241,228,0.88);
    border: 1px solid #B9AD8E;
    padding: 22px 40px;
    text-align: center;
    font-family: "Cormorant", "Hiragino Mincho ProN", serif;
    font-weight: 600;
    font-size: 30px;
    letter-spacing: 0.08em;
    color: #29211B;
    white-space: nowrap;
  }
  .hero-text-overlay.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    top: 50%;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    font-family: "Yuji Mai", "Hiragino Mincho ProN", serif;
    font-weight: 400;
    font-size: 34px;
    letter-spacing: 0.28em;
    padding: 32px 20px;
    line-height: 1.8;
    background: rgba(247,241,228,0.88);
    border: 1px solid #B9AD8E;
    color: #4A4038;
  }
  .hero-text-overlay .hero-text-small {
    font-size: 0.55em;
    letter-spacing: 0.02em;
  }
  .hero-text-overlay .hero-text-main {
    font-size: 1em;
  }
  .hero-text-overlay.vertical-text .hero-text-small {
    display: inline-block;
    margin-bottom: 26px;
  }
  .hero-text-overlay:not(.vertical-text) .hero-text-small {
    display: block;
    letter-spacing: 0.1em;
    line-height: 1.1;
    margin-bottom: 2px;
  }
  .hero-text-overlay:not(.vertical-text) .hero-text-main {
    display: block;
    font-size: 1.2em;
    letter-spacing: 0.08em;
    line-height: 1.1;
  }
  .hero-dots {
    text-align: center;
    margin-top: 12px;
  }
  .hero-dots span {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 4px;
  }

  h2.section-title {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.12em;
    margin-bottom: 28px;
    padding-left: 40px;
    position: relative;
    color: #24425C;
  }
  h2.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 1px;
    background: #333;
    margin-top: 18px;
  }

  /* ==== NEWS ==== */
  .news-list {
    list-style: none;
    padding: 0;
  }
  .news-list li {
    display: flex;
    gap: 24px;
    padding: 16px 20px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    transition: background 0.2s ease;
  }
  .news-list li:hover {
    background: #fff;
  }
  .news-date { color: #888; width: 100px; flex-shrink: 0; }
  .news-title { flex: 1; }
  .news-title a {
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
  }
  .news-title a:hover {
    border-color: #222;
  }
  .news-ext { color: #999; font-size: 12px; }

  /* ==== STORY ==== */
  .story-section { background: #f3efe5; overflow: hidden; }
  .story-section .inner { position: relative; isolation: isolate; }
  .story-section .inner::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -90px;
    bottom: -90px;
    left: 26%;
    width: 136.2px;
    background: url("../images/yoshiwara-tsunagi.svg") center top / 136.2px 78.62px repeat-y;
    pointer-events: none;
  }
  .story-section .section-title { position: relative; }
  .story-divider {
    width: 36px;
    flex-shrink: 0;
    align-self: stretch;
    min-height: 260px;
    background-image: url("../images/tsunagi-tile.png");
    background-repeat: repeat;
    background-size: 36px 17.5px;
  }
  .img-box-tsunagi {
    position: relative;
    overflow: visible;
  }
  .story-overlay-tsunagi {
    position: absolute;
    top: -30px;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    background-image: url("../images/tsunagi-overlay.png");
    background-repeat: repeat-y;
    background-size: 110px 64.4px;
    z-index: 2;
    pointer-events: none;
  }
  .story-block {
    display: flex;
    align-items: flex-start;
    gap: 72px;
    padding: 70px 0 95px;
    position: relative;
  }
  .story-block + .story-block::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, #ddd7cf 0 43%, transparent 43% 57%, #ddd7cf 57% 100%);
  }
  .story-block.reverse { flex-direction: row-reverse; }
  .story-block .img-box { flex: 1; height: 260px; z-index: 1; }
  .story-block .text { flex: 1; font-size: 14px; }
  .story-block .text h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: #29211B; }

  /* ==== EXPERIENCE ==== */
  .experience-feature {
    display: flex;
    align-items: flex-start;
    gap: 50px;
  }
  .experience-feature .img-box { flex: 1; height: 380px; }
  .experience-feature .exp-text { flex: 1; }
  .experience-feature .exp-text .wf-label { margin-bottom: 14px; }
  .experience-feature .exp-text h3 { font-size: 22px; margin-bottom: 16px; }
  .experience-feature .exp-text .exp-lead { font-size: 14px; color: #555; margin-bottom: 24px; }
  .experience-feature .exp-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 22px 0;
    border-top: 2px solid #B9AD8E;
    border-bottom: 2px solid #B9AD8E;
    margin-bottom: 24px;
  }
  .exp-meta-item {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    flex-wrap: nowrap;
  }
  .exp-meta-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6E5F4E;
    letter-spacing: 0.05em;
    width: 110px;
    flex-shrink: 0;
  }
  .exp-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #9E2F3F;
  }
  .exp-meta-value {
    font-size: 19px;
    font-weight: 700;
    color: #29211B;
    white-space: nowrap;
  }
  .exp-meta-value-sub {
    font-size: 13px;
    font-weight: 400;
    color: #6E5F4E;
  }
  /* ==== ABOUT US ==== */
  .about-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
  }
  .about-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .about-images .img-box.photo { height: 240px; }
  .about-images .img-box.map { height: auto; aspect-ratio: 15 / 7; }
  .about-images .img-box.map img { object-fit: contain; }
  .about-content .about-text { flex: 1; font-size: 14px; color: #444; }
  .about-content .about-text p { margin-bottom: 18px; }
  .about-content .about-text .about-lead {
    font-size: 16px;
    color: #222;
    margin-bottom: 24px;
    line-height: 1.9;
  }

  /* ==== toB バナー ==== */
  .tob-banner {
    background: #f2f2f2;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 40px;
  }
  .tob-text { flex: 1; }
  .tob-text h3 { font-size: 18px; margin-bottom: 14px; }
  .tob-text p { font-size: 13px; color: #555; margin-bottom: 20px; }
  .btn {
    display: inline-block;
    border: 1px solid #24425C;
    padding: 10px 24px;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: #24425C;
    background: #fff;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }
  .btn:hover {
    background: #9E2F3F;
    color: #fff;
    border-color: #9E2F3F;
  }
  .tob-banner .img-box { flex: 1; height: 220px; }

  /* ==== 運営組織 CONTACT ==== */
  .org-contact {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .org-text { flex: 1; }
  .org-text h3 { font-size: 18px; margin-bottom: 14px; }
  .org-text p { font-size: 13px; color: #555; margin-bottom: 20px; }
  .btn-row { display: flex; gap: 16px; }
  .org-contact .img-box { flex: 1; height: 220px; }

  /* ==== フッター ==== */
  footer {
    background: #222;
    color: #eee;
    padding: 40px 20px;
  }
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-info { font-size: 13px; line-height: 1.8; color: #ccc; }
  .footer-info a { color: #ccc; text-decoration: underline; }
  .footer-info a:hover { color: #fff; }
  .footer-copy { font-size: 12px; color: #888; }
  .footer-links { margin-top: 10px; font-size: 12px; }
  .footer-links a {
    color: #aaa;
    margin-right: 12px;
    text-decoration: underline;
    transition: color 0.2s ease;
  }
  .footer-links a:hover {
    color: #fff;
  }

  @media (max-width: 768px) {
    .hamburger { display: flex; }
    .lang-switch-wrap { margin-left: 12px; }
    .lang-switch { font-size: 12px; padding: 6px 26px 6px 10px; }
    .hero-text-overlay.vertical-text {
      right: auto;
      font-size: 24px;
      padding: 20px 12px;
    }
    .hero-text-overlay:not(.vertical-text) {
      font-size: 18px;
      padding: 14px 18px;
      white-space: normal;
      width: 84%;
    }
    nav ul {
      position: fixed;
      top: 61px; /* ヘッダー高さ分 */
      left: 0;
      right: 0;
      flex-direction: column;
      gap: 0;
      background: #fff;
      border-top: 1px solid #ddd;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
    }
    nav ul.open {
      max-height: 300px;
    }
    nav ul li {
      border-bottom: 1px solid #eee;
    }
    nav ul li a {
      display: block;
      padding: 16px 24px;
    }
    nav ul li a.nav-btn {
      margin: 12px 24px;
      padding: 10px 18px;
      text-align: center;
      display: inline-block;
    }
    h2.section-title { font-size: 28px; padding-left: 20px; }
    .experience-feature { flex-direction: column; }
    .experience-feature .exp-meta { gap: 14px; }
    .exp-meta-item { flex-direction: column; align-items: flex-start; gap: 4px; }
    .exp-meta-label { width: auto; }
    .story-block, .story-block.reverse { flex-direction: column; }
    .story-block { gap: 24px; padding: 45px 0 60px; }
    .story-section .inner::before { display: none; }
    .site-title { min-width: 0; flex-shrink: 1; }
    .site-title img { width: auto; max-width: 100%; height: auto; max-height: 38px; }
    .experience-feature .exp-text > .btn { display: block; width: 100%; text-align: center; }
    .story-tsunagi-band, .story-divider { display: none; }
    .tob-banner, .org-contact { flex-direction: column; }
    .about-content { flex-direction: column; }
    .about-images {
      margin-left: -20px;
      margin-right: -20px;
      width: calc(100% + 40px);
    }
    .about-images .img-box { border-left: none; border-right: none; }
    .hero .img-box { height: 320px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
  }

  /* ==== 規約・プライバシーポリシー等のテキストページ ==== */
  .legal-hero {
    padding: 70px 20px 30px;
  }
  .legal-hero h1 {
    font-size: 34px;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: #29211B;
    margin-bottom: 8px;
  }
  .legal-hero .legal-updated {
    font-size: 13px;
    color: #6E5F4E;
  }
  .legal-content {
    padding: 20px 20px 100px;
  }
  .legal-content .inner {
    max-width: 820px;
  }
  .legal-content section {
    padding: 0;
    border-bottom: none;
    margin-bottom: 44px;
  }
  .legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #29211B;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #C9B99A;
  }
  .legal-content p {
    font-size: 14px;
    line-height: 2;
    color: #4A4038;
    margin-bottom: 14px;
  }
  .legal-content ul, .legal-content ol {
    font-size: 14px;
    line-height: 1.9;
    color: #4A4038;
    padding-left: 22px;
    margin-bottom: 14px;
  }
  .legal-content li { margin-bottom: 6px; }
  .legal-content .legal-note {
    font-size: 13px;
    color: #6E5F4E;
    background: #FDFCFA;
    border: 1px solid #C9B99A;
    padding: 16px 20px;
    border-radius: 4px;
  }
  .legal-back-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #6E5F4E;
    text-decoration: none;
    border-bottom: 1px solid #6E5F4E;
  }
  .legal-back-link:hover { color: #9E2F3F; border-color: #9E2F3F; }

/* ==================================================================
   ここから WordPress テーマ用の追加スタイル
   ================================================================== */
a { color: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position:absolute; left:-9999px; }
header .site-title a { display:flex; }
nav a.is-current { border-color:#333; }

.story-more { text-align: center; margin-top: -30px; }

/* ==== NEWS / EVENT タブ ==== */
.tabs { display:flex; gap:0; margin-bottom: 18px; border-bottom:1px solid #B9AD8E; }
.tab-btn {
  background:none; border:none; font:inherit; font-size:14px; letter-spacing:.08em;
  padding:10px 24px; cursor:pointer; color:#6E5F4E; border-bottom:2px solid transparent; margin-bottom:-1px;
}
.tab-btn[aria-selected="true"] { color:#24425C; border-bottom-color:#24425C; font-weight:700; }
.tab-btn:hover { color:#9E2F3F; }
.tab-panel[hidden] { display:none; }
.news-list li a.row-link { display:flex; gap:24px; width:100%; color:inherit; text-decoration:none; }
.news-list li { padding:0; }
.news-list li > .row-link, .news-list li > .row-static { padding:16px 20px; }
.news-list li .row-static { display:flex; gap:24px; width:100%; }
.news-empty { padding:20px; color:#6E5F4E; font-size:14px; }
.news-tag { font-size:11px; border:1px solid #B9AD8E; color:#6E5F4E; padding:1px 8px; margin-right:10px; }
.more-link { text-align:right; margin-top:16px; font-size:13px; }
.more-link a { color:#24425C; }
.more-link a:hover { color:#9E2F3F; }

/* ==== 参画団体ロゴ ==== */
.partners { text-align:center; }
.partner-grid {
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:28px 44px; margin-top:12px;
}
.partner-grid .partner { display:block; width:150px; height:80px; }
.partner-grid .partner img { width:100%; height:100%; object-fit:contain; filter:grayscale(1); opacity:.8; transition:filter .25s, opacity .25s; }
.partner-grid .partner:hover img { filter:none; opacity:1; }
.partner-grid .partner-name { display:flex; align-items:center; justify-content:center; width:100%; height:100%; font-size:13px; color:#6E5F4E; border:1px solid #D9CFB8; padding:6px; }
.partners-section { padding: 70px 20px; }
.partners-section h2.section-title { font-size:26px; }

/* ==== 下層ページ共通 ==== */
.page-hero { padding:70px 20px 30px; }
.page-hero h1 { font-size:34px; font-weight:400; letter-spacing:.1em; color:#24425C; }
.page-hero .page-sub { font-size:13px; color:#6E5F4E; margin-top:6px; letter-spacing:.08em; }
.page-hero .page-hero-line { display:block; width:48px; height:1px; background:#333; margin-top:18px; }
.page-body { padding: 20px 20px 110px; border-bottom:none; }
.page-body .inner { max-width: 860px; }
.entry-content { font-size:15px; line-height:2; color:#4A4038; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { font-size:22px; color:#24425C; margin-top:2.2em; padding-bottom:8px; border-bottom:1px solid #C9B99A; }
.entry-content h3 { font-size:18px; color:#29211B; margin-top:1.8em; }
.entry-content ul, .entry-content ol { padding-left:1.4em; }
.entry-content a { color:#24425C; text-decoration:underline; }
.entry-content a:hover { color:#9E2F3F; }
.entry-content img { height:auto; }
.entry-content .wp-block-image { margin: 1.6em 0; }
.entry-content .btn { text-decoration:none; }

.back-link { display:inline-block; margin-top:36px; font-size:13px; color:#6E5F4E; text-decoration:none; border-bottom:1px solid #6E5F4E; }
.back-link:hover { color:#9E2F3F; border-color:#9E2F3F; }

/* 詳細ページ */
.single-meta { display:flex; flex-wrap:wrap; gap:6px 24px; font-size:13px; color:#6E5F4E; margin-bottom:6px; }
.single-thumb { margin: 10px 0 30px; border:1px solid #bbb; }
.single-thumb img { display:block; width:100%; height:auto; }
.spec-box { padding:22px 0; border-top:2px solid #B9AD8E; border-bottom:2px solid #B9AD8E; margin:30px 0; display:flex; flex-direction:column; gap:14px; }
.spec-row { display:flex; gap:14px; align-items:baseline; }
.spec-row .exp-meta-label { width:110px; }
.spec-row .exp-meta-value { white-space: normal; font-size:17px; }

/* 場所カード */
.place-cards { margin-top: 50px; }
.place-cards h2 { font-size:20px; color:#24425C; margin-bottom:16px; padding-bottom:8px; border-bottom:1px solid #C9B99A; }
.place-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:20px; }
.place-card { display:block; background:#FDFCFA; border:1px solid #D9CFB8; text-decoration:none; color:inherit; transition: box-shadow .25s, border-color .25s; }
.place-card:hover { border-color:#9E2F3F; box-shadow:0 4px 14px rgba(0,0,0,.08); }
.place-card .pc-img { height:150px; background:#eee; overflow:hidden; }
.place-card .pc-img img { width:100%; height:100%; object-fit:cover; display:block; }
.place-card .pc-body { padding:14px 16px 16px; }
.place-card h3 { font-size:16px; color:#29211B; margin-bottom:4px; }
.place-card .pc-addr { font-size:12px; color:#6E5F4E; }
.place-card .pc-desc { font-size:13px; color:#555; margin-top:6px; line-height:1.7; }

/* アーカイブ（カード一覧） */
.card-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:28px; }
.card-item { background:#FDFCFA; border:1px solid #D9CFB8; text-decoration:none; color:inherit; display:block; transition:border-color .25s, box-shadow .25s; }
.card-item:hover { border-color:#9E2F3F; box-shadow:0 4px 14px rgba(0,0,0,.08); }
.card-item .ci-img { height:190px; background:#eee; overflow:hidden; }
.card-item .ci-img img { width:100%; height:100%; object-fit:cover; display:block; }
.card-item .ci-body { padding:16px 18px 20px; }
.card-item .ci-date { font-size:12px; color:#6E5F4E; }
.card-item h3 { font-size:17px; margin:4px 0 6px; color:#29211B; line-height:1.5; }
.card-item p { font-size:13px; color:#555; line-height:1.8; }
.pagination { margin-top:40px; text-align:center; font-size:14px; }
.pagination .page-numbers { display:inline-block; padding:6px 12px; text-decoration:none; color:#24425C; border:1px solid transparent; }
.pagination .current, .pagination .page-numbers:hover { border-color:#24425C; }

/* BtoB / 募集 CTA */
.cta-box { margin-top:50px; padding:36px 30px; background:#FDFCFA; border:1px solid #D9CFB8; text-align:center; }
.cta-box p { font-size:14px; color:#555; margin-bottom:18px; }
.top-tob { padding:60px 20px 90px; }
.top-tob .tob-banner { background:#FDFCFA; border:1px solid #D9CFB8; }

@media (max-width: 768px) {
  .story-more { margin-top: -30px; }
  .tab-btn { padding:10px 16px; }
  .news-list li .row-link, .news-list li .row-static { flex-direction:column; gap:4px; }
  .page-hero h1 { font-size:26px; }
  .spec-row { flex-direction:column; gap:4px; }
}

/* 体験の予約ボタン：通常は紅、ホバーで反転（現行版） */
.experience-feature .exp-text > .btn { background:#9E2F3F; color:#fff; border-color:#9E2F3F; }
.experience-feature .exp-text > .btn:hover { background:#fff; color:#9E2F3F; }

/* 画像クレジット（フッター内の開閉欄） */
.image-credits { max-width:1100px; margin:24px auto 0; padding-top:12px; border-top:1px solid #555; color:#aaa; font-size:11px; line-height:1.8; }
.image-credits summary { cursor:pointer; width:fit-content; }
.image-credits summary:hover { color:#fff; }
.image-credits ul { list-style:none; margin:10px 0 6px; padding:0; }
.image-credits li { margin-bottom:5px; overflow-wrap:anywhere; }
.image-credits a { color:#ccc; text-underline-offset:2px; }
.image-credits a:hover { color:#fff; }
.image-credits p { margin-top:8px; }

/* ==== 固定ページ（ブロックエディタ）で編集する STORY / ABOUT US ==== */
.story-body > * + *, .about-body > * + * { margin-top: 0; }
.story-body .wp-block-media-text,
.about-body .wp-block-media-text {
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 0 72px;
}
.story-body .wp-block-media-text.has-media-on-the-right,
.about-body .wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr 1fr; }
.story-body .wp-block-media-text__content,
.about-body .wp-block-media-text__content { padding: 0; align-self: start; font-size: 14px; line-height: 1.9; color: #444; }
.story-body .wp-block-media-text__media,
.about-body .wp-block-media-text__media { position: relative; z-index: 1; align-self: start; }
.story-body .wp-block-media-text__media img { width: 100%; height: 260px; object-fit: cover; border: 1px solid #bbb; display: block; }
.about-body .wp-block-media-text__media img { width: 100%; height: 240px; object-fit: cover; border: 1px solid #bbb; display: block; }
.story-body .wp-block-media-text { padding: 70px 0 95px; position: relative; }
.story-body .wp-block-media-text + .wp-block-media-text::after {
  content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, #ddd7cf 0 43%, transparent 43% 57%, #ddd7cf 57% 100%);
}
.story-body .wp-block-media-text__content h3 { font-size: 24px; font-weight: 700; margin: 0 0 16px; color: #29211B; }
.story-body .wp-block-media-text__content p, .about-body .wp-block-media-text__content p { margin: 0 0 18px; }
.about-body .wp-block-media-text__content h2 { font-size: 42px; font-weight: 400; letter-spacing: .12em; color: #24425C; margin: 0 0 28px; }
.about-body .wp-block-media-text__content h2::after { content: ""; display: block; width: 48px; height: 1px; background: #333; margin-top: 18px; }
.about-body .wp-block-media-text__content p:first-of-type { font-size: 16px; color: #222; line-height: 1.9; }
@media (max-width: 768px) {
  .story-body .wp-block-media-text, .about-body .wp-block-media-text { grid-template-columns: 1fr !important; gap: 24px; }
  .story-body .wp-block-media-text { padding: 45px 0 60px; }
  .story-body .wp-block-media-text .wp-block-media-text__media, .about-body .wp-block-media-text .wp-block-media-text__media { grid-column: 1; grid-row: 1; }
  .story-body .wp-block-media-text .wp-block-media-text__content, .about-body .wp-block-media-text .wp-block-media-text__content { grid-column: 1; grid-row: 2; }
}

.card-item .ci-noimg { display:block; width:100%; height:100%; background:#E8E1D0 url('../images/yoshiwara-tsunagi-noimg.svg') center / 90px auto repeat; opacity:.6; }

/* 体験スペック：トップ以外（体験の詳細ページ）でも同じ見た目にする */
.exp-meta { display:flex; flex-direction:column; gap:16px; padding:22px 0; border-top:2px solid #B9AD8E; border-bottom:2px solid #B9AD8E; margin:0 0 24px; }
.single-experience .exp-meta, .post-type-archive-yw_experience .exp-meta { margin: 10px 0 30px; }

/* 体験：トップ／一覧の行表示 */
.exp-item { margin-bottom: 60px; }
.exp-list .exp-item { padding-bottom: 60px; border-bottom: 1px solid #D9CFB8; }
.exp-list .exp-item:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.exp-actions { display:flex; flex-wrap:wrap; gap:12px; }
.experience-feature .exp-text > .btn { background:#fff; color:#24425C; border-color:#24425C; }
.experience-feature .exp-actions .btn-book { background:#9E2F3F; color:#fff; border-color:#9E2F3F; }
.experience-feature .exp-actions .btn-book:hover { background:#fff; color:#9E2F3F; }
.experience-feature .exp-actions .btn-detail { background:#fff; color:#24425C; border-color:#24425C; }
.experience-feature .exp-actions .btn-detail:hover { background:#24425C; color:#fff; }
.exp-list .experience-feature .img-box { height: 400px; }
@media (max-width: 768px) {
  .exp-actions .btn { flex: 1 1 100%; text-align:center; }
  .exp-list .experience-feature .img-box { height: 240px; }
}

/* ==== ニュース／イベント タグ ==== */
.tag { display:inline-block; flex-shrink:0; min-width:78px; text-align:center; font-size:11px; letter-spacing:.1em; line-height:1; padding:6px 10px; border:1px solid; align-self:center; }
.tag-news { color:#24425C; border-color:#24425C; background:#fff; }
.tag-event { color:#24425C; border-color:#24425C; background:#fff; }
.news-list li .row-link { align-items:center; }
.news-event-date { display:block; font-size:12px; color:#6E5F4E; margin-top:2px; }
.card-item .tag { margin-bottom:8px; }
@media (max-width: 768px) {
  .news-list li .row-link { flex-direction:row; flex-wrap:wrap; gap:6px 12px; }
  .news-list li .news-date { width:auto; }
  .news-list li .news-title { flex-basis:100%; }
}

/* 場所カード：種別・見出し・補足 */
.pc-kind { display:inline-block; font-size:12px; color:#24425C; border:1px solid #24425C; background:#fff; padding:1px 8px; margin-bottom:6px; letter-spacing:.04em; }
.place-card .pc-kind { margin-bottom:6px; }
.place-catch { font-size:19px; line-height:1.7; color:#24425C; font-weight:700; margin:18px 0 6px; }
.place-note { font-size:14px; color:#6E5F4E; line-height:1.8; margin:-10px 0 24px; }

/* トップの企業・法人向け枠：固定ページ(btob)の「続きを読む」より前を表示 */
.tob-body { font-size:14px; line-height:1.9; color:#444; margin-bottom:22px; }
.tob-body > *:first-child { margin-top:0; }
.tob-body p { margin:0 0 .8em; font-size:inherit; color:inherit; }
.tob-body h2, .tob-body h3, .tob-body h4 { font-size:16px; color:#24425C; margin:0 0 .6em; }
.tob-body ul { padding-left:1.3em; margin:0 0 .8em; }

/* トップの体験：PCは左右交互、スマホは常に「上：画像／下：説明」 */
@media (min-width: 769px) {
  .exp-alt .exp-item:nth-child(even) { flex-direction: row-reverse; }
}
@media (max-width: 768px) {
  .exp-alt .exp-item { flex-direction: column; }
}

/* 見出しを和風の明朝体に（Shippori Mincho。読み込めない環境ではヒラギノ明朝等） */
h1, h2, h3,
h2.section-title, .page-hero h1, .tob-text h3, .legal-hero h1,
.story-block .text h3, .experience-feature .exp-text h3,
.place-cards h2, .place-catch, .single-title, .entry-title {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}
h1, h2, h3 { font-weight: 500; }
.experience-feature .exp-text h3, .story-block .text h3, .tob-text h3 { font-weight: 700; }

/* トップの英語見出し（NEWS／STORY／EXPERIENCE／ABOUT US など）は元のフォントのまま */
h2.section-title { font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; font-weight: 400; }

/* ===== 横長の場所カード（文中埋め込み／下部一覧） ===== */
.place-list { display:flex; flex-direction:column; gap:20px; }
.place-embed { display:flex; width:100%; margin:2em 0; background:#FDFCFA; border:1px solid #D9CFB8; border-left:4px solid #9E2F3F; text-decoration:none !important; color:inherit !important; transition:box-shadow .25s, border-color .25s; }
.place-list .place-embed { margin:0; }
.place-embed:hover { border-color:#9E2F3F; box-shadow:0 6px 18px rgba(0,0,0,.10); }
.place-embed .pe-img { flex:0 0 38%; max-width:38%; min-height:200px; background:#eee; overflow:hidden; display:block; }
.place-embed .pe-img img { width:100%; height:100%; object-fit:cover; display:block; margin:0; }
.place-embed .pe-body { flex:1; min-width:0; padding:20px 24px; display:flex; flex-direction:column; gap:8px; }
.place-embed .pc-kind { align-self:flex-start; }
.place-embed .pe-title { font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; font-size:21px; font-weight:700; color:#29211B; line-height:1.5; }
.place-embed .pe-catch { font-size:13px; color:#6E5F4E; line-height:1.8; }
.place-embed .pe-specs { display:flex; flex-direction:column; gap:6px; border-top:1px solid #D9CFB8; padding-top:10px; margin-top:2px; }
.place-embed .pe-row { display:flex; gap:12px; font-size:13px; line-height:1.7; }
.place-embed .pe-label { flex:0 0 5.5em; color:#9E2F3F; font-weight:700; font-size:12px; }
.place-embed .pe-val { color:#29211B; }
.place-embed .pe-more { margin-top:auto; align-self:flex-end; font-size:13px; color:#24425C; font-weight:700; }
.place-embed:hover .pe-more { color:#9E2F3F; }
@media (max-width:768px) {
  .place-embed { flex-direction:column; }
  .place-embed .pe-img { flex:none; max-width:100%; min-height:0; height:200px; }
  .place-embed .pe-body { padding:16px 18px; }
  .place-embed .pe-row { flex-direction:column; gap:0; }
}

.place-embed .pe-head { display:flex; flex-direction:column; gap:8px; }
@media (max-width:768px) {
  .place-embed { display:grid; grid-template-columns:96px 1fr; grid-template-areas:"img head" "body body"; column-gap:14px; row-gap:10px; padding:12px; }
  .place-embed .pe-img { grid-area:img; width:96px; height:96px; min-height:0; max-width:none; flex:none; }
  .place-embed .pe-body { display:contents; }
  .place-embed .pe-head { grid-area:head; align-self:center; gap:6px; }
  .place-embed .pe-title { font-size:17px; }
  .place-embed .pe-catch { grid-column:1 / -1; display:block; font-size:13px; }
  .place-embed .pe-specs { display:none; }
  .place-embed .pe-more { grid-column:1 / -1; justify-self:end; }
  .place-embed:not(:has(.pe-img)) { grid-template-columns:1fr; grid-template-areas:"head" "body"; }
}
.place-embed .pe-label { flex:0 0 8em; white-space:nowrap; }
@media (max-width:768px) { .place-embed .pe-label { flex:none; } }

/* ===== 年表（横並び／スマホは縦） ===== */
.yw-timeline { list-style:none; margin:1.6em 0 2em; padding:0; display:grid; grid-template-columns:repeat(6,1fr); gap:0; position:relative; }
.yw-timeline::before { content:""; position:absolute; left:0; right:0; top:11px; height:2px; background:#B9AD8E; }
.yw-timeline li { position:relative; padding:34px 10px 0 0; margin:0; }
.yw-timeline li::before { content:""; position:absolute; left:0; top:4px; width:16px; height:16px; border-radius:50%; background:#FDFCFA; border:3px solid #9E2F3F; box-sizing:border-box; }
.yw-timeline li.is-end::before { background:#24425C; border-color:#24425C; }
.yw-timeline .tl-year { display:block; font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; font-size:22px; font-weight:700; color:#9E2F3F; line-height:1.2; }
.yw-timeline .tl-era { display:block; font-size:11px; color:#6E5F4E; margin:2px 0 8px; }
.yw-timeline .tl-text { display:block; font-size:13px; line-height:1.7; color:#29211B; }
@media (max-width:768px) {
  .yw-timeline { grid-template-columns:1fr; }
  .yw-timeline::before { left:7px; right:auto; top:8px; bottom:8px; width:2px; height:auto; }
  .yw-timeline li { padding:0 0 22px 32px; }
  .yw-timeline li::before { left:0; top:2px; }
  .yw-timeline .tl-year { font-size:20px; }
  .yw-timeline .tl-text { font-size:14px; }
}

/* ===== 歴史ページ上部：流れる画像 ===== */
.page-marquee { overflow:hidden; height:300px; background:#111; margin-top:10px; }
.page-marquee-track { display:flex; height:100%; width:max-content; animation:pm-scroll 90s linear infinite; }
.page-marquee-track img { height:100%; width:auto; flex-shrink:0; object-fit:cover; display:block; }
@keyframes pm-scroll { from { transform:translate3d(0,0,0); } to { transform:translate3d(-33.3333%,0,0); } }
@media (max-width:768px) { .page-marquee { height:190px; } }
@media (prefers-reduced-motion:reduce) { .page-marquee-track { animation:none; } }
.story-section--plain .inner::before { display:none; }

/* ===== 歴史ページ本文：章タイトルとリード文を大きく ===== */
.story-body.entry-content h2 { font-size:32px; line-height:1.5; margin-top:2.8em; padding-bottom:12px; border-bottom-width:2px; }
.story-body.entry-content > h2:first-child { margin-top:0.6em; }
.story-body.entry-content h3 { font-size:21px; margin-top:2em; }
.story-body.entry-content p:has(> strong:only-child) { font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; font-size:21px; line-height:1.7; color:#29211B; margin-top:1em; }
.story-body.entry-content p:has(> strong:only-child) strong { font-weight:700; }
@media (max-width:768px) {
  .story-body.entry-content h2 { font-size:25px; }
  .story-body.entry-content h3 { font-size:18px; }
  .story-body.entry-content p:has(> strong:only-child) { font-size:17px; }
}
.story-body.entry-content p:has(> strong:only-child) + * { margin-top:1.8em; }
@media (max-width:768px) { .story-body.entry-content p:has(> strong:only-child) + * { margin-top:1.4em; } }

/* ===== 本文内の表（団体概要など） ===== */
.entry-content .wp-block-table table { width:100%; border-collapse:collapse; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td { border:0; border-bottom:1px solid #D9CFB8; padding:14px 8px; text-align:left; vertical-align:top; font-size:15px; line-height:1.8; }
.entry-content .wp-block-table th { width:7em; font-weight:700; color:#29211B; white-space:nowrap; }
.entry-content .wp-block-table tr:first-child th, .entry-content .wp-block-table tr:first-child td { border-top:2px solid #B9AD8E; }
.entry-content .wp-block-table tr:last-child th, .entry-content .wp-block-table tr:last-child td { border-bottom:2px solid #B9AD8E; }
.entry-content .wp-block-table { margin:1.6em 0 1em; }
.entry-content .wp-block-table tr:first-child th, .entry-content .wp-block-table tr:first-child td { border-top:1px solid #D9CFB8; }

/* トップSTORY：見出し下の一文・各ブロックのサブタイトル */
.story-lead { font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; font-size:20px; line-height:1.8; color:#29211B; margin:0 0 30px; }
.story-block .text .story-sub { font-size:14px; color:#6E5F4E; letter-spacing:.06em; margin:-4px 0 12px; }
.story-block .text p + p { margin-top:1em; }
@media (max-width:768px) { .story-lead { font-size:17px; margin-bottom:22px; } }

/* ===== 引用（取材コメントなど：「引用」ブロック＋出典に名前・肩書き） ===== */
.entry-content blockquote, .entry-content .wp-block-quote { margin:2.2em 0; padding:22px 26px 18px 30px; background:#FDFCFA; border:0; border-left:4px solid #24425C; position:relative; }
.entry-content .wp-block-quote p { font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; font-size:19px; line-height:2; color:#29211B; margin:0; }
.entry-content .wp-block-quote p + p { margin-top:.8em; }
.entry-content .wp-block-quote cite { display:block; margin-top:14px; text-align:right; font-style:normal; font-size:13px; color:#6E5F4E; letter-spacing:.05em; }
.entry-content .wp-block-quote cite::before { content:"― "; }
@media (max-width:768px) { .entry-content blockquote, .entry-content .wp-block-quote { padding:16px 18px 14px 20px; } .entry-content .wp-block-quote p { font-size:16px; } }

/* リンクカード（外部サイトへの案内）：場所カードと同じ横長カード。縦線は紺 */
.place-embed.link-embed { border-left-color:#24425C; }
.place-embed.link-embed .pe-catch { font-size:14px; color:#4A4038; }

/* トップSTORY：章名（01｜…）は小さく、特徴を表すサブタイトルを大きく */
.story-block .text h3 { font-size:17px; font-weight:500; color:#6E5F4E; letter-spacing:.08em; margin-bottom:6px; }
.story-block .text .story-sub { font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; font-size:30px; font-weight:700; line-height:1.5; letter-spacing:.02em; color:#29211B; margin:0 0 18px; }
@media (max-width:768px) {
  .story-block .text h3 { font-size:15px; }
  .story-block .text .story-sub { font-size:23px; margin-bottom:14px; }
}

/* ===== 歴史ページ冒頭：メインタイトルを大きく／段落の間隔 ===== */
.story-body.entry-content > p:first-child:has(> strong:only-child) { font-size:40px; line-height:1.5; letter-spacing:.03em; margin-top:.4em; }
.story-body.entry-content > p:nth-child(2):has(> strong:only-child) { font-size:24px; color:#6E5F4E; margin-top:.6em; }
.story-body.entry-content > p + p { margin-top:1.3em; }
.story-body.entry-content > p:first-child:has(> strong:only-child) + p { margin-top:.6em; }
.story-body.entry-content > p:nth-child(2):has(> strong:only-child) + p { margin-top:1.8em; }
@media (max-width:768px) {
  .story-body.entry-content > p:first-child:has(> strong:only-child) { font-size:27px; }
  .story-body.entry-content > p:nth-child(2):has(> strong:only-child) { font-size:18px; }
}

.place-map-btn { margin:-6px 0 26px; }
.place-map-btn .btn { text-decoration:none; }

/* 場所カード詳細：ページ下部の埋め込み地図 */
.place-map { margin-top:50px; }
.place-map h2 { font-size:20px; color:#24425C; margin-bottom:16px; padding-bottom:8px; border-bottom:1px solid #C9B99A; }
.place-map-frame { position:relative; width:100%; height:380px; background:#E8E1D0; border:1px solid #D9CFB8; }
.place-map-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.place-map-link { margin-top:10px; text-align:right; font-size:13px; }
.place-map-link a { color:#24425C; }
@media (max-width:768px) { .place-map-frame { height:300px; } }

/* 場所カード詳細：画面幅いっぱいの地図 */
.place-map-full { margin-top:20px; padding-bottom:50px; }
.place-map-full h2 { font-size:20px; color:#24425C; margin-bottom:16px; padding-bottom:8px; border-bottom:1px solid #C9B99A; }
.place-map-full .place-map-frame { height:440px; border-left:0; border-right:0; }
@media (max-width:768px) { .place-map-full .place-map-frame { height:320px; } }

/* 地図：左右の余白をなくし、見出しの開始位置を本文に合わせる */
section.place-map-full { padding:0 20px 60px; border-bottom:0; }
.place-map-full .inner { max-width:860px; }
.place-map-full .place-map-frame { width:calc(100% + 40px); margin-left:-20px; margin-right:-20px; }
.place-map-full h2 { letter-spacing:.1em; }

/* トップSTORY：リード文を目立たせ、直下の写真との間隔を詰める */
.story-lead { font-size:34px; font-weight:700; line-height:1.6; letter-spacing:.04em; color:#24425C; margin:0 0 0; }
.story-section .story-lead + .story-block { padding-top:36px; }
@media (max-width:768px) { .story-lead { font-size:22px; margin-bottom:0; } .story-section .story-lead + .story-block { padding-top:24px; } }

/* 場所ページ MAP見出しの下線をなくす */
.place-map-full h2 { border-bottom:0; padding-bottom:0; margin-bottom:14px; }
.place-map-full h2::after { display:none; }

/* NEWS • EVENT 見出しの中点 */
.section-title .st-dot { margin:0 .15em; font-size:.7em; vertical-align:.12em; }

/* ===== トップ：スポット地図（Leaflet） ===== */
.spot-map-section { background:#F3EFE5; padding:70px 0 0; }
.spot-map-lead { margin:0 0 24px; font-size:14px; color:#6E5F4E; }
.spot-map-wrap { width:100%; }
.spot-map { width:100%; background:#E8E2D2; z-index:0; }
.spot-pin span { display:block; width:28px; height:28px; border-radius:50% 50% 50% 0; background:#9E2F3F; transform:rotate(-45deg); border:2px solid #FDFCFA; box-shadow:0 2px 6px rgba(0,0,0,.35); box-sizing:border-box; position:relative; }
.spot-pin span::after { content:""; position:absolute; width:8px; height:8px; border-radius:50%; background:#FDFCFA; top:8px; left:8px; }
.spot-pop { font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; }
.spot-pop img { display:block; width:100%; height:110px; object-fit:cover; margin-bottom:8px; }
.spot-pop-kind { display:inline-block; font-size:11px; color:#24425C; border:1px solid #24425C; padding:1px 6px; margin-bottom:4px; }
.spot-pop strong { display:block; font-size:15px; color:#29211B; margin-bottom:6px; }
.spot-pop-link { font-size:13px; color:#9E2F3F; text-decoration:underline; }
@media (max-width:768px) { .spot-map-section { padding-top:50px; } .spot-map { height:400px !important; } }

/* トップの背景の交互配置：MAP=白 / EXPERIENCE=ベージュ / ABOUT=白 */
.spot-map-section { background:#FDFCFA; }
#activity.section-white-bg { background:#F3EFE5; }
#about.section-last { background:#FDFCFA; }

/* MAPエリアをコンパクトに */
.spot-map-section { padding:50px 0 0; }
.spot-map-lead { margin-bottom:18px; }
@media (max-width:768px) { .spot-map-section { padding-top:36px; } .spot-map { height:280px !important; } }

/* 地図の見た目（Customizerで切替）：タイルだけに色フィルタ。ピンはそのまま */
.spot-map[data-style="mono"] .leaflet-tile-pane { filter:grayscale(1) contrast(.92) brightness(1.08); }
.spot-map[data-style="sepia"] .leaflet-tile-pane { filter:sepia(.45) saturate(.9) contrast(.95) brightness(1.03); }
@media (max-width:768px) { .spot-map { height:360px !important; } }
@media (max-width:768px) { .spot-map { height:440px !important; } }

/* ピンを大きく */
.spot-pin span { width:40px; height:40px; border-width:3px; }
.spot-pin span::after { width:12px; height:12px; top:11px; left:11px; }
.spot-map-section .inner { padding-bottom:24px; }

/* スポット詳細：紐づいたページの横長ボックス */
.place-linked { margin-top:50px; }
.place-linked h2 { font-size:20px; color:#24425C; margin-bottom:16px; padding-bottom:8px; border-bottom:1px solid #C9B99A; }
.place-linked .place-embed .pe-body { justify-content:center; }
section.place-linked { padding:0; border-bottom:0; margin-top:60px; }

/* 団体についてページ：スポット地図（枠いっぱい） */
.place-map-frame .spot-map { position:absolute; inset:0; height:100% !important; }

/* ===== お問い合わせフォーム ===== */
.yw-form { margin:30px 0 10px; }
.yw-form p { margin:0 0 22px; }
.yw-form label { display:block; }
.yw-lbl { display:block; font-size:14px; font-weight:700; color:#29211B; margin-bottom:8px; }
.yw-lbl em { font-style:normal; font-size:11px; color:#9E2F3F; border:1px solid #9E2F3F; padding:1px 6px; margin-left:10px; font-weight:500; letter-spacing:.05em; }
.yw-form input[type=text], .yw-form input[type=email], .yw-form select, .yw-form textarea { width:100%; box-sizing:border-box; font:inherit; font-size:16px; padding:13px 14px; background:#FDFCFA; border:1px solid #B9AD8E; border-radius:0; color:#29211B; }
.yw-form textarea { resize:vertical; line-height:1.8; }
.yw-form input:focus, .yw-form select:focus, .yw-form textarea:focus { outline:2px solid #24425C; outline-offset:0; border-color:#24425C; }
.yw-agree label { font-size:14px; }
.yw-agree input { margin-right:6px; }
.yw-submit { margin-top:30px; }
.yw-submit .btn { min-width:240px; cursor:pointer; font-size:16px; }
.yw-hp { position:absolute; left:-9999px; height:0; overflow:hidden; }
.yw-form-msg { padding:16px 18px; margin:24px 0; font-size:15px; line-height:1.8; border:1px solid; }
.yw-form-msg.ok { background:#F1F6EE; border-color:#7BA16B; color:#2C4A21; }
.yw-form-msg.err { background:#FBEFEF; border-color:#9E2F3F; color:#6B1F2B; }
.yw-contact-mail { margin-top:36px; font-size:14px; color:#6E5F4E; }
@media (max-width:768px) { .yw-submit .btn { width:100%; } }
.yw-form fieldset.yw-type { border:0; padding:0; margin:0 0 26px; }
.yw-form fieldset.yw-type legend { padding:0; }
.yw-form .yw-radio { display:flex; align-items:center; gap:10px; padding:8px 0; font-size:15px; cursor:pointer; }
.yw-form .yw-radio input { width:18px; height:18px; margin:0; accent-color:#24425C; }
.yw-form input[type=tel] { width:100%; box-sizing:border-box; font:inherit; font-size:16px; padding:13px 14px; background:#FDFCFA; border:1px solid #B9AD8E; border-radius:0; color:#29211B; }
.yw-form input[type=tel]:focus { outline:2px solid #24425C; border-color:#24425C; }
/* お問い合わせの種類：PCは横2列×縦2段、スマホは縦並び */
.yw-form .yw-radios { display:grid; grid-template-columns:repeat(2, 1fr); gap:0 24px; }
@media (max-width:768px) { .yw-form .yw-radios { grid-template-columns:1fr; } }

/* トップSTORY：リード文の下の余白を広げる */
.story-section .story-lead + .story-block { padding-top:68px; }
@media (max-width:768px) { .story-section .story-lead + .story-block { padding-top:34px; } }

/* ボタンが押せない・ホバーが効かない問題の修正：
   直前の位置指定ブロック（STORYの各ブロック等）が、ボタンの上に重なっていたため、ボタンを前面に出す */
.story-more { position:relative; z-index:5; margin-top:0; }
.btn { position:relative; z-index:2; }
.story-section .story-more { padding-top:10px; }

/* ==== STORY（トップ）：全幅写真＋下に白パネル ==== */
.story-section--wide .inner::before { display:none; }
.story-section--wide { padding-bottom:90px; }
.story-section--wide .story-lead { margin-bottom:60px; }
.sw-list { display:block; }
.sw-block { position:relative; margin:0 0 90px; }
.sw-img { height:520px; overflow:hidden; background:#d9cfb8; }
.sw-img img { width:100%; height:100%; object-fit:cover; display:block; }
.sw-panel {
  position:relative; z-index:2; margin-top:-110px;
  width:72%; box-sizing:border-box; background:#FDFCFA;
  padding:56px 64px 64px max(20px, calc((100vw - 1100px) / 2));
  display:grid; grid-template-columns:minmax(220px, 34%) 1fr; gap:48px; align-items:start;
}
.sw-head h3 { font-size:17px; font-weight:500; color:#6E5F4E; letter-spacing:.08em; margin:0 0 8px; }
.sw-head .story-sub { font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; font-size:28px; font-weight:700; line-height:1.5; color:#24425C; margin:0; }
.sw-text { font-size:15px; line-height:2; }
.sw-text p { margin:0; }
.sw-text p + p { margin-top:1em; }
.story-section--wide .story-more { margin-top:0; padding-top:0; }
@media (max-width:768px) {
  .story-section--wide { padding-bottom:60px; }
  .sw-block { margin-bottom:56px; }
  .sw-img { height:260px; }
  .sw-panel { width:calc(100% - 20px); margin-top:-36px; padding:30px 20px 34px; grid-template-columns:1fr; gap:16px; }
  .sw-head .story-sub { font-size:22px; }
  .sw-text { font-size:14px; }
}

/* STORY（トップ）：左右の余白をなくし、パネルを左右交互に */
section.story-section--wide { padding-left:0; padding-right:0; }
.story-section--wide > .inner { padding-left:20px; padding-right:20px; box-sizing:border-box; }
.sw-block:nth-child(even) .sw-panel {
  margin-left:auto;
  padding:56px max(20px, calc((100vw - 1100px) / 2)) 64px 64px;
}
@media (max-width:768px) {
  .sw-block:nth-child(even) .sw-panel { margin-left:auto; padding:30px 20px 34px; }
  .sw-block:nth-child(odd) .sw-panel { margin-right:auto; }
}

/* STORY（トップ）：パネル内は「上にタイトル／下に本文」の縦並び */
.sw-panel, .sw-block:nth-child(even) .sw-panel { grid-template-columns:1fr; gap:22px; padding-top:48px; padding-bottom:52px; }
.sw-head .story-sub { white-space:nowrap; font-size:30px; }
.sw-text { max-width:820px; }
@media (max-width:768px) {
  .sw-panel, .sw-block:nth-child(even) .sw-panel { gap:14px; padding-top:28px; padding-bottom:32px; }
  .sw-head .story-sub { white-space:normal; font-size:22px; }
}

/* ABOUT US（トップ）：画像を左・上いっぱいに、正方形で大きく */
section#about.section-last { padding-top:0; padding-left:0; padding-right:0; }
#about .about-content { max-width:none; margin:0; display:grid; grid-template-columns:44% 1fr; gap:0; align-items:start; }
#about .about-images { display:block; }
#about .about-images .img-box.photo { height:auto; aspect-ratio:1 / 1; border:0; }
#about .about-images .img-box.photo img { width:100%; height:100%; object-fit:cover; display:block; border:0; }
#about .about-text { padding:90px max(20px, calc((100vw - 1100px) / 2)) 0 64px; }
#about > .inner:last-child { padding-left:20px; padding-right:20px; box-sizing:border-box; }
@media (max-width:768px) {
  #about .about-content { grid-template-columns:1fr; }
  #about .about-images .img-box.photo { aspect-ratio:4 / 3; }
  #about .about-text { padding:40px 20px 0; }
}

/* ABOUT US（トップ）：画像を上にせり出し、下の余白を詰める */
section#about.section-last { position:relative; z-index:3; overflow:visible; padding-bottom:80px; }
#about .about-images { margin-top:-90px; position:relative; z-index:2; }
#about > .inner:last-child { margin-top:30px !important; }
@media (max-width:768px) {
  section#about.section-last { padding-bottom:60px; }
  #about .about-images { margin-top:-40px; }
}

/* NEWS下／STORY上の余白を詰める */
section#news { padding-bottom:50px; }
section#story.story-section--wide { padding-top:50px; }
@media (max-width:768px) { section#news { padding-bottom:36px; } section#story.story-section--wide { padding-top:36px; } }

/* 現在のページのメニュー表示 */
nav a.is-current { color:#9E2F3F; border-bottom-color:#9E2F3F; }
nav a.nav-btn.is-current { background:#9E2F3F; border-color:#9E2F3F; color:#fff; }

/* ==== STORY詳細：トップと同じ「全幅写真＋白パネル」を交互に ==== */
.sh-wrap { background:#f3efe5; padding:40px 0 10px; }
.sh-wrap .sw-block { margin-bottom:90px; }
.sh-block .sw-panel { padding-bottom:70px; }
.sh-body { max-width:860px; }
.sh-body h3 { font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; font-size:21px; font-weight:700; color:#24425C; margin:2em 0 .6em; line-height:1.6; }
.sh-body > h3:first-child { margin-top:0; }
.sh-body p { margin:0 0 1em; }
.sh-body .yw-timeline { grid-template-columns:1fr; margin:1.4em 0 2em; }
.sh-body .yw-timeline::before { left:7px; right:auto; top:8px; bottom:8px; width:2px; height:auto; }
.sh-body .yw-timeline li { padding:0 0 20px 32px; }
.sh-body .yw-timeline li::before { left:0; top:2px; }
.sh-body .place-embed, .sh-body .wp-block-yoshiwara-place { margin:1.6em 0; }
@media (max-width:768px) { .sh-wrap .sw-block { margin-bottom:56px; } .sh-body h3 { font-size:18px; } }

/* STORY詳細の年表：PCは横並び、スマホは縦 */
.sh-body { max-width:none; }
.sh-body > p, .sh-body > h3 { max-width:820px; }
.sh-body .yw-timeline { grid-template-columns:repeat(6, 1fr); margin:1.8em 0 2.2em; }
.sh-body .yw-timeline::before { left:0; right:0; top:11px; bottom:auto; width:auto; height:2px; }
.sh-body .yw-timeline li { padding:34px 10px 0 0; }
.sh-body .yw-timeline li::before { left:0; top:4px; }
@media (max-width:768px) {
  .sh-body .yw-timeline { grid-template-columns:1fr; }
  .sh-body .yw-timeline::before { left:7px; right:auto; top:8px; bottom:8px; width:2px; height:auto; }
  .sh-body .yw-timeline li { padding:0 0 20px 32px; }
  .sh-body .yw-timeline li::before { left:0; top:2px; }
}

/* STORY詳細：サブテキストが本文側に残った場合の保険 */
.sh-body > p:first-child:has(> strong:only-child) { font-family:"Shippori Mincho","Hiragino Mincho ProN",serif; font-size:28px; line-height:1.5; color:#24425C; margin-bottom:1em; }
.sh-body > p:first-child:has(> strong:only-child) strong { font-weight:700; }
@media (max-width:768px) { .sh-body > p:first-child:has(> strong:only-child) { font-size:22px; } }

/* トップ：「吉原の歴史をもっと詳しく」ボタンを大きく・目立たせる */
.story-section--wide .story-more .btn {
  padding:22px 64px; font-size:18px; font-weight:700; letter-spacing:.1em;
  background:#24425C; color:#fff; border-color:#24425C; min-width:380px; text-align:center;
}
.story-section--wide .story-more .btn:hover { background:#9E2F3F; border-color:#9E2F3F; color:#fff; }
@media (max-width:768px) {
  .story-section--wide .story-more .btn { display:block; min-width:0; width:100%; box-sizing:border-box; padding:18px 20px; font-size:16px; }
}

/* 団体について：ページ最上部〜地図の直前まで、白い吉原つなぎを縦に連ねる（広い画面のみ） */
.about-chain { position: relative; overflow: hidden; }
.about-chain .inner { position: relative; z-index: 1; }
.about-chain .place-map-frame { position: relative; z-index: 2; }
@media (min-width: 1180px) {
  .about-chain::after {
    content: ""; position: absolute; top: 0; bottom: 60px; right: calc(50% - 350px); width: 135.09px;
    background: url("../images/yoshiwara-tsunagi-noimg.svg") center top / 135.09px auto repeat-y;
    pointer-events: none; z-index: 0;
  }
}

/* ヒーロー：ロゴ（日英共通・白）を中央に */
.hero::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:rgba(20,16,12,.22); }
.hero .hero-logo { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); z-index:2; width:min(680px, 72vw); pointer-events:none; }
.hero .hero-logo img { display:block; width:100%; height:auto; filter:drop-shadow(0 2px 14px rgba(0,0,0,.45)); }
@media (max-width:768px) { .hero .hero-logo { width:80vw; } }

/* ヘッダーロゴ（横長・赤） */
header .site-title img { height:26px; width:auto; }
@media (max-width:768px) { header .site-title { min-width:auto; flex-shrink:0; } header .site-title img { height:22px; width:39px; max-width:none; max-height:none; } }

/* スマホ：トップのNEWS一覧は「日付＋タイトル」だけにして見た目を揃える */
@media (max-width: 768px) {
  #news .news-list .tag, #news .news-list .news-event-date { display:none; }
  #news .news-list li .row-link { flex-direction:column; align-items:flex-start; gap:4px; }
  #news .news-list li .news-title { flex-basis:auto; }
}

/* ヘッダーメニュー：文字を大きく・太くし、現在ページは赤文字（下線なし） */
nav a.is-current, nav a:hover { border-bottom-color:transparent; }
nav a:not(.nav-btn):hover { color:#9E2F3F; border-color:transparent; }
nav a.is-current:not(.nav-btn) { color:#9E2F3F; border-bottom-color:transparent; }
@media (min-width: 769px) {
  nav a { font-size:15.5px; font-weight:700; letter-spacing:.1em; }
  nav ul { gap:34px; }
  nav a.nav-btn { padding:10px 22px; }
}
@media (max-width: 768px) {
  nav a { font-weight:700; }
}

/* お問い合わせボタン：紺色 */
nav a.nav-btn { background:#24425C; border-color:#24425C; color:#fff; }
nav a.nav-btn:hover, nav a.nav-btn.is-current { background:#9E2F3F; border-color:#9E2F3F; color:#fff; }

/* お問い合わせボタンの大きさは従来どおり */
@media (min-width: 769px) { nav a.nav-btn { font-size:13px; font-weight:400; letter-spacing:.08em; padding:8px 18px; } }
@media (max-width: 768px) { nav a.nav-btn { font-weight:400; } }

/* 見出しの「浮き上がり」アニメーション（assets/js/reveal.js）。全体がいっしょに動く */
.yw-rv h2.section-title:not(.rv-ready), .yw-rv .page-hero h1:not(.rv-ready), .yw-rv .sw-head h3:not(.rv-ready),
.yw-rv .story-body h2:not(.rv-ready), .yw-rv .about-body h2:not(.rv-ready), .yw-rv .place-map-full h2:not(.rv-ready), .yw-rv .sh-body h3:not(.rv-ready) { opacity:0; }
.rv-t { opacity:0; transform:translateY(34px); transition:opacity .9s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.rv-t.is-in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) { .rv-t { opacity:1; transform:none; transition:none; } }
