@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500&display=swap');
/* ==========================================================================
新生ANDY ティザーページ
クラス名はサイト共通CSSとぶつからないよう、すべて tz- から始めています
========================================================================== */

/* ==========================================================================
共通の値
========================================================================== */
:root {
  --site-header-h: 53px;  /* サイトのヘッダーの高さ */
}
@media screen and (max-width: 767px) {
  :root {
    --site-header-h: 47px;
    --orbit-bottom: calc(100vw * 100 / 390);  /* 固定ボタンの高さ。実際の高さは JS で上書きします */
  }
}

/* ==========================================================================
背景
画面に貼り付けた層に敷くので、スクロールしても背景は動きません
（iPhoneは background-attachment: fixed が効かないため、この方法にしています）
========================================================================== */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  background: url("../img/bg_wall.jpg") center center / cover no-repeat;
}
@media screen and (max-width: 767px) {
  /* 画像の左寄りを使う。少し拡大して下端にそろえ、葉をタイトルより上に逃がす */
  body::before {
    background-size: auto 125%;
    background-position: 0% 100%;
  }
}

/* ==========================================================================
ページ全体の土台
サイト共通CSSの文字設定を、このページの中だけ打ち消しています
========================================================================== */
html.tz-lock {
  overflow: hidden;
}
#andy2026,
.tz-modal {
  color: #2a2826;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
  line-height: normal;
  letter-spacing: normal;
}
#andy2026,
.tz-modal,
.tz-orbit {
  -webkit-font-smoothing: antialiased;
}
#andy2026,
#andy2026 *,
#andy2026 *::before,
#andy2026 *::after,
.tz-modal,
.tz-modal *,
.tz-modal *::before,
.tz-modal *::after {
  box-sizing: border-box;
}
#andy2026 p,
.tz-modal p {
  font-weight: normal !important;  /* under.css の p { font-weight: bold !important } を打ち消す */
}
#andy2026 {
  --tz-light: #e6e4df;
  --tz-dark: #383633;
  --tz-ink: #2a2826;
  --tz-mute: #77716b;
  --tz-line: #d6d2cb;
  --tz-wood: #9a6740;
  --tz-void: #1d1c1b;
  --tz-gap: 6px;  /* マス同士の隙間 */
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas: "info" "panel";
  row-gap: 40px;
  max-width: 1200px;
  margin: var(--site-header-h) auto 0;  /* 固定ヘッダーの分だけ下げる */
  padding: 40px 24px 56px;
}
#andy2026 .tz-serif {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
}
#andy2026 .tz-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
タイトル・商品名・カウントダウン
========================================================================== */
#andy2026 .tz-info {
  grid-area: info;
  text-align: center;
}
#andy2026 .tz-page-title {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.6;
  letter-spacing: .14em;
  font-weight: 500;
}
#andy2026 .tz-page-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  margin: clamp(18px, 2.8vh, 28px) auto clamp(24px, 3.8vh, 40px);
  background: var(--tz-wood);
}
#andy2026 .tz-name {
  margin: 0;
  font-weight: 500;
  line-height: 1;
}
#andy2026 .tz-name span {
  display: block;
}
#andy2026 .tz-name-jp {
  margin: 0 0 .7em;
  padding-left: .36em;
  font-size: clamp(14px, 1.15vw, 18px);
  letter-spacing: .36em;
  color: #722f37;
}
#andy2026 .tz-name-en {
  padding-left: .08em;
  font-size: clamp(60px, 6.6vw, 116px);
  line-height: .92;
  letter-spacing: .08em;
}
#andy2026 .tz-release {
  margin-top: clamp(28px, 4.5vh, 48px);
  padding-top: clamp(18px, 3vh, 28px);
  border-top: 1px solid var(--tz-line);
}
#andy2026 .tz-until {
  margin: 0 0 clamp(14px, 2.2vh, 20px);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--tz-mute);
}
#andy2026 .tz-timer {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: center;
  column-gap: clamp(18px, 2vw, 32px);
}
#andy2026 .tz-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
#andy2026 .tz-unit b {
  min-width: 2ch;
  font-weight: 500;
  font-size: clamp(34px, 3vw, 52px);
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
#andy2026 .tz-unit small {
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--tz-mute);
}

