:root {
  --color-primary: #0f5db8;
  --color-primary-dark: #084a96;
  --color-text: #152033;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-bg: #f7f9fc;
  --color-card: #ffffff;
  --shadow-card: 0 12px 30px rgba(15, 45, 80, 0.12);
}

body.index-landing {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  text-align: left;
  background:
    radial-gradient(circle at 85% 20%, rgba(15, 93, 184, 0.08), transparent 28%),
    radial-gradient(circle at 15% 75%, rgba(15, 93, 184, 0.06), transparent 24%),
    var(--color-bg);
}

body.index-landing a {
  color: inherit;
  text-decoration: none;
}

/* ランディング時のヘッダーメニュー文字を参照デザインに寄せる */
body.index-landing #header {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  box-shadow: none;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

body.index-landing #header .header-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 75px;
  padding: 0 0 0 20px;
  box-sizing: border-box;
}

body.index-landing #header .site-logo {
  float: none;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: auto;
}

body.index-landing #header .header-nav {
  float: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 360px);
}

body.index-landing #header .header-nav-inner {
  width: 100%;
}

body.index-landing #header .infonav {
  position: static;
  top: auto;
  right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.index-landing #header .infonav>.navbar {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: normal;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

body.index-landing #header .infonav>.navbar li {
  margin-left: 28px;
}

body.index-landing #header .infonav>.navbar li:first-child {
  margin-left: 0;
}

body.index-landing #header .infonav>.navbar li a {
  color: #374151;
  background: none;
  padding-left: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.15s ease;
}

body.index-landing #header .infonav>.navbar li a:hover {
  color: var(--color-primary);
}

body.index-landing #header .infonav>.language {
  padding-left: 28px;
}

body.index-landing #header .infonav>.language dl>dt {
  display: none;
}

body.index-landing #header .infonav>.language dl>dd {
  width: 118px;
}

body.index-landing #header .infonav>.language .custom-selectbox .inner {
  height: 34px;
  line-height: 34px;
  background: #fff;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: 8px;
}

body.index-landing #header .infonav>.language .custom-selectbox select {
  height: 34px;
  line-height: 34px;
}

body.index-landing #header .infonav>.language .custom-selectbox .inner .value {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  line-height: 34px;
  padding: 0 28px 0 12px;
  background-position: right 8px center;
}

body.index-landing #header .toggle-button {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  width: 100px;
  height: 75px;
  background: var(--color-secondary);
  color: var(--color-secondary--text);
  margin: 0;
}

body.index-landing #header .toggle-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 75px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-secondary--text);
  text-decoration: none;
  background: transparent;
  transition: opacity 0.15s ease, background-color 0.15s ease;
}

body.index-landing #header .toggle-button a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-secondary--text);
}

body.index-landing #header .toggle-button .toggle-button-text {
  line-height: 1;
}

body.index-landing #header .site-member {
  position: absolute;
  top: 0;
  right: 100px;
  z-index: 15;
  width: auto;
  height: 75px;
  background: var(--color-secondary);
  color: var(--color-secondary--text);
  margin: 0;
}

body.index-landing #header .site-member .regist {
  display: none;
}

body.index-landing #header .site-member .login {
  display: none;
  height: 75px;
}

body.index-landing #header .login .form-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 75px;
  padding: 0 15px;
  background: var(--color-secondary);
  box-sizing: border-box;
  white-space: nowrap;
}

body.index-landing #header .login #form_loginAPI {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

body.index-landing #header .login .form-wrap .item {
  display: flex;
  align-items: center;
  height: 75px;
  padding: 0;
  border: none;
  background: none;
}

body.index-landing #header .login .form-wrap .item label {
  display: none;
}

body.index-landing #header .login input[type=text],
body.index-landing #header .login input[type=password] {
  height: 38px;
  font-size: 13px;
  font-family: inherit;
  background: #ffffff;
  color: #111827;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0 12px;
  box-sizing: border-box;
  outline: none;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.index-landing #header .login input[type=text] {
  width: 170px;
}

