@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700;800&display=swap');
:root {
  --font-rounded: 'M PLUS Rounded 1c';
}

:root {
  --paper: #f7f8f3;
  --paper-deep: #eef1e6;
  --card: #fdfdf8;
  --ink: #34372e;
  --ink-soft: #5c6152;
  --muted: #8c9180;
  --willow: #8aa06a;
  --willow-deep: #5f7547;
  --willow-soft: #e9eedb;
  --willow-line: #d4ddc1;
  --amber: #b88a3f;
  --radius-lg: 22px;
  --radius: 16px;
  --radius-sm: 12px;
  --frame-inset: 7px;
  --shadow: 0 20px 46px rgba(95, 117, 71, 0.13);
  --shadow-soft: 0 12px 28px rgba(95, 117, 71, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% -6%, rgba(138, 160, 106, 0.16), transparent 32rem),
    radial-gradient(circle at 0% 4%, rgba(184, 138, 63, 0.06), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-rounded), ui-rounded, "Hiragino Maru Gothic ProN", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--willow-deep);
  color: var(--paper);
  padding: 0.65rem 0.95rem;
  border-radius: 10px;
}

.skip-link:focus {
  top: 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-rounded), system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.42;
  letter-spacing: 0.005em;
  color: var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--willow-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ---------- Reusable frame motif (signature) ---------- */
.frame {
  position: relative;
  border: 1.5px solid var(--willow-line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.frame::before {
  content: "";
  position: absolute;
  inset: var(--frame-inset);
  border: 1px solid var(--willow-line);
  border-radius: calc(var(--radius-lg) - var(--frame-inset));
  pointer-events: none;
  opacity: 0.7;
}

/* ---------- Framed header ---------- */
.frame-header {
  width: min(1060px, calc(100% - 40px));
  margin: 22px auto 0;
}

.frame-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border: 1.5px solid var(--willow-line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(233, 238, 219, 0.55));
  box-shadow: var(--shadow-soft);
}

.frame-bar::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--willow-line);
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.6;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  z-index: 1;
}

.wordmark-frame {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--willow-soft);
  color: var(--willow-deep);
}

.frame-mark {
  display: block;
}

.wordmark-text strong {
  display: block;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.wordmark-text small {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.frame-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  z-index: 1;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.frame-nav a {
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.frame-nav a:hover {
  color: var(--willow-deep);
  border-color: var(--willow);
}

main {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Lead (left-aligned inside a frame + side visual) ---------- */
.lead {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 30px;
  align-items: stretch;
  padding: 52px 0 30px;
}

.lead-frame {
  position: relative;
  border: 1.5px solid var(--willow-line);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 38px 38px 34px;
  box-shadow: var(--shadow-soft);
}

.lead-frame::before {
  content: "";
  position: absolute;
  inset: var(--frame-inset);
  border: 1px solid var(--willow-line);
  border-radius: calc(var(--radius-lg) - var(--frame-inset));
  pointer-events: none;
  opacity: 0.7;
}

.lead h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.5;
}

.lead-lede {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.95;
}

.lead-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.lead-tags span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--willow-soft);
  border: 1px solid var(--willow-line);
  color: var(--willow-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.lead-visual {
  min-height: clamp(240px, 36vw, 360px);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--willow-line);
  background:
    url("/images/willowframe-lead.jpg") center / cover no-repeat,
    linear-gradient(150deg, #e9eedb 0%, #d8e3c2 45%, #c7d5ab 100%);
  box-shadow: var(--shadow);
  position: relative;
}

.lead-visual::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}

/* ---------- Section heading ---------- */
.band-heading {
  margin-bottom: 24px;
}

.band-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
}

.band-heading p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.themes,
.recent,
.about {
  padding: 50px 0;
}

/* ---------- Theme frames (signature framed-panel cards) ---------- */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.theme-frame {
  position: relative;
  border: 1.5px solid var(--willow-line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.theme-frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.theme-frame-inner {
  margin: var(--frame-inset);
  border: 1px solid var(--willow-line);
  border-radius: calc(var(--radius-lg) - var(--frame-inset));
  padding: 24px 24px 20px;
  background: linear-gradient(180deg, rgba(233, 238, 219, 0.35), transparent 60%);
}

.theme-tag {
  display: inline-block;
  color: var(--willow-deep);
  background: var(--willow-soft);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.theme-frame h3 {
  margin: 13px 0 8px;
  font-size: 1.2rem;
}

.theme-note {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.78;
  font-size: 0.96rem;
}

.frame-points {
  list-style: none;
  margin: 16px 0 16px;
  padding: 0;
  display: grid;
  gap: 9px;
}

.frame-points li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.94rem;
}

.frame-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--willow);
}

.theme-count {
  display: inline-block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Compare note (signature center frame) ---------- */
.compare-note {
  padding: 14px 0;
}

.compare-frame {
  position: relative;
  border: 1.5px solid var(--willow-line);
  border-radius: var(--radius-lg);
  background: var(--willow-soft);
  padding: 40px clamp(28px, 5vw, 52px);
}

.compare-frame::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--willow);
  border-radius: calc(var(--radius-lg) - 9px);
  pointer-events: none;
  opacity: 0.4;
}

