:root {
  --ink: #3f261c;
  --muted: #765c51;
  --paper: #fffaf1;
  --paper-strong: #fff4df;
  --mint: #69b9a4;
  --mint-dark: #438f7c;
  --coral: #ff6f61;
  --coral-dark: #e6594b;
  --orange: #f39b34;
  --orange-soft: #fff3dd;
  --blue: #4d9ee8;
  --blue-soft: #edf7ff;
  --green-soft: #ecf8f2;
  --lavender-soft: #f5f1ff;
  --line: rgba(83, 55, 40, 0.14);
  --shadow: 0 12px 28px rgba(90, 60, 38, 0.12);
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.navbar {
  min-height: 88px;
}

.brand-cat {
  width: 96px;
  height: 62px;
  object-fit: contain;
  object-position: center center;
  padding: 0;
  border: 2px solid #f4d9c4;
  border-radius: 8px;
  background: #fff;
}

.brand-text {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.15;
}

.nav-link {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--coral);
}

.nav-github-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-github-link img {
  width: 28px;
  height: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

.btn-sm {
  padding: 0.62rem 0.95rem;
}

.btn-lg {
  min-height: 58px;
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn-coral,
.text-bg-coral {
  color: #fff;
  background-color: var(--coral);
  border-color: var(--coral);
}

.btn-coral:hover,
.btn-coral:focus {
  color: #fff;
  background-color: var(--coral-dark);
  border-color: var(--coral-dark);
}

.btn-outline-coral {
  color: var(--coral);
  background-color: #fff;
  border: 2px solid var(--coral);
}

.btn-outline-coral:hover,
.btn-outline-coral:focus {
  color: #fff;
  background-color: var(--coral);
  border-color: var(--coral);
}

.btn-mint,
.text-bg-mint {
  color: #fff;
  background-color: var(--mint);
  border-color: var(--mint);
}

.btn-mint:hover,
.btn-mint:focus {
  color: #fff;
  background-color: var(--mint-dark);
  border-color: var(--mint-dark);
}

.btn-success {
  color: #fff;
  background-color: var(--mint);
  border-color: var(--mint);
}

.btn-success:hover,
.btn-success:focus {
  color: #fff;
  background-color: var(--mint-dark);
  border-color: var(--mint-dark);
}

.btn-outline-primary,
.btn-outline-success {
  color: var(--mint);
  background-color: #fff;
  border: 2px solid var(--mint);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-success:hover,
.btn-outline-success:focus {
  color: #fff;
  background-color: var(--mint);
  border-color: var(--mint);
}

.btn.form-control {
  width: 100%;
}

.text-bg-blue {
  color: #fff;
  background-color: var(--blue);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 64px 0 52px;
  background-color: #fffaf1;
  border-bottom: 1px solid var(--line);
}

.hero-image-col {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-illustration {
  display: block;
  width: min(100%, 625px);
  height: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--coral);
  font-weight: 900;
}

.eyebrow::before,
.eyebrow::after {
  content: "●";
  color: #f6b69c;
  font-size: 0.64rem;
}

h1 {
  max-width: 560px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 4.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.18;
}

h1 span {
  display: inline-block;
  color: var(--coral);
}

.hero-copy {
  max-width: 620px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.95;
}

.hero-download-button {
  width: min(100%, 390px);
}

.product-wordmarks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
  font-size: 1.35rem;
  font-weight: 900;
}

.wordmark::before {
  content: "🐾";
  margin-right: 0.25rem;
  font-size: 0.9em;
}

.wordmark-green {
  color: var(--mint-dark);
}

.wordmark-orange {
  color: var(--orange);
}

.wordmark-blue {
  color: var(--blue);
}

.visual-card {
  position: absolute;
  border: 5px solid;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.visual-card-dashboard {
  top: 42px;
  left: 4%;
  width: 260px;
  height: 132px;
  padding: 28px 22px 16px;
  border-color: #68c4b4;
}

.card-dot {
  position: relative;
  top: -16px;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-radius: 50%;
  background: #69b9a4;
}

.chart-bars {
  display: inline-flex;
  align-items: end;
  gap: 7px;
  width: 108px;
  height: 64px;
  padding: 10px 10px 0;
  background: #e9f8f5;
  border-radius: 8px;
}

.chart-bars span {
  display: block;
  width: 14px;
  border-radius: 4px 4px 0 0;
  background: var(--mint);
}

.chart-bars span:nth-child(1) {
  height: 24px;
}

.chart-bars span:nth-child(2) {
  height: 38px;
}

.chart-bars span:nth-child(3) {
  height: 49px;
}

.chart-bars span:nth-child(4) {
  height: 58px;
}

.chart-pie {
  display: inline-block;
  width: 56px;
  height: 56px;
  margin-left: 22px;
  border-radius: 50%;
  background: conic-gradient(#f4c15c 0 34%, #69b9a4 34% 62%, #ff8c7f 62% 100%);
  vertical-align: bottom;
}

.visual-card-code {
  right: 0;
  top: 145px;
  display: grid;
  place-items: center;
  width: 210px;
  height: 138px;
  color: #72aee7;
  border-color: #78bdf2;
  font-weight: 900;
}

.visual-card-code span {
  font-size: 2.15rem;
}

.visual-card-code small {
  color: var(--muted);
  font-weight: 800;
}

.visual-gear {
  position: absolute;
  left: 44%;
  top: 198px;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  color: #fff;
  background: #d4c29d;
  border-radius: 50%;
  font-size: 2.2rem;
  box-shadow: var(--shadow);
}

.speech-bubble {
  position: absolute;
  right: 2%;
  top: 22px;
  width: 172px;
  padding: 1rem 1.25rem;
  color: var(--coral);
  background: #ffe2bd;
  border-radius: 58% 42% 47% 53% / 54% 48% 52% 46%;
  font-weight: 900;
  text-align: center;
  transform: rotate(12deg);
}

.section-shell {
  padding: 26px 0;
}

.section-kicker {
  width: fit-content;
  margin-top: -11px;
  margin-bottom: 18px;
  padding: 0.55rem 1.15rem;
  color: var(--coral);
  background: #fff;
  border: 2px solid #ffd6cb;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(90, 60, 38, 0.08);
  font-weight: 900;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 18px;
  font-size: 1.35rem;
  font-weight: 900;
}

.section-title::before {
  content: "🐾";
  color: var(--coral);
  font-size: 1rem;
}

.product-card,
.audience-card,
.feature-card,
.flow-card,
.news-card {
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(87, 55, 34, 0.08);
}

.product-card {
  display: grid;
  grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
  align-items: center;
  gap: 1.2rem;
  height: 100%;
  min-height: 208px;
  padding: 1rem 1.3rem;
}

.product-card > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  height: 100%;
}

.product-green {
  background: var(--green-soft);
  border-color: #bce1d3;
}

.product-orange {
  background: var(--orange-soft);
  border-color: #ffd7a8;
}

.product-blue {
  background: var(--blue-soft);
  border-color: #b9ddfb;
}

.product-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 1.78rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.product-card p {
  min-height: 3.35em;
  margin: 0.35rem 0 0.8rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.product-green h2 {
  color: var(--mint-dark);
}

.product-orange h2 {
  color: var(--orange);
}

.product-blue h2 {
  color: var(--blue);
}

.product-image {
  width: 100%;
  max-width: 120px;
  height: 132px;
  overflow: hidden;
  border-radius: 12px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.btn-card-green,
.btn-card-orange,
.btn-card-blue {
  color: #fff;
  width: 100%;
  min-width: 128px;
  padding: 0.48rem 1rem;
}

.btn-card-green {
  background: var(--mint);
  border-color: var(--mint);
}

.btn-card-orange {
  background: var(--orange);
  border-color: var(--orange);
}

.btn-card-blue {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-card-green:hover,
.btn-card-green:focus {
  color: #fff;
  background: var(--mint-dark);
  border-color: var(--mint-dark);
}

.btn-card-orange:hover,
.btn-card-orange:focus {
  color: #fff;
  background: #d9821f;
  border-color: #d9821f;
}

.btn-card-blue:hover,
.btn-card-blue:focus {
  color: #fff;
  background: #2f86d2;
  border-color: #2f86d2;
}

.audience-card {
  display: grid;
  grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
  align-items: center;
  gap: 1.2rem;
  min-height: 208px;
  padding: 1rem 1.3rem;
  background: var(--green-soft);
  border-color: #bedfd2;
}

.audience-card > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  height: 100%;
}

.audience-warm {
  background: #fff4e7;
  border-color: #ffd9b4;
}

.audience-cool {
  background: #edf7ff;
  border-color: #c3e0f8;
}

.avatar-img {
  width: 100%;
  max-width: 120px;
  height: 132px;
  object-fit: contain;
}

.audience-card h3,
.feature-card h3,
.flow-card h3,
.news-card h3 {
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.45;
}

.audience-card h3 {
  color: var(--mint-dark);
}

.audience-warm h3 {
  color: #9a5f1f;
}

.audience-cool h3 {
  color: #2d7fc7;
}

.audience-card p,
.feature-card p,
.flow-card p,
.news-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.audience-card p {
  margin-bottom: 0;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 150px;
  padding: 1.3rem;
  text-align: center;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.flow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 248px;
  padding: 1rem;
  text-align: center;
}

.flow-card h3 {
  margin-bottom: 0;
  font-size: 1.55rem;
}

.flow-card span {
  display: block;
  width: 100%;
  padding: 0.42rem 0.8rem;
  color: #fff;
  border-radius: 10px;
  font-weight: 900;
  text-align: center;
}

.flow-orange {
  background: var(--orange-soft);
  border-color: #ffd7a8;
}

.flow-orange h3 {
  color: var(--orange);
}

.flow-orange span {
  background: var(--orange);
}

.flow-blue {
  background: var(--blue-soft);
  border-color: #b9ddfb;
}

.flow-blue h3 {
  color: var(--blue);
}

.flow-blue span {
  background: var(--blue);
}

.flow-green {
  background: var(--green-soft);
  border-color: #bce1d3;
}

.flow-green h3 {
  color: var(--mint-dark);
}

.flow-green span {
  background: var(--mint);
}

.flow-cat {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  overflow: hidden;
  border-radius: 12px;
}

.flow-cat img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-arrow {
  color: #9b876d;
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
}

.flow-note {
  width: 100%;
  margin: 16px auto 0;
  padding: 1.15rem;
  color: var(--muted);
  background: #fff;
  border: 2px dashed #ead7c7;
  border-radius: 16px;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
}

.news-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1rem;
}

.news-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  margin-bottom: 0.8rem;
  border-radius: 10px;
  object-fit: cover;
}

.news-card .badge {
  margin-right: 0.45rem;
  border-radius: 999px;
}

.news-card time {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.news-card h3 {
  margin-top: 0.7rem;
}

.news-card a {
  display: inline-flex;
  margin-top: 0.5rem;
  color: var(--coral);
  font-weight: 900;
  text-decoration: none;
}

.news-card a + a {
  margin-left: 0.8rem;
}

.home-news-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
}

.news-more {
  margin-top: 22px;
  text-align: center;
}

.community-band {
  padding: 8px 0 34px;
}

.community-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 1.4rem;
  background: #eaf8f2;
  border: 2px solid #c0e3d5;
  border-radius: 14px;
}

.community-inner > img {
  width: 220px;
  height: 112px;
  object-fit: contain;
  object-position: center;
}

.community-inner h2 {
  margin: 0;
  color: var(--mint-dark);
  font-size: 1.75rem;
  font-weight: 900;
}

.community-inner p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-weight: 700;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.social-link {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 0.75rem;
  color: #fff;
  background: #1c1d21;
  border-radius: 50%;
  font-weight: 900;
  text-decoration: none;
}

.github-link {
  width: 46px;
  flex: 0 0 46px;
  min-width: 46px;
  padding: 0;
  background: transparent;
}

.github-link img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.social-link:nth-child(3) {
  background: #2f82de;
}

.site-footer {
  padding: 40px 0 28px;
  background: #fff6e8;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(160px, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-about {
  max-width: 360px;
}

.footer-brand {
  margin-bottom: 0.8rem;
  font-size: 1.08rem;
}

.footer-nav {
  min-width: 0;
}

.site-footer h2 {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  font-weight: 900;
}

.site-footer a {
  display: block;
  margin: 0.42rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--coral);
}

.copyright {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 0.85rem;
}

@media (max-width: 991.98px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 20px;
  }

  .footer-about {
    grid-column: 1 / -1;
    max-width: 560px;
  }

  .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 991.98px) {
  .navbar {
    min-height: 74px;
  }

  .product-card,
  .audience-card {
    min-height: 0;
  }

  .hero-section {
    padding-top: 44px;
  }

  .hero-image-col {
    justify-content: center;
    margin-top: 1.5rem;
  }

  .hero-illustration {
    width: min(100%, 560px);
  }

  .community-inner {
    grid-template-columns: 170px 1fr;
  }

  .community-inner > img {
    width: 170px;
    height: 96px;
  }

  .community-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 34px 0 30px;
  }

  .product-wordmarks {
    justify-content: center;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    align-items: center;
  }

  .hero-image-col {
    margin-top: 1.25rem;
  }

  .hero-illustration {
    width: min(100%, 500px);
  }

  h1 {
    font-size: 2.45rem;
  }

  .product-card,
  .audience-card,
  .flow-card {
    grid-template-columns: 92px 1fr;
  }

  .product-card h2 {
    font-size: 1.5rem;
  }

  .community-inner {
    grid-template-columns: 1fr;
  }

  .community-inner > img {
    width: 190px;
    height: 104px;
  }
}

