/* =========================
   リセット
========================= */
*, *::before, *::after {
  box-sizing: border-box;
}

/* =========================
   基本レイアウト
========================= */
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  background-color: #f3efe4;
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   ヘッダー
========================= */
header {
  background-color: #f3efe4;
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 0.5;
}

.logo img {
  height: 50px;
  display: block;
}

/* =========================
   Hero
========================= */

.hero {
  min-height: 520px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("../images/Home_Hero.png");
  background-size: cover;
  background-position: center;
  color: #000;
}

.hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.hero-inner h1 {
  font-size: 46px;
  line-height: 1.5;
  margin: 0;
}

.hero-inner p {
  font-size: 24px;
  line-height: 1.6;
  margin-top: 20px;
  margin-bottom: 0;
}

/* =========================
   共通セクション
========================= */
.section {
  padding: 80px 0;
  text-align: center;
}

.section h2 {
  font-size: 36px;
  margin-top: 0;
  margin-bottom: 16px;
}

.section-lead {
  font-size: 18px;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}

/* section直下の説明文用 */
.section > .container > p {
  margin-top: 0;
  margin-bottom: 40px;
}

/* =========================
   タグ共通
========================= */
.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border: 1px solid #bdb7a8;
  background-color: #fff;
}

/* =========================
   サービスの紹介
========================= */
.service-wrapper {
  width: 100%;
}

.service-list {
  display: flex;
  gap: 40px;
  margin-top: 24px;
}

.service-card {
  display: flex;
  flex: 1;
  background-color: #f3efe4;
}

.service-card img {
  width: 200px;
  height: 160px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  margin-top: 20px;
}

.service-content h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.service-content p {
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 10px;
}

.service-content {
  padding: 12px 14px;
  text-align: left;
  margin-bottom: 2px;
}

.service-content .tag-list .tag {
  font-size: 14px;
}

.service-note {
  font-size: 14px;
  line-height: 1.6;
  padding-top: 20px;
  text-align: left;
}

/* =========================
   システムの紹介
========================= */
.system-lead {
  font-size: 18px;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}

.system-list {
  display: flex;
  gap: 26px;
  justify-content: center;
  margin-top: 24px;
}

.system-card {
  flex: 1;
  text-align: left;
}

.system-card h3{
  font-size: 24px;
  margin-top: 20px;
  margin-bottom: 0px;
}

.system-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.system-sentence {
  font-size: 16px;
  line-height: 1.4;
  margin-top: 4px;
  margin-bottom: 4px; 
}

.target-user {
  font-size: 15px;
  line-height: 1.5;
  background-color: #e8e2d4;
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 8px;
}

/* =========================
   ボタン
========================= */
.button-wrap {
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 40px;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  font-size: 20px;
}

.btn-free-consultation {
  background: #005731; 
}

.btn:hover {
  background-color: #555;
  transform: translateY(-2px);
}

/* =========================
   お客様の声
========================= */
.voice-lead {
  font-size: 18px;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 0;
}

.voice-card-lead {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px !important;
}

.voice-list {
  display: flex;
  gap: 25px;
  justify-content: center;
}

.voice-card {
  flex: 1;
  border-radius: 8px;
  background: #e8e2d4;
  padding: 30px 30px 36px 36px;
/* 上 右 下 左 の順 */
  text-align: left;
}

.voice-card h3 {
  font-size: 24px;
  margin-top: 0;
  margin-bottom: 10px;
}

.voice-card h4 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 10px;
}

.voice-card p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.text-red {
  color: #8B0000;
  text-decoration: underline;
}



/* =========================
   フッター
========================= */
.site-footer {
  background-color: #f3efe4;
  padding: 40px 0;
}

.copyright-bar {
  background-color: #2a2a2a;
  padding: 14px 0;
  text-align: center;
}

.copyright-bar p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  margin: 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-nav {
  display: contents;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  list-style: none;
}

.footer-nav a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-sns-text {
  font-size: 14px;
  color: #222;
}

.footer-sns img {
  width: auto;
  height: 40px;
  display: block;
  object-fit: contain;
}

