:root {
  --ink: #102d2a;
  --green: #087c70;
  --dark: #0b3834;
  --mint: #d9eee5;
  --paper: #fff;
  --white: #fff;
  --coral: #ef786e;
  --yellow: #f2c654;
  --line: rgba(16,45,42,.16);
  --gutter: clamp(16px, 3.2vw, 32px);
  --shell: min(1120px, calc(100vw - (var(--gutter) * 2)));
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "DM Sans", sans-serif;
  --text-sm: 12px;
  --text-base: 14px;
  --text-md: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--font-jp); font-size: var(--text-base); line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { position: fixed; z-index: 50; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg,var(--coral) 0 33%,var(--yellow) 33% 66%,var(--green) 66%); content: ""; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3 { line-break: strict; word-break: normal; }
.keep-together { white-space: nowrap; }
.keep-phrase { white-space: nowrap; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 8px 12px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header { position: sticky; z-index: 40; top: 3px; display: flex; min-height: 70px; align-items: center; justify-content: space-between; padding: 0 max(28px, calc((100vw - 1120px)/2)); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.brand, .footer-brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 116px; }
.brand > span, .footer-label { padding-left: 13px; border-left: 1px solid var(--line); font-family: var(--font-en); font-size: var(--text-sm); font-weight: 700; letter-spacing: .1em; }
.site-header nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { font-size: var(--text-base); font-weight: 600; }
.site-header nav a:last-child { padding: 9px 14px; border-radius: 999px; color: #fff; background: var(--dark); }
.menu-button { display: none; }

.hero { padding: 34px 0 36px; border-bottom: 1px solid var(--line); background: #fff; }
.hero-inner { width: var(--shell); margin: auto; }
.eyebrow, .section-title span { margin: 0 0 10px; color: var(--green); font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.hero h1 { margin: 0; font-family: var(--font-jp); font-size: clamp(34px,3.8vw,46px); font-weight: 600; line-height: 1.35; letter-spacing: -.045em; }
.hero h1 em { color: var(--green); font-style: normal; }
.mobile-break { display: none; }

.recommended { padding-block: 42px 56px; }
.section-title { margin-bottom: 24px; }
.section-title span { display: block; margin-bottom: 7px; }
.section-title h2 { margin: 0; font-family: var(--font-jp); font-size: 30px; font-weight: 600; line-height: 1.4; letter-spacing: -.03em; }
.priority-list { display: grid; gap: 12px; }
.priority-card { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; min-height: 180px; padding: clamp(20px,2.1vw,24px); border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color .2s, box-shadow .2s, transform .2s; }
.priority-card:hover { border-color: var(--green); box-shadow: 0 14px 38px rgba(16,45,42,.08); transform: translateY(-2px); }
.priority-main { min-height: 176px; border-top: 4px solid var(--green); }
.priority-copy { min-width: 0; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: #667d78; font-family: var(--font-en); font-size: var(--text-sm); line-height: 1.5; }
.card-meta strong { padding: 5px 9px; border-radius: 999px; color: var(--dark); background: var(--yellow); font-size: var(--text-sm); letter-spacing: .03em; }
.card-meta span { margin-left: auto; }
.priority-card h3 { margin: 24px 0 0; overflow-wrap: break-word; font-family: var(--font-jp); font-size: 21px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; text-wrap: balance; }
.priority-main h3 { font-size: clamp(24px,2.4vw,30px); }
.card-action { display: flex; align-items: flex-end; justify-content: flex-end; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); text-align: right; }
.card-action i { font-size: var(--text-base); font-style: normal; font-weight: 700; }
.priority-subgrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.priority-subgrid .card-action { justify-content: flex-end; text-align: right; }

.interviews { padding-bottom: 56px; }
.interview-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,400px),1fr)); gap: 12px; }
.interview-card { min-height: 205px; border-top: 4px solid var(--green); }
.interview-card h3 { font-size: clamp(22px,2.2vw,27px); line-height: 1.55; }

