/* /offshore/offshore.css */

/* ===== Hero ===== */
.os-hero {
  background: linear-gradient(150deg, #060f28 0%, #0d2952 60%, #0a1f4e 100%);
  color: #fff;
  padding: 6rem 1.5rem 5rem;
  overflow: hidden;
  position: relative;
}
.os-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(197,160,71,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.os-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.os-hero__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold, #c5a047);
  background: rgba(197,160,71,0.1);
  border: 1px solid rgba(197,160,71,0.3);
  padding: 0.3rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}
.os-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: #fff;
}
.os-hero h1 em {
  font-style: normal;
  color: var(--accent-gold, #c5a047);
}
.os-hero__tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}
.os-hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}
.os-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.os-hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.os-hero__stat-num {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--accent-gold, #c5a047);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.os-hero__stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.5;
}

/* ===== Section shared ===== */
.os-section {
  padding: 5rem 1.5rem;
}
.os-section--gray {
  background: #f7f8fc;
}
.os-section--dark {
  background: linear-gradient(150deg, #060f28 0%, #0d2952 100%);
  color: #fff;
}
.os-container {
  max-width: 1100px;
  margin: 0 auto;
}
.os-heading {
  text-align: center;
  margin-bottom: 3rem;
}
.os-heading__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold, #c5a047);
  margin-bottom: 0.75rem;
}
.os-heading h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: #0a1628;
  line-height: 1.35;
}
.os-heading--dark h2 { color: #fff; }
.os-heading h2 em { font-style: normal; color: var(--accent-gold, #c5a047); }
.os-heading__sub {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.75;
}
.os-heading--dark .os-heading__sub { color: rgba(255,255,255,0.65); }

/* ===== Problem cards ===== */
.os-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.os-problem-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 16px rgba(6,15,40,0.07);
  text-align: center;
  border-top: 3px solid var(--accent-gold, #c5a047);
}
.os-problem-card__num {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--accent-gold, #c5a047);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.os-problem-card__caption {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}
.os-problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 0.6rem;
}
.os-problem-card p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.75;
  margin: 0;
}

/* ===== Pain cards ===== */
.os-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.os-pain-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 2rem 1.5rem;
}
.os-pain-card__icon {
  width: 48px; height: 48px;
  background: rgba(197,160,71,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-gold, #c5a047);
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}
.os-pain-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}
.os-pain-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin: 0;
}
.os-pain-card__tag {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ===== Why us ===== */
.os-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.os-why__points { display: flex; flex-direction: column; gap: 1.5rem; }
.os-why__point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.os-why__point-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(197,160,71,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-gold, #c5a047);
  font-size: 1.1rem;
}
.os-why__point h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 0.3rem;
}
.os-why__point p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.75;
  margin: 0;
}
.os-why__quote {
  background: linear-gradient(135deg, #060f28 0%, #0d2952 100%);
  border-radius: 16px;
  padding: 2.5rem;
  color: #fff;
}
.os-why__quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--accent-gold, #c5a047);
  opacity: 0.4;
  font-family: Georgia, serif;
  margin-bottom: -1rem;
}
.os-why__quote p {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 1.5rem;
}
.os-why__quote-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.os-why__quote-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-gold, #c5a047);
}
.os-why__quote-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ===== Tech cards ===== */
.os-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.os-tech-card {
  background: #fff;
  border: 1px solid #e4e7ef;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  position: relative;
}
.os-tech-card__hot {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: var(--accent-gold, #c5a047);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.os-tech-card__icon {
  width: 44px; height: 44px;
  background: rgba(197,160,71,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-gold, #c5a047);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.os-tech-card h3 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 0.4rem;
}
.os-tech-card p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.os-tech-card__stack {
  font-size: 0.72rem;
  color: #94a3b8;
  font-family: 'Inter', monospace;
}

/* ===== Service models ===== */
.os-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.os-model-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e4e7ef;
  display: flex;
  flex-direction: column;
}
.os-model-card__head {
  background: linear-gradient(135deg, #060f28 0%, #0d2952 100%);
  padding: 2rem 1.75rem 1.75rem;
  color: #fff;
}
.os-model-card--featured .os-model-card__head {
  background: linear-gradient(135deg, #0a1628 0%, #1a3a6e 100%);
  position: relative;
}
.os-model-card--featured .os-model-card__head::before {
  content: 'おすすめ';
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--accent-gold, #c5a047);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.os-model-card__type {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold, #c5a047);
  margin-bottom: 0.75rem;
}
.os-model-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.os-model-card__head p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin: 0;
}
.os-model-card__body {
  padding: 1.75rem;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.os-model-card__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}
.os-model-card__body li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.os-model-card__body li::before {
  content: '✓';
  color: var(--accent-gold, #c5a047);
  font-weight: 700;
  flex-shrink: 0;
}
.os-model-card__fit {
  background: #f7f8fc;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: #555;
  line-height: 1.7;
}
.os-model-card__fit strong { color: #0a1628; }

/* ===== Cost section ===== */
.os-cost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.os-cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(6,15,40,0.08);
}
.os-cost-table th {
  background: #0a1628;
  color: #fff;
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
}
.os-cost-table th:not(:first-child) { text-align: center; }
.os-cost-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #f0f0f5;
  color: #374151;
}
.os-cost-table td:not(:first-child) { text-align: center; }
.os-cost-table tr:last-child td { border-bottom: none; }
.os-cost-table .os-cost-table__np {
  color: var(--accent-gold, #c5a047);
  font-weight: 700;
}

.os-cost-case {
  background: linear-gradient(135deg, #060f28 0%, #0d2952 100%);
  border-radius: 16px;
  padding: 2rem;
  color: #fff;
}
.os-cost-case h3 {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
}
.os-cost-case__config {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.os-cost-case__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.os-cost-case__row:last-of-type { border-bottom: none; }
.os-cost-case__label { font-size: 0.875rem; color: rgba(255,255,255,0.65); }
.os-cost-case__val { font-size: 1rem; font-weight: 700; color: #fff; }
.os-cost-case__val--np { color: var(--accent-gold, #c5a047); }
.os-cost-case__result {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(197,160,71,0.12);
  border: 1px solid rgba(197,160,71,0.3);
  border-radius: 10px;
  text-align: center;
}
.os-cost-case__result-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-gold, #c5a047);
  line-height: 1;
}
.os-cost-case__result-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.25rem;
}

/* ===== Flow ===== */
.os-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.os-flow::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold, #c5a047), rgba(197,160,71,0.2));
}
.os-flow-step {
  padding: 0 1rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.os-flow-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem; height: 4rem;
  background: #0a1628;
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  border: 3px solid var(--accent-gold, #c5a047);
}
.os-flow-step h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 0.4rem;
}
.os-flow-step__period {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--accent-gold, #c5a047);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.os-flow-step p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* ===== FAQ ===== */
.os-faq { display: flex; flex-direction: column; gap: 1rem; }
.os-faq-item {
  border: 1px solid #e4e7ef;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.os-faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #0a1628;
  cursor: pointer;
  list-style: none;
}
.os-faq-item summary::marker,
.os-faq-item summary::-webkit-details-marker { display: none; }
.os-faq-item summary::before {
  content: 'Q';
  background: var(--accent-gold, #c5a047);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  flex-shrink: 0;
}
details[open] .os-faq-item summary { border-bottom: 1px solid #e4e7ef; }
.os-faq-item__body {
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.85;
  background: #fafafa;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .os-problem-grid { grid-template-columns: 1fr; }
  .os-pain-grid { grid-template-columns: 1fr; }
  .os-why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .os-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .os-model-grid { grid-template-columns: 1fr; }
  .os-cost-grid { grid-template-columns: 1fr; }
  .os-flow { grid-template-columns: 1fr; }
  .os-flow::before { display: none; }
  .os-flow-step { padding-bottom: 1.5rem; }
}
@media (max-width: 768px) {
  .os-hero { padding: 4rem 1.5rem 3.5rem; }
  .os-hero__stats { gap: 1.5rem; }
  .os-section { padding: 3.5rem 1.5rem; }
  .os-tech-grid { grid-template-columns: 1fr 1fr; }
  .os-why__quote-stats { grid-template-columns: 1fr; gap: 0.75rem; }
  .os-problem-grid { grid-template-columns: 1fr; }
}
