:root {
  --navy: #0a2d5c;
  --navy-dark: #061f3d;
  --gold: #c59443;
  --gold-hover: #b38335;
  --gray-bg: #f4f6f8;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --max-width: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1a5a9e 0%, var(--navy) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.main-nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active { color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-header {
  background: var(--navy);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.btn-header:hover { background: var(--gold); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-outline { background: rgba(255,255,255,.15); color: var(--white); border: 2px solid var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-white { background: var(--white); color: var(--navy); border: 1px solid #ddd; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
}

/* Hero Slider */
.hero-slider {
  margin-top: var(--header-h);
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  background: var(--navy-dark);
}

/* 背景画像レイヤー（テキストなし） */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.5s ease, filter 0.5s ease;
}

.hero-slide.active {
  opacity: 1;
  filter: blur(0px);
}

.hero-slide--left {
  background-position: left center;
}

/* テキスト・ボタン固定レイヤー */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(6,31,61,.50), rgba(6,31,61,.68));
  color: var(--white);
  pointer-events: none;
}

.hero-content .hero-inner { pointer-events: auto; }

.hero-inner { padding: 80px 24px 40px; max-width: var(--max-width); margin: 0 auto; width: 100%; transform: translateY(clamp(0px, 6vh, 100px)); }

/* 画面高さが低い端末（13インチノート等）対応 */
@media (max-height: 820px) {
  .hero-inner { transform: translateY(20px); padding-top: 40px; padding-bottom: 20px; }
  .hero-slider { min-height: 90vh; }
}

.hero-content h1 {
  font-family: 'Shippori Mincho B1', 'Noto Serif JP', serif;
  font-size: clamp(1.4rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  letter-spacing: .02em;
}

/* キーワード：大きく・白 */
.h-key {
  font-size: 1.18em;
  color: #ffffff;
  vertical-align: baseline;
}

/* 接続詞：小さく・薄い */
.h-ptcl {
  font-size: 0.68em;
  color: rgba(255,255,255,0.55);
  vertical-align: 0.12em;
}

/* 赤アクセント：大きく・赤 */
.h-red {
  font-size: 1.18em;
  color: #e84040;
  vertical-align: baseline;
}

.hero-content p { font-size: clamp(0.85rem, 2vw, 1rem); color: rgba(255,255,255,0.9); max-width: 560px; margin-bottom: 32px; text-shadow: 0 1px 4px rgba(0,0,0,.4); letter-spacing: .04em; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-buttons .btn { min-width: 210px; justify-content: center; }

/* Slider controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover { background: rgba(255,255,255,.3); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .2s, border-color .2s;
}

.slider-dot.active {
  background: var(--white);
  border-color: var(--white);
}

/* Section common */
section { padding: 80px 0; }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .en {
  display: block;
  font-size: 0.85rem;
  letter-spacing: .2em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-title h2 {
  font-size: 1.6rem;
  color: var(--navy);
  font-weight: 700;
}

/* Service */
#service { background: var(--white); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.09);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}

.service-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(6,31,61,.5));
  transition: opacity .3s;
}

.service-card:hover .service-card-img::after {
  opacity: 0.7;
}

.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.service-card:hover .service-card-img {
  background-size: 110%;
}

.service-card-img.img1 { background-image: url('../images/hero/service1.jpg'); }
.service-card-img.img2 { background-image: url('../images/hero/service2.jpg'); }
.service-card-img.img3 { background-image: url('../images/hero/service3.jpg'); }

.service-tag {
  position: absolute;
  bottom: 14px;
  left: 20px;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--white);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 2px;
}

.service-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 700;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
  flex: 1;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 18px;
  border: 2px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.875rem;
  transition: background .2s, color .2s, border-color .2s;
  margin-top: auto;
}

.service-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.service-btn-arrow {
  transition: transform .2s;
}

.service-btn:hover .service-btn-arrow {
  transform: translateX(4px);
}

/* Strength */
#strength {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%),
    linear-gradient(45deg, transparent 40%, rgba(197,148,67,.15) 50%, transparent 60%);
  color: var(--white);
}

#strength .section-title h2 { color: var(--white); }

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.strength-item {
  text-align: center;
  background: rgba(255,255,255,.07);
  border-radius: 4px;
  padding: 32px 20px;
  position: relative;
  transition: transform .3s ease, background .3s ease;
}

