@charset "UTF-8";

/* =========================================================
   Special Features Index
   Complete Redesign
   Japanese Solid Model Archive
   File: /special/css/special-index.css

   方針
   * 日英版で画像の見え方を同一にする
   * 画像領域と本文領域を分離する
   * 福田氏は写真として cover
   * 大町氏・高見氏は資料画像として contain
   * PCでは大きな2カラム展示
   * スマホでは画像→本文の縦型展示
   * JSなしでも成立する
   ========================================================= */


/* ---------------------------------------------------------
   1. Variables
   --------------------------------------------------------- */

:root {
  --bg: #f2eee6;
  --paper: #fffaf3;
  --paper-soft: #faf6ef;
  --ink: #29231f;
  --sub: #70675f;
  --muted: #9a9086;

  --line: rgba(41, 35, 31, 0.16);
  --line-strong: rgba(41, 35, 31, 0.28);

  --dark: #211d1a;
  --dark-soft: rgba(33, 29, 26, 0.76);
  --light: #fff7ea;

  --accent: #7a4a2a;
  --accent-soft: #c79a6d;

  --header-height: 64px;
  --max: 1480px;
  --narrow: 880px;

  --font-serif:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "Times New Roman",
    serif;

  --font-sans:
    "Helvetica Neue",
    Arial,
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
}


/* ---------------------------------------------------------
   2. Reset / base
   --------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}


/* ---------------------------------------------------------
   3. Header
   --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(242, 238, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-header-inner {
  max-width: var(--max);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo {
  text-decoration: none;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.09em;
  color: var(--sub);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--ink);
  transform: translateY(-2px);
}


/* ---------------------------------------------------------
   4. Hero
   --------------------------------------------------------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.04) saturate(0.9);
  transform: scale(1.06);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.72)
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.68),
      rgba(0, 0, 0, 0.10)
    );
}

.hero::after {
  content: "SPECIAL FEATURES";
  position: absolute;
  right: 3vw;
  bottom: 5vh;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.065);
  pointer-events: none;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 0 0 12vh;
  color: var(--light);
}

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero .eyebrow {
  color: rgba(255, 247, 234, 0.78);
}

.hero h1 {
  margin: 0;
  font-size: clamp(56px, 10vw, 132px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.46);
}

.hero-lead {
  max-width: 760px;
  margin: 34px 0 0;
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: rgba(255, 247, 234, 0.88);
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.42);
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translate3d(-1.2%, -0.8%, 0);
  }

  to {
    transform: scale(1.1) translate3d(1.2%, 0.8%, 0);
  }
}


/* ---------------------------------------------------------
   5. Intro
   --------------------------------------------------------- */

.intro {
  background: var(--bg);
}

.intro-inner {
  width: min(calc(100% - 48px), var(--narrow));
  margin: 0 auto;
  padding: 112px 0 104px;
}

.intro h2 {
  margin: 0 0 34px;
  font-size: clamp(36px, 5.8vw, 82px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.intro p:not(.eyebrow) {
  margin: 0;
  color: var(--sub);
  font-size: 18px;
  line-height: 2.05;
}


/* ---------------------------------------------------------
   6. Feature sections
   --------------------------------------------------------- */

.feature {
  position: relative;
  width: min(calc(100% - 56px), var(--max));
  min-height: clamp(700px, 92svh, 920px);
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(420px, 42%);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 28px 76px rgba(41, 35, 31, 0.10);
  overflow: hidden;
}

.feature--reverse {
  grid-template-columns: minmax(420px, 42%) minmax(0, 58%);
}

.feature--reverse .feature-visual {
  order: 2;
}

.feature--reverse .feature-copy {
  order: 1;
}

.feature-visual {
  position: relative;
  min-height: clamp(700px, 92svh, 920px);
  background: #e6ded2;
  overflow: hidden;
}

.feature-image-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.feature-image-frame img {
  width: 100%;
  height: 100%;
  transform: scale(1.035);
  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s ease;
}


/* 写真型：福田氏 */
.feature--photo .feature-image-frame img {
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.02) saturate(0.94);
}


/* 資料型：大町氏・高見氏 */
.feature--document .feature-visual {
  background:
    radial-gradient(
      circle at center,
      rgba(255, 250, 243, 1) 0%,
      rgba(250, 246, 239, 1) 58%,
      rgba(242, 238, 230, 1) 100%
    );
}

.feature--document .feature-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(38px, 5vw, 82px);
}

