


/* 全体背景とコンテナ設定 */
    .achievements-section {
      background-color: #314357; /* 濃いネイビー背景 */
      padding: 60px 20px;
      font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", MeiRyo, sans-serif;
      box-sizing: border-box;
    }

    .achievements-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 16px; /* カード間の余白 */
      flex-wrap: wrap; /* 画面幅に合わせて折り返し */
    }

    /* 星の表示エリア（全カード共通で固定） */
.stars-container {
  align-items: baseline;
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto; /* 円の下部に固定 */
  overflow: visible;
}

.curved-stars {
  width: 110px;
  height: 35px;
  overflow: visible;
  display: block;
}

    /* 丸型カード */
    .circle-card {
      width: 190px;
      height: 190px;
      background-color: #f9f8f6; /* ほんのり温かみのあるオフホワイト */
      border-radius: 50%; /* 正円 */
      border: 3px solid #c8a355; /* ゴールドの枠線 */
      box-sizing: border-box;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 15px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .circle-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      height: 100%;
      width: 100%;
      padding: 15px 0 0;
      box-sizing: border-box;
    }

    /* タイトル（数値・メインテキスト） */
    .circle-title {
      font-size: 18px;
      font-weight: bold;
      color: #263342;
      margin: 0;
      line-height: 1.2;
    }

    .circle-title .unit {
      font-size: 13px;
      font-weight: bold;
    }

    .circle-title .highlight {
      font-size: 22px;
    }

    /* 説明テキスト */
    .circle-text {
      font-size: 11.5px;
      color: #555555;
      margin: 0;
      line-height: 1.45;
      margin-bottom: 0px;
    margin-top: 7px;
    }

    .sub-note {
      font-size: 9.5px;
      color: #777777;
    }

    /* カーブした星（SVG）設定 */
    .stars-container {
      width: 100%;
      display: flex;
      justify-content: center;
      height: 22px;
    }

    .curved-stars {
      width: 90px;
      height: 31px;
    }

    /* スマホ表示（画面幅が狭い場合）の調整 */
    @media (max-width: 768px) {
      .achievements-container {
        gap: 20px;
      }
      
      .circle-card {
        width: 160px;
        height: 160px;
        padding: 10px;
      }

      .circle-title {
        font-size: 17px;
      }

      .circle-text {
        font-size: 10.5px;
      }
    }



/* カード全体の設定（外枠と内側の背景） */
.consultation-card {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid #ebdcd0; /* 周囲のうっすらした枠線 */
  padding: 10px 50px;
  display: flex;
      justify-content: space-evenly;
  align-items: center;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", MeiRyo, sans-serif;
}

/* 左側コンテンツ */
.consultation-content {
  flex: 1;
  max-width: 500px;
}

/* タイトル */
.consultation-title {
  font-size: 14px;
  font-weight: 500;
  color: #4a5975;
  margin: 0 0 30px 0;
  letter-spacing: 0.05em;
}

/* 2列並びのリスト */
.consultation-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 左右均等に2列表示 */
  row-gap: 20px;                   /* 縦の余白 */
  column-gap: 0px;                /* 横の余白 */
}

.consultation-list li {
  font-size: 14px;
  color: #444444;
  line-height: 1.5;
}

/* 右側イラスト画像 */
.consultation-image {
  width: 200px; /* イラストの表示サイズ */
  flex-shrink: 0;
  margin-left: 20px;
}

.consultation-image img {
  width: 100%;
  height: auto;
  display: block;
}
.sp-none { display: block; }
  .pc-none { display: none; }

/* スマホ対応（768px以下は縦並びにする） */
@media (max-width: 768px) {
  .consultation-card {
    width: 90% !important;
    flex-direction: column;
    padding: 30px 20px;
    max-width: 90%;
  }

  .consultation-list {
    grid-template-columns: 1fr; /* スマホでは1列にする */
    row-gap: 15px;
  }

  .consultation-image {
    width: 160px;
    margin-left: 0;
    margin-top: 30px;
  }

  .dx-copy p.body{
    width: 90%;
    margin: 0 auto;
  }

  .dx-copy{
    width: 100%;
    margin: 0 auto;
  }

  .company-table th, .company-table td{
    font-size: 13.5px !important;
  }

.company-table{
  table-layout: fixed; /* 列幅を固定してはみ出しを防ぐ */}

  .company-table th{
    width: 20%;
  }
  .company-table td{
   font-size: 13px !important;
    overflow-wrap: break-all;
  }

  .map-embed {
    width: 100%;}

  .sp-none { display: none; }
    .pc-none { display: block; }
}


