:root {
  color-scheme: light;
  --navy: #1a2340;
  --cyan: #00a7b5;
  --link: #008a99;
  --muted: #657487;
  --line: #dce2e8;
  --page-gutter: 56px;
  --feature-gap: 56px;
  font-family: Meiryo, "Yu Gothic", sans-serif;
  color: var(--navy);
  background: #fff;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { display: flex; flex-direction: column; min-height: 100svh; margin: 0; border-top: 4px solid var(--cyan); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; }
svg { flex: 0 0 auto; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 6px; }
::selection { background: #c5edf0; }
.page-width { width: calc(100% - var(--page-gutter) * 2); max-width: 1600px; margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px 16px; background: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 98px; gap: 32px; padding-block: 18px; }
.header-brand, .footer-brand { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; }
.header-brand img { display: block; width: 294px; height: auto; }
.site-top-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; font-size: 14px; line-height: 1.7; text-decoration: none; white-space: nowrap; color: var(--link); }
.site-top-link svg { width: 22px; height: 22px; color: var(--cyan); }
.site-top-link:hover span { text-decoration: underline; }

.showcase-main { flex: 1 0 auto; padding-block: 64px 84px; }
.showcase-intro h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: 64px; font-weight: 500; line-height: 1.35; letter-spacing: .08em; }
.showcase-intro > p { margin: 18px 0 0; font-size: 22px; line-height: 1.8; letter-spacing: .045em; }
.works-section { margin-top: 60px; }
.work-count { display: flex; align-items: center; gap: 18px; min-height: 44px; }
.work-count h2 { flex: 0 0 auto; margin: 0; font-size: 16px; font-weight: 400; line-height: 1.8; }
.work-count-number { flex: 0 0 auto; font-family: Georgia, "Times New Roman", serif; font-size: 34px; line-height: 1.2; font-variant-numeric: lining-nums tabular-nums; }
.work-count-rule { height: 1px; flex: 1 1 auto; margin-left: 2px; background: var(--line); }
.works { display: grid; gap: 68px; margin-top: 38px; }
.work { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); column-gap: var(--feature-gap); min-width: 0; }
.work-link { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); align-items: stretch; gap: var(--feature-gap); text-decoration: none; }
.work-visual { display: grid; grid-template-columns: repeat(var(--image-count, 4), minmax(0, 1fr)); align-self: start; gap: 1px; aspect-ratio: 2.4 / 1; min-width: 0; overflow: hidden; }
.work-visual > img { display: block; width: 100%; height: 100%; min-width: 0; object-fit: cover; }
.work-copy { display: flex; flex-direction: column; min-width: 0; padding-block: 4px 8px; }
.work-title { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif; font-size: clamp(32px, 3vw, 44px); font-weight: 500; line-height: 1.55; letter-spacing: .045em; }
.work-title > span { display: block; }
.work-place { margin: 20px 0 0; font-size: 18px; line-height: 1.8; letter-spacing: .035em; color: var(--muted); }
.work-description { margin: 20px 0 28px; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.work-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; margin-top: auto; padding-bottom: 5px; border-bottom: 1px solid var(--cyan); font-size: 18px; line-height: 1.6; color: var(--link); }
.work-cta svg { width: 24px; height: 24px; color: var(--cyan); }
.work-link:hover .work-cta { color: var(--navy); border-bottom-color: var(--navy); }
.work-credit { grid-column: 1; margin: 14px 0 0; font-size: 12px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.work-credit a { display: inline; text-decoration-thickness: 1px; }
.work-credit a:hover { color: var(--link); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 110px; gap: 32px; padding-block: 24px; }
.footer-identity { display: flex; align-items: center; min-width: 0; gap: 30px; }
.footer-brand img { display: block; width: 234px; height: auto; }
.footer-caption { display: flex; align-items: center; min-height: 32px; padding-left: 30px; border-left: 1px solid var(--line); font-size: 13px; line-height: 1.8; color: var(--muted); }
.footer-top-link { font-size: 13px; color: var(--muted); }

@media (max-width: 1200px) {
  :root { --page-gutter: 40px; --feature-gap: 36px; }
  .header-brand img { width: 252px; }
  .showcase-intro h1 { font-size: 56px; }
  .showcase-intro > p { font-size: 20px; }
  .work-place { font-size: 15px; }
  .work-description { font-size: 15px; }
  .work-cta { font-size: 16px; }
}

@media (max-width: 1000px) {
  .showcase-main { padding-block: 52px 64px; }
  .showcase-intro h1 { font-size: 48px; }
  .showcase-intro > p { font-size: 18px; }
  .works-section { margin-top: 44px; }
  .works { margin-top: 30px; gap: 56px; }
  .work { display: block; }
  .work-link { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .work-copy { padding: 0; }
  .work-title { font-size: 40px; line-height: 1.5; }
  .work-place { margin-top: 16px; font-size: 17px; }
  .work-description { max-width: 680px; margin-block: 18px 22px; font-size: 16px; }
  .work-cta { max-width: 420px; font-size: 17px; }
  .work-credit { margin-top: 16px; }
  .footer-identity { gap: 22px; }
  .footer-brand img { width: 190px; }
  .footer-caption { padding-left: 22px; font-size: 11px; }
}

@media (max-width: 600px) {
  :root { --page-gutter: 24px; }
  .header-inner { min-height: 78px; gap: 16px; padding-block: 14px; }
  .header-brand img { width: 148px; }
  .site-top-link { gap: 10px; font-size: 11px; }
  .site-top-link svg { width: 18px; height: 18px; }
  .showcase-main { padding-block: 38px 48px; }
  .showcase-intro h1 { font-size: 40px; line-height: 1.45; letter-spacing: .06em; }
  .showcase-intro > p { margin-top: 18px; font-size: 16px; line-height: 1.9; letter-spacing: .025em; }
  .works-section { margin-top: 32px; }
  .work-count { gap: 12px; min-height: 36px; }
  .work-count h2 { font-size: 12px; }
  .work-count-number { font-size: 28px; }
  .works { margin-top: 24px; gap: 44px; }
  .work-link { gap: 24px; }
  .work-title { font-size: 34px; line-height: 1.5; letter-spacing: .025em; }
  .work-place { margin-top: 14px; font-size: 14px; }
  .work-description { margin-block: 16px 18px; font-size: 15px; line-height: 1.9; }
  .work-cta { max-width: none; font-size: 16px; }
  .work-credit { font-size: 11px; line-height: 1.9; }
  .footer-inner { flex-wrap: wrap; gap: 12px 24px; padding-block: 22px; }
  .footer-identity { flex-wrap: wrap; gap: 10px 18px; }
  .footer-brand img { width: 168px; }
  .footer-caption { min-height: 26px; padding-left: 18px; font-size: 10px; }
  .footer-top-link { font-size: 11px; }
}

@media (max-width: 360px) {
  :root { --page-gutter: 16px; }
  .showcase-intro h1 { font-size: 36px; }
  .work-title { font-size: 32px; }
  .footer-identity { gap: 8px 14px; }
  .footer-brand img { width: 148px; }
  .footer-caption { padding-left: 14px; }
}
