/* 全体のボックスサイズを調整 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: #A0141A;
  text-decoration: underline;
}

a:visited {
  color: #A0141A;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  vertical-align: middle;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  background: #fff;
}

header a {
  text-decoration: none;
  color: #b22222;
  font-weight: bold;
}

header nav {
  display: flex;
  align-items: center;
}

.lang-switch {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin: 16px;
  padding: 8px 24px 8px;
  text-align: right;
  vertical-align: middle;
  font-size: 1rem;
}

.lang-switch a {
  color: #333;
  text-decoration: none;
  margin: 0 3px;
}

.lang-switch a.active {
  padding-bottom: 2px;
  font-weight: bold;
  border-bottom: 2pt solid #b22222;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  width: 100%;
  height: 970px;
  background: url("./img/img_hero_pc.jpg") no-repeat center/cover;
}

.hero-en {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  width: 100%;
  height: 970px;
  background: url("./img/img_hero_pc_en.jpg") no-repeat center/cover;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.countdown {
  text-align: center;
  padding: 1rem;
  margin: 1rem 0;
}

.countdown h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0px 1px 8px rgba(255, 255, 255, 1);
}

.timer-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.time-box {
  background: #f8f8f8;
  padding: 0.4rem 1rem;
  border-radius: 10px;
  min-width: 70px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.time-box span {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  color: #b22222;
}

.time-box small {
  display: block;
  margin-top: -12px;
  font-size: 1.2rem;
  color: #333;
}

.highlight {
  width: 100%;
  max-width: 848px;
  background: #ffffff;
  padding: 16px 40px;
  border-radius: 48px 48px 0 0;
  text-align: center;
}

.container {
  max-width: 848px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.intro {
  display: flex;
  gap: 24px;
}

.gose-city {
  width: auto;
  max-width: 320px;
}

.column {
  display: flex;
  gap: 24px;
}

.flex-item {
  flex-grow: 1;
  flex-basis: 0;
}

.highlight h2 {
  color: #b22222;
  font-size: 3rem;
  line-height: 132%;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.2rem;
  line-height: 180%;
  margin: 0.5rem 0;
}

.caption {
  font-size: 1rem;
  margin: 4px 0 8px;
  line-height: 140%;
}

h3 {
  font-size: 2rem;
  line-height: 150%;
  color: #b22222;
  margin: 0.5rem 0;
}

h4 {
  font-size: 1.5rem;
  line-height: 150%;
  color: #444;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

ul {
  font-size: 1.2rem;
  line-height: 180%;
  padding-left: 1.5rem;
}

.fullwidth-container {
  display: flex;
  justify-content: center;
  gap: 128px;
  align-items: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 24px 120px 0;
  box-sizing: border-box;
}

.side-image-l {
  width: 100%;
  max-width: 264px;
  height: auto;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease-out;
}

.side-image-r {
  width: 80%;
  max-width: 192px;
  height: auto;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease-out;
}

.mc-photo {
  display: flex;
  justify-content: center;
}

.side-image {
  width: 80%;
  max-width: 234px;
  height: auto;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease-out;
}

.side-image-l.visible,
.side-image-r.visible,
.side-image.visible {
  opacity: 1;
  transform: translateY(0);
}

.column ul {
  list-style: none;
  padding-left: 0;
}

.column ul li {
  margin-bottom: 24px;
}

.badge {
  width: 100%;
  color: #ffffff;
  background-color: #b22222;
  padding: 0 8px;
  border-radius: 4px;
}

.schedule {
  font-size: 1.2rem;
}

.schedule ul {
  min-width: 320px;
  max-width: 480px;
  list-style: none;
  padding: 0;
}

.schedule li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.schedule img {
  width: auto;
}

/* 点線（行全体に引く） */
.schedule li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-bottom: 2px dotted #000000;
  transform: translateY(-50%);
  z-index: 0;
}

.schedule .title {
  font-weight: 600;
}

.schedule .title,
.schedule .time {
  position: relative;
  background: #ffffff;
  /* 親と同じ色で点線を隠す */
  z-index: 1;
  padding: 0 0.4rem;
}

.notice {
  font-size: 1.2rem;
  line-height: 180%;
  background: #fff5e0;
  border-left: 8px solid #f39c12;
  padding: 1rem;
  margin: 2rem 0;
}

