/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.4%; /* 1rem = 10px (ブラウザデフォルト16pxの62.4%) */
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

/* 基本テキストサイズ */
p {
  font-size: var(--font-base);
}

:root {
  --font-jp:
    "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-display:
    "marlide-display-variable", "Arial Black", "Arial-Black", "Helvetica Neue",
    Helvetica, Arial, sans-serif;
  --font-cursive: "Rock Salt", cursive;

  /* Margherita-inspired color palette */
  --bg: #f3e7cf; /* base background (dough + cheese) */
  --surface: #fffdf7; /* cards / blocks (milky mozzarella white) */
  --text: #3a2b22; /* main text */
  --muted: #68594e; /* muted text */
  --tomato: #d54232; /* primary accent (tomato) */
  --tomato-dark: #b33124; /* hover / stronger accent */
  --basil: #2f8c4c; /* secondary accent (basil) */
  --basil-dark: #256c3b; /* hover / darker basil */
  --white: #fff; /* white */
  --day-bg: #6d6d6d; /* day badge background */

  /* Typography scale */
  --font-base: 1.6rem; /* 基本テキストサイズ */

  /* Border radius scale */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px; /* pill shape */
}

/* Main Content Area (for PC layout) */
.main-content {
  /* Mobile: 通常のフロー */
  width: 100%;
  margin: 0;
  padding: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  margin: 0;
  padding: 0;
}

:focus {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  padding: 12px 0;
}

/* PC版ではヘッダーを右側に配置 */
@media screen and (min-width: 768px) {
  .header {
    left: 50%;
    right: 0;
    width: auto;
    background: transparent;
  }

  .header .container {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 16px 40px;
    display: flex;
    justify-content: flex-end;
  }
}

.header-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: transparent;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
}

.nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  background: var(--surface);
  top: 0;
  max-height: 100vh;
}

.nav-list {
  list-style: none;
}

.nav-item {
  border-bottom: 1px solid var(--white);
}

.nav-item:last-child {
  border-bottom: none;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 0;
  transition: color 0.2s;
  text-align: center;
}

.nav-link-en {
  font-family: var(--font-display);
  font-size: var(--font-base);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: center;
}

.nav-link-jp {
  font-family: var(--font-jp);
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.8;
  text-align: center;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--tomato);
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background: var(--text);
  color: var(--white);
  font-weight: bold;
  border-radius: var(--radius-md);
  transition: background 0.2s;
  font-size: 1.4rem;
}

.cta-button:hover,
.cta-button:focus {
  background: var(--muted);
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.1)
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 600px;
}

.hero-title {
  font-size: 9.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-logo {
  height: 2.5rem;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.hero-subtitle {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0.9;
  font-family: var(--font-display);
}

.hero-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--basil);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 50%;
  font-size: var(--font-base);
  line-height: 1.4;
  text-align: center;
  z-index: 4;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

a .hero-badge {
  text-decoration: none;
  color: var(--white);
  transition:
    transform 0.2s,
    background 0.2s;
}

a .hero-badge,
a .hero-badge * {
  color: var(--white);
}

a:hover .hero-badge,
a:focus .hero-badge {
  transform: scale(1.05);
  background: var(--basil-dark);
}

.hero-badge-text {
  font-family: var(--font-cursive);
  font-size: 1.92rem;
  font-weight: 400;
  display: block;
  margin-bottom: 1rem;
}

/* SP Only Elements */
.sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  body {
    display: block;
    height: auto;
    overflow: visible;
  }

  .sp-only {
    display: block;
  }

  .hero {
    overflow: visible;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 0;
    left: 0;
    right: 0;
  }

  .hero-badge {
    width: 40vw;
    height: 40vw;
    font-size: var(--font-base);
    top: auto;
    bottom: -10vw;
    right: 0;
  }
  .hero-badge-sub {
    font-size: 1.92rem;
    font-weight: bold;
  }

  .main-content {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    height: auto !important;
    overflow: visible !important;
    left: 0 !important;
    right: 0 !important;
  }

  .container {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }

  .main-content .container {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }

  /* About: SPでもスライダーは左右0、テキストは20px余白 */
  #about .container {
    padding: 0 !important;
  }

  #about .about-headline,
  #about .about-text {
    padding: 0 20px;
  }

  /* Rules Section - SP adjustments */
  .rules-list {
    max-width: 100%;
  }

  .rules-subtitle {
    font-size: 1.8rem;
    margin-top: 32px;
  }

  /* Timetable - SP adjustments */
  .timetable-label {
    display: block;
  }

  .timetable-label-sub {
    display: block;
    margin-top: 4px;
    text-indent: -1ch;
    overflow: hidden;
  }

  /* Competitors - SP adjustments */
  .tabs {
    margin-bottom: 24px;
    gap: 8px;
  }

  .tab {
    min-width: 100px;
    padding: 12px 16px;
    flex-shrink: 0;
  }

  .tab-label {
    font-size: 1.6rem;
  }

  .tab-sub {
    font-size: 1.1rem;
  }

  .thumb-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .thumb-name {
    font-size: 1.3rem;
    margin-bottom: 3px;
  }

  .thumb-shop {
    font-size: 0.9rem;
  }
}