/* =========================
   プライバシーポリシー
========================= */
.privacy-body {
  text-align: left;
  max-width: 800px;
  margin: 32px auto 0;
  line-height: 1.9;
  font-size: 15px;
}

.privacy-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 8px;
  padding-left: 12px;
  border-left: 4px solid #333;
}

.privacy-body p {
  margin: 0 0 12px;
}

.privacy-body ol {
  margin: 0 0 12px;
  padding-left: 24px;
}

.privacy-body ol li {
  margin-bottom: 6px;
}

/* =========================
   お問い合わせフォーム
========================= */
.form-page-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}

.form-page-lead {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 48px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 36px;
}

.form-label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-required {
  display: inline-block;
  background-color: #c05a00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-select-wrap {
  position: relative;
}

.form-select-wrap::after {
  content: '＞';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
  font-size: 14px;
  color: #555;
}

.form-select {
  width: 100%;
  padding: 12px 40px 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #b0a888;
  border-radius: 8px;
  background-color: #fff;
  appearance: none;
  cursor: pointer;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #b0a888;
  border-radius: 8px;
  background-color: #fff;
}

.form-input--half {
  max-width: 340px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-input {
  flex: 1;
}

.form-note {
  font-size: 14px;
  color: #555;
  margin: 0 0 10px;
  line-height: 1.7;
}

.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid #b0a888;
  border-radius: 8px;
  background-color: #fff;
  resize: vertical;
}

.form-privacy-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-privacy-box {
  border: 1px solid #b0a888;
  border-radius: 8px;
  background-color: #fff;
  padding: 62px;
  height: 520px;
  overflow-y: scroll;
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 16px;
}

.privacy-box-heading {
  font-size: 18px;
}

.form-privacy-box p {
  margin: 0 0 12px;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
}

.contact-form .button-wrap,
#applyForm .button-wrap {
  text-align: center;
}

.form-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.btn-submit {
  background-color: #005a8e;
  font-size: 22px;
  padding: 14px 80px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 6px;
  color: #fff;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background-color: #004570;
  transform: translateY(-2px);
}

.btn-submit--orange {
  background-color: #c0201a;
}

.btn-submit--orange:hover {
  background-color: #961812;
}

.btn-submit--black {
  background-color: #222;
}

.btn-submit--black:hover {
  background-color: #444;
}

.btn-submit--green {
  background-color: #005731;
}

.btn-submit--green:hover {
  background-color: #003d22;
}

.form-mail-link,
.form-privacy-link {
  color: #c05a00;
  text-decoration: underline;
}

/* 携帯・郵便番号 */
.form-tel-row,
.form-zip-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-input--tel {
  width: 90px;
  text-align: center;
}

.form-input--zip {
  width: 80px;
  text-align: center;
}

.form-tel-sep {
  font-size: 18px;
  font-weight: 700;
}

.btn-zip-search {
  background-color: #005a8e;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.btn-zip-search:hover {
  background-color: #004570;
}

/* ファイルアップロード */
.form-file-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-file-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.form-file-label {
  font-size: 15px;
  font-weight: 700;
  min-width: 130px;
}

.form-file-input {
  display: none;
}

.btn-file {
  display: inline-block;
  background-color: #005a8e;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.btn-file:hover {
  background-color: #004570;
}

.form-file-name {
  font-size: 13px;
  color: #444;
}

.btn-file-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e0e0e0;
  color: #555;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s, color 0.2s;
  line-height: 1;
}

.btn-file-clear:hover {
  background-color: #c00;
  color: #fff;
}

/* =========================
   採用ヒーロー
========================= */
.recruit-hero {
  width: 100%;
  position: relative;
  color: #fff;
}

.recruit-hero img.recruit-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.recruit-hero-inner {
  position: absolute;
  top: 8%;
  left: 0;
  width: 100%;
  text-align: center;
}

.recruit-hero-inner h1 {
  font-size: 40px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* =========================
   採用リード文
========================= */
.recruit-lead {
  font-size: 18px;
  text-align: center;
  margin-top: 8px;
  margin-bottom: 40px;
}

/* =========================
   中途採用
========================= */
.job-list {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  text-align: left;
}

.job-card {
  flex: 1;
}

.job-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.job-card-body {
  padding: 12px 4px 0;
}

.job-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 6px;
}

