.page-web-design .page-hero {
  padding: 78px 0 96px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 48%, rgba(244,251,255,0.82) 100%),
    url("../common/img/top_service_bg05.jpg") center bottom / cover no-repeat;
}

.page-web-design .page-hero::after {
  inset: 0;
  background: linear-gradient(135deg, rgba(0,156,217,0.12), transparent 45%);
}

.page-web-design .hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
}

.page-web-design .glass-panel {
  backdrop-filter: blur(4px);
}

.page-web-design .service-bg-layer::before,
.page-web-design .service-bg-layer::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-position: 0% 100%;
  background-size: 45%;
  background-repeat: no-repeat;
}

.page-web-design .service-bg-layer::before {
  background-image: url("../common/img/page_contet_bg01.png");
  opacity: 0.16;
}

.page-web-design .service-bg-layer::after {
  background-image: url("../common/img/page_contet_bg03.png");
  opacity: 0.10;
}

.page-web-design .service-bg-layer-reverse::before,
.page-web-design .service-bg-layer-reverse::after {
  left: auto;
  right: 0;
  background-position: 100% 100%;
}

.page-web-design .service-bg-layer-reverse::before {
  background-image: url("../common/img/page_contet_bg03.png");
}

.page-web-design .service-bg-layer-reverse::after {
  background-image: url("../common/img/page_contet_bg01.png");
}

.page-web-design .service-bg-layer .container {
  position: relative;
  z-index: 1;
}

.page-web-design .visual-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 54px;
  align-items: center;
}

.page-web-design .visual-grid.reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.page-web-design .visual-grid.reverse .visual-card {
  order: 2;
}

.page-web-design .visual-grid.reverse .visual-copy {
  order: 1;
}

.page-web-design .visual-card {
  border-radius: 20px;
  border: 1px solid #d8edf6;
}

.page-web-design .visual-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-web-design .contact-tiles-section {
  position: relative;
  padding: 86px 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0, 54, 79, 0.86), rgba(0, 156, 217, 0.72)),
    url("../common/img/top_service_bg05.jpg") center bottom / cover no-repeat;
}

.page-web-design .contact-lead {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.page-web-design .contact-lead h2 {
  color: #fff;
}

.page-web-design .contact-lead p {
  color: rgba(255, 255, 255, 0.86);
}

.page-web-design .contact-lead .section-label {
  color: #d7f4ff;
}

.page-web-design .top_contact_box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.page-web-design .top_contact_link {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.page-web-design .top_contact_link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
}

.page-web-design .top_cl01 {
  margin: 0;
  color: #fff;
  line-height: 1.4;
}

.page-web-design .top_cl01e,
.page-web-design .top_cl01j {
  display: block;
}

.page-web-design .top_cl01e {
  font-size: 20px;
  letter-spacing: 0.16em;
}

.page-web-design .top_cl01j {
  margin-top: 6px;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.page-web-design .visual-card.cutout-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244,251,255,0.9));
  border-color: #cfeef9;
}

.page-web-design .visual-card.cutout-card img {
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center bottom;
  padding: 12px 12px 0;
  background: transparent;
}

/* Existing WORKS section (from draft) */
.page-web-design .top_works {
  padding: 86px 0;
  background: #fff;
}

.page-web-design .title01 {
  margin: 0 0 34px;
  color: var(--navy);
  line-height: 1.35;
}