/* Section Common */
.section {
  padding: 40px 0;
}

.section-title {
  font-size: 3.8rem;
  font-weight: 800;
  text-align: left;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--tomato);
}

.top-title {
  font-size: clamp(2.2rem, 6vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  line-height: 1.8;
  font-family: var(--font-jp);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.section-subtitle {
  text-align: left;
  margin-bottom: 40px;
  color: var(--muted);
  font-family: var(--font-jp);
}

/* Scroll Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-content {
  overflow-x: hidden;
}

/* Card UI */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin-bottom: 24px;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.card-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.card-text {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--muted);
}

/* TOP OF PIZZA Section */
.top-headline {
  font-size: clamp(1.6rem, 4.5vw, 1.8rem);
  font-weight: normal;
  text-align: center;
  margin-bottom: 60px;
  line-height: 2;
  font-family: var(--font-jp);
  font-weight: 600;
  color: var(--muted);
  word-break: keep-all;
  overflow-wrap: break-word;
}

.top-description {
  line-height: 2;
  text-align: center;
  margin-bottom: 32px;
  color: var(--muted);
}

.top-button-wrapper {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
}

/* Button - Common */
.top-button,
.ticket-btn,
.bottom-btn,
.cta-button {
  display: inline-block;
  padding: 16px 24px;
  background: var(--tomato);
  color: var(--white);
  font-weight: 600;
  border-radius: 4px;
  text-align: center;
  transition: background 0.2s;
  font-size: var(--font-base);
}

.top-button:hover,
.top-button:focus,
.ticket-btn:hover,
.ticket-btn:focus,
.bottom-btn:hover,
.bottom-btn:focus,
.cta-button:hover,
.cta-button:focus {
  background: var(--tomato-dark);
}

.ticket-btn-coming-soon {
  opacity: 0.6;
}

/* Recruit button (green) */
.recruit-button {
  display: inline-block;
  padding: 12px 24px;
  margin-top: 16px;
  background: var(--basil);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-pill);
  text-align: center;
  transition:
    background 0.2s,
    transform 0.1s;
}

.recruit-button:hover,
.recruit-button:focus {
  background: var(--basil-dark);
  transform: translateY(-1px);
}

/* About Section */
.artisan-slider {
  position: relative;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  overflow: visible;
  margin-bottom: 32px;
  height: 480px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.artisan-slider-track {
  display: flex;
  gap: 20px;
  animation: slide 30s linear infinite;
  will-change: transform;
}

.artisan-slider:hover .artisan-slider-track {
  animation-play-state: paused;
}

.artisan-slide {
  flex-shrink: 0;
  width: 300px;
  height: 400px;
}

.artisan-slide:nth-child(1) {
  transform: translateY(-40px);
}

.artisan-slide:nth-child(2) {
  transform: translateY(35px);
}

.artisan-slide:nth-child(3) {
  transform: translateY(-25px);
}

.artisan-slide:nth-child(4) {
  transform: translateY(40px);
}

.artisan-slide:nth-child(5) {
  transform: translateY(-30px);
}

.artisan-slide:nth-child(6) {
  transform: translateY(30px);
}

.artisan-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  display: block;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-300px * 6 - 20px * 6));
  }
}

.artisan-slide:nth-child(7) {
  transform: translateY(-40px);
}

.artisan-slide:nth-child(8) {
  transform: translateY(35px);
}

.artisan-slide:nth-child(9) {
  transform: translateY(-25px);
}

.artisan-slide:nth-child(10) {
  transform: translateY(40px);
}

