@charset "utf-8";
    /* =====================
       ベース設定 & リセット
       ===================== */
    :root {
      --bg: #ffffff;
      --fg: #0f172a;
      --muted: #475569;
      --primary: #d62769;
      --primary-600: #d62769;
      --primary-700: #d70051;
      --ring: rgba(37, 99, 235, .35);
      --border: #e5e7eb;
      --surface: #f8fafc;
      --radius: 1rem;
      --shadow: 0 8px 30px rgba(0,0,0,.06);
      --container: 72rem;
      --space-1: clamp(6px, 0.6vw, 8px);
      --space-2: clamp(10px, 1vw, 12px);
      --space-3: clamp(14px, 1.4vw, 16px);
      --space-4: clamp(18px, 1.8vw, 20px);
      --space-5: clamp(22px, 2.2vw, 24px);
      --space-6: clamp(28px, 3vw, 32px);
      --space-8: clamp(36px, 4vw, 48px);
      --space-12: clamp(48px, 6vw, 72px);
      --fs-sm: clamp(.875rem, .7vw + .6rem, .95rem);
      --fs-base: clamp(1rem, 1.1vw + .6rem, 1.05rem);
      --fs-lg: clamp(1.1rem, 1.2vw + .7rem, 1.25rem);
      --fs-xl: clamp(1.35rem, 2vw + .5rem, 1.75rem);
      --fs-2xl: clamp(1.8rem, 3vw + .5rem, 2.25rem);
      --fs-3xl: clamp(2.2rem, 4vw + .5rem, 3rem);
    }
    @media (prefers-color-scheme: dark) {
      :root {
        --bg: #0b1020;
        --fg: #e5e7eb;
        --muted: #9aa4b2;
        --primary: #60a5fa;
        --primary-600: #3b82f6;
        --primary-700: #d62769;
        --ring: rgba(96, 165, 250, .35);
        --border: #1f2937;
        --surface: #0f172a;
        --shadow: 0 8px 30px rgba(0,0,0,.25);
      }
    }

    *, *::before, *::after { box-sizing: border-box; }
    html, body { height: 100%; }
    body {
      margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
      background: var(--bg); color: var(--fg);
      line-height: 1.65; font-size: var(--fs-base);
      -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    }
    img, svg, video { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    p { margin: 0 0 var(--space-3); }
    h1, h2, h3 { line-height: 1.2; margin: 10px 0 var(--space-3); }

h3 {
  display: inline-flex;
  align-items: center;   /* ← 文字の高さに合わせてアイコンを縦中央揃え */
  gap: 0.5em;            /* ← 文字とアイコンの間に余白 */
}

h3 img {
  height: 50px;
}
    /* =====================
       レイアウトユーティリティ
       ===================== */
    .container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
    .stack > * + * { margin-top: var(--space-3); }
    .cluster { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
    .grid {
      display: grid;
      gap: var(--space-4);
      grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: var(--space-4);
    }
    .btn {
      display: inline-flex; align-items: center; justify-content: center;
      padding: .7rem 1rem; border-radius: calc(var(--radius) - .25rem);
      border: 1px solid transparent; font-weight: 600;
      transition: transform .05s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
      cursor: pointer; text-decoration: none;
    }
    .btn:focus { outline: none; box-shadow: 0 0 0 4px var(--ring); }
    .btn-primary { background: var(--primary); color: white; }
    .btn-primary:hover { background: var(--primary-700); }
    .btn-outline { background: white; color: var(--fg); border-color: var(--border); }
    .btn-outline:hover {  background: #f0f0f0;border-color: var(--primary-600); }

    /* =====================
       ヘッダー（固定ナビ）
       ===================== */
    header.site-header {
      position: sticky; top: 0; z-index: 50;
      backdrop-filter: saturate(180%) blur(8px);
      background: color-mix(in oklab, var(--bg) 82%, transparent);
      border-bottom: 1px solid var(--border);
    }
    .nav-bar { display: flex; align-items: center; justify-content: space-between; padding: .8rem 0; }
    .brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: .2px; }
    .brand img { width: 28px; height: 28px; border-radius: 6px; }

    nav.primary-nav { display: flex; align-items: center; gap: var(--space-3); }
    nav.primary-nav a { padding: .4rem .6rem; border-radius: .5rem; }
    nav.primary-nav a:focus, nav.primary-nav a:hover { background: var(--surface); }

    .nav-cta { gap: .5rem; }

    /* モバイルメニュー */
    .menu-toggle { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; }
    #mobile-menu { display: none; padding: .75rem 0 var(--space-3); border-top: 1px solid var(--border); }
    #mobile-menu a { display: block; padding: .6rem .8rem; border-radius: .6rem; }
    #mobile-menu a:hover { background: var(--surface); }

    .menu-close { display: none; font-size: 1.5rem; font-weight: bold; background: none; border: none; position: absolute; top: .5rem; right: .5rem; cursor: pointer; }

    @media (max-width: 900px) {
      nav.primary-nav { display: none; }
      .menu-toggle { display: inline-flex; }
      .nav-cta { display: none; }
      #mobile-menu[aria-hidden="false"] { display: block; position: relative; }
      .menu-close { display: inline; }
    }

    /* =====================
       ヒーロー
       ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  background-image: url('../images/29745215_m.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  text-align: left;
  color: white;
  padding: var(--space-12) 0 var(--space-8);
}
.hero .overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: .1em; font-size: var(--fs-sm); margin-bottom: var(--space-3); }
.hero h1 { font-size:4rem;line-height:1.5em; margin-bottom: var(--space-3); }
.hero p.lead { font-size: var(--fs-lg); color: rgba(255,255,255,0.85); margin-bottom: var(--space-4); }
.hero .actions a.btn { min-width: 140px; }
@media (max-width: 900px) {
  .hero { min-height: 60vh; padding: var(--space-8) 1rem; }
  .hero h1 { font-size: var(--fs-2xl); }
  .hero p.lead { font-size: var(--fs-base); }
}

/* テーブルの基本スタイル */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: Arial, sans-serif;
}

.company-table td,th {
  border: 1px solid #ddd;
  padding: 12px 15px;
  background-color: #f9f9f9;
}

/* 偶数行の色を変える */
.company-table tr:nth-child(even) th {
  background-color: #f1f1f1;
}
/* 偶数行の色を変える */
.company-table tr:nth-child(even) td {
  background-color: #f1f1f1;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .company-table {
    display: block;
  }
  .company-table tr {
    display: block;
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd;
  }
  .company-table td,th {
    display: block;
    width: 100%;
    text-align: left;
    padding-left: 15px;
    position: relative;
  }
  /* 内容セルに項目名を表示 */
  .company-table td.content::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
  }
}

