@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: 0.5rem;
  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: 1.4rem;
  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;
}

/* -----------------------------------------------------------
    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, #258EDA, #1CB3C4);
  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（サービス紹介）
----------------------------------------------------------- */
.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, #258EDA 0%, #1CB3C4 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;
}

/* -----------------------------------------------------------
    お問い合わせページ（フォームセクション）
----------------------------------------------------------- */
.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;
}


/* TOP 等で引き続き WPForms を使う場合のスタイル */
.wpforms-container .wpforms-required-label, .wp-core-ui div.wpforms-container .wpforms-required-label{
  color: var(--white)!important;
  background: var(--main-color)!important;
  padding: 1px 6px 2px !important;
  font-size: 14px!important;
  border-radius: 2px!important;
  margin-left: 3px!important;
  margin-bottom: 1px!important;
}
div.wpforms-container-full input[type=text],
div.wpforms-container-full textarea,
.wpforms-container input[type=email]{
  background: var(--light-gray)!important;
  border: transparent!important;
}
.wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field{
  padding: 20px 0!important;
}

/* お問い合わせフォーム：送信ボタンを中央寄せ */
.contact-form-section__body .wpforms-submit-container{
  text-align: center;
}

/* WPForms 送信ボタンに header-contact と同じ矢印を付ける */
.wpforms-form .submit-button,
button.submit-button,
input[type="submit"].submit-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 7rem 1rem 4rem !important; /* 右に少し余白を多めに */
  background-color: var(--accent-color) !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!important;
}

.wpforms-form .submit-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.8rem;
  transform: translateY(-50%) scale(1);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #fff;
  background-image: url("../image/common/arrow-button.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem 1.2rem;
  pointer-events: none;
  transition: transform 0.2s ease;
}

/* ホバー時：背景を header-contact-btn と同じ濃い青に */
.wpforms-form .submit-button:hover,
button.submit-button:hover,
input[type="submit"].submit-button:hover {
  background-color: var(--main-navy) !important;
  color: var(--white) !important;
  transition: none !important;
}

/* ホバー時：送信ボタンの矢印丸を少し拡大 */
.wpforms-form .submit-button:hover::after {
  transform: translateY(-50%) scale(1.1);
}
div.wpforms-container-full .wpforms-form .wpforms-submit-container{
  margin-top: 6rem!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;
}

.cta-section__card--main {
  background: var(--main-color);
  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: 8rem;
}
.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;
  gap: 1.6rem;
}
.service-merit__text {
  font-size: 1.6rem;
  line-height: 1.9;
  color: var(--white);
  margin: 0;
  text-align: center;
}

.service-merit__grid {
  display: grid;
  gap: 2.4rem;
  margin-top: 1.6rem;
}
.service-merit__grid--hrtools {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-merit__grid--security {
  grid-template-columns: minmax(0, 1fr);
}
.service-merit-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 2.4rem 2.2rem;
  text-align: left;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.service-merit-card--wide {
  grid-column: 1 / -1;
}
.service-merit-card__title,
.service-merit-card__subtitle {
  margin: 0 0 1.2rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.5;
}
.service-merit-card__text {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--text-color);
}
.service-merit-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}


