/* ------------------------------------------------*/
/* KOZO custom overrides                            */
/* ------------------------------------------------*/

/* Clients & labels — KOZOのロゴは正方形のためテンプレ既定(4.2rem)より大きく表示 */
.mxd-clients__logo {
  height: 12rem;
}
@media only screen and (min-width: 768px) {
  .mxd-clients__logo {
    height: 14rem;
  }
}

/* 混植見出し — 極太サンセリフ(Anton) × セリフイタリック(Instrument Serif)。
   TOPのヒーロー内・インナーヘッドラインのどちらでも使えるよう .kozo-hero-title 単体で効かせる
   （以前は .mxd-hero-06__headline 配下限定になっており、commission/store の見出しに適用されていなかった） */
.kozo-hero-title {
  font-family: 'Anton', 'Manrope', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.04;
}
.mxd-hero-06__headline .kozo-hero-title {
  font-size: clamp(5.2rem, 9.5vw, 13rem);
}
.inner-headline__title .kozo-hero-title {
  font-size: clamp(3.6rem, 6.5vw, 6.4rem);
}
.kozo-hero-title em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: lowercase;
  letter-spacing: 0;
  font-size: .95em;
  padding-right: .05em;
}
/* SplitText の行マスクで descender(y の下端など)が切れないよう余白を確保 */
.kozo-hero-title .line {
  padding-bottom: .09em;
  margin-bottom: -.09em;
}

/* TOPキャプション — テンプレ既定(30px/太字)は大きすぎるため通常ウェイト・小さめに */
.mxd-hero-06__caption p {
  font-weight: 400;
  line-height: 1.55;
}
@media only screen and (min-width: 1200px) {
  .mxd-hero-06__caption {
    max-width: 470px;
  }
  .mxd-hero-06__caption p {
    font-size: 1.8rem;
  }
}

/* フッターを画面下端の固定ブラー(.blur-container, z-index:10)より上に出す。
   最下部のSNSリンクがブラー帯に入りっぱなしで読めなくなるのを防ぐ */
.mxd-footer {
  z-index: 11;
}


/* JP/EN 言語切替ボタン（旧カラースイッチャー枠を流用。モバイルでも文字を表示） */
#lang-switcher {
  width: auto;
  min-width: 3.6rem;
}
#lang-switcher .switcher-text {
  display: inline-flex;
  font: normal 700 1.6rem var(--_font-accent);
  text-transform: uppercase;
  letter-spacing: -0.02rem;
  white-space: nowrap;
}
#lang-switcher .switcher-text::after {
  content: none;
}
@media only screen and (min-width: 768px) {
  #lang-switcher .switcher-text {
    font-size: 1.8rem;
  }
}

/* 依頼フォーム: セレクトを input と同じ見た目に */
form select {
  position: relative;
  display: block;
  width: 100%;
  border: none;
  outline: none;
  margin: 0;
  padding: 1.2rem 0.2rem;
  background-color: transparent;
  border-bottom: 1px solid var(--st-medium);
  font: normal 400 2rem var(--_font-accent);
  height: 5.8rem;
  color: var(--t-bright);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  cursor: pointer;
}
form select:focus {
  border-bottom: 1px solid var(--st-bright);
}
form select option {
  background: #141414;
  color: #fff;
}
/* セレクトの矢印（CSSのみ） */
.kozo-select-wrap {
  position: relative;
}
.kozo-select-wrap::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border-right: 1px solid var(--t-medium);
  border-bottom: 1px solid var(--t-medium);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
/* フォームの小ラベル */
.kozo-field-label {
  display: block;
  margin: 2.4rem 0 0.2rem;
  font: normal 500 1.2rem var(--_font-accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-muted);
}
/* スパム対策ハニーポット（画面には見えない） */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* 送信完了メッセージのアイコンは非表示（絵文字/アイコン不使用の方針） */
.form__reply .reply__icon {
  display: none;
}


/* スマホのクライアントロゴ: 1列左寄せは不格好なため2列グリッドに。
   ラッパーを display:contents で透過し、9個を 2列×4段 + 最後の1つは中央配置 */
@media only screen and (max-width: 991px) {
  .mxd-clients {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem 1.6rem;
    justify-items: center;
    align-items: center;
  }
  .mxd-clients__row,
  .mxd-clients__row .container-fluid,
  .mxd-clients__row .row {
    display: contents;
  }
  .mxd-clients__item {
    width: auto;
    margin: 0;
  }
  .mxd-clients__logo {
    width: auto;
    height: 10rem;
  }
  /* 9個目（奇数の余り）は2列ぶち抜きで中央に */
  .mxd-clients__row:last-child .mxd-clients__item:last-child {
    grid-column: 1 / -1;
  }
}


/* ============================================
   STORE — デジタルコンテンツ販売ページ
   ============================================ */

