/* ========================================
   基本設定
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.8;
  color: #333333;
  background: #fff;
}

a {
  color: #1b294b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.pc {
  display: inline;
}

.sp {
  display: none;
}

/* ========================================
   共通パーツ（余白控えめ）
======================================== */
.section-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-title {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #1b294b;
}

.btn-primary {
  display: inline-block;
  background: #f9c51d;
  color: #1b294b;
  padding: 15px 35px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:active,
.btn-primary:focus {
  color: #000;
}

.btn-primary:hover {
  background: #e6b820;
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  background: #fff;
  color: #1b294b;
  padding: 15px 35px;
  border: 2px solid #1b294b;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-secondary,
.btn-secondary:link,
.btn-secondary:visited,
.btn-secondary:active,
.btn-secondary:focus {
  color: #1b294b;
}

.btn-secondary:hover {
  background: #1b294b;
  color: #fff;
  text-decoration: none;
}

/* ========================================
   ファーストビュー（余白控えめ）
======================================== */
.hero-section {
  background: #fff;
  text-align: center;
  padding: 40px 20px 25px;
}

.hero-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #1b294b;
}

.hero-title::after {
  content: none;
}

.hero-title-text {
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.hero-title-text::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80%;
  height: 3px;
  background: #f9c51d;
  opacity: 0.8;
  transform: translateX(-50%);
}

.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.hero-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

/* ========================================
   こんなお悩み
======================================== */
.concerns-section {
  background: #fff;
}

.concerns-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
}

.concern-item {
  padding: 12px 18px;
  margin-bottom: 10px;
  background: #eef2f4;
  border-left: 4px solid #1b294b;
  border-radius: 4px;
  font-size: 15px;
  color: #333333;
}

.concern-item::before {
  content: "✓ ";
  color: #1b294b;
  font-weight: bold;
  margin-right: 8px;
}

/* ========================================
   サービスの特徴
======================================== */
.features-section {
  background: #eef2f4;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: #fff;
  padding: 30px 20px; /* 25px → 30px */
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #1b294b;
  text-align: center; /* 追加 */
  transition: all 0.3s; /* 追加 */
  text-decoration: none; /* 追加 */
  display: block; /* 追加 */
}

.feature-card:hover {
  /* 新規追加 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.feature-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 15px; /* 12px → 15px */
  color: #1b294b;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0; /* 追加 */
}

/* アイコン画像用 */
.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* リンクテキスト用 */
.feature-link {
  display: inline-block;
  margin-top: 15px;
  color: #1b294b;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.3s;
}

.feature-card:hover .feature-link {
  color: #ffce27;
  text-decoration: none;
}

/* ========================================
   FAQ
======================================== */
.faq-section {
  background: #fff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #f3f3f2;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  padding: 16px 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1b294b;
  font-size: 15px;
}

.faq-question::after {
  content: "▼";
  font-size: 11px;
  color: #181b26;
}

