@charset "UTF-8";
/* ==========================================================================
   KANAME CONSTRUCTION — Sub pages common  (style.css の後、各ページCSSの前に読み込む)
   --------------------------------------------------------------------------
   01. Page hero / Breadcrumb / Drawing index
   02. Data table (ptable) / Segmented tabs / Image note
   03. Next contents / Contact
   04. Responsive
   ========================================================================== */

/* ---------- 01. Page hero ---------- */
.phero { position: relative; padding: clamp(120px, 14vh, 168px) 0 var(--section-space); overflow: hidden; }
.phero::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 78%; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(18, 105, 207, .07) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(18, 105, 207, .07) 0 1px, transparent 1px 48px);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.crumb { display: flex; flex-wrap: wrap; gap: 0 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.crumb li + li::before { content: "/"; margin-right: 10px; color: var(--red); }
.crumb a { border-bottom: 1px solid var(--line); transition: border-color .4s; }
.crumb a:hover { border-color: currentColor; }
.crumb [aria-current] { opacity: .6; }

.phero__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px 7vw; align-items: end; margin-top: clamp(36px, 5vw, 64px); }
.phero__title { margin-top: 28px; font-family: var(--f-serif); font-weight: 600; font-size: clamp(34px, 4.4vw, 72px); line-height: 1.4; letter-spacing: .04em; }
.phero__title .mask > span { transition-delay: calc(var(--i, 0) * .12s + .2s); }
body.is-loaded .phero__title .mask > span { transform: none; }
@media (min-width: 961px) { .phero__title .mask > span { white-space: nowrap; } }
.phero__lead { font-size: 14px; line-height: 2.25; color: #40516a; max-width: 34em; }

.phero__visual { position: relative; margin-top: clamp(40px, 5.6vw, 80px); height: clamp(320px, 58vh, 640px); border-radius: 14px; overflow: hidden; isolation: isolate;
  clip-path: inset(18% 8% 18% 8% round 14px); transition: clip-path 1.6s var(--ease-io) .25s; }
body.is-loaded .phero__visual { clip-path: inset(0 0 0 0 round 14px); }
.phero__img { position: absolute; inset: -10% 0; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 2.4s var(--ease) .25s; }
body.is-loaded .phero__img img { transform: scale(1); }
.phero__visual::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 30, 54, .55), transparent 55%), linear-gradient(90deg, rgba(10, 30, 54, .25), transparent 50%); }
.phero__guides { position: absolute; inset: 22px; z-index: 2; color: var(--white); pointer-events: none; }
.phero__coord { position: absolute; right: 0; top: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; opacity: .85; }
.phero__word { position: absolute; left: clamp(16px, 3vw, 40px); bottom: -.16em; z-index: 2; overflow: hidden;
  font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: clamp(72px, 15vw, 240px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: var(--white); }
.phero__word span { display: block; transform: translateY(105%); transition: transform 1.4s var(--ease) .75s; }
body.is-loaded .phero__word span { transform: none; }
.phero__cap { position: absolute; right: 22px; bottom: 18px; z-index: 2; color: var(--white); font-family: var(--f-mono); font-size: 11px; opacity: .85; }

/* drawing index (title-block style) */
.sheet { margin-top: clamp(28px, 3.4vw, 48px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.sheet__head { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line); background: var(--blue-pale);
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.sheet__head span:last-child { font-family: var(--f-sans); text-transform: none; opacity: .65; }
.sheet__list { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.sheet__list li { box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.sheet__list a { position: relative; display: grid; grid-template-columns: 1fr 20px; grid-template-areas: "no ic" "en en" "ja ja"; gap: 0 8px; height: 100%; padding: 18px 22px 20px; isolation: isolate; transition: color .5s var(--ease); }
.sheet__list a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blue); clip-path: inset(100% 0 0 0); transition: clip-path .6s var(--ease); }
.sheet__list a:hover { color: var(--white); }
.sheet__list a:hover::before { clip-path: inset(0); }
.sheet__no { grid-area: no; font-family: var(--f-mono); font-size: 11px; color: var(--red); transition: color .4s; }
.sheet__list a:hover .sheet__no { color: var(--red-l); }
.sheet__en { grid-area: en; margin-top: 14px; font-family: var(--f-en); font-stretch: 125%; font-weight: 800; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.2; text-transform: uppercase; letter-spacing: -.005em; }
.sheet__ja { grid-area: ja; font-size: 12px; opacity: .7; }
.sheet__list svg { grid-area: ic; width: 18px; height: 18px; transform: rotate(90deg); transition: transform .6s var(--ease); }
.sheet__list a:hover svg { transform: rotate(90deg) translateX(4px); }


/* ---------- 02. Data table / Segmented tabs ---------- */
.ptable { border-top: 1px solid var(--line-strong); }
.ptable > div { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ptable dt { display: flex; flex-direction: column; line-height: 1.5; }
.ptable dt span { font-size: 14px; font-weight: 700; }
.ptable dt em { font-style: normal; font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; opacity: .5; }
.ptable dd { font-size: 14px; line-height: 1.95; }
.ptable dd small { display: block; font-family: var(--f-mono); font-size: 11px; opacity: .55; }
.ptable__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ptable__tags li { padding: 2px 12px; border: 1px solid var(--blue); border-radius: 999px; color: var(--blue); font-size: 12px; line-height: 1.8; }
.ptable__note { margin-top: 4px; font-size: 12px; opacity: .65; }

.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.seg button { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 8px; font-size: 13px; font-weight: 500; transition: background-color .4s, color .4s; }
.seg button:hover { background: var(--blue-pale); }
.seg button[aria-selected="true"] { background: var(--blue); color: var(--white); }
.seg button small { font-family: var(--f-mono); font-size: 10px; opacity: .6; }

.img-note { margin-top: 14px; color: #42566d; font-size: 12px; }

/* ---------- 03. Next / Contact ---------- */
.next { padding: var(--section-space) 0 var(--section-join); }
.next__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 36px); margin-top: clamp(28px, 3.4vw, 48px); }
.next__img { aspect-ratio: 4 / 3; border-radius: 12px; }
.next__meta { display: flex; justify-content: space-between; margin: 16px 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }
.next__ttl { display: inline; font-family: var(--f-serif); font-weight: 600; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.5;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .8s var(--ease); }
.next a:hover .next__ttl { background-size: 100% 1px; }
.next__txt { margin-top: 8px; font-size: 13px; opacity: .7; }

.contact--sub { padding: var(--section-join) 0 var(--section-space); background: none; }
.contact--sub .cta { margin-top: 0; }
.contact--sub .cta__title span { display: inline-block; }

/* ---------- 04. Responsive ---------- */
@media (max-width: 1180px) {
  .sheet__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .phero { padding-top: 104px; }
  .phero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .phero__title { font-size: 7.4vw; }
  .phero__visual { height: 62vw; min-height: 240px; }
  .phero__coord, .phero__cap { display: none; }
  .sheet__list { grid-template-columns: 1fr; }
  .sheet__list a { grid-template-columns: 44px 1fr 18px; grid-template-areas: "no en ic" "no ja ic"; padding: 14px 18px; align-items: center; }
  .sheet__en { margin-top: 0; font-size: 16px; }
  .ptable > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .seg { display: flex; }
  .seg button { flex: 1 1 auto; justify-content: center; padding: 0 12px; height: 38px; font-size: 12px; }
  .next__list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .phero__visual { clip-path: none; }
}

/* ---------- 05. Modal (works detail / interview) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.is-modal-open { overflow: hidden; }
.modal { width: min(1120px, calc(100% - 40px)); max-width: none; max-height: calc(100svh - 64px); margin: auto; padding: 0; border: 0; border-radius: 18px; background: var(--white); color: var(--black); overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(8, 28, 57, .5); }
.modal::backdrop { background: rgba(10, 30, 54, .62); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .7s var(--ease); }
.modal[open]::backdrop { animation: fadeIn .5s var(--ease); }
.modal.is-closing { animation: modalOut .35s var(--ease) forwards; }
.modal.is-closing::backdrop { animation: fadeOut .35s var(--ease) forwards; }
@keyframes modalIn { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes modalOut { to { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.modal__inner { max-height: calc(100svh - 64px); overflow-y: auto; overscroll-behavior: contain; }
.modal__close { position: absolute; right: 16px; top: 16px; z-index: 3; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--navy); box-shadow: 0 6px 18px rgba(8, 28, 57, .22); transition: background-color .4s, color .4s, rotate .6s var(--ease); }
.modal__close:hover { background: var(--red); color: var(--white); rotate: 90deg; }
.modal__close span { position: absolute; left: 50%; top: 50%; width: 18px; height: 1.5px; margin: -.75px 0 0 -9px; background: currentColor; rotate: 45deg; }
.modal__close span + span { rotate: -45deg; }
@media (max-width: 640px) {
  .modal { width: calc(100% - 20px); max-height: calc(100svh - 20px); border-radius: 14px; }
  .modal__inner { max-height: calc(100svh - 20px); }
  .modal__close { right: 10px; top: 10px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .modal[open], .modal.is-closing, .modal::backdrop { animation: none !important; }
}

/* ---------- 06. Map embed (Google Maps iframe) ---------- */
.mapframe { position: relative; overflow: hidden; border-radius: 12px; background: var(--blue-pale)
  repeating-linear-gradient(90deg, rgba(18, 105, 207, .08) 0 1px, transparent 1px 24px), var(--blue-pale); isolation: isolate; }
.mapframe::before { content: "Loading map…"; position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; font-family: var(--f-mono); font-size: 11px; opacity: .5; }
.mapframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); transition: opacity .5s; }
.mapframe.is-loading iframe { opacity: .2; }
.mapframe__pin { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 8px; border-radius: 999px; background: var(--white); box-shadow: 0 6px 16px rgba(8, 28, 57, .18);
  font-size: 12px; font-weight: 700; pointer-events: none; }
.mapframe__pin svg { width: 16px; height: 16px; color: var(--red); }
.map-note { margin-top: 8px; font-size: 11px; color: #42566d; }

/* ---------- 07. Document (privacy / terms) ---------- */
.doc { padding: 0 0 var(--section-space); }
.doc__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.doc__toc { position: sticky; top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.doc__toc p { padding-bottom: 10px; border-bottom: 1px solid var(--line-strong); font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; }
.doc__toc li a { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.6; transition: color .3s, padding .4s var(--ease); }
.doc__toc li a span { font-family: var(--f-mono); font-size: 11px; color: var(--red); padding-top: 2px; }
.doc__toc li a:hover { color: var(--blue); padding-left: 6px; }
.doc__body { max-width: 820px; }
.doc__body > section { scroll-margin-top: 24px; }
.doc__body > section + section { margin-top: clamp(56px, 6vw, 88px); }
.doc__h2 { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); font-family: var(--f-serif); font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.5; }
.doc__h2 span { font-family: var(--f-mono); font-weight: 400; font-size: 12px; color: var(--red); }
.doc__lead { margin-top: 20px; font-size: 14.5px; line-height: 2.2; }
.doc__item { margin-top: 32px; }
.doc__item h3 { font-size: 16px; font-weight: 700; line-height: 1.6; }
.doc__item h3 b { margin-right: 10px; color: var(--blue); font-family: var(--f-en); font-stretch: 125%; font-weight: 800; }
.doc__item p, .doc__item li { margin-top: 8px; font-size: 14px; line-height: 2.05; opacity: .85; }
.doc__item ul { margin-top: 6px; padding-left: 0; }
.doc__item li { position: relative; margin-top: 2px; padding-left: 1.2em; }
.doc__item li::before { content: "・"; position: absolute; left: 0; }
.doc__contact { margin-top: 20px; padding: 20px 24px; border-radius: 12px; background: var(--blue-pale); font-size: 14px; line-height: 2; }
.doc__date { margin-top: 40px; text-align: right; font-size: 13px; line-height: 1.9; opacity: .7; }
@media (max-width: 960px) {
  .doc__grid { grid-template-columns: 1fr; }
  .doc__toc { position: static; }
}
