/* =====================================================
   COMPANY PAGE
   会社概要・採用情報ページ専用CSS
   共通CSS：common.css
===================================================== */


/* =====================================================
   PAGE HERO
===================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 115px 20px 105px;
  color: #fff;
  background: linear-gradient(
    135deg,
    #071a2b 0%,
    #102a43 60%,
    #168aad 100%
  );
  margin-top: 75px;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  right: -200px;
  top: -300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -100px;
  bottom: -180px;
  border-radius: 50%;
  background: rgba(114, 210, 231, .12);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.page-hero-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #72d2e7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.page-hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 2;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .25s ease, background .25s ease;
}

.hero-button:hover {
  transform: translateY(-3px);
}

.hero-button.primary {
  color: var(--primary);
  background: #fff;
}

.hero-button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(10px);
}


/* =====================================================
   MAIN
===================================================== */

.company-page {
  padding: 80px 20px 110px;
  background: linear-gradient(
    180deg,
    #f7faff 0%,
    #ffffff 100%
  );
}

.company-data-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}


/* =====================================================
   SECTION HEADING
===================================================== */

.section-heading {
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading-en {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
}

.section-heading-en::before,
.section-heading-en::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--primary);
  opacity: .5;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .04em;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--text-sub);
  font-size: 14px;
}


/* =====================================================
   MESSAGE
===================================================== */

.message-section {
  padding-top: 10px;
}

.message-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
  padding: 35px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.message-text h3 {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 30px;
  line-height: 1.5;
}

.message-text p {
  margin: 0;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 2;
}

.message-video video {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  background: #000;
  border-radius: 18px;
}


/* =====================================================
   SECTION TITLE
===================================================== */

.section-title {
  position: relative;
  margin: 90px 0 30px;
  padding: 0 0 16px 20px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 35px;
  border-radius: 10px;
  background: linear-gradient(
    180deg,
    var(--primary),
    var(--accent)
  );
}

.section-title h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
}

.section-title p {
  margin: 6px 0 0;
  color: var(--text-sub);
  font-size: 13px;
}


/* =====================================================
   RECRUIT TABLE
===================================================== */

.table-wrapper {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.table-demo {
  width: 100%;
  border-collapse: collapse;
}

.table-demo th,
.table-demo td {
  padding: 22px 25px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.table-demo tr:last-child th,
.table-demo tr:last-child td {
  border-bottom: 0;
}

.table-demo th {
  width: 23%;
  color: var(--primary-dark);
  background: linear-gradient(
    90deg,
    #f0f7fe,
    #f8fbff
  );
  font-size: 14px;
  font-weight: 800;
  text-align: left;
}

.table-demo td {
  color: #374151;
  background: #fff;
  font-size: 14px;
  line-height: 1.9;
}

.info-label {
  display: inline-block;
  margin-bottom: 4px;
  padding: 3px 9px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}


/* =====================================================
   DATA GRID
===================================================== */

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.data-card {
  position: relative;
  min-height: 380px;
  padding: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, .95);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

.data-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent)
  );
}

.data-card:hover {
  transform: translateY(-6px);
  border-color: #cfe3f7;
  box-shadow: var(--shadow-hover);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.card-label {
  display: block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.card-header h3 {
  margin: 5px 0 0;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
}


/* =====================================================
   CARD ICON
===================================================== */

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    #edf7ff,
    #f5fbff
  );
  border: 1px solid #dceefa;
  border-radius: 50%;
}

.card-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.card-icon.small {
  width: 52px;
  height: 52px;
}

.card-icon.small img {
  width: 34px;
  height: 34px;
}


/* =====================================================
   FOUNDED CARD
===================================================== */

.card-founded {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  text-align: center;
}

.card-founded .card-icon {
  width: 105px;
  height: 105px;
  margin-bottom: 24px;
}

.card-founded .card-icon img {
  width: 75px;
  height: 75px;
}

.card-founded .card-label {
  color: var(--text-sub);
  font-size: 13px;
  letter-spacing: .12em;
}

.big-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: 8px;
  color: var(--primary);
}