@media (max-width: 575.98px) {
  .brand-cat {
    width: 76px;
    height: 48px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: min(100%, 320px);
  }

  .hero-illustration {
    width: 100%;
  }

  .product-card,
  .audience-card,
  .flow-card {
    grid-template-columns: 1fr;
  }

  .product-card {
    justify-items: center;
    text-align: center;
  }

  .audience-card {
    justify-items: center;
    text-align: center;
    height: auto !important;
    min-height: auto;
  }

  .product-card > div:last-child,
  .audience-card > div {
    align-items: center;
  }

  .audience-card > div {
    height: auto;
  }

  .product-card p {
    min-height: 0;
  }

  .product-image,
  .flow-cat {
    width: 100%;
    max-width: 180px;
    height: 116px;
  }

  .avatar-img {
    width: 100%;
    max-width: 180px;
    height: auto;
  }

  .product-image img,
  .flow-cat img {
    width: 100%;
    height: 100%;
  }

  .community-actions .btn {
    width: 100%;
  }
}

.admin-page,
.console-page {
  min-height: 100vh;
  background: #f7fbf8;
  color: #20332e;
  font-family: "Noto Sans JP", sans-serif;
}

.admin-page {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px;
}

.admin-panel {
  box-sizing: border-box;
  width: min(680px, calc(100vw - 40px));
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(45, 75, 66, 0.08);
}

