@charset "UTF-8";

/* -----------------------------------------------------------
    共通パーツ
----------------------------------------------------------- */
.index-sub-label {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.index-sub-label__icon {
  display: inline-block;
  width: 1.6rem;
  height: 1rem;
  flex-shrink: 0;
  background: url("../image/service/icon-index-sub-main.svg") no-repeat center center;
  background-size: contain;
  position: relative;
  top: 2px;
}
.index-sub-label__icon.index-sub-label__icon-left{
  margin-right: 5px;
}
/* アイコンが英語の上に来る（セクション見出し用・共通パーツ） */
.index-sub-label--stack {
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}
.index-sub-label--stack .index-sub-label__icon {
  top: 0;
  width: 1.6rem;
  height: 1rem;
}
.index-sub-label--stack .index-sub-label__text {
  font-size: 2rem;
  font-weight: 700;
}

/* -----------------------------------------------------------
    ヘッダー
----------------------------------------------------------- */

.page-header-area{
  padding: 1.6rem 3rem;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
/* メニュー展開中は backdrop-filter を解除し、オーバーレイがページ全体を覆えるようにする */
.page-header-area.is-menu-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.page-header-area .logo{
  max-width: 200px;
}
.page-header-area .logo img{
  margin-top: 10px;
} 

.header-gnav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  margin-right: 2rem;
}
.header-gnav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-gnav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 0.6rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-contact-btn {
  --header-contact-arrow-duration: 0.25s;
  display: inline-flex;
  align-items: center;
  padding: 1rem 4rem;
  padding-right: 1rem;
  background-color: var(--accent-color);
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 9999px;
  overflow: hidden;
  transition: none !important;
}
.header-contact-btn__text {
  padding-right: 2.5rem;
  padding-top: 1px;
  font-size: 18px;
  transition: none !important;
}
.header-contact-btn:hover {
  background-color: var(--main-navy);
  transition: none !important;
}
.header-contact-btn:hover .header-contact-btn__text {
  color: var(--white);
  transition: none !important;
}
.header-contact-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-left: 0.2rem;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.header-contact-btn__arrow img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
  transition: none;
}
.header-contact-btn:hover .header-contact-btn__arrow {
  transform: scale(1.1);
}

.header-right-wrapper{
  gap: 2rem;
}

/* ハンバーガーメニュー（768px以下で表示） */
.header-hamburger-btn {
  display: none;
  position: relative;
  width: 20px;
  height: 20px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  z-index: 10002;
}
.header-hamburger-line {
  width: 100%;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.header-hamburger-btn.is-active .header-hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.header-hamburger-btn.is-active .header-hamburger-line:nth-child(2) {
  opacity: 0;
}
.header-hamburger-btn.is-active .header-hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* オーバーレイ（ヘッダー z-index:9999 より前面に表示） */
.header-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  z-index: 10000;
}
.header-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* スライドメニュー（ヘッダーより前面に表示） */
.header-slide-menu.overlay-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  transition: right 0.3s ease-in-out;
  z-index: 10001;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
}
.header-slide-menu.overlay-menu.is-active {
  right: 0;
}

.header-menu-list {
  list-style: none;
  padding: 80px 0 2rem;
  margin: 0;
}
.header-menu-list li {
  margin: 0;
  padding: 0;
}
.header-menu-list a {
  display: block;
  padding: 20px 30px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.header-menu-list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* スライドメニュー内・お問い合わせボタン（header-contact-btn と同じデザイン） */
.header-menu-list__contact {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin: 3rem 30px 0 !important;
  padding: 1.5rem 1.5rem 1.5rem 2rem !important;
  width: calc(100% - 60px) !important;
  box-sizing: border-box;
  background-color: var(--accent-color) !important;
  color: var(--text-color) !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  transition: background-color 0.25s ease;
}
.header-menu-list__contact:hover {
  background-color: var(--main-navy) !important;
  color: var(--white) !important;
}
.header-menu-list__contact-text {
  padding-top: 1px;
  font-size: 18px;
  padding-left: 4rem;
}
.header-menu-list__contact-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-left: 0.2rem;
  background-color: #fff;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.header-menu-list__contact-arrow img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}


/* -----------------------------------------------------------
    フッター
----------------------------------------------------------- */

footer{
  padding: 2rem 4rem 1.8rem;
}
footer .img{
  max-width: 200px;
}
.footer-banner-img{
  padding: 6rem 0;
}
.footer-banner-img .img{
  overflow: hidden;
  border-radius: 5px;
}
.footer-banner-img .img a{
  display: block;
}
.footer-banner-img .img img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
  transform: scale(1);
  will-change: transform;
}
.footer-banner-img .img a:hover img,
.footer-banner-img .img a:focus-visible img{
  transform: scale(1.03);
}

