@charset "UTF-8";

.hero {
  background-image: url("../img/service/service-main-visual.jpg");
  background-position: 75% center;
}

.hero-content{
  width: 92%;
  max-width: 1400px;
  margin-left: 4%;
  margin-right: 0;
}

.container.hero-content{
  margin: 0 0 0 4%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.72) 28%,
    rgba(255, 255, 255, 0.18) 55%,
    rgba(255, 255, 255, 0) 70%
  );
}

.hero-logo {
  display: block;
  width: clamp(200px, 22vw, 400px);
  height: auto;
  margin: 0 0 50px;
}

.hero-btns {
  display: flex;
  gap: 24px;
  margin-top: 60px;
}

.hero-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 260px;
  height: 64px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  transition: 0.35s;
}

.hero-btn-orange {
  background: var(--orange);
  color: #fff;
}

.hero-btn-orange:hover {
  background: #ff9130;
  transform: translateY(-4px);
}

.hero-btn-white {
  background: #fff;
  color: var(--blue-deep);
  border: 1px solid #d8d8d8;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.hero-btn-white:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-4px);
}

/* ==========================
Lead
========================== */

.lead {
  background: #edf6ff;
  padding: 80px 0 0;
}

.lead-text {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: var(--blue-deep);
  font-size: 17px;
  line-height: 2.2;
  letter-spacing: 0.08em;
}

/*=================================
Problem
=================================*/

.problem {
  padding: 90px 0;
  background: #edf6ff;
}

.section-title {
  width: 100%;
  margin: 0 0 60px;
  padding: 18px;
  background: var(--blue);
  color: #fff;
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
  font-size: clamp(24px, 2.8vw, 52px);
}

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

.problem-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  gap: 22px;
  align-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.problem-card:hover {
  transform: translateY(-6px);
}

.problem-card img {
  width: 88px;
  flex-shrink: 0;
}

.problem-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--blue-deep);
}

.problem-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
}

/*=================================
Design
=================================*/

.design {
  padding: 90px 0;
  background: #edf6ff;
}

.design-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.design-text h2 {
  font-size: 42px;
  line-height: 1.4;
  color: var(--blue-deep);
  margin-bottom: 40px;
}

.design-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.design-list li {
  position: relative;
  padding-left: 42px;
}

.design-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.design-list li::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 16px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}

