

@import url("https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap");





	  
/* 2026-09-22 heading hierarchy correction */
/* 2026-09-23: event article spacing specificity */
body.single-tama_story.tama-visual-article main#main-content .single-main .single-content .tama-event-map + p,
body.single-tama_story.tama-visual-article main#main-content .single-main .single-content .tama-event-summary + p {
	  margin-top: 24px !important;
	}/* 2026-09-23: tighten related-events heading spacing */
body.single-tama_story.tama-visual-article main#main-content .single-main .single-content .tmeh-event-context > h2.tama-event-section-heading {
	  margin-top: 0 !important;
	}

/* 2026-09-23: event article spacing */
body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-map + p,
body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-summary + p {
	  margin-top: 24px !important;
	}
@media (min-width: 901px) {
  body.page-id-23 #tmaf-area-filter-title,
  body.post-type-archive-tama_area .areas-intro h3,
  body.post-type-archive-tama_area .areas-cards h3 {
    font-family: var(--tama-pop) !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
  }
}



/* 2026-09-22 all articles: mobile paragraph rhythm */

/* 2026-09-22 all story articles: unify desktop paragraph rhythm */
@media screen and (min-width: 901px) {
  body.single-tama_story .single-main .single-content > p:not(.section-label):not(.tama-event-eyebrow):not(.tama-article-toc__eyebrow):not(.tama-story-share__status):not(.tama-event-highlight):not(.tmeh-kicker),
  body.single-tama_story .single-main .single-content .tama-event-location,
  body.single-tama_story .single-main .single-content .tama-event-note,
  body.single-tama_story .single-main .single-content .tama-event-last-note,
  body.single-tama_story .single-main .single-content .tama-event-source,
  body.single-tama_story .single-main .single-content small {
    line-height: 1.75 !important;
    margin-block: 0 1.4em !important;
  }

  body.single-tama_story .single-main .single-content > p:not([class]) + p:not([class]) {
    margin-block-start: 0 !important;
  }
}
@media (max-width: 900px) {

/* 2026-09-22 FAQ geometry: continuous Q/A boxes and centered markers */
@supports selector(h2:has(+ h3)) {
  body.single-tama_story .single-content .tama-event-faq-q,
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q),
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) {
    
    align-items: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    min-height: 56px !important;
    margin-top: 14px !important;
    margin-bottom: 0 !important;
    padding: 15px 18px 15px 16px !important;
    border-top: 1px solid rgb(217, 210, 194) !important;
    border-right: 1px solid rgb(217, 210, 194) !important;
    border-left: 4px solid var(--tama-blue) !important;
    background: var(--tama-white) !important;
    color: var(--tama-ink) !important;
    font-family: var(--tama-pop) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
  }

  body.single-tama_story .single-content .tama-event-faq-q::before,
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q)::before,
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q)::before {
    position: static !important;
    display: grid !important;
    flex: 0 0 26px !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    place-items: center !important;
    color: var(--tama-blue) !important;
    content: "Q" !important;
    font-family: var(--tama-pop) !important;
    font-size: 17px !important;
    line-height: 1 !important;
  }

  body.single-tama_story .single-content .tama-event-faq-a,
  body.single-tama_story .single-content .tama-event-faq > .tama-event-faq-q + p,
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p,
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    box-sizing: border-box !important;
    min-height: 56px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 14px 18px 16px 16px !important;
    border-top: 0 !important;
    border-right: 1px solid rgb(217, 210, 194) !important;
    border-bottom: 1px solid rgb(217, 210, 194) !important;
    border-left: 4px solid var(--tama-blue) !important;
    background: var(--tama-white) !important;
    color: var(--tama-ink) !important;
    font-family: var(--tama-body) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  body.single-tama_story .single-content .tama-event-faq-a::before,
  body.single-tama_story .single-content .tama-event-faq > .tama-event-faq-q + p::before,
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p::before,
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p::before {
    position: static !important;
    display: grid !important;
    flex: 0 0 26px !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    place-items: center !important;
    color: var(--tama-orange-deep) !important;
    content: "A" !important;
    font-family: var(--tama-pop) !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
}

@media (max-width: 900px) {
  body.single-tama_story .single-content .tama-event-faq-q,
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q),
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) {
    min-height: 60px !important;
    padding: 16px 15px 16px 14px !important;
  }

  body.single-tama_story .single-content .tama-event-faq-a,
  body.single-tama_story .single-content .tama-event-faq > .tama-event-faq-q + p,
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p,
  body.single-tama_story .single-conten


/* 2026-09-22 FAQ final geometry: desktop and mobile */

body.single-tama_story .single-content .tama-event-faq-q,
body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q),
body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  gap: 10px !important;
  min-height: 56px !important;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  padding: 15px 18px !important;
  border-top: 1px solid rgb(217, 210, 194) !important;
  border-right: 1px solid rgb(217, 210, 194) !important;
  border-left: 4px solid var(--tama-blue) !important;
  background: var(--tama-white) !important;
}
body.single-tama_story .single-content .tama-event-faq-q::before,
body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q)::before,
body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q)::before {
  position: static !important;
  display: grid !important;
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  place-items: center !important;
  color: var(--tama-blue) !important;
  content: "Q" !important;
  line-height: 1 !important;
}
body.single-tama_story .single-content .tama-event-faq-a,
body.single-tama_story .single-content .tama-event-faq > .tama-event-faq-q + p,
body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p,
body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  gap: 10px !important;
  min-height: 56px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 14px 18px 16px !important;
  border-top: 0 !important;
  border-right: 1px solid rgb(217, 210, 194) !important;
  border-bottom: 1px solid rgb(217, 210, 194) !important;
  border-left: 4px solid var(--tama-blue) !important;
  background: var(--tama-white) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}
body.single-tama_story .single-content .tama-event-faq-a::before,
body.single-tama_story .single-content .tama-event-faq > .tama-event-faq-q + p::before,
body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p::before,
body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p::before {
  position: static !important;
  display: grid !important;
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  place-items: center !important;
  color: var(--tama-orange-deep) !important;
  content: "A" !important;
  font-size: 16px !important;
  line-height: 1 !important;
}
@media (max-width: 900px) {
  body.single-tama_story .single-content .tama-event-faq-q,
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q),
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) {
    min-height: 60px !important;
    padding: 16px 15px !important;
  }
  body.single-tama_story .single-content .tama-event-faq-a,
  body.single-tama_story .single-content .tama-event-faq > .tama-event-faq-q + p,
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p,
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p {
    min-height: 60px !important;
    padding: 16px 15px 18px !important;
  }
}
t h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p {
    min-height: 60px !important;
    padding: 16px 15px 18px 14px !important;
  }
}

  body.single-tama_story .single-content p:not(.section-label):not(.tama-event-eyebrow):not(.tama-event-note):not(.tama-story-share__status) {
    margin-bottom: 1.4em !important;
  }

  body.single-tama_story .single-content p:not(.section-label):not(.tama-event-eyebrow):not(.tama-event-note):not(.tama-story-share__status) + p:not(.section-label):not(.tama-event-eyebrow):not(.tama-event-note):not(.tama-story-share__status) {
    margin-top: 1.4em !important;
  }

  body.single-tama_story .single-content > h2 {
    margin-top: 2.4em !important;
    margin-bottom: .9em !important;
  }

  body.single-tama_story .single-content > h3 {
    margin-top: 1.7em !important;
    margin-bottom: .6em !important;
  }
}

/* 2026-09-22 all articles: Kokubeji FAQ styling for classless Q/A markup */
@supports selector(h2:has(+ h3)) {
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q),
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) {
    position: relative;
    margin-top: 14px;
    padding: 16px 18px 10px 50px;
    border-top: 1px solid rgb(217, 210, 194);
    border-right: 1px solid rgb(217, 210, 194);
    border-left: 4px solid var(--tama-blue);
    background: var(--tama-white);
    color: var(--tama-ink);
    font-family: var(--tama-pop);
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
  }

  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q)::before,
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q)::before {
    position: absolute;
    top: 14px;
    left: 17px;
    color: var(--tama-blue);
    content: "Q";
    font-family: var(--tama-pop);
    font-size: 17px;
    line-height: 1;
  }

  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p,
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p {
    position: relative;
    margin-top: 0;
    padding: 0 18px 16px 50px;
    border-right: 1px solid rgb(217, 210, 194);
    border-bottom: 1px solid rgb(217, 210, 194);
    border-left: 4px solid var(--tama-blue);
    background: var(--tama-white);
    color: var(--tama-ink);
    font-family: var(--tama-body);
    font-size: 15px;
    line-height: 1.9;
  }

  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p::before,
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p::before {
    position: absolute;
    top: 0;
    left: 17px;
    color: var(--tama-orange-deep);
    content: "A";
    font-family: var(--tama-pop);
    font-size: 16px;
    line-height: 1;
  }
}

@media (max-width: 900px) {
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q),
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) {
    padding-right: 15px;
  }

  body.single-

/* 2026-09-22 FAQ Q typography match */
@supports selector(h2:has(+ h3)) {
  body.single-tama_story.tama-visual-article .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q),
  body.single-tama_story.tama-visual-article .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) {
    font-family: var(--tama-pop) !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
  }
}
tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p,
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p {
    padding-right: 15px;
    font-size: 16px;
    line-height: 1.8;
  }
}

/* 2026-09-22 home reading width: match site-wide reading measure */
.home main .section-head > :first-child {
  width: min(var(--tama-reading-width), 100%) !important;
  max-width: var(--tama-reading-width) !important;
}

.home .hero-copy {
  width: min(var(--tama-content), 100%) !important;
  max-width: var(--tama-content) !important;
}

.home .hero-lead {
  width: min(var(--tama-reading-width), 100%) !important;
  max-width: var(--tama-reading-width) !important;
}



/* 2026-09-22 final uniform hierarchy: H3 weight */
@media (min-width: 901px) {
  body.page-id-23 #tmaf-area-filter-title,
  body.post-type-archive-tama_area .areas-intro h3,
  body.post-type-archive-tama_area .areas-cards h3 {
    font-family: var(--tama-pop) !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
  }
}


/* 2026-09-22 final specificity fix */
body.page-template-purpose-guide-layout.page-id-23 #tmaf-area-filter-title {
  font-family: var(--tama-pop) !important;
  font-size: 18px !important;
  line-height: 1.65 !important;
  font-weight: 400 !important;
}

@media (max-width: 900px) {
  body.page-id-23 #tmaf-area-filter-title,
  body.post-type-archive-tama_area .areas-intro h3,
  body.post-type-archive-tama_area .areas-cards h3 {
    font-family: var(--tama-pop) !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
  }
}

@media (max-width: 900px) {
  body.page-id-23 #tmaf-area-filter-title,
  body.post-type-archive-tama_area .areas-intro h3,
  body.post-type-archive-tama_area .areas-cards h3 {
    font-family: var(--tama-pop) !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
  }
}

/* WordPress管理バーとパンくずの重なりを解消 */
body.admin-bar .city-page {
  margin-top: 32px !important;
}
@media (max-width: 782px) {
  body.admin-bar .city-page {
    margin-top: 46px !important;
  }
}


/* パンくずの折り返しを強制 */
.city-page::before {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.8 !important;
}
.city-page .city-official-links {
  color: #252925;
  background: #f7f2e7;
}

.city-page .city-official-links .city-eyebrow,
.city-page .city-official-links .city-related-list b {
  color: #a35b47;
}

.city-page .city-official-links .line-button,
.city-page .city-official-links .city-related-list a {
  color: #252925;
}

.city-page .city-official-links .city-related-list {
  border-top-color: rgba(37, 41, 37, 0.4);
}

