/* --------------------------------------
共通：本文のスタイリング
-------------------------------------- */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  background-color: #f7f8fc;
  color: #333;
}

/* --------------------------------------
job_section：全体カードデザイン
-------------------------------------- */
.job_section {
  background: #ffffff;
  border: 2px solid #e0e0e0;
  border-radius: 16px;
  padding: 4.5rem 2rem;
  margin: 3rem auto;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  max-width: 960px;
}

/* --------------------------------------
セクションタイトル（h2）
-------------------------------------- */
.content .section-header {
  display: block;
  position:relative;
  padding: 2rem 1.5rem 0 9rem;
  margin-bottom: 2.5rem;
}

/* アイコン画像（丸枠＋影付き） */
.content .section-header img {
    position: absolute;
    width: 8rem;
    bottom: 0;
    left: 0;
}

/* 見出し（h2） */
.content .section-header h2 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.03em;
	color:#89b9a3;
    border-bottom: 3px solid #89b9a3;
}

/* --------------------------------------
サブ見出し（h3）
-------------------------------------- */
.content .job_section h3 {
    position: relative;
    display: inline-block;
    font-size: 1.7rem;
    font-weight: bold;
    color: #2e7d32;
    background: linear-gradient(to right, #e8f5e9, #d0f0c0);
    padding: 0.6em 1.4em 0.6em 2.2em;
    border-radius: 12px;
    margin: 0.5em 0 0;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
    border-left: none;
    line-height: 1.4;
    letter-spacing: 0.03em;
}

/* アイコン風の棒装飾 */
.content .job_section h3::before {
  content: "";
  position: absolute;
  left: 0.8em;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #66bb6a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #a5d6a7;
}


/* --------------------------------------
段落（本文）
-------------------------------------- */
.job_section p {
  font-size: 16.5px;
  color: #444;
  margin: 1em 0;
  padding: 0 0.5em;
}

/* --------------------------------------
テーブルスタイル（共通）
-------------------------------------- */
.content .job_section table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0 1.5rem;
  background: #89b9a3;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  font-size: 15px;
}

.content .job_section th {
  background: #89b9a3;
  color: #fff;
  padding: 1em;
  font-weight: bold;
  text-align: center;
}

.content .job_section td {
  padding: 0.9em;
  border: 1px solid #89b9a3;
  color: #333;
}

/* --------------------------------------
スコア表特有のデザイン
-------------------------------------- */
.content .job-score td:nth-child(1) {
  font-weight: bold;
  font-size: 1.5rem;
}
.content .job-score td:nth-child(2) {
  text-align: center;
  font-weight: bold;
  color: #2e7d32;
  font-size: 2rem;
}

.job-score .score_th {
  width: 80px;
}

/* --------------------------------------
スケジュール用テーブル
-------------------------------------- */
.content .job-schedule {
  margin-bottom: 2.5rem;
}


/* --------------------------------------
共通：コンテンツヘッダー（職業図鑑風）
-------------------------------------- */
.viral.viral--job {
  position: relative;
}

.viral--job .viral__bg {
  position: absolute;
  inset: 0;
  height: calc(93% + 50px);
  background-size: cover;
  background-position: center center;
  filter: blur(8px) brightness(0.7);
  z-index: 0;
  margin: 1% auto;
}

/* --------------------------------------
職業ヘッダーコンテナ
-------------------------------------- */
.viral--job .container.job-header {
  z-index: 2;
  padding: 1rem 1.5rem 2rem;
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 5px solid #bbb;
  border-radius: 14px;
}

/* --------------------------------------
メタ情報（日付・カテゴリなど）
-------------------------------------- */
.viral--job .dateList {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #555;
}

/* --------------------------------------
レイアウト：職業図鑑のメイン部分
-------------------------------------- */
.job-header__main {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-wrap: wrap;
}

/* テキスト＋グラフエリア（右側） */
.job-header__text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  width: 100%;
  max-width: 400px;
}