.artisan-slide:nth-child(11) {
  transform: translateY(-30px);
}

.artisan-slide:nth-child(12) {
  transform: translateY(30px);
}

.about-headline {
  font-size: 2.2rem;
  font-weight: bold;
  text-align: justify;
  margin-bottom: 1rem;
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
}

.about-text {
  line-height: 2;
  text-align: justify;
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--font-jp);
  font-weight: 600;
}

/* About section layout: slider full-bleed, text with standard padding */
#about .container {
  padding: 0;
}

#about .about-headline,
#about .about-text {
  padding: 0 20px;
}

/* Schedule Section */
.schedule-grid {
  display: block;
  margin-bottom: 32px;
}

.schedule-card {
  background: var(--surface);
  display: flex;
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
  margin: 1rem 0;
}

.schedule-card-left {
  flex-shrink: 0;
}

.schedule-card-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.schedule-date {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text);
  font-family: var(--font-display);
}

.date-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.date-small {
  font-size: 3.2rem;
  font-weight: 500;
  margin-left: 2px;
  color: var(--text);
  font-family: var(--font-display);
}

.date-large {
  font-size: 6.4rem;
  font-weight: 700;
  margin-top: -4px;
  letter-spacing: 0.1em;
  color: var(--text);
  font-family: var(--font-display);
}

.day {
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: bold;
  text-align: center;
  display: block;
  width: 100%;
  padding: 0.4rem 0.8rem;
  background: var(--day-bg);
  border-radius: var(--radius-pill);
}

.schedule-label {
  font-size: 2.88rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: normal;
  font-family: var(--font-display);
}

.schedule-label-sub,
.timetable-label-sub {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--text);
  line-height: normal;
  font-family: var(--font-jp);
}
.schedule-time {
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 8px;
}

.schedule-shop {
  font-size: 1.4rem;
  line-height: 1.4;
}

.timetable-block {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

.timetable-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timetable-label {
  font-size: 2.24rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.05em;
  font-family: var(--font-display);
  line-height: normal;
}

.timetable-toggle {
  font-size: 2.4rem;
  font-weight: normal;
  color: var(--text);
  cursor: pointer;
}

.timetable-content {
  margin-top: 16px;
  color: var(--text);
  line-height: 1.6;
  display: none;
}

.timetable-content.is-open {
  display: block;
}

.timetable-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
}

.timetable-item {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--white);
}

.timetable-item:last-child {
  border-bottom: none;
}

.timetable-time {
  font-weight: bold;
  min-width: 80px;
}

.timetable-desc {
  flex: 1;
}

/* Contents Section */
.contents-slider {
  margin-bottom: 48px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.contents-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.contents-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.contents-slide {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.contents-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.contents-slider-prev,
.contents-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 2.24rem;
  color: var(--tomato);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
  line-height: 1;
  padding: 0;
}

.contents-slider-prev:hover,
.contents-slider-next:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.contents-slider-prev {
  left: 8px;
}

.contents-slider-next {
  right: 8px;
}

.contents-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.contents-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s;
  backdrop-filter: blur(4px);
}

.contents-slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.contents-slider-dot.active {
  background: var(--tomato);
  transform: scale(1.2);
}

.contents-grid {
  display: block;
  max-width: 800px;
  margin: 0 auto;
}

.content-item {
  margin-bottom: 32px;
}

.content-subtitle {
  margin-bottom: 8px;
  display: flex;
  flex-direction: row;
  align-items: left;
  gap: 12px;
  flex-wrap: wrap;
}

.content-subtitle-en {
  font-size: 2.88rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  font-family: var(--font-cursive);
  color: var(--text);
  white-space: nowrap;
}

.content-subtitle-tag {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-jp);
  color: var(--text);
  white-space: nowrap;
}

.content-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.content-text {
  line-height: 1.8;
  color: var(--muted);
  font-family: var(--font-jp);
  font-weight: 600;
}

/* Rules Section */
.rules-list {
  max-width: 600px;
  margin: 0 auto;
}

.rules-text {
  line-height: 2;
  color: var(--muted);
  font-family: var(--font-jp);
  font-weight: 600;
  margin-bottom: 32px;
}

.rules-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-jp);
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.rules-subtitle:first-of-type {
  margin-top: 0;
}

/* Competitors Section */
.competitors-placeholder {
  text-align: center;
  padding: 60px 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 1.8rem;
  font-family: var(--font-cursive);
  grid-column: 1 / -1;
}

