:root {
  --red: #8c1b1b;
  --red-dark: #6f1515;
  --text: #1f1f1f;
  --muted: #5a5a5a;
  --bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo",
    sans-serif;
  color: var(--text);
  background: #f4f4f4;
  overflow-x: hidden;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.fv {
  position: relative;
  padding: 150px 0 200px;
  background: #111 url("../images/FV1.jpeg") left 35% no-repeat;
  background-size: cover;
  overflow: hidden;
}

.fv-grid {
  display: grid;
  gap: 36px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
  pointer-events: none;
}

.fv-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: clamp(260px, 26vw, 400px);
  height: auto;
  z-index: 2;
}

.fv-content {
  position: relative;
  z-index: 1;
  margin-left: auto;
  max-width: 780px;
  text-align: left;
  color: #fff;
  transform: translateX(24px);
  overflow-wrap: anywhere;
}

.badge {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.badge-strong {
  background: rgba(140, 27, 27, 0.85);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  font-size: 18px;
  padding: 12px 18px;
  font-weight: 700;
}

.fv-badge-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 6px;
}

.fv-badge-row .badge {
  margin-bottom: 0;
}

.fv-badge-note {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
  line-height: 1.4;
  overflow-wrap: anywhere;
  margin-bottom: 16px;
}

.fv-badge-note span {
  display: inline;
}

@media (min-width: 401px) {
  .fv-badge-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .fv-badge-note span::after {
    content: " / ";
  }

  .fv-badge-note span:last-child::after {
    content: "";
  }
}

.fv h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.35;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
  overflow-wrap: anywhere;
}

.highlight-underline {
  display: inline;
  padding: 0 2px 4px;
  background: linear-gradient(transparent 70%, rgba(212, 60, 60, 0.6) 55%);
  box-decoration-break: clone;
}

.highlight-red-dark {
  color: #a82020;
  text-shadow: 0 4px 12px rgba(202, 201, 201, 0.45);
  -webkit-text-stroke: 3px rgb(255, 240, 240);
  paint-order: stroke;
}

.no-break {
  white-space: nowrap;
}

.fv p {
  font-size: clamp(16px, 2.6vw, 22px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.45);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.fv-subcopy-line {
  display: inline;
}

@media (max-width: 1300px) {
  .fv {
    padding: 130px 0 170px;
    background-position: left 30%;
  }

  .fv-content {
    max-width: 660px;
    transform: translateX(12px);
  }

  .badge-strong {
    font-size: 17px;
    padding: 10px 16px;
  }

  .fv-badge-note {
    font-size: 13px;
  }

  .fv h1 {
    font-size: clamp(30px, 4.6vw, 52px);
  }

  .fv p {
    font-size: 18px;
  }

  .cta {
    padding: 18px 40px;
    font-size: 18px;
    min-height: 56px;
  }

  .btn-white {
    padding: 18px 34px !important;
    font-size: 17px !important;
    min-height: 56px;
  }
}

@media (max-width: 1300px) {
  .fv-content {
    max-width: 640px;
    transform: translateX(0);
  }

  .fv h1 {
    font-size: clamp(30px, 4.4vw, 50px);
  }
}

@media (max-width: 1120px) {
  .fv-content {
    max-width: 620px;
    transform: translateX(0);
  }

  .fv h1 {
    font-size: clamp(28px, 4.2vw, 48px);
  }
}

@media (max-width: 992px) {
  .fv {
    padding: 110px 0 150px;
    background-position: 35% 30%;
    background-size: 140%;
  }

  .fv-grid {
    gap: 24px;
  }

  .fv-content {
    max-width: 600px;
    transform: none;
  }

  .fv-icon {
    top: 16px;
    right: 16px;
    width: clamp(180px, 22vw, 250px) !important;
  }

  .cta-wrap {
    justify-content: flex-start;
  }
  .cta {
    padding: 14px 30px !important;
  }
  .btn-white {
    padding: 14px 24px !important;
    font-size: 17px !important;
    min-height: 56px;
  }

  .badge-strong {
    font-size: 15px;
    padding: 9px 14px;
  }

  .fv-badge-note {
    font-size: 12px;
  }

  .fv p {
    font-size: 16px;
  }

  .specialized-card-body {
    padding-top: 8px !important;
  }

  .specialized-card h3 {
    margin-bottom: 4px !important;
  }
}

@media (max-width: 768px) {
  .fv {
    padding: 90px 0 120px;
    background-position: left 25%;
    background-size: cover;
  }
  .fv-grid{
    margin-right: 0;
    margin-left: 0;
  }
  
  .fv-content {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 36px;
    padding-right: 26px;
  }

  .fv h1 {
    font-size: clamp(28px, 6.2vw, 44px);
  }

  .cta-wrap {
    justify-content: flex-start;
    flex-wrap: wrap !important;
  }

  .cta,
  .btn-white {
    width: 350px;
    padding: 14px 20px !important;
  }

  .badge-strong {
    font-size: 13px;
    padding: 8px 12px;
  }

  .fv-badge-note {
    font-size: 11px;
  }

  .fv p {
    font-size: 15px;
  }
}



@media (min-width: 769px) and (max-width: 1300px) {
  .cta-wrap {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }

  .cta,
  .btn-white {
    width: auto;
  }
}

@media (min-width: 500px) and (max-width: 886px) {
  .service-grid.service-grid-main {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: grid !important;
    grid-template-columns: 40% 60%;
    align-items: stretch;
    min-height: 200px;
  }

  .service-image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
  }

  .service-body {
    width: auto;
    padding: 18px 20px;
    align-self: stretch;
  }
}

