@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Noto+Sans+JP:wght@400;700;900&display=swap');

/* ==========================================================================
   シャッターのミカタ - Base Stylesheet v4
   Site: https://kanto-shutter.info/mikata/
   ========================================================================== */

/* --------------------------------------------------------------------------
   2. CSS Custom Properties
   -------------------------------------------------------------------------- */

:root {
  /* ===== 既存LPから継承するカラー ===== */
  --color-primary: #3366cc;
  --color-primary-dark: #233e8b;
  --color-secondary: #ff6600;
  --color-accent-red: #ff6c6c;
  --color-text-main: #292929;
  --color-text-sub: #6B7280;
  --color-bg-main: #ffffff;
  --color-bg-sub: #f1f1f1;
  --color-bg-warm: #f8f6f3;
  --color-border: #e2e2e2;

  /* ===== カテゴリカラー（6色） ===== */
  --cat-trouble: #DC2626;
  --cat-cost: #D97706;
  --cat-maker: #7C3AED;
  --cat-knowledge: #2563EB;
  --cat-safety: #059669;
  --cat-column: #DB2777;

  /* ===== レイアウト ===== */
  --content-width: 1120px;
}

/* --------------------------------------------------------------------------
   3. CSS Reset
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media screen and (max-width: 736px) {
  html {
    scroll-padding-top: 72px;
  }
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   4. Base Typography
   -------------------------------------------------------------------------- */

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: -0.025em;
  background-color: #fafafa;
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
  margin-bottom: 1em;
  text-align: justify;
}

p:last-child {
  margin-bottom: 0;
}

a:hover {
  opacity: 1;
}

strong, b {
  font-weight: 700;
}

small {
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   5. Utility Classes
   -------------------------------------------------------------------------- */

.mk-container {
  width: 100%;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.mk-pc-only {
  display: block;
}

.mk-sp-only {
  display: none;
}

@media screen and (max-width: 736px) {
  .mk-pc-only {
    display: none !important;
  }
  .mk-sp-only {
    display: block !important;
  }
}

.mk-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   6. Responsive Base Adjustments
   -------------------------------------------------------------------------- */

@media screen and (max-width: 736px) {
  body {
    font-size: 15px;
  }

  h1 { font-size: 1.625rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.125rem; }
  h4 { font-size: 1rem; }

  .mk-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ==========================================================================
   COMPONENT SECTIONS
   ========================================================================== */

/* --------------------------------------------------------------------------
   7. Header / Global Navigation v4
   -------------------------------------------------------------------------- */

/* --- 7-1. Header Shell --- */
.mk-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.mk-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-bottom-color: transparent;
}
.mk-header__inner {
  display: flex;
  align-items: center;
  max-width: var(--content-width);
  height: 72px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- 7-2. Brand (Logo) --- */
.mk-header__brand {
  flex-shrink: 0;
  margin-right: auto;
}
.mk-header__logo-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.mk-header__logo-link:hover { opacity: 1; }
.mk-header__logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-primary-dark);
  letter-spacing: -0.03em;
}
.mk-header__logo-accent {
  color: var(--color-secondary);
}
.mk-header__logo-sub {
  font-size: 0.625rem;
  font-weight: 400;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
}

/* --- 7-3. Desktop Navigation --- */
.mk-header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: 24px;
}
.mk-header__nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-main);
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.mk-header__nav-link:hover {
  background-color: var(--color-bg-sub);
  color: var(--color-primary);
  opacity: 1;
}

/* --- 7-4. Header Actions --- */
.mk-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.mk-header__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--color-text-sub);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.mk-header__icon-btn:hover {
  background-color: var(--color-bg-sub);
  color: var(--color-primary);
}
.mk-header__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.mk-header__cta-btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 62, 139, 0.25);
  opacity: 1;
}

/* --- 7-5. Hamburger Button (SP) --- */
.mk-header__hamburger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.mk-header__hamburger span {
  display: block;
  position: absolute;
  left: 10px;
  width: 20px;
  height: 2px;
  background-color: var(--color-text-main);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.mk-header__hamburger span:nth-child(1) { top: 13px; }
.mk-header__hamburger span:nth-child(2) { top: 19px; }
.mk-header__hamburger span:nth-child(3) { top: 25px; }
.mk-header__hamburger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.mk-header__hamburger.is-open span:nth-child(2) { opacity: 0; }
.mk-header__hamburger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* --- 7-6. Mobile Menu Overlay (SP) --- */
.mk-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 62, 139, 0.95);
  z-index: 1000;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mk-mobile-menu.is-open {
  transform: translateX(0);
}

.mk-mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 24px 40px;
  min-height: 100%;
}

.mk-mobile-menu__nav {
  width: 100%;
  max-width: 320px;
}

.mk-mobile-menu__nav-item {
  display: block;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.mk-mobile-menu__nav-item:hover {
  opacity: 0.8;
}

.mk-mobile-menu__nav-item.is-active {
  color: var(--color-secondary);
}

.mk-mobile-menu__service-link {
  display: block;
  margin-top: 24px;
  padding: 12px 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.mk-mobile-menu__service-link:hover {
  color: #fff;
  opacity: 1;
}

.mk-mobile-menu__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  padding: 14px 0;
  width: 100%;
  max-width: 320px;
  border: 2px solid #fff;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.mk-mobile-menu__phone:hover {
  opacity: 0.8;
}

.mk-mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 14px 0;
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
  background-color: var(--color-secondary);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.mk-mobile-menu__cta:hover {
  opacity: 0.8;
}

/* --- 7-7. Search Modal (white panel) --- */
.mk-search-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: none;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.mk-search-modal.is-open {
  display: flex;
  opacity: 1;
}

.mk-search-modal__body {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  width: 100%;
  max-width: 600px;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.mk-search-modal__inner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mk-search-modal__input {
  flex: 1;
  width: 100%;
  font-size: 18px;
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid var(--color-border);
  outline: none;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--color-text-main);
  background: transparent;
  transition: border-color 0.3s;
}

.mk-search-modal__input::placeholder {
  color: var(--color-text-sub);
}

.mk-search-modal__input:focus {
  border-bottom-color: var(--color-primary);
}

.mk-search-modal__submit {
  display: none;
}

.mk-search-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--color-bg-sub);
  font-size: 1.125rem;
  color: var(--color-text-sub);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

