@charset "UTF-8";

:root {
  --revex-red: #e2001a;
  --text-main: #333333;
  --text-sub: #6b6b6b;
  --bg-page: #f5f5f6;
  --border-light: #e6e6e8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.site-header {
  width: 100%;
  padding: 32px 20px 16px;
  display: flex;
  justify-content: center;
  background-color: #ffffff;
  border-bottom: 3px solid var(--revex-red);
}

.site-header .logo {
  height: 44px;
  width: auto;
}

/* Main content */
main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px 24px;
}

.maintenance-card {
  width: 100%;
  max-width: 680px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 48px 40px;
  text-align: center;
}

.icon-shield {
  margin: 0 auto 20px;
  width: 64px;
  height: 64px;
  color: var(--revex-red);
}

.icon-shield svg {
  width: 100%;
  height: 100%;
}

.maintenance-card h1 {
  font-size: 1.5rem;
  margin: 0 0 20px;
  color: var(--text-main);
}

.maintenance-card .lead {
  font-size: 0.98rem;
  color: var(--text-main);
  margin: 0 0 16px;
  text-align: left;
}

.maintenance-card .apology {
  font-size: 0.92rem;
  color: var(--text-sub);
  margin: 0 0 8px;
  text-align: left;
}

/* Notice section */
.notice-section {
  width: 100%;
  max-width: 680px;
  margin: 32px auto 0;
}

.notice-section h2 {
  font-size: 1.05rem;
  border-left: 5px solid var(--revex-red);
  padding-left: 12px;
  margin: 0 0 16px;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.notice-list li {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.notice-list li:last-child {
  border-bottom: none;
}

.notice-date {
  display: inline-block;
  font-size: 0.85rem;
  color: #ffffff;
  background-color: var(--text-sub);
  border-radius: 4px;
  padding: 2px 10px;
  margin-bottom: 8px;
}

.notice-body {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--text-main);
}

.notice-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--revex-red);
  text-decoration: none;
}

.notice-link:hover {
  text-decoration: underline;
}

.notice-link::after {
  content: "\2197";
}

/* Contact section */
.contact-section {
  width: 100%;
  max-width: 680px;
  margin: 32px auto 0;
}

.contact-section h2 {
  font-size: 1.05rem;
  border-left: 5px solid var(--revex-red);
  padding-left: 12px;
  margin: 0 0 16px;
}

.contact-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 28px 24px;
}

.contact-items {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
}

.contact-item {
  flex: 1 1 0%;
  min-width: 0;
}

.contact-item + .contact-item {
  border-left: 1px solid var(--border-light);
  padding-left: 24px;
}

.contact-label {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.contact-value {
  font-size: 1.35rem;
  font-weight: bold;
  color: var(--text-main);
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.contact-value--email {
  font-size: 1.1rem;
}

.contact-value a {
  color: inherit;
  text-decoration: none;
}

.contact-value a:hover {
  color: var(--revex-red);
}

.contact-hours {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 8px;
}

.contact-note {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin: 12px 0 0;
}

.contact-note a {
  color: var(--revex-red);
  font-weight: bold;
  text-decoration: underline;
}

.contact-note a:hover {
  text-decoration: none;
}

/* Footer */
.site-footer {
  width: 100%;
  padding: 24px 20px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-sub);
}

@media (max-width: 480px) {
  .maintenance-card {
    padding: 36px 24px;
  }

  .maintenance-card h1 {
    font-size: 1.25rem;
  }

  .contact-items {
    flex-direction: column;
  }

  .contact-item + .contact-item {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
  }

  .contact-value {
    font-size: 1.15rem;
  }

  .contact-value--email {
    font-size: 1rem;
  }
}
