.ohtani-service {
  font-family: "Noto Sans JP", sans-serif;
  color: #1e293b;
  line-height: 1.8;
}

.ohtani-service * {
  box-sizing: border-box;
}

.ohtani-service a {
  text-decoration: none;
}

.os-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.os-section {
  padding: 96px 0;
}

.os-gray {
  background: #f7f9fc;
}

.os-title {
  font-size: 40px;
  line-height: 1.4;
  color: #0a2a66;
  text-align: center;
  font-weight: 800;
  margin: 0 0 16px;
}

.os-lead {
  text-align: center;
  color: #64748b;
  font-size: 17px;
  margin: 0 0 48px;
}

.os-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  transition: .25s;
}

.os-btn-primary {
  background: #0a2a66;
  color: #fff;
}

.os-btn-primary:hover {
  background: #2d7ff9;
  color: #fff;
}

.os-btn-secondary {
  border: 2px solid #0a2a66;
  color: #0a2a66;
}

.os-btn-secondary:hover {
  background: #0a2a66;
  color: #fff;
}

/* Hero */
.os-hero {
  padding: 96px 0 110px;
  background: linear-gradient(135deg, #ffffff 0%, #f7f9fc 100%);
  overflow: hidden;
}

.os-hero-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  gap: 56px;
}

.os-badge {
  display: inline-block;
  color: #2d7ff9;
  font-weight: 800;
  margin-bottom: 18px;
}

.os-hero h1 {
  font-size: 50px;
  line-height: 1.32;
  color: #0a2a66;
  font-weight: 900;
  margin: 0 0 24px;
}

.os-hero p {
  color: #475569;
  font-size: 18px;
  margin: 0 0 30px;
}

.os-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.os-hero-visual img {
  width: 100%;
  max-width: 540px;
  display: block;
  margin: 0 auto;
}

/* Cards */
.os-card-grid {
  display: grid;
  gap: 24px;
}

.os-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.os-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.os-grid-6 {
  grid-template-columns: repeat(6, 1fr);
}

.os-card {
  background: #fff;
  border-radius: 22px;
  padding: 30px 24px;
  box-shadow: 0 14px 45px rgba(10,42,102,.08);
  text-align: center;
}

.os-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 18px;
}

.os-card h3 {
  color: #0a2a66;
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 12px;
  font-weight: 800;
}

.os-card p {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

/* Solution flow */
.os-solution-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  align-items: stretch;
}

.os-flow-card {
  background: #fff;
  border-radius: 999px;
  padding: 28px 18px;
  box-shadow: 0 14px 45px rgba(10,42,102,.07);
  text-align: center;
  position: relative;
}

.os-flow-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -28px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' viewBox='0 0 34 34'%3E%3Cpath d='M8 4 L22 17 L8 30' fill='none' stroke='%23155bd5' stroke-width='4.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

.os-flow-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 12px;
}

.os-flow-card h3 {
  color: #0a2a66;
  font-size: 17px;
  margin: 0;
}

/* Service detail */
.os-service-detail {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 48px;
  align-items: center;
  margin-bottom: 42px;
  background: #fff;
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 14px 45px rgba(10,42,102,.08);
}

.os-service-detail:nth-child(even) {
  grid-template-columns: 58% 42%;
}

.os-service-image img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  display: block;
}

.os-service-tag {
  display: inline-flex;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a2a66, #2d7ff9);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  margin-bottom: 18px;
}

.os-service-detail h3 {
  font-size: 30px;
  color: #0a2a66;
  margin: 0 0 16px;
  font-weight: 900;
}

.os-service-detail p {
  color: #475569;
  margin: 0 0 20px;
}

.os-check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.os-check-list li {
  color: #334155;
  font-size: 15px;
}

.os-check-list li::before {
  content: "✓";
  color: #2d7ff9;
  font-weight: 900;
  margin-right: 8px;
}

/* Cases */
.os-case-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
}

/* Process + FAQ */
.os-two-col {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 56px;
  align-items: start;
}

.os-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.os-process-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(10,42,102,.07);
}

.os-process-card span {
  display: block;
  color: #2d7ff9;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.os-process-card h3 {
  color: #0a2a66;
  font-size: 18px;
  margin: 0 0 6px;
}

.os-process-card p {
  color: #64748b;
  font-size: 13px;
  margin: 0;
}

.os-faq-item {
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: 0 10px 30px rgba(10,42,102,.06);
}

.os-faq-item h3 {
  color: #0a2a66;
  font-size: 16px;
  margin: 0;
}

.os-process-section {
  background: #ffffff;
}

.os-process-wrap {
  max-width: 980px;
  margin: 0 auto;
}

/* FAQ */
.os-faq-section {
  background: #f7f9fc;
}

