:root {
  --ink: #18201f;
  --navy: #083a53;
  --teal: #087c72;
  --teal-dark: #075a55;
  --yellow: #ffd746;
  --orange: #e96713;
  --paper: #fffef8;
  --line: #d4e1df;
  --header: 76px
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px)
}

body.ts-page {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.7 "Noto Sans JP", sans-serif;
  overflow-x: hidden
}

.ts-page *,
.ts-page *:before,
.ts-page *:after {
  box-sizing: border-box
}

.ts-page img {
  display: block;
  max-width: 100%;
  height: auto
}

.ts-page a {
  color: inherit
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  transform: translateY(-150%)
}

.skip-link:focus {
  transform: none
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  height: var(--header);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(8, 58, 83, .15);
  box-shadow: 0 3px 18px #00000014
}

.site-nav {
  width: min(100% - 32px, 1240px);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.site-logo {
  display: flex;
  align-items: center;
  width: min(62vw, 310px);
  height: 100%
}

.site-logo img {
  width: 100%
}

.Toggle {
  position: relative;
  display: grid;
  align-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 11px;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  cursor: pointer
}

.Toggle span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #fff;
  transition: .25s
}

.Toggle.active span:first-child {
  transform: translateY(9px) rotate(45deg)
}

.Toggle.active span:nth-child(2) {
  opacity: 0
}

.Toggle.active span:last-child {
  transform: translateY(-9px) rotate(-45deg)
}

.menu {
  position: fixed;
  inset: var(--header) 0 auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  background: var(--navy);
  transition: .2s
}

.menu.open {
  visibility: visible;
  opacity: 1;
  transform: none
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 12px 20px 24px
}

.menu li {
  border-bottom: 1px solid #ffffff33
}

.menu a {
  display: flex;
  align-items: center;
  min-height: 52px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none
}

body.nav-open {
  overflow: hidden
}

#main-content {
  padding-top: var(--header)
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  isolation: isolate;
  overflow: hidden;
  background: var(--navy)
}

.hero-visual,
.hero-overlay {
  position: absolute;
  inset: 0
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%
}

.hero-overlay {
  z-index: 1;
  background: linear-gradient(90deg, #052b3aF0 0%, #052b3aBD 52%, #052b3a1F)
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 1240px);
  min-height: inherit;
  margin: auto;
  display: flex;
  align-items: center;
  padding: 32px 0
}

.hero-panel {
  width: min(670px, 100%);
  padding: clamp(22px, 4vw, 44px);
  border-left: 7px solid var(--yellow);
  border-radius: 4px 20px 20px 4px;
  background: #fffffff0;
  box-shadow: 0 20px 60px #00000040
}

.hero-kicker {
  margin: 0 0 5px;
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: .08em
}

.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 5.2vw, 66px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.04em
}

.hero h1 span {
  display: block;
  color: var(--orange);
  font-size: .7em;
  letter-spacing: .02em
}

.event-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 16px;
  margin-top: 18px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700
}

.event-summary p {
  margin: 0
}

.event-summary .event-date {
  grid-column: 1/-1;
  font-size: 1.22em
}

.free-label {
  justify-self: start;
  padding: 1px 12px;
  border-radius: 99px;
  background: var(--yellow);
  font-weight: 900
}

.hero-copy {
  max-width: 58ch;
  margin: 16px 0 0;
  font-weight: 500
}

/* ファーストビューのイベント説明文 */
.ts-page .hero-copy {
  font-size: 18px
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 2px solid transparent;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: .18s
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px #0000002e
}

.button.primary {
  background: var(--orange);
  color: #fff
}

.button.secondary {
  background: var(--teal);
  color: #fff
}

.button.outline {
  border-color: var(--navy);
  background: #fff;
  color: var(--navy)
}

.map-button {
  min-width: 210px;
  background: var(--yellow);
  color: #1d1a0d
}

.section {
  padding: clamp(64px, 8vw, 108px) 0
}

.section-inner {
  width: min(100% - 32px, 1160px);
  margin: auto
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .16em
}

.section h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
  font-weight: 900
}

.lead {
  max-width: 800px;
  margin: 24px auto 0;
  font-size: clamp(16px, 1.7vw, 19px)
}

