/* --------------------------------
  全体共通
-------------------------------- */
body {
  font: 16px/1.5 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, 'ＭＳ Ｐゴシック',
    'MS PGothic', sans-serif;
  -webkit-text-size-adjust: 100%;
  color: #333;
  background: #faf9f4;
}

.contents {
  max-width: 980px;
  width: calc(100% - 80px);
  margin: 40px auto;
  background: #fff;
  border-radius: 6px;
  padding: 40px;
}

@media screen and (max-width: 768px) {
  .contents {
    width: calc(100% - 32px);
    padding: 32px 16px;
    margin: 16px auto;
  }
}

.text-bold {
  font-weight: bold;
}

/* --------------------------------
  ヘッダー
-------------------------------- */
.header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 40px;
}

.logo {
  height: 64px;
}

.headline {
  font-size: 30px;
  font-weight: 600;
}

@media screen and (max-width: 900px) {
  .headline .sp-none {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .header {
    flex-direction: column;
  }

  .logo {
    height: 48px;
  }

  .headline {
    font-size: 26px;
  }
}

/* --------------------------------
  イメージ
-------------------------------- */
.main-image {
  width: 100%;
  aspect-ratio: 948 / 450;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin-bottom: 48px;
}

/* --------------------------------
  テキストセクション
-------------------------------- */
.message {
  margin-bottom: 48px;
}

.message p {
  line-height: 1.8;
  margin-bottom: 24px;
}
.message p:nth-child(2),
.message p:nth-child(5) {
  margin-bottom: 0;
}

.message ul {
  padding-left: 16px;
}

.message ul li {
  line-height: 1.8;
  list-style-type: disc;
}

@media screen and (max-width: 768px) {
  .message ul li {
    font-size: 16px;
  }
}

/* --------------------------------
  プロフィール
-------------------------------- */
.profile {
  margin-bottom: 48px;
}

.profile h2 {
  margin-top: 24px;
  margin-bottom: 24px;
  font-size: 24px;
}

.profile h2::after {
  background-color: #d95959;
  border-radius: 2px;
  content: '';
  display: block;
  height: 3px;
  margin-top: 10px;
}

.profile-list {
  margin-top: 16px;
}

.profile-item {
  display: flex;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: dashed 1px #ddd;
  line-height: 1.8;
}

.profile-label {
  font-weight: bold;
  width: 140px;
  flex-shrink: 0;
}

.profile-text {
  flex: 1;
}

@media screen and (max-width: 768px) {
  .profile h2 {
    font-size: 20px;
  }

  .profile-item {
    flex-direction: column;
    gap: 4px;
  }

  .profile-label {
    width: auto;
  }
}

/* --------------------------------
  投票案内（notice）
-------------------------------- */
.notice {
  border: 2px solid #ccc;
  padding: 24px;
  margin: 48px 0;
  background-color: #f9f9f9;
  border-radius: 6px;
}

.notice h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.notice p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}

.step-block {
  margin-top: 32px;
}

.step-title {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 8px;
}

.step-subtitle {
  font-weight: bold;
  font-size: 18px;
  margin-top: 16px;
  margin-bottom: 8px;
}

.text-red {
  color: #d95959;
  font-weight: bold;
}

.notice ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin-top: 0;
  margin-bottom: 16px;
}

.notice ol li {
  margin-bottom: 8px;
}

.vote-time {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  color: #d95959;
  font-weight: bold;
  margin-bottom: 16px;
}

.vote-date,
.vote-hour {
  display: inline-block;
}

.web-limit {
  font-size: 12px;
  padding-left: 8px;
}

@media screen and (max-width: 768px) {
  .notice {
    padding: 24px 16px;
  }
  .vote-time {
    flex-direction: column;
    font-size: 15px;
  }
}

/* --------------------------------
  お問い合わせ
-------------------------------- */
.contact h2 {
  margin-top: 24px;
  margin-bottom: 24px;
  font-size: 24px;
}

.contact h2::after {
  background-color: #d95959;
  border-radius: 2px;
  content: '';
  display: block;
  height: 3px;
  margin-top: 10px;
}

.contact p {
  font-size: 18px;
  line-height: 1.2;
  margin-top: 8px;
}

.contact-block {
  display: inline-block;
  margin-bottom: 8px;
  line-height: 1.6;
}

.text-wrap {
  display: block;
  margin-top: 8px;
}

@media screen and (max-width: 768px) {
  .contact h2 {
    font-size: 20px;
  }
}

/* --------------------------------
  display styles
-------------------------------- */
.sp-none {
  display: block;
}
.pc-none {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-none {
    display: none;
  }
  .pc-none {
    display: block;
  }
}