/* -----------------------------------------------------------
    top-mv（メインビジュアル）
----------------------------------------------------------- */
.top-mv {
  padding-top: 0;
  margin-top: 8rem;
  background: var(--gd-blue-color);
  position: relative;
}
.top-mv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/top/top-mv-back.png") no-repeat left center;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: top-mv-bg-fade 0.8s ease-out 0s forwards;
}
.top-mv__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 1;
  padding: 10rem 0;
}
.top-mv__content {
  flex: 0 1 auto;
  opacity: 0;
  transform: translateY(24px);
  animation: top-mv-fade-up 0.8s ease-out 0.5s forwards;
}
.top-mv__lead {
  font-weight: 700;
  letter-spacing: 0.05em;
}
.top-mv__sub {
  margin-top: 0.7rem;
  color: var(--white);
}
.top-mv__heading-box {
  margin-top: 4rem;
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 1rem 1.6rem;
  background-color: var(--white);
  color: #333;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 3px;
}
.top-mv__heading-box02{
  margin-top: 1.5rem;
}
.top-mv__visual {
  flex: 0 1 auto;
  max-width: 390px;
  opacity: 0;
  transform: translateY(24px);
  animation: top-mv-fade-up 0.8s ease-out 0.8s forwards;
}
.top-mv__visual img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes top-mv-bg-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes top-mv-fade-up {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* -----------------------------------------------------------
    top-point（3つのポイント）
----------------------------------------------------------- */
.top-point {
  position: relative;
  z-index: 2;
  background: #fff;
  width: 100%;
}
.top-point__list {
  position: relative;
  top: -3rem;
  display: flex;
  gap: 2.4rem;
  opacity: 0;
  transform: translateY(24px);
  animation: top-mv-fade-up 0.5s ease-out 0.5s forwards;
}
.top-point__item {
  position: relative;
  flex: 1 1 0;
  padding: 4rem 3rem 3.5rem;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  border: 5px solid transparent;
  background-image:
    linear-gradient(#ffffff, #ffffff),
    linear-gradient(135deg, #004eaf, #2f9bff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
}
.top-point__item:nth-child(1) {
  animation: top-mv-fade-up 0.7s ease-out 1.6s forwards;
}
.top-point__item:nth-child(2) {
  animation: top-mv-fade-up 0.7s ease-out 1.8s forwards;
}
.top-point__item:nth-child(3) {
  animation: top-mv-fade-up 0.7s ease-out 2.0s forwards;
}
.top-point__icon {
  position: absolute;
  top: -3.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: var(--accent-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.top-point__icon::before {
  content: "";
  position: absolute;
  background: url("../image/common/icon-light.svg") no-repeat;
  background-size: contain;
  width: 2.6rem;    
  height: 4rem;    
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.top-point__label {
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: var(--main-color);
}
.top-point__number {
  margin-left: 0.3rem;
}
.top-point__text {
  line-height: 1.7;
}
.top-point__marker {
  background: linear-gradient(transparent 60%, var(--accent-color) 0);
  font-weight: 700;
}

/* -----------------------------------------------------------
    top-service（サービス紹介）
----------------------------------------------------------- */
.service-merit-telephone {
  margin-top: 4rem;
  padding: 3.5rem 3rem;
}
.service-merit-telephone__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.4rem;
}
.service-merit-telephone__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.2rem 2.4rem 2.4rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}
.service-merit-telephone__head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 1.2rem;
  border: 1px solid var(--main-color);
  width: fit-content;
  padding: 2px 10px;
  border-radius: 9999px;
}
.service-merit-telephone__label {
  color: var(--main-color);
  font-size: 1.2rem;
  font-weight: 700;
}
.service-merit-telephone__number {
  font-family: "Lato", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--main-color);
}
.service-merit-telephone__body {
  flex: 1 1 auto;
}
.service-merit-telephone__icon {
  display: none;
}
.service-merit-telephone__title {
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-size: 1.7rem;
  background: linear-gradient(transparent 60%, var(--accent-color) 0);
  display: inline;
  padding: 0 5px;
}
.service-merit-telephone__text {
  line-height: 1.6;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 1.5rem;
}

@media screen and (max-width:1024px) {
  .service-merit-telephone {
    padding: 3rem 2.4rem;
  }
  .service-merit-telephone__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width:767px) {
  .service-merit-telephone {
    padding: 2.4rem 1.8rem;
  }
  .service-merit-telephone__cards {
    grid-template-columns: 1fr;
  }
}

.top-service {
  padding: 6rem 0 12rem;
}
.top-service__list {
  display: flex;
  flex-direction: column;
  gap: 10rem;
}
.top-service__item {
  display: flex;
  align-items: center;
  gap: 6rem;
  opacity: 1;
}
ul.top-service__list li.top-service__item:nth-of-type(even){
  flex-direction: row-reverse;
}
.top-service__image {
  flex: 0 0 50%;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.top-service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.top-service__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: 0.2s;
}
ul.top-service__list li.top-service__item:nth-of-type(even) .top-service__body{
  transform: translateX(-60px); /* 偶数は左方向から入ってくる量を少し大きく */
}
/* スクロール時アニメーション：画像→少し遅れてテキスト */
.top-service__item.is-inview .top-service__image,
.top-service__item.is-inview .top-service__body{
  opacity: 1;
  transform: translateX(0) translateY(0);
}
.top-service__item.is-inview .top-service__body{
  transition-delay: 0.2s;
}
/* 偶数行（row-reverse）の最終位置もX軸0に固定 */
ul.top-service__list li.top-service__item:nth-of-type(even).is-inview .top-service__body{
  transform: translateX(0);
}
.top-service__category {
  margin-bottom: 1.2rem;
  color: var(--main-color);
  font-weight: 700;
}
.top-service__number {
  margin-right: 0.8rem;
}
li.top-service__item .top-service__number {
  position: relative;
  top: 1px;
}
.top-service__title {
  margin-bottom: 2rem;
  font-weight: 700;
}
.top-service__point-list {
  background: var(--light-gray);
  padding: 2rem 4.5rem;
  margin-bottom: 2rem;
}
.top-service__point-item {
  position: relative;
  padding-left: 3rem;
  line-height: 1.8;
  font-size: 16px;
}
ul.top-service__point-list li.top-service__point-item:not(:first-of-type){
  margin-top: 5px;
}
.top-service__point-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  background: url("../image/common/icon-check.svg") no-repeat center center;
  background-size: contain;
}
.top-service__description {
  margin-bottom: 2.4rem;
  line-height: 1.9;
}
.top-service__action {
  display: flex;
  justify-content: flex-start;
}
.top-service__link {
  display: inline-flex;
  align-items: center;
  padding: 0 6rem 0 0;
  position: relative;
  background-color: transparent;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  border-radius: 9999px;
  overflow: hidden;
  transition: color 0.35s ease;
}
.top-service__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5.6rem;  /* 矢印背景の初期サイズ（丸） */
  height: 5.6rem;
  background-color: var(--main-color);
  border-radius: 9999px;
  transition: width 0.35s ease;
  z-index: 0;
}
.top-service__link:hover {
  color: #fff;
}
.top-service__link:hover::before {
  width: 100%;
}
.top-service__link-text {
  margin-left: 2rem;
  font-size: 18px;
  position: relative;
  z-index: 1;
}
.top-service__link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.6rem;
  height: 5.6rem;
  background-color: transparent;
  position: relative;
  z-index: 1;
}
.top-service__link-arrow img {
  width: 1.8rem;
  height: 1.8rem;
  object-fit: contain;
}

/* -----------------------------------------------------------
    cta-section（お問い合わせ）
----------------------------------------------------------- */
.cta-section {
  padding: 8rem 0 10rem;
  background: linear-gradient(90deg, #1C3987 0%, #226DB9 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/common/cta-back.png") no-repeat left center;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}

.cta-section .inner {
  position: relative;
  z-index: 1;
}
.cta-section__header {
  text-align: center;
  margin-bottom: 4rem;
}
.cta-section__label {
  position: relative;
  margin-bottom: 0.8rem;
}
.cta-section__label::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  width: 1.6rem;
  height: 0.7rem;
  margin-bottom: 2px;
  background: url("../image/common/icon-index-sub-accent.svg") no-repeat center center;
  background-size: contain;
}
.cta-section__title {
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: 1px;
}
.cta-section__list {
  display: flex;
  align-items: stretch;
  gap: 2.4rem;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cta-section__item {
  display: flex;
  flex: 1 1 320px;
}
.cta-section__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  padding: 3.5rem 4rem;
  background: var(--white);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}
.cta-section__card:hover {
  transform: translateY(-3px);
}
.cta-section__card-body {
  flex: 1 1 auto;
}
.cta-section__card-label {
  color: var(--text-color);
  margin-bottom: 0.8rem;
}
.cta-section__card-tel,
.cta-section__card-link-text {
  font-weight: 700;
}
.cta-section__card-note{
  margin-top: 1.8rem;
}
.cta-section__card-note-label::after {
  content: "";
  display: inline-block;
  width: 0.2rem;
  height: 1.6rem;
  margin: 0 1rem;
  vertical-align: middle;
  background: var(--gray-color);
  transform: rotate(30deg);
}
.cta-section__card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.6rem;
  height: 7.6rem;
  border-radius: 50%;
  position: relative;
  overflow: visible;
}
/* 時計回りに色が変わるリング（SVG） */
.cta-section__card-icon-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transform: rotate(-90deg); /* 12時から時計回りに描く */
}
.cta-section__card-icon-ring-bg {
  stroke: #DADFE5;
  stroke-width: 1.5;
  transition: stroke 0.35s ease;
}
.cta-section__card-icon-ring-fill {
  stroke: var(--main-color);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-section__item:hover .cta-section__card-icon-ring-fill {
  stroke-dashoffset: 0;
}
.cta-section__item:hover .cta-section__card-icon-ring-bg {
  stroke: transparent;
}
.cta-section__card-icon img,
.cta-section__card-icon-img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 1050px) {
  .cta-section__card:hover .cta-section__card-icon--phone,
  .cta-section__card:hover .cta-section__card-icon--mail,
  .cta-section__card:focus-visible .cta-section__card-icon--phone,
  .cta-section__card:focus-visible .cta-section__card-icon--mail {
    background: var(--accent-color);
  }

  .cta-section__card:hover .cta-section__card-icon--phone .cta-section__card-icon-ring,
  .cta-section__card:hover .cta-section__card-icon--mail .cta-section__card-icon-ring,
  .cta-section__card:focus-visible .cta-section__card-icon--phone .cta-section__card-icon-ring,
  .cta-section__card:focus-visible .cta-section__card-icon--mail .cta-section__card-icon-ring {
    display: none;
  }
}