.intro {
  text-align: center;
  background: linear-gradient(#fffef8, #eef8f7)
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none
}

.features li {
  min-height: 150px;
  padding: 24px;
  border-top: 6px solid var(--yellow);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px #053c4617
}

.features strong,
.features span {
  display: block
}

.features strong {
  color: var(--navy);
  font-size: 23px
}

.features span {
  margin-top: 8px
}

/* ABOUT内の3カードの説明文 */
.ts-page .intro .features li>span {
  font-size: 18px
}

.highlights {
  background: #fff
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-top: 36px
}

.experience-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px #083a5314
}

.experience-grid article>img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover
}

.experience-grid article>div {
  padding: 22px
}

.experience-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.4
}

.experience-grid p {
  margin: 10px 0
}

/* PICK UPカードの説明本文だけを拡大 */
.ts-page .highlights .experience-grid article>div>p {
  font-size: 18px
}

.ts-page .highlights .experience-grid article>div>small {
  display: block;
  color: #465756;
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: anywhere
}

.categories {
  color: #fff;
  background: var(--navy)
}

.categories .eyebrow,
.categories h2 {
  color: #fff
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px
}

.category-grid a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 142px;
  padding: 22px;
  border: 2px solid #ffffff52;
  border-radius: 12px;
  background: #ffffff17;
  color: #fff;
  text-decoration: none
}

.category-grid a:hover {
  background: var(--teal)
}

.category-grid strong {
  font-size: 20px
}

.category-grid span {
  margin-top: 6px;
  font-size: 18px
}

.quiz {
  background: #f4f8f7
}

.heading-row {
  display: grid;
  grid-template-columns: 1fr 42%;
  align-items: center;
  gap: 34px
}

.heading-row img {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  object-position: top;
  border-radius: 12px
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px
}

.quiz-grid article {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px #083a531a
}

.division {
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900
}

.quiz-grid h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px
}

.quiz-grid article>p:not(.division) {
  font-size: 18px;
}

.quiz-grid dl {
  margin: 10px 0 24px
}

.quiz-grid dl {
  margin: 10px 0 24px
}

.quiz-grid dl div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line)
}

.quiz-grid dt {
  font-weight: 900
}

.quiz-grid dd {
  margin: 0
}

.quiz-grid .button {
  margin-top: auto
}

.notice {
  margin: 24px 0 0;
  padding: 15px 18px;
  border-left: 5px solid #bd2f2f;
  background: #fff2f2;
  color: #4c1818;
  font-size: 14px
}

.tour {
  background: #fff
}

.tour-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 60px)
}

.tour-grid>img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 38px #083a5324
}

.tour-grid div>p:not(.eyebrow) {
  margin: 20px 0 26px;
  font-size: 22px
}

.access {
  background: var(--teal-dark);
  color: #fff
}

.access-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.access .eyebrow,
.access h2 {
  color: #fff
}

.access p:not(.eyebrow) {
  margin: 10px 0;
  font-size: 18px;
}

.info {
  background: #f0f4f3
}

.info-list {
  margin: 34px 0 0;
  border-top: 1px solid #becdca
}

.info-list>div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #becdca
}

.info-list dt {
  color: var(--navy);
  font-weight: 900
}

.info-list dd {
  margin: 0;
  font-size: 18px
}

.info-list a {
  color: #005d79;
  font-weight: 700
}

.site-footer {
  padding: 40px 0 22px;
  background: #102b37;
  color: #fff
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none
}

.related-link img {
  width: 74px;
  border-radius: 50%
}

.related-link span,
.related-link small {
  display: block
}

.related-link strong {
  font-size: 16px
}

.related-link small,
.site-footer p {
  font-size: 13px
}

.site-footer p {
  margin: 0
}

.back-to-top {
  position: fixed;
  z-index: 500;
  right: 18px;
  bottom: 18px;
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 5px 16px #00000040;
  cursor: pointer
}

.back-to-top.visible {
  display: block
}

.ts-page a:focus-visible,
.ts-page button:focus-visible {
  outline: 4px solid #ffbf00;
  outline-offset: 3px
}

@media(min-width:1024px) {
  :root {
    --header: 84px
  }

  .Toggle {
    display: none
  }

  .menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: transparent
  }

  .menu ul {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.4vw, 24px);
    padding: 0
  }

  .menu li {
    border: 0
  }

  .menu a {
    min-height: 48px;
    color: var(--navy);
    font-size: clamp(14px, 1.05vw, 16px);
    white-space: nowrap
  }

  .menu a:after {
    content: none
  }

  .menu a:hover {
    color: var(--teal)
  }
}

