:root {
  --ink: #17211d;
  --muted: #65706b;
  --paper: #ffffff;
  --tint: #f3f6f2;
  --line: #dce3de;
  --accent: #2f7358;
  --accent-soft: #dcebe3;
  --dark: #15231d;
  --max-width: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.35; letter-spacing: .02em; }
h1 { margin-bottom: 28px; font-size: clamp(2.5rem, 5.5vw, 5rem); font-weight: 700; letter-spacing: -.035em; }
.hero-title { perspective: 720px; }
.hero-title.is-prepared .hero-title__char { display: inline-block; opacity: 0; transform: translateY(.55em) rotateX(-18deg); transform-origin: 50% 100%; }
.hero-title.is-visible .hero-title__char { animation: hero-title-char-in 1040ms cubic-bezier(.22, .75, .28, 1) both; animation-delay: calc(var(--char-index) * 84ms); }
@keyframes hero-title-char-in { from { opacity: 0; transform: translateY(.55em) rotateX(-18deg); } to { opacity: 1; transform: translateY(0) rotateX(0); } }
.reveal.is-reveal-prepared { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 760ms ease, transform 760ms cubic-bezier(.22, .75, .28, 1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.reveal--fade.is-reveal-prepared { transform: none; }
.reveal--left.is-reveal-prepared { transform: translate3d(-36px, 0, 0); }
.reveal--right.is-reveal-prepared { transform: translate3d(36px, 0, 0); }
.reveal--up.is-reveal-prepared { transform: translate3d(0, 22px, 0); }
.reveal.is-reveal-visible { opacity: 1; transform: translate3d(0, 0, 0); }
.reveal.is-reveal-visible { will-change: auto; }
h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { margin-bottom: 14px; font-size: 1.3rem; }
.container { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.section { padding: 112px 0; }
.section--tint { background: var(--tint); }
.eyebrow { margin-bottom: 8px; color: var(--accent); font-size: .73rem; font-weight: 700; letter-spacing: .18em; }
.section-heading { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 56px; }
.section-number { flex: 0 0 auto; margin-top: 3px; color: var(--accent); font-size: .78rem; font-weight: 700; }
.section-intro { max-width: 780px; margin: -20px 0 46px 48px; color: var(--muted); }
.section-heading--light h2, .section-heading--light .section-number, .section-heading--light .eyebrow { color: #fff; }

.hero { min-height: 720px; padding: 88px 0; background: linear-gradient(125deg, #eef4ef 0%, #fff 62%); display: flex; align-items: center; }
.hero__layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); align-items: center; gap: clamp(48px, 8vw, 110px); }
.hero__lead { max-width: 690px; margin-bottom: 34px; color: #4f5c56; font-size: 1.12rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .88rem; font-weight: 700; }
.hero__meta span + span { position: relative; }
.hero__meta span + span::before { content: ""; position: absolute; top: 50%; left: -14px; width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.photo-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; color: #74817a; background: repeating-linear-gradient(135deg, #e4e9e5 0, #e4e9e5 10px, #edf0ed 10px, #edf0ed 20px); border: 1px solid #d5ddd7; text-align: center; }
.photo-placeholder span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; }
.photo-placeholder small { margin-top: 5px; font-size: .7rem; }
.profile-photo { width: 100%; min-width: 0; object-fit: cover; object-position: center; }
.photo-placeholder--hero { aspect-ratio: 4 / 5; border-radius: 180px 180px 16px 16px; }
.profile-photo--hero { aspect-ratio: 4 / 5; border-radius: 180px 180px 16px 16px; }
.photo-placeholder--sub { aspect-ratio: 4 / 5; border-radius: 8px; }

.about-grid { display: grid; grid-template-columns: minmax(240px, .65fr) minmax(0, 1.35fr); gap: clamp(48px, 8vw, 100px); align-items: start; }
.intro { margin-bottom: 38px; font-size: 1.18rem; font-weight: 600; }
.personal-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 34px; }
.personal-list article { padding-top: 18px; border-top: 1px solid var(--line); }
.personal-list h3 { font-size: 1rem; }
.personal-list p { margin-bottom: 0; color: var(--muted); font-size: .91rem; }
.about-photo-collage { display: grid; width: 50%; min-width: 0; gap: 18px; }
.about-photo { margin: 0; overflow: hidden; background: var(--tint); box-shadow: 0 14px 34px rgba(23, 33, 29, .12); }
.about-photo--main { aspect-ratio: 3 / 4; border-radius: 8px; }
.about-photo--sub { position: static; width: 100%; aspect-ratio: 3 / 4; border: 0; border-radius: 8px; }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile-identity { margin: 0 0 30px; padding: 22px 24px; border-left: 3px solid var(--accent); background: var(--tint); }
.profile-identity p { margin-bottom: 0; }
.profile-identity__company { color: var(--accent); font-size: .9rem; font-weight: 700; }
.profile-identity__name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 18px; margin-top: 3px; }
.profile-identity__name span { font-size: .88rem; font-weight: 700; }
.profile-identity__name strong { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: .08em; }
.profile-identity__details { margin-top: 10px; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.career-lead { margin: 0 0 32px; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.65; letter-spacing: .02em; }
.career-lead span { display: block; }
.career-history { max-width: 720px; margin: 0 0 42px; padding: 30px 0 2px; border-top: 1px solid var(--line); }
.career-history__label { margin-bottom: 6px; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.career-history h3 { margin-bottom: 24px; font-size: clamp(1.35rem, 2.5vw, 1.8rem); }
.career-history__body { color: var(--muted); font-size: .96rem; line-height: 2; }
.career-history__body p { margin-bottom: 0; }
.career-history__body p:last-child { margin-bottom: 0; }
.personal-list article { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 14px; }
.hobby-photo { display: grid; width: 68px; aspect-ratio: 1 / 1; place-items: center; overflow: hidden; color: #74817a; background: repeating-linear-gradient(135deg, #e4e9e5 0, #e4e9e5 8px, #edf0ed 8px, #edf0ed 16px); border: 1px solid #d5ddd7; border-radius: 4px; }
.hobby-photo span { font-size: .6rem; font-weight: 700; letter-spacing: .12em; }
.hobby-photo img { width: 100%; height: 100%; object-fit: cover; }
.personal-list__family { grid-template-columns: 68px minmax(0, 1fr) !important; }
.hobby-photo-group { display: grid; grid-template-columns: 1fr; gap: 8px; width: 68px; }
.hobby-photo-group .hobby-photo { width: 100%; }
.hobby-photo-button { padding: 0; cursor: pointer; }
.image-lightbox[hidden] { display: none; }
.image-lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 32px; background: rgba(10, 17, 13, .78); opacity: 0; transition: opacity 180ms ease; }
.work-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.work-showcase__item { min-width: 0; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.work-showcase__caption { margin-bottom: 8px; font-size: .85rem; font-weight: 700; }
.work-showcase__media { position: relative; display: flex; width: 100%; aspect-ratio: 16 / 10; align-items: center; justify-content: center; overflow: hidden; color: var(--ink); background: var(--tint); border: 1px solid #d5ddd7; border-radius: 5px; }
.work-showcase__media--image { padding: 0; cursor: pointer; }
.work-showcase__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.work-showcase__placeholder { flex-direction: column; gap: 7px; color: #74817a; background: repeating-linear-gradient(135deg, #e4e9e5 0, #e4e9e5 10px, #edf0ed 10px, #edf0ed 20px); text-align: center; text-decoration: none; }
.work-showcase__placeholder span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.work-showcase__placeholder small { font-size: .75rem; }
.work-showcase__status { position: absolute; right: 6px; bottom: 6px; margin: 0; padding: 2px 5px; color: #fff; background: rgba(16, 25, 20, .76); border-radius: 2px; font-size: .62rem; line-height: 1.3; }
.work-showcase__media--link:hover { border-color: var(--accent); }
.work-showcase__media:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.image-lightbox.is-open { opacity: 1; }
.image-lightbox__dialog { position: relative; display: grid; place-items: center; width: min(100%, 1200px); max-height: 100%; outline: none; }
.image-lightbox__dialog img { display: block; max-width: 100%; max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.image-lightbox__close { position: absolute; z-index: 1; top: 10px; right: 10px; padding: 7px 12px; color: #fff; background: rgba(16, 25, 20, .82); border: 1px solid rgba(255, 255, 255, .7); border-radius: 4px; font: inherit; font-size: .82rem; cursor: pointer; }
.image-lightbox__close:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
body.is-lightbox-open { overflow: hidden; }

.split-intro, .partner-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 9vw, 120px); }
.large-copy { font-size: clamp(1.7rem, 3.3vw, 2.7rem); }
.check-list { display: grid; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 16px 13px 44px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.check-list li::before { content: ""; position: absolute; top: 20px; left: 18px; width: 10px; height: 6px; border-bottom: 2px solid var(--accent); border-left: 2px solid var(--accent); transform: rotate(-45deg); }

.concept-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature-card { min-height: 340px; padding: clamp(34px, 5vw, 58px); background: var(--tint); border-radius: 8px; }
.feature-card h3 { margin: 44px 0 20px; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.feature-card p:last-child { margin-bottom: 0; color: var(--muted); }
.feature-card > p:not(.card-label) { margin-bottom: 0; color: var(--muted); }
.feature-card__link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--accent); font-size: .88rem; font-weight: 700; text-decoration: none; }
.feature-card__link:hover { text-decoration: underline; }
.feature-card__link:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.feature-card__link--light { color: #90c3aa; }
.feature-card--dark { color: #fff; background: var(--dark); }
.feature-card--dark p:last-child { color: #c8d4ce; }
.feature-card--dark > p:not(.card-label) { color: #c8d4ce; }
.card-label { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .16em; }
.feature-card--dark .card-label { color: #90c3aa; }
.concept-media { margin-top: 38px; }
.concept-media figure { margin: 0; min-width: 0; }
.concept-media figcaption { margin-bottom: 9px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.concept-media__main { width: 60%; margin: 0 auto 20px !important; }
.concept-media__subgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.concept-media__button { display: block; width: 100%; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: zoom-in; }
.concept-media__button img { display: block; width: 100%; height: auto; transition: transform 220ms ease; }
.concept-media__button:hover img { transform: scale(1.015); }
.concept-media__button:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card-grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card, .service-card { min-width: 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.product-card h3 { margin-top: 28px; font-size: 1.13rem; }
.product-card p, .service-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: .91rem; }
.status { display: inline-flex; padding: 4px 9px; border-radius: 100px; font-size: .68rem; font-weight: 700; }
.status--pending { color: #59645e; background: #e9edea; }
.status-note { margin: 24px 0 0; color: var(--muted); font-size: .78rem; }
.service-card { min-height: 240px; }
.service-card h3 { margin-top: 34px; }
.card-index { color: var(--accent); font-size: .75rem; font-weight: 700; }

.philosophy { color: #fff; background: var(--dark); }
.philosophy__lead { max-width: 860px; margin: 0 auto 56px; text-align: center; }
.philosophy__lead .quote { margin-bottom: 18px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(1.35rem, 3vw, 2.15rem); line-height: 1.7; }
.philosophy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #415049; border-bottom: 1px solid #415049; }
.philosophy-grid article { padding: 38px 32px; }
.philosophy-grid article + article { border-left: 1px solid #415049; }
.philosophy-grid .card-label { color: #90c3aa; }
.philosophy-grid h3 { margin-bottom: 0; font-size: 1.12rem; }
.philosophy-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.philosophy-summary div { padding: 24px 28px; background: #20342b; }
.philosophy-summary small { color: #9cafa6; }
.philosophy-summary p { margin: 6px 0 0; font-size: 1.05rem; font-weight: 700; }
.motto { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin: 40px 0 0; padding: 0; list-style: none; font-size: .9rem; }
.philosophy-detail { margin-top: 42px; text-align: center; }
.philosophy-detail-link { display: inline-flex; align-items: center; gap: 18px; min-width: 280px; justify-content: center; padding: 15px 24px; color: #fff; border: 1px solid #90c3aa; border-radius: 4px; font-weight: 700; text-decoration: none; transition: color 180ms ease, background 180ms ease; }
.philosophy-detail-link:hover { color: var(--dark); background: #90c3aa; }
.philosophy-detail-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.flow-list { margin: 0; padding: 0; list-style: none; }
.flow-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; min-width: 0; padding: 15px 0; border-bottom: 1px solid var(--line); }
.flow-list span { color: var(--accent); font-size: .74rem; font-weight: 700; }
.flow-list p { margin: 0; font-weight: 600; }

.contact-section { background: var(--accent-soft); }
.contact-box { max-width: 820px; text-align: center; }
.contact-box > p:not(.eyebrow) { max-width: 650px; margin: 22px auto 30px; }
.contact-placeholder { padding: 18px 24px; color: var(--muted); background: rgba(255,255,255,.7); border: 1px dashed #8ea899; border-radius: 6px; font-size: .9rem; }
.footer { padding: 34px 0; color: #d4ddd8; background: #101914; }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer p { margin: 0; font-weight: 700; }
.footer small { color: #819088; }

@media (max-width: 900px) {
  .card-grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: auto; }
  .hero__layout { grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr); gap: 44px; }
  .personal-list { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .container { width: min(calc(100% - 36px), var(--max-width)); }
  .section { padding: 76px 0; }
  .section-heading { gap: 16px; margin-bottom: 38px; }
  .section-intro { margin: -8px 0 34px; }
  .desktop-only { display: none; }
  .hero { padding: 70px 0 62px; }
  .hero__layout { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { min-width: 0; }
  .hero__lead { font-size: 1rem; }
  .hero__meta { display: grid; gap: 5px; }
  .hero__meta span + span::before { display: none; }
  .photo-placeholder--hero { width: min(82%, 340px); margin-inline: auto; }
  .profile-photo--hero { width: min(82%, 340px); margin-inline: auto; }
  .about-grid, .split-intro, .concept-grid, .partner-layout { grid-template-columns: 1fr; }
  .concept-media__subgrid { grid-template-columns: 1fr; }
  .work-showcase { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .about-photo-collage { display: grid; width: min(84%, 360px); margin-inline: auto; padding: 0; gap: 14px; }
  .about-photo--sub { width: 100%; justify-self: auto; }
  .personal-list article { grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
  .personal-list__family { grid-template-columns: 60px minmax(0, 1fr) !important; }
  .image-lightbox { padding: 16px; }
  .photo-placeholder--sub { width: min(80%, 300px); margin-inline: auto; }
  .about-grid { gap: 42px; }
  .card-grid, .card-grid--products { grid-template-columns: 1fr; }
  .feature-card { min-height: 280px; }
  .philosophy-grid, .philosophy-summary { grid-template-columns: 1fr; }
  .philosophy-grid article + article { border-top: 1px solid #415049; border-left: 0; }
  .motto { display: grid; justify-content: start; gap: 8px; padding-left: 18px; list-style: disc; }
  .footer .container { display: block; text-align: center; }
  .footer small { display: block; margin-top: 3px; }
  .work-showcase { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  h1 { font-size: 2.25rem; }
  .product-card, .service-card, .feature-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-title.is-prepared .hero-title__char {
    opacity: 1;
    transform: none;
  }
  .reveal.is-reveal-prepared,
  .reveal.is-reveal-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .image-lightbox { transition: none; }
}
