/* OFF/BEAT — FigmaデザインをレスポンシブなHTML/CSSへ移植。
   ブランド色は :root、写真は assets/、本文は index.html で編集できます。 */

@font-face { font-family: "Anton"; src: url("assets/fonts/anton-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-900.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("assets/fonts/noto-sans-jp-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans JP"; src: url("assets/fonts/noto-sans-jp-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  --paper: #f2f1eb;
  --ink: #171715;
  --red: #e93827;
  --gray: #73736d;
  --line: #cac9c2;
  --dark: #1d1d1a;
  --muted: #b6b6ae;
  --gutter: clamp(20px, 3.3333vw, 64px);
  --sans: "Inter", "Noto Sans JP", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --display: "Anton", Impact, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
::selection { color: var(--paper); background: var(--ink); }
.shell { width: calc(100% - var(--gutter) * 2); max-width: 1792px; margin-inline: auto; }
.micro { font-family: var(--mono); font-size: .75rem; font-weight: 400; line-height: 1.5; }
.japanese { font-family: "Noto Sans JP", sans-serif; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.015em; }
.wordmark { font-family: "Inter", sans-serif; font-weight: 900; line-height: .8; letter-spacing: -.04em; white-space: nowrap; }
.mobile-only, .mobile-menu { display: none; }
.skip-link { position: fixed; z-index: 20; left: 20px; top: 12px; padding: 12px 18px; background: var(--ink); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }

/* ヘッダーと巨大タイポ */
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 66px; border-bottom: 1px solid var(--line); }
.brand-caption { white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); margin-left: auto; }
.desktop-nav a, .header-meta, .footer-links { font-size: .75rem; font-weight: 600; }
.desktop-nav a, .footer-links a { padding-block: 14px; }
.desktop-nav a:hover, .footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-meta { display: flex; justify-content: space-between; gap: clamp(28px, 5.1vw, 90px); margin-left: clamp(28px, 9vw, 140px); }
.masthead { container-type: inline-size; padding-block: 20px 18px; }
.masthead .wordmark { font-size: 20.925cqw; }

/* キャンペーン */
.hero { position: relative; isolation: isolate; aspect-ratio: 1344 / 690; min-height: 510px; overflow: hidden; background: #a9a9a3; color: var(--paper); }
.hero-photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(23 23 21 / .32), transparent 60%); }
.drop-badge { position: absolute; left: 28px; top: 28px; padding: 6px 13px; background: var(--red); color: white; }
.hero-copy { position: absolute; left: 38px; bottom: 50px; }
.hero-copy h2 { margin-left: -4px; font-size: clamp(72px, 7.2222vw, 132px); line-height: 1.04; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 54px; padding: 14px 20px; font-family: var(--sans); font-size: .75rem; font-weight: 600; line-height: 1.3; transition: background-color .2s ease, color .2s ease; }
.button-light { width: 250px; margin-top: 38px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); }
.button-light:hover { background: white; }
.arrow { flex: 0 0 22px; width: 22px; height: 22px; object-fit: contain; transition: transform .2s ease; }
.button:hover .arrow { transform: translateX(4px); }
.hero-index { position: absolute; right: 48px; bottom: 44px; }
.campaign-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; }
.campaign-caption strong { font-size: .75rem; }
.campaign-caption a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ブランドの導入 */
.intro { display: grid; grid-template-columns: 1.34fr 1fr; gap: 3vw; padding-top: 86px; padding-bottom: 86px; }
.intro h2 { font-size: clamp(42px, 4.5139vw, 86px); line-height: 1.08; }
.intro-copy { padding-left: 22px; }
.intro-copy h3 { font-size: clamp(22px, 1.8056vw, 30px); line-height: 1.62; }
.intro-copy p { margin-top: 26px; color: var(--gray); font-size: 1rem; line-height: 1.93; }