/* Tab Navigation */
.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--white);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab {
  flex: 1;
  min-width: 120px;
  padding: 16px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  color: var(--muted);
}

.tab:hover,
.tab:focus {
  color: var(--text);
  background: rgba(211, 66, 50, 0.05);
}

.tab.active {
  color: var(--tomato);
  border-bottom-color: var(--tomato);
}

.tab-label {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

.tab-sub {
  font-size: 1.2rem;
  font-family: var(--font-jp);
  opacity: 0.8;
}

/* Tab Content */
.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thumb-grid {
  display: grid;
  gap: 16px;
  margin-top: 0;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  position: relative;
}

/* SP版では2列固定 */
@media screen and (max-width: 767px) {
  .thumb-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Thumbnail Wrapper */
.thumb-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

/* モーダル方式なので、activeクラスは不要 */

/* Thumbnail */
.thumb {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease;
  font-family: inherit;
  text-align: left;
  flex-shrink: 0;
}

.thumb:hover {
  transform: scale(1.05);
}

.thumb-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.7);
  transition: filter 0.2s ease;
}

.thumb:hover .thumb-img {
  filter: brightness(0.8);
}

.thumb-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  width: 100%;
  padding: 0 10px;
}

.thumb-name {
  font-size: 1.6rem;
  font-weight: 400;
  font-family: var(--font-cursive);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.thumb-shop {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-jp);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

/* Modal for Competitor Comment */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay {
  display: none; /* オーバーレイを削除 */
}

.modal-content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 90%;
  max-height: 80vh;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--text);
  transition: background 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 1);
}

.modal-body {
  padding: 32px 24px;
  overflow-y: auto;
  flex: 1;
}

.modal-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(58, 43, 34, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-profile {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.04);
}

.modal-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.9);
}

.modal-profile-text {
  flex: 1;
  min-width: 0;
}

.modal-name {
  font-size: 2.4rem;
  font-family: var(--font-cursive);
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.modal-shop {
  font-size: 1.4rem;
  font-family: var(--font-jp);
  color: var(--muted);
  font-weight: 600;
}

.modal-comment {
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1.8;
  font-family: var(--font-jp);
  font-weight: 400;
  white-space: pre-wrap;
  word-wrap: break-word;
}

@media screen and (max-width: 767px) {
  .modal-content {
    max-width: 95%;
    max-height: 85vh;
  }

  .modal-body {
    padding: 24px 20px;
  }

  .modal-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    /* SPもPCと同じ横並び（左：画像 / 右：テキスト） */
  }

  .modal-profile {
    width: 92px;
    height: 92px;
  }

  .modal-name {
    font-size: 2rem;
    margin-bottom: 6px;
  }

  .modal-shop {
    font-size: 1.2rem;
  }

  .modal-comment {
    font-size: 1.4rem;
    line-height: 1.7;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    font-size: 2rem;
    top: 8px;
    right: 8px;
  }
}

/* FAQ Section */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
}

.faq-item summary {
  padding: 10px 20px;
  background: var(--surface);
  border-radius: var(--radius-md);
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s;
  font-size: 1.4rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  display: inline-block;
  margin-right: 12px;
  font-size: 2rem;
  font-weight: normal;
  transition: transform 0.2s;
}

.faq-item[open] summary::before {
  transform: rotate(45deg);
}

.faq-item summary:hover,
.faq-item summary:focus {
  background: var(--white);
}

.faq-content {
  padding: 20px;
  background: var(--surface);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-top: -8px;
  line-height: 1.8;
  color: var(--muted);
  font-size: 1.4rem;
}

.faq-q {
  font-weight: bold;
  margin-bottom: 8px;
}

.faq-a {
  color: var(--muted);
}

/* Tickets Section */
.tickets-info {
  text-align: center;
  margin-bottom: 40px;
}

.tickets-plans {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: left;
}

.ticket-plan {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  padding: 18px 18px;
}

.ticket-plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--white);
  background: var(--day-bg);
}

.ticket-plan-badge-ended {
  background: var(--muted);
}

.ticket-plan .tickets-buttons {
  max-width: none;
  margin: 14px 0 0;
  gap: 10px;
}

.ticket-plan .ticket-btn {
  display: block;
  width: 100%;
}

.ticket-plan-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}