.big-number span {
  font-size: clamp(58px, 7vw, 76px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.07em;
}

.big-number small {
  margin-left: 8px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.card-note {
  margin-top: 18px;
  color: var(--text-light);
  font-size: 12px;
}


/* =====================================================
   EMPLOYEE
===================================================== */

.employee-stats {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.employee-stat {
  padding: 15px 10px;
  background: #f7faff;
  border: 1px solid #edf2f7;
  border-radius: 14px;
  text-align: center;
}

.stat-label {
  display: block;
  color: var(--text-sub);
  font-size: 11px;
  line-height: 1.5;
}

.stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: 6px;
  color: var(--primary);
}

.stat-number strong {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
}

.stat-number span {
  margin-left: 3px;
  color: var(--text);
  font-size: 11px;
  font-weight: 700;
}

.chart-title {
  margin: 10px 0 5px;
  color: var(--text-sub);
  font-size: 12px;
  font-weight: 700;
}

.age-chart-container {
  position: relative;
  width: 100%;
  height: 230px;
}


/* =====================================================
   WORK STYLE
===================================================== */

.work-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.work-stat {
  padding: 18px;
  background: #f7faff;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  transition: background .2s ease;
}

.work-stat:hover {
  background: var(--primary-light);
}

.work-stat .stat-label {
  font-size: 12px;
}

.work-stat .stat-number strong {
  font-size: 38px;
}

.work-stat small {
  display: block;
  margin-top: 7px;
  color: var(--text-light);
  font-size: 10px;
}

.stat-number.time {
  justify-content: flex-start;
  gap: 2px;
}

.stat-number.time strong {
  font-size: 34px;
}


/* =====================================================
   JOB CHART
===================================================== */

.job-chart-container {
  position: relative;
  width: 100%;
  height: 300px;
  margin-top: 10px;
}

.card-date {
  margin-top: 15px;
  color: var(--text-light);
  font-size: 10px;
  text-align: right;
}


/* =====================================================
   RECRUIT FLOW
===================================================== */

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 35px 0;
  padding: 0;
  list-style: none;
}

.flow::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 34px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent)
  );
  opacity: .25;
}

.flow > li {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.flow dl {
  height: 100%;
  margin: 0;
  padding: 25px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.flow dl:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.flow dt {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}

.flow dd {
  margin: 18px 0 0;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.9;
}

.flow .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 17px;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--accent)
  );
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(11, 92, 171, .2);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
}

.flow a {
  color: var(--primary);
  font-weight: 700;
}

.flow a:hover {
  color: var(--accent);
  text-decoration: underline;
}


/* =====================================================
   EXTERNAL LINK
===================================================== */

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 14px;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}


/* =====================================================
   COMPANY INFO BOX
===================================================== */

.company-badge {
  padding: 35px;
  text-align: center;
  background: linear-gradient(
    135deg,
    #edf7ff,
    #f7fbff
  );
  border-radius: 20px;
}

.company-badge-label {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
}

.company-badge-year {
  margin-top: 10px;
  color: var(--text);
  font-size: 28px;
  font-weight: 900;
}

.company-badge-text {
  color: var(--text-sub);
  font-size: 13px;
}


/* =====================================================
   MAP
===================================================== */

#map {
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

#map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}


/* =====================================================
   CTA
===================================================== */

.recruit-cta {
  position: relative;
  overflow: hidden;
  margin-top: 90px;
  padding: 70px 35px;
  color: #fff;
  text-align: center;
  background: linear-gradient(
    135deg,
    #073b70,
    #0b5cab,
    #20a4f3
  );
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(11, 92, 171, .18);
}

.recruit-cta::before {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  top: -200px;
  right: -100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}

.recruit-cta h2 {
  position: relative;
  margin: 0;
  font-size: clamp(25px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.5;
}

.recruit-cta p {
  position: relative;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
}

.cta-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 30px;
  color: var(--primary);
  background: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
  transition: transform .25s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
}


/* =====================================================
   TABLET / SMALL PC
===================================================== */