/* 英語の地域ページ：欧文をゆったり読みやすく */
html[lang^="en"] .tama-es-area-content .tama-section-redesign p {
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.85;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign .editorial-eyebrow,
html[lang^="en"] .tama-es-area-content .tama-section-redesign .tama-design-index,
html[lang^="en"] .tama-es-area-content .tama-section-redesign .tama-card-lead {
  font-weight: 500;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign h2 {
  letter-spacing: 0.025em;
  line-height: 1.2;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign h3 {
  letter-spacing: 0.03em;
  line-height: 1.35;
}


/* 英語の地域ページ：カード余白とパンくず位置 */
html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-design-index {
  margin-bottom: 0.5rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .wp-block-image {
  margin-bottom: 1.25rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-city-title {
  margin-bottom: 0.75rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-card-lead {
  margin-bottom: 0.875rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-card-lead + .wp-block-paragraph {
  margin-bottom: 1.125rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .has-small-font-size {
  margin-bottom: 0.75rem;
}

html[lang^="en"] body.admin-bar .site-header {
  top: 0;
}

html[lang^="en"] .tama-es-area-content .area-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  max-width: none;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  line-height: 1.5;
}

html[lang^="en"] .tama-es-area-content .area-crumb span {
  margin: 0;
}

@media (max-width: 900px) {
  html[lang^="en"] .tama-es-area-content .area-crumb {
    font-size: 10px;
  }
}

/* 2026-09-04 ヘッダー復元：上段を削除し、携帯は1段＋ハンバーガー */
.site-header {
  background: var(--tama-paper);
  align-items: center;
}

.site-header > .brand,
.site-header > .main-nav {
  align-self: center;
}

body.admin-bar .site-header {
  top: 0;
}

.top-strip {
  display: none;
}

.main-nav a.nav-language-switch {
  display: none;
}

@media (min-width: 901px) {
  .main-nav a.nav-language-switch {
    display: grid;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    min-height: 76px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .menu-button {
    position: relative;
    z-index: auto;
    top: auto;
    right: auto;
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(36, 39, 36, 0.56);
    border-radius: 5px;
    background: #f7f2e7;
    box-shadow: none;
    color: var(--tama-ink);
    font-size: 0;
    line-height: 0;
    transform: none;
  }

  .menu-button::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 19px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    background: var(--tama-ink);
    box-shadow: 0 -6px 0 var(--tama-ink), 0 6px 0 var(--tama-ink);
  }

  .menu-button:hover,
  .menu-button:focus-visible {
    background: #eee8db;
    box-shadow: none;
    color: var(--tama-ink);
    transform: none;
  }

  .main-nav a.nav-language-switch {
    display: flex;
    background: #f6cfb8;
    color: #54291d;
    font-weight: 700;
  }
}


/* 濃いオレンジ背景の文字をサイト全体で白に */
.top-strip,
.hero-kicker,
.news-label,
.page-hero,
.page-hero *,
.form-submit,
.event-filter-submit,
.city-sibling-inner a:hover,
.city-sibling-inner a.is-current,
.nt-course-tag {
  color: #fff !important;
}


/* 本文内リンクを見やすく表示 */
.single-main .single-content a {
  color: #63a8b9 !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.single-main .single-content a:hover,
.single-main .single-content a:focus-visible {
  color: #3f879a !important;
}

/* Footer — operator profile */
.footer-author-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: 0 0 34px;
}
.footer-author-copy {
  max-width: 720px;
}
.footer-author-title {
  margin: 0 0 8px;
  color: var(--tama-white);
  font-family: var(--tama-pop);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
}
.footer-author-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 2;
}
.footer-author-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  color: var(--tama-white);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  font-family: var(--tama-pop);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
}
.footer-author-link:hover,
.footer-author-link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}
.footer-author-link span {
  font-family: var(--tama-body);
  font-size: 16px;
  transition: transform .2s ease;
}
.footer-author-link:hover span,
.footer-author-link:focus-visible span {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .footer-author-note {
    display: block;
    padding-bottom: 30px;
  }
  .footer-author-link {
    margin-top: 16px;
  }
}


/* About page — space between the article and guide box */
@media (min-width: 901px) {
  .about-section .single-main {
    max-width: 720px;
  }
}
@media (max-width: 900px) {
  .about-section .single-side {
    margin-top: 52px;
  }
}


/* イベントページのタイトルを3行程度に収める */
.tmeh-hub .city-hero-copy h1 {
  font-size: clamp(40px, 4vw, 49px);
  letter-spacing: 0.04em;
  line-height: 1.25;
}


/* WordPress管理バーとパンくずの重なりを解消 */
body.admin-bar .city-page {
  margin-top: 32px !important;
}
@media (max-width: 782px) {
  body.admin-bar .city-page {
    margin-top: 46px !important;
  }
}


/* パンくずの折り返しを強制 */
.city-page::before {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.8 !important;
}
.city-page .city-official-links {
  color: #252925;
  background: #f7f2e7;
}

.city-page .city-official-links .city-eyebrow,
.city-page .city-official-links .city-related-list b {
  color: #a35b47;
}

.city-page .city-official-links .line-button,
.city-page .city-official-links .city-related-list a {
  color: #252925;
}

.city-page .city-official-links .city-related-list {
  border-top-color: rgba(37, 41, 37, 0.4);
}

/* 英語の地域ページ：欧文をゆったり読みやすく */
html[lang^="en"] .tama-es-area-content .tama-section-redesign p {
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.85;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign .editorial-eyebrow,
html[lang^="en"] .tama-es-area-content .tama-section-redesign .tama-design-index,
html[lang^="en"] .tama-es-area-content .tama-section-redesign .tama-card-lead {
  font-weight: 500;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign h2 {
  letter-spacing: 0.025em;
  line-height: 1.2;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign h3 {
  letter-spacing: 0.03em;
  line-height: 1.35;
}


/* 英語の地域ページ：カード余白とパンくず位置 */
html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-design-index {
  margin-bottom: 0.5rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .wp-block-image {
  margin-bottom: 1.25rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-city-title {
  margin-bottom: 0.75rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-card-lead {
  margin-bottom: 0.875rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-card-lead + .wp-block-paragraph {
  margin-bottom: 1.125rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .has-small-font-size {
  margin-bottom: 0.75rem;
}

html[lang^="en"] body.admin-bar .site-header {
  top: 0;
}

html[lang^="en"] .tama-es-area-content .area-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  max-width: none;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  line-height: 1.5;
}

html[lang^="en"] .tama-es-area-content .area-crumb span {
  margin: 0;
}

@media (max-width: 900px) {
  html[lang^="en"] .tama-es-area-content .area-crumb {
    font-size: 10px;
  }
}

/* 2026-09-04 ヘッダー復元：上段を削除し、携帯は1段＋ハンバーガー */
.site-header {
  background: var(--tama-paper);
  align-items: center;
}

.site-header > .brand,
.site-header > .main-nav {
  align-self: center;
}

body.admin-bar .site-header {
  top: 0;
}

.top-strip {
  display: none;
}

.main-nav a.nav-language-switch {
  display: none;
}

@media (min-width: 901px) {
  .main-nav a.nav-language-switch {
    display: grid;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    min-height: 76px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .menu-button {
    position: relative;
    z-index: auto;
    top: auto;
    right: auto;
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(36, 39, 36, 0.56);
    border-radius: 5px;
    background: #f7f2e7;
    box-shadow: none;
    color: var(--tama-ink);
    font-size: 0;
    line-height: 0;
    transform: none;
  }

  .menu-button::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 19px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    background: var(--tama-ink);
    box-shadow: 0 -6px 0 var(--tama-ink), 0 6px 0 var(--tama-ink);
  }

  .menu-button:hover,
  .menu-button:focus-visible {
    background: #eee8db;
    box-shadow: none;
    color: var(--tama-ink);
    transform: none;
  }

  .main-nav a.nav-language-switch {
    display: flex;
    background: #f6cfb8;
    color: #54291d;
    font-weight: 700;
  }
}


/* 濃いオレンジ背景の文字をサイト全体で白に */
.top-strip,
.hero-kicker,
.news-label,
.page-hero,
.page-hero *,
.form-submit,
.event-filter-submit,
.city-sibling-inner a:hover,
.city-sibling-inner a.is-current,
.nt-course-tag {
  color: #fff !important;
}


/* 本文内リンクを見やすく表示 */
.single-main .single-content a {
  color: #63a8b9 !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.single-main .single-content a:hover,
.single-main .single-content a:focus-visible {
  color: #3f879a !important;
}

/* Footer — operator profile */
.footer-author-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: 0 0 34px;
}
.footer-author-copy {
  max-width: 720px;
}
.footer-author-title {
  margin: 0 0 8px;
  color: var(--tama-white);
  font-family: var(--tama-pop);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
}
.footer-author-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 2;
}
.footer-author-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  color: var(--tama-white);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  font-family: var(--tama-pop);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
}
.footer-author-link:hover,
.footer-author-link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}
.footer-author-link span {
  font-family: var(--tama-body);
  font-size: 16px;
  transition: transform .2s ease;
}
.footer-author-link:hover span,
.footer-author-link:focus-visible span {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .footer-author-note {
    display: block;
    padding-bottom: 30px;
  }
  .footer-author-link {
    margin-top: 16px;
  }
}


/* About page — space between the article and guide box */
@media (min-width: 901px) {
  .about-section .single-main {
    max-width: 720px;
  }
}
@media (max-width: 900px) {
  .about-section .single-side {
    margin-top: 52px;
  }
}


/* PICK UPセクションを単独の背景色で区切る */
.home main > .event-section + .section {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: transparent;
}
.home main > .event-section + .section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #eaf1e5;
  pointer-events: none;
}

/* 地域比較テーブルを他のセクションと同じ幅に揃える */
@media (min-width: 901px) {
  main > section.areas-intro:not(.areas-north-kitatama) > .areas-intro-inner {
    max-width: none;
    margin-right: 28px;
  }
}

/* 地域比較後の説明文を比較セクションと同じ幅に揃える */
@media (min-width: 901px) {
  main > section.areas-intro:not(.areas-north-kitatama) > .areas-intro-inner > .areas-compare-inline ~ p {
    max-width: none;
  }
}

/* 北多摩の説明文を下の3ボックスと同じ幅に揃える */
@media (min-width: 901px) {
  main > section.areas-north-kitatama > .areas-intro-inner > p:not(.section-label) {
    max-width: none;
  }
}

/* 2026-09 mobile readability pass: keep article display fonts unchanged for now */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .page-hero {
    background: #ad5538;
  }
  body.single-tama_story.tama-visual-article .page-hero-inner h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: normal;
    overflow-wrap: anywhere;
  }
  body.single-tama_story.tama-visual-article .single-main .tama-story-share--top {
    display: none;
  }
  body.single-tama_story.tama-visual-article .single-content > p:not([class]) {
    font-size: 16px;
    line-height: 1.78;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content > p > small {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead {
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-section-heading {
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content h3 {
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight {
    background: #ad5538;
    color: #fff;
    font-size: 15px;
    line-height: 1.75;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-eyebrow {
    color: #ad5538;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-summary li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-timeline li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location,
  body.single-tama_story.tama-visual-article .single-content .tama-event-note,
  body.single-tama_story.tama-visual-article .single-content .tama-event-source {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: normal;
  }
}

/* 2026-09 mobile article typography: improve body and section-heading legibility */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content > p:not([class]),
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead,
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight,
  body.single-tama_story.tama-visual-article .single-content .tama-event-summary li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-timeline li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location,
  body.single-tama_story.tama-visual-article .single-content .tama-event-note,
  body.single-tama_story.tama-visual-article .single-content .tama-event-source {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-section-heading,
  body.single-tama_story.tama-visual-article .single-content h3 {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 700;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-eyebrow,
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight-label {
    font-family: var(--tama-pop);
  }
}



@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .page-hero {
    background: #db744b;
  }
  body.single-tama_story.tama-visual-article .page-hero-inner h1 {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead {
    font-size: 16px;
    line-height: 1.8;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight {
    background: #db744b;
    font-weight: 400;
  }
}

/* 2026-09-22 mobile article rhythm: match model-course reading pace */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content > p:not([class]) {
    font-family: var(--tama-body);
    font-size: 14px;
    line-height: 2.15;
    letter-spacing: 0.64px;
    font-weight: 500;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead {
    font-family: var(--tama-body);
    font-size: 17px;
    line-height: 2;
    letter-spacing: 0.64px;
    font-weight: 400;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight,
  body.single-tama_story.tama-visual-article .single-content .tama-event-summary li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-timeline li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location,
  body.single-tama_story.tama-visual-article .single-content .tama-event-note,
  body.single-tama_story.tama-visual-article .single-content .tama-event-source {
    font-family: var(--tama-body);
    font-size: 14px;
    line-height: 2.15;
    letter-spacing: 0.64px;
    font-weight: 500;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight-label,
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight strong,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location strong {
    font-family: var(--tama-body);
  }
  body.single-tama_story.tama-visual-article .single-content > p > small {
    font-family: var(--tama-body);
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.64px;
  }
}

/* 2026-09-22 mobile article body size: note-style 16px rhythm */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content > p:not([class]),
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead,
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight,
  body.single-tama_story.tama-visual-article .single-content .tama-event-summary li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-timeline li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location,
  body.single-tama_story.tama-visual-article .single-content .tama-event-note,
  body.single-tama_story.tama-visual-article .single-content .tama-event-source {
    font-family: var(--tama-body);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: normal;
    font-weight: 500;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead {
    font-weight: 500;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight strong {
    font-family: var(--tama-body);
    font-size: inherit;
}
  body.single-tama_story.tama-visual-article .single-content > p:not([class]) {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  body.single-tama_story.tama-visual-article .single-content > p > small {
    font-family: var(--tama-body);
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: normal;
  }
}

/* 2026-09-22 mobile article reading surface: white content area */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-main,
  body.single-tama_story.tama-visual-article .single-content {
    background-color: #fff;
  }
}

/* 2026-09-22 rollback: restore article surface and display heading type */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-main,
  body.single-tama_story.tama-visual-article .single-content {
    background-color: transparent;
  }
  body.single-tama_story.tama-visual-article .page-hero-inner h1,
  body.single-tama_story.tama-visual-article .single-content h2,
  body.single-tama_story.tama-visual-article .single-content h3 {
    font-family: var(--tama-pop);
    font-weight: 400;
    letter-spacing: 0.64px;
  }
}

/* 2026-09-22 mobile heading cascade fix */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content .tama-event-section-heading,
  body.single-tama_story.tama-visual-article .single-content h2 {
    font-family: var(--tama-pop) !important;
    font-weight: 400 !important;
    letter-spacing: 0.64px !important;
  }
}

/* 2026-09-22 final mobile body inheritance: opening text equals body */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content > p:not([class]),
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead,
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight,
  body.single-tama_story.tama-visual-article .single-content .tama-event-summary li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-timeline li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location,
  body.single-tama_story.tama-visual-article .single-content .tama-event-note,
  body.single-tama_story.tama-visual-article .single-content .tama-event-source {
    font-family: var(--tama-body);
    font-size: 14px;
    line-height: 2.15;
    letter-spacing: 0.64px;
    font-weight: 500;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight strong {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
}
}




/* 2026-09-22 mobile heading fit: slightly smaller display type */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .page-hero-inner h1 {
    font-size: 22px;
    line-height: 1.45;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-section-heading,
  body.single-tama_story.tama-visual-article .single-content h2 {
    font-size: 20px;
    line-height: 1.45;
  }
  body.single-tama_story.tama-visual-article .single-content h3 {
    font-size: 18px;
    line-height: 1.45;
  }
}

/* 2026-09-22 mobile related-events spacing: separate heading and city button */
@media (max-width: 900px) {
  .tmeh-event-context > h2 + p {
    margin-top: 18px;
  }
}

/* 2026-09-22 reusable FAQ block: Kokubeji article style */
body.single-tama_story.tama-visual-article .single-content .tama-event-faq-q,
body.single-tama_story.tama-visual-article .single-content .tama-event-faq > .tama-event-faq-q {
  position: relative;
  margin-top: 14px;
  padding: 16px 18px 10px 50px;
  border-top: 1px solid rgb(217, 210, 194);
  border-right: 1px solid rgb(217, 210, 194);
  border-left: 4px solid var(--tama-blue);
  background: var(--tama-white);
  color: var(--tama-ink);
  font-family: var(--tama-pop);
  font-size: 17px;
  line-height: 1.7;
}

body.single-tama_story.tama-visual-article .single-content .tama-event-faq-q::before {
  position: absolute;
  top: 14px;
  left: 17px;
  color: var(--tama-blue);
  content: "Q";
  font-family: var(--tama-pop);
  font-size: 17px;
  line-height: 1;
}

body.single-tama_story.tama-visual-article .single-content .tama-event-faq-a,
body.single-tama_story.tama-visual-article .single-content .tama-event-faq > .tama-event-faq-q + p {
  position: relative;
  margin-top: 0;
  padding: 0 18px 16px 50px;
  border-right: 1px solid rgb(217, 210, 194);
  border-bottom: 1px solid rgb(217, 210, 194);
  border-left: 4px solid var(--tama-blue);
  background: var(--tama-white);
  color: var(--tama-ink);
  font-family: var(--tama-body);
  font-size: 15px;
  line-height: 1.9;
}

body.single-tama_story.tama-visual-article .single-content .tama-event-faq-a::before,
body.single-tama_story.tama-visual-article .single-content .tama-event-faq > .tama-event-faq-q + p::before {
  position: absolute;
  top: 0;
  left: 17px;
  color: var(--tama-orange-deep);
  content: "A";
  font-family: var(--tama-pop);
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content .tama-event-faq-q,
  body.single-tama_story.tama-visual-article .single-content .tama-event-faq-a,
  body.single-tama_story.tama-visual-article .single-content .tama-event-faq > .tama-event-faq-q + p {
    padding-right: 15px;
  }

  body.single-tama_story.tama-visual-article .single-content .tama-event-faq-q {
    font-size: 17px;
    line-height: 1.7;
  }

  body.single-tama_story.tama-visual-article .single-content .tama-event-faq-a,
  body.single-tama_story.tama-visual-article .single-content .tama-event-faq > .tama-event-faq-q + p {
    font-size: 14px;
    line-height: 1.9;
  }
}

/* 2026-09-22 category destination heading weight */
body.page-template-purpose-guide-layout #tmaf-archive-listing-title,
body.page-template-purpose-guide-layout #tmaf-area-filter-title,
body.post-type-archive-tama_area .areas-intro h2,
body.post-type-archive-tama_area .areas-cards h2 {
  font-weight: 400;
}

/* 2026-09-22 category destination heading family: match homepage section titles */
body.page-template-purpose-guide-layout #tmaf-archive-listing-title,
body.page-template-purpose-guide-layout #tmaf-area-filter-title,
body.post-type-archive-tama_area .areas-intro h2,
body.post-type-archive-tama_area .areas-cards h2 {
  font-family: var(--tama-pop) !important;
  font-weight: 400 !important;
}

/* 2026-09-22 correction: restore non-event destination headings */
body.page-template-purpose-guide-layout #tmaf-archive-listing-title,
body.page-template-purpose-guide-layout #tmaf-area-filter-title {
  font-family: var(--tama-body) !important;
  font-weight: 700 !important;
}

body.post-type-archive-tama_area .areas-intro h2,
body.post-type-archive-tama_area .areas-cards h2 {
  font-family: var(--tama-pop) !important;
  font-weight: 700 !important;
}

/* 2026-09-22 event page headings: match homepage section title */
body.page-template-purpose-guide-layout #tmeh-events-list-title,
body.page-template-purpose-guide-layout #tmeh-events-calendar-title,
body.page-template-purpose-guide-layout #tmaf-events-condition-title {
  font-family: var(--tama-pop) !important;
  font-weight: 400 !important;
}

body.page-template-purpose-guide-layout #tmaf-events-condition-title {
  font-size: 0 !important;
}

body.page-template-purpose-guide-layout #tmaf-events-condition-title::after {
  display: block;
  content: "多摩でイベントを探す";
  color: inherit;
  font-family: var(--tama-pop);
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.64px;
}

/* 2026-09-22 purpose destination headings: match homepage section title */
body.page-id-19 #tmaf-archive-listing-title,
body.page-id-19 #tmaf-area-filter-title,
body.page-id-20 #tmaf-archive-listing-title,
body.page-id-20 #tmaf-area-filter-title,
body.page-id-22 #tmaf-archive-listing-title,
body.page-id-22 #tmaf-area-filter-title,
body.post-type-archive-tama_area .areas-intro h2,
body.post-type-archive-tama_area .areas-cards h2 {
  font-family: var(--tama-pop) !important;
  font-weight: 400 !important;
}


/* 2026-09-22 unified reading typography and content width */
:root {
  --tama-reading-width: 760px;
}

/* 記事ページを基準にしたページタイトルの階層 */
@media (min-width: 901px) {
  body:not(.home) main .page-hero-inner h1 {
    font-family: var(--tama-pop) !important;
    font-size: 64px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
  }

  body:not(.home) main .single-content > h2 {
    font-family: var(--tama-pop) !important;
    font-size: 28px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
  }

  body.single-tama_story.tama-visual-article .single-content h3 {
    font-family: var(--tama-pop) !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
    font-weight: 400 !important;
  }

  #tmaf-archive-listing-title,
  #tmaf-area-filter-title,
  #tmeh-events-list-title,
  #tmeh-events-calendar-title,
  #tmaf-events-condition-title,
  body.post-type-archive-tama_area .areas-intro h2,
  body.post-type-archive-tama_area .areas-cards h2 {
    font-family: var(--tama-pop) !important;
    font-size: 28px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
  }
}

/* 本文はサイト全体で16pxに統一。ラベル・注記・カード一覧の小さな補助情報は維持 */
body.single-tama_story.tama-visual-article .single-content {
  font-size: 16px !important;
  line-height: 1.8 !important;
}

body.single-tama_story.tama-visual-article .single-content p:not(.section-label):not(.tama-event-eyebrow):not(.tama-event-note):not(.tama-story-share__status),
body.single-tama_story.tama-visual-article .single-content li {
  font-size: 16px !important;
  line-height: 1.8 !important;
}

/* 記事以外の説明文も、記事本文と同じ読み幅・文字サイズに揃える */
body:not(.home) main .page-hero-inner > p:not(.section-label),

body:not(.home) main .tmeh-events-calendar__inner > p:not(.section-label),
body:not(.home) main .tmaf-city-directory__intro > p:not(.section-label) {
  width: min(var(--tama-reading-width), 100%);
  max-width: var(--tama-reading-width) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

/* PCでは外側のページ枠をサイト共通の1180px、本文の読み幅を760pxに統一 */
@media (min-width: 901px) {
  body:not(.home) main > .page-hero > .page-hero-inner,
  body:not(.home) main > .section {
    width: var(--tama-content) !important;
    max-width: 1180px !important;
  }

  body.single-tama_story.tama-visual-article .single-main {
    width: var(--tama-reading-width);
    max-width: var(--tama-reading-width);
  }
}

/* 携帯では記事ページと各ページの説明文を同じ左右余白・読み幅にする */
@media (max-width: 900px) {
  body:not(.home) main .page-hero-inner h1 {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }

  body:not(.home) main .single-content > h2,
  #tmaf-archive-listing-title,
  #tmaf-area-filter-title,
  #tmeh-events-list-title,
  #tmeh-events-calendar-title,
  #tmaf-events-condition-title,
  body.post-type-archive-tama_area .areas-intro h2,
  body.post-type-archive-tama_area .areas-cards h2 {
    font-family: var(--tama-pop) !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
  }

  body.single-tama_story.tama-visual-article .single-content h3 {
    font-family: var(--tama-pop) !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
  }

  body.single-tama_story.tama-visual-article .single-main {
    width: min(var(--tama-reading-width), calc(100% - 36px));
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  body:not(.home) main .page-hero-inner > p:not(.section-label),
  body:not(.home) main .areas-intro-inner > p:not(.section-label),
  body:not(.home) main .tmeh-events-calendar__inner > p:not(.section-label),
  body:not(.home) main .tmaf-city-directory__intro > p:not(.section-label) {
    width: min(var(--tama-reading-width), calc(100% - 36px));
    max-width: none !important;
  }

  body.single-tama_story.tama-visual-article .single-content p:not(.section-label):not(.tama-event-eyebrow):not(.tama-event-note):not(.tama-story-share__status),
  body.single-tama_story.tama-visual-article .single-content li {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }
}

/* WordPress管理バーとパンくずの重なりを解消 */
body.admin-bar .city-page {
  margin-top: 32px !important;
}
@media (max-width: 782px) {
  body.admin-bar .city-page {
    margin-top: 46px !important;
  }
}


/* パンくずの折り返しを強制 */
.city-page::before {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.8 !important;
}
.city-page .city-official-links {
  color: #252925;
  background: #f7f2e7;
}

.city-page .city-official-links .city-eyebrow,
.city-page .city-official-links .city-related-list b {
  color: #a35b47;
}

.city-page .city-official-links .line-button,
.city-page .city-official-links .city-related-list a {
  color: #252925;
}

.city-page .city-official-links .city-related-list {
  border-top-color: rgba(37, 41, 37, 0.4);
}

/* 英語の地域ページ：欧文をゆったり読みやすく */
html[lang^="en"] .tama-es-area-content .tama-section-redesign p {
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.85;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign .editorial-eyebrow,
html[lang^="en"] .tama-es-area-content .tama-section-redesign .tama-design-index,
html[lang^="en"] .tama-es-area-content .tama-section-redesign .tama-card-lead {
  font-weight: 500;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign h2 {
  letter-spacing: 0.025em;
  line-height: 1.2;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign h3 {
  letter-spacing: 0.03em;
  line-height: 1.35;
}


/* 英語の地域ページ：カード余白とパンくず位置 */
html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-design-index {
  margin-bottom: 0.5rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .wp-block-image {
  margin-bottom: 1.25rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-city-title {
  margin-bottom: 0.75rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-card-lead {
  margin-bottom: 0.875rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-card-lead + .wp-block-paragraph {
  margin-bottom: 1.125rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .has-small-font-size {
  margin-bottom: 0.75rem;
}

html[lang^="en"] body.admin-bar .site-header {
  top: 0;
}

html[lang^="en"] .tama-es-area-content .area-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  max-width: none;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  line-height: 1.5;
}

html[lang^="en"] .tama-es-area-content .area-crumb span {
  margin: 0;
}

@media (max-width: 900px) {
  html[lang^="en"] .tama-es-area-content .area-crumb {
    font-size: 10px;
  }
}

/* 2026-09-04 ヘッダー復元：上段を削除し、携帯は1段＋ハンバーガー */
.site-header {
  background: var(--tama-paper);
  align-items: center;
}

.site-header > .brand,
.site-header > .main-nav {
  align-self: center;
}

body.admin-bar .site-header {
  top: 0;
}

.top-strip {
  display: none;
}

.main-nav a.nav-language-switch {
  display: none;
}

@media (min-width: 901px) {
  .main-nav a.nav-language-switch {
    display: grid;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    min-height: 76px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .menu-button {
    position: relative;
    z-index: auto;
    top: auto;
    right: auto;
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(36, 39, 36, 0.56);
    border-radius: 5px;
    background: #f7f2e7;
    box-shadow: none;
    color: var(--tama-ink);
    font-size: 0;
    line-height: 0;
    transform: none;
  }

  .menu-button::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 19px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    background: var(--tama-ink);
    box-shadow: 0 -6px 0 var(--tama-ink), 0 6px 0 var(--tama-ink);
  }

  .menu-button:hover,
  .menu-button:focus-visible {
    background: #eee8db;
    box-shadow: none;
    color: var(--tama-ink);
    transform: none;
  }

  .main-nav a.nav-language-switch {
    display: flex;
    background: #f6cfb8;
    color: #54291d;
    font-weight: 700;
  }
}


/* 濃いオレンジ背景の文字をサイト全体で白に */
.top-strip,
.hero-kicker,
.news-label,
.page-hero,
.page-hero *,
.form-submit,
.event-filter-submit,
.city-sibling-inner a:hover,
.city-sibling-inner a.is-current,
.nt-course-tag {
  color: #fff !important;
}


/* 本文内リンクを見やすく表示 */
.single-main .single-content a {
  color: #63a8b9 !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.single-main .single-content a:hover,
.single-main .single-content a:focus-visible {
  color: #3f879a !important;
}

/* Footer — operator profile */
.footer-author-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: 0 0 34px;
}
.footer-author-copy {
  max-width: 720px;
}
.footer-author-title {
  margin: 0 0 8px;
  color: var(--tama-white);
  font-family: var(--tama-pop);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
}
.footer-author-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 2;
}
.footer-author-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  color: var(--tama-white);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  font-family: var(--tama-pop);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
}
.footer-author-link:hover,
.footer-author-link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}
.footer-author-link span {
  font-family: var(--tama-body);
  font-size: 16px;
  transition: transform .2s ease;
}
.footer-author-link:hover span,
.footer-author-link:focus-visible span {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .footer-author-note {
    display: block;
    padding-bottom: 30px;
  }
  .footer-author-link {
    margin-top: 16px;
  }
}


/* About page — space between the article and guide box */
@media (min-width: 901px) {
  .about-section .single-main {
    max-width: 720px;
  }
}
@media (max-width: 900px) {
  .about-section .single-side {
    margin-top: 52px;
  }
}


/* イベントページのタイトルを3行程度に収める */
.tmeh-hub .city-hero-copy h1 {
  font-size: clamp(40px, 4vw, 49px);
  letter-spacing: 0.04em;
  line-height: 1.25;
}


/* WordPress管理バーとパンくずの重なりを解消 */
body.admin-bar .city-page {
  margin-top: 32px !important;
}
@media (max-width: 782px) {
  body.admin-bar .city-page {
    margin-top: 46px !important;
  }
}


/* パンくずの折り返しを強制 */
.city-page::before {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  line-height: 1.8 !important;
}
.city-page .city-official-links {
  color: #252925;
  background: #f7f2e7;
}

.city-page .city-official-links .city-eyebrow,
.city-page .city-official-links .city-related-list b {
  color: #a35b47;
}

.city-page .city-official-links .line-button,
.city-page .city-official-links .city-related-list a {
  color: #252925;
}

.city-page .city-official-links .city-related-list {
  border-top-color: rgba(37, 41, 37, 0.4);
}

/* 英語の地域ページ：欧文をゆったり読みやすく */
html[lang^="en"] .tama-es-area-content .tama-section-redesign p {
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.85;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign .editorial-eyebrow,
html[lang^="en"] .tama-es-area-content .tama-section-redesign .tama-design-index,
html[lang^="en"] .tama-es-area-content .tama-section-redesign .tama-card-lead {
  font-weight: 500;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign h2 {
  letter-spacing: 0.025em;
  line-height: 1.2;
}

html[lang^="en"] .tama-es-area-content .tama-section-redesign h3 {
  letter-spacing: 0.03em;
  line-height: 1.35;
}


/* 英語の地域ページ：カード余白とパンくず位置 */
html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-design-index {
  margin-bottom: 0.5rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .wp-block-image {
  margin-bottom: 1.25rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-city-title {
  margin-bottom: 0.75rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-card-lead {
  margin-bottom: 0.875rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .tama-card-lead + .wp-block-paragraph {
  margin-bottom: 1.125rem;
}

html[lang^="en"] .tama-es-area-content .tama-city-card > .has-small-font-size {
  margin-bottom: 0.75rem;
}

html[lang^="en"] body.admin-bar .site-header {
  top: 0;
}

html[lang^="en"] .tama-es-area-content .area-crumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  max-width: none;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  line-height: 1.5;
}

html[lang^="en"] .tama-es-area-content .area-crumb span {
  margin: 0;
}

@media (max-width: 900px) {
  html[lang^="en"] .tama-es-area-content .area-crumb {
    font-size: 10px;
  }
}

/* 2026-09-04 ヘッダー復元：上段を削除し、携帯は1段＋ハンバーガー */
.site-header {
  background: var(--tama-paper);
  align-items: center;
}

.site-header > .brand,
.site-header > .main-nav {
  align-self: center;
}

body.admin-bar .site-header {
  top: 0;
}

.top-strip {
  display: none;
}

.main-nav a.nav-language-switch {
  display: none;
}

@media (min-width: 901px) {
  .main-nav a.nav-language-switch {
    display: grid;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    min-height: 76px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .menu-button {
    position: relative;
    z-index: auto;
    top: auto;
    right: auto;
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(36, 39, 36, 0.56);
    border-radius: 5px;
    background: #f7f2e7;
    box-shadow: none;
    color: var(--tama-ink);
    font-size: 0;
    line-height: 0;
    transform: none;
  }

  .menu-button::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 19px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    background: var(--tama-ink);
    box-shadow: 0 -6px 0 var(--tama-ink), 0 6px 0 var(--tama-ink);
  }

  .menu-button:hover,
  .menu-button:focus-visible {
    background: #eee8db;
    box-shadow: none;
    color: var(--tama-ink);
    transform: none;
  }

  .main-nav a.nav-language-switch {
    display: flex;
    background: #f6cfb8;
    color: #54291d;
    font-weight: 700;
  }
}


/* 濃いオレンジ背景の文字をサイト全体で白に */
.top-strip,
.hero-kicker,
.news-label,
.page-hero,
.page-hero *,
.form-submit,
.event-filter-submit,
.city-sibling-inner a:hover,
.city-sibling-inner a.is-current,
.nt-course-tag {
  color: #fff !important;
}


/* 本文内リンクを見やすく表示 */
.single-main .single-content a {
  color: #63a8b9 !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.single-main .single-content a:hover,
.single-main .single-content a:focus-visible {
  color: #3f879a !important;
}

/* Footer — operator profile */
.footer-author-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  padding: 0 0 34px;
}
.footer-author-copy {
  max-width: 720px;
}
.footer-author-title {
  margin: 0 0 8px;
  color: var(--tama-white);
  font-family: var(--tama-pop);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .08em;
}
.footer-author-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 2;
}
.footer-author-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  color: var(--tama-white);
  border-bottom: 1px solid rgba(255, 255, 255, .55);
  font-family: var(--tama-pop);
  font-size: 12px;
  line-height: 1.6;
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
}
.footer-author-link:hover,
.footer-author-link:focus-visible {
  color: #fff;
  border-bottom-color: #fff;
}
.footer-author-link span {
  font-family: var(--tama-body);
  font-size: 16px;
  transition: transform .2s ease;
}
.footer-author-link:hover span,
.footer-author-link:focus-visible span {
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .footer-author-note {
    display: block;
    padding-bottom: 30px;
  }
  .footer-author-link {
    margin-top: 16px;
  }
}


/* About page — space between the article and guide box */
@media (min-width: 901px) {
  .about-section .single-main {
    max-width: 720px;
  }
}
@media (max-width: 900px) {
  .about-section .single-side {
    margin-top: 52px;
  }
}


/* PICK UPセクションを単独の背景色で区切る */
.home main > .event-section + .section {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: transparent;
}
.home main > .event-section + .section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #eaf1e5;
  pointer-events: none;
}

/* 地域比較テーブルを他のセクションと同じ幅に揃える */
@media (min-width: 901px) {
  main > section.areas-intro:not(.areas-north-kitatama) > .areas-intro-inner {
    max-width: none;
    margin-right: 28px;
  }
}

/* 地域比較後の説明文を比較セクションと同じ幅に揃える */
@media (min-width: 901px) {
  main > section.areas-intro:not(.areas-north-kitatama) > .areas-intro-inner > .areas-compare-inline ~ p {
    max-width: none;
  }
}

/* 北多摩の説明文を下の3ボックスと同じ幅に揃える */
@media (min-width: 901px) {
  main > section.areas-north-kitatama > .areas-intro-inner > p:not(.section-label) {
    max-width: none;
  }
}

/* 2026-09 mobile readability pass: keep article display fonts unchanged for now */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .page-hero {
    background: #ad5538;
  }
  body.single-tama_story.tama-visual-article .page-hero-inner h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.3;
    letter-spacing: normal;
    overflow-wrap: anywhere;
  }
  body.single-tama_story.tama-visual-article .single-main .tama-story-share--top {
    display: none;
  }
  body.single-tama_story.tama-visual-article .single-content > p:not([class]) {
    font-size: 16px;
    line-height: 1.78;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content > p > small {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead {
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-section-heading {
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content h3 {
    font-size: 20px;
    line-height: 1.45;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight {
    background: #ad5538;
    color: #fff;
    font-size: 15px;
    line-height: 1.75;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-eyebrow {
    color: #ad5538;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-summary li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-timeline li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location,
  body.single-tama_story.tama-visual-article .single-content .tama-event-note,
  body.single-tama_story.tama-visual-article .single-content .tama-event-source {
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: normal;
  }
}

/* 2026-09 mobile article typography: improve body and section-heading legibility */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content > p:not([class]),
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead,
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight,
  body.single-tama_story.tama-visual-article .single-content .tama-event-summary li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-timeline li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location,
  body.single-tama_story.tama-visual-article .single-content .tama-event-note,
  body.single-tama_story.tama-visual-article .single-content .tama-event-source {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-section-heading,
  body.single-tama_story.tama-visual-article .single-content h3 {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-weight: 700;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-eyebrow,
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight-label {
    font-family: var(--tama-pop);
  }
}



@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .page-hero {
    background: #db744b;
  }
  body.single-tama_story.tama-visual-article .page-hero-inner h1 {
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: normal;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead {
    font-size: 16px;
    line-height: 1.8;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight {
    background: #db744b;
    font-weight: 400;
  }
}

/* 2026-09-22 mobile article rhythm: match model-course reading pace */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content > p:not([class]) {
    font-family: var(--tama-body);
    font-size: 14px;
    line-height: 2.15;
    letter-spacing: 0.64px;
    font-weight: 500;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead {
    font-family: var(--tama-body);
    font-size: 17px;
    line-height: 2;
    letter-spacing: 0.64px;
    font-weight: 400;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight,
  body.single-tama_story.tama-visual-article .single-content .tama-event-summary li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-timeline li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location,
  body.single-tama_story.tama-visual-article .single-content .tama-event-note,
  body.single-tama_story.tama-visual-article .single-content .tama-event-source {
    font-family: var(--tama-body);
    font-size: 14px;
    line-height: 2.15;
    letter-spacing: 0.64px;
    font-weight: 500;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight-label,
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight strong,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location strong {
    font-family: var(--tama-body);
  }
  body.single-tama_story.tama-visual-article .single-content > p > small {
    font-family: var(--tama-body);
    font-size: 13px;
    line-height: 1.9;
    letter-spacing: 0.64px;
  }
}

/* 2026-09-22 mobile article body size: note-style 16px rhythm */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content > p:not([class]),
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead,
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight,
  body.single-tama_story.tama-visual-article .single-content .tama-event-summary li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-timeline li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location,
  body.single-tama_story.tama-visual-article .single-content .tama-event-note,
  body.single-tama_story.tama-visual-article .single-content .tama-event-source {
    font-family: var(--tama-body);
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: normal;
    font-weight: 500;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead {
    font-weight: 500;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight strong {
    font-family: var(--tama-body);
    font-size: inherit;
}
  body.single-tama_story.tama-visual-article .single-content > p:not([class]) {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  body.single-tama_story.tama-visual-article .single-content > p > small {
    font-family: var(--tama-body);
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: normal;
  }
}

/* 2026-09-22 mobile article reading surface: white content area */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-main,
  body.single-tama_story.tama-visual-article .single-content {
    background-color: #fff;
  }
}

/* 2026-09-22 rollback: restore article surface and display heading type */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-main,
  body.single-tama_story.tama-visual-article .single-content {
    background-color: transparent;
  }
  body.single-tama_story.tama-visual-article .page-hero-inner h1,
  body.single-tama_story.tama-visual-article .single-content h2,
  body.single-tama_story.tama-visual-article .single-content h3 {
    font-family: var(--tama-pop);
    font-weight: 400;
    letter-spacing: 0.64px;
  }
}

/* 2026-09-22 mobile heading cascade fix */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content .tama-event-section-heading,
  body.single-tama_story.tama-visual-article .single-content h2 {
    font-family: var(--tama-pop) !important;
    font-weight: 400 !important;
    letter-spacing: 0.64px !important;
  }
}

/* 2026-09-22 final mobile body inheritance: opening text equals body */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content > p:not([class]),
  body.single-tama_story.tama-visual-article .single-content .tama-event-lead,
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight,
  body.single-tama_story.tama-visual-article .single-content .tama-event-summary li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-timeline li,
  body.single-tama_story.tama-visual-article .single-content .tama-event-location,
  body.single-tama_story.tama-visual-article .single-content .tama-event-note,
  body.single-tama_story.tama-visual-article .single-content .tama-event-source {
    font-family: var(--tama-body);
    font-size: 14px;
    line-height: 2.15;
    letter-spacing: 0.64px;
    font-weight: 500;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-highlight strong {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
}
}




/* 2026-09-22 mobile heading fit: slightly smaller display type */
@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .page-hero-inner h1 {
    font-size: 22px;
    line-height: 1.45;
  }
  body.single-tama_story.tama-visual-article .single-content .tama-event-section-heading,
  body.single-tama_story.tama-visual-article .single-content h2 {
    font-size: 20px;
    line-height: 1.45;
  }
  body.single-tama_story.tama-visual-article .single-content h3 {
    font-size: 18px;
    line-height: 1.45;
  }
}

/* 2026-09-22 mobile related-events spacing: separate heading and city button */
@media (max-width: 900px) {
  .tmeh-event-context > h2 + p {
    margin-top: 18px;
  }
}

/* 2026-09-22 reusable FAQ block: Kokubeji article style */
body.single-tama_story.tama-visual-article .single-content .tama-event-faq-q,
body.single-tama_story.tama-visual-article .single-content .tama-event-faq > .tama-event-faq-q {
  position: relative;
  margin-top: 14px;
  padding: 16px 18px 10px 50px;
  border-top: 1px solid rgb(217, 210, 194);
  border-right: 1px solid rgb(217, 210, 194);
  border-left: 4px solid var(--tama-blue);
  background: var(--tama-white);
  color: var(--tama-ink);
  font-family: var(--tama-pop);
  font-size: 17px;
  line-height: 1.7;
}

body.single-tama_story.tama-visual-article .single-content .tama-event-faq-q::before {
  position: absolute;
  top: 14px;
  left: 17px;
  color: var(--tama-blue);
  content: "Q";
  font-family: var(--tama-pop);
  font-size: 17px;
  line-height: 1;
}

body.single-tama_story.tama-visual-article .single-content .tama-event-faq-a,
body.single-tama_story.tama-visual-article .single-content .tama-event-faq > .tama-event-faq-q + p {
  position: relative;
  margin-top: 0;
  padding: 0 18px 16px 50px;
  border-right: 1px solid rgb(217, 210, 194);
  border-bottom: 1px solid rgb(217, 210, 194);
  border-left: 4px solid var(--tama-blue);
  background: var(--tama-white);
  color: var(--tama-ink);
  font-family: var(--tama-body);
  font-size: 15px;
  line-height: 1.9;
}

body.single-tama_story.tama-visual-article .single-content .tama-event-faq-a::before,
body.single-tama_story.tama-visual-article .single-content .tama-event-faq > .tama-event-faq-q + p::before {
  position: absolute;
  top: 0;
  left: 17px;
  color: var(--tama-orange-deep);
  content: "A";
  font-family: var(--tama-pop);
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-content .tama-event-faq-q,
  body.single-tama_story.tama-visual-article .single-content .tama-event-faq-a,
  body.single-tama_story.tama-visual-article .single-content .tama-event-faq > .tama-event-faq-q + p {
    padding-right: 15px;
  }

  body.single-tama_story.tama-visual-article .single-content .tama-event-faq-q {
    font-size: 17px;
    line-height: 1.7;
  }

  body.single-tama_story.tama-visual-article .single-content .tama-event-faq-a,
  body.single-tama_story.tama-visual-article .single-content .tama-event-faq > .tama-event-faq-q + p {
    font-size: 14px;
    line-height: 1.9;
  }
}

/* 2026-09-22 category destination heading weight */
body.page-template-purpose-guide-layout #tmaf-archive-listing-title,
body.page-template-purpose-guide-layout #tmaf-area-filter-title,
body.post-type-archive-tama_area .areas-intro h2,
body.post-type-archive-tama_area .areas-cards h2 {
  font-weight: 400;
}

/* 2026-09-22 category destination heading family: match homepage section titles */
body.page-template-purpose-guide-layout #tmaf-archive-listing-title,
body.page-template-purpose-guide-layout #tmaf-area-filter-title,
body.post-type-archive-tama_area .areas-intro h2,
body.post-type-archive-tama_area .areas-cards h2 {
  font-family: var(--tama-pop) !important;
  font-weight: 400 !important;
}

/* 2026-09-22 correction: restore non-event destination headings */
body.page-template-purpose-guide-layout #tmaf-archive-listing-title,
body.page-template-purpose-guide-layout #tmaf-area-filter-title {
  font-family: var(--tama-body) !important;
  font-weight: 700 !important;
}

body.post-type-archive-tama_area .areas-intro h2,
body.post-type-archive-tama_area .areas-cards h2 {
  font-family: var(--tama-pop) !important;
  font-weight: 700 !important;
}

/* 2026-09-22 event page headings: match homepage section title */
body.page-template-purpose-guide-layout #tmeh-events-list-title,
body.page-template-purpose-guide-layout #tmeh-events-calendar-title,
body.page-template-purpose-guide-layout #tmaf-events-condition-title {
  font-family: var(--tama-pop) !important;
  font-weight: 400 !important;
}

body.page-template-purpose-guide-layout #tmaf-events-condition-title {
  font-size: 0 !important;
}

body.page-template-purpose-guide-layout #tmaf-events-condition-title::after {
  display: block;
  content: "多摩でイベントを探す";
  color: inherit;
  font-family: var(--tama-pop);
  font-size: 24px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.64px;
}

/* 2026-09-22 ENDTEST */

/* 2026-09-22 purpose destination headings: match homepage section title */
body.page-id-19 #tmaf-archive-listing-title,
body.page-id-19 #tmaf-area-filter-title,
body.page-id-20 #tmaf-archive-listing-title,
body.page-id-20 #tmaf-area-filter-title,
body.page-id-22 #tmaf-archive-listing-title,
body.page-id-22 #tmaf-area-filter-title,
body.post-type-archive-tama_area .areas-intro h2,
body.post-type-archive-tama_area .areas-cards h2 {
  font-family: var(--tama-pop) !important;
  font-weight: 400 !important;
}

/* 2026-09-22 METATEST */



/* 2026-09-22 FAQ final geometry: desktop and mobile */

body.single-tama_story .single-content .tama-event-faq-q,
body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q),
body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  gap: 10px !important;
  min-height: 56px !important;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  padding: 15px 18px !important;
  border-top: 1px solid rgb(217, 210, 194) !important;
  border-right: 1px solid rgb(217, 210, 194) !important;
  border-left: 4px solid var(--tama-blue) !important;
  background: var(--tama-white) !important;
}
body.single-tama_story .single-content .tama-event-faq-q::before,
body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q)::before,
body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q)::before {
  position: static !important;
  display: grid !important;
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  place-items: center !important;
  color: var(--tama-blue) !important;
  content: "Q" !important;
  line-height: 1 !important;
}
body.single-tama_story .single-content .tama-event-faq-a,
body.single-tama_story .single-content .tama-event-faq > .tama-event-faq-q + p,
body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p,
body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  gap: 10px !important;
  min-height: 56px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 14px 18px 16px !important;
  border-top: 0 !important;
  border-right: 1px solid rgb(217, 210, 194) !important;
  border-bottom: 1px solid rgb(217, 210, 194) !important;
  border-left: 4px solid var(--tama-blue) !important;
  background: var(--tama-white) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}
body.single-tama_story .single-content .tama-event-faq-a::before,
body.single-tama_story .single-content .tama-event-faq > .tama-event-faq-q + p::before,
body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p::before,
body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p::before {
  position: static !important;
  display: grid !important;
  flex: 0 0 26px !important;
  width: 26px !important;
  height: 26px !important;
  margin: 0 !important;
  place-items: center !important;
  color: var(--tama-orange-deep) !important;
  content: "A" !important;
  font-size: 16px !important;
  line-height: 1 !important;
}
@media (max-width: 900px) {
  body.single-tama_story .single-content .tama-event-faq-q,
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q),
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) {
    min-height: 60px !important;
    padding: 16px 15px !important;
  }
  body.single-tama_story .single-content .tama-event-faq-a,
  body.single-tama_story .single-content .tama-event-faq > .tama-event-faq-q + p,
  body.single-tama_story .single-content h2:has(+ h3) + h3:not(.tama-event-faq-q) + p,
  body.single-tama_story .single-content h2:has(+ h3) ~ h3:not(.tama-event-faq-q) + p {
    min-height: 60px !important;
    padding: 16px 15px 18px !important;
  }
}



/* 2026-09-22 in-article table of contents */

.single-content .tama-article-toc {
  margin: 2.2rem 0 2.6rem;
  padding: 20px 24px 22px;
  border: 1px solid rgb(217, 210, 194);
  border-left: 4px solid var(--tama-blue);
  background: var(--tama-white);
}
.single-content .tama-article-toc__eyebrow {
  margin: 0 0 6px;
  color: var(--tama-orange-deep);
  font-family: var(--tama-pop);
  font-size: 11px;
  letter-spacing: .08em;
  line-height: 1.5;
}
.single-content .tama-article-toc__title {
  margin: 0 0 12px;
  color: var(--tama-ink);
  font-family: var(--tama-pop);
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
}
.single-content .tama-article-toc__list {
  margin: 0;
  padding-left: 1.4rem;
}
.single-content .tama-article-toc__list li {
  margin: 0;
  padding: 0;
  line-height: 1.8;
}
.single-content .tama-article-toc__list a {
  color: var(--tama-ink);
  text-decoration: none;
  text-underline-offset: .16em;
}
.single-content .tama-article-toc__list a:hover,
.single-content .tama-article-toc__list a:focus-visible {
  color: var(--tama-blue);
  text-decoration: underline;
}
.single-content h2[id^="tama-section-"],
.single-content h2[id^="event-"],
.single-content h2[id^="festival-"] {
  scroll-margin-top: 90px;
}
@media (max-width: 900px) {
  .single-content .tama-article-toc {
    margin: 2rem 0 2.4rem;
    padding: 18px 15px 20px 14px;
  }
  .single-content .tama-article-toc__title {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.5;
  }
  .single-content .tama-article-toc__list {
    padding-left: 1.3rem;
  }
  .single-content .tama-article-toc__list li {
    margin-bottom: .25rem;
    font-size: 15px;
    line-height: 1.8;
  }
}



/* 2026-09-22 final mobile article rhythm: 16px body and clear paragraph intervals */

@media (max-width: 900px) {
  body.single-tama_story .single-content > p:not([class]),
  body.single-tama_story .single-content .tama-event-lead,
  body.single-tama_story .single-content .tama-event-highlight,
  body.single-tama_story .single-content .tama-event-summary li,
  body.single-tama_story .single-content .tama-event-timeline li,
  body.single-tama_story .single-content .tama-event-location,
  body.single-tama_story .single-content .tama-event-note,
  body.single-tama_story .single-content .tama-event-source {
    font-family: var(--tama-body) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    letter-spacing: normal !important;
}
  body.single-tama_story .single-content > p:not([class]) {
    margin-top: 0 !important;
    margin-bottom: 1.45em !important;
  }
  body.single-tama_story .single-content > p:not([class]) + p:not([class]) {
    margin-top: 0 !important;
  }
  body.single-tama_story .single-content .tama-event-highlight strong,
  body.single-tama_story .single-content .tama-event-location strong {
    font: inherit !important;
  }
}



/* 2026-09-22 mobile summary-to-text spacing */

@media (max-width: 900px) {
  body.single-tama_story .single-content .tama-event-summary + p:not(.tama-event-eyebrow):not(.tama-event-note):not(.tama-story-share__status) {
    margin-top: 1.45em !important;
  }
}



/* 2026-09-22 mobile reading width: slightly wider page measure */

@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-main,
  body:not(.home) main .page-hero-inner > p:not(.section-label),
  body:not(.home) main .areas-intro-inner > p:not(.section-label),
  body:not(.home) main .tmeh-events-calendar__inner > p:not(.section-label),
  body:not(.home) main .tmaf-city-directory__intro > p:not(.section-label) {
    width: min(var(--tama-reading-width), calc(100% - 28px)) !important;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
  }
}



/* 2026-09-22 mobile article width correction: use the parent page measure */

@media (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-main,
  body:not(.home) main .page-hero-inner > p:not(.section-label),
  body:not(.home) main .areas-intro-inner > p:not(.section-label),
  body:not(.home) main .tmeh-events-calendar__inner > p:not(.section-label),
  body:not(.home) main .tmaf-city-directory__intro > p:not(.section-label) {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0;
    margin-right: 0;
  }
}



/* 2026-09-22: section-label alignment */


body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-eyebrow {
  color: #db744b !important;
  display: block !important;
  position: relative !important;
  margin-top: 1.6em !important;
  margin-bottom: .65em !important;
  line-height: 1.5 !important;
}

body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-eyebrow::before,
body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-eyebrow::after {
  color: #db744b !important;
}

body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-eyebrow + .tama-event-section-heading {
  margin-top: 0 !important;
}


/* 2026-09-22: normalize section eyebrows across every article template */
body.single-tama_story .single-main .single-content .tama-event-eyebrow {
  color: #db744b !important;
  display: block !important;
  position: relative !important;
  margin-top: 1.6em !important;
  margin-bottom: .65em !important;
  padding-left: 0 !important;
  border-left: 0 !important;
  font-family: var(--tama-pop, "Mochiy Pop One", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: .16em !important;
}

body.single-tama_story .single-main .single-content .tama-event-eyebrow::before,
body.single-tama_story .single-main .single-content .tama-event-eyebrow::after {
  color: #db744b !important;
}

body.single-tama_story .single-main .single-content .tama-event-eyebrow + .tama-event-section-heading {
  margin-top: 0 !important;
}




/* 2026-09-22: normalize the small label above the table of contents */
body.single-tama_story .single-main .single-content .tama-article-toc__eyebrow {
  color: #db744b !important;
  font-family: var(--tama-pop, "Mochiy Pop One", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: .16em !important;
  margin: 0 0 .7em !important;
}

/* 2026-09-22: normalize the city-event list kicker */
body.single-tama_story .single-main .single-content .tmeh-kicker {
  color: #db744b !important;
  font-family: var(--tama-pop, "Mochiy Pop One", sans-serif) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: .12em !important;
}


/* 2026-09-22: omit decorative English eyebrows on mobile */
@media (max-width: 900px) {
  body.single-tama_story .single-main .single-content p.tama-event-eyebrow,
  body.single-tama_story .single-main .single-content p.tama-article-toc__eyebrow,
  body.single-tama_story .single-main .single-content p.tmeh-kicker {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}


/* 2026-09-22: hide every decorative eyebrow form on narrow screens */
@media screen and (max-width: 1024px) {
  body.single-tama_story .single-main .single-content .tama-event-eyebrow,
  body.single-tama_story .single-main .single-content .tama-article-toc__eyebrow,
  body.single-tama_story .single-main .single-content .tmeh-kicker {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
  }
}


/* 2026-09-22: Belle Club reference typography and cream tone */
:root {
  --tama-belle-body: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --tama-belle-ink: #3c3c3c;
  --tama-belle-cream: #f6eee7;
}

body {
  background-color: var(--tama-belle-cream) !important;
}

body.single-tama_story .single-main .single-content p:not(.tama-event-eyebrow):not(.tama-event-highlight):not(.tama-article-toc__eyebrow):not(.tmeh-kicker),
body.single-tama_story .single-main .single-content li,
body.single-tama_story .single-main .single-content td,
body.single-tama_story .single-main .single-content dd,
body.single-tama_story .single-main .single-content blockquote,
body.single-tama_story.tama-visual-article .single-main .single-content p:not(.tama-event-eyebrow):not(.tama-event-highlight):not(.tama-article-toc__eyebrow):not(.tmeh-kicker),
body.single-tama_story.tama-visual-article .single-main .single-content li,
body.single-tama_story.tama-visual-article .single-main .single-content td,
body.single-tama_story.tama-visual-article .single-main .single-content dd,
body.single-tama_story.tama-visual-article .single-main .single-content blockquote {
  color: var(--tama-belle-ink) !important;
  font-family: var(--tama-belle-body) !important;
  font-size: 16px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
}

body.single-tama_story .single-main .single-content .tama-event-deadline,
body.single-tama_story .single-main .single-content .tama-event-location,
body.single-tama_story .single-main .single-content .tama-event-note,
body.single-tama_story .single-main .single-content .tama-event-source,
body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-deadline,
body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-location,
body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-note,
body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-source {
  font-family: var(--tama-belle-body) !important;
  font-size: 16px !important;
  line-height: 2 !important;
  letter-spacing: normal !important;
}

/* 2026-09-22: apply the reference cream tone to the full page canvas */
html,
body,
.site-header {
  background-color: var(--tama-belle-cream, #f6eee7) !important;
}

/* 2026-09-22: reserve space for two-digit TOC markers */
.single-content .tama-article-toc__list {
  padding-inline-start: 2.4rem !important;
}

@media screen and (max-width: 900px) {
  .single-content .tama-article-toc__list {
    padding-inline-start: 2.2rem !important;
  }
}

/* 2026-09-22: align article notes and orange CTA text with the event highlight */
body.single-tama_story .single-main .single-content small,
body.single-tama_story.tama-visual-article .single-main .single-content small {
  color: var(--tama-belle-ink, #3c3c3c) !important;
  font-family: var(--tama-belle-body, "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif) !important;
  font-size: 16px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
}

body.single-tama_story .single-main .single-content .tmeh-button,
body.single-tama_story.tama-visual-article .single-main .single-content .tmeh-button {
  color: #fff !important;
  font-family: var(--tama-belle-body, "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}

/* 2026-09-22: reduce long event section headings on mobile */
@media screen and (max-width: 900px) {
  body.single-tama_story.tama-visual-article .single-main .single-content h2.tama-event-section-heading {
    font-size: 18px !important;
    line-height: 1.6 !important;
    letter-spacing: normal !important;
    padding-left: 12px !important;
    overflow-wrap: anywhere;
  }
}

/* 2026-09-22: restore normal spacing after event info boxes */
body.single-tama_story .single-main .single-content .tama-event-eyebrow + h2.tama-event-section-heading,
body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-eyebrow + h2.tama-event-section-heading {
  margin-top: 17.6px !important;
}

@media screen and (max-width: 900px) {
  body.single-tama_story .single-main .single-content .tama-event-eyebrow + h2.tama-event-section-heading,
  body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-eyebrow + h2.tama-event-section-heading {
    margin-top: 2.4em !important;
  }
}

/* 2026-09-22: use the shared article typography for the update date */
body.single-tama_story .single-main > .single-date,
body.single-tama_story.tama-visual-article .single-main > .single-date {
  color: var(--tama-belle-ink, #3c3c3c) !important;
  font-family: var(--tama-belle-body, "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif) !important;
  font-size: 16px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
}

/* 2026-09-22: match desktop lead paragraphs to the article reading width */
@media screen and (min-width: 901px) {
  body.single-tama_story .single-main .single-content .tama-event-lead,
  body.single-tama_story .single-main .single-content .tama-event-lead-sub,
  body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-lead,
  body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-lead-sub {
    width: 100% !important;
    max-width: none !important;
  }
}

/* 2026-09-22: give desktop English section labels enough breathing room */
@media screen and (min-width: 901px) {
  body.single-tama_story .single-main .single-content .tama-event-eyebrow + h2.tama-event-section-heading,
  body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-eyebrow + h2.tama-event-section-heading {
    margin-top: 28.8px !important;
  }
}

/* 2026-09-22: match the total desktop gap around English section labels to regular H2 spacing */
@media screen and (min-width: 901px) {
  body.single-tama_story .single-main .single-content .tama-event-eyebrow + h2.tama-event-section-heading,
  body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-eyebrow + h2.tama-event-section-heading {
    margin-top: 24.7px !important;
  }
}

/* 2026-09-22: keep English eyebrow labels close to their H2 */
@media screen and (min-width: 901px) {
  body.single-tama_story .single-main .single-content .tama-event-eyebrow:has(+ h2.tama-event-section-heading),
  body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-eyebrow:has(+ h2.tama-event-section-heading) {
    margin-top: 24.7px !important;
  }

  body.single-tama_story .single-main .single-content .tama-event-eyebrow + h2.tama-event-section-heading,
  body.single-tama_story.tama-visual-article .single-main .single-content .tama-event-eyebrow + h2.tama-event-section-heading {
    margin-top: 17.6px !important;
  }
}

/* 2026-09-22: remove decorative English labels from purpose pages on mobile */
@media screen and (max-width: 900px) {
  body.page-template-purpose-guide-layout .section-label {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
}

/* 2026-09-22: extend article body typography to non-article page content */
body:not(.single-tama_story) main p:not(.section-label):not(.hero-lead):not(.tmaf-filter-status):not(.tmaf-filter-empty),
body:not(.single-tama_story) main li,
body:not(.single-tama_story) main td,
body:not(.single-tama_story) main dd,
body:not(.single-tama_story) main blockquote {
  color: var(--tama-belle-ink, #3c3c3c) !important;
  font-family: var(--tama-belle-body, "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif) !important;
  font-size: 16px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
  letter-spacing: normal !important;
}

/* 2026-09-22: keep purpose-page hero copy white and bold on orange */
body.page-template-purpose-guide-layout .page-hero p:not(.section-label) {
  color: #fff !important;
  font-family: var(--tama-belle-body, "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif) !important;
  font-size: 16px !important;
  line-height: 2 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}

/* 2026-09-22: ensure orange purpose-page hero copy overrides the global body rule */
body.page-template-purpose-guide-layout main .page-hero p:not(.section-label):not(.hero-lead):not(.tmaf-filter-status):not(.tmaf-filter-empty) {
  color: #fff !important;
  font-family: var(--tama-belle-body, "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif) !important;
  font-size: 16px !important;
  line-height: 2 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}


/* 2026-09-22: make homepage article titles clearly larger than body copy */
body.home .feature-card h3 {
  font-size: 24px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

@media screen and (max-width: 900px) {
  body.home .feature-card h3 {
    font-size: 20px !important;
    line-height: 1.6 !important;
  }
}


/* 2026-09-22: align the mobile event calendar box with the shared section width */
@media screen and (max-width: 760px) {
  .tmeh-events-calendar {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* 2026-09-22: balanced desktop heading scale; mobile typography remains unchanged */
@media screen and (min-width: 901px) {
  /* Main page headings: 64px -> 48px */
  body:not(.single-tama_story) main h1 {
    font-size: 48px !important;
    line-height: 1.4 !important;
  }

  /* Standard section headings */
  body:not(.single-tama_story) main h2 {
    font-size: 26px !important;
    line-height: 1.5 !important;
  }

  /* The home page has larger section breaks, but keeps a restrained scale */
  body.home:not(.single-tama_story) main h2 {
    font-size: 32px !important;
    line-height: 1.5 !important;
  }

  /* Subsection headings */
  body:not(.single-tama_story) main h3 {
    font-size: 20px !important;
    line-height: 1.6 !important;
  }

  /* Listing cards are supporting titles, not section headings */
  body:not(.single-tama_story) main .listing-card-body h2 {
    font-size: 19px !important;
    line-height: 1.7 !important;
  }

  /* Keep homepage article-card titles clearly above the 16px body copy */
  body.home .feature-card h3 {
    font-size: 20px !important;
    line-height: 1.6 !important;
  }
}


/* 2026-09-22: override legacy high-specificity desktop heading rules */
@media screen and (min-width: 901px) {
  body:not(.single-tama_story) main .page-hero-inner h1 {
    font-size: 48px !important;
    line-height: 1.4 !important;
  }

  body.single-tama_story.tama-visual-article main .page-hero-inner h1 {
    font-size: 32px !important;
    line-height: 1.45 !important;
  }

  body:not(.single-tama_story) main h2#tmaf-archive-listing-title,
  body:not(.single-tama_story) main h2#tmaf-area-filter-title,
  body:not(.single-tama_story) main h2#tmeh-events-list-title,
  body:not(.single-tama_story) main h2#tmeh-events-calendar-title,
  body:not(.single-tama_story) main h2#tmaf-events-condition-title,
  body:not(.single-tama_story) main h2#north-kitatama-title,
  body:not(.single-tama_story) main h2#areas-cards-title {
    font-size: 26px !important;
    line-height: 1.5 !important;
  }
}


/* 2026-09-22: compact, tab-like event filters on mobile */
@media screen and (max-width: 760px) {
  .event-filter-section {
    padding-top: 0 !important;
    padding-bottom: 20px !important;
  }

  .event-filter-panel {
    margin: 0 !important;
    padding: 14px 0 12px !important;
    border: 0 !important;
    border-top: 1px solid var(--tama-line) !important;
    border-bottom: 1px solid var(--tama-line) !important;
    background: transparent !important;
  }

  .event-filter-form legend,
  .tmaf-area-filter--events .tmaf-area-filter__head h3 {
    margin: 0 !important;
    font-family: var(--tama-pop) !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
  }

  .event-filter-form legend {
    margin-bottom: 10px !important;
  }

  .event-filter-options,
  .tmaf-area-filter--events .tmaf-region-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .event-filter-option,
  .tmaf-area-filter--events .tmaf-region-tab {
    box-sizing: border-box !important;
    min-height: 40px !important;
    padding: 8px 12px !important;
    border: 1px solid var(--tama-line) !important;
    border-radius: 999px !important;
    background: var(--tama-paper) !important;
    color: var(--tama-ink) !important;
    font-family: var(--tama-body) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
  }

  .event-filter-option:has(input:checked),
  .tmaf-area-filter--events .tmaf-region-tab.is-active {
    border-color: var(--tama-orange) !important;
    background: var(--tama-orange) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-weight: 700 !important;
  }

  .event-filter-option input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .event-filter-option:focus-within {
    outline: 2px solid var(--tama-orange) !important;
    outline-offset: 2px !important;
  }

  .event-filter-submit {
    margin-top: 10px !important;
    padding: 8px 14px !important;
    border: 1px solid var(--tama-orange) !important;
    border-radius: 999px !important;
    font-family: var(--tama-body) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
  }

  .tmaf-area-filter--events {
    margin-top: 14px !important;
  }

  .tmaf-area-filter--events .tmaf-area-filter__inner {
    padding: 14px 0 0 !important;
    border-top: 1px solid var(--tama-line) !important;
  }

  .tmaf-area-filter--events .tmaf-area-filter__head {
    display: block !important;
  }

  .tmaf-area-filter--events .tmaf-area-filter__head p {
    margin: 4px 0 0 !important;
    font-family: var(--tama-body) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  .tmaf-area-filter--events .tmaf-region-tabs {
    margin-top: 10px !important;
  }

  .tmaf-area-filter--events .tmaf-filter-status {
    margin: 8px 0 0 !important;
    font-size: 13px !important;
  }

  .tmaf-condition-links {
    margin-top: 12px !important;
    font-size: 13px !important;
  }

  .tmeh-events-listing-section {
    border-top: 1px solid var(--tama-line) !important;
    padding-top: 24px !important;
  }
}


/* 2026-09-22: unify page-hero descriptions across non-home pages */
body:not(.home) main .page-hero-inner > p:not(.section-label),
body.post-type-archive-tama_story .page-hero-inner > p:not(.section-label):not(.hero-lead):not(.tmaf-filter-status):not(.tmaf-filter-empty) {
  color: #fff !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  line-height: 2 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}


/* 2026-09-22: stronger override for all page-hero lead text */
body.page-template-purpose-guide-layout main .page-hero p:not(.section-label):not(.hero-lead):not(.tmaf-filter-status):not(.tmaf-filter-empty),
body.post-type-archive-tama_area main .page-hero p:not(.section-label):not(.hero-lead):not(.tmaf-filter-status):not(.tmaf-filter-empty),
body.page-id-23 main .page-hero p:not(.section-label):not(.hero-lead):not(.tmaf-filter-status):not(.tmaf-filter-empty) {
  color: #fff !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  line-height: 2 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}

/* 2026-09-22: イベントページの地域フィルターを「観る・歩く」と統一 */
.event-filter-form legend,
.event-filter-form .event-filter-options,
.event-filter-form .event-filter-submit {
  display: none !important;
}
.event-filter-panel {
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.tmaf-area-filter--events {
  margin: 0 !important;
  padding: 0 0 38px !important;
}
.tmaf-area-filter--events .tmaf-area-filter__inner {
  max-width: none !important;
  margin: 0 !important;
  padding: 28px 34px 24px !important;
  border: 1px solid var(--tama-line, #d8d1c3) !important;
  background: var(--tama-white, #fff) !important;
  box-shadow: rgba(99, 168, 185, 0.4) 8px 8px 0 !important;
}
.tmaf-area-filter--events .tmaf-area-filter__head {
  display: block !important;
}
.tmaf-area-filter--events .tmaf-area-filter__head h3 {
  margin: 0 0 8px !important;
  color: var(--tama-ink, #242724) !important;
  font-family: var(--tama-pop) !important;
  font-size: 28px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}
.tmaf-area-filter--events .tmaf-area-filter__head h3::before {
  display: block !important;
  margin: 0 0 8px !important;
  color: var(--tama-orange-deep, #d96b42) !important;
  content: "BY AREA" !important;
  font-family: var(--tama-pop) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  letter-spacing: .08em !important;
}
.tmaf-area-filter--events .tmaf-area-filter__head p {
  margin: 0 !important;
  color: var(--tama-ink, #242724) !important;
  font-family: var(--tama-body, "Zen Maru Gothic", "Yu Gothic", sans-serif) !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}
.tmaf-area-filter--events .tmaf-region-tabs {
  margin-top: 22px !important;
}
.tmaf-area-filter--events .tmaf-region-tab {
  padding: 9px 14px !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
}
@media screen and (max-width: 760px) {
  .event-filter-panel {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .tmaf-area-filter--events {
    margin: 0 !important;
    padding: 0 0 28px !important;
  }
  .tmaf-area-filter--events .tmaf-area-filter__inner {
    margin: 0 !important;
    padding: 22px 18px 18px !important;
    border: 1px solid var(--tama-line, #d8d1c3) !important;
    background: var(--tama-white, #fff) !important;
    box-shadow: rgba(99, 168, 185, 0.4) 5px 5px 0 !important;
  }
  .tmaf-area-filter--events .tmaf-area-filter__head h3 {
    margin: 0 0 8px !important;
    font-size: 20px !important;
    line-height: 1.45 !important;
  }
  .tmaf-area-filter--events .tmaf-area-filter__head h3::before {
    display: none !important;
  }
  .tmaf-area-filter--events .tmaf-area-filter__head p {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 2 !important;
  }
  .tmaf-area-filter--events .tmaf-region-tabs {
    margin-top: 18px !important;
  }
  .tmaf-area-filter--events .tmaf-region-tab {
    padding: 8px 10px !important;
    font-size: .84rem !important;
  }
}

/* 2026-09-22: イベント地域フィルターの見出しをExplore側と統一 */
body .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title {
  font-size: 26px !important;
  line-height: 1.5 !important;
}
@media screen and (max-width: 760px) {
  body .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title {
    font-size: 20px !important;
    line-height: 1.45 !important;
  }
}

/* 2026-09-22: 地域ページ・運営者ページ・businessページの表示調整 */

/* 地域から探す：他ページと同じ読み幅にそろえる */
body.post-type-archive-tama_area .areas-intro-inner {
  width: auto !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
body.post-type-archive-tama_area .areas-compare-inline {
  width: auto !important;
  max-width: none !important;
}

/* 運営者について：オレンジのページヒーロー内も共通の白太字本文にする */
body.page-id-1130 .page-hero-inner > p:not(.section-label) {
  color: #fff !important;
  font-family: var(--tama-body, "Zen Maru Gothic", "Yu Gothic", sans-serif) !important;
  font-size: 16px !important;
  line-height: 32px !important;
  font-weight: 700 !important;
}

/* business：H2上の英語ラベルは装飾として外す */
body.page-id-1171 .single-content .tbiz-label {
  display: none !important;
}

/* business：オレンジのボックス内は共通の白太字仕様 */
body.page-id-1171 .tbiz-button a.wp-element-button,
body.page-id-1171 .tbiz-badge,
body.page-id-1171 .tbiz-profile-role {
  color: #fff !important;
  font-family: var(--tama-body, "Zen Maru Gothic", "Yu Gothic", sans-serif) !important;
  font-weight: 700 !important;
}

/* 「その魅力、まだ届いていないかもしれません。」の番号は元の番号CSSへ戻す */
body.page-id-1171 .tbiz-concerns .tbiz-number {
  margin: 0 !important;
  color: #7b3d27 !important;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif !important;
  font-size: 25px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

/* 同セクションの画像はカード内で少し大きくする */
body.page-id-1171 .tbiz-concerns .tbiz-slot {
  width: min(300px, 96%) !important;
}

/* 情報を並べるだけでなく〜：見出しを少し抑える */
body.page-id-1171 .tbiz-strength .tbiz-heading {
  font-size: 24px !important;
  line-height: 1.55 !important;
}

/* 具体的な支援内容：元CSSのラベル・対象者ボックスに戻す */
body.page-id-1171 .tbiz-service-type {
  display: inline-block !important;
  margin: 0 0 10px !important;
  padding: 5px 10px !important;
  background: #fff !important;
  color: #7b3d27 !important;
  font-family: var(--tama-body, "Zen Maru Gothic", "Yu Gothic", sans-serif) !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
}
body.page-id-1171 .tbiz-service-fit {
  margin: 16px 0 0 !important;
  padding: 12px 14px !important;
  background: #fff !important;
  color: #7b3d27 !important;
  font-family: var(--tama-body, "Zen Maru Gothic", "Yu Gothic", sans-serif) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  font-weight: 700 !important;
}
body.page-id-1171 .tbiz-service-fit::before {
  display: block !important;
  margin-bottom: 3px !important;
  color: #7b3d27 !important;
  font-family: var(--tama-body, "Zen Maru Gothic", "Yu Gothic", sans-serif) !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
}

/* 運営責任者の役職表示もオレンジボックスの共通仕様にする */
body.page-id-1171 .tbiz-profile-role {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* 名前は太字で少しだけ大きくする */
body.page-id-1171 .tbiz-profile-copy .tbiz-profile-name {
  color: var(--tama-ink, #242724) !important;
  font-family: var(--tama-body, "Zen Maru Gothic", "Yu Gothic", sans-serif) !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
}

/* 最後のCTAは見出しの下もすべて白文字 */
body.page-id-1171 .tbiz-final,
body.page-id-1171 .tbiz-final p,
body.page-id-1171 .tbiz-final h2,
body.page-id-1171 .tbiz-final a,
body.page-id-1171 .tbiz-final .tbiz-final-note-label {
  color: #fff !important;
}

@media screen and (max-width: 680px) {
  body.page-id-1171 .tbiz-concerns .tbiz-slot {
    width: min(300px, 94%) !important;
  }
  body.page-id-1171 .tbiz-strength .tbiz-heading {
    font-size: 22px !important;
    line-height: 1.55 !important;
  }
}

/* 2026-09-22: 既存の本文指定より優先して役割別スタイルを復元 */

/* 運営者ページのオレンジヒーロー本文 */
body.page-id-1130 main .page-hero .page-hero-inner > p:not(.section-label) {
  color: #fff !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  line-height: 32px !important;
  font-weight: 700 !important;
}

/* businessのオレンジボックス */
body.page-id-1171 main .single-content .tbiz-button a.wp-element-button,
body.page-id-1171 main .single-content p.tbiz-badge,
body.page-id-1171 main .single-content p.tbiz-profile-role {
  color: #fff !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-weight: 700 !important;
}
body.page-id-1171 main .single-content .tbiz-button a.wp-element-button {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
body.page-id-1171 main .single-content p.tbiz-profile-role {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* 01・02・03 */
body.page-id-1171 main .single-content p.tbiz-concerns .tbiz-number,
body.page-id-1171 main .single-content .tbiz-concerns p.tbiz-number {
  margin: 0 !important;
  color: #7b3d27 !important;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif !important;
  font-size: 25px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

/* 具体的な支援内容 */
body.page-id-1171 main .single-content p.tbiz-service-type {
  display: inline-block !important;
  margin: 0 0 10px !important;
  padding: 5px 10px !important;
  background: #fff !important;
  color: #7b3d27 !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
}
body.page-id-1171 main .single-content p.tbiz-service-fit {
  margin: 16px 0 0 !important;
  padding: 12px 14px !important;
  background: #fff !important;
  color: #7b3d27 !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  font-weight: 700 !important;
}
body.page-id-1171 main .single-content p.tbiz-service-fit::before {
  display: block !important;
  margin-bottom: 3px !important;
  color: #7b3d27 !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
}

/* プロフィール名 */
body.page-id-1171 main .single-content p.tbiz-profile-copy .tbiz-profile-name {
  color: var(--tama-ink, #242724) !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
}

/* 最後のCTA内はすべて白文字 */
body.page-id-1171 main .single-content .tbiz-final,
body.page-id-1171 main .single-content .tbiz-final p,
body.page-id-1171 main .single-content .tbiz-final h2,
body.page-id-1171 main .single-content .tbiz-final a,
body.page-id-1171 main .single-content .tbiz-final .tbiz-final-note-label {
  color: #fff !important;
}

/* 2026-09-22: #main-content配下のテーマ指定を上書き */
body.page-id-1130 #main-content .page-hero .page-hero-inner > p:not(.section-label) {
  color: #fff !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  line-height: 32px !important;
  font-weight: 700 !important;
}

body.page-id-1171 #main-content .single-content .tbiz-button a.wp-element-button,
body.page-id-1171 #main-content .single-content p.tbiz-badge,
body.page-id-1171 #main-content .single-content p.tbiz-profile-role {
  color: #fff !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-weight: 700 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-button a.wp-element-button {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
body.page-id-1171 #main-content .single-content p.tbiz-profile-role {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-concerns p.tbiz-number {
  margin: 0 !important;
  color: #7b3d27 !important;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif !important;
  font-size: 25px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}
body.page-id-1171 #main-content .single-content p.tbiz-service-type {
  display: inline-block !important;
  margin: 0 0 10px !important;
  padding: 5px 10px !important;
  background: #fff !important;
  color: #7b3d27 !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: .06em !important;
}
body.page-id-1171 #main-content .single-content p.tbiz-service-fit {
  margin: 16px 0 0 !important;
  padding: 12px 14px !important;
  background: #fff !important;
  color: #7b3d27 !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  font-weight: 700 !important;
}
body.page-id-1171 #main-content .single-content p.tbiz-service-fit::before {
  display: block !important;
  margin-bottom: 3px !important;
  color: #7b3d27 !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
}
body.page-id-1171 #main-content .single-content .tbiz-profile-copy p.tbiz-profile-name {
  color: var(--tama-ink, #242724) !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 20px !important;
  line-height: 1.5 !important;
  font-weight: 700 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-final,
body.page-id-1171 #main-content .single-content .tbiz-final p,
body.page-id-1171 #main-content .single-content .tbiz-final h2,
body.page-id-1171 #main-content .single-content .tbiz-final a,
body.page-id-1171 #main-content .single-content .tbiz-final .tbiz-final-note-label {
  color: #fff !important;
}

/* 2026-09-22: businessのサービスボックスは携帯だけ横スワイプで表示 */
@media screen and (max-width: 680px) {
  body.page-id-1171 #main-content .single-content .tbiz-service-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    margin-top: 24px !important;
    padding: 0 0 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: auto !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-item {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 22px 18px !important;
    scroll-snap-align: start !important;
  }
}

/* 2026-09-22: サービス概要の2ボックスを携帯だけ横スワイプ化 */
/* 前回対象を取り違えて横スワイプにした下段の支援内容は元の縦積みに戻す */
@media screen and (max-width: 680px) {
  body.page-id-1171 #main-content .single-content .tbiz-service-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    flex-wrap: initial !important;
    gap: 16px !important;
    margin-top: 24px !important;
    padding: 0 !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-item {
    flex: initial !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    margin-top: 22px !important;
    padding: 0 0 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: auto !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid > .wp-block-column {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
  }
}

/* 2026-09-22: サービス概要の01・02を上段カードと同じ番号仕様にする */
body.page-id-1171 #main-content .single-content .tbiz-way-card p.tbiz-way-index {
  position: static !important;
  top: auto !important;
  right: auto !important;
  display: block !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  color: #7b3d27 !important;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif !important;
  font-size: 25px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}

/* 番号を通常配置に戻したぶん、カード上部の余白も上段カードに合わせる */
body.page-id-1171 #main-content .single-content .tbiz-way-card {
  padding: 32px !important;
}

@media screen and (max-width: 680px) {
  body.page-id-1171 #main-content .single-content .tbiz-way-card {
    padding: 28px 24px !important;
  }

  /* 横スワイプできることをカードの直前に明示 */
  body.page-id-1171 #main-content .single-content .tbiz-difference-summary::after {
    display: block !important;
    width: fit-content !important;
    margin: 14px 0 0 auto !important;
    padding: 6px 10px !important;
    border: 1px solid var(--tama-line, #d8d1c3) !important;
    background: #fff !important;
    color: #7b3d27 !important;
    content: "← 左右にスワイプ →" !important;
    font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    text-align: center !important;
  }
}

/* 2026-09-22: スワイプ案内は画像の直下へ配置 */
@media screen and (max-width: 680px) {
  body.page-id-1171 #main-content .single-content .tbiz-difference-summary::after {
    display: none !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-card:first-child .tbiz-slot::after {
    display: block !important;
    width: fit-content !important;
    margin: 12px auto 0 !important;
    padding: 6px 10px !important;
    border: 1px solid var(--tama-line, #d8d1c3) !important;
    background: #fff !important;
    color: #7b3d27 !important;
    content: "← 左右にスワイプ →" !important;
    font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    text-align: center !important;
  }
}

/* 2026-09-22: business携帯版のカード列と番号表示を整理 */

/* ONGOING SUPPORTなどの英語ラベルは非表示 */
body.page-id-1171 #main-content .single-content p.tbiz-service-kicker {
  display: none !important;
}

/* 具体的な支援内容にも01・02・03を追加 */
body.page-id-1171 #main-content .single-content .tbiz-service-item::before {
  display: block !important;
  margin: 0 0 16px !important;
  color: #7b3d27 !important;
  content: "01" !important;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif !important;
  font-size: 25px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-service-item:nth-child(2)::before {
  content: "02" !important;
}
body.page-id-1171 #main-content .single-content .tbiz-service-item:nth-child(3)::before {
  content: "03" !important;
}

/* 画像下に出していた案内はいったん外す */
@media screen and (max-width: 680px) {
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-card:first-child .tbiz-slot::after {
    display: none !important;
  }

  /* サービス概要：カード内の3項目は携帯では省略 */
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-list {
    display: none !important;
  }

  /* サービス概要：2カードを横スワイプ */
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    margin-top: 22px !important;
    padding: 0 0 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: auto !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid > .wp-block-column {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
  }

  /* サービス概要の案内はカード列の下 */
  body.page-id-1171 #main-content .single-content .tbiz-difference-section > .wp-block-group__inner-container::after,
  body.page-id-1171 #main-content .single-content .tbiz-paid-detail::after {
    display: block !important;
    width: fit-content !important;
    margin: 14px auto 0 !important;
    padding: 6px 10px !important;
    border: 1px solid var(--tama-line, #d8d1c3) !important;
    background: #fff !important;
    color: #7b3d27 !important;
    content: "← 左右にスワイプ →" !important;
    font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    text-align: center !important;
  }

  /* 具体的な支援内容：3カードも横スワイプ */
  body.page-id-1171 #main-content .single-content .tbiz-service-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    margin-top: 24px !important;
    padding: 0 0 12px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: auto !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-item {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    scroll-snap-align: start !important;
  }
}

/* 2026-09-22: 携帯版サービス概要カードの余白と画像幅を調整 */
@media screen and (max-width: 680px) {
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-card {
    min-height: 0 !important;
    padding: 24px 18px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-card .tbiz-slot {
    width: 100% !important;
    margin: 24px 0 !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-card .tbiz-slot img {
    width: 100% !important;
    max-width: none !important;
  }
}

/* 2026-09-22: 携帯幅のサービス概要カードを確実にコンパクト化 */
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid,
  body.page-id-1171 #main-content .single-content .tbiz-service-grid {
    align-items: flex-start !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-card,
  body.page-id-1171 #main-content .single-content .tbiz-service-item {
    align-self: flex-start !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-card {
    padding: 20px 16px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-card .tbiz-slot {
    width: 100% !important;
    margin: 18px 0 !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-card h3 {
    margin-top: 18px !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-service-item {
    padding: 20px 16px !important;
  }
}

/* 2026-09-22: サービス概要のメッセージと2つのカードを分離 */

/* 親のクリーム色を外し、メッセージだけをクリーム色のボックスにする */
body.page-id-1171 #main-content .single-content .tbiz-difference-section {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-difference-section > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;
}
body.page-id-1171 #main-content .single-content .tbiz-difference-summary {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 20px 26px !important;
  background: #f7f2e7 !important;
  border: 1px solid rgba(123, 61, 39, .14) !important;
}
body.page-id-1171 #main-content .single-content .tbiz-difference-summary > h3 {
  margin: 0 !important;
  font-size: 19px !important;
  line-height: 1.5 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-difference-summary .tbiz-difference-lead {
  max-width: 900px !important;
  margin: 10px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}

/* 緑・薄ピンクの2ボックスは独立させ、使える横幅を広げる */
body.page-id-1171 #main-content .single-content .tbiz-difference-section .tbiz-way-grid {
  width: 100% !important;
  margin-top: 30px !important;
}
body.page-id-1171 #main-content .single-content .tbiz-way-card .tbiz-badge {
  max-width: none !important;
  width: fit-content !important;
  white-space: nowrap !important;
}

@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tbiz-difference-summary {
    padding: 18px 18px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-difference-summary > h3 {
    font-size: 18px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-difference-summary .tbiz-difference-lead {
    margin-top: 8px !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-difference-section .tbiz-way-grid {
    margin-top: 22px !important;
  }
}

/* 2026-09-22: スワイプ案内を実ボタン化／対象者ボックスを簡素化 */

/* 既存の擬似要素による案内は非表示 */
body.page-id-1171 #main-content .single-content .tbiz-difference-section > .wp-block-group__inner-container::after,
body.page-id-1171 #main-content .single-content .tbiz-paid-detail::after {
  display: none !important;
  content: none !important;
}

/* 「こんな方に」の白ボックスとラベルを外し、本文だけを少し大きくする */
body.page-id-1171 #main-content .single-content p.tbiz-service-fit {
  margin: 16px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--tama-ink, #242724) !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
  font-weight: 700 !important;
}
body.page-id-1171 #main-content .single-content p.tbiz-service-fit::before {
  display: none !important;
  content: none !important;
}

/* 携帯幅では2種類のカード列を確実に横スワイプ化 */
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid,
  body.page-id-1171 #main-content .single-content .tbiz-service-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: auto !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid > .wp-block-column,
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    align-self: flex-start !important;
    height: auto !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-list {
    display: none !important;
  }
}

/* 実際に押せる左右ボタン */
.tama-swipe-controls {
  display: none;
}
@media screen and (max-width: 900px) {
  .tama-swipe-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 14px auto 0 !important;
  }
  .tama-swipe-controls__button {
    display: grid !important;
    width: 38px !important;
    height: 34px !important;
    padding: 0 !important;
    place-items: center !important;
    border: 1px solid var(--tama-line, #d8d1c3) !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #7b3d27 !important;
    cursor: pointer !important;
    font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
  }
  .tama-swipe-controls__button:hover,
  .tama-swipe-controls__button:focus-visible {
    border-color: var(--tama-orange, #db744b) !important;
    background: var(--tama-paper, #f7f2e7) !important;
    outline: none !important;
  }
  .tama-swipe-controls__label {
    color: #7b3d27 !important;
    font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
  }
}

/* 2026-09-22: サービス概要カードの見出しと課題カード画像を統一 */
body.page-id-1171 #main-content .single-content .tbiz-difference-section .tbiz-way-card h3 {
  font-size: 19px !important;
  line-height: 1.5 !important;
}

/* 「その魅力、まだ届いていないかもしれません。」の画像を本文幅いっぱいにする */
body.page-id-1171 #main-content .single-content .tbiz-concerns .tbiz-slot {
  width: 100% !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-concerns .tbiz-slot img {
  width: 100% !important;
  max-width: none !important;
}

/* 2026-09-22: businessページの支援内容とセクション見出しを整理 */

/* 「目的に合わせて行うこと」は見出しだけ削除し、説明文を残す */
body.page-id-1171 #main-content .single-content .tbiz-paid-boundary strong {
  display: none !important;
}
body.page-id-1171 #main-content .single-content .tbiz-paid-boundary br {
  display: none !important;
}

/* 大きなセクション見出しを一律で少し小さくする */
body.page-id-1171 #main-content .single-content h2.tbiz-heading {
  font-size: 24px !important;
  line-height: 1.55 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-assurance-copy h2 {
  font-size: 24px !important;
  line-height: 1.55 !important;
}

/* 携帯版では「主な対応」とその箇条書きを削除 */
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content p.tbiz-service-list-label,
  body.page-id-1171 #main-content .single-content p.tbiz-service-list-label + ul {
    display: none !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-item {
    height: auto !important;
    min-height: 0 !important;
    align-self: flex-start !important;
  }
  body.page-id-1171 #main-content .single-content h2.tbiz-heading,
  body.page-id-1171 #main-content .single-content .tbiz-assurance-copy h2 {
    font-size: 22px !important;
    line-height: 1.55 !important;
  }
}

/* 2026-09-22: サービス概要2カードの見出しを一行にする */
body.page-id-1171 #main-content .single-content .tbiz-difference-section .tbiz-way-card h3 {
  white-space: nowrap !important;
}
body.page-id-1171 #main-content .single-content .tbiz-difference-section .tbiz-way-card h3 br {
  display: none !important;
}

/* 2026-09-22: 一行見出しの固定高さも解除 */
body.page-id-1171 #main-content .single-content .tbiz-difference-section .tbiz-way-card h3 {
  min-height: 0 !important;
}

/* 2026-09-22: 携帯版スワイプボタンの位置を少し上へ */
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid,
  body.page-id-1171 #main-content .single-content .tbiz-service-grid {
    padding-bottom: 6px !important;
  }
  body.page-id-1171 #main-content .single-content .tama-swipe-controls {
    margin-top: 8px !important;
  }
}

/* 2026-09-22: 具体的な支援内容もサービス概要と同じ構造にする */

/* 見出しだけをクリーム色のボックスにする */
body.page-id-1171 #main-content .single-content .tbiz-paid-detail {
  margin-top: 56px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.page-id-1171 #main-content .single-content .tbiz-paid-detail > h3 {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 20px 26px !important;
  background: #f7f2e7 !important;
  border: 1px solid rgba(123, 61, 39, .14) !important;
  font-size: 20px !important;
  line-height: 1.6 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-paid-boundary {
  margin: 22px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-paid-detail .tbiz-service-grid {
  width: 100% !important;
  margin-top: 30px !important;
}

/* 「サービス概要」も具体的な支援内容と同じ見出しサイズにする */
body.page-id-1171 #main-content .single-content .tbiz-difference-summary > h3 {
  font-size: 20px !important;
  line-height: 1.6 !important;
}

/* WEB制作・SEO対策・ITサポートの見出しをサービス概要カードと統一 */
body.page-id-1171 #main-content .single-content .tbiz-other-service h4 {
  font-size: 19px !important;
  line-height: 1.5 !important;
}

/* WEB支援の箇条書きは「対応例」の開閉式にする */
body.page-id-1171 #main-content .single-content .tama-support-examples {
  margin: 20px 0 0 !important;
  border-top: 1px solid rgba(36, 39, 36, .16) !important;
  border-bottom: 1px solid rgba(36, 39, 36, .16) !important;
}
body.page-id-1171 #main-content .single-content .tama-support-examples > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 0 !important;
  color: #7b3d27 !important;
  cursor: pointer !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 700 !important;
  list-style: none !important;
}
body.page-id-1171 #main-content .single-content .tama-support-examples > summary::-webkit-details-marker {
  display: none !important;
}
body.page-id-1171 #main-content .single-content .tama-support-examples > summary::after {
  color: #db744b !important;
  content: "＋" !important;
  font-size: 18px !important;
  line-height: 1 !important;
}
body.page-id-1171 #main-content .single-content .tama-support-examples[open] > summary::after {
  content: "−" !important;
}
body.page-id-1171 #main-content .single-content .tama-support-examples ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 7px 28px !important;
  margin: 0 0 16px !important;
  padding-left: 1.35em !important;
  font-size: 14px !important;
  line-height: 1.85 !important;
}

/* 携帯版は不要な1セクションを省略し、安心してご相談いただくためにだけ残す */
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tbiz-result {
    display: none !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-paid-detail {
    margin-top: 34px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-paid-detail > h3 {
    padding: 18px !important;
    font-size: 20px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-paid-boundary {
    margin-top: 16px !important;
    font-size: 14px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-paid-detail .tbiz-service-grid {
    margin-top: 22px !important;
  }
  body.page-id-1171 #main-content .single-content .tama-support-examples {
    margin-top: 14px !important;
  }
  body.page-id-1171 #main-content .single-content .tama-support-examples ul {
    display: block !important;
    margin-bottom: 14px !important;
    padding-left: 1.2em !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
}

/* 2026-09-22: 具体的な支援内容を4枚カード構成に整理 */

/* 見出しと本文を一つのクリーム色ボックスにまとめる */
body.page-id-1171 #main-content .single-content .tbiz-paid-detail > h3 {
  border-bottom: 0 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-paid-detail > .tbiz-paid-boundary {
  margin: 0 !important;
  padding: 0 26px 20px !important;
  background: #f7f2e7 !important;
  border-right: 1px solid rgba(123, 61, 39, .14) !important;
  border-bottom: 1px solid rgba(123, 61, 39, .14) !important;
  border-left: 1px solid rgba(123, 61, 39, .14) !important;
}

/* WEB制作・SEO対策・ITサポートを4枚目のカードとして統一 */
body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item {
  display: block !important;
  grid-column: auto !important;
  grid-template-columns: none !important;
  min-width: 0 !important;
  padding: 26px !important;
  background: #edf6f8 !important;
  border-top: 5px solid #63a8b9 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
}
body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item::before {
  content: "04" !important;
}
body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item h4 {
  margin: 0 !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}

/* セクション上の余白を少し縮める */
body.page-id-1171 #main-content .single-content .tbiz-concerns,
body.page-id-1171 #main-content .single-content .tbiz-ways,
body.page-id-1171 #main-content .single-content .tbiz-strength {
  padding-top: 64px !important;
}
body.page-id-1171 #main-content .single-content .tbiz-assurance-inner {
  padding-top: 40px !important;
}

/* 対象者の文章の上余白を縮める */
body.page-id-1171 #main-content .single-content p.tbiz-service-fit {
  margin-top: 10px !important;
}

@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tbiz-paid-detail > .tbiz-paid-boundary {
    padding: 0 18px 18px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item {
    padding: 20px 16px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-concerns,
  body.page-id-1171 #main-content .single-content .tbiz-ways,
  body.page-id-1171 #main-content .single-content .tbiz-strength {
    padding-top: 54px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-assurance-inner {
    padding-top: 28px !important;
  }
}
/* 2026-09-22: 支援カードの主な対応を整理し、PC表示を中央寄せ */
body.page-id-1171 .tama-main-examples {
  margin-top: 20px !important;
  border-top: 1px solid rgba(123, 61, 39, .18) !important;
}
body.page-id-1171 .tama-main-examples > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  list-style: none !important;
  cursor: pointer !important;
  padding: 13px 0 0 !important;
  color: #3c3c3c !important;
  font-family: inherit !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}
body.page-id-1171 .tama-main-examples > summary::-webkit-details-marker {
  display: none !important;
}
body.page-id-1171 .tama-main-examples > summary::after {
  content: '＋' !important;
  flex: 0 0 auto !important;
  margin-left: 12px !important;
  color: #7b3d27 !important;
  font-size: 22px !important;
  line-height: 1 !important;
}
body.page-id-1171 .tama-main-examples[open] > summary {
  padding-bottom: 10px !important;
}
body.page-id-1171 .tama-main-examples[open] > summary::after {
  content: '−' !important;
}
body.page-id-1171 .tama-main-examples > ul {
  margin-top: 0 !important;
}
@media screen and (min-width: 901px) {
  body.page-id-1171 #main-content > .section {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }
}
@media screen and (max-width: 900px) {
  body.page-id-1171 .tama-main-examples {
    margin-top: 16px !important;
  }
  body.page-id-1171 .tama-main-examples > summary {
    font-size: 15px !important;
    padding-top: 11px !important;
  }
}/* 2026-09-22: PC版のビジネスページをトップページと同じ読み幅に統一 */
@media screen and (min-width: 901px) {
  body.page-id-1171 #main-content > .section {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  body.page-id-1171 #main-content > .section .tbiz-section,
  body.page-id-1171 #main-content > .section .tbiz-hero {
    padding-left: 42.5px !important;
    padding-right: 42.5px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid {
    align-items: stretch !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item {
    box-sizing: border-box !important;
    height: 100% !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item {
    margin-top: 0 !important;
  }
}/* 2026-09-22: ビジネスページの不要セクション削除と余白整理 */
body.page-id-1171 .tbiz-result {
  display: none !important;
}
body.page-id-1171 .tbiz-strength .tbiz-checks {
  display: none !important;
}
body.page-id-1171 .tbiz-assurance-copy > .wp-block-group__inner-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) !important;
  gap: 48px !important;
  align-items: center !important;
  margin: 0 !important;
}
body.page-id-1171 .tbiz-assurance-heading {
  align-self: center !important;
  width: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.page-id-1171 .tbiz-assurance-text {
  width: auto !important;
  margin: 0 !important;
  padding: 24px 30px !important;
  box-sizing: border-box !important;
}
body.page-id-1171 .tbiz-concerns,
body.page-id-1171 .tbiz-ways,
body.page-id-1171 .tbiz-strength {
  padding-top: 44px !important;
  padding-bottom: 68px !important;
}
body.page-id-1171 .tbiz-difference-section,
body.page-id-1171 .tbiz-paid-detail {
  margin-top: 36px !important;
}
body.page-id-1171 .tbiz-assurance {
  padding-bottom: 60px !important;
}
@media screen and (max-width: 900px) {
  body.page-id-1171 .tbiz-assurance-inner {
    padding: 28px 20px 42px !important;
  }
  body.page-id-1171 .tbiz-assurance-copy > .wp-block-group__inner-container {
    display: block !important;
    margin: 0 !important;
  }
  body.page-id-1171 .tbiz-assurance-heading {
    margin-bottom: 22px !important;
    padding: 0 !important;
  }
  body.page-id-1171 .tbiz-assurance-text {
    width: 100% !important;
    padding: 22px 20px !important;
  }
  body.page-id-1171 .tbiz-concerns,
  body.page-id-1171 .tbiz-ways,
  body.page-id-1171 .tbiz-strength {
    padding-top: 36px !important;
    padding-bottom: 54px !important;
  }
  body.page-id-1171 .tbiz-difference-section,
  body.page-id-1171 .tbiz-paid-detail {
    margin-top: 28px !important;
  }
  body.page-id-1171 .tbiz-assurance {
    padding-bottom: 42px !important;
  }
}/* 2026-09-22: 余白縮小ルールの優先度を調整 */
body.page-id-1171 #main-content .single-content .tbiz-concerns,
body.page-id-1171 #main-content .single-content .tbiz-ways,
body.page-id-1171 #main-content .single-content .tbiz-strength {
  padding-top: 44px !important;
  padding-bottom: 68px !important;
}
body.page-id-1171 #main-content .single-content .tbiz-difference-section,
body.page-id-1171 #main-content .single-content .tbiz-paid-detail {
  margin-top: 36px !important;
}
body.page-id-1171 #main-content .single-content .tbiz-assurance-inner {
  padding-top: 28px !important;
  padding-bottom: 42px !important;
}
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tbiz-concerns,
  body.page-id-1171 #main-content .single-content .tbiz-ways,
  body.page-id-1171 #main-content .single-content .tbiz-strength {
    padding-top: 36px !important;
    padding-bottom: 54px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-difference-section,
  body.page-id-1171 #main-content .single-content .tbiz-paid-detail {
    margin-top: 28px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-assurance-inner {
    padding-top: 20px !important;
    padding-bottom: 32px !important;
  }
}/* 2026-09-22: 4枚のアコーディオンをカード下端で統一 */
@media screen and (min-width: 901px) {
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item > .tama-support-examples {
    margin-top: auto !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item > div:last-child {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item > div:last-child > .tama-support-examples {
    margin-top: auto !important;
  }
}/* 2026-09-22: 4枚目にもカード下端揃えを確実に適用 */
@media screen and (min-width: 901px) {
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item > div:last-child {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item > div:last-child > .tama-support-examples {
    margin-top: auto !important;
  }
}/* 2026-09-22: 支援見出し・スワイプ余白・安心ボックスを調整 */
body.page-id-1171 #main-content .single-content .tbiz-strength .tbiz-profile-panel {
  margin-top: 32px !important;
}
body.page-id-1171 #main-content .single-content .tbiz-assurance-heading::before {
  display: none !important;
  content: none !important;
}
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tama-swipe-controls {
    margin: 8px auto 16px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-strength .tbiz-profile-panel {
    margin-top: 24px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-assurance-copy h2 {
    max-width: none !important;
    font-size: clamp(16px, 5vw, 19px) !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }
}/* 2026-09-22: 携帯版のスワイプ余白と4カードの高さを統一 */
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tama-swipe-controls {
    margin: 4px auto 8px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid,
  body.page-id-1171 #main-content .single-content .tbiz-service-grid {
    padding-bottom: 0 !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid {
    align-items: stretch !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item {
    display: flex !important;
    flex-direction: column !important;
    align-self: stretch !important;
    height: auto !important;
    min-height: 0 !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item > .tama-support-examples {
    margin-top: auto !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item > div:last-child {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service.tbiz-service-item > div:last-child > .tama-support-examples {
    margin-top: auto !important;
  }
}/* 2026-09-22: 本文からプロフィール画像ボックスまでの余白を視覚的に縮小 */
body.page-id-1171 #main-content .single-content .tbiz-strength-grid {
  margin-bottom: 8px !important;
}
body.page-id-1171 #main-content .single-content .tbiz-strength .tbiz-profile-panel {
  margin-top: 0 !important;
}
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tbiz-strength-grid {
    margin-bottom: 4px !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-strength .tbiz-profile-panel {
    margin-top: 0 !important;
  }
}/* 2026-09-22: PC版の主要見出しを1行表示に統一 */
@media screen and (min-width: 901px) {
  body.page-id-1171 #main-content .single-content .tbiz-heading {
    white-space: nowrap !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-heading br {
    display: none !important;
  }
}/* 2026-09-22: サービス概要側のスワイプ案内を支援内容側と同じ位置へ */
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid {
    margin-bottom: 0 !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-difference-section > .wp-block-group__inner-container::after,
  body.page-id-1171 #main-content .single-content .tbiz-paid-detail::after {
    margin-top: 8px !important;
  }
}/* 2026-09-22: 1枚目のサービス概要を基準に携帯版スワイプ余白を統一 */
@media screen and (max-width: 900px) {
  body.page-id-1171 #main-content .single-content .tbiz-ways .tbiz-way-grid,
  body.page-id-1171 #main-content .single-content .tbiz-paid-detail .tbiz-service-grid {
    margin-bottom: 26.25px !important;
    padding-bottom: 12px !important;
  }
  body.page-id-1171 #main-content .single-content .tama-swipe-controls {
    margin: 14px auto 0 !important;
  }
  body.page-id-1171 #main-content .single-content .tbiz-difference-section > .wp-block-group__inner-container::after,
  body.page-id-1171 #main-content .single-content .tbiz-paid-detail::after {
    margin-top: 14px !important;
  }
}

/* 2026-09-22 mobile: profile image alignment and section spacing */
@media screen and (max-width:900px) {
  body.page-id-1171 #main-content .single-content .tbiz-profile-panel {
    padding-left:24px !important;
    padding-right:24px !important;
    margin-bottom:0 !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-profile-media,
  body.page-id-1171 #main-content .single-content .tbiz-profile-photo {
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-profile-photo img {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-strength {
    padding-bottom:24px !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-assurance {
    padding-top:0 !important;
    padding-bottom:24px !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-assurance-inner {
    margin-top:0 !important;
  }
}


/* 2026-09-22 mobile: align way-card number and badge */
@media screen and (max-width:900px) {
  body.page-id-1171 #main-content .single-content .tbiz-way-grid > .tbiz-way-card:nth-child(-n+2) {
    display:grid !important;
    grid-template-columns:max-content minmax(0,1fr) !important;
    column-gap:18px !important;
    align-items:center !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-way-grid > .tbiz-way-card:nth-child(-n+2) > .tbiz-way-index {
    grid-column:1 !important;
    grid-row:1 !important;
    align-self:center !important;
    margin:0 !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-way-grid > .tbiz-way-card:nth-child(-n+2) > .tbiz-badge {
    grid-column:2 !important;
    grid-row:1 !important;
    align-self:center !important;
    justify-self:start !important;
    width:max-content !important;
    max-width:100% !important;
    margin:0 !important;
    white-space:nowrap !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-way-grid > .tbiz-way-card:nth-child(-n+2) > h3,
  body.page-id-1171 #main-content .single-content .tbiz-way-grid > .tbiz-way-card:nth-child(-n+2) > .tbiz-slot,
  body.page-id-1171 #main-content .single-content .tbiz-way-grid > .tbiz-way-card:nth-child(-n+2) > p:not(.tbiz-way-index):not(.tbiz-badge),
  body.page-id-1171 #main-content .single-content .tbiz-way-grid > .tbiz-way-card:nth-child(-n+2) > ul {
    grid-column:1 / -1 !important;
  }
}


/* 2026-09-22 mobile: align four service-card numbers and orange labels */
@media screen and (max-width:900px) {
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item {
    display:grid !important;
    grid-template-columns:max-content minmax(0,1fr) !important;
    column-gap:18px !important;
    align-items:center !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-service-grid .tbiz-service-kicker {
    display:none !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item::before {
    grid-column:1 !important;
    grid-row:1 !important;
    align-self:center !important;
    margin:0 !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item > .tbiz-service-type,
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item .tbiz-service-type {
    grid-column:2 !important;
    grid-row:1 !important;
    align-self:center !important;
    justify-self:start !important;
    width:max-content !important;
    max-width:100% !important;
    margin:0 !important;
    padding:6px 12px !important;
    background:#db744b !important;
    color:#fff !important;
    white-space:nowrap !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item > h4,
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item > p:not(.tbiz-service-type):not(.tbiz-service-kicker),
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-service-item > details {
    grid-column:1 / -1 !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service > div:first-child {
    display:contents !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service > div:nth-child(2),
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service > div:nth-child(2) > p,
  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service > div:nth-child(2) > details {
    grid-column:1 / -1 !important;
  }

  body.page-id-1171 #main-content .single-content .tbiz-service-grid > .tbiz-other-service h4 {
    grid-column:1 / -1 !important;
  }
}


/* 2026-09-22 events: match the shared area-filter design */
body.page-id-23 .event-filter-section,
body.page-id-23 .event-filter-panel,
body.page-id-23 .event-filter-form,
body.page-id-23 .tmaf-area-filter--events {
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}

body.page-id-23 .tmaf-area-filter--events {
  margin-top:0 !important;
  padding:0 0 38px !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__inner {
  max-width:1180px !important;
  margin:0 auto !important;
  padding:28px 34px 24px !important;
  border:1px solid var(--tama-line, #d8d1c3) !important;
  background:var(--tama-white, #fff) !important;
  box-shadow:rgba(99, 168, 185, 0.4) 8px 8px 0 !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title {
  margin:0 0 8px !important;
  color:var(--tama-ink, #242724) !important;
  font-family:var(--tama-pop, "Mochiy Pop One", sans-serif) !important;
  font-size:26px !important;
  line-height:1.5 !important;
  font-weight:400 !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title::before {
  display:block !important;
  margin:0 0 8px !important;
  color:var(--tama-orange-deep, #d96b42) !important;
  content:"BY AREA" !important;
  font-family:var(--tama-pop, "Mochiy Pop One", sans-serif) !important;
  font-size:13px !important;
  line-height:1.4 !important;
  font-weight:500 !important;
  letter-spacing:.08em !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head > p {
  display:none !important;
}

@media screen and (max-width:760px) {
  body.page-id-23 .event-filter-section,
  body.page-id-23 .event-filter-panel,
  body.page-id-23 .event-filter-form {
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  body.page-id-23 .tmaf-area-filter--events {
    padding:0 0 28px !important;
  }

  body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__inner {
    max-width:none !important;
    margin:0 16px !important;
    padding:22px 18px 18px !important;
    border:1px solid var(--tama-line, #d8d1c3) !important;
    background:var(--tama-white, #fff) !important;
    box-shadow:rgba(99, 168, 185, 0.4) 5px 5px 0 !important;
  }

  body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title {
    margin:0 0 8px !important;
    font-size:20px !important;
    line-height:1.45 !important;
  }

  body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title::before {
    display:block !important;
    margin:0 0 6px !important;
    font-size:13px !important;
    line-height:1.4 !important;
  }
}


/* 2026-09-22 events: release the shared section max-width */
body:not(.home).page-id-23 main > .event-filter-section {
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}


/* 2026-09-22 events: match the supplied area-filter reference */
body .tmaf-area-filter .tmaf-area-filter__head > p {
  display:none !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title {
  margin:0 0 8px !important;
  color:var(--tama-ink, #242724) !important;
  font-family:var(--tama-pop, "Mochiy Pop One", sans-serif) !important;
  font-size:0 !important;
  line-height:0 !important;
  font-weight:400 !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title::before {
  display:none !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title::after {
  display:block !important;
  content:"地域から絞り込む。" !important;
  color:var(--tama-ink, #242724) !important;
  font-family:var(--tama-pop, "Mochiy Pop One", sans-serif) !important;
  font-size:26px !important;
  line-height:1.5 !important;
  font-weight:400 !important;
}

@media screen and (max-width:760px) {
  body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__inner {
    margin:0 !important;
    padding:22px 26px 18px !important;
  }

  body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title::after {
    font-size:26px !important;
    line-height:1.5 !important;
  }
}


/* 2026-09-22 final: supplied area-filter reference */
body .tmaf-area-filter .tmaf-area-filter__head > p.section-label {
  display:none !important;
}

body .tmaf-area-filter .tmaf-area-filter__head > p:not(.section-label) {
  display:block !important;
  margin:0 !important;
  color:var(--tama-ink, #242724) !important;
  font-family:var(--tama-body, "Zen Maru Gothic", sans-serif) !important;
  font-size:16px !important;
  line-height:2 !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head > p {
  display:none !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head::after {
  display:block !important;
  content:"5つの地域から選ぶと、市町村ごとの記事・イベントだけを表示できます。" !important;
  margin:0 !important;
  color:var(--tama-ink, #242724) !important;
  font-family:var(--tama-body, "Zen Maru Gothic", sans-serif) !important;
  font-size:16px !important;
  line-height:2 !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title::after {
  font-size:26px !important;
  line-height:1.5 !important;
}

@media screen and (max-width:760px) {
  body .tmaf-area-filter .tmaf-area-filter__inner,
  body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__inner {
    margin:0 16px !important;
    padding:22px 18px 18px !important;
  }

  body .tmaf-area-filter .tmaf-region-tab {
    border-radius:0 !important;
    padding:8px 10px !important;
    min-height:40px !important;
  }

  body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title::after {
    font-size:20px !important;
    line-height:1.5 !important;
  }

  body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head::after {
    font-size:16px !important;
    line-height:2 !important;
  }
}


/* 2026-09-22 final: remove the explanatory area-filter sentence */
body .tmaf-area-filter .tmaf-area-filter__head > p:not(.section-label) {
  display:none !important;
}

body.page-id-23 .tmaf-area-filter--events .tmaf-area-filter__head::after {
  display:none !important;
}


/* 2026-09-22: イベント地域フィルターの見出しをExplore側と統一 */
body .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title {
  font-size: 26px !important;
  line-height: 1.5 !important;
}
@media screen and (max-width: 760px) {
  body .tmaf-area-filter--events .tmaf-area-filter__head h3#tmaf-area-filter-title {
    font-size: 20px !important;
    line-height: 1.45 !important;
  }
}


/* 2026-09-22: match the shared area-filter h2 size */
body.page-template-purpose-guide-layout.page-id-23 main h2#tmaf-area-filter-title {
  font-size:26px !important;
  line-height:1.5 !important;
}

@media screen and (max-width:900px) {
  body.page-template-purpose-guide-layout.page-id-23 main h2#tmaf-area-filter-title {
    font-size:20px !important;
    line-height:1.45 !important;
  }
}


/* 2026-09-22 areas: mobile reading rhythm for the regional note */
@media screen and (max-width:900px) {
  body.post-type-archive-tama_area .areas-intro-inner > p.areas-alias-note {
    margin-top:24px !important;
    font-size:16px !important;
    line-height:1.9 !important;
    letter-spacing:.02em !important;
  }

  body.post-type-archive-tama_area .areas-intro-inner > p.areas-alias-note > strong {
    display:block !important;
    margin-bottom:10px !important;
  }

  body.post-type-archive-tama_area .areas-intro-inner > p.areas-alias-note > a {
    display:block !important;
    width:max-content !important;
    max-width:100% !important;
    margin-top:10px !important;
  }

  body.post-type-archive-tama_area .areas-intro-inner > p.areas-alias-note + p {
    margin-top:28px !important;
    font-size:16px !important;
    line-height:1.9 !important;
    letter-spacing:.02em !important;
  }
}

/* 2026-09-22: mobile reading rhythm for Japanese travel and event articles */
body.single-tama_story .single-main .single-content .tama-event-note,
body.single-tama_story .single-main .single-content .tama-event-last-note {
  background: transparent !important;
}

@media screen and (max-width:900px) {
  body.single-tama_story .single-main .single-content {
  }

  body.single-tama_story .single-main .single-content > p:not(.section-label):not(.tama-event-eyebrow):not(.tama-story-share__status):not(.tama-event-highlight),
  body.single-tama_story .single-main .single-content .tama-event-lead,
  body.single-tama_story .single-main .single-content .tama-event-location,
  body.single-tama_story .single-main .single-content .tama-event-note,
  body.single-tama_story .single-main .single-content .tama-event-last-note,
  body.single-tama_story .single-main .single-content .tama-event-source {
    font-size: 16px !important;
    line-height: 1.75 !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    margin-block-start: 0 !important;
    margin-block-end: 1.4em !important;
  }

  body.single-tama_story .single-main .single-content > p:not([class]) + p:not([class]) {
    margin-block-start: 0 !important;
  }

  body.single-tama_story .single-main .single-content h2.tama-event-section-heading {
    margin-block-start: 2.4em !important;
    margin-block-end: .8em !important;
    line-height: 1.5 !important;
  }

  body.single-tama_story .single-main .single-content h3 {
    margin-block-start: 1.6em !important;
    margin-block-end: .5em !important;
    line-height: 1.5 !important;
  }

  body.single-tama_story .single-main .single-content h3 + p {
    margin-block-start: 0 !important;
  }

  body.single-tama_story .single-main .single-content h2.tama-event-section-heading + .tama-event-summary,
  body.single-tama_story .single-main .single-content h2.tama-event-section-heading + .tama-event-note,
  body.single-tama_story .single-main .single-content h2.tama-event-section-heading + .tama-event-last-note,
  body.single-tama_story .single-main .single-content h2.tama-event-section-heading + .tama-event-location,
  body.single-tama_story .single-main .single-content h2.tama-event-section-heading + p:not(.tama-event-eyebrow),
  body.single-tama_story .single-main .single-content h2.tama-event-section-heading + h3 {
    margin-block-start: 0 !important;
  }

  body.single-tama_story .single-main .single-content .tama-event-highlight {
    line-height: 1.75 !important;
    margin-block: 0 1.4em !important;
  }

  body.single-tama_story .single-main .single-content .tama-event-note,
  body.single-tama_story .single-main .single-content .tama-event-last-note {
    padding-block: 0 !important;
    padding-inline: 0 !important;
  }

  body.single-tama_story .single-main .single-content .tama-event-summary,
  body.single-tama_story .single-main .single-content .tama-event-timeline {
    margin-block: 0 1.4em !important;
  }

  body.single-tama_story .single-main .single-content .tama-event-summary li,
  body.single-tama_story .single-main .single-content .tama-event-timeline li {
    line-height: 1.7 !important;
    margin-block: 0 !important;
  }

  body.single-tama_story .single-main .single-content .tama-event-source {
    line-height: 1.7 !important;
  }
}

/* 2026-09-22: align mobile story width and sentence rhythm */
@media screen and (max-width:900px) {
  body.single-tama_story.tama-visual-article .single-main {
    width: min(var(--tama-reading-width, 760px), calc(100% - 28px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  body.single-tama_story.tama-visual-article .single-main .single-content {
    width: 100% !important;
    max-width: none !important;
  }

  body.single-tama_story.tama-visual-article .single-main .single-content p[data-tama-mobile-sentence] {
    margin-block-start: 0 !important;
    margin-block-end: .8em !important;
  }

  body.single-tama_story.tama-visual-article .single-main .single-content p[data-tama-mobile-sentence-end] {
    margin-block-end: 1.4em !important;
  }
}


/* 2026-09-22: keep sentence breaks tight inside each original paragraph */
@media screen and (max-width:900px) {
  body.single-tama_story .single-main .single-content p[data-tama-mobile-sentence] {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
  }

  body.single-tama_story .single-main .single-content p[data-tama-mobile-sentence-end] {
    margin-block-end: 1.4em !important;
  }
}


/* 2026-09-22: tighten mobile sentence spacing with matching specificity */
@media screen and (max-width:900px) {
  body.single-tama_story.tama-visual-article .single-main .single-content p[data-tama-mobile-sentence] {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
  }

  body.single-tama_story.tama-visual-article .single-main .single-content p[data-tama-mobile-sentence-end] {
    margin-block-end: 1.4em !important;
  }
}


/* 2026-09-22: override base paragraph spacing for mobile sentence parts */
@media screen and (max-width:900px) {
  body.single-tama_story.tama-visual-article .single-main .single-content > p[data-tama-mobile-sentence]:not(.section-label):not(.tama-event-eyebrow):not(.tama-story-share__status):not(.tama-event-highlight) {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
  }

  body.single-tama_story.tama-visual-article .single-main .single-content > p[data-tama-mobile-sentence-end]:not(.section-label):not(.tama-event-eyebrow):not(.tama-story-share__status):not(.tama-event-highlight) {
    margin-block-end: 1.4em !important;
  }
}


/* 2026-09-22: unify mobile story prose targets */
@media screen and (max-width:900px) {
  body.single-tama_story.tama-visual-article .single-main .single-content > p:not(.section-label):not(.tama-event-eyebrow):not(.tama-article-toc__eyebrow):not(.tama-story-share__status):not(.tama-event-highlight):not(.tmeh-kicker) {
    font-size: 16px !important;
    line-height: 1.75 !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    margin-block-start: 0 !important;
    margin-block-end: 1.4em !important;
  }

  body.single-tama_story.tama-visual-article .single-main .single-content > p[data-tama-mobile-sentence]:not(.section-label):not(.tama-event-eyebrow):not(.tama-article-toc__eyebrow):not(.tama-story-share__status):not(.tama-event-highlight):not(.tmeh-kicker) {
    margin-block-end: 0 !important;
  }

  body.single-tama_story.tama-visual-article .single-main .single-content > p[data-tama-mobile-sentence-end]:not(.section-label):not(.tama-event-eyebrow):not(.tama-article-toc__eyebrow):not(.tama-story-share__status):not(.tama-event-highlight):not(.tmeh-kicker) {
    margin-block-end: 1.4em !important;
  }
}


/* 2026-09-22: use the shared outer content width once on mobile stories */
@media screen and (max-width:900px) {
  body.single-tama_story.tama-visual-article #main-content > .section {
    width: var(--tama-content) !important;
    max-width: 1180px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single-tama_story.tama-visual-article .single-layout,
  body.single-tama_story.tama-visual-article .single-main,
  body.single-tama_story.tama-visual-article .single-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
}

/* 2026-09-23 emergency: stable full-width story frame */
body.single-tama_story.tama-visual-article #main-content > .section {
  width: min(1180px, calc(100% - 36px)) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

body.single-tama_story.tama-visual-article .single-layout,
body.single-tama_story.tama-visual-article .single-main,
body.single-tama_story.tama-visual-article .single-content {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.single-tama_story.tama-visual-article .single-main,
body.single-tama_story.tama-visual-article .single-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 2026-09-23 emergency: prevent the desktop header from widening the page */
@media screen and (min-width: 901px) and (max-width: 1340px) {
  .site-header {
    grid-template-columns: 280px minmax(0, 1fr) !important;
  }

  .main-nav {
    min-width: 0 !important;
    gap: 10px !important;
  }

  .main-nav > a:not(.header-cta) {
    width: 106px !important;
    min-width: 0 !important;
  }

  .main-nav > .header-cta {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}


/* 2026-09-23: mobile-first story width and heading breathing room */
body.single-tama_story.tama-visual-article .single-content h2.tama-event-section-heading {
  margin-bottom: .8em !important;
}

@media screen and (max-width: 900px),
       screen and (max-device-width: 900px),
       screen and (hover: none) and (pointer: coarse) {
  body.single-tama_story.tama-visual-article #main-content > .section {
    width: min(1180px, calc(100% - 28px)) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.single-tama_story.tama-visual-article .single-layout,
  body.single-tama_story.tama-visual-article .single-main,
  body.single-tama_story.tama-visual-article .single-content {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.single-tama_story.tama-visual-article .single-side {
    display: none !important;
  }

  body.single-tama_story.tama-visual-article .single-content h2.tama-event-section-heading {
    margin-bottom: .8em !important;
  }
}


/* 2026-09-23: shared story opening spacing */
@media screen and (min-width: 901px) {
  body.single-tama_story .single-main .single-content > .tama-event-highlight + .tama-event-lead {
    margin-top: 1.4em !important;
  }
}

/* 2026-09-23: remove legacy duplicate labels from the Yuuyake Komichi article */
body.single-tama_story.postid-1379 .single-content > p:first-child::before,
body.single-tama_story.postid-1379 .single-content > h2:nth-of-type(2)::before {
  content: none !important;
  display: none !important;
}



/* 2026-09-23: match the section-heading gap after event highlights */
/* 2026-09-23: add spacing after the pre-outing checklist box */
body.single-tama_story.tama-visual-article .single-content > h2.tama-event-section-heading + ul:not([class]) {
  margin-bottom: 1.4em !important;
}


/* 2026-09-23: hide the AREAS kicker on mobile only. */
@media screen and (max-width: 900px) {
  body.post-type-archive-tama_area .page-hero-inner > p.section-label {
    display: none !important;
  }
}


/* 2026-09-23: tighten event-story hero-to-content spacing and the MORE EVENTS card. */
body.single-tama_story.tama-visual-article #main-content > .section {
  padding-top: 48px !important;
}

body.single-tama_story.tama-visual-article .single-main > .single-date {
  font-size: 12px !important;
  line-height: 24px !important;
}

body.single-tama_story.tama-visual-article .single-feature {
  margin-top: 20px !important;
}

body.single-tama_story.tama-visual-article .single-main .single-content .tmeh-event-context {
  margin-top: 16px !important;
  padding-top: 16px !important;
}

body.single-tama_story.tama-visual-article .single-main .single-content .tmeh-event-context > p.tama-event-eyebrow {
  margin-top: 8px !important;
}

body.single-tama_story.tama-visual-article .single-main .single-content a.tmeh-button,
body.single-tama_story.tama-visual-article .single-main .single-content a.tmeh-button:hover,
body.single-tama_story.tama-visual-article .single-main .single-content a.tmeh-button:focus-visible {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-color: transparent !important;
}

@media screen and (max-width: 900px) {
  body.single-tama_story.tama-visual-article #main-content > .section {
    padding-top: 40px !important;
  }

  body.single-tama_story.tama-visual-article .single-feature {
    margin-top: 18px !important;
  }
}


/* 2026-09-23: restore Nishitama typography and rebalance the desktop region hero. */
main#main-content.nishitama-guide {
  color: var(--nt-ink, var(--tama-ink, #242724));
  font-family: var(--tama-body, "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif);
  letter-spacing: .04em;
}

main#main-content.nishitama-guide p:not(.section-label) {
  font-family: var(--tama-body, "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif) !important;
}

main#main-content.nishitama-guide h1,
main#main-content.nishitama-guide h2,
main#main-content.nishitama-guide h3 {
  font-family: var(--tama-pop, "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif) !important;
  font-weight: 400 !important;
  letter-spacing: .02em !important;
}

@media screen and (min-width: 701px) {
  main#main-content.nishitama-guide h2 {
    font-size: 24px !important;
    line-height: 1.5 !important;
  }

  main#main-content.nishitama-guide h3 {
    font-size: 18px !important;
    line-height: 1.6 !important;
  }

  main#main-content.nishitama-guide .nt-hero h1 {
    font-size: 42px !important;
    line-height: 1.35 !important;
  }

  main#main-content.nishitama-guide .nt-hero-grid {
    grid-template-columns: 384px minmax(0, 680px);
    grid-template-rows: auto auto;
    column-gap: 48px;
    row-gap: 24px;
    align-items: center;
  }

  main#main-content.nishitama-guide .nt-hero-copy {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    padding: 0 0 0 20px;
  }

  main#main-content.nishitama-guide .nt-hero-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    max-width: 680px;
    align-self: center;
  }

  main#main-content.nishitama-guide .nt-hero-visual img {
    width: 100%;
    height: 490px;
    object-fit: cover;
  }

  main#main-content.nishitama-guide .nt-hero-answer {
    grid-column: 1;
    grid-row: 2;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 0;
  }

  main#main-content.nishitama-guide .nt-hero-answer strong {
    padding-left: 20px;
    font-size: 18px;
    line-height: 1.6;
  }

  main#main-content.nishitama-guide .nt-hero-answer p {
    font-size: 14px;
    line-height: 2;
  }
}

@media screen and (max-width: 700px) {
  main#main-content.nishitama-guide .nt-hero h1 {
    font-size: 36px !important;
    line-height: 1.35 !important;
  }

  main#main-content.nishitama-guide h2 {
    font-size: 22px !important;
    line-height: 1.5 !important;
  }

  main#main-content.nishitama-guide h3 {
    font-size: 18px !important;
    line-height: 1.6 !important;
  }
}


/* 2026-09-23: restore the Nishitama hero's intended text scale. */
body.single-tama_course.postid-966 #main-content .tama-course-prepare .tama-course-label,
body.single-tama_course.postid-966 #main-content .tama-course-prepare h2,
body.single-tama_course.postid-966 #main-content .tama-course-prepare li,
body.single-tama_course.postid-966 #main-content .tama-course-prepare .tama-course-notice {
  color: #fff !important;
}

body.single-tama_course.postid-966 #main-content .tama-course-prepare li {
  border-color: #fff !important;
}

main#main-content.nishitama-guide .nt-kicker:not(.section-label) {
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: var(--tama-orange-deep) !important;
  font-family: var(--tama-pop) !important;
  font-size: 13px !important;
  letter-spacing: 0.08em !important;
  line-height: normal !important;
}

main#main-content.nishitama-guide .nt-tagline {
  font-family: var(--tama-pop, "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif) !important;
  font-size: 25px !important;
  line-height: 1.5 !important;
}

main#main-content.nishitama-guide .nt-hero-answer p {
  font-size: 14px !important;
  line-height: 2 !important;
}

@media screen and (max-width: 700px) {
  .nt-towns .nt-town-body {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding-top: 18px !important;
    text-align: left !important;
  }

  .nt-towns .nt-town-no {
    display: block !important;
    margin-bottom: 6px !important;
  }

  main#main-content.nishitama-guide .nt-tagline {
    font-size: 20px !important;
  }

  main#main-content.nishitama-guide .nt-hero-answer p {
    font-size: 13px !important;
  }
}


/* 2026-09-23: keep the Nishitama tagline in the display font. */
main#main-content.nishitama-guide p.nt-tagline {
  font-family: var(--tama-pop, "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif) !important;
}


/* 2026-09-23: Nishitama hero balance pass for smaller headings. */
@media screen and (min-width: 1200px) {
  main#main-content.nishitama-guide .nt-hero {
    padding: 40px 0 88px !important;
  }

  main#main-content.nishitama-guide .nt-hero-grid {
    grid-template-columns: 384px minmax(0, 650px) !important;
    grid-template-rows: auto auto !important;
    column-gap: 56px !important;
    row-gap: 20px !important;
    align-items: center !important;
  }

  main#main-content.nishitama-guide .nt-hero-visual {
    max-width: 650px !important;
  }

  main#main-content.nishitama-guide .nt-hero-visual img {
    height: 440px !important;
    border-radius: 64px 0 !important;
  }

  main#main-content.nishitama-guide .nt-hero-answer {
    gap: 10px !important;
  }

  main#main-content.nishitama-guide .nt-hero-answer p {
    line-height: 1.9 !important;
  }
}

@media screen and (min-width: 701px) and (max-width: 1199px) {
  main#main-content.nishitama-guide .nt-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
    grid-template-rows: auto auto !important;
    column-gap: 30px !important;
    row-gap: 20px !important;
    align-items: center !important;
  }

  main#main-content.nishitama-guide .nt-hero-copy {
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding-left: 18px !important;
  }

  main#main-content.nishitama-guide .nt-hero-visual {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    width: 100% !important;
    max-width: none !important;
  }

  main#main-content.nishitama-guide .nt-hero-visual img {
    width: 100% !important;
    height: clamp(340px, 42vw, 420px) !important;
    border-radius: 56px 0 !important;
  }

  main#main-content.nishitama-guide .nt-hero-answer {
    grid-column: 1 !important;
    grid-row: 2 !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 0 !important;
  }

  main#main-content.nishitama-guide .nt-hero-answer p {
    line-height: 1.9 !important;
  }
}

@media screen and (max-width: 700px) {
  main#main-content.nishitama-guide .nt-hero {
    padding: 24px 0 56px !important;
  }

  main#main-content.nishitama-guide .nt-hero-grid {
    gap: 20px !important;
  }

  main#main-content.nishitama-guide .nt-hero-copy {
    padding-bottom: 8px !important;
  }

  main#main-content.nishitama-guide .nt-hero-visual img {
    width: 100% !important;
    height: clamp(230px, 64vw, 260px) !important;
    border-radius: 36px 0 !important;
  }

  main#main-content.nishitama-guide .nt-hero-answer {
    gap: 8px !important;
  }

  main#main-content.nishitama-guide .nt-hero-answer strong {
    line-height: 1.55 !important;
  }

  main#main-content.nishitama-guide .nt-hero-answer p {
    line-height: 1.85 !important;
  }
}

/* 2026-09-23: Nishitama map integration and shared reading scale. */
main#main-content.nishitama-guide {
  --nt-readable-size: 16px;
  --nt-readable-leading: 1.9;
}

main#main-content.nishitama-guide .nt-hero-answer p,
main#main-content.nishitama-guide .nt-intro p,
main#main-content.nishitama-guide .nt-about-layout p:not(.nt-kicker) {
  font-size: var(--nt-readable-size) !important;
  line-height: var(--nt-readable-leading) !important;
  letter-spacing: .02em !important;
}

main#main-content.nishitama-guide h2 {
  font-size: 24px !important;
  line-height: 1.5 !important;
}

main#main-content.nishitama-guide h3 {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

@media screen and (min-width: 701px) {
  main#main-content.nishitama-guide .nt-about-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr) !important;
    gap: 56px !important;
    align-items: start !important;
  }

  main#main-content.nishitama-guide .nt-about-layout .nt-definition {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  main#main-content.nishitama-guide .nt-about-layout .nt-map {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 58px 0 0 auto !important;
    align-self: start !important;
  }

  main#main-content.nishitama-guide .nt-about-layout .nt-map img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}

@media screen and (max-width: 700px) {
  main#main-content.nishitama-guide h2 {
    font-size: 22px !important;
    line-height: 1.5 !important;
  }

  main#main-content.nishitama-guide h3 {
    font-size: 18px !important;
    line-height: 1.6 !important;
  }

  main#main-content.nishitama-guide .nt-about-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  main#main-content.nishitama-guide .nt-about-layout .nt-map {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: min(100%, 520px) !important;
    margin: 0 auto !important;
  }

  main#main-content.nishitama-guide .nt-about-layout .nt-map img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* 2026-09-23: keep the ABOUT layout readable at tablet widths. */
@media screen and (min-width: 701px) and (max-width: 960px) {
  main#main-content.nishitama-guide .nt-about-layout {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  main#main-content.nishitama-guide .nt-about-layout .nt-definition,
  main#main-content.nishitama-guide .nt-about-layout .nt-map {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: 520px !important;
    margin: 0 auto !important;
  }

  main#main-content.nishitama-guide .nt-about-layout .nt-map img {
    width: 100% !important;
    height: auto !important;
  }
}

/* 2026-09-23: align Nishitama hierarchy and make ABOUT image-led. */
main#main-content.nishitama-guide .nt-hero-answer strong {
  font-size: 24px !important;
  line-height: 1.5 !important;
}

main#main-content.nishitama-guide .nt-intro-copy {
  padding-top: 16px !important;
}

main#main-content.nishitama-guide .nt-inline-towns {
  margin-top: 20px !important;
  padding-top: 16px !important;
  padding-bottom: 12px !important;
}

main#main-content.nishitama-guide .nt-about-layout .nt-definition {
  border-top: 0 !important;
  padding-top: 0 !important;
}

main#main-content.nishitama-guide .nt-about-layout .nt-definition .nt-facts {
  padding: 16px 0 !important;
  line-height: 1.9 !important;
}

@media screen and (min-width: 961px) {
  main#main-content.nishitama-guide .nt-about-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr) !important;
    align-items: start !important;
  }

  main#main-content.nishitama-guide .nt-about-layout .nt-map {
    grid-column: 1 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    justify-sel[Truncated]
}}
/* Information hero: final responsive match with /eat/. */
body.post-type-archive-tama_notice main#main-content .page-hero {
  min-height: 306px !important;
}
@media screen and (max-width: 900px) {
  body.post-type-archive-tama_notice main#main-content .page-hero {
    min-height: 224px !important;
  }
  body.post-type-archive-tama_notice main#main-content .page-hero .section-label {
    display: none !important;
  }
}
@media screen and (max-width: 900px) and (min-width: 601px) {
  body.post-type-archive-tama_notice main#main-content .page-hero {
    min-height: 224px !important;
  }
}
@media screen and (max-width: 600px) {
  body.post-type-archive-tama_notice main#main-content .page-hero {
    min-height: 288px !important;
  }
}