.os-faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.os-faq-item {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 10px 28px rgba(10,42,102,.06);
  transition: .25s ease;
}

.os-faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(10,42,102,.10);
}

.os-faq-item h3 {
  margin: 0;
  font-size: 17px;
  color: #0a2a66;
  font-weight: 800;
}

.os-faq-item p {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .os-process {
    grid-template-columns: 1fr;
  }

  .os-faq-item {
    padding: 20px;
  }
}


/* CTA */
.os-cta {
  background: linear-gradient(135deg, #2d7ff9, #0a2a66);
  color: #fff;
  border-radius: 30px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}

.os-cta h2 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 10px;
}

.os-cta p {
  color: rgba(255,255,255,.84);
  margin: 0;
}

.os-btn-white {
  background: #fff;
  color: #0a2a66;
}

/* ===========================
   FAQ
=========================== */

.os-faq-list{
    display:flex;
    flex-direction:column;
    gap:16px;
    width:100%;
}

.os-faq-item{
    width:100%;
    max-width:100%;
    box-sizing:border-box;

    background:#fff;
    border-radius:18px;
    padding:20px 24px;

    box-shadow:0 10px 28px rgba(10,42,102,.06);

    transition:.25s ease;
}

.os-faq-item:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 40px rgba(10,42,102,.10);
}

.os-faq-item h3{
    margin:0;
    font-size:17px;
    color:#0a2a66;
    font-weight:700;
}

.os-faq-item p{
    margin-top:10px;
    color:#64748b;
    font-size:15px;
    line-height:1.7;
}

/* Technology Stack Section */
.os-tech-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

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

.os-tech-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 34px 28px;
  box-shadow: 0 14px 45px rgba(10,42,102,.08);
  text-align: center;
  min-height: 430px;
  transition: .25s ease;
}

.os-tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 55px rgba(10,42,102,.12);
}

.os-tech-icon {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #eef6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.os-tech-icon img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  display: block;
}

.os-tech-card h3 {
  font-size: 26px;
  line-height: 1.35;
  color: #0a2a66;
  font-weight: 900;
  margin: 0 0 10px;
  word-break: keep-all;
}

.os-tech-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(45,127,249,.10);
  border: 1px solid rgba(45,127,249,.25);
  color: #2d7ff9;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.os-tech-card p {
  color: #475569;
  font-size: 15px;
  line-height: 1.9;
  margin: 0 0 20px;
}

.os-tech-line {
  width: 46px;
  height: 3px;
  background: #b7c7dc;
  border-radius: 999px;
  margin: 0 auto 20px;
}

.os-tech-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.os-tech-list li {
  color: #334155;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 7px;
}

.os-tech-list li::before {
  content: "✓";
  color: #2d7ff9;
  font-weight: 900;
  margin-right: 8px;
}

.os-tech-cta {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid rgba(45,127,249,.12);
  border-radius: 28px;
  padding: 34px 40px;
  box-shadow: 0 14px 45px rgba(10,42,102,.08);
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 32px;
  align-items: center;
}

.os-tech-cta-image img {
  width: 100%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  display: block;
}

.os-tech-cta h3 {
  font-size: 26px;
  color: #0a2a66;
  font-weight: 900;
  margin: 0 0 10px;
}

.os-tech-cta p {
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 1024px) {
  .os-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .os-tech-cta {
    grid-template-columns: 160px 1fr;
  }

  .os-tech-cta .os-btn {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .os-tech-grid {
    grid-template-columns: 1fr;
  }

  .os-tech-card {
    min-height: auto;
    padding: 30px 24px;
  }

  .os-tech-card h3 {
    font-size: 24px;
  }

  .os-tech-list {
    text-align: center;
  }

  .os-tech-cta {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 24px;
  }

  .os-tech-cta-image img {
    margin: 0 auto;
  }
}


/* Responsive */
@media (max-width: 1024px) {
  .os-hero-grid,
  .os-service-detail,
  .os-service-detail:nth-child(even),
  .os-two-col {
    grid-template-columns: 1fr;
  }

  .os-grid-4,
  .os-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .os-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .os-solution-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .os-flow-card:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .os-section {
    padding: 64px 0;
  }

  .os-hero {
    padding: 72px 0;
  }

  .os-hero h1 {
    font-size: 34px;
  }

  .os-title {
    font-size: 30px;
  }

  .os-grid-3,
  .os-grid-4,
  .os-grid-6,
  .os-solution-flow,
  .os-process {
    grid-template-columns: 1fr;
  }

  .os-service-detail {
    padding: 26px;
  }

  .os-check-list {
    grid-template-columns: 1fr;
  }

  .os-cta {
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }

  .os-cta h2 {
    font-size: 28px;
  }
}