@charset "UTF-8";

/* 20260312 更新 */

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: end;
  background: #0f172a;
}

.page-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  filter: brightness(0.58);
}

.page-hero .container {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
}

.page-hero-copy {
  max-width: 760px;
  color: #fff;
}

.page-hero-copy .section-en {
  color: rgba(255,255,255,0.82);
}

.page-hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.25;
}

.subpage-main {
  padding: 88px 0;
  background: #fff;
}

.subpage-section + .subpage-section {
  margin-top: 72px;
}

.subpage-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 34px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.subpage-title {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.4;
  color: #111827;
}

.subpage-subtitle {
  margin: 0 0 16px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #0f8b8d;
}

.subpage-text,
.subpage-block p,
.subpage-block li,
.subpage-block dd,
.subpage-block td {
  color: #4b5563;
}

.subpage-lead {
  margin: 0 0 12px;
}

.photo-grid,
.recruit-gallery,
.feature-grid,
.interview-grid,
.link-grid {
  display: grid;
  gap: 24px;
}

.photo-grid,
.recruit-gallery,
.feature-grid,
.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-grid img,
.recruit-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4.5;
  object-fit: cover;
  display: block;
}

.ba-grid img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}


.interview-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}


.feature-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
}

.feature-card .body,
.interview-card {
  padding: 24px;
}

.feature-card h3,
.interview-card h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 1.15rem;
  line-height: 1.5;
}

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

.interview-card dl,
.interview-card dt,
.interview-card dd {
  margin: 0;
}

.interview-card dt {
  margin-top: 10px;
  color: #0f172a;
  font-weight: 700;
}

.interview-card dd {
  margin-top: 4px;
  color: #4b5563;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
  margin-top: 20px;
}

.profile-table th,
.profile-table td {
  padding: 16px 18px;
  border-right: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  text-align: left;
}

.profile-table th {
  width: 24%;
  background: #f8fafc;
  color: #0f172a;
}

.note-panel {
  padding: 18px 20px;
  border-radius: 16px;
  background: #f8fafc;
}

.banner-image img{
   width: 50%;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.schedule-image img{
  width: 70%;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

.service-section.subpage-links {
  padding-top: 0;
}

@media (max-width: 750px) {
  .page-hero {
    min-height: 240px;
  }

  .page-hero img {
    height: 240px;
  }

  .page-hero .container {
    bottom: 24px;
  }

  .page-hero-copy h1 {
    font-size: 1.9rem;
  }

  .subpage-main {
    padding: 56px 0;
  }

  .subpage-section + .subpage-section {
    margin-top: 48px;
  }

  .subpage-block {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .photo-grid,
  .recruit-gallery,
  .feature-grid,
  .interview-grid,
  .link-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .profile-table,
  .profile-table tbody,
  .profile-table tr,
  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
  }

  .profile-table th {
    border-bottom: none;
  }

  .profile-table td {
    padding-top: 0;
  }
}


.message-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.message-photo {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  text-align: center;
}

.message-photo img {
  width: 71%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  margin: auto;
  border-radius: 14px;
}

.message-photo span {
  display: block;
  margin-top: 12px;
  color: #374151;
  font-weight: 700;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid #e5e7eb;
}

.timeline li:last-child {
  border-bottom: 1px solid #e5e7eb;
}

.timeline .date {
  color: #0f8b8d;
  font-weight: 700;
}

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

.gallery-two img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

@media (max-width: 750px) {
  .message-layout,
  .timeline li,
  .gallery-two {
    grid-template-columns: 1fr;
  }

  .timeline li {
    gap: 8px;
    padding: 14px 0;
  }
}
