/* 編集部メモ（第三者目線のコメント） */
.editor-note {
	position: relative;
	margin: 40px 0;
	padding: 28px 24px 22px;
	background: #fff8ef;
	border: 1px solid #f5d9b5;
	border-left: 4px solid #F88C00;
	border-radius: 4px;
}
.editor-note__label {
	position: absolute;
	top: -13px;
	left: 20px;
	margin: 0 !important;
	padding: 2px 14px;
	background: #c28142;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
	line-height: 1.7;
	letter-spacing: 0.05em;
	border-radius: 999px;
}
.editor-note__text {
	margin: 0 !important;
	font-size: 15px;
	line-height: 1.9;
	color: #333;
}
@media screen and (max-width: 767px) {
	.editor-note {
		margin: 32px 0;
		padding: 24px 16px 18px;
	}
	.editor-note__label {
		left: 14px;
		font-size: 12px;
	}
	.editor-note__text {
		font-size: 14px;
	}
}
/* スケジュール表：自由時間のセル */
.low-table-scroll table td.is-free {
	background: #f0f0f0;
	color: #555;
}
/* ===== インタビュー回答：丸アイコン付きブロック ===== */
.iv-voice {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 28px;
}
.iv-voice__icon {
  flex: 0 0 80px;
  width: 80px;
  text-align: center;
}
.iv-voice__icon img {
  display: block;
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
  object-fit: cover;          /* 正方形以外の写真でも歪まない */
  border-radius: 50%;
  margin: 0 auto;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e8dccb;
}
.iv-voice__name {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  font-weight: bold;
}
.iv-voice__body {
  flex: 1 1 auto;
  min-width: 0;
}
.iv-voice__body p:last-child {
  margin-bottom: 0;
}