.faq-answer {
  padding: 0 18px 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.faq-question {
  list-style: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

/* ========================================
   転職の心構え
======================================== */
.mindset-section {
  background: #eef2f4;
}

.mindset-intro {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
}

.mindset-intro p {
  font-size: 15px;
  line-height: 1.9;
  color: #333333;
}

.mindset-questions {
  list-style: none;
  max-width: 800px;
  margin: 0 auto 40px;
}

.mindset-question {
  padding: 15px 20px 15px 60px;
  margin-bottom: 12px;
  background: #fff;
  border-left: 4px solid #ffce27;
  border-radius: 6px;
  font-size: 15px;
  color: #333333;
  position: relative;
}

.mindset-question::before {
  content: "Q";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: #ffce27;
  color: #1b294b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.mindset-message {
  max-width: 800px;
  margin: 0 auto;
  padding: 25px 30px;
  background: linear-gradient(135deg, #1b294b 0%, #2a848a 100%);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mindset-message p {
  font-size: 15px;
  line-height: 1.9;
  color: #fff;
  margin: 0;
}

/* ========================================
   詳細ページ補助
======================================== */
.contentsleft .hero-head-row,
.contentsleft .hero-title-row {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-align: center;
}

.contentsleft .hero-title-main-wrap {
  width: 100%;
  text-align: center;
}

.contentsleft .hero-title-main {
  margin: 0;
  text-align: center;
}

.contentsleft .hero-title-main-wrap .hero-title,
.contentsleft .hero-section .hero-title:not(.hero-title-main) {
  margin: 0;
  text-align: center;
}

.contentsleft .feature-icon-image,
.contentsleft .hero-section .feature-icon img,
.contentsleft .hero-title-icon img {
  width: 60px;
  height: 60px;
}

.contentsleft .hero-title-icon,
.contentsleft .hero-section .feature-icon {
  position: absolute;
  right: 0;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

.contentsleft .responsive-font {
  font-size: 0.9rem;
}

.contentsleft .hero-lead-highlight {
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
}

.contentsleft .text-left {
  text-align: left;
}

.contentsleft .text-center,
.contentsleft .register-center {
  text-align: center;
}

.contentsleft .section-wrap-tight {
  padding-bottom: 10px;
}

.contentsleft .concern-item-top,
.contentsleft .concern-item-mid,
.contentsleft .concern-item-bottom {
  background: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.contentsleft .concern-item-top {
  padding: 10px 14px 2px;
  border: 1px solid #e5e7eb;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
}

.contentsleft .concern-item-mid {
  padding: 2px 14px;
  border-left: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  border-top: none;
  border-bottom: none;
  border-radius: 0;
}

.contentsleft .concern-item-mid-tight {
  padding-top: 0;
  padding-bottom: 0;
}

.contentsleft .concern-item-bottom {
  padding: 2px 14px 12px;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 10px 10px;
}

.contentsleft .faq-section-card {
  background: #fff;
  border-radius: 10px;
}

.contentsleft .faq-item-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-left: 6px solid #004494;
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 12px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contentsleft .faq-question-main {
  font-size: 1.5em;
  line-height: 1.3;
  color: #0b3a67;
}

.contentsleft .hero-buttons-center {
  justify-content: center;
}

.contentsleft .btn-introduce {
  margin-top: 15px;
  padding: 12px 30px;
}

.contentsleft .features-grid-single {
  grid-template-columns: 1fr;
  justify-items: center;
}

.contentsleft .main-cv-btn-custom {
  display: inline-block;
  background: #ffce27;
  color: #333;
  font-size: 1.2em;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}

.contentsleft .main-cv-btn-custom,
.contentsleft .main-cv-btn-custom:link,
.contentsleft .main-cv-btn-custom:visited,
.contentsleft .main-cv-btn-custom:active,
.contentsleft .main-cv-btn-custom:hover {
  color: #000;
}

.contentsleft .commitment-detail {
  background: #fff;
  padding: 20px 10px 30px;
}

.contentsleft .commitment-detail h2 {
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 20px;
  color: #1e3a5f;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}

.contentsleft .commitment-detail h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #2d5a8c, #4a90e2);
  border-radius: 2px;
  transform: translateX(-50%);
}

.contentsleft .detail-section {
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 40px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-left: 6px solid #004494;
  border-radius: 10px;
}

.contentsleft .detail-section:last-of-type {
  margin-bottom: 0;
}

.contentsleft .detail-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.contentsleft .detail-header-number {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #356ba8;
  color: #fff;
  border-radius: 12px;
  font-size: 1.8em;
  font-weight: bold;
}

.contentsleft .detail-header-text h3 {
  margin: 0;
  padding: 0;
  color: #1e3a5f;
  font-size: 1.4em;
  font-weight: bold;
}

.contentsleft .detail-header-text p {
  margin-top: 10px;
  padding: 0;
  color: #4a90e2;
  font-size: 1.2em;
  font-weight: 600;
}

.contentsleft .detail-content {
  color: #333;
  line-height: 1.9;
}

.contentsleft .detail-content p {
  margin-bottom: 0.5em;
  padding: 0;
}

.contentsleft .detail-content p:last-child {
  margin-bottom: 0;
}

.contentsleft .to_start {
  margin-top: 30px;
  padding: 30px 30px 0;
  background-color: #eef2f4;
  background-image: none;
}

.contentsleft .to_start > h2 {
  width: fit-content;
  margin: 0 auto 40px;
  max-width: 352px;
  clear: both;
  color: #1b294b;
  font-size: 32px;
  font-weight: 700;
  border-bottom: solid 1px;
}

.contentsleft .to_start-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  width: 100%;
  margin-top: 20px;
}

.contentsleft .step-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  text-align: left;
}

.contentsleft .step-block::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #1b294b;
  transform: translateY(-50%);
  z-index: 2;
}

.contentsleft .to_start-grid .step-block:nth-child(2n)::after {
  content: none;
}

.contentsleft .step-num {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 0;
  background-color: #1b294b;
  color: #fff;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
}

.contentsleft .step-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 90px;
  margin: 20px 0 10px;
}

.contentsleft .step-subtitle {
  width: 100%;
  margin: 0 0 10px;
  color: #1b294b;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.contentsleft .step-text {
  width: 100%;
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.contentsleft .step-text + .step-text {
  margin-top: 12px;
}

.contentsleft .step-text a,
.contentsleft .cv_btn_wrap + p a,
.contentsleft .preentry-mail {
  color: #004494;
  font-weight: bold;
  text-decoration: underline;
}

.contentsleft #preentry .preentry-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 18px;
}

.contentsleft #preentry .preentry-card,
.contentsleft #preentry .preentry-notes {
  height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
}