/* =====================
セクション共通
===================== */
	section { padding: var(--space-8) 0; }
	.section-title { font-size: var(--fs-2xl); margin-bottom: var(--space-4); }
	.muted { color: var(--muted); }
	.page-title { font-size: var(--fs-2xl); margin-bottom: var(--space-4);padding: 20px 0 20px 0;text-align:center;border-bottom:solid 1px #666; }


@media (max-width: 600px) {
  section {
    padding-left: 1.25rem;   /* ←左右余白を追加 */
    padding-right: 1.25rem;
  }
}

    /* =====================
       グリッド例（カード3列→1列）
       ===================== */
    .cards { grid-template-columns: repeat(3, 1fr); }
    @media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

    /* =====================
       フッター
       ===================== */
    footer { background:#182a40;color:#FFF;border-top: 1px solid var(--border); padding: var(--space-6) 0; }
    .footer-grid { display: grid; gap: var(--space-4); grid-template-columns: 2fr 1fr 1fr; }
    .footer-grid a { color: var(--muted); }
    @media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr; } }

    /* =====================
       フォーム
       ===================== */
    .input, textarea {
      width: 100%; padding: .7rem .9rem; border: 1px solid var(--border);
      border-radius: .7rem; background: var(--bg); color: var(--fg);
    }
    .input:focus, textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--ring); border-color: var(--primary-600); }

    /* =====================
       地図
       ===================== */
.map-container {
  position: relative;
  width: 100%;            /* ← セクション幅いっぱいに */
  padding-bottom: 56.25%; /* 16:9の比率 */
  height: 0;
  overflow: hidden;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;            /* ← 親幅いっぱいに */
  height: 100%;
  border: 0;
}


/* What's New */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  display: grid;
  grid-template-columns: 120px 80px 1fr;
  align-items: center;   /* ← 行の高さに対して中央揃え */
  gap: 12px;
  padding: 12px 0;
}

.news-list time {
  font-weight: 600;
  color: #555;
}

.news-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 24px;
  min-width: 64px;
  padding: 0 8px;

  font-size: 0.85em;
  line-height: 1;
  white-space: nowrap;

  background: #182a40;
  color: #fff;
  border-radius: 4px;
}

.news-list p {
  margin: 0;
}

@media (max-width: 600px) {
  .news-list li {
    grid-template-columns: auto 1fr; /* 日付＋ラベル */
    grid-template-rows: auto auto;    /* 文章を下段へ */
    row-gap: 6px;
  }

  .news-list time {
    grid-column: 1;
    grid-row: 1;
  }

  .news-label {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
  }

  .news-list p {
    grid-column: 1 / -1; /* 横幅いっぱい */
    grid-row: 2;
  }
}

/* =====================
   先輩社員インタビュー
===================== */

