/* =========================================
  CSS Variables
========================================= */
:root {
  --color-primary: #FFF100;
  --color-primary-text: #000000;
  --color-secondary: #004477;
  --color-text: #1a1a1a;
  --color-text-secondary: #666666;
  --color-bg: #ffffff;
  --color-bg-gray: #f7f7f7;
  --color-bg-dark: #1e1e2e;
  --color-border: #e0e0e0;
  --color-placeholder: #e0e0e0;
  --color-white: #ffffff;

  --font-family: 'Noto Sans JP', sans-serif;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  --header-height: 80px;
  --container-max: 1200px;
  --container-padding: 20px;

  --section-padding-pc: 120px;
  --section-padding-sp: 72px;

  --border-radius-card: 16px;
  --border-radius-btn: 8px;

  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-header: 0 2px 12px rgba(0, 0, 0, 0.1);

  --transition: 0.3s ease;
}

/* =========================================
  Reset
========================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.8;
}

ul, ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* =========================================
  Layout
========================================= */
.l-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.l-grid {
  display: grid;
  gap: 32px;
}

.l-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.l-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.l-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.l-flex {
  display: flex;
  align-items: center;
}

/* =========================================
  Section（共通）
========================================= */
.section {
  padding: var(--section-padding-pc) 0;
}

.section--gray {
  background-color: var(--color-bg-gray);
}

#about {
  background-image:
    linear-gradient(rgba(247, 247, 247, 0.90), rgba(247, 247, 247, 0.90)),
    url('../img/about-background.jpg');
  background-size: cover;
  background-position: center;
  background-color: transparent;
}

.section--dark {
  background-color: var(--color-bg-dark);
}

.section--navy {
  background-color: var(--color-secondary);
}

.section--navy .section__title {
  color: #fff;
}

.section--navy .section__title::after {
  background-color: var(--color-primary);
}

.section__title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  text-align: center;
  margin-bottom: 48px;
}

.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background-color: var(--color-primary);
  margin: 16px auto 0;
}

.section__title--light {
  color: var(--color-white);
}

.section__title-sub {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  margin-left: 0.3em;
  vertical-align: middle;
}

.section__lead {
  font-size: 1.125rem;
  margin-bottom: 48px;
  color: var(--color-text-secondary);
}

.section__lead--light {
  color: rgba(255, 255, 255, 0.85);
}

/* =========================================
  Button
========================================= */
.btn .material-symbols-outlined {
  font-size: 1.2em;
  margin-right: 0.5em;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 32px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  border-radius: var(--border-radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--transition), background-color var(--transition), color var(--transition);
  min-width: 160px;
  white-space: nowrap;
}

button.btn {
  -webkit-appearance: none;
  appearance: none;
}

button.btn:not([class*="btn--"]) {
  background: none;
}

.btn:hover {
  opacity: 0.85;
}

.btn--primary {
  background: linear-gradient(135deg, #FFF100 0%, #FFE000 100%);
  color: var(--color-primary-text);
  border: 2px solid var(--color-secondary);
  box-shadow: 0 4px 0 var(--color-secondary);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn--primary:hover {
  opacity: 1;
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--color-secondary);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-text);
  opacity: 1;
}

.btn--large {
  height: 76px;
  padding: 0 64px;
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  border-radius: 9999px;
}

/* =========================================
  Card（共通）
========================================= */
.card {
  background-color: var(--color-white);
  border-radius: var(--border-radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.card__title {
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 12px;
}

.card__text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* =========================================
  Header
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  transition: background-color var(--transition), box-shadow var(--transition);
}

.header.is-scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-header);
}

.header__inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  gap: 32px;
}

.header__logo img {
  /* width: 180px; */
  height: 40px;
  /* background-color: var(--color-placeholder); */
}

.header__nav {
  flex: 1;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav-link {
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  white-space: nowrap;
  padding: 4px 0;
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition);
}

.header__nav-link:hover {
  opacity: 1;
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__cta {
  flex-shrink: 0;
  height: 44px;
  padding: 0 20px;
  font-size: 0.9375rem;
  min-width: auto;
}

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.header__hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
  border-radius: 2px;
}

.header__hamburger[aria-expanded="true"] .header__hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.header__hamburger[aria-expanded="true"] .header__hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header__sp-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-white);
  z-index: 99;
  overflow-y: auto;
}

.header__sp-nav.is-open {
  display: block;
}