/* -----------------------------------------------------------
    お問い合わせページ（フォームセクション）
----------------------------------------------------------- */
.contact-form-section {
  padding: 12rem 0;
  background: var(--light-gray);
}
.contact-form-section__inner {
  margin: 0 auto;
  background: var(--white);
  border-radius: 5px;
  padding: 6rem 4rem;
}
.contact-form-section__header {
  text-align: center;
  margin-bottom: 4rem;
}
.contact-form-section__label {
  position: relative;
  margin-bottom: 0.8rem;
  display: inline-block;
}
.contact-form-section__label::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  width: 1.6rem;
  height: 0.7rem;
  margin-bottom: 2px;
  background: url("../image/service/icon-index-sub-main.svg") no-repeat center center;
  background-size: contain;
}
.contact-form-section__title {
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.contact-form-section__body {
  max-width: 900px;
  margin: 0 auto;
}

/* Contact Form 7（お問い合わせ）— html_class="megaservice-cf7" 推奨 */
.contact-form-section__body .wpcf7 {
  max-width: 100%;
}

.contact-form-section__body .wpcf7-form.megaservice-cf7 .megaservice-cf7-field {
  padding: 2rem 0;
}

.contact-form-section__body .wpcf7-form.megaservice-cf7 .megaservice-cf7-field:first-of-type {
  padding-top: 0;
}

.contact-form-section__body .megaservice-cf7-label {
  display: block;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

/* CF7 の自動整形でラベル行の直後に挿入される <br> を除く（項目ごとに有無がばらつくのを防ぐ） */
.contact-form-section__body .wpcf7-form.megaservice-cf7 .megaservice-cf7-field p > span.megaservice-cf7-label + br {
  display: none;
}

.contact-form-section__body .megaservice-required-badge {
  display: inline-block;
  vertical-align: middle;
  color: var(--white);
  background: var(--main-color);
  padding: 1px 6px 2px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  margin-left: 4px;
}

.contact-form-section__body .megaservice-optional-badge {
  display: inline-block;
  vertical-align: middle;
  color: var(--text-color);
  background: #d5d8d9;
  padding: 1px 6px 2px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
  margin-left: 4px;
}

.contact-form-section__body .wpcf7-form.megaservice-cf7 input[type="text"],
.contact-form-section__body .wpcf7-form.megaservice-cf7 input[type="tel"],
.contact-form-section__body .wpcf7-form.megaservice-cf7 input[type="email"],
.contact-form-section__body .wpcf7-form.megaservice-cf7 select,
.contact-form-section__body .wpcf7-form.megaservice-cf7 textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--light-gray);
  border: 1px solid #cfd4da;
  border-radius: 5px;
  padding: 1.2rem 1.4rem;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-color);
}

/* 都道府県 select：内容幅に合わせる（CF7 のラッパー幅も縮める） */
.contact-form-section__body .megaservice-cf7-select-wrap {
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}

.contact-form-section__body .megaservice-cf7-select-wrap .wpcf7-form-control-wrap {
  display: inline-block;
  width: auto;
  max-width: 100%;
}

.contact-form-section__body .wpcf7-form.megaservice-cf7 select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 3.5rem;
  width: max-content;
  max-width: 100%;
  background-color: var(--light-gray);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1.5 2L7 7.5L12.5 2' stroke='%23444444' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2rem center;
  background-size: 0.875rem 0.55rem;
}

.contact-form-section__body .wpcf7-form.megaservice-cf7 textarea.megaservice-cf7-textarea {
  min-height: 16rem;
  resize: vertical;
  line-height: 1.7;
}

.contact-form-section__body .megaservice-cf7-name-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 2rem;
  align-items: start;
}

.contact-form-section__body .megaservice-cf7-name-col .megaservice-cf7-input {
  width: 100%;
}

.contact-form-section__body .megaservice-cf7-sublabel {
  display: block;
  margin-top: 0.5rem;
  font-size: 13px;
  color: #666;
  line-height: 1.3;
}

.contact-form-section__body .megaservice-cf7-field--acceptance .megaservice-cf7-acceptance-row {
  margin-top: 0.4rem;
}

.contact-form-section__body .wpcf7-form.megaservice-cf7 .wpcf7-list-item {
  margin: 0;
}

.contact-form-section__body .wpcf7-form.megaservice-cf7 .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  cursor: pointer;
}

.contact-form-section__body .wpcf7-form.megaservice-cf7 input[type="checkbox"] {
  width: auto;
  margin-top: 0.25em;
  flex-shrink: 0;
}

.contact-form-section__body .megaservice-cf7-privacy-note {
  margin: 1.2rem 0 0;
  padding: 0;
  font-size: 14px;
}

/* 送信ボタン：疑似要素は親の幅（CF7 の <p> が全幅になりやすい）に引っ張られるため、input 本体に多層 background で白丸＋矢印（ヘッダー .header-contact-btn と同系） */
.contact-form-section__body .megaservice-cf7-submit-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 6rem;
}

.contact-form-section__body .megaservice-cf7-submit-wrap .wpcf7-form-control-wrap {
  display: inline-block;
  width: auto;
  max-width: 100%;
}

.contact-form-section__body .megaservice-cf7-submit-wrap > p {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0;
  text-align: center;
  vertical-align: top;
}

.contact-form-section__body .megaservice-cf7-submit-wrap .wpcf7-spinner {
  position: absolute;
  left: 100%;
  top: 50%;
  margin: 0 0 0 0.75rem;
  transform: translateY(-50%);
  z-index: 2;
}

.contact-form-section__body .wpcf7-form.megaservice-cf7 input.megaservice-cf7-submit.wpcf7-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 7rem 1rem 4rem !important;
  color: var(--text-color) !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  border: none !important;
  border-radius: 9999px !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: none !important;
  height: 55px;
  width: auto !important;
  max-width: 100%;
  background-color: var(--accent-color) !important;
  background-image: url("../image/common/arrow-button.svg"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='28' fill='%23ffffff'/%3E%3C/svg%3E") !important;
  background-size: 1.2rem 1.2rem, 3.5rem 3.5rem !important;
  background-position: right 1.95rem center, right 0.8rem center !important;
  background-repeat: no-repeat, no-repeat !important;
}

.contact-form-section__body .megaservice-cf7-submit-wrap:hover input.megaservice-cf7-submit.wpcf7-submit,
.contact-form-section__body .wpcf7-form.megaservice-cf7 input.megaservice-cf7-submit.wpcf7-submit:hover {
  background-color: var(--main-navy) !important;
  color: var(--white) !important;
  background-image: url("../image/common/arrow-button.svg"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'%3E%3Ccircle cx='28' cy='28' r='28' fill='%23ffffff'/%3E%3C/svg%3E") !important;
  background-size: 1.2rem 1.2rem, 3.5rem 3.5rem !important;
  background-position: right 1.95rem center, right 0.8rem center !important;
  background-repeat: no-repeat, no-repeat !important;
}

.contact-form-section__body .wpcf7-not-valid-tip {
  margin-top: 0.5rem;
  font-size: 14px;
}

.contact-form-section__body .wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 1rem 1.2rem;
  border-radius: 5px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: transparent!important;
  text-align: center!important;
  padding: 2rem 1rem!important;
}


a.contact-privacy-link{
  color: #2f9bff;
  margin-top: 1.5rem;
}

.wpcf7 form.invalid .wpcf7-response-output{
  border-color: transparent!important;
  text-align: center;
}