@media(max-width:767px) {
  :root {
    --header: 68px
  }

  .site-nav {
    width: min(100% - 24px, 1240px)
  }

  .site-logo {
    width: min(67vw, 270px)
  }

  .hero-visual img {
    object-position: 50% 20%;
    opacity: .86
  }

  .hero-overlay {
    background: linear-gradient(#042a361a, #042a36b8 39%, #042a36f2)
  }

  .hero-inner {
    align-items: end;
    width: 100%;
    padding: 34vh 12px 12px
  }

  .hero-panel {
    padding: 17px 16px 16px;
    border-left-width: 5px;
    border-radius: 4px 13px 13px 4px
  }

  .hero-kicker {
    font-size: 19.5px
  }

  .hero h1 {
    font-size: clamp(29px, 9vw, 39px)
  }

  .hero h1 span {
    display: inline;
    margin-left: .25em
  }

  .event-summary {
    gap: 0 10px;
    margin-top: 10px;
    font-size: 17px;
    line-height: 1.45
  }

  .hero-copy {
    display: none
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 12px
  }

  .hero-actions .button {
    min-height: 44px;
    padding: 8px 7px;
    font-size: 14px
  }

  .hero-actions .outline {
    grid-column: 1/-1
  }

  .section-inner {
    width: min(100% - 28px, 1160px)
  }

  .features,
  .experience-grid,
  .category-grid,
  .quiz-grid,
  .tour-grid {
    grid-template-columns: 1fr
  }

  .features {
    gap: 12px
  }

  .features li {
    min-height: auto;
    padding: 20px
  }

  .experience-grid {
    gap: 18px
  }

  .experience-grid article>div {
    padding: 18px
  }

  .heading-row {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 24px
  }

  .heading-row img {
    max-height: 190px
  }

  .access-card,
  .footer-inner {
    align-items: stretch;
    flex-direction: column
  }

  .map-button {
    width: 100%
  }

  .info-list>div {
    grid-template-columns: 1fr;
    gap: 5px
  }

  .footer-inner {
    align-items: center;
    text-align: center
  }

  .related-link {
    text-align: left
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px
  }
}

@media(max-width:359px) {
  .hero-inner {
    padding-top: 31vh
  }

  .hero-panel {
    padding: 14px 13px
  }

  .hero h1 {
    font-size: 27px
  }

  .event-summary {
    font-size: 15px
  }

  .hero-actions .button {
    font-size: 13px
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .Toggle span,
  .menu,
  .button {
    transition: none
  }
}

.site-nav {
  background: transparent
}

@media(min-width:768px) {
  .hero h1 {
    font-size: clamp(44px, 4vw, 54px)
  }
}

@media(min-width:1024px) {
  .menu {
    display: block
  }
}

@media(min-width:1024px) {
  .site-header .menu a {
    display: flex;
    color: var(--navy) !important
  }
}

/* キービジュアルを情報パネルから独立させ、全体が見える順序にする */
.hero {
  min-height: auto;
  background: #fff
}

.hero-visual {
  position: relative;
  display: block;
  inset: auto;
  background: url("../img/bg.webp") center/cover no-repeat
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center
}

.hero-overlay {
  display: none
}

.hero-inner {
  width: 100%;
  min-height: auto;
  padding: 0;
  background: var(--navy)
}

.hero-panel {
  width: min(100% - 32px, 1160px);
  margin: clamp(22px, 4vw, 42px) auto;
  padding: clamp(22px, 4vw, 40px);
  border-radius: 4px 20px 20px 4px
}

@media(max-width:767px) {
  .hero-visual {
    background-image: url("../img/bg_sp.png");
    background-position: center bottom
  }

  .hero-visual img {
    width: 100%;
    height: auto;
    opacity: 1;
    object-fit: contain;
    object-position: center
  }

  .hero-inner {
    width: 100%;
    padding: 0
  }

  .hero-panel {
    width: calc(100% - 24px);
    margin: 12px auto;
    padding: 18px 16px
  }

  .hero-copy {
    display: block
  }
}

/* 企画カテゴリーは落ち着いた色調で判別しやすくする */
.category-grid a:nth-child(1) {
  background: #0d615f;
  border-color: #4e9994
}

.category-grid a:nth-child(2) {
  background: #315a70;
  border-color: #7892a1
}

.category-grid a:nth-child(3) {
  background: #66553a;
  border-color: #9b896e
}

.category-grid a:nth-child(1):hover {
  background: #14746f
}

.category-grid a:nth-child(2):hover {
  background: #3d6c85
}

.category-grid a:nth-child(3):hover {
  background: #796649
}

.quiz-entry-image {
  display: block;
  margin-top: auto;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .18s, box-shadow .18s
}

.quiz-entry-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 18px #0000002e
}

.quiz-entry-image img {
  width: 100%;
  height: auto
}

/* スマートフォンメニューアイコンを48px内で均等配置する */
@media(max-width:1023px) {
  .ts-page .Toggle {
    position: relative;
    display: block;
    overflow: hidden
  }

  .ts-page .Toggle span {
    position: absolute !important;
    left: 11px !important;
    right: 11px !important;
    width: auto !important;
    height: 3px !important;
    margin: 0 !important;
    transform: none !important;
    transform-origin: center
  }

  .ts-page .Toggle span:nth-child(1) {
    top: 13px !important
  }

  .ts-page .Toggle span:nth-child(2) {
    top: 22.5px !important
  }

  .ts-page .Toggle span:nth-child(3) {
    top: 32px !important
  }

  .ts-page .Toggle.active span:nth-child(1) {
    top: 22.5px !important;
    transform: rotate(45deg) !important
  }

  .ts-page .Toggle.active span:nth-child(2) {
    opacity: 0 !important
  }

  .ts-page .Toggle.active span:nth-child(3) {
    top: 22.5px !important;
    transform: rotate(-45deg) !important
  }
}

/* ケンセツクイズ注意書きの視認性を高める */
.ts-page .notice {
  padding: 17px 20px;
  border-left-width: 6px;
  border-left-color: #b42626;
  background: #ffe8e8;
  color: #461515;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 4px 14px #7d202014
}

.ts-page .notice strong {
  font-weight: 900
}

/* Theme park x construction site: section rhythm */
.ts-page .section {
  position: relative;
  isolation: isolate;
  overflow: hidden
}

.ts-page .section>.section-inner {
  position: relative;
  z-index: 1
}

.ts-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .18em
}

