/*
Theme Name: 未払い養育費の道しるべ v1.1
Theme URI: https://onepiecelaw.com/
Author: 弁護士法人ワンピース法律事務所
Author URI: https://onepiecelaw.com/
Description: 未払い養育費を20代の方にも分かりやすく案内する軽量WordPressテーマです。
Version: 1.1.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onepiece-yoikuhi
Tags: blog, custom-logo, custom-menu, accessibility-ready, translation-ready
*/

/* Design philosophy: 「手続きの道しるべ」— generated-paper warmth, deep teal wayfinding, restrained imagery, and calm legal clarity. */
:root {
  --opy-paper: #faf7f0;
  --opy-paper-strong: #f2ecdf;
  --opy-white: #fffefb;
  --opy-ink: #243138;
  --opy-ink-soft: #53636a;
  --opy-blue: #17657d;
  --opy-blue-dark: #104a5d;
  --opy-blue-pale: #e7f1f3;
  --opy-green: #6e9864;
  --opy-green-dark: #497243;
  --opy-green-pale: #edf4e9;
  --opy-clay: #aa6443;
  --opy-line: #d9d4c9;
  --opy-shadow: 0 18px 48px rgba(36, 49, 56, .08);
  --opy-shadow-soft: 0 8px 24px rgba(36, 49, 56, .06);
  --opy-radius: 12px;
  --opy-content: 1120px;
  --opy-reading: 760px;
  --opy-ease: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--opy-ink);
  background: var(--opy-paper);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--opy-blue); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--opy-blue-dark); }
