@charset "UTF-8";
/* ===== Smartphone & Tablet Responsive Styles ===== */
/* 対象：～900px（スマホ + タブレット） */
/* -------------------------------------------------
  ハンバーガーメニュー（PC・SP共通定義）
  displayはここでは1回だけnoneで定義。
  SPでの表示はmedia内で flex に上書きする。
------------------------------------------------- */
.hamburger-menu {
  display: none; /* PCは非表示 */
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 3000;
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid #4a78bf;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: background-color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}
.hamburger-menu:hover {
  background-color: #4a78bf;
}
.hamburger-menu span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #4a78bf;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}
.hamburger-menu:hover span {
  background-color: #fff;
}
/* 開いてる時（×） */
.hamburger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
/* -------------------------------------------------
  オーバーレイ（メニュー背面の暗幕）
  PC・SP共通定義。activeクラスで表示切替。
------------------------------------------------- */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2500;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.menu-overlay.active {
  display: block;
  opacity: 1;
}


/* -------------------------------------------------
  SP/タブレット専用スタイル（900px以下）
  ★以下すべてのSP用スタイルはこの { } の中に収める★
------------------------------------------------- */
@media (max-width: 900px) {
  /* ===== body ===== */
  body {
    min-width: 320px;
    padding-top: 0;
    font-size: 16px;
    overflow-x: hidden;
  }
  /* ===== fixed-header：SP時は固定解除して流す ===== */
  .fixed-header {
    position: static;
    box-shadow: none;
  }
  /* ===== アンカー補正：SP時は固定ヘッダーがないので解除 ===== */
  main [id] {
    scroll-margin-top: 0;
  }
  /* ===== ハンバーガーボタン：SPのみ表示 ===== */
  .hamburger-menu {
    display: flex; /* PCのdisplay:noneをここで上書き */
  }
  /* ===== 1段目ヘッダー：SP時 ===== */
  .header-row--top {
    padding: 0px;
  }
  .header-row--top-inner {
    flex-wrap: wrap;
    justify-content: center; /* ★中央寄せ */
    gap: 8px;
  }
  /* 左側ロゴグループ：上段・中央寄せ */
  .header-logo-group {
    order: 1;
    flex: 0 0 auto;
    justify-content: center; /* ★中央寄せ */
	padding: 15px 15px 15px 0;
  }
  .header-logo-img {
    height: 40px;
  }
  .header-site-name {
    padding-left: 8px;
  }
  .header-site-name--main {
    font-size: 15px;
  }
  .header-site-name--org {
    font-size: 10px;
  }
  /* 右側：上段・中央寄せのため幅100%で改行 */
  .header-right {
    order: 2;
    flex: 0 0 100%; /* ★幅100%で下段へ */
    justify-content: center; /* ★中央寄せ */
    gap: 10px;
  }
	
	/* ===== ヘッダー右上ユーティリティリンク：SP非表示 ===== */
.header-utility-links {
  display: none;
}
  .header-tagline {
    text-align: center; /* ★中央寄せ */
  }
  .header-tagline--main {
    font-size: 12px;
  }
  .header-tagline--sub,.header-jipdec-link img {
    display: none;
  }
  /* ===== ナビゲーション：オフキャンバス（右から出る） ===== */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.12);
    transition: right 0.3s ease;
    overflow-y: auto;
    padding-top: 80px;
    z-index: 2600;
  }
  .main-nav.active {
    right: 0;
  }
  /* ===== ナビリスト：縦並び ===== */
  .nav-list {
    flex-direction: column;
    padding: 20px 0;
    margin: 0;
  }
  .nav-list li {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
  .nav-list li:last-child {
    border-bottom: none;
  }
  .nav-list a {
    display: block;
    padding: 18px 25px;
    font-size: 16px;
    color: #333;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .nav-list a.active {
    background: linear-gradient(90deg, rgba(74, 120, 191, 0.12) 0%, transparent 100%);
    border-left: 4px solid #4a78bf;
    color: #4a78bf;
  }
  .nav-list a:hover {
    background-color: #f8f9fa;
  }
  /* ===== ヒーロー・スライドショー：SP非表示 ===== */
  .hero-section {
    display: none;
  }
  .slideshow {
    display: none;
  }
  /* ===== メインコンテナ・レイアウト ===== */
  .main-container {
    padding: 0 15px;
  }
  .content-layout {
    padding: 30px 20px;
  }
  /* 2カラム→1カラムに切替 */
  .two-column {
    flex-direction: column;
  }
  .primary-content {
    order: 1;
    width: 100%;
  }
  /* ===== サイドバー：SP時は下に移動・バナーは2列 ===== */
  .sidebar {
    order: 2;
    width: 100%;
    margin-top: 40px;
  }
  /* サイドバー内のバナーエリアを2列グリッドに */
  .sidebar-banners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
  }
  /* 各バナーアイテムのマージンをリセット（グリッドのgapで管理） */
  .banner-item {
    margin-bottom: 0;
  }
  /* ===== タイトル・コンテンツボックス ===== */
  .page-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .content-box {
    padding: 20px;
    margin-bottom: 20px;
  }
  .content-heading {
    font-size: 18px;
  }
  /* ===== ニュース ===== */
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .news-date {
    min-width: auto;
  }
  /* ===== ステッププロセス ===== */
  .step-heading {
    font-size: 16px;
    padding: 12px 20px;
  }
  .step-content {
    padding: 20px;
  }
  .btn-space {
    margin-left: 0;
    margin-top: 5px;
  }
  /* ===== 料金テーブル ===== */
  .price-table {
    font-size: 14px;
  }
  .price-table th, .price-table td {
    padding: 8px 10px;
  }
  /* ===== ダウンロードアイテム ===== */
  .download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .download-date {
    align-items: flex-start;
  }
  /* ===== インデックスグリッド ===== */
  .index-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .index-button {
    padding: 12px 8px;
  }
  .index-text {
    font-size: 18px;
  }
  /* ===== リンク・問い合わせ ===== */
  .link-item {
    padding: 20px;
  }
  .inquiry-window {
    padding: 20px;
  }
  /* ===== セミナー ===== */
  .seminar-iframe {
    min-height: 400px;
  }
  /* ===== サイトマップ ===== */
  .sitemap-section {
    padding: 20px;
  }
  .sitemap-heading {
    font-size: 18px;
  }
  .sitemap-list a {
    font-size: 15px;
  }
  /* ===== フッター ===== */
  .site-footer {
    padding: 40px 20px 25px;
  }
  .footer-company-info {
    padding: 25px 20px;
    margin-bottom: 30px;
  }
  .footer-company-info h3 {
    font-size: 18px;
  }
  .footer-contact-details {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-contact-details .contact-tel {
    font-size: 18px;
  }
  .footer-nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  .footer-nav a {
    font-size: 14px;
  }
  .copyright {
    font-size: 12px;
  }
} /* ===== @media (max-width: 900px) ここまで ===== */
/* Responsive tweaks */
@media (max-width: 768px) {
  .process-step#jiko .summary-grid {
    grid-template-columns: 1fr;
  }
  .process-step#jiko .summary-table, .process-step#jiko .criteria-table, .process-step#jiko .reporting-table {
    min-width: 640px;
  }
}