@charset "UTF-8";

:root {
  --background-color: #F7F8F8;
  --panel-color: #FFFFFF;
  --text-color: #000000;
  --border-color: #DADADA;
}

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

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 24px;
  display: grid;
  place-items: center;
  background: var(--background-color);
  color: var(--text-color);
  font-family: "Zen Old Mincho", serif;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.maintenance {
  width: min(1076px, 100%);
  min-height: 677px;
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel-color);
}

.maintenance__inner {
  width: 100%;
  text-align: center;
  transform: translateY(-2px);
}

.maintenance__logo {
  display: block;
  width: 232px;
  height: auto;
  margin: 0 auto 48px;
}

.maintenance__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.maintenance__lead {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.035em;
}

.maintenance__period {
  width: 468px;
  min-height: 60px;
  margin: 23px auto 0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--border-color);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

.maintenance__notice {
  margin: 21px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.03em;
}

@media (max-width: 640px) {
  body {
    padding: 16px;
  }

  .maintenance {
    min-height: min(620px, calc(100svh - 32px));
    padding: 56px 20px;
  }

  .maintenance__logo {
    width: 150px;
    margin-bottom: 38px;
  }

  .maintenance__title {
    font-size: 20px;
    letter-spacing: 0.01em;
  }

  .maintenance__lead {
    margin-top: 18px;
    font-size: 14px;
  }

  .maintenance__period {
    width: 100%;
    margin-top: 22px;
    padding: 13px 12px;
    flex-wrap: wrap;
    gap: 2px 8px;
    font-size: 14px;
  }

  .maintenance__notice {
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.9;
  }
}