/* Show the existing compact menu before the desktop links become cramped. */
@media (min-width: 901px) and (max-width: 1280px) {
  .site-header { min-height: 80px; padding: 11px 18px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-text small { font-size: 7px; }
  .brand-text strong { font-size: 17px; }
  .menu-button { display: grid; place-items: center; width: 44px; height: 42px; border: 2px solid var(--tama-ink); background: #fff; font-family: var(--tama-pop); font-size: 9px; }
  .main-nav { display: none; position: absolute; z-index: 40; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px 18px 16px; background: #fff; border-bottom: 2px solid var(--tama-ink); box-shadow: 0 14px 20px rgba(36,39,36,.12); }
  .main-nav.is-open { display: flex; }
  .main-nav a { display: flex; justify-content: space-between; min-width: 0; min-height: 50px; padding: 0 10px; border-bottom: 1px dotted var(--tama-line); font-size: 12px; }
  .nav-en { font-size: 9px; }
  .main-nav a.tama-es-english-button, .main-nav a.tama-es-english-button[aria-current="page"] { padding: 0 10px !important; }
  .main-nav a.header-cta { align-self: stretch !important; width: 100% !important; font-size: 14px !important; padding: 15px 16px !important; }
}




/* 2026-09-26: keep clear spacing after event overview cards and maps */
body.single-tama_story.tama-visual-article main#main-content .single-main .single-content .tama-event-summary:not(.tama-event-summary--compact),
body.single-tama_story.tama-visual-article main#main-content .single-main .single-content .tama-event-map {
  margin-block-end: clamp(32px, 2.5vw, 40px) !important;
}


/* Keep the existing mobile header and MENU control in the compact range. */
@media (min-width: 901px) and (max-width: 1280px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    min-height: 76px;
    padding: 10px 14px;
  }
  .brand { min-width: 0; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-text small { font-size: 7px; }
  .brand-text strong { font-size: 17px; }
  .menu-button {
    position: relative;
    z-index: auto;
    top: auto;
    right: auto;
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(36, 39, 36, 0.56);
    border-radius: 5px;
    background: #f7f2e7;
    box-shadow: none;
    color: var(--tama-ink);
    font-size: 0;
    line-height: 0;
    transform: none;
  }
  .menu-button::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 19px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    background: var(--tama-ink);
    box-shadow: 0 -6px 0 var(--tama-ink), 0 6px 0 var(--tama-ink);
  }
  .menu-button:hover,
  .menu-button:focus-visible {
    background: #eee8db;
    box-shadow: none;
    color: var(--tama-ink);
    transform: none;
  }
  .main-nav a.nav-language-switch {
    display: flex;
    background: #f6cfb8;
    color: #54291d;
    font-weight: 700;
  }
}


/* Match the compact header's right-side button placement. */
@media (min-width: 901px) and (max-width: 1280px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
}


/* Use the site's existing mobile header before the desktop navigation gets cramped. */
@media (min-width: 901px) and (max-width: 1400px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto !important;
    column-gap: 10px;
    min-height: 76px;
    padding: 10px 14px;
  }
  .brand { min-width: 0; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-text small { font-size: 7px; }
  .brand-text strong { font-size: 17px; }
  .menu-button {
    position: relative;
    z-index: auto;
    top: auto;
    right: auto;
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(36, 39, 36, .56);
    border-radius: 5px;
    background: #f7f2e7;
    box-shadow: none;
    color: var(--tama-ink);
    font-size: 0;
    line-height: 0;
    transform: none;
  }
  .menu-button::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 19px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    transform: translate(-50%, -50%);
    background: var(--tama-ink);
    box-shadow: 0 -6px 0 var(--tama-ink), 0 6px 0 var(--tama-ink);
  }
  .menu-button:hover,
  .menu-button:focus-visible {
    background: #eee8db;
    box-shadow: none;
    color: var(--tama-ink);
    transform: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    z-index: 40;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px 18px 16px;
    background: #fff;
    border-bottom: 2px solid var(--tama-ink);
    box-shadow: 0 14px 20px rgba(36, 39, 36, .12);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    display: flex;
    justify-content: space-between;
    min-width: 0;
    min-height: 50px;
    padding: 0 10px;
    border-bottom: 1px dotted var(--tama-line);
    font-size: 12px;
  }
  .nav-en { font-size: 9px; }
  .main-nav a.tama-es-english-button,
  .main-nav a.tama-es-english-button[aria-current="page"] { padding: 0 10px !important; }
  .main-nav a.header-cta {
    align-self: stretch !important;
    width: 100% !important;
    font-size: 14px !important;
    padding: 15px 16px !important;
  }
  .main-nav a.nav-language-switch {
    display: flex;
    background: #f6cfb8;
    color: #54291d;
    font-weight: 700;
  }
}


