﻿@charset "utf-8";

:root {
  --main_color1: #172e7d;
  --main_color1_right: #366cad;
  --main_color2: #e26a39;
  --main_color2_right: #e78937;
  --main_color1_bg: #e9f5fc;
  --main_color2_bg: #fcece3;
  --main_txt: #333332;

}

/* ==========================================================================
   1. リセット & 全体設定（基本のキ）
   ========================================================================== */
* {
  box-sizing: border-box;
  /* 余白を含めたサイズ計算にする（超重要） */
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  /* 行間を広げて文字を読みやすく */
  color: #333333;
  /* 真っ黒にしないことで目が疲れにくくなる */
  background-color: #ffffff;
}

/* リンクの初期設定 */
a {
  color: #0066cc;
  text-decoration: none;
  transition: opacity 0.3s;
  /* ホバー時にふわっとさせる */
}

a:hover {
  opacity: 0.7;
}

/* 画像が画面からはみ出るのを防ぐ */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ==========================================================================
   2. レイアウト（先ほど解説した最強の器セット）
   ========================================================================== */

/* 内枠：中身を中央にギュッと収める用 */
.inner {
  width: 100%;
}

/* ==========================================================================
   3. 便利な汎用パーツ（パーツ集）
   ========================================================================== */

/* 2〜3枚のカードを横並びにする（Flexbox） */
.flex-group {
  display: flex;
  flex-wrap: wrap;
  /* スマホで折り返せるようにする */
  gap: 20px;
  /* 要素同士のスキマを一発で空ける */
}

/* 横並びにする際の中身（スマホ時は1枚、PC時は3枚横並び） */
.flex-item {
  flex: 1 1 100%;
  /* スマホ時は横幅100% */
}

@media (min-width: 768px) {
  .flex-item {
    flex: 1;
    /* PC時は均等に横並び */
  }
}

/* 使いやすいボタンのベース */
.btn {
  display: block;
  width: fit-content;
  /* 文字数に合わせた幅にする */
  min-width: 200px;
  /* 最低限のボタンらしさを保つ幅 */
  margin: 20px auto;
  /* ブロック自体を中央寄せ */
  padding: 12px 24px;
  background-color: #0066cc;
  color: #ffffff;
  text-align: center;
  /* 中の文字を中央寄せ */
  border-radius: 4px;
  /* ほんのり角丸 */
  font-weight: bold;
}

.btn:hover {
  color: #ffffff;
  /* ホバー時に文字色が変わるのを防ぐ */
}

/* テキストや画像をサクッと真ん中にしたい時用のクラス */
.text-center {
  text-align: center !important;
}


/* すべてのデバイス（主にスマホ）向けのスタイル */
/* ベース：スマホ向け（〜767px） */
.container {
  width: 90%;
  margin: 0 auto;
}

#header {
  background-image: url('../img/topMV.webp');
  width: 100%;
  aspect-ratio: 1530 / 868;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#header2 {
  background-image: url('../img/headerBg.webp');
  width: 100%;
  aspect-ratio: 1530 / 868;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.header {
  margin-bottom: 50px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 50px;
}

.footer {
  align-items: center;
  text-align: center;
}

.main {}

.sectionMC {

}

.sectionBottomBorder{
    border-bottom: #bebebf solid 1px;
    padding-bottom: 30px;
}
.sectionMC_p {
  font-size: small;
  line-height: 1.6;
  margin-top: 20px;
}
.sectionMC_img{
}

.pc {
  display: none;
}

.sp {
  display: block;
}

.headerLogo {
  flex-basis: 40%;
  /* または width: 30%; */
  max-width: 40%;
  /* 広がりすぎを防止 */
  box-sizing: border-box;
    margin: 10px;
}

.headerMenu {
  flex-basis: 60%;
  /* または width: 70%; */
  max-width: 60%;
  display: flex;
  justify-content: flex-end;
  padding-right: 20px;
}


/* ↓ ハンバーガーボタンの3本線 */
.c-hamburger-menu__button-mark {
  background-color: white;
  /* カスタマイズしてください */
  display: block;
  height: 1px;
  /* カスタマイズしてください */
  transition: 0.3s;
  /* カスタマイズしてください */
  width: 20px;
  /* カスタマイズしてください */
}

