:root {
  color-scheme: light;
  --ink: #293443;
  --green: #299b80;
  --green-soft: #edf8f5;
  --header-border: #edf1f0;
}

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

html { min-height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--ink);
  background-color: #f3faf8;
  background-image: url("./assets/maintenance-background.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.site-header {
  height: 82px;
  background: #fff;
  border-bottom: 1px solid var(--header-border);
}

.site-header__inner {
  width: min(1400px, calc(100% - 72px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header__logo {
  display: block;
  width: 144px;
  height: 36px;
  flex: none;
  object-fit: contain;
}

.site-header__divider {
  width: 1px;
  height: 35px;
  background: #c6cecc;
  flex: none;
}

.site-header__name {
  font-weight: 750;
  font-size: 25px;
  letter-spacing: .015em;
  line-height: 1.5;
}

.page-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 82px);
  min-height: calc(100svh - 82px);
  padding: 48px 24px 68px;
}

.maintenance {
  width: min(1010px, 100%);
  padding: 46px 58px 44px;
  background: rgba(255, 255, 255, .96);
  border-radius: 15px;
  box-shadow: 0 14px 50px rgba(54, 110, 96, .045);
  text-align: center;
}

.maintenance__icon {
  display: block;
  width: 205px;
  height: 205px;
  margin: 0 auto 8px;
  object-fit: contain;
}

h1, h2, p { margin-top: 0; }

h1 {
  font-size: clamp(29px, 3.15vw, 45px);
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.4;
  margin-bottom: 29px;
}

.maintenance__message {
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: .006em;
  margin-bottom: 38px;
}

.status {
  display: flex;
  gap: 31px;
  align-items: flex-start;
  padding: 27px 40px;
  background: var(--green-soft);
  border-radius: 11px;
  text-align: left;
}

.status__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin-top: 5px;
  color: var(--green);
}
.status__icon svg { width: 100%; height: 100%; }
.status__copy h2 {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.5;
  margin-bottom: 4px;
}
.status__copy p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 0;
}
.status__copy .status__note { margin-top: 2px; }

@media (max-width: 767px) {
  .site-header { height: auto; min-height: 74px; }
  .site-header__inner {
    width: calc(100% - 36px);
    min-height: 74px;
    gap: 13px;
  }
  .site-header__logo { width: 100px; height: 25px; }
  .site-header__divider { height: 27px; }
  .site-header__name { font-size: clamp(13px, 3.5vw, 18px); }
  .page-main {
    min-height: calc(100svh - 74px);
    padding: 28px 16px 48px;
  }
  .maintenance { padding: 27px 20px 24px; border-radius: 12px; }
  .maintenance__icon { width: 148px; height: 148px; margin-bottom: 8px; }
  h1 { font-size: clamp(23px, 5.6vw, 31px); line-height: 1.5; margin-bottom: 22px; }
  .maintenance__message { font-size: 15px; line-height: 1.9; margin-bottom: 27px; }
  .desktop-break { display: none; }
  .status { gap: 14px; padding: 19px 17px; }
  .status__icon { width: 30px; height: 30px; flex-basis: 30px; margin-top: 2px; }
  .status__copy h2 { font-size: 16px; }
  .status__copy p { font-size: 14px; }
}

@media (prefers-reduced-transparency: reduce) {
  .maintenance { background: #fff; }
}