.admin-panel h1 {
  margin: 0 0 18px;
  font-size: 28px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.admin-form input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #c8d8d0;
  border-radius: 6px;
  padding: 12px;
  font: inherit;
}

.admin-form button,
.console-button {
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.admin-form button {
  box-sizing: border-box;
  width: 100%;
  background: #1f8f70;
  padding: 13px 18px;
}

.admin-form button:hover,
.admin-form button:focus {
  background: #166f57;
}

.admin-result,
.console-status {
  min-height: 24px;
  margin-top: 14px;
  white-space: pre-wrap;
}

.hidden {
  display: none !important;
}

.console-header {
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 18px 20px;
  background: #fff;
}

.console-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 calc((100vw - 100%) / -2);
  background: #fff;
  border-bottom: 1px solid #dbe9e2;
}

.console-header h1 {
  margin: 0;
  font-size: 22px;
}

.console-global-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.console-global-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 6px;
  padding: 6px 10px;
  color: #506760;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.console-global-nav a:hover,
.console-global-nav a:focus,
.console-global-nav a[aria-current="page"] {
  background: #e8f4ef;
  color: #176f59;
}

.console-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.console-main {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 28px 20px 48px;
}

.console-logout-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #cfe0d8;
  border-radius: 8px;
  background: #fff;
  color: #506760;
  cursor: pointer;
}