.contentsleft #preentry .preentry-card h3 {
  margin: 0 0 12px;
  color: #1b294b;
  font-size: 1.2rem;
}

.contentsleft #preentry .preentry-card p,
.contentsleft #preentry .preentry-notes p,
.contentsleft #preentry .preentry-notes li {
  line-height: 1.8;
}

.contentsleft #preentry .preentry-card p {
  margin: 0;
}

.contentsleft #preentry .preentry-card .main_cv_btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  background: #ffce27;
  color: #333;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.contentsleft #preentry .preentry-mail {
  display: block;
  margin: 12px 0;
  font-size: 1.2rem;
  word-break: break-all;
}

.contentsleft #preentry .preentry-notes {
  background: #f7f9fc;
}

.contentsleft #preentry .preentry-notes ul {
  margin: 14px 0 0 20px;
  padding: 0;
}

.contentsleft #preentry .preentry-notes li {
  margin-bottom: 8px;
}

.contentsleft #preentry .preentry-linkline {
  line-height: 1.9;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 768px) {
  .pc {
    display: none;
  }

  .sp {
    display: inline;
  }

  .section-wrap {
    padding: 30px 15px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .hero-section {
    padding: 40px 15px 0px;
  }

  .hero-title {
    font-size: 24px;
	margin-bottom: 30px;
  }

  .hero-title::after {
    width: 40%;
    margin: 8px auto 0;
  }

  .hero-lead {
    font-size: 14px;
	margin-bottom: 0px;
  }

  .hero-meta {
	margin-bottom: 8px;
  }

/* 3. ボタンのレイアウトは「1段＋2段並列」 */
  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2列のグリッド */
    gap: 10px; /* ボタン同士の隙間を狭く */
  }

  /* メインCVボタン（黄色）は全幅を維持 */
  .btn-primary {
    grid-column: 1 / -1; /* 1列目から最後まで（全幅） */
    padding: 14px 10px;  /* 縦を少しスリムに */
    font-size: 16px;
  }

  /* 二次ボタン（白抜き）をコンパクトに横並び */
  .btn-secondary {
    grid-column: span 1;  /* 1列分（半分）の幅 */
    padding: 12px 5px;   /* 左右パディングを最小限に */
    font-size: 14px;     /* 文字を少し小さくして1行に収める */
	letter-spacing: -0.02em;
    display: flex;       /* 文字を中央に寄せるため */
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* 勝手に改行させない */
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-icon {
	width: 80px;
	height: 80px;
  }

  .feature-title {
	margin-bottom: 15px;
  }

  .feature-link {
	margin-top: 8px;
  }

  .contentsleft .responsive-font {
    font-size: 0.8rem !important;
  }

  .contentsleft .hero-title-main,
  .contentsleft .hero-title-main-wrap .hero-title,
  .contentsleft .hero-section .hero-title:not(.hero-title-main) {
    margin: 0;
  }

  .contentsleft .hero-head-row,
  .contentsleft .hero-title-row {
    flex-direction: row;
    gap: 0;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .contentsleft .hero-title-icon,
  .contentsleft .hero-section .feature-icon {
    margin-top: 0;
    align-self: auto;
  }

  .contentsleft .feature-icon-image,
  .contentsleft .hero-section .feature-icon img,
  .contentsleft .hero-title-icon img {
    width: 48px;
    height: 48px;
  }

  .contentsleft .commitment-detail {
    padding: 20px 0 30px;
  }

  .contentsleft .detail-section {
    padding: 24px 18px;
  }

  .contentsleft .detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .contentsleft .detail-header-text h3 {
    font-size: 1.2em;
  }

  .contentsleft .detail-header-text p {
    font-size: 1em;
  }

  .contentsleft .to_start {
    margin-top: 16px;
    padding: 20px 16px 0;
  }

  .contentsleft .to_start > h2 {
    font-size: 20px;
    max-width: none;
    margin-bottom: 24px !important;
  }

  .contentsleft .to_start-grid,
  .contentsleft #preentry .preentry-grid {
    grid-template-columns: 1fr;
  }

  .contentsleft .step-block::after {
    content: none;
  }

  .contentsleft #preentry .preentry-card,
  .contentsleft #preentry .preentry-notes {
    padding: 16px;
  }

  .contentsleft #preentry .preentry-card h3 {
    font-size: 1.05rem;
  }
}