.ts-page .eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  border-radius: 99px;
  background: var(--yellow);
  transform: skewX(-20deg)
}

.ts-page .highlights {
  background: #eef7f8
}

.ts-page .highlights::before {
  content: "+  +";
  position: absolute;
  z-index: 0;
  top: 34px;
  right: 4vw;
  color: var(--teal);
  font-size: clamp(56px, 8vw, 108px);
  font-weight: 900;
  letter-spacing: .2em;
  line-height: 1;
  opacity: .065;
  transform: rotate(-7deg);
  pointer-events: none
}

.ts-page .quiz {
  background: #fff9e8
}

.ts-page .tour {
  background: #f2f7f9
}

.ts-page .info {
  background: #edf2f1
}

/* PICK UP: attraction-like cards */
.ts-page .experience-grid article {
  position: relative;
  border-top: 6px solid var(--teal);
  box-shadow: 0 12px 34px #083a5318;
  transition: transform .2s ease, box-shadow .2s ease
}

.ts-page .experience-grid article:nth-child(2) {
  border-top-color: #477aa0
}

.ts-page .experience-grid article:nth-child(3) {
  border-top-color: #e18a20
}

.ts-page .experience-grid article:nth-child(4) {
  border-top-color: #735a9b
}

.ts-page .experience-grid article::before {
  content: attr(data-number);
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 14px;
  color: #fff;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
  text-shadow: 0 3px 14px #001b28cc;
  pointer-events: none
}

.ts-page .experience-grid article::after {
  content: attr(data-sticker);
  position: absolute;
  z-index: 3;
  top: 17px;
  right: 15px;
  padding: 6px 11px;
  border: 2px solid #25200b;
  border-radius: 5px;
  background: var(--yellow);
  color: #25200b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .06em;
  box-shadow: 3px 3px 0 #25200b;
  transform: rotate(1.5deg);
  pointer-events: none
}

.ts-page .experience-grid article>img {
  transition: filter .2s ease
}

.ts-page .experience-grid article>div {
  position: relative
}

