/* =========================================================
   Subpage Styles — Contact / Message / Public Notice
========================================================= */

/* ---- PAGE HERO ---- */
.page-hero {
  padding: calc(var(--header-h) + 48px) 0 56px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
}

.page-hero > * { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}

.breadcrumb a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .current { color: rgba(255,255,255,.9); }

.page-hero-label {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--c-accent);
  margin-bottom: 12px;
}

.page-hero-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}

body.lang-en .page-hero-title { font-family: var(--font-en); }

/* ---- SUBPAGE MAIN ---- */
main { padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 100px); flex: 1; }
body { display: flex; flex-direction: column; min-height: 100vh; }

.navy-line, .accent-line { margin: 18px auto 22px; }

/* ---- CONTACT ---- */
.contact-lead { text-align: center; margin-bottom: 56px; }
.contact-lead-text {
  font-size: 15px;
  color: var(--c-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.85;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.contact-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: var(--gradient-accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
}

.contact-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 8px;
}

body.lang-en .contact-card-title { font-family: var(--font-en); }

.contact-card-note {
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-card-info {
  margin-bottom: 20px;
}

.contact-card-info strong {
  display: block;
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 6px;
}

.contact-card-info span {
  display: block;
  font-size: 12px;
  color: var(--c-muted);
  line-height: 1.6;
}

.contact-card-value {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-accent-2);
  margin-bottom: 20px;
}

.response-guide {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 56px;
  box-shadow: var(--shadow-sm);
}

.response-guide-header {
  padding: 20px 28px;
  background: var(--c-navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.response-guide-body { padding: 28px 32px; }

.response-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.response-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.response-item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(0,180,216,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent-2);
  font-size: 14px;
}

.response-item-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 4px;
  font-family: var(--font-en);
  letter-spacing: .04em;
}

.response-item-desc {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ---- FAQ ---- */
.faq-section { margin-bottom: 48px; }
.faq-header { text-align: center; margin-bottom: 40px; }

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.open { box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--c-text);
  transition: background var(--transition);
}

.faq-question:hover { background: var(--c-bg); }

.faq-q-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
}

.faq-q-text {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  line-height: 1.5;
}

body.lang-en .faq-q-text { font-family: var(--font-en); }

.faq-toggle {
  flex-shrink: 0;
  color: var(--c-muted);
  font-size: 12px;
  transition: transform var(--transition);
}

.faq-item.open .faq-toggle { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 24px 20px 66px;
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.85;
}

.back-link-wrap { text-align: center; margin-top: 48px; }

/* ---- MESSAGE ---- */
.message-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.ceo-profile {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ceo-photo {
  aspect-ratio: 3/4;
  background: var(--c-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  font-size: 48px;
}

.ceo-info { padding: 24px; }

.ceo-name-ja {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 4px;
}

.ceo-name-en {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--c-muted);
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.ceo-info-item {
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
}

.ceo-info-item:last-child { border-bottom: none; }

.ceo-info-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 3px;
}

.ceo-info-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-navy);
}

.message-header { margin-bottom: 32px; }

.message-title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.35;
}

body.lang-en .message-title { font-family: var(--font-en); }

.message-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}

.message-lead {
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.6;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}

.message-body p {
  font-size: 15px;
  line-height: 2;
  color: var(--c-text);
  margin-bottom: 1.5em;
}

.message-body p:last-child { margin-bottom: 0; }

.message-sign {
  margin-top: 40px;
  text-align: right;
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy);
}

/* ---- PUBLIC NOTICE ---- */
.notice-intro {
  text-align: center;
  margin-bottom: 48px;
}

.notice-intro-text {
  font-size: 15px;
  color: var(--c-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.85;
}

.notice-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }

