html {
  font-size: 1em;
  background: var(--primary-bg-color);
}

body {
  font-size: 1em;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Arial",
    "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.5;
}

.logo {
  width: 30%;
  padding: 1rem;
}

.logo a {
  padding: 0;
  margin: 0;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

main {
  flex: 1;
}

.contents {
  padding: 1.5rem;
}

.contents p {
  font-size: var(--font-size-large);
}

footer {
  width: 100%;
  padding: 1em;
  text-align: center;
  background: var(--secondary-bg-color);
}

footer p {
  font-size: var(--font-size-base);
  color: var(--secondary-text-color);
  line-height: 1.5;
  white-space: pre-line; /* スマホでは改行を有効にする */
}

.p-program__date {
  font-size: var(--font-size-large);
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--primary-text-color);
}

.accent {
  font-size: 1.5em;
  /* color: var(--primary-text-color); */
}

/* ==========================================================================
TOP画像をフルで表示する設定
========================================================================== */
.main_image {
  display: flex;
  justify-content: center;
}

.img-responsive {
  width: 100%;
}

h2 {
  color: var(--primary-text-color);
  text-align: center;
}

/* --- SNSリンクアイコン --- */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.social-links li {
  padding: 0;
  border: none;
  border-radius: 0;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  background-color: #f0f0f0;
  border-radius: 50%;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

.social-links svg {
  width: 28px;
  height: auto;
  flex: none;
}

/* タブレット向けスタイル */
@media (min-width: 768px) {
  .logo {
    width: 15%;
  }
  .p-program__date {
    font-size: var(--font-size-xlarge);
  }

  .contents {
    text-align: center;
  }

  h1 img {
    width: 200px;
  }

  h2 {
    font-size: var(--font-size-xlarge);
  }
}

/* PC向けスタイル */
@media (min-width: 1024px) {
  .header-logo {
    width: 150px;
    padding: 0 20px;
  }

  .wrap {
    max-width: 1200px;
    margin: 0 auto;
  }

  .logo {
    width: 12%;
  }

  .p-program__date {
    font-size: var(--font-size-xxlarge);
  }

  .section {
    max-width: 1024px;
    margin: 0 auto;
  }

  h1 img {
    width: 250px;
  }
}

@media (min-width: 1440px) {
  .logo {
    width: 8%;
  }
}
