/* ==========================================================================
   layout.css - ヘッダー / 全体グリッド / ヒーロー / フッター
   ========================================================================== */

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--c-white);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  width: auto;
  height: 52px;
}

.brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--c-navy-900);
}

.brand-tagline {
  font-size: 11px;
  color: var(--c-text-mute);
  white-space: nowrap;
}

/* グローバルナビ */
.global-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.global-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
}

.global-nav-list a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 21px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-text);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.global-nav-list a:hover {
  color: var(--c-blue-600);
  background-color: var(--c-blue-050);
}

.global-nav-list a.is-active,
.global-nav-list .current-menu-item > a {
  color: var(--c-blue-600);
  border-bottom-color: var(--c-blue-600);
}

.global-nav-list i {
  font-size: 13px;
}

/* 検索・ツール */
.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.search-form {
  display: flex;
  align-items: center;
  width: 210px;
  height: 34px;
  padding-inline: 12px;
  background-color: var(--c-blue-050);
  border: 1px solid var(--c-line);
  border-radius: 999px;
}

.search-form input {
  width: 100%;
  font-size: 12px;
}

.search-form input::placeholder {
  color: var(--c-text-mute);
}

.search-form button {
  color: var(--c-text-sub);
  padding-left: 6px;
}

.search-form button:hover {
  color: var(--c-blue-600);
}

.tool-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  color: var(--c-text-sub);
  line-height: 1.2;
}

.tool-btn i {
  font-size: 17px;
  color: var(--c-navy-800);
}

.tool-btn:hover,
.tool-btn:hover i {
  color: var(--c-blue-600);
}

/* --------------------------------------------------------------------------
   ページグリッド（左サイド / メイン / 右サイド）
   -------------------------------------------------------------------------- */

.page-grid {
  display: grid;
  grid-template-columns: var(--col-left) minmax(0, 1fr) var(--col-right);
  grid-template-rows: auto auto;
  gap: var(--gap);
  padding-block: 20px 48px;
  align-items: start;
}

.sidebar-left {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.hero {
  grid-column: 2 / -1;
  grid-row: 1;
}

.main-column {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.sidebar-right {
  grid-column: 3;
  grid-row: 2;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

/* --------------------------------------------------------------------------
   ヒーロー
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 280px;
  aspect-ratio: 1916 / 821;
  padding: 36px 40px;
  overflow: hidden;
  color: var(--c-navy-900);
  background-color: #f4f8fc;
  background-image: url("../images/fv.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-body {
  position: relative;
  z-index: 1;
  max-width: 42%;
}

.hero-title {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--c-navy-900);
}

.hero-lead {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-text-sub);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* FVは白背景寄りのため、ゴーストボタンはネイビー枠に */
.hero .btn-ghost {
  color: var(--c-navy-800);
  background-color: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--c-navy-800);
}

.hero .btn-ghost:hover {
  color: var(--c-white);
  background-color: var(--c-navy-800);
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background-color: var(--c-navy-900);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 40px;
  padding-block: 44px;
}

.site-footer .brand-logo img {
  height: 48px;
}

.footer-text {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.9;
}

.sns-list {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.sns-list a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--c-white);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.sns-list a:hover {
  color: var(--c-navy-900);
  background-color: var(--c-white);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col h3 {
  padding-bottom: 10px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-col li + li {
  margin-top: 8px;
}

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

.footer-col a:hover {
  color: var(--c-white);
  text-decoration: underline;
}

.copyright {
  padding: 14px 20px;
  font-size: 11px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