.feature--document .feature-image-frame img {
  width: auto;
  height: auto;
  max-width: min(92%, 860px);
  max-height: 72%;
  object-fit: contain;
  object-position: center center;
  filter: grayscale(0.05) contrast(0.98);
  transform: scale(1);
}


/* ラベル */
.status-label {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 3;
  margin: 0;
  padding: 6px 12px;
  background: rgba(80, 72, 66, 0.74);
  color: #fff7ea;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}


/* 本文側 */
.feature-copy {
  position: relative;
  min-height: clamp(700px, 92svh, 920px);
  padding: clamp(46px, 5vw, 88px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 250, 243, 0.96);
  overflow: hidden;
}

.feature-label {
  position: relative;
  z-index: 2;
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
}

.feature-copy h2 {
  position: relative;
  z-index: 2;
  margin: 0 0 26px;
  font-size: clamp(42px, 4.8vw, 76px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.feature-copy h2 span {
  display: block;
  margin-top: 0.22em;
  color: var(--sub);
  font-size: 0.52em;
  line-height: 1.35;
}

.feature-catch {
  position: relative;
  z-index: 2;
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: 0.06em;
}

.feature-copy p:not(.feature-label):not(.feature-catch):not(.feature-index):not(.feature-action) {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 0 28px;
  color: var(--sub);
  font-size: 17px;
  line-height: 2.05;
}

.feature-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-tags li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sub);
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.feature-action {
  position: relative;
  z-index: 2;
  display: inline-block;
  align-self: flex-start;
  margin: 28px 0 0;
  padding: 9px 0;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.feature-action::after {
  content: " →";
}

.feature-action:hover,
.feature-action:focus {
  color: var(--ink);
  transform: translateX(4px);
}

.feature-action--disabled {
  color: var(--muted);
}

.feature-action--disabled::after {
  content: "";
}

.feature-action--disabled:hover,
.feature-action--disabled:focus {
  transform: none;
  color: var(--muted);
}

.feature-index {
  position: absolute;
  right: 28px;
  bottom: -22px;
  z-index: 1;
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(110px, 11vw, 180px);
  line-height: 1;
  color: rgba(122, 74, 42, 0.055);
  pointer-events: none;
}


/* Hover */
.feature:hover .feature--photo .feature-image-frame img {
  transform: scale(1.06);
}

.feature--photo:hover .feature-image-frame img {
  transform: scale(1.06);
}

.feature--document:hover .feature-image-frame img {
  transform: scale(1.015);
}


/* ---------------------------------------------------------
   7. CSS scroll animation
   対応ブラウザではスクロールに合わせて軽く動く
   非対応ブラウザでは静止表示
   --------------------------------------------------------- */

@supports (animation-timeline: view()) {
  .feature-image-frame img {
    animation: image-scroll-drift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }

  .feature-copy > *:not(.feature-index) {
    animation: text-scroll-rise linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 38%;
  }
}

@keyframes image-scroll-drift {
  from {
    transform: scale(1.05) translate3d(0, -18px, 0);
  }

  to {
    transform: scale(1.08) translate3d(0, 18px, 0);
  }
}

@keyframes text-scroll-rise {
  from {
    opacity: 0.55;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature--document .feature-image-frame img {
  animation-name: document-scroll-drift;
}

@keyframes document-scroll-drift {
  from {
    transform: scale(0.985) translate3d(0, -10px, 0);
  }

  to {
    transform: scale(1.015) translate3d(0, 10px, 0);
  }
}


/* ---------------------------------------------------------
   8. Gateway
   --------------------------------------------------------- */

.gateway {
  margin-top: 96px;
  background: var(--dark);
  color: var(--light);
}

.gateway-inner {
  width: min(calc(100% - 56px), var(--max));
  margin: 0 auto;
  padding: 112px 0;
}

.gateway .eyebrow {
  color: var(--accent-soft);
}

.gateway h2 {
  max-width: 900px;
  margin: 0 0 30px;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 500;
  line-height: 1.2;
}

.gateway p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 247, 234, 0.82);
  font-size: 17px;
  line-height: 2;
}

.gateway-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.gateway-card {
  min-height: 160px;
  display: block;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
  text-decoration: none;
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}

.gateway-card:hover,
.gateway-card:focus {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.30);
}

.gateway-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--accent-soft);
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.gateway-card strong {
  font-weight: 500;
  font-size: 21px;
  line-height: 1.55;
}


/* ---------------------------------------------------------
   9. Footer
   --------------------------------------------------------- */

.site-footer {
  padding: 42px 24px;
  text-align: center;
  color: var(--sub);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0.2em 0;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--accent);
}

