/* =========================================================
   TOP PAGE — LP RENEWAL v2 (Agent B: front-page.php / page-top.css)
   計器盤の上のお祭り：精密グリッド(TECH) × 祭りの色(POP) × 編集の品(FORMAL)
   本ファイルでは以下のセレクタを定義しない（他Agent所有領域のため参照のみで使用すること）:
             root変数一式 / ボタン共通クラス / 計測ラベル共通クラス / セクション骨格共通クラス / reveal共通クラス (owner: Agent A style.css)
             記録映像バンド一式 / あゆみ一式 / 過去開催ボタン&モーダル一式 (owner: Agent C front-extras.css)
   ========================================================= */

.site-main {
  background: #fff;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  overflow-x: clip;
}

/* =========================================================
   HERO — フルブリードHUDヒーロー
   クラス契約: main.js は .hero-slide / .is-active に依存（変更不可）
   ========================================================= */
.hero-section {
  position: relative;
  width: 100%;
  height: min(88vh, 760px);
  min-height: 520px;
  aspect-ratio: auto;
  overflow: hidden;
  background: var(--ink, #16161a);
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease;
}

.hero-slide.is-active {
  opacity: 1;
  animation: heroKenBurns 9s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

/* veil */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(22,22,26,.18) 0%, rgba(22,22,26,0) 30%, rgba(22,22,26,.62) 100%);
}

/* HUDグリッド */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: .16;
  background:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px) 0 0/100% 96px,
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px) 0 0/96px 100%;
  mask: linear-gradient(180deg, #000 0%, transparent 46%);
  -webkit-mask: linear-gradient(180deg, #000 0%, transparent 46%);
}

/* mono計測ラベル */
.hud {
  position: absolute;
  font-family: var(--mono, ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace);
  font-size: 10px;
  letter-spacing: .16em;
  color: rgba(255,255,255,.75);
  z-index: 3;
  margin: 0;
}
.hud--tl { top: 18px; left: 22px; }
.hud--tr { top: 18px; right: 22px; text-align: right; }
.hud i { font-style: normal; color: var(--yel, #fff001); }

/* 四隅ブラケット */
.hero-bracket {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255,255,255,.85);
  z-index: 3;
}
.hero-bracket--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.hero-bracket--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.hero-bracket--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.hero-bracket--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* メガタイポ + JPタグライン + 日付ピル + SCROLL */
.hero-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 0 clamp(20px, 4vw, 48px) clamp(26px, 4vw, 44px);
}

.hero-en {
  font-family: var(--en, "Unbounded", "Hiragino Kaku Gothic ProN", sans-serif);
  font-weight: 900;
  color: #fff;
  line-height: .98;
  letter-spacing: .01em;
  font-size: clamp(34px, 7.2vw, 86px);
  text-transform: uppercase;
  margin: 0;
}
.hero-en__out {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.85);
}