/* Q&Aページ */
.qa-container {
  max-width: 848px;
  width: 100%;
  margin: 32px auto;
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.qa-title {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: #333;
}

.qa-item {
  border-bottom: 1px solid #e0e0e0;
}

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

.qa-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 15px;
  font-size: 18px;
  color: #000000;
  cursor: pointer;
  outline: none;
  transition: background 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.qa-question:hover {
  background-color: #f9f9f9;
}

/* 矢印 */
.qa-question::after {
  content: "▼";
  transition: transform 0.3s ease;
  font-size: 16px;
  color: #666;
}

.qa-item.active .qa-question::after {
  transform: rotate(180deg);
}

.qa-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 15px;
}

.qa-answer p {
  margin: 10px 0;
  font-size: 18px;
  color: #555;
  line-height: 1.5;
}

.qa-answer ul {
  font-size: 18px;
  line-height: 1.5;
}

/* コンタクトページ */
.button {
  display: flex;
  gap: 32px;
}

.button .flex-item {
  flex-grow: 1;
  flex-basis: 0;
  width: auto;
  margin: 32px 0;
  padding: 16px;
  background-color: #b22222;
  text-align: center;
  border-radius: 8px;
}

.button .flex-item a {
  text-decoration: none;
  color: #ffffff;
}

.hero-contact {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  width: 100%;
  height: 720px;
  background: url("./img/img_hero_pc-contact.jpg") no-repeat center/cover;
}

.hero-contact-en {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  width: 100%;
  height: 720px;
  background: url("./img/img_hero_pc-contact_en.jpg") no-repeat center/cover;
}

/* フッター */

footer {
  height: 162px;
  border-top: 0.5px solid #666;
  padding-top: 2rem;
  text-align: center;
  font-size: 1.3rem;
  color: #666;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  header {
    font-size: 1rem;
  }

  .hero {
    height: 720px;
  }

  .countdown h2 {
    margin-bottom: 0.2rem;
    font-size: 1.2rem;
  }

  .time-box {
    min-width: 60px;
    padding: 0.2rem 0.6rem;
  }

  .time-box span {
    font-size: 1.5rem;
  }

  .highlight {
    max-width: 600px;
    background: #ffffff;
    padding: 8px 24px;
    border-radius: 32px 32px 0 0;
    text-align: center;
  }

  .highlight h2 {
    font-size: 2rem;
    line-height: 132%;
    margin-bottom: 0.5rem;
  }

  .container {
    max-width: 600px;
  }

  h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
  }

  p {
    font-size: 1rem;
  }

  h4 {
    font-size: 1.2rem;
  }

  ul {
    font-size: 1rem;
  }

  .caption {
    font-size: 0.9rem;
  }

  .notice {
    font-size: 1rem;
  }

  footer {
    height: 128px;
    padding-top: 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero {
    height: 600px;
  }

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

  .qa-container {
    max-width: 600px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 1.5rem 1rem;
  }

  .highlight h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1rem;
    line-height: 1.2;
  }

  header nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lang-switch {
    margin: 8px auto 0;
    font-size: 0.9rem;
  }

  .hero {
    height: 600px;
    background: url("./img/img_hero_mobile.jpg") no-repeat center/cover;
  }

  .hero-contact {
    height: 400px;
    background: url("./img/img_hero_mobile-contact.jpg") no-repeat center/cover;
  }

  .hero-en {
    height: 600px;
    background: url("./img/img_hero_mobile_en.jpg") no-repeat center/cover;
  }

  .hero-contact-en {
    height: 400px;
    background: url("./img/img_hero_mobile-contact_en.jpg") no-repeat center/cover;
  }

  .countdown {
    margin: 0;
  }

  .timer-grid {
    gap: 0.6rem;
  }

  .time-box {
    min-width: 32px;
    margin-bottom: 8px !important;
    padding: 0.2rem 0 !important;
  }

  .time-box span {
    font-size: 1rem;
  }

  .time-box small {
    font-size: 0.9rem;
    margin-top: -8px;
  }

  .highlight {
    max-width: 360px;
  }

  .time-box {
    min-width: 60px;
    padding: 0.8rem 1rem;
  }

  .time-box span {
    font-size: 1.5rem;
  }

  .intro {
    flex-direction: column;
    align-items: center;
  }

  .gose-city {
    margin-left: 24px;
  }

  .fullwidth-container {
    gap: 64px;
  }

  .qa-title {
    font-size: 22px;
  }

  .qa-question {
    font-size: 16px;
    padding: 12px;
  }

  .qa-question a {
    text-decoration: none;
    color: #000000;
  }

  .qa-answer {
    padding: 0 12px;
  }

  .qa-answer p {
    font-size: 16px;
  }

  footer {
    height: 80px;
    padding-top: 1rem;
  }
}