/*求人ページメインスライドショー
---------------------------------------------------------------------------*/
/* =========================
   スライド全体
========================= */

.recruit_main_slideshow {
  position: relative;
  width: 100%;
  height: calc(100vh - 120px);
  overflow: hidden;
  background: #000;
}

/* =========================
   スライド（重要：常に表示状態）
========================= */

.recruit_main_slideshow_slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  pointer-events: none;

  transition: opacity 1.4s ease;

  z-index: 1;
}

/* 表示中 */
.recruit_main_slideshow_slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* 画像 */
.recruit_main_slideshow_slide img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.06);
  transition: transform 8s ease;

  will-change: transform;
}

.recruit_main_slideshow_slide.active img {
  transform: scale(1);
}

/* オーバーレイ（常に安定表示） */
.recruit_main_slideshow_slide::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.2),
    rgba(0,0,0,0.1)
  );

  z-index: 1;
}

/* =========================
   テキスト
========================= */

.recruit_main_slideshow_content {
  position: absolute;
  z-index: 5;

  top: 50%;
  left: 8%;

  transform: translateY(-50%) translateX(40px);
  opacity: 0;

  color: #fff;
  max-width: 650px;

  transition: opacity 0.9s ease, transform 1s ease;
}

.recruit_main_slideshow_slide.active .recruit_main_slideshow_content {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.recruit_main_slideshow_sub {
  font-size: 14px;
  letter-spacing: 0.28em;
  margin-bottom: 20px;
  color: #9cc8ff;
}

.recruit_main_slideshow_content h2 {
  font-size: clamp(42px, 6vw, 88px);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 30px;
}

.recruit_main_slideshow_content span {
  display: block;
  width: 90px;
  height: 2px;
  background: #fff;
  margin-bottom: 30px;
}

.recruit_main_slideshow_text {
  font-size: 18px;
  line-height: 2;
  color: rgba(255,255,255,0.92);
}

/* =========================
   ドット
========================= */

.recruit_main_slideshow_nav {
  position: absolute;
  bottom: 28px;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: center;
  gap: 14px;

  z-index: 20;
}

.recruit_main_slideshow_nav button {
  width: 12px;
  height: 12px;

  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);

  cursor: pointer;
  transition: all 0.4s ease;
}

.recruit_main_slideshow_nav button.active {
  width: 42px;
  border-radius: 30px;
  background: #fff;
}

/* =========================
   Responsive
========================= */