button, input, textarea, select { font: inherit; }
button, .opy-button { transition: transform 160ms var(--opy-ease), background-color 180ms var(--opy-ease), box-shadow 180ms var(--opy-ease); }
button:active, .opy-button:active { transform: scale(.97); }
:focus-visible { outline: 3px solid #d88c57; outline-offset: 3px; }
::selection { background: #cfe4e8; color: var(--opy-ink); }

.opy-container { width: min(calc(100% - 32px), var(--opy-content)); margin-inline: auto; }
.opy-reading { width: min(calc(100% - 32px), var(--opy-reading)); margin-inline: auto; }
.opy-skip-link { position: fixed; top: -100px; left: 16px; z-index: 9999; padding: 10px 16px; color: #fff; background: var(--opy-blue-dark); }
.opy-skip-link:focus { top: 12px; }
.opy-eyebrow { margin: 0 0 12px; color: var(--opy-blue-dark); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.opy-section-title, h1, h2, h3 { font-family: "Yu Mincho", "Hiragino Mincho ProN", "Shippori Mincho", serif; color: var(--opy-ink); line-height: 1.4; letter-spacing: .02em; }
h1 { font-size: clamp(2rem, 5vw, 3.8rem); margin: 0 0 24px; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); margin: 2.5em 0 .8em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 2em 0 .6em; }
p { margin: 0 0 1.45em; }

/* Header: solid background guarantees contrast on every scroll position. */
.opy-site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 254, 251, .96); border-bottom: 1px solid rgba(23, 101, 125, .12); backdrop-filter: blur(14px); }
.opy-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.opy-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--opy-ink); text-decoration: none; flex: 0 1 auto; }
.opy-brand img { width: 52px; height: 52px; object-fit: contain; }
.opy-brand-copy { display: grid; line-height: 1.25; }
.opy-brand-copy strong { font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 1.06rem; letter-spacing: .03em; }
.opy-brand-copy small { margin-top: 5px; color: var(--opy-ink-soft); font-size: .68rem; }
.opy-header-actions { display: flex; align-items: center; gap: 18px; }
.opy-menu { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.opy-menu a { color: var(--opy-ink); text-decoration: none; font-size: .88rem; font-weight: 700; }
.opy-menu a:hover { color: var(--opy-blue); }
.opy-line-mini { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; color: #fff; background: var(--opy-blue); border: 0; border-radius: 6px 16px 6px 16px; font-weight: 800; text-decoration: none; box-shadow: var(--opy-shadow-soft); }
.opy-line-mini:hover { color: #fff; background: var(--opy-blue-dark); }
.opy-nav-toggle { display: none; width: 46px; height: 46px; padding: 0; color: var(--opy-ink); background: transparent; border: 1px solid var(--opy-line); border-radius: 8px; }
.opy-nav-bars { display: grid; gap: 5px; width: 22px; margin: auto; }
.opy-nav-bars i { display: block; width: 22px; height: 2px; background: currentColor; transition: transform 180ms var(--opy-ease), opacity 180ms var(--opy-ease); }

/* Hero: text remains primary; one lightweight illustration supports it. */
.opy-hero { position: relative; overflow: clip; padding: clamp(64px, 9vw, 118px) 0 72px; background: linear-gradient(125deg, #fffefb 0%, #faf7f0 62%, #eef4e9 100%); }
.opy-hero::before { content: ""; position: absolute; left: max(20px, calc((100vw - var(--opy-content))/2)); top: 46px; width: 2px; height: 86px; background: var(--opy-blue); opacity: .55; }
.opy-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: clamp(38px, 7vw, 86px); align-items: center; }
.opy-hero-copy { max-width: 670px; padding-left: 20px; }
.opy-hero-copy h1 span { color: var(--opy-blue-dark); }
.opy-hero-lead { max-width: 620px; color: var(--opy-ink-soft); font-size: clamp(1.03rem, 1.5vw, 1.18rem); }
.opy-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 16px; }
.opy-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border: 2px solid var(--opy-blue); border-radius: 7px 18px 7px 18px; font-weight: 800; text-decoration: none; }
.opy-button--primary { color: #fff; background: var(--opy-blue); box-shadow: 0 12px 24px rgba(23, 101, 125, .18); }
.opy-button--primary:hover { color: #fff; background: var(--opy-blue-dark); }
.opy-button--secondary { color: var(--opy-blue-dark); background: rgba(255, 254, 251, .72); }
.opy-button--secondary:hover { background: var(--opy-blue-pale); }
.opy-hero-note { color: var(--opy-ink-soft); font-size: .82rem; }
.opy-hero-visual { position: relative; }
.opy-hero-visual::after { content: ""; position: absolute; inset: auto 8% -18px 12%; height: 22px; background: rgba(23, 101, 125, .09); filter: blur(14px); border-radius: 50%; }
.opy-hero-visual img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; clip-path: polygon(8% 0, 100% 0, 100% 90%, 88% 100%, 0 100%, 0 12%); }

.opy-trust-strip { padding: 18px 0; color: #fff; background: var(--opy-blue-dark); }
.opy-trust-list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; margin: 0; padding: 0; list-style: none; font-size: .86rem; font-weight: 700; }
.opy-trust-list li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: #a9cf9d; border-radius: 50%; }

.opy-section { padding: clamp(70px, 9vw, 116px) 0; }
.opy-section--white { background: var(--opy-white); }
.opy-section--blue-pale { background: var(--opy-blue-pale); }
.opy-section--green-pale { background: var(--opy-green-pale); }
.opy-section-head { position: relative; display: grid; grid-template-columns: minmax(160px, .35fr) minmax(0, .65fr); gap: 34px; align-items: start; margin-bottom: 48px; padding-left: 34px; }
.opy-section-head::before { content: ""; position: absolute; top: 10px; bottom: -52px; left: 7px; width: 2px; background: linear-gradient(var(--opy-blue), rgba(23,101,125,.16)); }
.opy-section-head::after { content: ""; position: absolute; top: 5px; left: 0; width: 16px; height: 16px; background: var(--opy-white); border: 4px solid var(--opy-blue); border-radius: 50%; }
.opy-section-head p { color: var(--opy-ink-soft); }
.opy-section-head h2 { margin: 0; font-family: "Noto Sans JP", "Yu Gothic", sans-serif; font-weight: 800; line-height: 1.55; letter-spacing: .01em; }
.opy-wayline { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 9px 15px 10px 12px; color: var(--opy-blue-dark); background: var(--opy-white); border: 1px solid rgba(23,101,125,.26); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); font-size: .72rem; font-weight: 900; letter-spacing: .08em; box-shadow: 4px 5px 0 rgba(23,101,125,.07); }
.opy-wayline::before { content: ""; width: 25px; height: 2px; background: currentColor; }

.opy-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.opy-status-card { position: relative; min-height: 218px; padding: 28px 30px 30px 54px; color: var(--opy-ink); background: var(--opy-white); border: 1px solid rgba(23, 101, 125, .16); border-left: 4px solid var(--opy-blue); text-decoration: none; box-shadow: var(--opy-shadow-soft); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.opy-status-card:nth-child(even) { transform: translateY(16px); }
.opy-status-card::before { content: attr(data-step); position: absolute; left: 18px; top: 31px; width: 22px; height: 22px; display: grid; place-items: center; color: #fff; background: var(--opy-blue); border-radius: 50%; font-size: .68rem; font-weight: 800; }
.opy-status-card::after { content: ""; position: absolute; left: 28px; top: 54px; bottom: -19px; width: 1px; background: rgba(23, 101, 125, .25); }
.opy-status-card:nth-child(3)::after, .opy-status-card:nth-child(4)::after { display: none; }
.opy-status-card:hover { color: var(--opy-ink); transform: translateY(-3px); border-color: var(--opy-blue); box-shadow: var(--opy-shadow); }
.opy-status-card:nth-child(even):hover { transform: translateY(12px); }
.opy-status-card h3 { margin: 0 0 12px; font-family: "Noto Sans JP", "Yu Gothic", sans-serif; font-size: 1.15rem; font-weight: 800; }
.opy-status-card p { margin: 0 0 18px; color: var(--opy-ink-soft); }
.opy-text-link { font-weight: 800; }

.opy-check-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: checks; }
.opy-check-grid::before { content: ""; position: absolute; z-index: 0; top: 47px; right: 9%; left: 9%; height: 2px; background: rgba(23,101,125,.34); }
.opy-check { position: relative; z-index: 1; counter-increment: checks; padding: 30px 26px; background: var(--opy-paper); border-top: 4px solid var(--opy-blue); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.opy-check:nth-child(2) { margin-top: 20px; }
.opy-check::before { content: "0" counter(checks); display: block; margin-bottom: 20px; color: var(--opy-clay); font-weight: 900; font-size: .82rem; }
.opy-check h3 { margin-top: 0; font-family: "Noto Sans JP", "Yu Gothic", sans-serif; font-size: 1.15rem; font-weight: 800; }

.opy-update-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.opy-update-card { padding: 28px; background: rgba(255, 254, 251, .9); border-left: 5px solid var(--opy-blue); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.opy-update-card h3 { margin-top: 0; font-family: "Noto Sans JP", "Yu Gothic", sans-serif; font-size: 1.15rem; font-weight: 800; }
.opy-update-card p { color: var(--opy-ink-soft); }

.opy-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.opy-post-card { display: flex; flex-direction: column; min-height: 100%; padding: 28px; background: var(--opy-white); border: 1px solid var(--opy-line); border-left: 4px solid var(--opy-blue); box-shadow: var(--opy-shadow-soft); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.opy-post-card__meta { display: flex; flex-wrap: wrap; gap: 9px; color: var(--opy-ink-soft); font-size: .76rem; }
.opy-post-card__category { color: var(--opy-blue-dark); font-weight: 800; }
.opy-post-card h3 { margin: 14px 0 12px; font-family: "Noto Sans JP", "Yu Gothic", sans-serif; font-size: 1.04rem; font-weight: 800; line-height: 1.65; }
.opy-post-card h3 a { color: var(--opy-ink); text-decoration: none; }
.opy-post-card h3 a:hover { color: var(--opy-blue); }
.opy-post-card p { color: var(--opy-ink-soft); font-size: .91rem; }
.opy-post-card .opy-text-link { margin-top: auto; }

.opy-line-cta { position: relative; overflow: hidden; padding: clamp(38px, 5vw, 64px); color: #fff; background: var(--opy-blue-dark); }
.opy-line-cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(180px, 320px); gap: 42px; align-items: center; }
.opy-line-cta h2 { margin-top: 0; color: #fff; font-family: "Noto Sans JP", "Yu Gothic", sans-serif; font-weight: 800; line-height: 1.55; }
.opy-line-cta p { color: rgba(255, 255, 255, .9); }
.opy-line-cta .opy-button { color: var(--opy-blue-dark); background: #fff7e8; border-color: #fff7e8; }
.opy-line-cta .opy-button:hover { background: #f3ead8; }
.opy-line-cta-note { font-size: .79rem; }
.opy-line-cta img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; clip-path: polygon(0 6%, 94% 0, 100% 94%, 8% 100%); }

/* Content and legal-information pages. */
.opy-page-hero, .opy-article-hero { padding: 72px 0 46px; background: linear-gradient(135deg, #fffefb, var(--opy-blue-pale)); border-bottom: 1px solid rgba(23, 101, 125, .14); }
.opy-breadcrumb { margin-bottom: 22px; color: var(--opy-ink-soft); font-size: .78rem; }
.opy-breadcrumb a { color: inherit; }
.opy-page-hero h1, .opy-article-hero h1 { max-width: 900px; font-size: clamp(2rem, 4.6vw, 3.25rem); }
.opy-article-meta { display: flex; flex-wrap: wrap; gap: 14px 24px; color: var(--opy-ink-soft); font-size: .82rem; }
.opy-content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 64px; align-items: start; padding: 58px 0 96px; }
.opy-entry-content { position: relative; max-width: var(--opy-reading); min-width: 0; padding-left: 28px; counter-reset: opy-article-stops; }
.opy-entry-content::before { content: ""; position: absolute; top: 12px; bottom: 40px; left: 4px; width: 2px; background: linear-gradient(var(--opy-blue), rgba(23,101,125,.1)); }
.opy-entry-content > *:first-child { margin-top: 0; }
.opy-entry-content p, .opy-entry-content li { line-height: 1.95; }
.opy-entry-content ul, .opy-entry-content ol { padding-left: 1.5em; }
.opy-entry-content li + li { margin-top: .45em; }
.opy-entry-content h2 { position: relative; padding: 18px 20px 18px 70px; background: var(--opy-white); border: 1px solid rgba(23,101,125,.18); border-left: 5px solid var(--opy-blue); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); font-family: "Noto Sans JP", "Yu Gothic", sans-serif; font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; line-height: 1.55; counter-increment: opy-article-stops; }
.opy-entry-content h2::before { content: "0" counter(opy-article-stops); position: absolute; top: 18px; left: 19px; color: var(--opy-blue-dark); font-family: "Noto Sans JP", sans-serif; font-size: .72rem; font-weight: 900; letter-spacing: .04em; }
.opy-entry-content h3 { padding-bottom: 8px; border-bottom: 1px solid var(--opy-line); }
.opy-entry-content blockquote { margin: 2em 0; padding: 22px 24px; color: var(--opy-ink); background: var(--opy-green-pale); border-left: 5px solid var(--opy-green); }
.opy-entry-content table { width: 100%; margin: 2em 0; border-collapse: collapse; background: var(--opy-white); font-size: .9rem; }
.opy-entry-content th, .opy-entry-content td { padding: 13px 14px; border: 1px solid var(--opy-line); vertical-align: top; text-align: left; }
.opy-entry-content th { color: #fff; background: var(--opy-blue-dark); }
.opy-entry-content a { overflow-wrap: anywhere; }
.opy-entry-content hr { margin: 3em 0; border: 0; border-top: 1px solid var(--opy-line); }
.opy-entry-content .wp-block-button__link { color: #fff; background: var(--opy-blue); }
.opy-entry-content > p:first-of-type strong:first-child { display: inline-block; margin-bottom: 10px; padding: 7px 11px; color: var(--opy-blue-dark); background: var(--opy-blue-pale); border-left: 3px solid var(--opy-blue); font-size: .8rem; }
.opy-article-side { position: sticky; top: 112px; padding: 24px; background: var(--opy-white); border-top: 4px solid var(--opy-blue); box-shadow: var(--opy-shadow-soft); }
.opy-article-side h2 { margin: 0 0 12px; font-family: inherit; font-size: 1rem; }
.opy-article-side p { color: var(--opy-ink-soft); font-size: .84rem; }
.opy-article-side .opy-button { width: 100%; padding-inline: 12px; font-size: .84rem; }
.opy-related { padding: 70px 0; background: var(--opy-blue-pale); }

.opy-archive-hero { padding: 68px 0 42px; background: var(--opy-blue-pale); }
.opy-archive-grid { padding: 58px 0 96px; }
.opy-pagination { margin-top: 44px; }
.opy-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.opy-pagination a, .opy-pagination span { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 10px; background: var(--opy-white); border: 1px solid var(--opy-line); text-decoration: none; }
.opy-pagination .current { color: #fff; background: var(--opy-blue); border-color: var(--opy-blue); }

.opy-site-footer { color: rgba(255,255,255,.88); background: #19313a; }
.opy-footer-main { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 48px; padding: 64px 0 42px; }
.opy-footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.opy-footer-brand img { width: 52px; height: 52px; }
.opy-footer-brand strong { font-family: "Yu Mincho", serif; }
.opy-footer-heading { margin: 0 0 14px; color: #fff; font-family: inherit; font-size: .9rem; }
.opy-site-footer ul { list-style: none; margin: 0; padding: 0; }
.opy-site-footer li + li { margin-top: 8px; }
.opy-site-footer a { color: rgba(255,255,255,.86); }
.opy-footer-small { color: rgba(255,255,255,.7); font-size: .78rem; }
.opy-footer-bottom { padding: 18px 0 28px; border-top: 1px solid rgba(255,255,255,.12); }

.opy-mobile-cta { display: none; }
.opy-empty { padding: 68px 0 96px; }

@media (max-width: 1180px) {
  .opy-brand-copy small { display: none; }
  .opy-nav-toggle { display: block; }
  .opy-header-actions nav { position: fixed; inset: 82px 0 auto 0; display: none; max-height: calc(100vh - 82px); overflow-y: auto; padding: 22px 16px 32px; background: var(--opy-white); border-bottom: 1px solid var(--opy-line); box-shadow: var(--opy-shadow); }
  .opy-header-actions nav.is-open { display: block; }
  .opy-menu { display: grid; gap: 0; }
  .opy-menu a { display: block; padding: 14px 8px; border-bottom: 1px solid var(--opy-line); }
  .opy-header-actions > .opy-line-mini { display: none; }
  .opy-hero-grid { grid-template-columns: 1fr .72fr; gap: 30px; }
  .opy-section-head { grid-template-columns: 1fr; }
  .opy-content-layout { grid-template-columns: minmax(0, 1fr); }
  .opy-article-side { position: static; max-width: var(--opy-reading); }
  .opy-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opy-footer-main { grid-template-columns: 1fr 1fr; }
  .opy-footer-main > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { padding-bottom: 62px; }
  .opy-container, .opy-reading { width: min(calc(100% - 26px), var(--opy-content)); }
  .opy-header-inner { min-height: 72px; }
  .opy-brand img { width: 44px; height: 44px; }
  .opy-brand-copy strong { font-size: .92rem; }
  .opy-header-actions nav { inset-top: 72px; }
  .opy-hero { padding: 52px 0 48px; }
  .opy-hero::before { display: none; }
  .opy-hero-grid { grid-template-columns: 1fr; }
  .opy-hero-copy { padding-left: 0; }
  .opy-hero-visual { width: min(86%, 460px); margin-left: auto; }
  .opy-hero-actions { display: grid; }
  .opy-button { width: 100%; }
  .opy-trust-list { display: grid; gap: 8px; }
  .opy-status-grid, .opy-check-grid, .opy-update-grid, .opy-post-grid, .opy-line-cta-grid, .opy-footer-main { grid-template-columns: 1fr; }
  .opy-status-card:nth-child(even), .opy-status-card:nth-child(even):hover { transform: none; }
  .opy-status-card::after { display: block !important; }
  .opy-status-card:last-child::after { display: none !important; }
  .opy-check-grid::before { display: none; }
  .opy-check:nth-child(2) { margin-top: 0; }
  .opy-section-head { padding-left: 28px; }
  .opy-section-head::before { bottom: -24px; }
  .opy-line-cta img { width: min(260px, 82%); margin-left: auto; }
  .opy-entry-content { padding-left: 20px; }
  .opy-entry-content h2 { padding: 16px 16px 16px 54px; }
  .opy-entry-content h2::before { top: 17px; left: 15px; }
  .opy-entry-content table { display: block; overflow-x: auto; white-space: normal; }
  .opy-page-hero, .opy-article-hero { padding: 48px 0 32px; }
  .opy-content-layout { padding-top: 38px; gap: 38px; }
  .opy-footer-main > :first-child { grid-column: auto; }
  .opy-mobile-cta { position: fixed; z-index: 1100; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; padding: 8px 14px; color: #fff; background: #173d31; box-shadow: 0 -8px 20px rgba(0,0,0,.14); }
  .opy-mobile-cta span { font-size: .72rem; line-height: 1.35; }
  .opy-mobile-cta a { flex: 0 0 auto; padding: 9px 14px; color: #fff; background: var(--opy-blue); border-radius: 6px 14px 6px 14px; font-size: .82rem; font-weight: 900; text-decoration: none; }
}

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

/* Revision 1.1 — official puzzle branding, one-line navigation, friendly images, and calm consultation path. */
.opy-header-inner { min-height: 78px; gap: 16px; }
.opy-brand { flex: 0 0 auto; gap: 10px; }
.opy-brand img { width: 48px; height: 48px; }
.opy-brand-copy strong, .opy-brand-copy small, .opy-menu a, .opy-line-mini { white-space: nowrap; }
.opy-brand-copy strong { font-size: .98rem; }
.opy-brand-copy small { margin-top: 3px; font-size: .66rem; }
.opy-header-actions { min-width: 0; gap: clamp(10px, 1.3vw, 16px); }
.opy-menu { gap: clamp(11px, 1.45vw, 20px); }
.opy-menu a { display: block; font-size: clamp(.76rem, .76vw, .86rem); }
.opy-line-mini { min-height: 42px; padding: 8px 13px; font-size: .82rem; }

.opy-experience { display: inline-flex; align-items: center; gap: 16px; margin: 8px 0 4px; padding: 14px 18px; background: rgba(255,254,251,.9); border-left: 4px solid var(--opy-green); box-shadow: var(--opy-shadow-soft); }
.opy-experience strong { color: var(--opy-blue-dark); font-family: "Noto Sans JP", sans-serif; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; letter-spacing: -.03em; }
.opy-experience strong span { margin-left: 3px; font-size: .86rem; letter-spacing: 0; }
.opy-experience p { margin: 0; color: var(--opy-ink-soft); font-size: .78rem; font-weight: 700; line-height: 1.55; }

.opy-hero-visual img { object-position: center; }
.opy-article-main { min-width: 0; }
.opy-content-illustration { margin: 0 0 34px; overflow: hidden; background: #f5f0e6; border: 1px solid rgba(23,101,125,.12); border-radius: 10px 28px 10px 28px; box-shadow: var(--opy-shadow-soft); }
.opy-content-illustration img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.opy-content-illustration--office img { max-height: 620px; object-fit: contain; object-position: center top; background: #f4eee3; }
.opy-page-content { padding: 48px 0 96px; }
.opy-page-content .opy-entry-content { max-width: none; }

.opy-post-card { padding: 0; overflow: hidden; }
.opy-post-card__image { display: block; overflow: hidden; background: var(--opy-paper-strong); }
.opy-post-card__image img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 240ms var(--opy-ease); }
.opy-post-card__image:hover img { transform: scale(1.025); }
.opy-post-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
.opy-post-card__body .opy-text-link { margin-top: auto; }

.opy-line-cta-grid { grid-template-columns: minmax(0, 1fr) minmax(210px, 300px); }
.opy-line-cta img { aspect-ratio: 1 / 1; object-position: center top; }

@media (max-width: 1180px) {
  .opy-header-actions nav { inset: 78px 0 auto 0; }
  .opy-menu a { white-space: normal; font-size: .95rem; }
}

@media (max-width: 720px) {
  .opy-header-inner { min-height: 70px; }
  .opy-brand img { width: 42px; height: 42px; }
  .opy-brand-copy strong { font-size: .82rem; }
  .opy-brand-copy small { display: block; font-size: .59rem; }
  .opy-header-actions nav { inset: 70px 0 auto 0; }
  .opy-experience { width: 100%; justify-content: flex-start; }
  .opy-content-illustration { margin-bottom: 26px; border-radius: 8px 20px 8px 20px; }
  .opy-page-content { padding-top: 32px; }
  .opy-post-card__body { padding: 20px; }
}

