:root {
  --profession-primary: #21483a;
  --profession-primary-dark: #17352b;
  --profession-primary-soft: #e9f0eb;
  --profession-accent: #a98947;
  --profession-accent-soft: #f2ead9;
  --profession-background: #f7f4ec;
  --profession-surface: #fff;
  --profession-border: #ded8ca;
  --profession-text: #2d312f;
  --profession-muted: #666e69;
  --profession-shadow: 0 12px 34px rgba(32, 52, 43, .08);
  --profession-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --profession-sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; padding-top: 100px; color: var(--profession-text); background: var(--profession-background); font-family: var(--profession-sans); line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid #d09832; outline-offset: 3px; }
.profession-container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.profession-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.profession-skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; color: #fff; background: var(--profession-primary-dark); transform: translateY(-150%); }
.profession-skip-link:focus { transform: none; }
.profession-section { padding-block: 88px; }
.profession-eyebrow { margin: 0 0 10px; color: var(--profession-primary); font-size: .72rem; font-weight: 700; letter-spacing: .18em; line-height: 1.4; }
.profession-section-heading { margin-bottom: 34px; }
.profession-section-heading h2 { margin: 0; font-family: var(--profession-serif); font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.35; }
.profession-section-heading > p:last-child { max-width: 600px; margin: 10px 0 0; color: var(--profession-muted); }
.profession-section-heading--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.profession-section-heading--row > p:last-child { text-align: right; }

/* Header */
#header { position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100px; border-bottom: 1px solid #eee; background: #fff; }
#header .wrap { position: relative; display: flex; width: min(1220px, 100%); align-items: flex-start; justify-content: space-between; margin: 0 auto; padding: 24px 20px 0; }
#header .siteTitle { width: 189px; margin: 0; }
#header .siteTitle a { display: block; text-decoration: none; }
#header .siteTitle img { width: 100%; height: auto; }
#gNav { font-size: 14px; line-height: 1; }
#gNav ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
#gNav li { margin-left: 35px; }
#gNav li:first-child { margin-left: 0; }
#gNav a { display: block; padding: 10px 0; border-bottom: 2px solid transparent; color: #35423d; text-decoration: none; transition: .3s; white-space: nowrap; }
#gNav a:hover, #gNav a.active { border-bottom-color: var(--profession-accent); }
#gNav a.active { pointer-events: none; }
#gNav a.recruit { width: 160px; margin-left: 30px; padding: 15px 0; border: 1px solid var(--profession-primary-dark); border-radius: 0; color: #fff; background: var(--profession-primary-dark); font-weight: 700; text-align: center; }
#gNav a.recruit:hover { border-bottom-color: transparent; opacity: .8; }
#bt-gNav, label[for="bt-gNav"] { display: none; }

@media (max-width: 1024px) {
  #gNav li { margin-left: 20px; }
  #gNav a.recruit { width: 140px; margin-left: 15px; }
}

@media (max-width: 1100px) {
  body { padding-top: 60px; }
  #header { height: 60px; }
  #header .wrap { padding: 10px 20px; }
  #header .siteTitle { width: 140px; }
  label[for="bt-gNav"] { position: relative; z-index: 10000; display: block; width: 30px; height: 30px; cursor: pointer; }
  label[for="bt-gNav"] span, label[for="bt-gNav"]::before, label[for="bt-gNav"]::after { position: absolute; left: 50%; display: block; width: 25px; height: 2px; background: var(--profession-primary-dark); content: ""; transform: translateX(-50%); transition: .3s; }
  label[for="bt-gNav"] span { top: 14px; }
  label[for="bt-gNav"]::before { top: 6px; }
  label[for="bt-gNav"]::after { top: 22px; }
  #bt-gNav:checked + #header label[for="bt-gNav"] span { opacity: 0; }
  #bt-gNav:checked + #header label[for="bt-gNav"]::before { top: 14px; transform: translateX(-50%) rotate(45deg); }
  #bt-gNav:checked + #header label[for="bt-gNav"]::after { top: 14px; transform: translateX(-50%) rotate(-45deg); }
  #gNav { position: fixed; z-index: 9998; top: 60px; left: 0; width: 100%; height: 0; overflow: hidden; background: #fff; transition: .3s; }
  #bt-gNav:checked + #header #gNav { height: calc(100vh - 60px); }
  #gNav ul { flex-direction: column; padding: 40px 20px; }
  #gNav li { width: 100%; margin: 0 0 20px; text-align: center; }
  #gNav a.recruit { margin: 20px auto 0; }
}

/* Hero */
.profession-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--profession-border); background: linear-gradient(110deg, #f8f5ed 0 52%, #eef1e8 52%); }
.profession-hero::before { content: ""; position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(33,72,58,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(33,72,58,.18) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, transparent, #000 48%); }
.profession-hero__inner { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; min-height: 610px; padding-block: 56px; }
.profession-hero__copy { position: relative; z-index: 2; padding-right: 36px; }
.profession-hero__copy h1 { margin: 0 0 26px; font-family: var(--profession-serif); font-size: clamp(2.35rem, 4.4vw, 4.15rem); font-weight: 600; letter-spacing: .02em; line-height: 1.35; }
.profession-hero__copy h1 span { color: var(--profession-primary); }
.profession-hero__copy > p:not(.profession-eyebrow) { max-width: 650px; margin: 0; color: #525b56; font-size: 1rem; }
.profession-hero__actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.profession-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid transparent; font-weight: 700; text-align: center; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.profession-button--primary { color: #fff; background: var(--profession-primary); box-shadow: 5px 5px 0 var(--profession-accent); }
.profession-button--primary:hover { background: var(--profession-primary-dark); }
.profession-text-link { color: var(--profession-primary); font-weight: 700; }
.profession-hero__visual { position: relative; align-self: end; }
.profession-hero__visual img { width: 100%; max-height: 530px; object-fit: contain; object-position: bottom; }
.profession-hero__visual p { position: absolute; right: 3%; bottom: 7%; display: flex; align-items: center; gap: 12px; margin: 0; padding: 13px 18px; border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(23,53,43,.92); box-shadow: var(--profession-shadow); }
.profession-hero__visual p strong { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; line-height: 1; }
.profession-hero__visual p span { font-size: .72rem; line-height: 1.5; }

/* Search paths */
.profession-concerns { background: var(--profession-surface); }
.profession-concern-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--profession-border); border-left: 1px solid var(--profession-border); }
.profession-concern-list button { display: flex; min-height: 98px; align-items: center; gap: 15px; padding: 16px 18px; border: 0; border-right: 1px solid var(--profession-border); border-bottom: 1px solid var(--profession-border); background: #fff; cursor: pointer; text-align: left; transition: background .2s; }
.profession-concern-list button:hover { background: var(--profession-accent-soft); }
.profession-concern-list button span { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border: 1px solid #c8b480; border-radius: 50%; color: var(--profession-primary); font-family: var(--profession-serif); font-weight: 700; }
.profession-types { background: var(--profession-background); }
.profession-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.profession-type-grid button { position: relative; display: grid; min-height: 168px; align-content: end; padding: 24px; overflow: hidden; border: 1px solid var(--profession-border); background: rgba(255,255,255,.78); cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.profession-type-grid button::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 0; background: var(--profession-accent); transition: height .2s; }
.profession-type-grid button:hover { border-color: #aab9b0; background: #fff; }
.profession-type-grid button:hover::before { height: 100%; }
.profession-type-grid b { position: absolute; top: 13px; right: 18px; color: #d8d2c6; font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.profession-type-grid strong { margin-bottom: 6px; color: var(--profession-primary); font-family: var(--profession-serif); font-size: 1.16rem; }
.profession-type-grid span { color: var(--profession-muted); font-size: .78rem; }

/* Featured */
.profession-featured { color: #fff; background: var(--profession-primary-dark); }
.profession-featured .profession-eyebrow { color: #d8c28f; }
.profession-featured-card { display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: var(--profession-primary); box-shadow: 0 16px 40px rgba(0,0,0,.16); }
.profession-featured-card__image { min-height: 360px; overflow: hidden; }
.profession-featured-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.profession-featured-card:hover .profession-featured-card__image img { transform: scale(1.025); }
.profession-featured-card__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 60px); }
.profession-featured-label { padding: 5px 10px; color: var(--profession-primary-dark); background: #d6be83; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.profession-featured-meta { margin: 18px 0 12px; color: #cad7d0; font-size: .78rem; }
.profession-featured-card h3 { margin: 0; font-family: var(--profession-serif); font-size: clamp(1.5rem, 2.5vw, 2.2rem); line-height: 1.55; }
.profession-featured-card__content > p { margin: 18px 0 12px; color: #dbe5df; }
.profession-featured-reason { padding-left: 15px; border-left: 2px solid var(--profession-accent); font-size: .82rem; }
.profession-featured-card a { margin-top: 18px; font-weight: 700; }

/* Article list and sidebar */
.profession-articles-section { background: #fff; }
.profession-articles-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 62px; }
.profession-article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; }
.profession-card { position: relative; min-width: 0; border-bottom: 1px solid var(--profession-border); background: #fff; transition: border-color .2s, background .2s; }
.profession-card:hover { border-color: var(--profession-primary); background: #fcfbf7; }
.profession-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.profession-card__image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--profession-primary-soft); }
.profession-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.profession-card:hover .profession-card__image img { transform: scale(1.025); }
.profession-card__content { padding: 19px 6px 22px; }
.profession-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; color: var(--profession-muted); font-size: .73rem; }
.profession-card__category, .profession-article-category { color: var(--profession-primary); font-weight: 700; }
.profession-card h3 { min-height: 4.65em; margin: 0; font-family: var(--profession-serif); font-size: 1.08rem; line-height: 1.55; }
.profession-card__excerpt { display: -webkit-box; min-height: 4.9em; margin: 12px 0 14px; overflow: hidden; color: var(--profession-muted); font-size: .82rem; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.profession-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.profession-tag { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: 99px; color: #4d5c54; background: #eff1ec; font-size: .68rem; }
.profession-card__read { display: inline-block; margin-top: 18px; color: var(--profession-primary); font-size: .78rem; font-weight: 700; }
.profession-active-filter { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -10px 0 28px; padding: 12px 16px; color: var(--profession-primary); background: var(--profession-primary-soft); font-size: .84rem; }
.profession-active-filter button { min-height: 36px; border: 0; background: transparent; cursor: pointer; text-decoration: underline; }
.profession-loading, .profession-empty { grid-column: 1 / -1; padding: 48px 24px; border: 1px solid var(--profession-border); color: var(--profession-muted); background: var(--profession-background); text-align: center; }
.profession-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; }
.profession-pagination button { min-width: 44px; min-height: 44px; border: 1px solid var(--profession-border); background: #fff; cursor: pointer; }
.profession-pagination button[aria-current="page"] { border-color: var(--profession-primary); color: #fff; background: var(--profession-primary); }
.profession-pagination button:disabled { opacity: .4; cursor: default; }
.profession-sidebar { display: flex; flex-direction: column; gap: 18px; }
.profession-side-panel { padding: 24px; border: 1px solid var(--profession-border); background: #fff; }
.profession-side-panel h3 { margin: 0 0 16px; font-family: var(--profession-serif); font-size: 1rem; }
.profession-side-panel--search { background: var(--profession-background); }
.profession-side-panel--search form > div { display: flex; }
.profession-side-panel--search input { min-width: 0; width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid var(--profession-border); background: #fff; }
.profession-side-panel--search button { min-width: 62px; border: 0; color: #fff; background: var(--profession-primary); cursor: pointer; }
.profession-filter-list { display: grid; gap: 2px; }
.profession-filter-list button { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 5px; border: 0; border-bottom: 1px solid #eeeae0; background: transparent; cursor: pointer; text-align: left; }
.profession-filter-list button:hover, .profession-filter-list button[aria-pressed="true"] { color: var(--profession-primary); font-weight: 700; }
.profession-filter-list small { color: var(--profession-muted); }
.profession-tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.profession-tag-cloud button { min-height: 36px; padding: 5px 10px; border: 1px solid var(--profession-border); border-radius: 99px; background: #fff; cursor: pointer; font-size: .7rem; }
.profession-tag-cloud button:hover, .profession-tag-cloud button[aria-pressed="true"] { border-color: var(--profession-primary); color: #fff; background: var(--profession-primary); }
.profession-popular-list { margin: 0; padding: 0; list-style: none; counter-reset: popular; }
.profession-popular-list li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 11px 0; border-bottom: 1px solid #eeeae0; counter-increment: popular; }
.profession-popular-list li::before { content: counter(popular, decimal-leading-zero); color: var(--profession-accent); font-family: Georgia, serif; }
.profession-popular-list a { font-size: .76rem; line-height: 1.6; text-decoration: none; }
.profession-side-panel--policy span { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 13px; border-radius: 50%; color: #fff; background: var(--profession-primary); }
.profession-side-panel--policy p, .profession-side-panel--policy a { color: var(--profession-muted); font-size: .76rem; }
.profession-side-panel--contact { border-color: #b89a5a; color: #fff; background: var(--profession-primary-dark); }
.profession-side-panel--contact p { margin: 0; color: #d7c797; font-size: .72rem; }
.profession-side-panel--contact h3 { margin-top: 8px; font-size: 1.15rem; line-height: 1.6; }
.profession-button--light { width: 100%; color: var(--profession-primary-dark); background: #fff; font-size: .78rem; }

/* Trust and footer */
.profession-policy { border-top: 1px solid var(--profession-border); background: var(--profession-background); }
.profession-policy__inner { display: grid; grid-template-columns: 100px minmax(0, 760px); justify-content: center; gap: 40px; }
.profession-policy__mark { display: grid; width: 86px; height: 86px; place-items: center; border: 1px solid var(--profession-accent); border-radius: 50%; color: var(--profession-primary); font-family: var(--profession-serif); font-size: 1.9rem; }
.profession-policy h2 { margin: 0 0 20px; font-family: var(--profession-serif); font-size: 1.7rem; }
.profession-policy p { margin: 7px 0; color: var(--profession-muted); }
.profession-prototype-note { margin-top: 20px !important; padding-top: 15px; border-top: 1px solid var(--profession-border); font-size: .78rem; }
#footer { margin-top: 0; padding: 75px 0 20px; border: 0; background: #101d1a; color: #fff; }
#footer .wrap { display: flex; width: min(1220px, 100%); align-items: flex-end; justify-content: space-between; margin: 0 auto; padding: 0 20px; }
#footer .col01 { width: 350px; }
#footer .logo { width: 189px; }
#footer .logo img { width: 100%; height: auto; filter: brightness(0) invert(1); }
#footer .data { height: 83.2px; margin: 25px 0 0; font-size: 13px; line-height: 1.6; }
#footer .site-footer-instagram { display: none; margin-top: 16px; font-size: 13px; font-weight: 700; line-height: 1.5; }
#footer .site-footer-instagram a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border: 1px solid rgba(215,199,151,.55); color: #fff; text-decoration: none; transition: .3s; }
#footer .site-footer-instagram a:hover { border-color: var(--profession-accent); background: rgba(255,255,255,.06); }
#footer .fNav ul { display: flex; justify-content: flex-end; margin: 0; padding: 0; font-size: 12px; line-height: 1; list-style: none; }
#footer .fNav li { margin-left: 15px; }
#footer .fNav a { display: block; padding: 12px 0; border-bottom: 1px solid transparent; color: rgba(255,255,255,.6); text-decoration: none; transition: .3s; white-space: nowrap; }
#footer .fNav a:hover, #footer .fNav a.active { border-bottom-color: #d7c797; color: #fff; }
#footer .copyright { margin: 20px 0 0; color: rgba(255,255,255,.48); font-size: 10px; line-height: 1; text-align: right; }
.profession-article-page #footer { margin-top: 100px; }

@media (max-width: 768px) {
  #footer { padding: 50px 0 20px; }
  #footer .wrap { display: block; }
  #footer .col01 { width: auto; margin-bottom: 30px; }
  #footer .logo { width: 140px; }
  #footer .fNav { display: none; }
  #footer .site-footer-instagram { display: block; }
  #footer .copyright { margin-top: 30px; text-align: center; }
}

/* Article detail */
.profession-article-page { background: #fff; }
.profession-breadcrumb { padding-block: 22px; color: var(--profession-muted); font-size: .72rem; }
.profession-breadcrumb ol { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.profession-breadcrumb li + li::before { content: "/"; margin-right: 10px; color: #aaa; }
.profession-breadcrumb li:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profession-article-status { padding: 70px 20px; color: var(--profession-muted); background: var(--profession-background); text-align: center; }
.profession-article-header { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: 64px; padding: 42px 0 70px; border-bottom: 1px solid var(--profession-border); }
.profession-article-category { margin: 0 0 18px; font-size: .82rem; }
.profession-article-header h1 { margin: 0; font-family: var(--profession-serif); font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.5; }
.profession-article-dates { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 15px; color: var(--profession-muted); font-size: .76rem; }
.profession-article-lead { margin: 24px 0 0; color: var(--profession-muted); }
.profession-article-header__image { margin: 0; overflow: hidden; border: 1px solid var(--profession-border); background: var(--profession-primary-soft); }
.profession-article-header__image img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.profession-article-layout { display: grid; grid-template-columns: minmax(0, 760px) 250px; justify-content: center; gap: 70px; padding-top: 70px; }
.profession-learn-box { padding: 30px 34px; border: 1px solid #b8c8bf; border-left: 5px solid var(--profession-primary); background: #f5f8f5; }
.profession-learn-box h2 { margin: 0 0 14px; font-family: var(--profession-serif); font-size: 1.35rem; }
.profession-learn-box ul { display: grid; gap: 7px; margin: 0; padding-left: 1.4em; }
.profession-guidance-card, .profession-consultation-guide { margin-top: 24px; padding: 28px 32px; border: 1px solid var(--profession-border); background: #fff; }
.profession-guidance-card h2, .profession-consultation-guide > h2 { margin: 0 0 14px; font-family: var(--profession-serif); font-size: 1.35rem; }
.profession-guidance-card ul, .profession-consultation-guide ul { display: grid; gap: 7px; margin: 0; padding-left: 1.4em; }
.profession-consultation-guide { border-top: 4px solid var(--profession-primary); background: #f8f7f2; }
#profession-consultation-guide-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.profession-consultation-guide__group h3 { margin: 0 0 10px; color: var(--profession-primary); font-size: 1rem; }
.profession-markdown { margin-top: 56px; font-size: 1rem; line-height: 2; }
.profession-markdown h2 { margin: 72px 0 24px; padding: 15px 0 15px 20px; border-left: 4px solid var(--profession-accent); color: var(--profession-primary-dark); background: var(--profession-background); font-family: var(--profession-serif); font-size: 1.65rem; line-height: 1.5; }
.profession-markdown h3 { margin: 48px 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--profession-border); color: var(--profession-primary); font-family: var(--profession-serif); font-size: 1.25rem; }
.profession-markdown p { margin: 0 0 1.5em; }
.profession-markdown ul, .profession-markdown ol { margin: 0 0 1.7em; padding-left: 1.5em; }
.profession-markdown blockquote { margin: 28px 0; padding: 20px 24px; border: 1px solid #d8cba9; border-left: 5px solid var(--profession-accent); background: #fbf8f0; }
.profession-markdown blockquote p:last-child { margin-bottom: 0; }
.profession-table-wrap { max-width: 100%; margin: 28px 0; overflow-x: auto; }
.profession-markdown table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .86rem; }
.profession-markdown th, .profession-markdown td { padding: 12px 14px; border: 1px solid var(--profession-border); text-align: left; }
.profession-markdown th { color: #fff; background: var(--profession-primary); }
.profession-toc { position: sticky; top: 102px; padding: 24px; border: 1px solid var(--profession-border); background: #fff; box-shadow: var(--profession-shadow); }
.profession-toc > p { margin: 0; color: var(--profession-accent); font-family: Georgia, serif; font-size: .68rem; letter-spacing: .16em; }
.profession-toc h2 { margin: 5px 0 16px; font-family: var(--profession-serif); font-size: 1.15rem; }
.profession-toc a, .profession-mobile-toc a { display: block; padding: 8px 0; border-top: 1px solid #eeeae0; color: var(--profession-muted); font-size: .75rem; line-height: 1.55; text-decoration: none; }
.profession-toc a[data-level="3"] { padding-left: 12px; font-size: .7rem; }
.profession-toc a[aria-current="location"] { color: var(--profession-primary); font-weight: 700; }
.profession-mobile-toc { display: none; }
.profession-author, .profession-disclaimer, .profession-article-contact, .profession-related { margin-top: 64px; }
.profession-author { padding: 30px; border: 1px solid var(--profession-border); }
.profession-author h2, .profession-disclaimer h2, .profession-article-contact h2 { margin: 0 0 15px; font-family: var(--profession-serif); font-size: 1.35rem; }
.profession-author__profile { display: grid; grid-template-columns: 76px 1fr; gap: 20px; }
.profession-author__profile img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.profession-author__profile p { margin: 4px 0; color: var(--profession-muted); font-size: .84rem; }
.profession-disclaimer { padding: 26px 30px; border: 1px solid var(--profession-border); background: #f5f3ed; }
.profession-disclaimer p { margin: 7px 0; color: var(--profession-muted); font-size: .8rem; }
.profession-article-contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px; border: 1px solid var(--profession-accent); background: linear-gradient(105deg, #fff 0 68%, #f4ecda 68%); }
.profession-article-contact p:not(.profession-eyebrow) { margin: 0; color: var(--profession-muted); }
.profession-button--outline { flex: 0 0 auto; border-color: var(--profession-primary); color: var(--profession-primary); background: #fff; }
.profession-button--outline:hover { color: #fff; background: var(--profession-primary); }
.profession-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.profession-related-card { border: 1px solid var(--profession-border); }
.profession-related-card a { display: block; height: 100%; text-decoration: none; }
.profession-related-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.profession-related-card div { padding: 15px; }
.profession-related-card small { color: var(--profession-primary); }
.profession-related-card h3 { margin: 7px 0 0; font-family: var(--profession-serif); font-size: .85rem; line-height: 1.6; }

@media (max-width: 1050px) {
  .profession-hero__inner { min-height: 540px; }
  .profession-concern-list, .profession-type-grid { grid-template-columns: repeat(2, 1fr); }
  .profession-articles-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; }
  .profession-article-layout { grid-template-columns: minmax(0, 700px) 220px; gap: 38px; }
}

@media (max-width: 800px) {
  html { scroll-padding-top: 66px; }
  .profession-container { width: min(100% - 32px, 680px); }
  .profession-section { padding-block: 64px; }
  .profession-hero { background: linear-gradient(180deg, #f8f5ed 0 58%, #eef1e8 58%); }
  .profession-hero::before { display: none; }
  .profession-hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 54px; }
  .profession-hero__copy { padding-right: 0; }
  .profession-hero__copy h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .profession-hero__visual { width: 100%; margin: 26px auto -1px; }
  .profession-hero__visual img { max-height: 390px; }
  .profession-hero__visual p { right: 0; bottom: 4%; }
  .profession-articles-layout, .profession-article-layout { grid-template-columns: 1fr; }
  .profession-sidebar { margin-top: 24px; }
  .profession-article-header { grid-template-columns: 1fr; gap: 34px; padding-top: 24px; }
  .profession-article-header__image { grid-row: 1; }
  .profession-article-layout { padding-top: 48px; }
  .profession-article-sidebar { display: none; }
  .profession-mobile-toc { display: block; margin-top: 22px; padding: 0 18px; border: 1px solid var(--profession-border); background: #fff; }
  .profession-mobile-toc summary { min-height: 48px; padding: 10px 0; cursor: pointer; font-weight: 700; }
  .profession-mobile-toc nav { padding-bottom: 14px; }
  .profession-article-contact { display: grid; background: #fbf8f0; }
  .profession-button--outline { width: 100%; }
}

@media (max-width: 560px) {
  .profession-container { width: calc(100% - 28px); }
  .profession-section { padding-block: 54px; }
  .profession-section-heading--row { display: block; }
  .profession-section-heading--row > p:last-child { text-align: left; }
  .profession-hero__inner { padding-top: 44px; }
  .profession-hero__copy h1 { font-size: clamp(1.85rem, 8.2vw, 2.5rem); line-height: 1.5; }
  .profession-hero__copy > p:not(.profession-eyebrow) br { display: none; }
  .profession-hero__actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .profession-button--primary { width: calc(100% - 5px); }
  .profession-concern-list { grid-template-columns: 1fr; }
  .profession-concern-list button { min-height: 74px; }
  .profession-type-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .profession-type-grid button { min-height: 154px; padding: 18px 14px; }
  .profession-type-grid strong { padding-right: 18px; font-size: .95rem; overflow-wrap: anywhere; }
  .profession-type-grid span { font-size: .7rem; }
  .profession-featured-card { grid-template-columns: 1fr; }
  .profession-featured-card__image { min-height: 0; aspect-ratio: 16/10; }
  .profession-featured-card__content { padding: 28px 22px; }
  .profession-article-grid { grid-template-columns: 1fr; }
  .profession-card h3 { min-height: 0; }
  .profession-card__excerpt { min-height: 0; }
  .profession-policy__inner { grid-template-columns: 1fr; gap: 22px; }
  .profession-policy__mark { width: 66px; height: 66px; }
  .profession-breadcrumb { padding-block: 16px; }
  .profession-article-header { padding-bottom: 46px; }
  .profession-article-header h1 { font-size: 1.7rem; overflow-wrap: break-word; }
  .profession-learn-box { padding: 24px 20px; }
  .profession-guidance-card, .profession-consultation-guide { padding: 24px 20px; }
  #profession-consultation-guide-content { grid-template-columns: 1fr; gap: 20px; }
  .profession-markdown { margin-top: 42px; font-size: .95rem; }
  .profession-markdown h2 { margin-top: 54px; padding: 13px 14px; font-size: 1.3rem; }
  .profession-markdown h3 { font-size: 1.1rem; }
  .profession-article-contact { padding: 28px 20px; }
  .profession-related-grid { grid-template-columns: 1fr; }
}

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

/* Profession Journal独自レイアウト：相談票・専門誌・書類インデックス */
.profession-hero { padding: 76px 0 0; overflow: hidden; background: #f7f4ec; }
.profession-hero::before { inset: 0; opacity: .28; background-image: linear-gradient(90deg, transparent calc(50% - 1px), rgba(33,72,58,.18) 50%, transparent calc(50% + 1px)), repeating-linear-gradient(0deg, transparent 0 47px, rgba(33,72,58,.08) 48px); background-size: 100% 100%, 100% 48px; mask-image: none; }
.profession-hero__inner { display: block; min-height: auto; padding: 0; }
.profession-hero__copy { position: relative; z-index: 2; max-width: 800px; margin-inline: auto; padding: 0 32px; text-align: center; }
.profession-hero__copy::before, .profession-hero__copy::after { position: absolute; top: 51%; width: 74px; height: 1px; background: var(--profession-accent); content: ""; }
.profession-hero__copy::before { right: 100%; }
.profession-hero__copy::after { left: 100%; }
.profession-hero__copy h1 { margin-bottom: 22px; font-size: clamp(2.45rem, 5.2vw, 4.75rem); }
.profession-hero__copy > p:not(.profession-eyebrow) { max-width: 680px; margin-inline: auto; font-size: 1.02rem; }
.profession-hero__roles { position: absolute; z-index: 3; top: 116px; display: flex; gap: 8px; writing-mode: vertical-rl; }
.profession-hero__roles--left { left: max(20px, calc((100vw - 1260px) / 2)); }
.profession-hero__roles--right { right: max(20px, calc((100vw - 1260px) / 2)); }
.profession-hero__roles span { padding: 13px 7px; border-top: 2px solid var(--profession-accent); color: var(--profession-primary); background: rgba(255,255,255,.68); font-family: var(--profession-serif); font-size: .7rem; letter-spacing: .12em; }
.profession-hero__landscape { height: 250px; margin: -12px auto 0; overflow: hidden; opacity: .9; }
.profession-hero__landscape img { width: min(780px, 76vw); height: 420px; margin: -16px auto 0; object-fit: cover; object-position: center top; mix-blend-mode: multiply; }
.profession-consultation-index { position: relative; z-index: 4; margin-bottom: -92px; border-top: 4px solid var(--profession-primary); background: #fff; box-shadow: 0 18px 48px rgba(32,52,43,.12); }
.profession-consultation-index > header { display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px 40px; padding: 28px 34px 22px; border-bottom: 1px solid var(--profession-border); }
.profession-consultation-index > header .profession-eyebrow { grid-column: 1 / -1; }
.profession-consultation-index > header h2 { margin: 0; font-family: var(--profession-serif); font-size: 1.55rem; }
.profession-consultation-index > header > p:last-child { margin: 0; color: var(--profession-muted); font-size: .82rem; }
.profession-concern-list { display: grid; grid-template-columns: repeat(3, 1fr); border: 0; }
.profession-concern-group { min-width: 0; padding: 24px 28px 28px; border-right: 1px solid var(--profession-border); }
.profession-concern-group:last-child { border-right: 0; }
.profession-concern-group h3 { display: flex; align-items: center; gap: 11px; margin: 0 0 12px; color: var(--profession-primary-dark); font-family: var(--profession-serif); font-size: .95rem; }
.profession-concern-group h3 span { color: var(--profession-accent); font-family: Georgia, serif; font-size: .72rem; }
.profession-concern-list .profession-concern-group button { position: relative; display: grid; width: 100%; min-height: 61px; align-content: center; gap: 1px; padding: 10px 24px 10px 0; border: 0; border-bottom: 1px solid #ebe6da; background: transparent; font-size: .82rem; }
.profession-concern-list .profession-concern-group button::after { position: absolute; right: 2px; color: var(--profession-accent); content: "→"; transition: transform .2s; }
.profession-concern-list .profession-concern-group button:hover { color: var(--profession-primary); background: transparent; }
.profession-concern-list .profession-concern-group button:hover::after { transform: translateX(4px); }
.profession-concern-list .profession-concern-group button small { color: var(--profession-muted); font-size: .66rem; }

.profession-types { padding-top: 188px; background: #f1eee5; }
.profession-directory { display: grid; grid-template-columns: minmax(280px, .7fr) 1.3fr; min-height: 500px; border: 1px solid var(--profession-border); background: #fff; }
.profession-type-index { display: grid; border-right: 1px solid var(--profession-border); }
.profession-type-index button { display: grid; grid-template-columns: 42px 1fr; min-height: 62px; align-items: center; padding: 8px 20px; border: 0; border-bottom: 1px solid #ebe6da; background: #f8f6f0; cursor: pointer; text-align: left; }
.profession-type-index button:last-child { border-bottom: 0; }
.profession-type-index button:hover, .profession-type-index button[aria-selected="true"] { color: var(--profession-primary); background: #fff; }
.profession-type-index button[aria-selected="true"] { box-shadow: inset 4px 0 var(--profession-accent); }
.profession-type-index b { position: static; color: #a79670; font-family: Georgia, serif; font-size: .75rem; font-weight: 400; }
.profession-type-index button > span { display: grid; }
.profession-type-index strong { margin: 0; color: inherit; font-family: var(--profession-serif); font-size: .92rem; }
.profession-type-index small { color: var(--profession-muted); font-size: .66rem; }
.profession-directory-detail { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 86px); overflow: hidden; }
.profession-directory-detail::after { position: absolute; right: -30px; bottom: -92px; width: 250px; height: 250px; border: 1px solid #d1bc8e; border-radius: 50%; box-shadow: 0 0 0 28px #f7f4ec, 0 0 0 29px #d1bc8e; content: ""; opacity: .65; }
.profession-directory-detail__number { margin: 0 0 16px; color: var(--profession-accent); font-family: Georgia, serif; font-size: .72rem; letter-spacing: .16em; }
.profession-directory-detail h3 { position: relative; z-index: 1; margin: 0; color: var(--profession-primary); font-family: var(--profession-serif); font-size: clamp(2rem, 4vw, 3.4rem); }
.profession-directory-detail > p:not(.profession-directory-detail__number) { position: relative; z-index: 1; max-width: 560px; margin: 18px 0 22px; color: var(--profession-muted); }
#profession-directory-fields { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 7px; }
#profession-directory-fields span { padding: 5px 12px; border: 1px solid var(--profession-border); font-size: .72rem; }
#profession-directory-action { position: relative; z-index: 1; display: flex; width: fit-content; min-height: 46px; align-items: center; gap: 24px; margin-top: 30px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--profession-primary); color: var(--profession-primary); background: transparent; cursor: pointer; font-weight: 700; }

.profession-featured { background: #1b3b30; }
#profession-featured-article { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.24); }
.profession-featured-card { display: grid; grid-template-columns: 112px 1fr; min-width: 0; background: var(--profession-primary-dark); box-shadow: none; }
.profession-featured-card__image { min-height: 100%; }
.profession-featured-card__image img { height: 100%; object-fit: cover; }
.profession-featured-card__content { padding: 32px 30px; }
.profession-featured-card h3 { font-size: 1.22rem; }
.profession-featured-card__content > p { margin: 12px 0 8px; font-size: .8rem; }
.profession-featured-label { background: transparent; padding: 0; color: #d6be83; }
.profession-featured-meta { margin: 10px 0 8px; }
.profession-featured-reason { margin-top: 14px !important; }
.profession-featured-points { margin: 10px 0 0; padding-left: 1.1em; color: #dbe5df; font-size: .75rem; }

.profession-articles-layout { grid-template-columns: minmax(0, 1fr) 332px; gap: 74px; }
.profession-article-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--profession-border); }
.profession-card { border-bottom: 1px solid var(--profession-border); }
.profession-card__link { display: grid; grid-template-columns: 100px minmax(0, 1fr) 150px; align-items: stretch; min-height: 220px; }
.profession-card__category-rail { display: flex; align-items: flex-start; justify-content: center; padding: 22px 12px; border-right: 1px solid var(--profession-border); color: var(--profession-primary); font-family: var(--profession-serif); font-size: .76rem; writing-mode: vertical-rl; }
.profession-card__image { grid-column: 3; grid-row: 1; aspect-ratio: auto; margin: 22px 0; }
.profession-card__content { grid-column: 2; grid-row: 1; padding: 22px 26px; }
.profession-card__meta { justify-content: flex-start; margin-bottom: 9px; }
.profession-card h3 { min-height: 0; font-size: 1.16rem; }
.profession-card__excerpt { min-height: 0; margin: 10px 0; -webkit-line-clamp: 2; }
.profession-card__learn { margin: 10px 0; padding-left: 14px; border-left: 2px solid var(--profession-accent); color: var(--profession-muted); font-size: .72rem; }
.profession-card__read { margin-top: 12px; }

.profession-sidebar { gap: 28px; }
.profession-guide-panel { border-top: 4px solid var(--profession-primary); border-bottom: 1px solid var(--profession-border); background: #f8f6f0; }
.profession-guide-panel__label { margin: 0; padding: 16px 22px 12px; color: var(--profession-accent); font-family: Georgia, serif; font-size: .68rem; letter-spacing: .16em; }
.profession-guide-panel .profession-side-panel { padding: 20px 22px; border: 0; border-top: 1px solid var(--profession-border); background: transparent; }
.profession-side-panel--search form > div { background: #fff; }
.profession-side-trust { display: grid; grid-template-columns: 40px 1fr; gap: 15px; padding: 8px 2px 24px; border-bottom: 1px solid var(--profession-border); }
.profession-side-trust > span { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--profession-primary); border-radius: 50%; color: var(--profession-primary); }
.profession-side-trust h3, .profession-side-contact h3 { margin: 0 0 8px; font-family: var(--profession-serif); font-size: 1rem; }
.profession-side-trust p, .profession-side-trust a { margin: 0; color: var(--profession-muted); font-size: .74rem; }
.profession-side-contact { position: relative; padding: 28px 26px 24px; border-top: 3px solid var(--profession-accent); color: #fff; background: var(--profession-primary-dark); }
.profession-side-contact::after { position: absolute; right: 18px; bottom: 14px; width: 44px; height: 44px; border: 1px solid rgba(215,199,151,.45); border-radius: 50%; content: ""; }
.profession-side-contact p { margin: 0 0 8px; color: #d7c797; font-size: .7rem; }
.profession-side-contact a { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; margin-top: 10px; color: #fff; font-size: .78rem; font-weight: 700; }

@media (max-width: 1050px) {
  .profession-hero__roles { display: none; }
  .profession-articles-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 38px; }
  .profession-card__link { grid-template-columns: 80px minmax(0, 1fr) 124px; }
}

@media (max-width: 800px) {
  .profession-hero { padding-top: 52px; background: #f7f4ec; }
  .profession-hero::before { display: block; }
  .profession-hero__copy { padding-inline: 14px; }
  .profession-hero__copy::before, .profession-hero__copy::after { display: none; }
  .profession-hero__landscape { height: 180px; margin-top: 0; }
  .profession-hero__landscape img { width: 100%; height: 300px; margin-top: -10px; }
  .profession-consultation-index { margin-bottom: -70px; }
  .profession-consultation-index > header { grid-template-columns: 1fr; padding: 24px 22px 18px; }
  .profession-concern-list { grid-template-columns: 1fr; }
  .profession-concern-group { padding: 20px 22px; border-right: 0; border-bottom: 1px solid var(--profession-border); }
  .profession-concern-group:last-child { border-bottom: 0; }
  .profession-concern-list .profession-concern-group button { min-height: 56px; }
  .profession-types { padding-top: 140px; }
  .profession-directory { grid-template-columns: 1fr; min-height: auto; }
  .profession-type-index { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--profession-border); scroll-snap-type: x proximity; }
  .profession-type-index button { flex: 0 0 210px; min-height: 72px; border-right: 1px solid var(--profession-border); border-bottom: 0; scroll-snap-align: start; }
  .profession-type-index button[aria-selected="true"] { box-shadow: inset 0 -4px var(--profession-accent); }
  .profession-directory-detail { min-height: 360px; padding: 38px 28px; }
  #profession-featured-article { grid-template-columns: 1fr; }
  .profession-featured-card { grid-template-columns: 100px 1fr; }
  .profession-articles-layout { grid-template-columns: 1fr; }
  .profession-sidebar { margin-top: 26px; }
}

@media (max-width: 560px) {
  .profession-hero__copy h1 { font-size: clamp(1.9rem, 9vw, 2.65rem); }
  .profession-hero__copy > p:not(.profession-eyebrow) { font-size: .9rem; }
  .profession-hero__landscape { height: 142px; }
  .profession-consultation-index { width: calc(100% + 4px); margin-left: -2px; }
  .profession-consultation-index > header h2 { font-size: 1.3rem; }
  .profession-directory-detail h3 { font-size: 2rem; }
  .profession-featured .profession-section-heading { margin-bottom: 26px; }
  .profession-featured #profession-featured-title { white-space: nowrap; word-break: keep-all; overflow-wrap: normal; font-size: clamp(1.65rem, 8vw, 2rem); line-height: 1.35; }
  .profession-featured-card { grid-template-columns: 1fr; }
  .profession-featured-card__image { min-height: 0; aspect-ratio: 16 / 10; }
  .profession-featured-card__content { padding: 24px 20px; }
  .profession-featured-label { max-width: 100%; font-size: .68rem; line-height: 1.5; letter-spacing: .06em; white-space: nowrap; }
  .profession-featured-card__content > p:not(.profession-featured-reason), .profession-featured-points { display: none; }
  .profession-card__link { grid-template-columns: 42px minmax(0, 1fr); min-height: 0; }
  .profession-card__category-rail { padding: 18px 8px; font-size: .68rem; }
  .profession-card__image { display: none; }
  .profession-card__content { grid-column: 2; padding: 18px 16px 20px; }
  .profession-card__excerpt { -webkit-line-clamp: 2; }
  .profession-card__learn { display: block; }
}

/* 記事詳細は左右分割を避け、専門誌の扉ページとして構成 */
.profession-article-header { display: flex; flex-direction: column; gap: 38px; padding: 46px 0 74px; text-align: center; }
.profession-article-header__content { max-width: 900px; margin-inline: auto; }
.profession-article-header h1 { max-width: 850px; font-size: clamp(2rem, 4vw, 3.5rem); }
.profession-article-header .profession-article-dates, .profession-article-header .profession-tags { justify-content: center; }
.profession-article-header .profession-article-lead { max-width: 720px; margin-inline: auto; margin-top: 24px; }
.profession-article-header__image { width: min(960px, 100%); max-height: 440px; margin-inline: auto; }
.profession-article-header__image img { max-height: 440px; object-fit: cover; }
.profession-toc { border-radius: 0; border-top: 4px solid var(--profession-primary); box-shadow: 8px 10px 0 #f1eee5; }

@media (max-width: 800px) {
  .profession-article-header { gap: 28px; padding: 24px 0 48px; text-align: left; }
  .profession-article-header__content { order: 1; }
  .profession-article-header__image { order: 2; max-height: 270px; }
  .profession-article-header__image img { max-height: 270px; }
  .profession-article-header .profession-article-dates, .profession-article-header .profession-tags { justify-content: flex-start; }
  .profession-article-header .profession-article-lead { margin-inline: 0; }
}