@media (max-width: 900px) {
  .message-box {
    grid-template-columns: 1fr;
  }

  .data-grid {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow::before {
    display: none;
  }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

  /* PAGE HERO */

  .page-hero {
    padding: 72px 18px 65px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .page-hero p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 28px;
  }

  .hero-button {
    width: 100%;
    min-width: 0;
  }


  /* MAIN */

  .company-page {
    padding: 55px 15px 75px;
  }

  .company-data-inner {
    width: 100%;
  }


  /* SECTION HEADING */

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .section-heading p {
    font-size: 13px;
  }


  /* MESSAGE */

  .message-box {
    gap: 25px;
    padding: 20px;
    border-radius: 18px;
  }

  .message-text h3 {
    margin-bottom: 15px;
    font-size: 23px;
  }

  .message-text p {
    font-size: 14px;
  }

  .message-video video {
    max-height: none;
    border-radius: 14px;
  }


  /* SECTION TITLE */

  .section-title {
    margin: 60px 0 22px;
    padding-left: 15px;
  }

  .section-title::before {
    width: 4px;
    height: 29px;
  }

  .section-title h2 {
    font-size: 23px;
  }

  .section-title p {
    font-size: 12px;
  }


  /* RECRUIT TABLE */

  .table-wrapper {
    border-radius: 16px;
  }

  .table-demo,
  .table-demo tbody,
  .table-demo tr {
    display: block;
    width: 100%;
  }

  .table-demo tr {
    border-bottom: 1px solid var(--border);
  }

  .table-demo tr:last-child {
    border-bottom: 0;
  }

  .table-demo th,
  .table-demo td {
    display: block;
    width: 100%;
    border: 0;
  }

  .table-demo th {
    padding: 12px 16px 7px;
    background: #eef6fd;
    font-size: 13px;
  }

  .table-demo td {
    padding: 7px 16px 17px;
    font-size: 13px;
    line-height: 1.9;
    overflow-wrap: anywhere;
  }


  /* DATA GRID */

  .data-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .data-card {
    min-height: auto;
    padding: 22px 18px;
    border-radius: 18px;
  }

  .card-founded {
    min-height: 280px;
  }

  .card-founded .card-icon {
    width: 82px;
    height: 82px;
    margin-bottom: 18px;
  }

  .card-founded .card-icon img {
    width: 60px;
    height: 60px;
  }

  .big-number span {
    font-size: 58px;
  }

  .big-number small {
    font-size: 15px;
  }

  .card-header {
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }

  .card-header h3 {
    font-size: 18px;
  }

  .card-icon.small {
    width: 48px;
    height: 48px;
  }

  .card-icon.small img {
    width: 31px;
    height: 31px;
  }


  /* EMPLOYEE */

  .employee-stats {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .employee-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
  }

  .employee-stat .stat-number {
    margin-top: 0;
  }

  .stat-number strong {
    font-size: 30px;
  }

  .age-chart-container {
    height: 270px;
  }


  /* WORK STYLE */

  .work-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .work-stat {
    padding: 13px 10px;
  }

  .work-stat .stat-label {
    font-size: 11px;
  }

  .work-stat .stat-number strong {
    font-size: 28px;
  }

  .stat-number.time strong {
    font-size: 23px;
  }

  .work-stat small {
    font-size: 9px;
  }


  /* JOB CHART */

  .job-chart-container {
    height: 280px;
  }


  /* RECRUIT FLOW */

  .flow {
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 25px 0;
  }

  .flow dl {
    padding: 20px 17px;
    border-radius: 16px;
  }

  .flow dt {
    font-size: 16px;
  }

  .flow dd {
    margin-top: 15px;
    font-size: 13px;
  }

  .flow .icon {
    width: 55px;
    height: 55px;
    margin-bottom: 14px;
    font-size: 9px;
  }


  /* COMPANY INFO */

  .company-badge {
    padding: 28px 20px;
    border-radius: 18px;
  }


  /* MAP */

  #map {
    border-radius: 16px;
  }

  #map iframe {
    height: 300px;
  }


  /* CTA */

  .recruit-cta {
    margin-top: 55px;
    padding: 45px 20px;
    border-radius: 20px;
  }

  .recruit-cta h2 {
    font-size: 25px;
    line-height: 1.55;
  }

  .recruit-cta p {
    font-size: 13px;
    line-height: 1.8;
  }

  .cta-button {
    width: 100%;
    min-width: 0;
    padding: 15px 20px;
  }
}