.c-header__list {
  display: flex;
  flex-direction: row;
  /* 横並びを強制 */
  justify-content: flex-end;
  /* 右詰めで並べる */
  align-items: center;
  gap: 30px;
  font-size: medium;
      margin-top: 20px;
}

.c-header__list-item {
  border-bottom: solid 0px;
  border-color: darkgray;
  margin-bottom: 5px;
  white-space: nowrap
}

.c-header__list-link {
  color: #172e7d;
}



/* ハンバーガーメニュー　ここから */
/* ↓ ハンバーガーメニュー全体の基準位置 */
.c-hamburger-menu {
  position: relative;
  display: flex;
  width: 100%;
}


/* ↓ チェックボックスを非表示 */
.c-hamburger-menu__input {
  display: none;
}

/* ↓ メニューを開いた時の背景オーバーレイ */
.c-hamburger-menu__bg {
  background-color: #000;
  /* カスタマイズしてください */
  cursor: pointer;
  display: none;
  height: 100vh;
  left: 0;
  opacity: 0.4;
  /* カスタマイズしてください */
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}

/* ↓ チェック時に背景を表示 */
#hamburger:checked~.c-hamburger-menu__bg {
  /* display: block; */
}

/* ↓ ハンバーガーボタン（PC時は非表示） */
.c-hamburger-menu__button {
  display: none;
}

.sectionMCimg{
    margin: 40px auto 0;
}

.section_h1_span{
  color: var(--main_txt);
  font-size: 0.8rem;

}

/* -----------------------------------------
 * 全体コンテナ（横幅800px固定、中央寄せ）
 * ----------------------------------------- */
.news-container {
  width: 100%;
  max-width: 800px; /* PCでの最大幅 */
  margin: 20px auto;
  box-sizing: border-box;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #cccccc;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  background-color: #ffffff;
}


.news_item {
  border-bottom: 1px solid #cccccc;
  padding: 10px;
}

.news-link {
  display: flex;
  text-decoration: none;
  color: #333333;
  transition: background-color 0.2s ease;
    flex-direction: column; /* 縦並びにする */
}

.news-link:hover {
  background-color: #f9f9f9;
}

/* カテゴリ・お知らせラベル */
.news-label {
  display: inline-block;
  width: 90px;
  text-align: center;
  border: 1.5px solid #1e3a8a;
  border-radius: 20px;
  color: #1e3a8a;
  font-size: 10px;
  font-weight: bold;
  flex-shrink: 0;
}
  /* 日付とラベルを横並びにするエリア */
  .news-meta {
    display: flex;
    align-items: center;
    gap: 15px;            /* 日付とラベルの間隔 */
    margin-bottom: 10px;  /* タイトルとの間隔 */
  }

  .news-date {
    font-size: 14px;
    color: #555555;
    letter-spacing: 0.05em;
  }

  .news-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

/* =========================================================
 * 泰進建設について (sectionAbout) 
 * ========================================================= */
.sectionInner{
  align-items: center;
}

.sectionInnerBlue {
  background: linear-gradient(to bottom, #ffffff 0%, #cfe7f5 50%, #ffffff 100%);
}
.sectionInnerWhite {
  background: #ffffff;
}
.sectionInnerWhite {
}

.section_h1 {
  margin-top: 20px;
  margin-bottom: 15px;
  text-align: center;
  font-size: 25px;
  margin-top: 20px;
}

.section_h1_blue {
  color: var(--main_color1);
}

.section_h1_orange {
  color: var(--main_color2);
}

.sectionAboutTxt p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--main_txt);
  margin-bottom: 25px;
}

.sectionAboutImg {
  text-align: center;
  width: 100%;
  max-width: 450px; /* スマホで画像が大きくなりすぎないよう制限 */
  margin-bottom: 25px;
  order: 2;
  width: 70%;
    margin: 0 auto;
}

/* ボタンのデザイン再現 */
.sectionBtn {
  display: block;
  width: fit-content;
  min-width: 180px;
  margin: 10px auto 0;
  padding: 12px 24px;
  text-align: center;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.3s;
  order: 3;
}
  .sectionBtn2{
font-size: 18px;
  }

.sectionBtnBlue {
  color: var(--main_color1);
  border: 1px solid var(--main_color1); /* 濃い青の枠線 */
  background-color: var(--main_color1_bg); /* 薄い青の背景 */
}
.sectionBtnOrange {
  color: var(--main_color2);
  border: 1px solid var(--main_color2); /* 濃い青の枠線 */
  background-color: var(--main_color2_bg); /* 薄い青の背景 */
}
.sectionBtnWhite {
  color: var(--main_color1);
  border: 1px solid var(--main_color1); /* 濃い青の枠線 */
  background-color: white; /* 薄い青の背景 */
}

