/* ==========================================================================
   SIXTYPERCENT Inc. — サイト共通スタイル（2026 リデザイン）
   モノトーン（黒地に白文字）／余白と罫線で構成する編集的なレイアウト
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --fg: #f4f4f4;
  --fg-2: #bdbdbd;
  --muted: #7a7a7a;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.4);

  --font-display: 'Jost', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', 'Jost', sans-serif;

  --max: 1320px;
  --gutter: clamp(20px, 5vw, 72px);
  --sec-pad: clamp(72px, 10vw, 160px);
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.sec { padding-block: var(--sec-pad); }
.sec + .sec { border-top: 1px solid var(--line); }

/* セクション見出し：番号 ＋ ラベル */
.sec-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 80px);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.sec-head__num { font-size: 12px; color: var(--muted); }
.sec-head__label { font-size: clamp(28px, 4.5vw, 56px); font-weight: 600; letter-spacing: 0.02em; line-height: 1; }

/* 大きな見出し文字 */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ---------- ボタン（ピル型） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px 14px 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { width: 14px; height: 14px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { border-color: var(--line); color: var(--fg-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(12px); border-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo img { height: 14px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__link {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  position: relative;
  padding-block: 6px;
  transition: color 0.3s;
}
.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--fg);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.site-nav__link:hover { color: var(--fg); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-header__right { display: flex; align-items: center; gap: 20px; }

/* 言語切替 */
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; }
.lang a { padding: 4px 6px; color: var(--muted); transition: color 0.3s; }
.lang a.is-active, .lang a:hover { color: var(--fg); }
.lang span { color: var(--line-strong); }

/* ハンバーガー */
.burger { display: none; width: 40px; height: 40px; position: relative; z-index: 60; }
.burger span {
  position: absolute; left: 10px; width: 20px; height: 1px; background: var(--fg);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 24px; }
.burger.is-open span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* スマホ用メニュー */
.drawer {
  position: fixed; inset: 0; z-index: 55;
  background: var(--bg);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__link {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 9vw, 48px);
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line);
}
.drawer__foot { margin-top: 32px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .site-nav, .site-header__right .lang { display: none; }
  .burger { display: block; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.hero__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.15) 40%, rgba(10,10,10,0.9) 100%);
}
.hero__inner { position: relative; padding-bottom: clamp(40px, 6vw, 80px); }
.hero__eyebrow { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 20px; }
.hero__title { font-size: clamp(36px, 7.2vw, 104px); max-width: 16ch; }
.hero__title.is-ja { font-family: var(--font-body); font-weight: 700; text-transform: none; letter-spacing: 0.02em; line-height: 1.3; font-size: clamp(24px, 4.6vw, 64px); max-width: none; white-space: nowrap; }
.hero__foot { margin-top: clamp(28px, 4vw, 48px); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; font-size: 12px; color: var(--fg-2); letter-spacing: 0.08em; }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); text-transform: uppercase; }
.hero__scroll i { display: block; width: 1px; height: 40px; background: var(--fg-2); animation: scroll-line 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes scroll-line { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 600px) { .hero__media video { object-position: center; } }

/* ---------- WHAT WE DO ---------- */
.about-us { display: grid; grid-template-columns: 1fr; gap: 40px; }
.about-us__mission { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.about-us__text { font-size: clamp(17px, 1.5vw, 22px); font-weight: 500; line-height: 2; letter-spacing: 0.04em; max-width: 34em; }
.about-us__text.is-en { font-family: var(--font-display); font-weight: 400; line-height: 1.5; letter-spacing: 0; }
@media (min-width: 900px) { .about-us { grid-template-columns: 3fr 9fr; } }

/* ---------- BUSINESS ---------- */
.biz { border-top: 1px solid var(--line); }
.biz__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-block: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}
.biz__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-2); }
.biz__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.biz__row:hover .biz__media img { transform: scale(1.04); }
.biz__body { display: flex; flex-direction: column; gap: 24px; }
.biz__idx { font-family: var(--font-display); font-size: 12px; color: var(--muted); letter-spacing: 0.1em; }
.biz__title { font-size: clamp(28px, 3.6vw, 48px); }
.biz__title img { height: clamp(28px, 3.6vw, 48px); width: auto; }
.biz__text { color: var(--fg-2); max-width: 44em; }
.biz__stats { display: flex; gap: clamp(32px, 5vw, 72px); padding-top: 8px; }
.biz__stat b { display: block; white-space: nowrap; font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.biz__stat b small { font-size: 0.5em; margin-left: 4px; }
.biz__stat > span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; font-family: var(--font-display); }
.biz__store { display: flex; gap: 10px; margin-top: 4px; }
.biz__store img { height: 40px; width: auto; opacity: 0.9; transition: opacity 0.3s; }
.biz__store a:hover img { opacity: 1; }
@media (min-width: 900px) {
  .biz__row { grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .biz__body { padding-top: 4px; }
}

/* ---------- RECRUIT ---------- */
.recruit { position: relative; overflow: hidden; padding-block: clamp(96px, 14vw, 200px); }
.recruit__bg { position: absolute; inset: 0; }
.recruit__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: 0.22; }
.recruit__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.9) 75%); }
.recruit__inner { position: relative; display: grid; gap: 32px; }
.recruit__title { font-size: clamp(40px, 8vw, 120px); }
.recruit__text { color: var(--fg-2); max-width: 40em; }
@media (min-width: 900px) { .recruit__inner { grid-template-columns: 1fr 1fr; align-items: end; } }