/* Event page: keep the mood sidebar beside the list on desktop and at the page end on small screens. */
body.page-id-23 .tmeh-events-listing-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 220px !important;
  grid-template-areas: "articles mood" "pagination mood" !important;
  align-items: start !important;
  gap: 50px !important;
  width: 100% !important;
}
body.page-id-23 .tmeh-events-listing-layout > .listing-grid {
  grid-area: articles;
  min-width: 0;
}
body.page-id-23 .tmeh-events-listing-layout > .tama-purpose-layout-pagination {
  grid-area: pagination;
}
body.page-id-23 .tmeh-events-listing-layout > .listing-aside {
  grid-area: mood;
  position: sticky;
  top: 24px;
  width: 100%;
  margin: 0;
  align-self: start;
}
@media (max-width: 900px) {
  body.page-id-23 .tmeh-events-listing-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    width: var(--tama-content, min(1180px, calc(100% - 56px))) !important;
    max-width: 1180px;
    margin-inline: auto !important;
  }
  body.page-id-23 .tmeh-events-listing-layout > .listing-grid {
    order: 1;
    width: 100%;
  }
  body.page-id-23 .tmeh-events-listing-layout > .tama-purpose-layout-pagination {
    order: 2;
    width: 100%;
  }
  body.page-id-23 main > .listing-aside {
    position: static;
    width: var(--tama-content, min(1180px, calc(100% - 56px)));
    max-width: 1180px;
    margin: 32px auto 0 !important;
  }
}