.page-web-design .title01e {
  display: block;
  color: var(--blue);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.page-web-design .title01j {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.page-web-design .ta_c {
  text-align: center;
}

.page-web-design .top_works_link {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 34px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.page-web-design .top_works_link li {
  margin: 0;
  background: #fff;
  border: 1px solid #cfeef9;
  box-shadow: 0 12px 28px rgba(0, 156, 217, 0.10);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-web-design .top_works_link li:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 156, 217, 0.16);
}

.page-web-design .top_works_link a {
  display: block;
  color: var(--ink);
}

.page-web-design .top_works_link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: #f4fbff;
}

.page-web-design .top_works_link p {
  min-height: 74px;
  margin: 0;
  padding: 16px 14px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.page-web-design .top_service_ta1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 52px;
  padding: 13px 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 12px 26px rgba(0, 156, 217, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-web-design .top_service_ta1:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 156, 217, 0.22);
}

.page-web-design .opa90_points {
  opacity: 0.94;
}

.page-web-design .opa90_points:hover {
  opacity: 1;
}

@media (max-width: 980px) {
  .page-web-design .hero-grid,
  .page-web-design .visual-grid {
    grid-template-columns: 1fr;
  }

  .page-web-design .visual-grid.reverse .visual-card {
    order: 1;
  }

  .page-web-design .visual-grid.reverse .visual-copy {
    order: 2;
  }

  .page-web-design .top_works_link {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-web-design .top_contact_box {
    grid-template-columns: 1fr;
  }

  .page-web-design .top_contact_link {
    min-height: 150px;
  }
}

@media (max-width: 760px) {
  .page-web-design .page-hero {
    min-height: auto !important;
    padding: 40px 0 54px !important;
  }

  .page-web-design .page-hero .hero-grid {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .page-web-design .page-hero .hero-copy,
  .page-web-design .page-hero .hero-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .page-web-design .page-hero h1 {
    font-size: clamp(24px, 6.4vw, 30px) !important;
    line-height: 1.5 !important;
    letter-spacing: 0.01em !important;
  }

  .page-web-design .page-hero .hero-actions {
    gap: 10px !important;
  }

  .page-web-design .page-hero .btn {
    min-height: 48px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    font-size: 13px !important;
    white-space: normal !important;
  }

  .page-web-design .contact-tiles-section {
    padding: 62px 0;
  }

  .page-web-design .top_contact_box {
    grid-template-columns: 1fr;
  }

  .page-web-design .top_contact_link {
    min-height: auto;
    padding: 28px 20px;
  }

  .page-web-design .top_cl01e {
    font-size: 23px;
  }

  .page-web-design .visual-section-alt .visual-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }

  .page-web-design .visual-section-alt .visual-copy {
    order: 2 !important;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .page-web-design .visual-section-alt .visual-card {
    order: 1 !important;
    width: 100%;
    margin: 0;
  }

  .page-web-design .visual-section-alt .visual-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(23px, 6vw, 29px);
    line-height: 1.45;
    letter-spacing: 0.01em;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .page-web-design .visual-section-alt .visual-copy p:last-child {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.01em;
  }

  .page-web-design .visual-section-alt .visual-card.cutout-card img {
    aspect-ratio: 4 / 3;
    padding: 10px 10px 0;
  }

  .page-web-design .top_works {
    padding: 62px 0;
  }

  .page-web-design .top_works_link {
    width: min(100% - 32px, 1120px);
    grid-template-columns: 1fr;
  }

  .page-web-design .title01e {
    font-size: 28px;
  }

  .page-web-design .service-bg-layer::before,
  .page-web-design .service-bg-layer::after {
    background-size: 78%;
    opacity: 0.08;
  }
}

@media (max-width: 420px) {
  .page-web-design .page-hero h1 {
    font-size: 24px !important;
    line-height: 1.52 !important;
  }
}

@media (max-width: 760px) {
  .page-web-design .page-hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-web-design .page-hero .container,
  .page-web-design .page-hero .hero-grid {
    width: auto !important;
    max-width: none !important;
    margin-left: 18px !important;
    margin-right: 18px !important;
  }

  .page-web-design .page-hero .hero-copy {
    padding: 0 2px !important;
  }

  .page-web-design .page-hero .breadcrumb {
    margin-bottom: 22px !important;
    font-size: 11px !important;
    line-height: 1.8 !important;
    letter-spacing: 0.03em !important;
  }

  .page-web-design .page-hero .eyebrow {
    margin-bottom: 10px !important;
    font-size: 12px !important;
    letter-spacing: 0.14em !important;
  }

  .page-web-design .page-hero h1 {
    margin-bottom: 18px !important;
    word-break: keep-all !important;
    overflow-wrap: anywhere !important;
  }

  .page-web-design .page-hero .lead {
    font-size: 16px !important;
    line-height: 1.95 !important;
    letter-spacing: 0.01em !important;
  }

  .page-web-design .page-hero .hero-text {
    font-size: 14px !important;
    line-height: 1.95 !important;
    letter-spacing: 0.01em !important;
  }

  .page-web-design .page-hero .hero-actions {
    margin-top: 26px !important;
    gap: 10px !important;
  }

  .page-web-design .page-hero .btn {
    line-height: 1.55 !important;
  }

  .page-web-design .page-hero .hero-panel {
    margin: 26px 0 0 !important;
    padding: 24px 20px !important;
    border-radius: 16px !important;
  }

  .page-web-design .page-hero .panel-title {
    font-size: 22px !important;
    line-height: 1.55 !important;
    letter-spacing: 0.01em !important;
  }
}

@media (max-width: 420px) {
  .page-web-design .page-hero .container,
  .page-web-design .page-hero .hero-grid {
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
}