@media (max-width: 500px) {
    .badge-strong {
      font-size: 12px;
      padding: 7px 10px;
    }
  
    .fv-badge-note {
      font-size: 10px;
      display: grid;
      gap: 2px;
    }

    .fv-badge-note span::after {
      content: "" !important;
    }
  
    .fv {
      padding: 110px 0 80px !important;
      background-position: left 25% !important;
      background-size: 230% !important;
    }
    .fv p {
      font-size: 13px;
    }
    
    .fv h1{
      font-size: clamp(20px, 6.0vw, 30px) !important;
    }
  
    .cta,
    .btn-white {
      width: 250px;
      font-size: 14px !important;
      padding: 6px 10px !important;
      min-height: 44px;
    }

    .contact-tel-text {
      display: flex !important;
      flex-direction: column;
      line-height: 1.2;
    }

    .contact-tel-label,
    .contact-tel-note {
      display: block;
    }

    .section-eyebrow {
      font-size: 13px !important;
      padding: 5px 10px !important;
    }

    .section-title h2 {
      font-size: 22px !important;
    }

    .section-title::after {
      width: 60px !important;
      height: 2px !important;
      margin: 10px auto 0 !important;
    }

    .case,
    .specialized,
    .problems,
    .solution,
    .service,
    .pricing,
    .contact,
    .faq,
    .cta-section {
      padding: 70px 0 !important;
    }

    .problem-item {
      font-size: 15px !important;
    }

    .service-title {
      font-size: 19px !important;
    }

    .service-text {
      font-size: 15px !important;
    }

    .service-detail {
      font-size: 14px !important;
    }

    .specialized-card {
      max-width: 230px !important;
    }

    .specialized-card h3 {
      font-size: 16px !important;
    }

    .specialized-card p {
      font-size: 12px !important;
    }

    .pricing-summary li {
      font-size: 15px !important;
    }

    .plan-name {
      font-size: 17px !important;
    }

    .plan-rec,
    .price-normal,
    .plan-points,
    .price-list li,
    th,
    td {
      font-size: 13px !important;
    }

    .price-monitor {
      font-size: 26px !important;
    }

    .pricing-subtitle,
    .pricing-sub h3 {
      font-size: 17px !important;
    }

    .price-list {
      grid-template-columns: 1fr !important;
    }

    .case-label {
      font-size: 13px !important;
    }

    .case-value {
      font-size: 15px !important;
    }

    .case-card {
      padding: 18px 18px !important;
    }

    .case-flow {
      grid-template-columns: 1fr !important;
      gap: 6px !important;
      text-align: center;
    }

    .case-arrow {
      transform: rotate(90deg);
      margin: 4px 0;
    }

    .solution {
      padding: 76px 0 58px !important;
    }

    .solution-stairs {
      margin: 20px auto 18px !important;
      padding: 18px 0 20px !important;
    }

    .solution-stairs::before {
      background-size: 40% 55% !important;
      transform: translateX(-10px) translateY(-30px) rotate(40deg) !important;
    }

    .solution-stairs .solution-step {
      width: 82% !important;
      transform: none !important;
      font-size: 14px !important;
    }

    .solution-stairs .solution-step:nth-child(1) {
      transform: translateX(30px) !important;
    }

    .solution-stairs .solution-step:nth-child(3) {
      transform: translateX(-30px) !important;
    }

    .stage-label {
      font-size: 12px !important;
      padding: 4px 10px !important;
    }

    .solution-note p {
      font-size: 14px !important;
    }

    .solution-message {
      font-size: 17px !important;
    }

    .solution-cta .cta {
      font-size: 16px !important;
    }

    .field-card {
      grid-template-columns: 1fr !important;
      grid-template-rows: auto auto !important;
      border-radius: 22px !important;
    }

    .field-card-left {
      padding: 16px !important;
    }

    .field-card-right {
      padding: 18px 20px !important;
    }

    .field-card-left p {
      font-size: 19px !important;
    }

    .field-card-right h4 {
      font-size: 16px !important;
    }

    .service-focus-text {
      font-size: 13px !important;
    }

    .service-focus-list {
      font-size: 13px !important;
    }

    .service-focus-note {
      font-size: 14px !important;
    }

    .contact-grid {
      grid-template-columns: 1fr !important;
    }

    .contact-left {
      order: 1;
    }

    .contact-form {
      order: 3;
    }

    .contact-left .contact-card {
      order: 2;
    }

    .contact-left .contact-card.is-emphasis {
      order: 1;
    }

    .contact-card h3 {
      font-size: 17px !important;
    }

    .contact-card p {
      font-size: 14px !important;
    }

    .sample-viewport {
      height: 240px !important;
    }

    .sample-frame {
      height: 240px !important;
    }

    .sample-checklist li {
      font-size: 13px !important;
    }

    .contact-form h3 {
      font-size: 17px !important;
    }

    .form-grid label {
      font-size: 13px !important;
    }

    .faq-item summary {
      font-size: 14px !important;
    }

    .faq-item p {
      font-size: 13px !important;
    }

    .cta-section h2 {
      font-size: 25px !important;
    }

    .cta-actions a {
      font-size: 14px !important;
    }

    .cta-actions {
      flex-direction: column;
      align-items: center;
    }

    .cta-actions a {
      width: 230px !important;
    }
  }