.mk-search-modal__close:hover {
  background: var(--color-border);
}

/* Search results */
.mk-search-results {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mk-search-results__empty {
  text-align: center;
  color: var(--color-text-sub);
  font-size: 0.9375rem;
  padding: 32px 0;
}

/* --- 7-8. Header SP Overrides --- */
@media screen and (max-width: 736px) {
  .mk-header__inner {
    height: 60px;
    padding: 0 16px;
  }
  .mk-header__logo-text { font-size: 1.0625rem; }
  .mk-header__logo-sub { font-size: 0.5625rem; }
  .mk-header__nav { display: none; }
  .mk-header__hamburger { display: block; }
  .mk-header__cta-btn { display: none; }

  .mk-mobile-menu {
    display: block;
  }

  .mk-search-modal {
    padding-top: 80px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .mk-search-modal__body {
    padding: 24px 20px;
    border-radius: 12px;
  }
}

/* --------------------------------------------------------------------------
   8. Footer
   -------------------------------------------------------------------------- */

/* --- 8-1. Footer Shell --- */
.mk-footer {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 60px 0 0;
}

.mk-footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.mk-footer a:hover {
  color: #fff;
  opacity: 1;
}

/* --- 8-2. Footer Grid --- */
.mk-footer__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 20px;
}

.mk-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

/* --- 8-3. Footer Columns --- */
.mk-footer__logo {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1;
}

.mk-footer__logo:hover {
  color: #fff;
}

.mk-footer__logo .mk-logo-accent {
  color: var(--color-secondary);
}

.mk-footer__desc {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
}

.mk-footer__heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mk-footer__links li + li {
  margin-top: 10px;
}

.mk-footer__links a {
  font-size: 0.8125rem;
}

.mk-footer__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

/* --- 8-4. Footer Bottom --- */
.mk-footer__bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.mk-footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.mk-footer__bottom a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* --- 8-5. Footer SP Overrides --- */
@media screen and (max-width: 736px) {
  .mk-footer {
    padding: 40px 0 0;
  }

  .mk-footer__inner {
    padding: 0 16px;
  }

  .mk-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .mk-footer__heading {
    margin-bottom: 12px;
  }

  .mk-footer__bottom {
    margin-top: 32px;
    padding: 16px 0;
  }
}

/* --------------------------------------------------------------------------
   8.5. Site Intro v4
   -------------------------------------------------------------------------- */

.mk-site-intro {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.mk-site-intro__bg {
  position: absolute;
  inset: 0;
}
.mk-site-intro__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(0.9);
}
.mk-site-intro__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35,62,139,0.15) 0%, rgba(35,62,139,0.3) 100%);
}
.mk-site-intro__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 0 24px;
}
.mk-site-intro__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.mk-site-intro__title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.mk-site-intro__accent { color: var(--color-secondary); }
.mk-site-intro__tagline {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
}
.mk-site-intro__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}
.mk-site-intro__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.mk-site-intro__stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}
.mk-site-intro__stat-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.6);
}
.mk-site-intro__stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
}
.mk-site-intro__scroll-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 40px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.3s, border-color 0.3s;
}
.mk-site-intro__scroll-cta:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  opacity: 1;
}
.mk-site-intro__scroll-cta svg {
  animation: mk-bounce 2s infinite;
}
@keyframes mk-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@media screen and (max-width: 736px) {
  .mk-site-intro { height: 400px; }
  .mk-site-intro__title { font-size: 2rem; }
  .mk-site-intro__stats { gap: 16px; }
  .mk-site-intro__stat-num { font-size: 1.375rem; }
}

/* --------------------------------------------------------------------------
   9. Hero Slider v2 — Full-bleed photo background
   -------------------------------------------------------------------------- */

.mk-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.mk-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.mk-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* Background photo */
.mk-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a2a5e 0%, #3366cc 40%, #233e8b 100%);
}
.mk-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.55) saturate(0.9);
}

/* Gradient overlay */
.mk-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(35, 62, 139, 0.5) 0%,
    rgba(35, 62, 139, 0.3) 35%,
    rgba(35, 62, 139, 0.15) 65%,
    transparent 100%
  );
}

/* Text content */
.mk-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 600px;
  padding: 0 40px;
}