/* -----------------------------------------------------------
    サービスページ
----------------------------------------------------------- */
.layer-mv {
  position: relative;
  padding: 7rem 0 9rem;
  overflow: hidden;
  margin-top: 8rem;
}
.layer-mv__bg.service-layer-mv-img {
  position: absolute;
  inset: 0;
  background: url("../image/service/service-layer-mv-img.png") no-repeat left top;
  background-size: cover;
  z-index: 0;
  pointer-events: none;
}
.layer-mv__inner {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
}
/* layer-mv ラベル・タイトル（一文字ずつ下から現れるアニメーション） */
.layer-mv__label {
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
.layer-mv__label span {
  transform: translateY(100%);
  transition: transform 0.28s ease-out;
}
.layer-mv__label.active span {
  transform: translateY(0);
}

.layer-mv__title {
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.3;
  letter-spacing: 0.02em;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}
.layer-mv__title span {
  transform: translateY(100%);
  transition: transform 0.28s ease-out;
}
.layer-mv__title.active span {
  transform: translateY(0);
}

.layer-mv__breadcrumb {
  margin-top: 3.5rem;
  font-size: 1.6rem;
  color: var(--gray-color);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.layer-mv__breadcrumb a {
  color: var(--gray-color);
}
.layer-mv__breadcrumb a:hover {
  color: var(--main-color);
}
.layer-mv__breadcrumb-sep {
  margin: 0 0.5rem;
}

.service-nav__bar {
  background: var(--base-color);
  padding: 2rem 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.service-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-nav__item a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-color);
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.service-nav__item a:hover {
  color: var(--main-color);
}
.service-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  background: var(--accent-color2);
  border-radius: 50%;
  position: relative;
}
.service-nav__icon::after {
  content: "";
  position: absolute;
  width: 1rem;
  height: 1rem;
  background: url("../image/service/icon-service-index-arrow.svg") no-repeat center center;
  background-size: contain;
}

.service-about {
  padding: 8rem 0 10rem;
}
.service-about__box {
  border-radius: 8px 0 0 0;
  padding: 4rem 6rem 5rem;
  max-width: 100%;
}
.service-about__cta-list {
  margin-top: 4rem;
  margin-bottom: 0;
}
.service-about__title {
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}
.service-about__body {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.service-about__text {
  font-size: 1.6rem;
  line-height: 1.9;
  color: var(--text-color);
  margin: 0;
}
.service-about__network-img {
  margin-top: 2rem;
}
.service-about__network-img picture,
.service-about__network-img img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-section__card--main {
  background: var(--main-navy);
  color: var(--white);
}
.cta-section__card--main .cta-section__card-label{
  color: var(--accent-color);
}
.cta-section__card--main .cta-section__card-tel,
.cta-section__card--main .cta-section__card-link-text {
  color: var(--white);
}
.cta-section__card--main .cta-section__card-note {
  color: rgba(255, 255, 255, 0.9);
}
.cta-section__card--main .cta-section__card-note-label::after {
  display: none;
}
.cta-section__card--main .cta-section__card-note-sep {
  margin: 0 0.5rem;
  opacity: 0.9;
}
.cta-section__card--main .cta-section__card-icon {
  background: var(--white);
  transition: background-color 0.3s ease;
}
.cta-section__card--main:hover .cta-section__card-icon {
  background: var(--accent-color);
}

.service-discovery {
  padding: 14rem 0 10rem;
  position: relative;
}
.service-discovery__box {
  border: 2px solid var(--main-color);
  border-radius: 8px;
  padding: 6rem 8rem 5rem;
  background: var(--base-color);
  text-align: center;
  position: relative;
}
.service-discovery__header {
  display: inline-block;
  text-align: center;
  margin-bottom: 4rem;
  position: absolute;
  left: 50%;
  top: -60px;
  transform: translateX(-50%);
  background: var(--white);
  padding: 1rem 5rem;
  min-width: 270px;
}
.service-discovery__header .index-sub-label {
  justify-content: center;
  margin-bottom: 1rem;
}
.service-discovery__title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.service-discovery__title-inner {
  flex-shrink: 0;
}
.service-discovery__body {
  display: flex;
  align-items: center;
  gap: 6rem;
}
.service-discovery__visual {
  flex: 0 1 35%;
  min-width: 200px;
}
.service-discovery__visual img {
  width: 100%;
  height: auto;
  display: block;
}
.service-discovery__list {
  flex: 1 1 45%;
  min-width: 280px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.service-discovery__item {
  display: flex;
  align-items: flex-start; 
  gap: 1.6rem;
  padding: 1.8rem 2.4rem 2.2rem; 
  background: #F5F5F5;
  border-radius: 6px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
}
.service-discovery__item-icon {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--main-color);
  position: relative;
}
.service-discovery__item-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 0.6rem;
  border-left: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: translate(-50%, -60%) rotate(-45deg);
}
.service-discovery__item-text{
  margin-top: -1px;
  text-align: left;
  line-height: 1.2;
}

.service-merit {
  padding: 10rem 0 10rem;
  background: var(--gd-blue-color);
  position: relative;
  clip-path: polygon(0 0, 45% 0, 50% 4rem, 55% 0, 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
}
.service-merit__inner {
  text-align: center;
  position: relative;
  z-index: 1;
}
.service-merit__label {
  margin-bottom: 1.2rem;
}
.service-merit .index-sub-label__icon {
  background: url("../image/common/icon-index-sub-accent.svg") no-repeat center center;
  background-size: contain;
}
.service-merit__title {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin: 0 0 2.4rem;
  letter-spacing: 0.02em;
}
.service-merit__body {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.service-merit__text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--white);
  margin: 0;
  text-align: center;
}
.service-merit__body .service-merit__text:not(:first-of-type){
  margin-top: 1.5rem;
}
.service-merit__inner .service-merit__title:nth-of-type(2){
  margin-top: 8rem;
  margin-bottom: 1rem;
}

.service-merit-compare__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
  margin-top: 5rem;
}
.service-merit-compare__card {
  background: var(--white);
  border-radius: 5px;
  padding: 2.4rem 2rem;
  text-align: left;
}
.service-merit-compare__card-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 2.5rem;
  text-align: center;
  background: #F4F6F9;
  padding: 1rem 1.5rem;
}
.service-merit-compare__card-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.service-merit-compare__label {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--main-color);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--main-color);
}
.service-merit-compare__label--demerit {
  margin-top: 1.2rem;
}
.service-merit-compare__text {
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text-color);
}

/* ネットワーク：セキュリティ対策メリット（白カード2枚横並び） */
.service-merit-compare--security {
  margin-top: 3.2rem;
}
.service-merit-compare--security .service-merit-compare__cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.4rem;
  margin-top: 2.4rem;
}
.service-merit-compare--security .service-merit-compare__card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}
.service-merit-compare--security .service-merit-compare__card-title {
  color: #111;
  text-align: left;
  font-size: 1.8rem;
  line-height: 1.45;
  margin-bottom: 1.2rem;
}
.service-merit-compare--security .service-merit-compare__text {
  color: #333;
  margin: 0;
}

#network .service-merit-compare--security .service-merit-compare__card,
#telephone .service-merit-compare--security .service-merit-compare__card,
#ledlight .service-merit-compare--security .service-merit-compare__card{
  padding: 2.4rem 3rem;
}
#network .service-merit-compare--security .service-merit-compare__card-title,
#telephone .service-merit-compare--security .service-merit-compare__card-title,
#ledlight .service-merit-compare--security .service-merit-compare__card-title{
  background: none;
  padding: 0;
  padding-bottom: 5px;
  color: var(--main-color);
  border-bottom: 1px solid var(--main-color);
  font-size: 2rem;
}
#network .service-merit-compare--security .service-merit-compare__card .flex,
#telephone .service-merit-compare--security .service-merit-compare__card .flex,
#ledlight .service-merit-compare--security .service-merit-compare__card .flex{
  gap: 2rem;
}
#network .service-merit-compare--security .service-merit-compare__card .flex .img,
#telephone .service-merit-compare--security .service-merit-compare__card .flex .img,
#ledlight .service-merit-compare--security .service-merit-compare__card .flex .img{
  width: 30%;
  max-width: 142px;
}
#network .service-merit-compare--security .service-merit-compare__card .flex .txt,
#telephone .service-merit-compare--security .service-merit-compare__card .flex .txt,
#ledlight .service-merit-compare--security .service-merit-compare__card .flex .txt{
  width: 70%;
}

