@charset "UTF-8";
/* ESJ e-channel / Legal pages
   プライバシーポリシー・特定商取引法に基づく表記など共通で使用するCSS
*/

:root {
  --main: #0f172a;
  --main-soft: #172033;
  --accent: #c6a15b;
  --accent-dark: #aa8441;
  --bg: #f8fafc;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e2e8f0;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Helvetica Neue",
    "Helvetica",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Arial",
    "メイリオ",
    "Meiryo",
    sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.97);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 20px;
}

.header-logo {
  display: block;
  width: 190px;
  line-height: 0;
  flex-shrink: 0;
}

.header-logo img {
  display: block;
  width: 100%;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.header-nav a {
  font-size: 1.3rem;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--accent);
}

/* button */
.btn {
  display: inline-block;
  padding: 14px 30px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  transition: 0.25s;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-small {
  padding: 11px 20px;
  font-size: 1.4rem;
  white-space: nowrap;
}

/* page header */
.page-header {
  padding: 82px 20px 70px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.page-header .section-en {
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.page-header h1 {
  margin: 0;
  color: var(--main);
  font-size: 4rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

/* legal content */
.legal-section {
  padding: 80px 20px 100px;
}

.legal-container {
  max-width: 900px;
}

.legal-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.legal-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.legal-row dt,
.legal-row dd {
  margin: 0;
  padding: 25px 24px;
}

.legal-row dt {
  background: var(--bg);
  color: var(--main);
  font-weight: 700;
}

.legal-row dd {
  min-width: 0;
  background: #fff;
}

.legal-row dd p:last-child {
  margin-bottom: 0;
}

.price-block + .price-block {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.price-block h2 {
  margin: 0 0 16px;
  color: var(--main);
  font-size: 1.9rem;
  line-height: 1.5;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
}

.price-table th,
.price-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.price-table thead th {
  background: var(--bg);
  font-weight: 700;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table strong {
  color: var(--main);
  font-size: 1.9rem;
}

.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.3rem;
}

.text-link {
  display: inline-block;
  color: var(--main);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.text-link:hover {
  color: var(--accent-dark);
}

/* footer */
footer {
  padding: 48px 20px;
  background: #080d18;
  color: #aab2c0;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  display: inline-block;
  width: 180px;
  margin-bottom: 22px;
  opacity: 0.9;
}

.footer-logo img {
  display: block;
  width: 100%;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 25px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1.3rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.copyright {
  margin-bottom: 0;
  font-size: 1.2rem;
}

/* responsive */
@media (max-width: 980px) {
  .header-nav {
    display: none;
  }

  .header-inner {
    justify-content: space-between;
  }

  .legal-row {
    grid-template-columns: 190px minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1.5rem;
  }

  .header-inner {
    min-height: 66px;
    gap: 14px;
  }

  .header-logo {
    width: 150px;
  }

  .btn-small {
    padding: 9px 14px;
    font-size: 1.2rem;
  }

  .page-header {
    padding: 58px 18px 50px;
  }

  .page-header h1 {
    font-size: 2.8rem;
  }

  .legal-section {
    padding: 55px 18px 70px;
  }

  .legal-row {
    display: block;
  }

  .legal-row dt,
  .legal-row dd {
    padding: 17px 16px;
  }

  .legal-row dt {
    border-bottom: 0;
  }

  .price-table {
    font-size: 1.4rem;
  }

  .price-table th,
  .price-table td {
    padding: 11px 8px;
  }

  .price-table strong {
    font-size: 1.7rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .price-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}


/* privacy policy */
.privacy-container {
  max-width: 900px;
}

.privacy-content {
  color: var(--text);
}

.privacy-block + .privacy-block {
  margin-top: 52px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.privacy-block h2 {
  margin: 0 0 18px;
  color: var(--main);
  font-size: 2.2rem;
  line-height: 1.5;
}

.privacy-block h3 {
  margin: 28px 0 10px;
  color: var(--main);
  font-size: 1.7rem;
  line-height: 1.6;
}

.privacy-block p {
  margin: 0 0 14px;
}

.privacy-block ul {
  margin: 12px 0 18px;
  padding-left: 1.8em;
}

.privacy-block li + li {
  margin-top: 5px;
}

.privacy-lead {
  margin-bottom: 34px;
}

.privacy-date {
  margin-top: 50px;
  text-align: right;
  color: var(--muted);
  font-size: 1.4rem;
}

@media (max-width: 768px) {
  .privacy-block + .privacy-block {
    margin-top: 40px;
    padding-top: 34px;
  }

  .privacy-block h2 {
    font-size: 1.9rem;
  }

  .privacy-block h3 {
    font-size: 1.6rem;
  }

  .privacy-date {
    margin-top: 40px;
  }
}


/* member agreement */
.agreement-container { max-width: 900px; }
.agreement-content { color: var(--text); }
.agreement-block + .agreement-block {
  margin-top: 48px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}
.agreement-block h2 {
  margin: 0 0 18px;
  color: var(--main);
  font-size: 2.2rem;
  line-height: 1.5;
}
.agreement-block p { margin: 0 0 14px; }
.agreement-block ol {
  margin: 12px 0 18px;
  padding-left: 1.8em;
}
.agreement-block li + li { margin-top: 6px; }
.agreement-date {
  margin-top: 50px;
  text-align: right;
  color: var(--muted);
  font-size: 1.4rem;
}
@media (max-width: 768px) {
  .agreement-block + .agreement-block {
    margin-top: 38px;
    padding-top: 30px;
  }
  .agreement-block h2 { font-size: 1.9rem; }
  .agreement-date { margin-top: 40px; }
}


/* contact form */
.contact-container { max-width: 900px; }
.contact-lead { margin-bottom: 38px; }
.contact-lead p { margin-bottom: 10px; }
.contact-required { margin-top: 22px; font-size: 1.4rem; color: var(--muted); }
.contact-required span, .required { color: #b45309; }
.contact-form { width: 100%; }
.contact-form .form-row { margin-bottom: 30px; }
.contact-form .form-row > label {
  display: block;
  margin-bottom: 8px;
  color: var(--main);
  font-weight: 700;
  line-height: 1.5;
}
.contact-form .form-field { width: 100%; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  display: block;
  width: 100%;
  max-width: 680px;
  padding: 13px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font: inherit;
  line-height: 1.6;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input[type="text"], .contact-form input[type="email"] { min-height: 48px; }
.contact-form textarea { max-width: none; min-height: 260px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.16);
}
.form-help { margin: 8px 0 0; color: var(--muted); font-size: 1.3rem; line-height: 1.7; }
.form-error { margin: 7px 0 0; color: #b91c1c; font-size: 1.3rem; }
.form-error-box { margin: 0 0 25px; padding: 14px 18px; border: 1px solid #fecaca; background: #fef2f2; }
.contact-privacy { margin-top: 42px; padding-top: 25px; border-top: 1px solid var(--line); }
.contact-privacy p { margin: 0; font-size: 1.4rem; line-height: 1.9; }
.contact-privacy a { color: var(--main); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contact-actions { display: flex; justify-content: flex-start; gap: 14px; margin-top: 30px; }
.contact-actions form { margin: 0; }
.contact-actions button { border: 0; cursor: pointer; font: inherit; }
.btn-outline { background: #fff; color: var(--main); border: 1px solid var(--main) !important; box-shadow: none; }
.btn-outline:hover { background: var(--bg); color: var(--main); }
.contact-actions-confirm { justify-content: center; }
.contact-table { margin: 0; border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 220px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.contact-row dt, .contact-row dd { margin: 0; padding: 20px 22px; }
.contact-row dt { background: var(--bg); color: var(--main); font-weight: 700; }
.contact-row dd { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-complete h2 { margin-bottom: 22px; color: var(--main); font-size: 2.2rem; line-height: 1.5; }
.contact-complete p { margin-bottom: 14px; }
.contact-note { margin-top: 30px; padding: 18px 20px; border: 1px solid var(--line); background: var(--bg); }
.contact-note p { margin: 0; font-size: 1.4rem; color: var(--muted); }
@media (max-width: 768px) {
  .contact-lead { margin-bottom: 30px; }
  .contact-form .form-row { margin-bottom: 26px; }
  .contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea { max-width: none; }
  .contact-form textarea { min-height: 220px; }
  .contact-privacy { margin-top: 34px; }
  .contact-actions { justify-content: center; }
  .contact-actions .btn { min-width: 150px; text-align: center; }
  .contact-table { border-top: 0; }
  .contact-row { display: block; border-top: 1px solid var(--line); border-bottom: 0; }
  .contact-row dt, .contact-row dd { padding: 14px 16px; }
  .contact-row dd { border-bottom: 1px solid var(--line); }
  .contact-complete h2 { font-size: 1.9rem; }
}

/* contact form - security / accessibility */
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
