/* 基本のリセットと共通スタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ヘッダーのスタイル */
header {
  background-color: #000080;
  height: 90px;
  padding-top: 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-logo {
  display:flex;
  justify-content:center;
  align-items:center;
}

header .container {
  align-items: center; 
  background-color: #fff;
  display: flex; 
  height: 80px;
  justify-content: space-between; 
  padding: 0 20px;
}

nav {
  display: flex; 
}
.site-logo {
  height: 40px;
  width: auto;
}

/* ナビゲーションのスタイル (デスクトップ版) */
.main-nav ul {
  display: flex; 
  align-items: center; 
  gap: 25px;
}

.main-nav ul li a {
  display: block;
  font-weight: bold;
  color: #555;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: #000080;
}

/* お問い合わせアイコンのli要素 */
.main-nav ul li.contact-icon-item {
  margin-left: auto; 
}

/* お問い合わせアイコンのリンク */
.main-nav ul li .contact-icon-link {
  display: flex; 
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  flex-direction: column;
}

/* お問い合わせアイコン画像 */
.main-nav ul li .contact-icon {
  width: 40px;
  height: 40px;
}

.main-nav ul li .contact-icon-link:hover .contact-icon {
  color: #fff; 
}

/* ハンバーガーメニュー関連の要素をデスクトップでは非表示 */
.nav-toggle,
.nav-toggle-label {
  display: none;
}

/* FVセクションの基本スタイル */
.fv {
  position: relative; 
  width: 100%;
  overflow: hidden;
}

/* FVコンテナ（画像とテキストの親）*/
.fv-container {
  position: relative;
  display: flex;
  justify-content: right;
  align-items: center; 
  height: 60vh;
  max-height: 500px;
}

/* FV画像 */
.fv-image {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキストのオーバーレイ */
.fv-text-overlay {
  position: absolute;
  top: 50%;
  transform: translate(-20%, -20%); 
  text-align: center;
  color: #fff; 
  z-index: 2;
  width: fit-content;
  max-width: 800px;
}

.fv-text-overlay h2 {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.fv-text-overlay p {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
  background-color: #000080;
  width: fit-content;
  padding: 0 20px;
}

.fv-text-overlay .btn {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 12px 25px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.fv-text-overlay .btn:hover {
  background-color: #0056b3;
}

/* FVのスタイル */
.fv {
  background-color: #e9e9e9;
  text-align: center;
}

.fv-image {
  max-width: 100%;
  display: block;
}

.fv h2 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #000080;
  background-color: #fff;
  opacity: 80%;
  padding: 10px 20px;
  width: fit-content;
}

/* メイン以外のFV */
.second-fv-container {
  align-items: center;
  background-image: url(../img/Blue_BG.svg);
  background-size: cover;
  display: flex;
  height: 60vh;
  max-height: 500px;
  position: relative;
  width: 100%;
}

.second-fv-text-overlay {
  position: absolute;
  color: #fff;
  z-index: 2;
  width: fit-content;
  max-width: 800px;
  margin-left: 30px;
}

.second-fv-h2 {
  font-size: 2rem;
}

.fv-image.second-fv-image {
  opacity: 0.5;
}

.fv-image.second-fv-image.fv-top-position {
  object-position: top;
}

/* Reasonsセクション全体のスタイル */
.reason-section {
  padding: 30px 0; 
  background-color: #fff; 
  overflow: hidden;
  position: relative;
}

.service-section {
  background-image: url(../img/Blue_BG.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-color: #2a3d53;
  padding-top: 30px;
  overflow: hidden;
  position: relative;
  align-items: center;
}

.reason-inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex; 
  justify-content: center;
}

/* 画像部分のラッパー */
.reason-image-wrapper {
  position: relative;
  width: 45%;
  padding-bottom: 35%; 
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 50px;
  z-index: 1;
}

.reason-image {
  position: absolute;
  top: 0;
  width: 80%;
  height: 80%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

/* 画像の下と右側にある青い半円装飾 */
.reason-image-wrapper::before,
.reason-image-wrapper::after {
  content: '';
  position: absolute;
  background-color: #6699ff;
  border-radius: 50%; 
  z-index: -1; 
}

/* テキストコンテンツ（右側） */
.reason-content {
  width: 40%;
  color: #333;
  text-align: left;
}

.subheading {
  font-size: 1.1em;
  font-weight: normal;
  color: #000080;
}

.main-heading {
  font-size: 2.2em;
  font-weight: bold;
  color: #000080;
  line-height: 1.4;
}

.white-letter,
.main-heading .white-letter {
  color: #FFF;
}

.reason-message {
  font-size: 0.95em;
  line-height: 2.4;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.service-message {
  font-size: 0.95em;
  line-height: 2.8;
  margin-bottom: 60px;
  letter-spacing: 0.05em;
  color: #fff;
}

/* ボタン */
.ref-button {
  display: inline-block;
  background-color: #fff;
  color: #000080; 
  border: 2px solid #000080;
  padding: 12px 50px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  width: 280px;
}

.ref-button:hover {
  background-color: #000080;
  color: #fff;
}

.ref-button::after{
  content: "";
  display: inline-block;
  margin-left: 1em;
  vertical-align: 1px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #000080;
  border-bottom: 2px solid #000080;
  transform: rotate(-45deg);
  transition: background-color 0.3s ease;
}

.ref-button:hover::after {
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.ref-button-wrap {
  text-align: center;
  width: 100%;
}

.reason-title {
  padding: 0 10%;
  margin-bottom: 30px;
}

.blue-box {
  background-color: #38619F;
  position: absolute;
  top: 30px;
  left: 0;
  width: 80%;
  height: 80%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

.white-box {
  background-color: #FFF;
  position: absolute;
  top: 30px;
  left: 0;
  width: 80%;
  height: 80%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

/* セクションのスタイル */
.content-section {
  padding: 60px 0;
  border-bottom: 1px solid #f0f0f0;
}

.content-section:last-of-type {
  border-bottom: none;
}

.content-section h2 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 30px;
  color: #444;
}

.content-section p {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

/* フッターのスタイル */
footer {
  background-color: #fff;
  color: #000;
  text-align: center;
}
.ft {
  padding: 30px 0;
  gap: 20px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  list-style: none; 
  padding: 0;
  margin: 0;
  gap: 5px 0;
}
.footer-nav ul li {
  width: calc(50% - 20px); 
  text-align: center; 
}

.footer-nav ul li:hover {
  color: #000080;
  font-weight: bold;
}

.ft-logo {
  text-align: left;
  padding: 0 10%;
}

.ft-wrap {
  display: flex;
}

.ft-content {
  display: flex;
  flex-direction:column;
  width: 50%;
  text-align: center;
  justify-content: center; 
}
.ft-address {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.ft-address p {
  text-align: left;
}

.ft-menu {
  display: flex;
  justify-content: center;
  border-left: dotted #000080 1px;
}

.copyright {
  background-color: #000080;
  color: #fff;
  font-size: 12px;
}

/* CTAセクション全体のスタイル */
.cta-section {
  background-image: url('../img/Blue_BG.svg');
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center center; 
  background-color: #2a3d53; 
  padding-top: 30px;
  overflow: hidden; 
  position: relative; 
  align-items: center;
}

.cta-inner-container {
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 40px; 
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* CTAコンテンツ（左側のテキスト部分） */
.cta-content {
  color: #fff;
  max-width: 55%;
  text-align: left;
  margin-bottom: 30px;
}

.cta-subheading {
  font-size: 1.1em;
  font-weight: normal;
  margin-bottom: 10px;
  opacity: 0.8; 
}

.cta-main-heading {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.cta-main-heading .right-slash {
  display: inline-block;
  width: 20px;
  height: 5px;
  background-color: #fff;
  transform: skewY(-65deg); 
  margin: 0 10px;
}

.cta-main-heading .left-slash {
  display: inline-block;
  width: 20px;
  height: 5px;
  background-color: #fff;
  transform: skewY(65deg); 
  margin: 0 10px;
}

.service__ttl {
  position: relative;
  text-align: center;
  display: block;
  width: 435px;
  line-height: 1.2;
  padding: 0 2rem;
}
.service__ttl__main {
  font-weight: bold;
}

.service__ttl::before, .service__ttl::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 3px;
  height: 2rem;
  background: #FFF;
}
.service__ttl::before {
  transform: rotate(-30deg);
  left: 0;
}
.service__ttl::after {
  transform: rotate(30deg);
  right: 0;
}

.cta-message {
  font-size: 0.95em;
  line-height: 1.8;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

/* CTAボタン */
.white-button {
  display: inline-block;
  background-color: #fff;
  color: #000080;
  padding: 15px 50px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  width: 280px;
}

.white-button-wrap {
  text-align: center;
}

.white-button:hover {
  background-color: #000080;
  color: #fff;
}

.white-button::after{
  content: "";
  display: inline-block;
  margin-left: 1em;
  vertical-align: 1px;
  width: 7px;
  height: 7px;
  border-right: 2px solid #000080;
  border-bottom: 2px solid #000080;
  transform: rotate(-45deg);
  transition: background-color 0.3s ease;
}

.white-button:hover::after {
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.cta-image-wrapper {
  display: flex;
  justify-content: flex-end;
}

img.cta-image {
  width: 80%;
}

/* セクション全体のコンテナ */
.company-recruit-section {
  padding: 80px 0;
}

.company-recruit-grid-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 40px;
}

/* 各情報ブロック共通のスタイル */
.info-block {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
}

.info-block-subheading {
  font-size: 1em;
  font-weight: normal;
  color: #000080;
}

.info-block-main-heading {
  font-size: 1.8em;
  color: #000080;
  margin-bottom: 20px;
}

.info-block-description {
  font-size: 0.9em;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* 画像ラッパー (CompanyとRecruitブロックのみ適用) */
.info-block-image-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 25px;
}

.info-block-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ボタンのスタイル */
.info-block-button {
  display: inline-block;
  color: #007bff; 
  border: 1px solid #007bff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.info-block-button:hover {
  background-color: #007bff;
  color: #fff;
}

/* About Usセクション全体のスタイル */
.about-us-points {
  padding: 40px 20px;
}

.section-part {
  padding: 0 20px;
}

/* ヘッダー部分のスタイル */
.about-us-subheading {
  font-size: 1.1em;
  font-weight: bold;
  color: #fff;
}

/* 各ポイントブロックのコンテナ */
.points-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; 
}

/* 各ポイントブロック共通のスタイル */
.point-block {
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  margin-bottom: 80px;
}

.point-block:last-child {
  margin-bottom: 0;
}


/* ポイントコンテンツ（テキスト部分） */
.point-content {
  width: 48%; 
  text-align: left;
  color: #333;
}

.point-num {
  font-size: 1rem;
  font-weight: bold;
  color: #000080;
}

.point-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #000080;
  margin-bottom: 20px;
  line-height: 1.5;
}

.point-description {
  font-size: 0.95em;
  line-height: 1.8;
  color: #555;
}

/* 画像部分 */
.point-image-wrapper {
  width: 48%; 
  height: 350px; 
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); 
}

.point-image {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

/* --- Service Section --- */
.section-service {
  padding: 80px 0;
  background-color: #fff;
}

.service-header {
  max-width: 1000px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.service-subheading {
  font-size: 1.1em;
  color: #000080;
  font-weight: bold;
  margin-bottom: 10px;
}

.service-main-heading {
  font-size: 1.6em;
  font-weight: bold;
  color: #000080;
  line-height: 1.4;
  margin-bottom: 20px;
}

.service-description {
  font-size: 0.95em;
  line-height: 1.8;
  color: #555;
}

.service-content {
  max-width: 1000px; 
  margin: 0 auto;
  padding: 0 20px;
}

.service-content-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}

.service-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.service-item {
  color: #333;
  padding: 20px 15px;
  border: 2px solid #000080;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1.1em;
  text-align: center;
}

.service-contact-info {
  font-size: 0.9em;
  color: #666;
  margin-top: 20px;
}

/* --- Works Section --- */
.works-section {
  padding: 50px 0;
  background-color: #f2f5f8;
}

.works-header {
  max-width: 1000px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.works-subheading {
  font-size: 1.1em;
  font-weight: bold;
  color: #000080;
  margin-bottom: 10px;
}

.works-main-heading {
  font-size: 1.6em;
  font-weight: bold;
  color: #000080;
  line-height: 1.4;
}

.works-grid-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; 
}

.work-item {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-align: center;
}

.work-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  object-position: bottom;
}

.work-category {
  font-size: 1em;
  font-weight: bold;
  color: #333;
  padding: 15px 10px;
}

/* --- セクションヘッダーのスタイル --- */
.section-header {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.section-header.text-align-center {
  text-align: center;
}

.section-header.text-align-left {
  text-align: left;
}

.section-subheading {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 10px;
}

.section-main-heading {
  font-size: 2.5em;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
}

/* --- テーブルセクションのスタイル --- */
.info-table-section {
  padding: 80px 0;
  background-color: #fff;
}

.info-table-container {
  max-width: 800px;
  margin: 0 auto;
  justify-items: center;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #eee;
}

.info-list dt,
.info-list dd {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  font-size: 1em;
  color: #333;
  line-height: 1.6;
}

.info-list dt {
  font-weight: bold;
  color: #000080; 
  width: 150px;
  flex-shrink: 0; 
}

.info-list dd {
  flex-grow: 1; 
}

/* dl, dt, dd をFlexboxで横並びにする */
.info-list dt,
.info-list dd {
  display: flex;
  align-items: center;
}

.info-list dt {
  grid-column: 1;
}

.info-list dd {
  grid-column: 2;
}

.info-list {
  display: inline-grid;
  grid-template-columns: 150px 1fr; 
  gap: 0; 
  margin-bottom: 50px;
}

/* 各dtとddの間の線は、dtの右ボーダーで表現 */
.info-list dt {
  border-right: 1px solid #eee;
  padding-right: 20px;
}

.info-list dd {
  padding-left: 30px;
  display: block;
  width: 400px;
}

.annotation {
  font-size: 12px;
}

.btn-section {
  display: flex;
  flex-direction: column;
  gap: 20px 30px;
}

.form {
  text-align: center;
}

.mrg-top-30 {
  margin-top: 30px;
}

.mrg-top-40 {
  margin-top: 40px;
}

.mrg-btn-50 {
  margin-bottom: 50px;
}

.mrg-btn-40 {
  margin-bottom: 40px;
}

.mrg-btn-30 {
  margin-bottom: 30px;
}

.dwnlarea-p {
  width: 40%;
}

.dwnl-file-wrap {
  display: flex;
  gap: 100px;
  align-items: center;
  padding-left: 20px;
}

.blue-button-wrap {
  display: inline-block;
  background-color: #000080;
  color: #fff;
  border: 2px solid #000080;
  padding: 5px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  width: 200px;
  text-align: center;
}

.blue-btn {
  padding: 5px;
  width: 200px;
}

.dwnlbtn-wrap {
  display: grid;
  font-size: 0.95em;
  gap: 20px;
}

.dwnl-caution {
  padding: 0 20px;
  font-size: 0.95em;
}

.dwl-ul {
 list-style: disc;
}

.dwl-li {
  list-style-position: inside;
}

.dwnl-contact{
  display: grid;
}

.dwn-pdf {
  color: #000080;
 font-weight: bold;
}

.pad-left-20 {
  padding-left: 20px;
}

.form-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 100%;
  min-height: 1800px;
}

.form-responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.dd-center {
  text-align: center;
}

/* プライバシーポリシー */
.privacy-policy-section {
  margin-top: 30px;
}

/* --- タブレットサイズ（992px以下）でのスタイル変更 --- */
@media (max-width: 992px) {
  /* ヘッダー内の配置調整 */
  header .container {
      flex-wrap: wrap; 
      padding: 0 20px;
      justify-content: space-between; 
  }

  /* ハンバーガーメニューのボタン表示 */
  .nav-toggle-label {
      display: flex; 
      flex-direction: column;
      justify-content: space-around;
      width: 30px;
      height: 25px;
      cursor: pointer;
      z-index: 100;
      right: 10px;
  }

  .nav-toggle-label span {
      display: block;
      width: 100%;
      height: 3px;
      background-color: #333;
      border-radius: 2px;
      transition: all 0.3s ease;
  }

  /* ハンバーガーメニューが開いた時のボタンのアニメーション */
  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
      opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
      transform: translateY(-11px) rotate(-45deg);
  }

  /* ナビゲーションメニューのスタイル (タブレット版: 縦並び、初期非表示) */
  .main-nav {
      position: fixed;
      top: 0;
      right: -100%; 
      height: 100%;
      background-color: rgba(255, 255, 255, 0.95);
      padding-top: 80px;
      box-shadow: -2px 0 10px rgba(0,0,0,0.1);
      transition: right 0.3s ease-in-out;
      z-index: 99; 
  }

  .main-nav ul {
      flex-direction: column; 
      align-items: center;
      gap: 0; 
  }

  .main-nav ul li {
      width: 100%;
      text-align: center;
      border-bottom: 1px solid #eee;
  }
  
  .main-nav ul li:last-child {
      border-bottom: none;
  }

  .main-nav ul li a {
      padding: 15px 20px;
      font-size: 1.1em;
  }

  .nav-toggle:checked ~ .main-nav {
      right: 0;
  }

  .reason-section,
  .service-section{
    padding: 50px 0;
  }

  .reason-inner-container {
      flex-direction: column;
      align-items: center;
      padding: 0 20px;
  }

  .reason-image-wrapper {
      width: 80%;
      padding-bottom: 60%;
      margin-right: 0;
  }

  /* 疑似要素の位置調整 */
  .reason-image-wrapper::before {
      bottom: -50%;
      left: -10%;
  }

  .reason-image-wrapper::after {
      right: -30%;
      top: -10%;
  }

  .reason-content {
      width: 100%;
      text-align: center; 
  }

  .reason-main-heading {
      font-size: 1.8em;
  }

  .reason-message {
      font-size: 0.9em;
  }

  .service-header, .works-header {
    margin-bottom: 40px;
  }

  .service-items-grid {
      grid-template-columns: repeat(2, 1fr); 
      gap: 15px;
  }

  .works-grid-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
  }

  .about-us-points-header {
      margin-bottom: 40px;
  }

  .point-block {
      flex-direction: column; 
      margin-bottom: 50px;
  }

  .point-block.reverse-layout {
      flex-direction: column; 
  }

  .point-content,
  .point-image-wrapper {
      width: 100%;
  }

  .point-content {
      order: 2; 
  }

  .point-image-wrapper {
      height: 280px; 
      margin-bottom: 20px;
      order: 1; 
  }

  /* Point 2 のレイアウト反転時の画像とテキストの順序を修正 */
  .point-block.reverse-layout .point-content {
      order: 2;
  }

  .point-block.reverse-layout .point-image-wrapper {
      order: 1;
      margin-bottom: 20px;
  }

  .point-title {
      font-size: 1.4em;
  }

  .point-description {
      text-align: left; 
      font-size: 0.9em;
  }

  .company-recruit-grid-container {
    grid-template-columns: 1fr; 
    gap: 30px;
  }

  .info-block {
      padding: 25px;
  }

  .info-block-main-heading {
      font-size: 1.6em;
  }

  .info-block-description {
      font-size: 0.85em;
  }

  .info-block-image-wrapper {
      height: 180px;
  }

  .info-block-button {
      padding: 8px 18px;
      font-size: 0.9em;
  }

  /* CTAセクション */
  .cta-inner-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .cta-content {
      max-width: 100%; 
      text-align: center;
      margin-bottom: 40px;
  }

  .cta-main-heading {
      justify-content: center; 
      font-size: 1.8em;
  }

  .cta-main-heading .slash {
      width: 15px;
      margin: 0 5px;
  }

  .cta-image-wrapper {
      height: 300px;
      margin-left: 0; 
      justify-content: center;
  }

  /* Service.html */
  .info-table-container {
    justify-items: center;
  }

}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
  .main-heading{
    font-size: 1.8em;
  }

  .info-table-section {
      padding: 50px 0;
  }

  .section-main-heading {
      font-size: 2em;
  }

  .info-table-container {
      justify-items: center;
  }

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

  .info-list dt,
  .info-list dd {
      padding: 0;
  }

  .info-list dt {
      font-size: 0.9em;
      width: 100px; 
      padding-right: 0;
      text-align: left;
      color: #000080;
  }

  .info-list dd {
      padding-left: 0;
      font-size: 0.9em;
  }

  .form-container {
    min-height: 1900px;
  }

  /* dtとddのペアごとに下線を引きたい場合 */
  .info-list > div:nth-child(even) {
      border-bottom: 1px solid #eee;
      margin-bottom: 15px;
      padding-bottom: 15px;
  }

  .info-list > div:nth-child(odd) {
      padding-bottom: 0;
      margin-bottom: 0;
  }

  /* モバイルでの区切り線を修正 */
  .info-list dt {
    padding: 15px;
  }

  .info-list dd {
    padding: 15px 0 15px 15px;
    min-width: 200px;
    width: auto;
    border-bottom: 1px solid #eee;
  }

  .fv-text-overlay h2 {
      font-size: 2.2em;
  }

  .fv-text-overlay p {
      font-size: 1.5em;
  }

  .fv-text-overlay .btn {
      padding: 10px 20px;
      font-size: 0.9em;
  }

  .points-container {
    padding: 0 0; 
  }
}

@media (max-width: 576px) {
  /* main */
  .site-logo {
    height: 25px;
  }

  .section-main-heading {
    font-size: 1.8em;
  }

  .main-heading {
    font-size: 1.3em;
  }

  .reason-section {
    padding: 40px 0;
  }

  .reason-main-heading {
    font-size: 1.5em;
  }

  .ref-button {
    padding: 8px 10px;
    font-size: 0.9em;
    width: 220px;
  }

  .white-button {
    padding: 10px 10px;
    font-size: 0.9em;
    width: 220px;
  }

  .blue-button-wrap {
    width: 150px;
    font-size: 12px;
    font-weight: normal;
    padding: 2px;
  }

  .reason-image-wrapper {
    width: 90%;
    padding-bottom: 70%;
    margin-bottom: 0;
  }

  .service-message {
    font-size: 0.95em;
    line-height: 2.8;
    margin-bottom: 40px;
  }

  .fv-text-overlay {
    top: 60%;
    transform: none;
  }

  .fv-text-overlay p {
    font-size: 1.2em;
  }

  .fv-container {
    justify-content: left;
  }

  .reason-title {
    padding: 0 20px;
  }

  /* 問い合わせフォーム */
  .form-container {
    min-height: 2100px;
  }

  /* CTAセクション */
  .cta-section {
    padding: 40px 0 0;
  }

  .cta-main-heading {
      font-size: 1.3em;
  }

  .cta-message {
      font-size: 0.9em;
  }

  .cta-button {
      padding: 12px 25px;
      font-size: 0.9em;
  }

  .cta-image-wrapper {
      height: 250px;
  }

  .service__ttl {
      width: auto;
  }

  .service__ttl::before, .service__ttl::after {
    height: 1.3rem;
  }

  .service__ttl::before {
    left: 15px;
  }

  .service__ttl::after {
    right: 15px;
  }

  img.cta-image {
    width: 100%;
  }

  /* 協力会社さまページ */
  .dwnl-file-wrap {
    display: grid;
    gap: 10px;
    justify-items: center;
  }

  .dwnlarea-p {
    width: auto;
  }

  /* サービス・実績紹介 */
  .section-service, .works-section {
    padding: 50px 0;
  }

  .service-main-heading, .works-main-heading {
      font-size: 1.5em;
  }

  .service-items-grid {
      grid-template-columns: 1fr;
      gap: 10px;
  }

  .works-grid-container {
      grid-template-columns: 1fr;
      gap: 15px;
  }

  .service-item, .work-category {
      font-size: 1em;
  }

  .service-content-title {
    font-size: 1.1em;
  }

  /* 協力会社募集ページ */
  .company-recruit-section {
    padding: 50px 0;
  }

  .company-recruit-grid-container {
      padding: 0 15px;
  }

  .info-block {
      padding: 20px;
  }

  .info-list {
    max-width: 300px;
  }

  .info-block-main-heading {
      font-size: 1.3em;
  }

  .info-block-image-wrapper {
      height: 150px;
  }

  /* Footer */
  .ft-wrap {
    flex-direction: column;
    gap: 30px;
  }

  .ft-content {
    width: 100%;
    border-left: none;
  }

  .footer-nav ul {
    display: block;
  }

  .footer-nav ul li {
    width: auto;
    margin-bottom: 10px;
  }

  .footer-nav {
    justify-content: center;
  }

  .ft-site-logo {
    height: 30px;
  }

  /* 共通 */
  .second-fv-h2 {
    font-size: 1.5rem;
  }

  .second-fv-text-overlay {
    margin-left: 10px;
  }

  .point-block {
      margin-bottom: 40px;
  }

  .point-title {
      font-size: 1.2em;
  }

  .point-image-wrapper {
      height: 220px;
  }

}