/* 話者ごとの名前の色（既存の色を踏襲） */
.iv-voice--main .iv-voice__name { color: #c28142; }
.iv-voice--sub  .iv-voice__name { color: #F88C00; }

/* スマホ */
@media screen and (max-width: 767px) {
  .iv-voice {
    gap: 12px;
    margin-bottom: 24px;
  }
  .iv-voice__icon {
    flex-basis: 56px;
    width: 56px;
  }
  .iv-voice__icon img {
    width: 56px;
    height: 56px;
  }
  .iv-voice__name {
    font-size: 10px;
    letter-spacing: -0.02em;
  }
}
/* ===== 仕事内容ページ：4つの領域カード ===== */
.iv-area {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 40px;
}
.iv-area__card {
  background: #fff;
  border: 1px solid #ecdcc6;
  border-top: 4px solid #F88C00;
  border-radius: 8px;
  padding: 22px 24px 18px;
}
.iv-area__card:nth-child(even) { border-top-color: #c28142; }
.iv-area__img {
  margin: 0 0 16px;
  border-radius: 6px;
  overflow: hidden;
}
.iv-area__img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.iv-area__label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: .08em;
  color: #c28142;
}
.iv-area .iv-area__title {
  margin: 0 0 12px;
  padding: 0;
  font-size: 18px;
  line-height: 1.5;
  background: none;
  border: none;
}
.iv-area__title::before,
.iv-area__title::after { content: none; }
.iv-area__card ul { margin: 0; }
.iv-area__card li { margin-bottom: 6px; }

/* ===== 仕事内容ページ：4年間のステップ ===== */
.iv-step {
  list-style: none;
  margin: 32px 0 16px;
  padding: 0;
  counter-reset: none;
}
.iv-step__item {
  position: relative;
  margin: 0;
  padding: 0 0 32px 40px;
  border-left: 3px solid #f3d3a6;
  margin-left: 12px;
}
.iv-step__item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.iv-step__item::before {
  content: "";
  position: absolute;
  top: 2px;
  left: -13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #F88C00;
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px #F88C00;
}
.iv-step__item:last-child::before {
  background: #c28142;
  box-shadow: 0 0 0 2px #c28142;
}
.iv-step__phase {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: bold;
  color: #F88C00;
}
.iv-step .iv-step__title {
  margin: 0 0 12px;
  padding: 0;
  font-size: 20px;
  line-height: 1.5;
  background: none;
  border: none;
}
.iv-step__title::before,
.iv-step__title::after { content: none; }
.iv-step__item p:last-child { margin-bottom: 0; }

@media screen and (max-width: 767px) {
  .iv-area {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .iv-area__card { padding: 18px 18px 14px; }
  .iv-area .iv-area__title { font-size: 16px; }
  .iv-step__item { padding-left: 28px; margin-left: 10px; }
  .iv-step .iv-step__title { font-size: 17px; }
}

/* ===== 仕事内容ページ：崩れ対策 ===== */
/* 本文パーツの横幅をそろえる */
.work-page .iv-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
/* FAQ：回答エリアがはみ出さないようにする */
.work-page .venture-qa__list,
.work-page .venture-qa__item,
.work-page .venture-qa__answers,
.work-page .venture-qa__answer {
  max-width: 100%;
  box-sizing: border-box;
}

/* ===== 仕事内容ページ：取材協力者の紹介 ===== */
.iv-profile {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 48px;
  padding: 0;
  list-style: none;
}
.iv-profile__card {
  margin: 0;
  padding: 24px 20px 20px;
  background: #fff;
  border: 1px solid #ecdcc6;
  border-radius: 8px;
  text-align: center;
}
.iv-profile__card::before { content: none; }
.iv-profile__card--hq {
  grid-column: 1 / -1;
  text-align: left;
  background: #fff8ef;
  border-color: #f5d9b5;
}
.iv-profile__photos {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.iv-profile__photos img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #e8dccb;
}
.iv-profile__photos img + img { margin-left: -10px; }
.iv-profile__tag {
  display: inline-block;
  margin: 0 0 8px !important;
  padding: 2px 12px;
  background: #F88C00;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.7;
  border-radius: 999px;
}
.iv-profile__names {
  margin: 0 0 6px !important;
  font-size: 16px;
  font-weight: bold;
  color: #c28142;
}
.iv-profile__text {
  margin: 0 !important;
  text-align: left;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}
.iv-profile__card--hq .iv-profile__text + .iv-profile__names { margin-top: 14px !important; }

/* ===== 仕事内容ページ：導入文と回答ブロックの余白 ===== */
.work-page .iv-lead {
  margin-top: 64px;
  margin-bottom: 0;
}
.work-page .iv-story {
  margin-top: 20px;
}
/* PC：緑の囲みの上端とQアイコンの間に余白をあける */
@media screen and (min-width: 768px) {
  .work-page .iv-story .story-question {
    padding-top: 40px !important;
  }
}

/* ===== 仕事内容ページ：FAQ（アコーディオン） ===== */
.iv-faq {
  margin: 32px 0 56px;
}
.iv-faq__item {
  margin: 0 0 14px;
  background: #fff;
  border: 1px solid #ecdcc6;
  border-radius: 8px;
  overflow: hidden;
}
.iv-faq__q {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 60px 18px 20px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.iv-faq__q::-webkit-details-marker { display: none; }
.iv-faq__q::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: #F88C00;
  color: #fff;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
}
.iv-faq__item[open] .iv-faq__q::after { content: "−"; }
.iv-faq__label {
  flex: 0 0 auto;
  width: 32px;
  height: auto;
}
.iv-faq__text { flex: 1 1 auto; }
.iv-faq__a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff8ef;
  border-top: 1px dashed #f3d3a6;
}
.iv-faq__person {
  flex: 0 0 72px;
  text-align: center;
}
.iv-faq__person img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #e8dccb;
}
.iv-faq__name {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: bold;
  line-height: 1.4;
  color: #c28142;
}
.iv-faq__body {
  flex: 1 1 auto;
  min-width: 0;
}
.iv-faq__body p { margin: 0; }
.iv-faq__body .caption { font-size: 12px; }

/* ===== 仕事内容ページ：FV直下の白い余白（角丸）をなくす ===== */
.work-page.com {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.work-page > .venture-summary {
  margin-top: 0 !important;
}
.mv_lp:has(+ .work-page) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
.mv_lp:has(+ .work-page)::after {
  content: none !important;
}

/* ===== 仕事内容ページ：タグライン上部の白い部分をなくし、オレンジから始める ===== */
.work-page .venture-summary::before,
.work-page .venture-summary::after {
  content: none !important;
  display: none !important;
}
.work-page .venture-summary__background {
  display: none !important;
}
.work-page .venture-summary {
  margin-top: 0 !important;
  padding-top: 80px !important;
  padding-bottom: 200px !important; /* 下の「1分でわかる」の半円と重ならないよう余白を確保 */
  background: linear-gradient(110deg, #f8920c 0%, #fc7a1c 55%, #f99a2e 100%) !important;
}

/* ===== 仕事内容ページ：タグラインの参照元キャプション ===== */
.work-page .venture-summary .iv-summary-caption,
.work-page .venture-summary .iv-summary-caption a {
  color: #fff !important;
}
.work-page .venture-summary .iv-summary-caption {
  max-width: 100%;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.work-page .venture-summary .iv-summary-caption a {
  text-decoration: underline;
}

/* ===== 仕事内容ページ：一般的なホテル勤務との比較表 ===== */
/* テーマ側の表の指定より優先させるため、親要素まで含めて指定 */
/* 列幅を固定し、改行位置が崩れないようにする（スマホは横スクロール） */
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare {
  table-layout: fixed !important;
  width: 100% !important;
  min-width: 760px;
}
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare tbody tr:first-child th:nth-child(1) { width: 16% !important; }
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare tbody tr:first-child th:nth-child(2),
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare tbody tr:first-child th:nth-child(3),
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare tbody tr:first-child th:nth-child(4) { width: 28% !important; }
/* 余白と行間 */
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare th,
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare td {
  padding: 16px 20px !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  vertical-align: middle !important;
}
/* 「項目」の列は改行させない */
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare tbody tr th:first-child {
  white-space: nowrap !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}
/* セルの文章は中央揃え */
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare tbody tr td {
  text-align: center !important;
}
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare .iv-compare__in {
  display: inline-block;
  text-align: center !important;
}
/* 「ベンチャー支配人」の列：見出しセル（2列目） */
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare tbody tr:first-child th:nth-child(2) {
  background: #F88C00 !important;
  background-color: #F88C00 !important;
  color: #fff !important;
}
/* 「ベンチャー支配人」の列：本文セル（2列目） */
.work-page .low-table-scroll .low-table-scroll__body table.iv-compare tbody tr:not(:first-child) td:nth-child(2) {
  background: #fff3e3 !important;
  background-color: #fff3e3 !important;
  font-weight: bold !important;
  color: #333 !important;
}

/* ===== 仕事内容ページ：セクション見出し（Interview / Work / Decision / Step / FAQ）の文字サイズを統一 ===== */
/* いちばん長い行（13文字）が1行に収まるサイズにそろえる */
.work-page .story-heading__title {
  font-size: 28px !important;
  letter-spacing: 0.02em !important;
  line-height: 1.5 !important;
}

/* ===== 記事内の表（クラスなし）：外枠の左線を表示する ===== */
/* テーマ側で外枠が白（--color-white）になっているため、罫線色で上書き */
/* ※ #dcefea は仮の色。既存の横線（td の border-bottom）の色に合わせて変更してください */
#contents table:not([class]) {
  border-color: #dcefea !important;
}
#contents table:not([class]) th:first-child,
#contents table:not([class]) td:first-child {
  border-left: 1px solid #dcefea !important;
}

/* ===== 記事内：人物紹介カード（写真小さめ・余白詰め） ===== */
.iv-person {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 24px 0 36px;
  padding: 24px;
  background: #fff8ef;
  border: 1px solid #f5d9b5;
  border-radius: 8px;
}
.iv-person__photo {
  flex: 0 0 180px;
  margin: 0;
}
.iv-person__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
}
/* 本文上の見出し（所属・名前・肩書き） */
.iv-person__head {
  margin: 0 0 14px;
  padding: 0 0 12px;
  border-bottom: 1px dashed #f3d3a6;
}
.iv-person__org {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: #888;
}
.iv-person__name {
  display: block;
  margin: 2px 0 8px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  color: #c28142;
}
.iv-person__role {
  display: inline-block;
  padding: 2px 12px;
  background: #F88C00;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  line-height: 1.7;
  border-radius: 999px;
}
.iv-person__body {
  flex: 1 1 auto;
  min-width: 0;
}
.iv-person__body p {
  margin: 0 0 1em;
  font-size: 15px;
  line-height: 1.9;
}
.iv-person__body p:last-child { margin-bottom: 0; }

/*----------------------------------------------------
    SPサイトcss
----------------------------------------------------*/

@media screen and (max-width: 767px) {
/*/////////////SP用のCSSをここに作成してください。/////////////*/
/*/////////////必ず中括弧の中に作成してください。/////////////*/

  .work-page .iv-container { padding: 0 16px; }
  .work-page .story-heading__title {
    font-size: 21px !important;
    letter-spacing: 0 !important;
  }
  /* 「ベンチャー支配人制度をもっと知る」を1行に収める */
  .work-page .venture-more__title > span {
    font-size: 14px !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }
  .iv-profile {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .iv-profile__photos img {
    width: 60px;
    height: 60px;
  }
  .work-page .iv-lead { margin-top: 48px; }
  .iv-faq__q {
    padding: 16px 52px 16px 14px;
    font-size: 15px;
    gap: 10px;
  }
  .iv-faq__q::after { right: 14px; }
  .iv-faq__label { width: 26px; }
  .iv-faq__a {
    gap: 12px;
    padding: 16px 14px;
  }
  .iv-faq__person { flex-basis: 56px; }
  .iv-faq__person img {
    width: 52px;
    height: 52px;
  }
  .iv-faq__name { font-size: 10px; }
  .work-page .venture-summary {
    padding-top: 56px !important;
    padding-bottom: 140px !important;
  }

  /* 記事内：人物紹介カード */
  .iv-person {
    flex-direction: column;
    gap: 16px;
    padding: 20px 16px;
  }
  .iv-person__photo {
    flex-basis: auto;
    width: 150px;
  }
  .iv-person__body p { font-size: 14px; }
  .iv-person__head { text-align: center; }
  .iv-person__name { font-size: 18px; }

  /* 仕事内容ページ：Qブロック（緑の囲み）上部の余白を詰める */
  .work-page .iv-story .story-body {
    padding-top: 24px !important;
  }
  .work-page .iv-story .story-question {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  .work-page .iv-story .story-question__title > span {
    margin-top: 0 !important;
  }
	.work-page.com {
    margin: 3rem 0px;
}

}