@charset "UTF-8";

/*
 * サービス系ページ共通
 * - .page-summary（控えめ＋ライトブルー背景）
 * - PC（min-width:769px）：本文・見出し・FAQ・事例・CEO などの行間
 * - SP：本文・見出しの行間・段落
 * 各 style-service-*.css の後に読み込む（上書き用）
 */

.page-summary {
  margin: 0;
  padding: 0.4em 1em;
  font-size: 0.82em;
  font-weight: 400;
  color: #6b6b6b;
  text-align: center;
  background: #eef7fb;
  border-bottom: 1px solid #dcecf4;
  margin-bottom: 10px;
  line-height: 1.55;
}

/* PC・タブレット横：本文の行間・段落バランス */
@media screen and (min-width: 769px) {
  .page-summary {
    padding: 0.5em 1.25em;
    line-height: 1.65;
    margin-bottom: 12px;
  }

  .title-contents .inner-box .title-text p {
    line-height: 1.75;
    margin: 0 0 1em;
  }

  .title-contents .inner-box .title-text p:last-child {
    margin-bottom: 0;
  }

  .title-contents .inner-box .title-area h2 {
    line-height: 1.28;
  }

  .title-contents .inner-box .title-area p {
    line-height: 1.65;
  }

  .service-contents .inner-wrap .title-area h2 {
    line-height: 1.35;
  }

  .service-contents .inner-wrap .title-area p {
    line-height: 1.7;
  }

  .service-contents .service-contents-list ol section h3 {
    line-height: 1.4;
  }

  .service-contents .service-contents-list ol section h3 small {
    line-height: 1.45;
  }

  .service-contents .service-contents-list ol section p {
    line-height: 1.75;
  }

  .service-contents .service-contents-list .title-box p {
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-ideograph;
  }

  .service-contents .cta-btn a {
    line-height: 1.45;
  }

  .ivory .service-contents-list li .text-area h3 {
    line-height: 1.4;
  }

  .ivory .service-contents-list li .text-area p {
    line-height: 1.75;
  }

  .ivory .service-contents-list li .text-box .answer p {
    line-height: 1.7;
  }

  /* サービスページ内のサブ見出し（インライン style の h3 含む） */
  .service-contents .inner-wrap .title-area h3 {
    line-height: 1.45;
  }

  /* FAQ */
  .faq .faq-title h2 {
    line-height: 1.35;
  }

  .faq .faq-title p {
    line-height: 1.6;
  }

  .faq ol li dt h3 {
    line-height: 1.45;
  }

  .faq ol li dd {
    line-height: 1.75;
  }

  .faq p {
    line-height: 1.65;
  }

  /* 代表メッセージ（service-ceo） */
  .service-ceo .ceo-message h3 {
    line-height: 1.35;
  }

  .service-ceo .ceo-message p {
    line-height: 1.75;
  }

  .service-ceo .ceo-message .ceo-profile-name,
  .service-ceo .ceo-message .ceo-profile-role,
  .service-ceo .ceo-message .ceo-profile-bio,
  .service-ceo .ceo-message .ceo-profile-message {
    line-height: 1.6;
  }

  .service-ceo .ceo-message .cta a {
    line-height: 1.45;
  }

  /* 私たちの強みバナー */
  .service-strenghts h3 {
    line-height: 1.4;
  }

  .service-strenghts ol li a h4 {
    line-height: 1.25;
  }

  /* 施工事例・お客様の声 */
  .case-study-section .section-complete .title-area h2 {
    line-height: 1.3;
  }

  .case-study-section .section-complete .title-area p {
    line-height: 1.65;
  }

  .case-study-section .section-complete .swiper-slide section h4 {
    line-height: 1.55;
  }

  .case-study-section .section-complete .area-section .area-wrap h3 {
    line-height: 1.45;
  }

  .case-study-section .section-complete .area-section .area-wrap ol {
    line-height: 1.65;
  }

  .case-study-section .section-user-voice .contents-title h2 {
    line-height: 1.35;
  }

  .case-study-section .section-user-voice .contents-title p {
    line-height: 1.65;
  }

  .case-study-section .section-user-voice .swiper-slide section h3 {
    line-height: 1.55;
  }
}

@media screen and (max-width: 768px) {
  .page-summary {
    font-size: 0.8rem;
    line-height: 1.55;
    padding: 0.5em 1em;
    color: #6e6e6e;
  }

  .title-contents .inner-box .title-area h2 {
    font-size: clamp(22px, 5.2vw, 28px);
    line-height: 1.42;
    margin-bottom: 0.75em;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .title-contents .inner-box .title-text {
    padding: 7% 5%;
  }

  .title-contents .inner-box .title-text p {
    font-size: 15px;
    line-height: 1.88;
    margin: 0 0 1.15em;
    text-align: justify;
    text-justify: inter-ideograph;
    word-break: break-word;
  }

  .title-contents .inner-box .title-text p:last-child {
    margin-bottom: 0;
  }

  .service-contents .inner-wrap {
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 10%;
    padding-bottom: 10%;
  }

  .service-contents .inner-wrap .title-area h2 {
    font-size: 21px;
    line-height: 1.52;
    margin-bottom: 0.75em;
  }

  .service-contents .inner-wrap .title-area p {
    font-size: 16px;
    line-height: 1.82;
  }

  .service-contents .service-contents-list ol {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .service-contents .service-contents-list ol section h3 {
    font-size: 21px;
    line-height: 1.45;
    margin: 12px 0 10px;
  }

  .service-contents .service-contents-list ol section h3 small {
    font-size: 0.88em;
    display: inline-block;
    margin-top: 0.2em;
    line-height: 1.52;
  }

  .service-contents .service-contents-list ol section p {
    font-size: 16px;
    line-height: 1.88;
    margin-top: 0.35em;
  }

  .service-contents .service-contents-list .title-box {
    padding: 6%;
  }

  .service-contents .service-contents-list .title-box p {
    font-size: 16px;
    line-height: 1.88;
    text-align: justify;
    text-justify: inter-ideograph;
  }

  .service-contents .cta-btn a {
    line-height: 1.55;
    padding: 16px 12px;
  }

  .ivory .service-contents-list li .text-area h3 {
    font-size: 21px;
    line-height: 1.48;
    margin-bottom: 0.5em;
  }

  .ivory .service-contents-list li .text-area p {
    font-size: 16px;
    line-height: 1.88;
  }

  .ivory .service-contents-list li .text-box .answer p {
    line-height: 1.85;
  }
}

@media screen and (max-width: 480px) {
  .title-contents .inner-box .title-text p {
    font-size: 14px;
    line-height: 1.92;
  }

  .service-contents .inner-wrap .title-area h2 {
    font-size: 19px;
  }

  .service-contents .service-contents-list ol section p,
  .service-contents .service-contents-list .title-box p {
    font-size: 15px;
  }
}