/* ==========================================================================
6つのマス
1枚の外観写真を6分割して表にのせ、押すと裏の特徴が出ます
========================================================================== */
#andy2026 .tz-panel {
  grid-area: panel;
  min-width: 0;
}
#andy2026 .tz-grid {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--tz-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
#andy2026 .tz-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  perspective: 1600px;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
/* 写真のどの位置を見せるか（--pc-c, --sp-c は列、--pc-r, --sp-r は行） */
#andy2026 .tz-tile:nth-child(1) { --pc-c: 0; --pc-r: 0; --sp-c: 0; --sp-r: 0; }
#andy2026 .tz-tile:nth-child(2) { --pc-c: 1; --pc-r: 0; --sp-c: 1; --sp-r: 0; }
#andy2026 .tz-tile:nth-child(3) { --pc-c: 2; --pc-r: 0; --sp-c: 0; --sp-r: 1; }
#andy2026 .tz-tile:nth-child(4) { --pc-c: 0; --pc-r: 1; --sp-c: 1; --sp-r: 1; }
#andy2026 .tz-tile:nth-child(5) { --pc-c: 1; --pc-r: 1; --sp-c: 0; --sp-r: 2; }
#andy2026 .tz-tile:nth-child(6) { --pc-c: 2; --pc-r: 1; --sp-c: 1; --sp-r: 2; }
#andy2026 .tz-card {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform-style: preserve-3d;
  transition: transform 700ms cubic-bezier(.65, 0, .35, 1);
}
#andy2026 .tz-tile.is-open .tz-card {
  transform: rotateY(180deg);
}
#andy2026 .tz-face {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* 表：外観写真の一部 */
#andy2026 .tz-sil {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
  color: #fff;
  font: inherit;
  background-color: var(--tz-void);
  background-image: url("../img/silhouette_pc.jpg");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  background-position: calc(var(--pc-c) * 50%) calc(var(--pc-r) * 100%);
  transition: box-shadow .35s;
}
#andy2026 .tz-sil::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0);
  transition: background .25s;
}
#andy2026 .tz-sil:hover::after {
  background: rgba(255, 255, 255, .08);
}
#andy2026 .tz-sil:focus-visible {
  outline: 3px solid var(--tz-wood);
  outline-offset: -3px;
}

/* マウスを乗せると少し傾いて持ち上がる */
@media (hover: hover) {
  #andy2026 .tz-tile:not(.is-open):hover {
    z-index: 2;
    transform: perspective(1200px) rotateY(-9deg) translateY(-4px);
  }
  #andy2026 .tz-tile:not(.is-open):hover .tz-sil {
    box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .55);
  }
}

/* まだ誰も押していない間、ときどき左上から順にめくれかける */
#andy2026 .tz-tile.is-peek {
  z-index: 2;
  animation: tz-peek .9s cubic-bezier(.45, 0, .25, 1);
}
@keyframes tz-peek {
  0% {
    transform: perspective(1200px) rotateY(0);
  }
  45% {
    transform: perspective(1200px) rotateY(-30deg);
  }
  100% {
    transform: perspective(1200px) rotateY(0);
  }
}

/* 裏：特徴 */
#andy2026 .tz-feat {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 3.4cqi, 40px);
  background: var(--tz-light);
  color: var(--tz-ink);
  cursor: pointer;
}
#andy2026 .tz-tile.is-dark-pc .tz-feat {
  background: var(--tz-dark);
  color: #f1efeb;
}
#andy2026 .tz-num {
  font-size: clamp(24px, 3.9cqi, 46px);
  line-height: 1;
  letter-spacing: .02em;
}
#andy2026 .tz-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#andy2026 .tz-title {
  margin: auto 0;
  font-size: clamp(13px, 2.5cqi, 32px);
  line-height: 1.5;
  letter-spacing: .02em;
}
#andy2026 .tz-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0;  /* サイト共通CSSの button の上余白を打ち消す */
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  letter-spacing: .16em;
  cursor: pointer;
}
#andy2026 .tz-more::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--tz-wood);
  box-shadow: 0 0 0 .5px var(--tz-wood);
  transition: width .25s ease;
}
#andy2026 .tz-more:hover::after {
  width: 34px;
}
#andy2026 .tz-more:focus-visible {
  outline: 2px solid var(--tz-wood);
  outline-offset: 4px;
}

