/*
 * Geofence FOSテーマ フィールドサポート・ラウンダーページ専用スタイルシート
 * ================================
 * 目次:
 * 1. FSRDページ固有のスタイル
 * 2. レスポンシブ設定
 */

/* ============================================================ 
   1. FSRDページ固有のスタイル
   ========================================================== */

/* 共通セクションスタイル */
.fsrd_section_header {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
}

/* サービス一覧セクションのスタイル */
.fsrd_services_section {
  position: relative;
  margin-top: 10vw;
  width: 100%;
}

.fsrd_services_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.fsrd_services_section .fsrd_services_wrapper .fsrd_section_header {
  max-width: 1400px;
}

.fsrd_services_section .fsrd_services_wrapper .subpage_description {
  font-size: 1.4rem;   
  line-height: 1.8;
  padding: 2rem 0;
  margin-bottom: 1.6rem;
  color: var(--black);
}

/* お悩み紹介セクションのスタイル */
.fsrd_problem_section {
  position: relative;
  margin-top: 8vw;
  width: 100%;
}

.fsrd_problem_section .fsrd_problem_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.fsrd_problem_section .fsrd_problem_wrapper .fsrd_section_header {
  max-width: 1400px;
}

.fsrd_problems_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 30px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 1rem;
}

.fsrd_problem_card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fsrd_problem_image_container {
  padding: 1rem;
}

.fsrd_problem_card img.responsive-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.fsrd_problem_content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem;
}

/* お悩み見出しスタイル */
.fsrd_problem_title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--deep-blue);
  text-align: center;
  margin: 0;
}

.fsrd_problem_catchcopy {
  font-size: 2vw;
  font-weight: 600;
  line-height: 1.8;
  color: var(--deep-blue);
  text-align: center;
  margin: 0;
}

/* お悩み解決セクションのスタイル */
.fsrd_solution_section {
  position: relative;
  margin-top: 10vw;
  padding: 6vw 0;
  width: 100%;
  background-color: var(--light-blue);
  box-sizing: border-box;
}

.fsrd_solution_wrapper {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.fsrd_solution_cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

.fsrd_solution_card {
  display: flex;
  flex-direction: row;
  background-color: var(--white);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  border-radius: 4px;
  overflow: hidden;
}

.fsrd_solution_image_container {
  width: 40%;
  padding: 20px;
  box-sizing: border-box;
}

.fsrd_solution_image_container img.responsive-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.fsrd_solution_content {
  width: 60%;
  padding: 30px;
  box-sizing: border-box;
}

.fsrd_solution_title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}

.fsrd_solution_description {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* 解決策カードのコンテンツスタイル */
.fsrd_solution_card .fsrd_solution_content h3 {
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--deep-blue);
  margin: 0;
  padding-bottom: 2rem;
}

.fsrd_solution_card .fsrd_solution_content p {
  font-size: 1.2em;
  line-height: 1.8;
  font-weight: 500;
  margin: 0;
}

/* CTAセクションのスタイル */
.fsrd_cta_section {
  position: relative;
  margin-top: 10vw;
  padding: 6vw 0;
  width: 100%;
  box-sizing: border-box;
}

.fsrd_cta_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.fsrd_cta_content {
  text-align: center;
  margin-bottom: 4vw;
}

.fsrd_cta_content_img {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 20px;
}

.fsrd_cta_content_img img.responsive-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* CTAコンテンツのテキストスタイル */
.fsrd_cta_content_title {
  font-size: 2vw;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 600;
  color: var(--deep-blue);
}

.fsrd_cta_content_description {
  font-size: 1.6rem;
  line-height: 1.6;
  font-weight: 500;
}

.fsrd_cta_contact_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem;
  box-sizing: border-box;
  background-color: var(--light-blue);
  border-radius: 2cap;
}

.fsrd_cta_contact_content {
  text-align: center;
}

.fsrd_cta_contact_content_title {
  font-size: 2.2em;
  font-weight: 600;
  margin-bottom: 4rem;
  color: var(--white);
}

/* CTAセクションのボタンスタイル */
.fsrd_cta_contact_content_link {
  display: flex;
  align-items: center; 
  justify-content: center;
  gap: 2rem;
}

.fsrd_cta_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 540px;
  padding: 2rem 3rem;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--light-blue);
  transition: all 0.3s ease;
}

.fsrd_cta_btn .section_form_link {
  color: var(--light-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.fsrd_cta_btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: var(--light-blue);
  border: 1px solid var(--white);
}

.fsrd_cta_btn:hover .section_form_link .btn_title,
.fsrd_cta_btn:hover .section_form_link .btn_subtitle {
  color: var(--white);
}

/* ボタン内のテキストスタイル */
.fsrd_cta_btn .btn_title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--deep-blue);
  padding-bottom: 1.4rem;
}