.ticket-plan-desc {
  font-size: 1.4rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.8;
}

.ticket-plan-price {
  margin-top: 10px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
}

.ticket-plan-price span {
  font-size: 2.4rem;
  font-weight: 900;
}

.ticket-plan-details {
  margin-top: 10px;
  border-top: 1px solid rgba(58, 43, 34, 0.1);
  padding-top: 10px;
}

.ticket-plan-summary {
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
}

.ticket-plan-summary::-webkit-details-marker {
  display: none;
}

.ticket-plan-summary::before {
  content: "+";
  display: inline-block;
  margin-right: 10px;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--muted);
}

.ticket-plan-details[open] .ticket-plan-summary::before {
  content: "×";
}

.ticket-plan-summary-price {
  color: var(--text);
  margin-right: 6px;
}

.ticket-plan-summary-price span {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text);
}

.ticket-plan-list {
  margin: 10px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.8;
  font-weight: 600;
}

.tickets-recruit-title {
  font-size: 2.6rem;
  font-weight: 400;
  font-family: var(--font-cursive);
  color: var(--white);
  margin-bottom: 16px;
  text-align: center;
}

.tickets-copy-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto 32px;
  max-width: 90%;
}

.tickets-copy {
  font-size: 1.8rem;
  line-height: 2;
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: 600;
  background: var(--surface);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  margin: 0;
  animation: slowBlink 3s ease-in-out infinite;
}

/* 吹き出しの矢印（下向き） */
.tickets-copy-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--surface);
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.1));
  animation: slowBlink 3s ease-in-out infinite;
}

/* ゆっくり点滅アニメーション */
@keyframes slowBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.tickets-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.tickets-recruit {
  text-align: left;
  padding: 24px;
  background: var(--basil);
  border-radius: var(--radius-md);
  color: var(--surface);
  font-weight: bold;
}

/* Sticky Ticket CTA */
.bottom-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 50;
}

.bottom-cta.is-visible {
  display: block;
}

.bottom-btn {
  width: 100%;
}

/* Footer */
.footer {
  background: var(--tomato);
  padding: 40px 20px;
  text-align: center;
}

.footer-title {
  font-size: 4.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  font-family: var(--font-display);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
}

.footer-logo {
  height: 2rem;
  width: auto;
  display: block;
  margin: 0 auto 4px;
  filter: brightness(0) invert(1);
}

.footer-contact {
  margin-bottom: 8px;
  color: var(--white);
}

.footer-placeholder {
  color: var(--surface);
  margin-bottom: 16px;
}

.footer-text {
  font-size: 1.4rem;
  color: var(--surface);
}

/* Sponsors Section */
.sponsors-section.section {
  padding: 0 0 40px;
}

.sponsors-heading {
  font-family: var(--font-display);
  font-size: 2.6rem;
  letter-spacing: 0.1em;
  color: var(--tomato);
  /* margin-bottom: 12px; */
  text-align: center;
}

.sponsors-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: var(--muted);
  font-family: var(--font-jp);
  font-size: 1.4rem;
}

.sponsors-line {
  font-family: var(--font-jp);
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1.8;
  margin: 0;
  text-align: left;
}

/* Responsive - Tablet and Desktop */
@media screen and (min-width: 768px) {
  /* PC版: 左右分割レイアウト */
  body {
    display: flex;
    flex-direction: row;
    height: 100vh;
    overflow: hidden;
  }

  .header {
    position: fixed;
    top: 0;
    left: 50%;
    right: 0;
    width: auto;
    z-index: 1001;
    padding: 0;
    background: transparent;
  }

  .header .container {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 16px 40px;
    display: flex;
    justify-content: flex-end;
  }

  /* 左半分: Hero */
  .hero {
    position: fixed;
    left: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    margin-top: 0;
    z-index: 1;
  }

  .hero-badge {
    top: 40px;
    right: 40px;
    width: 14vw;
    height: 14vw;
    font-size: 1.8rem;
  }
  .hero-badge-sub {
    font-size: 2.4rem;
    font-weight: 800;
    display: block;
  }
}

/* タブレット縦向き専用スタイル */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-badge {
    width: 18vw;
    height: 18vw;
    font-size: 1.5rem;
    padding: 10px 12px;
  }
  .hero-badge-text {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }
  .hero-badge-sub {
    font-size: 1.8rem;
    font-weight: 800;
  }
}