/* ==========================================================================
詳細モーダル
========================================================================== */
.tz-modal {
  width: min(960px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  background: #e3ddd3;
  overflow: auto;
}
.tz-modal:focus {
  outline: none;
}
.tz-modal::backdrop {
  background: rgba(20, 19, 18, .62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.tz-modal[open] {
  animation: tz-pop .35s cubic-bezier(.2, .7, .2, 1);
}
.tz-modal[open]::backdrop {
  animation: tz-fade .35s ease;
}
@keyframes tz-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes tz-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.tz-m-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(560px, calc(100vh - 48px));
}
.tz-m-media {
  position: relative;
  min-height: 280px;
  background: #e6e4df;
}
.tz-m-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 写真の見せる位置（横 縦） */
#tz-modal-01 .tz-m-media img { object-position: 60% 50%; }
#tz-modal-03 .tz-m-media img { object-position: 25% 50%; }
#tz-modal-04 .tz-m-media img { object-position: 48% 55%; }
#tz-modal-05 .tz-m-media img { object-position: 56% 50%; }
#tz-modal-06 .tz-m-media img { object-position: 30% 50%; }
.tz-m-body {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  background: url("../img/bg_wall.jpg") center center / cover no-repeat;
}
/* 文字のかたまりは上下中央より少し上。上のあき：下のあき＝1：3 */
.tz-m-body::before {
  content: "";
  flex: 1;
}
.tz-m-body::after {
  content: "";
  flex: 3;
}
/* 背景の大きな数字。窓の右下で少し切れる */
.tz-m-num {
  position: absolute;
  right: -.07em;
  bottom: -.18em;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(220px, 30vw, 320px);
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.tz-m-title {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.5;
  letter-spacing: .06em;
}
.tz-m-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #4a4642;
}
/* 窓の右上の角に固定。窓の中をスクロールしても見え続ける */
.tz-m-close {
  position: sticky;
  top: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 12px 12px -56px auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #2a2826;
  color: #f4f3f0;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.tz-m-close:hover {
  background: #000;
}
.tz-m-close:focus-visible {
  outline: 2px solid #9a6740;
  outline-offset: 3px;
}

/* ==========================================================================
右下の角を中心に回る文字の輪
大きさと文字は JS で作ります。PCは文字やパネルより下、背景より上に重ねます
========================================================================== */
.tz-orbit {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity .25s ease;
}
/* フッターが近づいたら消す（JS）。消すときは残らないよう一瞬で */
.tz-orbit.is-hidden {
  opacity: 0;
  visibility: hidden;
  transition: none;
}
.tz-orbit svg {
  position: absolute;
  animation: tz-spin 85s linear infinite;
  filter: drop-shadow(0 1px 8px rgba(70, 58, 44, .22));
}
.tz-orbit svg.is-reverse {
  animation-direction: reverse;
}
.tz-orbit svg.is-poem {
  animation-duration: 55s;
}
.tz-orbit svg.is-inner {
  animation-duration: 45s;
}
.tz-orbit svg.tz-orbit-disc {
  animation: none;
  filter: none;
}
.tz-orbit text {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  fill: #fff;
}
.tz-orbit .is-ja {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  letter-spacing: .12em;
}
.tz-orbit .tz-od-y {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  letter-spacing: .3em;
  fill: #000;
}
.tz-orbit .tz-od-md {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  letter-spacing: .02em;
  fill: #000;
}
.tz-orbit .tz-od-l {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 700;
  letter-spacing: .3em;
  fill: #000;
}
@keyframes tz-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
PC（1024px以上）：左にパネル、右に商品名とカウントダウン。1画面に収める
========================================================================== */
@media screen and (min-width: 1024px) {
  #andy2026 {
    --pad-y: 32px;
    --pad-x: clamp(24px, 3.5vw, 64px);
    --gap: clamp(40px, 4.5vw, 88px);
    --info: clamp(300px, 26vw, 440px);
    --scale: .88;  /* パネルの大きさ（1 = 収まる最大） */
    --reserve-h: 64px;  /* パネルの高さを決めるとき、画面の高さから引く余白 */
    grid-template-areas: "panel info";
    grid-template-columns: auto var(--info);
    column-gap: var(--gap);
    row-gap: 0;
    align-items: center;
    justify-content: center;
    max-width: none;
    height: calc(100vh - var(--site-header-h));
    height: calc(100svh - var(--site-header-h));
    padding: var(--pad-y) var(--pad-x);
  }
  #andy2026 .tz-panel {
    width: calc(var(--scale) * min(100vw - 2 * var(--pad-x) - var(--gap) - var(--info), (100vh - var(--site-header-h) - 2 * var(--pad-y) - var(--reserve-h)) * 1.5));
  }
  /* タイトル・ANDY・線・カウントダウンの左右の端をそろえる。
     横幅は ANDY の文字の大きさ（--andy）で決まり、タイトルは字間でその幅に合わせる */
  #andy2026 .tz-info {
    --andy: clamp(68px, 6.6vw, 114px);
    width: calc(var(--andy) * 3.025);
    text-align: left;
  }
  #andy2026 .tz-page-title {
    margin: 0 -.025em clamp(12px, 1.8vh, 18px) -.115em;
    font-size: calc(var(--andy) * .3);
    line-height: 1.4;
    letter-spacing: 0;
    text-align: justify;
    text-align-last: justify;
  }
  #andy2026 .tz-page-title::after {
    display: none;
  }
  #andy2026 .tz-name-jp {
    margin: 0 0 clamp(8px, .85vw, 14px);
    padding-left: 0;
    font-size: clamp(13px, 1.1vw, 18px);
    letter-spacing: .34em;
  }
  #andy2026 .tz-name-en {
    margin-left: -.013em;
    padding-left: 0;
    font-size: var(--andy);
    line-height: 1;
    letter-spacing: .04em;
    white-space: nowrap;
  }
  #andy2026 .tz-release {
    margin-top: clamp(20px, 3.4vh, 36px);
    padding-top: 16px;
  }
  #andy2026 .tz-until {
    margin: 0 0 12px;
    font-size: 11px;
    letter-spacing: .14em;
  }
  #andy2026 .tz-timer {
    justify-content: space-between;
    column-gap: 12px;
  }
  #andy2026 .tz-unit {
    align-items: flex-start;
    gap: 7px;
  }
  #andy2026 .tz-unit b {
    text-align: left;
    font-size: clamp(31px, 2.93vw, 50px);
  }
  #andy2026 .tz-unit:first-child b {
    margin-left: -.045em;
  }
  #andy2026 .tz-unit:last-child b {
    margin-right: -.04em;
  }
  #andy2026 .tz-unit small {
    letter-spacing: .14em;
  }
}

