@charset "utf-8";

/* -------------------------------------------------------------------
  page-service
------------------------------------------------------------------- */

.page-service {
  background: #fff;
}

/* PAGE HERO SECTION */
.section-page-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: #fff;
}

.section-page-hero .l-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.page-title {
  font-size: 48px;
  font-weight: bold;
  color: #003399;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.page-sub-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}

.page-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

/* SERVICE CARDS SECTION */
.section-service-cards {
  padding: 80px 0;
  background: linear-gradient(180deg, #e8f0ff 0%, #fff 100%);
}

.service-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
  font-size: 14px;
  font-weight: bold;
  color: #003399;
  margin-bottom: 20px;
  line-height: 1.6;
}

.card-logo {
  height: 60px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.card-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #003399;
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  margin-top: auto;
}

.card-btn:hover {
  background-color: #002266;
}

/* SERVICE DETAIL SECTIONS */
.section-service-detail {
  padding: 100px 0;
  background: #fff;
}

.section-service-detail .l-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.service-section-title {
  font-size: 28px;
  font-weight: bold;
  color: #003399;
  text-align: center;
  margin-bottom: 20px;
}

.service-logo-title {
  text-align: center;
  margin-bottom: 50px;
}

.service-logo-title img {
  max-height: 80px;
  width: auto;
}

/* SERVICE INTRO */
.service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.intro-text {
  font-size: 15px;
  line-height: 2;
  color: #333;
}

.intro-image {
  text-align: center;
}

.intro-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* SERVICE FEATURES */
.service-features {
  margin-bottom: 80px;
}

.feature-head {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
  color: #003399;
}

.feature-head::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #003399;
}

.feature-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  background: #e8f0ff;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
}

.feature-item .icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item .icon img {
  max-width: 100%;
  height: auto;
}

.feature-item .head {
  font-size: 14px;
  font-weight: bold;
  color: #003399;
  line-height: 1.6;
  margin: 0;
}

/* SERVICE COMPARISON */
.service-comparison {
  margin-bottom: 80px;
}

.comparison-box {
  text-align: center;
}

.comparison-box img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* SERVICE SUPPORT */
.service-support {
  margin-bottom: 80px;
}

.support-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.support-tags span {
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
  color: #333;
  background: #f9f9f9;
}

/* SERVICE SAMPLES */
.service-samples {
  margin-bottom: 80px;
}

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

.sample-item img {
  width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 4px;
}

/* SERVICE CTA */
.service-cta {
  text-align: center;
  margin-top: 60px;
}

.cta-btn {
  display: inline-block;
  padding: 16px 60px;
  background-color: #003399;
  color: #fff;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #002266;
}

/* PRODUCTION RESULTS SECTION */
.section-production-results {
  padding: 100px 0;
  background: #fff;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: #003399;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.result-item {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.result-image {
  width: 100%;
  height: auto;
}

.result-image img {
  width: 100%;
  height: auto;
  display: block;
}

.result-cta {
  text-align: center;
}

/* OTHER SERVICES SECTION */
.section-other-services {
  padding: 100px 0;
  background: #f8f9fb;
}

.other-service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid #ddd;
}

.other-service-item:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-content {
  padding: 20px;
}

.service-name {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
  font-weight: normal;
}

.service-logo {
  font-size: 24px;
  font-weight: bold;
  color: #003399;
  margin-bottom: 20px;
}

.service-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

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

.service-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ReDeck Trial */
.redeck-trial {
  background: linear-gradient(135deg, #003399 0%, #0052cc 100%);
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  color: #fff;
}

.trial-badge {
  display: inline-block;
  background: #fff;
  color: #003399;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
  width: fit-content;
}

.trial-text {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.trial-image {
  text-align: center;
}

.trial-image img {
  max-width: 100%;
  height: auto;
}

/*
SERVICE ==================== */
.page-service .section-service-home {
  padding-top: 240px;
  padding-bottom: 0;
}
.section-service-single-container {
  position: relative;
  z-index: 1;
  /* padding-bottom: 120px; */
  padding-bottom: 80px;
  background-color: #fff;
  border: 2px solid #f3f7fd;
}
.section-service-single-container.-service-top {
  margin-top: 40px;
}

.page-service .service-inner-container {
  justify-content: flex-start;
}

.page-service .service-inner-container .service-content {
  width: 100%;
}

.page-service .service-inner-container::after {
  left: -500px;
  width: 500px;
}

/* anchor */
/* 全体コンテナ */
.anchor-service-wrap {
  max-width: 1280px;
}

.anchor-service-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
}

/* 事業区分ラベル */
.service-group:first-child {
  flex: 2;
}

.service-group:last-child {
  flex: 1;
}
.group-label {
  display: block;
  text-align: center;
  font-size: 14px;
  color: #2c4d98;
  font-weight: bold;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #2c4d98;
}

/* リストとカード */
.anchor-service {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.anchor-service__item {
  flex: 1;
}

.anchor-service__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 200px;
  padding: 25px 15px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
}

.anchor-service__item a:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(44, 77, 152, 0.2);
}

