@font-face {
  font-family: 'Noto Sans JP';
  src: url('assets/NotoSansJP.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family: 'Noto Sans JP', sans-serif;
  font-synthesis: none;
  color: #222;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  --text: #414141;
  --secondary: #666;
  --line: #dedede;
  --surface: #f5f5f5;
  --gutter: 64px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; font-size: 18px; line-height: 1.9; }
p, h1, h2, h3, h4, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
::selection { color: #111; background: #dedede; }
a:focus-visible, button:focus-visible { outline: 2px solid #333; outline-offset: 5px; }
input:focus-visible, textarea:focus-visible { outline: 2px solid #333; outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 16px; padding: 12px 20px; color: white; background: #222; transform: translateY(-150%); z-index: 30; }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: 100%; max-width: 1248px; margin-inline: auto; padding-inline: var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 24px 20px; }
.wordmark { font-size: 20px; font-weight: 450; letter-spacing: .055em; line-height: 1.8; white-space: nowrap; }
.site-header nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: #f5f5f5; font-size: 15px; color: var(--secondary); }
.site-header nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 88px; padding: 9px 20px; border-radius: 999px; line-height: 1.6; transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.site-header nav a:hover, .site-header nav a:focus-visible, .site-header nav a[aria-current] { color: #222; background: #fff; box-shadow: 0 2px 6px rgb(0 0 0 / 5%); }
.site-header nav a:focus-visible { outline-offset: 2px; }
.no-break { display: inline-block; }
.intro { padding-block: 160px 184px; }
.main-message { max-width: 920px; margin-inline: auto; font-size: clamp(36px, 3.6vw, 48px); line-height: 1.8; letter-spacing: .025em; font-weight: 450; text-align: center; }
.message-line { display: block; }
.section-label { display: inline-block; width: fit-content; padding: 6px 17px 7px; background: #242424; color: #fff; font-size: 16px; font-weight: 500; line-height: 1.6; letter-spacing: .035em; }
.section-heading-line { margin-bottom: 56px; }
.profile { padding-top: 80px; padding-bottom: 144px; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: start; }
.profile-identity { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.profile-photo { display: block; width: 112px; height: 112px; flex: 0 0 112px; border-radius: 50%; object-fit: contain; }
.profile-name h3 { font-size: 34px; line-height: 1.5; letter-spacing: .06em; font-weight: 500; }
.profile-name p { margin-top: 9px; font-size: 17px; letter-spacing: .025em; color: var(--secondary); }
.profile-bio { max-width: 36em; color: var(--text); line-height: 2; }
.profile-bio p + p { margin-top: 23px; }
.work-section { padding-bottom: 144px; }
.work-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.work-item { display: flex; flex-direction: column; min-width: 0; padding: 40px; background: #fff; border-radius: 12px; box-shadow: 0 2px 8px rgb(0 0 0 / 4%), 0 12px 36px rgb(0 0 0 / 5%); }
.work-description { display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.work-description > p { margin-bottom: 28px; }
.work-description .text-link { margin-top: auto; }
.activity-label { font-size: 16px; line-height: 1.8; color: var(--secondary); margin-bottom: 13px; }
.work-name { font-size: 28px; font-weight: 500; line-height: 1.65; letter-spacing: .005em; margin-bottom: 20px; }
.work-description > p:not(.preparing-note) { color: var(--text); line-height: 2; }
.text-link { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; min-width: 140px; padding: 12px 28px; margin-top: 28px; border-radius: 999px; background: #f2f2f2; color: #292929; font-size: 16px; line-height: 1.75; text-decoration: none; transition: background-color 180ms ease, color 180ms ease; }
.text-link:hover { background: #242424; color: #fff; }
.text-link:active { background: #444; color: #fff; }
.preparing-note { display: flex; align-items: center; min-height: 44px; margin-top: 23px; color: var(--secondary); font-size: 16px; }
.contact-section { padding-block: 64px 76px; background: var(--surface); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: 64px; }
.section-heading > p { color: var(--text); font-size: 18px; margin-top: 22px; }
.contact-intro { max-width: 36em; color: var(--text); line-height: 2; margin-bottom: 36px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { margin-bottom: 30px; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-field label { display: flex; align-items: baseline; gap: 12px; font-size: 16px; line-height: 1.8; margin-bottom: 9px; }
.required-label, .optional-label { color: var(--secondary); font-size: 14px; }
input, textarea { display: block; width: 100%; min-width: 0; border: 0; border-radius: 6px; padding: 14px 18px; background: #fff; font-size: 17px; line-height: 1.7; box-shadow: 0 2px 5px rgb(0 0 0 / 4%), 0 6px 20px rgb(0 0 0 / 3%); transition: box-shadow 180ms ease; }
input { min-height: 56px; }
textarea { resize: vertical; min-height: 200px; }
input:hover, textarea:hover { box-shadow: 0 3px 8px rgb(0 0 0 / 5%), 0 8px 24px rgb(0 0 0 / 4%); }
input:focus-visible, textarea:focus-visible { outline: 2px solid #555; outline-offset: 3px; box-shadow: 0 4px 12px rgb(0 0 0 / 6%), 0 10px 28px rgb(0 0 0 / 4%); }
.preview-note { color: var(--secondary); font-size: 15px; line-height: 1.9; margin-top: 12px; }
.button-primary, .button-secondary { display: inline-flex; justify-content: center; align-items: center; gap: 32px; min-height: 52px; border: 1px solid #222; border-radius: 3px; padding: 12px 26px; font-size: 16px; font-weight: 400; line-height: 1.7; }
.button-primary { color: white; background: #222; }
.button-primary:hover:not(:disabled) { background: #444; border-color: #444; }
.button-primary:disabled { background: #ededed; border-color: #dedede; color: #777; cursor: not-allowed; }
.button-secondary { background: white; border-color: #aaa; }
.button-secondary:hover { background: #f5f5f5; }
#contact-form > .button-primary { margin-top: 6px; min-width: 180px; border-radius: 6px; }
.contact-review, .contact-result { scroll-margin-top: 36px; }
.contact-review:focus, .contact-result:focus { outline: none; }
.contact-review h3, .contact-result h3 { font-size: 22px; font-weight: 500; line-height: 1.8; }
.contact-review dl { margin-top: 24px; }
.contact-review dt { color: var(--secondary); font-size: 15px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-review dd { padding: 6px 0 20px; font-size: 17px; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.form-error { font-size: 16px; margin-top: 20px; border-left: 2px solid #333; padding-left: 16px; }
.contact-result p { color: var(--text); font-size: 17px; line-height: 2; margin-top: 16px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px 36px; color: var(--secondary); font-size: 14px; }
.site-footer a { display: inline-flex; gap: 16px; align-items: center; min-height: 44px; }
.site-footer a:hover { color: #111; }
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .main-message { max-width: 800px; }
  .profile-layout { gap: 48px; }
  .profile-name h3 { font-size: 30px; }
  .work-content { gap: 24px; }
  .work-item { padding: 28px; }
  .work-name { font-size: 25px; }
  .contact-layout { column-gap: 48px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 800px) {
  .main-message { font-size: 34px; }
  .profile-layout { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 36px; }
  .profile-name h3 { font-size: 28px; }
  .profile { padding-bottom: 112px; }
  .work-name { font-size: 24px; }
  .work-section { padding-bottom: 112px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .contact-content { width: 100%; }
  .field-pair { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 700px) {
  .work-content { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }
  html { scroll-padding-top: 148px; }
  .header-content { padding-block: 16px 12px; gap: 12px; flex-direction: column; }
  .wordmark { font-size: 18px; white-space: nowrap; }
  .site-header nav { gap: 4px; font-size: 15px; max-width: 100%; }
  .site-header nav a { min-width: 80px; padding-inline: 17px; }
  .intro { padding-block: 100px 120px; }
  .main-message { font-size: clamp(22px, 6.4vw, 29px); line-height: 1.85; letter-spacing: 0; }
  .message-line { text-wrap: balance; }
  .section-label { font-size: 15px; padding: 5px 15px 6px; }
  .section-heading-line { margin-bottom: 36px; }
  .profile-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .profile-identity { gap: 20px; }
  .profile-photo { width: 96px; height: 96px; flex-basis: 96px; }
  .profile-name h3 { font-size: 29px; }
  .profile-name p { font-size: 16px; margin-top: 5px; }
  .profile-bio p + p { margin-top: 18px; }
  .profile { padding-top: 48px; padding-bottom: 96px; }
  .activity-label { margin-bottom: 9px; }
  .work-name { font-size: 24px; line-height: 1.7; margin-bottom: 16px; }
  .text-link, .preparing-note { font-size: 16px; margin-top: 24px; }
  .work-section { padding-bottom: 96px; }
  .contact-section { padding-block: 40px 48px; }
  .section-heading > p { font-size: 17px; margin-top: 16px; }
  .contact-intro { margin-bottom: 26px; }
  .field-pair { grid-template-columns: 1fr; gap: 0; }
  .form-field { margin-bottom: 23px; }
  input, textarea { font-size: 16px; }
  .preview-note { font-size: 14px; }
  .contact-review h3, .contact-result h3 { font-size: 20px; }
  .site-footer { align-items: flex-start; gap: 12px; font-size: 13px; padding-block: 20px 28px; }
  .site-footer a { gap: 8px; }
}
@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .site-header nav a { min-width: 76px; padding-inline: 14px; }
  .wordmark { font-size: 17px; }
  .work-name { font-size: 22px; }
  .site-footer { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
