@charset "utf-8";

/* ============== Theme Vars ============== */
:root {
  --ink: #151820;
  --muted: #6b747c;
  --brand: #102137; /* 深めネイビー */
  --paper: #ffffff;
  --bg: #f4f2ee; /* グレージュ系 */
  --accent-1: #7d2d2d; /* ボルドー */
  --accent-2: #b37a3b; /* キャメル/コッパー */
  --accent-3: #1f3730; /* ディープグリーン */

  --radius: 16px;
  --radius-small: 8px;
  --shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
  --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.06);
  --max-width: 1180px;
}

/* ============== Base ============== */
html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  border: 0;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

/* ============== Fade in ============== */
.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade.show {
  opacity: 1;
  transform: none;
}

/* ============== Masthead ============== */
.masthead {
  position: relative;
  overflow: clip;
  background: radial-gradient(1100px 550px at 15% 0%, rgba(125, 45, 45, 0.32), transparent 65%), radial-gradient(900px 480px at 85% 20%, rgba(179, 122, 59, 0.28), transparent 60%), #050811;
  color: #fff;
}

.masthead__inner {
  position: absolute;
  inset: auto 24px 52px 24px;
  max-width: var(--max-width);
  margin-inline: auto;
  left: 0;
  right: 0;
}

.masthead__title {
  margin: 0 0 0.25rem;
  font-family: "Cormorant Garamond", ui-serif, "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(26px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.masthead__title span {
  font-size: clamp(11px, 1.7vw, 16px);
  margin-left: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.masthead__lead {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(8, 16, 28, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(3px);
}

.masthead__accent {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
}

/* ============== Concept ============== */
.concept {
  padding: 32px 20px 10px;
}

.concept__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.concept__title {
  margin: 0 0 0.6rem;
  font-family: "Cormorant Garamond", ui-serif, "Hiragino Mincho ProN", serif;
  font-size: clamp(22px, 3.3vw, 38px);
  color: var(--brand);
  letter-spacing: 0.08em;
}

.concept__lead {
  margin: 0;
  font-size: 0.95rem;
  color: #30353c;
}

/* ============== Group ============== */
.group {
  max-width: var(--max-width);
  margin: 30px auto 0;
  padding: 0 20px;
}

.group__head {
  margin: 32px 0 8px;
}

.group__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #4b535c;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.group__title {
  margin: 0.55rem 0 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #262f3a;
}

/* ============== Showcase layout ============== */
.showcase {
  margin: 24px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.showcase--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.showcase__media {
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 12px 12px 16px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.showcase__panel {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 28px 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ============== Panel ============== */
.panel__eyebrow {
  position: absolute;
  left: 0;
  top: 0;
  height: 38px;
  padding: 0 14px 0 56px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #412020;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  background: linear-gradient(90deg, rgba(125, 45, 45, 0.12), rgba(255, 255, 255, 0));
}

.panel__eyebrow::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 50px;
  background: linear-gradient(180deg, var(--accent-1) 0 35%, #ffffff 35% 65%, var(--accent-2) 65% 100%);
  border-top-left-radius: var(--radius);
}

.panel__title {
  margin: 26px 0 0.4rem;
  font-size: clamp(22px, 3.1vw, 32px);
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #202838;
}

.panel__desc {
  margin: 0.4rem 0 0;
  font-size: 0.93rem;
  color: #2f353c;
}

.panel__cta {
  margin-top: 16px;
}

/* ============== Button ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.4em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn--primary {
  border-color: transparent;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #ffffff;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

/* ============== Color Gallery ============== */
.color-gallery {
  width: 100%;
}

.color-gallery__main {
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 10px;
}

.color-gallery__main img {
  width: 100%;
  height: auto;
  display: block;
}

.color-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.color-thumb {
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: var(--radius-small);
  overflow: hidden;
  cursor: pointer;
  opacity: 0.7;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: opacity 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.color-thumb img {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.color-thumb:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.color-thumb.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--accent-1);
}

/* ============== CTA Rail ============== */
.cta-rail {
  max-width: var(--max-width);
  margin: 8px auto 56px;
  padding: 0 20px;
}

.btn-rail {
  display: block;
  text-align: center;
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  box-shadow: var(--shadow-soft);
}

.btn-rail:hover {
  filter: brightness(1.06);
}

/* ============== Footer ============== */
.footer {
  background: #050811;
  color: #ffffff;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 20px 26px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.9;
}

.footer__copy {
  margin: 0;
}

/* ============== Responsive ============== */
@media (max-width: 1080px) {
  .showcase,
  .showcase--reverse {
    grid-template-columns: 1fr;
  }

  .showcase__media,
  .showcase__panel {
    box-shadow: var(--shadow-soft);
  }
}

@media (max-width: 640px) {
  .masthead__inner {
    inset: auto 14px 26px 14px;
  }

  .group {
    padding-inline: 16px;
  }

  .showcase {
    margin-bottom: 32px;
  }

  .showcase__panel {
    padding: 24px 18px 18px;
  }

  .panel__eyebrow {
    padding-left: 48px;
  }

  .panel__eyebrow::before {
    width: 42px;
  }

  .color-thumb img {
    width: 52px;
    height: 52px;
  }
}