.header__sp-nav-list {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.header__sp-nav-link {
  display: block;
  font-size: 1.0625rem;
  font-weight: var(--font-weight-medium);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.header__sp-nav-list .btn {
  margin-top: 24px;
  width: 100%;
}

/* =========================================
  Hero
========================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: var(--header-height);
  min-height: 100vh;
  background-color: var(--color-primary);
  overflow: hidden;
}

/* 背景パターン */
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 24px,
    rgba(0, 0, 0, 0.04) 24px,
    rgba(0, 0, 0, 0.04) 25px
  );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  align-content: start;
  padding-top: 32px;
  padding-bottom: 0;
}

/* 左カラム */
.hero__left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* MICEとは */
.hero__mice {
  grid-column: 1 / -1;
  background-color: rgba(0, 68, 119, 0.07);
  border-radius: 12px;
  padding: 20px 28px;
}

.hero__mice-heading {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.hero__mice-br {
  display: none;
}

.hero__mice-desc {
  font-size: 0.9375rem;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1.7;
  margin-bottom: 16px;
}

.hero__mice-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.hero__mice .hero__buttons {
  justify-content: center;
}

.hero__mice-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--color-primary-text);
}

.hero__mice-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: var(--color-secondary);
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  border-radius: 4px;
  flex-shrink: 0;
}

/* 都市名背景テキスト */
.hero__venue-label {
  position: relative;
}

.hero__venue-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  font-weight: var(--font-weight-bold);
  color: rgba(0, 68, 119, 0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.hero__visual-01 img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__venue-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(4px);
}

.hero__venue-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hero__venue-city {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-text);
  line-height: 1;
}

.hero__venue-tag {
  font-size: 0.8125rem;
  font-weight: var(--font-weight-bold);
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
}

.hero__venue-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero__venue-date {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-text);
  line-height: 1.3;
}

.hero__venue-year {
  font-size: 0.9375rem;
}

.hero__venue-year small {
  font-size: 0.75rem;
}

.hero__venue-days {
  font-size: 1rem;
  line-height: 1.4;
}

.hero__venue-num {
  font-size: 2.25rem;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__venue-days small {
  font-size: 0.8125rem;
  font-weight: var(--font-weight-regular);
}

.hero__venue-time {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-secondary);
}

.hero__venue-name {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary-text);
}

.hero__venue-address,
.hero__venue-organizer {
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.hero__visual-02 {
  width: 100%;
  line-height: 0;
  padding-bottom: 0;
}

.hero__visual-02 img {
  width: 100%;
  height: auto;
  display: block;
}

.btn--secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.btn--secondary:hover {
  opacity: 0.85;
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-primary-text);
  border-color: var(--color-primary-text);
}

.btn--outline-dark:hover {
  background-color: var(--color-primary-text);
  color: var(--color-primary);
  opacity: 1;
}

.hero__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* =========================================
  Footer
========================================= */
.footer {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 56px 0 32px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 48px;
  align-items: start;
}

.footer__logo img {
  width: 160px;
  height: 36px;
}

.footer__company {
  font-size: 1.0625rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 8px;
}

.footer__address {
  font-size: 0.9375rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

.footer__address a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__address a:hover {
  color: var(--color-white);
  opacity: 1;
}

.footer__copyright {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  padding-top: 24px;
  margin-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
  Modal
========================================= */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.modal__content {
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--border-radius-card);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
  padding: 48px 40px 40px;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  border-radius: 50%;
  transition: background-color var(--transition), color var(--transition);
}

.modal__close:hover {
  background-color: var(--color-bg-gray);
  color: var(--color-text);
}

/* =========================================
  Scroll Animations
========================================= */
.js-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.js-fade-in {
  opacity: 0;
  transition: opacity 0.65s ease;
}

.js-fade-in.is-visible {
  opacity: 1;
}

.js-slide-in {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-slide-in.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* =========================================
  Responsive
========================================= */
@media (max-width: 1199px) {
  .l-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 767px) {
  .hero__mice-br {
    display: block;
  }

  .section {
    padding: var(--section-padding-sp) 0;
  }

  .section__title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }

  .section__lead {
    font-size: 1rem;
    margin-bottom: 32px;
  }

  .l-grid--2col,
  .l-grid--3col,
  .l-grid--4col {
    grid-template-columns: 1fr;
  }

  .l-grid {
    gap: 20px;
  }

  .header__nav,
  .header__cta {
    display: none;
  }

  .header__inner {
    position: relative;
  }

  .header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .header__hamburger {
    display: flex;
    margin-left: auto;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 48px;
    min-height: unset;
  }

  .hero__venue-bg-text {
    font-size: 3.5rem;
  }

  .hero__venue-city {
    font-size: 1.5rem;
  }

  .hero__venue-date {
    font-size: 1rem;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__buttons .btn {
    width: 100%;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal__content {
    padding: 40px 20px 28px;
  }

  .btn--large {
    height: 56px;
    padding: 0 32px;
    font-size: 1rem;
  }
}