.compare-frame h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.compare-lede {
  margin: 14px 0 22px;
  max-width: 720px;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.92;
}

.axis-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.axis-list li {
  position: relative;
  padding: 15px 18px 15px 46px;
  background: var(--card);
  border: 1px solid var(--willow-line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-weight: 500;
  line-height: 1.7;
}

.axis-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 5px;
  border: 2px solid var(--willow);
}

/* ---------- Recent reviews ---------- */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.recent-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 24px 24px 22px;
  border: 1.5px solid var(--willow-line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.recent-frame:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.recent-tag {
  align-self: flex-start;
  color: var(--amber);
  border: 1px solid #e7d6b8;
  background: #faf4e8;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.recent-frame strong {
  font-size: 1.14rem;
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.recent-frame p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.74;
  font-size: 0.93rem;
}

.recent-frame small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- About ---------- */
.about h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-bottom: 18px;
}

.principle-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.principle-list li {
  position: relative;
  padding: 17px 20px 17px 48px;
  background: var(--card);
  border: 1px solid var(--willow-line);
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  line-height: 1.78;
}

.principle-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: var(--willow);
}

/* ---------- Footer ---------- */
.site-footer {
  width: min(1060px, calc(100% - 40px));
  margin: 36px auto 0;
  padding: 30px 0 56px;
  border-top: 1px solid var(--willow-line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-size: 1.06rem;
}

.footer-desc {
  margin: 8px 0 16px;
  max-width: 520px;
  line-height: 1.7;
  font-size: 0.9rem;
}

.footer-disclosure {
  display: inline-block;
  margin: 0;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--willow-soft);
  color: var(--willow-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

/* ---------- Article (single column) ---------- */
.article-shell {
  max-width: 770px;
  padding: 30px 0 80px;
}

.breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--willow-deep);
}

.article-body {
  position: relative;
  background: var(--card);
  border: 1.5px solid var(--willow-line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 5vw, 52px);
  box-shadow: var(--shadow-soft);
}

.article-tag {
  display: inline-block;
  color: var(--willow-deep);
  background: var(--willow-soft);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-head h1 {
  margin: 15px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.46;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

.article-lede {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--willow);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* ---------- Opener frames (signature: 向いている人 / 注意点) ---------- */
.opener-frames {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 8px;
}

.opener-frame {
  position: relative;
  border: 1.5px solid var(--willow-line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
}

.opener-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--willow-line);
  border-radius: calc(var(--radius) - 6px);
  pointer-events: none;
  opacity: 0.6;
}

.opener-suited {
  background: var(--willow-soft);
}

.opener-caution {
  background: #faf4e8;
  border-color: #e7d6b8;
}

.opener-caution::before {
  border-color: #e7d6b8;
}

.opener-kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.opener-suited .opener-kicker {
  color: var(--willow-deep);
}

.opener-caution .opener-kicker {
  color: var(--amber);
}

.opener-frame ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.opener-frame li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 0.95rem;
}

