/* 基本設定 */
:root {
  --primary-color: rgb(0, 1, 51);
  --accent-color: #552626;
  --text-color: #2b2b2b;
  --background-color: #f8f9fa;
  --header-font: "Noto Sans JP", sans-serif;
  --body-font: "Noto Sans JP", sans-serif;
}

body {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--background-color);
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.6;
}

/* ヘッダー */
.logo_nf img {
  width: 300px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo_nf img:hover {
  transform: scale(1.05);
}

.social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.social img:hover {
  transform: rotate(15deg);
}

/* ヒーローセクション */
h1 {
  font-size: clamp(1.5rem, 6vw, 4rem);
  font-family: var(--header-font);
  color: var(--primary-color);
  text-align: center;
  margin: 4rem 0;
  letter-spacing: 0.1em;
  background-image: none;
  border: none;
  position: relative;
  padding: 0 1rem;
  font-weight: 900;
}

h1::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  top: -10px;
  left: 0;
}

h1::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  bottom: -10px;
  left: 0;
}

.rev {
  background-color: var(--primary-color);
  color: white;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  display: inline-block;
  transform: skew(-5deg);
  position: relative;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
  margin: 0 5px;
}

.rev::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
}

.event-description {
  font-size: clamp(1rem, 3vw, 1.25rem);
  text-align: center;
  margin: 2rem auto;
  max-width: 800px;
  padding: 0 1rem;
}

.event-details {
  text-align: center;
  font-family: var(--header-font);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin: 2rem 0;
  line-height: 1.8;
}

/* セクションヘッダー */

h2 {
  font-family: var(--header-font);
  font-size: 2rem;
  color: white;
  background: var(--primary-color);
  padding: 1.5rem 2rem 1rem;
  margin: 3rem 0 2rem;
  border-radius: 8px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
}

h2::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 10px solid var(--primary-color);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

h2::after {
  position: unset;
  content: attr(data-en);
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.8em;
  text-transform: uppercase;
  -webkit-text-stroke-width: 0.6px;
  -webkit-text-stroke-color: white;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  opacity: 0.8;
  border: none;
  word-break: keep-all;
}

/* 企画アイテム */
.plan-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.plan-item:hover {
  transform: translateY(-5px);
}

.plan-item h3 {
  font-family: var(--header-font);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

.plan-item img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* アクセス */
.google-map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

.google-map-container iframe {
  width: 100%;
  border: none;
  vertical-align: bottom;
}

.links ul {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* レスポンシブデザイン */
@media screen and (min-width: 768px) {
  .plan-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
  }

  .plan-item {
    margin: 0;
  }

  .social {
    position: absolute;
    top: 2rem;
    right: 2rem;
  }
}

@media screen and (max-width: 767px) {
  .plan-item {
    margin: 1rem;
  }

  .social {
    justify-content: center;
    margin: 1rem 0;
  }

  .event-details {
    padding: 0 1rem;
  }

  h2::after {
    font-size: 0.8rem;
  }
}

/* ナビゲーション */
nav {
  background: white;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.main-navigation {
  margin: 1rem;
}