/* 眉タイトル */
.anchor-service-title-eyebrow {
  font-size: 14px;
  color: #2c4d98;
  margin: 0 0 15px;
  font-weight: bold;
  text-align: center;
}

/* ロゴ部分 */
.anchor-service-bg {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.anchor-service-bg img {
  max-width: 160px;
  height: auto;
}

/* ボタンデザイン */
.service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 45px;
  background-color: #2c4d98;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  position: relative;
  margin-top: 15px;
}

/* ボタンの矢印（V字） */
.service-btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 10px;
  margin-top: -4px;
}

.anchor-service .anchor-service__item .anchor-service-title-eyebrow {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.4;
}
.anchor-service .anchor-service__item .anchor-service-title {
  margin: 0 0 0;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  color: #2c4d98;
}

.page-service .contents-group {
  margin-top: 160px;
  padding-top: 80px;
  padding-bottom: 0;
}

.page-service .contents-group::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #2b4d97;
}

.page-service .contents-group section {
  padding: 60px;
  background-color: #f3f7fd;
}

.section-service-detail .service-detail-category {
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
}

.section-service-detail .service-detail-container {
  margin-top: 60px;
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-detail-card {
  padding: 40px 80px 50px;
  background-color: #fff;
  letter-spacing: 0;
  line-height: 1.75;
}

.service-detail-headline {
  margin: 0;
  color: #2b4d97;
  text-align: center;
  font-size: 30px;
  font-weight: bold;
}

.service-detail-logo {
  margin-top: 20px;
  text-align: center;
}

.service-detail-logo img {
  width: 30%;
}

.service-detail-grid {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 40px;
  margin-top: 35px;
}

.service-detail-text,
.service-detail-img,
.service-detail-text-left {
  flex: 1;
}

.service-detail-text {
  font-size: 20px;
  font-weight: bold;
}

.service-detail-text.--sp-none {
  display: none;
}

.service-detail-img {
  height: inherit;
  text-align: center;
}

.service-detail-card.--2col .service-detail-img img {
  border: 1px solid #999999;
}

.service-detail-subhead {
  position: relative;
  color: #2b4d97;
  font-size: 20px;
  font-weight: bold;
}

.service-detail-subhead::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  width: 20px;
  height: 2px;
  background-color: #2b4d97;
  transform: translateY(-50%);
}

.production-results-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: auto;
  width: 80%;
  gap: 20px;
}

.production-results-list .production-results-img {
  margin: 0;
}

.service-detail-card-head {
  padding-bottom: 60px;
  border-bottom: 1px solid #000;
}

.service-detail-card-head .service-detail-headline {
  font-size: 16px;
}

.service-detail-card-head .service-detail-headline {
  text-align: left;
}

.service-detail-card-head .service-detail-logo {
  margin-top: 10px;
  text-align: left;
}

.service-detail-card-head .service-detail-logo img {
  width: 70%;
}

.service-detail-card-head .service-detail-text {
  margin-top: 30px;
}

.service-detail-card-bottom {
  margin: 0;
  padding-top: 60px;
}

.service-detail-card-bottom .service-detail-headline {
  font-size: 16px;
  text-align: left;
}

.service-detail-card-bottom .service-detail-logo {
  margin-top: 10px;
  text-align: left;
}

.service-detail-card-bottom .service-detail-logo img {
  width: 70%;
}

.service-detail-card-bottom .service-detail-text {
  margin-top: 30px;
}

.service-detail-card-bottom .service-detail-grid {
  margin: 0;
}

.service-feature-list {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.service-feature-list .service-feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  flex: 1;
  padding: 20px 5px;
  background-color: #ddeeff;
  border-radius: 10px;
}