body.index-landing #header .login input[type=password] {
  width: 130px;
}

body.index-landing #header .login input[type=text]:focus,
body.index-landing #header .login input[type=password]:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

body.index-landing #header .login button.submit {
  height: 38px;
  line-height: 38px;
  padding: 0 16px;
  width: auto;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: #003369;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: background-color 0.15s ease;
}

body.index-landing #header .login button.submit:hover {
  background: #002247;
}

body.index-landing #header .login .pass {
  padding: 0 0 0 8px;
  margin: 0;
  list-style: none;
  white-space: nowrap;
}

body.index-landing #header .login .pass a {
  font-size: 11px;
  color: var(--color-secondary--text);
  background: url(../images/ico_arr_right_01n.png) no-repeat left center;
  background-size: 3px auto;
  padding-left: 8px;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

body.index-landing #header .login .pass a:hover {
  opacity: 1;
  text-decoration: underline;
}

body.index-landing #header .site-member .nav-close {
  display: none;
}

body.index-landing #header .site-user {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  width: 200px;
  height: 75px;
  background: var(--color-secondary);
  color: var(--color-secondary--text);
  margin: 0;
}

body.index-landing #header .site-user .user-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 75px;
  padding: 8px 12px 10px;
  box-sizing: border-box;
}

body.index-landing #header .site-user .user-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  text-align: center;
}

body.index-landing #header .site-user .name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  word-break: break-all;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
  margin: 0;
  padding: 0;
  background: none;
}

body.index-landing #header .site-user .mypage-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.index-landing #header .site-user .mypage-nav a {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-secondary--text);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  background: none;
  padding: 0;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}

body.index-landing #header .site-user .mypage-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

body.index-landing #wrap {
  flex: 1 0 auto;
  padding-top: 85px;
}

body.index-landing #container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.index-landing #footer {
  flex: 0 0 auto;
  text-align: center;
}

body.index-landing #footer .foot-copy {
  text-align: center;
  padding: 14px 0;
}

body.index-landing #footer .foot-copy p {
  margin: 0;
  text-align: center;
}

.page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 32px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 18px;
}

.hero-content {
  min-width: 0;
  padding-left: 8px;
}

.event-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 15px;
}

.event-label::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: var(--color-primary);
}

.hero-title {
  margin: 0;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hero-title span {
  color: var(--color-primary);
}

.event-info {
  margin-top: 18px;
  display: grid;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
}

.event-info-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.event-date {
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.hero-image-wrap {
  width: 100%;
  min-width: 0;
}

.hero-image-stage {
  position: relative;
  width: 100%;
}

.hero-image-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  background: #dbeafe;
  aspect-ratio: 16 / 9;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.hero-image-card:active {
  cursor: grabbing;
}

.hero-image-track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
}

.hero-image-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.hero-image-card img,
.hero-image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
  pointer-events: none;
}

.hero-image-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none;
  box-sizing: border-box;
}

.hero-image-nav {
  pointer-events: auto;
  position: static;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-text);
  padding: 0;
  margin: 0;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 45, 80, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  transform: none;
}

.hero-image-nav-icon {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  box-sizing: border-box;
}

.hero-image-nav--prev .hero-image-nav-icon {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.hero-image-nav--next .hero-image-nav-icon {
  transform: rotate(45deg);
  margin-right: 3px;
}

.hero-image-wrap:hover .hero-image-nav,
.hero-image-card:focus-within .hero-image-nav {
  opacity: 1;
}

.hero-image-nav:hover {
  background: #fff;
}

.hero-image-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
}

.hero-image-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #d1d5db;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
  flex: 0 0 auto;
}

.hero-image-dot.is-active {
  width: 24px;
  background: var(--color-primary);
}

.notice-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  margin: 0 auto 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 24px rgba(15, 45, 80, 0.08);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.notice-left {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  min-width: 0;
}

