body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 700;
  text-align: center;
  color: #571500;
  background-color: #2a0c02;
  margin: 0px;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

img {
  width: 100%;
}

/* コンテナのクラス */

.container {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  background-color: #571500;
}

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

.top a {
  color: #fff;
}

/* ミッションカウントダウン */

.mission {
  display: flex;
  padding: 16px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  background: #ffe8c9;
  margin-top: 12px;
}

.mission img {
  width: 90%;
}

.countdown-container {
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  gap: 4px;
}

.label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: calc(13px + 1vw);
  color: #ff3d00;
  line-height: 1;
}

.countdown {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 4px;
}

.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 25%;
  padding-bottom: 20%;
  position: relative;
  background-color: #fff;
  border: 4px solid #571500;
  border-radius: 8px;
  margin: 0px;
  padding-top: 8px;
  padding-bottom: 8px;
  box-sizing: border-box;
  gap: 4px;
}

.number {
  font-size: calc(32px + 2vw);
  line-height: 1;
  color: #ed6c05;
  margin-bottom: 0;
}

.unit {
  font-size: calc(14px + 0.5vw);
  line-height: 1;
  bottom: 10%;
}

/* アンカーリンク */

.anchor-buttons {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  padding: 24px 16px;
}

/* セクション */

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  background: #fff7ec;
}

.section-content {
  display: flex;
  padding: 36px 0px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  border-right: 4px solid #571500;
  border-left: 4px solid #571500;
  background: #fff;
  margin: 0px 20px;
}

.section h2 {
  font-size: 22px;
  line-height: 1.1;
}

.subhead {
  color: #ed6c05;
  font-size: 16px;
  line-height: 1.3;
}

.inner-container {
  display: flex;
  padding: 0px 16px;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.section-content2 {
  display: flex;
  padding-top: 36px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  align-self: stretch;
  border-right: 4px solid #571500;
  border-left: 4px solid #571500;
  background: #fff;
  margin: 0px 20px;
}

/* フッター */

.links {
  display: flex;
  padding: 24px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

.links h2 {
  font-size: 22px;
  line-height: 1.1;
  color: #fff;
}

.footer {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  padding: 8px;
  width: 100%;
  background-color: #000;
}

/* テキストのクラス */

.caption1 {
  font-size: 12px;
}

.caption2 {
  color: #7c5b51;
  font-size: 11px;
  font-weight: 500;
  align-self: stretch;
  line-height: 1.1;
}

/* 画像のクラス */

.button-img {
  width: 90%;
  margin-bottom: 8px;
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 24px;
  border-radius: 8px;
  gap: 24px;
  max-width: 300px;
  width: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.modal-content h2 {
  color: #000;
}

.modal-content p {
  color: #454545;
  font-weight: 500;
}

.modal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.modal-links a {
  color: #0263d8;
}

.modal-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cta {
  display: flex;
  height: 40px;
  padding: 0px 24px;
  justify-content: center;
  align-items: center;
  border-radius: 9999px;
  background: #000;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

#close-modal {
  height: 40px;
  padding: 0px 24px;
  font-size: 14px;
  background: #fff;
  color: #454545;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