/* Let every mobile menu item use the full menu width. */
@media (min-width: 901px) and (max-width: 1400px) {
  .main-nav > a {
    width: 100% !important;
  }
}


/* Override the narrower desktop link width in the mobile menu. */
@media (min-width: 901px) and (max-width: 1400px) {
  .main-nav > a:not(.header-cta) {
    width: 100% !important;
  }
}


/* 2026-09-28: keep space below the harvest guidance box */
body.single-tama_story.tama-visual-article main#main-content .single-main .single-content h2#festival-guide + p + ol {
  margin-block-end: clamp(32px, 2.5vw, 40px) !important;
}


/* 2026-09-28: move the in-list pagination below story cards on narrow screens */
@media screen and (max-width: 900px) {
  html body.post-type-archive-tama_story #main-content .listing-grid > .tama-story-layout-pagination {
    order: 1 !important;
  }
}


/* 2026-09-28: center the first story archive pagination on narrow screens */
@media screen and (max-width: 900px) {
  html body.post-type-archive-tama_story #main-content .listing > .tama-story-layout-pagination {
    width: 100% !important;
    justify-content: center !important;
  }
}
/* 2026-09-28: align Weekend hero intro with Explore */body.page-id-2841 main#main-content .page-hero .page-hero-inner > p:not(.section-label) {  color: #fff !important;  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;  font-size: 16px !important;  line-height: 2 !important;  font-weight: 700 !important;  letter-spacing: normal !important;}