.job-card-body p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
}

.job-link {
  font-size: 14px;
  color: #c0201a;
  text-decoration: underline;
}

.job-link:hover {
  opacity: 0.7;
}

.btn-apply {
  background-color: #c0201a;
}

.btn-apply:hover {
  background-color: #961812;
}

/* =========================
   メンバー紹介
========================= */
.member-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  text-align: left;
}

.member-card {
  background-color: #ede8dc;
  border-radius: 8px;
  overflow: hidden;
}

.member-header {
  padding: 16px 20px 12px;
}

.member-role {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  white-space: nowrap;
}

.member-name {
  color: #222;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
}

.member-name:hover {
  text-decoration: underline;
}

.member-catchphrase {
  font-size: 14px;
  font-weight: 700;
  color: #8B0000;
  margin: 0;
}

.member-body {
  display: flex;
  gap: 16px;
  padding: 0 20px 20px;
  align-items: flex-start;
}

.member-body img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.member-body p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}

/* =========================
   会社概要
========================= */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  text-align: left;
  font-size: 19px;
}

.company-table th,
.company-table td {
  border: 1px solid #b0a888;
  padding: 14px 20px;
  vertical-align: top;
  line-height: 1.7;
}

.company-table th {
  width: 220px;
  font-weight: 700;
  text-align: center;
  background-color: #f3efe4;
  white-space: nowrap;
}

.company-table td {
  background-color: #fff;
  padding-left: 60px;
}

/* =========================
   沿革
========================= */
.timeline {
  margin-top: 40px;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 130px 40px 1fr;
  align-items: stretch;
  margin-bottom: 0;
}

.timeline-year {
  font-size: 30px;
  font-weight: 700;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 16px;
  padding-right: 8px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.timeline-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.timeline-dot-wrap::before {
  content: '';
  display: block;
  width: 2px;
  flex: 1;
  background-color: #555;
  min-height: 24px;
}

.timeline-dot-wrap::after {
  content: '';
  display: block;
  width: 2px;
  flex: 1;
  background-color: #555;
  min-height: 24px;
}

.timeline-item:first-child .timeline-dot-wrap::before {
  background-color: transparent;
}

.timeline-item:last-child .timeline-dot-wrap::after {
  background-color: transparent;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #555;
  flex-shrink: 0;
}

.timeline-content {
  display: flex;
  align-items: center;
  padding: 16px 0 16px 20px;
  margin-left: 35px !important;
  margin-right: 40px; /* ← 追加 */
}

.timeline-content > span,
.timeline-content {
  background-color: #ede8dc;
  border-radius: 6px;
  padding: 12px 50px;
  font-size: 22px;
  line-height: 1.5;
  margin: 12px 0;
  width: auto;
  box-sizing: border-box;
}

/* =========================
   事業所案内
========================= */
.office-inner {
  display: flex;
  gap: 50px;
  margin-top: 32px;
  margin-bottom: 40px;
  text-align: left;
}

.office-map {
  flex: 1;
  min-height: 280px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #ddd;
}

.office-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
}

.office-info {
  flex: 1;
}

.office-info h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px 30px;
}

.office-info p {
  font-size: 20px;
  line-height: 1.5;
  margin: 0 0 20px 30px;
}

.btn-contact {
  background-color: #6b2fa0;
}

.btn-contact:hover {
  background-color: #572280;
}

/* =========================
   料金設定
========================= */
.pricing-list {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 0;
  text-align: left;
}

.pricing-card {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 8px;
  border: 2px solid;
  padding: 36px 20px;
  text-align: center;
}

.pricing-card--green {
  background-color: #d4e8b0;
  border-color: #7ab048;
}

.pricing-card--orange {
  background-color: #f8d4b0;
  border-color: #d48848;
}

.pricing-card--beige {
  background-color: #ede8dc;
  border-color: #b0a888;
}

.pricing-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
  white-space: nowrap;
  letter-spacing: -0.04em;
}

.pricing-price {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  text-align: left;
}

.pricing-features li {
  font-size: 16px;
  padding: 4px 0;
}