.fsrd_cta_btn .btn_subtitle {
  font-size: 2em;
  font-weight: 600;
  color: var(--deep-blue);
}

/* 電話ボタン用のスタイル */
.phone_btn .section_form_link {
  position: relative;
}

.phone_btn .section_form_link::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('../img/common/icon_phone.svg') no-repeat center center;
  background-size: contain;
  margin-right: 5px;
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}


/* ==========services========= */
/* サービス番号のスタイル */
.service_number {
  font-size: 1.6vw;
  color: #004EA2;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* サービスタイトルのスタイル調整 */
.services_list_item_title {
  font-size: 2vw;
  font-weight: bold;
  color: #004EA2;
  line-height: 1.4;
}

/* サービス説明文のスタイル調整 */
.services_list_item_description {
  font-size: 1.2em;
  line-height: 1.8;
}

/* サービスページのボタンテキストサイズ調整 */
.services_list_item .button-container .btnText .righteous_regular {
  font-size: 1.2vw;
  letter-spacing: 1.5px;
  font-weight: 400;
}

/* ==========service詳細========= */
.single_service_title_vertical {
  font-size: 4vw;
  color: #ffffff;
  margin-right: 1rem;
}

.single_service_subtitle {
  font-size: 1.2vw;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 1rem;
}

.single_service_heading {
  font-size: 1.6vw;
  font-weight: 500;
  margin-bottom: 20px;
  color: #ffffff;
}

.single_service_concept {
  font-size: 3.4vw;
  font-weight: 500;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.4;
  width: 80%;
}

.single_service_tags {
 font-size: 1.2em;
  line-height: 1.8;
  font-weight: 500;
  color: #ffffff;
}

.service-tag {
  display: inline-block;
  margin: 0 5px 5px 0;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9em;
}


/* ============================================================ 
   2. レスポンシブ設定
   ========================================================== */
/* タブレット (992px以下) */
@media screen and (max-width: 992px) {
  .fsrd_problems_grid {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
  }
  
  .fsrd_solution_image_container,
  .fsrd_solution_content {
    width: 100%;
  }

  .fsrd_problem_section {
    padding: 0 4vw;
  }

  .fsrd_services_section .fsrd_services_wrapper .subpage_description {
    font-size: 1.4em;
  }

  .fsrd_solution_card .fsrd_solution_content h3 {
    font-size: 2.4rem;
    line-height: 1.2;
  }
}

/* モバイル大 (768px以下) */
@media screen and (max-width: 768px) {
  /* スマホ表示時にbrタグを非表示にする */
  .fsrd_cta_content_title br,
  .fsrd_section_header br,
  .subpage_concept br,
  .subpage_description br {
    display: none;
  }
  
  .fsrd_cta_contact_content_link {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .fsrd_cta_btn {
    width: 100%;
    max-width: 300px;
  }
  
  .fsrd_solution_wrapper {
    padding: 0 15px;
  }
  
  .fsrd_solution_card {
    flex-direction: column;
  }
}

/* モバイル小 (576px以下) */
@media screen and (max-width: 576px) {
  .fsrd_problems_grid {
    grid-template-columns: 1fr;
  }
  
  .fsrd_solution_wrapper {
    padding: 0 10px;
  }
  
  .fsrd_solution_content {
    padding: 20px;
  }
  
  .fsrd_solution_title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .fsrd_services_wrapper {
    padding: 0 4vw;
  }

  .fsrd_services_section .fsrd_services_wrapper .subpage_description {
    font-size: 1.2em;
    text-align: left;
  }

  .fsrd_problem_title {
    font-size: 1.4rem;
  }

  .fsrd_problem_catchcopy {
    font-size: 1.6em;
  }

  .fsrd_solution_card .fsrd_solution_content h3 {
    font-size: 2em;
    padding-bottom: 1rem;
  }

  .fsrd_cta_content_title {
    font-size: 1.8em;
    margin-bottom: 2rem;
    line-height: 1.4;
  }

  .fsrd_cta_content_description {
    font-size: 1.2em;
    text-align: left;
  }

  .fsrd_cta_content {
    margin-bottom: 4rem;
  }

  .fsrd_cta_contact_wrapper {
    padding: 2rem;
  }

  .fsrd_cta_contact_content_title {
    font-size: 1.8em;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 2rem;
  }
  .fsrd_cta_btn {
    width: 100%;
    max-width: 400px;
  }

  .fsrd_cta_btn {
    padding: 2rem 1rem;
  }

  .fsrd_cta_btn .btn_subtitle {
    font-size: 1.6em;
  }
}