@media (max-width: 400px) {
  .fv {
    padding: 110px 0 80px !important;
    background-size: cover !important;
    background-position: left 10% !important;
  }

  .fv h1 {
    font-size: clamp(18px, 6.0vw, 24px) !important;
  }

  .badge-strong {
    font-size: 11px;
    padding: 6px 9px;
  }

  .fv-badge-note {
    font-size: 10px;
    display: grid;
    gap: 2px;
  }

  .fv-content {
    padding-left: 26px !important;
    padding-right: 26px !important;
  }

  .fv p {
    font-size: 12px;
  }

  .fv-subcopy-line {
    display: block;
  }

  .cta,
  .btn-white {
    min-height: 30px;
    width: 220px !important;
    font-size: 12px !important;
    padding: 12px 12px !important;
  }

  .specialized-grid {
    gap: 10px !important;
  }

  .specialized-card {
    max-width: 200px !important;
  }

  .specialized-card h3 {
    font-size: 15px !important;
  }

  .specialized-card p {
    font-size: 11px !important;
  }

  .section-eyebrow {
    font-size: 12px !important;
    padding: 4px 10px !important;
  }

  .section-title {
    margin-bottom: 20px !important;
  }

  .section-title h2 {
    font-size: 20px !important;
  }

  .section-title::after {
    width: 56px !important;
    height: 2px !important;
    margin: 10px auto 0 !important;
  }

  .case,
  .specialized,
  .problems,
  .solution,
  .service,
  .pricing,
  .contact,
  .faq,
  .cta-section {
    padding: 60px 0 !important;
  }


  .case-item {
    padding: 14px 16px !important;
  }

  .case-flow {
    gap: 4px !important;
  }

  .problem-item {
    font-size: 14px !important;
  }

  .service-title {
    font-size: 18px !important;
  }

  .service-text {
    font-size: 14px !important;
  }

  .service-detail {
    font-size: 13px !important;
  }

  .pricing-summary li {
    font-size: 16px !important;
  }

  .price-list {
    grid-template-columns: 1fr !important;
  }

  .case-label {
    font-size: 12px !important;
  }

  .case-value {
    font-size: 14px !important;
  }

  .case-card {
    padding: 14px 16px !important;
  }

  .case-flow {
    grid-template-columns: 1fr !important;
    gap: 6px;
    text-align: center;
  }

  .case-arrow {
    transform: rotate(90deg);
    margin: 2px 0;
  }

  .case {
    padding: 48px 0 !important;
  }

  .field-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .field-card-left {
    padding: 14px;
  }

  .field-card-right {
    padding: 16px 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .contact-left {
    order: 1;
  }

  .contact-form {
    order: 3;
  }

  .contact-left .contact-card {
    order: 2;
  }

  .contact-left .contact-card.is-emphasis {
    order: 1;
  }

  .problems {
    padding: 50px 0 36px !important;
  }

  .solution {
    padding: 80px 0 60px !important;
  }

  .solution-stairs .solution-step {
    width: 70% !important;
    transform: none !important;
    font-size: clamp(8px, 3.3vw, 25px) !important;
  }

  .stage-label {
    font-size: clamp(8px, 1.5vw, 12px) !important ;
    padding: 4px 10px !important;
  }

  .solution-stairs .solution-step:nth-child(1) {
    transform: translateX(38px) !important;
  }

  .solution-stairs .solution-step:nth-child(3) {
    transform: translateX(-38px) !important;
  }

  .solution-stairs {
    margin: 18px auto 16px !important;
    padding: 16px 0 18px !important;
  }

  .solution-stairs::before {
    background-size: 35% 50% !important;
    transform: translateX(10px) translateY(-30px) rotate(40deg) !important;
  }

  .solution-note p {
    font-size: 13px !important;
  }

  .solution-message {
    font-size: clamp(14px, 5.5vw, 24px) !important;
  }

  .solution-message-line1,
  .solution-message-line2 {
    display: block !important;
  }

  .solution-cta .cta {
    font-size: 15px !important;
  }

  .service-subgrid {
    grid-template-columns: 1fr !important;
  }

  .field-card {
    border-radius: 18px !important;
  }

  .field-card-left p {
    font-size: 18px !important;
  }

  .field-card-right h4 {
    font-size: 15px !important;
  }

  .service-focus-text {
    font-size: 12px !important;
  }

  .service-focus-list {
    font-size: 12px !important;
  }

  .service-focus-note {
    font-size: 13px !important;
  }

  .contact-tel-note {
    display: block;
  }

  .contact-tel-label {
    display: block;
  }

  .contact-actions .btn-outline {
    flex-direction: row;
    align-items: center;
  }

  .contact-actions .btn-outline .btn-icon {
    margin: 0 8px 0 0;
  }

  .contact-tel-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .contact-card h3 {
    font-size: 16px !important;
  }

  .contact-card p {
    font-size: 13px !important;
  }

  .sample-viewport {
    height: 220px !important;
  }

  .sample-frame {
    height: 220px !important;
  }

  .sample-checklist li {
    font-size: 12px !important;
  }

  .contact-form h3 {
    font-size: 16px !important;
  }

  .contact-form .cta {
  display: block;
    width: auto !important;
    margin: 0 auto !important;
    font-size: 15px !important;
    padding: 6px 50px !important;
  }

  .form-grid label {
    font-size: 12px !important;
  }

  .faq-item p {
    font-size: 12px !important;
  }

  .faq-item summary {
    font-size: 13px !important;
  }


  .cta-actions a {
    font-size: 15px !important;
  }

  .pricing-summary li {
    font-size: 14px !important;
  }

  .plan-name {
    font-size: 16px !important;
  }

  .plan-rec,
  .price-normal,
  .plan-points,
  .price-list li,
  th,
  td {
    font-size: 12px !important;
  }

  .price-monitor {
    font-size: 24px !important;
  }

  .pricing-subtitle,
  .pricing-sub h3 {
    font-size: 16px !important;
  }

  .pricing {
    padding: 50px 0 !important;
  }

  .pricing-cards {
    gap: 12px !important;
  }

  .pricing-card {
    padding: 14px !important;
  }

  .plan-price {
    margin-bottom: 10px !important;
  }
  .solution-line {
    display: block !important;
  }

  .solution-sub {
    display: block;
    line-height: 1.7;
  }

  .solution-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .solution-sub br {
    display: none;
  }

  .field-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto !important;
  }

  .cta-section h2 {
    font-size: 22px !important;
  }

  .cta-actions a {
    width: 220px !important;
  }

  .cta-section h2 {
    font-size: 24px !important;
  }
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 24px 52px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 20px;
  transition: background 0.2s ease;
  min-height: 60px;
}

