:root {
  --ko-ink: #2f2925;
  --ko-muted: #756f69;
  --ko-gold: #b9944a;
  --ko-gold-dark: #85682d;
  --ko-rose: #df7f95;
  --ko-rose-dark: #c95f78;
  --ko-pink: #f8e9ed;
  --ko-pink-2: #fff5f7;
  --ko-ivory: #fbfaf7;
  --ko-paper: #fff;
  --ko-border: #e9dfd2;
  --ko-border-pink: #efd3da;
  --ko-shadow: 0 10px 36px rgba(82, 58, 37, .07);
  --ko-radius: 12px;
  --ko-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --ko-sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
  --ko-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ko-ink);
  background: var(--ko-paper);
  font-family: var(--ko-sans);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
html.ko-menu-open { overflow: hidden; }
.ko-entry-content, .ko-post-card, .ko-sidebar-card { overflow-wrap: anywhere; }
.ko-entry-content .alignwide { width: min(100vw - 40px, 1040px); max-width: 1040px; margin-left: 50%; transform: translateX(-50%); }
.ko-entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.ko-entry-content figcaption { margin-top: 8px; color: var(--ko-muted); font-size: 12px; text-align: center; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--ko-gold-dark); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #f6dce2; color: var(--ko-ink); }

.ko-container { width: min(calc(100% - 48px), var(--ko-container)); margin-inline: auto; }
.ko-center { text-align: center; }
.screen-reader-text,
.ko-skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.ko-skip-link:focus {
  position: fixed; z-index: 99999; top: 12px; left: 12px; padding: 10px 14px;
  background: #fff; color: var(--ko-ink); border: 2px solid var(--ko-gold); border-radius: 6px;
}
:focus-visible { outline: 3px solid rgba(185,148,74,.45); outline-offset: 3px; }