.strength-item::before,
.strength-item::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

.strength-item::before {
  top: 10px;
  left: 10px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}

.strength-item::after {
  bottom: 10px;
  right: 10px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

.strength-item:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.13);
}

.strength-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.strength-item h3 { font-size: 1rem; margin-bottom: 12px; }
.strength-item p { font-size: 0.85rem; opacity: .85; line-height: 1.8; }

/* Flow */
#flow { background: var(--gray-bg); }

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

.flow-step {
  text-align: center;
  position: relative;
  border-radius: 4px;
  padding: 28px 16px 24px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.flow-step::after {
  content: '›';
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--navy);
  opacity: .4;
}

.flow-step:last-child::after { display: none; }

.flow-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.flow-num {
  width: 72px;
  height: 72px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 12px;
}

.flow-step .step-label {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.flow-step h3 { font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.flow-step p { font-size: 0.85rem; color: var(--text-light); }

/* Company */
#company { padding: 0; }

/* ① Philosophy */
.company-message {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='190'%3E%3Ctext x='20' y='105' font-family='Arial,sans-serif' font-size='28' font-weight='900' fill='rgba(255,255,255,0.04)' letter-spacing='7' transform='rotate(-22,210,95)'%3ECORELINK%3C/text%3E%3Ctext x='230' y='170' font-family='Arial,sans-serif' font-size='18' font-weight='700' fill='rgba(255,255,255,0.025)' letter-spacing='5' transform='rotate(-22,210,95)'%3ECORELINK%3C/text%3E%3C/svg%3E"),
    linear-gradient(160deg, rgba(6,31,61,.97) 0%, rgba(10,45,92,.93) 100%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(197,148,67,.03) 40px,
      rgba(197,148,67,.03) 41px
    );
  background-repeat: repeat, no-repeat, no-repeat;
  background-size: 420px 190px, 100% 100%, 100% 100%;
  color: #fff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
}

.company-philosophy {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 64px;
  position: relative;
  border: 1px solid rgba(197,148,67,.65);
  background:
    linear-gradient(to right,  rgba(197,148,67,.7) 24px, transparent 24px) 0    0    / 24px 2px no-repeat,
    linear-gradient(to bottom, rgba(197,148,67,.7) 24px, transparent 24px) 0    0    / 2px 24px no-repeat,
    linear-gradient(to left,   rgba(197,148,67,.7) 24px, transparent 24px) 100% 0    / 24px 2px no-repeat,
    linear-gradient(to bottom, rgba(197,148,67,.7) 24px, transparent 24px) 100% 0    / 2px 24px no-repeat,
    linear-gradient(to right,  rgba(197,148,67,.7) 24px, transparent 24px) 0    100% / 24px 2px no-repeat,
    linear-gradient(to top,    rgba(197,148,67,.7) 24px, transparent 24px) 0    100% / 2px 24px no-repeat,
    linear-gradient(to left,   rgba(197,148,67,.7) 24px, transparent 24px) 100% 100% / 24px 2px no-repeat,
    linear-gradient(to top,    rgba(197,148,67,.7) 24px, transparent 24px) 100% 100% / 2px 24px no-repeat,
    rgba(255,255,255,.03);
}
.company-philosophy::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(197,148,67,.25);
  pointer-events: none;
}

.company-tagline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .05em;
  color: #fff;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(197,148,67,.4);
}

.company-body { display: flex; flex-direction: column; gap: 20px; margin-bottom: 8px; }

.company-body p {
  font-size: 0.97rem;
  line-height: 2;
  color: rgba(255,255,255,.85);
  margin: 0;
}