.pricing-features li::before {
  content: "✓ ";
  color: #3a6e14;
  font-weight: 700;
}

.pricing-plus {
  text-align: center;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  margin: 24px 0;
}

.pricing-support {
  border: 2px solid #222;
  border-radius: 8px;
  padding: 28px 40px;
  margin-bottom: 40px;
  background-color: #fff;
  text-align: center;
}

.pricing-support-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.pricing-support-title h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.pricing-support-price {
  font-size: 20px;
  font-weight: 700;
}

.pricing-support-desc {
  font-size: 16px;
  color: #8B0000;
  margin: 0;
  line-height: 1.7;
}

.pricing-support p {
  font-size: 15px;
  color: #8B0000;
  margin: 0;
  line-height: 1.7;
}

/* =========================
   制作の流れ
========================= */
.flow-grid {
  display: grid;
  grid-template-columns: 200px 72px 1fr;
  grid-template-rows: repeat(9, auto);
  column-gap: 8px;
  margin-top: 40px;
  text-align: left;
}

/* 行指定（ステップ名・説明） */
.flow-r1 { grid-row: 1; }
.flow-r2 { grid-row: 2; }
.flow-r3 { grid-row: 3; }
.flow-r4 { grid-row: 4; }
.flow-r5 { grid-row: 5; }
.flow-r6 { grid-row: 6; }
.flow-r7 { grid-row: 7; }
.flow-r8 { grid-row: 8; }
.flow-r9 { grid-row: 9; }

/* 矢印セル（複数行にまたがる） */
.flow-r1-2 { grid-row: 1 / 3; grid-column: 2; }
.flow-r3-4 { grid-row: 3 / 5; grid-column: 2; }
.flow-r5-7 { grid-row: 5 / 8; grid-column: 2; }
.flow-r8-9 { grid-row: 8 / 10; grid-column: 2; }

.flow-name {
  grid-column: 1;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  padding: 12px 24px 12px 16px;
  border-bottom: 1px solid #d4cfc4;
  position: relative;
  z-index: 0;
}

.flow-r1.flow-name {
  align-items: flex-start;
  padding-top: 16px;
}

.flow-name:last-of-type,
.flow-r9.flow-name {
  border-bottom: none;
}

.flow-arrow-cell {
  grid-column: 2;
  display: flex;
  justify-content: center;
  padding: 4px 8px 16px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.flow-arrow-inner {
  background-color: #8B0000;
  color: #fff;
  width: 60px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), 50% 100%, 0 calc(100% - 16px));
}

.flow-arrow-inner span {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.flow-desc {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid #d4cfc4;
  position: relative;
  z-index: 0;
}

.flow-r9.flow-desc {
  border-bottom: none;
}

.flow-desc-box {
  background-color: #ede8dc;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 19px;
  line-height: 1.5;
}

.flow-milestone {
  background-color: #e8c870;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  margin-left: calc(-200px - 72px - 43px);
}

/* =========================
   CTA
========================= */
.cta-text {
  font-size: 18px;
  font-weight: 700;
  color: #8B0000;
  line-height: 1.8;
  margin-bottom: 32px;
}
/* =========================
   求人詳細ページ（job-ui-designer）
========================= */
.jd-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  background: #111;
}
.jd-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(20%);
  animation: jdZoomOut 8s ease forwards;
}
@keyframes jdZoomOut {
  from { transform: scale(1.08); }
  to   { transform: scale(1.00); }
}
.jd-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(10,10,10,0.82) 0%, transparent 60%);
}