/* 2026-09-28: keep the Weekend hero intro clear of auto-excerpt spillover */
body.page-id-2841 main#main-content .page-hero .page-hero-inner > p:not(.section-label) {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}
@media (min-width: 768px) {
  body.page-id-2841 main#main-content .page-hero .page-hero-inner > p:not(.section-label) {
    -webkit-line-clamp: 1 !important;
  }
}


/* 2026-09-28: tune Weekend hero excerpt lines for phone widths */
body.page-id-2841 main#main-content .page-hero .page-hero-inner > p:not(.section-label) {
  -webkit-line-clamp: 1 !important;
}
@media (max-width: 480px) {
  body.page-id-2841 main#main-content .page-hero .page-hero-inner > p:not(.section-label) {
    -webkit-line-clamp: 2 !important;
  }
}


/* 2026-09-28: constrain the Weekend hero copy to its own line */
body.page-id-2841 main#main-content .page-hero .page-hero-inner > p:not(.section-label) {
  max-width: 420px !important;
  width: 100% !important;
}


/* 2026-09-28: Weekend page refinements */
body.page-id-2841 main#main-content .page-hero .page-hero-inner > p:not(.section-label) {
  display: block !important;
  overflow: visible !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  white-space: normal !important;
}
body.page-id-2841 main#main-content .tama-weekend-roundup > .section-label {
  margin-bottom: 6px !important;
}
body.page-id-2841 main#main-content .tama-weekend-roundup > h2.section-title {
  margin-top: 0 !important;
}
body.page-id-2841 main#main-content .weekend-last-checked {
  margin: 12px 0 28px !important;
  color: #666 !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}
body.page-id-2841 main#main-content .tama-weekend-roundup .tama-event-section-heading {
  border-left: 6px solid #db744b !important;
  padding-left: 18px !important;
  font-size: clamp(21px, 2.5vw, 28px) !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  margin: 36px 0 16px !important;
}
body.page-id-2841 main#main-content .tama-weekend-article-introductions .listing-card h2.tama-event-section-heading {
  border-left-width: 4px !important;
  padding-left: 12px !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  margin: 0 0 6px !important;
}
body.page-id-2841 main#main-content .weekend-pick-list {
  margin: 14px 0 0 !important;
  padding-left: 1.5em !important;
  line-height: 1.9 !important;
}
body.page-id-2841 main#main-content .weekend-pick-list li + li {
  margin-top: 8px !important;
}

/* Correct card-title selector: match the Weekend section class in the page markup. */
body.page-id-2841 main#main-content .weekend-article-introductions .listing-card h2.tama-event-section-heading {
  border-left-width: 4px !important;
  padding-left: 12px !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  margin: 0 0 6px !important;
}

/* Weekend page: use the theme's automatic excerpt only as source text, and keep the page intro readable in the body. */
body.page-id-2841 main#main-content .page-hero .page-hero-inner > p:not(.section-label) {
  display: none !important;
}
body.page-id-2841 main#main-content .weekend-intro {
  margin: 12px 0 24px !important;
  color: #333 !important;
  font-size: 16px !important;
  line-height: 2 !important;
}

/* Weekend article cards: reproduce the Explore template's horizontal card layout. */
@media (min-width: 768px) {
  body.page-id-2841 main#main-content .single-layout {
    grid-template-columns: minmax(0, 1fr) 220px !important;
    column-gap: 50px !important;
  }
  body.page-id-2841 main#main-content .single-main,
  body.page-id-2841 main#main-content .single-content {
    width: 100% !important;
    max-width: none !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-grid--horizontal {
    width: 100% !important;
    max-width: 910px !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 17px !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card--horizontal > a {
    display: flex !important;
    flex-direction: row !important;
    min-height: 148px !important;
    align-items: stretch !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card-image {
    flex: 0 0 220px !important;
    width: 220px !important;
    min-height: 148px !important;
    align-self: stretch !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-width: 0 !important;
    padding: 17px 22px 16px !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card-body h2 {
    margin: 0 0 6px !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card-body p {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.75 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }
}
@media (max-width: 767px) {
  body.page-id-2841 main#main-content .single-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.page-id-2841 main#main-content .single-main,
  body.page-id-2841 main#main-content .single-content {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-grid--horizontal {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card--horizontal > a {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 148px !important;
    min-height: 148px !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card-image {
    flex: 0 0 104px !important;
    width: 104px !important;
    height: 148px !important;
    min-height: 148px !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-width: 0 !important;
    height: 148px !important;
    padding: 10px 12px 9px !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card-body h2 {
    margin: 0 0 3px !important;
    font-size: 16px !important;
    line-height: 24px !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card-body p {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 17.05px !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card {
    box-shadow: rgba(99, 168, 185, 0.55) 4px 4px 0 0 !important;
  }
}

/* Extend the Weekend cards through the inner section gutter to match Explore's 910px list. */
@media (min-width: 768px) {
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-grid--horizontal {
    width: calc(100% + 56px) !important;
  }
}

/* Align the whole article section to the same content rails as Explore. */
@media (min-width: 768px) {
  body.page-id-2841 main#main-content .weekend-article-introductions {
    width: calc(100% + 56px) !important;
    margin-left: -28px !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-grid--horizontal {
    width: 100% !important;
  }
}
@media (max-width: 767px) {
  body.page-id-2841 main#main-content .weekend-article-introductions {
    width: calc(100% + 36px) !important;
    margin-left: -18px !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-grid--horizontal {
    width: 100% !important;
    margin-left: 0 !important;
  }
}


/* Weekend: align content rails and tighten the hero-to-content gap */
body.page-id-2841 main#main-content .page-hero {
  margin-bottom: 0 !important;
}
body.page-id-2841 main#main-content .tama-weekend-roundup {
  margin-top: 0 !important;
  padding-top: 36px !important;
}
body.page-id-2841 main#main-content .weekend-article-introductions {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
body.page-id-2841 main#main-content .weekend-article-introductions .listing-grid--horizontal {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Reduce the inherited gap below the page title banner on Weekend */
body.page-id-2841 main#main-content .tama-weekend-roundup {
  margin-top: -88px !important;
  padding-top: 32px !important;
}

/* Match the Explore article list rail: 910px desktop, 339px at 390px mobile */
@media (min-width: 768px) {
  body.page-id-2841 main#main-content .weekend-article-introductions {
    width: calc(100% + 56px) !important;
    margin-left: -28px !important;
    margin-right: 0 !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-grid--horizontal {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 767px) {
  body.page-id-2841 main#main-content .weekend-article-introductions {
    width: calc(100% + 36px) !important;
    margin-left: -18px !important;
    margin-right: 0 !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-grid--horizontal {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Use the Explore list rail for the entire Weekend body, not only its cards */
@media (min-width: 768px) {
  body.page-id-2841 main#main-content .tama-weekend-roundup {
    width: calc(100% + 56px) !important;
    margin-left: -28px !important;
    margin-right: 0 !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 767px) {
  body.page-id-2841 main#main-content .tama-weekend-roundup {
    width: calc(100% + 36px) !important;
    margin-left: -18px !important;
    margin-right: 0 !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* 2026-09-28: Keep Weekend content inside the same rail as Explore */
@media (min-width: 768px) {
  body.page-id-2841 main#main-content .tama-weekend-roundup {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 767px) {
  body.page-id-2841 main#main-content .tama-weekend-roundup {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* 2026-09-28: Keep Weekend article cards horizontal on mobile, like the Explore listing. */
@media (max-width: 767px) {
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card--horizontal > a {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card--horizontal .listing-card-image {
    flex: 0 0 26% !important;
    width: 26% !important;
    max-width: 26% !important;
    min-width: 88px;
    position: relative;
    overflow: hidden;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card--horizontal .listing-card-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 140px;
    object-fit: cover;
  }
  body.page-id-2841 main#main-content .weekend-article-introductions .listing-card--horizontal .listing-card-body {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0;
  }
}

/* Increase inset of official source links in event story boxes */
body.single-tama_story.tama-visual-article main#main-content .single-main .single-content ul.tama-event-source {
  padding-inline-start: 3.25rem !important;
}


/* 2026-09-29: targeted event callout and lead width */

body.single-tama_story.tama-visual-article main#main-content .single-main .single-content p.tama-event-highlight {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  padding: 20px 24px;
  background: #d97952;
  color: #fff;
  font-family: var(--tama-body, sans-serif);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: normal;
}

body.single-tama_story.tama-visual-article main#main-content .single-main .single-content p.tama-event-highlight strong {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-weight: 500;
}

body.single-tama_story.tama-visual-article main#main-content .single-main .single-content p.tama-event-highlight .tama-event-highlight-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 8px 12px;
  border: 2px solid currentColor;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
  text-align: center;
}

body.single-tama_story.tama-visual-article main#main-content .single-main .single-content p.tama-event-highlight + p.tama-event-lead {
  max-width: none;
}


@media (max-width: 640px) {
  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content p.tama-event-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
  }

  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content p.tama-event-highlight strong {
    flex: none;
    width: 100%;
  }
}

/* 2026-09-29: align area, information, and contact typography with Business */
body.post-type-archive-tama_area #main-content,
body.post-type-archive-tama_notice #main-content,
body.page-id-2 #main-content {
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  font-weight: 500 !important;
  -webkit-font-smoothing: antialiased;
}
body.post-type-archive-tama_area #main-content h1,
body.post-type-archive-tama_area #main-content h2,
body.post-type-archive-tama_area #main-content h3,
body.post-type-archive-tama_notice #main-content h1,
body.post-type-archive-tama_notice #main-content h2,
body.post-type-archive-tama_notice #main-content h3,
body.page-id-2 #main-content h1,
body.page-id-2 #main-content h2,
body.page-id-2 #main-content h3 {
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}
body.post-type-archive-tama_area #main-content h1,
body.post-type-archive-tama_notice #main-content h1,
body.page-id-2 #main-content h1 {
  font-size: clamp(30px, 3.3vw, 42px) !important;
}
body.post-type-archive-tama_area #main-content p,
body.post-type-archive-tama_area #main-content li,
body.post-type-archive-tama_area #main-content td,
body.post-type-archive-tama_area #main-content th,
body.post-type-archive-tama_area #main-content label,
body.post-type-archive-tama_notice #main-content p,
body.post-type-archive-tama_notice #main-content li,
body.post-type-archive-tama_notice #main-content td,
body.post-type-archive-tama_notice #main-content th,
body.post-type-archive-tama_notice #main-content label,
body.page-id-2 #main-content p,
body.page-id-2 #main-content li,
body.page-id-2 #main-content td,
body.page-id-2 #main-content th,
body.page-id-2 #main-content label {
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  line-height: 1.75 !important;
  font-weight: 500 !important;
}
body.post-type-archive-tama_area #main-content a,
body.post-type-archive-tama_notice #main-content a,
body.page-id-2 #main-content a,
body.post-type-archive-tama_area #main-content button,
body.post-type-archive-tama_notice #main-content button,
body.page-id-2 #main-content button,
body.page-id-2 #main-content input,
body.page-id-2 #main-content textarea,
body.page-id-2 #main-content select {
  font-family: "Zen Kaku Gothic New", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
}
@media (max-width: 700px) {
  body.post-type-archive-tama_area #main-content h1,
  body.post-type-archive-tama_notice #main-content h1,
  body.page-id-2 #main-content h1 {
    font-size: clamp(25px, 6.8vw, 34px) !important;
    line-height: 1.8 !important;
  }
  body.page-id-2 #main-content input,
  body.page-id-2 #main-content textarea,
  body.page-id-2 #main-content select {
    font-size: 16px !important;
  }
}

body.post-type-archive-tama_area #main-content h1,
body.post-type-archive-tama_notice #main-content h1,
body.page-id-2 #main-content h1 {
  word-break: auto-phrase !important;  text-wrap: balance !important;
}






/* 2026-09-29: match Areas and Contact hero typography to standard pages */
body.post-type-archive-tama_area #main-content .page-hero h1,
body.page-id-2 #main-content .page-hero h1 {
  font-family: var(--tama-pop) !important;
  font-size: clamp(32px, 5vw, 64px) !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}
body.post-type-archive-tama_area #main-content .page-hero p:not(.section-label),
body.page-id-2 #main-content .page-hero p:not(.section-label) {
  font-family: var(--tama-body) !important;
  font-size: 15px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
}
body.post-type-archive-tama_area #main-content .section-label {
  font-family: var(--tama-pop) !important;
}
@media (max-width: 768px) {
  body.post-type-archive-tama_area #main-content .page-hero h1,
  body.page-id-2 #main-content .page-hero h1 {
    font-size: 34px !important;
    line-height: 1.4 !important;
  }
  body.post-type-archive-tama_area #main-content .page-hero .section-label,
  body.page-id-2 #main-content .page-hero .section-label {
    display: none !important;
  }
}



/* 2026-09-29: align notice archive hero with the Eat page */
body.post-type-archive-tama_notice #main-content .page-hero h1 {
  font-family: var(--tama-pop) !important;
  font-size: clamp(32px, 5vw, 64px) !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}
body.post-type-archive-tama_notice #main-content .page-hero p:not(.section-label) {
  font-family: var(--tama-body) !important;
  font-size: 15px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
}
body.post-type-archive-tama_notice #main-content .page-hero .section-label {
  font-family: var(--tama-pop) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: .08em !important;
}
@media (max-width: 768px) {
  body.post-type-archive-tama_notice #main-content .page-hero h1 {
    font-size: 34px !important;
    line-height: 1.4 !important;
  }
  body.post-type-archive-tama_notice #main-content .page-hero .section-label {
    display: none !important;
  }
}

/* Match the INFORMATION label weight to the Eat page */
body.post-type-archive-tama_notice #main-content .page-hero .section-label {
  font-weight: 500 !important;
}


/* 2026-09-29: match Areas and Contact responsive typography to Eat */
body.post-type-archive-tama_area #main-content .page-hero h1,
body.page-template-page-contact #main-content .page-hero h1,
body.page-id-2 #main-content .page-hero h1 {
  font-family: var(--tama-pop) !important;
  font-size: 48px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}
body.post-type-archive-tama_area #main-content .page-hero .section-label,
body.page-template-page-contact #main-content .page-hero .section-label,
body.page-id-2 #main-content .page-hero .section-label {
  font-family: var(--tama-pop) !important;
  font-size: 15px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
}
body.post-type-archive-tama_area #main-content .page-hero p:not(.section-label),
body.page-template-page-contact #main-content .page-hero p:not(.section-label),
body.page-id-2 #main-content .page-hero p:not(.section-label) {
  font-family: var(--tama-body) !important;
  font-size: 16px !important;
  line-height: 2 !important;
  font-weight: 700 !important;
}
@media (max-width: 900px) {
  body.post-type-archive-tama_area #main-content .page-hero h1,
  body.page-template-page-contact #main-content .page-hero h1,
  body.page-id-2 #main-content .page-hero h1 {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }
  body.post-type-archive-tama_area #main-content .page-hero .section-label,
  body.page-template-page-contact #main-content .page-hero .section-label,
  body.page-id-2 #main-content .page-hero .section-label {
    display: none !important;
  }
}
/* LET’S TALK uses the same section-label typography as FIVE AREAS OF TAMA */
body.page-id-2 #main-content .contact-intake-intro .section-label {
  font-family: var(--tama-pop) !important;
  font-size: 16px !important;
  line-height: 28px !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
}
/* Contact submit CTA typography */
body.page-id-2 #main-content .form-submit {
  font-family: var(--tama-body) !important;
  font-size: 16px !important;
}
body.page-id-2 #main-content .form-submit::before,
body.page-id-2 #main-content .form-submit::after {
  content: none !important;
  display: none !important;
}


/* 2026-09-29: match Areas and Contact responsive typography to Eat */
body.post-type-archive-tama_area #main-content .page-hero h1,
body.page-template-page-contact #main-content .page-hero h1,
body.page-id-2 #main-content .page-hero h1 {
  font-family: var(--tama-pop) !important;
  font-size: 48px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
}
body.post-type-archive-tama_area #main-content .page-hero .section-label,
body.page-template-page-contact #main-content .page-hero .section-label,
body.page-id-2 #main-content .page-hero .section-label {
  font-family: var(--tama-pop) !important;
  font-size: 15px !important;
  line-height: 2 !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
}
body.post-type-archive-tama_area #main-content .page-hero p:not(.section-label),
body.page-template-page-contact #main-content .page-hero p:not(.section-label),
body.page-id-2 #main-content .page-hero p:not(.section-label) {
  font-family: var(--tama-body) !important;
  font-size: 16px !important;
  line-height: 2 !important;
  font-weight: 700 !important;
}
@media (max-width: 900px) {
  body.post-type-archive-tama_area #main-content .page-hero h1,
  body.page-template-page-contact #main-content .page-hero h1,
  body.page-id-2 #main-content .page-hero h1 {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }
  body.post-type-archive-tama_area #main-content .page-hero .section-label,
  body.page-template-page-contact #main-content .page-hero .section-label,
  body.page-id-2 #main-content .page-hero .section-label {
    display: none !important;
  }
}
/* LET’S TALK uses the same section-label typography as FIVE AREAS OF TAMA */
body.page-id-2 #main-content .contact-intake-intro .section-label {
  font-family: var(--tama-pop) !important;
  font-size: 16px !important;
  line-height: 28px !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
}
/* Contact submit CTA typography */
body.page-id-2 #main-content .form-submit {
  font-family: var(--tama-body) !important;
  font-size: 16px !important;
}
body.page-id-2 #main-content .form-submit::before,
body.page-id-2 #main-content .form-submit::after {
  content: none !important;
  display: none !important;
}


/* Keep the named activity together when lines wrap. */
.tama-nowrap { white-space: nowrap; }


/* 2026-10-07: show the complete featured image on this article at mobile and tablet widths. */
@media screen and (max-width: 900px) {
  body.single-tama_story.postid-3761 .single-feature {
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: visible !important;
  }

  body.single-tama_story.postid-3761 .single-feature img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}


/* Article 3761: align its caution note with the body text. */
body.single-tama_story.postid-3761 .single-main .single-content .tama-event-note {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 !important;
}


/* 2026-10-08: show the vendor status update as a note on article 3761. */
body.single-tama_story.postid-3761 .single-main .single-content aside.tama-event-vendor-update {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
  padding: 1.125rem 1.375rem;
  border: 1px solid rgba(217, 120, 76, 0.28);
  border-left: 5px solid #d9784c;
  border-radius: 8px;
  background: #fff8f2;
  color: #393531;
}

body.single-tama_story.postid-3761 .single-main .single-content .tama-event-vendor-update__label {
  display: inline-block;
  margin: 0 0 0.65rem !important;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #d9784c;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

body.single-tama_story.postid-3761 .single-main .single-content .tama-event-vendor-update__text {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.85;
}

@media (max-width: 600px) {
  body.single-tama_story.postid-3761 .single-main .single-content aside.tama-event-vendor-update {
    margin: 1.5rem 0;
    padding: 1rem;
  }
}


/* 2026-10-08: simple quote style for the vendor status update on article 3761. */
body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 1.25rem 0 !important;
  padding: 0 0 0 1rem !important;
  border: 0 !important;
  border-left: 3px solid #d9784c !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-style: normal;
}

body.single-tama_story.postid-3761 .single-main .single-content .tama-event-update-quote__label {
  margin: 0 0 0.35rem !important;
  color: #d9784c;
  font-size: 0.9em;
  font-weight: 700;
}

body.single-tama_story.postid-3761 .single-main .single-content .tama-event-update-quote__text {
  margin: 0 !important;
  padding: 0 !important;
}


body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__label + p.tama-event-update-quote__text {
  margin-top: 0.35rem !important;
  margin-block-start: 0.35rem !important;
}


body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__label {
  margin-block-end: 0 !important;
}

body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__text {
  margin-block-start: 0 !important;
}


/* 2026-10-08: orange speech-bubble title for the vendor status note on article 3761. */
body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote {
  position: relative !important;
  display: block !important;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 2rem 0 1.5rem !important;
  padding: 1.25em 1rem 0.9em !important;
  border: 2px solid #d9784c !important;
  border-radius: 6px !important;
  background: transparent !important;
  box-shadow: none !important;
  font-style: normal;
  font-size: inherit !important;
  font-weight: 400 !important;
}

body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__label {
  position: absolute !important;
  top: -1em !important;
  left: 0.75rem !important;
  margin: 0 !important;
  padding: 0.3em 0.85em !important;
  border-radius: 999px !important;
  background: #d9784c !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
}

body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__label::after {
  position: absolute;
  bottom: -0.42em;
  left: 50%;
  width: 0;
  height: 0;
  transform: translateX(-50%);
  border-top: 0.45em solid #d9784c;
  border-right: 0.45em solid transparent;
  border-left: 0.45em solid transparent;
  content: '';
}

body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__text {
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: inherit;
}

body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__text strong {
  font-weight: 400 !important;
}


/* Match both parts of the vendor update to the article body. */
body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote {
  font: inherit !important;
}
body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__label,
body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__text,
body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__text strong {
  font: inherit !important;
}
body.single-tama_story.postid-3761 .single-main .single-content blockquote.tama-event-update-quote > p.tama-event-update-quote__label {
  color: #fff !important;
}


/* Force the vendor update label to white in this article. */
body.postid-3761 blockquote.tama-event-update-quote > p.tama-event-update-quote__label {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}


/* 2026-10-13: repair the West Kitatama desktop map layout */
@media (min-width: 701px) {
  main#main-content.nishitama-guide .nt-about-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) !important;
    direction: ltr !important;
    gap: clamp(32px, 4vw, 56px) !important;
    align-items: center !important;
  }
  main#main-content.nishitama-guide .nt-about-layout > .nt-definition {
    grid-column: 1 !important;
    grid-row: 1 !important;
    float: none !important;
    position: relative !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  main#main-content.nishitama-guide .nt-about-layout > .nt-map {
    grid-column: 2 !important;
    grid-row: 1 !important;
    float: none !important;
    position: relative !important;
    width: 100% !important;
    max-width: 520px !important;
    min-width: 0 !important;
    margin: 0 !important;
    justify-self: end !important;
  }
  main#main-content.nishitama-guide .nt-about-layout > .nt-map img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

/* 2026-10-13: keep the mobile site title clear of the menu. */
@media (max-width: 900px) {
  .site-header > .brand {
    width: auto;
    max-width: 100%;
    min-width: 0;
  }
  .site-header .brand-logo {
    flex-shrink: 0;
  }
  .site-header .brand-text {
    min-width: 0;
  }
  .site-header .brand-text strong {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.5;
  }
}
@media (max-width: 480px) {
  .site-header > .brand {
    gap: 8px;
  }
  .site-header .brand-logo {
    width: 40px;
    height: 40px;
  }
  .site-header .brand-text strong {
    font-size: clamp(14px, 4vw, 17px);
    letter-spacing: .02em;
  }
}