.company-body strong { color: #fff; font-weight: 700; }

.company-body-accent {
  font-size: 1.05rem !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  line-height: 1.8 !important;
}

.company-signature {
  margin-top: 44px;
  text-align: right;
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .15em;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* ② Overview */
.company-overview {
  background: var(--gray-bg);
  padding: 72px 0;
}

.company-overview-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.company-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.company-table th,
.company-table td { padding: 12px 14px; border-bottom: 1px solid #e0e0e0; text-align: left; vertical-align: top; }
.company-table th { width: 1%; color: var(--navy); font-weight: 600; background: rgba(10,45,92,.04); white-space: nowrap; }
.sp-br { display: none; }
.sp-sep { }
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: none; }
.company-table .info-link {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.company-table .info-link:hover { color: var(--gold); }
.company-table .info-link .link-here { color: var(--gold); }
.company-table .info-link:hover .link-here { color: var(--gold-hover); }

.company-map-wrap {
  margin-top: 108px;
}
.company-map-wrap iframe {
  width: 80%;
  height: 272px;
  border: 0;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.company-map-placeholder {
  width: 100%;
  height: 340px;
  background: #e8edf2;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: .95rem;
  gap: 8px;
}

@media (max-width: 768px) {
  .company-grid { grid-template-columns: 1fr; }
  .company-tagline { font-size: 1.6rem; }
  .company-philosophy { padding: 32px 24px; }
  .company-body p { font-size: 0.92rem; line-height: 1.9; }
  .company-signature { margin-top: 28px; }
  .sp-br { display: block; }
  .sp-sep { display: none; }
}

/* News */
#news { padding: 80px 0; }

.news-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.news-list h2 { margin-bottom: 24px; }

.news-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.9rem;
}

.news-item time { color: var(--text-light); flex-shrink: 0; }

/* News page */
.news-page-list { display: flex; flex-direction: column; }

.news-page-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e8e8e8;
}

.news-page-item:first-child { border-top: 1px solid #e8e8e8; }

.news-page-item time {
  color: var(--text-light);
  font-size: 0.85rem;
  flex-shrink: 0;
  width: 80px;
}

.news-page-item p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.6;
}

.news-vision {
  background: linear-gradient(rgba(6,31,61,.4), rgba(6,31,61,.6)),
    url('../images/hero/news.jpg') center/cover;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  min-height: 280px;
}

.news-vision p {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.8;
}

/* Contact bar */
.contact-bar {
  background: rgba(10,45,92,.07);
  color: var(--navy);
  padding: 40px 0;
}

.contact-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.contact-bar .phone {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
}

.contact-bar .phone small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: .8;
}

.contact-bar .btn-gold { justify-self: end; padding: 16px 32px; }

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.7);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.footer-logo .logo-text {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.footer-logo .logo-mark { height: 28px; width: auto; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 0.8rem;
}
.footer-nav a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.footer-nav a:hover { color: var(--gold); }

.copyright {
  text-align: center;
  font-size: 0.72rem;
  color: rgba(0,0,0,.35);
  padding: 14px 24px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.08);
}

.admin-link {
  color: rgba(0,0,0,.25);
  text-decoration: underline;
  margin-left: 12px;
  transition: opacity .2s;
}

.admin-link:hover {
  opacity: 1;
}

/* Sub pages */
.page-hero {
  margin-top: var(--header-h);
  background: var(--navy);
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}

.page-hero h1 { font-size: 1.8rem; }

.page-content { padding: 60px 0; }

/* Privacy */
.privacy-body { line-height: 1.9; color: #333; }
.privacy-body h2 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.privacy-body p { margin-bottom: 16px; }
.privacy-body ul { list-style: none; margin: 0 0 16px 0; padding: 0; }
.privacy-body ul li { padding-left: 1.5em; margin-bottom: 6px; position: relative; }
.privacy-body ul li::before { content: '・'; color: var(--gold); position: absolute; left: 0; }
.privacy-contact { background: var(--gray-bg); border-left: 4px solid var(--gold); padding: 20px 24px; border-radius: 4px; margin: 40px 0 16px; }
.privacy-contact a { color: var(--gold); }
.privacy-date { margin-top: 48px; text-align: right; color: #888; font-size: 0.875rem; }

/* Jobs */
.job-list { display: flex; flex-direction: column; gap: 20px; }
.job-card { border: 1px solid #e0e0e0; border-radius: 4px; padding: 28px; transition: box-shadow .2s; }
.job-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.link-more { color: var(--gold); font-weight: 700; }
.link-more:hover { color: var(--gold-hover); }
.job-card h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; }
.job-detail { margin-top: 32px; }
.job-detail dl { display: grid; grid-template-columns: 140px 1fr; gap: 12px 24px; }
.job-detail dt { font-weight: 700; color: var(--navy); }
.job-detail dd { white-space: pre-line; }

/* Jobs 全詳細表示カード */
.job-full-card {
  max-width: 860px;
  margin: 0 auto 60px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  overflow: hidden;
}

.job-full-header {
  background: var(--navy);
  padding: 48px 56px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.job-full-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
  margin: 0;
}

.job-full-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.job-badge {
  font-size: .82rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
}
.job-badge--type { background: var(--gold); color: var(--white); font-size: 1.07rem; padding: 8px 24px; }

.job-full-location {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 24px 56px;
  background: #f0f4f8;
  border-bottom: 1px solid #e0e8f0;
}

.job-full-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  background: var(--navy);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 3px;
}

.job-full-value {
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
}

.job-full-section {
  padding: 40px 56px;
  border-bottom: 1px solid #e8ecf0;
}

.job-full-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  padding-left: 14px;
  border-left: 4px solid var(--gold);
  margin-bottom: 20px;
}