.opener-suited li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--willow-deep);
  border-bottom: 2px solid var(--willow-deep);
  transform: rotate(-45deg);
}

.opener-caution li::before {
  content: "!";
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--amber);
  font-weight: 800;
}

/* ---------- Article content ---------- */
.article-content {
  margin-top: 30px;
  color: #3a3e32;
  font-size: 1.04rem;
  line-height: 1.98;
}

.article-content h2 {
  margin: 40px 0 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  padding-left: 14px;
  border-left: 5px solid var(--willow);
  line-height: 1.5;
}

.article-content p {
  margin: 0 0 18px;
}

.article-content a {
  color: var(--willow-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--willow);
  text-underline-offset: 3px;
}

.article-content a:hover {
  text-decoration-color: var(--willow-deep);
}

.article-content ul,
.article-content ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.article-content ul li,
.article-content ol li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  line-height: 1.78;
}

.article-content ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.66em;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--willow);
}

.article-content ol {
  counter-reset: step;
}

.article-content ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.4em;
  height: 1.4em;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: var(--willow-soft);
  color: var(--willow-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.article-content blockquote {
  margin: 26px 0;
  padding: 22px 26px;
  border: 1.5px solid var(--willow-line);
  border-radius: var(--radius);
  background: var(--willow-soft);
  color: var(--willow-deep);
  font-size: 1.08rem;
  line-height: 1.85;
  font-weight: 500;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.95rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--willow-line);
}

.article-content th,
.article-content td {
  border-bottom: 1px solid var(--willow-line);
  border-right: 1px solid var(--willow-line);
  padding: 13px 15px;
  text-align: left;
  vertical-align: top;
}

.article-content th:last-child,
.article-content td:last-child {
  border-right: 0;
}

.article-content tbody tr:last-child td {
  border-bottom: 0;
}

.article-content th {
  background: var(--willow-soft);
  color: var(--willow-deep);
  font-weight: 800;
}

.article-content tbody tr:nth-child(even) td {
  background: rgba(233, 238, 219, 0.28);
}

/* ---------- FAQ + sources ---------- */
.faq-section,
.source-note {
  margin-top: 40px;
}

.faq-section h2,
.source-note h2 {
  font-size: clamp(1.25rem, 2.1vw, 1.55rem);
  margin-bottom: 8px;
}

.faq-section details {
  border: 1px solid var(--willow-line);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  margin-top: 12px;
  background: var(--card);
}

.faq-section summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  gap: 10px;
}

.faq-section summary::-webkit-details-marker {
  display: none;
}

.faq-section summary::before {
  content: "Q";
  color: var(--willow-deep);
  font-weight: 800;
}

.faq-section details[open] summary {
  color: var(--willow-deep);
}

.faq-section details p {
  margin: 12px 0 0 1.5em;
  color: var(--ink-soft);
  line-height: 1.8;
}

.source-note {
  padding: 22px 24px;
  background: rgba(233, 238, 219, 0.45);
  border: 1px dashed var(--willow-line);
  border-radius: var(--radius);
}

.source-note p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  line-height: 1.82;
}

.article-foot {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--willow-line);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--willow-deep);
  font-weight: 800;
}

.back-link::before {
  content: "←";
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .lead {
    grid-template-columns: 1fr;
  }

  .theme-grid,
  .recent-grid,
  .opener-frames {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .frame-bar {
    border-radius: var(--radius-lg);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .frame-bar::before {
    border-radius: var(--radius-lg);
  }

  .frame-nav {
    gap: 14px 18px;
  }

  .lead {
    padding: 34px 0 24px;
  }

  .article-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