/* 全体コンテナ（3列並び） */
.services-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", MeiRyo, sans-serif;
}

/* カード全体のスタイル */
.service-card {
  flex: 1;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow:5px 5px 7px rgba(0, 0, 0, 0.2); /* うっすらとした影 */
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 上部画像エリア（角丸対応） */
.service-image {
  width: 100%;
  height: auto; /* 画像の高さを統一 */
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像の縦横比を崩さずフィット */
  display: block;
  border-radius: 7px;
}

/* カード本文 */
.service-body {
  padding: 30px 20px 25px;
  display: flex;
  flex-direction: column;
  flex: 1; /* 高さ合わせ用 */
  text-align: center;
}

/* タイトル */
.service-title {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

/* 説明テキスト */
.service-text {
  font-size: 13px;
  color: #666666;
  line-height: 1.6;
  margin: 0 0 25px 0;
}

/* 右寄せの「詳しく見る」リンク */
.service-link {
  margin-top: auto; /* テキストの長さが違っても一番下に固定 */
  font-size: 13px;
  color: #666666;
  text-decoration: underline;
  transition: color 0.2s;
}

.service-link:hover {
  color: #000000;
}


/**/
/* 全体コンテナ */
.feature-container {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  box-sizing: border-box;
}

/* 1行の基本幅設定 */
.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 800px; /* ブロック全体の幅 */
}

/* 01 / 03（左寄せブロック）： [01] -> [テキスト] -> [イラスト] */
.feature-item:not(.reverse) {
  margin-right: auto; /* 右に余白を作って左寄せ */
}

/* 02 / 04（右寄せブロック）： [イラスト] -> [テキスト] -> [02] */
.feature-item.reverse {
  margin-left: auto; /* 左に余白を作って右寄せ */
}

/* 02 / 04 の内部要素の並び順を制御 */
.feature-item.reverse .feature-image {
  order: 1; /* イラストを一番左へ */
}

.feature-item.reverse .feature-content {
  order: 2; /* テキストを中央へ */
}

.feature-item.reverse .feature-number {
  order: 3; /* 数字（02/04）を一番右へ */
}


/* 見た目の装飾 */
.feature-number {
  

  flex-shrink: 0;
  font-size: 46px;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
    font-family: Georgia, serif;
}

/* テキスト枠が勝手に横に伸びるのを防ぐ */
.feature-content {
  flex: none!important; /* または flex: 0 0 auto; */
  width: 480px!important; /* テキスト枠の幅を固定（お好みで調整） */
}

/* 01 / 03（奇数）：左寄せブロック
   [01] [テキスト] [イラスト] --------(余白)--------
*/
.feature-item:not(.reverse) {
  margin-right: auto!important;
}

/* 02 / 04（偶数）：右寄せブロック
   --------(余白)-------- [イラスト] [テキスト] [02]
*/
.feature-item.reverse {
  margin-left: auto!important;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 17.5px;
  font-weight: bold;
    color: var(--navy-soft);
  margin: 0 0 8px 0;
}

.feature-text {
  word-break: normal !important; /* デフォルトの改行挙動に戻す */
font-size: 14px;
    color: var(--navy-soft);
  margin: 0;
  line-height: 1.6;
}

.feature-image {
  width: 230px;
  flex-shrink: 0;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
    
    .nav-cta{    padding: 9px 9px;}

}



/* スマホ対応（768px以下はすべて左寄せ縦並び） */
@media (max-width: 768px) {
  .feature-item,
  .feature-item.reverse {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  /* スマホでは要素順を「数字 -> テキスト -> イラスト」に戻す */
  .feature-item.reverse .feature-number { order: 1; }
  .feature-item.reverse .feature-content { order: 2; width: 100% !important;}
  .feature-item.reverse .feature-image { order: 3; }
  .feature-content{width: 100% !important;}
}

/**/


/* 外枠カード */
.partner-card {
  display: flex; /* 左右に分割 */
  width: 100%;
  max-width: 800px; /* カード全体の幅（適宜変更してください） */
  background-color: #ffffff;
  border: 1px solid #e7e1d5; /* 枠線カラー */
  border-radius: 16px; /* 角丸設定 */
  overflow: hidden; /* 画像が角丸からはみ出すのを防ぐ */
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 8px;
}

/* 左エリア（テキスト） */
.partner-card .card-body {
  width: 50%; /* 左半分を確保 */
      word-break: normal;

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
      padding: 15px;

}

.partner-card .card-body h3 {
  font-size: 22px;
  font-weight: bold;
  color: #2b2b2b;
  margin: 0 0 16px 0;
}

.partner-card .desc {

  font-size: 15px;
  color: #555555;
  line-height: 2;
  margin: 0 0 24px 0;
}

.partner-card .partner-tag {
  display: inline-block;
  align-self: flex-start; /* 幅をテキストサイズに合わせる */
  padding: 8px 16px;
  background-color: #fcf8ee;
  border: 1px solid #e2d2aa;
  border-radius: 20px;
  color: #c09e53;
  font-size: 13px;
}

/* 右エリア（画像） */
.partner-card .card-image {
  width: 50%; /* 右半分ぴったりに設定 */
  flex-shrink: 0;

}

.partner-card .card-image img {
  width: 100%;
  height: 100%; /* 縦いっぱいに引き伸ばす */
  object-fit: cover; /* 比例を保ったまま領域全体を埋める */
  display: block;
  border-radius:5px;
}


/* 4列のグリッドコンテナ */
.member-grid {
  display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    width: 100%;
    margin: 0 auto;
    /* padding: 20px; */
    margin-top: 30px;
    box-sizing: border-box;
    word-break: normal;
}

.memberh3{
  text-align: center;
      margin-top: 50px;
}

/* カード共通スタイル */
.member-card {
  background-color: #ffffff;
  border: 1px solid #e7e1d5; /* 薄い境界線 */
  border-radius: 8px; /* カード全体の角丸 */
    padding: 14px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* ドロップシャドウ */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ヘッダー部分（丸画像＋カテゴリー） */
.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

/* 丸アイコン */
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ダミー用グレー円 */
.avatar.placeholder {
  background-color: #b3b3b3;
}

/* カテゴリー（広告・デザイン） */
.category {
  font-size: 18px;
  font-weight: bold;
  color: #2b2b2b;
  margin: 0;
}

/* 会社名・役職グループ */
.company-info {
  margin-bottom: 12px;
}

.company, .role {
  font-size: 12px;
  font-weight: bold;
  color: #4a5568;
  margin: 0;
  line-height: 1.4;
}

/* 氏名 */
.name {
  font-size: 20px;
  font-weight: bold;
  color: #1a202c;
  margin: 0 0 16px 0;
  letter-spacing: 0.05em;
}

/* プロフィール本文 */
.bio {
  font-size: 12.5px;
  color: #718096;
  line-height: 1.6;
  margin: 0;
}



.hub-card {
    display: flex;}

    .hub-card .hub-image {
    width: 50%;
    flex-shrink: 0;
}

.hub-card .hub-image img{
    width: 100%;
    padding: 8px;
    border-radius: 10px;
    vertical-align: text-top;}

.hub-txt {
  word-break: normal;
    width: 50%;
      padding: 20px 20px;
    }

.consultation-list li img{
    width: 10%;
    vertical-align: middle;
    margin-left: 10px;
}


/*hutaboshi*/

.futaboshi_area {
  display: flex;
    gap:0 20px;
}
.futaboshi-img{
  width: 25%;
}
.futaboshi-p{
  font-size: 11px;
  font-weight: bold;
  line-height: 15px;
  margin: 0;
}

/*hutaboshi end*/

/* --- レスポンシブ対応 --- */

/* タブレット（1024px以下）：2列 */
@media (max-width: 1024px) {
  .member-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* スマホ（600px以下）：1列 */
@media (max-width: 600px) {
  .member-grid {
    grid-template-columns: 1fr;
  }
}




@media (max-width: 900px) {
  .trust-profile{
    justify-content: center;
  }

  .trust-stat-grid{
    justify-items: center;
    gap: 34px 14px !important;
  }

  .hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 72px 0;
    background: url(../images/sp-top.png) right / cover no-repeat !important;
  }
}

/* スマホ対応（768px以下は縦1列） */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    gap: 30px;

  }


  /* --- ハンバーガーメニュー追加用CSS --- */
/* --- ハンバーガーメニュー追加用CSS（右端配置版） --- */
.sp-hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 100;
  padding: 0;
}
.sp-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  position: absolute;
  left: 10px;
  transition: all 0.3s ease;
}
.sp-hamburger span:nth-child(1) { top: 14px; }
.sp-hamburger span:nth-child(2) { top: 21px; }
.sp-hamburger span:nth-child(3) { top: 28px; }

