@charset "UTF-8";
.page-hero {
  height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("../img/service/service-main-visual.jpg");
  display: flex;
  align-items: center;
  color: var(--white);
}

.page-hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
}

.page-hero-content {
  color: var(--white);
  max-width: 500px;
}

.page-hero-en {
  color: var(--corporate-color);
  margin: 20px 0;
  font-size: clamp(15px, 1.2vw, 20px);
  font-weight: 500;
}

.page-hero-title {
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 1.2;
  margin-bottom: 15px;
}

.page-hero-copy {
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-hero-text {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 50px;
}

.breadcrumb {
  display: flex;
  gap: 15px;
  font-size: 13px;
}

.sub-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.sub-content {
  position: relative;
  z-index: 2;
}

.page-label {
  letter-spacing: 0.1em;
  color: #69a9ff;
  margin-bottom: 20px;
  font-weight: 700;
}

.sub-content h1 {
  font-size: 64px;
  margin-bottom: 20px;
}

.service-section {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 42px;
  margin-bottom: 10px;
  color: #0a2c67;
}

.section-title p {
  color: #666;
}

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

.service-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.strength-section {
  padding: 0 0 120px;
}

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

/* Concept */
.concept {
  padding: 120px 0 0;
}

.section-head {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 70px;
}

.section-head h2 {
  font-size: clamp(34px, 3vw, 52px);
  color: var(--blue);
  margin-bottom: 18px;
}

.section-head .lead {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  max-width: 760px;
  margin: 0 auto;
  color: var(--blue);
  line-height: 2;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 20px;
}

.section-head .text {
  color: #666;
  line-height: 2.3;
  font-size: 16px;
}

/* Service List */

.service-list {
  padding: 120px 0;
  background: #fff;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e7e7e7;
  text-decoration: none;
  color: inherit;
  transition: 0.35s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
}

.service-image {
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: 0.5s;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
}

.service-body h3 {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 18px;
  line-height: 1.4;
}

.service-body ul {
  margin-bottom: 15px;
}

.service-body li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--sumi);
  line-height: 1.8;
}

.service-body li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sumi);
  position: absolute;
  left: 0;
  top: 12px;
}

.more {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--corporate-color);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.more img {
  width: 18px;
  transition: 0.3s;
}

.service-card:hover .more img {
  transform: translateX(8px);
}

/* Flow */
.flow-section {
  padding: 110px 0;
}

.flow-section .container {
  background: var(--gray);
  border-radius: 16px;
  padding: 90px 60px;
}

.flow-section .section-title {
  text-align: center;
  margin-bottom: 70px;
}

.flow-section .section-title h2 {
  font-size: 42px;
  color: var(--blue);
  margin-bottom: 18px;
}

.flow-section .section-title p {
  color: var(--sumi);
  line-height: 2;
  text-align: center;
}

.flow-list {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.flow-item {
  width: 160px;
  text-align: center;
}

.flow-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
}

.flow-item img {
  width: 72px;
  margin: 0 auto 20px;
}

.flow-item h3 {
  font-size: 18px;
  color: var(--blue);
  margin-bottom: 14px;
}

.flow-item p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--sumi);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 85px;
}

.flow-arrow img {
  width: 26px;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .flow-list {
    row-gap: 45px;
    gap: 40px;
  }

  .flow-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .page-hero {
    height: 550px;
    display: flex;
    align-items: center;
    background-image: url("../img/service/sp/sp-service-main-visual.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .page-hero-inner {
    height: 100%;
    display: flex;
    align-items: center;
  }

  .page-hero-content {
    max-width: 330px;
    /*transform: translateY(18px);  全体を少し下へ */
  }

  .page-hero-en {
    margin: 0 0 8px;
    font-size: 16px;
  }

  .page-hero-title {
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .page-hero-copy {
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .page-hero-text {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 34px;
  }

  .breadcrumb {
    font-size: 13px;
    gap: 12px;
  }

  .page-hero-en {
    margin: 0 0 10px;
  }

  .page-hero-title {
    margin-bottom: 18px;
  }

  .page-hero-copy {
    margin-bottom: 20px;
  }

  .page-hero-text {
    margin-bottom: 32px;
  }

  .concept {
    padding: 80px 0;
  }

  .section-head h2 {
    margin-bottom: 18px;
  }

  .section-head .lead {
    line-height: 1.9;
    margin-bottom: 28px;
  }

  .section-head .text {
    font-size: 15px;
    line-height: 2;
    text-align: justify;
  }

  .service-list {
    padding: 0 0 80px;
  }

  .section-head {
    margin-bottom: 50px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-image img {
    height: 220px;
  }

  .service-body {
    padding: 24px;
  }

  .service-body h3 {
    font-size: 22px;
  }

  .flow-section {
    padding: 0 0 80px;
  }

  .flow-section .section-title {
    margin-bottom: 50px;
  }

  .flow-section .section-title h2 {
    font-size: 34px;
  }

  .flow-section .container {
    padding: 60px 25px;
  }

  .flow-item {
    width: 46%;
  }

  .flow-number {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }

  .flow-item img {
    width: 60px;
  }
}

@media (max-width: 540px) {
  .flow-item {
    width: 100%;
  }

  .flow-section .section-title p {
  font-size: 15px;
}
}