/* 新作: デスクトップは見出し + 2カラム、モバイルは見出しを上へ */
.collection { border-top: 1px solid var(--line); padding-top: 23px; padding-bottom: 140px; }
.section-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.collection-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.07fr); grid-template-rows: auto auto 1fr; column-gap: 24px; margin-top: 45px; }
.collection-heading { grid-column: 1; grid-row: 1; padding-top: 12px; }
.collection-heading h2 { font-size: clamp(54px, 5.5556vw, 106px); line-height: 1.0625; }
.collection-heading p { margin-top: 30px; font-size: 1.0625rem; line-height: 1.8; }
.products { grid-column: 2; grid-row: 1 / 4; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: start; gap: 24px; }
.product { min-width: 0; }
.product-photo { display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #d8d7d0; }
.product-photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-photo:hover > img { transform: scale(1.025); }
.new-badge { position: absolute; left: 18px; top: 18px; padding: 3px 8px; background: var(--paper); }
.product-info { display: grid; grid-template-columns: 1fr auto; gap: 14px 10px; padding-top: 18px; }
.product-info h3 { font-size: .875rem; font-weight: 600; line-height: 1.5; }
.price { white-space: nowrap; }
.product-color { grid-column: 1 / -1; color: var(--gray); }
.collection-link { grid-column: 1; grid-row: 2; width: min(100%, 310px); margin-top: 38px; padding-inline: 0; border-bottom: 1px solid var(--ink); }
.collection-link:hover { color: var(--red); }
.selected-label { grid-column: 1; grid-row: 3; align-self: end; padding-top: 50px; color: var(--gray); }

/* ルックブック */
.lookbook { padding-block: 42px 48px; background: var(--dark); color: var(--paper); }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; column-gap: 42px; margin-top: 34px; }
.editorial-grid > h2 { grid-column: 1; grid-row: 1; font-size: clamp(100px, 11.3889vw, 205px); line-height: .97; }
.editorial-photo { grid-column: 2; grid-row: 1 / 3; padding-top: 1px; }
.editorial-photo > img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.editorial-photo figcaption { margin-top: 18px; }
.editorial-copy { grid-column: 1; grid-row: 2; margin-top: 54px; }
.editorial-copy h3 { font-size: clamp(26px, 2.2222vw, 38px); line-height: 1.5; }
.editorial-copy p { margin-top: 34px; font-size: 1rem; line-height: 2; color: var(--muted); }
.button-red { min-width: 310px; margin-top: 58px; background: var(--red); color: var(--paper); }
.button-red:hover { background: #c82a1d; }
.button-red:focus-visible { outline-color: var(--paper); }
.editorial-signoff { grid-column: 1 / -1; grid-row: 3; margin-top: 26px; color: var(--muted); }

/* マニフェストとフッター */
.manifesto { padding-block: 18px 27px; background: var(--red); }
.manifesto .display { font-size: clamp(72px, 11.18vw, 215px); line-height: 1.08; letter-spacing: -.014em; }
.about { padding-top: 42px; padding-bottom: 58px; }
.about-copy { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; margin-top: 34px; }
.about-copy h2 { font-size: clamp(25px, 2.1528vw, 36px); line-height: 1.8; }
.about-copy p { font-size: 1rem; line-height: 1.94; color: var(--gray); }
.footer-main { display: grid; grid-template-columns: 1.65fr 1fr; align-items: center; gap: 64px; padding-block: 36px 72px; border-top: 1px solid var(--line); }
.footer-brand { display: block; container-type: inline-size; }
.footer-brand .wordmark { display: block; font-size: 20.925cqw; }
.footer-links nav, .footer-secondary { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-secondary { margin-top: 14px; color: var(--gray); font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px 49px; border-top: 1px solid var(--line); color: var(--gray); }

/* タブレット */
@media (max-width: 1100px) {
  .header-meta { margin-left: 12px; gap: 24px; }
  .brand-caption { font-size: .6875rem; }
  .desktop-nav { gap: 24px; }
  .hero { min-height: 480px; }
  .intro { grid-template-columns: 1.12fr 1fr; gap: 20px; padding-block: 72px; }
  .intro-copy { padding-left: 0; }
  .intro-copy p { font-size: .9375rem; }
  .product-info { grid-template-columns: 1fr; gap: 9px; }
  .product-color { grid-column: 1; }
  .editorial-grid { column-gap: 30px; }
  .editorial-copy { margin-top: 38px; }
  .editorial-copy p { font-size: .9375rem; }
  .button-red { min-width: 290px; margin-top: 34px; }
  .footer-main { gap: 40px; }
}

/* モバイル: Figmaの390pxアートボードと同じ構成 */
@media (max-width: 760px) {
  :root { --gutter: 20px; }
  .desktop-only, .desktop-nav { display: none !important; }
  .mobile-only { display: inline; }
  .site-header { min-height: 62px; }
  .brand-caption { font-size: .6875rem; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: flex-end; width: 44px; height: 44px; list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-bars { position: relative; display: block; width: 25px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
  .mobile-menu[open] summary .menu-bars { height: 1.5px; border-bottom: 0; }
  .mobile-menu nav { position: absolute; z-index: 8; top: calc(100% + 1px); left: 0; right: 0; padding: 16px 20px; border: 1px solid var(--line); background: var(--paper); }
  .mobile-menu nav a { display: block; padding: 16px 0; font-size: .875rem; font-weight: 600; }
  .masthead { padding-block: 32px 30px; }
  .campaign { width: 100%; }
  .hero { height: clamp(520px, 142.0513vw, 780px); min-height: 0; aspect-ratio: auto; }
  .hero-photo { object-position: 89.14% 50%; }
  .hero::before { background: linear-gradient(180deg, transparent 48%, rgb(23 23 21 / .58) 100%); }
  .drop-badge { left: var(--gutter); top: 20px; font-size: .6875rem; padding: 5px 10px; }
  .hero-copy { left: var(--gutter); right: var(--gutter); bottom: 28px; }
  .hero-copy h2 { margin-left: -2px; font-size: clamp(54px, 14.36vw, 86px); line-height: 1.054; }
  .button-light { width: 235px; min-height: 49px; margin-top: 26px; }
  .campaign-caption { flex-wrap: wrap; gap: 8px 12px; margin-inline: var(--gutter); padding-top: 18px; font-size: .625rem; }
  .intro { display: block; padding-block: 66px 48px; }
  .intro h2 { font-size: clamp(46px, 13.59vw, 88px); line-height: 1.11; }
  .intro-copy { margin-top: 26px; }
  .intro-copy h3 { font-size: 1.0625rem; line-height: 1.7; }
  .intro-copy p { margin-top: 19px; font-size: .8125rem; line-height: 2; }
  .collection { padding-top: 21px; padding-bottom: 64px; }
  .section-caption { font-size: .6875rem; }
  .collection-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto; margin-top: 25px; row-gap: 30px; }
  .collection-heading { grid-column: 1; grid-row: 1; padding-top: 0; }
  .collection-heading h2 { font-size: clamp(58px, 15.9vw, 90px); line-height: 1.08; }
  .products { grid-column: 1; grid-row: 2; gap: 12px; }
  .product-info { gap: 10px; padding-top: 15px; }
  .product-info h3 { font-size: .6875rem; line-height: 1.45; }
  .price { font-size: .75rem; }
  .product-color { font-size: .625rem; }
  .collection-link { grid-column: 1; grid-row: 3; width: 100%; margin-top: 2px; min-height: 50px; padding: 14px 20px; border: 1px solid var(--ink); }
  .lookbook { padding-block: 28px 35px; }
  .editorial-grid { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; row-gap: 28px; margin-top: 33px; }
  .editorial-grid > h2 { grid-column: 1; grid-row: 1; margin-left: -2px; font-size: clamp(92px, 26.154vw, 152px); line-height: 1.0392; }
  .editorial-photo { grid-column: 1; grid-row: 2; padding: 0; }
  .editorial-photo figcaption { margin-top: 14px; font-size: .625rem; color: var(--muted); }
  .editorial-copy { grid-column: 1; grid-row: 3; margin-top: 8px; }
  .editorial-copy h3 { font-size: 1.4375rem; line-height: 1.52; }
  .editorial-copy p { margin-top: 27px; font-size: .8125rem; line-height: 2; }
  .button-red { width: 100%; min-width: 0; margin-top: 40px; min-height: 54px; }
  .editorial-signoff { grid-column: 1; grid-row: 4; margin-top: 7px; font-size: .625rem; }
  .manifesto { padding-block: 13px 20px; }
  .manifesto .display { font-size: clamp(62px, 16.41vw, 110px); line-height: 1.08; }
  .about { padding-top: 44px; padding-bottom: 54px; }
  .about > .micro { font-size: .6875rem; }
  .about-copy { display: block; margin-top: 25px; }
  .about-copy h2 { font-size: clamp(21px, 6.15vw, 32px); line-height: 1.58; }
  .about-copy p { margin-top: 22px; font-size: .8125rem; line-height: 2; }
  .footer-main { display: block; padding-block: 30px 37px; }
  .footer-links { margin-top: 50px; font-size: .6875rem; }
  .footer-links nav, .footer-secondary { justify-content: flex-start; gap: 26px; }
  .footer-secondary { margin-top: 17px; }
  .footer-bottom { flex-direction: column; gap: 16px; padding-block: 26px 41px; font-size: .625rem; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .product-info h3 { font-size: .625rem; }
  .intro-copy h3 { font-size: .9375rem; }
  .intro-copy p, .editorial-copy p, .about-copy p { font-size: .75rem; }
  .editorial-copy h3 { font-size: 1.25rem; }
  .footer-links nav, .footer-secondary { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
