/* ===================================================================
   SUBPAGE COMMON STYLES
   サブページ共通スタイル
   =================================================================== */

/* --- ヘッダー固定 (subpage) --- */
.subpage .header {
  opacity: 1 !important;
  transform: none !important;
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}

/* --- パンくず --- */
.sp-breadcrumb {
  background: #f4f5f8;
  padding: 10px 0;
  margin-top: 70px;
}
.sp-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0 auto;
  padding: 0 32px;
  max-width: 1200px;
  font-size: 12px;
  color: #888;
}
.sp-breadcrumb ol li:not(:last-child)::after {
  content: '›';
  margin-left: 6px;
  color: #bbb;
}
.sp-breadcrumb ol li a {
  color: #555;
  text-decoration: none;
}
.sp-breadcrumb ol li a:hover { color: #233369; text-decoration: none; }

/* --- ページヒーロー --- */
.sp-hero {
  background: linear-gradient(135deg, #1a2a5e 0%, #233369 60%, #2d4490 100%);
  color: #fff;
  padding: 64px 32px 60px;
  text-align: center;
}
.sp-hero__inner { max-width: 800px; margin: 0 auto; }
.sp-hero__en {
  font-size: 13px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.sp-hero__ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}
.sp-hero__lead {
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* --- セクション共通 --- */
.sp-section { padding: 72px 0; }
.sp-section--white { background: #fff; }
.sp-section--gray  { background: #f4f5f8; }
.sp-section--navy  { background: #1a2a5e; color: #fff; }
.sp-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.sp-lead-txt {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2;
  color: #444;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.sp-lead-txt strong { color: #233369; }

/* --- セクションタイトル共通 --- */
.sp-sec-en {
  font-family: sofia-pro, 'Noto Sans JP', sans-serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: #233369;
  margin-bottom: 8px;
}
.sp-sec-ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 40px;
}
.sp-sec-ttl--white { color: #fff; }
.sp-sec-en--white  { color: rgba(255,255,255,0.6); }

/* ===================================================================
   SERVICE LIST PAGE (service/index.html)
   =================================================================== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.svc-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border: 1px solid #e8eaf0;
  border-top: 4px solid #233369;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(35,51,105,0.12);
  text-decoration: none;
}
.svc-card__num {
  font-size: 36px;
  font-weight: 700;
  color: #e0e4ef;
  line-height: 1;
  flex-shrink: 0;
  min-width: 44px;
}
.svc-card__body { flex: 1; }
.svc-card__ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0 0 10px;
}
.svc-card__lead {
  font-size: 13.5px;
  line-height: 1.8;
  color: #555;
  margin: 0 0 14px;
}
.svc-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.svc-card__tags span {
  font-size: 11px;
  background: rgba(35,51,105,0.08);
  color: #233369;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.svc-card__tags .tag-coming {
  background: #f0f0f0;
  color: #999;
}
.svc-card__arrow {
  flex-shrink: 0;
  width: 24px;
  color: #233369;
  margin-top: 4px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.svc-card:hover .svc-card__arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ===================================================================
   SERVICE DETAIL PAGE (service/consulting.html etc.)
   =================================================================== */

/* ページ内リード */
.svcd-intro {
  max-width: 840px;
  margin: 0 auto 48px;
  text-align: center;
}
.svcd-intro__txt {
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2;
  color: #444;
}

/* サービス詳細カード */
.svcd-cards { display: flex; flex-direction: column; gap: 64px; }
.svcd-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.svcd-card--rev { direction: rtl; }
.svcd-card--rev > * { direction: ltr; }
.svcd-card__img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.svcd-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svcd-card__num {
  font-family: sofia-pro, 'Noto Sans JP', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #233369;
  margin-bottom: 8px;
}
.svcd-card__ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0 0 16px;
}
.svcd-card__ttl span { color: #233369; }
.svcd-card__lead {
  font-size: clamp(14px, 1.5vw, 15px);
  line-height: 2;
  color: #444;
  margin: 0 0 20px;
}
.svcd-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svcd-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: #333;
  line-height: 1.7;
}
.svcd-card__list li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #233369;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

/* Strengths (強み) ボックス */
.svcd-strengths { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.svcd-strength-box {
  background: #fff;
  border-radius: 10px;
  padding: 28px 24px;
  border-top: 4px solid #233369;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.svcd-strength-box__num {
  font-family: sofia-pro, 'Noto Sans JP', sans-serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  color: #233369;
  margin-bottom: 8px;
}
.svcd-strength-box__ttl {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0 0 12px;
}
.svcd-strength-box__txt {
  font-size: 13.5px;
  line-height: 1.9;
  color: #555;
  margin: 0;
}

/* Coming Soon バナー */
.sp-coming-soon {
  text-align: center;
  padding: 80px 32px;
  background: #f4f5f8;
}
.sp-coming-soon__badge {
  display: inline-block;
  background: #233369;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.sp-coming-soon__ttl {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
}
.sp-coming-soon__txt {
  font-size: 14px;
  color: #666;
  line-height: 1.9;
  margin: 0 auto;
  max-width: 480px;
}

/* ===================================================================
   CTA セクション (共通)
   =================================================================== */
.sp-cta-section {
  padding: 80px 0;
  background: #fff;
}
.sp-cta-box {
  background: linear-gradient(135deg, #1a2a5e 0%, #233369 100%);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  color: #fff;
}
.sp-cta-ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
}
.sp-cta-lead {
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
  margin: 0 0 32px;
}
.sp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #233369 !important;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  transition: box-shadow 0.2s, transform 0.2s;
  letter-spacing: 0.03em;
}
.sp-cta-btn:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  transform: translateY(-2px);
  text-decoration: none !important;
}
.sp-cta-icon {
  width: 22px;
  height: auto;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 768px) {
  .sp-hero { padding: 48px 20px 44px; margin-top: 0; }
  .sp-breadcrumb { margin-top: 70px; }
  .sp-section { padding: 48px 0; }
  .sp-inner { padding: 0 16px; }
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc-card { padding: 22px 18px; }
  .svc-card__num { font-size: 28px; min-width: 36px; }
  .svcd-card { grid-template-columns: 1fr; gap: 24px; }
  .svcd-card--rev { direction: ltr; }
  .sp-cta-box { padding: 40px 24px; border-radius: 12px; }
  .sp-cta-btn { width: 100%; justify-content: center; }
  .svcd-strengths { grid-template-columns: 1fr; }
}