.interview-section {
  padding: var(--space-6) 0;
  background: #f7f9fb;
}

.interview-title {
  text-align: center;
  font-size: 2rem;
  color: #182a40;
  background: #fff;
  border: 1px solid #182a40;
  padding: 16px 24px;
  border-radius: 10px;
  margin-bottom: var(--space-5);
}

.interview-list {
  display: grid;
  gap: 24px;
}

/* カード */
.interview-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* 写真 */
.interview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* 本文 */
.interview-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.interview-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.interview-year {
  color: #666;
  font-size: 0.95rem;
}

.interview-job {
  font-weight: 600;
  color: #182a40;
}

.interview-text {
  line-height: 1.8;
  color: #444;
}

/* ボタン */
.interview-btn {
  align-self: flex-start;
  margin-top: 12px;
  padding: 10px 20px;
  background: #182a40;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.interview-btn:hover {
  background: #0f1d2d;
}

/* =====================
   レスポンシブ
===================== */
@media (max-width: 768px) {
  .interview-card {
    grid-template-columns: 1fr;
  }

  .interview-photo img {
    max-height: 240px;
  }
}

@media (max-width: 600px) {
  .interview-section {
    padding-left: 1.25rem;   /* ←左右余白を追加 */
    padding-right: 1.25rem;
  }
}


/* CONTACT用のレイアウト */
.contact-wrapper {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
}

/* 左側の連絡先幅固定、フォームは残り */
.contact-info {
  flex: 0 0 300px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.contact-info p {
	line-height:1em;
}
/* フォームをフレックスで残り幅 */
.contact-form {
  flex: 1;
}

/* モバイルは縦並び */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
  }
  .contact-info {
    width: 100%;
  }
}


    /* =====================
       ページTOPへ戻るボタン
       ===================== */
    #back-to-top {
      position: fixed; left: 1rem; bottom: 1rem;
      background: var(--primary); color: white; padding: .6rem 1rem;
      border-radius: .5rem; box-shadow: var(--shadow);
      text-decoration: none; font-weight: 600;
      display: none; z-index: 999;
      transition: opacity 0.3s, transform 0.3s;
    }
    #back-to-top:hover { background: var(--primary-700); transform: translateY(-2px); }

    /* =====================
       ハンバーガー → × アニメーション
       ===================== */
    .menu-toggle {
      position: relative;
      width: 28px;
      height: 22px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 0;
    }

    .menu-toggle span {
      display: block;
      height: 3px;
      width: 100%;
      background: var(--fg);
      border-radius: 2px;
      position: absolute;
      left: 0;
      transition: 0.3s ease;
    }

    .menu-toggle span:nth-child(1) { top: 0; }
    .menu-toggle span:nth-child(2) { top: 9px; }
    .menu-toggle span:nth-child(3) { top: 18px; }

    .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg);
      top: 9px;
    }

    .menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg);
      top: 9px;
    }


/* =====================
   Job Detail Layout
===================== */

.job-detail {
  padding: var(--space-8) 0;
}

.job-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

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

/* =====================
   Main Content
===================== */

.job-main h1 {
  font-size: 1.8rem;
  margin-bottom: var(--space-3);
}

.job-main p {
  line-height: 1.8;
  margin-bottom: var(--space-3);
}

.job-main ul {
  padding-left: 1.2em;
  margin-bottom: var(--space-4);
}

.job-main li {
  margin-bottom: 0.5em;
}

/* =====================
   Job Image
===================== */

.job-image {
  margin-bottom: var(--space-4);
}

.job-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

/* =====================
   Side / Job Box
===================== */

.job-side {
  position: sticky;
  top: 100px;
}

.job-box {
  background: #f5f7fa;
  padding: var(--space-5);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.job-box h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-3);
  padding-bottom: 0.5em;
  border-bottom: 2px solid #ddd;
}

/* =====================
   Job Table (dl)
===================== */

.job-box dl {
  display: grid;
  grid-template-columns: 7em 1fr;
  column-gap: var(--space-3);
  row-gap: var(--space-2);
}

.job-box dt {
  font-weight: bold;
  color: #333;
}

.job-box dd {
  margin: 0;
  line-height: 1.6;
  color: #444;
}

.job-box small {
  display: block;
  margin-top: 0.3em;
  font-size: 0.85em;
  color: #666;
}

/* =====================
   Apply Button
===================== */

.job-apply {
  display: block;
  margin-top: var(--space-4);
  text-align: center;
  font-size: 1.05rem;
  padding: 0.9em 1em;
}

/* =====================
   Responsive Fine Tune
===================== */

@media (max-width: 600px) {
  .job-box dl {
    grid-template-columns: 1fr;
  }

  .job-box dt {
    margin-top: var(--space-2);
  }
}