.notice-card {
  display: flex;
  align-items: stretch;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.notice-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.notice-card-badge {
  flex-shrink: 0;
  width: 80px;
  background: var(--c-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 8px;
}

.notice-card-badge i { font-size: 22px; color: var(--c-accent); }

.badge-text {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  letter-spacing: .05em;
  text-align: center;
  line-height: 1.3;
}

.notice-card-body { flex: 1; padding: 24px 28px; }

.notice-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.notice-tag {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.notice-tag.tag-pdf { background: #fff3e0; color: #e65100; }
.notice-tag.tag-new { background: #e8f5e9; color: #2e7d32; }

.notice-date {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--c-muted);
}

.notice-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 6px;
  line-height: 1.4;
}

body.lang-en .notice-card-title { font-family: var(--font-en); }

.notice-card-desc {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.7;
}

.notice-card-action {
  flex-shrink: 0;
  padding: 24px;
  display: flex;
  align-items: center;
}

.notice-empty {
  background: var(--c-surface);
  border: 2px dashed var(--c-border);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 48px;
}

.notice-empty i { font-size: 40px; color: #ccc; margin-bottom: 16px; display: block; }
.notice-empty p { font-size: 14px; color: var(--c-muted); }

.info-block {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.info-block-header {
  padding: 18px 28px;
  background: var(--c-bg);
  font-weight: 700;
  font-size: 15px;
  color: var(--c-navy);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--c-border);
}

.info-table { width: 100%; border-collapse: collapse; }

.info-table tr:not(:last-child) { border-bottom: 1px solid var(--c-border); }
.info-table tr:hover { background: var(--c-bg); }

.info-table th {
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-navy);
  background: var(--c-bg);
  width: 200px;
  vertical-align: top;
  text-align: left;
}

.info-table td {
  padding: 16px 24px;
  font-size: 14px;
  vertical-align: top;
  line-height: 1.7;
}

.info-table td a {
  color: var(--c-accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.note-box {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.note-box-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.note-box ul { display: flex; flex-direction: column; gap: 8px; }
.note-box li {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.note-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--c-accent);
}

@media (max-width: 1024px) {
  .response-grid { grid-template-columns: 1fr; gap: 20px; }
  .message-layout { grid-template-columns: 1fr; }
  .ceo-profile { position: static; }
}

/* ---- MESSAGE (extended) ---- */
.ceo-profile-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ceo-photo-area {
  background: var(--gradient-hero);
  padding: 36px 24px;
  text-align: center;
}

.ceo-position-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 8px;
}

.ceo-name-ja {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.ceo-name-en {
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(255,255,255,.65);
}

.message-section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 10px;
}

.message-section-block {
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--c-bg);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--c-accent);
}

.message-section-block-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.message-section-block-title i { color: var(--c-accent); }

.message-paragraph {
  font-size: 15px;
  line-height: 2;
  color: var(--c-text);
  margin-bottom: 1.5em;
}

.message-signature {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--c-border);
  text-align: right;
}

.message-signature-position {
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 4px;
}

.message-signature-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--c-navy);
}

/* ---- PUBLIC NOTICE (extended) ---- */
.notice-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.notice-card-inner {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.legal-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  background: rgba(0,180,216,.08);
  border: 1px solid rgba(0,180,216,.2);
  border-radius: var(--radius-sm);
  margin-bottom: 32px;
  font-size: 13px;
  color: var(--c-text);
  line-height: 1.75;
}

.legal-banner i {
  color: var(--c-accent-2);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.gold-line, .footer-gold-line, .footer-divider-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-accent);
  margin: 20px auto 24px;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .contact-cards { grid-template-columns: 1fr; }
  .notice-card { flex-direction: column; }
  .notice-card-inner { flex-direction: column; }
  .notice-card-badge { width: 100%; flex-direction: row; padding: 12px; }
  .notice-card-action { padding: 0 24px 24px; }
  .faq-answer-inner { padding-left: 24px; }
  .info-table { display: block; overflow-x: auto; }
}

/* ---- PRIVACY POLICY ---- */
.policy-intro {
  text-align: center;
  margin-bottom: 48px;
}

.policy-intro-text {
  font-size: 15px;
  color: var(--c-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.9;
}

.policy-updated {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 12px;
}

.policy-content {
  max-width: 840px;
  margin: 0 auto;
}

.policy-section {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.policy-section h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--c-bg);
  display: flex;
  align-items: center;
  gap: 10px;
}

body.lang-en .policy-section h2 { font-family: var(--font-en); font-size: 16px; }

.policy-section h2 .section-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--gradient-accent);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
}

.policy-section p,
.policy-section li {
  font-size: 14px;
  line-height: 1.95;
  color: var(--c-text);
}

.policy-section p { margin-bottom: 12px; }
.policy-section p:last-child { margin-bottom: 0; }

.policy-section ul,
.policy-section ol {
  margin: 8px 0 12px 0;
  padding-left: 1.4em;
}

.policy-section li { margin-bottom: 6px; }

.policy-contact-box {
  background: var(--c-bg);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.9;
}

.policy-contact-box a {
  color: var(--c-accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
}
