/* ===== ページ共通スタイル ===== */

/* ページヒーロー */
.page-hero {
  background: linear-gradient(135deg, #08243a 0%, #0b3d56 50%, #0a5c44 100%);
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(13,159,111,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 680px; }
.page-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.page-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem; transition: color 0.18s; }
.page-breadcrumb a:hover { color: rgba(255,255,255,0.85); }
.page-breadcrumb span { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.page-breadcrumb-current { color: rgba(255,255,255,0.75); font-size: 0.8rem; }
.page-tag {
  display: inline-block; border: 1px solid rgba(110,231,199,0.35);
  background: rgba(110,231,199,0.08); color: #a7f3d0;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 16px;
}
.page-hero h1 { font-size: 2.6rem; font-weight: 900; color: #fff; letter-spacing: -0.5px; line-height: 1.15; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1rem; line-height: 1.75; }

/* コンテンツセクション */
.content-section { padding: 80px 0; }
.content-section.bg-light { background: #f4f7f9; }
.content-section.bg-white { background: #fff; }
.content-section.bg-dark { background: linear-gradient(135deg, #0d9f6f 0%, #0a66c2 100%); }

.section-label {
  display: inline-block; background: #e8f7f2; color: #0d9f6f;
  padding: 4px 12px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; margin-bottom: 16px;
}
.section-label.blue { background: #e8f1fb; color: #0a66c2; }
.section-label.teal { background: #e0f5f9; color: #0891b2; }

.content-h2 { font-size: 2rem; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 14px; color: #0d1f2d; line-height: 1.2; }
.content-h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; color: #0d1f2d; }
.content-lead { font-size: 1rem; color: #5f6d7a; line-height: 1.75; margin-bottom: 36px; }

/* 汎用グリッド */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* 汎用カード */
.card {
  background: #fff; border-radius: 14px; border: 1px solid #e2e8f0;
  box-shadow: 0 2px 16px rgba(13,31,45,0.07); padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(13,31,45,0.12); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #e8f7f2; color: #0d9f6f;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card-icon.blue { background: #e8f1fb; color: #0a66c2; }
.card-icon.teal { background: #e0f5f9; color: #0891b2; }

/* FAQ */
.faq-category { margin-bottom: 48px; }
.faq-category-title { font-size: 1.1rem; font-weight: 700; color: #0d1f2d; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #e2e8f0; }
.faq-item { border-bottom: 1px solid #e2e8f0; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px; background: none; border: none; cursor: pointer;
  text-align: left; font-size: 0.96rem; font-weight: 600; color: #0d1f2d;
  font-family: 'Noto Sans JP', sans-serif; gap: 16px;
  transition: color 0.18s;
}
.faq-question:hover { color: #0d9f6f; }
.faq-icon { width: 22px; height: 22px; border-radius: 50%; background: #e8f7f2; color: #0d9f6f; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; transition: transform 0.25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; }
.faq-answer-inner { padding: 0 4px 20px; font-size: 0.9rem; color: #5f6d7a; line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 400px; }

/* フォーム */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.86rem; font-weight: 700; color: #0d1f2d; margin-bottom: 7px; }
.form-label span { color: #e53e3e; margin-left: 3px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #e2e8f0;
  border-radius: 8px; font-size: 0.92rem; font-family: 'Noto Sans JP', sans-serif;
  color: #0d1f2d; background: #fff; outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #0d9f6f; box-shadow: 0 0 0 3px rgba(13,159,111,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-hint { font-size: 0.78rem; color: #5f6d7a; margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* テーブル（法律ページ等） */
.legal-content h2 { font-size: 1.3rem; font-weight: 700; color: #0d1f2d; margin: 36px 0 12px; }
.legal-content h3 { font-size: 1.05rem; font-weight: 700; color: #0d1f2d; margin: 24px 0 8px; }
.legal-content p { font-size: 0.92rem; color: #5f6d7a; line-height: 1.8; margin-bottom: 14px; }
.legal-content ol, .legal-content ul { padding-left: 20px; margin-bottom: 14px; }
.legal-content li { font-size: 0.92rem; color: #5f6d7a; line-height: 1.8; margin-bottom: 6px; }
.legal-content .updated { font-size: 0.82rem; color: #5f6d7a; margin-bottom: 32px; }

/* ニュース */
.news-item { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid #e2e8f0; align-items: start; }
.news-item:last-child { border-bottom: none; }
.news-date { font-size: 0.8rem; color: #5f6d7a; white-space: nowrap; padding-top: 2px; min-width: 90px; }
.news-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; margin-right: 8px; }
.news-tag.update { background: #e8f7f2; color: #0d9f6f; }
.news-tag.release { background: #e8f1fb; color: #0a66c2; }
.news-tag.info { background: #f1f5f9; color: #5f6d7a; }
.news-title { font-size: 0.96rem; font-weight: 600; color: #0d1f2d; text-decoration: none; transition: color 0.18s; display: block; margin-top: 4px; }
.news-title:hover { color: #0d9f6f; }

/* 採用 */
.job-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 28px; transition: border-color 0.18s, box-shadow 0.18s; }
.job-card:hover { border-color: #0d9f6f; box-shadow: 0 4px 20px rgba(13,159,111,0.1); }
.job-dept { font-size: 0.76rem; font-weight: 700; color: #0d9f6f; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.job-title { font-size: 1.05rem; font-weight: 700; color: #0d1f2d; margin-bottom: 10px; }
.job-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.job-meta span { font-size: 0.8rem; color: #5f6d7a; display: flex; align-items: center; gap: 5px; }
.job-meta span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: #0d9f6f; }

/* ステップ（縦） */
.v-steps { display: flex; flex-direction: column; gap: 0; }
.v-step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; position: relative; padding-bottom: 32px; }
.v-step:last-child { padding-bottom: 0; }
.v-step-left { display: flex; flex-direction: column; align-items: center; }
.v-step-num {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #0d9f6f, #0891b2);
  color: #fff; font-size: 0.88rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.v-step-line { flex: 1; width: 2px; background: linear-gradient(to bottom, #0d9f6f, #e2e8f0); margin-top: 6px; }
.v-step:last-child .v-step-line { display: none; }
.v-step-body { padding-top: 8px; }
.v-step-body h3 { font-size: 1rem; font-weight: 700; color: #0d1f2d; margin-bottom: 6px; }
.v-step-body p { font-size: 0.88rem; color: #5f6d7a; line-height: 1.65; }

/* プライシング */
.pricing-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 32px 28px; }
.pricing-card.featured { border-color: #0d9f6f; box-shadow: 0 8px 32px rgba(13,159,111,0.15); }
.pricing-name { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #5f6d7a; margin-bottom: 10px; }
.pricing-card.featured .pricing-name { color: #0d9f6f; }
.pricing-price { font-size: 2.4rem; font-weight: 900; color: #0d1f2d; letter-spacing: -1px; line-height: 1; margin-bottom: 6px; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: #5f6d7a; letter-spacing: 0; }
.pricing-desc { font-size: 0.85rem; color: #5f6d7a; margin-bottom: 24px; }
.pricing-divider { height: 1px; background: #e2e8f0; margin-bottom: 20px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pricing-features li { font-size: 0.88rem; color: #2d4a5e; display: flex; align-items: center; gap: 8px; }
.pricing-features li::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #0d9f6f; flex-shrink: 0; }

/* CTA ボックス */
.cta-box { background: linear-gradient(135deg, #0d9f6f 0%, #0a66c2 100%); border-radius: 20px; padding: 56px 48px; text-align: center; }
.cta-box h2 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 12px; letter-spacing: -0.5px; }
.cta-box p { color: rgba(255,255,255,0.8); font-size: 0.96rem; margin-bottom: 32px; }
.cta-box-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* レスポンシブ */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2rem; }
  .cta-box { padding: 40px 24px; }
  .cta-box h2 { font-size: 1.7rem; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}