.ts-page .experience-catch {
  display: inline-block;
  margin: 0 0 7px;
  padding-bottom: 2px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .04em;
  border-bottom: 4px solid var(--yellow)
}

.ts-page .experience-grid article:nth-child(2) .experience-catch {
  color: #315f7e
}

.ts-page .experience-grid article:nth-child(3) .experience-catch {
  color: #9b5309
}

.ts-page .experience-grid article:nth-child(4) .experience-catch {
  color: #624889
}

@media(hover:hover) and (pointer:fine) {
  .ts-page .experience-grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px #083a5329
  }

  .ts-page .experience-grid article:hover>img {
    filter: saturate(1.08) contrast(1.02)
  }
}

/* MORE EVENTS: clearly selectable categories */
.ts-page .category-grid a {
  position: relative;
  padding-top: 54px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease
}

.ts-page .category-grid a::before {
  content: attr(data-label);
  position: absolute;
  top: 17px;
  left: 20px;
  padding: 4px 9px;
  border: 1px solid #ffffff99;
  border-radius: 4px;
  background: #ffffff1f;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .12em;
  transform: rotate(-1deg)
}

.ts-page .category-grid a::after {
  content: "→";
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  transition: transform .18s ease
}

@media(hover:hover) and (pointer:fine) {
  .ts-page .category-grid a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px #0000002e
  }

  .ts-page .category-grid a:hover::after {
    transform: translateX(4px)
  }
}

/* QUIZ CHALLENGE: controlled caution/game accents */
.ts-page .quiz::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: min(42%, 520px);
  height: 9px;
  background: repeating-linear-gradient(135deg, var(--yellow) 0 18px, #292715 18px 34px);
  opacity: .9
}

.ts-page .quiz .eyebrow {
  font-size: 18px;
  color: #765800
}

.ts-page .heading-row img {
  border: 5px solid var(--yellow);
  box-shadow: 8px 8px 0 #083a53
}

.ts-page .quiz-grid article {
  border-top: 6px solid var(--teal)
}

.ts-page .quiz-grid article:nth-child(2) {
  border-top-color: #e18a20
}

.ts-page .quiz-entry-image {
  border: 2px solid #d6b530
}

/* SPECIAL TOUR: limited-access feel */
.ts-page .tour-grid {
  position: relative
}

.ts-page .tour-grid::before {
  content: "SPECIAL!";
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  border: 2px solid #fff;
  border-radius: 5px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .1em;
  box-shadow: 3px 3px 0 var(--navy);
  transform: rotate(-1.5deg)
}

.ts-page .tour-grid>img {
  border: 6px solid #fff;
  outline: 3px solid var(--yellow)
}

.ts-page .tour .button::after,
.ts-page .map-button::after {
  content: "→";
  margin-left: .55em;
  transition: transform .18s ease
}

@media(hover:hover) and (pointer:fine) {

  .ts-page .tour .button:hover::after,
  .ts-page .map-button:hover::after {
    transform: translateX(4px)
  }
}

/* Small construction motifs without additional image assets */
.ts-page .intro::after {
  content: "＋  ⚙  ＋";
  position: absolute;
  z-index: 0;
  right: 3vw;
  bottom: 22px;
  color: var(--teal);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: .18em;
  opacity: .055;
  transform: rotate(-5deg);
  pointer-events: none
}

.ts-page .access::before {
  content: "⌖";
  position: absolute;
  z-index: 0;
  right: 5vw;
  top: 50%;
  color: #fff;
  font-size: clamp(90px, 15vw, 190px);
  line-height: 1;
  opacity: .06;
  transform: translateY(-50%);
  pointer-events: none
}

@media(max-width:767px) {
  .ts-page .eyebrow {
    font-size: 15px
  }

  .ts-page .highlights::before,
  .ts-page .intro::after {
    font-size: 52px;
    opacity: .045
  }

  .ts-page .experience-grid article::before {
    top: 9px;
    left: 12px;
    font-size: 50px
  }

  .ts-page .experience-grid article::after {
    top: 14px;
    right: 12px;
    padding: 5px 9px;
    font-size: 11px;
    box-shadow: 2px 2px 0 #25200b
  }

  .ts-page .experience-catch {
    font-size: 14px
  }

  .ts-page .category-grid a {
    min-height: 150px;
    padding-top: 52px
  }

  .ts-page .quiz::before {
    width: 62%;
    height: 7px
  }

  .ts-page .quiz .eyebrow {
    font-size: 16px
  }

  .ts-page .heading-row img {
    border-width: 4px;
    box-shadow: 5px 5px 0 #083a53
  }

  .ts-page .tour-grid::before {
    top: 12px;
    left: 12px;
    font-size: 12px
  }
}