.hero-jp {
  margin: 14px 0 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(15px, 2.2vw, 21px);
  letter-spacing: .12em;
}
.hero-jp::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 3px;
  background: var(--grad-h, linear-gradient(90deg, #eb0087, #019fe8));
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 12px;
}

.hero-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.hero-date {
  background: #0e0e11;
  color: #fff;
  border-radius: 12px;
  padding: 12px 20px;
  line-height: 1.5;
  border: 1px solid rgba(255,255,255,.16);
}
.hero-date b {
  display: block;
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 800;
  letter-spacing: .04em;
}
.hero-date span {
  font-size: 11.5px;
  font-weight: 600;
  opacity: .8;
}

.hero-scroll {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.hero-scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(rgba(255,255,255,.9), transparent);
  animation: heroDrip 1.8s ease-in-out infinite;
}
@keyframes heroDrip {
  0%   { transform: scaleY(0); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: top; }
  56%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =========================================================
   MARQUEE — キネティック帯（PHPで静的複製、JS不要）
   ========================================================= */
.marq {
  background: var(--ink, #16161a);
  border-block: 1px solid var(--ink, #16161a);
  overflow: hidden;
  padding: 12px 0;
}
.marq__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqScroll 26s linear infinite;
}
.marq__unit {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  white-space: nowrap;
}
.marq__unit span {
  font-family: var(--en, "Unbounded", sans-serif);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .22em;
  color: #fff;
  text-transform: uppercase;
}
.marq__unit i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  font-style: normal;
  margin-right: 26px;
}
.marq__unit i:nth-of-type(4n+1) { background: var(--mag, #eb0087); }
.marq__unit i:nth-of-type(4n+2) { background: var(--yel, #fff001); }
.marq__unit i:nth-of-type(4n+3) { background: var(--cyn, #019fe8); }
.marq__unit i:nth-of-type(4n+4) { background: var(--grn, #00b482); }
@keyframes marqScroll {
  to { transform: translateX(-50%); }
}

/* =========================================================
   Section Heading / Body — 既存骨格（縦書きタイトル + eyebrow）
   .sec__eyebrow / .sec__tk は Agent A(.sec 系)のトークンを流用しつつ
   B所有クラス(.section-heading/.section-title/.section-body)に付与する
   ========================================================= */
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.section-heading .sec__eyebrow {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--mag, #eb0087);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* 縦書き section-title（お問い合わせ以外のすべて）— グラデ罫線を継承 */
.section-heading .section-title {
  writing-mode: vertical-rl;
  text-orientation: upright;
  border-right: 2.5px solid;
  border-image: var(--grad, linear-gradient(180deg, #eb0087, #019fe8)) 1;
  padding-right: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2em;
  transform: none;
  margin: 0;
}

.section-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: fit-content;
}

/* 各セクション右上の計測ラベル */
.sec__tk {
  position: absolute;
  top: 26px;
  right: clamp(20px, 4vw, 44px);
}

/* =========================================================
   Announcement Section — 開催決定
   ========================================================= */
.announcement-section {
  position: relative;
  padding: clamp(50px, 7vw, 88px) 80px 0;
}

.announcement-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.announcement-card {
  display: block;
  position: relative;
  border-radius: var(--r-l, 24px);
  overflow: hidden;
  box-shadow: var(--sh-m, 0 10px 30px rgba(22,22,26,.12));
  background-color: #e0e0e0;
  background-image: url("../image/2026-news.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: inherit;
  text-decoration: none;
  transition: transform .25s var(--ease, cubic-bezier(.22,1,.36,1)),
              box-shadow .25s var(--ease, cubic-bezier(.22,1,.36,1));
}
a.announcement-card:hover,
a.announcement-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--sh-l, 0 22px 54px rgba(22,22,26,.16));
  outline: none;
}

.announcement-veil {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(2px);
  padding: clamp(38px, 6vw, 68px) clamp(22px, 5vw, 56px);
  text-align: center;
}

.announcement-eyebrow {
  margin: 0 0 10px;
  color: var(--muted, #5a6068);
}

.announcement-title {
  font-family: var(--en, "Unbounded", sans-serif);
  font-size: clamp(30px, 5.2vw, 50px);
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--ink, #16161a);
  margin: 0;
}
.announcement-title em {
  font-style: normal;
  color: var(--mag, #eb0087);
}

.announcement-detail {
  font-family: var(--jp, "Hiragino Kaku Gothic ProN", sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: .05em;
  color: var(--ink, #16161a);
  margin: 14px 0 0;
}
.announcement-detail .tk {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  overflow-wrap: break-word;
}

.announcement-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  background: var(--mag, #eb0087);
  border-radius: 999px;
  padding: 6px 16px;
}
.announcement-cta .arrow {
  transition: transform .25s var(--ease, cubic-bezier(.22,1,.36,1));
}
a.announcement-card:hover .announcement-cta .arrow,
a.announcement-card:focus-visible .announcement-cta .arrow {
  transform: translateX(4px);
}

.announcement-band {
  height: 5px;
  background: var(--grad-h, linear-gradient(90deg, #eb0087, #019fe8));
}

/* =========================================================
   Block Images — 3枚重なり画像群（コラージュ）
   ========================================================= */
.block-images {
  position: relative;
  width: 265px;
  height: 195px;
  flex: none;
}

.block-img {
  display: block;
  object-fit: cover;
  position: absolute;
  border-radius: var(--r-s, 10px);
  box-shadow: var(--sh-m, 0 10px 30px rgba(22,22,26,.12));
}

/* 左寄せ配置（デフォルト） */
.block-images .block-img:nth-child(1) { top: 0;   left: 0;   width: 198px; height: 132px; z-index: 1; transform: rotate(-2.2deg); }
.block-images .block-img:nth-child(2) { top: 80px; left: 18px; width: 162px; height: 108px; z-index: 2; transform: rotate(1.6deg); }
.block-images .block-img:nth-child(3) { top: 36px; left: 80px; width: 180px; height: 120px; z-index: 3; border: 3px solid var(--cyn, #019fe8); }

/* 右寄せ配置（ミラー） */
.block-images--right .block-img:nth-child(1) { left: auto; right: 0; }
.block-images--right .block-img:nth-child(2) { left: auto; right: 18px; }
.block-images--right .block-img:nth-child(3) { left: auto; right: 80px; border-color: var(--mag, #eb0087); }

/* 縦積み配置（Message セクション用） */
.block-images--vertical { width: 265px; height: 405px; }

.block-images--vertical .block-img:nth-child(1) { top: 0;    left: 25px; width: 240px; height: 160px; z-index: 1; }
.block-images--vertical .block-img:nth-child(2) { top: 120px; left: 0;   width: 240px; height: 160px; z-index: 3; }
.block-images--vertical .block-img:nth-child(3) { top: 240px; left: 25px; width: 240px; height: 160px; z-index: 2; }

.block-images--vertical.block-images--right .block-img:nth-child(1) { left: auto; right: 25px; }
.block-images--vertical.block-images--right .block-img:nth-child(2) { left: auto; right: 0; }
.block-images--vertical.block-images--right .block-img:nth-child(3) { left: auto; right: 25px; }

/* Works セクション用 — 斜めカスケード配置 */
.block-images--lg { width: 360px; height: 300px; }

.block-images--lg .block-img:nth-child(1) { top: 0;    left: 0;    width: 210px; height: 140px; z-index: 1; }
.block-images--lg .block-img:nth-child(2) { top: 75px; left: auto; right: 0; width: 210px; height: 140px; z-index: 3; }
.block-images--lg .block-img:nth-child(3) { top: 160px; left: 15px; width: 210px; height: 140px; z-index: 2; }

.block-images--lg.block-images--right .block-img:nth-child(1) { left: auto; right: 0; }
.block-images--lg.block-images--right .block-img:nth-child(2) { left: 0; right: auto; }
.block-images--lg.block-images--right .block-img:nth-child(3) { left: auto; right: 15px; }

/* =========================================================
   Message Section
   ========================================= */
.message-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: clamp(66px, 9vw, 116px) 60px;
  overflow: hidden;
}

.message-section__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: clamp(24px, 4vw, 56px);
}

.message-images {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 410px;
  overflow: hidden;
}

.message-content {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
  padding: 0 25px;
  max-width: 760px;
  margin: 0 25px;
}

.message-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

.message-subtitle {
  color: var(--ink, #16161a);
  font-family: var(--jp, "Hiragino Kaku Gothic ProN", sans-serif);
  font-size: clamp(19px, 2.6vw, 24px);
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.5;
  word-break: keep-all;
  text-wrap: balance;
  margin: 0;
}

.message-text {
  color: var(--muted, #5a6068);
  font-family: var(--jp, "Hiragino Kaku Gothic ProN", sans-serif);
  font-feature-settings: 'palt' 1;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1.9;
  text-align: justify;
  max-width: 34em;
  margin: 0;
}

/* =========================================================
   Banner Sections（既存維持: 幅を絞った角丸バンド）
   ========================================================= */
.banner-section { width: 100%; }
.banner-section--right { padding: 0 80px 12px 0; }
.banner-section--left  { padding: 0 0 12px 80px; }

.banner-img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--r-m, 16px);
  box-shadow: var(--sh-m, 0 10px 30px rgba(22,22,26,.12));
}
.banner-img--top { object-position: center 40%; }

/* =========================================================
   Works Section
   ========================================= */
.works-section {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(66px, 9vw, 116px) 80px;
  width: 100%;
  background: var(--soft, #f6f7f9);
}

.works-section__inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(30px, 5vw, 70px);
  max-width: 1100px;
  margin: auto;
}

.works-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  width: 100%;
  margin-bottom: clamp(42px, 6vw, 66px);
}

.works-item:nth-child(2) { flex-direction: row-reverse; }

.works-item__images {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.works-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}

.works-item__header {
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 0;
}

.works-item__title {
  color: var(--ink, #16161a);
  font-family: var(--jp, "Hiragino Kaku Gothic ProN", sans-serif);
  font-feature-settings: 'palt' 1;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1.55;
  padding-left: 14px;
  border-left: 4px solid var(--mag, #eb0087);
  text-wrap: balance;
  margin: 0;
}
.works-item:nth-child(2) .works-item__title { border-left-color: var(--cyn, #019fe8); }

.works-item__text {
  color: var(--muted, #5a6068);
  font-family: var(--jp, "Hiragino Kaku Gothic ProN", sans-serif);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .05em;
  line-height: 1.9;
  text-align: justify;
  max-width: 34em;
  margin: 0;
}

.works-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

/* =========================================================
   Info / News Section — mono行型リスト
   ========================================= */
.info-section {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(66px, 9vw, 116px) 80px;
  width: 100%;
}

.info-section__inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(30px, 5vw, 70px);
  max-width: 1120px;
  margin: 0 auto;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 780px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line, #e6e8ec);
  position: relative;
  transition: background .2s ease;
}
.info-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -1px;
  height: 2px;
  background: var(--grad-h, linear-gradient(90deg, #eb0087, #019fe8));
  transition: right .35s var(--ease, cubic-bezier(.22,1,.36,1));
}
.info-item:hover::after { right: 0; }

.info-item__tag {
  flex-shrink: 0;
  background: var(--mag, #eb0087);
  color: #fff;
  font-family: var(--jp, sans-serif);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  border-radius: var(--pill, 999px);
  padding: 4px 12px;
}

.info-item__date {
  flex-shrink: 0;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11.5px;
  color: var(--muted, #5a6068);
  letter-spacing: .06em;
  font-variant-numeric: tabular-nums;
}

.info-item__title {
  font-family: var(--jp, sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink, #16161a);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.info-item__go {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--line-ink, rgba(22,22,26,.14));
  transition: color .2s, transform .3s var(--ease, cubic-bezier(.22,1,.36,1));
}
.info-item:hover .info-item__go {
  color: var(--mag, #eb0087);
  transform: translateX(4px);
}

.info-more {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 28px 0 0 0;
  width: 100%;
  max-width: 780px;
}

/* =========================================================
   Company Section — hairline表 + monoサブラベル
   ========================================= */
.company-section {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(66px, 9vw, 116px) 80px;
  width: 100%;
  background: var(--soft, #f6f7f9);
}

.company-section__inner {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: clamp(30px, 5vw, 70px);
  max-width: 1000px;
  width: fit-content;
  margin: 0 auto;
}

.company-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  width: 100%;
}

.company-row {
  display: flex;
  gap: 26px;
  padding: 17px 6px;
  width: 100%;
  border-bottom: 1px solid var(--line, #e6e8ec);
}

.company-row__label {
  flex: 0 0 172px;
}
.company-row__label b {
  display: block;
  font-family: var(--jp, sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink, #16161a);
}
.company-row__label span.tk {
  display: block;
  margin-top: 1px;
  font-size: 9px;
}

.company-row__value {
  color: var(--muted, #5a6068);
  font-family: var(--jp, sans-serif);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 2.05;
  margin: 0;
}

.company-row__values { display: flex; flex-direction: column; gap: 0; }

/* =========================================================
   Contact Section（お問い合わせ — タイトルは横書き）
   ========================================= */
.contact-section {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(66px, 9vw, 116px) 80px;
  width: 100%;
  background: var(--soft, #f6f7f9);
}

.contact-section__inner {
  max-width: 640px;
  width: 100%;
  margin: auto;
  text-align: center;
}

/* お問い合わせのタイトルは通常横書き */
.contact-section__inner .section-title {
  writing-mode: horizontal-tb;
  border: none;
  padding: 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  text-align: center;
  letter-spacing: .12em;
  transform: none;
  margin-top: 4px;
}

.contact-lead {
  color: var(--muted, #5a6068);
  font-family: var(--jp, sans-serif);
  font-feature-settings: 'palt' 1;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  letter-spacing: .05em;
  line-height: 1.9;
  margin: 12px 0 28px;
}

/* グラデ上辺の白カード */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--line, #e6e8ec);
  border-radius: var(--r-l, 24px);
  box-shadow: var(--sh-s, 0 2px 8px rgba(22,22,26,.06));
  padding: clamp(24px, 4vw, 38px);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-h, linear-gradient(90deg, #eb0087, #019fe8));
}

.contact-form { display: flex; flex-direction: column; gap: 24px; width: 100%; }
.contact-form__field { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.contact-form__label-row { align-items: center; display: flex; flex-direction: row; gap: 8px; }
.contact-form__label-text {
  color: var(--ink, #16161a);
  font-family: var(--jp, sans-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
}
.contact-form__required {
  background: var(--mag, #eb0087);
  border-radius: 2px;
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .05em;
  padding: 2px 6px;
}
.contact-form__input,
.contact-form__textarea {
  border: 1px solid var(--line, #e6e8ec);
  border-radius: var(--r-s, 10px);
  background: var(--soft, #f6f7f9);
  font-family: var(--jp, sans-serif);
  font-size: 13.5px;
  padding: 11px 14px;
  width: 100%;
}
.contact-form__textarea { height: 150px; resize: vertical; }
.contact-form__submit {
  align-items: center;
  background: var(--mag, #eb0087);
  border: none;
  border-radius: var(--pill, 999px);
  box-shadow: var(--sh-m, 0 10px 30px rgba(22,22,26,.12));
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: var(--jp, sans-serif);
  font-size: 14px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  letter-spacing: .1em;
  margin: auto;
  padding: 0 40px;
  width: 300px;
}
.contact-form__submit:hover { box-shadow: var(--sh-l, 0 22px 54px rgba(22,22,26,.16)); }

/* Forminator overrides */
.contact-section .forminator-custom-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}
.contact-section .forminator-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0 16px;
  margin: 0;
  width: 100%;
}
.contact-section .forminator-col    { padding: 0; }
.contact-section .forminator-col-12 { padding: 0; width: 100%; }
.contact-section .forminator-col-6  { flex: 1 1 calc(50% - 8px); min-width: 0; }
.contact-section .forminator-field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.contact-section .forminator-row-last .forminator-col { width: 100%; display: flex; justify-content: center; }
.contact-section .forminator-label {
  align-items: center;
  color: var(--ink, #16161a);
  display: flex;
  flex-direction: row;
  font-family: var(--jp, sans-serif);
  font-size: 14px;
  font-weight: 500;
  gap: 4px;
  letter-spacing: .05em;
  margin: 0;
}
.contact-section .forminator-required {
  background: none;
  border-radius: 0;
  color: #e00;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 0;
}
.contact-section .forminator-input,
.contact-section .forminator-textarea {
  background: #fff !important;
  border: 2px solid #d0d4d8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font-family: var(--jp, sans-serif) !important;
  font-size: 15px !important;
  outline: none !important;
  padding: 12px 16px !important;
  width: 100% !important;
}
.contact-section .forminator-input:focus,
.contact-section .forminator-textarea:focus { border-color: var(--cyn, #019fe8) !important; box-shadow: none !important; }
.contact-section .forminator-field-has_error .forminator-input,
.contact-section .forminator-field-has_error .forminator-textarea { border-color: #e00; }
.contact-section .forminator-textarea { height: 150px; min-height: unset !important; resize: vertical; }
.contact-section .forminator-error-message {
  color: #e00;
  font-size: 12px;
  font-family: var(--jp, sans-serif);
  margin: 0;
}
.contact-section .forminator-description {
  color: #999;
  font-size: 12px;
  font-family: var(--jp, sans-serif);
  text-align: right;
}
.contact-section .forminator-row-last { margin-top: 8px; }
.contact-section .forminator-button-submit {
  align-items: center;
  background: var(--mag, #eb0087);
  border: none;
  border-radius: var(--pill, 999px);
  box-shadow: var(--sh-m, 0 10px 30px rgba(22,22,26,.12));
  color: #fff;
  cursor: pointer;
  display: flex;
  font-family: var(--jp, sans-serif);
  font-size: 14px;
  font-weight: 700;
  height: 48px;
  justify-content: center;
  letter-spacing: .1em;
  margin: auto;
  padding: 0 40px;
  width: 300px;
  transition: box-shadow .25s var(--ease, cubic-bezier(.22,1,.36,1)), transform .25s var(--ease, cubic-bezier(.22,1,.36,1));
}
.contact-section .forminator-button-submit:hover {
  box-shadow: var(--sh-l, 0 22px 54px rgba(22,22,26,.16));
  transform: translateY(-2px);
}
.contact-section .forminator-response-message {
  background: var(--soft, #f6f7f9);
  border-radius: 4px;
  color: var(--ink, #16161a);
  font-family: var(--jp, sans-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: 1.8;
  margin-top: 8px;
  padding: 24px;
  text-align: center;
}
#contact .forminator-response-message ul { display: none; }
.contact-section .forminator-edit-module { display: none; }

/* -----------------------------------------------
   セレクトフィールド
   -----------------------------------------------  */
#contact .forminator-field-select { position: relative; }
#contact .forminator-select--field {
  width: 100%;
  padding: 12px 40px 12px 16px;
  font-size: 15px;
  font-family: var(--jp, sans-serif);
  color: #333;
  background: #fff;
  border: 2px solid #d0d4d8;
  border-radius: 12px;
  transition: border-color .2s;
  appearance: none;
}
#contact .forminator-select--field:focus {
  outline: none;
  border-color: var(--cyn, #019fe8);
}
#contact .forminator-select--field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

@media (max-width: 540px) {
  .contact-section .forminator-col-6 { flex: 0 0 100%; }
}

/* =========================================================
   RESPONSIVE - MESSAGE FOLD (max 1280px)
   ========================================================= */
@media screen and (max-width: 1280px) {
  .message-section        { padding: 80px 0; overflow: visible; }
  .message-section__inner { flex-direction: column; gap: 30px; }
  .message-images         { flex: none; width: 100%; min-height: 35vw; overflow: visible; justify-content: flex-start; align-items: flex-start; }
  .block-images--vertical { width: 0; height: 0; }
  .block-images--vertical .block-img:nth-child(1) { top: 12vw; left: 0;    width: 35vw; height: 23vw; z-index: 1; }
  .block-images--vertical .block-img:nth-child(2) { top: 0;    left: 33vw; width: 35vw; height: 23vw; z-index: 3; }
  .block-images--vertical .block-img:nth-child(3) { top: 12vw; left: 65vw; width: 35vw; height: 23vw; z-index: 1; }
  .block-images--vertical.block-images--right .block-img:nth-child(1) { top: 0;    left: 0;    right: auto; }
  .block-images--vertical.block-images--right .block-img:nth-child(2) { top: 12vw; left: 33vw; right: auto; }
  .block-images--vertical.block-images--right .block-img:nth-child(3) { top: 0;    left: 65vw; right: auto; }
  .message-content        { flex-direction: column; padding: 0 40px; max-width: 100%; }
}

/* =========================================================
   RESPONSIVE - TABLET (max 980px): ヒーロー・マーキー・セクション見出し横倒し
   ========================================================= */
@media screen and (max-width: 980px) {
  .hero-section { height: min(92vh, 640px); }
  .hero-en { font-size: clamp(30px, 9vw, 54px); }

  .section-heading {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .section-heading .sec__eyebrow {
    writing-mode: horizontal-tb;
  }
  .section-heading .section-title {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    border-right: 0;
    border-left: 2.5px solid;
    border-image: var(--grad, linear-gradient(180deg, #eb0087, #019fe8)) 1;
    padding: 2px 0 2px 13px;
  }
}

/* =========================================================
   RESPONSIVE - TABLET (max 840px)
   ========================================================= */
@media screen and (max-width: 840px) {
  .banner-section--right  { padding: 0 40px 10px 0; }
  .banner-section--left   { padding: 0 0 10px 40px; }
  .banner-img             { height: 280px; }

  .announcement-section   { padding: 40px 40px 0; }
  .announcement-title     { font-size: 40px; }

  .message-section        { padding: 60px 0; overflow: visible; }
  .message-section__inner { flex-direction: column; gap: 30px; }
  .message-images         { flex: none; width: 100%; min-height: 35vw; overflow: visible; justify-content: flex-start; align-items: flex-start; }
  .block-images           { width: 220px; height: 160px; }
  .block-images .block-img:nth-child(1) { top: 0; left: 0; width: 165px; height: 110px; }
  .block-images .block-img:nth-child(2) { top: 66px; left: 15px; width: 135px; height: 90px; }
  .block-images .block-img:nth-child(3) { top: 30px; left: 66px; width: 150px; height: 100px; }
  .block-images--right .block-img:nth-child(1) { right: 0; left: auto; }
  .block-images--right .block-img:nth-child(2) { right: 15px; left: auto; }
  .block-images--right .block-img:nth-child(3) { right: 66px; left: auto; }
  .block-images--vertical { width: 0; height: 0; }
  .block-images--vertical .block-img:nth-child(1) { top: 12vw; left: 0;    width: 35vw; height: 23vw; z-index: 1; }
  .block-images--vertical .block-img:nth-child(2) { top: 0;    left: 33vw; width: 35vw; height: 23vw; z-index: 3; }
  .block-images--vertical .block-img:nth-child(3) { top: 12vw; left: 65vw; width: 35vw; height: 23vw; z-index: 1; }
  .block-images--vertical.block-images--right .block-img:nth-child(1) { top: 0;    left: 0;    right: auto; }
  .block-images--vertical.block-images--right .block-img:nth-child(2) { top: 12vw; left: 33vw; right: auto; }
  .block-images--vertical.block-images--right .block-img:nth-child(3) { top: 0;    left: 65vw; right: auto; }
  .message-content        { flex-direction: column; padding: 0 20px; max-width: 100%; }

  .works-section          { padding: 40px 40px; }
  .works-item__title      { font-size: clamp(20px, 3.2vw, 28px); }
  .message-subtitle       { font-size: clamp(20px, 3.2vw, 28px); }
  .works-item,
  .works-item:nth-child(2) { flex-direction: column; gap: 30px; }
  .works-item__images     { width: 100%; justify-content: center; }
  .block-images--lg {
    --lg: min(360px, calc(100vw - 130px));
    width: var(--lg);
    height: calc(var(--lg) * 5 / 6);
  }
  .block-images--lg .block-img:nth-child(1) { top: 0;                          left: 0;                      width: calc(var(--lg) * 7 / 12); height: calc(var(--lg) * 7 / 18); z-index: 1; }
  .block-images--lg .block-img:nth-child(2) { top: calc(var(--lg) * 5 / 24);  left: auto; right: 0;          width: calc(var(--lg) * 7 / 12); height: calc(var(--lg) * 7 / 18); z-index: 3; }
  .block-images--lg .block-img:nth-child(3) { top: calc(var(--lg) * 4 / 9);   left: calc(var(--lg) / 24);   width: calc(var(--lg) * 7 / 12); height: calc(var(--lg) * 7 / 18); z-index: 2; }
  .block-images--lg.block-images--right .block-img:nth-child(1) { left: auto; right: 0;                       }
  .block-images--lg.block-images--right .block-img:nth-child(2) { left: 0;    right: auto;                    }
  .block-images--lg.block-images--right .block-img:nth-child(3) { left: auto; right: calc(var(--lg) / 24);   }

  .info-section            { padding: 40px 40px; }
  .company-section         { padding: 40px 40px; }
  .contact-section         { padding: 40px 40px; }
  .company-row              { flex-wrap: wrap; }

  .works-section__inner,
  .info-section__inner,
  .company-section__inner {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 30px;
  }

  .sec__tk {
    display: none;
  }
}

/* =========================================================
   RESPONSIVE - MOBILE (max 540px)
   ========================================================= */
@media screen and (max-width: 540px) {
  .hero-section  { height: min(94vh, 560px); min-height: 460px; }
  .hero-en       { font-size: clamp(26px, 11vw, 40px); }
  .hero-jp       { font-size: 13px; }
  .hero-date b   { font-size: 13px; }
  .hero-date span{ font-size: 10px; }

  .banner-section--right  { padding: 0 20px 8px 0; margin-top: 40px; margin-bottom: 40px; }
  .banner-section--left   { padding: 0 0 8px 20px; margin-top: 40px; margin-bottom: 40px; }
  .banner-img              { height: 200px; border-radius: 12px; }

  .announcement-section   { padding: 30px 20px 0; }
  .announcement-veil       { padding: 40px 20px; }
  .announcement-title     { font-size: clamp(18px, 5.5vw, 32px); }
  .announcement-detail    { font-size: 13px; }

  .message-section        { padding: 40px 0; overflow: visible; }
  .message-section__inner { flex-direction: column; gap: 30px; }
  .message-images         { flex: none; width: 100%; min-height: 35vw; overflow: visible; justify-content: flex-start; align-items: flex-start; }
  .block-images           { width: 220px; height: 160px; }
  .block-images .block-img:nth-child(1) { top: 0; left: 0; width: 165px; height: 110px; }
  .block-images .block-img:nth-child(2) { top: 66px; left: 15px; width: 135px; height: 90px; }
  .block-images .block-img:nth-child(3) { top: 30px; left: 66px; width: 150px; height: 100px; }
  .block-images--right .block-img:nth-child(1) { right: 0; left: auto; }
  .block-images--right .block-img:nth-child(2) { right: 15px; left: auto; }
  .block-images--right .block-img:nth-child(3) { right: 66px; left: auto; }
  .block-images--vertical { width: 0; height: 0; }
  .block-images--vertical .block-img:nth-child(1) { top: 12vw; left: 0;    width: 35vw; height: 23vw; z-index: 1; }
  .block-images--vertical .block-img:nth-child(2) { top: 0;    left: 33vw; width: 35vw; height: 23vw; z-index: 3; }
  .block-images--vertical .block-img:nth-child(3) { top: 12vw; left: 65vw; width: 35vw; height: 23vw; z-index: 1; }
  .block-images--vertical.block-images--right .block-img:nth-child(1) { top: 0;    left: 0;    right: auto; }
  .block-images--vertical.block-images--right .block-img:nth-child(2) { top: 12vw; left: 33vw; right: auto; }
  .block-images--vertical.block-images--right .block-img:nth-child(3) { top: 0;    left: 65vw; right: auto; }
  .message-content        { flex-direction: column; padding: 0 20px; max-width: 100%; }

  .works-item__title      { font-size: clamp(14px, 4.5vw, 20px); }
  .message-subtitle       { font-size: clamp(14px, 4.5vw, 20px); }

  .works-section           { padding: 20px; }
  .works-item,
  .works-item:nth-child(2) { flex-direction: column; gap: 30px; }
  .works-item__images     { width: 100%; justify-content: center; }
  .block-images--lg {
    --lg: calc(100vw - 60px);
    width: var(--lg);
    height: calc(var(--lg) * 5 / 6);
  }
  .block-images--lg .block-img:nth-child(1) { top: 0;                          left: 0;                      width: calc(var(--lg) * 7 / 12); height: calc(var(--lg) * 7 / 18); z-index: 1; }
  .block-images--lg .block-img:nth-child(2) { top: calc(var(--lg) * 5 / 24);  left: auto; right: 0;          width: calc(var(--lg) * 7 / 12); height: calc(var(--lg) * 7 / 18); z-index: 3; }
  .block-images--lg .block-img:nth-child(3) { top: calc(var(--lg) * 4 / 9);   left: calc(var(--lg) / 24);   width: calc(var(--lg) * 7 / 12); height: calc(var(--lg) * 7 / 18); z-index: 2; }
  .block-images--lg.block-images--right .block-img:nth-child(1) { left: auto; right: 0;                       }
  .block-images--lg.block-images--right .block-img:nth-child(2) { left: 0;    right: auto;                    }
  .block-images--lg.block-images--right .block-img:nth-child(3) { left: auto; right: calc(var(--lg) / 24);   }
  .works-more              { margin-top: 0; margin-bottom: 40px; }

  .info-section            { padding: 40px 20px; }
  .info-item                { flex-wrap: wrap; gap: 8px 14px; }
  .info-item__title         { white-space: normal; width: 100%; order: 3; }
  .company-section          { padding: 20px; }
  .company-row               { flex-direction: column; gap: 4px; }
  .company-row__label        { flex: none; }
  .contact-section           { padding: 40px 20px; }
}

/* =========================================================
   Floating CTA — 2026ページへ（右下固定）※既存のまま維持
   ========================================================= */
.floating-cta-2026 {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  padding: 15px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9ec7 0%, #ff4d94 46%, #b14bff 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 10px 26px rgba(255, 77, 148, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s cubic-bezier(0.4, 0.4, 0, 1),
              box-shadow 0.25s ease;
  animation: floating-cta-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s backwards;
}

.floating-cta-2026:hover,
.floating-cta-2026:focus-visible {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(255, 77, 148, 0.5), 0 4px 10px rgba(0, 0, 0, 0.15);
  color: #fff;
  outline: none;
}

@keyframes floating-cta-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media screen and (max-width: 540px) {
  .floating-cta-2026 {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    justify-content: center;
    padding: 16px 20px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta-2026 { animation: none; }
  .hero-slide.is-active,
  .hero-scroll::after,
  .marq__track { animation: none !important; }
}
