@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* =========================================
   マイタウンジョブ 求人詳細ページ
========================================= */

.mtj-job {
  color: #333;
  font-size: 16px;
  line-height: 1.8;
}

/* 企業・キャッチコピー */
.mtj-job > div:first-child {
  background: #fff4e8 !important;
  border-left: 6px solid #f28c28;
  border-radius: 12px !important;
  padding: 25px !important;
  margin-bottom: 20px !important;
}

.mtj-job > div:first-child h2 {
  font-size: 24px !important;
  line-height: 1.5;
}

/* 特徴タグ */
.mtj-job > div:nth-child(2) span {
  background: #fff4e8 !important;
  color: #8a4b0f !important;
  border: 1px solid #ffd2a3;
  font-weight: 600;
}

/* 募集職種・応募お問い合わせ */
.mtj-job > h2 {
  background: #f7f7f7;
  border-left: 6px solid #f28c28 !important;
  border-radius: 0 8px 8px 0;
  padding: 13px 15px !important;
  margin: 28px 0 20px !important;
}

/* 職種名 */
.mtj-job > h3 {
  font-size: 21px;
  border-bottom: 2px solid #f28c28;
  padding-bottom: 8px;
}

/* 基本情報 */
.mtj-job > p {
  background: #fafafa;
  border-left: 3px solid #eeeeee;
  padding: 12px 15px;
  margin: 8px 0;
  border-radius: 5px;
}

.mtj-job > p strong {
  display: block;
  color: #555;
  margin-bottom: 3px;
}

/* 正社員・パート・アルバイト等 */
.mtj-job > div:not(:first-child):not(:nth-child(2)) {
  background: #fff;
  border: 1px solid #e5e5e5 !important;
  border-radius: 12px !important;
  padding: 20px !important;
  margin: 18px 0 !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.06);
}

.mtj-job > div:not(:first-child):not(:nth-child(2)) h3 {
  background: #fff4e8;
  color: #8a4b0f;
  border-left: 5px solid #f28c28 !important;
  padding: 10px 12px !important;
  margin: 0 0 15px !important;
}

/* スマホ */
@media screen and (max-width: 834px) {
  .mtj-job {
    font-size: 15px;
  }

  .mtj-job > div:first-child {
    padding: 18px !important;
  }

  .mtj-job > div:first-child h2 {
    font-size: 21px !important;
  }

  .mtj-job > div:not(:first-child):not(:nth-child(2)) {
    padding: 15px !important;
  }
}
/* =========================================
   マイタウンジョブ 求人詳細 仕上げデザイン
========================================= */

/* ページ全体 */
.mtj-job {
  max-width: 100%;
  color: #333;
}

/* 上部メインカード */
.mtj-job > div:first-child {
  position: relative;
  background: linear-gradient(135deg,#fff8f0,#fff2e3) !important;
  border: 1px solid #ffe0bd !important;
  border-left: 6px solid #f28c28 !important;
  box-shadow: 0 5px 18px rgba(242,140,40,.08);
}

/* キャッチコピー */
.mtj-job > div:first-child h2 {
  color: #2f2f2f;
  font-weight: 700;
  letter-spacing: .02em;
}

/* 特徴タグ */
.mtj-job > div:nth-child(2) {
  margin: 14px 0 28px !important;
}

.mtj-job > div:nth-child(2) span {
  box-shadow: 0 2px 5px rgba(0,0,0,.03);
}

/* 大見出し */
.mtj-job > h2 {
  font-size: 21px;
  font-weight: 700;
  color: #333;
  background: linear-gradient(90deg,#f7f7f7,#fff);
  box-shadow: 0 2px 7px rgba(0,0,0,.03);
}

/* 職種名 */
.mtj-job > h3 {
  position: relative;
  margin-top: 22px;
  color: #333;
  font-weight: 700;
  border-bottom: 2px solid #f6b36e;
}

/* 基本情報カード */
.mtj-job > p {
  background: #fbfbfb;
  border: 1px solid #f0f0f0;
  border-left: 4px solid #f4c28e;
  padding: 13px 16px;
  margin: 7px 0;
  border-radius: 7px;
  transition: .2s;
}

.mtj-job > p strong {
  color: #8a551e;
  font-size: 13px;
  font-weight: 700;
}

/* 雇用形態カード */
.mtj-job > div:not(:first-child):not(:nth-child(2)) {
  position: relative;
  border: 1px solid #eee !important;
  border-top: 4px solid #f28c28 !important;
  box-shadow: 0 5px 18px rgba(0,0,0,.06);
  padding: 20px !important;
  margin: 22px 0 !important;
}

/* 正社員・パートなど */
.mtj-job > div:not(:first-child):not(:nth-child(2)) h3 {
  background: linear-gradient(90deg,#fff1df,#fff8ef);
  border: none !important;
  border-left: 5px solid #f28c28 !important;
  color: #81450d;
  font-size: 18px;
  font-weight: 700;
  border-radius: 4px;
}

/* 雇用形態内の情報 */
.mtj-job > div:not(:first-child):not(:nth-child(2)) p {
  padding: 11px 5px;
  margin: 0;
  border-bottom: 1px solid #f1f1f1;
}

.mtj-job > div:not(:first-child):not(:nth-child(2)) p:last-child {
  border-bottom: none;
}

/* 項目名 */
.mtj-job > div:not(:first-child):not(:nth-child(2)) p strong {
  display: block;
  color: #666;
  font-size: 13px;
  margin-bottom: 3px;
}

/* 給与だけ強調 */
.mtj-job > div:not(:first-child):not(:nth-child(2)) p:first-of-type {
  background: #fffaf4;
  padding: 13px 12px;
  border-radius: 6px;
  color: #d66d0b;
  font-size: 17px;
  font-weight: 700;
}

/* 給与の項目名 */
.mtj-job > div:not(:first-child):not(:nth-child(2)) p:first-of-type strong {
  color: #8a551e;
}

/* 最後の応募エリア付近 */
.mtj-job > h2:last-of-type {
  margin-top: 34px !important;
  background: linear-gradient(90deg,#fff3e5,#fff);
  border-left: 6px solid #f28c28 !important;
}

/* PCでは余白を整えて読みやすく */
@media screen and (min-width: 835px) {

  .mtj-job > p {
    padding: 14px 18px;
  }

  .mtj-job > div:not(:first-child):not(:nth-child(2)) {
    padding: 22px !important;
  }
}

/* スマホ最適化 */
@media screen and (max-width: 834px) {

  .mtj-job > div:first-child {
    padding: 18px 15px !important;
  }

  .mtj-job > div:first-child h2 {
    font-size: 20px !important;
  }

  .mtj-job > h2 {
    font-size: 18px;
    margin: 23px 0 15px !important;
  }

  .mtj-job > h3 {
    font-size: 18px;
  }

  .mtj-job > p {
    padding: 11px 12px;
    margin: 6px 0;
  }

  .mtj-job > div:nth-child(2) {
    gap: 5px !important;
  }

  .mtj-job > div:nth-child(2) span {
    font-size: 12px;
    padding: 5px 9px !important;
  }

  .mtj-job > div:not(:first-child):not(:nth-child(2)) {
    padding: 14px !important;
    margin: 16px 0 !important;
  }

  .mtj-job > div:not(:first-child):not(:nth-child(2)) h3 {
    font-size: 17px;
  }

  .mtj-job > div:not(:first-child):not(:nth-child(2)) p:first-of-type {
    font-size: 16px;
  }