.more { padding: 56px 0 68px; color: #fff; background: var(--dark); }
.filter-row { display: flex; gap: 8px; margin-bottom: 22px; }
.filter-row button { padding: 9px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #acc0bc; background: transparent; cursor: pointer; font-size: var(--text-sm); font-weight: 500; }
.filter-row button span { margin-left: 7px; opacity: .6; }
.filter-row button:hover, .filter-row button.is-active { border-color: var(--mint); color: var(--dark); background: var(--mint); }
.article-list { border-top: 1px solid rgba(255,255,255,.24); }
.article-list article { border-bottom: 1px solid rgba(255,255,255,.16); }
.article-list article[hidden] { display: none; }
.article-list :is(a,.article-entry) { display: grid; grid-template-columns: 130px minmax(0,1fr) 190px 34px; min-height: 90px; align-items: center; gap: 20px; padding: 15px 8px; transition: background .2s, padding .2s; }
.article-list a:hover { padding-left: 15px; background: rgba(255,255,255,.05); }
.list-meta { display: flex; flex-direction: column; gap: 5px; }
.list-meta span { width: fit-content; color: var(--yellow); font-size: var(--text-sm); font-weight: 700; }
.list-meta time { color: #9bb0ac; font-family: var(--font-en); font-size: var(--text-sm); }
.article-list h3 { margin: 0; overflow-wrap: break-word; font-family: var(--font-jp); font-size: var(--text-md); font-weight: 500; line-height: 1.6; text-wrap: pretty; }
.article-list :is(a,.article-entry) > p { margin: 0; color: #a6bab6; font-size: var(--text-sm); line-height: 1.55; }
.article-list :is(a,.article-entry) > i { color: #8ca19d; font-size: 14px; font-style: normal; }
.filter-empty { text-align: center; }

.team { padding-block: 68px 76px; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.member-card { display: flex; min-width: 0; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 12px; background: #fff; }
.member-card-header { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 15px; align-items: start; }
.member-number { display: grid; width: 46px; height: 46px; border-radius: 50%; color: var(--dark); background: var(--mint); place-items: center; font-family: var(--font-en); font-size: var(--text-sm); font-weight: 700; }
.member-card-header p { margin: 0 0 4px; color: var(--green); font-size: var(--text-sm); font-weight: 700; }
.member-card-header h3 { margin: 0; font-size: 23px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }
.member-card-header div > span { color: #768984; font-family: var(--font-en); font-size: var(--text-sm); }
.member-role { min-height: 70px; margin: 24px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; text-wrap: pretty; }
.member-summary { min-height: 120px; margin: 18px 0 22px; color: #526a65; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; text-wrap: pretty; }
.member-link { display: flex; align-items: center; justify-content: space-between; margin-top: 0; padding-top: 15px; border-top: 1px solid var(--line); color: var(--green); font-size: 13px; font-weight: 700; }
.member-link span { transition: transform .2s; }
.member-link:hover span { transform: translateX(4px); }

.products { padding: 60px 0 68px; background: var(--paper); }
.product-heading { display: flex; align-items: end; justify-content: space-between; }
.product-heading > a { padding-bottom: 5px; border-bottom: 1px solid var(--ink); font-family: var(--font-en); font-size: var(--text-base); font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.product-card { display: grid; grid-template-columns: 90px minmax(0,1fr) 34px; min-height: 130px; align-items: center; gap: 20px; padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.product-card:hover { border-color: var(--green); box-shadow: 0 12px 32px rgba(16,45,42,.08); transform: translateY(-2px); }
.product-card img { width: 90px; border-radius: 20px; box-shadow: 0 5px 16px rgba(16,45,42,.12); }
.product-card > div { min-width: 0; }
.product-card span { display: block; margin-bottom: 5px; color: var(--green); font-family: var(--font-en); font-size: var(--text-sm); font-weight: 700; letter-spacing: .04em; }
.product-card h3 { margin: 0; overflow-wrap: anywhere; font-family: var(--font-jp); font-size: 19px; font-weight: 600; line-height: 1.45; }
.product-card p { margin: 5px 0 0; color: #687e79; font-size: 13px; line-height: 1.55; }
.product-card i { display: grid; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; place-items: center; font-size: 13px; font-style: normal; }

.profile-header { padding-inline: max(28px,calc((100vw - 1120px)/2)); }
.profile-back { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--text-sm); font-weight: 700; transition: border-color .2s, background .2s; }
.profile-back:hover { border-color: var(--green); background: var(--mint); }
.profile-page { width: var(--shell); margin-inline: auto; }
.profile-hero { padding: 46px 0 38px; border-bottom: 1px solid var(--line); }
.profile-hero > p { margin: 0 0 10px; color: var(--green); font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.profile-hero h1 { margin: 0; font-size: clamp(40px,5vw,64px); font-weight: 600; line-height: 1.25; letter-spacing: -.05em; }
.profile-hero > div { display: grid; grid-template-columns: minmax(240px,360px) minmax(0,1fr); gap: 30px; margin-top: 28px; padding: 18px 22px; border-left: 4px solid var(--green); background: #f2f8f5; }
.profile-hero strong { font-size: var(--text-md); }
.profile-hero div p { margin: 0; color: #526a65; }
.profile-layout { padding: 38px 0 64px; }
.profile-index { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: 18px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.profile-index span { color: var(--green); font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.profile-index a { color: #617772; font-size: 13px; font-weight: 600; }
.profile-index a:hover { color: var(--green); }
.profile-content { display: grid; min-width: 0; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.profile-content section { min-width: 0; padding: 22px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 12px; scroll-margin-top: 90px; }
.profile-content section + section { padding-top: 22px; }
.profile-content :is(#skills,#experience,#achievements) { grid-column: 1 / -1; }
.profile-content h2 { margin: 0 0 18px; font-size: clamp(22px,2.3vw,27px); font-weight: 600; letter-spacing: -.03em; }
.profile-content > section > p { margin: 0; color: #526a65; }
.profile-timeline { margin: 0; padding: 0; list-style: none; }
.profile-timeline li { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(16,45,42,.1); }
.profile-timeline li:first-child { border-top: 1px solid rgba(16,45,42,.1); }
.profile-timeline time { padding-top: 2px; color: var(--green); font-family: var(--font-en); font-size: 12px; font-weight: 700; }
.profile-timeline span { color: #405b56; font-size: 13px; line-height: 1.65; }
.profile-tags { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.profile-tags li { position: relative; min-width: 0; padding: 12px 8px 12px 20px; border-bottom: 1px solid var(--line); color: #405b56; font-size: 13px; line-height: 1.65; }
.profile-tags li::before { position: absolute; top: 20px; left: 4px; width: 6px; height: 6px; border-radius: 1px; background: var(--green); content: ""; transform: rotate(45deg); }
.profile-content #experience { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.profile-content #experience > h2 { grid-column: 1 / -1; margin-bottom: 6px; }
.profile-story { padding: 18px; border: 1px solid rgba(16,45,42,.12); border-left: 3px solid var(--mint); border-radius: 8px; background: #fff; }
.profile-story + .profile-story { padding-top: 18px; }
.profile-story h3 { margin: 0 0 9px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.profile-story p { margin: 0; color: #526a65; font-size: 13px; line-height: 1.75; }
.profile-story p + p { margin-top: 7px; }
.profile-conclusion { grid-column: 1 / -1; border: 0; background: #f2f8f5; }
.achievement-years { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
.achievement-year { min-width: 0; }
.achievement-year > h3 { margin: 0 0 8px; color: var(--green); font-family: var(--font-en); font-size: 15px; letter-spacing: .06em; }
.profile-footer { width: 100%; }
.profile-footer > a { color: var(--green); font-weight: 700; }

.error-page { display: grid; width: var(--shell); min-height: 100vh; margin-inline: auto; grid-template-rows: auto 1fr; padding: 34px 0 64px; }
.error-brand { display: flex; width: fit-content; align-items: center; gap: 13px; }
.error-brand img { width: 116px; }
.error-brand span { padding-left: 13px; border-left: 1px solid var(--line); font-family: var(--font-en); font-size: var(--text-sm); font-weight: 700; letter-spacing: .1em; }
.error-content { align-self: center; padding: 56px 0; }
.error-content > p { margin: 0 0 12px; color: var(--green); font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.error-content h1 { margin: 0; font-size: clamp(40px,7vw,76px); font-weight: 600; line-height: 1.25; letter-spacing: -.05em; }
.error-content > span { display: block; margin-top: 20px; color: #617772; }
.error-content > a { display: flex; width: min(100%,320px); align-items: center; justify-content: space-between; margin-top: 32px; padding: 14px 18px; border-radius: 999px; color: #fff; background: var(--dark); font-weight: 700; }
.error-content i { font-style: normal; }

footer { display: flex; align-items: center; justify-content: space-between; padding: 35px max(28px,calc((100vw - 1120px)/2)); border-top: 1px solid var(--line); color: var(--ink); background: #fff; }
.footer-logo-mark { display: block; width: 38px; height: 38px; padding: 0; overflow: hidden; border: 0; border-radius: 7px; }
.footer-logo-mark img { width: auto; max-width: none; height: 38px; }
.footer-brand strong { font-family: var(--font-en); font-size: 25px; font-weight: 600; letter-spacing: -.03em; }
.footer-label { border-color: var(--line); }
footer > div { display: flex; gap: 35px; color: #617772; font-family: var(--font-en); font-size: var(--text-sm); }

@media (max-width: 1040px) {
  .site-header { padding-inline: 20px; }
  .site-header nav { position: absolute; top: 67px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-header.menu-open nav { display: flex; }
  .site-header nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header nav a:last-child { margin-top: 9px; text-align: center; }
  .menu-button { display: flex; flex-direction: column; gap: 6px; padding: 9px; border: 0; background: none; }
  .menu-button span { display: block; width: 22px; height: 1px; background: var(--ink); }
  .priority-subgrid .card-meta span { width: 100%; margin-left: 0; }
  .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .member-summary { min-height: 100px; }
  .profile-tags { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  :root { --shell: min(calc(100vw - 40px),760px); }
  .priority-subgrid { grid-template-columns: 1fr; }
  .article-list :is(a,.article-entry) { grid-template-columns: 100px minmax(0,1fr) 30px; }
  .article-list :is(a,.article-entry) > p { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .member-role { min-height: 0; }
  .member-summary { min-height: 0; }
  .profile-hero > div { grid-template-columns: 1fr; gap: 9px; }
  .profile-content { grid-template-columns: 1fr; }
  .profile-content :is(#skills,#experience,#achievements) { grid-column: auto; }
  .profile-content #experience { grid-template-columns: 1fr; }
  .achievement-years { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 30px); }
  .brand img { width: 100px; }
  .hero { padding: 28px 0 30px; }
  .hero h1 { font-size: 31px; }
  .mobile-break { display: block; }
  .recommended, .more { padding-block: 54px 62px; }
  .team { padding-block: 54px 62px; }
  .section-title { display: block; }
  .priority-card, .priority-subgrid .priority-card { min-height: 0; padding: 20px 17px; }
  .priority-main, .interview-card { min-height: 0; }
  .priority-main h3, .priority-card h3 { font-size: 19px; }
  .card-meta { flex-wrap: wrap; gap: 6px 10px; }
  .card-meta span { width: 100%; margin-left: 0; }
  .card-action, .priority-subgrid .card-action { justify-content: flex-start; margin-top: auto; padding-top: 13px; text-align: left; }
  .filter-row { overflow-x: auto; margin-right: -15px; padding-right: 15px; scrollbar-width: none; }
  .filter-row button { flex: 0 0 auto; }
  .article-list :is(a,.article-entry) { grid-template-columns: 70px minmax(0,1fr) 18px; min-height: 105px; gap: 10px; padding-inline: 0; }
  .article-list h3 { font-size: 14px; }
  .product-heading { display: block; }
  .product-heading > a { display: inline-block; margin-top: 18px; }
  .product-card { grid-template-columns: 72px minmax(0,1fr) 28px; min-height: 108px; gap: 14px; padding: 15px; }
  .product-card img { width: 72px; border-radius: 16px; }
  .product-card h3 { font-size: 17px; }
  .member-card { padding: 20px 17px; }
  .profile-header { min-height: 64px; padding-inline: 15px; }
  .profile-header .brand > span { display: none; }
  .profile-back { padding: 7px 10px; }
  .profile-hero { padding: 36px 0 30px; }
  .profile-hero > div { margin-top: 30px; padding: 18px; }
  .profile-layout { padding: 30px 0 48px; }
  .profile-index { align-items: flex-start; gap: 7px 14px; }
  .profile-index span { width: 100%; }
  .profile-content section, .profile-content section + section { padding: 18px 16px; }
  .profile-timeline li { grid-template-columns: 1fr; gap: 3px; padding: 14px 0; }
  .profile-story, .profile-story + .profile-story { padding: 15px; }
  .profile-tags { grid-template-columns: 1fr; }
  .profile-footer { flex-direction: column; }
  footer { align-items: flex-start; flex-direction: column; gap: 32px; padding-inline: 20px; }
}

@media (max-width: 320px) {
  .keep-together { white-space: normal; }
  .brand > span { display: none; }
}

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