.cta:hover {
  background: var(--red-dark);
}

.cta-wrap {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 40px;
  border-radius: 14px;
  background: #fff;
  color: var(--red-dark);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 18px;
  border: 2px solid #fff;
  min-height: 60px;
}

.btn-white:hover {
  background: #f2f2f2;
}

/* FV buttons: keep current colors, add 3D depth */
.fv .cta-wrap .cta,
.fv .cta-wrap .btn-white {
  border-bottom: none;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.28);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.2s ease;
}

.fv .cta-wrap .cta {
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.32);
}

.fv .cta-wrap .btn-white {
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.24);
}

.fv .cta-wrap .cta:hover,
.fv .cta-wrap .btn-white:hover {
  transform: translateY(3px) !important;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.24) !important;
}

/* Non-FV buttons: same 3D style */
.solution-cta .cta,
.btn-outline,
.btn-line,
.contact-form .cta,
.cta-actions .cta,
.cta-actions .btn-outline,
.cta-actions .btn-line {
  border-bottom: none;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.26);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.2s ease;
}

.btn-outline,
.contact-form .cta,
.cta-actions .btn-outline {
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.30);
}

.btn-line,
.cta-actions .btn-line {
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.38);
}

.cta-actions .cta {
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.30);
}

.btn-outline:hover,
.btn-line:hover,
.contact-form .cta:hover,
.solution-cta .cta:hover,
.cta-actions .cta:hover,
.cta-actions .btn-outline:hover,
.cta-actions .btn-line:hover {
  transform: translateY(3px) !important;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.24) !important;
}