/* ---------- NEWS ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item { border-bottom: 1px solid var(--line); }
.news-item__link {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: 'date arrow' 'title arrow';
  gap: 6px 24px;
  align-items: center;
  padding: clamp(20px, 2.6vw, 32px) 0;
  transition: padding-left 0.4s var(--ease);
}
.news-item__link:hover { padding-left: 12px; }
.news-item__date { grid-area: date; font-family: var(--font-display); font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.news-item__title { grid-area: title; font-size: clamp(15px, 1.5vw, 19px); font-weight: 500; line-height: 1.6; }
.news-item__arrow { grid-area: arrow; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background 0.35s, border-color 0.35s; }
.news-item__arrow svg { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.news-item__link:hover .news-item__arrow { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.news-item__link:hover .news-item__arrow svg { transform: translateX(2px); }
.news__more { margin-top: 40px; }
@media (min-width: 900px) {
  .news-item__link { grid-template-columns: 140px 1fr auto; grid-template-areas: 'date title arrow'; gap: 32px; }
}

/* ---------- ABOUT（会社概要） ---------- */
.about { display: grid; gap: 40px; }
.about__table { border-top: 1px solid var(--line); }
.about__row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.about__key { font-size: 12px; letter-spacing: 0.1em; color: var(--muted); font-family: var(--font-display); text-transform: uppercase; }
.about__val { font-size: 15px; line-height: 1.9; }
.about__val a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); transition: text-decoration-color 0.3s; }
.about__val a:hover { text-decoration-color: var(--fg); }
@media (min-width: 900px) {
  .about { grid-template-columns: 3fr 9fr; }
  .about__row { grid-template-columns: 200px 1fr; gap: 32px; }
}

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(56px, 8vw, 120px) 32px; }
.site-footer__top { display: grid; gap: 48px; margin-bottom: clamp(56px, 8vw, 120px); }
.site-footer__cta h3 { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.site-footer__cta p { color: var(--fg-2); margin-bottom: 24px; max-width: 32em; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; border-top: 1px solid var(--line); padding-top: 24px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer__links a:hover { color: var(--fg); }
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }

/* ---------- ニュース一覧／記事ページ ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(56px, 10vw, 140px)); padding-bottom: clamp(40px, 6vw, 80px); }
.page-head__num { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.page-head__title { font-size: clamp(36px, 7vw, 96px); }
.page-head__title.is-article { font-family: var(--font-body); text-transform: none; font-weight: 700; font-size: clamp(24px, 3.4vw, 44px); line-height: 1.45; letter-spacing: 0.02em; max-width: 26em; }
.page-head__date { margin-top: 20px; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.12em; color: var(--muted); }

.article { padding-bottom: var(--sec-pad); }
.article__body { max-width: 760px; font-size: 15px; line-height: 2.1; color: var(--fg-2); }
.article__body p { margin-bottom: 1.4em; }
.article__body strong { color: var(--fg); font-weight: 700; }
.article__body a { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.article__body a:hover { text-decoration-color: var(--fg); }
.article__body h2, .article__body h3, .article__body h4 { color: var(--fg); font-weight: 700; line-height: 1.5; margin: 2.4em 0 1em; }
.article__body h2 { font-size: 1.5em; } .article__body h3 { font-size: 1.25em; } .article__body h4 { font-size: 1.05em; }
.article__body figure { margin: 2em 0; }
.article__body figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.article__body img { width: 100%; height: auto; }
.article__body hr { border: 0; border-top: 1px solid var(--line); margin: 3em 0; }
.article__body blockquote { border-left: 1px solid var(--line-strong); margin: 2em 0; padding-left: 1.5em; }
.article__body ul, .article__body ol { padding-left: 1.4em; margin-bottom: 1.4em; }
.article__body ul { list-style: disc; } .article__body ol { list-style: decimal; }
.article__body .wp-block-spacer { max-height: 48px; }
.article__body .wp-block-button__link { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 24px; text-decoration: none; background: none; color: var(--fg); }
.article__body .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; } .article__body .wp-block-column { flex: 1 1 280px; }
.article__body .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.article__body .wp-block-gallery figure { margin: 0; }
.article__body .alignleft { float: none; margin: 0; }
.article__body .wp-block-embed__wrapper { word-break: break-all; }
.article__foot { margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); max-width: 760px; }

/* ---------- 表示アニメーション ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
