@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: #f4f6f9;
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

p {
  margin: 0;
}

.notice {
  width: 100%;
  max-width: 720px;
  padding: 48px 56px;
  background: #fff;
  border-top: 4px solid #1f4e8c;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.notice__title {
  margin: 0 0 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e3e7ee;
  font-size: 24px;
  line-height: 1.5;
  text-align: center;
  color: #1f4e8c;
}

.notice__body p + p {
  margin-top: 1em;
}

.contact {
  margin: 32px 0;
  padding: 24px 28px;
  background: #f0f4fa;
  border-left: 4px solid #1f4e8c;
  border-radius: 4px;
}

.contact__title {
  margin: 0 0 8px;
  font-size: 17px;
  color: #1f4e8c;
}

.contact__name {
  font-weight: bold;
}

.contact__mail a {
  color: #1f4e8c;
  font-weight: bold;
  word-break: break-all;
}

.contact__mail a:hover {
  text-decoration: none;
}

.footer {
  margin-top: 24px;
  color: #888;
}

@media (max-width: 600px) {
  body {
    padding: 24px 16px;
    font-size: 15px;
  }

  .notice {
    padding: 32px 20px;
  }

  .notice__title {
    font-size: 20px;
  }

  .contact {
    padding: 20px 16px;
  }

  .contact__label {
    display: block;
  }
}