.service-feature-list .service-feature-text {
  color: #2b4d97;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}

.service-feature-list .service-feature .service-feature-img {
  width: 70px;
}

.service-feature-list .service-feature .service-feature-img.--large {
  width: 90%;
}

.service-feature-list .service-feature .service-feature-img.--large-sp {
  width: 100px;
}

.service-detail-full-img {
  margin-top: 20px;
  padding: 20px;
  background-color: #f3f7fd;
}

.service-detail-card .cta-area {
  width: 80%;
  margin: 20px auto;
}

.support-document-type-list {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  flex-wrap: wrap;
}

.support-document-type-list .support-document-type {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 100%;
  height: 50px;
  padding: 0 5px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  border: 1px solid #2b4d97;
  line-height: 1.2;
}

.support-document-type-list .support-document-type:last-child {
  justify-content: flex-start;
  padding: 0;
  border: none;
}
.support-document-type-list.--4column {
  grid-template-columns: repeat(4, 1fr);
}

.service-detail-card .c-btn {
  margin: auto;
  margin-top: 50px;
  width: 600px;
}

/* RESPONSIVE */
@media screen and (max-width: 1024px) {
  .service-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .feature-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sample-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .other-service-item {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .redeck-trial {
    grid-template-columns: 1fr;
  }

  .service-detail-card .c-btn {
    width: 100%;
  }

  .service-detail-grid {
    flex-direction: column;
    margin-top: 23px;
  }

  .service-feature-list {
    flex-direction: column;
    gap: 10px;
  }

  .service-feature-list .service-feature {
    flex-direction: unset;
    margin: 0;
    padding: 20px;
    justify-content: space-evenly;
  }

  .service-detail-grid .service-detail-text {
    margin: 0;
  }

  .support-document-type-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-document-type-list .support-document-type {
    font-size: clamp(11px, 3.2vw, 13px);
    border: 1.5px solid #2b4d97;
    letter-spacing: normal;
    line-height: 1.5;
    margin: 0;
  }

  .production-results-list {
    width: 100%;
    gap: 10px;
  }

  .service-feature-list .service-feature .service-feature-img.--large {
    width: 40%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1185px) {
  .support-document-type-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .support-document-type-list.--4column {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .page-service .section-service-home {
    padding-top: 120px;
  }

  .service-content {
    padding: 0;
  }

  .anchor-service-container {
    display: block;
  }

  .anchor-service {
    display: block;
  }

  .anchor-service__item a {
    padding: 20px 0;
    height: 180px;
  }

  .page-service .contents-group {
    margin-top: 60px;
    padding-top: 10px;
  }

  .page-service .contents-group::after {
    height: 10px;
  }

  .section-page-hero {
    padding: 60px 0 40px;
  }

  .page-title {
    font-size: 36px;
  }

  .service-cards-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .support-document-type-list.--4column {
    grid-template-columns: repeat(2, 1fr);
  }

  /* .production-results-list {
    width: 100%;
    gap: 10px;
  } */

  .page-service .contents-group section {
    padding: 40px 15px;
  }

  .section-service-detail .service-detail-category {
    font-size: clamp(14px, 4.267vw, 18px);
  }

  .section-service-detail {
    padding: 60px 0;
  }

  .section-service-detail .l-inner {
    padding: 0;
  }

  .section-service-detail .service-detail-container {
    margin-top: 20px;
    margin-bottom: 50px;
  }

  .service-detail-card {
    padding: 40px 20px;
  }

  .service-detail-headline {
    font-size: 20px;
  }

  .service-detail-logo {
    margin-top: 10px;
  }

  .service-detail-card.--2col {
    padding-top: 20px;
  }

  .service-detail-card.--2col .service-detail-headline {
    text-align: center;
  }

  .service-detail-card.--2col .service-detail-logo {
    text-align: center;
  }

  .service-detail-card.--2col .service-detail-card-head .service-detail-text,
  .service-detail-card.--2col .service-detail-card-bottom .service-detail-text {
    margin-top: 23px;
  }

  .service-detail-logo img {
    width: 55%;
  }

  /* .service-detail-grid {
    flex-direction: column;
    margin-top: 23px;
  } */

  .service-detail-img {
    width: 100%;
  }
  /* .service-feature-list {
    flex-direction: column;
    gap: 10px;
  }

  .service-feature-list .service-feature {
    flex-direction: unset;
    margin: 0;
    padding: 20px;
    justify-content: space-evenly;
  } */

  .service-detail-full-img {
    padding: 10px;
  }

  .service-detail-card .cta-area {
    width: 100%;
  }

  .service-detail-text.--sp-none {
    display: block;
    margin-top: 30px;
    text-align: center;
  }

  .service-detail-text,
  .service-detail-subhead {
    font-size: clamp(14px, 4.267vw, 18px);
  }

  .service-detail-text,
  .service-detail-img,
  .service-detail-text-left {
    flex: unset;
  }

  .service-feature-list .service-feature-text {
    margin-bottom: 0;
    font-size: clamp(12px, 3.73vw, 16px);
  }

  .service-feature-list .service-feature .service-feature-img {
    width: 20%;
  }

  /* .service-feature-list .service-feature .service-feature-img.--large {
    width: 40%;
  } */

  .service-feature-list .service-feature .service-feature-img.--large-sp {
    width: 35%;
  }

  .service-detail-subhead::before {
    content: none;
    font-size: 18px;
  }

  /* .support-document-type-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-document-type-list .support-document-type {
    font-size: clamp(11px, 3.2vw, 13px);
    border: 1.5px solid #2b4d97;
    letter-spacing: normal;
    line-height: 1.5;
    margin: 0;
  } */

  .service-intro {
    gap: 30px;
  }

  .feature-list-grid {
    grid-template-columns: 1fr;
  }

  .sample-grid {
    grid-template-columns: 1fr;
  }

  .section-production-results {
    padding: 60px 0;
  }

  .section-other-services {
    padding: 60px 0;
  }

  .other-service-item {
    margin-bottom: 60px;
    padding-bottom: 60px;
  }

  .redeck-trial {
    padding: 30px;
    margin-bottom: 40px;
  }

  .trial-text {
    font-size: 16px;
  }
}