/* ボタンのアニメーション（×印化） */
.sp-hamburger.is-active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.sp-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.sp-hamburger.is-active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* スマホ表示（970px以下） */
@media (max-width: 970px) {
  /* 右端にボタンを表示 */
  .sp-hamburger {
    display: block !important;
    margin-left: 8px; /* Contactボタンとの余白 */
  }

  /* ドロワーメニュー */
  header nav {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    z-index: 90;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  header nav.is-open {
    opacity: 1;
    visibility: visible;
  }
  header nav ul {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    font-size: 18px;
  }
  header nav ul li a {
    display: block;
    padding: 8px 16px;
  }
}

/* --- ハンバーガーボタンを右端に強制固定 --- */
@media (max-width: 970px) {
  /* ヘッダー全体を左右均等・端揃えに強制 */
  header .wrap {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative;
  }

  /* 1. ロゴを左端に固定 */
  header .brand {
    order: 1 !important;
    margin-right: auto !important; /* これでロゴ以降の要素がすべて右端へ押し出されます */
  }

  /* 2. Contactボタン（PC用は消し、スマホ用Contactのみ表示） */
  header a.nav-cta.sp-none {
    display: none !important;
  }
  header a.nav-cta.pc-none {
    display: inline-block !important;
    order: 2 !important;
    margin-left: 0 !important;
  }

  /* 3. ハンバーガーボタンを一番右端へ */
  .sp-hamburger {
    display: block !important;
    order: 3 !important;
    margin-left: 10px !important;
  }
}

/* --- ハンバーガーボタンを右上に強制配置 --- */
@media (max-width: 970px) {
  /* ヘッダー全体を基準にする */
  header .wrap {
    position: relative !important;
  }

  /* ハンバーガーボタンを右端に絶対配置 */
  .sp-hamburger {
    display: block !important;
    position: absolute !important;
    right: 24px !important; /* 画面右端からの余白（wrapのpaddingに合わせて調整） */
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    left: auto !important; /* 左固定を解除 */
  }

  /* Contactボタンが被らないよう少し左に寄せる */
  header a.nav-cta.pc-none {
    margin-right: 50px !important;
  }
}

  /* 2. スマホ時の各要素の幅を100%に収める調整 */
@media (max-width: 970px) {
body {
  word-break: normal;
  overflow-wrap: anywhere;
}
  
  /* フッターの横並び強制を解除 */
  footer .foot-grid {
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }
  .foot-col-1 {
    max-width: 100% !important;
  }

  /* 特徴量エリアの固定幅を解除 */
  .feature-photo,
  .feature-num,
  .feature-num2 {
    flex: 0 1 auto !important;
    width: 100% !important;
  }

  /* 専門性セクションの最小幅リセット */
  .formula-item {
    min-width: 0 !important;
    width: 100% !important;
  }

  .formula-result {
    min-width: 0 !important;
    width: 100% !important;
  }

  /* 画像の自動縮小を徹底 */
  .formula-row img,
  .value-grid img {
    max-width: 100% !important;
    height: auto !important;
  }
}
}