/* ==========================================================================
PC・タブレット（768px以上）：このページはサイト共通のフッターを出さない
========================================================================== */
@media screen and (min-width: 768px) {
  footer {
    display: none;
  }
}

/* ==========================================================================
SP（767px以下）：2列×3行
========================================================================== */
@media screen and (max-width: 767px) {
  #andy2026 {
    --tz-gap: 4px;
    row-gap: 28px;
    /* 下の余白＝固定ボタンの高さ＋輪の大きさ。最後のマスを輪より上までスクロールできる */
    padding: 36px 16px;
  }
  /* 「新生ANDY」→「ありじゃない？半平屋」の順に入れかえる */
  #andy2026 .tz-info {
    display: flex;
    flex-direction: column;
  }
  #andy2026 .tz-name {
    order: 1;
    margin-top: 12px;
  }
  #andy2026 .tz-page-title {
    order: 2;
    margin: clamp(14px, 2.4vh, 22px) 0 0;
  }
  #andy2026 .tz-page-title::after {
    display: none;
  }
  #andy2026 .tz-release {
    order: 3;
    margin-top: calc(clamp(28px, 4.5vh, 48px) - 12px);
  }
  #andy2026 .tz-unit b {
    font-size: 32px;
  }
  #andy2026 .tz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  #andy2026 .tz-sil {
    background-image: url("../img/silhouette_sp.jpg");
    background-size: 200% 300%;
    background-position: calc(var(--sp-c) * 100%) calc(var(--sp-r) * 50%);
  }
  #andy2026 .tz-tile.is-dark-pc .tz-feat {
    background: var(--tz-light);
    color: var(--tz-ink);
  }
  #andy2026 .tz-tile.is-dark-sp .tz-feat {
    background: var(--tz-dark);
    color: #f1efeb;
  }
  #andy2026 .tz-feat {
    padding: 14px 14px 10px;
  }
  #andy2026 .tz-num {
    font-size: 24px;
  }
  #andy2026 .tz-title {
    font-size: clamp(11.5px, 3.7vw, 16px);
    line-height: 1.45;
    letter-spacing: 0;
  }
  #andy2026 .tz-more {
    font-size: 12px;
    letter-spacing: .1em;
    gap: 8px;
  }
  #andy2026 .tz-more::after {
    width: 14px;
  }
  .tz-modal {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .tz-m-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .tz-m-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  #tz-modal-02 .tz-m-media img {
    object-position: 50% 25%;
  }
  .tz-m-body {
    padding: 24px 20px 24px;
    background-size: 220% auto;
  }
  .tz-m-num {
    font-size: 52vw;
  }
  .tz-m-title {
    font-size: 22px;
    margin-bottom: 16px;
  }
  .tz-m-text {
    font-size: 14px;
    line-height: 1.9;
  }
  /* 輪は小さくして、文字やパネルより上に重ねる。
     中心は見える範囲の右下の角（サイト下の固定ボタンのすぐ上）。押す操作は下に通る */
  .tz-orbit {
    z-index: 45;
    bottom: var(--orbit-bottom);
  }
}

/* ==========================================================================
動きを減らす設定の端末
========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .tz-orbit svg {
    animation: none;
  }
  .tz-orbit {
    transition: none;
  }
  #andy2026 .tz-card {
    transition: none;
  }
  #andy2026 .tz-tile,
  #andy2026 .tz-tile:hover {
    transition: none;
    transform: none;
  }
  .tz-modal[open],
  .tz-modal[open]::backdrop {
    animation: none;
  }
}
