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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #222;
  background: #f7f7f7;
}

a {
  color: #1a5fb4;
}

a:hover {
  text-decoration: none;
}

.page-header,
.page-footer {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
}

.page-footer {
  border-bottom: none;
  border-top: 1px solid #e5e5e5;
}

.page-header-inner,
.page-main,
.page-footer-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 20px;
}

.page-footer-inner {
  color: #666;
  font-size: 14px;
}

.page-footer-inner p {
  margin: 0;
}

.back-link {
  font-size: 14px;
  text-decoration: none;
}

.content {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 32px 24px;
}

h1 {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.3;
}

h2 {
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 20px;
  line-height: 1.4;
}

h2:first-of-type {
  margin-top: 0;
}

h3 {
  margin: 20px 0 8px;
  font-size: 16px;
  font-weight: 700;
}

p,
ul,
dl {
  margin: 0 0 16px;
}

ul {
  padding-left: 1.4em;
}

.contact dt,
.legal-list dt {
  margin-top: 12px;
  font-weight: 700;
}

.contact dt:first-child,
.legal-list dt:first-child {
  margin-top: 0;
}

.contact dd,
.legal-list dd {
  margin: 4px 0 0;
}

.legal-list {
  margin: 0;
}

.legal-list dt {
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e5e5e5;
}

.legal-list dt:first-child {
  margin-top: 0;
}

.legal-list dd {
  margin: 8px 0 0;
}

@media (max-width: 600px) {
  .content {
    padding: 24px 16px;
  }

  h1 {
    font-size: 24px;
  }
}
