/*
Theme Name: StudioKiki
Theme URI: https://example.com/studiokiki
Author: StudioKiki
Author URI: https://example.com/
Description: StudioKiki personal site theme for profile, latest posts, category archives, contact pages.
Version: 5.7.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studiokiki
Tags: blog, portfolio, one-column, custom-menu, featured-images, block-styles
*/

:root {
  --sk-bg: #f5f2e8;
  --sk-ink: #111111;
  --sk-muted: #666666;
  --sk-card: #ffffff;
  --sk-line: #ded8c9;
  --sk-accent: #f2c230;
  --sk-dark: #151515;
  --sk-radius: 24px;
  --sk-shadow: 0 24px 50px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--sk-bg);
  color: var(--sk-ink);
  line-height: 1.8;
  overflow-x: hidden;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .78; }
img { max-width: 100%; height: auto; display: block; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 232, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sk-line);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 950;
  letter-spacing: -0.04em;
  font-size: 25px;
  white-space: nowrap;
}
.logo span {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--sk-muted);
  font-weight: 800;
  text-transform: uppercase;
}

.site-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.site-logo-img {
  display: block;
  width: auto;
  height: 54px;
  max-width: min(320px, 56vw);
  object-fit: contain;
}
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.custom-logo {
  width: auto;
  height: 54px;
  max-width: min(320px, 56vw);
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 800;
}
.nav ul { list-style: none; display: flex; align-items: center; gap: 22px; padding: 0; margin: 0; }
.nav .menu-item-highlight > a,
.nav .sk-menu-button,
.nav .button {
  background: var(--sk-ink);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
}
.menu-toggle { display: none; }

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 76px 24px 56px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 10px;
  background: var(--sk-accent);
  border-radius: 999px;
  display: inline-block;
}
.hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.08em;
  font-weight: 950;
}
.hero h1 span,
.hero h1 strong {
  display: block;
}
.hero-title-lines .hero-line {
  position: relative;
  width: fit-content;
  padding-right: .08em;
  z-index: 0;
}
.hero-title-lines .hero-line::after {
  content: "";
  position: absolute;
  left: .02em;
  right: .08em;
  bottom: .08em;
  height: .24em;
  background: var(--sk-accent);
  border-radius: 999px;
  opacity: .95;
  z-index: -1;
}
.hero-title-lines .hero-line-1::after { width: 66%; }
.hero-title-lines .hero-line-2::after { width: 64%; }
.hero-title-lines .hero-line-3::after { width: 63%; }
.hero-title-lines .hero-line-4::after { width: 68%; }
.hero-copy {
  margin-top: 28px;
  font-size: 17px;
  color: #333;
  max-width: 590px;
}
.hero-actions,
.sk-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 2px solid var(--sk-ink);
  background: var(--sk-ink);
  color: #fff;
  cursor: pointer;
}
.btn.alt { background: transparent; color: var(--sk-ink); }
.btn.accent { background: var(--sk-accent); color: var(--sk-ink); border-color: var(--sk-accent); }

.hero-profile {
  position: relative;
  min-height: 430px;
  display: grid;
  align-content: center;
  padding: 18px 0 18px 36px;
}
.profile-card-main {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 34px;
  padding: 32px;
  box-shadow: 0 30px 70px rgba(0,0,0,.12);
  overflow: hidden;
}
.profile-card-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(242,194,48,.68) 0 16%, transparent 17%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.72));
  z-index: -1;
}
.profile-card-main::after {
  content: "StudioKiki";
  position: absolute;
  right: -10px;
  bottom: -26px;
  font-size: 74px;
  line-height: 1;
  letter-spacing: -.09em;
  font-weight: 950;
  color: rgba(17,17,17,.045);
  pointer-events: none;
}
.profile-topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 950;
  color: var(--sk-muted);
}
.profile-topline::before {
  content: "";
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: var(--sk-accent);
}
.profile-identity {
  display: flex;
  align-items: center;
  gap: 18px;
}
.profile-avatar {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--sk-accent);
  border: 4px solid #fff;
  box-shadow: 0 18px 34px rgba(0,0,0,.15);
  flex: 0 0 auto;
}
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.profile-name {
  margin: 0;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: -.07em;
  font-weight: 950;
}
.profile-role {
  margin: 8px 0 0;
  color: var(--sk-muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
}
.profile-copy {
  margin: 28px 0 0;
  color: #333;
  font-size: 15px;
  line-height: 1.9;
  max-width: 430px;
}
.profile-links {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}
.profile-links a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(17,17,17,.11);
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.profile-links a::after {
  content: "→";
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sk-ink);
  color: #fff;
  flex: 0 0 auto;
}
.profile-links a:hover {
  opacity: 1;
  transform: translateX(4px);
}
.profile-links span {
  color: var(--sk-muted);
  font-size: 12px;
  letter-spacing: .08em;
  margin-right: auto;
  order: -1;
  min-width: 28px;
}