/* -----------------------------------------------------------
    service-merit 比較表
----------------------------------------------------------- */
.service-merit__table-wrap {
  margin-top: 6rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  min-width: 0;
}
/* LED：リード文直下の比較表までの余白（汎用 6rem が広すぎる） */
#ledlight .service-merit__table-wrap {
  margin-top: 2.4rem;
}
/* 複合機（printer）：DOM 上は table が2つ、見た目は1つの白背景にまとめる */
body.printer .service-merit__table-wrap--printer-stack {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  padding: 4rem 2rem;
}
body.printer .service-merit__table-wrap--printer-stack .service-comp-table--printer-part {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
body.printer .service-merit__table-wrap--printer-stack .service-comp-table--printer-continuation {
  margin-top: -2rem;
  position: relative;
}
/* 2つ目の表：列見出しは支援技術向けのみ（画面上は非表示） */
.service-comp-table__thead--visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.service-comp-table {
  width: 100%;
  min-width: 1100px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 1.5rem;
  table-layout: fixed;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  padding: 4rem 2rem;
}
.service-comp-table__head-row .service-comp-table__th {
  padding: 1.4rem 1.6rem;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--white);
  border: none;
  border-radius: 3px;
}
.service-comp-table__head-row .service-comp-table__th:last-child {
  border-right: none;
}
.service-comp-table__head-row .service-comp-table__th--blank {
  width: 18%;
}
.service-comp-table__head-row .service-comp-table__th:not(.service-comp-table__th--blank) {
  width: calc((100% - 18%) / 3);
  box-sizing: border-box;
  height: 70px;
  padding: 1.5rem 2rem;
  vertical-align: middle;
}
.service-comp-table__head-row .service-comp-table__th--active {
  background: var(--main-color);
  color: var(--white);
  position: relative;
  overflow: visible;
}

.service-merit__table-wrap{
  position: relative;
}
.service-comp-table__badge-floating{
  --service-comp-label-ratio: 0.18;
  --service-comp-gap: 1.5rem;
  --service-comp-wrap-pad-x: 0px;
  --service-comp-pad-x: 2rem;
  --service-comp-table-base-width: max(1100px, 100%);
  position: absolute;
  top: 1.2rem;
  left: calc(
    var(--service-comp-wrap-pad-x) +
    var(--service-comp-pad-x) +
    (var(--service-comp-table-base-width) * var(--service-comp-label-ratio)) +
    var(--service-comp-gap) - 15px );
  width: 100px;
  height: auto;
  filter: drop-shadow(0 5px 2px rgba(0, 0, 0, 0.24));
  z-index: 5;
  pointer-events: none;
}
.service-comp-table__head-row .service-comp-table__th:not(.service-comp-table__th--blank):not(.service-comp-table__th--active) {
  background: #DCE0E4;
  color: var(--text-color);
}
.service-comp-table__caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* tbody 行の高さ：tr の min-height は無効なため、セル側で確保（height はセルで最小高として扱われ、内容が多い行は伸びる） */
.service-comp-table__body-row td,
.service-comp-table__body-row th {
  box-sizing: border-box;
  padding: 1.5rem 2rem;
  font-size: 16px;
  border: none;
  vertical-align: middle;
  height: 70px;
  border-radius: 6px;
}
.service-comp-table__body-row td:last-child,
.service-comp-table__body-row th:last-child {
  border-right: none;
}
.service-comp-table__label {
  background: var(--white);
  color: var(--text-color);
  font-weight: 500;
  width: 18%;
  max-width: none;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: left;
}
.service-comp-table__body-row--striped .service-comp-table__label {
  background: var(--light-gray);
}
.service-comp-table__cell {
  text-align: center;
  background: var(--white);
}
.service-comp-table__body-row--striped .service-comp-table__cell:not(.service-comp-table__cell--active) {
  background: var(--light-gray);
}
.service-comp-table__body-row--striped .service-comp-table__cell--active {
  background: #E5F0FA;
}
/* LED照明（ledlight）ページのみ：左から2列目のみ青、右2列はグレー */
body.ledlight .service-comp-table .service-comp-table__body-row .service-comp-table__cell--active {
  background: #E5F0FA;
}
body.ledlight .service-comp-table .service-comp-table__body-row .service-comp-table__cell:not(.service-comp-table__cell--active) {
  background: var(--light-gray);
}
body.ledlight .service-comp-table__body-row th{
  background: var(--light-gray);
}

/* 複合機（printer）：比較表の全セルに背景（リース列＝青系・他列＝グレー・左ラベルもグレー）※メリット／デメリット行は下の専用ルールが優先 */
body.printer {
  --printer-comp-label-col: 18%;
}
/* 列幅は colgroup で統一（2つ目の表は thead が画面外のため、ここがないとメリット／デメリット表だけ列がずれる） */
body.printer .service-comp-table__col-label {
  width: var(--printer-comp-label-col);
}
body.printer .service-comp-table__col-data {
  width: calc((100% - var(--printer-comp-label-col)) / 3);
}
body.printer .service-comp-table .service-comp-table__head-row .service-comp-table__th--blank {
  background: none;
  width: auto;
}
body.printer .service-comp-table__head-row .service-comp-table__th:not(.service-comp-table__th--blank) {
  width: auto;
}
body.printer .service-comp-table .service-comp-table__body-row .service-comp-table__label:not(.service-comp-table__label--merit):not(.service-comp-table__label--demerit) {
  background: var(--light-gray);
}
body.printer .service-comp-table .service-comp-table__body-row .service-comp-table__cell--active:not(.service-comp-table__cell--merit):not(.service-comp-table__cell--demerit) {
  background: #E5F0FA;
}
body.printer .service-comp-table .service-comp-table__body-row .service-comp-table__cell:not(.service-comp-table__cell--active):not(.service-comp-table__cell--merit):not(.service-comp-table__cell--demerit) {
  background: var(--light-gray);
}
body.printer .service-comp-table th,
body.printer .service-comp-table td {
  min-width: 0;
}
body.printer .service-comp-table__body-row th {
  text-align: center;
}
body.printer .service-merit__table-wrap--printer-stack .service-comp-table--printer-continuation td.service-comp-table__cell {
  text-align: left;
}

/* テキストダミー行：全セルを薄いグレーで統一 */
.service-comp-table__body-row--dummy .service-comp-table__label,
.service-comp-table__body-row--dummy .service-comp-table__cell {
  background: #F0F0F0;
}
.service-comp-table__body-row--dummy .service-comp-table__cell--active {
  background: #E0E8F0;
}

/* 複合機（printer）：メリット・デメリット行（構造は2つ目の table） */
.service-comp-table__label--merit {
  background: #E8893A;
  color: var(--white);
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  border-radius: 6px;
}
.service-comp-table__label--demerit {
  background: #8B95A2;
  color: var(--white);
  font-weight: 700;
  text-align: center;
  vertical-align: middle!important;
  border-radius: 6px;
}
/* メリット行：他行と同じセル構造（th/td に直接背景色） */
.service-comp-table__body-row--merit .service-comp-table__label--merit,
.service-comp-table__body-row--merit .service-comp-table__cell--merit {
  vertical-align: baseline;
  height: auto !important;
  min-height: 70px;
  box-sizing: border-box;
}
.service-comp-table__body-row--merit .service-comp-table__label--merit {
  background: #E8893A !important;
  color: var(--white);
  font-weight: 700;
  text-align: center;
  border-radius: 6px;
  vertical-align: middle;
}
.service-comp-table__body-row--merit .service-comp-table__cell--merit {
  background: #FFF5EB !important;
  border-radius: 6px;
}
.service-comp-table__body-row--demerit .service-comp-table__label--demerit,
.service-comp-table__body-row--demerit .service-comp-table__cell--demerit {
  height: auto !important;
  min-height: 70px;
  vertical-align: baseline;
}
.service-comp-table__body-row--demerit .service-comp-table__cell--demerit {
  background: #EEF1F6;
  text-align: center;
  border-radius: 6px;
}
.service-comp-table__body-row--demerit .service-comp-table__cell--demerit .service-comp-table__text{
  color: #5d6069;
}
.service-comp-table__body-row--merit .service-comp-table__text,
.service-comp-table__body-row--demerit .service-comp-table__text {
  display: block;
  text-align: center;
  line-height: 1.4;
}
/* 複合機2枚目の表：上の text-align:center を上書き（内側ブロックが効くため td のみでは左にならない） */
body.printer .service-merit__table-wrap--printer-stack .service-comp-table--printer-continuation .service-comp-table__body-row--merit .service-comp-table__text,
body.printer .service-merit__table-wrap--printer-stack .service-comp-table--printer-continuation .service-comp-table__body-row--demerit .service-comp-table__text {
  text-align: left;
  font-weight: 500;
  letter-spacing: 1.5px;
}
body.printer .service-merit__table-wrap--printer-stack .service-comp-table--printer-continuation .service-comp-table__icon-text {
  align-items: flex-start;
}

