body {
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 40px 40px 80px;
  background: linear-gradient(to bottom, #ffffff 0%, #fbfbfb 100%);
  color: #111111;
}

.top-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.top-logo img {
  height: 48px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 12px;
  color: #8a8f98;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.breadcrumb a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #0c3b2e;
  text-decoration: none;
}

h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
  color: #111111;
}

h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  background: #0c3b2e;
  border-radius: 999px;
  margin-top: 16px;
  opacity: 0.85;
}

.lead {
  font-size: 15px;
  color: #5f6874;
  margin: 0 0 52px;
  line-height: 1.9;
  max-width: 720px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.cards.single-column {
  grid-template-columns: 1fr;
}

.card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #eceff1;
  border-radius: 20px;
  padding: 32px 30px 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, #0c3b2e 0%, rgba(12, 59, 46, 0.15) 100%);
  border-radius: 999px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.08);
  border-color: #dfe5e8;
}

.card-type {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #0c3b2e;
  background: #f4f8f5;
  border: 1px solid #dce9e2;
  border-radius: 999px;
  padding: 7px 11px;
  margin-bottom: 18px;
}

.card h2 {
  font-size: 23px;
  font-weight: 500;
  margin: 0 0 12px;
  line-height: 1.5;
  word-break: break-word;
  color: #111111;
}

.card p {
  font-size: 14px;
  line-height: 1.85;
  color: #5f6874;
  margin: 0 0 24px;
}

.btn {
  display: inline-block;
  padding: 12px 34px;
  background: linear-gradient(180deg, #124636 0%, #0c3b2e 100%);
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 8px 16px rgba(12, 59, 46, 0.16);
}

.btn:hover {
  background: linear-gradient(180deg, #165440 0%, #124636 100%);
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(12, 59, 46, 0.20);
}

.preview-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.card-main {
  flex: 1;
  min-width: 0;
}

.card-preview {
  width: 156px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.card-preview a {
  display: block;
  cursor: pointer;
  position: relative;
  z-index: 3;
}

.card-preview img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #e8ecef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-preview a:hover img {
  transform: translateY(-2px);
  box-shadow: 0 20px 30px rgba(15, 23, 42, 0.12);
}

.secondary {
  margin-top: 56px;
  text-align: center;
}

.back-link {
  display: inline-block;
  color: #444;
  text-decoration: none;
  font-size: 14px;
}

.back-link:hover {
  text-decoration: underline;
}

.footer,
#site-footer {
  margin-top: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #98a1ab;
  letter-spacing: 0.03em;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-inner img,
.footer img,
#site-footer img {
  height: 16px;
  width: auto;
  display: block;
  opacity: 0.95;
}

#loading {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(3px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
}

.spinner {
  border: 4px solid #eeeeee;
  border-top: 4px solid #0c3b2e;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  animation: spin 0.9s linear infinite;
  margin-bottom: 18px;
}

#loading p {
  font-size: 13px;
  color: #5f6874;
  letter-spacing: 0.08em;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  body {
    padding: 32px 20px 56px;
  }

  .top-logo img {
    height: 40px;
  }

  h1 {
    font-size: 28px;
  }

  .lead {
    margin-bottom: 36px;
  }

  .preview-card {
    flex-direction: column;
  }

  .card-preview {
    width: 120px;
  }
}
.page-home h1::after {
  margin-left: auto;
  margin-right: auto;
}