@charset "UTF-8";

/* 全体設定 */
body {
    margin: 0;
    padding: 0;
}

/* ヘッダー全体のスタイル */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    max-width: 1410px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    box-sizing: border-box;
}

.hamburger {
  display: none;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background-color: #F4F4F4;
  border-radius: 8px;
}

.line-top,
.line-bottom {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #333;
    transition: transform 0.3s ease, opacity 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.line-top {
    top: 50%;
    transform: translate(-50%, -8px);
}

.line-bottom {
    top: 50%;
    transform: translate(-50%, 8px);
}


/* クリックで✕のアニメーション */
.hamburger.open .line-top {
    transform: translate(-50%, 0) rotate(45deg);
}

.hamburger.open .line-bottom {
    transform: translate(-50%, 0) rotate(-45deg);
}

/* 画面幅が768px以下（スマホ・タブレット）のときだけ表示 */
@media screen and (max-width: 1023px) {
    .hamburger {
        display: flex;
    }
}

/* ハンバーガーメニュー */
.nav-menu-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  z-index: 999;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0; 
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ロゴのスタイル */
.logo img {
    height: 60px;
}

/* メインビジュアルのスタイル */
/* メインビジュアル（PC） */
.top-page .main-visual {
  position: relative;
  width: 100%;
  height: 816px;
  overflow: hidden;
  background-image: url("chibawako-mv.jpg");
  background-size: cover;
  background-position: center;
}

/* スマホ用背景画像へ切り替え */
@media (max-width: 480px) {
  .top-page .main-visual {
    background-image: url("chibawako-mv-sp.jpg");
    height: 320px;
    font-size: 16px;
  }
}

/* キャッチフレーズ配置 */
.top-page .catchphrase-wrapper {
  max-width: 100%;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 0 32px;
  box-sizing: border-box;
}

.top-page .catchphrase-inner {
  max-width: 1240px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.top-page .catchphrase-box {
  display: inline-block;
  padding: 16px 24px;
  background-color: #F9F9F9;
  /*font-family: 'YuKyokasho Yoko', serif;*/
  font-family: 'Yu Kyokasho', 'YuKyokasho Yoko', 'Yu Mincho', 'Hiragino Mincho ProN', 'Noto Serif JP', serif;
  font-size: 48px;
  color: #1D3EA2;
  line-height: 1.2;
  box-sizing: border-box;
  font-weight: bold;
  max-width: 100%;
  text-align: left;
  word-break: break-word;
}

/* タブレット用 */
@media (max-width: 1023px) {
  .top-page .main-visual {
    height: 424px;
  }

  .top-page .catchphrase-wrapper {
    padding-top: 80px;
  }

  .top-page .catchphrase-box {
    font-size: clamp(14px, 6vw, 24px);
  }
}

/* スマホ用 */
@media (max-width: 480px) {
  .top-page .catchphrase-wrapper {
    padding-top: 80px;
  }

  .top-page .catchphrase-box {
    padding: 6px;
    font-size: clamp(14px, 6vw, 24px);
    line-height: 1.4;
    white-space: normal;
  }

  .top-page .catchphrase-box span {
    display: inline;
  }

  .logo img {
    height: 40px;
  }
}


/* ナビゲーションメニュー */
.nav-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-menu li {
    margin-left: 40px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 18px;
    font-family: 'Noto Sans JP', sans-serif;
    padding-bottom: 4px;
    position: relative;
    display: inline-block;
    font-display: swap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #1D3EA2;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 24px;
}

/* 電話番号エリア */
.phone {
    display: flex;
    align-items: flex-end;
    font-family: 'Noto Sans JP', sans-serif;
}

.phone-link {
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #333;
    font-family: 'Noto Sans JP', sans-serif;
}

.phone-icon {
    font-size: 26px;
    color: #333;
    margin-right: 10px;
    line-height: 26px;
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
}

.phone-text {
    font-size: 14px;
    color: #333;
    margin-bottom: 1px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.2;
}

.phone-number {
    font-size: 30px;
    color: #1D3EA2;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

.phone-info {
    display: flex;
    flex-direction: column;
    line-height: 26px;
}


/* モバイルメニューを表示するクラス */
.nav-menu-mobile.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* メニューの各項目 */
.nav-menu-mobile li {
  margin: 20px 0;
  list-style: none;
}

.nav-menu-mobile a {
  font-size: 16px;
  color: black;
  text-decoration: none;
}

/* 電話番号だけ24pxにする */
.phone-number a {
  font-size: 30px;
  font-family: 'Noto Sans JP', sans-serif;
}

/* メディアクエリ: タブレット以下のサイズ */
@media (max-width: 1200px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: block;
    }
}

/* 会社概要 */
.content-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1072px;
  margin: 0 auto 0;
  gap: 48px;
  padding: 120px 32px 80px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  box-sizing: border-box;
}

.content-section .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 480px;
    object-fit: contain;
    object-position: right;
    z-index: -1;
    pointer-events: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .content-section .background-image {
    top: 40%;
    left: 10%;
  }
}

