/*
  PaperMod v8+
  License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE
  Copyright (c) 2020 nanxiaobei and adityatelange
  Copyright (c) 2021-2026 adityatelange
*/
:root {
    --gap: 24px;
    --content-gap: 20px;
    --nav-width: 1024px;
    --main-width: 720px;
    --header-height: 60px;
    --footer-height: 60px;
    --radius: 8px;
    --theme: rgb(255, 255, 255);
    --entry: rgb(255, 255, 255);
    --primary: rgb(30, 30, 30);
    --secondary: rgb(108, 108, 108);
    --tertiary: rgb(214, 214, 214);
    --content: rgb(31, 31, 31);
    --code-block-bg: rgb(28, 29, 33);
    --code-bg: rgb(245, 245, 245);
    --border: rgb(238, 238, 238);
    color-scheme: light;
}

:root[data-theme="dark"] {
    --theme: rgb(29, 30, 32);
    --entry: rgb(46, 46, 51);
    --primary: rgb(218, 218, 219);
    --secondary: rgb(155, 156, 157);
    --tertiary: rgb(65, 66, 68);
    --content: rgb(196, 196, 197);
    --code-block-bg: rgb(46, 46, 51);
    --code-bg: rgb(55, 56, 62);
    --border: rgb(51, 51, 51);
    color-scheme: dark;
}

.list {
    background: var(--code-bg);
}

[data-theme="dark"] .list {
    background: var(--theme);
}
*,
::after,
::before {
    box-sizing: border-box;
}

html {
    -webkit-tap-highlight-color: transparent;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

a,
button,
body,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    word-break: break-word;
    background: var(--theme);
}

article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
table {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
    margin-bottom: 0;
}

ul {
    padding: 0;
}

a {
    text-decoration: none;
}

body,
figure,
ul {
    margin: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    overflow-x: auto;
    word-break: keep-all;
}

button,
input,
textarea {
    padding: 0;
    font: inherit;
    background: 0 0;
    border: 0;
}

input,
textarea {
    outline: 0;
}

button,
input[type=button],
input[type=submit] {
    cursor: pointer;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
    box-shadow: 0 0 0 50px var(--theme) inset;
}

img {
    display: block;
    max-width: 100%;
}
.not-found {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80%;
    font-size: 160px;
    font-weight: 700;
}
.archive-posts {
    width: 100%;
    font-size: 16px;
}

.archive-year {
    margin-top: 40px;
}

.archive-year:not(:last-of-type) {
    border-bottom: 2px solid var(--border);
}

.archive-month {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
}

.archive-month-header {
    margin: 25px 0;
    width: 200px;
}

.archive-month:not(:last-of-type) {
    border-bottom: 1px solid var(--border);
}

.archive-entry {
    position: relative;
    padding: 5px;
    margin: 10px 0;
}

.archive-entry-title {
    margin: 5px 0;
    font-weight: 400;
}

.archive-count,
.archive-meta {
    color: var(--secondary);
    font-size: 14px;
}
.footer,
.top-link {
    font-size: 12px;
    color: var(--secondary);
}

.footer {
    max-width: calc(var(--main-width) + var(--gap) * 2);
    margin: auto;
    padding: calc((var(--footer-height) - var(--gap)) / 2) var(--gap);
    text-align: center;
    line-height: 24px;
}

.footer span {
    margin-inline-start: 1px;
    margin-inline-end: 1px;
}

.footer span:last-child {
    white-space: nowrap;
}

.footer a {
    color: inherit;
    text-underline-offset: 0.25rem;
    text-decoration: underline;
}

.top-link {
    position: fixed;
    bottom: 4rem;
    right: 2rem;
    z-index: 99;
    background: var(--tertiary);
    width: 2.5rem;
    height: 2.5rem;
    padding: 10px;
    border-radius: 64px;
    transition: visibility .3s, opacity .3s cubic-bezier(0.4, 0, 1, 1);
}

.hidden {
    visibility: hidden;
    opacity: 0;
}

.top-link,
.top-link svg {
    filter: drop-shadow(0px 0px 0px var(--theme));
}

.footer a:hover,
.top-link:hover {
    color: var(--primary);
}
.header-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: calc(var(--nav-width) + var(--gap) * 2);
    margin: auto;
    line-height: var(--header-height);
    padding: 0 var(--gap);
    column-gap: var(--gap);
}

.header-nav a {
    display: block;
}

.logo,
.menu {
    display: flex;
}

.logo {
    align-items: center;
    column-gap: 0.55rem;
    flex-wrap: wrap;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    column-gap: 0.55rem;
}

.logo a img,
.logo a svg {
    pointer-events: none;
    border-radius: 6px;
}

.theme-toggle {
    padding: 0 0.4rem;
}

[data-theme="dark"] .moon {
    display: none;
}

[data-theme="light"] .sun {
    display: none;
}

.logo-switches {
    display: inline-flex;
    gap: 0.4rem;
    align-items: inherit;
    min-height: stretch;
    flex-wrap: inherit;
}

.logo-switches>* {
    min-height: inherit;
    align-items: center;
    display: inline-flex;
}

.nav-sep {
    color: var(--secondary);
}

.lang-menu * {
    display: inherit;
    min-height: inherit;
    align-items: inherit;
}

.lang-menu a {
    font-size: 1rem;
    font-weight: 500;
    padding: 0 0.4rem;
    display: inline-flex
}

.menu {
    list-style: none;
    word-break: keep-all;
    overflow-x: auto;
    white-space: nowrap;
    column-gap: var(--gap);
}

.menu a {
    font-size: 16px;
}

.menu .active {
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 0.3rem;
    text-decoration-thickness: 2px;
}
.main {
    position: relative;
    min-height: calc(100vh - var(--header-height) - var(--footer-height));
    max-width: calc(var(--main-width) + var(--gap) * 2);
    margin: auto;
    padding: var(--gap);
}

.page-header h1 {
    font-size: 40px;
}

.pagination {
    display: flex;
}

.pagination a {
    color: var(--theme);
    font-size: 13px;
    line-height: 36px;
    background: var(--primary);
    border-radius: calc(36px / 2);
    padding: 0 16px;
}

.pagination .next {
    margin-inline-start: auto;
}


.social-icons a {
    display: inline-flex;
    padding: 10px;
}

.social-icons a svg {
    height: 26px;
    width: 26px;
}

code {
    direction: ltr;
}

div.highlight,
pre {
    position: relative;
}

.copy-code {
    display: none;
    position: absolute;
    top: 4px;
    right: 4px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(78, 78, 78, 0.8);
    border-radius: var(--radius);
    padding: 0 5px;
    font-size: 14px;
    user-select: none;
}

div.highlight:hover .copy-code,
pre:hover .copy-code {
    display: block;
}
.md-content h3,
.md-content h4,
.md-content h5,
.md-content h6 {
    margin: 24px 0 16px;
}

.md-content h1 {
    margin: 40px auto 32px;
    font-size: 40px;
}

.md-content h2 {
    margin: 32px auto 24px;
    font-size: 32px;
}

.md-content h3 {
    font-size: 24px;
}

.md-content h4 {
    font-size: 16px;
}

.md-content h5 {
    font-size: 14px;
}

.md-content h6 {
    font-size: 12px;
}

.md-content a:not(.anchor) {
    text-underline-offset: 0.3rem;
    text-decoration: underline;
}

.md-content del {
    text-decoration: line-through;
}

.md-content dl:not(:last-child),
.md-content ol:not(:last-child),
.md-content p:not(:last-child),
.md-content figure:not(:last-child),
.md-content ul:not(:last-child) {
    margin-bottom: var(--content-gap);
}

.md-content ol,
.md-content ul {
    padding-inline-start: 1.25rem;
}

.md-content li {
    margin-top: 0.3rem;
}

.md-content li p {
    margin-bottom: 0;
}

