@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* レイアウト計算を安定させる */
}

body {
  font-family: "Times New Roman", Times, serif;
  line-height: 1.6;
}

header {
  top: 0;
  width: 100%;
  background-color: #0e2262;
  position: fixed;
  z-index: 999999;
}

/*----new header------*/
.header {
  background-color: #0e2262;
  position: sticky;
  z-index: 10000;
  top: 0;
  width: 100%;
  transition: 0.2s;
  height: 60px;
}
.header__wrapper {
  height: 60px !important;
  display: flex !important;
  margin: 0 1vw !important;
}

.header__wrapper img {
  object-fit: cover;
}

.header__menu {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 0 auto;
  flex-wrap: nowrap;
  z-index: 999999;
}

.logo {
  width: 90px;
  height: auto;
  margin: 9px;
}

.header__item {
  font-size: 20px;

  color: #fff;
  font-family: Helvetica;
  margin: auto 10px;
  align-items: center; /* Align items vertically within the link */
}
.header__item a {
  margin: 3px;
  text-decoration: none;
  color: #fff;
  display: flex; /* Ensure anchor tags use flexbox */
}
.header__item:hover {
  background-color: #002291;
  height: 60px;

  display: flex;
}

.header__item_a {
  margin-right: 8px;
}
.action {
  background-color: black;
  /* height: 60px; */
  display: flex;
  padding: 10px;
}
.action_2{
  background-color:#D90000;
  /* height: 60px; */
  display: flex;
  padding: 10px;
}
/*----new header end------*/

/*----new SP header------*/
/* Responsive styles */
/*----new SP  header end------*/
.header-wrapper a {
  color: #fff;
  list-style: none;
  text-decoration: none;
}

.mobile-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0e2262;
  padding: 10px 5px;
  /* height: 60px; */
}

/* ハンバーガーメニューのスタイル */
.hamburger-menu {
  display: block;
  /* position:fixed; */
  /* left: 10px; */
  /* top: 10px; */
  cursor: pointer;
  align-items: center;
  margin: 9px;
  /* margin-top: 15px; */
}

.hamburger-menu img {
  height: 20px;
  width: 30px;
}

/* 国選択メニュー */
.country-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 60px; /* ヘッダーの高さ分下にずらす */
  left: -100%;
  width: 300px;
  height: 100%;
  background-color: rgba(14, 34, 98, 0.99);
  padding: 20px;
  align-items: left;
  justify-content: top;
  overflow-y: auto;
  transition: left 0.3s ease-in-out;
  max-height: 1000px;
  z-index: 9999;
}

/* メニューを開いた時 */
.country-menu.active {
  display: flex;
  left: 0;
  z-index: 9999;
}

/* 閉じるボタンのスタイル */
.close-menu {
  display: none;
  /* position: fixed; */
  /* right: 15px; */
  /* top: 10px; */
  cursor: pointer;
  text-align: right;
  margin: 9px;
  margin-top: 15px;
  margin-left: 120px;
}

.close-menu img {
  height: 30px;
  width: auto;
}

.close-menu.active {
  display: block;
}

/* 国選択メニューのリスト */
.country-list {
  list-style: none;
  margin: 10px 10px;
  margin-bottom: 100px;
  text-align: center;
}

.country-list li {
  margin: 10px 0;
}

.country-list a {
  text-decoration: none;
  font-size: 16px;
  color: white;
  font-weight: bold;
  display: block;
  padding: 5px;
  text-align: left;
  /* border-radius: 5px; */
  /* background: rgba(255, 255, 255, 0.2); */
}

.country-list a:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* ナビゲーションメニューのスタイル */
.header__menu {
  display: flex;
}
/*----new SP  header end------*/

.top-head1 {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
}

.top-head2 {
  width: 80%;
  margin: 0 auto;
  text-align: left;
}
.gnavi__lists {
  display: flex;
  text-decoration: none;
  list-style: none;
  width: 80%;
  white-space: nowrap;
}

