@charset "UTF-8";

/* ---------------------------------
  Reset
--------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ---------------------------------
  Base
--------------------------------- */
:root {
  --color-accent: #0758bb;
  --color-sub: #f9e112;
  --color-text-main: #1f3251;
  --color-text-sub: #798392;
  --color-bg-secondary: #f2f7fd;
  --color-border-solid: #b6c7e2;
}

html {
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text-main);
  background-color: var(--color-bg-secondary);
  -webkit-font-smoothing: antialiased;
}

/* ---------------------------------
  Layout
--------------------------------- */
.l-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.l-header {
  display: flex;
  justify-content: flex-start;
  padding: 20px 32px;
  background-color: var(--color-accent);
}

.l-main {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.l-footer {
  padding: 40px 20px 32px;
  text-align: center;
  background-color: var(--color-accent);
}

.l-footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.l-footer__logo .text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.l-footer__copyright {
  display: block;
  margin-top: 28px;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 70%);
}

/* ---------------------------------
  Closed notice
--------------------------------- */
.closed {
  width: 100%;
  max-width: 640px;
  padding: 56px 32px;
  text-align: center;
  background-color: #ffffff;
  border: 1px solid var(--color-border-solid);
  border-radius: 16px;
}

.closed__title {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 32px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.closed__title::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 48px;
  height: 4px;
  content: "";
  background-color: var(--color-sub);
  border-radius: 2px;
  transform: translateX(-50%);
}

.closed__body p {
  font-size: 1rem;
}

.closed__body p + p {
  margin-top: 1.5em;
}

.closed__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  margin-top: 32px;
  padding: 16px 24px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #1a2128;
  text-decoration: none;
  background-color: #ffffff;
  border: 2px solid #ff9900;
  border-radius: 999px;
  transition: opacity 0.2s;
}

.closed__button:hover {
  opacity: 0.7;
}

.closed__button .logo {
  width: auto;
  height: 22px;
  margin-top: 6px; /* スマイルの分だけ光学的に下がって見えるのを補正 */
}

.closed__button .icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.closed__contact {
  padding-top: 28px;
  margin-top: 36px;
  border-top: 1px solid var(--color-border-solid);
}

.closed__contact p {
  font-size: 0.875rem;
  line-height: 2;
}

.closed__contact a {
  font-weight: 500;
  color: var(--color-accent);
  text-decoration: underline;
}

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

/* ---------------------------------
  Utility
--------------------------------- */
.u-sp {
  display: none;
}

@media (max-width: 767px) {
  .u-sp {
    display: inline;
  }

  .closed {
    padding: 40px 24px;
  }

  .closed__title {
    font-size: 1.25rem;
  }

  .closed__body p {
    font-size: 0.9375rem;
  }
}
