:root {
  --ink: #101c2d;
  --blue: #1548d4;
  --line: #d9dee5;
  --paper: #fff;
  --muted: #4e5c6b;
  --gutter: clamp(20px, 4.2vw, 72px);
  --font-body: Freesentation, "Malgun Gothic", system-ui, sans-serif;
  --font-en: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.55; word-break: keep-all; overflow-wrap: break-word; }
button, summary, input { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #db6c0f; outline-offset: 3px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.ep-type-label { display:block; font:600 clamp(1rem,1.3vw,1.25rem)/1.15 var(--font-en); letter-spacing:.07em; text-transform:uppercase; }
.ep-wrap { width: 100%; max-width: 1616px; margin-inline: auto; padding-inline: var(--gutter); }
.ep-visually-hidden, .ep-skip:not(:focus) { position:absolute; width:1px; height:1px; padding:0; clip-path:inset(50%); overflow:hidden; white-space:nowrap; }
.ep-skip:focus { position:fixed; top:8px; left:8px; z-index:99; padding:8px 16px; background:white; }
.ep-head { position:relative; z-index:4; border-bottom:1px solid #25334b; background:#080d16; color:#f3f6ff; }
.ep-head-inner, .ep-foot-inner, .ep-foot-links, .ep-nav, .ep-brand, .ep-library-title { display:flex; align-items:center; }
.ep-head-inner { height:72px; gap:clamp(24px,3.4vw,54px); }
.ep-brand { display:inline-flex; gap:9px; width:max-content; font-size:1.66rem; font-weight:800; line-height:1; letter-spacing:-.054em; white-space:nowrap; }
.ep-brand b { font-weight:600; }
.ep-brand img { width:34px; height:auto; filter:brightness(0) invert(1); }
.ep-nav { margin-left:auto; gap:clamp(22px,3vw,46px); height:100%; font-weight:600; }
.ep-nav a { display:flex; flex-direction:column; justify-content:center; align-items:flex-start; gap:2px; height:100%; border-bottom:2px solid transparent; padding-top:2px; line-height:1.15; }
.ep-nav-en, .ep-mobile-nav summary span[lang=en] { font:600 1rem/1 var(--font-en); letter-spacing:.025em; }
.ep-nav a .ep-nav-en, .ep-mobile-nav nav .ep-nav-en { color:#acc6f1; }
.ep-nav a:hover, .ep-nav a[aria-current] { color:white; border-color:#648fff; }
.ep-nav-contact { position:relative; z-index:0; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; white-space:nowrap; color:#fff; min-height:44px; padding:10px 24px; font-weight:700; line-height:1.45; }
.ep-nav-contact::before { content:""; position:absolute; inset:0; z-index:-1; background:#214ed2; clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px); }
.ep-nav-contact:hover::before { background:#2958df; }
.ep-nav-contact { gap:8px; }
.ep-nav-contact .ep-nav-en { color:#edf3ff; }
.ep-mobile-nav { display:none; }
.ep-inline-link { display:inline-block; width:fit-content; font-weight:700; color:var(--blue); line-height:1.45; padding:4px 0; border-bottom:1px solid currentColor; }
.ep-inline-link:hover { color:#0a339e; }

.ep-library-title, .ep-foot-inner { justify-content:space-between; gap:20px; }

.ep-library h1, .ep-library-title h2, .ep-contact-band h2 {
  font-weight:800; line-height:1.04; letter-spacing:-.05em;
}

.ep-project-photo img { width:100%; height:100%; object-fit:cover; transition:transform .48s cubic-bezier(.16,.72,.3,1); }

.ep-library { padding-block:clamp(64px,6.7vw,108px); }
.ep-library-title h2, .ep-contact-band h2 { font-size:clamp(2.2rem,3.7vw,3.9rem); }
.ep-library h1 { font-size:clamp(3rem,5.4vw,5.5rem); }
.ep-filters { display:flex; gap:8px; flex-wrap:wrap; margin:24px 0 30px; }
.ep-filters button { background:#fff; border:1px solid #bfCAD7; border-radius:24px; padding:7px 17px; min-height:40px; font-size:1rem; line-height:1.35; font-weight:600; }
.ep-filters button[aria-pressed=true] { color:#fff; border-color:var(--blue); background:var(--blue); }
.ep-filters button:hover { border-color:var(--blue); }
.ep-project-grid { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:clamp(26px,3.2vw,52px) clamp(14px,1.55vw,26px); }
.ep-project { grid-column:span 4; min-width:0; }
.ep-project:nth-child(-n+2) { grid-column:span 6; }
.ep-project:nth-child(n+3) { grid-column:span 3; }
.ep-project-grid[data-short-list] .ep-project { grid-column:span 6; }
.ep-project[hidden] { display:none; }
.ep-project a { display:block; }
.ep-project-photo { width:100%; aspect-ratio:1.61; overflow:hidden; background:#e5eaf1; }
.ep-project:nth-child(-n+2) .ep-project-photo { aspect-ratio:1.95; }
.ep-project-grid[data-short-list] .ep-project-photo { aspect-ratio:1.95; }
.ep-project-meta { display:flex; align-items:flex-start; flex-direction:column; gap:3px; padding-top:12px; }
.ep-library .ep-project-title { font-size:clamp(1.21rem,1.55vw,1.67rem); font-weight:700; line-height:1.28; letter-spacing:-.03em; }
.ep-project:nth-child(-n+2) .ep-project-title, .ep-project-grid[data-short-list] .ep-project-title { font-size:clamp(1.35rem,1.88vw,2rem); }
.ep-project-kind { color:var(--muted); font-size:.95rem; font-weight:600; }
.ep-project a:hover .ep-project-title, .ep-project a:focus-visible .ep-project-title { color:var(--blue); }

.ep-contact-band { padding-block:clamp(54px,6.7vw,108px); background:#f0f4fb; color:#0d1a31; border-top:1px solid #cad5e7; }
.ep-inquiry-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.04fr); gap:clamp(28px,6vw,100px); }
.ep-inquiry-heading h2 { font-size:clamp(2.6rem,4.3vw,4.75rem); }
.ep-inquiry-heading .ep-type-label { color:#2a4c91; margin-bottom:9px; }
.ep-inquiry-heading p { color:#42536c; margin-top:17px; line-height:1.6; }
.ep-inquiry-heading .ep-inquiry-en { margin-top:6px; font-size:1rem; line-height:1.5; color:#465d7b; }
.ep-inquiry-info { display:flex; flex-wrap:wrap; gap:0 22px; margin-top:20px; }
.ep-inquiry-info a { display:inline-flex; align-items:center; min-height:44px; font-weight:650; color:#2148a5; text-decoration:underline; text-underline-offset:.3em; }
.ep-inquiry-channels { margin:0; border-top:2px solid #234cae; }
.ep-inquiry-channels div { display:grid; grid-template-columns:clamp(58px,6vw,96px) minmax(0,1fr); align-items:center; gap:12px; border-bottom:1px solid #c4cfdf; }
.ep-inquiry-channels dt { font-size:.96rem; font-weight:600; color:#435573; }
.ep-inquiry-channels dd { margin:0; }
.ep-inquiry-channels a { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:56px; padding-block:9px; font-size:clamp(1.18rem,2.25vw,2.35rem); font-weight:700; letter-spacing:-.035em; }
.ep-inquiry-channels a:hover { color:#1548bf; }
.ep-foot { color:#ecf1ff; border-top:1px solid #2f3c51; background:#080d16; }
.ep-foot-inner { padding-block:32px; }
.ep-foot .ep-brand { font-size:1.35rem; }
.ep-foot .ep-brand img { width:26px; }
.ep-foot p { font-size:.92rem; color:#a8b5cc; margin-top:7px; }
.ep-foot-links { gap:clamp(14px,2.1vw,35px); flex-wrap:wrap; }
.ep-foot-links a:hover, .ep-mobile-nav nav a:hover { text-decoration:underline; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .ep-project a:hover img { transform:scale(1.033); }
}
@media (max-width:960px) {
  .ep-project:nth-child(n) { grid-column:span 6; }
  .ep-project:nth-child(n) .ep-project-photo { aspect-ratio:1.78; }
  .ep-project:nth-child(n) .ep-project-title { font-size:1.36rem; }

}
@media (max-width:760px) {
  .ep-head-inner { height:66px; gap:20px; }
  .ep-nav { gap:18px; }
  .ep-foot-inner { align-items:flex-start; flex-direction:column; }
  .ep-inquiry-layout { grid-template-columns:1fr; gap:26px; }
  .ep-inquiry-info { margin-top:8px; }
}
@media (max-width:640px) {
  .ep-head-inner { height:62px; gap:14px; }
  .ep-brand { font-size:1.4rem; gap:7px; }
  .ep-brand img { width:28px; }
  .ep-nav { display:none; }
  .ep-nav-contact { margin-left:auto; padding:8px 17px; font-size:.95rem; min-height:44px; }
  .ep-mobile-nav { display:block; order:2; }
  .ep-mobile-nav summary { display:flex; align-items:center; gap:7px; list-style:none; font-weight:700; padding:8px 0; min-height:44px; }
  .ep-mobile-nav summary::-webkit-details-marker { display:none; }
  .ep-mobile-nav summary::before { content:""; width:14px; height:9px; border-block:2px solid currentColor; }
  .ep-mobile-nav nav { position:absolute; left:0; right:0; top:100%; display:grid; padding:8px var(--gutter) 16px; background:#0c1524; border-bottom:1px solid #334566; box-shadow:0 8px 16px #07132e33; }
  .ep-mobile-nav nav a { padding:10px 2px; min-height:44px; display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .ep-mobile-nav nav a[aria-current] { color:#a7c1ff; font-weight:700; }
  .ep-library { padding-block:48px; }
  .ep-library-title { gap:12px; align-items:baseline; }
  .ep-library-title a { font-size:.95rem; }
  .ep-filters { gap:6px; margin:17px 0 21px; }
  .ep-filters button { padding:6px 12px; font-size:.94rem; min-height:44px; }
  .ep-project-grid { column-gap:12px; }
  .ep-foot-links { gap:8px 16px; font-size:.94rem; }
}
@media (max-width:480px) {
  .ep-project:nth-child(n), .ep-project-grid[data-short-list] .ep-project { grid-column:span 12; }
  .ep-project-meta { padding-top:9px; }
  .ep-foot-inner { padding-block:25px; }
}
@media (max-width:350px) {
  .ep-head-inner { gap:10px; padding-inline:14px; }
  .ep-nav-contact { padding-inline:12px; gap:4px; }
  .ep-nav-contact .ep-nav-en { display:none; }
}

@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior:auto!important; transition-duration:0s!important; animation-duration:0s!important; animation-delay:0s!important; }
}