/* =====================================================
   VERY SMALL SMARTPHONE
===================================================== */

@media (max-width: 380px) {

  .page-hero h1 {
    font-size: 36px;
  }

  .work-stats {
    grid-template-columns: 1fr;
  }

  .work-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .work-stat small {
    margin-top: 0;
  }

  .big-number span {
    font-size: 52px;
  }
}

/* ===================================================== RECRUIT FLOW ICON COLOR FIX ===================================================== */

.flow .icon { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin-bottom: 17px;

color: #ffffff; background: linear-gradient(135deg, #0b5cab, #20a4f3) !important; border: none; border-radius: 50%;

box-shadow: 0 8px 20px rgba(11, 92, 171, 0.25); font-size: 10px; font-weight: 800; letter-spacing: 0.05em; }

/* スマートフォン */ @media (max-width: 600px) { .flow .icon { width: 55px; height: 55px; margin-bottom: 14px; } }

/* 募集要項を見る：ボタンの色 */
.hero-button.primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0b5cab, #20a4f3) !important;
  border: 1px solid #20a4f3;
  box-shadow: 0 6px 18px rgba(11, 92, 171, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* マウスを乗せたとき */
.hero-button.primary:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #084781, #168bd2) !important;
  box-shadow: 0 10px 24px rgba(11, 92, 171, 0.35);
  transform: translateY(-3px);
}

/* =====================================================
   CTA：募集要項を確認するボタン（青系・視認性重視）
===================================================== */

.recruit-cta .cta-button {
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    #00a6e8,
    #0077cc
  ) !important;
  border: 2px solid #ffffff;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.15),
    0 8px 25px rgba(0, 20, 50, 0.25);
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* ホバー時 */
.recruit-cta .cta-button:hover {
  color: #ffffff !important;
  background: linear-gradient(
    135deg,
    #008bd0,
    #005da8
  ) !important;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.2),
    0 12px 30px rgba(0, 20, 50, 0.3);
  transform: translateY(-3px);
}

/* 矢印を強調 */
.recruit-cta .cta-button span {
  margin-left: 8px;
  font-size: 18px;
  font-weight: 900;
}

.recruit-links {
  max-width: 650px;
  margin: 30px auto;
}

.recruit-links-heading {
  margin-bottom: 10px;
  color: #174a78;
  font-size: 22px;
  font-weight: bold;
}

.recruit-links-description {
  margin-bottom: 20px;
  color: #5b6570;
  line-height: 1.8;
}

.recruit-link {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  margin-bottom: 14px;
  border: 2px solid #174a78;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.recruit-link-primary {
  background: #e8f1fa;
  color: #315f88;
  border-color: #c5d9ec;
}

.recruit-link-primary:hover {
  background: #d9e8f6;
  color: #244d73;
  border-color: #a9c7e2;
}

.recruit-link-outline {
  background: #ffffff;
  color: #174a78;
}

.recruit-link-icon {
  font-size: 27px;
  flex-shrink: 0;
}

.recruit-link-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.recruit-link-text strong {
  font-size: 16px;
  line-height: 1.6;
}

.recruit-link-text small {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
}

.recruit-link-arrow {
  font-size: 22px;
  flex-shrink: 0;
}

.recruit-link-primary:hover {
  background: #ffffff;
  color: #174a78;
}

.recruit-link-outline:hover {
  background: #edf4fa;
  transform: translateY(-2px);
}

@media screen and (max-width: 600px) {
  .recruit-link {
    padding: 15px 12px;
    gap: 10px;
  }

  .recruit-link-text strong {
    font-size: 14px;
  }

  .recruit-link-text small {
    font-size: 12px;
  }
}

