/* ===========================
   共通スタイル / Global Styles
   =========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', Meiryo, sans-serif;
  font-size: 17px;
  color: #333;
  background: #fff;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
}



/* ===========================
   画像プレースホルダー
   =========================== */
.img-placeholder {
  width: 100%;
  background: #c8d8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #5a7a9a;
  font-size: 0.9rem;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.img-placeholder::before {
  content: '📷';
  font-size: 2rem;
}

/* 画像が入っている場合はプレースホルダーアイコンを非表示 */
.img-placeholder:has(img)::before {
  display: none;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder span {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ===========================
   ヘッダー / Header
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-top {
  background: #3d4e5e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0 40px;
  font-size: 0.78rem;
  color: #ccc;
}

.header-top .site-category {
  letter-spacing: 0.05em;
}

.header-contact-btn {
  display: inline-block;
  background: #5b7fa6;
  color: #fff;
  padding: 12px 36px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.header-contact-btn:hover {
  background: #4a6d92;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 60px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* ロゴ */
.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.logo img {
  width: 120px;
  height: auto;
}

.logo-rings {
  display: flex;
  align-items: center;
  position: relative;
  width: 64px;
  height: 44px;
}

.logo-rings .ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 4px solid;
  position: absolute;
}

.logo-rings .ring-red   { border-color: #e03c31; left: 0px; top: 0; }
.logo-rings .ring-blue  { border-color: #2f6bba; left: 15px; top: 0; }
.logo-rings .ring-yellow{ border-color: #e8a020; left: 30px; top: 0; }

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #2c3e50;
  margin-top: 2px;
}

/* ナビゲーション */
.site-nav {
  display: flex;
  gap: 56px;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-item .nav-en {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-item .nav-ja {
  font-size: 13px;
  color: #666;
}

.nav-item:hover .nav-en,
.nav-item.active .nav-en {
  color: #3b7fc4;
}

/* ===========================
   ヒーローエリア / Hero
   =========================== */
.hero {
  width: 90%;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.hero .img-placeholder {
  height: 100%;
  font-size: 1rem;
  background: none;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "MS 明朝", serif;
  font-style: italic;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  white-space: nowrap;
  background: none;
  padding: 0;
  letter-spacing: 0.08em;
}

.hero-text-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #111;
  font-size: 44px;
  font-weight: 700;
  font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "MS 明朝", serif;
  font-style: italic;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  white-space: nowrap;
  background: none;
  padding: 0;
  letter-spacing: 0.08em;
}

/* ===========================
   セクション共通
   =========================== */
.section {
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.1rem;
  color: #3b7fc4;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: right;
  margin-bottom: 4px;
}

.section-title-en {
  font-size: 2.8rem;
  font-weight: 700;
  color: #b0c8e0;
  text-align: right;
  letter-spacing: 0.05em;
}

.section-lead {
  text-align: center;
  margin: 40px 0 30px;
}

.section-lead h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-lead p {
  font-size: 17px;
  color: #555;
  line-height: 2;
}

/* ===========================
   トップページ固有
   =========================== */
/* 事業紹介ボックス */
.about-box {
  border: 2px solid #b0c8e0;
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.about-dept h3 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-decoration: underline;
}

.about-dept .img-placeholder {
  height: 300px;
}

.about-desc {
  grid-column: 1 / -1;
  font-size: 18px;
  color: #444;
  line-height: 2;
}

/* リンクバナー（WORK / COMPANY / RECRUIT） */
.link-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.link-banner {
  background: #4a80b0;
  color: #fff;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: background 0.2s;
  cursor: pointer;
}

.link-banner:hover {
  background: #3a6a98;
}

.link-banner.wide {
  grid-column: 1 / -1;
}

.link-banner-text .banner-en {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.link-banner-text .banner-ja {
  font-size: 0.85rem;
  margin: 4px 0 10px;
}

.view-more {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  padding: 5px 14px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(255,255,255,0.4);
}

.link-banner .img-placeholder {
  width: 140px;
  height: 90px;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.link-banner .img-placeholder::before {
  font-size: 1.2rem;
}

.link-banner.wide .img-placeholder {
  width: 180px;
  height: 100px;
}

/* 画像バナー三角配置 */
.link-banners-triangle {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.banner-top {
  display: flex;
  justify-content: center;
}

.banner-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.link-banner-img {
  display: block;
  overflow: hidden;
  transition: opacity 0.2s;
}

.banner-top .link-banner-img {
  width: calc(50% - 8px);
}

.link-banner-img img {
  width: 100%;
  height: auto;
  display: block;
}

.link-banner-img:hover {
  opacity: 0.85;
}

/* 地図エリア */
.map-area {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 40px;
}

.map-placeholder {
  width: 100%;
  height: 220px;
  background: #d4e5d4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #558055;
  font-size: 0.9rem;
  gap: 8px;
  flex-direction: column;
}

.map-placeholder::before {
  content: '📍';
  font-size: 2rem;
}

/* ===========================
   THOUGHTSページ
   =========================== */
.greeting-text {
  font-size: 17px;
  color: #444;
  line-height: 2.2;
  margin-bottom: 30px;
  text-align: center;
}

.greeting-sign {
  text-align: right;
  font-size: 0.9rem;
  color: #333;
  margin-top: 16px;
}

.greeting-sign strong {
  font-size: 1.1rem;
  display: block;
  margin-top: 4px;
}

.rinen-box {
  background: #dce8f4;
  padding: 28px 36px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #2c4870;
  margin: 30px 0;
  width: 600px;
  margin: 0 auto;
}

/* ===========================
   WORKページ
   =========================== */
.work-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 6px 18px;
  border: 1px solid #aaa;
  background: #fff;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #e63333;
  color: #fff;
  border-color: #e63333;
}

.work-sort {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
}

.sort-btn {
  padding: 4px 12px;
  background: #fff;
  border: 1px solid #aaa;
  cursor: pointer;
  transition: all 0.2s;
}

.sort-btn.active {
  background: #3b7fc4;
  color: #fff;
  border-color: #3b7fc4;
}

.work-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.work-list {
  border: 1px solid #d0dde8;
}

.work-item {
  display: flex;
  gap: 24px;
  padding: 14px 20px;
  border-bottom: 1px solid #e5edf4;
  align-items: center;
  transition: background 0.15s;
}

.work-item:last-child {
  border-bottom: none;
}

.work-item:hover {
  background: #f0f6fc;
}

.work-year {
  font-size: 0.85rem;
  color: #666;
  min-width: 80px;
  flex-shrink: 0;
}

.work-name {
  font-size: 0.9rem;
  color: #2c3e50;
}

/* ===========================
   COMPANYページ
   =========================== */
.company-lead {
  text-align: center;
  margin-bottom: 40px;
}

.company-lead h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
}

.company-lead p {
  font-size: 17px;
  color: #555;
  line-height: 2.2;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.company-table th,
.company-table td {
  padding: 14px 20px;
  border: 1px solid #c8d8e8;
  font-size: 0.9rem;
  vertical-align: top;
}

.company-table th {
  background: #eaf2fa;
  color: #2c4870;
  font-weight: 700;
  width: 160px;
  text-align: center;
}

.company-table td {
  color: #333;
  line-height: 1.8;
}

.address-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.address-label {
  background: #3b7fc4;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #3b7fc4;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 10px 28px;
  border: 1px solid #c8d8e8;
  border-bottom: none;
  background: #f5f9fc;
  color: #555;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
  margin-right: 4px;
}

.tab-btn.active {
  background: #fff;
  color: #2c4870;
  font-weight: 700;
  border-bottom: 2px solid #fff;
  margin-bottom: -2px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* ===========================
   RECRUITページ
   =========================== */
.recruit-lead {
  text-align: center;
  margin-bottom: 40px;
}

.recruit-lead h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
}

.recruit-lead p {
  font-size: 17px;
  color: #555;
  line-height: 2.2;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.recruit-table th,
.recruit-table td {
  padding: 14px 20px;
  border: 1px solid #c8d8e8;
  font-size: 0.9rem;
  vertical-align: top;
}

.recruit-table th {
  background: #eaf2fa;
  color: #2c4870;
  font-weight: 700;
  width: 160px;
  text-align: center;
}

.recruit-table td {
  color: #333;
  line-height: 1.8;
}

.recruit-table ul {
  padding-left: 1.2em;
}

.recruit-table .note {
  font-size: 0.8rem;
  color: #666;
  margin-top: 6px;
}

.apply-btn-area {
  text-align: center;
  margin: 30px 0;
}

.apply-btn {
  display: inline-block;
  background: #0693e4;
  color: #fff;
  padding: 16px 48px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}

.apply-btn:hover {
  background: #c02020;
}

/* ===========================
   お問合せページ
   =========================== */
.contact-intro {
  text-align: center;
  margin-bottom: 40px;
}

.contact-intro p {
  font-size: 17px;
  color: #555;
  line-height: 2;
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2c4870;
  margin-bottom: 6px;
}

.form-group label .required {
  color: #e63333;
  font-size: 0.75rem;
  margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #b0c8e0;
  font-size: 0.9rem;
  font-family: inherit;
  background: #fafcff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b7fc4;
  background: #fff;
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

.form-submit button {
  background: #3b7fc4;
  color: #fff;
  border: none;
  padding: 14px 60px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}

.form-submit button:hover {
  background: #2a6aaa;
}

.form-privacy-check {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
}

.form-privacy-check input[type="checkbox"] {
  margin-right: 6px;
}

.form-privacy-check a {
  color: #3b7fc4;
  text-decoration: underline;
}

.relative {
    position: relative;
    line-height: 0;
}
.relative img {
    display: block;
}
.absolute {
  position: absolute;
  width: 250px;
  height: auto;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
}
/* ===========================
   フッター / Footer
   =========================== */
.site-footer {
  color: #aaa;
  margin-top: 60px;
  position: relative;
}

/* ロゴエリア */
.footer-logo-area {
  text-align: center;
  padding: 44px 20px 28px;
}

.footer-logo-rings {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 54px;
  margin-bottom: 10px;
}

.footer-logo-rings .ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 5px solid;
  position: absolute;
  top: 0;
  opacity: 0.75;
}

.footer-logo-rings .ring-red   { border-color: #e03c31; left: 0px; }
.footer-logo-rings .ring-blue  { border-color: #2f6bba; left: 19px; }
.footer-logo-rings .ring-yellow{ border-color: #e8a020; left: 38px; }

.footer-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ccc;
  display: block;
}

/* フッターボトムバー */
.footer-bottom {
  background-color: #3d4e5e;
  border-top: 1px solid #2e4055;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  margin: 0 auto;
}

.footer-left a {
  color: #ccc;
  text-decoration: none;
  font-size: 11px;
}

.footer-left a:hover {
  color: #fff;
}

.sep {
  color: #ccc;
  margin: 0 8px;
}

.footer-copy {
  color: #ccc;
  font-size: 13px;
}



/* ===========================
   ページ内リンクバナー（各ページ下部）
   =========================== */
.page-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 40px;
}

.page-link-item {
  border: 1.5px solid #b0c8e0;
  padding: 24px 16px;
  text-align: center;
  transition: background 0.2s;
}

.page-link-item:hover {
  background: #f0f6fc;
}

.page-link-item .pl-en {
  font-size: 1rem;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.05em;
  text-decoration: underline;
}

.page-link-item .pl-ja {
  font-size: 0.8rem;
  color: #555;
  margin: 4px 0 12px;
}

.page-link-item .view-more-blue {
  display: inline-block;
  background: #3b7fc4;
  color: #fff;
  padding: 4px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ===========================
   レスポンシブ（タブレット）
   =========================== */
@media (max-width: 1024px) {
  .header-main {
    padding: 14px 30px;
  }

  .site-nav {
    gap: 28px;
  }

  .nav-item .nav-en {
    font-size: 18px;
  }

  .section-title-en {
    font-size: 2.2rem;
  }

  .section-lead h2 {
    font-size: 24px;
  }

  .rinen-box {
    width: 100%;
    max-width: 600px;
    font-size: 24px;
  }
}

/* ===========================
   レスポンシブ（スマートフォン）
   =========================== */
@media (max-width: 768px) {
  /* --- 基本 --- */
  body {
    font-size: 15px;
  }

  /* --- ヘッダー --- */
  .header-top {
    padding: 6px 16px;
    font-size: 0.7rem;
    flex-wrap: wrap;
    gap: 4px;
  }

  .header-contact-btn {
    padding: 8px 20px;
    font-size: 0.8rem;
  }

  .header-main {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
  }

  .logo img {
    width: 90px;
  }

  .site-nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-item .nav-en {
    font-size: 15px;
  }

  .nav-item .nav-ja {
    font-size: 11px;
  }

  /* --- ヒーロー --- */
  .hero {
    width: 100%;
  }

  .hero-text {
    font-size: 1.4rem;
    white-space: normal;
    text-align: center;
    width: 85%;
    letter-spacing: 0.05em;
  }

  .hero-text-2 {
    font-size: 1.6rem;
    white-space: normal;
    text-align: center;
  }

  /* --- セクション --- */
  .section {
    padding: 30px 16px;
  }

  .section-title {
    font-size: 0.9rem;
  }

  .section-title-en {
    font-size: 1.8rem;
  }

  .section-lead {
    margin: 24px 0 20px;
  }

  .section-lead h2 {
    font-size: 20px;
  }

  .section-lead p {
    font-size: 14px;
  }

  /* --- 事業紹介 --- */
  .about-box {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .about-dept h3 {
    font-size: 1.1rem;
  }

  .about-dept .img-placeholder {
    height: 200px;
  }

  .about-desc {
    font-size: 14px;
  }

  /* --- バナー --- */
  .link-banners {
    grid-template-columns: 1fr;
  }

  .link-banner.wide {
    grid-column: auto;
  }

  .banner-top .link-banner-img {
    width: 100%;
  }

  .banner-bottom {
    grid-template-columns: 1fr;
  }

  /* --- 地図 --- */
  .map-area {
    padding: 0 16px;
  }

  .map-placeholder {
    height: 180px;
  }

  /* --- THOUGHTSページ --- */
  .greeting-text {
    font-size: 14px;
    text-align: left;
  }

  .rinen-box {
    width: 100%;
    font-size: 20px;
    padding: 20px 16px;
  }

  /* --- WORKページ --- */
  .work-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .work-sort {
    margin-left: 0;
  }

  .work-item {
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
  }

  .work-year {
    min-width: auto;
    font-size: 0.8rem;
  }

  .work-name {
    font-size: 0.85rem;
  }

  /* --- テーブル（会社概要・採用） --- */
  .company-table,
  .recruit-table {
    display: block;
  }

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

  .company-table th,
  .recruit-table th {
    width: 100%;
    text-align: left;
    padding: 10px 14px;
  }

  .company-table td,
  .recruit-table td {
    padding: 10px 14px;
    border-top: none;
  }

  .address-row {
    flex-direction: column;
    gap: 4px;
  }

  /* --- タブ --- */
  .tabs {
    flex-wrap: wrap;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* --- フォーム --- */
  .contact-intro p {
    font-size: 14px;
    text-align: left;
  }

  .contact-form {
    max-width: 100%;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 12px;
  }

  .form-submit button {
    width: 100%;
    padding: 16px;
  }

  .apply-btn {
    display: block;
    text-align: center;
    padding: 16px;
  }

  /* --- ページ下部リンク --- */
  .page-links {
    grid-template-columns: 1fr;
    padding: 0 16px;
    gap: 12px;
    margin-bottom: 40px;
  }

  .page-link-item {
    padding: 16px 12px;
  }

  /* --- フッター --- */
  .site-footer {
    margin-top: 30px;
  }

  .absolute {
    width: 150px;
    bottom: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    text-align: center;
  }

  .footer-left {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .footer-left a {
    font-size: 12px;
  }

  .footer-copy {
    font-size: 11px;
  }

  /* --- ロゴリング --- */
  .logo-rings {
    width: 50px;
    height: 34px;
  }

  .logo-rings .ring {
    width: 26px;
    height: 26px;
    border-width: 3px;
  }

  .logo-rings .ring-blue  { left: 12px; }
  .logo-rings .ring-yellow{ left: 24px; }

  /* --- インラインh2の上書き --- */
  .section h2[style] {
    font-size: 1.3rem !important;
  }

  /* --- heroの高さ（画像なしページ） --- */
  .hero[style*="height:200px"] {
    height: 140px !important;
  }

  /* --- recruit heroのmax-width --- */
  .hero[style*="max-width:700px"] {
    max-width: 100% !important;
  }

  /* --- リンクバナー画像 --- */
  .link-banner .img-placeholder {
    width: 100px;
    height: 65px;
  }

  .link-banner.wide .img-placeholder {
    width: 120px;
    height: 75px;
  }

  /* --- フッターロゴリング --- */
  .footer-logo-rings {
    width: 60px;
    height: 40px;
  }

  /* --- privacyページ --- */
  .section h1[style] {
    font-size: 1.1rem !important;
    margin-bottom: 20px !important;
  }

  .section h2[style*="color:#2c4870"] {
    font-size: 0.95rem !important;
  }

  .section p[style*="line-height:2"] {
    font-size: 0.85rem !important;
  }

  /* --- index.html margin上書き --- */
  .section-lead[style*="margin:50px"] {
    margin-top: 30px !important;
  }
}

/* ===========================
   レスポンシブ（小型スマートフォン）
   =========================== */
@media (max-width: 480px) {
  .header-top .site-category {
    font-size: 0.65rem;
  }

  .site-nav {
    gap: 8px;
  }

  .nav-item .nav-en {
    font-size: 13px;
  }

  .nav-item .nav-ja {
    font-size: 10px;
  }

  .hero-text {
    font-size: 1.2rem;
  }

  .hero-text-2 {
    font-size: 1.3rem;
  }

  .section-title-en {
    font-size: 1.5rem;
  }

  .section-lead h2 {
    font-size: 18px;
  }

  .about-dept .img-placeholder {
    height: 160px;
  }

  .rinen-box {
    font-size: 18px;
    padding: 16px 12px;
  }

  .page-link-item .pl-en {
    font-size: 0.9rem;
  }

  .absolute {
    width: 120px;
    bottom: 10px;
  }

  .hero[style*="height:200px"] {
    height: 120px !important;
  }

  .section h2[style] {
    font-size: 1.1rem !important;
  }
}
