/*!
Theme Name: gatewing-recruit
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

body {
  margin: 0;
  font-family: "Noto Sans JP", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans JP";
  font-weight: 700;
  font-style: normal;
}

/*add*/
a {
  outline: none;
  color: var(--e-global-color-df3adf1);
  font-family: "Noto Sans JP";
}

a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: pointer;
}

a:hover {
  opacity: 0.8;
}

/* .txt-gothic {
  font-family: a-otf-ud-shin-go-pr6n, sans-serif;
  font-style: normal;
  font-weight: 300;
}

.txt-gothic2 {
  font-family: rift-soft, sans-serif;
  font-style: normal;
}

.txt-mincho {
  font-family: kozuka-mincho-pr6n, serif;
  font-style: normal;
} */

table.table_normal {
  border-top: 1px solid #cccccc;
}

table.table_normal th,
table.table_normal td {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #cccccc;
}

table.table_normal th {
  text-align: left;
  font-weight: normal;
  width: 7em;
  vertical-align: top;
}

/* table.table_normal2 {
} */

table.table_normal2 th,
table.table_normal2 td {
  padding: 15px;
}

table.table_normal2 th {
  width: 20%;
  text-align: left;
  background-color: #f7f7f7;
  white-space: nowrap;
}

table.table_normal2 td {
  background-color: #ffffff;
}
.ttl_new h3 {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.ttl_new h3 .new {
  text-align: center;
  vertical-align: middle;
  font-size: 0.5em;
  color: #ffffff;
  background-color: #8f1e1c;
  padding: 0.2em 0.3em;
  margin-top: 0.5em;
  margin-right: 0.5em;
  line-height: 1.4;
}

.fadeout_img {
  animation: fadeout-anim 2s ease 3s 1 forwards;
}
@keyframes fadeout-anim {
  100% {
    opacity: 0;
  }
}

/* メディア掲載歴 
**********************************************/
.media-list {
  background-color: #ffffff;
  padding: 15px;
}

.media-list li {
  list-style: none;
}

.media-box {
  display: flex;
  gap: 20px;
  padding-top: 25px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #272617;
}

.media-list a:hover {
  opacity: 0.7;
}

.media-box_top {
  display: flex;
  gap: 30px;
  align-items: center;
}

.media-box_bottom {
  display: flex;
  align-items: center;
}

.media_label {
  color: #ffffff;
  background-color: #c4a44c;
  width: 100px;
  height: 25px;
  line-height: 25px;
  text-align: center;
}

.media_label-insta {
  background-color: #cf2f93 !important;
}

.media_label-paper {
  background-color: #38475c !important;
}

.media_label-tube {
  background-color: #da1725 !important;
}

.media_label-tv {
  background-color: #d54e21 !important;
}

.media-list_ttl {
  text-align: center;
  font-size: 2em;
}

.media-list_detail {
  text-align: center;
  line-height: 1.5;
}

.media_data,
.media_txt {
  color: #000;
}

@media (max-width: 767px) {
  .media-box {
    flex-direction: column;
    padding-top: 30px;
  }
}

/* Tik Tok -----------------------*/

/* ipad pc -----------------------*/
@media screen and (min-width: 768px) {
  .sp_only {
    display: none !important;
  }
}

/* sp ---------------------------*/
@media (max-width: 767px) {
  .pc_only {
    display: none !important;
  }

  .form_table td,
  .form_table th {
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
  }
  .form_table th {
    text-align: left;
  }
  .wide-S {
    width: 80px;
  }
  .wide-M {
    width: 80%;
  }
  .wide-L {
    width: 95%;
  }
  table.table_normal2 th,
  table.table_normal2 td {
    padding: 10px;
    width: 100%;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .ttl_new h3 {
    justify-content: center;
  }
  .ttl_new h3 .new {
    margin-top: 0.1em;
  }
}


/*------------表------------*/

/* ベーススタイル */
.table-container {
  color: #292827;
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--e-global-color-081da02);
}

.responsive-table caption {
  font-weight: bold;
  padding: 10px;
  font-size: 1.2rem;
}

.responsive-table th, 
.responsive-table td {
  border: 1px solid var(--e-global-color-081da02);
  padding: 12px 15px;
  text-align: left;
}

.responsive-table th {
  background-color:var(--e-global-color-09a4688);
  border: 1px solid #fff;
  font-weight: bold;
}

/* ★追加：PC版の「負担上限月額」ヘッダーの背景色を変更 */
.responsive-table th:nth-child(3) {
  background-color: var(--e-global-color-abba6aa);
}

.price {
  font-weight: bold;
  text-align: right !important;
}

.note {
  font-size: 0.85em;
  color: #666;
  display: block;
  margin-top: 5px;
}

/* --- スマホ用レスポンシブ設定 --- */
@media screen and (max-width: 768px) {
  /* ★修正ポイント1：テーブル全体の大枠を消して二重線を防ぐ */
  .responsive-table {
    border: none;
  }

  .responsive-table thead {
    display: none; /* ヘッダーを隠す */
  }

  .responsive-table tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid var(--e-global-color-081da02); /* これが1つの区分をまとめるカードの枠線になります */
  }

  .responsive-table td {
    display: block;
    text-align: left;
    border: none;
    border-bottom: 1px solid var(--e-global-color-081da02);/* 各項目の区切り線 */
    padding: 15px;
  }

  /* 見出し（ラベル）部分の装飾 */
  .responsive-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    color: #333; 
    background-color: var(--e-global-color-09a4688);
    font-size: 0.9em;
    margin: -15px -15px 10px -15px; 
    padding: 8px 15px;
    text-align: left; /* ★修正ポイント2：金額の右寄せに影響されないように左寄せを指定 */
  }

  /* 「負担上限月額」ラベルの背景色 */
  .responsive-table td.price::before {
    background-color:  var(--e-global-color-abba6aa);
  }

  .responsive-table td:last-child {
    border-bottom: none;
  }
}


/*----------ぱんくず----------*/

.topic_path a {
    color: #4f4f4f;
}



/*----------就職実績の表----------*/

/* ＝全体のラッパー＝ */
.job-directory-inner {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.5;
}
/* ＝障害開示ごとの行＝ */
.disclosure-row {
  display: flex;
  border-bottom: 1px solid #eee;
}
.disclosure-row:last-child {
  border-bottom: none;
}
/* ＝左側：障害開示のラベル＝ */
.disclosure-label {
  width: 180px;
  padding: 16px;
  background-color: #fafafa;
  font-weight: bold;
  font-size: 0.95em;
  border-right: 1px solid #eee;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* ＝右側：ミニカードエリア＝ */
.disclosure-data {
  padding: 16px;
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
/* ＝ミニカードのデザイン＝ */
.mini-card {
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  padding: 12px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.mc-job {
  font-weight: bold;
  font-size: 1em;
  color: #333;
  border-bottom: 1px dashed #eee;
  padding-bottom: 6px;
  margin-bottom: 6px;
}
.mc-company {
  font-size: 0.85em;
  font-weight: bold;
  color: var(--e-global-color-aa0993e);
  margin-bottom: 6px;
}
.mc-meta {
  font-size: 0.8em;
  color: #666;
}
/* ＝スマホ用レイアウト（縦積み）＝ */
@media screen and (max-width: 600px) {
  .disclosure-row { flex-direction: column; }
  .disclosure-label {
    width: 100%;
    border-right: none;
    border-bottom: 1px dashed #ddd;
    padding: 10px 16px;
    text-align: left;
    justify-content: flex-start;
  }
  .disclosure-data { grid-template-columns: 1fr; }
}