@media screen and (max-width: 768px) {

  .recruit_main_slideshow {
    height: 85svh;
  }

  .recruit_main_slideshow_content {
    width: calc(100% - 40px);
    left: 20px;
    max-width: 100%;
  }

  .recruit_main_slideshow_sub {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .recruit_main_slideshow_content h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .recruit_main_slideshow_content span {
    width: 60px;
    margin-bottom: 20px;
  }

  .recruit_main_slideshow_text {
    font-size: 13px;
    line-height: 1.9;
  }
}

/*社員インタビュー
---------------------------------------------------------------------------*/
/* ===== 全体レイアウト（1:2） ===== */
.flow_wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* ===== 画像（1） ===== */
.flow_image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.flow_image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== フロー（2） ===== */
.flow_design10 {
  flex: 2;
  display: flex;
  justify-content: center;
}

.flow_interview {
  display: inline-block;
  padding-left: 0;
  margin: 0;
  text-align: left;
}

.flow_interview > li {
  list-style: none;
  border: 2px solid #4D9BC1;
  padding: 20px;
  border-radius: 20px;
}

.flow_interview > li:not(:last-child) {
  margin-bottom: 40px;
  position: relative;
}

.flow_interview > li:not(:last-child)::after {
  content: '';
  position: absolute;
  border: 20px solid transparent;
  bottom: -53px;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: #4D9BC1;
}

.flow_interview > li dl dt {
  font-size: 1.3em;
  font-weight: bold;
  border-bottom: 2px dashed #ccc;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
}

.flow_interview > li .icon10 {
  color: #4D9BC1;
  margin-right: 0.5em;
}

.flow_interview > li dl dd {
  margin: 0;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .flow_wrap {
    flex-direction: column;
  }

  .flow_image {
    padding: 0 26px;   /* ← 左右余白 */
    box-sizing: border-box;
  }

  .flow_image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .flow_design10 {
    width: 100%;
  }

  .flow_interview {
    width: 100%;
  }

  /* ★追加：見出しを小さく */
  .flow_interview > li dl dt {
    font-size: 1.1em; /* ここを調整 */
  }
}


/*社員インタビュー(個人ページ)
---------------------------------------------------------------------------*/
/* 全体コンテナ */
.recruit-about {
  padding: 60px 20px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 画像とテキスト横並び */
.recruit-about-content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}

/* 画像 */
.recruit-about-img {
  flex: 1 1 400px;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}

/* テキスト部分 */
.recruit-about-text {
  flex: 1 1 400px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

/* 見出し */
.about_heading_h2 {
  position: relative;
  font-size: 26px;
  margin: 0 0 20px 0;
  text-align: left;
}

.about_heading_h2::before {
  content: attr(data-number);
  display: inline-block;
  margin-right: 20px;
  color: #498ee0;
  font-size: 30px;
  border-bottom: 1px solid #498ee0;
}

/* 文章（画像高さに対して中央） */
.text-wrapper {
  flex: 1;
  display: block;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.text-wrapper p {
  margin: 0;
  line-height: 1.6;
}

/* タブレット・スマホ */
@media(max-width: 768px) {
  .recruit-about-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* 見出しを先頭に */
  .about_heading_h2 {
    order: 0;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
  }

  /* 文章はその次 */
  .text-wrapper {
    order: 1;
    align-items: flex-start;
    margin-bottom: 20px;
    width: 100%;
    text-align: left;
  }

  /* 画像は最後 */
  .recruit-about-img {
    order: 2;
    flex: 1 1 100%;
    max-width: 100%;
  }

  .recruit-about-text {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.dept {
  display: inline-flex;   /* 文字サイズ基準＋安定 */
  width: max-content;     /* 内容に完全フィット */
  flex: 0 0 auto;         /* flexの伸縮を防ぐ */

  padding: 4px 6px;
  margin: 4px;

  font-weight: bold;
  color: white;
  line-height: 1;

  border-radius: 0;       /* カクカク */
  white-space: nowrap;    /* 折り返し防止 */
}

.inspection { background: #4CAF50; }
.general { background: #2196F3; }
.manufacturing { background: #FF9800; }

.past_interview {
  max-width: 1000px;
  padding: 10px 6px;
  margin: 0 auto;
  text-align: left;
}

/*数字で見るタカハシテクノ
---------------------------------------------------------------------------*/

/* ==================================================
   TAKATECH NUMBER - FINAL COMPLETE CSS
================================================== */

.takatech_number{
    width:100%;
    max-width:1280px;
    margin:0 auto;
    padding:100px 12px; /* ←左右固定余白にする */
}

.takatech_number__date{
    margin-bottom:24px;
    font-size:18px;
    color:#444;
}

/* ==================================================
   GRID
================================================== */

.takatech_number__grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}

/* ==================================================
   CARD
================================================== */

.takatech_number__card{
    background:#fff;
    border:1px solid #dddddd;
    padding:30px;
    min-height:430px;
    text-align:center;
}

/* ==================================================
   TITLE
================================================== */

.takatech_number__title{
    margin-bottom:24px;
    font-size:28px;
    font-weight:700;
    color:#111;
}

/* ==================================================
   VALUE (MAIN NUMBER FIXED)
================================================== */

.takatech_number__value{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    gap:8px;
}

.takatech_number__value span{
    font-size:80px;
    line-height:1;
    color:#0068d8;
    font-weight:400;
}

.takatech_number__value small{
    font-size:24px;
    margin-bottom:10px;
}

.takatech_number__caption{
    margin:18px auto 0;
    width:fit-content;
    font-size:14px;
    color:#555;
    line-height:1.8;
    text-align:left;
}

/* ==================================================
   FOUNDING (CLEAN LAYOUT)
================================================== */

.takatech_number__founding{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:24px;
    margin-bottom:20px;
}

.takatech_building{
    width:90px;
    height:110px;
    position:relative;
}

.building{
    position:absolute;
    bottom:0;
}

.building-main{
    left:14px;
    width:60px;
    height:105px;
    background:#8dc5ff;
}

.building-sub{
    right:0;
    width:25px;
    height:80px;
    background:#b8d8ff;
}

/* ==================================================
   TIMELINE
================================================== */

.takatech_number__timeline{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:20px;
}

.takatech_number__line{
    flex:1;
    height:3px;
    background:#0068d8;
    position:relative;
}

.takatech_number__line::before,
.takatech_number__line::after{
    content:"";
    width:12px;
    height:12px;
    border-radius:50%;
    background:#0068d8;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
}

.takatech_number__line::before{ left:-6px; }
.takatech_number__line::after{ right:-6px; }

/* ==================================================
   PERSON ICON
================================================== */

.takatech_person{
    width:32px;
    height:58px;
    position:relative;
    flex-shrink:0;
}

.takatech_person::before{
    content:"";
    width:15px;
    height:15px;
    border-radius:50%;
    background:#0068d8;
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
}

.takatech_person::after{
    content:"";
    width:22px;
    height:36px;
    border-radius:6px;
    background:#0068d8;
    position:absolute;
    top:18px;
    left:50%;
    transform:translateX(-50%);
}

.female::before,
.female::after{ background:#ff5b85; }

.is-gray::before,
.is-gray::after{ background:#d5d5d5; }

.large{ transform:scale(1.15); }
.xl{ transform:scale(1.4); }
.mini{ transform:scale(.85); }

/* ==================================================
   EMPLOYEE
================================================== */

.takatech_number__people{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-bottom:24px;
}

/* ==================================================
   SERVICE
================================================== */

.takatech_service_icon{
    display:flex;
    justify-content:center;
    gap:18px;
    margin-bottom:24px;
}

.takatech_service_detail{
    display:flex;
    gap:12px;
    margin-top:24px;
}

.service_box{
    flex:1;
    background:#f5f8fc;
    border-radius:12px;
    padding:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.service_box span{
    font-size:13px;
}

.service_box strong{
    margin-top:2px;
    color:#0068d8;
    font-size:22px;
    font-weight:400;
}

/* ==================================================
   PROGRESS
================================================== */

.takatech_progress{
    height:34px;
    background:#ececec;
    border-radius:50px;
    overflow:hidden;
    margin:30px 0;
}

.takatech_progress__bar{
    height:100%;
    background:linear-gradient(90deg,#1694ff,#0068d8);
}

.holiday{ width:80%; }
.overtime{ width:12%; }

/* ==================================================
   DONUT
================================================== */

.takatech_donut{
    width:250px;
    height:250px;
    margin:0 auto;
    position:relative;
}

.takatech_donut svg{
    width:100%;
    height:100%;
    transform:rotate(-90deg);
}

.bg{
    fill:none;
    stroke:#ececec;
    stroke-width:18;
}

.paid-circle{
    fill:none;
    stroke:#0068d8;
    stroke-width:18;
    stroke-dasharray:471 534;
}

.takatech_donut__text{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:48px;
    color:#0068d8;
}

/* ==================================================
   GENDER DONUT
================================================== */

.gender-donut{
    display:flex;
    justify-content:center;
    margin-bottom:28px;
}

.gender-ring{
    width:260px;
    height:260px;
    border-radius:50%;
    background:conic-gradient(#ff5b85 0% 19%, #0068d8 19% 100%);
    position:relative;
}

.gender-ring::before{
    content:"";
    position:absolute;
    inset:34px;
    background:#fff;
    border-radius:50%;
}

.gender-center{
    position:absolute;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:28px;
    z-index:2;
}

.gender-divider{
    width:2px;
    height:90px;
    background:#d8d8d8;
}

/* ==================================================
   GENDER INFO
================================================== */

.takatech_gender_people{
    display:flex;
    justify-content:center;
    gap:40px;
}

.gender-box{
    display:flex;
    align-items:center;
    gap:10px;
}

.gender-box span{
    font-size:14px;
    color:#555;
}

.gender-box strong{
    font-size:34px;
    font-weight:400;
}

.gender-box:first-child strong{ color:#0068d8; }
.gender-box:last-child strong{ color:#ff5b85; }

/* ==================================================
   AGE
================================================== */

.takatech_age_people{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-bottom:20px;
}

.age-row{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:12px;
}

.age-row span{
    width:55px;
    font-size:13px;
}

.age-row strong{
    width:60px;
    font-size:13px;
    text-align:right;
}

.age-bar{
    flex:1;
    height:10px;
    background:#e7eef8;
    border-radius:20px;
    overflow:hidden;
}

.age-fill{
    height:100%;
    background:#0068d8;
}

/* ==================================================
   TABLET
================================================== */

@media (max-width:1024px){

    .takatech_number__value span{
        font-size:72px;
    }

    .takatech_donut,
    .gender-ring{
        width:220px;
        height:220px;
    }

    .gender-ring::before{
        inset:30px;
    }
}

/* ==================================================
   SP
================================================== */

@media (max-width:768px){

    .takatech_number{
        padding:60px 0;
    }

    .takatech_number__grid{
        grid-template-columns:1fr;
    }

    .takatech_number__card{
        min-height:auto;
        padding:20px;
    }

    .takatech_number__title{
        font-size:22px;
    }

    .takatech_number__value span{
        font-size:52px;
    }

    .takatech_number__value small{
        font-size:18px;
    }

    .takatech_number__founding{
        flex-direction:column;
        align-items:center;
        text-align:center;
    }

    .takatech_service_detail{
        flex-direction:column;
    }

    .takatech_donut{
        width:180px;
        height:180px;
    }

    .takatech_donut__text{
        font-size:36px;
    }

    .gender-ring{
        width:190px;
        height:190px;
    }

    .gender-ring::before{
        inset:26px;
    }

    .gender-divider{
        height:70px;
    }
}

/* ==================================================
   EXTRA SMALL (〜360px)
================================================== */

@media (max-width:360px){

    .takatech_number{
        padding:40px 0;
    }

    .takatech_number__card{
        padding:14px;
    }

    .takatech_number__title{
        font-size:18px;
    }

    .takatech_number__value span{
        font-size:38px;
    }

    .takatech_number__value small{
        font-size:12px;
        margin-bottom:4px;
    }

    .takatech_building{
        transform:scale(0.8);
    }

    .takatech_donut,
    .gender-ring{
        width:150px;
        height:150px;
    }

    .gender-ring::before{
        inset:22px;
    }

    .takatech_donut__text{
        font-size:30px;
    }

    .gender-center{
        gap:14px;
    }

    .gender-divider{
        display:none;
    }

    .takatech_gender_people{
        flex-direction:column;
        align-items:center;
        gap:10px;
    }

    .takatech_person{
        width:26px;
        height:48px;
    }

    .takatech_person::before{
        width:12px;
        height:12px;
    }

    .takatech_person::after{
        width:18px;
        height:30px;
        top:16px;
    }
}

/* ==================================================
   ULTRA SMALL (〜320px / 300px対応)
================================================== */

@media (max-width:320px){

    .takatech_number{
        padding:32px 0;
    }

    .takatech_number__grid{
        gap:10px;
    }

    .takatech_number__card{
        padding:12px;
    }

    .takatech_number__title{
        font-size:16px;
        margin-bottom:16px;
    }

    .takatech_number__value{
        gap:4px;
    }

    .takatech_number__value span{
        font-size:34px;
    }

    .takatech_number__value small{
        font-size:11px;
        margin-bottom:2px;
    }

    .takatech_number__caption{
        font-size:12px;
        line-height:1.6;
    }

    /* 円グラフ系さらに縮小 */
    .takatech_donut,
    .gender-ring{
        width:135px;
        height:135px;
    }

    .gender-ring::before{
        inset:20px;
    }

    .takatech_donut__text{
        font-size:26px;
    }

    /* 人アイコンさらに圧縮 */
    .takatech_person{
        transform:scale(0.9);
    }

    /* サービスボックス詰め */
    .service_box{
        padding:10px;
        gap:6px;
    }

    .service_box strong{
        font-size:18px;
    }

    /* 性別エリア縦積み強制 */
    .gender-center{
        flex-direction:column;
        gap:10px;
    }

    .gender-divider{
        display:none;
    }

    .gender-box strong{
        font-size:26px;
    }

    /* 横幅が死ぬのを防ぐ */
    .takatech_number__founding{
        gap:12px;
    }
}

/* ==================================================
   MINIMUM SAFE (〜280px)
================================================== */

@media (max-width:280px){

    .takatech_number{
        padding:24px 0;
    }

    .takatech_number__grid{
        gap:8px;
    }

    .takatech_number__card{
        padding:10px;
    }

    .takatech_number__title{
        font-size:15px;
        margin-bottom:12px;
        letter-spacing:0.02em;
    }

    /* 数字エリアを最優先で保護 */
    .takatech_number__value{
        flex-direction:column;
        align-items:center;
        gap:2px;
    }

    .takatech_number__value span{
        font-size:30px;
    }

    .takatech_number__value small{
        font-size:10px;
        margin-bottom:0;
    }

    .takatech_number__caption{
        font-size:11px;
        line-height:1.5;
        margin-top:10px;
    }

    /* 円グラフは最小サイズ維持 */
    .takatech_donut,
    .gender-ring{
        width:120px;
        height:120px;
    }

    .gender-ring::before{
        inset:18px;
    }

    .takatech_donut__text{
        font-size:22px;
    }

    /* 人アイコンは1段縮小 */
    .takatech_person{
        transform:scale(0.8);
    }

    /* 性別エリア完全縦化 */
    .gender-center{
        flex-direction:column;
        gap:6px;
    }

    .gender-divider{
        display:none;
    }

    .gender-box strong{
        font-size:22px;
    }

    .gender-box span{
        font-size:12px;
    }

    /* サービス系は圧縮 */
    .service_box{
        padding:8px;
        gap:4px;
        flex-direction:column;
    }

    .service_box strong{
        font-size:16px;
    }

    .service_box span{
        font-size:11px;
    }

    /* 建物アイコン崩壊防止 */
    .takatech_building{
        transform:scale(0.7);
    }

    /* 余白完全削減 */
    .takatech_number__founding{
        gap:8px;
        flex-direction:column;
    }

    .takatech_number__people{
        gap:6px;
    }
}

@media (max-width:768px){

    .gender-center{
        display:none;
    }
}


/*READ MOREボタン
---------------------------------------------------------------------------*/
.interview_read_more {
    margin-top: 40px;
    display: flex;
    justify-content: center; /* ←中央寄せ */
}

.interview_read_more a {
    display: inline-block;
    position: relative;

    padding: 10px 18px 10px 0; /* ←少し内側に余白を持たせる */

    font-size: 14px;
    font-weight: 500;
    color: #111;

    letter-spacing: 0.05em;
    text-decoration: none;

    transition: 0.25s ease;

    text-align: left;
}

/* 下線 */
.interview_read_more a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    background: #111;

    transform: scaleX(0.5);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.interview_read_more a:hover::after {
    transform: scaleX(1);
}

/* hover */
.interview_read_more a:hover {
    transform: translateX(4px);
}

/* 矢印 */
.interview_read_more a::before {
    content: "";
    position: absolute;
    right: -18px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1px solid #111;
    border-right: 1px solid #111;
    transform: translateY(-50%) rotate(45deg);
}



/*募集要項セクション
---------------------------------------------------------------------------*/
.recruit_section {
  margin-bottom: 80px;
}

/*募集要項見出し
---------------------------------------------------------------------------*/
.recruit_Recruitment_h2 {
  position: relative;
  line-height: 1.4;
  padding: 0.25em 1em;
  display: inline-block;
  top: 0;
}

.recruit_Recruitment_h2:before,
.recruit_Recruitment_h2:after { 
  position: absolute;
  top: 0;
  content: '';
  width: 8px;
  height: 100%;
  display: inline-block;
}

.recruit_Recruitment_h2:before {
  border-left: solid 1px black;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
  left: 0;
}

.recruit_Recruitment_h2:after {
  border-top: solid 1px black;
  border-right: solid 1px black;
  border-bottom: solid 1px black;
  right: 0;
}

/*募集要項の職種選択ボタン
---------------------------------------------------------------------------*/
/* ======================================
求人切替ボタン
====================================== */

.recruit_scroll_button_container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;

    margin: 40px 0 50px;
}

/* ボタン */

.recruit_tab_button {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 12px 16px;

    border: 1px solid #d8d8d8;
    background: #fff;

    color: #222;
    text-align: center;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;

    cursor: pointer;
    transition: .25s ease;
}

/* hover */

.recruit_tab_button:hover {
    border-color: #004da1;
    color: #004da1;
}

/* active */

.recruit_tab_button.active {
    background: #004da1;
    border-color: #004da1;
    color: #fff;
}

/* 下三角 */

.recruit_tab_button.active::after {
    content: "";

    position: absolute;
    bottom: -10px;
    left: 50%;

    transform: translateX(-50%);

    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 10px solid #004da1;
}

/* ======================================
求人切替
====================================== */

/* 初期非表示 */

.recruit_section {
    display: none;
    animation: fade .25s ease;
}

/* 表示 */

.recruit_section.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================================
見出し
====================================== */

.recruit_Recruitment_h2 {
    margin-bottom: 24px;
    padding-bottom: 14px;

    border-bottom: 1px solid #ddd;

    font-size: clamp(1.6rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    color: #222;
}

/* ======================================
スマホ
====================================== */

@media (max-width: 900px) {

    .recruit_scroll_button_container {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .recruit_tab_button {
        min-height: 50px;
        font-size: 14px;
    }

    /* スマホは三角消す */
    .recruit_tab_button.active::after {
        display: none;
    }
}

/*1日の仕事
---------------------------------------------------------------------------*/

.day_schedule {
    position: relative;
}

/* 縦ライン */

.day_schedule::before {
    content: "";

    position: absolute;

    left: 90px;
    top: 0;
    bottom: 0;

    width: 2px;

    background: #d8d8d8;
}

/* ======================================
1項目
====================================== */

.day_item {
    position: relative;

    display: flex;
    gap: 30px;

    padding-bottom: 40px;
}

.day_item:last-child {
    padding-bottom: 0;
}

/* 時間 */

.time {
    width: 90px;

    flex-shrink: 0;

    font-size: 20px;
    font-weight: 700;

    color: #004da1;
}

/* 丸 */

.day_item::before {
    content: "";

    position: absolute;

    left: 84px;
    top: 8px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #004da1;
}

/* ======================================
カード
====================================== */

.day_content {
    position: relative;

    flex: 1;

    display: flex;
    gap: 24px;

    padding: 25px;

    border: 1px solid #e5e5e5;

    background: #fff;

    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}


/* ======================================
画像
====================================== */

.day_image {
    width: 300px;

    flex-shrink: 0;
}

.day_image img {
    width: 100%;
    height: 220px;

    object-fit: cover;

    display: block;
}

/* ======================================
テキスト
====================================== */

.day_text {
    flex: 1;
}

.day_text h3 {
    margin-bottom: 15px;

    font-size: 24px;
    font-weight: 700;

    color: #222;
}

.day_text p {
    line-height: 2;
}

/* ======================================
休憩
====================================== */

.break_time {

    margin: 0 0 40px 120px;

    padding: 20px;

    background: linear-gradient(
        90deg,
        #004da1,
        #0068d9
    );

    color: #fff;

    text-align: center;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: .08em;

    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

/* ======================================
社員の1日の仕事
====================================== */

.day_schedule {
    position: relative;
}

/* タイムライン */

.day_schedule::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 90px;

    width: 2px;

    background: #d8d8d8;
}

/* ======================================
項目
====================================== */

.day_item {

    position: relative;

    display: flex;
    gap: 30px;

    padding-bottom: 40px;
}

/* 時間 */

.day_time {

    width: 90px;

    flex-shrink: 0;

    font-size: 20px;
    font-weight: 700;

    color: #004da1;
}

/* 丸 */

.day_item::before {

    content: "";

    position: absolute;

    top: 7px;
    left: 84px;

    width: 14px;
    height: 14px;

    border-radius: 50%;

    background: #004da1;
}

/* ======================================
カード
====================================== */

.day_card {

    flex: 1;

    display: flex;
    gap: 24px;

    padding: 25px;

    background: #fff;

    border: 1px solid #e5e5e5;

    box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

/* 画像 */

.day_image {

    width: 320px;

    flex-shrink: 0;
}

.day_image img {

    width: 100%;
    height: 220px;

    object-fit: cover;

    display: block;
}

/* テキスト */

.day_text {

    flex: 1;
}

.day_text h3 {

    margin-bottom: 15px;
    padding-bottom: 10px;

    border-bottom: 2px solid #004da1;

    font-size: 24px;
    font-weight: 700;

    color: #222;
}

.day_text p {

    line-height: 2;
}

/* ======================================
休憩
====================================== */

.day_break {

    margin: 0 0 40px 120px;
    padding: 18px;

    background: #004da1;

    color: #fff;

    text-align: center;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: .08em;
}

@media (max-width: 900px) {

    /* =========================
       タイムライン完全削除
    ========================= */

    .day_schedule::before {
        content: none !important;
    }

    .day_item::before {
        content: none !important;
    }

    /* =========================
       レイアウト
    ========================= */

    .day_item {
        display: block;

        padding: 0 0 30px;
        margin-bottom: 30px;

        border-bottom: 1px solid #e5e5e5;
    }

    .day_item:last-child {
        border-bottom: none;
    }

    .day_time {
        display: block;

        width: auto;

        margin-bottom: 15px;

        font-size: 18px;
        font-weight: 700;

        color: #004da1;
    }

    .day_card {
        display: block;

        padding: 0;

        border: none;

        background: transparent;

        box-shadow: none;
    }

    .day_image {
        width: 100%;

        margin-bottom: 15px;
    }

    .day_image img {
        width: 100%;
        height: 220px;

        display: block;

        object-fit: cover;
    }

    .day_text h3 {
        font-size: 18px;

        margin-bottom: 10px;
        padding-bottom: 8px;

        border-bottom: 2px solid #004da1;
    }

    .day_break {
        margin: 0 0 30px;
    }

}

/*募集要項(内容表示)
---------------------------------------------------------------------------*/
.company-profile {
  width: 100%;
  padding: 50px 20px;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  color: #32454D;
  line-height: 1.8;
}

.table-container {
  max-width: 1200px; /* テーブルの最大幅 */
  width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 10px 0; /* 上下の余白 */
}

/*-----------------------------------
  テーブル本体のデザイン
-----------------------------------*/
.profile-table {
  width: 90%; /* コンテナ内で少し小さくして左右の余白を作る */
  margin: 0 auto;
  border-collapse: collapse; /* 隙間をなくす */
  font-size: 14px;
}

.profile-table th,
.profile-table td {
  padding: 20px;
  text-align: left;
  position: relative;
  vertical-align: top;
}

.profile-table th {
  width: 150px; /* PCでの項目幅 */
  font-weight: bold;
}

/* 下線（共通） */
.profile-table tr {
  border-bottom: 1px solid #565656;
}

/* 最後の行だけ下線を消す */
.profile-table tr:last-child {
  border-bottom: none;
}

/*-----------------------------------
  thの右側の縦線（疑似要素）
-----------------------------------*/
.profile-table th::after {
  content: "";
  display: block;
  width: 2px;
  height: 50%; /* 線の高さ（余白を作るポイント） */
  background-color: #565656;
  position: absolute;
  right: 0;
  top: 25%; /* 中央に配置 */
  border-radius: 40px;
}

/*-----------------------------------
  スマホ対応（レスポンシブ）
-----------------------------------*/
@media screen and (max-width: 640px) {
  .profile-table {
    width: 90%;
  }

  /* テーブル要素をブロック化して縦積みにする */
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .profile-table tr {
    margin-bottom: 5px;
    border-bottom: 1px solid #565656;
  }

  .profile-table tr:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .profile-table th {
    padding: 10px 0 5px;
    width: 100%;
  }

  .profile-table td {
    padding: 0 0 10px;
  }

  /* スマホではth右の縦線を消す */
  .profile-table th::after {
    display: none;
  }
}

/*募集要項(内容表示)
---------------------------------------------------------------------------*/
.part-time {
  font-size: 15px;
  font-weight: 300;
}

@media screen and (max-width: 640px) {
  .part-time {
    font-size: 14px;
  }
}

/*募集要項(内容表示)
---------------------------------------------------------------------------*/
.application_guidelines {
	position: relative;
	padding-bottom: 20px;
	font-size: 26px;
	text-align: center;
}

.application_guidelines::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10px 6px 0 6px;
	border-color: #b99a00 rgba(0,0,0,0) rgba(0,0,0,0) rgba(0,0,0,0);
}

/*FAQ
---------------------------------------------------------------------------*/
.faq-container {
  width: 100%;
  max-width: 1000px; /* 最大幅を指定 */
  margin: 0 auto; /* 中央寄せ */
  margin-bottom: 40px;
  font-family: "Noto Sans JP", sans-serif;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 20px;
}

.faq-question {
  cursor: pointer;
  padding: 15px;
  background-color: #f7f7f7;
  position: relative;
  font-weight: bold;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #eee;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-question.active::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 15px;
  padding-right: 15px;
  background-color: #fff;
  transition: height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .faq-question {
    font-size: 14px;
  }
  .faq-answer {
    font-size: 14px;
  }
}

/*サイトマップ
---------------------------------------------------------------------------*/
.recruit_wrap{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;

    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    margin-top: 80px;
    margin-bottom: 60px;
  font-family: "Noto Sans JP", sans-serif;
}

/* 要素 */
.recruit_link{
    position: relative;

    display: block;
    padding: 32px 70px 32px 24px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    background: #fff;

    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

/* 矢印アイコン */
.recruit_link::before{
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;

    width: 10px;
    height: 10px;

    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;

    transform: translateY(-50%) rotate(45deg);

    transition: transform 0.3s ease;
}

/* ホバー時 */
.recruit_link:hover{
    background: #000;
    color: #fff;
}

/* 矢印が少し動く */
.recruit_link:hover::before{
    transform: translateY(-50%) rotate(45deg) translateX(4px);
}

/* 見出し */
.recruit_link h3{
    position: relative;
    display: inline-block;
    margin: 0 0 16px;
    transition: color 0.3s ease;
}

/* 下線 */
.recruit_link h3::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s ease;
}

/* 本文 */
.recruit_link p{
    margin: 0;
    line-height: 1.8;
}

/* 本文 */
.recruit_link:hover p{
    color: #fff;
}

/* ホバー */
.recruit_link:hover{
    background: #000;
    color: #fff;
}

/* 下線アニメーション */
.recruit_link:hover h3::after{
    width: 100%;
}

/* スマホ */
@media screen and (max-width: 768px){

    .recruit_wrap{
        grid-template-columns: 1fr;
    }

}