.jd-hero-overlay-inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px 48px;
}
.jd-hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #b8924a;
  border: 1px solid #b8924a;
  padding: 4px 12px;
  margin-bottom: 16px;
  width: fit-content;
  opacity: 0;
  animation: jdFadeUp 0.7s 0.3s ease forwards;
}
.jd-hero-title {
  font-size: clamp(38px, 6vw, 64px);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 700;
  opacity: 0;
  animation: jdFadeUp 0.7s 0.5s ease forwards;
}
.jd-hero-title em {
  font-style: normal;
  color: #fff;
}
.jd-hero-sub {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0;
  animation: jdFadeUp 0.7s 0.7s ease forwards;
}
@keyframes jdFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Breadcrumb */
.jd-breadcrumb {
  padding: 16px 0;
  font-size: 12px;
  color: #999;
  border-bottom: 1px solid #e2dfd8;
  background: #fff;
}
.jd-breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 4px;
}
.jd-breadcrumb a { color: #999; text-decoration: none; }
.jd-breadcrumb a:hover { color: #222; }
.jd-breadcrumb span { margin: 0 2px; }

/* Layout */
.jd-layout {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 24px 120px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

/* Section */
.jd-section { margin-bottom: 64px; }
.jd-section-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8B0000;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.jd-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2dfd8;
  max-width: 60px;
}
.jd-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.3;
}
.jd-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

/* Appeal cards */
.jd-appeal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.jd-appeal-card {
  background: #fff;
  border: 1px solid #e2dfd8;
  border-radius: 8px;
  padding: 22px 20px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.jd-appeal-card:hover {
  border-color: #8B0000;
  box-shadow: 0 4px 20px rgba(139,0,0,0.08);
}
.jd-appeal-num {
  font-size: 11px;
  color: #8B0000;
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.jd-appeal-card p {
  font-size: 13px;
  line-height: 1.8;
  color: #555;
}

/* Table */
.jd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.jd-table tr { border-bottom: 1px solid #e2dfd8; }
.jd-table tr:last-child { border-bottom: none; }
.jd-table th {
  text-align: left;
  padding: 18px 20px 18px 0;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  width: 140px;
  vertical-align: top;
  font-size: 13px;
}
.jd-table td {
  padding: 18px 0 18px 20px;
  color: #555;
  line-height: 1.8;
  border-left: 1px solid #e2dfd8;
  vertical-align: top;
}
.jd-table td ul { padding-left: 16px; margin: 0; }
.jd-table td li { margin-bottom: 4px; }

.jd-badge-required {
  display: inline-block;
  background: #1a1a1a;
  color: #fff;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: 0.08em;
}
.jd-badge-optional {
  display: inline-block;
  background: #f3f1ec;
  color: #8B0000;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
  letter-spacing: 0.08em;
}
.jd-skill-item { margin-bottom: 10px; }

/* Welfare pills */
.jd-welfare-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.jd-welfare-pill {
  background: #f3f1ec;
  border: 1px solid #e2dfd8;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: #555;
}

/* Sidebar */
.jd-sidebar { position: sticky; top: 40px; }

.jd-info-card {
  background: #fff;
  border: 1px solid #e2dfd8;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}
.jd-info-card-head {
  background: #1a1a1a;
  color: #fff;
  padding: 14px 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.jd-info-card-body { padding: 16px 20px; }
.jd-info-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid #e2dfd8;
}
.jd-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.jd-info-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #999;
}
.jd-info-value {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 700;
  line-height: 1.5;
}
.jd-info-value.small { font-size: 13px; font-weight: 400; color: #555; }

.jd-apply-btn {
  display: block;
  width: 100%;
  background: #c0201a;
  color: #fff;
  padding: 16px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
  margin-bottom: 10px;
}
.jd-apply-btn:hover { background: #961812; transform: translateY(-1px); }

.jd-contact-link {
  display: block;
  text-align: center;
  font-size: 12px;
  color: #999;
  text-decoration: none;
  padding: 8px;
}
.jd-contact-link:hover { color: #8B0000; }

.jd-location-card {
  background: #f3f1ec;
  border: 1px solid #e2dfd8;
  border-radius: 12px;
  padding: 20px 22px;
  margin-top: 20px;
}
.jd-location-card .jd-map-icon { font-size: 22px; margin-bottom: 8px; }
.jd-location-card .jd-loc-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.jd-location-card .jd-loc-sub { font-size: 12px; color: #999; line-height: 1.6; }

/* Responsive */
@media (max-width: 820px) {
  .jd-hero-overlay { padding: 32px 24px; }
  .jd-layout { grid-template-columns: 1fr; padding: 48px 24px 80px; gap: 48px; }
  .jd-sidebar { position: static; }
  .jd-appeal-grid { grid-template-columns: 1fr; }
}