.external-link {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 520px;
  padding: 16px 20px;
  margin: 20px 0;
  background: #e8f1fa;
  border: 1px solid #c5d9ec;
  border-radius: 12px;
  color: #315f88;
  text-decoration: none;
  transition: all 0.25s ease;
}

.external-link-icon {
  font-size: 26px;
  flex-shrink: 0;
}

.external-link-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.external-link-text strong {
  font-size: 16px;
  line-height: 1.6;
}

.external-link-text small {
  font-size: 13px;
  color: #58748e;
}

.external-link-arrow {
  font-size: 22px;
  flex-shrink: 0;
}

.external-link:hover {
  background: #d9e8f6;
  border-color: #9dbedc;
  transform: translateY(-2px);
}

@media screen and (max-width: 600px) {
  .external-link {
    padding: 14px;
    gap: 10px;
  }

  .external-link-text strong {
    font-size: 14px;
  }

  .external-link-text small {
    font-size: 12px;
  }
}


    /* 全体 */
    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      padding: 0;
      font-family:
        "Noto Sans JP",
        "Yu Gothic",
        "Meiryo",
        sans-serif;
      color: #333;
      background-color: #f5f7fa;
      line-height: 1.9;
    }

    .container {
      width: 100%;
      padding: 40px 20px;
    }

    #contents {
      max-width: 900px;
      margin: 0 auto;
      padding: 40px 50px;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    }

    /* タイトル */
    .title {
      text-align: center;
      padding-bottom: 15px;
    }

    .TopTitle {
      display: block;
      max-width: 100%;
      width: auto;
      height: auto;
      margin: 0 auto;
    }

    .subtitle {
      padding: 10px 0 30px;
      text-align: center;
      font-size: 22px;
      font-weight: bold;
      color: #234b70;
      border-bottom: 2px solid #234b70;
    }

    .subtitle p {
      margin: 0;
    }

    /* 導入文 */
    .policy-intro {
      margin: 30px 0;
      line-height: 2;
    }

    /* 各セクション */
    .policy-section {
      margin: 35px 0;
    }

    .policy-section h2 {
      margin: 0 0 18px;
      padding: 10px 15px;
      font-size: 19px;
      font-weight: bold;
      color: #234b70;
      background-color: #eef4f8;
      border-left: 5px solid #234b70;
    }

    .policy-section p {
      margin: 15px 0;
    }

    .policy-section ul,
    .policy-section ol {
      margin: 15px 0;
      padding-left: 1.8em;
    }

    .policy-section li {
      margin-bottom: 6px;
      padding-left: 3px;
    }

    /* お問い合わせ */
    .contact-box {
      margin-top: 20px;
      padding: 20px 25px;
      background-color: #f7f9fb;
      border: 1px solid #d9e1e8;
      border-radius: 5px;
    }

    .contact-box p {
      margin: 0;
    }

    /* 戻るボタン */
    .back-button-area {
      margin-top: 50px;
      padding-top: 25px;
      text-align: center;
      border-top: 1px solid #ddd;
    }

    .back-button {
      display: inline-block;
      min-width: 180px;
      padding: 12px 25px;
      font-size: 16px;
      font-weight: bold;
      color: #fff;
      background-color: #234b70;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition:
        background-color 0.2s ease,
        transform 0.2s ease;
    }

    .back-button:hover {
      background-color: #173650;
      transform: translateY(-2px);
    }

    .back-button:focus-visible {
      outline: 3px solid #80b7e5;
      outline-offset: 3px;
    }

    /* スマートフォン対応 */
    @media screen and (max-width: 600px) {
      .container {
        padding: 15px 10px;
      }

      #contents {
        padding: 25px 18px;
      }

      .subtitle {
        font-size: 18px;
        padding: 10px 0 20px;
      }

      .policy-intro {
        margin: 25px 0;
      }

      .policy-section {
        margin: 30px 0;
      }

      .policy-section h2 {
        font-size: 17px;
        padding: 9px 12px;
      }

      .policy-section ul,
      .policy-section ol {
        padding-left: 1.5em;
      }

      .contact-box {
        padding: 15px;
      }

      .back-button {
        width: 100%;
        max-width: 280px;
      }
    }