

.tp-try { position: relative; background: var(--tp-bg-try); color: var(--tp-white); padding: clamp(28px, 2.5vw, 36px) 0; overflow: clip; }
.tp-try::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1400px, 120vw); aspect-ratio: 2 / 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(194, 161, 90, .14), transparent); pointer-events: none; }
.tp-try .wrap { position: relative; }
.tp-try-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 56px; margin-bottom: clamp(18px, 2vw, 28px); }
.tp-try-head .tp-label { grid-column: 1 / -1; }
.tp-try-head .tp-title { margin: 0; grid-row: 2 / span 2; }
.tp-try-head .tp-try-text { grid-column: 2; grid-row: 2; }
.tp-try-head .tp-try-full { grid-column: 2; grid-row: 3; justify-self: start; }
.tp-try-text { margin: 0 0 .6em; font-size: 14px; line-height: 2; letter-spacing: .08em; color: rgba(255, 255, 255, .72); }


.tp-try-box { position: relative; width: min(100vw - 64px, 1640px, (100svh - 500px) * 1600 / 760); margin-left: calc(50% - min(50vw - 32px, 820px, (100svh - 500px) * 1600 / 760 / 2)); box-sizing: border-box; }
.tp-try-box > input { position: absolute; opacity: 0; pointer-events: none; }