/* ▼ スマホ（〜767px） */
@media (max-width: 767px) {
  .content-section .background-image {
    top: 20%;
    left: 60%;
  }
}

/* テキストエリア */
.content-text {
    width: 50%;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
    text-align: left;
    box-sizing: border-box;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    margin: 0;
}

.content-text > *:first-child {
    margin-top: 0;
    line-height: 1.6;
    font-family: 'Noto Sans JP';
}

.content-text > *:last-child {
    margin-bottom: 0;
}

.button-box {
  display: flex;
  justify-content: flex-end;
  padding-top: 24px;
}

.company-button {
  position: relative;
  display: inline-block;
  width: 216px;
  height: 40px;
  background-color: #1D3EA2;
  color: #fff;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  text-decoration: none;
  border-radius: 20px;
  overflow: hidden;
  top: 24px;
  transition: background-color 0.5s ease, color 0.5s ease;
  text-align: center;
  line-height: 40px; /* 縦中央に配置 */
}

.button-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.company-button i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.company-button::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid #1D3EA2;
  border-radius: 20px;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 1;
}

.company-button:hover {
  background-color: #fff;
  color: #1D3EA2;
}

.company-button:hover::before {
  transform: scale(1);
  opacity: 1;
}



/* 画像エリア */
.content-image {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-bottom: 0px;
  gap: 10px;
}

.content-image img {
  width: calc(50% - 5px); 
  height: auto;
  object-fit: cover;
}

.content-image img:nth-child(2) {
  padding-top: 40px;
}

@media (max-width: 1023px) {
  .content-section {
      flex-direction: column;
      align-items: center;
      padding: 56px 32px;
      gap: 24px;
  }


  .content-text {
      width: 100%;
      position: static;
      font-size: 14px;
  }

  .button-box {
      justify-content: center;
      padding-top: 0px;
  }

  .company-button {
      width: 100%;
      width: 216px;
  }

  .content-image {
    width: 74%;
    padding: 24px;
  }
}

/* スマホ対応 */
@media (max-width: 480px) {
  .content-section {
      flex-direction: column;
      align-items: center;
      padding: 32px 32px 16px;
      gap: 24px;
  }

  .content-text {
      width: 100%;
      position: static;
      font-size: 14px;
  }


  .button-box {
      justify-content: center;
  }

  .company-button {
      width: 100%;
      max-width: 216px;
  }

  .company-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1D3EA2;
    color: #fff;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    text-decoration: none;
    width: 216px;
    height: 40px;
    border-radius: 20px;
    transition: background-color 0.5s ease, color 0.5s ease;
    position: relative;
    overflow: hidden;
  }

  .content-image {
    width: 100%;
  }
}

/* メインビジュアル */
.main-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* スマホ用のメインビジュアル */
@media (max-width: 480px) {
  .top-page .main-visual {
    font-size: 16px;
    height: 320px;
  }

  .main-visual img {
    height: 240px;
  }

  .top-page .catchphrase-box {
    font-size: clamp(14px, 6vw, 24px);
  }
}

.section-inner {
  max-width: 1072px;
  margin: 0 auto;
  gap: 0;
  padding: 80px 32px 120px 32px;
  position: relative;
}

.service-section {
  width: 100%;
  background-color: #F4F4F4;
  box-sizing: border-box;
  border: none;
  box-shadow: none;
}

a.service-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* セクション見出し */
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 40px;
}

.section-deco {
  color: #1D3EA2;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-right: 4px;
  margin-bottom: 0;
  margin: 0px;
  font-family: 'Noto Sans JP', sans-serif;
}

.section-deco::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  transform: translateY(-50%);
  width: 16px;
  height: 1.5px;
  background-color: #1D3EA2;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-top: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

/* サービス一覧 */
.service-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 24px;
  row-gap: 0; 
  width: 100%;
  box-sizing: border-box;
}


/* サービスカード基本 */
.service-item {
  position: relative;
  flex: 1 1 calc(33.333% - 16px);
  min-width: 200px;
  max-width: calc(33.333% - 16px);
  height: 368px;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

/* 通常画像とホバー画像 */
.service-item .default-img,
.service-item .hover-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  top: 16px;
}

.service-item .default-img {
  z-index: 1;
  transform: scale(1);
}

.service-item .hover-img {
  z-index: 2;
  transform: scale(1);
}

/* ホバー時の拡大 */
.service-item:hover .default-img,
.service-item:hover .hover-img {
  transform: scale(1.05);
}