.job-full-text {
  font-size: .97rem;
  line-height: 2;
  color: var(--text);
}

.job-full-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-full-list li {
  font-size: .97rem;
  color: var(--text);
  padding-left: 1.6em;
  position: relative;
  line-height: 1.7;
}

.job-full-list li::before {
  content: '・';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* 応募資格テーブル */
.job-qual-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.job-qual-table tr { border-bottom: 1px solid #e8ecf0; }
.job-qual-table tr:last-child { border-bottom: none; }
.job-qual-name { padding: 14px 16px 14px 20px; font-size: .97rem; color: var(--text); border-left: 3px solid var(--gold); }
.job-qual-status { padding: 14px 16px; width: 60px; text-align: center; vertical-align: middle; }
.job-qual-badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 3px; }
.job-qual-badge--required { background: var(--navy); color: var(--white); }
.job-qual-badge--yusen { background: var(--gold); color: var(--white); }

.job-full-apply {
  padding: 52px 56px;
  text-align: center;
  background: #f8f9fa;
}

.btn-apply {
  font-size: 1.05rem;
  padding: 18px 60px;
  border-radius: 4px;
  letter-spacing: .06em;
}

.job-full-apply-note {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .job-full-header { padding: 32px 24px 28px; }
  .job-full-location { padding: 18px 24px; flex-wrap: wrap; gap: 10px; }
  .job-full-section { padding: 28px 24px; }
  .job-full-apply { padding: 36px 24px; }
  .btn-apply { padding: 16px 32px; width: 100%; }
}

/* Page hero sub */
.page-hero-sub {
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: .85;
}

/* Contact info strip */
.contact-info-strip {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.contact-info-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: var(--white);
  border-right: 1px solid #e0e0e0;
}

.contact-info-item:last-child { border-right: none; }

.contact-info-icon { font-size: 1.5rem; flex-shrink: 0; }

.contact-info-label {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

/* Contact form */
.form-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 40px;
}

.form-card-lead {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #eee;
  line-height: 1.8;
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group label .required,
.required {
  color: #c00;
  font-size: 0.75rem;
  margin-left: 6px;
  background: #fff0f0;
  padding: 1px 6px;
  border-radius: 2px;
}

.form-card-lead .required {
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,45,92,.1);
}

.form-group textarea { min-height: 160px; resize: vertical; }

/* Radio button group */
.radio-group { display: flex; gap: 24px; margin-top: 8px; }

.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 400;
  font-size: 0.95rem;
}

.radio-group input[type="radio"] { width: auto; padding: 0; margin: 0; }

/* File input */
.file-input-wrapper { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* 実際の input[type=file] は非表示にして、.file-btn ラベルで代替 */
.file-real-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.file-btn {
  display: inline-flex !important;
  align-items: center;
  padding: 10px 20px;
  background: var(--gray-bg);
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem !important;
  font-weight: 700;
  color: var(--navy);
  transition: background .2s;
  white-space: nowrap;
  margin-bottom: 0 !important;
}

.file-btn:hover { background: #e5e8ec; }

.file-chosen { font-size: 0.85rem; color: var(--text-light); }

/* =============================
   Staff Management
   ============================= */

/* スタッフアプリ誘導ページ */
.staff-app-btn {
  display: inline-block;
  font-size: 1.1rem;
  padding: 14px 48px;
  border-radius: 4px;
  letter-spacing: .05em;
}

.staff-app-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0 28px;
  color: #aaa;
  font-size: .82rem;
}
.staff-app-divider::before,
.staff-app-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}