.mk-hero__badge {
  display: inline-block;
  width: fit-content;
  padding: 6px 16px;
  border-radius: 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.mk-hero__title {
  color: #fff;
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mk-hero__excerpt {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.mk-hero__cta {
  display: inline-block;
  width: fit-content;
  padding: 14px 32px;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mk-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.4);
  opacity: 1;
}

/* Dot indicators */
.mk-hero-slider__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.mk-hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.mk-hero-slider__dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

/* SP */
@media screen and (max-width: 736px) {
  .mk-hero {
    height: 340px;
  }
  .mk-hero__overlay {
    background: linear-gradient(
      to top,
      rgba(35, 62, 139, 0.55) 0%,
      rgba(35, 62, 139, 0.3) 50%,
      transparent 100%
    );
  }
  .mk-hero__content {
    justify-content: flex-end;
    padding: 24px 20px 48px;
    max-width: 100%;
  }
  .mk-hero__title {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .mk-hero__excerpt {
    display: -webkit-box;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
  }
  .mk-hero-slider__dots {
    bottom: 16px;
  }
  .mk-hero-slider__dot {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s;
  }
  .mk-hero-slider__dot.is-active {
    width: 32px;
    background: #fff;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   10. Section Title / Article Card Components
   -------------------------------------------------------------------------- */

/* --- Section title v4 --- */
.mk-section-title {
  margin-bottom: 48px;
}

.mk-section-title-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-sub);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.mk-section-title-ja {
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

/* --- Article Card v3 --- */
.mk-article-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s cubic-bezier(.2,.8,.2,1);
}
.mk-article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  opacity: 1;
}

.mk-article-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #f0f0f0;
}
.mk-article-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.mk-article-card:hover .mk-article-card__image img {
  transform: scale(1.05);
}
.mk-article-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.mk-article-card__category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 5px 14px;
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  z-index: 2;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mk-article-card__category-badge--inline {
  position: static;
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  margin-bottom: 6px;
  align-self: flex-start;
}

.mk-article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.mk-article-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--color-text-main);
}

.mk-article-card__excerpt {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

.mk-article-card__meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--color-text-sub);
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}

/* Large variant */
.mk-article-card--large {
  flex-direction: column;
}
.mk-article-card--large .mk-article-card__image {
  aspect-ratio: 3/2;
}
.mk-article-card--large .mk-article-card__body {
  padding: 24px;
  flex: 1;
}
.mk-article-card--large .mk-article-card__title {
  font-size: 1.375rem;
  font-weight: 900;
  -webkit-line-clamp: 3;
  line-height: 1.5;
}
.mk-article-card--large .mk-article-card__excerpt {
  -webkit-line-clamp: 3;
  font-size: 0.875rem;
}

/* Small variant */
.mk-article-card--small {
  flex-direction: row;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.mk-article-card--small .mk-article-card__image {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  aspect-ratio: 1/1;
  border-radius: 12px 0 0 12px;
}
.mk-article-card--small .mk-article-card__body { padding: 10px 14px; }
.mk-article-card--small .mk-article-card__title {
  font-size: 0.8125rem;
  margin-bottom: 4px;
  -webkit-line-clamp: 2;
}
.mk-article-card--small .mk-article-card__meta {
  border-top: none;
  padding-top: 0;
  font-size: 0.6875rem;
}

/* Card SP */
@media screen and (max-width: 736px) {
  .mk-article-card { border-radius: 12px; }
  .mk-article-card--large .mk-article-card__image { aspect-ratio: 16/9; }
  .mk-article-card--large .mk-article-card__body { padding: 16px; }
  .mk-article-card--large .mk-article-card__title { font-size: 1.125rem; }
  .mk-article-card__body { padding: 16px; }
}

/* --------------------------------------------------------------------------
   11. Category Navigation v3 (photo backgrounds)
   -------------------------------------------------------------------------- */

.mk-category-nav { padding: 64px 0; background-color: #fafafa; }
.mk-category-nav__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.mk-category-nav__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s, transform 0.25s;
}
.mk-category-nav__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.mk-category-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}
.mk-category-nav__icon svg { width: 24px; height: 24px; }
.mk-category-nav__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mk-category-nav__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}
.mk-category-nav__desc {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  line-height: 1.5;
}
.mk-category-nav__count {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  margin-top: 2px;
}

@media screen and (max-width: 736px) {
  .mk-category-nav { padding: 48px 0; }
  .mk-category-nav__list {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 16px;
  }
  .mk-category-nav__item {
    padding: 16px;
  }
}

/* --------------------------------------------------------------------------
   12. Pickup Section
   -------------------------------------------------------------------------- */

.mk-pickup-section {
  padding: 80px 0;
  background-color: #fafafa;
}

.mk-pickup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mk-pickup-grid__item .mk-article-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.mk-pickup-grid__item .mk-article-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

@media screen and (max-width: 736px) {
  .mk-pickup-section { padding: 56px 0; }
  .mk-pickup-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mk-pickup-grid::-webkit-scrollbar { display: none; }
  .mk-pickup-grid__item {
    flex: 0 0 80vw;
    max-width: 300px;
    scroll-snap-align: start;
  }
}

/* --------------------------------------------------------------------------
   13. Parts Guide (replaces Knowledge Map)
   -------------------------------------------------------------------------- */

.mk-parts-guide { padding: 80px 0; background: var(--color-bg-warm); }
.mk-parts-guide__lead {
  text-align: center;
  color: var(--color-text-sub);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-top: -24px;
  margin-bottom: 48px;
}
.mk-parts-guide__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.mk-parts-guide__card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s cubic-bezier(.2,.8,.2,1);
}
.mk-parts-guide__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  opacity: 1;
}
.mk-parts-guide__card-photo {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f5f5f5;
}
.mk-parts-guide__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
.mk-parts-guide__card:hover .mk-parts-guide__card-photo img {
  transform: scale(1.05);
}
.mk-parts-guide__card-body { padding: 20px; }
.mk-parts-guide__card-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text-main);
}
.mk-parts-guide__card-desc {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin-bottom: 12px;
}
.mk-parts-guide__card-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
}
@media screen and (max-width: 736px) {
  .mk-parts-guide { padding: 56px 0; }
  .mk-parts-guide__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mk-parts-guide__card-body { padding: 14px; }
  .mk-parts-guide__card-name { font-size: 0.875rem; }
  .mk-parts-guide__card-desc { font-size: 0.75rem; }
}
@media screen and (max-width: 480px) {
  .mk-parts-guide__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   14. Category Articles
   -------------------------------------------------------------------------- */

.mk-category-articles {
  padding: 80px 0;
  background-color: #fafafa;
}

.mk-category-block + .mk-category-block {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--color-border);
}

