/* =============================================
   北陸サンライズ Myanmar Human Resources
   メインスタイルシート
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Noto+Serif+JP:wght@700;900&family=Montserrat:wght@600;700;800&display=swap');

/* --- リセット & ベース --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1e2a3a;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- デザイントークン --- */
:root {
  --blue:       #2563a8;
  --blue-dark:  #1a4a8a;
  --blue-light: #e8f0fb;
  --navy:       #1e2a3a;
  --gold:       #c9a84c;
  --gold-light: #f5ecd4;
  --gray:       #6b7280;
  --gray-light: #f4f6f9;
  --white:      #ffffff;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.14);
  --transition: 0.25s ease;
  --container:  1160px;
}

/* --- コンテナ --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   ヘッダー
   ============================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 12px rgba(0,0,0,0.08);
}
.header-top {
  background: var(--navy);
  text-align: right;
  padding: 6px 24px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}
.header-top a { color: rgba(255,255,255,0.9); }
.header-top a:hover { color: var(--gold); }
.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
}
.logo-text .name { font-size: 1.05rem; font-weight: 900; color: var(--navy); line-height: 1.2; }
.logo-text .sub  { font-size: 0.68rem; color: var(--gray); font-family: 'Montserrat', sans-serif; }

/* デスクトップナビ */
.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a, .nav-desktop .nav-dropdown > button {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  padding: 8px 10px;
  border-radius: 6px;
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.nav-desktop a:hover, .nav-desktop .nav-dropdown > button:hover {
  background: var(--blue-light);
  color: var(--blue);
}
.nav-desktop a.active { color: var(--blue); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  z-index: 200;
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  transition: background var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--blue-light); color: var(--blue); }
.btn-contact-header {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition) !important;
}
.btn-contact-header:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルメニュー */
.nav-mobile {
  display: none;
  background: var(--white);
  border-top: 1px solid #e5e7eb;
  padding: 16px 24px 24px;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid #f0f0f0;
}
.nav-mobile a:hover { color: var(--blue); }
.nav-mobile .nav-mobile-group { margin-bottom: 4px; }
.nav-mobile .nav-mobile-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px 0 4px;
  font-family: 'Montserrat', sans-serif;
}
.nav-mobile .btn-contact-mobile {
  display: block;
  margin-top: 16px;
  background: var(--blue);
  color: var(--white) !important;
  text-align: center;
  padding: 14px !important;
  border-radius: 10px;
  font-weight: 700;
  border-bottom: none !important;
}

/* =============================================
   フッター
   ============================================= */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .logo-text .name { color: var(--white); }
.footer-brand .logo-text .sub  { color: rgba(255,255,255,0.5); }
.footer-brand p {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}
.footer-col h4 {
  font-size: 0.78rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  padding: 4px 0;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-contact-info { font-size: 0.82rem; line-height: 2; color: rgba(255,255,255,0.7); }
.footer-contact-info strong { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--white); }

/* =============================================
   共通ボタン
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 4px 16px rgba(37,99,168,0.3); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: 0 6px 20px rgba(37,99,168,0.4); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 4px 16px rgba(201,168,76,0.3); }
.btn-gold:hover { background: #b8963f; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-outline-blue { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline-blue:hover { background: var(--blue-light); }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* =============================================
   共通セクション
   ============================================= */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 100px 0; }
.section-bg { background: var(--gray-light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-blue { background: var(--blue); color: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-navy .section-label { color: var(--gold); }
.section-blue .section-label { color: rgba(255,255,255,0.8); }
.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.4;
}
.section-navy .section-title,
.section-blue .section-title { color: var(--white); }
.section-desc {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section-navy .section-desc,
.section-blue .section-desc { color: rgba(255,255,255,0.75); }

/* =============================================
   ページヒーロー（内部ページ用）
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f5c 100%);
  padding: 72px 0 64px;
  color: var(--white);
}
.page-hero-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 16px;
}
.page-hero p { font-size: 0.95rem; color: rgba(255,255,255,0.8); max-width: 640px; }
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* =============================================
   カード
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 28px; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card-text { font-size: 0.85rem; color: var(--gray); line-height: 1.75; }

/* =============================================
   グリッド
   ============================================= */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* =============================================
   チェックリスト
   ============================================= */
.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: #374151;
}
.check-list li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* =============================================
   ステップフロー
   ============================================= */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.step {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  position: relative;
}
.step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.step h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.step p  { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

/* =============================================
   バッジ
   ============================================= */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-blue { background: var(--blue-light); color: var(--blue); }
.badge-gold { background: var(--gold-light); color: #7a5c1e; }
.badge-navy { background: rgba(255,255,255,0.15); color: var(--white); }
.badge-green { background: #d1fae5; color: #065f46; }

/* =============================================
   言語切り替えボタン
   ============================================= */
.lang-switcher {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 24px;
}
.lang-btn {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  color: var(--blue);
}
.lang-btn.active { background: var(--blue); color: var(--white); }
.lang-btn:hover:not(.active) { background: var(--blue-light); }
[data-lang] { display: none; }
[data-lang].visible { display: block; }

/* =============================================
   フォーム
   ============================================= */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.form-label .required { color: #dc2626; margin-left: 4px; font-size: 0.75rem; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,168,0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: 0.78rem; color: var(--gray); margin-top: 6px; }

/* =============================================
   アコーディオン（FAQ）
   ============================================= */
.accordion { border: 1.5px solid #e5e7eb; border-radius: var(--radius); overflow: hidden; }
.accordion + .accordion { margin-top: 12px; }
.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  transition: background var(--transition);
  user-select: none;
}
.accordion-header:hover { background: var(--blue-light); }
.accordion-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  transition: transform var(--transition);
}
.accordion.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  display: none;
  padding: 16px 22px 20px;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.8;
  border-top: 1px solid #e5e7eb;
  background: #fafafa;
}
.accordion.open .accordion-body { display: block; }

/* =============================================
   テーブル
   ============================================= */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
}
td {
  padding: 14px 18px;
  font-size: 0.85rem;
  border-bottom: 1px solid #e5e7eb;
  color: var(--navy);
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--gray-light); }
.td-center { text-align: center; }
.td-check { color: #16a34a; font-size: 1.1rem; text-align: center; }
.td-cross { color: #dc2626; font-size: 1.1rem; text-align: center; }

/* =============================================
   タグ・ラベル
   ============================================= */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--blue-light);
  color: var(--blue);
  margin: 2px;
}

/* =============================================
   アラート・通知
   ============================================= */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}
.alert-info { background: var(--blue-light); color: var(--blue-dark); border-left: 4px solid var(--blue); }
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert-warning { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; }

/* =============================================
   ユーティリティ
   ============================================= */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-blue   { color: var(--blue); }
.text-gold   { color: var(--gold); }
.text-gray   { color: var(--gray); }
.text-white  { color: var(--white); }
.text-sm     { font-size: 0.82rem; }
.text-xs     { font-size: 0.72rem; }
.font-serif  { font-family: 'Noto Serif JP', serif; }
.font-mono   { font-family: 'Montserrat', sans-serif; }
.fw-bold     { font-weight: 700; }
.fw-black    { font-weight: 900; }
.mt-4  { margin-top: 4px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-8  { gap: 8px; }
.gap-16 { gap: 16px; }
.flex   { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.d-none { display: none; }

/* =============================================
   アニメーション
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .btn { padding: 12px 20px; font-size: 0.85rem; }
}

/* =============================================
   フォーム追加スタイル
   ============================================= */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-label.required::after {
  content: ' *';
  color: #dc2626;
}
.contact-form { max-width: 100%; }

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