.staff-app-qr img {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}
.staff-app-qr-label {
  margin-top: 10px;
  font-size: .82rem;
  color: #888;
}

.tab-nav {
  display: flex;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 24px;
}
.tab-nav a {
  padding: 10px 24px;
  font-weight: 600;
  color: #888;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.tab-nav a.active,
.tab-nav a:hover { color: var(--navy); border-bottom-color: var(--navy); }

.btn-gray { background: #666; color: #fff; }
.btn-gray:hover { background: #444; color: #fff; }

.form-section-title {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 700;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  margin: 28px 0 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Staff view */
.staff-view-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.staff-view-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.staff-detail-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.staff-info-section h3,
.staff-docs-section h3 {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 700;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  margin: 24px 0 12px;
}
.staff-info-section h3:first-of-type { margin-top: 0; }

/* Document cards */
.doc-group { margin-bottom: 24px; }

.doc-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 8px;
}

.doc-cards { display: flex; flex-direction: column; gap: 8px; }

.doc-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-left: 3px solid #ccc;
  border-radius: 4px;
}
.doc-card.doc-expired    { border-left-color: #c62828; background: #fff8f8; }
.doc-card.doc-expires-soon { border-left-color: #e65100; background: #fffaf5; }

.doc-preview-link { flex-shrink: 0; display: block; }

.doc-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #ddd;
  display: block;
}

.doc-pdf-icon {
  width: 60px;
  height: 60px;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: .05em;
}

.doc-info { flex: 1; min-width: 0; }
.doc-title  { font-size: .88rem; font-weight: 600; color: var(--navy); margin: 0 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doc-expires { font-size: .78rem; margin: 0 0 2px; }
.doc-date   { font-size: .75rem; color: var(--text-light); margin: 0; }
.text-danger  { color: #c62828 !important; font-weight: 600; }
.text-warning { color: #e65100 !important; font-weight: 600; }

@media (max-width: 992px) {
  .staff-detail-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-hint { font-size: 0.8rem; color: var(--text-light); margin-top: 6px; }

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  letter-spacing: .05em;
  margin-top: 8px;
}

.alert {
  padding: 14px 18px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* Admin */
.admin-body { background: #eef1f5; min-height: 100vh; }
.admin-header {
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header a { color: var(--white); opacity: .9; font-size: 0.9rem; }
.admin-header a:hover { opacity: 1; }

.admin-wrap { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }

.admin-card {
  background: var(--white);
  border-radius: 4px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  margin-bottom: 24px;
}

.admin-card h2 { font-size: 1.2rem; color: var(--navy); margin-bottom: 20px; }

.admin-nav { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: nowrap; }

.admin-nav a {
  flex: 1;
  padding: 10px 20px;
  background: var(--white);
  border-radius: 4px;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  text-align: center;
}

.admin-nav a.active { background: var(--navy); color: var(--white); }

.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid #eee; }
.data-table th { background: var(--gray-bg); font-weight: 700; color: var(--navy); }
.data-table tr.unread { background: #fff8e1; }
.data-table tr.handled { background: #f1f8f1; }
.data-table tr.handled.unread { background: #f1f8f1; }

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.8;
  white-space: nowrap;
  margin: 1px 2px;
}
.badge-unread   { background: #fff3cd; color: #856404; border: 1px solid #ffc107; }
.badge-read     { background: #f0f0f0; color: #666;    border: 1px solid #ccc; }
.badge-unhandled{ background: #fde8e8; color: #c62828; border: 1px solid #ef9a9a; }
.badge-handled  { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }

.status-cell { white-space: nowrap; }

/* Inquiry detail header */
.inquiry-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.inquiry-detail-header h2 { margin: 0; }
.inquiry-status-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.btn-handled { background: #2e7d32; color: var(--white); }
.btn-handled:hover { background: #1b5e20; color: var(--white); }
.btn-danger { background: #c62828; color: var(--white); border: none; cursor: pointer; }
.btn-danger:hover { background: #b71c1c; color: var(--white); }

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-danger { background: #c62828; color: var(--white); }
.btn-edit { background: var(--navy); color: var(--white); margin-right: 6px; }

.news-date { display: block; font-size: 0.78rem; color: #888; margin-bottom: 2px; }
.news-title { display: block; }
.news-actions { white-space: nowrap; vertical-align: middle; }

.col-id { width: 3rem; color: #888; font-size: 0.82rem; }

.btn-move {
  background: #f0f4f8;
  color: #444;
  border: 1px solid #ccd;
  min-width: 28px;
  text-align: center;
  padding: 4px 7px;
}
.btn-move:hover:not(:disabled) { background: #dde4ef; }
.btn-move:disabled { color: #bbb; border-color: #e0e0e0; cursor: default; background: #f8f8f8; }

.inq-date { display: block; font-size: 0.78rem; color: #888; margin-bottom: 2px; }
.inq-name { display: block; }
.inq-status { white-space: nowrap; vertical-align: middle; }
.b-short { display: none; }

.delete-zone {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.btn-danger-outline {
  background: transparent;
  border: 1px solid #c62828;
  color: #c62828;
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.88rem;
}
.btn-danger-outline:hover { background: #c62828; color: #fff; }

.login-box {
  max-width: 400px;
  margin: 80px auto;
  background: var(--white);
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}

.login-box h1 { text-align: center; color: var(--navy); margin-bottom: 28px; font-size: 1.4rem; }

/* Responsive */
@media (max-width: 992px) {
  .service-grid, .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .flow-step::after { display: none; }
  .news-split { grid-template-columns: 1fr; }
  .contact-bar-inner { grid-template-columns: 1fr; text-align: center; }
  .contact-bar .btn-gold { justify-self: center; }
}

@media (max-width: 640px) {
  .contact-info-strip { flex-direction: column; }
  .contact-info-item { border-right: none; border-bottom: 1px solid #e0e0e0; }
  .contact-info-item:last-child { border-bottom: none; }
  .form-card { padding: 24px 20px; }
  .slider-arrow { display: none; }
}

@media (max-width: 768px) {
  .main-nav, .btn-header { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
  }
  .service-grid, .strength-grid, .flow-steps { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-inner { transform: translateY(0); padding: 48px 20px 32px; }
  .hero-buttons .btn { min-width: 0; width: 100%; }
  .slider-dots { bottom: 16px; gap: 8px; }
  .slider-dot { width: 8px; height: 8px; }
  .job-detail dl { grid-template-columns: 1fr; }
  .data-table { font-size: 0.8rem; }
  .data-table th:nth-child(n+4), .data-table td:nth-child(n+4) { display: none; }
}

/* ===== Admin Bottom Navigation (mobile) ===== */
.admin-bottom-nav { display: none; }

@media (max-width: 768px) {
  .admin-nav { display: none; }
  .admin-wrap { padding-bottom: 80px; }

  .admin-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 200;
    background: var(--navy);
    height: 64px;
    border-top: 2px solid rgba(255,255,255,.1);
    box-shadow: 0 -2px 12px rgba(0,0,0,.2);
  }

  .admin-bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    padding: 6px 2px;
    transition: color .2s, background .2s;
  }

  .admin-bnav-item.active {
    color: var(--gold);
    background: rgba(255,255,255,.06);
  }

  .admin-bnav-item:hover { color: var(--white); }

  .admin-bnav-icon { font-size: 1.4rem; line-height: 1; }

  .admin-bnav-label { font-size: .58rem; letter-spacing: .02em; }

  /* News / Jobs / Inquiries table: icon-only action buttons */
  .news-table .btn-text,
  .jobs-table .btn-text,
  .inq-table .btn-text { display: none; }
  .news-table .btn-sm,
  .jobs-table .btn-sm,
  .inq-table .btn-sm { padding: 6px 9px; }
  .news-table .btn-icon,
  .jobs-table .btn-icon,
  .inq-table .btn-icon { font-size: 1rem; line-height: 1; }

  /* Inquiries: short badge text */
  .b-long { display: none; }
  .b-short { display: inline; }
  .status-badge { padding: 2px 5px; }
}
