/* ===== SUB-PAGE SHARED STYLES ===== */

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #F5977F 0%, #FBE0D9 100%);
  padding: 64px 0 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23F5BFB2' stroke-width='8' opacity='.5'%3E%3Cg transform='translate(70 70)'%3E%3Cellipse rx='18' ry='27' transform='rotate(10) translate(0 -28)'/%3E%3Cellipse rx='18' ry='27' transform='rotate(82) translate(0 -28)'/%3E%3Cellipse rx='18' ry='27' transform='rotate(154) translate(0 -28)'/%3E%3Cellipse rx='18' ry='27' transform='rotate(226) translate(0 -28)'/%3E%3Cellipse rx='18' ry='27' transform='rotate(298) translate(0 -28)'/%3E%3C/g%3E%3Cg transform='translate(200 190) scale(.6)'%3E%3Cellipse rx='18' ry='27' transform='rotate(40) translate(0 -28)'/%3E%3Cellipse rx='18' ry='27' transform='rotate(112) translate(0 -28)'/%3E%3Cellipse rx='18' ry='27' transform='rotate(184) translate(0 -28)'/%3E%3Cellipse rx='18' ry='27' transform='rotate(256) translate(0 -28)'/%3E%3Cellipse rx='18' ry='27' transform='rotate(328) translate(0 -28)'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 260px;
  opacity: .7;
}
.page-banner h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 8px rgba(226, 90, 68, .25);
}

/* Breadcrumb */
.breadcrumb {
  padding: 18px 0;
  font-size: 13px;
  color: var(--coral-text);
}
.breadcrumb a {
  color: var(--coral-text);
  font-weight: 700;
  transition: opacity .2s;
}
.breadcrumb a:hover { opacity: .7; }
.breadcrumb span { margin: 0 8px; color: #D8CFCB; }

/* Page Content */
.page-content {
  padding: 40px 0 96px;
  min-height: 50vh;
}

/* Company Table */
.company-table {
  width: 100%;
  max-width: 800px;
  margin: 32px auto 0;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 26px 20px;
  border-bottom: 1px solid var(--pink-panel);
  font-size: 15px;
  text-align: left;
  vertical-align: top;
  line-height: 1.9;
}
.company-table th {
  width: 170px;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
}
.company-table td {
  color: var(--body-text);
}
.company-table td ul {
  padding-left: 0;
}
.company-table td li {
  padding-left: 16px;
  position: relative;
}
.company-table td li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--gray-text);
}

/* Legal Article Styles (Terms & Privacy) */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 32px;
}
.legal-content .legal-intro {
  margin-bottom: 32px;
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
  text-align: center;
}
.legal-content h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--coral-text);
  margin-top: 44px;
  margin-bottom: 16px;
}
.legal-content p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 2.1;
  margin-bottom: 16px;
}
.legal-content ol {
  padding-left: 26px;
  margin-bottom: 16px;
}
.legal-content ol li {
  font-size: 14px;
  color: var(--body-text);
  line-height: 2.1;
  margin-bottom: 4px;
  list-style: decimal;
}
.legal-content ol ol li {
  list-style: lower-roman;
}
.legal-content ul {
  margin-bottom: 16px;
}
.legal-content ul li {
  font-size: 14px;
  color: var(--body-text);
  line-height: 2.1;
  padding-left: 16px;
  position: relative;
}
.legal-content ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--gray-text);
}
.legal-date {
  text-align: right;
  font-size: 13px;
  color: var(--gray-text);
  margin-top: 40px;
}

/* 404 Page */
.error-section {
  padding: 80px 0;
  text-align: center;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.error-section h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--coral-text);
  margin-bottom: 16px;
  line-height: 1.6;
}
.error-section p {
  font-size: 15px;
  color: var(--body-text);
  margin-bottom: 32px;
  line-height: 1.9;
}
.error-section .error-character {
  max-width: 220px;
  margin: 0 auto 36px;
}
.btn-back-top {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 44px;
  border-radius: 999px;
  transition: opacity .2s, transform .2s;
  margin-bottom: 40px;
}
.btn-back-top:hover { opacity: .9; transform: translateY(-2px); }

/* Responsive */
@media (max-width: 768px) {
  .company-table th {
    width: 120px;
    font-size: 14px;
  }
  .company-table td {
    font-size: 14px;
  }
}