/* 2026-10-15: restore municipality guide hero and eyebrow styling */
body.tama-city-guide-page .city-hero-media--placeholder {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2 !important;
  background: transparent !important;
}
body.tama-city-guide-page .city-hero-media--placeholder img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: cover !important;
}
body.tama-city-guide-page .city-kicker,
body.tama-city-guide-page .city-eyebrow {
  color: var(--tama-orange) !important;
  font-family: var(--tama-pop) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.09em !important;
}
body.tama-city-guide-page .city-hero-copy h1 {
  font-size: clamp(42px, 5.2vw, 68px) !important;
  line-height: 1.2 !important;
}
@media screen and (max-width: 900px) {
  body.tama-city-guide-page .city-hero-copy h1 {
    font-size: clamp(36px, 12vw, 48px) !important;
    letter-spacing: 0.05em !important;
  }
}


/* The global paragraph rule has high specificity; restore guide eyebrow tokens. */
body.tama-city-guide-page #main-content .city-page p.city-kicker,
body.tama-city-guide-page #main-content .city-page p.city-eyebrow {
  color: var(--tama-orange) !important;
  font-family: var(--tama-pop) !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.09em !important;
}


/* 2026-10-15: city comparison table mobile cards */
@media (max-width: 820px) {
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border-collapse: separate !important;
    font-size: .88rem !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody {
    display: grid !important;
    gap: 14px !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody tr {
    display: block !important;
    overflow: hidden !important;
    padding: 13px 14px !important;
    border: 1px solid var(--tama-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(38, 45, 37, .06) !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] {
    display: block !important;
    width: auto !important;
    padding: 0 0 11px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--tama-line) !important;
    background: transparent !important;
    text-align: left !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] strong {
    color: var(--tama-ink) !important;
    font-size: 1.02rem !important;
    line-height: 1.5 !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] span {
    display: inline-block !important;
    margin-top: 4px !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    background: #f8efe2 !important;
    color: #705b43 !important;
    font-size: .72rem !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: start !important;
    width: auto !important;
    padding: 9px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #eee9df !important;
    background: transparent !important;
    color: #343831 !important;
    font-size: .82rem !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td::before {
    grid-column: 1 !important;
    color: #bd681f !important;
    font-size: .73rem !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(1)::before { content: "アクセス" !important; }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(2)::before { content: "滞在目安" !important; }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(3)::before { content: "料金・予約" !important; }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(4)::before { content: "条件別" !important; }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(5)::before { content: "確認先" !important; }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td > strong,
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td > span,
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td > ul,
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td > p,
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td > a {
    grid-column: 2 !important;
    min-width: 0 !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-ratings {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-ratings li {
    min-width: 0 !important;
    padding: 5px 7px !important;
    font-size: .76rem !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-ratings b {
    font-size: .68rem !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-spot-note {
    width: auto !important;
    margin: 7px 0 0 !important;
    color: #595c57 !important;
    font-size: .74rem !important;
    line-height: 1.65 !important;
  }
  body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-official-link {
    display: inline-block !important;
    font-size: .76rem !important;
    overflow-wrap: anywhere !important;
  }
}


/* 2026-10-15: integrate Akiruno spot photos and details */
body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table .city-seo-spot-photo-link,
body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table .city-seo-spot-photo {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 3 / 2 !important;
  margin: 0 0 10px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  line-height: 0 !important;
}
body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table .city-seo-spot-photo-link img,
body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table .city-seo-spot-photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] .city-seo-spot-photo-link > span {
  position: absolute !important;
  right: 8px !important;
  bottom: 8px !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(36, 39, 36, .88) !important;
  color: #fff !important;
  font-size: .68rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  white-space: nowrap !important;
}
body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] span.city-seo-spot-summary {
  display: block !important;
  margin: 7px 0 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #595c57 !important;
  font-size: .76rem !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}
body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] .city-seo-spot-more {
  display: inline-block !important;
  margin-top: 8px !important;
  color: #bd681f !important;
  font-size: .76rem !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* Keep the no-photo detail link readable in the narrow spot column. */
body.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] .city-seo-spot-more {
  white-space: nowrap !important;
  font-size: .7rem !important;
}

@media (min-width: 821px) and (max-width: 1200px) {
  body.tama-city-guide-page.term-akiruno #main-content .city-seo-comparison .city-seo-table {
    min-width: 0 !important;
  }
}


/* 2026-10-15: city guide heading scale and mobile hero width */
body.tama-city-guide-page .city-hero-copy h1 {
  font-size: clamp(40px, 4.6vw, 60px) !important;
  line-height: 1.2 !important;
}
@media screen and (max-width: 900px) {
  body.tama-city-guide-page .city-hero-copy h1 {
    font-size: clamp(34px, 9.5vw, 40px) !important;
    letter-spacing: 0.04em !important;
  }
  body.tama-city-guide-page .city-hero-media {
    width: calc(100% + 36px) !important;
    margin-left: -18px !important;
    margin-right: -18px !important;
  }
  body.tama-city-guide-page .city-hero-media img {
    width: 100% !important;
    max-width: none !important;
  }
}

/* Municipality guide typography: match the site-wide type scale. */
@media screen and (max-width: 900px) {
  body.tama-city-guide-page #main-content .city-page .city-hero-copy h1 { font-size: 22px !important; line-height: 1.45 !important; }
  body.tama-city-guide-page #main-content .city-page .city-tagline { font-size: 16px !important; line-height: 1.7 !important; }
  body.tama-city-guide-page #main-content .city-page p { font-size: 15px !important; line-height: 1.8 !important; }
  body.tama-city-guide-page #main-content .city-page .city-about-copy, body.tama-city-guide-page #main-content .city-page .city-seo-summary > p:first-child, body.tama-city-guide-page #main-content .city-page .city-seo-section-head > p, body.tama-city-guide-page #main-content .city-page .city-seo-facts dd, body.tama-city-guide-page #main-content .city-page .city-moment-copy p, body.tama-city-guide-page #main-content .city-page .city-route-list p, body.tama-city-guide-page #main-content .city-page .city-spot-copy, body.tama-city-guide-page #main-content .city-page .city-access-route p { font-size: 15px !important; line-height: 1.8 !important; }
  body.tama-city-guide-page #main-content .city-page p.city-kicker, body.tama-city-guide-page #main-content .city-page p.city-eyebrow { font-size: 15px !important; line-height: 1.5 !important; }
  body.tama-city-guide-page #main-content .city-page .city-about h2, body.tama-city-guide-page #main-content .city-page .city-seo-heading h2, body.tama-city-guide-page #main-content .city-page .city-seo-section-head h2, body.tama-city-guide-page #main-content .city-page .city-discover-head h2, body.tama-city-guide-page #main-content .city-page .city-route h2, body.tama-city-guide-page #main-content .city-page .city-related h2, body.tama-city-guide-page #main-content .city-page .city-spots-head h2, body.tama-city-guide-page #main-content .city-page .city-access-guide h2 { font-size: 20px !important; line-height: 1.55 !important; }
  body.tama-city-guide-page #main-content .city-page .city-moment-copy h3, body.tama-city-guide-page #main-content .city-page .city-spot-card h3, body.tama-city-guide-page #main-content .city-page .city-access-route h3, body.tama-city-guide-page #main-content .city-page .city-seo-condition-grid h3, body.tama-city-guide-page #main-content .city-page .city-seo-course-steps h3, body.tama-city-guide-page #main-content .city-page .city-seo-resource-grid h3 { font-size: 18px !important; line-height: 1.55 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-facts dt { font-size: 14px !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-facts dd { font-size: 15px !important; line-height: 1.8 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-editorial-note, body.tama-city-guide-page #main-content .city-page .city-seo-course-note, body.tama-city-guide-page #main-content .city-page .city-seo-rating-note { font-size: 14px !important; line-height: 1.7 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-table tbody td { font-size: 16px !important; line-height: 1.7 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-table tbody td::before { font-size: 13px !important; line-height: 1.6 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-spot-summary, body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-spot-note { font-size: 14px !important; line-height: 1.7 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-ratings li { font-size: 14px !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-ratings b { font-size: 12px !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-official-link, body.tama-city-guide-page #main-content .city-page .city-seo-spot-more { font-size: 14px !important; line-height: 1.5 !important; white-space: normal !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-spot-photo-link > span { font-size: 12px !important; }
}
@media screen and (min-width: 901px) {
  body.tama-city-guide-page #main-content .city-page .city-hero-copy h1 { font-size: 48px !important; line-height: 1.25 !important; }
  body.tama-city-guide-page #main-content .city-page .city-tagline { font-size: 16px !important; line-height: 1.7 !important; }
  body.tama-city-guide-page #main-content .city-page p { font-size: 15px !important; line-height: 1.8 !important; }
  body.tama-city-guide-page #main-content .city-page .city-about-copy, body.tama-city-guide-page #main-content .city-page .city-seo-summary > p:first-child, body.tama-city-guide-page #main-content .city-page .city-seo-section-head > p, body.tama-city-guide-page #main-content .city-page .city-seo-facts dd, body.tama-city-guide-page #main-content .city-page .city-moment-copy p, body.tama-city-guide-page #main-content .city-page .city-route-list p, body.tama-city-guide-page #main-content .city-page .city-spot-copy, body.tama-city-guide-page #main-content .city-page .city-access-route p { font-size: 15px !important; line-height: 1.8 !important; }
  body.tama-city-guide-page #main-content .city-page p.city-kicker, body.tama-city-guide-page #main-content .city-page p.city-eyebrow { font-size: 15px !important; line-height: 1.5 !important; }
  body.tama-city-guide-page #main-content .city-page .city-about h2, body.tama-city-guide-page #main-content .city-page .city-seo-heading h2, body.tama-city-guide-page #main-content .city-page .city-seo-section-head h2, body.tama-city-guide-page #main-content .city-page .city-discover-head h2, body.tama-city-guide-page #main-content .city-page .city-route h2, body.tama-city-guide-page #main-content .city-page .city-related h2, body.tama-city-guide-page #main-content .city-page .city-spots-head h2, body.tama-city-guide-page #main-content .city-page .city-access-guide h2 { font-size: 28px !important; line-height: 1.5 !important; }
  body.tama-city-guide-page #main-content .city-page .city-moment-copy h3, body.tama-city-guide-page #main-content .city-page .city-spot-card h3, body.tama-city-guide-page #main-content .city-page .city-access-route h3, body.tama-city-guide-page #main-content .city-page .city-seo-condition-grid h3, body.tama-city-guide-page #main-content .city-page .city-seo-course-steps h3, body.tama-city-guide-page #main-content .city-page .city-seo-resource-grid h3 { font-size: 22px !important; line-height: 1.5 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-facts dt { font-size: 14px !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-facts dd { font-size: 15px !important; line-height: 1.8 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-editorial-note, body.tama-city-guide-page #main-content .city-page .city-seo-course-note, body.tama-city-guide-page #main-content .city-page .city-seo-rating-note { font-size: 14px !important; line-height: 1.7 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-table tbody td { font-size: 15px !important; line-height: 1.7 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-table tbody td::before { font-size: 13px !important; line-height: 1.6 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-spot-summary, body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-spot-note { font-size: 14px !important; line-height: 1.7 !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-ratings li { font-size: 14px !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-ratings b { font-size: 12px !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-comparison .city-seo-official-link, body.tama-city-guide-page #main-content .city-page .city-seo-spot-more { font-size: 14px !important; line-height: 1.5 !important; white-space: normal !important; }
  body.tama-city-guide-page #main-content .city-page .city-seo-spot-photo-link > span { font-size: 12px !important; }
}
 

/* Akiruno breadcrumb alignment preview */
body.term-akiruno.tama-city-guide-page .area-crumb.paper {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 12px 0;
  font-size: 11px;
  line-height: 1.7;
}
body.term-akiruno.tama-city-guide-page .city-page {
  margin-top: 0;
}

@media (max-width: 767px) {
  body.term-akiruno.tama-city-guide-page .area-crumb.paper {
    font-size: 10px;
    white-space: nowrap;
  }
}

/* Match the shared breadcrumb color treatment in preview */
body.term-akiruno.tama-city-guide-page .area-crumb.paper {
  background: #c97956 !important;
  color: #fff !important;
}
body.term-akiruno.tama-city-guide-page .area-crumb.paper a,
body.term-akiruno.tama-city-guide-page .area-crumb.paper strong,
body.term-akiruno.tama-city-guide-page .area-crumb.paper span {
  color: #fff !important;
}


/* Akiruno requested refinement: remove eyebrow and parent link; shorten hero */
body.term-akiruno.tama-city-guide-page #main-content .city-hero .city-kicker,
body.term-akiruno.tama-city-guide-page #main-content .city-hero .city-parent-link {
  display: none !important;
}
body.term-akiruno.tama-city-guide-page #main-content .city-hero-inner {
  padding-top: 32px !important;
  padding-bottom: 42px !important;
}
body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* Remove the rounded background frames while keeping section contents */
body.term-akiruno.tama-city-guide-page #main-content .tmeh-akiruno-jump {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 14px 0 !important;
}
body.term-akiruno.tama-city-guide-page #main-content .tmeh-city-event-cta--akiruno {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 16px 0 !important;
}

@media (max-width: 767px) {
  body.term-akiruno.tama-city-guide-page #main-content .city-hero-inner {
    padding: 24px 16px 34px !important;
  }
  body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy {
    padding: 10px 0 0 !important;
  }
}


/* Keep clear breathing room beside the hero accent on phones */
@media (max-width: 767px) {
  body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy {
    padding: 10px 14px 0 24px !important;
  }
  body.term-akiruno.tama-city-guide-page #main-content .city-hero h1 {
    font-size: clamp(19px, 6.1vw, 22px) !important;
    line-height: 1.45 !important;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

/* Match Akiruno breadcrumbs to the shared city-page style */
body.term-akiruno.tama-city-guide-page .area-crumb.paper {
  width: auto !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 24px 28px !important;
  background: transparent !important;
  color: #66695f !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: 500 11px "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  line-height: normal !important;
  white-space: normal !important;
}
body.term-akiruno.tama-city-guide-page .area-crumb.paper a,
body.term-akiruno.tama-city-guide-page .area-crumb.paper strong,
body.term-akiruno.tama-city-guide-page .area-crumb.paper span {
  color: #66695f !important;
}
@media (max-width: 900px) {
  body.term-akiruno.tama-city-guide-page .area-crumb.paper {
    padding: 18px 16px !important;
    font-size: 8px !important;
  }
}


/* Akiruno responsive layout and section alignment */
body.term-akiruno.tama-city-guide-page #main-content .tmeh-akiruno-jump,
body.term-akiruno.tama-city-guide-page #main-content .tmeh-city-event-cta--akiruno {
  box-sizing: border-box !important;
  padding-left: clamp(16px, calc((100vw - 1180px) / 2 + 16px), 48px) !important;
  padding-right: clamp(16px, calc((100vw - 1180px) / 2 + 16px), 48px) !important;
}
@media (max-width: 900px) {
  body.term-akiruno.tama-city-guide-page #main-content .city-hero-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
  body.term-akiruno.tama-city-guide-page #main-content .city-hero h1 {
    max-width: 100% !important;
    font-size: clamp(16px, 5.4vw, 22px) !important;
    line-height: 1.35 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  body.term-akiruno.tama-city-guide-page #main-content .city-hero img {
    display: block !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
}



/* Akiruno: match Areas orange-label sizing and extend section backgrounds */
body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main .city-eyebrow {
  font-size: 16px !important;
  line-height: 28px !important;
  letter-spacing: 1.28px !important;
  font-weight: 500 !important;
}
body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section,
body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav {
  position: relative !important;
  isolation: isolate !important;
}
body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 0;
  width: calc(100% + 330px);
  background: inherit;
  pointer-events: none;
}
@media (min-width: 901px) and (max-width: 1215px) {
  body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-layout {
    grid-template-columns: minmax(0, 1fr) 260px !important;
    gap: clamp(24px, 5.76vw, 70px) !important;
  }
  body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
  body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
    width: calc(100% + 260px + clamp(24px, 5.76vw, 70px));
  }
}
@media (max-width: 900px) {
  body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
  body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
    width: 100%;
  }
}



/* Akiruno: match the article hero, fit the sticky-sidebar column, and bleed section colors to the viewport */
@media screen and (min-width: 901px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero-copy {
    box-sizing: border-box !important;
    min-height: 306px !important;
    padding: 60px max(16px, calc((100% - 1180px) / 2)) 48px !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero-copy .section-label {
    margin: 17px 0 18px !important;
    color: #fff !important;
    font-family: var(--tama-pop, "Mochiy Pop One", sans-serif) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 30px !important;
    letter-spacing: .08em !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero-copy h1 {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 !important;
    color: #fff !important;
    font: 400 28px/1.5 var(--tama-pop, "Mochiy Pop One", sans-serif) !important;
    letter-spacing: 0 !important;
  }
}
@media screen and (max-width: 900px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero-copy h1 {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }
}

html body.term-akiruno.tama-city-guide-page {
  overflow-x: clip !important;
}
html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main {
  min-width: 0 !important;
  width: 100% !important;
}
html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-side {
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: 260px !important;
  max-width: 100% !important;
}
html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
  left: calc((1180px - 100vw) / 2) !important;
  right: auto !important;
  width: 100vw !important;
  max-width: none !important;
  background: inherit !important;
}
@media screen and (min-width: 901px) and (max-width: 1215px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-layout {
    grid-template-columns: minmax(0, 1fr) 260px !important;
    gap: clamp(24px, 5.76vw, 70px) !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
    left: -18px !important;
  }
}
@media screen and (max-width: 900px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
    left: -14px !important;
  }
}

/* At sidebar widths the five-column comparison becomes readable spot cards instead of spilling into the sidebar. */
@media screen and (min-width: 821px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table-wrap {
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    border-collapse: separate !important;
    font-size: 14px !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table thead {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody {
    display: grid !important;
    gap: 16px !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody tr {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    overflow: hidden !important;
    border: 1px solid var(--tama-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 3px 12px rgba(38, 45, 37, .06) !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table th,
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table td {
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] {
    display: grid !important;
    grid-column: 1 / -1 !important;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    gap: 4px 18px !important;
    align-items: start !important;
    width: auto !important;
    padding: 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--tama-line) !important;
    background: #fffaf0 !important;
    text-align: left !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] .city-seo-spot-photo-link {
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
    width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 3 / 2 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] > strong,
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] > span {
    grid-column: 2 !important;
    min-width: 0 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] > strong {
    grid-row: 1 !important;
    color: var(--tama-ink) !important;
    font-size: 18px !important;
    line-height: 1.5 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] > span:not(.city-seo-spot-summary) {
    grid-row: 2 !important;
    margin: 0 !important;
    color: #705b43 !important;
    font-size: 12px !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] .city-seo-spot-summary {
    grid-row: 3 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #595c57 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td {
    display: grid !important;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: start !important;
    width: auto !important;
    padding: 13px 14px !important;
    border: 0 !important;
    border-right: 1px solid #eee9df !important;
    border-bottom: 1px solid #eee9df !important;
    background: #fff !important;
    color: #343831 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td::before {
    grid-column: 1 !important;
    color: #bd681f !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(1)::before { content: "アクセス" !important; }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(2)::before { content: "滞在目安" !important; }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(3)::before { content: "料金・予約" !important; }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(4)::before { content: "条件別" !important; }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td > * {
    grid-column: 2 !important;
    min-width: 0 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-ratings {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 5px !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-ratings li {
    min-width: 0 !important;
    padding: 5px 7px !important;
    font-size: 12px !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-ratings b { font-size: 11px !important; }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-spot-note {
    width: auto !important;
    margin: 7px 0 0 !important;
    color: #595c57 !important;
    font-size: 12px !important;
    line-height: 1.65 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-official-link {
    font-size: 12px !important;
    overflow-wrap: anywhere !important;
  }
}
@media screen and (min-width: 821px) and (max-width: 1000px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody tr {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td {
    grid-column: 1 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody th[scope="row"] {
    grid-template-columns: minmax(160px, 200px) minmax(0, 1fr) !important;
    column-gap: 14px !important;
  }
}


/* Akiruno: align full-bleed backgrounds to the usable viewport and give table fields room */
html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
  width: calc(100vw - 15px) !important;
}
@media screen and (min-width: 901px) and (max-width: 1215px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
    left: -18px !important;
  }
}
@media screen and (max-width: 900px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
    left: -14px !important;
  }
}
@media screen and (min-width: 821px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(1),
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(2),
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(3),
  html body.term-akiruno.tama-city-guide-page #main-content .city-seo-comparison .city-seo-table tbody td:nth-of-type(4) {
    grid-column: span 2 !important;
  }
}


/* Akiruno: keep full-width section backgrounds flush with the article page viewport */
@media screen and (min-width: 1216px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
    left: calc((1180px - (100vw - 15px)) / 2) !important;
  }
}



/* Akiruno final responsive refinements */
html body.admin-bar.term-akiruno.tama-city-guide-page #main-content.city-page,
html body.admin-bar.term-akiruno.tama-city-guide-page #main-content .city-page {
  margin-top: 0 !important;
}

html body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy h1 {
  box-sizing: border-box !important;
  max-width: 100% !important;
  font-family: "Mochiy Pop One", sans-serif !important;
  font-size: clamp(30px, 2.7vw, 36px) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  letter-spacing: 0.02em !important;
  overflow-wrap: anywhere !important;
}

@media screen and (max-width: 1024px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    width: min(1180px, calc(100% - 32px)) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-side {
    display: none !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav {
    background-color: #f7f2e7 !important;
    background-image: none !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > section::before,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .akiruno-story-main > nav::before {
    left: calc((100% - 100vw) / 2) !important;
    width: 100vw !important;
    transform: none !important;
    background-color: #f7f2e7 !important;
    background-image: none !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy h1 {
    font-size: clamp(23px, 3.4vw, 32px) !important;
  }
}

@media screen and (max-width: 767px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy h1 {
    font-size: clamp(20px, 5.8vw, 26px) !important;
    line-height: 1.4 !important;
  }
}

html body.term-akiruno.tama-city-guide-page #main-content .tmeh-akiruno-jump h2 {
  position: relative !important;
  padding-top: 24px !important;
}
html body.term-akiruno.tama-city-guide-page #main-content .tmeh-akiruno-jump h2::before {
  content: "QUICK ACCESS" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  display: block !important;
  color: #db744b !important;
  font-family: "Mochiy Pop One", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.12em !important;
  border: 0 !important;
  background: none !important;
}

html body.term-akiruno.tama-city-guide-page #main-content .tmeh-akiruno-jump a:hover,
html body.term-akiruno.tama-city-guide-page #main-content .tmeh-akiruno-jump a:focus-visible,
html body.term-akiruno.tama-city-guide-page #main-content .tmeh-city-event-cta--akiruno:hover,
html body.term-akiruno.tama-city-guide-page #main-content .tmeh-city-event-cta--akiruno:focus-visible,
html body.term-akiruno.tama-city-guide-page #main-content .tmeh-akiruno-events__button:hover,
html body.term-akiruno.tama-city-guide-page #main-content .tmeh-akiruno-events__button:focus-visible {
  color: #fff !important;
  background-color: #db744b !important;
  border-color: #db744b !important;
}



/* Match the city hero title and orange band to the /areas/ page */
@media screen and (min-width: 1025px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero {
    min-height: 306px !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero-copy h1 {
    font-size: 44px !important;
    line-height: 1.3 !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero-copy h1 {
    font-size: clamp(32px, 3.8vw, 40px) !important;
    line-height: 1.3 !important;
  }
}
@media screen and (max-width: 767px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero-copy h1 {
    font-size: clamp(20px, 5.8vw, 26px) !important;
    line-height: 1.4 !important;
  }
}



/* Final specificity override: keep title sizing active over the legacy !important rules */
@media screen and (min-width: 1025px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-hero {
    min-height: 306px !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy h1 {
    font-size: 44px !important;
    line-height: 1.3 !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy h1 {
    font-size: clamp(32px, 3.8vw, 40px) !important;
    line-height: 1.3 !important;
  }
}
@media screen and (max-width: 767px) {
  html body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy h1 {
    font-size: clamp(20px, 5.8vw, 26px) !important;
    line-height: 1.4 !important;
  }
}



/* Akiruno hero final override: cover both city-page wrapper arrangements */
@media screen and (min-width: 1025px) {
  html body.term-akiruno.tama-city-guide-page #main-content.city-page .city-hero,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero,
  html body.term-akiruno.tama-city-guide-page #main-content .city-hero {
    min-height: 306px !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content.city-page .city-hero-copy h1,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero-copy h1,
  html body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy h1 {
    font-family: "Mochiy Pop One", sans-serif !important;
    font-size: 44px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  html body.term-akiruno.tama-city-guide-page #main-content.city-page .city-hero-copy h1,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero-copy h1,
  html body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy h1 {
    font-size: clamp(32px, 3.8vw, 40px) !important;
    line-height: 1.3 !important;
  }
}
@media screen and (max-width: 767px) {
  html body.term-akiruno.tama-city-guide-page #main-content.city-page .city-hero-copy h1,
  html body.term-akiruno.tama-city-guide-page #main-content .city-page .city-hero-copy h1,
  html body.term-akiruno.tama-city-guide-page #main-content .city-hero-copy h1 {
    font-size: clamp(20px, 5.8vw, 26px) !important;
    line-height: 1.4 !important;
  }
}



/* Enforce the same hero typography as /areas/ over the theme's !important rule */
@media screen and (min-width: 1025px) {
  html body.term-akiruno.tama-city-guide-page #main-content#main-content .city-hero {
    min-height: 306px !important;
  }
  html body.term-akiruno.tama-city-guide-page #main-content#main-content .city-hero h1 {
    font-family: "Mochiy Pop One", sans-serif !important;
    font-size: 44px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    transform: none !important;
  }
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  html body.term-akiruno.tama-city-guide-page #main-content#main-content .city-hero h1 {
    font-size: clamp(32px, 3.8vw, 40px) !important;
    line-height: 1.3 !important;
  }
}
@media screen and (max-width: 767px) {
  html body.term-akiruno.tama-city-guide-page #main-content#main-content .city-hero h1 {
    font-size: clamp(20px, 5.8vw, 26px) !important;
    line-height: 1.4 !important;
  }
}


/* 2026-10-16: fill area card images across their frame. */
@media (max-width: 900px) {
	  html body.post-type-archive-tama_area #main-content .areas-cards .listing-card--horizontal .listing-card-image img {
			    width: 100% !important;
			
	}
}

/* 2026-10-16: align model-course sections with the Jindaiji guide */
body.single-tama_course .tama-course-detail p.tama-course-label { margin: 0 0 9px !important; color: #db744b !important; font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: .16em !important; line-height: 1.5 !important; }
body.single-tama_course .tama-course-detail .tama-course-prepare { margin: 42px 0 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; color: #28312d !important; }
body.single-tama_course .tama-course-detail .tama-course-prepare h2 { margin-bottom: 18px; color: #28312d !important; }
body.single-tama_course .tama-course-detail .tama-course-route { border-radius: 18px; }
body.single-tama_course .tama-course-detail .tama-course-source { padding: 21px 19px; border: 1px solid #dedbd2; border-radius: 13px; background: #fff; }
@media (max-width: 600px) { body.single-tama_course .tama-course-detail .tama-course-route { border-radius: 14px; } body.single-tama_course .tama-course-detail .tama-course-source { padding: 18px 16px; } }

/* Override the site-wide paragraph rule on course eyebrow labels. */
html body.single-tama_course #main-content .tama-course-detail p.tama-course-label { color: #db744b !important; font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: .16em !important; line-height: 1.5 !important; }
/* Temporarily hide the English header link while English is paused. */#primary-navigation a[href*="/en/"] {  display: none !important;}


/* 2026-10-21: match the Contact submit CTA to the story inquiry CTA */
html body.page-id-2 #main-content .contact-form .form-submit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 56px;
  padding: 14px 18px;
  border: 0;
  border-radius: 8px;
  background: #e4744b;
  color: #fff !important;
  font-family: var(--tama-body) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .04em;
  line-height: 1.45;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .16), 0 8px 16px rgba(0, 0, 0, .12);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
html body.page-id-2 #main-content .contact-form .form-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 6px 0 rgba(0, 0, 0, .17), 0 12px 22px rgba(0, 0, 0, .18);
}
html body.page-id-2 #main-content .contact-form .form-submit:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18);
}
html body.page-id-2 #main-content .contact-form .form-submit:focus-visible {
  outline: 3px solid #222;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html body.page-id-2 #main-content .contact-form .form-submit { transition: none; }
}


/* 2026-10-21: Match the header consultation CTA to the event story CTA */
#primary-navigation a.header-cta {
  background-color: #e4744b !important;
  color: #fff !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .16), 0 8px 16px rgba(0, 0, 0, .12) !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .64px !important;
  transition: transform .18s, box-shadow .18s, filter .18s !important;
}
#primary-navigation a.header-cta:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.15) !important;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .17), 0 12px 22px rgba(0, 0, 0, .18) !important;
}
#primary-navigation a.header-cta:active {
  transform: translateY(1px) !important;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18) !important;
}
#primary-navigation a.header-cta:focus-visible {
  outline: 3px solid #222 !important;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  #primary-navigation a.header-cta { transition: none !important; }
}


/* 2026-10-21: Unify business inquiry CTA typography */
body.page-id-1171 main#main-content .tbiz-redesign a.button[href*="/contact/"],
body.page-id-1171 main#main-content .tbiz-redesign a.button[href*="/contact/"]:visited,
body.page-id-1171 main#main-content .tbiz-redesign a.button[href*="/contact/"]:hover,
body.page-id-1171 main#main-content .tbiz-redesign a.button[href*="/contact/"]:focus-visible {
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}