/* フィルタ + ソートバー */
.kozo-store-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.4rem;
  flex-wrap: wrap;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--st-medium);
  margin-bottom: 4rem;
}
.kozo-store-filters {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.kozo-filter-btn {
  cursor: pointer;
  background: transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.kozo-filter-btn.is-active {
  background-color: var(--t-bright);
  border-color: var(--t-bright);
  color: var(--base);
}

/* 商品グリッド */
.kozo-store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr));
  gap: 4.8rem 2.4rem;
}
.kozo-store-item {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.kozo-store-item.is-filtered-out {
  display: none;
}
.kozo-store-item__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--_radius-m, 1.2rem);
}
.kozo-store-item__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
a.kozo-store-item__media:hover img {
  transform: scale(1.05);
}
.kozo-store-item__cat {
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  background-color: rgba(15, 15, 15, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.kozo-store-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-top: 1.6rem;
}
.kozo-store-item__name {
  font: normal 500 2.2rem/1.3 var(--_font-accent);
  letter-spacing: -0.02rem;
  color: var(--t-bright);
  margin: 0;
}
.kozo-store-item__desc {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--t-muted);
  margin: 0;
}
.kozo-store-item__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1rem;
}
.kozo-store-item__price {
  font: normal 500 2.4rem/1 var(--_font-accent);
  color: var(--t-bright);
  letter-spacing: -0.02rem;
}
.kozo-store-item__price i {
  font-style: normal;
  font-size: 0.7em;
  color: var(--t-muted);
  margin-right: 0.2rem;
}
/* 発売前(Coming Soon) */
.kozo-store-item.is-soon .kozo-store-item__media img {
  filter: grayscale(0.6) brightness(0.75);
}
.kozo-buy.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}
/* 該当なしメッセージ */
.kozo-store-empty {
  padding: 6rem 0;
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .kozo-store-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem 1.2rem;
  }
  .kozo-store-item__name { font-size: 1.8rem; }
  .kozo-store-item__desc { font-size: 1.2rem; }
  .kozo-store-item__row { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   GLOW HERO — menu.html のランディング演出
   （参考: グロー背景 + 大見出し + 浮遊チップ + パートナー行、の構成）
   ============================================ */
.kozo-glow-hero {
  position: relative;
  overflow: hidden;
}
.kozo-glow-hero__glow {
  position: absolute;
  inset: -15% -10% auto -10%;
  height: 90%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 55% at 52% 30%, rgba(255, 255, 255, 0.16), transparent 70%),
    radial-gradient(30% 40% at 28% 18%, rgba(150, 190, 255, 0.10), transparent 70%),
    radial-gradient(30% 40% at 76% 22%, rgba(255, 205, 235, 0.08), transparent 70%);
}
.kozo-glow-hero__stage {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kozo-glow-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(9rem, 16vh, 13rem);
  padding-bottom: 6rem;
}
.kozo-glow-hero__title {
  color: var(--nl-white);
  font-size: clamp(4.4rem, 9vw, 10rem);
  text-align: center;
}
.kozo-glow-hero__sub {
  margin-top: 2.4rem;
  max-width: 56ch;
  color: var(--nl-white-06);
  text-align: center;
  font-weight: 400;
}
.kozo-glow-hero__ctas {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.kozo-glow-hero__beams {
  position: relative;
  width: 100%;
  height: 10rem;
  margin-top: 2rem;
  pointer-events: none;
}
.kozo-glow-hero__beams span {
  position: absolute;
  top: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent 85%);
}
.kozo-glow-hero__beams span:nth-child(1) { left: 46%; height: 55%; }
.kozo-glow-hero__beams span:nth-child(2) { left: 50%; height: 100%; }
.kozo-glow-hero__beams span:nth-child(3) { left: 54%; height: 40%; }

/* Pill buttons — このヒーロー専用の丸ボタン（サイト既定の角丸ボタンとは別に用意） */
.kozo-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem 2.6rem;
  border-radius: 99px;
  font: normal 500 1.5rem var(--_font-accent);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.3s var(--_animbezier), background-color 0.3s, border-color 0.3s, color 0.3s;
}
.kozo-pill-btn svg {
  width: 1.3rem;
  height: 1.3rem;
}
.no-touch .kozo-pill-btn:hover {
  transform: translateY(-0.2rem);
}
.kozo-pill-btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background-color: transparent;
}
.kozo-pill-btn--outline svg {
  fill: #ffffff;
}
.no-touch .kozo-pill-btn--outline:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
}
.kozo-pill-btn--solid {
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}
.no-touch .kozo-pill-btn--solid:hover {
  background-color: rgba(255, 255, 255, 0.85);
}

@media only screen and (max-width: 767px) {
  .kozo-glow-hero__ctas {
    flex-direction: column;
    width: 100%;
    max-width: 30rem;
  }
  .kozo-pill-btn {
    width: 100%;
    justify-content: center;
  }
}