.case {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 14px auto 0;
  background: rgba(140, 27, 27, 0.25);
  border-radius: 999px;
}

.section-title.is-plain::after {
  display: none;
}

.section-eyebrow {
  display: inline-block;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--red-dark);
  border: 1px solid rgba(140, 27, 27, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-eyebrow.badge-white {
  background: #fff;
}

.section-title h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0;
  color: var(--text);
}

.service-title-main span {
  display: inline-block;
  white-space: nowrap;
}

.service-title-main span + span {
  margin-left: 6px;
}

.highlight-marker {
  display: inline-block;
  padding: 0 6px;
  background: linear-gradient(transparent 55%, rgba(212, 60, 60, 0.6) 55%);
  border-radius: 4px;
}

.case-card {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 32px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid rgba(140, 27, 27, 0.55);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.06);
  position: relative;
}

.case-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(140, 27, 27, 0.12);
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.case-card h3 {
  margin: 0 0 20px;
  font-size: 20px;
  color: var(--text);
}

.case-flow {
  display: grid;
  gap: 16px;
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
}

.case-item {
  padding: 18px 16px;
  border-radius: 12px;
  background: #f8f8f8;
}

.case-item.is-after {
  background: rgba(140, 27, 27, 0.08);
  border: 1px solid rgba(140, 27, 27, 0.25);
}