.mk-category-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.mk-category-block__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 900;
}

.mk-category-block__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cat-color, var(--color-primary));
}
.mk-category-block__title-icon svg {
  width: 24px;
  height: 24px;
}

.mk-category-block__all {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: color 0.2s;
}

.mk-category-block__all:hover {
  color: var(--color-secondary);
  opacity: 1;
}

.mk-category-block__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media screen and (max-width: 736px) {
  .mk-category-articles { padding: 56px 0; }
  .mk-category-block + .mk-category-block { margin-top: 40px; padding-top: 40px; }
  .mk-category-block__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mk-category-block__grid::-webkit-scrollbar { display: none; }
  .mk-category-block__grid > * {
    flex: 0 0 75vw;
    max-width: 280px;
    scroll-snap-align: start;
  }

  .mk-category-block__title {
    font-size: 1.125rem;
  }
}

/* --------------------------------------------------------------------------
   15. Diagnosis Section
   -------------------------------------------------------------------------- */

/* ==================== Chat Diagnosis v4 ==================== */
.mk-diagnosis-section {
  padding: 80px 0;
  background: var(--color-bg-sub);
}

.mk-chat {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.mk-chat__log {
  padding: 24px 20px;
  max-height: 520px;
  overflow-y: auto;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mk-chat__log::-webkit-scrollbar {
  width: 4px;
}
.mk-chat__log::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

/* --- Row --- */
.mk-chat__row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 85%;
}
.mk-chat__row--bot {
  align-self: flex-start;
}
.mk-chat__row--user {
  align-self: flex-end;
}

/* --- Avatar --- */
.mk-chat__avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}
.mk-chat__avatar svg {
  width: 100%;
  height: 100%;
}

/* --- Bubble --- */
.mk-chat__bubble {
  padding: 12px 16px;
  border-radius: 18px;
  max-width: 100%;
  word-break: break-word;
}
.mk-chat__bubble--bot {
  background: #f0f2f5;
  border-bottom-left-radius: 6px;
}
.mk-chat__bubble--user {
  background: var(--color-primary);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.mk-chat__bot-name {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.mk-chat__text {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Typing Indicator --- */
.mk-chat__typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 20px;
  min-height: 44px;
}
.mk-chat__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #aab0b8;
  animation: mk-chat-dot-bounce 1.4s infinite ease-in-out;
}
.mk-chat__dot:nth-child(2) { animation-delay: 0.16s; }
.mk-chat__dot:nth-child(3) { animation-delay: 0.32s; }

@keyframes mk-chat-dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

/* --- Options --- */
.mk-chat__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0 8px 44px;
}

.mk-chat__option-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 2px solid var(--color-primary);
  border-radius: 24px;
  background: #fff;
  color: var(--color-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(.2,.8,.2,1);
}
.mk-chat__option-btn:hover:not(.is-disabled) {
  background: rgba(51, 102, 204, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(51, 102, 204, 0.15);
}
.mk-chat__option-btn.is-selected {
  background: var(--color-primary);
  color: #fff;
  transform: scale(0.95);
}
.mk-chat__option-btn.is-disabled:not(.is-selected) {
  opacity: 0.35;
  cursor: default;
  border-color: #ccc;
  color: #999;
}

.mk-chat__option-icon {
  font-size: 1rem;
}
.mk-chat__option-label {
  white-space: nowrap;
}

/* --- Result Cards --- */
.mk-chat__result-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0 8px 44px;
}

.mk-chat__result-card {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1),
              box-shadow 0.3s cubic-bezier(.2,.8,.2,1);
  animation: mk-chat-card-in 0.4s cubic-bezier(.2,.8,.2,1) both;
}
.mk-chat__result-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  opacity: 1;
}