.notice-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-size: 26px;
  flex: 0 0 auto;
}

.notice-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 2px;
  overflow-wrap: anywhere;
}

.notice-text {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.arrow::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  box-sizing: border-box;
  transform: rotate(45deg);
  margin-right: 2px;
}

.main-action {
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

body.index-landing.is-maintenance #wrap {
  display: flex;
  flex-direction: column;
}

body.index-landing.is-maintenance #container {
  flex: 1 0 auto;
  display: flex;
}

body.index-landing.is-maintenance .page {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 85px - 48px);
}

body.index-landing.is-maintenance .page p {
  margin: 0;
  max-width: 920px;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: 0.01em;
  text-align: center;
  color: #0b3f78;
}

body.index-landing.is-maintenance .page .b {
  font-weight: 900;
  color: #1057ae;
}

body.index-landing.is-maintenance #header .header-nav {
  max-width: calc(100% - 240px);
}

body.index-landing.is-maintenance #header .site-menu {
  right: 0;
}

body.index-landing .auction-button {
  box-sizing: border-box;
  width: 100%;
  min-height: 76px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1267c9, #074cac);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 93, 184, 0.28);
  cursor: pointer;
  padding: 0px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.index-landing .auction-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 36px rgba(15, 93, 184, 0.34);
}

body.index-landing .auction-button.is-disabled {
  pointer-events: none;
  background: #9ca3af;
  box-shadow: none;
}

.auction-button-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.auction-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex: 0 0 auto;
}

.auction-button small {
  display: block;
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 2px;
  font-weight: 700;
}

.auction-button strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.agreement-note {
  margin: 12px 0 14px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-muted);
}

body.index-landing .rule-button {
  min-width: 170px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 45, 80, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 18px;
}

body.index-landing .rule-button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

@media (max-width: 860px) {
  .page {
    padding: 20px 18px 28px;
  }

  body.index-landing.is-maintenance .page p {
    font-size: 24px;
    letter-spacing: 0.02em;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .hero-content {
    padding-left: 0;
  }

  .hero-image-wrap {
    order: -1;
  }

  .hero-image-nav {
    opacity: 1;
    width: 34px;
    height: 34px;
  }

  .hero-image-nav-icon {
    width: 9px;
    height: 9px;
  }

  .notice-card {
    align-items: flex-start;
  }

  .notice-left {
    align-items: flex-start;
  }

  .notice-title {
    font-size: 17px;
  }

  .auction-button {
    min-height: 72px;
  }

  .auction-button strong {
    font-size: 19px;
  }

  body.index-landing #header {
    height: 75px;
    box-sizing: border-box;
  }

  body.index-landing #header .header-inner {
    min-height: 100%;
    height: 100%;
  }

  body.index-landing #header .site-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
  }

  body.index-landing #header .site-logo img {
    height: 48px;
    width: auto;
  }

  body.index-landing #header .toggle-button,
  body.index-landing #header .toggle-button a {
    height: 100%;
  }

  body.index-landing #wrap {
    padding-top: 75px;
  }

  body.index-landing #header .site-member {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    padding-top: 75px;
  }

  body.index-landing #header .site-member .login {
    display: block;
    height: 100%;
  }

  body.index-landing #header .login .form-wrap {
    display: block;
    height: auto;
    padding: 48px 20px 20px;
    white-space: normal;
  }

  body.index-landing #header .login #form_loginAPI {
    display: block;
  }

  body.index-landing #header .login .form-wrap .item {
    display: block;
    height: auto;
  }

  body.index-landing #header .login .form-wrap .item label {
    display: block;
    color: #fff;
    text-align: center;
  }

  body.index-landing #header .login input[type=text],
  body.index-landing #header .login input[type=password] {
    width: 100%;
    height: 40px;
    color: #222;
    -webkit-text-fill-color: #222;
  }
}