.case-label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.case-value {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.case-arrow {
  font-size: 22px;
  color: var(--red-dark);
  font-weight: 700;
}

.specialized {
  padding: 80px 0 70px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.specialized-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.case-merged {
  margin-top: 36px;
}

.specialized-card {
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-rows: 50% 50%;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.specialized-card h3 {
  margin: 0 0 8px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text);
}

.specialized-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(10px, 1.6vw, 15px);
}

.specialized-card-image {
  position: relative;
}

.specialized-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.specialized-card-body {
  padding: 14px 18px 16px;
  display: grid;
  align-content: start;
  text-align: center;
  background: #fafafa;
}
.problems {
  padding: 90px 0 60px;
  background: rgba(177, 55, 55, 0.281);
  position: relative;
}

.problems::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -70px;
  width: 100%;
  height: 70px;
  background: rgba(177, 55, 55, 0.281);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.problem-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 14px;
}

.problem-item {
  position: relative;
  padding: 18px 20px 18px 60px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.problem-item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 2px solid var(--red-dark);
  background: #fff;
}

.problem-item::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 50%;
  width: 12px;
  height: 6px;
  border-left: 3px solid var(--red-dark);
  border-bottom: 3px solid var(--red-dark);
  transform: translateY(-60%) rotate(-45deg);
}

.solution {
  padding: 90px 0;
  background: linear-gradient(180deg, #f7f7f7 0%, #ffffff 100%);
}

.solution-stairs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  max-width: 800px;
  margin: 28px auto 24px;
  position: relative;
  padding: 32px 0 36px;
}

.solution-stairs::before {
  content: "";
  position: absolute;
  inset: -300px 0;
  background: url("../images/arrow1.png") center/42% 100% no-repeat;
  transform: translateY(-70px) rotate(56deg);
  filter: brightness(0.8) opacity(0.45);
  pointer-events: none;
  z-index: 0;
}

.solution-step {
  position: relative;
  padding: 20px 24px;
  border-radius: 14px;
  background: #f4f4f4;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.solution-step.is-focus {
  background: rgba(140, 27, 27, 0.12);
  border: 1px solid rgba(140, 27, 27, 0.35);
  color: var(--red-dark);
}

.solution-stairs .solution-step:nth-child(1) {
  width: 42%;
  margin-left: 0;
  background: #a53232;
  color: #fff;
  transform: translateX(220px);
}

.solution-stairs .solution-step:nth-child(2) {
  width: 42%;
  margin-left: 0;
  background: #d46a6a;
  color: #fff;
  transform: translateX(0);
}

.solution-stairs .solution-step:nth-child(3) {
  width: 42%;
  margin-left: 0;
  background: #ffffff;
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.12);
  transform: translateX(-220px);
}

.stage-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.solution-step:nth-child(1) .stage-label,
.solution-step:nth-child(2) .stage-label {
  background: rgba(255, 255, 255, 0.95);
  color: #5f0f0f;
}

.solution-step:nth-child(3) .stage-label {
  border: 2px solid var(--red);
}

.solution-step {
  z-index: 1;
}

.solution-note {
  max-width: 860px;
  margin: 0 auto 18px;
  padding: 18px 22px;
  border-radius: 12px;
  background: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
}

.solution-note p {
  margin: 0;
  line-height: 1.8;
  color: var(--text);
  font-weight: 600;
}

.solution-line {
  display: block;
}

.solution-note:not(.is-split) .solution-line-1,
.solution-note:not(.is-split) .solution-sub {
  white-space: nowrap;
}

.solution-note:not(.is-split) .solution-line-a,
.solution-note:not(.is-split) .solution-line-b,
.solution-note:not(.is-split) .solution-line-c,
.solution-note:not(.is-split) .solution-line-d {
  display: inline;
}

.solution-note.is-split .solution-line-a,
.solution-note.is-split .solution-line-b,
.solution-note.is-split .solution-line-c,
.solution-note.is-split .solution-line-d {
  display: block;
}