@media(max-width:359px) {
  .ts-page .experience-grid article::before {
    font-size: 43px
  }

  .ts-page .experience-grid article::after {
    max-width: 110px;
    font-size: 10px
  }

  .ts-page .category-grid a::after {
    right: 15px
  }
}

@media(prefers-reduced-motion:reduce) {

  .ts-page .experience-grid article,
  .ts-page .experience-grid article>img,
  .ts-page .category-grid a,
  .ts-page .category-grid a::after,
  .ts-page .tour .button::after,
  .ts-page .map-button::after {
    transition: none
  }
}

/* PCメインビジュアルを80%幅で中央表示 */
@media(min-width:1024px) {
  .ts-page .hero-visual img {
    width: 80%;
    margin-right: auto;
    margin-left: auto
  }
}

/* PCトップメニュー：4カテゴリを控えめに色分け */
@media(min-width:1024px) and (hover:hover) {
  .ts-page .site-header .menu a {
    padding: 0 10px;
    border-bottom: 4px solid transparent;
    border-radius: 6px;
    transition: color .18s, background-color .18s, border-color .18s
  }

  .ts-page .site-header .menu li:nth-child(1) a:hover {
    color: #087c72 !important;
    background: #e8f6f4;
    border-bottom-color: #087c72
  }

  .ts-page .site-header .menu li:nth-child(2) a:hover {
    color: #315f8a !important;
    background: #edf3fa;
    border-bottom-color: #477aa0
  }

  .ts-page .site-header .menu li:nth-child(3) a:hover {
    color: #a65108 !important;
    background: #fff2e5;
    border-bottom-color: #e18a20
  }

  .ts-page .site-header .menu li:nth-child(4) a:hover {
    color: #624889 !important;
    background: #f3eef9;
    border-bottom-color: #735a9b
  }
}

/* クイズ部門名と賞品表示を強調 */
.ts-page .quiz .division {
  padding: 7px 15px;
  font-size: 17px;
  line-height: 1.35
}

.ts-page .prize-list div {
  align-items: center
}

.ts-page .prize-list dt {
  color: var(--navy);
  font-size: 16px
}

.ts-page .prize-list dd {
  color: #bd5200;
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 900;
  line-height: 1.35
}

.ts-page .quiz-grid article:nth-child(2) .prize-list dd {
  color: #9b3e13
}

@media(max-width:767px) {
  .ts-page .quiz .division {
    font-size: 16px
  }

  .ts-page .prize-list div {
    grid-template-columns: 68px 1fr
  }

  .ts-page .prize-list dd {
    font-size: 19px
  }
}

/* ヘッダー右端の「富山をTSUKURU」画像リンク */
.ts-page .site-header .nav-related-site a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-bottom-color: transparent;
  background: transparent
}

.ts-page .site-header .nav-related-site img {
  display: block;
  width: 64px;
  height: 64px;
  max-width: none;
  object-fit: contain;
  transition: transform .18s, filter .18s
}

.ts-page .site-header .nav-related-site a:hover {
  background: transparent;
  border-bottom-color: transparent
}

.ts-page .site-header .nav-related-site a:hover img {
  transform: scale(1.04);
  filter: brightness(1.05)
}

@media(min-width:1024px) {
  .ts-page .site-header .nav-related-site a {
    min-height: 64px;
    padding: 3px 0
  }

  .ts-page .site-header .nav-related-site img {
    width: 70px;
    height: 70px
  }
}

@media(prefers-reduced-motion:reduce) {
  .ts-page .site-header .nav-related-site img {
    transition: none
  }
}

/* 見学会の申込ボタンを説明カラム幅に合わせる */
.ts-page .tour .button {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: center
}

.ts-page .tour-grid div>p.tour-deadline {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 2px solid #c73724;
  border-left-width: 7px;
  border-radius: 6px;
  background: #fff0e8;
  color: #6f190f;
  font-size: 16px;
  line-height: 1.55;
  box-shadow: 0 5px 15px #7e1e1418
}