@keyframes mk-chat-card-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mk-chat__result-thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  overflow: hidden;
}
.mk-chat__result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-chat__result-info {
  flex: 1;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.mk-chat__result-cat {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
}
.mk-chat__result-title {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mk-chat__result-read {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* --- Reset --- */
.mk-chat__reset-row {
  text-align: center;
  padding: 16px 0 8px;
}
.mk-chat__reset-btn {
  display: inline-block;
  padding: 10px 28px;
  border: 2px solid var(--color-border);
  border-radius: 24px;
  background: #fff;
  color: var(--color-text-sub);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.mk-chat__reset-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(51, 102, 204, 0.04);
}

/* --- SP --- */
@media screen and (max-width: 736px) {
  .mk-diagnosis-section { padding: 56px 0; }
  .mk-chat {
    border-radius: 20px;
    margin: 0 -4px;
  }
  .mk-chat__log {
    padding: 20px 16px;
    max-height: 440px;
  }
  .mk-chat__row { max-width: 90%; }
  .mk-chat__avatar { width: 32px; height: 32px; }
  .mk-chat__options { padding-left: 40px; }
  .mk-chat__result-cards { padding-left: 40px; }
  .mk-chat__option-btn {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   15.5. FAQ
   -------------------------------------------------------------------------- */

.mk-faq { padding: 80px 0; }
.mk-faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mk-faq__item {
  display: block;
  padding: 24px 28px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s cubic-bezier(.2,.8,.2,1);
}
.mk-faq__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  opacity: 1;
}
.mk-faq__q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.mk-faq__q-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.mk-faq__q-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.5;
  padding-top: 4px;
}
.mk-faq__a {
  padding-left: 46px;
}
.mk-faq__a-text {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin-bottom: 8px;
}
.mk-faq__a-link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary);
}
.mk-faq__item:hover .mk-faq__a-link { color: var(--color-secondary); }
@media screen and (max-width: 736px) {
  .mk-faq { padding: 56px 0; }
  .mk-faq__item { padding: 20px; border-radius: 12px; }
  .mk-faq__q { gap: 10px; }
  .mk-faq__q-icon { width: 28px; height: 28px; font-size: 0.75rem; }
  .mk-faq__a { padding-left: 38px; }
}

/* --------------------------------------------------------------------------
   16. CTA Banner v3
   -------------------------------------------------------------------------- */

.mk-cta-banner {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  overflow: hidden;
  text-align: center;
  color: #fff;
}
.mk-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.mk-cta-banner__heading {
  position: relative;
  font-size: 1.75rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.mk-cta-banner__sub {
  position: relative;
  font-size: 0.9375rem;
  opacity: 0.85;
  margin-bottom: 32px;
}
.mk-cta-banner__actions {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.mk-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.mk-cta-banner__btn:hover {
  transform: translateY(-3px);
  opacity: 1;
}
.mk-cta-banner__btn--primary {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255,102,0,0.3);
}
.mk-cta-banner__btn--phone {
  background: rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(4px);
}
.mk-cta-banner__btn--phone:hover {
  background: rgba(255,255,255,0.25);
}
@media screen and (max-width: 736px) {
  .mk-cta-banner { padding: 56px 0; }
  .mk-cta-banner__heading { font-size: 1.375rem; }
  .mk-cta-banner__actions { flex-direction: column; padding: 0 20px; }
  .mk-cta-banner__btn { width: 100%; padding: 16px; }
}

/* --------------------------------------------------------------------------
   17. About Section
   -------------------------------------------------------------------------- */

.mk-about-section {
  padding: 80px 0;
  background-color: #fff;
}

.mk-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.mk-about-text {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--color-text-sub);
}

.mk-about-service {
  padding: 28px;
  border-radius: 8px;
  background-color: var(--color-bg-sub);
}

.mk-about-service__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.mk-about-service__sub {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  margin-bottom: 20px;
}

.mk-about-service__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-about-service__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: color 0.2s;
}

.mk-about-service__link:hover {
  color: var(--color-secondary);
  opacity: 1;
}

@media screen and (max-width: 736px) {
  .mk-about-section {
    padding: 56px 0;
  }

  .mk-about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   18. Scroll Animation
   -------------------------------------------------------------------------- */

.mk-fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}

.mk-fade-in-up.is-visible {
  opacity: 1;
  transform: none;
}
.mk-fade-in-up[data-delay="1"] { transition-delay: 0.1s; }
.mk-fade-in-up[data-delay="2"] { transition-delay: 0.2s; }
.mk-fade-in-up[data-delay="3"] { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   19. Article Detail Page
   -------------------------------------------------------------------------- */

/* --- Article Eyecatch --- */
.mk-article-eyecatch {
  margin: 0 0 32px;
  border-radius: 12px;
  overflow: hidden;
}
.mk-article-eyecatch img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* --- Breadcrumb --- */
.mk-breadcrumb {
  padding: 12px 0;
  font-size: 0.8125rem;
  color: var(--color-text-sub);
}

.mk-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

.mk-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mk-breadcrumb__item::after {
  content: '>';
  color: var(--color-text-sub);
  font-size: 0.75rem;
}

.mk-breadcrumb__item:last-child::after {
  content: '';
}

.mk-breadcrumb__link {
  color: var(--color-primary);
  transition: opacity 0.2s;
}

.mk-breadcrumb__link:hover {
  opacity: 0.7;
}

/* --- Article Header --- */
.mk-article-header {
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.mk-article-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.mk-article-header__badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.mk-article-header__date,
.mk-article-header__reading-time {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
}

.mk-article-header__title {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.mk-article-header__subtitle {
  font-size: 1rem;
  color: var(--color-text-sub);
  line-height: 1.6;
  margin-bottom: 24px;
}

.mk-article-header__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.3);
}
.mk-article-header__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
}
.mk-article-header__hero svg {
  width: 64px;
  height: 64px;
  position: relative;
  z-index: 1;
}

/* --- 2-Column Layout --- */
.mk-article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 40px 0 60px;
}

.mk-article-main {
  min-width: 0;
}

.mk-article-sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
}

/* --- Article Body (placeholder + future content typography) --- */
.mk-article-body {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--color-text-main);
  margin-bottom: 40px;
}

.mk-article-body h2 {
  font-size: 1.375rem;
  font-weight: 900;
  padding: 12px 16px;
  margin: 48px 0 20px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-sub);
  line-height: 1.5;
}

.mk-article-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  padding-bottom: 8px;
  margin: 36px 0 16px;
  border-bottom: 2px solid var(--color-border);
  line-height: 1.5;
}

.mk-article-body h4 {
  font-size: 1rem;
  font-weight: 700;
  margin: 28px 0 12px;
  line-height: 1.5;
}