.solution-note.is-split .solution-line-d {
  display: inline-block;
}

.solution-sub {
  margin-top: 8px;
  color: var(--red-dark);
}

.solution-note .solution-sub {
  margin-top: 8px;
  color: var(--red-dark);
}

.solution-emphasis {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 4px;
  border-radius: 999px;
  background: rgba(140, 27, 27, 0.1);
  color: var(--red-dark);
  font-weight: 700;
}

.solution-emphasis.strong {
  background: var(--red-dark);
  color: #fff;
}

.solution-message {
  text-align: center;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--red-dark);
  margin: 0;
}

.solution-message-line1,
.solution-message-line2 {
  display: inline;
}

.solution-cta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}
.service {
  padding: 90px 0;
  background: linear-gradient(rgba(247, 247, 247, 0.94), rgba(247, 247, 247, 0.94)),
    url("../images/construction1.jpeg") center/cover no-repeat;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 28px;
}

.service-grid-main {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.service-body {
  padding: 18px 20px 20px;
}

.service-title {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--text);
  letter-spacing: 0.02em;
  display: inline;
  padding: 0 4px 4px;
  background: linear-gradient(transparent 65%, rgba(140, 27, 27, 0.22) 65%);
  box-decoration-break: clone;
}

.service-text {
  margin: 10px 0 10px 0;
  color: var(--muted);
  line-height: 1.7;
  color: black;
}

.service-detail {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;

}

.service-detail li {
  margin: 0;
  color: black;
}

.service-detail li span {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-top: 4px;
  color: black;
}

.service-card ul,
.service-panel ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.service-subgrid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 22px;
}

.service-panel {
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.service-panel h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--text);
}

.service-panel-wide {
  max-width: none;
  width: 100%;
  margin: 0;
}

.service-rows {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.field-card {
  display: grid;
  grid-template-columns: 3fr 7fr;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(140, 27, 27, 0.25);
  background: #fff;
  min-height: 180px;
}

.field-card-left {
  background: var(--red-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  text-align: center;
}

.field-card-left p {
  margin: 0;
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: 0.06em;
}

.field-brand,
.field-feature {
  display: inline;
}

@media (min-width: 500px) {
  .field-card-left p {
    font-size: clamp(12px, 2.0vw, 30px) !important;
    line-height: 1.25;
  }

  .field-brand,
  .field-feature {
    display: block;
  }
}

.field-card-right {
  padding: 26px 28px;
}

.field-card-right h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--red-dark);
}

.service-focus-text {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
  font-weight: 600;
}

.service-focus-list {
  margin: 12px 0 6px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  list-style: disc;
}

.service-focus-list li {
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
}

.service-focus-note {
  margin: 0;
  font-weight: 700;
  color: var(--red-dark);
}

.pricing {
  padding: 90px 0;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing-summary {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.pricing-summary li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  justify-content: flex-start;
}

.pricing-summary li::before {
  content: "•";
  color: var(--red-dark);
  font-size: 24px;
  line-height: 1.2;
}

.pricing-subtitle,
.pricing-table h3,
.pricing-sub h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.pricing-cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 26px;
}

.pricing-card {
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}

.pricing-card.is-recommend {
  border: 2px solid rgba(140, 27, 27, 0.35);
  background: rgba(140, 27, 27, 0.05);
}

.plan-name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.plan-name-sub {
  display: inline;
}

@media (max-width: 1070px) and (min-width: 822px) {
  .pricing-card.is-recommend .plan-name-main,
  .pricing-card.is-recommend .plan-name-sub {
    display: block;
  }
}

.plan-rec {
  margin: 0 0 14px;
  color: var(--muted);
}