.ts-page .tour-deadline strong,
.ts-page .tour-deadline span {
  display: block
}

.ts-page .tour-deadline strong {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 900;
  line-height: 1.35
}

.ts-page .tour-deadline span {
  margin-top: 5px;
  font-weight: 700
}

/* 5ページ共通トーンの軽量モーション（ts_index） */
@keyframes tsVisualReveal {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes tsSignPop {
  0% {
    opacity: 0;
    transform: translateY(7px) rotate(-3deg)
  }

  70% {
    opacity: 1;
    transform: translateY(-1px) rotate(-1deg)
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(-1.5deg)
  }
}

@keyframes tsMarkerDraw {
  from {
    transform: scaleX(0) skewX(-20deg)
  }

  to {
    transform: scaleX(1) skewX(-20deg)
  }
}

@keyframes tsSoftGlow {

  0%,
  100% {
    box-shadow: 0 12px 34px #083a5318
  }

  50% {
    box-shadow: 0 15px 38px #087c7229
  }
}

.ts-page .hero-visual img {
  animation: tsVisualReveal .8s ease-out both
}

.ts-page .eyebrow::after {
  transform-origin: left center;
  animation: tsMarkerDraw .55s .15s ease-out both
}

.ts-page .experience-grid article::after,
.ts-page .category-grid a::before,
.ts-page .tour-grid::before {
  animation: tsSignPop .48s ease-out both
}

.ts-page .experience-grid article:nth-child(2)::after {
  animation-delay: .08s
}

.ts-page .experience-grid article:nth-child(3)::after {
  animation-delay: .16s
}

.ts-page .experience-grid article:nth-child(4)::after {
  animation-delay: .24s
}

@media(hover:hover) and (pointer:fine) {
  .ts-page .experience-grid article {
    animation: tsSoftGlow 4.8s ease-in-out infinite
  }

  .ts-page .experience-grid article:nth-child(even) {
    animation-delay: -2.4s
  }
}

@media(prefers-reduced-motion:reduce) {

  .ts-page .hero-visual img,
  .ts-page .eyebrow::after,
  .ts-page .experience-grid article,
  .ts-page .experience-grid article::after,
  .ts-page .category-grid a::before,
  .ts-page .tour-grid::before {
    animation: none
  }
}

/* ファーストビュー内の申込画像ボタン */
.ts-page .hero-entry-banners {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 50px
}

.ts-page .hero-entry-banners .tour-entry {
  grid-column: 1/-1
}

.ts-page .hero-entry-banners a {
  display: block;
  overflow: hidden;
  border: 2px solid #d8e0df;
  border-radius: 8px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease
}

.ts-page .hero-entry-banners img {
  display: block;
  width: 100%;
  height: auto
}

@media(hover:hover) and (pointer:fine) {
  .ts-page .hero-entry-banners a:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px #0000002e
  }
}

@media(max-width:767px) {
  .ts-page .hero-entry-banners {
    gap: 6px
  }

  .ts-page .hero-entry-banners a {
    border-width: 1px;
    border-radius: 6px
  }
}

@media(prefers-reduced-motion:reduce) {
  .ts-page .hero-entry-banners a {
    transition: none
  }
}

/* 参加申込アコーディオンメニュー */
.ts-page .menu .nav-entry details {
  width: 100%
}

.ts-page .menu .nav-entry summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  list-style: none;
  cursor: pointer
}

.ts-page .menu .nav-entry summary::-webkit-details-marker {
  display: none
}

.ts-page .menu .nav-entry summary::after {
  content: "+";
  margin-left: 12px;
  font-size: 20px;
  line-height: 1
}

.ts-page .menu .nav-entry details[open]>summary::after {
  content: "-"
}

.ts-page .menu .nav-entry-submenu {
  margin: 0;
  padding: 0 0 10px 14px;
  background: #ffffff0d;
  list-style: none
}

.ts-page .menu .nav-entry-submenu li {
  border-bottom: 1px solid #ffffff24
}

.ts-page .menu .nav-entry-submenu a {
  min-height: 46px;
  padding: 0 10px;
  color: #fff;
  font-size: 14px;
  white-space: normal
}

.ts-page .nav-pc-break {
  display: none
}