.mk-article-body p {
  margin-bottom: 1.5em;
  padding-left: 1em;
  padding-right: 1em;
}

.mk-article-body ul,
.mk-article-body ol {
  margin: 0 0 1.5em 1.5em;
  padding-right: 1em;
}

.mk-article-body ul {
  list-style: disc;
}

.mk-article-body ol {
  list-style: decimal;
}

.mk-article-body li {
  margin-bottom: 0.5em;
  line-height: 1.8;
}

.mk-article-body a {
  color: var(--color-primary);
  text-decoration: underline;
}

.mk-article-body a:hover {
  opacity: 0.7;
}

.mk-article-body blockquote {
  margin: 1.5em 1em;
  padding: 16px 20px;
  border-left: 4px solid var(--color-primary);
  background: var(--color-bg-sub);
  color: var(--color-text-sub);
  font-size: 0.9375rem;
}

.mk-article-body table {
  width: 100%;
  margin: 1.5em 0;
  border: 1px solid var(--color-border);
  font-size: 0.9375rem;
}

.mk-article-body th,
.mk-article-body td {
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.mk-article-body th {
  background: var(--color-bg-sub);
  font-weight: 700;
}

.mk-article-body .mk-article-placeholder {
  padding: 60px 24px;
  background: var(--color-bg-sub);
  border-radius: 12px;
  text-align: center;
  color: var(--color-text-sub);
  font-size: 0.875rem;
  line-height: 1.8;
}

/* --- Article Content Components --- */
.mk-article-figure {
  margin: 2em 1em;
}
.mk-article-figure img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
.mk-article-table-wrap {
  overflow-x: auto;
  margin: 1.5em 1em;
  -webkit-overflow-scrolling: touch;
}
.mk-article-table-wrap table {
  min-width: 480px;
}
.mk-article-note {
  font-size: 0.875rem;
  color: var(--color-text-sub);
  padding-left: 1em;
  border-left: 3px solid var(--color-border);
  margin-left: 1em;
  margin-right: 1em;
  margin-bottom: 1.5em;
}
.mk-article-callout {
  background: #eef3ff;
  border-radius: 12px;
  padding: 24px;
  margin: 2em 1em;
}
.mk-article-callout__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--color-primary);
}
.mk-article-callout__link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
}
.mk-article-warning {
  background: #fef2f2;
  border-left: 4px solid var(--cat-trouble);
  border-radius: 0 12px 12px 0;
  padding: 24px;
  margin: 2em 1em;
}
.mk-article-warning h4 {
  color: var(--cat-trouble);
  margin: 0 0 12px;
}
.mk-article-glossary {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 2px solid var(--color-border);
}
.mk-article-glossary h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 16px;
  padding: 0;
  border-left: none;
  background: none;
}

/* --- Article Body: SP indent adjustment --- */
@media screen and (max-width: 736px) {
  .mk-article-body p {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .mk-article-body ul,
  .mk-article-body ol {
    padding-right: 0.5em;
  }
  .mk-article-figure,
  .mk-article-table-wrap,
  .mk-article-callout,
  .mk-article-warning {
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
  .mk-article-note {
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
  .mk-article-body blockquote {
    margin-left: 0.5em;
    margin-right: 0.5em;
  }
}

/* --- Compact CTA (in-article) --- */
.mk-compact-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #eef3ff 0%, #f8f6f3 100%);
  border-radius: 12px;
  margin: 40px 0;
}

.mk-compact-cta__text {
  flex: 1;
}

.mk-compact-cta__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text-main);
}

.mk-compact-cta__sub {
  font-size: 0.8125rem;
  color: var(--color-text-sub);
}

.mk-compact-cta__btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 10px 20px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.2s;
}

.mk-compact-cta__btn:hover {
  background: var(--color-primary-dark);
  opacity: 1;
}

/* --- TOC (Table of Contents) --- */
.mk-toc {
  background: var(--color-bg-sub);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.mk-toc__title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-main);
}

.mk-toc__list {
  font-size: 0.8125rem;
  line-height: 1.6;
}

.mk-toc__list li {
  margin-bottom: 8px;
}

.mk-toc__list a {
  color: var(--color-text-sub);
  transition: color 0.2s;
}

.mk-toc__list a:hover {
  color: var(--color-primary);
}

/* Mobile TOC accordion */
.mk-toc__toggle {
  display: none;
}

/* --- Sidebar Related --- */
.mk-sidebar-related {
  margin-bottom: 24px;
}

.mk-sidebar-related__title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-text-main);
}

.mk-sidebar-related__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- Sidebar CTA --- */
.mk-sidebar-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  color: #fff;
}

.mk-sidebar-cta__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mk-sidebar-cta__sub {
  font-size: 0.8125rem;
  margin-bottom: 16px;
  opacity: 0.9;
}

.mk-sidebar-cta__btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--color-secondary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.mk-sidebar-cta__btn:hover {
  opacity: 0.85;
}

.mk-sidebar-cta__phone {
  display: block;
  margin-top: 12px;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

@media screen and (max-width: 736px) {
  .mk-sidebar-cta { display: none; }
}

/* --- Article Tags --- */
.mk-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
}

.mk-article-tags__item {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-bg-sub);
  border-radius: 20px;
  font-size: 0.8125rem;
  color: var(--color-text-sub);
  transition: background 0.2s;
}

.mk-article-tags__item:hover {
  background: var(--color-border);
  opacity: 1;
}

/* --- Article Footer CTA (full-width banner) --- */
.mk-article-footer-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  color: #fff;
  margin: 40px 0;
}