/* オーバーレイ */
.service-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  z-index: 3;
  transition: background-color 0.4s ease;
  pointer-events: none;
}

.service-item:hover .overlay {
  background-color: rgba(255, 255, 255, 0.2);
}

/* カード内テキスト */
.item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 16px 16px 0 16px;
  color: #fff;
  font-size: 28px;
  z-index: 3;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

/* 左下の三角形装飾 */
.bottom-right-img,
.bottom-right-img-hover {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: auto;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.bottom-right-img-hover {
  opacity: 0;
}

.service-item:hover .bottom-right-img {
  opacity: 0;
}

.service-item:hover .bottom-right-img-hover {
  opacity: 1;
}

/* 会社ボタン */
.service-section .company-button {
  margin: 0px auto 0;
  z-index: 3;
  position: relative;
}

@media (max-width: 800px) {
  .item-title {
    font-size: 20px;
  }

  .section-title {
    font-size: 20px;
  }

  .section-deco {
    font-size: 14px;
  }

  .service-section .background-image {
    display: none;
  }

  .service-section .company-button {
    margin: 0 auto 0 !important;
  }

  .service-section {
    padding: 40px 40px 56px;
  }

  .service-items {
    display: flex;
    flex-direction: column; /* 縦並びに */
    align-items: center;    /* 横方向中央寄せ */
    margin-bottom: 16px;
  }

  .service-item {
    flex: none;             /* 幅・高さ固定 */
    max-width: 560px;
    width: 100%;
    height: 240px;
    margin-bottom: 16px;    /* アイテム間の余白 */
  }

  .section-inner {
    padding: 0;
  }
}


/* スマホ（480px以下） */
@media (max-width: 480px) {
  .background-image {
    width: 100%;
    height: auto;
    max-width: 360px;
    display: block; 
    margin: 0 auto; 
  }

    .service-intro {
      padding: 32px !important;
    }

  .service-section .company-button {
    margin: 0px auto 0;
  }

  .service-section {
    padding: 24px 32px 56px;
  }

  .service-items {
    gap: 16px;
  }

  .section-inner {
    padding: 0px;
  }

  .service-item {
    flex: 0 1 340px;
    max-width: 340px;
    width: 100%;
    height: 250px;
  }
}


/* cvエリア追加*/
.cv-section {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
}

.cv-overlay {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
}

.cv-title {
  font-size: 32px;
  margin-bottom: 30px;
  font-family: 'Noto Sans JP', sans-serif;
}

.cv-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cv-phone {
  font-size: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-display: swap;
}

.cv-phone i {
  font-size: 40px;
}

.cv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background-color: transparent;
  color: white;
  width: 440px;
  height: 80px;
  font-size: 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cv-button:hover {
  background-color: white;
  color: #0F235F;
}

.cv-button i {
  font-size: 32px;
}


a[href^="tel"] {
  color: inherit;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: inherit;
  font-weight: 700;
}
/* ▼レスポンシブ対応▼ */

/* タブレット（768px以下） */
@media (max-width: 1023px) {
  .cv-phone {
      font-size: 40px;
      gap: 16px;
  }

  .cv-title {
      font-size: 28px;
      margin-bottom: 20px;
  }

  .cv-button {
      width: 320px;
      font-size: 20px;
  }

  .cv-content {
      flex-direction: column;
      align-items: center;
      gap: 16px;
  }
}

/* スマホ（480px以下） */
@media (max-width: 480px) {
  .cv-phone {
    font-size: 8vw;
  }

  .cv-overlay {
    padding: 24px;
  }

  .cv-title {
    font-size: 6vw;
    margin-bottom: 16px;
  }

  

  .cv-button {
    width: 70vw;
    font-size: 4.5vw;
  }

  .cv-content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cv-phone i {
    font-size: 34px;
}
}

  /* フッター全体 */
  .footer {
    background-color: #333333;
    padding: 40px 32px 8px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    box-sizing: border-box;
}

/* フッター内部の構造 */
.footer-inner {
    max-width: 1112px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

/* 左側の会社情報 */
.footer-left {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-company {
    font-size: 24px;
    margin: 0 0 8px 0;
}

.footer-address, .footer-phone {
    font-size: 14px;
    margin-bottom: 4px;
    font-family: 'Noto Sans JP', sans-serif;
}

/* メニュー */
.footer-menu {
  width: 40%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap; 
  gap: 32px;
}

.footer-link {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
}

/* PCのホバー時：下線（色付き）を疑似要素で実現 */
.footer-link:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 20px;
  height: 1px;
  background-color: #87B3FF;
  transform: translateX(-50%);
}

.footer-link:hover::after {
  transform: translateX(-50%) scaleX(1);
  opacity: 5;
}

.footer-privacy-link {
  color: #C8C8C8;
  font-size: 14px;
  text-decoration: underline;
  transition: 0.3s;
  margin-top: 8px;
}

.footer-privacy-link:hover {
  color: #939393;
}

/* 追加した中央下の©︎部分 */
.footer-bottom {
    text-align: center;
    width: 100%;
    padding-top: 16px;
    font-size: 14px;
    padding-bottom: 0;
  }
  
  /* 会社情報（電話番号の上に余白） */
  .footer-phone {
    margin-top: 0px;
  }

  @media (max-width: 1023px) {

    
    .footer {
      padding: 40px 32px 8px;
    }
    .footer-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 16px;
      box-sizing: border-box;
    }
    
    .footer-menu {
      order: 1;
      display: flex;
      flex-wrap: nowrap; /* ← 改行させない */
      justify-content: center;
      align-items: center;
      width: auto; /* ← 幅を子要素に合わせる */
      margin-bottom: 32px;
      gap: 0 24px;
    }
  
    .footer-link {
      text-align: center;
      flex: 0 0 calc(30% - 16px);
    }

    .footer-link:hover {
      color: #939393;
    }
    .footer-link:hover::after {
      content: none;
    }
  
    .footer-link:nth-child(4),
    .footer-link:nth-child(5) {
      flex: 0 0 calc(30% - 12px);
    }
  
    .footer-left {
      order: 2;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 24px;
    }
  
    .footer-company {
      font-size: 24px;
      margin-bottom: 8px;
    }
  
    .footer-address,
    .footer-phone {
      font-size: 14px;
      margin-bottom: 4px;
    }
  
    .footer-privacy {
      order: 3;
      width: 100%;
      display: flex;
      justify-content: center;
      margin-bottom: 16px;
    }
  
    .footer-privacy-link {
      margin-top: 8;
    }
  }

  @media (max-width: 640px) {

    .footer {
      padding: 40px 32px 8px;
    }
    .footer-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0px;
    }
  
    .footer-menu {
      order: 1;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: center;
      width: 100%;
      max-width: 320px;
      margin-bottom: 32px;
      gap: 16px 24px;
    }
  
    .footer-link {
      text-align: center;
      flex: 0 0 calc(30% - 16px);
    }
  
    .footer-link:nth-child(4),
    .footer-link:nth-child(5) {
      flex: 0 0 calc(30% - 12px);
    }
  
    .footer-left {
      order: 2;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 24px;
    }
  
    .footer-company {
      font-size: 24px;
      margin-bottom: 8px;
    }
  
    .footer-address,
    .footer-phone {
      font-size: 14px;
      margin-bottom: 4px;
    }
  
    .footer-privacy {
      order: 3;
      width: 100%;
      display: flex;
      justify-content: center;
      margin-bottom: 16px;
    }
  
    .footer-privacy-link {
      margin-top: 8;
    }

    .footer {
      padding: 40px 8px 8px;
  }
  }
  

  /* 会社概要ページ */
  .main-visual.about-page {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
  }
  
  /* メインの背景画像（中央） */
  .main-visual.about-page > img:not(.decoration) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
  }
  
  /* 飾り画像（左右） */
  .main-visual.about-page .decoration {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: auto;
    z-index: 2;
    pointer-events: none;
  }
  
  .main-visual.about-page .decoration.left {
    left: 0;
  }
  
  .main-visual.about-page .decoration.right {
    right: 0;
    bottom: 0;
    top: auto;
    transform: none;
  }
  
  /* キャッチフレーズ */
  .main-visual.about-page .catchphrase-wrapper h1 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1040px;
    max-width: 90%;
    z-index: 3;
    color: white;
    padding-left: 40px;
    font-size: 48px;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    top: 140px;
  }

  /* 会社方針 */
  .policy-wrapper {
    width: 100%;
    max-width: 880px;
    padding: 80px 80px;
    margin: 0 auto;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  }

  .policy-section {
    width: 100%;
    background-image: url('background_graycolor.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
    padding: 80px 0;
    box-sizing: border-box;
    border: none;
    box-shadow: none;
  }

  .policy-inner {
    max-width: 1072px;
    margin: 0 auto;
    padding: 0 32px;
  }
  
  .policy-item {
    display: flex;
    align-items: top;
    flex-wrap: wrap;
    padding: 16px 0 0 0;
  }
  
  .title {
    width: 30%;
    font-weight: 500;
    font-size: 24px;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
  }
  
  .text {
    width: 70%;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    margin-top: 0; 
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-align: justify;
    line-height: 1.8;
  }


  .divider-img {
    margin-top: 16px;
    width: 100%;
    height: 2px;
    object-fit: cover;
  }
  
  
  .policy-images {
    display: flex;
    margin: 0;
    padding: 0;
  }
  
  .policy-images img {
    width: 25%;
    height: auto;
    display: block;
    margin: 80px 0 0 0;
    padding: 0;
    object-fit: cover;
  }

  .responsive-divider {
    display: none;
    width: 100%;
    height: 1px;
    background-color: #BABABA;
    margin: 0px;
  }

  /* モバイル対応 */
  @media (max-width: 1023px) {
    .main-visual.about-page .catchphrase-wrapper h1 {
      font-size: 24px;
      height: 320px;
      padding: 0px;
      top: 140px;
    }

    .text {
      font-size: 14px;
    }
    
 .decoration.left,
.decoration.right {
      display: none;
    }

    .policy-inner {
      padding: 32px 32px;
    }

    .text-block {
      flex-direction: column;
    }

    .title {
      padding-bottom: 8px;
      font-size: 16px;
    }

    .text {
      padding-bottom: 14px;
    }

    .policy-wrapper {
      padding: 24px;
    }

    .policy-section {
      padding: 0px 0;
    }

    .divider-img {
      margin-top: 0px;
    }
  }

  @media (max-width: 767px) {

    .main-visual.about-page {
      height: 240px;
    }

    .main-visual.page-about .catchphrase-wrapper h1 {
      height: 240px;
      font: 24px;
    }

    .policy-item {
      display: block;
    }

    .policy-images img:first-child {
      display: none;
    }

    .policy-images img {
      width: 33.33%;
    }

    .title {
      width: 100%;}

    .text {
      width: 100%; 
    }

    .top-page .main-visual img
    {
      height: 240px;
    }
}

  @media (max-width: 767px) {
    .policy-wrapper .title br {
      display: none;
    }
    .policy .title,
    .policy .text {
      width: 100%;
    }

    .policy .text {
      font-size: 14px;
    }
  
    .policy .divider-img {
      display: none;
    }
  
    .policy .policy-responsive-divider {
      display: block;
    }
  }

/* 社長メッセージ */
.message-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1072px;
  margin: 0px auto 0;
  gap: 48px;
  padding: 80px 32px;
  position: relative;
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 280px;
}