@media(max-width:1023px) {
  .ts-page .site-header .menu {
    max-height: calc(100vh - var(--header));
    max-height: calc(100dvh - var(--header));
    overflow-y: auto;
    overscroll-behavior: contain
  }

  .ts-page .site-header .menu {
    text-align: left
  }

  .ts-page .site-header .menu>ul {
    display: block !important;
    height: auto !important;
    min-height: 0;
    margin: 0;
    padding: 12px 20px 24px
  }

  .ts-page .site-header .menu>ul>li {
    display: block;
    width: 100%
  }

  .ts-page .site-header .menu a {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    padding: 0 !important;
    border-top: 0 !important;
    text-align: left
  }

  .ts-page .site-header .menu .nav-entry-submenu {
    display: block;
    height: auto !important
  }

  .ts-page .site-header .menu .nav-entry-submenu a {
    padding: 0 10px !important
  }
}

@media(min-width:1024px) {
  .ts-page .nav-pc-break {
    display: inline
  }

  .ts-page .site-header .menu {
    align-self: stretch;
    height: 100%
  }

  .ts-page .site-header .menu>ul {
    align-items: stretch;
    height: 100% !important
  }

  .ts-page .site-header .menu>ul>li {
    display: flex;
    align-items: center;
    height: 100%
  }

  .ts-page .site-header .menu>ul>li>a {
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
    font-size: clamp(14px, 1.05vw, 16px);
    letter-spacing: 0
  }

  .ts-page .site-header .menu>ul>li>details {
    height: 100%
  }

  .ts-page .site-header .menu>ul>li>details>summary {
    height: 100%;
    box-sizing: border-box
  }

  .ts-page .site-header .menu>ul>li:nth-child(4)>a {
    width: 118px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.25
  }

  .ts-page .menu .nav-entry {
    position: relative
  }

  .ts-page .menu .nav-entry summary {
    min-height: 48px;
    padding: 0 10px;
    border-bottom: 4px solid transparent;
    border-radius: 6px;
    color: var(--navy);
    font-size: clamp(14px, 1.05vw, 16px);
    white-space: nowrap;
    transition: color .18s, background-color .18s, border-color .18s
  }

  .ts-page .menu .nav-entry summary::after {
    content: "▾";
    margin-left: 6px;
    font-size: 12px
  }

  .ts-page .menu .nav-entry details[open]>summary::after {
    content: "▴"
  }

  .ts-page .menu .nav-entry:hover summary,
  .ts-page .menu .nav-entry:focus-within summary {
    color: #806000;
    background: #fff8d9;
    border-bottom-color: #d6aa00
  }

  .ts-page .menu .nav-entry-submenu {
    display: none;
    position: absolute;
    z-index: 1100;
    top: 100%;
    right: 0;
    width: 250px;
    height: auto !important;
    min-height: 0;
    padding: 8px;
    border: 1px solid #d8e0df;
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 12px 30px #0003
  }

  .ts-page .menu .nav-entry:hover .nav-entry-submenu,
  .ts-page .menu .nav-entry:focus-within .nav-entry-submenu,
  .ts-page .menu .nav-entry details[open]>.nav-entry-submenu {
    display: block;
    height: auto !important
  }

  .ts-page .menu .nav-entry-submenu li {
    border: 0
  }

  .ts-page .site-header .menu .nav-entry-submenu a {
    min-height: 44px;
    margin-bottom: 4px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: #f2f6f5;
    color: var(--navy) !important;
    font-size: 14px;
    white-space: normal
  }

  .ts-page .site-header .menu .nav-entry-submenu li:nth-child(1) a {
    background: #e2f4f1;
    color: #075f58 !important
  }

  .ts-page .site-header .menu .nav-entry-submenu li:nth-child(2) a {
    background: #e7f0fa;
    color: #294f73 !important
  }

  .ts-page .site-header .menu .nav-entry-submenu li:nth-child(3) a {
    margin-bottom: 0;
    background: #fff1d6;
    color: #7b4808 !important
  }

  .ts-page .site-header .menu .nav-entry-submenu li:nth-child(1) a:hover {
    background: #ccebe6
  }

  .ts-page .site-header .menu .nav-entry-submenu li:nth-child(2) a:hover {
    background: #d3e4f5
  }

  .ts-page .site-header .menu .nav-entry-submenu li:nth-child(3) a:hover {
    background: #ffe2ad
  }
}