.console-logout-button::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpath d='M16 17l5-5-5-5'/%3E%3Cpath d='M21 12H9'/%3E%3C/svg%3E") center / contain no-repeat;
}

.console-logout-button:hover,
.console-logout-button:focus {
  border-color: #f3a79e;
  background: #fff6f3;
  color: var(--coral);
}

.console-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 14px;
  color: #506760;
  font-size: 13px;
  font-weight: 800;
}

.console-breadcrumb a,
.console-breadcrumb span {
  display: inline-flex;
  align-items: center;
}

.console-breadcrumb a {
  color: #1f8f70;
  text-decoration: none;
}

.console-breadcrumb a:hover,
.console-breadcrumb a:focus {
  color: #166f57;
  text-decoration: underline;
}

.console-breadcrumb > * + *::before {
  content: "/";
  margin-right: 8px;
  color: #9cafaa;
}

.console-page-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin: 0 0 14px;
}

.console-page-actions .console-button,
.console-page-actions .console-link-button {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 14px;
}

.console-panel {
  background: #fff;
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(45, 75, 66, 0.08);
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.console-card {
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  padding: 18px;
  background: #fafdfe;
}

.console-card h2 {
  margin: 0 0 8px;
  font-size: 17px;
}

.console-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.console-card-header h2 {
  margin: 0;
}

.console-card p {
  margin: 0;
  color: #506760;
  font-weight: 600;
}

.console-tool-grid .console-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.page-list-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  background: #fafdfe;
  padding: 16px;
}

.page-list-card span {
  display: inline-block;
  margin-bottom: 4px;
  color: #1f8f70;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.page-list-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.page-list-card p {
  margin: 0;
  color: #506760;
  font-weight: 700;
}

.page-list-card .page-list-meta {
  margin-top: 6px;
  color: #7a8c86;
  font-size: 13px;
}

.page-list-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.account-manager {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
  align-items: start;
}

.account-form,
.account-card {
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  background: #fafdfe;
  padding: 16px;
}

.account-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.account-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-form h3,
.account-card h3 {
  margin: 0;
  font-size: 18px;
}

.account-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"],
.account-form input:not([type]) {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #c8d8d0;
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: #20332e;
  font: inherit;
}

.account-check {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
  align-items: center;
}

.account-check input {
  width: 18px;
  height: 18px;
}

.console-toggle {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center;
  justify-self: start;
  gap: 10px !important;
  cursor: pointer;
  font-weight: 800;
}

.console-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.console-toggle-control {
  position: relative;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: #d9e3de;
  border: 1px solid #bed0c8;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.console-toggle-control::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(31, 45, 39, 0.2);
  transition: transform 0.18s ease;
}

.console-toggle input:checked + .console-toggle-control {
  background: var(--mint);
  border-color: var(--mint-dark);
}

.console-toggle input:checked + .console-toggle-control::after {
  transform: translateX(24px);
}

.console-toggle-label {
  color: var(--ink);
}

.console-danger-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #ffd0ca;
  border-radius: 8px;
  background: #fff6f3;
  padding: 16px;
}

.console-danger-block strong {
  color: #9d3b34;
  font-weight: 900;
}

.console-danger-block p {
  margin: 4px 0 0;
  color: #7a5a55;
  font-size: 14px;
  font-weight: 700;
}

.console-danger-button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  background: #ff6d67;
  color: #fff;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.console-danger-button:hover,
.console-danger-button:focus {
  background: #d94e49;
}

.console-danger-button:disabled {
  background: #d7aaa5;
  cursor: not-allowed;
}