.sectionBtnBlue:hover {
  background-color: var(--main_color1_bg);
}
.sectionBtnOrange:hover {

}
.sectionBtnWhite:hover {
  background-color: #d0e9f9;

}

.sectionRecruit{


}
.sectionAboutTxt{
  order: 1;
  padding: 10px;
}

.sectionImgTxt{
    display: flex;
    flex-direction: column;
}

.sectionMovTxt {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;       /* ボタン・見出し同士のすき間 */
  width: 100%;
    align-content: flex-start; 
    gap: 12px; 
  }

/* 見出しは横幅100%にして最上部に固定する */
.sectionMovTxt .section_h1 {
  width: 100%;
  margin-bottom: 8px; /* ボタンとの距離 */
  text-align: center; /* スマホ時は中央寄せ */
}

/* ボタンの共通基本デザイン */
.sectionAppBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 6px); /* スマホ時は横並び2列（gap分の6pxを差し引く） */
  font-size: 14px;
  text-decoration: none;
  border-radius: 20px;
  box-sizing: border-box;
  text-align: center;
  transition: opacity 0.3s, transform 0.2s;
  background-color: white;
      height: 30px;
}

.sectionAppBlue{
  color: var(--main_color1);
}
.sectionAppOrange{
  color: var(--main_color2);
}
.sectionAppBlack{
  color: var(--main_txt);
}
.sectionBlueBg{
background-color: var(--main_color1_bg);
}
.letterSpace12{
    letter-spacing: 0.12em;
}

.header_kaso{
  margin-bottom: 0px;

}
.section_h1_kaso{
      font-size: x-large;
      margin-top: 0;
      margin-bottom: 10px;
      font-weight: bold;
}
.section_h1_kasoTxt{
padding: 10px;
}

.section_h1_p{
  padding: 0 20px;
}
.section_main_h1{
    font-weight: bolder;
    font-size: 28px;
  }
.section_main_h2 {
  display: flex;
  align-items: center;    /* 💡画像と文字の縦位置を中央で揃える */
  gap: 10px;              /* 💡画像と文字の間のすき間（お好みで調整） */
  font-size: 24px;
  justify-content: center;
  margin-bottom: 10px;
}

/* 💡 ::before を使って、文字の前に自動で画像を差し込む */
.section_main_h2::before {
  content: "";            /* 必須：中身は空っぽで指定 */
  display: block;
  
  /* ▼ 表示したい画像のパスを指定 */
  background-image: url("../img/h2TitleBefor.webp"); 
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  
  /* ▼ 画像を表示させたいサイズ（カンプに合わせて調整してください） */
  width: 60px;            /* 横幅 */
  height: 30px;           /* 高さ */
  
  flex-shrink: 0;         /* 画面が狭くなっても画像が潰れないようにする */
}

.dataTable02{
  display: block;
    border: 1px solid #e6e6e6;
    padding: 3px;
        width: 700px;

}
.dataTable02 tr {
    align-items: baseline;
    height: 100%;
    background: #e6e6e6;
}
.dataTable02 .heading {
    flex-shrink: 0;
    border-bottom: 1px solid #fff;
    min-width: 75px;
    padding: 5px;

}
.dataTable02 .sameSize {
    background: #fff;
    padding: 16px 32px;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;            /* 💡横方向にはみ出た場合、自動でスクロールバーを出す */
  -webkit-overflow-scrolling: touch; /* スマホで慣性スクロールを効かせて滑らかにする */
  margin-bottom: 20px;
}

.table-wrap table {
  min-width: 500px;            /* 💡重要：スマホでもテーブルがこれ以上潰れない最小の横幅（カンプに合わせて 500px〜600px 等に調整） */
  border-collapse: collapse;
}
.c-label {
    align-items: center;
    border: none;
    border-radius: 4px;
    color: #fff;
    display: inline-flex;
    font-weight: normal;
    height: 24px;
    line-height: 1;
    padding: 1px 8px !important;
    white-space: nowrap;
}
.c-label-03 {
    background: #3c91cc;
}

