@charset "utf-8";
/* ===== 共用動畫 ===== */
.js-fadein { opacity: 0; }
.js-fadein.is-active { animation: anm-fade-up .5s ease-in-out forwards; }
@keyframes anm-fade-up { 0% { opacity: 0; transform: translateY(16px); } 100% { opacity: 1; transform: translateY(0); } }
.js-slide-in { overflow: hidden; transform: translate(-100%, 0); transition: transform cubic-bezier(.215, .61, .355, 1) .5s; }
.js-slide-in > * { display: block; transform: translate(100%, 0); transition: transform cubic-bezier(.215, .61, .355, 1) .5s; }
.js-slide-in.is-active, .js-slide-in.is-active > * { transform: translate(0, 0); }
.catch-copy .js-slide-in, .catch-copy .js-slide-in > * { transition-duration: 1s; }
@media (prefers-reduced-motion: reduce) {
  .js-fadein { opacity: 1; animation: none !important; }
  .js-slide-in, .js-slide-in > * { transform: none !important; transition: none; }
}

/* ===== 圓形箭頭連結（link-detail ▶／link-external ↗） ===== */
.link-detail, .link-external { display: inline-flex; align-items: center; }
.link-detail span, .link-external span { display: inline-block; position: relative; transition: .3s; }
.link-detail span::before, .link-external span::before {
  content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--c-key);
  transform: scale(0, 1); transform-origin: left top; transition: .3s;
}
.link-detail i, .link-external i {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 56px; height: 56px; margin: 0 0 0 24px; border: 1px solid var(--c-line2); border-radius: 100%;
  background: var(--c-pale);
}
.link-detail i::before, .link-external i::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 100%;
  background: var(--c-ink); transform: translate(-50%, -50%); transition: .3s;
}
.link-detail i::after {
  content: ""; position: relative; width: 0; height: 0; border-style: solid; border-width: 3px 0 3px 9px;
  border-color: transparent transparent transparent var(--c-ink); z-index: 10; transition: .3s;
}
.link-external i::after {
  content: ""; position: relative; width: 9px; height: 9px; z-index: 10; transition: .3s;
  background: no-repeat center/9px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 9'%3E%3Cpath d='M1 8 8 1M3 1h5v5' fill='none' stroke='%23171717'/%3E%3C/svg%3E");
}
.link-detail:hover span, .link-external:hover span { color: var(--c-key); }
.link-detail:hover span::before, .link-external:hover span::before { transform: scale(1, 1); }
.link-detail:hover i::before, .link-external:hover i::before { width: 56px; height: 56px; }
.link-detail:hover i::after, .link-external:hover i::after { filter: brightness(0) invert(1); }

/* ===== 共用標題列 ===== */
.ttl { max-width: var(--w-content); line-height: 1; margin: 0 auto 32px; font-size: 40px; }
.row { display: flex; justify-content: space-between; align-items: center; max-width: var(--w-content); margin: 0 auto; }
.txt-01 { margin: 0 0 8px; }
.txt-02 { color: var(--c-ink); }

/* ===== catch-copy ===== */
.catch-copy { margin: 0 0 160px; padding: 80px 0 0; transform: translateX(-40px); transition: 1s ease-in-out; }
.catch-copy.is-active { transform: translateX(0); }
.ttl-01 { margin: 0 0 24px; color: var(--c-gray); }
.ttl-02 { line-height: 1; margin: 0 0 16px; font-size: 56px; font-weight: 200; }
.catch-copy .txt { max-width: 760px; }
.catch-copy .txt strong { font-weight: 500; }
.catch-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.catch-tags li { line-height: 18px; padding: 4px 16px; border-radius: 50px; color: var(--c-white); font-size: 12px; background: var(--c-dark); }
.catch-tags li.is-key { background: var(--c-key); }

/* ===== works（全寬橫向輪播） ===== */
.works { margin: 0 0 192px; }
.works-track {
  display: flex; gap: 80px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 calc((100vw - 1100px) / 2) 0 calc((100vw - 1100px) / 2 + 24px); margin: 0 0 80px;
}
.works-track::-webkit-scrollbar { display: none; }
.works-slide { flex: 0 0 min(820px, 76vw); scroll-snap-align: center; }
.works-slide a { display: block; }
.works-img { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--c-pale); }
.works-img img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.works-img::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0); z-index: 1; transition: .3s; }
.works-slide a:hover .works-img::before { background: rgba(0, 0, 0, .3); }
.works-slide a:hover .works-img img { transform: scale(1.05); }
.works-data { position: relative; z-index: 2; margin: -56px 0 0 -24px; }
.works-cat { color: var(--c-gray); }
.works-ttl { position: relative; margin: 0 0 16px; font-size: 40px; line-height: 1.2; }
.works-ttl span { display: inline-block; position: relative; background: var(--c-white); padding: 0 24px 0 0; }
.works-ttl span::before {
  content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: var(--c-ink);
  transform: scale(0, 1); transform-origin: left top; transition: .3s;
}
.works-slide a:hover .works-ttl span::before { transform: scale(1, 1); }
.works-txt { position: relative; margin: 0 0 0 -24px; font-size: 12px; }
.works-nav { display: flex; gap: 16px; justify-content: flex-end; max-width: var(--w-content); margin: -40px auto 48px; }
.works-nav button {
  position: relative; width: 56px; height: 56px; border: 1px solid var(--c-line2); border-radius: 100%; background: var(--c-pale);
}
.works-nav button::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-style: solid;
  border-width: 3px 0 3px 9px; border-color: transparent transparent transparent var(--c-ink); transform: translate(-40%, -50%);
}
.works-nav button.is-prev::after { transform: translate(-60%, -50%) rotate(180deg); }
.works-nav button:hover { background: var(--c-ink); }
.works-nav button:hover::after { filter: brightness(0) invert(1); }
.works .row .col:first-child { flex: 1; }

/* ===== mission（左 26%／右 67%） ===== */
.mission { display: flex; justify-content: space-between; margin: 0 0 160px; }
.mission-img { width: 25.909%; margin: 0 0 40px; font-size: 12px; }
.mission-num { display: block; margin: 0 0 56px; color: var(--c-key); font-family: var(--f-din); font-size: 120px; font-weight: 200; line-height: .9; }
.mission-num small { display: block; margin: 16px 0 0; color: var(--c-ink); font-size: 12px; letter-spacing: .1em; }
.mission-txt { width: 66.717%; }
.mission-txt-ja { margin: 0 0 40px; }
.mission-txt-ja h2 { margin: 0 0 24px; font-size: 24px; font-weight: 300; line-height: 1.6; }
.mission-txt-ja p + p { margin-top: 1em; }
.mission-txt-en { margin: 0 0 40px; color: var(--c-gray); }
.mission-btn { text-align: right; }
.spec-list { margin: 0 0 40px; border-top: 1px solid var(--c-line); }
.spec-list li { display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.spec-list li b { flex: 0 0 120px; font-weight: 500; }
.spec-list li.is-ng b { color: var(--c-gray); }