.account-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.account-card p {
  margin: 8px 0 0;
  color: #506760;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.account-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin: 0 6px 8px 0;
  border-radius: 999px;
  padding: 3px 9px;
  background: #e8f4ef;
  color: #176f59;
  font-size: 12px;
  font-weight: 900;
}

.account-badge.muted {
  background: #eef2f0;
  color: #506760;
}

.account-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-editor {
  margin-top: 24px;
}

.page-editor-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 18px;
}

.page-metadata-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.page-editor-toolbar label,
.page-editor-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.page-editor-toolbar select,
.page-editor-form input,
.page-editor-form select,
.page-editor-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #c8d8d0;
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: #20332e;
  font: inherit;
}

.docs-index-section {
  padding-top: 0;
}

.docs-index-header {
  margin-bottom: 18px;
}

.docs-index-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
}

.docs-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.docs-group-card {
  border: 1px solid #dfe9e4;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(69, 52, 42, 0.06);
}

.docs-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.docs-group-header span {
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 900;
}

.docs-group-header strong {
  color: var(--ink);
  font-size: 14px;
}

.docs-link-list {
  display: grid;
  gap: 10px;
}

.docs-link-list a {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  text-decoration: none;
  background: #f8fcfa;
  border: 1px solid #e5efea;
}

.docs-link-list a:hover,
.docs-link-list a:focus {
  border-color: var(--mint);
  color: var(--mint-dark);
}

.docs-link-list span {
  font-weight: 900;
}

.docs-link-list small {
  color: #64766f;
  font-weight: 700;
  line-height: 1.5;
}

.page-editor-form {
  display: grid;
  gap: 16px;
}

.page-image-uploader {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  background: #fafdfe;
  padding: 14px;
}

.page-image-uploader strong {
  display: block;
  margin-bottom: 6px;
  font-weight: 900;
}

.page-image-uploader p {
  margin: 0;
  color: #506760;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.page-image-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2f0;
  color: #506760;
  font-size: 13px;
  font-weight: 900;
}

.page-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-image-actions {
  display: grid;
  gap: 8px;
  min-width: 160px;
}

.editor-group {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.editor-group h2,
.editor-group h3 {
  margin: 0;
  font-size: 17px;
}

.editor-repeat {
  display: grid;
  gap: 10px;
}

.editor-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
}

.console-link-button,
.console-save-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  background: #506760;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.console-link-button.secondary {
  background: #6c7e78;
}

.console-save-button {
  width: 100%;
  background: #1f8f70;
}

.console-link-button:hover,
.console-link-button:focus {
  background: #374c45;
  color: #fff;
}

.console-link-button:disabled {
  background: #b9c8c2;
  cursor: not-allowed;
}

.console-save-button:hover,
.console-save-button:focus {
  background: #166f57;
}

.console-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: #506760;
  color: #fff;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.console-button:hover,
.console-button:focus {
  background: #374c45;
  color: #fff;
}

.console-button.outline {
  border: 1px solid #506760;
  background: #fff;
  color: #506760;
}

.console-button.outline:hover,
.console-button.outline:focus {
  background: #edf5f1;
  color: #374c45;
}

.secondary-button {
  background: #6c7e78;
}

.detail-page {
  min-height: 100vh;
  background: #f7fbf8;
  color: #20332e;
  font-family: "Noto Sans JP", sans-serif;
}

.detail-main {
  background:
    linear-gradient(180deg, #f7fbf8 0%, #fff 48%, #f8fbff 100%);
}

.detail-hero {
  padding: 64px 0 44px;
}

.detail-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.06;
  font-weight: 900;
  white-space: pre-line;
}

.detail-page-blog .detail-hero h1 {
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.14;
}

.detail-lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: 18px;
  line-height: 1.85;
  color: #49655c;
  font-weight: 700;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.detail-actions .btn {
  border-radius: 8px;
  padding: 12px 18px;
}

.public-edit-button {
  border-width: 2px;
  background: #fff;
}

.detail-image {
  display: block;
  width: min(100%, 420px);
  margin: 0 auto;
  object-fit: contain;
}

.detail-section {
  padding: 24px 0 72px;
}

.detail-content-frame {
  min-width: 0;
  margin: 0 auto;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(20px, 4vw, 42px);
  box-shadow: 0 8px 18px rgba(87, 55, 34, 0.08);
}

.detail-body-html {
  min-width: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  overflow-wrap: break-word;
}

.doc-version-label {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  background: #eef8f4;
  color: #258370;
  font-size: 0.78em;
  font-weight: 900;
  vertical-align: middle;
}

.detail-body-html h2,
.tips-detail-body h2,
.tips-admin-detail-body h2 {
  margin: 1.5em 0 0.45em;
  font-size: 26px;
  font-weight: 900;
}

.detail-body-html h2:first-child,
.tips-detail-body h2:first-child,
.tips-admin-detail-body h2:first-child {
  margin-top: 0;
}

.detail-body-html h3,
.tips-detail-body h3,
.tips-admin-detail-body h3 {
  margin: 1.35em 0 0.45em;
  font-size: 21px;
  font-weight: 900;
}