.message-inner {
  position: relative;
  z-index: 1;
}

.message-box {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

.message-sign {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 12px;
}

.message-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  margin: 0;
}

.message-name {
  font-family: "Yuji Boku", serif;
  font-size: 32px;
  line-height: 1;
  margin: 0;
}

/* レスポンシブ調整 */
@media (max-width: 1023px) {

  .message-sign {
    margin-top: 0px;
  }

  .message-box {
    font-size: 14px;
    margin: 0;
  }
  .message-section {
    max-width: 100%;
    padding: 40px;
    justify-content: space-between;
    background-size: 180px auto;
  }

  .message-name {
    font-family: "Yuji Boku", serif;
    font-size: 24px;
    line-height: 1;
    margin: 0;
  }
}

@media (max-width: 480px) {
  .message-section {
    max-width: 100%;
    padding: 32px 32px;
    justify-content: center;
    background-size: 190px auto;
    background-position: right -30px;
  }

  .message-title {
    font-size: 14px;

  }
}

 /* 会社セクション全体のスタイル */
 .company-section {
  width: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
  padding: 80px 0;
  box-sizing: border-box;
  border: none;
  box-shadow: none;
}

.company-inner {
  max-width: 1072px;
  margin: 0 auto;
  padding: 0 32px;
}