.service-comp-table__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  vertical-align: middle;
}
.service-comp-table__icon--fill {
  background: transparent;
  border: 2px solid var(--main-color);
  position: relative;
}
.service-comp-table__icon--fill::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  background: transparent;
}
.service-comp-table__icon--outline {
  border: 2px solid #B0B1B6;
}
.service-comp-table__cell--active .service-comp-table__icon--outline {
  border-color: var(--main-color);
}
.service-comp-table__cell:not(.service-comp-table__cell--active) .service-comp-table__icon--fill,
.service-comp-table__cell:not(.service-comp-table__cell--active) .service-comp-table__icon--fill::before {
  border-color: #B0B1B6;
}
.service-comp-table__icon--triangle {
  position: relative;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  color: #B0B1B6;
  background: transparent;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}
.service-comp-table__icon--triangle::before {
  content: "△";
  display: inline-block;
}
.service-comp-table__cell--active .service-comp-table__icon--triangle {
  color: var(--main-color);
}
.service-comp-table__icon--cross {
  position: relative;
  width: auto;
  height: auto;
  border: none;
  border-radius: 0;
  color: #B0B1B6;
  background: transparent;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}
.service-comp-table__icon--cross::before {
  content: "✕";
  display: inline-block;
}
.service-comp-table__cell--active .service-comp-table__icon--cross {
  color: var(--main-color);
}
.service-comp-table__dash {
  color: #B0B1B6;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.service-comp-table__text {
  color: var(--text-color);
  font-size: 14px;
}

/* アイコン + テキスト縦並び（比較表用） */
.service-comp-table__icon-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* -----------------------------------------------------------
    service-lineup（複合機ラインナップ）
----------------------------------------------------------- */
.service-lineup {
  padding: 10rem 0;
}
.service-lineup__header {
  text-align: center;
  margin-bottom: 4rem;
}
.index-sub-label--center {
  justify-content: center;
}
.service-lineup__title {
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  line-height: 1.4;
}

/* ネットワーク・電話：ラインアップ内 比較表（同一マークアップ） */
.service-lineup__compare-wrap {
  margin-top: 7rem;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.service-lineup__compare-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}
.service-lineup__compare-head {
  margin: 0;
  background: var(--main-color);
  color: var(--white);
  text-align: center;
  padding: 2rem 1.6rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}
.service-lineup__compare-head-inner {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 2rem;
}
.service-lineup__compare-head-pipe {
  font-weight: 400;
  padding-bottom: 1px;
}
.service-lineup__compare-head-inner--telephone {
  gap: 0;
}
.service-lineup__compare-table-outer {
  position: relative;
  background: var(--white);
}
#telephone .service-lineup__compare-table-outer,
#network .service-lineup__compare-table-outer {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}
#telephone .service-lineup__compare-table-outer .service-comp-table__badge-floating {
  width: 80px;
  left: calc(var(--service-comp-wrap-pad-x) + var(--service-comp-pad-x) + (var(--service-comp-table-base-width) * var(--service-comp-label-ratio)) + var(--service-comp-gap) - 35px);
}
.service-comp-table--lineup-compare {
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}
body.network .service-comp-table--lineup-compare .service-comp-table__label,
body.telephone .service-comp-table--lineup-compare .service-comp-table__label {
  font-weight: 700;
}
/* 複合機（printer）と同様：tbody の全セルに背景（ネットワーク＝リース列／電話＝クラウドPBX列が青・他データ列＝グレー・左ラベルもグレー） */
body.network .service-comp-table--lineup-compare .service-comp-table__body-row .service-comp-table__label,
body.telephone .service-comp-table--lineup-compare .service-comp-table__body-row .service-comp-table__label {
  background: var(--light-gray);
}
body.network .service-comp-table--lineup-compare .service-comp-table__body-row .service-comp-table__cell--active,
body.telephone .service-comp-table--lineup-compare .service-comp-table__body-row .service-comp-table__cell--active {
  background: #E5F0FA;
}
body.network .service-comp-table--lineup-compare .service-comp-table__body-row .service-comp-table__cell:not(.service-comp-table__cell--active),
body.telephone .service-comp-table--lineup-compare .service-comp-table__body-row .service-comp-table__cell:not(.service-comp-table__cell--active) {
  background: var(--light-gray);
}
body.network .service-comp-table--lineup-compare .service-comp-table__body-row th,
body.telephone .service-comp-table--lineup-compare .service-comp-table__body-row th {
  text-align: center;
}
body.network .service-comp-table--lineup-compare th,
body.network .service-comp-table--lineup-compare td,
body.telephone .service-comp-table--lineup-compare th,
body.telephone .service-comp-table--lineup-compare td {
  min-width: 0;
}

/* 電話：4列（クラウドPBX／リース／レンタル／購入） */
body.telephone .service-comp-table--lineup-compare--4col {
  min-width: 1180px;
}
body.telephone .service-comp-table--lineup-compare--4col .service-comp-table__head-row .service-comp-table__th:not(.service-comp-table__th--blank) {
  width: calc((100% - 18%) / 4);
}

/* 共通：小見出し（主な特徴・主な機能で使い回し） */
.lineup-sub-head {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 1.2rem;
  line-height: 1.4;
  background: var(--accent-color2);
  padding: 0.4em 0.6em;
  border-radius: 4px;
}

/* SPICAブロック（item_wide 内で使用） */
.service-lineup__block {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.service-lineup__block .service-lineup__card-head {
  border-radius: 0;
}
.service-lineup__block-body {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 3rem 4rem 4rem;
  flex-wrap: wrap;
}
.service-lineup__block-visual {
  flex: 0 1 400px;
  min-width: 260px;
  text-align: center;
}
.service-lineup__block-visual img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.service-lineup__block-content {
  flex: 1 1 380px;
  min-width: 0;
}
.service-lineup__block-lead {
  font-size: 1.6rem;
  line-height: 1.9;
  color: var(--text-color);
  margin: 0 0 1.6rem;
}
.service-lineup__block-highlight {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 2rem;
}
.service-lineup__block-content .lineup-sub-head {
  margin-top: 0.4rem;
}
.service-lineup__feature-list {
  list-style: disc;
  margin: 0 0 0 1.4em;
  padding: 0;
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--text-color);
}
.service-lineup__feature-list li {
  margin-bottom: 0.4rem;
}

.service-lineup__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.service-lineup__item {
  flex: 1 1 280px;
  width: calc((100% - 60px)/3);
  max-width: 380px;
  min-width: 380px;
  display: flex;
  align-items: stretch;
}
.service-lineup__item_wide {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}