.plan-price {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.monitor-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  background: var(--red-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.price-compare {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-normal {
  color: var(--muted);
  text-decoration: line-through;
}

.price-off {
  padding: 2px 8px;
  background: rgba(140, 27, 27, 0.12);
  color: var(--red-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.price-monitor {
  font-size: 30px;
  color: var(--red-dark);
}

.plan-points {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
  font-size: 14px;
}

thead th {
  background: #f6f6f6;
  font-weight: 700;
}

tbody tr.is-recommend {
  background: rgba(140, 27, 27, 0.08);
}

.pricing-sub {
  margin-top: 18px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
}

.price-list li {
  display: grid;
  gap: 6px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8f8f8;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.price-list strong {
  color: var(--red-dark);
}

.contact {
  padding: 90px 0;
  background: #f7f7f7;
}

.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1fr);
  margin-bottom: 26px;
}

.contact-left {
  display: contents;
}

.contact-card {
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-card.is-emphasis {
  grid-column: 1 / -1;
  border: 2px solid rgba(140, 27, 27, 0.45);
  background: rgba(140, 27, 27, 0.06);
  box-shadow: 0 12px 24px rgba(140, 27, 27, 0.12);
}

.contact-card.is-emphasis h3 {
  font-size: 22px;
  color: var(--red-dark);
}

.contact-card.is-emphasis p {
  font-weight: 600;
}

.contact-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.contact-sample {
  display: grid;
  gap: 12px;
}

.sample-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #f8f8f8;
  height: 320px;
}

.sample-frame {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  display: block;
  position: absolute;
  inset: 0;
  transform: translateX(0);
  will-change: transform;
}

.sample-frame.slide-in {
  animation: slideIn 0.45s ease;
}

.sample-frame.slide-out {
  animation: slideOut 0.35s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.sample-slider {
  display: grid;
  gap: 10px;
}

.sample-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 12px;
}

.sample-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.6;
  text-align: left;
}

.sample-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--red-dark);
  border-radius: 4px;
  background: #fff;
}

.sample-checklist li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 7px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--red-dark);
  border-bottom: 2px solid var(--red-dark);
  transform: rotate(-45deg);
}

.sample-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: #fff;
  cursor: pointer;
}

.dot.is-active {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.sample-cover {
  padding: 16px;
  border-radius: 12px;
  background: rgba(140, 27, 27, 0.08);
  border: 1px solid rgba(140, 27, 27, 0.2);
  display: grid;
  gap: 4px;
}

.sample-cover span {
  font-size: 12px;
  color: var(--red-dark);
  letter-spacing: 0.08em;
}

.sample-cover strong {
  font-size: 18px;
}

.link-inline {
  color: var(--red-dark);
  text-decoration: none;
  font-weight: 700;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--red-dark);
  color: var(--red-dark);
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  background: #0c7a4b;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin-right: 8px;
}

.contact-form {
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}

.form-grid label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.form-grid label.inline-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-grid label.inline-row span {
  min-width: 120px;
}

.form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.form-grid .form-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
}

.form-grid input,
.form-grid textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font: inherit;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.contact-form .cta {
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  border: none;
  width: 100%;
}

.form-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.faq {
  padding: 90px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 14px 16px;
  background: #fafafa;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.cta-section {
  padding: 90px 0;
  background: linear-gradient(rgba(111, 21, 21, 0.92), rgba(111, 21, 21, 0.92)),
    url("../images/construction1.jpeg") center/cover no-repeat;
  color: #fff;
}

.cta-box {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.cta-eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.cta-section h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.2vw, 38px);
}

.cta-title span {
  display: inline-block;
  white-space: nowrap;
}

.cta-title span + span {
  margin-left: 6px;
}

.cta-lead {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .cta-section .cta-actions {
    flex-direction: column !important;
    align-items: center !important;
  }

  .cta-section .cta-actions a {
    width: 100% !important;
    max-width: 440px !important;
  }
}

.cta-section .btn-outline {
  border-color: transparent;
  color: #fff;
  background: rgb(175, 88, 88);
}

.cta-section .cta {
  background: #fff;
  color: var(--red-dark);
  border: 2px solid #fff;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.32) !important;
}

.cta-section .cta:hover {
  background: #fff;
  transform: translateY(3px) !important;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.24) !important;
}

.cta-section .footer-links {
  list-style: none;
  margin: 48px 0 0;
  padding: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.cta-section .footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
}

.cta-section .footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

a,
button {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.cta-tel {
  margin: 0;
  font-weight: 700;
}


}