.mk-article-footer-cta__title {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.mk-article-footer-cta__sub {
  font-size: 0.9375rem;
  margin-bottom: 24px;
  opacity: 0.9;
}

.mk-article-footer-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mk-article-footer-cta__btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.mk-article-footer-cta__btn--primary {
  background: var(--color-secondary);
  color: #fff;
}

.mk-article-footer-cta__btn--phone {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.mk-article-footer-cta__btn:hover {
  opacity: 0.85;
}

/* --- Related Carousel --- */
.mk-related-carousel {
  padding: 40px 0;
}

.mk-related-carousel__title {
  font-size: 1.125rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.mk-related-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 12px;
}

.mk-related-carousel__track::-webkit-scrollbar {
  height: 4px;
}

.mk-related-carousel__track::-webkit-scrollbar-track {
  background: var(--color-bg-sub);
  border-radius: 2px;
}

.mk-related-carousel__track::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 2px;
}

.mk-related-carousel__track > * {
  flex: 0 0 260px;
  scroll-snap-align: start;
}

/* --- Prev / Next Navigation --- */
.mk-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 32px 0 60px;
  border-top: 1px solid var(--color-border);
}

.mk-article-nav__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mk-article-nav__item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  opacity: 1;
}

.mk-article-nav__item--next {
  text-align: right;
}

.mk-article-nav__label {
  font-size: 0.75rem;
  color: var(--color-text-sub);
}

.mk-article-nav__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Floating CTA (Mobile) --- */
.mk-floating-cta {
  display: none;
}

/* ===== Article Detail — SP ===== */
@media screen and (max-width: 736px) {
  .mk-article-header__title {
    font-size: 1.375rem;
  }

  .mk-article-header__hero {
    font-size: 3rem;
    border-radius: 8px;
  }

  .mk-article-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 0 40px;
  }

  .mk-article-sidebar {
    position: static;
    margin-top: 40px;
  }

  /* Mobile TOC accordion */
  .mk-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-main);
    padding: 0;
  }

  .mk-toc__toggle::after {
    content: '▼';
    font-size: 0.625rem;
    transition: transform 0.3s;
  }

  .mk-toc__toggle.is-open::after {
    transform: rotate(180deg);
  }

  .mk-toc__title {
    display: none;
  }

  .mk-toc__list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .mk-toc__list.is-open {
    max-height: 500px;
  }

  .mk-compact-cta {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .mk-article-footer-cta {
    padding: 28px 20px;
  }

  .mk-article-footer-cta__title {
    font-size: 1.125rem;
  }

  .mk-related-carousel__track > * {
    flex: 0 0 220px;
  }

  .mk-article-nav {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0 100px;
  }

  .mk-article-nav__item--next {
    text-align: left;
  }

  /* Floating CTA */
  .mk-floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    background: var(--color-primary);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .mk-floating-cta.is-visible {
    transform: translateY(0);
  }

  .mk-floating-cta__label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
    opacity: 0.85;
    margin-bottom: 8px;
  }

  .mk-floating-cta__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mk-floating-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    line-height: 1.2;
    color: #fff;
  }

  .mk-floating-cta__btn--phone {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }

  .mk-floating-cta__btn--web {
    background: var(--color-secondary);
  }

  .mk-floating-cta__btn svg {
    flex-shrink: 0;
  }

  .mk-floating-cta__note {
    font-size: 0.625rem;
    text-align: center;
    opacity: 0.7;
    margin-top: 6px;
    letter-spacing: 0.02em;
  }
}

/* --------------------------------------------------------------------------
   20. Category Page — Category Hero v3 (photo-based)
   -------------------------------------------------------------------------- */

.mk-category-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mk-category-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mk-category-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.mk-category-hero[data-cat="trouble"] .mk-category-hero__overlay { background: linear-gradient(135deg, rgba(220,38,38,0.8), rgba(153,27,27,0.9)); }
.mk-category-hero[data-cat="cost"] .mk-category-hero__overlay { background: linear-gradient(135deg, rgba(217,119,6,0.8), rgba(146,64,14,0.9)); }
.mk-category-hero[data-cat="maker"] .mk-category-hero__overlay { background: linear-gradient(135deg, rgba(124,58,237,0.8), rgba(91,33,182,0.9)); }
.mk-category-hero[data-cat="knowledge"] .mk-category-hero__overlay { background: linear-gradient(135deg, rgba(37,99,235,0.8), rgba(30,58,138,0.9)); }
.mk-category-hero[data-cat="safety"] .mk-category-hero__overlay { background: linear-gradient(135deg, rgba(5,150,105,0.8), rgba(6,95,70,0.9)); }
.mk-category-hero[data-cat="column"] .mk-category-hero__overlay { background: linear-gradient(135deg, rgba(219,39,119,0.8), rgba(157,23,77,0.9)); }
.mk-category-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.mk-category-hero__icon { color: rgba(255,255,255,0.6); margin-bottom: 12px; display: block; }
.mk-category-hero__icon svg { width: 40px; height: 40px; }
.mk-category-hero__title { font-size: 2rem; font-weight: 900; margin-bottom: 4px; color: #fff; }
.mk-category-hero__nameEn { font-family: 'Inter', sans-serif; font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; margin-bottom: 12px; }
.mk-category-hero__desc { font-size: 0.875rem; opacity: 0.85; max-width: 480px; margin: 0 auto 8px; }
.mk-category-hero__count { font-size: 0.8125rem; opacity: 0.7; }

@media screen and (max-width: 736px) {
  .mk-category-hero { height: auto; min-height: 220px; padding: 24px 20px 40px; }
  .mk-category-hero__title { font-size: 1.5rem; }
}

/* --- Category Grid --- */
.mk-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 48px 0 60px;
}