/* -----------------------------------------------------------
    service-merit 比較表
----------------------------------------------------------- */
.service-merit__table-wrap {
  margin-top: 6rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  min-width: 0;
}
.service-comp-table {
  width: 100%;
  min-width: 1100px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 3rem 0.5rem;
  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: 28%;
}
.service-comp-table__head-row .service-comp-table__th:not(.service-comp-table__th--blank) {
  width: 24%;
}
.service-comp-table__head-row .service-comp-table__th--active {
  background: var(--main-color);
  color: var(--white);
}
.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;
}
.service-comp-table__body-row td,
.service-comp-table__body-row th {
  padding: 1.2rem 1.6rem;
  font-size: 1.6rem;
  border: none;
  vertical-align: middle;
}
.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: 28%;
  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;
}
/* テキストダミー行：全セルを薄いグレーで統一 */
.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;
}
.service-comp-table__icon {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  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.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 2px solid var(--main-color);
  background: transparent;
}
.service-comp-table__icon--outline {
  border: 1px solid #333;
}
.service-comp-table__dash {
  color: #333;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}
.service-comp-table__text {
  color: var(--text-color);
  font-size: 1.6rem;
}

/* -----------------------------------------------------------
    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;
}

/* 共通：小見出し（主な特徴・主な機能で使い回し） */
.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% - 40px)/2);
  max-width: 580px;
  min-width: 580px;
  display: flex;
  align-items: stretch;
}
.service-lineup__item_wide {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}
.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);
  padding: 2.4rem 2.4rem 2.2rem;
  border-radius: 5px  5px 0 0;
}
.case-label {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.2rem;
  font-size: 1.8rem;
  font-weight: 700;
}
.case-label__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.8rem;
  border-radius: 1px;
  background: var(--white);
  color: var(--main-color);
}
.case-label__industry {
  display: inline-block;
}
.case-title {
  margin: 0;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.service-lineup__card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 3rem 4rem 2rem;
}
.case-summary {
  margin: 1.5rem 0 2.5rem;
  padding: 1rem 2rem;
  border-left: 4px solid #D9D9D9;
}
.case-summary__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.case-summary__item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
}
.case-summary__label {
  flex: 0 0 auto;
  min-width: 5rem;
  font-weight: 700;
  color: var(--main-navy);
}
.case-summary__value {
  flex: 1 1 auto;
}
.service-lineup__logo {
  margin: 0 0 1.2rem;
  font-weight: 700;
  color: var(--text-color);
}
.service-lineup__img {
  margin-bottom: 3rem;
  text-align: center;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.service-lineup__img img {
  width: 80%;
  height: auto;
  object-fit: contain;
  display: block;
}
.service-lineup__desc {
  display: none;
}
.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;
}
.service-lineup__card-body .service-lineup__model {
  margin-bottom: 1.5rem;
}
.service-lineup__card-body .lineup-sub-head {
  margin-top: 0.2rem;
}
.case-section {
  background: transparent;
  border-radius: 6px;
  padding: 1.6rem 0 0;
  margin-bottom: 3rem;
}
.case-section:first-of-type {
  padding-top: 0;
}
.case-section--boxed {
  padding: 2rem 2.5rem;
  border-radius: 3px;
  border: 1px solid var(--main-color);
}
.case-section__title {
  margin: 0 0 0.8rem;
  font-size: 1.8rem;
  padding: 1.2rem 2rem;
  font-weight: 700;
  color: var(--text-color);
}
/* パターン1：通常（デフォルト） */
.case-section__title--normal {
  background: var(--accent-color2);
}
/* パターン2：タイトル下にライン（導入のきっかけ） */
.case-section__title--underline {
  border-bottom: 2px solid var(--accent-color2);
  padding-left: 0;
  color: var(--main-color);
  padding-bottom: 1rem;
}
/* パターン3：青背景＋白文字（導入後の効果） */
.case-section__title--primary {
  border-radius: 3px;
  background: var(--main-navy);
  color: #fff;
}
/* パターン：枠線 */
.case-section__title--outline{
  background: none;
  padding: 0 0 0.5rem;
  color: var(--main-color);
}
.case-section__list {
  margin: 0;
  padding-left: 2.4rem;
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--text-color);
}
.case-section__list li {
  position: relative;
  margin-bottom: 0.4rem;
  list-style: none;
}
.case-section__list li::before {
content: "";
    position: absolute;
    left: -1.6rem;
    top: 1em;
    width: 0.35em;
    height: 0.35em;
  border-radius: 50%;
  background-color: var(--text-color);
  transform: translateY(-50%);
}
.case-section__text {
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--text-color);
}
.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);
}
.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: flex;
  flex-direction: row;
  align-items: center;
  gap: 4rem;
  padding: 5rem;
}
.service-lineup__item.service-lineup__item_wide .service-lineup__img{
  max-width: 440px;
  width: 100%;
  margin: 0 auto; 
  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__img img{
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: auto;
  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);
}

#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;
}

/* 参考スペックリスト（項目名・値の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 1rem 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 3rem;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 4.5rem;
  flex-wrap: wrap;
}

.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: 7rem 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;
}

#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(#F1FAFB, #F1FAFB), linear-gradient(30deg, #258EDA 0%, #1CB3C4 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);
}