.md-content dl {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.md-content dt {
    width: 25%;
    font-weight: 700;
}

.md-content dd {
    width: 75%;
    margin-inline-start: 0;
    padding-inline-start: 10px;
}

.md-content dd~dd,
.md-content dt~dt {
    margin-top: 10px;
}

.md-content table {
    margin-bottom: var(--content-gap);
}

.md-content table th,
.md-content table:not(.highlighttable, .highlight table, .gist .highlight) td {
    min-width: 80px;
    padding: 6px 13px;
    line-height: 1.5;
    border: 1px solid var(--border);
}

.md-content table th {
    text-align: start;
}

.md-content table:not(.highlighttable) td code:only-child {
    margin: auto 0;
}

.md-content .highlight table {
    border-radius: var(--radius);
}

.md-content .highlight:not(table) {
    margin-bottom: var(--content-gap);
    background: var(--code-block-bg) !important;
    border-radius: var(--radius);
    direction: ltr;
}

.md-content li>.highlight {
    margin-inline-end: 0;
}

.md-content ul pre {
    margin-inline-start: calc(var(--gap) * -2);
}

.md-content .highlight pre {
    margin: 0;
}

.md-content .highlighttable {
    table-layout: fixed;
}

.md-content .highlighttable td:first-child {
    width: 40px;
}

.md-content .highlighttable td .linenodiv {
    padding-inline-end: 0 !important;
}

.md-content .highlighttable td .highlight,
.md-content .highlighttable td .linenodiv pre {
    margin-bottom: 0;
}

.post-content code {
    padding: 0.2rem 0.3rem;
    font-size: 0.78em;
    line-height: 1.5;
    background: var(--code-bg);
    border-radius: 0.2rem;
}

.md-content pre code {
    display: grid;
    margin: auto 0;
    padding: 10px;
    color: rgb(213, 213, 214);
    background: var(--code-block-bg) !important;
    border-radius: var(--radius);
    overflow-x: auto;
    word-break: break-all;
}

.md-content blockquote {
    margin: 1rem 0;
    padding-inline-start: 1rem;
    border-inline-start: 0.3rem solid var(--content);
}

.md-content hr {
    margin: 30px 0;
    height: 2px;
    background: var(--tertiary);
    border: 0;
}

.md-content iframe {
    max-width: 100%;
}

.md-content img {
    border-radius: var(--radius);
    margin: 1rem 0;
}

.md-content img[src*="#center"] {
    margin: 1rem auto;
}

.md-content figure.align-center {
    text-align: center;
}

.md-content figure>figcaption {
    color: var(--primary);
    font-size: 16px;
    font-weight: bold;
    margin: 8px 0 16px;
}

.md-content figure>figcaption>p {
    color: var(--secondary);
    font-size: 14px;
    font-weight: normal;
}

.md-content h1:hover .anchor,
.md-content h2:hover .anchor,
.md-content h3:hover .anchor,
.md-content h4:hover .anchor,
.md-content h5:hover .anchor,
.md-content h6:hover .anchor {
    display: inline-flex;
    color: var(--secondary);
    margin-inline-start: 0.5em;
    font-weight: 500;
    user-select: none;
}

.anchor:hover {
    color: var(--content) !important;
}

.md-content img.in-text {
    display: inline;
    margin: auto;
}

mark {
    border-radius: 2px;
    padding: 0 2px;
}

audio {
    display: block;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 2.5rem;
    margin-bottom: var(--content-gap);
}

audio::-webkit-media-controls-enclosure {
    border-radius: 0;
}

video {
    border: 1px solid var(--code-bg);
    border-radius: var(--radius);
    max-width: 100%;
}
.first-entry {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 320px;
    margin: var(--gap) 0 calc(var(--gap) * 2) 0;
}

.first-entry .entry-header {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.first-entry .entry-header h1 {
    font-size: 34px;
    line-height: 1.3;
}

.first-entry .entry-header h2 {
    font-size: 40px;
}

.first-entry .entry-content {
    margin: 14px 0;
    font-size: 16px;
    -webkit-line-clamp: 3;
}

.first-entry .entry-footer {
    font-size: 14px;
}

.home-info .entry-content {
    --content-gap: 0.5rem;
    -webkit-line-clamp: unset;
    margin: 0;
}

.home-info .social-icons a:first-of-type {
    padding-inline-start: 0;
}


.post-entry {
    position: relative;
    margin-bottom: var(--gap);
    padding: var(--gap);
    background: var(--entry);
    border-radius: var(--radius);
    transition: transform 0.25s ease;
    border: 1px solid var(--border);
}

.post-entry:hover,
.post-entry:focus-within {
    transform: translateY(-2px);
    border-color: var(--tertiary);
}

.tag-entry .entry-cover {
    display: none;
}

.entry-header h2 {
    font-size: 24px;
    line-height: 1.3;
}

.entry-content {
    margin: 8px 0;
    color: var(--secondary);
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-info .entry-content p {
    margin-block-start: 1em;
    margin-block-end: 1em;
}

.entry-footer {
    color: var(--secondary);
    font-size: 13px;
}

.entry-link {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: var(--radius);
}

.entry-hint {
    color: var(--secondary);
}

.entry-hint-parent {
    display: flex;
    justify-content: space-between;
}

.entry-cover {
    font-size: 14px;
    margin-bottom: var(--gap);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.entry-cover img {
    border-radius: var(--radius);
    width: 100%;
    height: auto;
}

.entry-cover a {
    text-underline-offset: 0.3rem;
    text-decoration: underline;
}
.page-header,
.post-header {
    margin: 24px auto var(--content-gap) auto;
}

.post-title {
    font-size: 40px;
}

.post-description {
    margin-top: 10px;
}

.post-meta {
    margin-top: 5px;
}

.post-meta,
.breadcrumbs {
    color: var(--secondary);
    font-size: 14px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem;
}

.breadcrumbs a {
    font-size: 16px;
}

.breadcrumbs svg {
    height: 1em;
}

.i18n_list {
    display: inline-flex;
}

.post-meta .i18n_list li {
    list-style: none;
    margin: auto 3px;
}

.post-meta a,
.toc a:hover {
    text-underline-offset: 0.3rem;
    text-decoration: underline;
}

.post-meta a {
    color: var(--secondary);
    text-decoration-style: dotted;
}

details.toc {
    margin-bottom: var(--content-gap);
    background: var(--code-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

[data-theme="dark"] details.toc {
    background: var(--entry);
}

details.toc summary {
    padding: 0.3rem 1.2rem;
    border-radius: var(--radius);
}

details summary {
    cursor: pointer;
    display: list-item;
    width: 100%;
    margin-inline-start: 0;
    user-select: none;
}

details .title {
    display: inline;
    font-weight: 500;
    margin-inline-start: 0.2rem;
}

details {
    interpolate-size: allow-keywords;
}

details::details-content {
    height: 0;
    opacity: 0;
    overflow: clip;
    transition: height 150ms ease,
        opacity 150ms ease,
        content-visibility 150ms allow-discrete;
}

details[open]::details-content {
    height: auto;
    opacity: 1;
}

details .inner {
    margin: 0 2.4rem;
    padding-bottom: 0.6rem;
}

details li ul {
    margin-inline-start: var(--gap);
}

.post-content {
    color: var(--content);
    margin: 30px 0;
}

.post-footer {
    margin-top: var(--content-gap);
}

.post-footer>* {
    margin-bottom: 10px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-tags li {
    display: inline-block;
}

.post-tags a,
.share-buttons,
.paginav {
    border-radius: var(--radius);
    background: var(--code-bg);
    border: 1px solid var(--border);
}

.post-tags a {
    display: block;
    padding: 0 14px;
    color: var(--secondary);
    font-size: 14px;
    line-height: 34px;
    background: var(--code-bg);
}

.post-tags a:hover,
.paginav a:hover {
    background: var(--border);
}

.share-buttons {
    padding: 10px;
    display: flex;
    justify-content: center;
    overflow-x: auto;
    gap: 10px;
}

.share-buttons li,
.share-buttons a {
    display: inline-flex;
}

.share-buttons a:not(:last-of-type) {
    margin-inline-end: 12px;
}

.paginav {
    display: flex;
    line-height: 1.2;
}

.paginav .title {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--secondary);
}

.paginav a {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.8rem;
    border-radius: var(--radius);
}

.paginav span:hover:not(.title) {
    text-underline-offset: 0.2rem;
    text-decoration: underline;
}

.paginav .next {
    margin-inline-start: auto;
    text-align: right;
}

[dir="rtl"] .paginav .next {
    text-align: left;
}

h1>a>svg {
    display: inline;
}
.buttons,
.main .profile {
    display: flex;
    justify-content: center;
}

.main .profile {
    align-items: center;
    min-height: calc(100vh - var(--header-height) - var(--footer-height) - (var(--gap) * 2));
    text-align: center;
}

.profile .profile_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.profile img {
    border-radius: 50%;
}

.buttons {
    flex-wrap: wrap;
    max-width: 400px;
    gap: 1rem;
}

.button {
    background: var(--tertiary);
    border-radius: var(--radius);
    padding: 0.4rem 0.8rem;
}
.searchbox input {
    padding: 4px 10px;
    width: 100%;
    color: var(--primary);
    font-weight: bold;
    border: 2px solid var(--tertiary);
    border-radius: var(--radius);
}

.searchResults li {
    list-style: none;
    border-radius: var(--radius);
    padding: 10px 15px;
    position: relative;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--entry);
    transition: transform .25s ease;
    border: 1px solid var(--border);
}

.searchResults {
    margin: var(--content-gap) 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.searchResults li:hover,
.searchResults li:focus-within {
    transform: translateY(-2px);
    border-color: var(--tertiary);
}

.searchResults li .entry-link:focus {
    outline: 2px solid var(--secondary);
    outline-offset: -2px;
}
.terms-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: var(--content-gap);
}

.terms-tags li {
    display: inline-block;
    font-weight: 500;
}

.terms-tags a {
    display: block;
    padding: 4px 10px;
    background: var(--tertiary);
    border-radius: var(--radius);
    transition: transform 0.1s;
}
/* Background */ .bg { color: #cad3f5; background-color: #24273a; }
/* PreWrapper */ .chroma { color: #cad3f5; background-color: #24273a; }
/* Other */ .chroma .x {  }
/* Error */ .chroma .err { color: #ed8796 }
/* CodeLine */ .chroma .cl {  }
/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit }
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; }
/* LineHighlight */ .chroma .hl { background-color: #474733 }
/* LineNumbersTable */ .chroma .lnt { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #8087a2 }
/* LineNumbers */ .chroma .ln { white-space: pre; -webkit-user-select: none; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #8087a2 }
/* Line */ .chroma .line { display: flex; }
/* Keyword */ .chroma .k { color: #c6a0f6 }
/* KeywordConstant */ .chroma .kc { color: #f5a97f }
/* KeywordDeclaration */ .chroma .kd { color: #ed8796 }
/* KeywordNamespace */ .chroma .kn { color: #8bd5ca }
/* KeywordPseudo */ .chroma .kp { color: #c6a0f6 }
/* KeywordReserved */ .chroma .kr { color: #c6a0f6 }
/* KeywordType */ .chroma .kt { color: #ed8796 }
/* Name */ .chroma .n {  }
/* NameAttribute */ .chroma .na { color: #8aadf4 }
/* NameBuiltin */ .chroma .nb { color: #91d7e3 }
/* NameBuiltinPseudo */ .chroma .bp { color: #91d7e3 }
/* NameClass */ .chroma .nc { color: #eed49f }
/* NameConstant */ .chroma .no { color: #eed49f }
/* NameDecorator */ .chroma .nd { color: #8aadf4; font-weight: bold }
/* NameEntity */ .chroma .ni { color: #8bd5ca }
/* NameException */ .chroma .ne { color: #f5a97f }
/* NameFunction */ .chroma .nf { color: #8aadf4 }
/* NameFunctionMagic */ .chroma .fm { color: #8aadf4 }
/* NameLabel */ .chroma .nl { color: #91d7e3 }
/* NameNamespace */ .chroma .nn { color: #f5a97f }
/* NameOther */ .chroma .nx {  }
/* NameProperty */ .chroma .py { color: #f5a97f }
/* NameTag */ .chroma .nt { color: #c6a0f6 }
/* NameVariable */ .chroma .nv { color: #f4dbd6 }
/* NameVariableClass */ .chroma .vc { color: #f4dbd6 }
/* NameVariableGlobal */ .chroma .vg { color: #f4dbd6 }
/* NameVariableInstance */ .chroma .vi { color: #f4dbd6 }
/* NameVariableMagic */ .chroma .vm { color: #f4dbd6 }
/* Literal */ .chroma .l {  }
/* LiteralDate */ .chroma .ld {  }
/* LiteralString */ .chroma .s { color: #a6da95 }
/* LiteralStringAffix */ .chroma .sa { color: #ed8796 }
/* LiteralStringBacktick */ .chroma .sb { color: #a6da95 }
/* LiteralStringChar */ .chroma .sc { color: #a6da95 }
/* LiteralStringDelimiter */ .chroma .dl { color: #8aadf4 }
/* LiteralStringDoc */ .chroma .sd { color: #6e738d }
/* LiteralStringDouble */ .chroma .s2 { color: #a6da95 }
/* LiteralStringEscape */ .chroma .se { color: #8aadf4 }
/* LiteralStringHeredoc */ .chroma .sh { color: #6e738d }
/* LiteralStringInterpol */ .chroma .si { color: #a6da95 }
/* LiteralStringOther */ .chroma .sx { color: #a6da95 }
/* LiteralStringRegex */ .chroma .sr { color: #8bd5ca }
/* LiteralStringSingle */ .chroma .s1 { color: #a6da95 }
/* LiteralStringSymbol */ .chroma .ss { color: #a6da95 }
/* LiteralNumber */ .chroma .m { color: #f5a97f }
/* LiteralNumberBin */ .chroma .mb { color: #f5a97f }
/* LiteralNumberFloat */ .chroma .mf { color: #f5a97f }
/* LiteralNumberHex */ .chroma .mh { color: #f5a97f }
/* LiteralNumberInteger */ .chroma .mi { color: #f5a97f }
/* LiteralNumberIntegerLong */ .chroma .il { color: #f5a97f }
/* LiteralNumberOct */ .chroma .mo { color: #f5a97f }
/* Operator */ .chroma .o { color: #91d7e3; font-weight: bold }
/* OperatorWord */ .chroma .ow { color: #91d7e3; font-weight: bold }
/* Punctuation */ .chroma .p {  }
/* Comment */ .chroma .c { color: #6e738d; font-style: italic }
/* CommentHashbang */ .chroma .ch { color: #6e738d; font-style: italic }
/* CommentMultiline */ .chroma .cm { color: #6e738d; font-style: italic }
/* CommentSingle */ .chroma .c1 { color: #6e738d; font-style: italic }
/* CommentSpecial */ .chroma .cs { color: #6e738d; font-style: italic }
/* CommentPreproc */ .chroma .cp { color: #6e738d; font-style: italic }
/* CommentPreprocFile */ .chroma .cpf { color: #6e738d; font-weight: bold; font-style: italic }
/* Generic */ .chroma .g {  }
/* GenericDeleted */ .chroma .gd { color: #ed8796; background-color: #363a4f }
/* GenericEmph */ .chroma .ge { font-style: italic }
/* GenericError */ .chroma .gr { color: #ed8796 }
/* GenericHeading */ .chroma .gh { color: #f5a97f; font-weight: bold }
/* GenericInserted */ .chroma .gi { color: #a6da95; background-color: #363a4f }
/* GenericOutput */ .chroma .go {  }
/* GenericPrompt */ .chroma .gp {  }
/* GenericStrong */ .chroma .gs { font-weight: bold }
/* GenericSubheading */ .chroma .gu { color: #f5a97f; font-weight: bold }
/* GenericTraceback */ .chroma .gt { color: #ed8796 }
/* GenericUnderline */ .chroma .gl { text-decoration: underline }
/* TextWhitespace */ .chroma .w {  }
.chroma {
    background-color: unset !important;
}

.chroma .hl {
    display: flex;
}

.chroma .lnt {
    padding: 0 0 0 12px;
}

.highlight pre.chroma code {
    padding: 8px 0;
}

.highlight pre.chroma .line .cl,
.chroma .ln {
    padding: 0 10px;
}

.chroma .lntd:last-of-type {
    width: 100%;
}
 @media screen and (max-width: 768px) {
    /* theme-vars */
    :root {
        --gap: 14px;
    }

    /* profile-mode */
    .profile img {
        transform: scale(0.85);
    }

    /* post-entry */
    .first-entry {
        min-height: 260px;
    }

    /* archive */
    .archive-month {
        flex-direction: column;
    }

    .archive-year {
        margin-top: 20px;
    }

    /* footer */
    .footer {
        padding: calc((var(--footer-height) - var(--gap) - 10px) / 2) var(--gap);
    }
}

/* footer */
@media screen and (max-width: 900px) {
    .list .top-link {
        transform: translateY(-5rem);
    }
}

@media screen and (max-width: 340px) {
    .share-buttons {
        justify-content: unset;
    }
}

@media (prefers-reduced-motion) {
    /* terms; profile-mode; post-single; post-entry; post-entry; search; search */
    .terms-tags a:active,
    .button:active,
    .post-entry:active,
    .top-link,
    .searchResults .focus,
    .searchResults li:active {
        transform: none;
    }
}
/* ===================================================
   浦安ぽーたる — カスタムスタイル
   =================================================== */

/* ---------- CSS変数 (Design System v2) ---------- */
:root {
  /* ─── ブランドカラー ─── */
  --up-navy:   #1A5C8A;
  --up-teal:   #0D9A88;
  --up-amber:  #E8A020;
  --up-coral:  #E05535;

  /* ─── カテゴリカラー ─── */
  --cat-open:    #DC2626;
  --cat-news:    #1D6FB8;
  --cat-event:   #7C3AED;
  --cat-gourmet: #D97706;
  --cat-edu:     #059669;
  --cat-sports:  #0D9488;
  --cat-notice:  #64748B;

  /* ─── カテゴリ淡色 ─── */
  --cat-open-bg:    #FEF2F2;
  --cat-news-bg:    #EFF6FF;
  --cat-event-bg:   #F5F3FF;
  --cat-gourmet-bg: #FFFBEB;
  --cat-edu-bg:     #F0FDF4;
  --cat-sports-bg:  #F0FDFA;
  --cat-notice-bg:  #F8FAFC;

  /* ─── サーフェス・背景 ─── */
  --up-bg:       #F6F8FB;
  --up-surface:  #FFFFFF;
  --up-surface-2:#F1F5F9;
  --up-card:     #FFFFFF;

  /* ─── ボーダー ─── */
  --up-border:   #E2E8F0;
  --up-border-2: #CBD5E1;

  /* ─── テキスト ─── */
  --up-text-1:  #0F172A;
  --up-text-2:  #334155;
  --up-text-3:  #64748B;
  --up-text-4:  #94A3B8;

  /* ─── シャドウ ─── */
  --up-shadow-sm: 0 1px 3px rgba(15,23,42,.06);
  --up-shadow-md: 0 4px 12px rgba(15,23,42,.08);

  /* ─── 角丸 ─── */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   14px;
  --r-pill: 999px;

  /* ─── タイポグラフィ ─── */
  --fs-2xs:10px;  --fs-xs: 12px;  --fs-sm: 13px;
  --fs-base:15px; --fs-md: 16px;  --fs-lg: 18px;
  --fs-xl: 20px;  --fs-2xl:24px;
  --lh-body:1.9;  --lh-head:1.45; --lh-ui: 1.35;

  /* ─── スペーシング ─── */
  --sp-1: 4px;  --sp-2:  8px;  --sp-3: 12px;
  --sp-4:16px;  --sp-5: 20px;  --sp-6: 24px;
  --sp-8:32px;  --sp-10:40px;  --sp-12:48px;

  /* ─── 後方互換エイリアス ─── */
  --up-sea:            #1A5C8A;
  --up-gold:           #E8A020;
  --up-text:           #0F172A;
  --up-muted:          #64748B;
  --up-shadow:         0 1px 3px rgba(15,23,42,.06);
  --up-radius-sm:      6px;
  --up-radius-md:      10px;
  --up-radius-lg:      14px;
  --portal-blue:       #1A5C8A;
  --portal-light-blue: #EFF6FF;
  --portal-accent:     #E8A020;
  --portal-border:     #BFDBFE;
}

/* ---------- ベース ---------- */
body { background: var(--up-bg) !important; color: var(--up-text); line-height: 1.85; }
*, *::before, *::after { box-sizing: border-box; }

/* ---------- ヘッダー ---------- */
.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: var(--up-sea) !important;
  border-bottom: none !important;
  box-shadow: 0 2px 12px rgba(0,0,0,.25) !important;
}
.header-nav { max-width: calc(1160px + 48px) !important; }
.logo { display: flex; align-items: center; gap: 0; flex: 1; }
.logo > a, .logo > a span { color: #fff !important; font-weight: 800 !important; }
.logo-subtitle { color: #fff; font-size: 15px; font-weight: 600; opacity: 0.85; white-space: nowrap; padding: 0 12px; margin-left: 8px; align-self: flex-end; }
.logo-switches { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.logo-switches a { color: rgba(255,255,255,0.8) !important; text-decoration: none; }
.nav-sep { display: none; }
.header-search-link { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.75) !important; text-decoration: none; font-size: 12px; font-weight: 500; padding: 2px 6px; border-radius: 3px; transition: all 0.15s; white-space: nowrap; }
.header-search-link:hover { color: #fff !important; background: rgba(255,255,255,0.1); }
.header-search-link svg { width: 18px; height: 18px; stroke-width: 2; }
.lang-menu { list-style: none; display: flex; gap: 0; }
.lang-menu li a { color: rgba(255,255,255,0.75) !important; font-size: 12px; font-weight: 500; padding: 2px 0; text-decoration: none; }
.logo > a::before { content: "⚓"; font-size: .9em; margin-right: 7px; }
.theme-toggle svg, .theme-toggle {
  color: rgba(255,255,255,.8) !important;
  fill: rgba(255,255,255,.8) !important;
  stroke: rgba(255,255,255,.8) !important;
}
.theme-toggle:hover svg { color: #fff !important; stroke: #fff !important; }
.menu a {
  color: rgba(255,255,255,.85) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: color .15s !important;
}
.menu a:hover { color: #fff !important; }
.menu .active {
  color: #fff !important;
  text-decoration-color: rgba(255,255,255,.6) !important;
}

/* ---------- 柱アクセント (1システム3アクセント) ---------- */
:root             { --accent: #1A5C8A; --accent-ink: #0F2C44; --accent-bg: #EAF1F7; }
body.pillar-topics { --accent: #1A5C8A; --accent-ink: #0F2C44; --accent-bg: #EAF1F7; }
body.pillar-life   { --accent: #0D9A88; --accent-ink: #0A3F39; --accent-bg: #E6F7F4; }
body.pillar-travel { --accent: #E05535; --accent-ink: #7A2A14; --accent-bg: #FCEEE9; }

/* ---------- ピラー・スイッチャー ---------- */
.pillar-switcher {
  background: #fff;
  border-bottom: 1px solid var(--up-border);
}
.pillar-switcher-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.pillar-switcher-inner::-webkit-scrollbar { display: none; }
.pillar-tab {
  flex: 0 0 auto;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--up-text-3);
  border-bottom: 3px solid transparent;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: color .15s;
}
.pillar-tab:hover { color: var(--up-text-1); }
.pillar-tab.is-active { font-weight: 700; }
.pillar-tab--topics.is-active { color: #1A5C8A; border-bottom-color: #1A5C8A; }
.pillar-tab--life.is-active   { color: #0D9A88; border-bottom-color: #0D9A88; }
.pillar-tab--travel.is-active { color: #E05535; border-bottom-color: #E05535; }

/* ---------- リストページ幅拡大 ---------- */
body.list { --main-width: 1160px; }

/* ---------- 速報ティッカー ---------- */
.home-ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--up-coral);
  color: #fff;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 6px;
  margin-bottom: 24px;
  overflow: hidden;
}
.home-ticker .ticker-label {
  background: rgba(0,0,0,.2);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  flex-shrink: 0;
}
.home-ticker a { color: #fff !important; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-ticker a:hover { opacity: .85; }

/* ---------- ヒーロー ---------- */
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  margin-bottom: 32px;
}
.hero-main { grid-column: 1; grid-row: 1 / 3; }
.hero-card {
  display: flex;
  flex-direction: column;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--up-shadow);
  text-decoration: none !important;
  color: var(--up-text) !important;
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.hero-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.13); }
.hero-thumb { overflow: hidden; flex-shrink: 0; background: #d8e8f0; }
.hero-main .hero-thumb { height: 240px; }
.hero-sub  .hero-thumb { height: 130px; }
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.hero-card:hover .hero-thumb img { transform: scale(1.04); }
.hero-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D8E8F4;
  color: #5A8CA8;
  font-size: 36px;
}
.hero-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.hero-main .hero-body h2 {
  font-size: 18px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-sub .hero-body h3 {
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: auto;
}
.hero-body p {
  font-size: 13px;
  color: var(--up-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-body time { font-size: 11px; color: var(--up-muted); margin-top: auto; }

/* ---------- セクションヘッド ---------- */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--up-border);
}
.section-head h2 {
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--up-text);
}
.section-head h2::before {
  content: '';
  width: 4px; height: 18px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---------- 2カラムレイアウト ---------- */
.home-layout { display: grid; grid-template-columns: 1fr 280px; gap: 28px; align-items: start; }
.home-main { min-width: 0; }
.home-sidebar { min-width: 0; position: sticky; top: calc(var(--header-height) + 12px); }

/* ---------- 記事グリッド ---------- */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--up-surface);
  border: 0.5px solid var(--up-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--up-shadow-sm);
  text-decoration: none !important;
  color: var(--up-text-1) !important;
  transition: transform .18s, box-shadow .18s;
  height: 100%;
}
.article-card:hover { transform: translateY(-2px); box-shadow: var(--up-shadow-md); }
.article-card.cat-open    { border-left: 4px solid var(--cat-open);    background: var(--up-surface); }
.article-card.cat-news    { border-left: 4px solid var(--cat-news);    background: var(--up-surface); }
.article-card.cat-event   { border-left: 4px solid var(--cat-event);   background: var(--up-surface); }
.article-card.cat-gourmet { border-left: 4px solid var(--cat-gourmet); background: var(--up-surface); }
.article-card.cat-edu     { border-left: 4px solid var(--cat-edu);     background: var(--up-surface); }
.article-card.cat-sports  { border-left: 4px solid var(--cat-sports);  background: var(--up-surface); }
.article-card.cat-notice  { border-left: 4px solid var(--cat-notice);  background: var(--up-surface); }
.article-thumb { height: 140px; overflow: hidden; background: var(--up-surface-2); flex-shrink: 0; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; display: block; }
.article-card:hover .article-thumb img { transform: scale(1.04); }
.article-no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: var(--cat-news-bg);
  color: var(--up-text-3);
  font-size: 11px;
  font-weight: 600;
  padding: 8px;
  text-align: center;
  flex-shrink: 0;
}
/* ---------- 区分色の軽量サムネ・プレースホルダー（重い既定イラストの置換） ---------- */
.up-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; padding: 8px; }
.up-ph i { font-size: 32px; line-height: 1; }
.up-ph-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.up-ph.cat-open    { background: linear-gradient(135deg, rgba(220,38,38,.13),  rgba(220,38,38,.04));  color: var(--cat-open); }
.up-ph.cat-news    { background: linear-gradient(135deg, rgba(29,111,184,.13), rgba(29,111,184,.04)); color: var(--cat-news); }
.up-ph.cat-event   { background: linear-gradient(135deg, rgba(124,58,237,.13), rgba(124,58,237,.04)); color: var(--cat-event); }
.up-ph.cat-gourmet { background: linear-gradient(135deg, rgba(217,119,6,.15),  rgba(217,119,6,.04));  color: var(--cat-gourmet); }
.up-ph.cat-edu     { background: linear-gradient(135deg, rgba(5,150,105,.14),  rgba(5,150,105,.04));  color: var(--cat-edu); }
.up-ph.cat-sports  { background: linear-gradient(135deg, rgba(13,148,136,.14), rgba(13,148,136,.04)); color: var(--cat-sports); }
.up-ph.cat-notice,
.up-ph.cat-default { background: linear-gradient(135deg, rgba(100,116,139,.14), rgba(100,116,139,.04)); color: var(--cat-notice); }
/* コンテキスト別サイズ調整 */
.hero-main .hero-thumb.up-ph i { font-size: 54px; }
.hero-main .hero-thumb.up-ph .up-ph-label { font-size: 14px; }
.hero-sub  .hero-thumb.up-ph i { font-size: 34px; }
.recent-thumb.up-ph { gap: 0; padding: 0; }
.recent-thumb.up-ph i { font-size: 20px; }
.recent-thumb.up-ph .up-ph-label { display: none; }
.article-body { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.article-body h3, .article-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.article-body time, .article-date {
  font-size: 11px;
  color: var(--up-text-4);
  margin-top: auto;
  display: block;
}
.article-desc {
  font-size: 11px;
  color: var(--up-text-3);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- カテゴリバッジ ---------- */
.cat-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  line-height: 1.6;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}
.cat-badge-sm { font-size: 10px; padding: 1px 7px; }
.cat-open    { background: var(--cat-open); }
.cat-news    { background: var(--cat-news); }
.cat-event   { background: var(--cat-event); }
.cat-gourmet { background: var(--cat-gourmet); }
.cat-edu     { background: var(--cat-edu); }
.cat-sports  { background: var(--cat-sports); }
.cat-notice  { background: var(--cat-notice); }
.cat-default { background: var(--cat-notice); }

/* ---------- ページネーション ---------- */
.home-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; padding: 20px 0; background: none; }
.page-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background: var(--up-navy);
  color: #fff !important;
  border: none;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .15s;
}
.page-btn:hover { background: #144D76; }
.page-info { font-size: 13px; color: var(--up-muted); }

/* ---------- サイドバー ---------- */
.sidebar-widget { background: var(--up-card); border-radius: 10px; padding: 16px; margin-bottom: 16px; box-shadow: 0 1px 6px rgba(0,0,0,.06); }
.widget-title {
  font-size: 13px !important;
  font-weight: 800 !important;
  margin-bottom: 12px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid var(--accent) !important;
  color: var(--up-text) !important;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--up-border);
  text-decoration: none !important;
  color: var(--up-text) !important;
  font-size: 13px;
  transition: color .15s;
}
.cat-list li:last-child .cat-item { border-bottom: none; }
.cat-item:hover { color: var(--up-teal) !important; }
.cat-count { background: var(--up-bg); color: var(--up-muted); font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 10px; flex-shrink: 0; }
.recent-list { display: flex; flex-direction: column; gap: 10px; }
.recent-item { display: flex; gap: 10px; align-items: flex-start; text-decoration: none !important; color: var(--up-text) !important; transition: color .15s; }
.recent-item:hover { color: var(--up-teal) !important; }
.recent-thumb { width: 72px; height: 52px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--up-surface-2); }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recent-thumb-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.recent-body { flex: 1; min-width: 0; }
.recent-body h4 {
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
}
.recent-body time { font-size: 10px; color: var(--up-muted); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-item {
  background: var(--up-bg);
  border: 1px solid var(--up-border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--up-muted) !important;
  text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s;
}
.tag-item:hover { background: var(--up-teal); color: #fff !important; border-color: var(--up-teal); }
.tag-item .tag-count {
  display: inline-block;
  margin-left: 4px;
  background: var(--up-border);
  border-radius: 10px;
  padding: 0 5px;
  font-size: 10px;
  color: var(--up-muted);
  font-weight: 700;
  vertical-align: middle;
  transition: background .15s, color .15s;
}
.tag-item:hover .tag-count { background: rgba(255,255,255,.25); color: #fff; }
.tag-item-popular { font-weight: 700; border-color: #B2DFD8; background: #F0FDFA; color: #0F766E !important; }
.tag-cloud-all { gap: 8px; }
.tag-more-link {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--up-teal);
  font-weight: 700;
  text-decoration: none;
}
.tag-more-link:hover { text-decoration: underline; }

/* ---------- フッター ---------- */
.footer { max-width: 100% !important; padding: 0 !important; background: #1a2a3a !important; color: rgba(255,255,255,.65) !important; }
.footer a { color: rgba(255,255,255,.65) !important; text-decoration: none; }
.footer a:hover { color: #fff !important; }

.ft-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 40px 24px 28px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.ft-logo {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.ft-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  margin: 0 0 18px;
}
.ft-col-heading {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 12px;
}
.ft-col-heading + .ft-col-heading { margin-top: 20px; }
.ft-links {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.ft-links a { font-size: 13px; }
.ft-links + .ft-col-heading { margin-top: 20px; }
.ft-site-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ft-site-links a { font-size: 12px; color: rgba(255,255,255,.48) !important; }
.ft-site-links a:hover { color: rgba(255,255,255,.8) !important; }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 14px 24px;
  text-align: center;
}
.ft-bottom-text {
  font-size: 12px;
  color: rgba(255,255,255,.32);
}
.ft-bottom-text a { color: rgba(255,255,255,.42) !important; }
.ft-bottom-text a:hover { color: rgba(255,255,255,.7) !important; }

@media (max-width: 767px) {
  .ft-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 28px 20px 20px;
  }
}
@media (max-width: 480px) {
  .ft-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px 16px;
  }
}

/* ---------- リストページヘッダー ---------- */
.list-page-header {
  margin-bottom: 24px;
}
.list-page-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: var(--up-text) !important;
  margin: 4px 0 0 !important;
  padding: 0 !important;
  border: none !important;
}
.list-page-desc {
  font-size: 13px;
  color: var(--up-muted);
  margin: 6px 0 0;
}
.list-count {
  font-size: 12px;
  color: var(--up-muted);
  font-weight: 500;
}

/* ---------- レスポンシブ (トップ) ---------- */
@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-main { grid-column: 1; grid-row: auto; }
  .home-layout { grid-template-columns: 1fr; }
  .home-sidebar { position: static; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-thumb { height: 160px; }
  .article-no-img { height: 160px; }
  .home-hero { gap: 10px; }
}

/* ---------- 記事ページ ---------- */
/* PaperModは記事ページのbodyにclass="single"を付与しない。
   body:not(.list) = 記事ページ（.Kind="page"） */
/* 800(記事) + 28(gap) + 280(サイドバー) = 1108px */
body:not(.list) { --main-width: 1108px; }

/* 記事ページはサイドバーを早めに折りたたむ */
@media (max-width: 1160px) {
  body:not(.list) .home-layout { grid-template-columns: 1fr; }
  body:not(.list) .home-sidebar { position: static; }
}

.post-single { background: var(--up-card); border-radius: 12px; overflow: hidden; box-shadow: var(--up-shadow); }

.post-single .post-header { padding: 28px 32px 0; border-bottom: none; }

.post-meta-line { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.post-meta-line time { font-size: 12px; color: var(--up-muted); }

.post-single .post-title {
  font-size: 22px !important;
  line-height: 1.55 !important;
  font-weight: 800 !important;
  color: var(--up-text) !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: none !important;
}
.post-single .post-description { font-size: 14px; color: var(--up-muted); line-height: 1.7; margin: 0 0 20px; }

.post-cover { margin: 20px 32px; border-radius: 8px; overflow: hidden; background: #d8e8f0; }
.post-cover img { width: 100%; display: block; border-radius: 8px; max-height: 420px; object-fit: cover; }
.post-cover.up-ph { height: 150px; background: none; }
.post-cover.up-ph i { font-size: 46px; }
.post-cover.up-ph .up-ph-label { font-size: 13px; }

.post-single .post-content { padding: 8px 32px 32px; font-size: 15px; line-height: 1.9; color: var(--up-text); }

.post-single .post-content h2 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  margin: 28px 0 12px;
  padding: 2px 0 2px 12px;
  background: none;
  border-left: 4px solid var(--accent);
  border-radius: 0;
  color: var(--up-text);
  scroll-margin-top: 80px;
}
.post-single .post-content h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 24px 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--up-gold);
  color: var(--up-text);
}
.post-single .post-content h4 { font-size: 14px; font-weight: 700; margin: 18px 0 8px; color: var(--up-text); }
.post-single .post-content p { margin: 0 0 16px; }
.post-single .post-content a { color: var(--up-sea); text-decoration: underline; text-underline-offset: 2px; }
.post-single .post-content a:hover { color: var(--up-teal); }
.post-single .post-content img { max-width: 100%; border-radius: 8px; display: block; margin: 20px auto; }
.post-single .post-content figure { margin: 20px 0; }
.post-single .post-content figcaption { font-size: 12px; color: var(--up-muted); text-align: center; margin-top: 6px; }
.post-single .post-content ul,
.post-single .post-content ol { padding-left: 1.6em; margin-bottom: 16px; }
.post-single .post-content li { margin-bottom: 6px; line-height: 1.8; }
.post-single .post-content blockquote {
  border-left: 4px solid var(--up-teal);
  margin: 20px 0;
  padding: 12px 16px;
  background: var(--up-bg);
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: var(--up-muted);
}
.post-single .post-content hr { border: none; border-top: 1px solid var(--up-border); margin: 32px 0; }
.post-single .post-content .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 20px; }
.post-single .post-content .table-scroll table { margin-bottom: 0; }
.post-single .post-content table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 20px; }
.post-single .post-content th,
.post-single .post-content td { padding: 8px 12px; border: 1px solid var(--up-border); text-align: left; }
.post-single .post-content th { background: var(--up-bg); font-weight: 700; color: var(--up-text); }

/* ---------- 観光ガイド記事本文をコーラル化（柱=travel） ---------- */
/* h2 は既に border-left: var(--accent) のため自動でコーラル。h3/リンク/引用/表ヘッダーを揃える */
body.pillar-travel .post-single .post-content h3 { border-left-color: var(--accent); }
body.pillar-travel .post-single .post-content a { color: var(--accent-ink); }
body.pillar-travel .post-single .post-content a:hover { color: var(--accent); }
body.pillar-travel .post-single .post-content blockquote {
  border-left-color: var(--accent);
  background: var(--accent-bg);
  color: var(--accent-ink);
}
body.pillar-travel .post-single .post-content th {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.wp-block-image { margin: 20px 0; }
.wp-block-image img { max-width: 100%; border-radius: 8px; }
.wp-block-separator { border: none; border-top: 1px solid var(--up-border); margin: 32px 0; }
.wp-block-group { background: var(--up-bg); border-radius: 8px; padding: 16px 20px; margin: 20px 0; }

.post-single .post-footer { padding: 20px 32px 28px; border-top: 1px solid var(--up-border); }
.post-single .post-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; }
.post-single .post-tags li a {
  display: inline-block;
  background: var(--up-bg);
  border: 1px solid var(--up-border);
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  color: var(--up-muted) !important;
  text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s;
}
.post-single .post-tags li a::before { content: "# "; }
.post-single .post-tags li a:hover { background: var(--up-teal); color: #fff !important; border-color: var(--up-teal); }

.paginav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.paginav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--up-bg);
  border: 1px solid var(--up-border);
  border-radius: 8px;
  text-decoration: none !important;
  color: var(--up-text) !important;
  transition: border-color .15s, background .15s;
  min-width: 0;
}
.paginav a:hover { border-color: var(--up-teal); background: #f0fbf9; }
.paginav a .title { font-size: 11px; font-weight: 700; color: var(--up-teal); text-transform: uppercase; letter-spacing: .06em; }
.paginav a span:last-child {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.paginav .next { text-align: right; }

.related-posts { margin-top: 32px; }

/* ---------- 記事コンテキスト補強ブロック ---------- */
.article-context {
  margin: 28px 0 4px;
  background: var(--up-bg);
  border: 1px solid var(--up-border);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ac-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ac-icon {
  font-size: 22px;
  line-height: 1.3;
  flex-shrink: 0;
  margin-top: 1px;
}
.ac-body { flex: 1; min-width: 0; }
.ac-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--up-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 4px;
}
.ac-text {
  font-size: 13px;
  line-height: 1.75;
  color: var(--up-text);
  margin: 0 0 6px;
}
.ac-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--up-teal);
  text-decoration: none;
}
.ac-link:hover { text-decoration: underline; }
.ac-divider {
  border: none;
  border-top: 1px solid var(--up-border);
  margin: 14px 0;
}

/* ---------- くらしの便利ガイドへの導線 ---------- */
.related-guides { margin-top: 32px; }
.rg-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rg-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-left: 4px solid var(--up-teal);
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none !important;
  color: var(--up-text) !important;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.rg-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); border-left-color: var(--up-sea); }
.rg-emoji { font-size: 26px; line-height: 1; flex-shrink: 0; }
.rg-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rg-title { font-weight: 700; font-size: 14px; line-height: 1.4; }
.rg-go { font-size: 12px; color: var(--up-muted); }
@media (max-width: 560px) {
  .rg-list { grid-template-columns: 1fr; }
}

/* ---------- お問い合わせフォーム ---------- */
.contact-form {
  max-width: 560px;
  margin-top: 24px;
}
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--up-text);
  margin-bottom: 6px;
}
.contact-form .required {
  color: var(--up-coral);
  margin-left: 2px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--up-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--up-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: var(--up-teal);
  box-shadow: 0 0 0 3px rgba(14,158,142,.12);
}
.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-form button[type="submit"] {
  display: inline-block;
  background: var(--up-teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 32px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.contact-form button[type="submit"]:hover,
.contact-submit-btn:hover {
  background: #0b8a7c;
  transform: translateY(-1px);
}
.contact-submit-btn {
  display: inline-block;
  background: var(--up-teal);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 32px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.contact-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--up-border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--up-text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7a8d' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.contact-form select:focus {
  border-color: var(--up-teal);
  box-shadow: 0 0 0 3px rgba(14,158,142,.12);
}

/* ---------- サンクスページ ---------- */
.thanks-wrap {
  text-align: center;
  padding: 48px 24px;
  max-width: 480px;
  margin: 0 auto;
}
.thanks-icon {
  font-size: 48px;
  margin-bottom: 16px;
}
.thanks-wrap h2 {
  font-size: 1.4em;
  color: var(--up-text);
  margin-bottom: 12px;
}
.thanks-wrap p {
  color: var(--up-muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.thanks-btn {
  display: inline-block;
  background: var(--up-teal);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 8px;
  padding: 11px 32px;
  font-size: 14px;
  font-weight: 700;
  transition: background .2s;
}
.thanks-btn:hover { background: #0b8a7c; }

/* ---------- レスポンシブ (記事ページ) ---------- */
@media (max-width: 640px) {
  .post-single .post-header { padding: 20px 16px 0; }
  .post-cover { margin: 16px; }
  .post-single .post-content { padding: 8px 16px 24px; font-size: 15px; }
  .post-single .post-footer { padding: 16px 16px 20px; }
  .post-single .post-title { font-size: 18px !important; }
  .paginav { grid-template-columns: 1fr; }
}

/* ===================================================
   第1弾追加スタイル — 地域ポータル化
   =================================================== */

/* ---------- CSS追加変数 ---------- */
/* ※ポータル変数は冒頭の :root に統合済み */

/* ---------- ポータルヒーロー ---------- */
.portal-hero {
  background: #EAF1F7;
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.portal-hero-text { flex: 1; min-width: 0; }
.portal-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--up-navy);
  margin-bottom: 6px;
}
.portal-hero-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 6px;
  color: #0F2C44;
}
.portal-hero-subtitle {
  font-size: 13px;
  line-height: 1.75;
  color: #475569;
  margin: 0;
  max-width: 640px;
}
.hero-contact-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--up-navy);
  border: 1px solid var(--up-navy);
  border-radius: 20px;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .18s;
}
.hero-contact-link:hover { background: #0F2C44; }

/* ---------- エリアナビ ---------- */
.area-nav-section {
  background: var(--up-card);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.area-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  background: var(--up-bg);
  border: 1px solid var(--up-border);
  border-radius: 20px;
  color: var(--portal-blue) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .15s, border-color .15s, color .15s;
}
.area-chip:hover {
  background: var(--portal-blue);
  border-color: var(--portal-blue);
  color: #fff !important;
}

/* ---------- ジャンルナビ ---------- */
.genre-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}
.genre-card {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  background: var(--up-bg);
  border: 1px solid var(--up-border);
  border-radius: 7px;
  color: var(--up-text) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .15s, border-color .15s;
}
.genre-card:hover {
  background: #e8f4fb;
  border-color: var(--portal-blue);
}
.genre-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- セクション「もっと見る」リンク ---------- */
.section-more {
  font-size: 12px;
  color: var(--accent) !important;
  text-decoration: none !important;
  font-weight: 600;
}
.section-more:hover { text-decoration: underline !important; }

/* ---------- 情報ボックス (記事内 .info-box) ---------- */
.info-box {
  background: #f0f8ff;
  border: 1px solid #b8d9f0;
  border-left: 4px solid var(--portal-blue);
  border-radius: 8px;
  padding: 18px 22px 18px 20px;
  margin: 24px 0;
  overflow: hidden;
}
.info-box h2 {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: var(--portal-blue) !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
}
.info-box dl {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 8px 12px;
  margin: 0;
}
.info-box dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--up-muted);
  padding-top: 2px;
  white-space: nowrap;
}
.info-box dd {
  font-size: 13px;
  color: var(--up-text);
  margin: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.info-box dd a { color: var(--portal-blue); word-break: break-all; }
@media (max-width: 480px) {
  .info-box dl { grid-template-columns: 1fr; gap: 3px 0; }
  .info-box dt { margin-top: 8px; border-top: 1px solid var(--up-border); padding-top: 8px; }
  .info-box dt:first-child { border-top: none; margin-top: 0; padding-top: 0; }
}

/* ---------- フロントマター情報ボックス余白調整 ---------- */
.frontmatter-infobox { margin: 0 32px 24px; }
@media (max-width: 640px) { .frontmatter-infobox { margin: 0 16px 20px; } }

/* ---------- 店舗情報ボックス (開店・閉店) — オレンジ系 ---------- */
.info-box.infobox-shop {
  background: #FFF7ED;
  border: 1px solid #FBD9A8;
  border-left: 4px solid var(--cat-open);
}
.info-box.infobox-shop h2 {
  color: #9A3412 !important;
  display: flex;
  align-items: center;
  gap: 7px;
}
.info-box.infobox-shop dt { color: #A16207; }
.info-box.infobox-shop dd { color: #334155; }
.infobox-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.infobox-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid #FBD9A8;
  color: #9A3412 !important;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background .15s;
}
.infobox-btn:hover { background: #FFF1E0; }

/* ---------- イベント情報ボックス (イベント) — パープル系 ---------- */
.info-box.infobox-event {
  background: var(--cat-event-bg);
  border: 1px solid #DDD0F7;
  border-left: 4px solid var(--cat-event);
}
.info-box.infobox-event h2 {
  color: #5B21B6 !important;
  display: flex;
  align-items: center;
  gap: 7px;
}
.info-box.infobox-event dt { color: #6D28D9; }
.info-box.infobox-event dd { color: #334155; }
.info-box.infobox-event .infobox-btn {
  border: 1px solid #DDD0F7;
  color: #5B21B6 !important;
}
.info-box.infobox-event .infobox-btn:hover { background: #EFE9FB; }

/* ---------- 記事末尾 CTA ---------- */
.cta-box {
  margin: 32px 32px 0;
  background: var(--accent-bg);
  border: 1px solid var(--up-border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.cta-box-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}
.cta-box-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-ink);
  margin-bottom: 6px;
}
.cta-box-text p {
  font-size: 13px;
  color: var(--up-muted);
  line-height: 1.75;
  margin: 0;
}
.cta-box-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: background .15s;
}
.cta-box-btn:hover { background: var(--accent-ink); }
@media (max-width: 640px) {
  .cta-box { margin: 24px 16px 0; }
  .cta-box-inner { flex-direction: column; align-items: flex-start; }
  .cta-box-btn { width: 100%; justify-content: center; }
}

/* ---------- 保存版まとめ ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.guide-card {
  display: flex;
  flex-direction: column;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 8px;
  padding: 12px 14px;
  text-decoration: none !important;
  color: var(--up-text) !important;
  transition: border-color .15s, background .15s;
}
.guide-card:hover { border-color: var(--up-teal); background: #f0fbf9; }
.guide-tag { font-size: 10px; font-weight: 700; color: var(--up-teal); margin-bottom: 5px; }
.guide-title { font-size: 13px; font-weight: 700; line-height: 1.5; }

/* ---------- カテゴリページ ハブヘッダー ---------- */
/* カテゴリ別アクセント（ローカル変数で着せ替え） */
.category-hub-header.cat-open    { --chub: var(--cat-open);    --chub-bg: var(--cat-open-bg); }
.category-hub-header.cat-news    { --chub: var(--cat-news);    --chub-bg: var(--cat-news-bg); }
.category-hub-header.cat-event   { --chub: var(--cat-event);   --chub-bg: var(--cat-event-bg); }
.category-hub-header.cat-gourmet { --chub: var(--cat-gourmet); --chub-bg: var(--cat-gourmet-bg); }
.category-hub-header.cat-edu     { --chub: var(--cat-edu);     --chub-bg: var(--cat-edu-bg); }
.category-hub-header.cat-sports  { --chub: var(--cat-sports);  --chub-bg: var(--cat-sports-bg); }
.category-hub-header.cat-notice  { --chub: var(--cat-notice);  --chub-bg: var(--cat-notice-bg); }

.category-hub-header {
  background: var(--chub-bg, var(--cat-news-bg));
  border: 1px solid var(--portal-border);
  border-left: 4px solid var(--chub, var(--portal-blue));
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 16px;
}
.category-hub-header .post-breadcrumb { margin-bottom: 12px; }
.chub-main { display: flex; align-items: center; gap: 14px; }
.chub-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--chub, var(--portal-blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}
.chub-text { min-width: 0; }
.chub-titlerow { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.category-hub-header h1 {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--chub, var(--portal-blue)) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
.chub-count { font-size: 12px; color: var(--up-text-3); font-weight: 600; }
.category-hub-desc {
  font-size: 13px;
  color: var(--up-text-2);
  line-height: 1.75;
  margin: 5px 0 0;
}

/* カテゴリ切替ピル */
.cat-pill-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: var(--r-md);
  padding: 11px 14px;
  margin-bottom: 24px;
}
.cat-pill-label { font-size: 11px; color: var(--up-text-3); margin-right: 2px; }
.cat-pill.cat-open    { --pc: var(--cat-open);    --pcb: var(--cat-open-bg); }
.cat-pill.cat-news    { --pc: var(--cat-news);    --pcb: var(--cat-news-bg); }
.cat-pill.cat-event   { --pc: var(--cat-event);   --pcb: var(--cat-event-bg); }
.cat-pill.cat-gourmet { --pc: var(--cat-gourmet); --pcb: var(--cat-gourmet-bg); }
.cat-pill.cat-edu     { --pc: var(--cat-edu);     --pcb: var(--cat-edu-bg); }
.cat-pill.cat-sports  { --pc: var(--cat-sports);  --pcb: var(--cat-sports-bg); }
.cat-pill.cat-notice  { --pc: var(--cat-notice);  --pcb: var(--cat-notice-bg); }
.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--pcb, var(--up-bg));
  color: var(--pc, var(--up-text)) !important;
  text-decoration: none !important;
  transition: filter .15s;
}
.cat-pill:hover { filter: brightness(0.96); }
.cat-pill.is-active {
  background: var(--pc, var(--portal-blue));
  color: #fff !important;
}

/* 一覧セクションラベル（新着 / これまで） */
.list-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  background: none;
  color: var(--chub-label, var(--cat-open));
  margin: 0 0 12px;
}
.list-section-label.cat-open    { --chub-label: var(--cat-open); }
.list-section-label.cat-news    { --chub-label: var(--cat-news); }
.list-section-label.cat-event   { --chub-label: var(--cat-event); }
.list-section-label.cat-gourmet { --chub-label: var(--cat-gourmet); }
.list-section-label.cat-edu     { --chub-label: var(--cat-edu); }
.list-section-label.cat-sports  { --chub-label: var(--cat-sports); }
.list-section-label.cat-notice  { --chub-label: var(--cat-notice); }
.list-section-label--sub {
  color: var(--up-text-2);
  border-top: 1px solid var(--up-border);
  padding-top: 16px;
  margin-top: 22px;
}

/* 新着 横長フィーチャーカード */
.list-feature-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 8px; }
.list-feature-card {
  display: flex;
  gap: 14px;
  background: var(--up-surface);
  border: 1px solid var(--up-border);
  border-left: 4px solid var(--up-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s;
}
.list-feature-card.cat-open    { border-left-color: var(--cat-open); }
.list-feature-card.cat-news    { border-left-color: var(--cat-news); }
.list-feature-card.cat-event   { border-left-color: var(--cat-event); }
.list-feature-card.cat-gourmet { border-left-color: var(--cat-gourmet); }
.list-feature-card.cat-edu     { border-left-color: var(--cat-edu); }
.list-feature-card.cat-sports  { border-left-color: var(--cat-sports); }
.list-feature-card.cat-notice  { border-left-color: var(--cat-notice); }
.list-feature-card:hover { box-shadow: 0 4px 14px rgba(15,42,68,.08); }
.lfc-thumb {
  width: 150px;
  align-self: stretch;
  min-height: 108px;
  background: #E2E8F0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
}
.lfc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lfc-no-img span { font-size: 30px; opacity: .55; }
.lfc-body { padding: 12px 14px 12px 2px; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.lfc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--up-text);
  line-height: 1.45;
  margin: 6px 0;
}
.lfc-desc {
  font-size: 11px;
  color: var(--up-text-2);
  line-height: 1.6;
  margin: 0 0 7px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lfc-date { font-size: 11px; color: var(--up-text-3); display: inline-flex; align-items: center; gap: 4px; margin-top: auto; }
@media (max-width: 520px) {
  .lfc-thumb { width: 108px; min-height: 92px; }
  .lfc-title { font-size: 14px; }
  .lfc-desc { display: none; }
}

/* カテゴリ色ページネーション */
.home-pagination.cat-open    .page-btn { background: var(--cat-open); }
.home-pagination.cat-news    .page-btn { background: var(--cat-news); }
.home-pagination.cat-event   .page-btn { background: var(--cat-event); }
.home-pagination.cat-gourmet .page-btn { background: var(--cat-gourmet); }
.home-pagination.cat-edu     .page-btn { background: var(--cat-edu); }
.home-pagination.cat-sports  .page-btn { background: var(--cat-sports); }
.home-pagination.cat-notice  .page-btn { background: var(--cat-notice); }
.home-pagination[class*="cat-"] .page-btn:hover { filter: brightness(0.92); }

/* ---------- PR・アフィリエイト関連 ---------- */
.pr-note {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--up-muted);
  border: 1px solid var(--up-border);
  border-radius: 3px;
  padding: 1px 5px;
  margin-right: 6px;
  vertical-align: middle;
}
.affiliate-box {
  background: #fffbf0;
  border: 1px solid #f0d080;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 20px 0;
}
.recommend-card {
  display: flex;
  gap: 12px;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 8px;
  padding: 12px 14px;
  text-decoration: none !important;
  color: var(--up-text) !important;
  margin-bottom: 10px;
  transition: border-color .15s;
}
.recommend-card:hover { border-color: var(--up-teal); }
.rec-thumb { width: 80px; height: 60px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: #d8e8f0; }
.rec-body { flex: 1; min-width: 0; }
.rec-title { font-size: 13px; font-weight: 700; line-height: 1.5; }
.rec-desc { font-size: 11px; color: var(--up-muted); margin-top: 4px; }

/* ---------- お問い合わせ イントロ ---------- */
.contact-intro {
  background: var(--cat-news-bg);
  border: 1px solid var(--portal-border);
  border-left: 4px solid var(--portal-blue);
  border-radius: var(--r-md);
  padding: 22px 26px;
  margin-bottom: 28px;
}
.contact-intro h2 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--portal-blue) !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}
/* ---------- サイドバー検索 / Pagefind UI ---------- */
.widget-body { padding: 12px 14px; }
#sidebar-search .pagefind-ui__search-input {
  width: 100%;
  border: 1.5px solid var(--up-border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-family: inherit;
  color: var(--up-text);
  background: #fff;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
#sidebar-search .pagefind-ui__search-input:focus { border-color: var(--up-sea); }
#sidebar-search .pagefind-ui__search-clear { display: none; }
#sidebar-search .pagefind-ui__form::before { display: none; }
#sidebar-search .pagefind-ui__results-area { margin-top: 8px; }
#sidebar-search .pagefind-ui__result {
  border-bottom: 1px solid var(--up-border);
  padding: 8px 0;
  font-size: 12px;
}
#sidebar-search .pagefind-ui__result-title a {
  color: var(--up-sea) !important;
  font-weight: 600;
  line-height: 1.5;
}
#sidebar-search .pagefind-ui__result-excerpt { font-size: 11px; color: var(--up-muted); margin-top: 3px; }
#sidebar-search .pagefind-ui__result-image { display: none; }
#sidebar-search .pagefind-ui__message { font-size: 12px; color: var(--up-muted); padding: 6px 0; }
#sidebar-search .pagefind-ui__suppressed { display: none; }

/* ---------- カレンダー ---------- */
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.cal-month { font-size: 13px; font-weight: 700; color: var(--up-sea); }
.cal-nav {
  background: none;
  border: 1.5px solid var(--up-border);
  border-radius: 5px;
  width: 24px; height: 24px;
  cursor: pointer;
  font-size: 13px;
  color: var(--up-muted);
  line-height: 1;
  transition: background .15s;
}
.cal-nav:hover { background: var(--up-bg); color: var(--up-sea); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.cal-dow {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--up-muted);
  padding: 3px 0;
}
.cal-sun { color: #e74c3c; }
.cal-sat { color: #2980b9; }
.cal-day {
  text-align: center;
  font-size: 12px;
  padding: 5px 1px;
  border-radius: 4px;
  line-height: 1.2;
  min-height: 24px;
  cursor: default;
}
.cal-today {
  background: var(--up-sea);
  color: #fff !important;
  font-weight: 700;
  border-radius: 4px;
}
.cal-has-post {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  cursor: pointer;
}
.cal-has-post:hover { color: var(--up-sea); }
.cal-event {
  background: #fff0d6;
  color: #b85c00 !important;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}
.cal-event:hover { background: #ffd9a0; }
.cal-legend {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--up-muted);
  align-items: center;
}
.cal-legend-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  font-size: 12px;
  color: var(--up-text);
}
.cal-month-link {
  color: var(--up-sea);
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid var(--up-sea);
  padding-bottom: 1px;
  transition: opacity .15s;
}
.cal-month-link:hover { opacity: .7; }
.cal-legend-event {
  display: inline-block;
  width: 12px; height: 12px;
  background: #fff0d6;
  border: 1.5px solid #b85c00;
  border-radius: 3px;
  vertical-align: middle;
}

.contact-intro p {
  font-size: 14px;
  color: var(--up-muted);
  line-height: 1.85;
  margin: 0 0 16px;
}
.contact-type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-type-list li {
  display: inline-flex;
  align-items: center;
  padding: 0;
}
.contact-type-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #fff;
  border: 1.5px solid #b8d9f0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--up-sea);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .1s;
  font-family: inherit;
}
.contact-type-btn:hover {
  background: #e8f4fb;
  border-color: var(--up-sea);
  transform: translateY(-1px);
}
.contact-type-btn--active {
  background: var(--up-sea);
  border-color: var(--up-sea);
  color: #fff;
}
/* 将来: .ad-section { ... } 広告・PR掲載依頼セクション */

/* ===================================================
   旅行ガイド (.tg-* プレフィックス)
   =================================================== */

/* ---------- ヒーロー ---------- */
/* ヒーロー：モックアップF準拠（淡いコーラル背景＋濃いコーラル文字） */
.tg-hero {
  background: #FCEEE9;
  border: 0.5px solid #F6D8CD;
  border-radius: 16px;
  padding: 40px 34px 34px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.tg-hero::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(224,85,53,.07) 0%, transparent 65%);
  pointer-events: none;
}
.tg-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #C2421F;
  margin-bottom: 10px;
}
.tg-hero h1 {
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
  color: #7A2A14;
  margin: 0 0 12px;
}
.tg-hero-lead {
  font-size: 0.92rem;
  color: #8A4A38;
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 18px;
}
/* 言語切替 */
.tg-lang-switch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tg-lang-label { font-size: 11px; color: #B5705E; margin-right: 2px; }
.tg-lang-pill {
  font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 8px;
  text-decoration: none; background: #fff; border: 0.5px solid #F0C4B6; color: #C2421F;
}
.tg-lang-pill.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
a.tg-lang-pill:hover { background: #FBE3DA; }
a.tg-lang-pill.is-active:hover { background: var(--accent); }
/* 未対応言語（簡体中文・한국어）：リンクなし・操作不可・準備中表示なし */
.tg-lang-pill--disabled { cursor: default; }
.tg-lang-pill--disabled:hover { background: #fff; }

/* ---------- F: 旅の目的から探す（6カード） ---------- */
.tg-purpose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.tg-purpose-card {
  display: block;
  background: #fff;
  border: 0.5px solid var(--up-border);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 12px 12px;
  padding: 15px 13px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.tg-purpose-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px -12px rgba(224,85,53,.35); }
.tg-purpose-card > i { font-size: 26px; color: var(--accent); }
.tg-purpose-title { font-size: 14px; font-weight: 700; color: var(--up-text); margin: 8px 0 4px; }
.tg-purpose-desc { font-size: 11px; color: var(--up-muted); line-height: 1.5; }
.tg-purpose-card--feature {
  background: var(--accent-bg);
  border: 0.5px solid #F6D8CD;
  border-radius: 12px;
}
.tg-purpose-card--feature .tg-purpose-title { color: var(--accent-ink); }

/* ---------- F: ホテルを目的で選ぶ（3カード） ---------- */
.tg-section-sub { font-size: 12px; color: var(--up-muted); margin: 0 0 13px; }
.tg-hotelneed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}
.tg-hotelneed-card {
  background: #fff;
  border: 0.5px solid var(--up-border);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tg-hotelneed-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px -12px rgba(224,85,53,.35); border-color: var(--accent); }
.tg-hotelneed-card > i { font-size: 28px; color: var(--accent); }
.tg-hotelneed-title { font-size: 13px; font-weight: 700; color: var(--up-text); margin: 8px 0 4px; }
.tg-hotelneed-desc { font-size: 11px; color: var(--up-muted); line-height: 1.5; }

/* ---------- F: 注目のホテル（3カード） ---------- */
.tg-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}
.tg-featured-card {
  background: #fff;
  border: 0.5px solid var(--up-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform .2s, box-shadow .2s;
}
.tg-featured-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -12px rgba(0,0,0,.2); }
.tg-featured-band {
  height: 84px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.tg-featured-band > i { font-size: 24px; opacity: .5; }
.tg-featured-band--official { background: #FBDED4; color: var(--accent); }
.tg-featured-band--budget { background: #E8EDF2; color: var(--up-text-3); }
.tg-featured-band--disney  { background: #F0E2F5; color: #7B1FA2; }
.tg-featured-band--partner { background: #FBEFD6; color: #B07415; }
.tg-featured-band--other   { background: #E1ECF4; color: #1A5C8A; }
.tg-featured-badge {
  position: absolute; top: 7px; left: 7px;
  color: #fff; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 4px;
}
.tg-featured-badge--official { background: var(--accent); }
.tg-featured-badge--budget { background: var(--up-text-3); }
.tg-featured-badge--disney  { background: #7B1FA2; }
.tg-featured-badge--partner { background: #C8841A; }
.tg-featured-badge--other   { background: #1A5C8A; }
.tg-featured-body { padding: 11px; }
.tg-featured-name { font-size: 12px; font-weight: 700; color: var(--up-text); line-height: 1.4; }
.tg-featured-meta { font-size: 10px; color: var(--up-text-3); margin: 5px 0 6px; }
.tg-featured-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tg-featured-tags > span {
  background: var(--accent-bg); color: var(--accent-ink);
  font-size: 9px; padding: 2px 6px; border-radius: 4px;
}
.tg-featured-tags--budget > span { background: #F1F5F9; color: #475569; }

/* ---------- テーマカードグリッド ---------- */
.tg-theme-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 14px;
  margin-bottom: 36px;
}
.tg-theme-card {
  display: block;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tg-theme-card:not(.tg-soon):hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px -12px rgba(26,92,138,.3);
  border-color: var(--accent);
}
.tg-theme-card.tg-soon { pointer-events: none; opacity: .58; }
.tg-card-band {
  height: 88px;
  display: flex;
  align-items: flex-end;
  padding: 12px 16px;
}
.tg-theme-card:first-child .tg-card-band { height: 130px; }
.tg-card-band-hotels   { background: linear-gradient(135deg, #0d2235, var(--up-sea)); }
.tg-card-band-tourism  { background: linear-gradient(135deg, #1a7a4a, #2a9a5a); }
.tg-card-band-gourmet  { background: linear-gradient(135deg, #c05a10, #d4752a); }
.tg-card-band-access   { background: linear-gradient(135deg, #1e7a9a, #2a9ab4); }
.tg-card-band-taxi     { background: linear-gradient(135deg, #5a4a8a, #7a5aa8); }
.tg-card-tag {
  background: rgba(255,255,255,.9);
  color: var(--up-sea);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.tg-card-body { padding: 14px 16px 16px; }
.tg-card-body h2, .tg-card-body h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 6px;
  padding: 0; border: none; background: none;
}
.tg-theme-card:first-child .tg-card-body h2 { font-size: 1.1rem; }
.tg-card-body p { font-size: 0.83rem; color: var(--up-muted); line-height: 1.6; margin: 0 0 6px; }
.tg-card-go { font-size: 0.8rem; font-weight: 700; color: var(--up-coral); }
.tg-cards-mini { display: grid; gap: 14px; }

/* ---------- 地元メディアの強み ---------- */
.tg-why {
  background: var(--up-bg);
  border-radius: 12px;
  padding: 24px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.tg-why-item h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 6px;
  padding: 0; border: none; background: none;
  display: flex;
  align-items: center;
  gap: 7px;
}
.tg-why-icon {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
}
.tg-why-item p { font-size: 0.82rem; color: var(--up-muted); line-height: 1.65; margin: 0; }

/* ---------- クロスリンク ---------- */
.tg-cross-link {
  background: var(--up-sea);
  border-radius: 12px;
  color: #fff;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tg-cross-link h3 { font-size: 0.95rem; font-weight: 700; margin: 0 0 4px; color: #fff; }
.tg-cross-link p { font-size: 0.83rem; color: #aac8e0; margin: 0; }
.tg-cross-btn {
  background: #fff;
  color: var(--up-sea) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.tg-cross-btn:hover { background: var(--up-coral); color: #fff !important; }
/* 本文用 h3 ルール（.post-single .post-content h3）がクロスリンクの白見出しを暗色＋枠線で上書きしてしまうため、詳細度を上げて打ち消す */
.post-single .post-content .tg-cross-link h3 {
  color: #fff;
  border-left: none;
  padding-left: 0;
}
.post-single .post-content .tg-cross-link p { color: #aac8e0; }

/* ---------- ホテルハブ ヒーロー（コーラル） ---------- */
.tg-hotels-hero {
  background: var(--accent-bg);
  border: 1px solid #F6D8CD;
  border-radius: 12px;
  padding: 22px 26px;
  margin-bottom: 28px;
}
.tg-hotels-eyebrows { display: flex; gap: 6px; margin-bottom: 11px; flex-wrap: wrap; }
.tg-hotels-eyebrow {
  font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 6px;
  background: #fff; border: 0.5px solid #F0C4B6; color: var(--accent-ink);
}
.tg-hotels-eyebrow.is-solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.tg-hotels-title {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  color: var(--accent-ink) !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.45 !important;
}
.tg-hotels-lead { font-size: 0.88rem; color: #8A4A38; line-height: 1.8; margin: 0 0 16px; max-width: 540px; }
.tg-hotels-lead strong { color: var(--accent-ink); }
.tg-hotels-stats { display: flex; gap: 22px; flex-wrap: wrap; }
.tg-hotels-stat { display: flex; align-items: baseline; gap: 5px; }
.tg-hotels-stat-num { font-size: 1.4rem; font-weight: 800; color: var(--accent-ink); line-height: 1; }
.tg-hotels-stat-label { font-size: 11px; color: #8A4A38; }

/* ---------- シーン別カードグリッド ---------- */
.tg-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.tg-scene-card {
  display: flex;
  flex-direction: column;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tg-scene-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -10px rgba(26,92,138,.3);
  border-color: var(--accent);
}
.tg-scene-band {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.tg-scene-band-kids   { background: linear-gradient(135deg, #1a5c8a, #2a8a9a); }
.tg-scene-band-budget { background: linear-gradient(135deg, #1a7a3a, #0e9e8e); }
.tg-scene-band-access { background: linear-gradient(135deg, #7a4a10, #e8593a); }
.tg-scene-band-rainy  { background: linear-gradient(135deg, #2d4a7a, #4a7ab0); }
.tg-scene-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.tg-scene-body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--up-sea);
  margin: 0 0 6px;
  padding: 0; border: none; background: none;
}
.tg-scene-body p { font-size: 0.82rem; color: var(--up-muted); line-height: 1.6; margin: 0 0 6px; }
.tg-scene-go { font-size: 0.8rem; font-weight: 700; color: var(--up-coral); margin-top: auto; }

/* ---------- エリアカードグリッド ---------- */
.tg-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.tg-area-card {
  background: var(--up-card);
  border: 0.5px solid var(--up-border);
  border-radius: 11px;
  padding: 13px 12px;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
  /* button reset */
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.tg-area-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -12px rgba(224,85,53,.35); border-color: var(--accent); }
.tg-area-card.is-active {
  border-color: var(--accent);
  background: var(--accent-bg);
  box-shadow: 0 0 0 1.5px var(--accent) inset;
}
.tg-area-name {
  font-size: 0.85rem; font-weight: 700; color: var(--up-text); margin: 0 0 7px;
  display: flex; align-items: center; gap: 6px;
}
.tg-area-name i { font-size: 17px; color: var(--accent); }
.tg-area-desc { font-size: 0.66rem; color: var(--up-muted); margin: 0 0 8px; line-height: 1.5; }
.tg-area-count { font-size: 1.15rem; font-weight: 800; color: var(--accent-ink); margin: 0; line-height: 1; }
.tg-area-count span { font-size: 0.66rem; font-weight: 500; color: var(--up-text-3); }

/* ---------- 価格帯ピラミッド ---------- */
.tg-pyramid-wrap { margin-bottom: 28px; }
.tg-pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  max-width: 600px;
  margin: 0 auto;
}
.tg-pyr-row { display: flex; justify-content: center; width: 100%; }
.tg-pyr-row:nth-child(1) .tg-pyr-bar { width: 40%;  background: #C2421F; }
.tg-pyr-row:nth-child(2) .tg-pyr-bar { width: 52%;  background: #E05535; }
.tg-pyr-row:nth-child(3) .tg-pyr-bar { width: 64%;  background: #E96B4D; }
.tg-pyr-row:nth-child(4) .tg-pyr-bar { width: 76%;  background: #F08A6C; }
.tg-pyr-row:nth-child(5) .tg-pyr-bar { width: 88%;  background: #F5A98E; color: #7A2A14; }
.tg-pyr-row:nth-child(6) .tg-pyr-bar { width: 100%; background: #FAD0C0; color: #7A2A14; }
.tg-pyr-bar {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  min-height: 38px;
  /* button reset */
  border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: filter .15s, box-shadow .15s;
}
.tg-pyr-bar:hover { filter: brightness(1.06); }
.tg-pyr-bar.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--accent-ink); }
.tg-pyr-price { margin-left: auto; font-size: 0.78rem; font-weight: 600; padding-left: 10px; }

/* ---------- 施設一覧テーブル ---------- */
/* 角丸・影・クリップはスクロールするラッパー側に付ける。
   表自体に overflow:hidden を付けると min-width で固定された箱より右の内容が
   クリップされ、右スクロールしても価格・特徴列が見えなくなるため付けない。 */
.tg-hotel-table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 28px;
  border-radius: 10px;
  box-shadow: 0 1px 6px rgba(0,0,0,.07);
}
.tg-hotel-table {
  width: 100%;
  /* モバイルで列が潰れず横スクロールできるよう最小幅を確保（5列：施設名/エリア/区分/価格/特徴） */
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: var(--up-card);
  /* overflow を visible に固定。auto/hidden だと表自身がスクロール箱になり、
     min-width で固定された箱より右（価格・特徴列）がラッパーから辿れなくなる */
  overflow: visible;
}
.tg-hotel-table thead th {
  background: var(--accent);
  color: #fff;
  padding: 10px 13px;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.tg-hotel-table tbody tr { border-bottom: 1px solid var(--up-border); }
.tg-hotel-table tbody tr:last-child { border-bottom: none; }
.tg-hotel-table tbody tr:hover { background: var(--accent-bg); }
.tg-hotel-table tbody td { padding: 9px 13px; vertical-align: middle; }
.tg-hotel-table tbody td a { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.tg-hotel-table tbody td a:hover { text-decoration: underline; }
.tg-row-nameonly { opacity: .7; }
.tg-nameonly-note { font-size: 0.75rem; color: var(--up-muted); }
.tg-area-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  border-radius: 3px;
  padding: 1px 6px;
  margin-right: 3px;
}

/* ---------- 施設一覧 区分フィルタ ---------- */
.tg-hotel-filter { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 13px; }
.tg-hotel-chip {
  font-family: inherit;
  font-size: 11px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 0.5px solid #F0C4B6; color: var(--accent-ink);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.tg-hotel-chip:hover { background: #FBE3DA; }
.tg-hotel-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }

/* ---------- 旅行ガイド 横断ナビ ---------- */
.tg-section-nav {
  margin-top: 40px;
  padding: 20px 24px;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 12px;
}
.tg-snav-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  margin-bottom: 14px;
}
.tg-snav-group { flex: 1; min-width: 130px; }
.tg-snav-label {
  display: block;
  font-size: 0.75em;
  font-weight: 700;
  color: var(--up-muted);
  margin-bottom: 8px;
}
.tg-snav-links { display: flex; flex-direction: column; gap: 5px; }
.tg-snav-links a { font-size: 0.88em; color: var(--up-teal); text-decoration: none; }
.tg-snav-links a:hover { text-decoration: underline; }
.tg-snav-links a.tg-snav-cur { font-weight: 700; color: var(--content); pointer-events: none; }
.tg-snav-top {
  display: inline-block;
  font-size: 0.82em;
  color: var(--up-muted);
  border-top: 1px solid var(--up-border);
  padding-top: 10px;
  width: 100%;
  text-decoration: none;
}
.tg-snav-top:hover { text-decoration: underline; }

/* ---------- 注意書きボックス ---------- */
.tg-notice-warn {
  background: #fff8e1;
  border-left: 4px solid #f0a500;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #5a4800;
}
.tg-notice-info {
  background: #f4f7fb;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 0.85em;
  color: #5e6f7e;
}

/* ---------- ハブ グループラベル ---------- */
.tg-group-label {
  font-size: 0.75em;
  font-weight: 700;
  color: var(--up-muted);
  margin: 0 0 8px 2px;
  letter-spacing: 0.03em;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .tg-theme-grid { grid-template-columns: 1fr; }
  .tg-why { grid-template-columns: 1fr; }
  .tg-area-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tg-hero { padding: 28px 20px 24px; }
  .tg-hero h1 { font-size: 1.4rem; }
  .tg-scene-grid { grid-template-columns: 1fr; }
  .tg-purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .tg-hotelneed-grid { grid-template-columns: 1fr; }
  .tg-featured-grid { grid-template-columns: 1fr; }
  .tg-cross-link { flex-direction: column; align-items: flex-start; }
  .tg-cross-btn { width: 100%; text-align: center; justify-content: center; }
  .tg-pyr-row:nth-child(1) .tg-pyr-bar { width: 40%; font-size: 0.72rem; }
  .tg-pyr-row:nth-child(2) .tg-pyr-bar { width: 56%; font-size: 0.72rem; }
  .tg-pyr-row:nth-child(3) .tg-pyr-bar { width: 72%; font-size: 0.72rem; }
  .tg-pyr-row:nth-child(4) .tg-pyr-bar { width: 86%; font-size: 0.72rem; }
  .tg-pyr-row:nth-child(5) .tg-pyr-bar { font-size: 0.72rem; }
}
@media (max-width: 480px) {
  .tg-area-grid { grid-template-columns: 1fr 1fr; }
}

/* ===================================================
   機械翻訳バナー (mt-banner) — /en/ ページ共通
   =================================================== */
.mt-banner {
  background: #e8f4fd;
  border-left: 4px solid #1a5c8a;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 0 0 24px;
  font-size: 0.84em;
  color: #1e3a56;
  line-height: 1.6;
}
.mt-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.mt-banner-icon {
  font-size: 1.1em;
  flex-shrink: 0;
  margin-top: 1px;
}
.mt-banner-text { flex: 1; }
.mt-banner-link {
  display: inline-block;
  margin-left: 8px;
  color: #1a5c8a;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.mt-banner-link:hover { text-decoration: underline; }

/* ===================================================
   便利ガイドページ (life-guide) スタイル
   =================================================== */

/* ── ヒーロー ── */
.lg-hero {
  display: grid;
  grid-template-columns: 1fr 268px;
  gap: 16px;
  margin-bottom: 20px;
  align-items: stretch;
}
.lg-hero-main {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-ink) 100%);
  border-radius: 12px;
  padding: 26px 28px;
}
.lg-hero-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 10px;
}
.lg-hero-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
  line-height: 1.35;
}
.lg-hero-lead {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,.88);
  margin: 0 0 18px;
}
.lg-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lg-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: #fff;
  color: var(--portal-blue) !important;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .15s;
}
.lg-btn-primary:hover { background: var(--accent-bg); }
.lg-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff !important;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .15s;
}
.lg-btn-secondary:hover { background: rgba(255,255,255,.28); }

/* 急いで確認したい方へ */
.lg-hero-side { display: flex; flex-direction: column; }
.lg-urgent {
  flex: 1;
  background: var(--up-card);
  border: 1.5px solid #f5c0b0;
  border-radius: 12px;
  overflow: hidden;
}
.lg-urgent-title {
  background: var(--up-coral);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 14px;
  margin: 0;
}
.lg-urgent-list {
  list-style: none;
  padding: 4px 0;
  margin: 0;
}
.lg-urgent-list li { border-bottom: 1px solid var(--up-border); }
.lg-urgent-list li:last-child { border-bottom: none; }
.lg-urgent-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--up-text) !important;
  text-decoration: none !important;
  transition: background .15s;
  line-height: 1.5;
}
.lg-urgent-list a:hover { background: var(--up-bg); color: var(--portal-blue) !important; }
.lg-urgent-arrow { margin-left: auto; color: var(--up-muted); flex-shrink: 0; font-size: 16px; }

/* ── ショートカットタグ ── */
.lg-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  background: var(--up-card);
  border-radius: 10px;
  padding: 12px 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.lg-shortcut-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  background: var(--up-bg);
  border: 1.5px solid var(--up-border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent) !important;
  text-decoration: none !important;
  transition: background .15s, border-color .15s, color .15s;
}
.lg-shortcut-tag:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}

/* ── よく見られるガイド（大カード） ── */
.lg-popular-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.lg-popular-card {
  display: flex;
  flex-direction: column;
  background: var(--up-card);
  border: 1.5px solid var(--up-border);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none !important;
  color: var(--up-text) !important;
  transition: border-color .15s, box-shadow .15s, transform .18s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.lg-popular-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.lg-popular-icon { font-size: 28px; margin-bottom: 10px; line-height: 1; }
.lg-popular-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--portal-blue);
  line-height: 1.5;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  flex-wrap: wrap;
}
.lg-popular-desc { font-size: 12px; color: var(--up-muted); line-height: 1.7; flex: 1; }
.lg-popular-meta {
  font-size: 11px;
  color: var(--up-muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* 準備中バッジ */
.lg-wip-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #aab4c0;
  border-radius: 3px;
  padding: 1px 5px;
  vertical-align: middle;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── 目的から探す ── */
.lg-purpose-block { margin-bottom: 20px; }
.lg-purpose-heading {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 10px;
  padding: 7px 12px;
  background: var(--portal-light-blue);
  border-left: 3px solid var(--portal-blue);
  border-radius: 0 6px 6px 0;
}
.lg-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.lg-guide-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 10px;
  padding: 13px 14px;
  text-decoration: none !important;
  color: var(--up-text) !important;
  transition: border-color .15s, background .15s;
}
.lg-guide-card:hover { border-color: var(--accent); background: var(--accent-bg); }
.lg-guide-card-icon { font-size: 22px; flex-shrink: 0; line-height: 1; margin-top: 1px; }
.lg-guide-card-body { flex: 1; min-width: 0; }
.lg-guide-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--portal-blue);
  line-height: 1.45;
  margin-bottom: 4px;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  flex-wrap: wrap;
}
.lg-guide-card-desc { font-size: 11px; color: var(--up-muted); line-height: 1.65; }

/* ════════ 便利ガイド ハブ（モックアップD・全幅） ════════ */
/* 1. ティール・ヒーロー */
.lg-hub-hero {
  background: var(--accent-bg);
  border: 1px solid #CFEDE6;
  border-radius: var(--r-md);
  padding: 26px 24px 22px;
  margin-bottom: 26px;
}
.lg-hub-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: #0B7A6C;
  letter-spacing: 1px;
  margin: 0 0 8px;
}
.lg-hub-title {
  font-size: 25px !important;
  font-weight: 800 !important;
  color: var(--accent-ink) !important;
  line-height: 1.45 !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
  border: none !important;
}
.lg-hub-lead {
  font-size: 13px;
  color: #3F6660;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 0 16px;
}
.lg-urgent-box {
  background: #fff;
  border: 1px solid #CFEDE6;
  border-radius: 12px;
  padding: 13px 15px;
}
.lg-urgent-box-title {
  font-size: 11px;
  font-weight: 700;
  color: #C2410C;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lg-urgent-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lg-urgent-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: filter .15s;
}
.lg-urgent-chip:hover { filter: brightness(0.96); }
.lg-tone-danger  { background: #FEF2F2; color: #B91C1C !important; }
.lg-tone-warning { background: #FFF7ED; color: #C2410C !important; }
.lg-tone-success { background: #F0FDF4; color: #047857 !important; }

/* 2/3. セクション見出し */
.lg-hub-section { margin-bottom: 26px; }
.lg-hub-h2 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--up-text) !important;
  margin: 0 0 13px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lg-hub-bar {
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* 2. こんなときに（アイコンカード 3×2） */
.lg-sit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}
.lg-sit-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 11px;
  padding: 13px;
  text-decoration: none !important;
  transition: border-color .15s, background .15s;
}
.lg-sit-card i { font-size: 22px; color: var(--accent); flex-shrink: 0; }
.lg-sit-card span { font-size: 12px; font-weight: 600; color: var(--up-text-2); line-height: 1.4; }
.lg-sit-card:hover { border-color: var(--accent); background: var(--accent-bg); }

/* 3. カテゴリから探す */
.lg-cat-block { margin-bottom: 18px; }
.lg-cat-heading {
  font-size: 13px;
  font-weight: 700;
  color: #0B7A6C;
  margin: 0 0 9px;
  padding: 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lg-cat-heading i { font-size: 16px; }
.lg-cat-block .lg-guide-card { border-left: 4px solid var(--accent); }
.lg-cat-block .lg-guide-card-title { color: var(--up-text); }

/* 4. 最近の更新（グレー帯） */
.lg-recent-band {
  background: var(--up-bg);
  border: 1px solid var(--up-border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 8px;
}
.lg-recent-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--up-text-2) !important;
  margin: 0 0 11px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  display: flex;
  align-items: center;
  gap: 7px;
}
.lg-recent-title i { color: var(--accent); font-size: 15px; }
.lg-recent-list { display: flex; flex-direction: column; gap: 4px; }
.lg-recent-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  padding: 5px 0;
  text-decoration: none !important;
  transition: color .15s;
}
.lg-recent-date { color: var(--up-text-3); font-size: 11px; flex-shrink: 0; min-width: 48px; }
.lg-recent-text { color: var(--up-text-2); }
.lg-recent-item:hover .lg-recent-text { color: var(--accent); }

@media (max-width: 700px) {
  .lg-sit-grid { grid-template-columns: repeat(2, 1fr); }
  .lg-hub-title { font-size: 21px !important; }
}
@media (max-width: 520px) {
  .lg-sit-grid { grid-template-columns: 1fr; }
  .lg-guide-grid { grid-template-columns: 1fr; }
}

/* ── こんなときに見る ── */
.lg-situation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-bottom: 28px;
}
.lg-situation-card {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 12px;
  font-weight: 600;
  color: var(--up-text) !important;
  text-decoration: none !important;
  transition: background .15s, border-color .15s, color .15s;
  line-height: 1.45;
}
.lg-situation-card::before {
  content: "→";
  color: var(--up-teal);
  font-weight: 700;
  flex-shrink: 0;
}
.lg-situation-card:hover {
  background: #e8f4fb;
  border-color: var(--portal-blue);
  color: var(--portal-blue) !important;
}

/* ── 更新されたガイド ── */
.lg-updates-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  background: var(--up-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.lg-updates-list li { border-bottom: 1px solid var(--up-border); }
.lg-updates-list li:last-child { border-bottom: none; }
.lg-update-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--up-text) !important;
  text-decoration: none !important;
  transition: background .15s;
}
.lg-update-item:hover { background: var(--up-bg); }
.lg-update-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--up-teal);
  white-space: nowrap;
  flex-shrink: 0;
  background: #e8f8f5;
  padding: 2px 8px;
  border-radius: 20px;
}
.lg-update-text { flex: 1; }
.lg-update-arrow { color: var(--up-muted); flex-shrink: 0; font-size: 16px; }

/* ── トップページ 便利ガイド導線バナー ── */
.lg-home-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--cat-news-bg);
  border: 1.5px solid var(--portal-border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin: 28px 0;
}
.lg-home-banner-body { flex: 1; min-width: 0; }
.lg-home-banner-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--portal-blue);
  margin: 0 0 5px;
}
.lg-home-banner-desc {
  font-size: 12px;
  color: var(--up-muted);
  line-height: 1.7;
  margin: 0 0 10px;
}
.lg-home-banner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lg-home-banner-chips a {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: #fff;
  border: 1px solid var(--portal-border);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--portal-blue) !important;
  text-decoration: none !important;
  transition: background .15s, color .15s, border-color .15s;
}
.lg-home-banner-chips a:hover {
  background: var(--portal-blue);
  border-color: var(--portal-blue);
  color: #fff !important;
}
.lg-home-banner-cta {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 10px 20px;
  background: var(--portal-blue);
  color: #fff !important;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  flex-shrink: 0;
  transition: background .15s;
}
.lg-home-banner-cta:hover { background: #155079; }

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .lg-hero { grid-template-columns: 1fr; }
  .lg-hero-side { margin-top: 0; }
}
@media (max-width: 768px) {
  .lg-popular-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lg-popular-grid { grid-template-columns: 1fr; }
  .lg-guide-grid { grid-template-columns: 1fr; }
  .lg-situation-grid { grid-template-columns: repeat(2, 1fr); }
  .lg-home-banner { flex-direction: column; align-items: flex-start; }
  .lg-home-banner-cta { width: 100%; justify-content: center; }
  .lg-hero-title { font-size: 18px; }
}
@media (max-width: 480px) {
  .lg-situation-grid { grid-template-columns: 1fr; }
}

/* ---------- タグラベル (記事フッター) ---------- */
.post-tag-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--up-muted);
  margin-right: 4px;
}

/* ══════════════════════════════════════════
   Step 4-3: トップページ専用コンポーネント
   ══════════════════════════════════════════ */

/* ── ファーストビュー クイックリンク ── */
.portal-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.portal-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--up-border);
  border-radius: var(--r-pill);
  color: var(--up-text-2) !important;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.portal-quick-link:hover { background: var(--up-navy); border-color: var(--up-navy); color: #fff !important; }

/* ── 目的別ナビ ── */
.top-purpose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.top-purpose-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 14px 6px;
  background: var(--up-surface);
  border: 0.5px solid var(--up-border);
  border-radius: var(--r-md);
  text-decoration: none !important;
  color: var(--up-text-2) !important;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: border-color .15s, color .15s, box-shadow .15s;
}
.top-purpose-item:hover {
  border-color: var(--up-teal);
  color: var(--up-teal) !important;
  box-shadow: var(--up-shadow-sm);
}
.top-purpose-icon { font-size: 22px; line-height: 1; }

/* ── 保存版ガイドカード ── */
.top-guide-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.top-guide-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 22px 20px 20px;
  background: var(--up-surface);
  border: 0.5px solid var(--up-border);
  border-radius: var(--r-lg);
  text-decoration: none !important;
  color: var(--up-text-1) !important;
  transition: border-color .15s, box-shadow .15s;
}
.top-guide-card:hover { box-shadow: var(--up-shadow-md); }

/* 3つの入口: 柱ごとの上アクセント */
.top-guide-cards--3 { grid-template-columns: repeat(3, 1fr); }
.top-guide-card.tg-topics { border-top: 3px solid #1A5C8A; }
.top-guide-card.tg-life   { border-top: 3px solid #0D9A88; }
.top-guide-card.tg-travel { border-top: 3px solid #E05535; }
.top-guide-card.tg-topics:hover { border-color: #1A5C8A; }
.top-guide-card.tg-life:hover   { border-color: #0D9A88; }
.top-guide-card.tg-travel:hover { border-color: #E05535; }
.top-guide-card-icon { font-size: 34px; line-height: 1; margin-bottom: 14px; }
.top-guide-card-title { font-size: 15px; font-weight: 700; color: var(--up-text-1); line-height: 1.4; margin-bottom: 6px; }
.top-guide-card-desc { font-size: 12px; color: var(--up-text-3); line-height: 1.6; }

/* ── エリア別導線 ── */
.top-area-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.top-area-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 6px;
  background: var(--up-surface);
  border: 0.5px solid var(--up-border);
  border-radius: var(--r-md);
  text-decoration: none !important;
  color: var(--up-text-2) !important;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  transition: border-color .15s, color .15s;
}
.top-area-item:hover { border-color: var(--up-navy); color: var(--up-navy) !important; }
.top-area-item .area-emoji { font-size: 18px; line-height: 1; }

/* ── タブナビ ── */
.top-tab-nav {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid var(--up-border);
  margin: 32px 0 24px;
  background: #fff;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: var(--up-shadow-sm);
}
.top-tab-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--up-text-3);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.top-tab-item i { font-size: 17px; }
.top-tab-item:hover { color: var(--up-navy); }
.top-tab-active { font-weight: 700; color: var(--up-navy); border-bottom-color: var(--up-navy); }

/* ── 情報提供CTA ── */
.top-info-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--up-surface-2);
  border: 0.5px solid var(--up-border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin-bottom: 24px;
}
.top-info-cta-text { flex: 1; min-width: 0; }
.top-info-cta-title { font-size: 14px; font-weight: 700; color: var(--up-text-1); margin: 0 0 4px; }
.top-info-cta-desc { font-size: 12px; color: var(--up-text-3); margin: 0; line-height: 1.6; }
.top-info-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--up-navy);
  color: #fff !important;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .15s;
}
.top-info-cta-btn:hover { background: #144D76; }

/* ---------- レスポンシブ補足 ---------- */
@media (max-width: 900px) {
  .portal-hero { padding: 28px 22px; }
  .portal-hero-title { font-size: 20px; }
  .genre-nav { grid-template-columns: repeat(2, 1fr); }
  .category-hub-header { padding: 18px 20px; }
  .category-hub-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .portal-hero { padding: 16px 18px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .portal-hero-title { font-size: 17px; }
  .portal-hero-subtitle { font-size: 12px; }
  .hero-contact-link { font-size: 11px; padding: 6px 12px; }
  .portal-quick-links { gap: 6px; }
  .portal-quick-link { font-size: 11px; padding: 5px 11px; }
  .guide-grid { grid-template-columns: 1fr; }
  .top-guide-cards { grid-template-columns: 1fr; }
  .top-area-nav { grid-template-columns: repeat(2, 1fr); }
  .top-info-cta { flex-direction: column; align-items: flex-start; }
  .top-info-cta-btn { width: 100%; justify-content: center; }
}

/* ===================================================
   記事ページ改善 — 視認性・信頼性・回遊性
   =================================================== */

/* ---------- 更新日バッジ ---------- */
.post-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #e6f4fb;
  color: var(--up-navy);
  border: 1px solid #b3d9f0;
  border-radius: var(--r-pill);
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- イベント終了警告 ---------- */
.event-ended-warn {
  background: #fff8e1;
  border-left: 4px solid #f59f00;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin: 16px 32px 0;
  font-size: 13px;
  color: #6b4c00;
  line-height: 1.65;
}
@media (max-width: 640px) {
  .event-ended-warn { margin-left: 16px; margin-right: 16px; }
}

/* ---------- 注意・ノートボックス (記事本文内ショートコード) ---------- */
.post-content .warn-box {
  background: #fff8e1;
  border-left: 4px solid #f59f00;
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--up-text);
}
.post-content .note-box {
  background: #e8f4fb;
  border-left: 4px solid var(--up-navy);
  border-radius: 0 8px 8px 0;
  padding: 14px 18px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--up-text);
}
.post-content .warn-box p:last-child,
.post-content .note-box p:last-child { margin-bottom: 0; }

/* ---------- gov-link: 行政公式ページへの導線ボタン（柱アクセント追従） ---------- */
.post-content .gov-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin: 10px 0 18px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent-ink) !important;
  background: var(--accent-bg);
  border: 1px solid var(--accent);
  border-radius: 8px;
  text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease;
}
.post-content .gov-link:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}
.post-content .gov-link__arrow { font-weight: 800; }

/* ---------- テーブル モバイル自動スクロール ---------- */
@media (max-width: 640px) {
  .post-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .post-content table td,
  .post-content table th { min-width: 72px; }
}

/* ---------- 引用 cite 対応 ---------- */
.post-content blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--up-muted);
  font-style: normal;
}
.post-content blockquote cite::before { content: "— "; }

/* ---------- 参照・出典ブロック ---------- */
.source-block {
  background: var(--up-bg);
  border: 1px solid var(--up-border);
  border-top: 3px solid var(--up-border-2);
  border-radius: 8px;
  padding: 14px 18px;
  margin: 0 32px 24px;
  font-size: 12px;
  color: var(--up-muted);
  line-height: 1.7;
}
.source-header { margin-bottom: 8px; }
.source-header strong { color: var(--up-text-2); }
.source-list-label { font-weight: 700; margin-bottom: 6px; color: var(--up-text-2); }
.source-list { margin: 0; padding-left: 1.4em; }
.source-list li { margin-bottom: 4px; }
.source-list a { color: var(--up-navy); word-break: break-all; }
@media (max-width: 640px) {
  .source-block { margin-left: 16px; margin-right: 16px; }
}

/* ---------- 同エリアの記事 ---------- */
.area-posts { margin-top: 32px; }

/* ===================================================
   記事ページ改善 v2 — ブレッドクラム・本文幅・見出し
   =================================================== */

/* ---------- ブレッドクラム ---------- */
.post-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 4px;
  font-size: 12px;
  color: var(--up-text-3);
  margin-bottom: 12px;
  line-height: 1.5;
}
.post-breadcrumb a {
  color: var(--up-text-3) !important;
  text-decoration: none !important;
  transition: color .15s;
}
.post-breadcrumb a:hover { color: var(--up-teal) !important; }
.bc-sep {
  color: var(--up-border-2);
  font-size: 11px;
  user-select: none;
  margin: 0 2px;
}
i.bc-sep { margin: 0 1px; line-height: 1; }
.post-breadcrumb .bc-cat { font-weight: 600; background: none !important; padding: 0; border-radius: 0; }
.bc-cat.cat-open    { color: var(--cat-open)    !important; }
.bc-cat.cat-news    { color: var(--cat-news)    !important; }
.bc-cat.cat-event   { color: var(--cat-event)   !important; }
.bc-cat.cat-gourmet { color: var(--cat-gourmet) !important; }
.bc-cat.cat-edu     { color: var(--cat-edu)     !important; }
.bc-cat.cat-sports  { color: var(--cat-sports)  !important; }
.bc-cat.cat-notice  { color: var(--cat-notice)  !important; }
.bc-current {
  color: var(--up-text-2);
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 200px;
}
@media (max-width: 640px) {
  .bc-current { max-width: 140px; }
}

/* ---------- サイドバー目次 ---------- */
.sidebar-toc .toc-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-toc .toc-list a {
  font-size: 12px;
  color: var(--up-text-3) !important;
  border-left: 2px solid var(--up-border);
  padding-left: 9px;
  text-decoration: none !important;
  line-height: 1.5;
  transition: color .15s, border-color .15s;
}
.sidebar-toc .toc-list a:hover {
  color: var(--accent) !important;
  border-left-color: var(--accent);
}

/* ---------- 記事本文の最大幅制限 ---------- */
/* 640-1160px（1列表示）でテキスト幅が広がりすぎるのを防ぐ */
@media (min-width: 641px) and (max-width: 1160px) {
  body:not(.list) .home-main {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---------- 見出しアンカーリンク ---------- */
/* PaperMod anchored_headings が生成する # リンクのスタイル */
.post-content .anchor {
  opacity: 0;
  margin-left: 6px;
  font-size: .75em;
  color: var(--up-teal) !important;
  text-decoration: none !important;
  transition: opacity .15s;
  vertical-align: middle;
}
.post-content h2:hover .anchor,
.post-content h3:hover .anchor,
.post-content h4:hover .anchor { opacity: 1; }

/* ---------- 記事本文 h2 視認性強化 ---------- */
/* スクロール時のアンカー位置ずれ防止 */
.post-content h2[id],
.post-content h3[id] {
  scroll-margin-top: calc(var(--header-height, 56px) + 12px);
}

/* ---------- リード文（最初の p）を少し目立たせる ---------- */
.post-content > p:first-of-type {
  font-size: 15.5px;
  line-height: 2;
  color: var(--up-text-2);
}

/* ---------- source-block をフッター内に自然に収める ---------- */
/* post-footer 直下に置いた場合の余白調整 */
.post-footer .source-block {
  margin-left: 0;
  margin-right: 0;
  margin-top: 20px;
}

/* ---------- 便利ガイド個別(E) ---------- */
.lg-pillar-badge { background: var(--accent) !important; color: #fff !important; }
.lg-saved-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: var(--accent);
  background: var(--accent-bg); padding: 3px 9px; border-radius: 6px;
  white-space: nowrap; flex-shrink: 0;
}
.lg-disclaimer {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--accent-bg); border: 0.5px solid var(--up-border);
  border-radius: 12px; padding: 14px; margin: 22px 0;
  font-size: 12px; line-height: 1.7; color: var(--up-muted);
}
.lg-disclaimer > i { color: var(--accent); font-size: 20px; flex-shrink: 0; }
.lg-disclaimer a { color: var(--accent); font-weight: 600; }
.lg-related { margin-top: 24px; }
.lg-related-bar {
  display: inline-block; width: 4px; height: 17px;
  background: var(--accent); border-radius: 2px; margin-right: 8px; vertical-align: -2px;
}
.lg-side-cta {
  background: var(--accent-bg); border: 0.5px solid var(--up-border);
  border-radius: 12px; padding: 16px 14px; text-align: center;
}
.lg-side-cta > i { font-size: 24px; color: var(--accent); }
.lg-side-cta-title { font-size: 13px; font-weight: 700; color: var(--accent-ink); margin: 7px 0 3px; }
.lg-side-cta-desc { font-size: 11px; color: var(--up-muted); line-height: 1.6; margin-bottom: 11px; }
.lg-side-cta-btn {
  display: block; background: var(--accent); color: #fff;
  font-size: 12px; font-weight: 700; padding: 9px; border-radius: 8px; text-decoration: none;
}
/* 料金・空室を見る（予約アフィリエイトカード） */
.lg-book-cta { background: var(--up-surface); border: 1px solid var(--up-border); border-radius: 12px; padding: 14px; margin-bottom: 14px; }
.lg-book-cta-title { font-size: 13px; font-weight: 700; color: var(--up-text); display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.lg-book-cta-title i { color: var(--accent); font-size: 16px; }
.lg-book-btns { display: flex; flex-direction: column; gap: 8px; }
.lg-book-btn { display: block; text-align: center; font-size: 13px; font-weight: 700; color: #fff !important; text-decoration: none !important; padding: 10px 12px; border-radius: 8px; transition: filter .15s, transform .15s; }
.lg-book-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.book-rakuten { background: #bf0000; }
.book-jalan   { background: #e9531f; }
.book-booking { background: #003580; }
.book-agoda   { background: #d62e4f; }
.lg-book-pr { font-size: 10px; color: var(--up-text-3); margin-top: 9px; text-align: center; }
/* 広告（PR）表記（{{< ad-disclosure >}}） */
.ad-disclosure { font-size: 12px; color: var(--up-text-3); background: var(--up-surface-2); border: 1px solid var(--up-border); border-radius: 8px; padding: 8px 12px; margin: 0 0 16px; display: flex; align-items: center; gap: 6px; line-height: 1.6; }
.ad-disclosure i { color: var(--up-text-4); flex-shrink: 0; }
.lg-pop-rank { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.lg-pop-rank a { display: flex; gap: 9px; align-items: flex-start; text-decoration: none; font-size: 12px; color: var(--up-text); line-height: 1.5; font-weight: 500; }
.lg-pop-num { color: var(--accent); font-size: 15px; font-weight: 800; flex-shrink: 0; }
.lg-toc nav#TableOfContents ul { margin: 0; padding-left: 18px; }
.lg-toc a { font-size: 12px; color: var(--up-text-3); text-decoration: none; line-height: 1.9; }
.lg-toc a:hover { color: var(--accent); }
/* サイドバー目次（生HTML見出しから生成） */
.lg-toc-list { display: flex; flex-direction: column; gap: 8px; }
.lg-toc-list a {
  font-size: 12px; color: var(--up-text-3) !important;
  border-left: 2px solid var(--up-border); padding-left: 9px;
  text-decoration: none !important; line-height: 1.45;
  transition: color .15s, border-color .15s;
}
.lg-toc-list a:hover { color: var(--accent) !important; border-left-color: var(--accent); }

/* ════════ 便利ガイド本文コンポーネント（モックアップE・ティール） ════════ */
.post-content .lg-art-alert {
  display: flex; gap: 10px; align-items: flex-start;
  background: #FEF2F2; border: 1px solid #F5C9C2; border-left: 4px solid #DC2626;
  border-radius: 0 10px 10px 0; padding: 13px 15px; margin: 0 0 20px;
}
.post-content .lg-art-alert > i { font-size: 20px; color: #DC2626; flex-shrink: 0; margin-top: 1px; }
.post-content .lg-art-alert p { font-size: 12.5px; color: #7F1D1D; line-height: 1.7; margin: 0; }

.post-content .lg-art-keypoints {
  background: var(--accent-bg); border: 1px solid #CFEDE6;
  border-radius: 12px; padding: 15px; margin: 0 0 22px;
}
.post-content .lg-art-keypoints-title {
  font-size: 13px; font-weight: 700; color: #0B7A6C;
  margin: 0 0 10px; display: flex; align-items: center; gap: 7px;
}
.post-content .lg-art-keypoints ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.post-content .lg-art-keypoints li {
  font-size: 12.5px; color: #33524D; line-height: 1.6; margin: 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.post-content .lg-art-keypoints li::before {
  content: "\ea4c"; font-family: "tabler-icons"; color: var(--accent);
  font-size: 13px; flex-shrink: 0; margin-top: 2px;
}

.post-content .lg-art-contacts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 24px;
}
.post-content .lg-art-contact {
  background: #fff; border: 1px solid var(--up-border);
  border-top: 3px solid var(--up-border-2); border-radius: 0 0 10px 10px;
  padding: 12px; text-align: center;
}
.post-content .lg-art-contact.is-danger { border-color: #F5C9C2; border-top-color: #DC2626; }
.post-content .lg-art-contact.is-info   { border-color: #BFD3E6; border-top-color: var(--up-navy); }
.post-content .lg-art-contact.is-teal   { border-color: #CFEDE6; border-top-color: var(--accent); }
.post-content .lg-art-contact-label { font-size: 10px; font-weight: 700; color: var(--up-text-3); }
.post-content .lg-art-contact-num { font-size: 26px; font-weight: 900; letter-spacing: -.02em; margin: 5px 0; line-height: 1; }
.post-content .lg-art-contact.is-danger .lg-art-contact-num { color: #DC2626; }
.post-content .lg-art-contact.is-info   .lg-art-contact-num { color: var(--up-navy); }
.post-content .lg-art-contact.is-teal   .lg-art-contact-num { color: var(--accent); }
.post-content .lg-art-contact-sub { font-size: 10px; color: var(--up-text-2); line-height: 1.5; }
/* 補足カード（番号なし・左罫） */
.post-content .lg-art-contact--plain {
  border: 1px solid var(--up-border); border-left: 4px solid var(--accent);
  border-radius: 10px; text-align: left;
}
.post-content .lg-art-contact--plain .lg-art-contact-name { font-size: 11px; font-weight: 700; color: var(--up-text); margin-bottom: 3px; }
.post-content .lg-art-contact--plain .lg-art-contact-sub { font-size: 11px; line-height: 1.6; }

/* テーブル（ティールヘッダー） */
.post-content .lg-art-table-wrap { overflow-x: auto; margin: 0 0 24px; }
.post-content table.lg-art-table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 0; min-width: 480px; }
.post-content table.lg-art-table thead th {
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 9px 12px; text-align: left; border: none;
}
.post-content table.lg-art-table td { padding: 9px 12px; border: none; border-bottom: 1px solid #F1F5F9; color: var(--up-text-2); line-height: 1.5; }
.post-content table.lg-art-table tbody tr:nth-child(even) { background: #F8FAFC; }
.post-content table.lg-art-table tbody th {
  background: var(--accent-bg); color: #0B7A6C; font-weight: 700;
  text-align: left; padding: 9px 12px; white-space: nowrap; vertical-align: top;
  border: none; border-bottom: 1px solid #F1F5F9;
}

/* 情報ボックス（施設情報 dl） */
.post-content .lg-art-infobox {
  background: var(--up-bg); border: 1px solid var(--up-border);
  border-radius: 10px; padding: 14px 16px; margin: 0 0 14px;
  display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 12px;
}
/* dt（担当課・電話・公式情報 等）が CJK の1文字折り返しで縦並びになる事象の対策。
   グリッドの auto 列が dd の長文に押されて1文字幅まで潰れるため、ラベル列に min-width を確保し
   nowrap で1行固定する（ラベルは最長4文字なので 4.5em で十分）。dd 側は長いURL/リンクの折り返しを許可。 */
.post-content .lg-art-infobox dt {
  color: #0B7A6C; font-weight: 600; margin: 0;
  white-space: nowrap; min-width: 4.5em; align-self: start;
}
.post-content .lg-art-infobox dd { color: var(--up-text-2); margin: 0; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.post-content .lg-art-infobox-title { font-size: 12.5px; font-weight: 700; color: #0B7A6C; display: flex; align-items: center; gap: 6px; margin: 18px 0 8px; }

/* 注意（オレンジ） */
.post-content .lg-art-note {
  background: #FFF7ED; border: 1px solid #FBD9A8; border-radius: 8px;
  padding: 11px 14px; margin: 0 0 24px; font-size: 12px; color: #9A3412; line-height: 1.7;
}

/* チェックリスト */
.post-content .lg-art-checklist {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 24px; list-style: none; padding: 0;
}
.post-content .lg-art-checklist li {
  background: #fff; border: 1px solid var(--up-border); border-radius: 8px;
  padding: 11px 13px; display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; color: var(--up-text-2); line-height: 1.5; margin: 0;
}
.post-content .lg-art-checklist li::before {
  content: "\ea5e"; font-family: "tabler-icons"; color: var(--accent); font-size: 15px; flex-shrink: 0;
}

/* FAQ */
.post-content .lg-art-faq { display: flex; flex-direction: column; gap: 9px; margin: 0 0 8px; }
.post-content .lg-art-faq-item { background: #fff; border: 1px solid var(--up-border); border-radius: 10px; padding: 13px; }
.post-content .lg-art-q { font-size: 13px; font-weight: 700; color: var(--up-text); display: flex; gap: 8px; align-items: flex-start; }
.post-content .lg-art-q::before { content: "Q"; color: var(--accent); font-weight: 800; flex-shrink: 0; }
.post-content .lg-art-a { font-size: 12px; color: var(--up-text-2); line-height: 1.7; margin: 7px 0 0; padding-left: 18px; }

/* 地図・汎用ティールコールアウト */
.post-content .lg-art-map { background: var(--up-bg); border: 1px solid var(--up-border); border-radius: 10px; padding: 18px 20px; margin: 0 0 20px; text-align: center; }
.post-content .lg-art-map-name { font-size: 13px; font-weight: 700; color: var(--up-text); margin: 0 0 6px; }
.post-content .lg-art-map-addr { font-size: 12px; color: var(--up-text-3); margin: 0 0 12px; }
.post-content .lg-art-map-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff !important; padding: 9px 20px; border-radius: 8px; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.post-content .lg-art-callout {
  display: flex; gap: 12px; align-items: center; background: #EAF7F4;
  border-radius: 12px; padding: 16px; margin: 0 0 22px;
}
.post-content .lg-art-callout > i { font-size: 26px; color: var(--accent); flex-shrink: 0; }
.post-content .lg-art-callout p { font-size: 12px; color: #33524D; line-height: 1.7; margin: 0; }

@media (max-width: 560px) {
  .post-content .lg-art-contacts { grid-template-columns: 1fr 1fr; }
  .post-content .lg-art-checklist { grid-template-columns: 1fr; }
}

/* ── 汎用カードグリッド（番号/見出し/説明/バッジ・ティール左罫） ── */
.post-content .lg-art-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 24px;
}
.post-content .lg-art-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.post-content .lg-art-card {
  background: #fff; border: 1px solid var(--up-border); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 15px;
}
.post-content .lg-art-card-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-bg); color: var(--accent); font-weight: 800; font-size: 13px; margin-bottom: 9px;
}
.post-content .lg-art-card-ic { display: block; font-size: 24px; color: var(--accent); margin-bottom: 8px; line-height: 1; }
.post-content .lg-art-card-meta { list-style: none; padding: 0; margin: 8px 0 0; font-size: 11.5px; color: var(--up-text-2); }
.post-content .lg-art-card-meta li { padding: 4px 0; border-top: 1px dashed var(--up-border); display: flex; justify-content: space-between; gap: 8px; line-height: 1.5; margin: 0; }
.post-content .lg-art-card-meta b { color: var(--up-text); font-weight: 700; white-space: nowrap; }
.post-content .lg-art-card-title, .post-content .lg-art-card h3 {
  font-size: 14px; font-weight: 700; color: var(--up-text); margin: 0 0 5px; padding: 0; border: none; line-height: 1.4;
}
.post-content .lg-art-card-desc, .post-content .lg-art-card p { font-size: 12px; color: var(--up-text-2); line-height: 1.65; margin: 0 0 9px; }
.post-content .lg-art-card p:last-child, .post-content .lg-art-card-desc:last-child { margin-bottom: 0; }
.post-content .lg-art-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.post-content .lg-art-badge { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--up-bg); color: var(--up-text-2); }
.post-content .lg-art-badge.is-teal { background: var(--accent-bg); color: var(--accent); }

/* ── 2カラム情報ボックス（見出し＋説明） ── */
.post-content .lg-art-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 24px; }
.post-content .lg-art-col { background: var(--up-bg); border: 1px solid var(--up-border); border-radius: 10px; padding: 13px 15px; }
.post-content .lg-art-col-title { display: block; font-size: 12.5px; font-weight: 700; color: #0B7A6C; margin-bottom: 5px; }
.post-content .lg-art-col p { font-size: 12px; color: var(--up-text-2); line-height: 1.65; margin: 0; }
.post-content .lg-art-col ul { margin: 0; padding-left: 1.2em; }
.post-content .lg-art-col li { font-size: 12px; color: var(--up-text-2); line-height: 1.7; }

/* ── リンクグリッド（タイトル＋補足） ── */
.post-content .lg-art-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin: 0 0 24px; }
.post-content .lg-art-link {
  display: block; background: #fff; border: 1px solid var(--up-border); border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 13px 14px; text-decoration: none !important;
  font-size: 13px; font-weight: 700; color: var(--up-text) !important; line-height: 1.4;
  transition: background .15s, border-color .15s;
}
.post-content .lg-art-link:hover { background: var(--accent-bg); }
.post-content .lg-art-link span { display: block; font-size: 11px; font-weight: 500; color: var(--up-text-3); margin-top: 4px; }

/* ステータス記号（○/×/△） */
.post-content .lg-art-ok { color: #0f7b42; font-weight: 800; }
.post-content .lg-art-ng { color: #a33a34; font-weight: 800; }
.post-content .lg-art-part { color: #8a5a00; font-weight: 700; font-size: 11px; }
/* 本文内の小さなティールボタン */
.post-content .lg-art-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: #fff !important;
  font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 8px;
  text-decoration: none !important;
}
.post-content .lg-art-btn:hover { background: var(--accent-ink); }

/* ════════ 観光ガイド ホテル個別（モックアップG・コーラル） ════════ */
.hg-bc { color: #C2421F !important; font-weight: 600; text-decoration: none !important; }
.hg-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.hg-badge { background: #E05535; color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.hg-badge-sub { background: #FCEEE9; color: #C2421F; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.hg-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 11px; color: var(--up-text-3); margin-top: 4px; }
.hg-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ヒーロー（コーラルのプレースホルダー） */
.hg-hero {
  height: 210px; margin: 4px 32px 18px; border-radius: 12px;
  background: #FBDED4; display: flex; align-items: center; justify-content: center; color: #E05535;
}
.hg-hero i { font-size: 42px; opacity: .5; }
@media (max-width: 640px) { .hg-hero { margin: 4px 16px 16px; height: 160px; } }

/* 基本情報ボックス */
.post-content .hg-info {
  background: #FFF4F0; border: 1px solid #F6D8CD; border-left: 4px solid #E05535;
  border-radius: 12px; padding: 15px; margin: 0 0 22px;
}
.post-content .hg-info-title { font-size: 13px; font-weight: 700; color: #9A3412; margin: 0 0 11px; display: flex; align-items: center; gap: 7px; }
.post-content .hg-info dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 0; font-size: 12px; align-items: start; }
.post-content .hg-info dt { color: #C2421F; font-weight: 600; margin: 0; white-space: nowrap; }
.post-content .hg-info dd { color: #334155; margin: 0; }
.post-content .hg-info-btn {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 13px;
  background: #E05535; color: #fff !important; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 8px; text-decoration: none !important;
}
.post-content .hg-info-btn:hover { background: #C2421F; }

/* おすすめ／向かない 2カラム */
.post-content .hg-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 22px; }
.post-content .hg-fit-card { border-radius: 10px; padding: 13px; }
.post-content .hg-fit-card.is-yes { background: #F0FDF4; border: 1px solid #C5E9CF; }
.post-content .hg-fit-card.is-no { background: var(--up-bg); border: 1px solid var(--up-border); }
.post-content .hg-fit-title { font-size: 12px; font-weight: 700; margin: 0 0 9px; display: flex; align-items: center; gap: 6px; }
.post-content .hg-fit-card.is-yes .hg-fit-title { color: #16794C; }
.post-content .hg-fit-card.is-no .hg-fit-title { color: var(--up-text-3); }
.post-content .hg-fit-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.post-content .hg-fit-card li { font-size: 11.5px; line-height: 1.5; margin: 0; }
.post-content .hg-fit-card.is-yes li { color: #3A5A48; }
.post-content .hg-fit-card.is-no li { color: var(--up-text-2); }

/* 設備・サービス アイコングリッド */
.post-content .hg-facilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 0 0 24px; }
.post-content .hg-fac { background: #fff; border: 1px solid var(--up-border); border-radius: 9px; padding: 11px 8px; text-align: center; }
.post-content .hg-fac > i { font-size: 20px; color: #E05535; }
.post-content .hg-fac-label { font-size: 10px; color: var(--up-text-2); margin-top: 5px; line-height: 1.3; font-weight: 600; }
.post-content .hg-fac-note { font-size: 9px; color: #E05535; margin-top: 2px; line-height: 1.2; }

/* 地元メモ */
.post-content .hg-memo { background: #FFF4F0; border-radius: 12px; padding: 15px; margin: 0 0 22px; }
.post-content .hg-memo-title { font-size: 13px; font-weight: 700; color: #9A3412; margin: 0 0 8px; display: flex; align-items: center; gap: 7px; }
.post-content .hg-memo p { font-size: 12px; color: #7A4334; line-height: 1.8; margin: 0; }

/* 地図カード（地図・アクセス） */
.post-content .hg-map { position: relative; isolation: isolate; border: 0.5px solid #F6D8CD; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px -12px rgba(224,85,53,.35); margin: 0 0 24px; }
.post-content .hg-map-embed { position: relative; aspect-ratio: 16 / 9; background: #e9eef0; }
.post-content .hg-map-embed iframe, .post-content .hg-map-embed > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.post-content .hg-map-embed .leaflet-container { border-radius: 0; font-family: inherit; }
.post-content .hg-map-embed .leaflet-bar a, .post-content .hg-map-embed .leaflet-bar a:hover { color: #444 !important; background: #fff !important; text-decoration: none !important; border-bottom: 1px solid #ccc; box-shadow: none !important; }
.post-content .hg-map-embed .leaflet-bar a:last-child { border-bottom: none; }
.post-content .hg-map-head { display: flex; align-items: center; gap: 9px; padding: 11px 14px; border-bottom: 0.5px solid #F3E2DB; }
.post-content .hg-map-head > i { font-size: 18px; color: var(--accent); }
.post-content .hg-map-name { font-size: 12.5px; font-weight: 700; color: var(--up-text); line-height: 1.3; }
.post-content .hg-map-addr { font-size: 11px; color: var(--up-muted); line-height: 1.3; }
.post-content .hg-map-credit { font-size: 10px; color: var(--up-text-3); text-align: right; padding: 0 12px 10px; }
.post-content .hg-map-credit a { color: var(--up-text-3); }
.post-content .hg-map-actions { display: flex; gap: 9px; padding: 12px 14px; }
.post-content .hg-map-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 9px; border-radius: 9px; text-decoration: none !important; background: var(--accent); color: #fff !important; }
.post-content .hg-map-btn:hover { background: var(--accent-ink); }
.post-content .hg-map-btn--out { background: #fff; border: 0.5px solid #F0C4B6; color: var(--accent-ink) !important; }
.post-content .hg-map-btn--out:hover { background: #FBE3DA; }

/* ========================================
   ホテル比較マップ (.hcm-*)
   /travel-guide/hotels/compare/
   ======================================== */

/* ── ホテル一覧ページ → 比較マップへのバナーリンク ── */
.hcm-list-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  background: var(--accent-bg);
  border: 1px solid #F0C4B6;
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .15s, background .15s;
}
.hcm-list-banner:hover { border-color: var(--accent); background: #FAE2DA; }
.hcm-list-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-ink);
}
.hcm-list-banner-left > i { font-size: 22px; flex-shrink: 0; }
.hcm-list-banner-left strong { font-size: 14px; display: block; }
.hcm-list-banner-sub { font-size: 12px; color: var(--up-muted); }
.hcm-list-banner-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.hcm-back-link {
  font-size: 12px;
  color: var(--accent-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hcm-back-link:hover { text-decoration: underline; }

/* ── フィルターコントロール ── */
.hcm-controls {
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.hcm-sort-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hcm-filter-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 7px;
}

.hcm-filter-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--up-muted);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 38px;
}

.hcm-count-inline {
  font-size: 12px;
  color: var(--up-muted);
  margin-left: 4px;
}
.hcm-count-inline strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-ink);
}

.hcm-sort {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--up-border-2);
  background: var(--up-bg);
  color: var(--up-text);
  cursor: pointer;
}

.hcm-clear-btn {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 0.5px solid var(--up-border-2);
  background: var(--up-bg);
  color: var(--up-muted);
  cursor: pointer;
  margin-left: auto;
  white-space: nowrap;
  transition: border-color .15s, color .15s;
}
.hcm-clear-btn:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ── チップ ── */
.hcm-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  border: 0.5px solid var(--up-border-2);
  background: var(--up-bg);
  color: var(--up-text-2);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
  line-height: 1.4;
}
.hcm-chip:hover { border-color: var(--accent); color: var(--accent-ink); }
.hcm-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.hcm-chip i { font-size: 13px; }

/* ── 2カラムレイアウト ── */
.hcm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  align-items: start;
}

.hcm-list-col { min-width: 0; }

.hcm-map-col {
  position: sticky;
  top: 80px;
}

#hcm-map {
  width: 100%;
  height: 560px;
  border-radius: 12px;
  border: 1px solid var(--up-border);
  z-index: 1;
}

/* ── マップ凡例 ── */
.hcm-map-legend {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 8px 12px;
  background: var(--up-card);
  border: 1px solid var(--up-border);
  border-radius: 8px;
  font-size: 11px;
  color: var(--up-muted);
}
.hcm-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hcm-legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
  flex-shrink: 0;
}

.hcm-map-note {
  font-size: 11px;
  color: var(--up-muted);
  margin-top: 8px;
  line-height: 1.7;
  display: flex;
  gap: 4px;
}
.hcm-map-note i { flex-shrink: 0; margin-top: 1px; }

/* ── ホテルカード ── */
.hcm-card {
  border: 1px solid var(--up-border);
  border-radius: 10px;
  padding: 11px 13px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.hcm-card:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(224,85,53,.08); }
.hcm-card.is-highlighted {
  border-color: var(--accent);
  background: var(--accent-bg);
  box-shadow: 0 2px 12px rgba(224,85,53,.15);
}

.hcm-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.hcm-card-name { font-size: 13px; font-weight: 600; min-width: 0; }

.hcm-card-name-link {
  color: var(--accent-ink);
  text-decoration: none;
}
.hcm-card-name-link:hover { text-decoration: underline; }

.hcm-card-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-ink);
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 1px;
}

.hcm-card-meta {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin: 5px 0 0;
}

.hcm-area-badge {
  display: inline-block;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 700;
  white-space: nowrap;
}

.hcm-card-cat {
  font-size: 11px;
  color: var(--up-muted);
}

.hcm-card-feat {
  font-size: 11px;
  color: var(--up-text-3);
  margin-top: 5px;
  line-height: 1.6;
}

.hcm-card-flags {
  display: flex;
  gap: 4px;
  margin-top: 7px;
  flex-wrap: wrap;
}

.hcm-flag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  border: 0.5px solid var(--up-border);
  background: var(--up-bg);
  color: var(--up-muted);
  white-space: nowrap;
}
.hcm-flag i { font-size: 11px; }

/* ── 空状態 ── */
.hcm-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--up-muted);
}
.hcm-empty i { font-size: 36px; display: block; margin-bottom: 10px; }
.hcm-empty p { font-size: 14px; margin: 4px 0; }

/* ── レスポンシブ ── */
@media (max-width: 900px) {
  .hcm-layout {
    grid-template-columns: 1fr;
  }
  .hcm-map-col {
    position: static;
  }
  #hcm-map { height: 300px; }
}

@media (max-width: 600px) {
  .hcm-controls { padding: 10px 12px; }
  .hcm-sort-row { gap: 6px; }
  .hcm-count-inline { display: none; }
  #hcm-map { height: 260px; }
}
@media (max-width: 640px) { .post-content .hg-map-actions { flex-direction: column; } }

/* 近隣の似たホテル */
.hg-related { margin-top: 28px; }
.hg-hotel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* 区分カラーを活かした写真なしカード（汎用OGバナーの繰り返しを廃止） */
.hg-hotel-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--up-surface); border: 1px solid var(--up-border);
  border-radius: 12px; padding: 13px 14px 13px 17px; overflow: hidden;
  text-decoration: none !important;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.hg-hotel-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--hg-cat, #1A5C8A); }
.hg-hotel-card:hover { border-color: var(--hg-cat, #E05535); box-shadow: 0 6px 18px rgba(0,0,0,.10); transform: translateY(-2px); }
.hg-hotel-badge {
  align-self: flex-start; font-size: 10px; font-weight: 700; line-height: 1;
  color: var(--hg-cat, #1A5C8A); background: var(--hg-cat-bg, rgba(26,92,138,.10));
  padding: 4px 9px; border-radius: 999px; letter-spacing: .02em;
}
.hg-hotel-name {
  font-size: 13px; font-weight: 700; color: var(--up-text); line-height: 1.45; margin-top: 9px;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hg-hotel-area { font-size: 11px; color: var(--up-text-3); margin-top: 7px; display: flex; align-items: center; gap: 3px; }
.hg-hotel-area i { font-size: 12px; opacity: .85; }
.hg-cat-disney   { --hg-cat: #7B1FA2; --hg-cat-bg: rgba(123,31,162,.10); }
.hg-cat-official { --hg-cat: #E05535; --hg-cat-bg: rgba(224,85,53,.10); }
.hg-cat-partner  { --hg-cat: #C0820F; --hg-cat-bg: rgba(232,160,32,.15); }
.hg-cat-other    { --hg-cat: #1A5C8A; --hg-cat-bg: rgba(26,92,138,.10); }
.hg-cat-fashion  { --hg-cat: #8A8F98; --hg-cat-bg: rgba(138,143,152,.13); }

@media (max-width: 560px) {
  .post-content .hg-fit { grid-template-columns: 1fr; }
  .post-content .hg-facilities { grid-template-columns: repeat(2, 1fr); }
  .hg-hotel-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .post-content .lg-art-cards { grid-template-columns: 1fr; }
  .post-content .lg-art-cols, .post-content .lg-art-links { grid-template-columns: 1fr; }
}
/*
This is just a placeholder blank stylesheet so as to support adding custom styles budled with theme's default styles

Read https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#bundling-custom-css-with-themes-assets for more info
*/