.company-heading {
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  font-size: 32px;
  margin-top: 16px;
}

.company-wrapper {
  background-color: transparent;
  margin-top: 40px;
  width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.company-item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 0 0 0;
}

.company-title {
  width: 30%;
  font-weight: bold;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
}

.company-text {
  width: 70%;
  padding: 0;
  box-sizing: border-box;
  margin-top: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
}

.company-divider-img {
  margin-top: 16px;
  width: 100%;
  height: 2px;
  object-fit: cover;
}

.company-images {
  display: flex;
  margin: 0;
  padding: 0;
}

.company-divider-line {
  display: none;
  width: 100%;
  height: 1px;
  background-color: #E5E5E5;
  margin: 16px 0;
}

@media (max-width: 1023px) {
  .company-section {
    padding: 0px 0;
  }

  .company-inner {
    padding: 40px;
  }

  .company-wrapper {
    margin-top: 0px;
  }

  .company-text
 {
    font-size: 14px;
  }

  .company-item-wrapper {
    width: 100%;
  }

  .company-item {
    display: block;
    padding: 16px 0 0 0;
    max-width: 510px;
    width: 100%; 
    margin: 0 auto;  
  }

  .company-title,
  .company-text {
    width: 100%;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', sans-serif;
  }

  .company-text {
    font-weight: 400;
  }

  .company-wrapper {
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  } 

  .company-divider-img {
    display: none;
  }

  .company-divider-line {
    display: block;
    margin: 16px 0 0 0;
  }
}