.gnavi {
  margin: 10px;
}

/* ==========================================
   求人詳細メインコンテンツ（オリジナルデザイン維持）
   ========================================== */
.detail-container {
  max-width: 800px;
  margin: 40px auto;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 40px;
  box-sizing: border-box;
}

.detail-header {
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.job-tag {
  display: inline-block;
  background-color: #eef2f7;
  color: #3182ce;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

h1.detail-header__title {
  font-size: 28px;
  margin: 16px 0 8px 0;
  color: #1a202c;
  text-align: left;
  padding: 0;
}

.detail-header__title .en-title {
  font-size: 18px;
  color: #718096;
  font-weight: normal;
  display: block;
  margin-top: 4px;
}

.detail-header__company {
  font-size: 18px;
  color: #4a5568;
  margin: 0;
}

.detail-section {
  margin-bottom: 40px;
}

.detail-section h2 {
  font-size: 20px;
  color: #1a202c;
  border-left: 4px solid #3182ce;
  padding-left: 12px;
  margin-bottom: 20px;
}

.highlight-box {
  background-color: #ebf8ff;
  border: 1px solid #bee3f8;
  border-radius: 8px;
  padding: 24px;
}

.highlight-box h2 {
  border-left: none;
  padding-left: 0;
  color: #2b6cb0;
  margin-top: 0;
}

.highlight-box ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.highlight-box li {
  margin-bottom: 8px;
  font-weight: bold;
  color: #2d3748;
  list-style: disc;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.detail-table th, 
.detail-table td {
  padding: 16px;
  border-bottom: 1px solid #edf2f7;
  text-align: left;
  vertical-align: top;
}

.detail-table th {
  width: 25%;
  background-color: #f7fafc;
  color: #4a5568;
  font-size: 15px;
}

.detail-table th .en-label {
  display: block;
  font-size: 12px;
  color: #a0aec0;
  font-weight: normal;
  margin-top: 2px;
}

.detail-table td {
  font-size: 15px;
  color: #2d3748;
}

.salary-text {
  font-size: 18px;
  font-weight: bold;
  color: #e53e3e;
}

.annual-salary {
  display: inline-block;
  margin-top: 6px;
  background-color: #fff5f5;
  color: #c53030;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
}

.detail-actions {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid #edf2f7;
}

.btn-apply-now {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  background-color: #ff9900; 
  color: #ffffff;
  text-decoration: none;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
  transition: all 0.2s ease;
  line-height: 1.3;
}

.btn-apply-now:hover {
  background-color: #e68a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4);
}

.btn-apply-now span {
  font-size: 14px;
  font-weight: normal;
  opacity: 0.9;
}


/*フッター*/
.footer-section {
  background-color: #0e2262;
  font-size: 1vw;
  line-height: 1.6;
  font-family: proxima-nova, sans-serif;
}

footer {
  width: 100%;
  background-color: #0e2262;
  padding: 50px 0;
}

footer a {
  color: #fff;
  list-style: none;
  text-decoration: none;
}

.footer-left {
  width: 80%;
  margin: 0 auto;
  /* display: flex; */
  justify-content: space-between;
  padding-top: 25px;
  /* float: left; */
}

.bottom-category {
  /* display: flex; */
  text-decoration: none;
  list-style: none;
  max-width: 80%;
  /* justify-content: space-between; */
  color: #fff;
  text-align: left;
  flex-wrap: wrap;
  /* white-space: nowrap; */
}

.footer a {
  color: #fff;
  text-decoration: none;
  list-style: none;
}

.sns {
  display: flex;
  list-style: none;
  width: 80%;
  /* justify-content: space-between; */
  margin: 0 auto;
  text-align: left;
  padding-top: 10px;
}

.footer-left {
  width: 80%;
}

.sns a {
  color: #fff;
  text-decoration: none;
  width: 100%;
}

.sns-list-right {
  padding-left: 10px;
}

.copyrights {
  text-align: center;
  color: #fff;
  padding-bottom: 5px;
}

.special-article-wrapper {
  padding: 30px;
}

.special-article-wrapper h3 {
  color: #000;
  font-size: 14px;
}

.special-article-wrapper a {
  text-decoration: none;
  list-style: none;
}

/* ==========================================
   スマートフォン・タブレット向けスタイル (max-width: 768px)
   ========================================== */
   @media screen and (max-width: 768px) {

  /*----new SP header------*/

  .header__wrapper {
    display: block !important;
    margin: 0 0 !important;
    /* position: fixed !important; */
  }

  .header__menu {
    top: 120px !important;
    height: 80px;
    background-color: #0e2262;
    padding-top: 10px;
    margin: 10px 0 0 auto;
    overflow-x: auto;
    justify-content: unset;
    z-index: -1;
    overflow-x: scroll;
    /* display: flex; */
  }

  .header__menu.active {
    display: flex;
  }

  .header__item {
    text-align: center;
    margin-right: 30px;
  }

  .Thema {
    margin: 80px 0 5px 0;
  }

  .hamburger-menu {
    position: absolute;
    width: 10%;
    margin-top: 50px !important;
    /* top:50%; */
  }

  .logo-link {
    margin-top: 40px;
    left: 40%;
    position: absolute;
  }

  .close-menu {
    margin-left: 10px !important;
    position: absolute;
  }
  
    /* ==========================================
       求人詳細メインコンテンツの最適化
       ========================================== */
    .detail-container {
      margin: 80px 15px 20px; /* 画面端の余白を狭めてコンテンツ幅を確保 */
      padding: 20px;     /* 内側の余白をスマホ用に縮小 */
      border-radius: 8px;
    }
  
    .detail-header {
      padding-bottom: 16px;
      margin-bottom: 24px;
    }
  
    h1.detail-header__title {
      font-size: 22px; /* スマホで折り返しても崩れにくいサイズ */
    }
  
    .detail-section {
      margin-bottom: 30px;
    }
  
    /* テーブル（2段組）をスマホ用に縦並び（1カラム）へ変換 */
    .detail-table,
    .detail-table tbody,
    .detail-table tr,
    .detail-table th,
    .detail-table td {
      display: block;
      width: 100%;
      box-sizing: border-box;
    }
  
    .detail-table tr {
      border-bottom: 1px solid #edf2f7;
      padding: 12px 0;
    }
  
    .detail-table th,
    .detail-table td {
      border-bottom: none;
      padding: 4px 0;
    }
  
    .detail-table th {
      background-color: transparent; /* 背景色を透過させてスッキリ */
      color: #4a5568;
      font-size: 14px;
      font-weight: bold;
    }
  
    .detail-table th .en-label {
      display: inline-block;
      margin-left: 6px;
      margin-top: 0;
    }
  
    .detail-table td {
      font-size: 15px;
      color: #2d3748;
      padding-bottom: 8px;
    }
  
    /* アクションボタン（コンバージョン導線）の強化 */
    .detail-actions {
      margin-top: 32px;
      padding-top: 24px;
      border-top: 2px solid #edf2f7;
      position: static;      /* stickyを解除して通常配置に戻す */
      background: none;
      text-align: center;
      width: 100%;           /* 横幅を親要素いっぱいに */
      box-sizing: border-box;
    }
  
    /* 【ここを修正】応募ボタンの調整 */
    .btn-apply-now {
      display: block;        /* 確実にブロック要素化して幅を持たせる */
      width: 100%;           /* 横幅100%（max-widthに縛られないようにする） */
      max-width: 100%;       
      padding: 16px 20px;
      font-size: 18px;
      box-sizing: border-box; /* パディングによるサイズ肥大化を防ぐ */
      box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
      border-radius: 30px;   /* 丸みを維持 */
    }
  
  
    /* ==========================================
       フッター
       ========================================== */
       .footer-left {
        font-size: 10px;
      }
  }