.tp-dev, .tp-themes { display: flex; align-items: center; height: 40px; padding: 0 4px; box-sizing: border-box; border-radius: 999px;
  background: rgba(35, 37, 40, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(194, 161, 90, .4), 0 10px 24px rgba(0, 0, 0, .45); }


.tp-try-bar { position: relative; left: 50%; translate: -50% 0; display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 12px;
  width: min(max(100%, 860px), 100vw - 32px); margin: 0 0 12px; }
.tp-dev { gap: 2px; flex: none; }
.tp-dev label { display: flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; color: rgba(255, 255, 255, .5); cursor: pointer; white-space: nowrap; transition: color .3s, background .3s; }
.tp-dev b { font-family: var(--latin); font-style: italic; font-weight: 400; font-size: 17px; letter-spacing: .06em; }
.tp-dev label:hover { color: rgba(255, 255, 255, .85); }
#tp-dev-pc:checked ~ .tp-try-bar .tp-dev label[for="tp-dev-pc"], #tp-dev-sp:checked ~ .tp-try-bar .tp-dev label[for="tp-dev-sp"] { color: var(--tp-gold); background: rgba(194, 161, 90, .12); }
#tp-dev-pc:focus-visible ~ .tp-try-bar .tp-dev label[for="tp-dev-pc"], #tp-dev-sp:focus-visible ~ .tp-try-bar .tp-dev label[for="tp-dev-sp"] { outline: 2px solid var(--tp-gold); outline-offset: 4px; }


.tp-try-stage { width: 100%; min-width: 0; }
.tp-try-stage--pc { max-width: calc((100svh - 500px) * 1600 / 760); margin-inline: auto; }
.tp-try-stage--sp { display: none; }
#tp-dev-sp:checked ~ .tp-try-stage--pc { display: none; }
#tp-dev-sp:checked ~ .tp-try-stage--sp { display: block; }


.tp-try-screen, .tp-try-phone { position: relative; overflow: hidden; margin-inline: auto; background: #1F2023; }
.tp-try-screen iframe, .tp-try-phone iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; display: block; }
.tp-try-screen iframe { width: 1600px; height: 760px; }
.tp-try-phone iframe { width: 390px; height: 844px; }
.tp-try-screen { border-radius: 10px; box-shadow: 0 0 0 1px rgba(194, 161, 90, .55), 0 0 0 10px #17181A, 0 0 0 11px rgba(255, 255, 255, .08), 0 40px 90px rgba(0, 0, 0, .55); }
.tp-try-stage--pc::after { content: ""; display: block; width: 38%; height: 6px; margin: 10px auto 0; border-radius: 0 0 14px 14px; background: linear-gradient(#1A1B1E, #111214); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }

.tp-try-phone { border-radius: 34px; border: 10px solid #111214; box-sizing: content-box; box-shadow: 0 0 0 1px rgba(194, 161, 90, .5), 0 40px 90px rgba(0, 0, 0, .55); }
.tp-try-phone::before { content: ""; position: absolute; z-index: 2; top: 8px; left: 50%; width: 84px; height: 22px; transform: translateX(-50%); border-radius: 12px; background: #111214; pointer-events: none; }


.tp-try-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 24px; margin: 14px 0 0; }
.tp-try-status { min-height: 1.8em; margin: 0; font-size: 13px; letter-spacing: .1em; color: var(--tp-gold); }


.tp-try-how { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 40px); margin: 14px 0 0; padding: 0; }
.tp-try-how li { display: block; padding: 10px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; line-height: 1.8; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }
.tp-try-how li::before { content: ""; display: block; width: 24px; height: 1px; margin: -11px 0 10px; background: var(--tp-gold); }
.tp-try-how b { display: block; font-family: var(--serif); font-weight: 500; font-size: 14px; line-height: 1.6; letter-spacing: .14em; color: var(--tp-white); white-space: nowrap; }
.tp-try-note { margin: 0; text-align: right; font-size: 11px; letter-spacing: .1em; color: rgba(255, 255, 255, .5); }


.no-js .tp-try-box { display: block; width: auto; margin-left: 0; }
.no-js .tp-try-box > :not(.tp-try-how):not(.tp-try-foot) { display: none; }
.no-js .tp-try-status { display: none; }

@media (max-width: 900px) {
  .tp-try-head { grid-template-columns: 1fr; }
  .tp-try-head .tp-title, .tp-try-head .tp-try-text, .tp-try-head .tp-try-full { grid-column: 1; grid-row: auto; }
  .tp-try-text { margin-top: 18px; }
}
@media (max-width: 900px) {
  .tp-try-how { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
}
@media (max-width: 640px) {
  
  .tp-try-box { width: auto; margin-left: 0; padding-top: 0; }
  .tp-try-bar { display: block; left: 0; translate: none; width: auto; margin: 0; }
  .tp-dev, .tp-themes { position: static; height: auto; padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .tp-dev { justify-content: center; gap: 28px; margin: 0 0 16px; }
  .tp-dev label { height: auto; min-height: 44px; align-items: flex-end; padding: 0 2px 6px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); box-sizing: border-box; }
  #tp-dev-pc:checked ~ .tp-try-bar .tp-dev label[for="tp-dev-pc"], #tp-dev-sp:checked ~ .tp-try-bar .tp-dev label[for="tp-dev-sp"] { background: none; border-bottom-color: var(--tp-gold); }
  .tp-dev b { font-size: 20px; }
  .tp-try-screen { border-radius: 6px; box-shadow: 0 0 0 1px rgba(194, 161, 90, .55), 0 0 0 6px #17181A, 0 24px 50px rgba(0, 0, 0, .55); }
  .tp-try-stage--pc::after { height: 8px; margin-top: 14px; }
  .tp-try-phone { border-width: 8px; border-radius: 30px; }
  .tp-try-stage--sp { max-width: 300px; margin-inline: auto; width: 100%; }
  .tp-try-how { grid-template-columns: 1fr; row-gap: 0; margin-inline: 0; }
  .tp-try-how li { padding-bottom: 14px; }
  .tp-try-foot { flex-direction: column; align-items: center; }
  .tp-try-status { text-align: center; }
  .tp-try-note { margin-inline: 0; text-align: center; }
}


.tp-themes { flex-wrap: nowrap; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; margin: 0; }
.tp-themes::-webkit-scrollbar { display: none; }
.tp-theme { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid transparent; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .7); font: inherit; font-size: 11.5px; letter-spacing: .08em; text-align: left; cursor: pointer; white-space: nowrap; transition: border-color .3s, color .3s, background .3s; }
.tp-theme:hover { color: var(--tp-white); border-color: rgba(255, 255, 255, .3); }
.tp-theme[aria-pressed="true"] { color: var(--tp-gold); border-color: var(--tp-gold); background: rgba(194, 161, 90, .08); }
.tp-theme:focus-visible { outline: 2px solid var(--tp-gold); outline-offset: -2px; }
.tp-theme i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

.tp-theme--ironman2 { --sw: conic-gradient(from -90deg, #2a2c30 0 120deg, #c2a15a 0 240deg, #c0353d 0); }
.tp-theme--retroringo { --sw: conic-gradient(from -90deg, #f4ead8 0 120deg, #d8392b 0 240deg, #1d1512 0); }
.tp-theme--ironman { --sw: conic-gradient(from -90deg, #04131f 0 120deg, #5eeaff 0 240deg, #c49b4c 0); }
.tp-theme--sakurafubuki { --sw: conic-gradient(from -90deg, #fcecf2 0 120deg, #d9668f 0 240deg, #8a5a64 0); }
.tp-theme--konchunohara { --sw: conic-gradient(from -90deg, #ecf8ef 0 120deg, #3a9a66 0 240deg, #a9d9b5 0); }
.tp-theme--kouyou { --sw: conic-gradient(from -90deg, #fdf1e8 0 120deg, #c8462c 0 240deg, #f0a24a 0); }
.tp-theme--yukigeshiki { --sw: conic-gradient(from -90deg, #eef4fa 0 120deg, #3f6f9e 0 240deg, #a9c6e3 0); }
@media (max-width: 640px) {
  .tp-themes { position: static; gap: 8px; max-width: none; margin: 0 -16px 22px; padding: 2px 16px 6px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .tp-themes::-webkit-scrollbar { display: none; }
  .tp-theme { height: auto; min-height: 36px; padding: 0 12px; border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03); font-size: 12px; }
  .tp-theme:focus-visible { outline-offset: 3px; }
}




@media (min-width: 641px) and (max-height: 860px) {
  .tp-try-bar { width: min(max(100%, 660px), 100vw - 32px); margin-bottom: 10px; }
  .tp-dev label { height: 30px; padding: 0 10px; }
  .tp-dev b { font-size: 14px; }
  .tp-themes { gap: 0; }
  .tp-theme { height: 30px; padding: 0 7px; gap: 5px; font-size: 10.5px; letter-spacing: .02em; }
  .tp-theme i { width: 10px; height: 10px; }
}


.tp-try-full { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 0 16px; border: 1px solid rgba(194, 161, 90, .6); border-radius: 999px; background: rgba(194, 161, 90, .08); color: var(--tp-gold); font: inherit; font-size: 12px; letter-spacing: .1em; white-space: nowrap; cursor: pointer; transition: background .3s, color .3s; }
.tp-try-full::before { content: ""; width: 11px; height: 11px; border: 1px solid currentColor; border-radius: 2px; box-shadow: inset 3px 3px 0 -2px var(--tp-charcoal); }
.tp-try-full:hover { background: rgba(194, 161, 90, .18); color: var(--tp-white); }
.tp-try-full:focus-visible, .tp-try-close:focus-visible { outline: 2px solid var(--tp-gold); outline-offset: 3px; }
.tp-try:has(#tp-dev-sp:checked) .tp-try-full { display: none; }  
.tp-try-close { display: none; }
.tp-try .tp-try-box.is-full { position: fixed; inset: 0; z-index: 80; width: auto; margin: 0; padding: 72px 24px 24px; display: flex; flex-direction: column; justify-content: center; background: #121316; animation: none; }
.tp-try .tp-try-box.is-full .tp-try-bar { position: absolute; top: 16px; left: 24px; translate: none; width: calc(100% - 48px - 120px); margin: 0; }
.tp-try-box.is-full .tp-try-close { position: absolute; top: 16px; right: 24px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid rgba(194, 161, 90, .5); border-radius: 999px; background: rgba(35, 37, 40, .9); color: var(--tp-white); font: inherit; font-size: 12px; letter-spacing: .1em; cursor: pointer; }
.tp-try-box.is-full .tp-try-close i { font-style: normal; font-size: 16px; line-height: 1; color: var(--tp-gold); }
.tp-try-box.is-full .tp-try-stage--pc { max-width: none; width: min(100%, (100vh - 150px) * 1600 / 760); margin-inline: auto; flex: none; }
.tp-try-box.is-full .tp-try-stage, .tp-try-box.is-full .tp-try-bar, .tp-try-box.is-full .tp-dev, .tp-try-box.is-full .tp-themes { animation: none; opacity: 1; visibility: visible; transform: none; }
.tp-try-box.is-full .tp-try-stage--pc::after, .tp-try-box.is-full .tp-try-how, .tp-try-box.is-full .tp-try-note { display: none; }
.tp-try-box.is-full .tp-try-foot { justify-content: center; animation: none; opacity: 1; visibility: visible; }
.tp-full-open, .tp-full-open body { overflow: hidden; }
@media (max-width: 640px) {
  .tp-try-full { display: none; }
}


@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .dive-on:not(.motion-off) main { timeline-scope: --mv; }
    .dive-on:not(.motion-off) .tp-movies { view-timeline-name: --mv; }
    .dive-on:not(.motion-off) .tp-movies::after { content: ""; position: fixed; left: 50%; top: 50%; z-index: 5; width: 170vmax; height: 170vmax; border-radius: 50%; pointer-events: none;
      background: #1D1F24; box-shadow: 0 0 0 1px var(--tp-gold), 0 0 0 14px rgba(194, 161, 90, .08), 0 0 90px 12px rgba(194, 161, 90, .22);
      transform: translate(-50%, -50%) scale(0); opacity: 0;
      animation: mv-ripple linear both; animation-timeline: --mv; animation-range: exit 0% exit 100%; }
    
    .dive-on:not(.motion-off) .tp-try-head, .dive-on:not(.motion-off) .tp-try-bar, .dive-on:not(.motion-off) .tp-try-stage, .dive-on:not(.motion-off) .tp-try-foot, .dive-on:not(.motion-off) .tp-try-how {
      animation: try-appear linear both; animation-timeline: --mv; animation-range: exit 88% exit 100%; }
  }
}
@keyframes try-appear { from { opacity: 0; visibility: hidden; } 1% { visibility: visible; } to { opacity: 1; visibility: visible; } }
@keyframes mv-ripple {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  6% { opacity: 1; }
  55% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  90% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0; }
}