#startSalary table {
    border-top: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
    /* table-layout: fixed; */
    /* margin-bottom: 8px; */
}
#startSalary table th {
    min-width: auto;
    padding: 10px;
    width: auto;
    border-right: 1px solid #fff;
    text-align: center;
}
#startSalary table th:last-child {
    border-right: 1px solid #e6e6e6;
}
#startSalary table .courseName, #startSalary table .courseData {
    border-right: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    padding: 10px;
        text-align: right;
}
#startSalary table .courseRow {
    background: #fff;
    height: 60px;
}
#startSalary table .courseName {
    text-align: left;
    vertical-align: middle;
}

.order1{
  order: 1;
}

.order2{
  order: 2;
}

.displayGridFlex{
  display:grid;
}
.btnArea{
  margin: 0px auto 20px;
}
.internImgBlock{
  margin: 10px;
  gap:20px;
}
.linkBtnArea{
    width: 50%;
    margin: 0 auto;
}
.linkBtnAreaImg{
  margin: 20px;
}

td{
  vertical-align: middle;
}
.tdUl{
     display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.c-header__logo{
    display: block;
    width: 150px;
}
.setsumeikaiImg{
width:60%;
margin:20px;
}

.headerMvImg{
    width: 90%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding-bottom: 10px;
}
/* インタビューエリア全体の最大幅と中央寄せ */
.interview-block {
  width: 100%;
  max-width: 700px; /* mainのコンテンツ幅に合わせます */
  margin: 40px auto;
  font-family: "Noto Sans JP", sans-serif;
}

/* 質問（Question）の見出し部分 */
.interview-q {
  color: #172e7d; /* 泰進建設様のコーポレートカラーの濃い青 */
  font-size: 22px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* 「Question」の英語テキスト */
.q-label {
  font-size: 16px;
  font-weight: normal;
  color: #172e7d;
  display: inline-block;
  margin-bottom: 5px;
}

/* 回答（Answer）文のグラデーション背景と余白 */
.interview-a {
  font-size: 14px;
  color: #333333;
  padding: 20px;
  border-radius: 6px;
  /* 💡カンプ通りの「左から右へ白➔薄い青➔白」になる美しいグラデーション */
  margin-bottom: 30px;
      line-height: 1.8;
}

/* 下部メディア（YouTube）配置エリア */
.interview-media {
  display: flex;
  justify-content: center; /* 横方向の中央寄せ */
  align-items: center;
  width: 100%;
}

/* YouTube仮置きのテキスト用（本物の埋め込み時は不要な指定です） */
.video-placeholder {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #666;
  font-size: 14px;
  border-radius: 4px;
}

.section_main_h2_3{
      font-size: x-large;
    justify-content: center;
        text-align: center;
}
.margin_bottom0{
  margin-bottom:0;
}
.margin_bottom20{
  margin-bottom:20px;
}
.interviewTitleAreaImg{
      margin-top: 10px;
}

.flex5{
  flex:5;
}

.aboutDxArea{

}

.aboutDxAreaImg{
    margin: 0 auto 20px;
}

.aboutDxAreaTxt{
}

.lineHeight16{
      line-height: 1.6;
}

.justifyLeft{

}

.paddingTop0{

}
.marginBottom0{
  margin-bottom: 0;
}

.headerImg{
    width: 70%;
    margin: 0 auto;

}

.headerLeft{
  margin-top: 20px;
}

/* ==========================================
   YouTube動画のレスポンシブ対応（はみ出し防止）
   ========================================== */
.video-container {
  position: relative !important;
  width: 100% !important;
  max-width: 560px !important; /* パソコンで見たときに大きくなりすぎないように制限（お好みで調整可） */
  margin: 0 auto !important;   /* 動画を中央寄せにする */
  aspect-ratio: 16 / 9 !important; /* 縦横比をYouTube標準の16:9に固定 */
}

.video-container iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;  /* 親要素の幅いっぱいに広げる */
  height: 100% !important; /* 親要素の高さいっぱいに広げる */
}


/* ==========================================
   H1タイトルの前後にbefore/afterで画像を配置
   ========================================== */
.section_main_h1_img {
  display: flex !important;
  align-items: center !important;   /* 文字と画像を縦方向の中央で綺麗に揃える */
  justify-content: center !important; /* タイトル全体を画面の中央に寄せる */
  gap: 15px !important;              /* 画像と文字の間の隙間（お好みで調整してください） */
}

/* 文字の「前（左側）」に画像を配置 */
.section_main_h1_img::before {
  content: "" !important;
  display: inline-block !important;
  width: 60px !important;           /* 画像を表示したい横幅 */
  height: 60px !important;          /* 画像を表示したい縦幅 */
  background-image: url("../img/chara7.webp") !important; /* 前に置きたい画像のパス */
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* 文字の「後ろ（右側）」に画像を配置 */
.section_main_h1_img::after {
  content: "" !important;
  display: inline-block !important;
  width: 60px !important;           /* 画像を表示したい横幅 */
  height: 60px !important;          /* 画像を表示したい縦幅 */
  background-image: url("../img/chara8.webp") !important; /* 後ろに置きたい画像のパス */
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.news_wrapper{
  display: flex;
      justify-content: center;
      align-items: center;
}
.news_wrapper::before {
  content: "" !important;
  display: inline-block !important;
  width: 50px !important;           /* 画像を表示したい横幅 */
  height: 50px !important;          /* 画像を表示したい縦幅 */
  background-image: url("../img/chara1.webp") !important; /* 前に置きたい画像のパス */
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}
.news_wrapper::after {
  content: "" !important;
  display: inline-block !important;
  width: 50px !important;           /* 画像を表示したい横幅 */
  height: 50px !important;          /* 画像を表示したい縦幅 */
  background-image: url("../img/chara2.webp") !important; /* 後ろに置きたい画像のパス */
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}


/* ==========================================
   先輩インタビュー：タイトル下のキャラクター画像を左右センターにする
   ========================================== */
.interviewTitleAreaTxt div:has(img[src*="chara5"]),
.interviewTitleAreaTxt div:has(img[src*="chara6"]) {
  display: flex !important;
  justify-content: center !important; /* 🟢【最重要】中の画像を左右の真ん中に寄せます */
  align-items: center !important;
  width: 100% !important;
  margin: 20px !important;        /* 文字との間の上の余白（お好みで調整してください） */
}

.interviewTitleAreaTxt div:has(img[src*="chara5"]) img,
.interviewTitleAreaTxt div:has(img[src*="chara6"]) img {
  display: block !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/* ==========================================
   pタグのテキストブロック内で、chara3の画像を左右センターにする
   ========================================== */
.interviewTitleAreaTxt img[src*="chara3"],
.interviewTitleAreaTxt img[src*="chara4"] {
  display: block !important;       /* 🟢 1文字の扱い（インライン）から、独立した1行（ブロック）に強制変更 */
  margin: 20px auto 0 !important;  /* 🟢 左右を「auto」にすることで、pのブロック内で絶対にど真ん中（センター）になります */
  max-width: 100% !important;
  height: auto !important;
}











/* ----------------------------------------------- */
/* ここからレスポンシブ */
/* ----------------------------------------------- */


/* ↓ スマホ時のメニューリスト（左からスライドイン） */
/* @media screen and (max-width: 767px) { */
  .c-hamburger-menu__list {
    background-color: #eeeeee;
    /* カスタマイズしてください */
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    /* left: 0; */
    padding: 2rem;
    /* カスタマイズしてください */
    position: absolute;
    transform: translateX(-120%);
    /* 初期状態は画面外 */
    transition: 0.3s;
    /* カスタマイズしてください */
    top: 100%;
    width: 100%;
    position: fixed !important;
  top: 60px !important;
  right: 0 !important;
  z-index: 99998 !important;

  /* 🟢 ここを書き換えます */
  transform: translate(100%, 0) !important;
  }

  /* ↓ チェック時にメニューを表示 */
  #hamburger:checked~.c-hamburger-menu__list {
    transform: translateX(0%);
    transition: 0.3s;
    width:340px;
    transform: translate(0, 0) !important;
    top: 60px !important;
    right: 6% !important;
  }

  /* ↓ スマホ時のハンバーガーボタン */
  .c-hamburger-menu__button {
    align-items: center;
    appearance: none;
    background-color: #172e7d;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    /* カスタマイズしてください */
    height: 42px;
    /* カスタマイズしてください */
    justify-content: center;
    width: 42px;
    /* カスタマイズしてください */
    border-radius: 10%;
    margin-top: 20px;
  }

  .c-header__list-item {
    display: block;

    border-bottom: solid 1px;
    border-color: darkgray;
    width: 100%;
    margin-bottom: 5px;
  }

/* ↓ チェック時に3本線を×マークに変形 */

  /* 🟢【修正】1本目：右下に回転 */
  .c-hamburger-menuArea:has(#hamburger:checked) .c-hamburger-menu__button .c-hamburger-menu__button-mark:nth-of-type(1) {
    transform: translate(2px, 1px) rotate(45deg) !important;
    transform-origin: 0% !important;
  }

  /* 🟢【修正】2本目：非表示 */
  .c-hamburger-menuArea:has(#hamburger:checked) .c-hamburger-menu__button .c-hamburger-menu__button-mark:nth-of-type(2) {
    opacity: 0 !important;
  }

  /* 🟢【修正】3本目：右上に回転 */
  .c-hamburger-menuArea:has(#hamburger:checked) .c-hamburger-menu__button .c-hamburger-menu__button-mark:nth-of-type(3) {
    transform: translate(2px, 3px) rotate(-45deg) !important;
    transform-origin: 0% !important;
  }/* } */

/* ハンバーガーメニュー　ここまで */


/* 768px以上：PC・タブレット向けの調整用 */
@media screen and (min-width: 768px) {
  .container {
    width: 100%;
    max-width: 1024px;
    /* サイト全体の最大幅 */
    margin-left: auto;
    margin-right: auto;
  }

  .header {}

  .headerLogo {
  }

  .footer {
    margin: 30px;
  }

  .main {
    width: 780px;
        margin: 0 auto;
  }


  .section_h1 {
        font-size: 32px;  
      }
.sectionMC_p {
  margin: 0 auto;
  margin-top: 20px;
  width:700px;
}

.sectionMC_img{
display: block;      /* ← 画像をブロック要素にする（超重要） */
  margin-top: 40px;    /* 既存の設定 */
  margin-left: auto;   /* ← 左側の余白を自動（自動で押し出す） */
  margin-right: auto;  /* ← 右側の余白を自動（自動で押し出す） */
        width: 60%;
}

  .pc {
    display: block;
  }

  .sp {
    display: none;
  }

  .headerMenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* 右寄せにする */
    flex-grow: 1;
    /* 利用可能な幅をいっぱいに広げる */
    max-width: 70%;
    /* ロゴを圧迫しない程度に広げる */
    padding-right: 20px;
    align-items: flex-start;
  }

.sectionBottomBorder{
    padding-bottom: 30px;
    margin: 0 auto;
}
.news-container {
    padding: 0; /* PC時はコンテナの左右パディングをリセット */
  }
.news_item{
      padding: 18px 24px;
          display: flex;

}
  .news-link {
    flex-direction: row; /* 横並びにする */
    align-items: center; /* 垂直中央揃え */
  }

  .news-meta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-bottom: 0px;
  }

  /* PC時は日付の幅を固定 */
  .news-date {
    width: 100px;
    flex-shrink: 0;
    font-size: 14px;
    color: #555555;
    letter-spacing: 0.05em;
  }

  /* ラベルの右側に余白を持たせる */
  .news-label {
    margin-right: 24px;
  }

  .news-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    flex-grow: 1;
  }
 
  /* --- PC時の泰進建設についてレイアウト調整 --- */
  .sectionAboutInner {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 左右2カラムに等分割 */
    column-gap: 40px;
    align-items: center;
    width: 700px; /* mainの横幅に合わせる */
    margin: 0 auto;
    padding: 20px 0;
  }

  /* 画像を左側（1列目）に配置 */
  .sectionAboutImg {
    grid-column: 1;
    grid-row: 1 / 4; /* 見出しからボタンまでの高さ分を結合 */
    margin-bottom: 0;
            width: 50%;
            order: 1;
      display: flex;
    align-items: center;
    flex: 5;
  }
  .sectionMovImg {
                order: 2;
  }
  /* テキスト・見出し・ボタンを右側（2列目）に配置し、それぞれの行に配置 */
  .sectionAbout .section_h1 {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    margin-bottom: 15px;
    font-size: 30px;
  }

  .sectionAboutTxt {
    grid-column: 2;
    grid-row: 2;
           width: 50%; 
           order:2;
           flex: 5;
  }
  .sectionMovTxt {
                order: 1;
  }

  .sectionAboutTxt p {
    margin-bottom: 0;
  }

  .sectionBtn {
    grid-column: 2;
    grid-row: 3;
    margin: 25px auto; /* PC時は左寄せに配置 */
        font-size: 18px;
    width: 250px;
            height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
            margin: 0;
  }
.sectionImgTxt{
flex-direction: row;
gap: 5%;
        width: 90%;
        margin: 0 auto;
      }
.sectionInnerApp{
    width: 900px;
    margin: 0 auto;

}
.table-wrap table {
    min-width: 100%;           /* PC時はスクロールさせず、領域100%に広げる */
  }
.displayGridFlex{
  display:flex;
  gap: 100px;
}
.internImgBlock{
  display:flex;
}

.kasoHeaderLay{
  display: flex;
  width: 700px;
  margin: 20px auto;
  align-items: center; 
}
.headerLeft{
  margin-top: 20px;
  align-items: self-start;
}

.section_h1_kaso{
  text-align: left;
}
#header2{
  aspect-ratio: 1530 / 568;
}
.linkBtnArea{
  width: 40%;
  justify-content: flex-end;
  flex:5;
}
.btnArea{
  flex:5;
}
.section_main_h2{

    font-size: 24px;
    text-align: right;
    justify-content: center;
}
.section_main_h2_center{
    text-align: center;
}
.c-header__logo {
  width: 240px;
    margin-top: 0px;
}
.section_h1Top{
  font-size: 30px;
}
.fontSize30{
font-size: 30px;

}
.linkBtnAreaImg{
  width: 60%;
}
.setsumeikaiImg{
width:40%;
}

