/* 全体の色・文字・余白・共通部品を定義する。
 * 他のCSSより先に読み、メディアクエリはresponsive.cssだけに置く。 */

:root {
  --black: #07080b;
  --charcoal: #111319;
  --ivory: #f4efe6;
  --paper: #e7ded0;
  --gold: #cdaa68;
  --moon: #71839a;
  --ink: #17191d;
  --line-dark: rgba(244, 239, 230, 0.2);
  --line-light: rgba(17, 19, 25, 0.2);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  background: var(--black);
  color: var(--ivory);
  font-family: "Noto Sans JP Sekaikan", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
  text-rendering: optimizeLegibility;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

img {
  display: block;
}

h1,
h2,
h3,
p,
ol,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Shippori Mincho Sekaikan", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-synthesis: none;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.44;
}

h1 {
  font-size: clamp(2.6rem, 5.1vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 3.3vw, 2.625rem);
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

/* サイト全体の左右基準を管理する唯一の外枠max-width。削除禁止。 */
.inner {
  margin-inline: auto;
  max-width: 1120px;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  position: relative;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.5;
}

.section-heading h2 {
  margin-top: 1.1rem;
}

.scene-marker {
  align-items: center;
  color: var(--gold);
  display: grid;
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
  gap: 0.8rem;
  grid-column: 1 / -1;
  grid-template-columns: auto auto 1fr;
  letter-spacing: 0.2em;
  line-height: 1.5;
  margin-bottom: 2.2rem;
  text-transform: uppercase;
}

.scene-marker span + span {
  color: currentColor;
  opacity: 0.62;
}

.scene-marker::after {
  background: currentColor;
  content: "";
  display: block;
  opacity: 0.36;
  /* 上映罫は1pxの装飾線として固定する。 */
  height: 1px;
}

.substatement {
  font-size: 1.06rem;
  margin-top: 1.5rem;
}

/* 文言を変えず、日本語の句点だけが最終行へ孤立する箇所をまとめる。 */
.keep-tail {
  white-space: nowrap;
}

/* ブリーフで指定したコピーの行構成を、JS有無にかかわらず保持する。 */
.fixed-copy-line {
  display: block;
}

.button {
  align-items: center;
  border: 1px solid var(--gold);
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  gap: 2rem;
  justify-content: space-between;
  letter-spacing: 0.08em;
  margin-top: 2.5rem;
  overflow: hidden;
  padding: 0.95rem 1.25rem;
  position: relative;
  text-decoration: none;
  transition: background-color 0.28s ease, color 0.28s ease, transform 0.28s var(--ease);
}

.button--gold {
  background: var(--gold);
  color: var(--black);
}

.button--outline {
  background: transparent;
  color: var(--ivory);
}

.shine-link::after {
  background: rgba(255, 255, 255, 0.34);
  content: "";
  inset: -30% auto -30% -40%;
  pointer-events: none;
  position: absolute;
  transform: skewX(-18deg) translateX(-150%);
  transition: transform 0.34s var(--ease);
  /* シャインの細い光帯は装飾として固定幅が必要。 */
  width: 28%;
}

.brand {
  align-items: center;
  color: var(--ivory);
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 0.75rem;
  left: clamp(1.25rem, 4vw, 3rem);
  letter-spacing: 0.16em;
  position: absolute;
  text-decoration: none;
  text-transform: uppercase;
  top: 1.5rem;
  transition: color 0.28s ease;
  z-index: 20;
}

.brand span {
  align-items: center;
  border: 1px solid var(--gold);
  display: inline-flex;
  justify-content: center;
  /* ブランド印は意図的に正方形で固定する。 */
  height: 2rem;
  width: 2rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(2rem);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.82s var(--ease), transform 0.82s var(--ease);
}

.template-request-button,
[data-template-request-button="true"] {
  display: none !important;
}