/* Festival poster portrait ratio: article 4689 only */
body.single-tama_story.postid-4689 .single-feature {
	  aspect-ratio: 595 / 835;
	  height: auto !important;
}
body.single-tama_story.postid-4689 .single-feature img {
	  object-fit: contain;
}

}
}/* 2026-10-24: Match homepage story thumbnails to Events card frame */.event-section .nt-story-card figure {  height: 164px !important;  min-height: 164px !important;}.event-section .nt-story-card img {  display: block !important;  width: 100% !important;  height: 100% !important;  min-height: 164px !important;  object-fit: cover !important;}@media (max-width: 640px) {  .event-section .nt-story-card figure {    height: 148px !important;    min-height: 148px !important;  }  .event-section .nt-story-card img {    height: 148px !important;    min-height: 148px !important;  }}/* 2026-10-24: Keep homepage Events thumbnails in the list-card frame */.event-section a img {  height: 164px !important;  min-height: 164px !important;
  max-height: 164px !important;  object-fit: cover !important;}
@media (max-width: 640px) {  .event-section a img {    height: 148px !important;    min-height: 148px !important;    max-height: 148px !important;  }}
@media (max-width: 1400px) {  #primary-navigation .nav-parent-toggle { display: flex !important; align-items: flex-start !important; padding: 6px 10px 0 !important; }  #primary-navigation .nav-parent-toggle::after { align-self: center; }}
@media (max-width: 1400px) { #primary-navigation .nav-parent-toggle { padding-top: 0 !important; } }
@media (max-width: 1400px) { body #primary-navigation > li.menu-item-has-children > .nav-parent-toggle { padding-top: 0 !important; } }
/* 2026-10-24: enlarge mobile navigation tap targets */@media (max-width: 1400px) {  body #primary-navigation > li > a,  body #primary-navigation > li > .nav-parent-toggle {
    min-height: 64px !important;    box-sizing: border-box !important;    padding-top: 20px !important;    padding-bottom: 20px !important;  }  body #primary-navigation > li.menu-item-has-children > .nav-parent-toggle {    align-items: center !important;    font: inherit !important;  }}
/* 2026-10-24: match accordion typography to mobile navigation links */@media (max-width: 1400px) {  body #primary-navigation > li.menu-item-has-children > .nav-parent-toggle {    font-family: inherit !important;    font-size: 14px !important;    font-weight: 700 !important;    line-height: 1.5 !important;  }}
/* Ensure fixed theme row heights do not limit the mobile tap area */@media (max-width: 1400px) {  body #primary-navigation > li > a,  body #primary-navigation > li > .nav-parent-toggle {    height: auto !important;  }}
/* Let each mobile menu item grow with its tap target */@media (max-width: 1400px) {  body #primary-navigation > li {    height: auto !important;    min-height: 64px !important;  }}
/* Keep mobile navigation rows at a consistent 64px height */@media (max-width: 1400px) {  body #primary-navigation > li,  body #primary-navigation > li > a,  body #primary-navigation > li > .nav-parent-toggle {    height: 64px !important;    min-height: 64px !important;    box-sizing: border-box !important;  }}
/* Let the accordion parent expand around its submenu */@media (max-width: 1400px) {  body #primary-navigation > li.menu-item-has-children {    height: auto !important;  }}
/* Use one typography rule for every top-level mobile navigation label */@media (max-width: 1400px) {  body #primary-navigation > li > a,  body #primary-navigation > li > .nav-parent-toggle {    font-family: inherit !important;    font-size: 14px !important;    font-weight: 700 !important;    line-height: 1.5 !important;  }}
/* Match all top-level mobile navigation labels to the existing main-nav font */@media (max-width: 1400px) {  body #primary-navigation > li > a,  body #primary-navigation > li > .nav-parent-toggle {    font-family: var(--tama-pop) !important;    font-size: 12px !important;    font-weight: inherit !important;    line-height: inherit !important;    letter-spacing: inherit !important;  }}
/* Use the event font across every mobile navigation item */@media (max-width: 1400px) {
	body #primary-navigation a,  body #primary-navigation .nav-parent-toggle {    font-family: var(--tama-pop) !important;  }}


/* 2026-10-25: align the mood menu toggle with neighboring labels */
@media (max-width: 1400px) {
  body #primary-navigation > li.menu-item-has-children > .nav-parent-toggle {
    align-items: flex-start !important;
    padding: 20px 10px !important;
  }
}

/* 2026-10-25: center the mood navigation toggle and keep its arrow at the right */
@media (max-width: 1400px) {
  body #primary-navigation > #menu-item-5393 > .nav-parent-toggle {
    position: relative !important;
    justify-content: center !important;
    text-align: center !important;
  }
  body #primary-navigation > #menu-item-5393 > .nav-parent-toggle::after {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    transform: translateY(-50%) rotate(45deg) !important;
  }
  body #primary-navigation > #menu-item-5393 > .nav-parent-toggle[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(225deg) !important;
  }
}

@media (max-width: 1400px) {
  body #primary-navigation > li > a {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* 気分から探す4ページ：CTAを中央配置に戻す */
@media (min-width: 901px) {
  .tama-business-cta--purpose {
    position: relative !important;
    left: 0px !important;
  }
}
/* Desktop header: match the mood toggle to the other primary navigation labels */@media (min-width: 1401px) {  body #primary-navigation > li#menu-item-5393 > .nav-parent-toggle {    font-family: var(--tama-pop) !important;
  }}/* Reset desktop mood-toggle button typography to match the primary links */@media (min-width: 1401px) {  body #primary-navigation > li#menu-item-5393 > .nav-parent-toggle {
    font: inherit !important;    font-family: var(--tama-pop) !important;  }}
/* Desktop mood submenu: match the primary navigation typography */@media (min-width: 1401px) {  body #primary-navigation > li#menu-item-5393 > .sub-menu a {    font: inherit !important;    font-family: var(--tama-pop) !important;  }}


/* 2026-10-25: align mood-page CTA with the article column on desktop */
@media (min-width: 901px) {
	  body.page-id-19 #main-content .tama-business-cta--purpose,
	  body.page-id-20 #main-content .tama-business-cta--purpose,
	  body.page-id-21 #main-content .tama-business-cta--purpose,
	body.page-id-22 #main-content .tama-business-cta--purpose {
		    left: 0 !important;
	}
}

	}
}

/* Tama merchant notice CTA: post 5552 */
body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta {
  box-sizing: border-box;
  margin: 2.5rem 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #e2e8dc;
  border-radius: 12px;
  background: #f0f3e9;
  text-align: center;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta__lead {
  margin: 0 0 1.1rem;
  color: #303b32;
  font-weight: 700;
  line-height: 1.8;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button:visited,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button:hover,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button:focus-visible {
  box-sizing: border-box;
  display: inline-flex !important;
  flex: 1 1 230px;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  max-width: 420px;
  padding: 14px 22px !important;
  border: 2px solid #db744b;
  border-radius: 7px;
  background: #db744b !important;
  color: #fff !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", sans-serif;
  font-size: 16px;
  font-weight: 800 !important;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;
  transition: transform 0.18s, background-color 0.18s, box-shadow 0.18s;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button span,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button strong {
  color: inherit !important;
  text-decoration: none !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button--secondary,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button--secondary:visited {
  border-color: #8e9e86;
  background: #fff !important;
  color: #405843 !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(56, 67, 52, 0.12);
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button:focus-visible {
  outline: 3px solid #405843;
  outline-offset: 3px;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta__note {
  margin: 1rem 0 0;
  color: #586158;
  font-size: 0.9rem;
  line-height: 1.7;
}
@media (max-width: 600px) {
  body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta__actions {
    flex-direction: column;
  }
  body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button {
    width: 100%;
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button {
    transition: none;
  }
}


/* Merchant CTA panel wrapper */
body.single-tama_notice.postid-5552 #main-content .single-main .single-content div.tama-merchant-cta {
  box-sizing: border-box;
  margin: 40px 0;
  padding: 28px 22px;
  border: 1px solid #e2e8dc;
  border-radius: 12px;
  background-color: #f0f3e9;
  text-align: center;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta__actions > br {
  display: none !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta__actions a.tama-merchant-cta__button {
  width: 100%;
}

@media (max-width: 600px) {
  body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button {
    flex: 0 0 auto !important;
    min-height: 56px;
  }
}


/* 2026-10-25: match the merchant CTA on Explore */
body.single-tama_notice.postid-5552 #main-content .single-main .single-content div.tama-merchant-cta {
  box-sizing: border-box !important;
  margin: 32px 0 !important;
  padding: 20px !important;
  border: 1px solid #e6ded8 !important;
  border-radius: 10px !important;
  background: #fff !important;
  text-align: left !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta__lead {
  margin: 0 0 14px !important;
  padding-left: 10px !important;
  border-left: 3px solid #e4744b !important;
  color: #3c3c3c !important;
  font-size: .94em !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta__actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta__actions > br {
  display: none !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button:visited,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button:hover,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button:focus-visible {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #e4744b !important;
  color: #fff !important;
  box-shadow: 0 4px 0 rgba(0,0,0,.16), 0 8px 16px rgba(0,0,0,.12) !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: transform .18s, box-shadow .18s, background-color .18s !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button span,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button strong {
  color: inherit !important;
  text-decoration: none !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button--secondary,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button--secondary:visited,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button--secondary:hover,
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button--secondary:focus-visible {
  background: #31564a !important;
  color: #fff !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 0 rgba(0,0,0,.16), 0 10px 18px rgba(0,0,0,.12) !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button:focus-visible {
  outline: 3px solid #31564a !important;
  outline-offset: 3px !important;
}
body.single-tama_notice.postid-5552 #main-content .single-main .single-content .tama-merchant-cta__note {
  margin: 14px 0 0 !important;
  color: #586158 !important;
  font-size: .84rem !important;
  line-height: 1.6 !important;
}
@media (max-width: 600px) {
  body.single-tama_notice.postid-5552 #main-content .single-main .single-content div.tama-merchant-cta {
    margin: 28px 0 !important;
    padding: 16px !important;
  }
  body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button {
    width: 100% !important;
    min-height: 54px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.single-tama_notice.postid-5552 #main-content .single-main .single-content a.tama-merchant-cta__button {
    transition: none !important;
  }
}


/* 2026-10-25: match the merchant CTA on Explore */
body.single-tama_notice.postid-5552 .single-main .single-content div.tama-merchant-cta {
  box-sizing: border-box !important;
  margin: 32px 0 !important;
  padding: 20px !important;
  border: 1px solid #e6ded8 !important;
  border-radius: 10px !important;
  background: #fff !important;
  text-align: left !important;
}
body.single-tama_notice.postid-5552 .single-main .single-content .tama-merchant-cta__lead {
  margin: 0 0 14px !important;
  padding-left: 10px !important;
  border-left: 3px solid #e4744b !important;
  color: #3c3c3c !important;
  font-size: .94em !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
}
body.single-tama_notice.postid-5552 .single-main .single-content .tama-merchant-cta__actions {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}
body.single-tama_notice.postid-5552 .single-main .single-content .tama-merchant-cta__actions > br {
  display: none !important;
}
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button,
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button:visited,
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button:hover,
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button:focus-visible {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 54px !important;
  margin: 0 !important;
  padding: 14px 18px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: #e4744b !important;
  color: #fff !important;
  box-shadow: 0 4px 0 rgba(0,0,0,.16), 0 8px 16px rgba(0,0,0,.12) !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: transform .18s, box-shadow .18s, background-color .18s !important;
}
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button span,
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button strong {
  color: inherit !important;
  text-decoration: none !important;
}
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button--secondary,
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button--secondary:visited,
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button--secondary:hover,
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button--secondary:focus-visible {
  background: #31564a !important;
  color: #fff !important;
}
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 0 rgba(0,0,0,.16), 0 10px 18px rgba(0,0,0,.12) !important;
}
body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button:focus-visible {
  outline: 3px solid #31564a !important;
  outline-offset: 3px !important;
}
body.single-tama_notice.postid-5552 .single-main .single-content .tama-merchant-cta__note {
  margin: 14px 0 0 !important;
  color: #586158 !important;
  font-size: .84rem !important;
  line-height: 1.6 !important;
}
@media (max-width: 600px) {
  body.single-tama_notice.postid-5552 .single-main .single-content div.tama-merchant-cta {
    margin: 28px 0 !important;
    padding: 16px !important;
  }
  body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button {
    width: 100% !important;
    min-height: 54px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.single-tama_notice.postid-5552 .single-main .single-content a.tama-merchant-cta__button {
    transition: none !important;
  }
}


/* 2026-10-25 notice: updated-date spacing and label */
body.single-tama_notice.postid-5552 .single-main .single-date {
  display: block !important;
  margin: 15px 0 14px !important;
}
body.single-tama_notice.postid-5552 .single-main .single-date__label {
  margin-right: .45em;
  font-weight: 700;
}


/* 2026-10-27: match desktop spacing before the event organizer CTA to article section headings */
@media screen and (min-width: 901px) {
  body.single-tama_story.tama-visual-article .single-main .single-content > .tama-event-eyebrow {
    margin-top: 84px !important;margin-top: 0 !important;
  }
}


/* 2026-10-27: set desktop spacing on the organizer heading itself */
@media screen and (min-width: 901px) {
  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content > .tama-event-eyebrow + .tama-event-section-heading {
    margin-top: 2.1em !important;
  }
}


/* 2026-10-27: restore the default desktop gap before Next to Read */
@media screen and (min-width: 901px) {
  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content > .tama-event-eyebrow + .tama-event-section-heading {
    margin-top: 1.05em !important;
  }

  /* Add space only before the organizer heading, which is followed by a paragraph. */
  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content > .tama-event-eyebrow + .tama-event-section-heading:has(+ p) {
    margin-top: 2.1em !important;
  }
}


/* Keep other eyebrow sections at their normal gap; reserve the larger gap for the organizer block before its first subsection. */
@media screen and (min-width: 901px) {
  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content > .tama-event-eyebrow + .tama-event-section-heading:has(+ p) {
    margin-top: 1.05em !important;
  }

  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content > .tama-event-eyebrow + .tama-event-section-heading:has(+ p + h3) {
    margin-top: 2.1em !important;
  }
}


/* 2026-10-28: space the organizer section after the related-links list on desktop */
@media screen and (min-width: 901px) {
  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content > .tama-event-summary--compact + .tama-event-section-heading {
    margin-top: 2.1em !important;
  }
}


/* Desktop: give the shared organizer CTA the same breathing room as article sections. */
@media screen and (min-width: 901px) {
  body.single-tama_story.tama-visual-article main#main-content h2.tama-event-section-heading:has(+ p + h3) {
    margin-top: 3rem !important;
  }
}


/* Desktop: shared organizer callout is rendered after the article body. */
@media screen and (min-width: 901px) {
  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content ~ h2.tama-event-section-heading,
  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content ~ * h2.tama-event-section-heading,
  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content ~ * .tama-event-section-heading {
    margin-top: 3rem !important;
  }
}


/* Desktop: add space after the final related-links list before the shared CTA. */
@media screen and (min-width: 901px) {
  body.single-tama_story.tama-visual-article main#main-content .single-main .single-content > ul.tama-event-summary--compact:last-of-type {
    margin-bottom: 3rem !important;
  }
}


/* Events page: match the horizontal listing cards used by Explore. */
body.page-id-23 #main-content .listing-grid--horizontal {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 17px !important;
  width: 100% !important;
  max-width: 910px !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-card--horizontal {
  width: 100% !important;
  background: #fff !important;
  position: relative !important;
  border: 2px solid #63a8b9 !important;
  box-shadow: 7px 7px 0 rgba(99, 168, 185, 0.55) !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-card--horizontal.listing-card--permanent {
  border-color: #7da959 !important;
  box-shadow: 7px 7px 0 rgba(125, 169, 89, 0.55) !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-card--horizontal > a {
  display: flex !important;
  flex-direction: row !important;
  min-height: 148px !important;
  color: #242724 !important;
  text-decoration: none !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-card-image {
  width: 220px !important;
  flex: 0 0 220px !important;
  min-height: 148px !important;
  overflow: hidden !important;
  background: #eadfd6 !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-card-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 148px !important;
  object-fit: cover !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-card-body {
  min-width: 0 !important;
  flex: 1 1 auto !important;
  padding: 17px 22px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  color: #242724 !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-card-body h2 {
  display: -webkit-box !important;
  overflow: hidden !important;
  margin: 0 0 6px !important;
  color: #242724 !important;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", sans-serif !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  letter-spacing: 0 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-card-body > p {
  display: -webkit-box !important;
  overflow: hidden !important;
  margin: 0 !important;
  color: #686c68 !important;
  font-size: 12px !important;
  line-height: 1.75 !important;
  letter-spacing: 0 !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-meta {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 7px !important;
  color: #686c68 !important;
  font-size: 11px !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-meta .tag {
  padding: 4px 8px !important;
  background: #eff5ea !important;
  color: #686c68 !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-card--single .listing-type-tag,
body.page-id-23 #main-content .listing-grid--horizontal .listing-card--permanent .listing-type-tag {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  padding: 4px 9px !important;
  border-radius: 4px !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}
body.page-id-23 #main-content .listing-grid--horizontal .listing-card--single .listing-type-tag { background: #63a8b9 !important; }
body.page-id-23 #main-content .listing-grid--horizontal .listing-card--permanent .listing-type-tag { background: #7da959 !important; }
@media (max-width: 900px) {
  body.page-id-23 #main-content .listing-grid--horizontal { width: 100% !important; max-width: 100% !important; }
}
@media (max-width: 640px) {
  body.page-id-23 #main-content .listing-grid--horizontal { gap: 12px !important; }
  body.page-id-23 #main-content .listing-grid--horizontal .listing-card--horizontal.listing-card--single { box-shadow: 4px 4px 0 rgba(99, 168, 185, 0.55) !important; }
  body.page-id-23 #main-content .listing-grid--horizontal .listing-card--horizontal.listing-card--permanent { box-shadow: 4px 4px 0 rgba(125, 169, 89, 0.55) !important; }
  body.page-id-23 #main-content .listing-grid--horizontal .listing-card--horizontal > a { min-height: 148px !important; }
  body.page-id-23 #main-content .listing-grid--horizontal .listing-card-image { width: 104px !important; flex-basis: 104px !important; min-height: 148px !important; }
  body.page-id-23 #main-content .listing-grid--horizontal .listing-card-image img { min-height: 148px !important; }
  body.page-id-23 #main-content .listing-grid--horizontal .listing-card-body { padding: 10px 12px 9px !important; }
  body.page-id-23 #main-content .listing-grid--horizontal .listing-card-body h2 { margin-bottom: 3px !important; font-size: 16px !important; line-height: 1.5 !important; }
  body.page-id-23 #main-content .listing-grid--horizontal .listing-card-body > p { font-size: 11px !important; line-height: 1.55 !important; }
  body.page-id-23 #main-content .listing-grid--horizontal .listing-meta { gap: 7px !important; margin-bottom: 4px !important; font-size: 9px !important; }
}


/* Keep event results aligned with their section on tablet and mobile. */
@media (max-width: 900px) {
  body.page-id-23 #main-content .tmeh-events-listing-layout {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* 2026-11-04: slightly reduce the events sidebar headings */
#main-content :has(a[href*="/explore/"]) > h2,
#main-content :has(a[href*="/events/2026/"]) > h2 {
  font-size: 19px !important;
}


/* 2026-11-05: use the business contact button style for the header CTA */
.site-header > .main-nav > a.header-cta {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: 360px !important;
  max-width: 100% !important;
  min-height: 68px !important;
  padding: 18px 30px !important;
  border: 0 !important;
  border-radius: 7px !important;
  background-color: #db744b !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: "Zen Maru Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  letter-spacing: .64px !important;
  text-align: center !important;
  text-decoration: none !important;
}
@media (min-width: 901px) and (max-width: 1400px) {
  .site-header > .main-nav { gap: 0 !important; }
  .site-header > .main-nav > a.header-cta { margin: 10px auto 0 !important; }
}
@media (max-width: 900px) {
  .site-header > .main-nav > a.header-cta { margin: 10px auto 0 !important; }
}
@media (max-width: 640px) {
  .site-header > .main-nav > a.header-cta {
    width: calc(100% - 4px) !important;
    max-width: 480px !important;
    min-height: 56px !important;
    padding: 14px 18px !important;
  }
}


/* 2026-11-05: center accordion rows and refine the header CTA */
@media (min-width: 641px) and (max-width: 1400px) {
  
	.site-header #primary-navigation ul.sub-menu {
		
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-header #primary-navigation ul.sub-menu > li {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-header #primary-navigation ul.sub-menu > li > a {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 64px !important;
    padding: 18px 30px !important;
    text-align: center !important;
    line-height: 1.45 !important;
  }
}
.site-header > .main-nav > a.header-cta {
  transition: transform .18s, box-shadow .18s, filter .18s !important;
}
.site-header > .main-nav > a.header-cta:hover,
.site-header > .main-nav > a.header-cta:focus-visible {
  transform: translateY(-2px) !important;
  filter: brightness(1.15) !important;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .17), 0 12px 22px rgba(0, 0, 0, .18) !important;
}
.site-header > .main-nav > a.header-cta:active {
  transform: translateY(1px) !important;
  filter: none !important;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18) !important;
}
.site-header > .main-nav > a.header-cta:focus-visible {
  outline: 3px solid #222 !important;
  outline-offset: 3px !important;
}
@media (min-width: 1401px) {
  .site-header > .main-nav > a.header-cta {
    width: 280px !important;
    height: 56px !important;
    min-height: 56px !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
}


/* 2026-11-05: equal, centered accordion rows on mobile */
@media (max-width: 640px) {
  .site-header #primary-navigation ul.sub-menu {
    
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-header #primary-navigation ul.sub-menu > li {
    width: 100% !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .site-header #primary-navigation ul.sub-menu > li > a {
    box-sizing: border-box !important;
    
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 18px 24px !important;
    text-align: center !important;
    line-height: 1.45 !important;
  }
}

/* Keep the header CTA at its normal size on hover, matching the Business inquiry CTA. */
.site-header > .main-nav > a.header-cta:hover,
.site-header > .main-nav > a.header-cta:focus-visible {
  
  transform: translateY(-2px) !important;
  filter: brightness(1.15) !important;
  box-shadow: 0 6px 0 rgba(0, 0, 0, .17), 0 12px 22px rgba(0, 0, 0, .18) !important;
}

@media (max-width: 640px) {
  .site-header #primary-navigation ul.sub-menu > li > a {
    display: flex !important;
  }
}

/* 2026-11-05: Keep the opened PC/tablet menu above page content */
@media (max-width: 1400px) {
  body .site-header {
    position: relative !important;
    z-index: 9998 !important;
  }
  body .site-header > .main-nav,
  body .site-header #site-navigation {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 9999 !important;
    background: #fff !important;
  }
  body .site-header #primary-navigation,
  body .site-header #primary-navigation > li {
    width: 100% !important;
    max-width: 100% !important;
  }
  body .site-header #primary-navigation > li > a,
  body .site-header #primary-navigation > li > .nav-parent-toggle {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    text-align: center !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }
}


/* 2026-11-05: Keep the complete open menu above page-side labels */
@media (max-width: 1400px) {
  body .site-header {
    z-index: 2147483647 !important;
  }
  body .site-header #site-navigation:not(.is-open) {
    display: none !important;
    visibility: hidden !important;
  }
  body .site-header #site-navigation.is-open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    max-height: calc(100vh - 108px) !important;
    overflow-y: auto !important;
    z-index: 2147483647 !important;
    background: #fff !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
  body .site-header #site-navigation.is-open #primary-navigation {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  body .site-header #site-navigation.is-open #primary-navigation > li {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    writing-mode: horizontal-tb !important;
  }
  body .site-header #site-navigation.is-open #primary-navigation > li > a,
  body .site-header #site-navigation.is-open #primary-navigation > li > .nav-parent-toggle,
  body .site-header #site-navigation.is-open #primary-navigation ul.sub-menu > li > a {
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    text-align: center !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }
  body .site-header #site-navigation.is-open .header-cta {
    flex: 0 0 auto !important;
    align-self: center !important;
    width: 360px !important;
    max-width: calc(100% - 32px) !important;
    min-height: 68px !important;
  }
}


/* Keep the complete niwaniha featured illustration visible. */
body.single-tama_story.postid-7480 .single-feature {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
body.single-tama_story.postid-7480 .single-feature img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}


/* Article print layout for clean PDF export */
@media print {
  @page { size: A4 portrait; margin: 14mm; }
  html, body { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  #wpadminbar, a.skip-link, .site-header, .main-nav, .crumbs, .single-side, .site-footer, .tmeh-event-context, .tama-story-share, .back-link { display: none !important; }
  body.single-tama_story .site-main { width: auto !important; max-width: none !important; margin: 0 !important; }
  body.single-tama_story .single-main { width: auto !important; max-width: none !important; margin: 0 !important; }
  body.single-tama_story .single-content img { max-width: 100% !important; height: auto !important; }
  body.single-tama_story .single-content figure { break-inside: avoid; page-break-inside: avoid; }
  body.single-tama_story .single-content h2, body.single-tama_story .single-content h3 { break-after: avoid-page; page-break-after: avoid; }
}


@media print { body.single-tama_story .single-content li { break-inside: avoid; page-break-inside: avoid; } }

@media print { body.single-tama_story.postid-7480 .single-content a[href*="p=7478"] { display: inline-block; max-width: 100%; break-inside: avoid; page-break-inside: avoid; } }


@media print { body.single-tama_story.postid-7480 .single-content a[href*="p=7478"] { display:block !important; width:100% !important; max-width:100% !important; break-before:page !important; page-break-before:always !important; break-inside:avoid !important; page-break-inside:avoid !important; } }

@media print { body.single-tama_story.postid-7480 .single-content a[href*="p=7478"] { display:block !important; width:100% !important; max-width:100% !important; break-before:page !important; page-break-before:always !important; break-inside:avoid !important; page-break-inside:avoid !important; } }

@media print { body.single-tama_story.postid-7480 .single-content a[href*="p=7478"] { break-before:auto !important; page-break-before:auto !important; } }

/* Mobile header: let the site name wrap before the menu button */
@media (max-width: 600px) {
  .site-header .brand {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 64px);
  }

  .site-header .brand-text {
    min-width: 0;
  }

  .site-header .brand-text strong {
    white-space: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }

  .site-header .menu-button {
    flex: 0 0 54px;
    margin-inline-start: 10px;
  }
}


/* Grand Marche flyer feature: show the full flyer with matching side fill. */
body.single-tama_story.postid-7762 .single-feature {
  background-color: rgb(250, 241, 223) !important;
}
body.single-tama_story.postid-7762 .single-feature img {
  object-fit: contain !important;
}
/* Post 6741: show complete inline event images with side fill */
body.single-tama_story.postid-6741 .single-content .tama-event-image-guide { --tama-event-image-bg: url("https://tokyo-tamaguide.com/wp-content/uploads/2026/11/image0.png"); }
body.single-tama_story.postid-6741 .single-content .tama-event-image-history { --tama-event-image-bg: url("https://www.city.hachioji.tokyo.jp/kurashi/life/005/001/007/p034620_d/img/042.jpg"); }
body.single-tama_story.postid-6741 .single-content .tama-event-image-mulberry { --tama-event-image-bg: url("https://tokyo-tamaguide.com/wp-content/uploads/2026/11/A6EE347F-07EC-4319-B46B-79AD2931376B-photo-5DA3686B-9D9E-4A14-9C4B-9E5779AF73C9.jpg"); }
body.single-tama_story.postid-6741 .single-content .tama-event-image-wide { display:block !important; width:100% !important; max-width:100% !important; }
body.single-tama_story.postid-6741 .single-content .tama-event-image-wide > a { position:relative; display:flex !important; align-items:center; justify-content:center; width:100% !important; height:clamp(300px,42vw,440px) !important; overflow:hidden; background-color:#faf1df; }
body.single-tama_story.postid-6741 .single-content .tama-event-image-wide > a::before { content:""; position:absolute; inset:-16px; background-image:var(--tama-event-image-bg); background-size:cover; background-position:center; filter:blur(16px); opacity:.35; transform:scale(1.08); }
body.single-tama_story.postid-6741 .single-content .tama-event-image-wide img { position:relative; z-index:1; display:block !important; width:auto !important; height:auto !important; max-width:100% !important; max-height:100% !important; object-fit:contain !important; object-position:center !important; }

/* Post 6741: mobile inline images use full width without cropping */
@media (max-width: 767px) {
  body.single-tama_story.postid-6741 .single-content .tama-event-image-wide > a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: none !important;
  }
  body.single-tama_story.postid-6741 .single-content .tama-event-image-wide > a::before {
    display: none !important;
  }
  body.single-tama_story.postid-6741 .single-content .tama-event-image-wide img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: contain !important;
  }
}


/* Post 7869: display the full portrait flyer like the K8 feature image. */
body.single-tama_story.postid-7869 .single-feature {
  position: relative !important;
  display: block !important;
  aspect-ratio: auto !important;
  width: fit-content !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.single-tama_story.postid-7869 .single-feature img {
  position: static !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  margin: 0 auto !important;
}
body.single-tama_story.postid-7869 .single-feature::after {
  content: "八王子サイエンス・デイ実行委員会提供";
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  padding: 2px 4px;
  color: #fff;
  background: rgba(0, 0, 0, .6);
  font-size: 10px;
  line-height: 1.3;
}


/* Show the complete portrait event poster on article 7919. */
body.single-tama_story.postid-7919 .single-feature {
  position: relative !important;
  min-height: 0 !important;
  overflow: visible !important;
  margin-left: auto !important;
  margin-right: auto !important;
  aspect-ratio: auto !important;
  width: min(100%, 452px) !important;
  max-width: 452px !important;
  height: auto !important;
}
body.single-tama_story.postid-7919 .single-feature img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
}

