/* =========================================================================
   Service Specific Styles (Extracted from style.css)
   ========================================================================= */

/* -- 1. Top Page: Service Detailed Section (Listing in Front Page) -- */
.fp-service-detailed {
  background-color: #fafafa;
  padding: 120px 0;
}

.fp-service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fp-service-item {
  display: flex;
  border-top: 1px solid #ddd;
  padding: 60px 0;
}
.fp-service-item:last-child {
  border-bottom: 1px solid #ddd;
}

.fp-service-info {
  flex: 0 0 45%;
  padding-right: 60px;
}
.fp-service-num {
  font-size: 14px;
  font-weight: 700;
  color: #c9a063;
  display: block;
  margin-bottom: 20px;
}
.fp-service-info h3 {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 20px;
}
.fp-service-info p {
  font-size: 17px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 35px;
}

.fp-service-link {
  display: inline-block;
  background-color: #0b1a32;
  color: #fff;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 26, 50, 0.2);
}

.fp-service-link:hover {
  background-color: #00b4d8;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 180, 216, 0.3);
}

.fp-service-details {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.fp-service-details li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 25px;
  border-bottom: 1px solid #f2f2f2;
  font-size: 16px;
  color: #333;
  transition: background-color 0.3s;
}
.fp-service-details li:last-child {
  border-bottom: none;
}
.fp-service-details li:hover {
  background-color: #fcfcfc;
}
.fp-service-details .arrow {
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #bbb;
  border-right: 1.5px solid #bbb;
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .fp-service-detailed {
    padding: 80px 0;
  }
  .fp-service-item {
    flex-direction: column;
    padding: 40px 0;
  }
  .fp-service-info {
    flex: none;
    padding-right: 0;
    margin-bottom: 30px;
  }
  .fp-service-info h3 {
    font-size: 26px;
  }
  .fp-service-details li {
    font-size: 15px;
    padding: 15px 15px;
  }
}

/* -- 2. Single Service Detail Pages (Ads, LINE, TOOL) -- */

/* Hero Section */
.service-fv {
  padding: 140px 0 100px;
  background: linear-gradient(135deg, #0b1a32 0%, #0d5c9c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.service-fv::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.service-fv .en {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #00b4d8;
  font-weight: 800;
  margin-bottom: 20px;
  display: block;
}
.service-fv h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #fff;
}
.service-fv-lead {
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
  opacity: 0.9;
}

/* Concept Section */
.service-concept {
  padding: 100px 0;
  background-color: #fff;
}
.concept-message-box {
  max-width: 1100px;
  margin: 0 auto;
}
.concept-message-box h2 {
  font-size: 32px;
  color: #1a1a1a;
  margin-bottom: 40px;
  text-align: center;
}
.concept-message-box p {
  font-size: 18px;
  line-height: 2;
  color: #444;
  background: #f8fafc;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  text-align: left;
  border-left: 6px solid #0b1a32;
}

/* Range Cards */
.service-range {
  padding: 100px 0;
  background: #f8fafc;
}
.service-range-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.service-range-card {
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}
.service-range-card:hover {
  transform: translateY(-5px);
}
.range-num {
  font-size: 40px;
  font-weight: 900;
  color: rgba(0, 180, 216, 0.1);
  line-height: 1;
  margin-bottom: 10px;
}
.service-range-card h3 {
  font-size: 24px;
  color: #0b1a32;
  margin-bottom: 20px;
}
.service-range-card p {
  color: #666;
  line-height: 1.8;
}

/* Value Integration (LP/Analysis) */
.service-value-add {
  padding: 120px 0;
  background: #fff;
}
.value-add-item {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}
.value-add-item:last-child {
  margin-bottom: 0;
}
.value-add-item.reverse {
  flex-direction: row-reverse;
}
.value-visual {
  flex: 1;
  background: linear-gradient(135deg, #eef2f3 0%, #fcfcfc 100%);
  border-radius: 24px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  border: 1px solid #eee;
  position: relative;
  text-align: center;
}
.value-visual .icon-box {
  font-size: 60px;
  margin-bottom: 20px;
}
.value-visual .tagline {
  font-size: 20px;
  font-weight: 800;
  color: #0d5c9c;
}
.value-content {
  flex: 1;
}
.value-content h3 {
  font-size: 32px;
  margin-bottom: 25px;
  color: #1a1a1a;
}
.value-content p {
  font-size: 17px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}
.value-features {
  list-style: none;
  padding: 0;
}
.value-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #0b1a32;
}
.value-features li::before {
  content: "✓";
  color: #00b4d8;
  font-weight: 900;
}

/* Pricing Table */
.service-pricing {
  padding: 100px 0;
  background: #f8fafc;
}
.pricing-table-wrapper {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
}
.pricing-table th {
  background: #0b1a32;
  color: #fff;
  text-align: left;
  padding: 25px 30px;
  font-size: 16px;
}
.pricing-table td {
  padding: 25px 30px;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
  font-size: 17px;
}
.pricing-table td:first-child {
  font-weight: 800;
  color: #111;
  width: 30%;
  background-color: #fcfcfc;
}

@media (max-width: 850px) {
  .service-range-grid { grid-template-columns: 1fr; }
  .value-add-item, .value-add-item.reverse { flex-direction: column; gap: 40px; }
  .service-fv h1 { font-size: 32px; }
  .concept-message-box p { padding: 30px; font-size: 16px; }
}

/* -- 3. Extra Components inspired by reference structure -- */

/* Trouble Check Section */
.service-trouble {
  padding: 100px 0;
  background: #fff;
}
.trouble-box {
  background: #f8fafc;
  padding: 60px;
  border-radius: 20px;
  max-width: 900px;
  margin: 0 auto;
  border: 2px solid #eef2f6;
}
.trouble-box h2 {
  font-size: 28px;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.4;
}
.trouble-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.trouble-list li {
  font-size: 18px;
  color: #444;
  padding: 15px 0 15px 40px;
  position: relative;
  border-bottom: 1px dashed #ced4da;
}
.trouble-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: #e63946;
  font-size: 24px;
  font-weight: 900;
  top: 12px;
}
.trouble-list li:last-child {
  border-bottom: none;
}

/* Workflow (Steps) */
.service-workflow {
  padding: 100px 0;
  background: #fff;
}
.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 50px auto 0;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  border-left: 6px solid #00b4d8;
}
.step-num {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: #0b1a32;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.step-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111;
}
.step-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* Big CTA Block */
.service-cta-block {
  padding: 80px 0;
  background: linear-gradient(135deg, #0b1a32 0%, #0d5c9c 100%);
  text-align: center;
  color: #fff;
  border-radius: 20px;
  margin: 0 20px 100px;
}
.service-cta-block h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #fff;
}
.service-cta-block p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}
.cta-large-btn {
  display: inline-block;
  background: #ff9f1c; /* 目立つ色 */
  color: #fff;
  padding: 22px 60px;
  font-size: 22px;
  font-weight: 800;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 159, 28, 0.4);
  transition: transform 0.3s ease;
}
.cta-large-btn:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .trouble-box { padding: 30px 20px; }
  .trouble-list li { font-size: 16px; }
  .step-item { flex-direction: column; gap: 10px; }
  .service-cta-block h2 { font-size: 24px; }
}