/* --- Pagination --- */
.mk-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 0 60px;
}

.mk-pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-sub);
  background: var(--color-bg-main);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.mk-pagination__item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  opacity: 1;
}

.mk-pagination__item.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.mk-pagination__item.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ===== Category Page — SP ===== */
@media screen and (max-width: 736px) {
  .mk-category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0 40px;
  }

  .mk-pagination__item {
    width: 36px;
    height: 36px;
    font-size: 0.8125rem;
  }
}

/* Category list page: 480px+ shows 2 columns */
@media screen and (min-width: 480px) and (max-width: 736px) {
  .mk-category-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* --------------------------------------------------------------------------
   21. Article List (All Articles)
   -------------------------------------------------------------------------- */

/* --- Article List Hero --- */
.mk-article-list-hero {
  padding: 40px 0 0;
  text-align: center;
}

.mk-article-list-hero__title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--color-text-main);
}

.mk-article-list-hero__title-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-sub);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.mk-article-list-hero__count {
  font-size: 0.875rem;
  color: var(--color-text-sub);
}

/* --- Category Tabs --- */
.mk-article-list-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 32px 0 8px;
}

.mk-article-list-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-sub);
  background: var(--color-bg-main);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.mk-article-list-tabs__item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  opacity: 1;
}

.mk-article-list-tabs__item.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* --- Article List Grid (reuses .mk-category-grid) --- */

/* ===== Article List — SP ===== */
@media screen and (max-width: 736px) {
  .mk-article-list-hero {
    padding: 28px 0 0;
  }

  .mk-article-list-hero__title {
    font-size: 1.5rem;
  }

  .mk-article-list-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 24px 0 8px;
    gap: 6px;
  }

  .mk-article-list-tabs__item {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   22. 404 Page
   -------------------------------------------------------------------------- */

.mk-error-page {
  text-align: center;
  padding: 80px 24px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mk-error-shutter {
  width: 200px;
  margin-bottom: 32px;
  overflow: hidden;
}

.mk-error-shutter__case {
  height: 24px;
  background: linear-gradient(to bottom, #3366cc, #233e8b);
  border-radius: 6px 6px 0 0;
}

.mk-error-shutter__slats {
  animation: mk-shutter-close 1.2s ease-out forwards;
}

.mk-error-shutter__slat {
  height: 20px;
  margin-top: 2px;
  background: linear-gradient(to bottom, #e0e0e0, #b8b8b8);
  border-radius: 2px;
  transform-origin: top;
}

@keyframes mk-shutter-close {
  from { max-height: 0; }
  to { max-height: 200px; }
}

.mk-error-code {
  font-size: 5rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.mk-error-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 8px;
}

.mk-error-desc {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  margin-bottom: 32px;
  line-height: 1.8;
}

.mk-error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mk-error-btn,
.mk-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.mk-error-btn:hover,
.mk-btn:hover {
  transform: translateY(-2px);
}

.mk-error-btn--primary,
.mk-btn--primary {
  background: var(--color-secondary);
  color: #fff;
}
.mk-error-btn--primary:hover,
.mk-btn--primary:hover {
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.4);
  opacity: 1;
}

.mk-error-btn--ghost,
.mk-btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.mk-error-btn--ghost:hover,
.mk-btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  opacity: 1;
}

@media screen and (max-width: 736px) {
  .mk-error-page {
    padding: 48px 16px;
  }

  .mk-error-code {
    font-size: 4rem;
  }
}

/* --------------------------------------------------------------------------
   SP Global Overrides
   -------------------------------------------------------------------------- */

/* Tap target minimum size */
@media screen and (max-width: 736px) {
  .mk-category-nav__item,
  .mk-chat__option-btn,
  .mk-article-card--small {
    min-height: 44px;
  }
}

/* Section title spacing on SP */
@media screen and (max-width: 736px) {
  .mk-section-title {
    margin-bottom: 32px;
  }
  .mk-section-title-ja {
    font-size: 1.375rem;
  }
}

/* --------------------------------------------------------------------------
   23. Accessibility — Focus Visible
   -------------------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Skip-link (screen reader) */
.mk-skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.mk-skip-link:focus {
  top: 0;
}

/* --- 404 Page --- */
.mk-404 {
  text-align: center;
  padding: 120px 24px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fafafa;
}
.mk-404__code {
  font-size: 6rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}
.mk-404__message {
  color: var(--color-text-sub);
  margin-bottom: 40px;
  line-height: 1.8;
  font-size: 1rem;
}
.mk-404__actions {
  display: flex;
  gap: 16px;
}

/* 24. Coming Soon (準備中) ------------------------------------------------ */
.mk-coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 80px 24px;
  grid-column: 1 / -1;
}
.mk-coming-soon__inner {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
}
.mk-coming-soon__icon {
  display: block;
  font-size: 3rem;
  margin-bottom: 24px;
}
.mk-coming-soon__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text-main);
}
.mk-coming-soon__text {
  font-size: 0.9375rem;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-bottom: 32px;
}
.mk-coming-soon__btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s;
}
.mk-coming-soon__btn:hover {
  background: var(--color-primary-dark);
}

/* Parts Guide — 準備中リンク */
.mk-parts-guide__card-link--soon {
  color: var(--color-text-sub);
  font-style: italic;
}

/* 25. Print Styles ------------------------------------------------------ */