.detail-body-html p,
.tips-detail-body p,
.tips-admin-detail-body p {
  margin: 0 0 1em;
  color: var(--muted);
}

.detail-body-html pre,
.tips-detail-body pre,
.tips-admin-detail-body pre,
.preview-surface pre {
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  margin: 18px 0 22px;
  border: 1px solid rgba(83, 55, 40, 0.2);
  border-left: 7px solid var(--mint);
  border-radius: 8px;
  background: #20332e;
  box-shadow: 0 10px 22px rgba(57, 36, 25, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  white-space: normal;
}

.detail-body-html pre code,
.tips-detail-body pre code,
.tips-admin-detail-body pre code,
.preview-surface pre code {
  display: block;
  padding: 20px 22px;
  background: transparent;
  color: #f6fff9;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 2;
}

.detail-body-html code,
.tips-detail-body code,
.tips-admin-detail-body code,
.preview-surface code {
  border-radius: 6px;
  background: #eef8f4;
  color: #236f60;
  padding: 0.14em 0.42em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.detail-body-html pre code,
.tips-detail-body pre code,
.tips-admin-detail-body pre code,
.preview-surface pre code {
  background: transparent;
  color: #f6fff9;
  padding: 20px 22px;
}

.detail-paragraph-section + .detail-paragraph-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.download-release-card {
  display: grid;
  gap: 26px;
  margin: 0 0 28px;
}

.download-release-copy {
  max-width: 760px;
}

.download-release-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  border-radius: 999px;
  background: #e9f8f2;
  color: #258370;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.detail-body-html .download-release-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
}

.download-os-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.download-os-card {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fffaf1;
  color: var(--ink);
  padding: 20px;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.download-os-card:hover {
  border-color: var(--mint);
  box-shadow: 0 10px 18px rgba(87, 55, 34, 0.1);
  color: var(--ink);
  transform: translateY(-2px);
}

.download-os-card span {
  color: #258370;
  font-size: 15px;
  font-weight: 900;
}

.download-os-card strong {
  display: block;
  margin: 14px 0 10px;
  color: #ff6d67;
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.download-os-card small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.download-guide-block,
.download-note-block {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.download-guide-block ol {
  margin: 0;
  padding-left: 1.5em;
  color: var(--muted);
}

.download-guide-block li + li {
  margin-top: 8px;
}

.tutorial-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.doc-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.product-doc-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.version-doc-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
}

.doc-card {
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(87, 55, 34, 0.08);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.doc-card:hover,
.doc-card:focus-within {
  border-color: var(--mint);
  box-shadow: 0 12px 24px rgba(87, 55, 34, 0.12);
  transform: translateY(-2px);
}

.doc-card a {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.doc-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff1df;
}

.version-doc-card img {
  aspect-ratio: 16 / 9;
}

.doc-card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.doc-card-body h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.doc-card-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.7;
}

.doc-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.doc-card-footer small {
  color: #258370;
  font-weight: 900;
}

.doc-card-footer span {
  color: #ff6d67;
  font-weight: 900;
}

.product-doc-card .doc-card-body {
  min-height: 210px;
}

.doc-hero-image {
  width: 100%;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 34px rgba(87, 55, 34, 0.12);
}

.doc-search-box {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.doc-search-box label {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.doc-search-row {
  display: flex;
  gap: 10px;
}

.doc-search-row input {
  width: 100%;
  min-height: 48px;
  border: 2px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 800;
  outline: none;
}

.doc-search-row input:focus {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(100, 188, 166, 0.18);
}

.doc-search-row .btn {
  flex: 0 0 auto;
}

.doc-search-status {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

#docPageResults {
  display: grid;
  gap: 12px;
}

.doc-search-result {
  grid-template-columns: auto 1fr;
}

.doc-search-result small {
  grid-column: 2;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.7;
}

.tutorial-card {
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(87, 55, 34, 0.08);
}

.tutorial-card a {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.tutorial-thumb {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  background: #fff1df;
  color: #258370;
  font-weight: 900;
}

.tutorial-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tutorial-card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.tutorial-card-body h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.tutorial-card-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.7;
}

.tutorial-card-body small,
.tutorial-meta {
  color: #258370;
  font-weight: 900;
}

.tutorial-step-list {
  display: grid;
  gap: 12px;
}

.tutorial-step-list h2 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 900;
}

.tutorial-step-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid #dfe9e4;
  border-radius: 8px;
  background: #f8fcfa;
  color: var(--ink);
  padding: 14px 16px;
  text-decoration: none;
}

.tutorial-step-list a:hover,
.tutorial-step-list a:focus {
  border-color: var(--mint);
  color: var(--mint-dark);
}

.tutorial-step-list span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--mint);
  color: #fff;
  font-weight: 900;
}

.tutorial-step-list strong {
  font-size: 18px;
  font-weight: 900;
}

.tutorial-nav-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
}

.tutorial-hero.compact {
  padding-bottom: 28px;
}