.hub-section { padding-top: 0; }
.hub-head {
  border-top: 0;
  padding-top: 0;
  align-items: center;
  margin-bottom: 22px;
}
.hub-head p {
  margin: 0;
  color: var(--sk-muted);
  font-weight: 700;
  font-size: 14px;
}
.link-hub {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 18px;
}
.hub-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 0%, rgba(242,194,48,.33) 0 22%, transparent 23%),
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,255,255,.74));
  border: 1px solid rgba(17,17,17,.1);
  box-shadow: 0 24px 54px rgba(0,0,0,.08);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hub-card:hover {
  opacity: 1;
  transform: translateY(-6px);
  border-color: rgba(17,17,17,.22);
  box-shadow: 0 34px 70px rgba(0,0,0,.13);
}
.hub-card-primary {
  color: #fff;
  border-color: rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 100% 0%, rgba(242,194,48,.95) 0 24%, transparent 25%),
    linear-gradient(135deg, #111 0%, #1b1b1b 54%, #2b250f 100%);
}
.hub-card::after {
  content: "";
  position: absolute;
  inset: auto -50px -80px auto;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(242,194,48,.22);
  z-index: -1;
  transition: transform .22s ease;
}
.hub-card:hover::after { transform: scale(1.16); }
.hub-bg-text {
  position: absolute;
  right: -10px;
  bottom: -24px;
  font-size: 86px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.09em;
  color: rgba(255,255,255,.055);
  pointer-events: none;
}
.hub-visual {
  width: 86px;
  height: 86px;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17,17,17,.1);
  box-shadow: 0 16px 30px rgba(0,0,0,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hub-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hub-visual-logo {
  width: min(260px, 76%);
  height: 86px;
  padding: 14px 18px;
  border-radius: 22px;
}
.hub-visual-logo img { object-fit: contain; }
.hub-profile {
  border-radius: 999px;
  width: 92px;
  height: 92px;
}
.hub-monogram {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  font-size: 42px;
  font-weight: 950;
  color: var(--sk-ink);
  background: linear-gradient(145deg, #fff, #f2c230);
}
.hub-body {
  align-self: end;
  display: grid;
  gap: 6px;
  min-width: 0;
}
.hub-kicker {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sk-muted);
}
.hub-card-primary .hub-kicker { color: rgba(255,255,255,.72); }
.hub-card strong {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.07em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.hub-card:not(.hub-card-primary) strong { font-size: clamp(26px, 2.7vw, 34px); }
.hub-card em {
  position: relative;
  z-index: 1;
  color: var(--sk-muted);
  font-size: 14px;
  line-height: 1.55;
  font-style: normal;
  font-weight: 800;
}
.hub-card-primary em { color: rgba(255,255,255,.78); }
.hub-meta {
  align-self: end;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(17,17,17,.08);
  color: var(--sk-muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .02em;
}
.hub-card-primary .hub-meta {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
}
.hub-arrow {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 22px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(17,17,17,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
}
.hub-card-primary .hub-arrow { background: rgba(255,255,255,.18); }
.hub-play {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff0033;
  color: #fff;
  font-size: 17px;
  box-shadow: 0 16px 34px rgba(255,0,51,.28);
}
.hub-sub .hub-play { background: var(--sk-ink); box-shadow: 0 16px 34px rgba(17,17,17,.2); }

.section,
.content-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
  border-top: 2px solid var(--sk-ink);
  padding-top: 22px;
}
.section-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}
.section-title span {
  display: block;
  font-size: 13px;
  color: var(--sk-muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card,
.post-card,
.entry-card,
.sk-card {
  background: var(--sk-card);
  border: 1px solid var(--sk-line);
  border-radius: var(--sk-radius);
  padding: 24px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-card h3,
.post-card h3,
.entry-card h2,
.entry-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.05em;
}
.feature-card p,
.post-card p,
.entry-card p { margin: 0; color: var(--sk-muted); font-size: 14px; }
.tag,
.cat-links a {
  align-self: flex-start;
  background: var(--sk-accent);
  color: var(--sk-ink);
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 22px;
  display: inline-flex;
}
.setup-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 18px; }
.setup-main {
  background: var(--sk-card);
  border: 1px solid var(--sk-line);
  border-radius: 28px;
  padding: 30px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.setup-main h3 { font-size: 38px; line-height: 1.15; letter-spacing: -0.07em; margin: 0; }
.setup-main p { color: var(--sk-muted); margin: 22px 0 0; }
.setup-list { display: grid; gap: 12px; }
.setup-row {
  background: var(--sk-card);
  border: 1px solid var(--sk-line);
  border-radius: 20px;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.setup-row b { font-size: 18px; }
.setup-row span { color: var(--sk-muted); font-size: 13px; }
.things-main h3 { max-width: 560px; }
.things-layout .setup-row:hover { transform: translateY(-2px); }

.post-thumb,
.entry-thumb {
  height: 150px;
  border-radius: 18px;
  background: repeating-linear-gradient(135deg, #111 0, #111 12px, var(--sk-accent) 12px, var(--sk-accent) 24px);
  margin-bottom: 18px;
  overflow: hidden;
}
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card:nth-child(2n) .post-thumb { background: linear-gradient(135deg, #222, #777); }
.post-card:nth-child(3n) .post-thumb { background: linear-gradient(135deg, var(--sk-accent), #fff4bd); }
.contact-band { max-width: 1120px; margin: 44px auto 0; padding: 0 24px 70px; }
.contact-inner {
  background: var(--sk-dark);
  color: #fff;
  border-radius: 32px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.contact-inner h2 { margin: 0; font-size: 40px; letter-spacing: -0.06em; line-height: 1.2; }
.contact-inner p { margin: 14px 0 0; color: #d7d7d7; }
.contact-inner .btn { background: #fff; color: var(--sk-ink); border-color: #fff; }

.page-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 30px;
}
.page-title {
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.08em;
  font-weight: 950;
}
.archive-description { color: var(--sk-muted); max-width: 720px; }
.entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.entry-meta { color: var(--sk-muted); font-size: 13px; margin-bottom: 10px; font-weight: 700; }
.entry-content,
.comment-content { font-size: 16px; }
.entry-content a { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--sk-accent); }
.entry-content h2,
.entry-content h3 { letter-spacing: -0.04em; line-height: 1.35; margin-top: 2em; }
.entry-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 8px solid var(--sk-accent);
  background: #fff;
  border-radius: 0 16px 16px 0;
}
.single-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px 70px;
}
.single-article {
  background: var(--sk-card);
  border: 1px solid var(--sk-line);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 48px);
}
.single-article .entry-thumb { height: auto; margin: 0 0 28px; }
.single-article .entry-thumb img { height: auto; }
.pagination,
.nav-links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 30px 0; }
.page-numbers,
.nav-links a,
.nav-links span { padding: 9px 14px; border: 1px solid var(--sk-line); background: #fff; border-radius: 999px; font-weight: 800; }
.current { background: var(--sk-accent); color: var(--sk-ink); }

.site-footer { background: var(--sk-dark); color: #fff; padding: 30px 24px; font-size: 13px; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; color: #aaa; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }

.alignwide { max-width: 1120px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--sk-muted); font-size: 13px; }
.gallery-caption { color: var(--sk-muted); }
.bypostauthor { outline: 2px solid var(--sk-accent); }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .header-inner { align-items: center; }
  .logo span { display: none; }
  .site-logo-img,
  .custom-logo { height: 44px; max-width: 220px; }
  .menu-toggle {
    display: inline-flex;
    border: 2px solid var(--sk-ink);
    border-radius: 999px;
    padding: 7px 12px;
    background: transparent;
    font-weight: 900;
  }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    background: #fff;
    border: 1px solid var(--sk-line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--sk-shadow);
  }
  .nav.is-open { display: block; }
  .nav ul,
  .nav { flex-direction: column; align-items: stretch; gap: 10px; }
  .nav a { display: block; padding: 8px 6px; }
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-profile { min-height: auto; padding: 0; }
  .profile-card-main { padding: 26px; border-radius: 28px; }
  .profile-name { font-size: 34px; }
  .hub-card { min-height: 150px; }
  .grid-3,
  .setup-layout,
  .contact-inner,
  .entry-grid,
  .link-hub { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .contact-inner { padding: 30px; }
  .footer-inner { flex-direction: column; }
}

/* v1.8: latest posts and category latest */
.latest-section { padding-top: 24px; }
.section-more,
.read-link {
  font-weight: 900;
  border-bottom: 2px solid var(--sk-accent);
}
.section-note {
  max-width: 460px;
  margin: 0;
  color: var(--sk-muted);
  font-size: 14px;
}
.latest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 18px;
  align-items: stretch;
}
.latest-feature {
  background: var(--sk-dark);
  color: #fff;
  border-radius: 34px;
  overflow: hidden;
  min-height: 520px;
  display: grid;
  grid-template-rows: minmax(250px, 1fr) auto;
  box-shadow: var(--sk-shadow);
}
.latest-feature-thumb,
.latest-mini-thumb,
.category-post-thumb {
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #222, var(--sk-accent));
}
.latest-feature-thumb img,
.latest-mini-thumb img,
.category-post-thumb img,
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.latest-feature:hover img,
.latest-mini:hover img,
.category-post-item:hover img { transform: scale(1.04); }
.latest-feature-body { padding: clamp(24px, 4vw, 38px); }
.latest-feature .tag { margin-bottom: 16px; }
.latest-feature h3 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.07em;
}
.latest-feature p { margin: 0 0 20px; color: #ddd; }
.latest-feature .read-link { color: #fff; }
.latest-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.latest-mini {
  background: #fff;
  border: 1px solid var(--sk-line);
  border-radius: 24px;
  padding: 14px;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 118px;
}
.latest-mini-thumb {
  height: 92px;
  border-radius: 18px;
}
.latest-mini h3 {
  margin: 4px 0 6px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.04em;
}
.latest-mini time,
.category-post-item time {
  color: var(--sk-muted);
  font-size: 12px;
  font-weight: 800;
}
.mini-cat {
  display: inline-flex;
  color: var(--sk-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 900;
}
.category-latest-section { padding-top: 42px; }
.category-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.category-panel {
  background: #fff;
  border: 1px solid var(--sk-line);
  border-radius: 28px;
  padding: 22px;
  min-height: 320px;
}
.category-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--sk-line);
}
.category-panel-head p {
  margin: 0 0 4px;
  color: var(--sk-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.category-panel-head h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.06em;
}
.category-panel-head a {
  white-space: nowrap;
  font-weight: 900;
  background: var(--sk-accent);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
}
.category-post-list {
  display: grid;
  gap: 12px;
}
.category-post-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.category-post-thumb {
  height: 74px;
  border-radius: 16px;
}
.category-post-item h4 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -0.03em;
}
.empty-note {
  margin: 0;
  color: var(--sk-muted);
  font-size: 14px;
}
@media (max-width: 900px) {
  .latest-layout,
  .category-latest-grid { grid-template-columns: 1fr; }
  .latest-feature { min-height: auto; }
  .latest-feature-thumb { min-height: 230px; }
  .latest-mini { grid-template-columns: 110px minmax(0, 1fr); }
  .latest-mini-thumb { height: 86px; }
  .section-note { margin-top: 8px; }
}
@media (max-width: 540px) {
  .latest-mini,
  .category-post-item { grid-template-columns: 1fr; }
  .latest-mini-thumb,
  .category-post-thumb { height: 160px; }
}


/* v2.0: mobile image stability fixes */
img {
  max-width: 100%;
}

.profile-card-main,
.latest-feature,
.latest-mini,
.category-panel,
.category-post-item {
  min-width: 0;
}

.latest-feature-thumb,
.latest-mini-thumb,
.category-post-thumb,
.post-thumb,
.entry-thumb {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
}

.latest-feature-thumb {
  aspect-ratio: 16 / 9;
  min-height: 0;
  height: auto;
}

.latest-mini-thumb {
  aspect-ratio: 4 / 3;
  height: auto;
}

.category-post-thumb {
  aspect-ratio: 1 / 1;
  height: auto;
}

.latest-feature-thumb img,
.latest-mini-thumb img,
.category-post-thumb img,
.post-thumb img,
.entry-thumb img,
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero {
    gap: 30px;
  }
  .profile-card-main {
    width: 100%;
    overflow: hidden;
  }
  .profile-card-main::after {
    right: 8px;
    bottom: -16px;
    font-size: 54px;
  }
  .profile-avatar {
    width: 78px;
    height: 78px;
    border-radius: 24px;
  }
  .latest-feature {
    grid-template-rows: auto auto;
  }
  .latest-feature-thumb {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
  .latest-mini {
    grid-template-columns: 108px minmax(0, 1fr);
  }
  .latest-mini-thumb {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .category-post-item {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .category-post-thumb {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 540px) {
  .profile-identity {
    gap: 14px;
  }
  .profile-avatar {
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }
  .profile-card-main::after {
    font-size: 42px;
    right: 10px;
    bottom: -10px;
  }
  .latest-feature-thumb {
    aspect-ratio: 16 / 11;
  }
  .latest-mini,
  .category-post-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }
  .latest-mini-thumb,
  .category-post-thumb {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}


/* v2.1: archive/category card layout fixes */
.archive .content-wrap,
.category .content-wrap,
.search .content-wrap,
.blog .content-wrap {
  padding-top: 28px;
}

.archive .entry-grid,
.category .entry-grid,
.search .entry-grid,
.blog .entry-grid {
  grid-template-columns: 1fr;
  max-width: 920px;
  gap: 18px;
}

.entry-card.archive-card {
  min-height: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  justify-content: initial;
}

.entry-card.archive-card .entry-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #111, var(--sk-accent));
}

.entry-card.archive-card .entry-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.entry-card-body {
  min-width: 0;
}

.entry-card.archive-card .entry-meta {
  margin-bottom: 8px;
}

.entry-card.archive-card .tag {
  margin-bottom: 12px;
}

.entry-card.archive-card h2 {
  margin-bottom: 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.06em;
  overflow-wrap: anywhere;
}

.entry-card.archive-card p {
  margin-bottom: 14px;
  font-size: 15px;
}

.entry-card.archive-card .read-link {
  display: inline-flex;
  font-weight: 900;
}

@media (max-width: 720px) {
  .page-hero {
    padding: 42px 18px 16px;
  }
  .page-title {
    font-size: clamp(38px, 12vw, 58px);
    letter-spacing: -0.075em;
  }
  .content-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .entry-card.archive-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
    border-radius: 24px;
  }
  .entry-card.archive-card .entry-thumb {
    aspect-ratio: 16 / 10;
    border-radius: 18px;
  }
  .entry-card.archive-card h2 {
    font-size: 24px;
  }
}

@media (max-width: 420px) {
  .page-title {
    font-size: 40px;
    line-height: 1.08;
  }
  .entry-card.archive-card h2 {
    font-size: 22px;
  }
}


/* v2.3: cleaner branding, title clamps, compact category index */
.logo {
  text-transform: none;
}
.latest-feature h3 a,
.latest-mini h3 a,
.category-post-item h4 a,
.entry-card.archive-card h2 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.latest-feature h3 a {
  -webkit-line-clamp: 3;
}
.latest-mini h3 a,
.category-post-item h4 a {
  -webkit-line-clamp: 2;
}
.entry-card.archive-card h2 a {
  -webkit-line-clamp: 3;
}
.category-latest-section {
  padding-top: 34px;
}
.category-latest-section .section-head {
  margin-bottom: 16px;
}
.category-latest-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.category-panel {
  min-height: 0;
  padding: 18px;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0,0,0,.045);
}
.category-panel-head {
  padding-bottom: 12px;
  margin-bottom: 12px;
  align-items: center;
}
.category-panel-head h3 {
  font-size: 24px;
}
.category-panel-head a {
  background: transparent;
  border: 1px solid var(--sk-line);
  padding: 6px 10px;
}
.category-post-list-compact {
  gap: 0;
}
.category-post-list-compact .category-post-item {
  padding: 11px 0;
  border-top: 1px solid rgba(17,17,17,.08);
}
.category-post-list-compact .category-post-item:first-child {
  border-top: 0;
  padding-top: 0;
}
.category-post-feature {
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px;
}
.category-post-feature .category-post-thumb {
  width: 74px;
  height: 74px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
}
.category-post-link {
  grid-template-columns: 1fr;
  gap: 0;
}
.category-post-link h4::before {
  content: "→";
  margin-right: 7px;
  color: var(--sk-accent);
  font-weight: 950;
}
.category-post-item h4 {
  font-size: 14px;
  line-height: 1.45;
}
.category-post-link h4 {
  font-size: 13px;
}
.category-post-item time {
  display: block;
  margin-top: 2px;
}
@media (max-width: 980px) {
  .category-latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .category-latest-grid {
    grid-template-columns: 1fr;
  }
  .category-panel {
    padding: 16px;
  }
  .category-post-feature,
  .category-post-item {
    grid-template-columns: 74px minmax(0, 1fr);
  }
  .category-post-link {
    grid-template-columns: 1fr;
  }
  .category-post-feature .category-post-thumb {
    height: 74px;
  }
}


/* Breadcrumbs */
.studiokiki-breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 24px 0;
  color: var(--sk-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}
.studiokiki-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.studiokiki-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.studiokiki-breadcrumb li:not(:last-child)::after {
  content: "›";
  color: var(--sk-ink);
  opacity: .45;
  font-weight: 900;
}
.studiokiki-breadcrumb a {
  color: var(--sk-muted);
  text-decoration: none;
}
.studiokiki-breadcrumb a:hover {
  color: var(--sk-ink);
  opacity: 1;
}
.studiokiki-breadcrumb span[aria-current="page"] {
  color: var(--sk-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(70vw, 620px);
}
.studiokiki-breadcrumb + .page-hero {
  padding-top: 36px;
}
@media (max-width: 700px) {
  .studiokiki-breadcrumb {
    padding-top: 18px;
    font-size: 12px;
  }
  .studiokiki-breadcrumb span[aria-current="page"] {
    max-width: 62vw;
  }
  .studiokiki-breadcrumb + .page-hero {
    padding-top: 26px;
  }
}


/* v2.6: compact hero profile card with X link */
.profile-card-main {
  padding: 26px;
}
.profile-topline {
  margin-bottom: 20px;
}
.profile-identity {
  gap: 14px;
}
.profile-avatar {
  width: 74px;
  height: 74px;
  border-radius: 24px;
}
.profile-name {
  font-size: 34px;
}
.profile-role {
  margin-top: 6px;
  font-size: 11px;
}
.profile-copy {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.75;
}
.profile-links {
  margin-top: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.profile-links a {
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 16px;
  gap: 8px;
  font-size: 14px;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.profile-links a::after {
  width: 24px;
  height: 24px;
  font-size: 13px;
  margin-left: auto;
}
.profile-links span {
  min-width: 22px;
  margin-right: 4px;
  font-size: 11px;
}
.profile-links .profile-link-x {
  background: var(--sk-ink);
  color: #fff;
  border-color: var(--sk-ink);
}
.profile-links .profile-link-x span {
  color: rgba(255,255,255,.72);
}
.profile-links .profile-link-x::after {
  background: var(--sk-accent);
  color: var(--sk-ink);
}
@media (max-width: 540px) {
  .profile-card-main {
    padding: 22px;
    border-radius: 26px;
  }
  .profile-topline {
    margin-bottom: 16px;
  }
  .profile-avatar {
    width: 62px;
    height: 62px;
    border-radius: 20px;
  }
  .profile-name {
    font-size: 28px;
  }
  .profile-copy {
    margin-top: 16px;
    font-size: 13.5px;
  }
  .profile-links {
    margin-top: 16px;
    grid-template-columns: 1fr 1fr;
  }
  .profile-links a {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 13px;
  }
  .profile-links a::after {
    width: 22px;
    height: 22px;
  }
}


/* v2.7: hero mobile refinement and remove standalone Aniru CTA */
@media (max-width: 900px) {
  .hero {
    padding: 42px 18px 42px;
    gap: 26px;
  }
  .hero h1 {
    font-size: clamp(44px, 13vw, 68px);
    line-height: .98;
    letter-spacing: -0.075em;
  }
  .hero-copy {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.85;
  }
  .hero-actions {
    margin-top: 26px;
    gap: 10px;
  }
  .hero-actions .btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 14px;
  }
}

@media (max-width: 540px) {
  .hero {
    padding: 34px 14px 34px;
  }
  .eyebrow {
    font-size: 11px;
    letter-spacing: .08em;
    margin-bottom: 14px;
  }
  .eyebrow::before {
    width: 27px;
    height: 9px;
  }
  .hero h1 {
    font-size: clamp(42px, 15.2vw, 58px);
    line-height: .98;
    letter-spacing: -0.08em;
    max-width: 9.2em;
  }
  .hero-title-lines .hero-line::after {
    bottom: .06em;
    height: .2em;
  }
  .hero-copy {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.9;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    font-size: 14px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 40px;
  }
  .hero-actions {
    grid-template-columns: 1fr;
  }
}


/* v2.8: profile link brand colors */
.profile-links a {
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.profile-links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,0,0,.1);
}
.profile-links .profile-link-aniru {
  background: linear-gradient(135deg, #fff8dc 0%, #fff2b8 100%);
  border-color: #f1c232;
  color: #111;
}
.profile-links .profile-link-aniru span {
  color: #d69b00;
}
.profile-links .profile-link-aniru::after {
  background: #f2c230;
  color: #111;
}
.profile-links .profile-link-youtube {
  background: linear-gradient(135deg, #ff1f1f 0%, #d90404 100%);
  border-color: #d90404;
  color: #fff;
}
.profile-links .profile-link-youtube span {
  color: rgba(255,255,255,.82);
}
.profile-links .profile-link-youtube::after {
  background: #fff;
  color: #e60000;
}
.profile-links .profile-link-subch {
  background: linear-gradient(135deg, #ff6aa2 0%, #e93678 100%);
  border-color: #e93678;
  color: #fff;
}
.profile-links .profile-link-subch span {
  color: rgba(255,255,255,.82);
}
.profile-links .profile-link-subch::after {
  background: #fff;
  color: #e93678;
}
.profile-links .profile-link-x {
  background: linear-gradient(135deg, #161616 0%, #050505 100%);
  color: #fff;
  border-color: #050505;
}
.profile-links .profile-link-x span {
  color: rgba(255,255,255,.82);
}
.profile-links .profile-link-x::after {
  background: #fff;
  color: #111;
}
@media (max-width: 540px) {
  .profile-links a {
    box-shadow: 0 8px 18px rgba(0,0,0,.055);
  }
}

/* v2.9: show profile card at the bottom of non-front pages */
.bottom-profile-section {
  max-width: 1120px;
  margin: 54px auto 0;
  padding: 0 24px 60px;
}
.bottom-profile-inner {
  max-width: 720px;
  margin: 0 auto;
}
.bottom-profile-section .profile-card-main {
  min-height: 0;
}
@media (max-width: 820px) {
  .bottom-profile-section {
    margin-top: 36px;
    padding: 0 16px 46px;
  }
  .bottom-profile-inner {
    max-width: 560px;
  }
}
@media (max-width: 540px) {
  .bottom-profile-section {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Comments are disabled in StudioKiki v3.0 */
.comments-area, .comment-respond, .comment-list { display: none !important; }


/* v3.2: remove duplicate profile copy text and tighten the profile card */
.profile-card-main .profile-links {
  margin-top: 20px;
}
.hero-profile .profile-card-main {
  padding-top: 30px;
  padding-bottom: 28px;
}
.bottom-profile-section .profile-card-main {
  padding-top: 30px;
  padding-bottom: 28px;
}
@media (max-width: 820px) {
  .profile-card-main .profile-links {
    margin-top: 16px;
  }
  .hero-profile .profile-card-main {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

/* v3.6: author information in the reusable bottom profile card */
.profile-card-author .profile-topline {
  margin-bottom: 18px;
}
.profile-author-copy {
  margin: 14px 0 0;
  color: #333;
  font-size: 14px;
  line-height: 1.8;
  max-width: 560px;
}
.profile-card-author .profile-links {
  margin-top: 18px;
}
.bottom-profile-section[aria-label="StudioKiki author profile"] .profile-card-main {
  scroll-margin-top: 90px;
}
@media (max-width: 540px) {
  .profile-author-copy {
    font-size: 13px;
    line-height: 1.75;
    margin-top: 12px;
  }
}


/* v3.7: clearer latest post links */
.latest-feature h3 a,
.latest-mini h3 a,
.latest-feature .read-link,
.latest-mini .mini-read-link,
.section-more {
  text-underline-offset: 4px;
}
.latest-mini .mini-read-link {
  display: inline-flex;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 950;
  color: var(--sk-ink);
  border-bottom: 2px solid var(--sk-accent);
  line-height: 1.4;
}
.latest-mini:hover .mini-read-link,
.latest-feature:hover .read-link,
.section-more:hover {
  opacity: 1;
  color: #000;
  border-bottom-color: #000;
}
.latest-mini-thumb,
.latest-mini h3 a,
.latest-feature-thumb,
.latest-feature h3 a,
.category-post-thumb,
.category-post-item h4 a {
  cursor: pointer;
}


/* v4.0: articles index desktop layout fix */
.articles-hero .archive-description {
  display: none;
}
.articles-index-wrap {
  padding-top: 22px;
}
.articles-index-wrap .entry-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.articles-index-wrap .entry-card.archive-card {
  min-height: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: 26px;
}
.articles-index-wrap .entry-card.archive-card .entry-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: 18px;
}
.articles-index-wrap .entry-card.archive-card .entry-card-body {
  min-width: 0;
}
.articles-index-wrap .entry-card.archive-card .entry-meta {
  font-size: 12px;
  margin-bottom: 6px;
}
.articles-index-wrap .entry-card.archive-card .tag {
  margin-bottom: 8px;
  font-size: 11px;
  padding: 4px 9px;
}
.articles-index-wrap .entry-card.archive-card h2 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  letter-spacing: -0.045em;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  word-break: normal;
  writing-mode: horizontal-tb;
}
.articles-index-wrap .entry-card.archive-card h2 a {
  -webkit-line-clamp: 2;
}
.articles-index-wrap .entry-card.archive-card p {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.articles-index-wrap .entry-card.archive-card .read-link {
  font-size: 13px;
  display: inline-flex;
  font-weight: 900;
}

@media (max-width: 980px) {
  .articles-index-wrap .entry-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  .articles-index-wrap {
    padding-top: 10px;
  }
  .articles-index-wrap .entry-card.archive-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .articles-index-wrap .entry-card.archive-card .entry-thumb {
    aspect-ratio: 16 / 10;
  }
  .articles-index-wrap .entry-card.archive-card h2 {
    font-size: 22px;
  }
}

/* v4.1: articles category filters and polished pagination */
.articles-filter {
  max-width: 1120px;
  margin: 0 auto 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--sk-line);
  color: var(--sk-ink);
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.04);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.filter-pill:hover,
.filter-pill:focus-visible {
  transform: translateY(-1px);
  border-color: var(--sk-ink);
}
.filter-pill.is-active {
  background: var(--sk-ink);
  border-color: var(--sk-ink);
  color: #fff;
}
.articles-pagination {
  max-width: 1120px;
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.articles-pagination .page-numbers {
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid var(--sk-ink);
  background: #fff;
  color: var(--sk-ink);
  font-weight: 950;
  text-decoration: none;
}
.articles-pagination .page-numbers.current {
  background: var(--sk-accent);
  color: var(--sk-ink);
  border-color: var(--sk-accent);
}
.articles-pagination a.page-numbers:hover,
.articles-pagination a.page-numbers:focus-visible {
  background: var(--sk-ink);
  color: #fff;
}

@media (max-width: 640px) {
  .articles-filter {
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .articles-filter::-webkit-scrollbar {
    display: none;
  }
  .filter-pill {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
    flex: 0 0 auto;
  }
  .articles-pagination .page-numbers {
    min-width: 38px;
    min-height: 38px;
    font-size: 13px;
  }
}

/* v4.2: cleanup category cards and contact page */
.category-panel-head p { display: none; }
.category-panel-head { align-items: center; }
.contact-page-shell {
  max-width: 1120px;
  margin: 0 auto 70px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 20px;
  align-items: start;
}
.contact-guide,
.contact-form-panel {
  background: #fff;
  border: 1px solid var(--sk-line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--sk-shadow);
}
.contact-guide h2,
.contact-form-panel h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.06em;
}
.contact-guide p,
.contact-form-panel p { color: var(--sk-muted); }
.contact-guide-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.contact-guide-list li {
  padding: 13px 15px;
  border-radius: 16px;
  background: #f8f5ea;
  border: 1px solid var(--sk-line);
  font-weight: 800;
}
.contact-notice {
  margin-top: 22px;
  padding: 16px;
  border-radius: 18px;
  background: #151515;
  color: #fff;
  font-size: 14px;
}
.contact-form-panel input,
.contact-form-panel textarea,
.contact-form-panel select {
  max-width: 100%;
}
@media (max-width: 900px) {
  .contact-page-shell { grid-template-columns: 1fr; padding: 0 18px; }
}
@media (max-width: 540px) {
  .contact-page-shell { padding: 0 14px; margin-bottom: 44px; }
  .contact-guide, .contact-form-panel { border-radius: 22px; padding: 22px; }
}

/* v4.6: single post circulation blocks */
.single-circulation {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px 72px;
}
.single-cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 34px;
}
.single-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--sk-line);
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: 0 16px 34px rgba(0,0,0,.05);
  text-decoration: none;
}
.single-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0,0,0,.08);
}
.single-cta span {
  color: var(--sk-muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}
.single-cta b {
  color: var(--sk-ink);
  font-size: 18px;
  letter-spacing: -0.04em;
}
.single-cta-dark {
  background: var(--sk-dark);
  color: #fff;
  border-color: var(--sk-dark);
}
.single-cta-dark span { color: rgba(255,255,255,.68); }
.single-cta-dark b { color: #fff; }
.single-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-top: 2px solid var(--sk-ink);
  padding-top: 20px;
  margin: 34px 0 18px;
}
.single-section-head.compact { margin-top: 38px; }
.single-section-head span {
  display: block;
  color: var(--sk-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.single-section-head h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.06em;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--sk-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,.05);
}
.related-card:hover img { transform: scale(1.04); }
.related-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  background: #eee;
  overflow: hidden;
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.related-body { padding: 18px; }
.related-body h3 {
  margin: 8px 0 10px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-body h3 a { text-decoration: none; }
.related-body time {
  color: var(--sk-muted);
  font-size: 13px;
  font-weight: 800;
}
.single-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.post-nav-item a {
  display: block;
  min-height: 118px;
  background: #fff;
  border: 1px solid var(--sk-line);
  border-radius: 22px;
  padding: 18px 20px;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0,0,0,.05);
}
.post-nav-item a:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0,0,0,.08);
}
.post-nav-item span {
  display: block;
  color: var(--sk-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.post-nav-item b {
  display: block;
  color: var(--sk-ink);
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav-next { text-align: right; }
.post-nav-item:empty { display: none; }

@media (max-width: 900px) {
  .single-cta-row,
  .related-grid,
  .single-post-nav {
    grid-template-columns: 1fr;
  }
  .single-section-head h2 { font-size: 26px; }
  .post-nav-next { text-align: left; }
}

@media (max-width: 540px) {
  .single-circulation {
    padding: 0 14px 54px;
  }
  .single-cta {
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
  .related-body h3,
  .post-nav-item b {
    -webkit-line-clamp: 3;
  }
}

/* v4.7: article related posts slider */
.related-slider-head {
  align-items: center;
}
.related-slider-head p {
  margin: 6px 0 0;
  color: var(--sk-muted);
  font-size: 14px;
  line-height: 1.7;
}
.related-slider-controls {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.related-slider-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 2px solid var(--sk-ink);
  background: #fff;
  color: var(--sk-ink);
  font-weight: 950;
  font-size: 17px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.related-slider-button:hover,
.related-slider-button:focus-visible {
  background: var(--sk-ink);
  color: #fff;
  transform: translateY(-1px);
}
.related-slider-shell {
  position: relative;
  margin-bottom: 30px;
}
.related-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x mandatory;
  scroll-padding: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.related-slider::-webkit-scrollbar {
  display: none;
}
.related-slide-card {
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--sk-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(0,0,0,.06);
  min-width: 0;
  transition: transform .18s ease, box-shadow .18s ease;
}
.related-slide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0,0,0,.09);
}
.related-slide-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eee;
}
.related-slide-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.related-slide-card:hover .related-slide-thumb img {
  transform: scale(1.04);
}
.related-slide-cat,
.related-slide-date {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.related-slide-cat {
  left: 12px;
  top: 12px;
  background: rgba(17,17,17,.86);
  color: #fff;
}
.related-slide-date {
  right: 12px;
  bottom: 12px;
  background: rgba(255,255,255,.92);
  color: var(--sk-ink);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.related-slide-body {
  padding: 16px 17px 18px;
}
.related-slide-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: -0.04em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-slide-body h3 a {
  text-decoration: none;
}
.related-slide-body p {
  margin: 0;
  color: var(--sk-muted);
  font-size: 13px;
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}
.related-slider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #c8c0af;
  opacity: .55;
  transition: width .2s ease, opacity .2s ease, background .2s ease;
}
.related-slider-dots span.is-active {
  width: 22px;
  background: var(--sk-accent);
  opacity: 1;
}
.single-cta-row-compact {
  margin-top: 30px;
  margin-bottom: 30px;
}
.single-cta-row-compact .single-cta {
  padding: 15px 18px;
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(0,0,0,.045);
}
.single-cta-row-compact .single-cta b {
  font-size: 16px;
}

@media (max-width: 980px) {
  .related-slider {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}
@media (max-width: 640px) {
  .related-slider-head {
    align-items: flex-start;
  }
  .related-slider-controls {
    display: none;
  }
  .related-slider {
    grid-auto-columns: 82%;
    gap: 14px;
    padding-bottom: 14px;
  }
  .related-slide-card {
    border-radius: 22px;
  }
  .related-slide-body h3 {
    font-size: 17px;
    -webkit-line-clamp: 3;
  }
  .related-slide-body p {
    -webkit-line-clamp: 2;
  }
  .single-cta-row-compact {
    margin-top: 26px;
  }
}


/* v4.9: place related slider at the bottom inside article body */
.single-related-inside {
  margin-top: 54px;
  padding-top: 34px;
  border-top: 2px solid var(--sk-ink);
}
.single-related-inside .single-section-head {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.single-circulation-after-article {
  padding-top: 0;
}
.single-circulation-after-article .single-cta-row-compact {
  margin-top: 0;
}
@media (max-width: 640px) {
  .single-related-inside {
    margin-top: 42px;
    padding-top: 26px;
  }
}


/* v5.1: compact author summary under single title + stronger related grid */
.single-title-author {
  max-width: 1120px;
  margin: -34px auto 42px;
  padding: 0 24px;
}
.single-title-author-card {
  width: min(860px, 100%);
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--sk-line);
  border-radius: 24px;
  padding: 16px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.055);
  position: relative;
  overflow: hidden;
}
.single-title-author-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(242,194,48,.20) 0 18%, transparent 19%), linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,250,232,.72));
  z-index: 0;
}
.single-title-author-avatar,
.single-title-author-body { position: relative; z-index: 1; }
.single-title-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.single-title-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.single-title-author-body p {
  margin: 0;
  color: #222;
  font-size: 15px;
  line-height: 1.9;
}
.single-title-author-body b {
  font-weight: 950;
}
.single-title-author-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.single-title-author-links a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--sk-line);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 16px rgba(0,0,0,.04);
}
.single-title-author-links a:hover,
.single-title-author-links a:focus-visible {
  background: var(--sk-ink);
  border-color: var(--sk-ink);
  color: #fff;
}
.single-title-author-links .author-x { background: #111; color: #fff; border-color: #111; }
.single-title-author-links .author-youtube { background: #ff1f1f; color: #fff; border-color: #ff1f1f; }
.single-title-author-links .author-subch { background: #f24f8d; color: #fff; border-color: #f24f8d; }
.single-title-author-links .author-aniru { background: #fff5c8; border-color: var(--sk-accent); }

.single-related-grid-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--sk-line);
}
.single-related-grid-section .single-section-head {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.related-grid-8 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.related-grid-8 .related-card {
  border-radius: 20px;
}
.related-grid-8 .related-thumb {
  aspect-ratio: 16 / 10;
}
.related-grid-8 .related-body {
  padding: 14px;
}
.related-grid-8 .tag {
  margin-bottom: 8px;
}
.related-grid-8 .related-body h3 {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 8px;
  -webkit-line-clamp: 3;
}
.related-grid-8 .related-body time {
  font-size: 12px;
}
.single-circulation-after-article {
  padding-bottom: 46px;
}

@media (max-width: 980px) {
  .related-grid-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .single-title-author {
    margin: -18px auto 30px;
    padding: 0 14px;
  }
  .single-title-author-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    border-radius: 20px;
    padding: 13px;
  }
  .single-title-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
  }
  .single-title-author-body p {
    font-size: 13px;
    line-height: 1.75;
  }
  .single-title-author-links {
    gap: 6px;
    margin-top: 7px;
  }
  .single-title-author-links a {
    min-height: 26px;
    padding: 0 9px;
    font-size: 11px;
  }
  .related-grid-8 { grid-template-columns: 1fr; }
}


/* v5.2: center compact author box under post title on desktop */
@media (min-width: 901px) {
  .single-title-author {
    margin: -22px auto 44px;
  }
  .single-title-author-card {
    margin-left: auto;
    margin-right: auto;
  }
}


/* v5.4: simplify Contact page */
.contact-page-simple {
  max-width: 860px;
  display: block;
  margin-bottom: 82px;
}
.contact-page-simple .contact-form-panel-simple {
  width: 100%;
  padding: clamp(24px, 4.5vw, 42px);
}
.contact-page-simple .entry-content > *:first-child {
  margin-top: 0;
}
.contact-page-simple .entry-content > *:last-child {
  margin-bottom: 0;
}
.contact-page-simple .fluentform,
.contact-page-simple .frm-fluent-form,
.contact-page-simple form {
  width: 100%;
}
@media (max-width: 540px) {
  .contact-page-simple {
    margin-bottom: 52px;
  }
  .contact-page-simple .contact-form-panel-simple {
    padding: 22px;
  }
}


/* v5.5: Profile導線をメニュー・プロフィールカード・PR導線に追加 */
.profile-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 999px;
  background: rgba(17,17,17,.92);
  color: #fff;
  border: 1px solid rgba(17,17,17,.14);
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
  font-weight: 950;
  position: relative;
  z-index: 2;
}
.profile-more strong {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.profile-more span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 700;
}
.profile-more::after {
  content: "→";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--sk-accent);
  color: var(--sk-ink);
  flex: 0 0 auto;
}
.profile-more:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.contact-inner {
  grid-template-columns: minmax(0, 1fr) auto;
}
.work-profile-link,
.contact-profile-link {
  font-size: 14px;
  line-height: 1.8;
}
.work-profile-link {
  margin-top: 10px !important;
  color: rgba(255,255,255,.72) !important;
}
.work-profile-link a,
.contact-profile-link a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.work-profile-link a {
  color: #fff;
  text-decoration-color: var(--sk-accent);
}
.contact-profile-link {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #fff8dc;
  border: 1px solid rgba(242,194,48,.55);
  font-weight: 700;
}
.contact-profile-link a {
  font-weight: 900;
  text-decoration-color: var(--sk-accent);
}
@media (max-width: 720px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .contact-inner .btn {
    width: 100%;
  }
}
@media (max-width: 540px) {
  .profile-more {
    padding: 12px 14px;
    gap: 10px;
  }
  .profile-more span {
    font-size: 11px;
  }
}


/* =========================================================
   StudioKiki Product Link Card
   Amazon / Rakuten / Yahoo 商品リンクカード
   ========================================================= */
.sk-product-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(17, 17, 17, .10);
  background: #ffffff;
  padding: 20px;
  margin: 28px 0;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .055);
}
.sk-product-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 8px;
  border-radius: 18px;
  background: #faf8f1;
}
.sk-product-card__image a {
  display: block;
}
.sk-product-card__image img {
  display: block;
  width: 100%;
  max-width: 140px;
  height: auto;
  object-fit: contain;
  margin: auto;
}
.sk-product-card__body {
  min-width: 0;
}
.sk-product-card__title {
  margin: 0 0 10px;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 900;
  line-height: 1.65;
  letter-spacing: .02em;
}
.sk-product-card__title a {
  color: var(--sk-ink);
  text-decoration: none;
}
.sk-product-card__title a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sk-product-card__points {
  margin: 0 0 18px 1.2em;
  padding: 0;
  color: var(--sk-muted);
  font-size: 14px;
  line-height: 1.85;
}
.sk-product-card__points li {
  margin: .2em 0;
}
.sk-product-card__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sk-product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #111;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.sk-product-card__button:hover {
  transform: translateY(-1px);
  opacity: .88;
}
.sk-product-card__button--amazon {
  background: #ff9900;
  box-shadow: 0 10px 20px rgba(255, 153, 0, .20);
}
.sk-product-card__button--rakuten {
  background: #bf0000;
  color: #fff;
  box-shadow: 0 10px 20px rgba(191, 0, 0, .16);
}
.sk-product-card__button--yahoo {
  background: #ff0033;
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 0, 51, .16);
}
.sk-product-card__meta {
  margin: 12px 0 0;
  font-size: 12px;
  color: #777;
  line-height: 1.7;
}
@media (max-width: 600px) {
  .sk-product-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 18px;
  }
  .sk-product-card__image {
    min-height: 120px;
  }
  .sk-product-card__points {
    display: inline-block;
    text-align: left;
  }
  .sk-product-card__buttons {
    justify-content: center;
  }
  .sk-product-card__button {
    width: 100%;
    min-width: 0;
  }
}
