@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #F6F6F6;
  color: #1C1C1C;
  font-family: 'Noto Sans JP', sans-serif;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #D70E18;
  padding-inline: 20px;
  height: 72px;
}

header .logo {
  height: 100%;
  width: 200px;
  padding: 20px 10px;
}

main {
  display: flex;
  justify-content: center;
  align-items: start;
  min-height: 100vh;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 168px 20px;
  max-width: 1200px;
  width: 100%;
}

.card {
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #fff;
  max-width: 640px;
  width: 100%;
  padding: 10px 16px 30px 16px;
  border-radius: 10px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.08);
}

.card .icon {
  width: 80px;
  height: 80px;
  margin-bottom: 8px;
}

.card h1 {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 10%;
  line-height: 120%;
}

.card p {
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 2%;
  text-align: center;
}

.card p a {
  display: inline-block;
  color: #1C1C1C;
  text-decoration: none;
}

.card p a:hover {
  opacity: 0.6;
}

.card p a:after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: #1C1C1C;
  margin-top: -2px;
}

@media(max-width: 500px) {
  .container {
    padding: 80px 20px;
  }
}