@media (max-width: 991.98px) {
  .download-os-grid {
    grid-template-columns: 1fr;
  }

  .product-doc-grid,
  .version-doc-grid {
    grid-template-columns: 1fr;
  }

  .doc-search-row {
    display: grid;
  }

  .doc-search-row .btn {
    justify-self: end;
  }
}

.tips-page {
  min-height: 100vh;
  background: #fffaf1;
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
}

.tips-hero {
  padding: 52px 0 34px;
  background: linear-gradient(180deg, #fffaf1 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

.tips-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 900;
  line-height: 1.05;
}

.tips-lead {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.9;
}

.tips-hero-image {
  display: block;
  width: min(100%, 460px);
  margin: 0 auto;
  border: 3px solid #f4d9c4;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.tips-search-section {
  padding: 26px 0 72px;
  background: #fff;
}

.tips-list-section {
  padding: 34px 0 78px;
  background: #fff;
}

.tips-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fafdfe;
}

.tips-search label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 900;
}

.tips-search input,
.tips-search select {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  border: 1px solid #d8c7bb;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.tips-status {
  min-height: 24px;
  margin: 16px 0;
  color: var(--muted);
  font-weight: 800;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tips-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(87, 55, 34, 0.08);
}

.tips-card-image {
  aspect-ratio: 4 / 3;
  background: var(--orange-soft);
}

.tips-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tips-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.tips-card-body > .btn {
  margin-top: auto;
}

.tips-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tips-product {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  background: #e8f4ef;
  color: #176f59;
  font-size: 12px;
  font-weight: 900;
}

.tips-version {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef2f0;
  color: #506760;
  font-size: 12px;
  font-weight: 900;
}

.tips-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.tips-summary,
.tips-body {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.75;
}

.tips-body {
  color: var(--ink);
}

.tips-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tips-tags span {
  border-radius: 999px;
  padding: 3px 8px;
  background: #fff4df;
  color: #765c51;
  font-size: 12px;
  font-weight: 900;
}

.tips-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.tips-public-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.tips-public-breadcrumb a {
  color: var(--mint-dark);
  text-decoration: none;
}

.tips-public-breadcrumb a:hover,
.tips-public-breadcrumb a:focus {
  color: var(--coral);
  text-decoration: underline;
}

.tips-public-breadcrumb > * + *::before {
  content: "/";
  margin-right: 8px;
  color: #d8c7bb;
}

.tips-detail-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 8px 18px rgba(87, 55, 34, 0.08);
}

.tips-detail-visual img {
  display: block;
  width: 100%;
  border: 3px solid #f4d9c4;
  border-radius: 8px;
  background: var(--orange-soft);
}

.tips-detail-content {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.tips-detail-actions {
  justify-content: flex-end;
}

.tips-detail-content h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 900;
}

.tips-detail-body {
  min-width: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  white-space: normal;
  overflow-wrap: break-word;
}

.detail-body-html ul,
.detail-body-html ol,
.tips-detail-body ul,
.tips-detail-body ol,
.tips-admin-detail-body ul,
.tips-admin-detail-body ol,
.preview-surface ul,
.preview-surface ol {
  margin: 0 0 1em 1.35em;
  padding-left: 1.1em;
}

.detail-body-html li,
.tips-detail-body li,
.tips-admin-detail-body li,
.preview-surface li {
  margin: 0.2em 0;
}

.news-hero {
  padding-bottom: 46px;
}

.top-banner-section {
  width: 100%;
  background: #f7fbf9;
}

.top-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #20332e;
}

.top-banner-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
}

.top-banner-slide {
  display: block;
  min-width: 100%;
  color: inherit;
  text-decoration: none;
}

.top-banner-slide img {
  display: block;
  width: 100%;
  max-height: 420px;
  aspect-ratio: 32 / 9;
  object-fit: cover;
  object-position: center;
  background: #eaf4ef;
}

.top-banner-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 8px 18px rgba(58, 44, 34, 0.16);
}

.top-banner-nav:hover,
.top-banner-nav:focus {
  background: #fff;
}

.top-banner-nav.prev {
  left: 18px;
}

.top-banner-nav.next {
  right: 18px;
}

.banner-admin-search {
  grid-template-columns: minmax(0, 1fr) auto;
}

.banner-admin-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  background: #f8fcfa;
}

.banner-admin-card {
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) auto;
}

.banner-admin-thumb {
  overflow: hidden;
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  background: #fff;
  aspect-ratio: 16 / 5;
}

.banner-admin-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-admin-thumb span,
.banner-image-preview span {
  display: grid;
  place-items: center;
  min-height: 100%;
  color: #7a8c86;
  font-weight: 800;
}

.banner-image-uploader {
  grid-template-columns: minmax(0, 1fr);
}

.banner-image-preview {
  width: 100%;
  aspect-ratio: 32 / 9;
}

