@charset "utf-8";
/* CSS Document */

/* ============================================
   Service page (PC)
   ============================================ */
.p-service-root {
  background: #ffffff;
}

/* TOPは固定・overflow hidden なので、Serviceではスクロールできるように上書き */
html.p-service-root {
  height: auto;
  overflow: visible;
}
body.p-service-root {
  height: auto;
  overflow: visible;
  display: block;
  position: relative;
}

/* Header（Serviceページだけ） */
.p-service-root .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

.p-service-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.p-service-header__logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
}

.p-service-header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.p-service-header__nav-link {
  font-size: 14px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
}
.p-service-header__nav-link:hover {
  text-decoration: underline;
}

.p-service-page {
  margin: 0 auto;
  padding: 120px 0 0;
  box-sizing: border-box;
}

.p-service-title {
  text-align: center;
  margin: 28px 0 28px;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #E67B00;
}

.p-service-sections {
  overflow: hidden;
}

.p-service-section {
  position: relative;
  height: 64vh;
}

.p-service-section__bg {
  position: absolute;
  inset: 0;
}

.p-service-section__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(10%);
}

.p-service-section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.p-service-section__overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 18px;
  box-sizing: border-box;
  color: #fff;
}

.p-service-section__title {
  margin: 0 0 14px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.p-service-section__text {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.95;
}

.p-service-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.p-service-section__button:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Footer（画像のように下部を帯に） */
.p-service-root .footer {
  left: 0;
  right: 0;
  bottom: 0;
  background: #3b3b3b;
  padding: 18px 0;
  margin-top: 0;
  width: 100%;
  text-align: center;
}
.p-service-root .footer__copyright {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Service page (SP)
   ============================================ */
@media (max-width: 768px) {
  .p-service-root .header {
    padding: 14px 16px;
  }
  .p-service-header__nav {
    display: none;
  }
  .p-service-header__inner {
    position: relative;
    justify-content: center;
  }
  .p-service-header__logo {
    font-size: 22px;
  }
  /* toggle は右側（SPハンバーガーは別で出る想定だが、念のため） */
  .p-service-root .header__toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  .p-service-page {
    padding: 88px 18px 110px;
  }
  .p-service-title {
    font-size: 42px;
    margin: 18px 0 18px;
  }
  .p-service-section {
    height: 260px;
  }
  .p-service-section__title {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .p-service-section__text {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 14px;
  }
  .p-service-section__button {
    width: 220px;
    height: 42px;
  }
}