@media (max-width: 767px) {
  .company-inner {
    padding: 32px 32px;
  }
}
  
/* マップエリア */
.map-section {
  padding: 80px 0;
}

.map-inner {
  max-width: 1072px;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
}

.map-address {
  font-size: 16px;
  color: #333;
  margin-bottom: 24px;
  font-family: 'Noto Sans JP', sans-serif;
}

.map-embed iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 0px;
}

@media (max-width: 1023px) {
  .map-section {
    padding: 0px 0;
  }
}

@media (max-width: 767px) {
  .map-section {
    padding: 32px 32px;
  }

  .map-address {
    font-size: 14px;
    margin-bottom: 8px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
  }

  .map-inner {
    padding: 0px;
  }

  .map-embed iframe {
    height: 240px;
  }
  }

  @media (max-width: 767px) {
    body .main-visual.service-page {
      height: 240px !important;
    }
  
    body .main-visual.service-page .catchphrase-wrapper h1 {
      height: 240px !important;
      font-size: 24px !important;
    }
  }


/* サービス紹介セクション */
.main-visual.service-page {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

/* メインの背景画像（中央） */
.main-visual.service-page > img:not(.decoration) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}


/* 飾り画像（左右） */
.main-visual.service-page .decoration {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.main-visual.service-page .decoration.left {
  left: 0;
}

.main-visual.service-page .decoration.right {
  right: 0;
  bottom: 0;
  top: auto; 
  transform: none;
}

  /* キャッチフレーズ */
  .main-visual.service-page .catchphrase-wrapper h1 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1040px;
    max-width: 90%;
    z-index: 3; 
    color: white;
    padding-left: 40px;
    font-size: 48px;
    text-align: left;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    top: 140px
  }