.banner-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-list-card {
  display: grid;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(87, 55, 34, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.news-list-card:hover,
.news-list-card:focus-within {
  transform: translateY(-2px);
  border-color: #f09b73;
  box-shadow: 0 12px 26px rgba(87, 55, 34, 0.14);
}

.news-list-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-list-card-link:hover,
.news-list-card-link:focus {
  color: inherit;
  text-decoration: none;
}

.news-list-card-link > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 18px;
}

.news-list-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  background: var(--orange-soft);
}

.news-list-card h2 {
  margin: 10px 0 8px;
  font-size: 24px;
  font-weight: 900;
}

.news-list-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.news-meta time {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.news-list-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 16px;
  padding-bottom: 6px;
}

.nyanmatsuri-sections {
  display: grid;
  gap: 34px;
}

.nyanmatsuri-section {
  display: grid;
  gap: 14px;
}

.nyanmatsuri-section h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
}

.nyanmatsuri-admin-search {
  grid-template-columns: minmax(0, 1fr) auto;
}

.news-detail-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 8px 18px rgba(87, 55, 34, 0.08);
}

.news-detail-visual img {
  display: block;
  width: 100%;
  border: 3px solid #f4d9c4;
  border-radius: 8px;
  background: var(--orange-soft);
}

.news-detail-content {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.news-detail-actions {
  justify-content: flex-end;
}

.news-detail-content h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
  font-weight: 900;
}

.tips-admin {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.tips-admin-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 220px) auto;
  gap: 10px;
  align-items: center;
}

.tips-admin-search input,
.tips-admin-search select,
.tips-admin-form input,
.tips-admin-form select,
.tips-admin-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #c8d8d0;
  border-radius: 6px;
  padding: 11px 12px;
  background: #fff;
  color: #20332e;
  font: inherit;
}

.tips-admin-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.tips-admin-form,
.tip-admin-card {
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  background: #fafdfe;
  padding: 16px;
}

.tips-admin-form {
  display: grid;
  gap: 12px;
  max-width: 780px;
}

.tips-admin-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.tips-admin-list {
  display: grid;
  gap: 12px;
}

.tip-admin-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.tip-admin-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  background: var(--orange-soft);
}

.tip-admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tip-admin-card h3 {
  margin: 0;
  font-size: 18px;
}

.tip-admin-card p {
  margin: 8px 0;
  color: #506760;
  font-weight: 700;
  line-height: 1.7;
}

.tips-admin-detail {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.tips-admin-detail-head {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  background: #fafdfe;
  padding: 16px;
}

.tips-admin-detail-head img {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #fff4df;
}

.tips-admin-detail-head h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.tips-admin-detail-head p,
.tips-admin-detail-body {
  color: #506760;
  font-weight: 400;
  line-height: 1.8;
}

.tips-admin-detail-head .news-admin-published-date {
  margin: 6px 0 0;
  color: #7a8c86;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  text-align: right;
}

.news-admin-detail-actions {
  justify-content: flex-end;
}

.tips-admin-detail-actions {
  justify-content: flex-end;
}

.tips-admin-detail-body {
  min-width: 0;
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  white-space: normal;
  overflow-wrap: break-word;
}

.media-admin-list {
  display: grid;
  gap: 12px;
}

.media-admin-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid #dbe9e2;
  border-radius: 8px;
  background: #fafdfe;
  padding: 14px;
}

.media-admin-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 72px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef2f0;
  color: #506760;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.media-admin-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.media-admin-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.media-admin-card p {
  margin: 0;
  color: #506760;
  font-weight: 700;
  overflow-wrap: anywhere;
}

@media (max-width: 575.98px) {
  .admin-page {
    padding: 24px 14px;
  }

  .admin-panel {
    width: 100%;
    padding: 20px;
  }

  .console-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 14px;
  }

  .console-header-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .console-main {
    padding: 20px 14px 36px;
  }

  .account-manager,
  .account-card,
  .account-actions,
  .banner-admin-card,
  .media-admin-card,
  .news-detail-card,
  .news-list-card,
  .tip-admin-card,
  .tips-admin-detail-head,
  .tips-admin-layout,
  .tips-admin-search,
  .page-editor-toolbar,
  .page-image-uploader,
  .page-list-card,
  .page-list-actions,
  .page-metadata-grid,
  .editor-row {
    grid-template-columns: 1fr;
  }

  .tip-admin-thumb {
    width: min(100%, 220px);
  }

  .account-actions,
  .page-image-actions,
  .page-list-actions {
    display: grid;
    width: 100%;
  }

  .page-image-preview {
    width: min(100%, 240px);
  }
}

@media (max-width: 991.98px) {
  .detail-hero {
    padding: 44px 0 28px;
  }

  .tips-search,
  .news-list-grid,
  .nyanmatsuri-admin-search,
  .banner-admin-search,
  .banner-admin-settings,
  .event-time-grid,
  .tips-grid,
  .tips-detail-card {
    grid-template-columns: 1fr;
  }

  .banner-admin-settings {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .news-detail-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-about {
    max-width: none;
  }

  .detail-hero h1 {
    font-size: 34px;
  }

  .detail-page-blog .detail-hero h1 {
    font-size: 30px;
  }

  .detail-actions .btn {
    width: 100%;
  }
}