@media screen and (min-width: 768px) {
  .hero-logo {
    height: 3.5rem;
  }

  /* 右半分: コンテンツエリア */
  .main-content {
    position: relative;
    width: 50%;
    margin-left: 50%;
    overflow-y: auto;
    height: 100vh;
    background: var(--bg);
  }

  .container {
    padding: 0 40px;
  }

  .main-content .container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 12%;
  }

  /* About section: sliderは左右0、テキストは80pxパディング */
  #about .container {
    padding: 0;
  }

  #about .about-headline,
  #about .about-text {
    padding: 0 15%;
  }
  .about-headline {
    font-size: 2.4rem;
  }

  /* PC版でもハンバーガーメニューを表示（共通定義を使用） */

  /* PC版でもメニューはデフォルトで非表示（SPと同じ） */
  .nav {
    position: fixed;
    top: 64px;
    left: 50%;
    right: 0;
    width: 50%;
    background: transparent;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    background: var(--surface);
    top: 0;
    max-height: 100vh;
  }

  .nav-list {
    display: block;
  }

  .nav-link-en {
    font-family: var(--font-display);
  }

  .section {
    padding: 100px 0;
  }

  .sponsors-section.section {
    padding: 0 0 40px;
  }

  .top-title {
    line-height: 2;
    font-size: 3.2rem;
    margin-bottom: 3.2rem;
  }

  .top-headline {
    font-size: 2.2rem;
  }

  .content-subtitle {
    font-size: 2.8rem;
  }

  .artisan-slider {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    height: 580px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .artisan-slide {
    width: 350px;
    height: 467px;
  }

  .thumb-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
  }

  .tabs {
    gap: 8px;
  }

  .tab {
    min-width: 100px;
    padding: 12px 16px;
  }

  .tab-label {
    font-size: 1.8rem;
  }

  /* PC版: 右端に縦書きのCTAボタン */
  .bottom-cta {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    left: auto;
    bottom: auto;
    width: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    display: none;
    z-index: 100;
  }

  .bottom-cta.is-visible {
    display: block;
  }

  .bottom-btn {
    width: auto;
    writing-mode: vertical-rl;
    padding: 24px 16px;
    font-size: var(--font-base);
    letter-spacing: 0.1em;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
  }
}

@media screen and (min-width: 1024px) {
  .thumb-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
}

/* Legal Notice Section (特商法に基づく表示) */
.legal-notice-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-notice-item {
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  border-bottom: 1px solid rgba(58, 43, 34, 0.1);
}

.legal-notice-item:last-child {
  border-bottom: none;
}

.legal-notice-term {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-jp);
  margin-bottom: 12px;
  line-height: 1.6;
}

.legal-notice-desc {
  font-size: 1.4rem;
  color: var(--muted);
  font-family: var(--font-jp);
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

.legal-notice-desc a {
  color: var(--tomato);
  text-decoration: underline;
  transition: color 0.2s;
}

.legal-notice-desc a:hover,
.legal-notice-desc a:focus {
  color: var(--tomato-dark);
}

.legal-notice-highlight {
  text-decoration: underline;
  font-weight: 700;
}

.legal-notice-link {
  text-align: center;
  margin-top: 40px;
  padding: 20px 0;
}

.legal-notice-link-text {
  font-size: var(--font-base);
  font-family: var(--font-jp);
  font-weight: 600;
}

.legal-notice-link-text a {
  color: var(--tomato);
  text-decoration: underline;
  transition: color 0.2s;
}

.legal-notice-link-text a:hover,
.legal-notice-link-text a:focus {
  color: var(--tomato-dark);
}

.legal-notice-back {
  text-align: center;
  margin-top: 60px;
  padding: 20px 0;
}

.legal-notice-back-text {
  font-size: var(--font-base);
  font-family: var(--font-jp);
  font-weight: 600;
}

.legal-notice-back-text a {
  color: var(--tomato);
  text-decoration: underline;
  transition: color 0.2s;
}

.legal-notice-back-text a:hover,
.legal-notice-back-text a:focus {
  color: var(--tomato-dark);
}

/* PC版での特商法表のスタイル調整 */
@media screen and (min-width: 768px) {
  .legal-notice-item {
    flex-direction: row;
    gap: 20px;
    padding: 20px 0;
  }

  .legal-notice-term {
    min-width: 140px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .legal-notice-desc {
    flex: 1;
  }
}