/* 電話：最初の wide カード直後のセクション見出し（リスト内・全幅） */
.service-lineup__mid-heading {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 2rem 0 0 ;
  padding: 0;
  list-style: none;
  display: block;
}
.service-lineup__mid-heading-bar {
  margin: 0;
  background: var(--main-color);
  color: var(--white);
  text-align: center;
  padding: 2rem 1.6rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 5px;
}
.service-lineup__item_wide .service-lineup__block {
  width: 100%;
}
.service-lineup__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--white);
  border-radius: 5px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: visible;
  color: var(--text-color);
}
.service-lineup__card-head {
  background: var(--main-color);
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  padding: 2.5rem 2.5rem;
  border-radius: 5px  5px 0 0;
}
.service-lineup__card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 2rem 2.4rem 2.4rem;
}
.service-lineup__price {
  margin-top: auto;
  border: 2px solid #F6D851;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}
.service-lineup__price-head {
  background: #F6D851;
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 0.8rem 1rem;
  text-align: center;
}
.service-lineup__price-body {
  background: #f7f7f5;
  padding: 2rem 1.2rem;
} 
.service-lineup__price-row {
  --service-lineup-price-gap-label-num: 1rem;
  --service-lineup-price-gap-num-yen: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.service-lineup__price-kind {
  display: inline-block;
  border: 1px solid var(--text-color);
  padding: 0.3rem 0.8rem;
  margin-right: var(--service-lineup-price-gap-label-num);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-color);
  transform: translateY(1px);
  border-radius: 1px
}
.service-lineup__price-num {
  margin-right: var(--service-lineup-price-gap-num-yen);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-color);
}
.service-lineup__price-yen {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text-color);
  transform: translateY(4px);
}
.service-lineup__logo {
  margin: 0 0 1.2rem;
  font-weight: 700;
  color: var(--text-color);
}
.service-lineup__img {
  margin-bottom: 3rem;
  text-align: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
}
.service-lineup__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.service-lineup__desc {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 3rem;
  color: var(--text-color);
}
.service-lineup__item_wide .service-lineup__desc {
  margin-bottom: 1.5rem;
}
.service-lineup__item_wide .service-lineup__desc--last {
  margin-bottom: 3rem;
}
.service-lineup__model {
  margin: 0 0 1.6rem;
  font-size: 1.8rem;
  line-height: 1.3;
}
.service-lineup__card-body .service-lineup__model {
  margin-bottom: 1.5rem;
}
.service-lineup__card-body .lineup-sub-head {
  margin-top: 0.2rem;
}
.service-lineup__feature-text {
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text-color);
  margin: 0;
}
.service-lineup__feature-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  margin-bottom: 3.5rem;
}
.service-lineup__feature-item {
  position: relative;
  padding-left: 1.2em;
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text-color);
}
.service-lineup__feature-item::before {
  content: "";
  position: absolute;
  left: 0.3em;
  top: 0.7em;
  width: 0.35em;
  height: 0.35em;
  border-radius: 50%;
  background-color: currentColor;
}
.service-lineup__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.6rem 1.6rem;
  background: var(--accent-color);
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-family: inherit;
}
.service-lineup__cta:hover {
  opacity: 0.95;
}
.service-lineup__cta-icon {
  display: inline-block;
  width: 1.8rem;
  height: 1.8rem;
  margin-left: 0.2rem;
  position: relative;
  flex-shrink: 0;
}
.service-lineup__cta-icon::before,
.service-lineup__cta-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
/* 横線（プラス・マイナス共通） */
.service-lineup__cta-icon::before {
  width: 1rem;
  height: 2px;
  transform: translate(-50%, -50%);
}
/* 縦線（プラスのときだけ表示） */
.service-lineup__cta-icon::after {
  width: 2px;
  height: 1rem;
  transform: translate(-50%, -50%);
}
/* 開いているときは縦線を消してマイナスに */
.service-lineup__cta[aria-expanded="true"] .service-lineup__cta-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

/* ラインアップ下部の外部リンク（装飾は .header-contact-btn と同系・背景は青のまま） */
.service-lineup__navi-footer {
  display: flex;
  justify-content: center;
  margin-top: 5rem;
}
.service-lineup__navi-footer--telephone {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.service-lineup__navi-footer--telephone .service-lineup__navi-btn {
  width: 100%;
  justify-content: space-between;
}
.service-lineup__navi-btn {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 1.5rem 6rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
  background-color: var(--main-color);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border: none;
  border-radius: 9999px;
  overflow: hidden;
  transition: none !important;
  font-family: inherit;
}
.service-lineup__navi-btn__text {
  flex: 1 1 auto;
  text-align: center;
  padding-right: 2.5rem;
  padding-top: 1px;
  font-size: 18px;
  color: var(--white);
  transition: none !important;
}
.service-lineup__navi-btn:hover {
  background-color: var(--main-navy);
  transition: none !important;
}
.service-lineup__navi-btn:hover .service-lineup__navi-btn__text {
  color: var(--white);
  transition: none !important;
}
.service-lineup__navi-btn:focus-visible {
  outline: 3px solid var(--main-color);
  outline-offset: 3px;
}
.service-lineup__navi-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-left: 0.2rem;
  flex-shrink: 0;
  background-color: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}
.service-lineup__navi-btn__arrow img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  transition: none;
}
.service-lineup__navi-btn:hover .service-lineup__navi-btn__arrow {
  transform: scale(1.1);
}

.service-lineup__accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-lineup__accordion-panel.is-open {
  grid-template-rows: 1fr;
}
.service-lineup__accordion-inner {
  overflow: hidden;
  min-height: 0;
}
.service-lineup__accordion-text {
  margin: 1.2rem 0 0;
  padding: 1.2rem 1rem;
  background: var(--light-gray);
  border-radius: 4px;
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--text-color);
}

.service-lineup__item.service-lineup__item_wide .service-lineup__card-body{
  display: grid;
  grid-template-columns: minmax(220px, 440px) minmax(0, 1fr);
  align-items: flex-start;
  column-gap: 4rem;
  row-gap: 2.5rem;
  padding: 5rem;
}
.service-lineup__item.service-lineup__item_wide .service-lineup__img{
  max-width: 440px;
  width: 100%;
  margin: 0;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.service-lineup__item.service-lineup__item_wide .service-lineup__text-wrapper{
  min-width: 0;
}
.service-lineup__item.service-lineup__item_wide .service-lineup__img img{
  max-width: 100%;
  max-height: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.service-lineup__item.service-lineup__item_wide .service-lineup__desc{
  text-align: left;
}
.service-lineup__item.service-lineup__item_wide .service-lineup__card-head{
  background: var(--accent-color3);
}
.service-lineup__item.service-lineup__item_wide .lineup-sub-head{
  background: var(--accent-color-light);
}

/* telephone：ワイド表示時の「月額基本費用＋プラン表」 */
.service-lineup__wide-pricing {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 2.5rem;
  border-radius: 4px;
  overflow: visible;
  background: #f7f7f5;
}
.service-lineup__wide-base-fee-head {
  position: relative;
  background: var(--accent-color3);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  padding: 1.2rem 1rem;
  border-radius: 4px;
}
.service-lineup__wide-campaign-badge {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 110px;
  height: auto;
  transform: translateY(-52%);
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.1));
  pointer-events: none;
}
.service-lineup__wide-base-fee-body {
  background: #ffffff;
  text-align: center;
  padding: 2rem 1rem 4rem;
}
.service-lineup__wide-base-fee-num {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.2;
}
.service-lineup__wide-base-fee-yen {
  margin-left: 0.2rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
}
.service-lineup__wide-plan-table-outer {
  background: #ffffff;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
}
.service-lineup__wide-plan-table {
  width: calc(100% + 16px);
  margin: 0 -8px;
  border-collapse: separate;
  border-spacing: 8px;
  table-layout: fixed;
}
.service-lineup__wide-plan-table thead th {
  background: var(--accent-color3);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: 4px;
  border: 0;
  vertical-align: middle;
}
.service-lineup__wide-plan-table tbody td {
  background: #f1f3f5;
  color: var(--text-color);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: 4px;
  border: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.service-lineup__wide-plan-td--plan {
  background: #e9ecef;
}

#computer .service-lineup .service-lineup__item:nth-child(1) .service-lineup__card-head {
  background: var(--accent-color3);
}
#computer .service-lineup .service-lineup__item:nth-child(2) .service-lineup__card-head {
  background: var(--main-color);
}
#computer .service-lineup .service-lineup__item:nth-child(3) .service-lineup__card-head {
  background: var(--main-navy);
}
#computer .service-lineup .service-lineup__item:nth-child(1) .lineup-sub-head {
  background: var(--accent-color-light);
}
#computer .service-lineup .service-lineup__item:nth-child(2) .lineup-sub-head {
  background: var(--accent-color2);
}
#computer .service-lineup .service-lineup__item:nth-child(3) .lineup-sub-head {
  background: #DBE4FC;
}
#computer .service-lineup__desc{
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 参考スペックリスト（項目名・値の2列＋薄い水色の区切り線） */
.service-lineup .service-lineup__spec-list {
  margin: 2rem 0 4rem;
  padding: 0;
  list-style: none;
  border: none;
}
.service-lineup .service-lineup__spec-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--accent-color2);
}
.service-lineup .service-lineup__spec-row:last-child {
  border-bottom: none;
}
.service-lineup .service-lineup__spec-label {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.5;
  min-width: 8rem;
}
.service-lineup .service-lineup__spec-value{
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.5;
}
.service-lineup .service-lineup__spec-value {
  font-size: 1.5rem;
}