.design-list h3 {
  font-size: 28px;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.design-list p {
  font-size: 16px;
  line-height: 2;
  color: #555;
}

.design-image img {
  width: 100%;
  display: block;
}

/*=================================
Before After
=================================*/

.before-after {
  padding: 90px 0;
  background: #edf6ff;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.ba-card {
  display: flex;
  gap: 22px;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.after {
  background: #eaf4ff;
  border: 2px solid #9ccbee;
}

.ba-image {
  width: 130px;
  flex-shrink: 0;
}

.ba-image img {
  width: 100%;
  display: block;
}

.ba-text {
  flex: 1;
}

.ba-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 8px;
}

.ba-text h3 {
  font-size: 22px;
  line-height: 1.5;
  color: var(--blue-deep);
  margin-bottom: 10px;
}

.ba-text p {
  font-size: 15px;
  line-height: 1.9;
  color: #666;
}

.ba-card.before {
  position: relative;
}

.ba-card.before::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  background: url("../img/top/arrow.png") center/contain no-repeat;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

/*=================================
Service Intro
=================================*/

.service-intro {
  background: #edf6ff;
}

.service-logo {
  width: 400px;
  margin: 0 auto 50px;
  display: block;
}

.service-lead {
  max-width: 1050px;
  margin: 55px auto 70px;
  text-align: center;
  font-size: 18px;
  line-height: 2;
  color: var(--blue-deep);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.service-card {
  text-align: center;
}

.service-card img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.service-card h3 {
  margin-top: 28px;
  font-size: 20px;
  color: var(--blue-deep);
  font-weight: 700;
}

.service-card span {
  display: block;
  width: 70px;
  height: 4px;
  margin: 18px auto;
  background: var(--blue);
}

.service-card p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/*=================================
Reason
=================================*/

.reason {
  padding: 90px 0;
  background: #edf6ff;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.reason-card {
  background: #dcecff;
  border-radius: 14px;
  padding: 36px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.reason-card img {
  width: 95px;
  flex-shrink: 0;
}

.reason-text h3 {
  font-size: 22px;
  color: var(--blue-deep);
  margin-bottom: 18px;
}

.reason-text p {
  font-size: 16px;
  line-height: 2;
  color: #555;
}

.case {
  padding: 90px 0 0;
  background: #edf6ff;
}

.section-title-case {
  margin-bottom: 40px;
}

.case-lead {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  color: #fff;
  margin-top: -95px;
  position: relative;
  z-index: 2;
  padding: 0 40px;
}

.cta {
  background: #edf6ff;
}

.cta-box {
  background: var(--blue-light);
  padding: 55px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.cta-text {
  flex: 1;
}

.cta-text h2 {
  font-size: clamp(24px, 2.8vw, 52px);
  line-height: 1.6;
  font-weight: 700;
  max-width: 760px;
  color: var(--blue-deep);
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cta-buttons .hero-btn {
  width: 360px;
}

.case {
  padding: 90px 0;
  background: #edf6ff;
}

.section-title-case {
  margin-bottom: 40px;
}

.case-lead {
  max-width: 900px;
  margin: 0 auto 70px;
  text-align: center;
  font-size: 18px;
  line-height: 2;
  color: var(--blue-deep);
}

.case-list {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.case-heading {
  text-align: center;
  margin-bottom: 35px;
}

.case-heading h3 {
  font-size: 48px;
  color: var(--blue-deep);
  margin-bottom: 12px;
  font-weight: 700;
}

.case-heading p {
  font-size: 18px;
  color: #555;
}

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

.case-card {
  background: #dce8f6;
  padding: 45px 20px;
  text-align: center;
}

.case-card span {
  display: block;
  color: var(--blue);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 28px;
}

.case-card strong {
  font-size: 88px;
  line-height: 1;
  font-weight: 700;
  color: #222;
}

.case-card small {
  font-size: 28px;
  font-weight: 700;
  margin-left: 8px;
  color: #222;
}

.comparison {
  padding: 90px 0;
  background: #edf6ff;
}

.comparison .cta-box {
  margin-top: 40px;
}

.comparison-table {
  margin-top: 50px;
  border-collapse: collapse;
}

.comparison-head,
.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.6fr 1.2fr;
}

.comparison-head > div:nth-child(2),
.comparison-row > div:nth-child(2) {
  background: #e6f6ff;
}

/* diglead列 */
.comparison-head > div:nth-child(2),
.comparison-row > div:nth-child(2) {
  position: relative;
  z-index: 2;
  background: #e6f6ff;
  border-left: 3px solid #7cc8f5;
  border-right: 3px solid #7cc8f5;
}

.comparison-head > div,
.comparison-row > div{
  position: relative;
}

/* 上端 */
.comparison-head > div:nth-child(2) {
  border-top: 3px solid #7cc8f5;
}

/* 下端 */
.comparison-row:last-child > div:nth-child(2) {
  border-bottom: 3px solid #7cc8f5;
}

.comparison-head > div,
.comparison-row > div {
  background: #fff;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid #e7edf4;
  border-bottom: 1px solid #e7edf4;
  border-left: 1px solid #e7edf4;
  font-weight: 700;
}

.comparison-head > div:last-child,
.comparison-row > div:last-child{
  border-right:1px solid #e7edf4;
}

.comparison-head > div {
  font-size: clamp(20px, 1.9vw, 34px);
  color: var(--blue-deep);
  line-height: 1.3;
  text-align: center;
  padding: 0 12px;
  word-break: keep-all;
}

.comparison-head .diglead {
  color: #2457ff;
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 800;
  white-space: nowrap;
}

.comparison-head > div:first-child,
.comparison-row > div:first-child {
  justify-content: flex-start;
  padding-left: 30px;
}

.comparison-row > div:first-child {
  font-size: 24px;
  color: var(--blue-deep);
}

.comparison-head .diglead {
  color: #2457ff;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  white-space: nowrap;
}

.comparison-row > div:not(:first-child) {
  font-size: 60px;
  color: #666;
}

.comparison-row .good {
  color: #2457ff;
}

.cta-box {
  background: #c8e8ff;
  padding: 60px 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.cta-buttons {
  width: 370px;
  flex-shrink: 0;
}

.cta-buttons .hero-btn {
  width: 100%;
}

/* ==========================
Responsive
========================== */
@media (max-width: 1330px) {
  .hero-content {
    width: min(86%, 1200px);
  }

  .hero-logo {
    width: 170px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.4;
    max-width: 10em;
  }

  .hero-btns {
    margin-top: 26px;
  }
}

@media (max-width: 900px) {
  .hero-btns {
    flex-direction: column;
    gap: 18px;
  }

  .hero-btn {
    width: 100%;
  }

.comparison-head>div,
.comparison-row>div{
box-sizing:border-box;
}

.comparison-head>div{
font-size:18px;
padding:0 10px;
}

.comparison-head .diglead{
font-size:30px;
}

.comparison-row>div:first-child{
font-size:20px;
padding-left:24px;
}

.comparison-row>div:not(:first-child){
font-size:48px;
}
}

@media (max-width: 768px) {
  .hero {
    background-image: url("../img/service/sp/sp-service-main-visual.jpg");
  }

  .hero-logo {
    width: 150px;
    margin-bottom: 20px;
  }

  .sub {
    margin: 0 0 16px;
    font-size: 16px;
  }

  .hero-btns {
    margin-top: 36px;
  }

  .hero-btn {
    height: 58px;
  }

  .hero-text {
    display: none;
  }

  .lead {
    padding: 50px 0;
  }

  .lead-text {
    font-size: 15px;
    line-height: 2;
    text-align: left;
  }

  .problem {
    padding: 0 0 60px;
  }

  .ba-card.before::after {
    width: 44px;
    height: 44px;
    background: url("../img/top/arrow_u.png") center/contain no-repeat;
    left: 50%;
    right: auto;
    top: auto;
    bottom: -34px;
    transform: translateX(-50%);
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 35px;
    padding: 14px;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .problem-card {
    padding: 20px;
  }

  .problem-card img {
    width: 72px;
  }

  .problem-card h3 {
    font-size: 18px;
  }

  .problem-card p {
    font-size: 14px;
  }

  .design {
    padding: 60px 0;
  }

  .design-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .design-text h2 {
    font-size: 30px;
    margin-bottom: 28px;
  }

  .design-list {
    gap: 28px;
  }

  .design-list li {
    padding-left: 34px;
  }

  .design-list h3 {
    font-size: 20px;
  }

  .design-list p {
    font-size: 15px;
    line-height: 1.9;
  }

  .design-image {
    order: -1;
  }

  .before-after {
    padding: 60px 0;
  }

  .ba-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 40px;
  }

  .ba-card {
    flex-direction: column;
    padding: 18px;
  }

  .ba-image {
    width: 100%;
  }

  .ba-text h3 {
    font-size: 18px;
  }

  .ba-text p {
    font-size: 14px;
  }

  .service-intro {
    padding: 0 0 30px;
    text-align: center;
  }

  .service-intro {
    padding: 0 0 30px;
  }

  .service-intro .container {
    text-align: center;
  }

  .service-logo {
    display: block;
    width: 300px;
    max-width: 100%;
    margin: 0;
  }

  .service-logo-wrap {
    text-align: center;
  }

  .service-logo {
    display: inline-block;
    width: 300px;
    max-width: 100%;
  }

  .service-lead {
    margin: 35px auto 45px;
    text-align: left;
    font-size: 15px;
    line-height: 2;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;

    gap: 28px 18px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card span {
    width: 55px;
    margin: 14px auto;
  }

  .service-card p {
    font-size: 14px;
  }

  .reason {
    padding: 60px 0;
  }

  .reason-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .reason-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
    gap: 22px;
  }

  .reason-card img {
    width: 80px;
  }

  .reason-text h3 {
    font-size: 20px;
  }

  .reason-text p {
    font-size: 15px;
    line-height: 1.9;
  }

  .case-heading {
    padding: 60px 0;
  }

  .case-title-box {
    padding: 35px 20px;
  }

  .case-title-box h2 {
    font-size: 30px;
    margin-bottom: 18px;
  }

  .case-title-box p {
    font-size: 15px;
    line-height: 1.8;
  }

  .cta {
    padding: 60px 0;
  }

  .cta-box {
    flex-direction: column;
    padding: 35px 25px;
    gap: 35px;
    text-align: center;
  }

  .cta-buttons {
    width: 100%;
  }

  .cta-buttons .hero-btn {
    width: 100%;
  }

  .case {
    padding: 60px 0;
  }

  .case-lead {
    margin-bottom: 45px;
    font-size: 15px;
    text-align: left;
  }

  .case-list {
    gap: 45px;
  }

  .case-heading {
    margin-bottom: 24px;
  }

  .case-heading h3 {
    font-size: 32px;
  }

  .case-heading p {
    font-size: 14px;
    line-height: 1.8;
  }

  .case-result {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .case-card {
    padding: 28px 20px;
  }

  .case-card span {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .case-card strong {
    font-size: 64px;
  }

  .case-card small {
    font-size: 20px;
  }

  .comparison {
    padding: 60px 0;
  }

  .comparison .cta-box {
    margin-top: 30px;
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-head,
  .comparison-row {
    width: 900px;
  }

  .comparison-head > div,
  .comparison-row > div {
    min-height: 82px;
  }

  .comparison-head > div {
    font-size: 20px;
  }

  .comparison-head .diglead {
    font-size: 34px;
  }

  .comparison-row > div:first-child {
    font-size: 18px;
    padding-left: 20px;
  }

  .comparison-row > div:not(:first-child) {
    font-size: 42px;
  }
}