.service-intro {
    max-width: 1072px;
    margin: 0 auto;
    padding: 80px 20px;
  }
  
  .service-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    position: relative;
  }

  .service-intro {
    position: relative;
    overflow: hidden;
  }
  
  .background-image {
    position: absolute;
    width: auto;
    height: 560px;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
  }
  
  /* 左上に配置 */
  .background-image.top-left {
    top: 224px;
    left: 0;
  }
  
  /* 右下に配置 */
  .background-image.bottom-right {
    bottom: 120px;
    right: 0;
  }
  
  /* コンテンツが前面に来るように */
  .service-block {
    position: relative;
    z-index: 2;
  }
  
  .service-block img {
    height: 336px;
    width: auto;
    object-fit: cover;
    margin-right: -72px;
    position: relative;
    z-index: 2;
  }
  
  .service-text {
    flex: 1;
    background-color: #FFFFFF;
    padding: 80px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
    margin-top: 136px;
    border-radius: 0px;
    padding-left: 112px;
    padding-right: 112px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    text-align: justify;
  }
  
  .service-block.reverse {
    flex-direction: row-reverse;
    padding-left: 0;
  }
  
  .service-block.reverse img {
    margin-right: 0;
    margin-left: -72px;
  }
  
  .service-text h2 {
    position: relative; 
    display: inline-block;
    margin-bottom: 24px; 
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
  }
  
  .service-text h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 36px;
    height: 3px;
    background-color: #1D3EA2;
  }

  @media (max-width: 1023px) {
    .main-visual.service-page .catchphrase-wrapper h1
{
    font-size: 24px;
    height: 320px;
    padding: 0px;
  }

  .service-text {
    flex: 1;
    background-color: #FFFFFF;
    padding: 40px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
    margin-top: 80px;
    border-radius: 0px;
    padding-left: 64px;
    padding-right: 64px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

.service-block img {
  height: 280px;
  width: auto;
  object-fit: cover;
  margin-right: -32px;
  position: relative;
  z-index: 2;
}

.service-block img {
  height: 280px;
  width: auto;
  object-fit: cover;
  margin-right: -40px;
  position: relative;
  z-index: 2;
}

.service-block.reverse img {
  margin-right: 0;
  margin-left: -40px;
}

  }

  @media (max-width: 800px) {
    .main-visual.service-page .catchphrase-wrapper h1
{
    font-size: 24px;
    height: 320px;
    padding: 0px;
  }
    
  .service-block {
    flex-direction: column;
    align-items: center; 
    margin: 0 auto 40px; 
    width: 100%;
    max-width: 394px;
  }
  
    .service-block img {
      margin-right: 0;
      margin-left: 0;
      height: 250px;
      width: 100%;
      object-fit: cover;
    }
  
    .service-text {
      padding: 32px 20px;
      margin-top: 0px;
      padding-left: 20px;
      padding-right: 20px;
      font-size: 14px;
    }
  
    .service-text h2 {
      margin-bottom: 16px;
    }
  
    /* 逆順の表示をなくす */
    .service-block.reverse {
      flex-direction: column;
    }

    .service-block.reverse img {
      margin-right: 0;
      margin-left: 0px;
    }
  }

  @media (max-width: 767px) {

    .service-block {
      flex-direction: column; 
      align-items: center; 
      margin-bottom: 40px; 
    }
  
    .service-block img {
      margin-right: 0; 
      margin-left: 0; 
      height: 250px; 
      width: 100%; 
      object-fit: cover; 
    }
  
    .service-text {
      padding: 24px 20px; 
      margin-top: 0px; 
      padding-left: 16px; 
      padding-right: 16px; 
      font-size: 14px;
    }
  
    .service-text h2 {
      margin-bottom: 16px; 
      font-size: 20px;
    }
  
    /* 逆順の表示をなくす */
    .service-block.reverse {
      flex-direction: column; 
    }

    .service-block.reverse img {
      margin-right: 0; 
      margin-left: 0px; 
    }
  }

  .contact-section {
    background-image: url('background_graycolor.png'); 
  }

  .inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
  }
 
  /* お問い合わせ */
  .contact-section h1 {
    margin-top: 180px;
    text-align: center;
    margin-bottom: 80px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 36px;
    font-weight: 600;
  }
  
  .contact-heading {
    background: #1D3EA2;
    color: #fff;
    padding: 10px 20px;
    clip-path: polygon(22px 0%, 100% 0%, calc(100% - 22px) 100%, 0% 100%);
    margin-bottom: 32px;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
  }
  
  .contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    gap: 0;
  }
  
  .contact-phone,
  .contact-mail {
    width: 50%;
    text-align: center;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 500;
  }
  
  .contact-phone p:last-child,
  .contact-mail p:last-child {
    font-size: 32px;
    font-weight: bold;
    color: #004477;
    font-family: 'Noto Sans JP', sans-serif;
    padding-bottom: 8px;
  }
  
  .divider {
    width: 1px;
    height: 80px;
    background-color: #ccc;
  }

  
  .note {
    font-weight: normal;
    font-size: 16px;
    margin-left: 5px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
  }
  
  .contact-options,
  .contact-form-section {
    margin-bottom: 56px;
  }
  
  /* Contact Form 7のフォームに効かせるため */
  .contact-form label {
    display: block;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
  }
  
  .contact-form label .required {
    background-color: #1D3EA2;
    color: #fff;
    font-size: 14px;
    padding: 2px 16px;
    margin-left: 6px;
    border-radius: 3px;
  }
  
  .contact-form {
    padding: 0px;
    box-sizing: border-box;
  }
  
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #7E7E7E;
    border-radius: 3px;
    margin-top: 16px;
    margin-bottom: 0px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box; /* ←これ追加 */
  }

  .contact-body{
    background-image: url('background_graycolor.png');
  }

  .contact-form textarea {
    height: 180px;
    resize: vertical;
  }
  
  .privacy-policy {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    text-align: left;
    font-family: 'Noto Sans JP';
    line-height: 1.6;
    text-align: justify;
  }
  
  .privacy-policy a {
    color: #0043FB;
    text-decoration: underline;
  }
  
  .button-wrapper {
    text-align: center;
  }
  
  .submit-button {
    background-color: #002776;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 40px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
  }
  
  .submit-button:hover {
    background-color: #001f5c;
  }
  
  .submit-button i {
    margin-left: 10px;
  }
  

  @media (max-width: 1023px) {
    .contact-section h1 {
      margin-top: 80px;
      text-align: center;
      margin-bottom: 24px;
      font-size: 24px;
    }
  }

  @media (max-width: 565px) {
    .contact-methods {
      flex-direction: column;
      margin-top: 16px; 
    gap: 16px;
    }

    form {
      margin-top: 16px;
    }

    .required {
      font-size: 12px;
    }


.contact-section {
  padding: 32px 24px;
}

  
    .contact-phone,
    .contact-mail {
      width: 100%;
      padding: 0px;
    }
  
    .divider {
      width: 80%;
      height: 1px;
      background-color: #ccc;
      margin: 16px auto;
    }

    .contact-methods {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 0px;
      gap: 0;
    }

    .contact-heading {
      font-size: 16px;
    }
  }
  
  .required {
    display: inline-block;
    background: #1655b7;
    color: #fff;
    font-size: 12px;
    padding: 3px 6px;
    margin-left: 8px;
    vertical-align: middle;
    border-radius: 4px;
  }
  
  
  .privacy-policy a {
    color: #1655b7;
    text-decoration: underline;
  }
  
  .button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
  }
  
  .submit-button {
    position: relative;
    display: inline-block;
    width: 216px;
    height: 40px;
    background-color: #1D3EA2;
    color: #fff;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    cursor: pointer;
    transition: background-color 0.5s ease, color 0.5s ease;
    padding: 0; /* リセット */
  }
  
  .submit-button .button-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
  }
  
  .submit-button i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  
  .submit-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid #1D3EA2;
    border-radius: 20px;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1;
  }
  
  .submit-button:hover {
    background-color: #fff;
    color: #1D3EA2;
  }
  
  .submit-button:hover::before {
    transform: scale(1);
    opacity: 1;
  }
  