.interview-q {
    font-size: 24px;
    font-weight: 400;
  }
  .interview-a {
    font-size: 14px;
    padding: 25px 30px;
  }
.sectionBtnTop{
  margin: 0 auto;
  font-weight: 400;
  font-size: 14px;
}
.interviewTitleArea{
      display: flex;
              gap: 20px;
}
.interviewTitleAreaTxt{
      flex:4;
      align-items: self-start;
}
.interviewTitleAreaImg{
      flex:6;
}
.section_main_h2_2{
  font-size: 30px;
  justify-content: right;
  text-align: right;
}
.section_main_h2::before {
    width: 100px;
    height: 70px;
}
.section_main_h2_3{
text-align: right;
font-size: 24 px;
}
.q-label{
font-weight: bold;
        font-size: 18px;
}
.interview-block{
  max-width: 900px;
}

.margin_bottom20{
  margin-bottom:20px;
}
.imgW{
      width: 80%;
}
.flex5{
  flex:5;
}
.aboutDxAreaImg{
      width: 60%;
}
.aboutDxAreaTxt{
width: 780px;
    margin: 0 auto;
}
.justifyLeft{
  justify-content: left;

}
.paddingTop0{
  padding-top: 0;

}
.marginBottom0{
}

.headerLogo {
    max-width: 30%;
}