/* Header */
.ko-site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(233,223,210,.72);
  backdrop-filter: blur(14px);
}
.admin-bar .ko-site-header { top: 32px; }
.ko-header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ko-branding { flex: 0 0 auto; }
.ko-brand, .custom-logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.ko-brand img, .custom-logo { width: min(300px, 28vw); max-height: 82px; object-fit: contain; }
.ko-primary-nav { margin-left: auto; }
.ko-nav-list { list-style: none; display: flex; gap: clamp(20px, 3vw, 42px); align-items: center; margin: 0; padding: 0; }
.ko-nav-list > li { position: relative; }
.ko-nav-list a { display: inline-block; padding: 32px 0 26px; color: var(--ko-ink); text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.ko-nav-list a:hover, .ko-nav-list .current-menu-item > a, .ko-nav-list .current_page_item > a { color: var(--ko-gold-dark); }
.ko-nav-list .current-menu-item > a::after, .ko-nav-list .current_page_item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 21px; height: 1px; background: var(--ko-gold);
}
.ko-nav-list .sub-menu {
  display: none; position: absolute; left: -18px; top: 74px; min-width: 230px; margin: 0; padding: 10px 0;
  list-style: none; background: #fff; border: 1px solid var(--ko-border); box-shadow: var(--ko-shadow); border-radius: 8px;
}
.ko-nav-list li:hover > .sub-menu, .ko-nav-list li:focus-within > .sub-menu { display: block; }
.ko-nav-list .sub-menu a { display: block; padding: 10px 18px; white-space: normal; }
.ko-menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--ko-border); background: #fff; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; }
.ko-menu-toggle__bars, .ko-menu-toggle__bars::before, .ko-menu-toggle__bars::after { display: block; width: 20px; height: 1px; background: var(--ko-ink); position: relative; transition: .25s ease; }
.ko-menu-toggle__bars::before, .ko-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.ko-menu-toggle__bars::before { top: -6px; }
.ko-menu-toggle__bars::after { top: 6px; }
.ko-menu-toggle[aria-expanded="true"] .ko-menu-toggle__bars { background: transparent; }
.ko-menu-toggle[aria-expanded="true"] .ko-menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.ko-menu-toggle[aria-expanded="true"] .ko-menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.ko-button, .wp-element-button, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  min-height: 48px; padding: 11px 28px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .03em; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.ko-button:hover, .wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-1px); }
.ko-button--gold { background: linear-gradient(135deg, #c8aa64, #ad873b); color: #fff; box-shadow: 0 8px 24px rgba(185,148,74,.18); }
.ko-button--gold:hover { color: #fff; box-shadow: 0 10px 30px rgba(185,148,74,.28); }
.ko-button--rose { background: linear-gradient(135deg, #e28aa0, #d56f88); color: #fff; box-shadow: 0 8px 24px rgba(223,127,149,.18); }
.ko-button--rose:hover { color: #fff; }
.ko-button--outline { background: #fff; color: var(--ko-gold-dark); border-color: #d6ba7e; }
.ko-button--outline:hover { background: #fffaf0; color: var(--ko-gold-dark); }
.ko-button--large { min-height: 54px; padding-inline: 38px; }
.ko-button--small { min-height: 40px; padding: 8px 20px; font-size: 13px; }

/* Common headings */
.ko-section { padding: 64px 0; }
.ko-section-title { margin: 0; font-family: var(--ko-serif); font-weight: 500; font-size: clamp(24px, 2.4vw, 34px); text-align: center; letter-spacing: .04em; }
.ko-section-ornament { margin: 4px 0 30px; text-align: center; color: var(--ko-gold); font-family: var(--ko-serif); font-size: 28px; line-height: 1; }
.ko-section-lead { max-width: 760px; margin: 14px auto 32px; text-align: center; color: var(--ko-muted); }
.ko-kicker { margin: 0 0 8px; text-align: center; color: var(--ko-rose); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ko-label, .ko-mini-label { display: inline-flex; align-items: center; width: fit-content; padding: 4px 12px; border-radius: 4px; background: var(--ko-rose); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.ko-mini-label { padding: 3px 9px; border-radius: 999px; font-size: 11px; }

/* Front hero */
.ko-front-main { overflow: clip; }
.ko-hero {
  width: min(calc(100% - 48px), 1240px);
  min-height: clamp(520px, 52vw, 700px);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(360px, 470px) minmax(0, 1fr);
  column-gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  background: linear-gradient(90deg, #fbfaf7 0%, #f7f5f1 44%, #ffffff 44%, #ffffff 100%);
}
.ko-hero__copy {
  min-width: 0;
  padding: clamp(72px, 7vw, 112px) 0 clamp(56px, 6vw, 92px) clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.ko-hero__title {
  display: block;
  max-width: 100%;
  margin: 0 0 24px;
  font-family: var(--ko-serif);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: .04em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.ko-hero__title-line {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 0 12px;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.ko-hero__title-line:last-child { margin-bottom: 0; }
.ko-hero__lead {
  max-width: 28em;
  margin: 0 0 32px;
  color: #4e4740;
  font-family: var(--ko-serif);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 2;
}
.ko-hero__visual {
  position: relative;
  min-height: clamp(520px, 52vw, 700px);
  overflow: hidden;
  background: #f7f5f2;
}
.ko-hero__visual::before { content: ""; position: absolute; z-index: 1; inset: 0 auto 0 0; width: clamp(28px, 7%, 72px); background: linear-gradient(90deg, rgba(250,249,246,.95), rgba(250,249,246,0)); pointer-events: none; }
.ko-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 48%; }

/* Reasons */
.ko-reasons { border-bottom: 1px solid #f0ece6; padding-bottom: 54px; }
.ko-reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.ko-reason { display: grid; grid-template-columns: 92px 1fr; gap: 20px; align-items: center; }
.ko-reason__icon { width: 86px; height: 86px; display: grid; place-items: center; border: 1px solid #d9be83; border-radius: 50%; color: var(--ko-gold); font-family: var(--ko-serif); font-size: 34px; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 6px #eee2c8; }
.ko-reason h3 { margin: 0 0 6px; color: var(--ko-gold-dark); font-family: var(--ko-serif); font-size: 19px; font-weight: 600; }
.ko-reason p { margin: 0; color: var(--ko-muted); font-size: 14px; }

/* Cards */
.ko-card-grid { display: grid; gap: 24px; }
.ko-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ko-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ko-products { padding-top: 42px; }
.ko-product-card { min-width: 0; }
.ko-product-card__image { position: relative; margin-bottom: 14px; overflow: hidden; border-radius: 6px; background: #f8f5f5; }
.ko-product-card__image img { width: 100%; aspect-ratio: 1.06/1; object-fit: cover; transition: transform .35s ease; }
.ko-product-card:hover .ko-product-card__image img { transform: scale(1.02); }
.ko-product-card__image span { position: absolute; bottom: 0; left: 14px; padding: 4px 12px; background: #e890a4; color: #fff; border-radius: 999px 999px 0 0; font-size: 12px; }
.ko-product-card h3 { margin: 0 0 6px; font-family: var(--ko-serif); font-size: 20px; font-weight: 500; }
.ko-product-card p { min-height: 52px; margin: 0 0 14px; color: var(--ko-muted); font-size: 14px; }
.ko-products .ko-center { margin-top: 34px; }

/* Scene */
.ko-scene-section { padding: 0; display: grid; grid-template-columns: 34% 66%; min-height: 370px; background: linear-gradient(110deg, #fff9f9, #fdf5f7); }
.ko-scene-section__image { overflow: hidden; }
.ko-scene-section__image img { width: 100%; height: 100%; object-fit: cover; }
.ko-scene-section__content { padding: 54px max(4vw, calc((100vw - var(--ko-container))/2)) 46px 44px; }
.ko-scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 18px 0 30px; }
.ko-scene-grid a { padding: 10px 12px; text-align: center; text-decoration: none; border-radius: 10px; transition: background .2s ease, transform .2s ease; }
.ko-scene-grid a:hover { background: rgba(255,255,255,.72); transform: translateY(-2px); }
.ko-scene-grid span { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 10px; border: 1px solid #efb5c1; border-radius: 50%; color: var(--ko-rose); font-size: 24px; }
.ko-scene-grid strong, .ko-scene-grid small { display: block; }
.ko-scene-grid strong { font-family: var(--ko-serif); font-size: 17px; }
.ko-scene-grid small { margin-top: 8px; color: var(--ko-muted); line-height: 1.6; }

/* Ranking preview / ranking page */
.ko-ranking-preview { background: #fff; }
.ko-ranking-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ko-rank-card { position: relative; display: grid; grid-template-columns: 108px 1fr; gap: 16px; align-items: center; padding: 20px; border: 1px solid #efd9dd; border-radius: 10px; background: linear-gradient(180deg, #fff, #fffafa); box-shadow: 0 5px 20px rgba(132,74,89,.04); }
.ko-rank-card img { width: 108px; height: 108px; object-fit: cover; border-radius: 6px; }
.ko-rank-card h3 { margin: 0 0 4px; font-family: var(--ko-serif); font-size: 20px; }
.ko-rank-card p { margin: 0 0 10px; color: var(--ko-muted); font-size: 13px; line-height: 1.7; }
.ko-rank-card__badge { position: absolute; top: -12px; left: 12px; z-index: 1; min-width: 44px; height: 34px; display: grid; place-items: center; padding: 0 8px; background: #c9a95c; color: #fff; clip-path: polygon(8% 0, 30% 15%, 50% 0, 70% 15%, 92% 0, 100% 100%, 0 100%); font-size: 11px; font-weight: 800; }
.ko-ranking-preview .ko-center { margin-top: 30px; }

.ko-ranking-page .ko-article-header { margin-bottom: 20px; }
.ko-ranking-top3, .ko-comparison-section, .ko-comparison-points, .ko-shop-details { margin-top: 34px; }
.ko-ranking-top3 .ko-section-title, .ko-comparison-section .ko-section-title, .ko-comparison-points .ko-section-title, .ko-shop-details .ko-section-title { font-size: 26px; margin-bottom: 20px; }
.ko-rank-card--vertical { display: flex; flex-direction: column; align-items: stretch; padding-top: 30px; text-align: left; }
.ko-rank-card--vertical img { width: 100%; height: auto; aspect-ratio: 1.2/1; object-fit: cover; }
.ko-rank-card--vertical h3 { margin-top: 6px; }
.ko-tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.ko-tag-row span { padding: 3px 9px; border-radius: 999px; background: #fdeef1; color: #bd6b7f; font-size: 11px; font-weight: 700; }
.ko-pr-note { margin: 0 0 22px; padding: 10px 14px; border-radius: 6px; background: #faf7f2; color: #665d54; font-size: 12px; line-height: 1.7; }
.ko-pr-note strong { margin-right: 8px; color: var(--ko-rose-dark); }
.ko-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #e7ddd1; border-radius: 6px; }
.ko-comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 13px; background: #fff; }
.ko-comparison-table th, .ko-comparison-table td { padding: 12px 14px; border-right: 1px solid #eee6dc; border-bottom: 1px solid #eee6dc; text-align: center; vertical-align: middle; }
.ko-comparison-table thead th { background: #f8f4ee; font-weight: 700; }
.ko-comparison-table tbody th { text-align: left; font-family: var(--ko-serif); font-weight: 600; background: #fffdfa; }
.ko-comparison-table a { display: inline-block; padding: 4px 12px; border: 1px solid #e8b3bf; color: var(--ko-rose-dark); border-radius: 4px; text-decoration: none; }
.ko-data-note { margin: 9px 0 0; color: var(--ko-muted); font-size: 11px; }
.ko-shop-detail { display: grid; grid-template-columns: 160px 1fr 170px; gap: 22px; align-items: center; padding: 18px; margin-bottom: 14px; border: 1px solid #efd9dd; border-radius: 8px; background: #fff; }
.ko-shop-detail__image { position: relative; }
.ko-shop-detail__image img { width: 150px; aspect-ratio: 1.1/1; object-fit: cover; border-radius: 5px; }
.ko-shop-detail__image > span { position: absolute; top: -8px; left: -7px; z-index: 2; padding: 3px 8px; background: #c9a95c; color: #fff; border-radius: 4px; font-size: 11px; }
.ko-shop-detail__body h3 { margin: 0; font-family: var(--ko-serif); font-size: 23px; }
.ko-shop-detail__body p, .ko-shop-detail__body ul { margin-block: 8px; font-size: 13px; color: var(--ko-muted); }
.ko-shop-detail__body ul { padding-left: 20px; }
.ko-shop-detail__body li::marker { color: var(--ko-rose); }
.ko-shop-detail__cta { padding: 14px; background: #fff9fa; border: 1px solid #f3dce1; border-radius: 7px; text-align: center; }
.ko-shop-detail__cta strong { display: block; font-family: var(--ko-serif); }
.ko-shop-detail__cta p { margin: 6px 0 12px; color: var(--ko-muted); font-size: 11px; }

/* Guide grids */
.ko-guide-links { background: var(--ko-ivory); }
.ko-guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.ko-guide-grid > a, .ko-guide-grid > div { min-height: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; border: 1px solid #dfcfb3; border-radius: 8px; background: rgba(255,255,255,.85); text-decoration: none; text-align: center; }
.ko-guide-grid > a:hover { background: #fff; transform: translateY(-2px); }
.ko-guide-grid span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 50%; border: 1px solid #dabb7c; color: var(--ko-gold); font-family: var(--ko-serif); font-size: 18px; }
.ko-guide-grid strong { font-family: var(--ko-serif); font-size: 18px; font-weight: 600; }
.ko-guide-grid small { margin-top: 5px; color: var(--ko-muted); line-height: 1.55; }

/* Breadcrumbs */
.ko-page-main { min-height: 60vh; }
.ko-breadcrumbs { padding: 13px 0; color: #8b837b; font-size: 12px; border-bottom: 1px solid #f3eee9; }
.ko-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0; }
.ko-breadcrumbs li { display: flex; align-items: center; }
.ko-breadcrumbs li + li::before { content: "›"; margin: 0 9px; color: #b7a995; }
.ko-breadcrumbs a { text-decoration: none; }

/* Article layout */
.ko-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-top: 34px; padding-bottom: 58px; }
.ko-content-column { min-width: 0; }
.ko-article-header { margin-bottom: 24px; }
.ko-article-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 13px; color: var(--ko-muted); font-size: 12px; }
.ko-article-header h1 { margin: 0 0 20px; font-family: var(--ko-serif); font-weight: 500; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.55; letter-spacing: .04em; }
.ko-article-header h1::after { content: ""; display: block; width: 42px; height: 1px; margin-top: 16px; background: var(--ko-gold); }
.ko-article-header__bottom { display: flex; gap: 22px; align-items: flex-end; justify-content: space-between; }
.ko-article-lead { flex: 1 1 auto; margin: 0; color: #554d47; font-size: 15px; line-height: 2; }
.ko-share { flex: 0 0 auto; display: flex; gap: 10px; }
.ko-share a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #d4b879; border-radius: 50%; color: var(--ko-gold-dark); text-decoration: none; font-family: Georgia, serif; font-size: 14px; font-weight: 700; }
.ko-share a:last-child { font-family: var(--ko-sans); font-size: 9px; }
.ko-article-hero { margin: 0 0 30px; border-radius: 6px; overflow: hidden; background: #f6f4f0; }
.ko-article-hero img { width: 100%; max-height: 470px; object-fit: cover; }

.ko-entry-content { font-size: 15px; line-height: 2; }
.ko-entry-content > *:first-child { margin-top: 0; }
.ko-entry-content p { margin: 0 0 1.55em; }
.ko-entry-content h2 { margin: 2.5em 0 .9em; padding-bottom: .62em; border-bottom: 1px dashed #e8abb8; font-family: var(--ko-serif); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.55; }
.ko-entry-content h3 { margin: 2em 0 .8em; padding-left: 13px; border-left: 3px solid var(--ko-gold); font-family: var(--ko-serif); font-size: 21px; font-weight: 600; }
.ko-entry-content h4 { margin: 1.8em 0 .7em; font-size: 17px; }
.ko-entry-content ul, .ko-entry-content ol { margin: 0 0 1.6em; padding-left: 1.55em; }
.ko-entry-content li { margin-bottom: .4em; }
.ko-entry-content li::marker { color: var(--ko-rose); }
.ko-entry-content blockquote { margin: 1.8em 0; padding: 22px 26px; border-left: 3px solid var(--ko-gold); background: #fbf8f3; color: #5f554d; }
.ko-entry-content a { color: #80601f; font-weight: 600; }
.ko-entry-content img { border-radius: 6px; }
.ko-entry-content table { border-collapse: collapse; width: 100%; }
.ko-entry-content th, .ko-entry-content td { padding: 12px 14px; border: 1px solid #e8ded2; }
.ko-entry-content th { background: #faf6ef; }

/* Gutenberg custom block styles */
.wp-block-group.is-style-kochoran-point,
.wp-block-group.is-style-kochoran-check,
.wp-block-group.is-style-kochoran-note,
.wp-block-group.is-style-kochoran-warning,
.wp-block-group.is-style-kochoran-summary {
  position: relative; margin: 26px 0; padding: 30px 28px 22px; border-radius: 6px; border: 1px solid transparent; overflow: hidden;
}
.wp-block-group.is-style-kochoran-point { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; background: linear-gradient(135deg, #fff6f8, #fff); border-color: #f1d9df; }
.wp-block-group.is-style-kochoran-point::before { content: "POINT"; position: absolute; top: 9px; left: 20px; color: var(--ko-rose); font-family: Georgia, serif; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.wp-block-group.is-style-kochoran-point > img, .wp-block-group.is-style-kochoran-point > figure { width: min(190px, 32vw); margin: 0; }
.wp-block-group.is-style-kochoran-point strong { color: #b96177; }
.wp-block-group.is-style-kochoran-check { background: #f7fbf8; border-color: #d9eadd; }
.wp-block-group.is-style-kochoran-check::before { content: "CHECK"; position: absolute; top: 9px; left: 20px; color: #648970; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.wp-block-group.is-style-kochoran-note { background: #f8f7f4; border-color: #e7e0d6; }
.wp-block-group.is-style-kochoran-note::before { content: "NOTE"; position: absolute; top: 9px; left: 20px; color: #8d7d66; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.wp-block-group.is-style-kochoran-warning { background: #fff9ef; border-color: #ecd7a8; }
.wp-block-group.is-style-kochoran-warning::before { content: "注意"; position: absolute; top: 9px; left: 20px; color: #9c7028; font-size: 12px; font-weight: 800; }
.wp-block-group.is-style-kochoran-summary { background: linear-gradient(135deg, #fbf6e9, #fff); border-color: #dfc995; }
.wp-block-group.is-style-kochoran-summary::before { content: "まとめ"; position: absolute; top: 9px; left: 20px; color: #8b6a2b; font-size: 12px; font-weight: 800; }
.is-style-kochoran-marker-pink, .marker-pink { display: inline; background: linear-gradient(transparent 58%, #f8d9e1 58%); padding-inline: .08em; }
.is-style-kochoran-marker-gold, .marker-gold { display: inline; background: linear-gradient(transparent 58%, #f3e4b8 58%); padding-inline: .08em; }
p.is-style-kochoran-lead { margin: 0 0 2em; padding: 16px 18px; border-left: 2px solid var(--ko-gold); background: #fcfaf6; font-size: 16px; line-height: 2; }
.ko-entry-content h2.is-style-kochoran-heading-line, h2.is-style-kochoran-heading-line { border-bottom: 2px solid #e8d7b8; position: relative; }
.ko-entry-content h2.is-style-kochoran-heading-line::after, h2.is-style-kochoran-heading-line::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 70px; height: 2px; background: var(--ko-gold); }
.ko-entry-content h2.is-style-kochoran-heading-number { display: flex; align-items: center; gap: 14px; }
.ko-entry-content h2.is-style-kochoran-heading-number > span { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ko-rose); color: #fff; font-family: var(--ko-sans); font-size: 13px; }
.is-style-kochoran-outline-buttons .wp-block-button__link { background: #fff !important; color: var(--ko-gold-dark) !important; border: 1px solid #d6ba7e; }
.wp-block-table.is-style-kochoran-comparison { overflow-x: auto; }
.wp-block-table.is-style-kochoran-comparison table { min-width: 680px; }
.wp-block-table.is-style-kochoran-comparison thead { background: #f8f4ee; }

/* Utility content boxes */
.ko-box { margin: 26px 0; padding: 22px 24px; border: 1px solid var(--ko-border); border-radius: 8px; background: #fff; }
.ko-box strong { display: block; margin-bottom: 6px; font-family: var(--ko-serif); font-size: 18px; }
.ko-box p:last-of-type { margin-bottom: 14px; }
.ko-box--summary { background: linear-gradient(135deg, #fffaf0, #fff); border-color: #dbc48e; }
.ko-box--warning { background: #fff9ef; border-color: #ead2a1; }
.ko-box--good { background: #f6fbf7; border-color: #cfe3d4; }
.ko-box--note { background: #faf8f4; }
.ko-two-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Hub cards */
.ko-hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 24px 0 34px; }
.ko-hub-card { display: grid; grid-template-columns: 46px 1fr; gap: 12px 15px; align-items: center; padding: 20px; border: 1px solid #eadfce; border-radius: 8px; background: #fff; text-decoration: none; box-shadow: 0 5px 16px rgba(80,59,31,.03); }
.ko-hub-card:hover { border-color: #d4b779; box-shadow: var(--ko-shadow); }
.ko-hub-card__icon { grid-row: 1 / span 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #dabb7c; border-radius: 50%; color: var(--ko-gold); }
.ko-hub-card strong { font-family: var(--ko-serif); font-size: 17px; }
.ko-hub-card small { color: var(--ko-muted); line-height: 1.5; }

/* Shop page */
.ko-shop-summary { display: grid; grid-template-columns: 180px 1fr; gap: 26px; align-items: center; margin: 0 0 28px; padding: 20px; border: 1px solid #efd9dd; border-radius: 10px; background: linear-gradient(135deg, #fff8fa, #fff); }
.ko-shop-summary img { width: 180px; aspect-ratio: 1.08/1; object-fit: cover; border-radius: 6px; }
.ko-shop-summary h2 { margin: 8px 0; padding: 0; border: 0; font-family: var(--ko-serif); font-size: 27px; }
.ko-shop-summary p { margin: 0; color: var(--ko-muted); }

/* Sidebar */
.ko-sidebar { position: sticky; top: 120px; display: grid; gap: 20px; }
.admin-bar .ko-sidebar { top: 152px; }
.ko-sidebar-card { padding: 24px; border: 1px solid #e5d7c3; border-radius: 8px; background: #fff; box-shadow: 0 4px 18px rgba(88,64,35,.025); }
.ko-sidebar-card .widget-title, .ko-sidebar-card > h2 { margin: 0 0 14px; text-align: center; font-family: var(--ko-serif); font-size: 21px; font-weight: 500; }
.ko-profile-card { text-align: center; background: linear-gradient(180deg, #fff, #fffdf9); }
.ko-profile-card__image { width: 120px; height: 90px; margin: -8px auto 10px; object-fit: cover; object-position: center; border-radius: 50%; }
.ko-profile-card p { color: var(--ko-muted); font-size: 13px; }
.ko-ornament { display: block; margin: -8px 0 8px; color: var(--ko-gold); font-size: 24px; }
.ko-sidebar-links, .widget ul { list-style: none; margin: 0; padding: 0; }
.ko-sidebar-links li, .widget li { border-top: 1px solid #eee8df; }
.ko-sidebar-links li:first-child, .widget li:first-child { border-top: 0; }
.ko-sidebar-links a, .widget li a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; text-decoration: none; font-size: 13px; }
.ko-sidebar-links a::after { content: "›"; color: var(--ko-gold); }
.ko-popular-list { list-style: decimal-leading-zero; margin: 0; padding-left: 28px; }
.ko-popular-list li { padding: 8px 0; border-bottom: 1px solid #f0ebe4; color: #a98a4d; }
.ko-popular-list li::marker { font-family: Georgia, serif; font-size: 12px; }
.ko-popular-list a { display: block; color: var(--ko-ink); text-decoration: none; font-size: 12px; line-height: 1.6; }
.ko-sidebar-product { background: linear-gradient(135deg, #fff4f7, #fff); border-color: #f0d3da; }
.ko-sidebar-product > h2 { margin-top: 8px; text-align: left; font-size: 18px; }
.ko-sidebar-product__row { display: grid; grid-template-columns: 1fr 115px; gap: 8px; align-items: end; }
.ko-sidebar-product__row p { font-size: 12px; line-height: 1.7; }
.ko-sidebar-product__row img { width: 115px; height: 130px; object-fit: cover; object-position: top; border-radius: 6px; }

/* Related / post cards / listings */
.ko-related { padding: 40px 0 70px; border-top: 1px solid #f0eae2; }
.ko-related .ko-section-title { margin-bottom: 26px; }
.ko-post-card { overflow: hidden; border: 1px solid #eee4da; border-radius: 8px; background: #fff; transition: transform .2s ease, box-shadow .2s ease; }
.ko-post-card:hover { transform: translateY(-2px); box-shadow: var(--ko-shadow); }
.ko-post-card__image { display: block; overflow: hidden; background: #f7f3ef; }
.ko-post-card__image img { width: 100%; aspect-ratio: 1.35/1; object-fit: cover; transition: transform .3s ease; }
.ko-post-card:hover .ko-post-card__image img { transform: scale(1.02); }
.ko-post-card__body { padding: 14px 16px 18px; }
.ko-post-card__meta { margin: 0 0 5px; color: var(--ko-muted); font-size: 11px; }
.ko-post-card h2, .ko-post-card h3 { margin: 0; font-family: var(--ko-serif); font-size: 17px; line-height: 1.6; }
.ko-post-card h2 a, .ko-post-card h3 a { text-decoration: none; }
.ko-post-card__body > p:last-child { margin: 9px 0 0; color: var(--ko-muted); font-size: 13px; }
.ko-latest { background: #fff; }
.ko-latest .ko-section-title { margin-bottom: 28px; }
.ko-listing { padding: 44px 0 72px; }
.ko-listing-header { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.ko-listing-header h1 { margin: 10px 0; font-family: var(--ko-serif); font-size: clamp(30px, 4vw, 46px); font-weight: 500; }
.ko-listing-header p, .ko-archive-description { color: var(--ko-muted); }
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; gap: 8px; justify-content: center; }
.page-numbers { min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--ko-border); border-radius: 50px; text-decoration: none; }
.page-numbers.current { background: var(--ko-gold); border-color: var(--ko-gold); color: #fff; }

/* Search */
.ko-search-form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto 30px; }
.ko-search-form label { flex: 1; }
.ko-search-field { width: 100%; height: 46px; padding: 8px 16px; border: 1px solid #ddd1c0; border-radius: 999px; background: #fff; }

/* Footer */
.ko-site-footer { background: #faf8f4; border-top: 1px solid #eee5da; }
.ko-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 42px; padding-block: 52px 42px; }
.ko-footer-brand .ko-brand img, .ko-footer-brand .custom-logo { width: 240px; }
.ko-footer-brand p { max-width: 340px; color: var(--ko-muted); font-size: 13px; }
.ko-site-footer h2 { margin: 0 0 12px; font-family: var(--ko-serif); font-size: 17px; font-weight: 600; }
.ko-site-footer ul { list-style: none; margin: 0; padding: 0; }
.ko-site-footer li { margin: 5px 0; }
.ko-site-footer li a { color: #645b54; text-decoration: none; font-size: 12px; }
.ko-footer-bottom { padding: 18px 0; border-top: 1px solid #eee5da; color: #8b8177; font-size: 11px; text-align: center; }
.ko-footer-bottom p { margin: 3px 0; }
.ko-ad-disclosure { font-weight: 600; }

/* 404 / comments */
.ko-404 { padding: 110px 0 130px; text-align: center; }
.ko-404 h1 { font-family: var(--ko-serif); font-size: clamp(30px, 4vw, 48px); font-weight: 500; }
.ko-404-actions { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.ko-comments { margin-top: 42px; padding-top: 32px; border-top: 1px solid #eee5dc; }
.ko-comments h2 { font-family: var(--ko-serif); }
.comment-list { padding-left: 0; list-style: none; }
.comment-body { padding: 18px; margin: 12px 0; background: #faf8f4; border-radius: 8px; }

/* Front extra content */
.ko-front-extra { background: #fff; }

/* Performance-friendly below-fold containment */
@supports (content-visibility: auto) {
  .ko-front-main > .ko-section:nth-of-type(n+4), .ko-related { content-visibility: auto; contain-intrinsic-size: 1px 700px; }
}

@media (min-width: 1400px) {
  .ko-hero { width: min(calc(100% - 64px), 1320px); grid-template-columns: minmax(420px, 500px) minmax(0, 1fr); column-gap: 56px; }
  .ko-hero__copy { padding-left: 42px; padding-right: 0; }
  .ko-hero__title { font-size: 64px; }
}

/* Responsive */
@media (max-width: 1080px) {
  .ko-container { width: min(calc(100% - 36px), var(--ko-container)); }
  .ko-header-inner { min-height: 82px; }
  .ko-brand img, .custom-logo { width: 245px; }
  .ko-nav-list { gap: 20px; }
  .ko-nav-list a { font-size: 12px; }
  .ko-content-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 30px; }
  .ko-reason { grid-template-columns: 74px 1fr; }
  .ko-reason__icon { width: 70px; height: 70px; font-size: 27px; }
  .ko-scene-section { grid-template-columns: 30% 70%; }
  .ko-scene-section__content { padding-left: 28px; }
  .ko-shop-detail { grid-template-columns: 130px 1fr; }
  .ko-shop-detail__cta { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 14px; text-align: left; }
  .ko-shop-detail__cta p { display: none; }
}

@media (max-width: 900px) {
  .admin-bar .ko-site-header { top: 46px; }
  .ko-menu-toggle { display: inline-flex; }
  .ko-primary-nav { position: fixed; top: 82px; right: 0; left: 0; max-height: calc(100vh - 82px); overflow: auto; padding: 14px 22px 28px; background: rgba(255,255,255,.985); border-top: 1px solid var(--ko-border); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s ease; }
  .admin-bar .ko-primary-nav { top: 128px; }
  .ko-primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .ko-nav-list { display: block; }
  .ko-nav-list a { display: block; padding: 12px 4px; font-size: 14px; border-bottom: 1px solid #f0ebe5; }
  .ko-nav-list .current-menu-item > a::after, .ko-nav-list .current_page_item > a::after { display: none; }
  .ko-nav-list .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 0 18px; border: 0; box-shadow: none; }
  .ko-nav-list .sub-menu a { padding: 9px 4px; }

  .ko-hero { width: min(calc(100% - 36px), 1180px); min-height: 460px; grid-template-columns: minmax(280px, 41%) minmax(0, 59%); column-gap: 20px; }
  .ko-hero__copy { padding: 48px 0 52px 24px; }
  .ko-hero__title { margin-bottom: 18px; font-size: clamp(32px, 4.5vw, 44px); line-height: 1.28; }
  .ko-hero__title-line { margin-bottom: 10px; }
  .ko-hero__lead { max-width: 100%; margin-bottom: 24px; font-size: 15px; line-height: 1.9; }
  .ko-hero__visual { min-height: 460px; }
  .ko-reason-grid, .ko-ranking-grid { grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
  .ko-reason { grid-template-columns: 76px 1fr; }
  .ko-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ko-scene-section { display: block; }
  .ko-scene-section__image { height: 250px; }
  .ko-scene-section__content { padding: 42px 28px 48px; }
  .ko-content-layout { grid-template-columns: 1fr; }
  .ko-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .ko-sidebar-card:first-child, .ko-sidebar-card:last-child { grid-column: span 1; }
  .ko-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .ko-footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .ko-container { width: min(calc(100% - 28px), var(--ko-container)); }
  .ko-site-header { position: sticky; }
  .ko-header-inner { min-height: 72px; }
  .ko-brand img, .custom-logo { width: 215px; max-height: 62px; }
  .ko-primary-nav { top: 72px; }
  .admin-bar .ko-primary-nav { top: 118px; }

  .ko-hero { width: 100%; display: flex; flex-direction: column-reverse; min-height: 0; margin-top: 0; background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%); }
  .ko-hero__visual { min-height: 310px; }
  .ko-hero__visual::before { inset: auto 0 0; width: 100%; height: 26%; background: linear-gradient(0deg, #faf9f7, transparent); }
  .ko-hero__visual img { object-position: center 43%; }
  .ko-hero__copy { padding: 30px 24px 44px; align-items: center; text-align: center; }
  .ko-hero__title { text-align: center; margin-bottom: 14px; font-size: clamp(30px, 9.5vw, 38px); line-height: 1.28; letter-spacing: .02em; }
  .ko-hero__title-line { margin-bottom: 8px; white-space: normal; }
  .ko-hero__lead { max-width: 100%; margin-bottom: 24px; font-size: 15px; }

  .ko-section { padding: 46px 0; }
  .ko-section-title { font-size: 25px; }
  .ko-reason-grid { gap: 26px; }
  .ko-reason { grid-template-columns: 66px 1fr; gap: 15px; }
  .ko-reason__icon { width: 62px; height: 62px; font-size: 24px; }
  .ko-reason h3 { font-size: 17px; }
  .ko-card-grid--4, .ko-card-grid--3 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .ko-product-card h3 { font-size: 16px; }
  .ko-product-card p { min-height: 0; font-size: 12px; line-height: 1.65; }
  .ko-product-card .ko-button { width: 100%; padding-inline: 10px; }
  .ko-scene-grid { grid-template-columns: 1fr 1fr; }
  .ko-scene-grid strong { font-size: 15px; }
  .ko-guide-grid { grid-template-columns: 1fr 1fr; }
  .ko-guide-grid > a, .ko-guide-grid > div { min-height: 130px; padding: 16px 10px; }
  .ko-ranking-grid { gap: 14px; }
  .ko-rank-card { grid-template-columns: 94px 1fr; padding: 16px; }
  .ko-rank-card img { width: 94px; height: 94px; }
  .ko-rank-card--vertical { display: flex; }
  .ko-rank-card--vertical img { width: 100%; height: auto; }

  .ko-breadcrumbs { white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ko-breadcrumbs::-webkit-scrollbar { display: none; }
  .ko-content-layout { padding-top: 24px; padding-bottom: 42px; }
  .ko-article-header h1 { font-size: 30px; line-height: 1.52; }
  .ko-article-header__bottom { display: block; }
  .ko-share { margin-top: 16px; }
  .ko-article-hero { margin-inline: -14px; border-radius: 0; }
  .ko-entry-content { font-size: 15px; line-height: 1.95; }
  .ko-entry-content h2 { font-size: 23px; }
  .wp-block-group.is-style-kochoran-point { display: block; padding: 34px 20px 20px; }
  .wp-block-group.is-style-kochoran-point > img, .wp-block-group.is-style-kochoran-point > figure { width: 100%; margin-top: 14px; }
  .ko-hub-grid { grid-template-columns: 1fr; }
  .ko-two-boxes { grid-template-columns: 1fr; }
  .ko-shop-summary { grid-template-columns: 110px 1fr; gap: 14px; padding: 15px; }
  .ko-shop-summary img { width: 110px; }
  .ko-shop-summary h2 { font-size: 20px; }
  .ko-shop-detail { grid-template-columns: 90px 1fr; gap: 12px; padding: 13px; }
  .ko-shop-detail__image img { width: 90px; }
  .ko-shop-detail__body h3 { font-size: 19px; }
  .ko-shop-detail__body ul { display: none; }
  .ko-shop-detail__cta { grid-column: 1 / -1; }

  .ko-sidebar { display: block; }
  .ko-sidebar-card { margin-bottom: 16px; }
  .ko-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ko-footer-brand { grid-column: 1 / -1; }
  .ko-footer-grid > div:last-child { grid-column: auto; }
  .ko-404-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 420px) {
  .ko-card-grid--4, .ko-card-grid--3 { grid-template-columns: 1fr; }
  .ko-product-card { display: grid; grid-template-columns: 118px 1fr; gap: 4px 14px; align-items: start; }
  .ko-product-card__image { grid-row: 1 / span 4; margin: 0; }
  .ko-product-card__image img { aspect-ratio: 1/1.15; }
  .ko-product-card h3 { margin-top: 4px; }
  .ko-product-card .ko-button { width: auto; justify-self: start; }
  .ko-footer-grid { grid-template-columns: 1fr; }
  .ko-footer-grid > div:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