#computer .service-lineup .service-lineup__item:nth-child(1) .service-lineup__spec-row {
  border-bottom: 1px solid var(--accent-color3);
}
#computer .service-lineup .service-lineup__item:nth-child(2) .service-lineup__spec-row {
  border-bottom: 1px solid var(--main-color);
}
#computer .service-lineup .service-lineup__item:nth-child(3) .service-lineup__spec-row {
  border-bottom: 1px solid var(--main-navy);
}

/* -----------------------------------------------------------
    lineup-recommend（豊富なラインナップ・各種メーカー製品取扱）
----------------------------------------------------------- */
.lineup-recommend{
  margin-top: 7rem;
}
.lineup-recommend-wrapper{
  padding: 7rem 3rem 8.5rem;
  border-radius:  0 0 5px 5px;
}
.lineup-recommend__header {
  background: #063F5C;
  padding: 1.6rem 2rem;
  text-align: center;
  border-radius: 5px 5px 0 0;
}

.lineup-recommend__header-title {
  margin: 0;
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
}

.lineup-recommend__categories {
  list-style: none;
  margin: 0 0 5rem;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 4.5rem;
  flex-wrap: wrap;
}

.lineup-recommend__banner{
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 5px;
}
.lineup-recommend__banner a{
  display: block;
}
.lineup-recommend__banner img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
  transform: scale(1);
  will-change: transform;
}
.lineup-recommend__banner a:hover img,
.lineup-recommend__banner a:focus-visible img{
  transform: scale(1.03);
}

.lineup-recommend__category {
  flex: 0 0 auto;
  text-align: center;
}

.lineup-recommend__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23rem;
  height: 23rem;
  margin: 0 auto 1.2rem;
  background: var(--accent-color-light);
  border-radius: 50%;
  color: #7E828C;
}
.lineup-recommend__category-name {
  margin: 0 0 0.2rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
}

.lineup-recommend__category-desc {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.4;
}

.lineup-recommend__makers {
  position: relative;
  margin-top: 3rem;
  border: 2px solid var(--main-color);
  border-radius: 4px;
  padding: 3.5rem 2rem;
  text-align: center;
  max-width: 900px;
  text-align: center;
  margin: 5rem auto 0;
}

.lineup-recommend__makers-title {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 0 1.5rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--main-color);
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
}

.lineup-recommend__makers-title::before,
.lineup-recommend__makers-title::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: var(--gray-color);
}


.lineup-recommend__makers-list {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.6;
  text-align: center;
}

#network .service-lineup__img{
  min-height: 260px;
}
#network .service-lineup__desc{
  text-align: left;
  font-size: 1.8rem;
  font-weight: 500;
}

#ledlight .service-lineup__img{
  aspect-ratio: 4/3;
  min-height: auto;
  overflow: hidden;
}
#ledlight .service-lineup__img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
#ledlight .service-lineup__feature-text{
  margin-bottom: 3.5rem;
}

/* -----------------------------------------------------------
    service-point（株式会社メガが選ばれるポイント）
----------------------------------------------------------- */
.service-point {
  padding: 10rem 0;
  background: var(--base-color);
}
.service-point__header {
  text-align: center;
  margin-bottom: 4rem;
}
.service-point__title {
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  line-height: 1.4;
}
.service-point__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.service-point__card {
  border: 5px solid transparent;
  border-radius: 5px;
  background: linear-gradient(#F5F7FB, #F5F7FB), linear-gradient(30deg, #1C3987 0%, #226DB9 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  position: relative;
}
.service-point__card-head {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 2rem;
  background: var(--main-navy);
  color: var(--white);
  position: absolute;
  left: -2px;
  top: -2px;
}
.service-point__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  flex-shrink: 0;
  background: var(--accent-color);
  border-radius: 50%;
  background-image: url("../image/common/icon-light.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 1.4rem auto;
}
.service-point__card-number {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 2rem;
}
.service-point__card-body {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 7rem 4rem 4rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  justify-content: space-between;
}
.service-point__card-content {
  flex: 1 1 320px;
  min-width: 0;
}
.service-point__card-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 1.6rem;
  line-height: 1.5;
}
.service-point__card-text {
  font-size: 1.8rem;
  line-height: 1.9;
  color: var(--text-color);
  margin: 0;
}
.service-point__card-visual {
  flex: 0 1 clamp(160px, 25vw, 200px);
  max-width: 200px;
  text-align: right;
}
.service-point__card-visual img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  object-fit: contain;
}

/* -----------------------------------------------------------
    service-faq（よくあるご質問・注意点）
----------------------------------------------------------- */
.service-faq {
  padding: 10rem 0 12rem;
}
.service-faq__header {
  margin-bottom: 3rem;
}
.service-faq__header .index-sub-label {
  margin-bottom: 0.8rem;
}
.service-faq__header .index-sub-label.align-left {
  align-items: flex-start;
}
.service-faq__title {
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  line-height: 1.4;
}
.service-faq__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.service-faq__card {
  background: var(--white);
  border-radius: 5px;
  overflow: hidden;
}
.service-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.6rem 2.4rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.service-faq__q-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--main-color);
  color: var(--white);
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  padding-bottom: 2px;
}
.service-faq__a-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  background: var(--white);
  color: var(--main-color);
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  padding-bottom: 2px;
}
.service-faq__question-text {
  flex: 1 1 auto;
  font-size: 1.6rem;
  line-height: 1.7;
  font-weight: bold;
}
.service-faq__toggle-icon {
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  position: relative;
  flex-shrink: 0;
}
.service-faq__toggle-icon::before,
.service-faq__toggle-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--main-color);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.service-faq__toggle-icon::before {
  width: 1.6rem;
  height: 2px;
}
.service-faq__toggle-icon::after {
  width: 2px;
  height: 1.6rem;
}
.service-faq__question[aria-expanded="true"] .service-faq__toggle-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}
.service-faq__answer {
  display: none; 
}
.service-faq__answer-inner {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 0 5rem 2.4rem 2.4rem;
}
.service-faq__answer-text {
  padding: 7px 0 0;
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* -----------------------------------------------------------
    スクロールフェードイン（クラス指定で親要素以下に一括適用）
----------------------------------------------------------- */
.js-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.js-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}