.site-footer span {
  margin: 0 8px;
}


/* ---------------------------------------------------------
   10. Responsive
   --------------------------------------------------------- */

@media (max-width: 1100px) {
  .feature,
  .feature--reverse {
    grid-template-columns: minmax(0, 54%) minmax(380px, 46%);
  }

  .feature-copy {
    padding: clamp(38px, 4.5vw, 64px);
  }

  .feature-copy h2 {
    font-size: clamp(38px, 4.8vw, 62px);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: auto;
  }

  .site-header {
    position: relative;
  }

  .site-header-inner {
    min-height: auto;
    padding: 18px 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-content {
    width: min(calc(100% - 40px), var(--max));
    padding-bottom: 9vh;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 78px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .intro-inner {
    width: min(calc(100% - 40px), var(--narrow));
    padding: 82px 0 74px;
  }

  .intro h2 {
    font-size: clamp(34px, 9vw, 58px);
  }

  .intro p:not(.eyebrow) {
    font-size: 16px;
  }

  .feature,
  .feature--reverse {
    width: min(calc(100% - 32px), 680px);
    min-height: 0;
    margin-bottom: 42px;
    grid-template-columns: 1fr;
  }

  .feature--reverse .feature-visual,
  .feature--reverse .feature-copy {
    order: initial;
  }

  .feature-visual {
    min-height: 0;
    height: clamp(300px, 62svh, 520px);
  }

  .feature-copy {
    min-height: 0;
    padding: 36px 28px 46px;
  }

  .feature-copy h2 {
    font-size: clamp(36px, 10vw, 54px);
  }

  .feature-copy h2 span {
    font-size: 0.58em;
  }

  .feature-copy p:not(.feature-label):not(.feature-catch):not(.feature-index):not(.feature-action) {
    font-size: 16px;
    line-height: 1.95;
  }

  .feature-index {
    right: 18px;
    bottom: -12px;
    font-size: 112px;
  }

  .feature--document .feature-image-frame {
    padding: 24px;
  }

  .feature--document .feature-image-frame img {
    max-width: 94%;
    max-height: 76%;
  }

  .gateway {
    margin-top: 76px;
  }

  .gateway-inner {
    width: min(calc(100% - 40px), var(--max));
    padding: 82px 0;
  }

  .gateway-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-logo {
    font-size: 13px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero::after {
    display: none;
  }

  .feature,
  .feature--reverse {
    width: min(calc(100% - 24px), 680px);
  }

  .feature-visual {
    height: clamp(280px, 56svh, 460px);
  }

  .feature-copy {
    padding: 32px 22px 42px;
  }

  .feature-label {
    font-size: 11px;
    letter-spacing: 0.20em;
  }

  .feature-catch {
    font-size: 16px;
  }

  .feature-tags li {
    font-size: 10.5px;
  }

  .status-label {
    left: 16px;
    top: 16px;
    font-size: 10px;
  }

  .gateway-card {
    min-height: 136px;
  }
}


/* ---------------------------------------------------------
   11. Reduced motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-bg img,
  .feature-image-frame img,
  .feature-copy > * {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }

  .site-nav a,
  .feature-action,
  .gateway-card {
    transition: none !important;
  }
}