.headerImg{
    width: 100%;

}

  #hamburger:checked~.c-hamburger-menu__list {
    right: calc(50% - 570px + 6%) !important;
  }

.news_wrapper::before {
  width: 100px !important;           /* 画像を表示したい横幅 */
  height: 100px !important;          /* 画像を表示したい縦幅 */
}
.news_wrapper::after {
  width: 100px !important;           /* 画像を表示したい横幅 */
  height: 100px !important;          /* 画像を表示したい縦幅 */
}


}



/* ==========================================
   ハンバーガーメニュー（ボタンと中身）のスクロール追従設定
   ========================================== */

/* 1. メニューのボタン（三本線）を画面の右上に完全固定 */
.c-hamburger-menuArea {
  position: fixed !important;  /* 画面全体に対してボタンを固定 */
  top: 5px !important;        /* 調整していただいたロゴの高さ（中央） */
  z-index: 99999 !important;   /* 何が何でも一番手前に表示 */

}

/* 2. ボタンを押した時に出てくるメニューの「中身（ピンクのエリア）」も画面に固定 */
.headerMenu .c-hamburger-menu__nav {
  position: fixed !important;  /* メニューの中身全体も画面に固定して追従させる */
  top: 0 !important;           /* 画面の最上部から表示 */
  right: 0 !important;          /* 画面の右端にぴったり合わせる */
  height: 100vh !important;    /* メニューの縦幅を画面の高さ100%に固定 */
  z-index: 99998 !important;   /* ボタンのすぐ後ろ（手前から2番目）に配置 */
  
  /* スライド動作（アニメーション）を邪魔しないように、元のtransform設定は生かします */
}