/* 画像エリア（左側） */
.job-header__image {
  width: 100%;
  max-width: 400px;
  border: 5px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.job-header__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* --------------------------------------
職業名タイトル：図鑑風バナー装飾
-------------------------------------- */
.title_block{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.job-header__title {
	position: relative;
    display: inline-block;
    max-width: 50%;
    min-width: 45%;
    padding: 0.8em 1.8em;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(145deg, #0081c9, #00b4d8);
    transform: rotate(-3deg);
    border-radius: 4px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2), inset 0 0 0 4px #005b99;
    text-shadow: 1px 1px 2px #004a78;
    margin: 1.5rem auto 2.5rem -24px;
    text-align: center;
    letter-spacing: 0.05em;
}

/* フチの白線を再現するには、テキストを重ねる手法も可 */
.job-header__title::after {
  content: attr(data-title);
  position: absolute;
  top: 0; left: 0;
  right: 0; bottom: 0;
  color: #fff;
  z-index: -1;
  filter: blur(2px);
  transform: scale(1.05);
  opacity: 0.6;
}


/* --------------------------------------
キャッチコピー：説明テキスト
-------------------------------------- */
.job-header__catch {
  position: relative;
  display: inline-block;
  width: 50%;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(to right, #fff1b6, #ffd966);
  padding: 0.7em 1.2em;
  margin-bottom: 1em;
  border: 2px solid #e0a800;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 -2px 0 #f0c040;
  text-align: left;
  max-width: 600px;
}

/* 左にマーク装飾（点や矢印） */
.job-header__catch::before {
  content: "●";
  color: #e0a800;
  font-size: 1.2rem;
  margin-right: 0.6em;
}

/* --------------------------------------
想定年収：図鑑風パネル
-------------------------------------- */
.salary-panel {
  background: #f2faff;
  border: 2px solid #90caf9;
  border-left: 6px solid #42a5f5;
  border-radius: 10px;
  padding: 1.2rem 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: inset 0 0 5px rgba(66, 165, 245, 0.3), 0 2px 8px rgba(0, 0, 0, 0.05);
}

.salary-panel h3 {
  font-size: 16px;
  color: #1565c0;
  font-weight: bold;
  margin-bottom: 0.5em;
  border-bottom: 1px dashed #90caf9;
  padding-bottom: 0.3em;
}

.salary-panel .salary-value {
  font-size: 1.7em;
  text-align: center;
  color: #d32f2f;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.05em;
}

/* --------------------------------------
スコアチャート：六角形レーダー
-------------------------------------- */
.score-chart {
  width: 100%;
  max-width: 420px;
  height: 320px;
  margin: 0 auto;
  position: relative;
}
.score-chart h3 {
    font-size: 1.2em;
    font-weight: bold;
	color: #008acc;
    border-bottom: 3px solid #008acc;
    width: fit-content;
    margin: auto;
}
.score-chart canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

#hexChart {
  width: 100% !important;
  height: auto !important;
}


/* --------------------------------------
本文切り替え
-------------------------------------- */
.content .job-tabs__nav {
    max-width: 960px;
    margin: auto;
    display: flex;
    gap: 0.5em;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
}
.content ul.job-tabs__nav li {
	background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 1.2em 1em;
    border-radius: 6px;
    font-weight: bold;
    width: 25%;
    margin: 0;
    text-align: center;
	transition: background 0.3s;
}
.content ul.job-tabs__nav>li::before{
	display:none;
}
.content ul.job-tabs__nav li.active {
    background: #ff9b00;
    color: #FFF;
}

.content .job-tab {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.content .job-tab.active {
  display: block;
}

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



/* --------------------------------------
本文内
-------------------------------------- */

.content .job_section strong {
    color: #000;
    background-color: #fff900;
}

.income_area{
	display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.job_section .min_income,
.job_section .max_income {
    display: block;
    background-color: aliceblue;
    margin: 1rem;
    padding: 0.5em;
	min-width:320px;
    font-size: 3em;
    text-align: center;
    font-weight: 900;
    color: #1a237e;
}

.job_section .min_income span,
.job_section .max_income span {
  font-size: 1.8rem;
  font-weight: bold;
  color: #555;
  margin-right: 0.5em;
}

.min_income::after,
.max_income::after {
  content: "万円";
  font-size: 1rem;
  font-weight: bold;
  margin-left: 0.1em;
  color: #1a237e;
}


/* --------------------------------------
モバイル最適化
-------------------------------------- */
@media screen and (max-width: 900px) {
	.title_block {
		flex-direction: column;
	}
	.job-header__title, .job-header__catch{
		width:100%;
		max-width: 100%;
	}
}
@media screen and (max-width: 767px) {
  .viral--job .container.job-header{
		margin: 0 8px;
	}
  .content ul.job-tabs__nav li {
    width: 100%;
  }
}