/* リクルート */
.main-visual.recruit-page {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

/* メインの背景画像（中央） */
.main-visual.recruit-page > img:not(.decoration) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* 飾り画像（左右） */
.main-visual.recruit-page .decoration {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  height: auto;
  z-index: 2; 
  pointer-events: none;
}

.main-visual.recruit-page .decoration.left {
  left: 0;
}

.main-visual.recruit .decoration.right {
  right: 0;
  bottom: 0;
  top: auto;
  transform: none;
}

/* 採用情報 */
.main-visual.recruit-page {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

/* メインの背景画像（中央） */
.main-visual.recruit-page > img:not(.decoration) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* 飾り画像（左右） */
.main-visual.recruit-page .decoration {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.main-visual.recruit-page .decoration.left {
  left: 0;
}

.main-visual.recruit-page .decoration.right {
  right: 0;
  bottom: 0;
  top: auto;
  transform: none; 
}

.recruit-body {
    font-family: "Noto Sans JP", sans-serif;
    background-image: url('background_graycolor.png'); /* 画像のパスを指定 */
background-size: cover;
background-position: center;
background-repeat: no-repeat;
    margin: 0;
    padding: 80px;
  }
  
  .recruit-info {
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 74px 96px;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
  }
  
  .recruit .section {
    margin-bottom: 40px;
  }
  
  .recruit .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f3b8b;
    border-bottom: 2px solid #1f3b8b;
    padding-bottom: 4px;
    margin-bottom: 20px;
    font-family: 'Noto Sans JP', sans-serif;
  }

  
  .recruit .section-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 16px;
  }
  
  .recruit .info-list {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .recruit .info-row {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #BABABA;
  }
  
  .recruit .info-row dt {
    width: 120px; /* ← 見出しの幅固定で揃う */
    font-weight: bold;
    font-size: 16px;
    margin: 0;
    flex-shrink: 0;
  }
  
  .recruit .info-row dd {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    flex: 1;
  }
  
  
  .recruit p {
    font-size: 14px;
    padding-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
  }
  
  .recruit address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    padding-bottom: 12px;
  }
  
  .recruit a {
    color: #1f3b8b;
    text-decoration: none;
  }

  @media (max-width: 1023px) {

    .recruit-body {
      padding: 40px;
    } 

    .recruit .info-row {
      flex-direction: column;
    }
  
    .recruit .info-row dt {
      width: auto;
      margin-bottom: 4px;
    }
  }
   
  
  @media (max-width: 767px) {
    .map-section {
      padding: 32px 32px;
    }

    .recruit-body {
      padding: 32px 32px;
    } 

    .recruit-info{
      padding: 32px;
    } 
  
    .map-address {
      font-size: 14px;
      margin-bottom: 8px;
      font-family: 'Noto Sans JP', sans-serif;
    }
  
    .map-inner {
      padding: 0px;
    }
  }
  
/* サンクスページ */
.thanks-page {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  background-size: cover;
  color: #000;
}

.thanks-page .thankyou-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.thanks-page h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: 'Noto Sans JP', sans-serif;
}

.thanks-page p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  font-family: 'Noto Sans JP', sans-serif;
}

.thanks-page .button {
  background-color: #173ca1;
  color: white;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 40px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s;
}

.thanks-page .button:hover {
  background-color: #102d7a;
}

.contact-form-section .privacy-policy {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  color: #000;
  line-height: 1.8;
  font-size: 16px;
  text-align: center;
}

.privacy-policy h1 {
  padding-bottom: 40px;
}

.privacy-policy .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 160px 32px 80px;
}

.privacy-policy h2 {
  font-size: 20px;
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-weight: bold;
  border-left: 4px solid #1a4fa3;
  padding-left: 0.5em;
  color: #1a4fa3;
  font-family: 'Noto Sans JP', sans-serif;
}

.privacy-policy h2 span {
  display: inline-block;
}

.privacy-policy ul {
  padding-left: 1.5em;
}

.privacy-policy ul li {
  margin-bottom: 0.5em;
  list-style: disc;
}

.privacy-policy .end {
  margin-top: 2em;
  font-weight: bold;
  text-align: right;
}

/* レスポンシブ対応 */
@media (max-width: 1023px) {
  .privacy-policy h1 {
    font-size: 24px;
    padding-bottom: 0px;
  }

  .privacy-policy h2 {
    font-size: 18px;
  }

  .privacy-policy {
    font-size: 15px;
  }
}