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

html {
  font-size: 100%;
}

body {
  font-family: 'Noto Sans JP', 'メイリオ', Meiryo, sans-serif;
  color: #333;
  line-height: 1.5;
  font-size: 1rem;
}


/* 共通 */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

/* ヘッダー */
.site-header {
  background: #fff;
  border-bottom: 4px solid #000;
  padding: 0 20px;
}

.logo {
  padding: 24px 0 12px;
}

.logo img {
  display: block;
  max-width: 200px;
}

/* 本文 */
.main-content {
  padding: 48px 20px 0;
}

.notice p {
  margin-bottom: 20px;
}

.login-section {
  margin: 48px 0;
}

.login-box {
  padding: 44px 40px 40px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.16);
}

.login-description {
  text-align: center;
  font-weight: 600;
}

.login-note {
  margin: 12px 0 32px;
  text-align: center;
}

.login-button {
  text-align: center;
  margin-bottom: 32px;
}

.login-button a {
  transition: filter 0.3s ease;
  display: inline-block;
}

.login-button a:hover {
  filter: brightness(1.4);
}

.attention {
  padding-top: 20px;
  border-top: 1px dashed #646464;
}

.attention-red {
  color: #F00;
}

/* フッター */
.site-footer {
  margin-top: 80px;
  background: #555;
  color: #fff;
  text-align: center;
  padding: 44px 20px;
}

.site-footer p {
  font-weight: 600;
  line-height: 2;
}

.only-sp {
  display: none;
}


:root {
  --sp-design-width: 390;
  --sp-unit: calc(100vw / var(--sp-design-width));

  --sp-12: calc(12 / var(--sp-design-width) * 100vw);
  --sp-14: calc(14 / var(--sp-design-width) * 100vw);
  --sp-18: calc(18 / var(--sp-design-width) * 100vw);
  --sp-16: calc(16 / var(--sp-design-width) * 100vw);
  --sp-20: calc(20 / var(--sp-design-width) * 100vw);
  --sp-24: calc(24 / var(--sp-design-width) * 100vw);
  --sp-32: calc(32 / var(--sp-design-width) * 100vw);
  --sp-36: calc(36 / var(--sp-design-width) * 100vw);
  --sp-40: calc(40 / var(--sp-design-width) * 100vw);
}

/* SP */
@media (max-width: 767px) {
  p {
    font-size: clamp(12px, var(--sp-14), 14px);
  }

  .site-header {
    padding: 0;
  }

  .logo {
    padding: var(--sp-20) var(--sp-20) var(--sp-16);
  }

  .main-content {
    padding: var(--sp-24) var(--sp-16) 0;
  }

  .notice p {
    margin-bottom: var(--sp-20);
    font-size: clamp(12px, var(--sp-14), 14px);
  }

  .login-section {
    margin: var(--sp-36) 0 var(--sp-18);
  }

  .login-box {
    padding: var(--sp-32) var(--sp-16) var(--sp-24);
  }

  .login-description {
    font-size: clamp(12px, var(--sp-16), 16px);
    margin-bottom: 1em;
  }

  .login-note {
    font-size: clamp(12px, var(--sp-16), 16px);
    margin-bottom: var(--sp-24);
  }

  .login-button {
    margin-bottom: var(--sp-24);
  }

  .attention {
    padding-top: var(--sp-20);
    font-size: clamp(12px, var(--sp-14), 14px);
  }

  .site-footer {
    margin-top: var(--sp-40);
    padding: var(--sp-32) var(--sp-16);
  }

  .site-footer p {
    font-size: clamp(12px, var(--sp-14), 14px);
    line-height: 1.428;
  }

  .site-footer p:last-child {
    margin-top: var(--sp-12);
  }

  .only-pc {
    display: none;
  }

  .only-sp {
    display: block;
  }

}