/* ============================================
   Galaxia 0円採用サイト テンプレート CSS
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Brand Color (差し替え変数: この1箇所を変更で全体反映) */
  --brand-primary: #2D6A4F;
  --brand-primary-light: rgba(45, 106, 79, 0.08);
  --brand-primary-dark: #245A43;
  --brand-primary-rgb: 45, 106, 79;

  /* Common Colors (固定) */
  --color-bg: #FFFFFF;
  --color-bg-gray: #F7F8FA;
  --color-text: #1A1A1A;
  --color-text-secondary: #4A4A4A;
  --color-text-muted: #8A8A8A;
  --color-border: #E5E7EB;
  --color-white: #FFFFFF;
  --color-dark: #1A1A1A;

  /* Typography */
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Inter", sans-serif;

  /* Spacing */
  --section-padding-pc: 100px;
  --section-padding-sp: 64px;
  --container-max: 1200px;
  --container-padding: 20px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Transition */
  --transition: 0.25s ease;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 見出し: テナント設定の見出しフォント (--font-heading) を使用。
   未設定ならテーマ既定 (--font-ja) にフォールバック。 */
h1, h2, h3, h4 {
  font-family: var(--font-heading, var(--font-ja));
}

body {
  font-family: var(--font-body, var(--font-ja));
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* --- Container --- */
.g-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Section Base --- */
.g-section {
  padding: var(--section-padding-pc) 0;
}

.g-section--gray {
  background-color: var(--color-bg-gray);
}

.g-section--hidden {
  display: none;
}

/* --- Section Heading --- */
.g-section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.g-section-heading__label {
  display: block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 12px;
}

.g-section-heading__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-text);
}

.g-section-heading__bar {
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--brand-primary);
  margin: 20px auto 0;
}

/* --- Buttons --- */
.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.g-btn--primary {
  background-color: var(--brand-primary);
  color: var(--color-white);
  padding: 16px 40px;
}

.g-btn--primary:hover {
  background-color: var(--brand-primary-dark);
  box-shadow: 0 4px 12px rgba(var(--brand-primary-rgb), 0.3);
}

.g-btn--secondary {
  background-color: transparent;
  color: var(--color-text);
  padding: 14px 32px;
  border: 1px solid var(--color-border);
}

.g-btn--secondary:hover {
  background-color: var(--color-bg-gray);
}

.g-btn--white {
  background-color: var(--color-white);
  color: var(--brand-primary);
  padding: 16px 40px;
}

.g-btn--white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.g-text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-primary);
  transition: all var(--transition);
}

.g-text-link__arrow {
  transition: transform var(--transition);
  font-size: 16px;
}

.g-text-link:hover {
  text-decoration: underline;
}

.g-text-link:hover .g-text-link__arrow {
  transform: translateX(4px);
}

/* --- Grid --- */
.g-grid {
  display: grid;
  gap: 24px;
}

.g-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.g-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.g-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Card Base --- */
.g-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.g-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.g-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: var(--brand-primary-light);
}

.g-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.g-card:hover .g-card__image img {
  transform: scale(1.03);
}

.g-card__body {
  padding: 24px;
}

.g-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.g-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

/* ============================================
   01. Header
   ============================================ */
.g-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: 72px;
}

.g-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.g-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: -0.02em;
}

.g-header__logo-icon {
  width: 32px;
  height: 32px;
  background: var(--brand-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  font-weight: 700;
}

/* console から設定されたロゴ画像 (未設定時はアイコン+社名テキスト) */
.g-header__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.g-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.g-header__nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color var(--transition);
  position: relative;
}

.g-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-primary);
  transition: width var(--transition);
}

.g-header__nav-link:hover {
  color: var(--brand-primary);
}

.g-header__nav-link:hover::after {
  width: 100%;
}

.g-header__cta {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
}

.g-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.g-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all var(--transition);
}

/* Mobile Menu Overlay */
.g-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.g-mobile-menu.is-active {
  display: flex;
  opacity: 1;
}

.g-mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: var(--color-text);
  padding: 8px;
}

.g-mobile-menu__link {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text);
  padding: 8px 0;
}

/* ============================================
   02. First View
   ============================================ */
.g-fv {
  position: relative;
  height: 85vh;
  min-height: 560px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.g-fv__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.g-fv__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.g-fv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.g-fv__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 2;
}

.g-fv__content {
  position: relative;
  z-index: 3;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

.g-fv__catch {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.g-fv__sub {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
  max-width: 480px;
}

.g-fv__actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ============================================
   03. Summary (3秒理解)
   ============================================ */
.g-summary__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.g-summary-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow var(--transition);
}

.g-summary-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.g-summary-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--brand-primary);
  font-size: 24px;
}

.g-summary-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.g-summary-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

/* ============================================
   04. Jobs (職種・仕事紹介)
   ============================================ */
.g-jobs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.g-jobs__more {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   05. Axis (2軸分岐)
   ============================================ */
.g-axis__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.g-axis-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}

.g-axis-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.g-axis-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--brand-primary-light);
}

.g-axis-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-axis-card__body {
  padding: 32px;
}

.g-axis-card__label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-primary-light);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.g-axis-card__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.g-axis-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.g-axis-card__list {
  margin-bottom: 24px;
}

.g-axis-card__list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.g-axis-card__list-item:last-child {
  border-bottom: none;
}

.g-axis-card__list-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.g-axis-card__list-icon svg {
  width: 12px;
  height: 12px;
  color: white;
}

/* ============================================
   06. Staff (社員紹介)
   ============================================ */
.g-staff__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.g-staff-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.g-staff-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.g-staff-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--brand-primary-light);
}

.g-staff-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-staff-card__body {
  padding: 24px;
}

.g-staff-card__role {
  font-size: 12px;
  font-weight: 500;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.g-staff-card__name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.g-staff-card__comment {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.g-staff__more {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   07. Company (会社を知る)
   ============================================ */
.g-company__numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.g-number-item {
  text-align: center;
  padding: 24px 16px;
}

.g-number-item__value {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.g-number-item__unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--brand-primary);
}

.g-number-item__label {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 8px;
}

.g-company__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.g-company__text-area h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.4;
}

.g-company__text-area p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-bottom: 24px;
}

.g-company__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--brand-primary-light);
}

.g-company__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   07.5. Blog (ブログ)
   ============================================ */
.g-blog__box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.g-blog__grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: stretch;
}

/* --- 左: ライターカード --- */
.g-blog-writer {
  background: var(--color-bg-gray);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.g-blog-writer__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--brand-primary-light);
  flex-shrink: 0;
}

.g-blog-writer__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-blog-writer__label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-primary-light);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.g-blog-writer__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 4px;
}

.g-blog-writer__role {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
}

.g-blog-writer__bio {
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* --- 右: 記事カード --- */
.g-blog-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.g-blog-post {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background-color var(--transition), transform var(--transition);
  flex: 1;
}

.g-blog-post:hover {
  background: var(--brand-primary-light);
  transform: translateY(-1px);
}

.g-blog-post__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--brand-primary-light);
  flex-shrink: 0;
}

.g-blog-post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.g-blog-post:hover .g-blog-post__thumb img {
  transform: scale(1.05);
}

.g-blog-post__body {
  padding: 12px 16px 14px;
  min-width: 0;
}

.g-blog-post__date {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
  display: block;
}

.g-blog-post__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.g-blog-post__excerpt {
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- 2名ライター版 --- */
.g-blog__box--2w {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.g-blog-writers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.g-blog-writer--horizontal {
  flex-direction: row;
  gap: 20px;
  padding: 24px;
  text-align: left;
  justify-content: flex-start;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  opacity: 0.5;
}

.g-blog-writer--horizontal.is-active {
  border-color: var(--brand-primary);
  opacity: 1;
}

.g-blog-writer--horizontal:hover {
  opacity: 1;
}

.g-blog-writer--horizontal .g-blog-writer__avatar {
  width: 72px;
  height: 72px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.g-blog-writer--horizontal .g-blog-writer__label {
  margin-bottom: 6px;
}

.g-blog-writer--horizontal .g-blog-writer__name {
  margin-bottom: 2px;
}

.g-blog-writer--horizontal .g-blog-writer__role {
  margin-bottom: 10px;
}

.g-blog-writer--horizontal .g-blog-writer__bio {
  font-size: 12px;
  line-height: 1.6;
}

.g-blog-posts--2w {
  grid-template-columns: repeat(3, 1fr);
  display: none;
}

.g-blog-posts--2w.is-active {
  display: grid;
  animation: blogFadeIn 0.3s ease;
}

@keyframes blogFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.g-blog-post__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.g-blog-post__author {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-primary-light);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

/* --- 3名ライター スライダー版 --- */
.g-blog__box--3w {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.g-blog-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.g-blog-slider__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  transition: all var(--transition);
}

.g-blog-slider__arrow:hover {
  background: var(--brand-primary);
  color: var(--color-white);
}

.g-blog-slider__track {
  flex: 1;
  overflow: hidden;
}

.g-blog-slider__cards {
  display: flex;
  gap: 12px;
  transition: transform 0.4s ease;
}

.g-blog-slider__card {
  flex: 0 0 calc(33.333% - 8px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-bg-gray);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  opacity: 0.5;
}

.g-blog-slider__card.is-active {
  border-color: var(--brand-primary);
  opacity: 1;
}

.g-blog-slider__card:hover {
  opacity: 1;
}

.g-blog-slider__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand-primary-light);
  flex-shrink: 0;
}

.g-blog-slider__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-blog-slider__info {
  min-width: 0;
}

.g-blog-slider__label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.g-blog-slider__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g-blog-slider__role {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ドットインジケーター */
.g-blog-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.g-blog-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all var(--transition);
}

.g-blog-slider__dot.is-active {
  background: var(--brand-primary);
  width: 24px;
  border-radius: 4px;
}

/* 3名版の記事グリッド */
.g-blog-posts--3w {
  grid-template-columns: repeat(3, 1fr);
  display: none;
}

.g-blog-posts--3w.is-active {
  display: grid;
  animation: blogFadeIn 0.3s ease;
}

/* --- ボタン --- */
.g-blog__more {
  text-align: center;
  margin-top: 32px;
}

/* ============================================
   08. News (お知らせ)
   ============================================ */
.g-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.g-news-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.g-news-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.g-news-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--brand-primary-light);
}

.g-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-news-card__body {
  padding: 20px 24px 24px;
}

.g-news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.g-news-card__date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--color-text-muted);
}

.g-news-card__category {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-primary);
  background: var(--brand-primary-light);
  padding: 3px 10px;
  border-radius: 3px;
}

.g-news-card__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.g-news__more {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   09. FAQ
   ============================================ */
.g-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.g-faq-item {
  border-bottom: 1px solid var(--color-border);
}

.g-faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.g-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--color-text);
  list-style: none;
  gap: 16px;
}

.g-faq-item summary::-webkit-details-marker {
  display: none;
}

.g-faq-item summary::marker {
  display: none;
  content: '';
}

.g-faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 16px;
  color: var(--color-text-muted);
}

.g-faq-item[open] .g-faq-item__icon {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--color-white);
  transform: rotate(45deg);
}

.g-faq-item__answer {
  padding: 0 0 24px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-secondary);
}

.g-faq-item__q-label {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--brand-primary);
  margin-right: 12px;
  font-size: 16px;
}

/* ============================================
   10. Final CTA
   ============================================ */
.g-cta-final {
  background: var(--brand-primary);
  text-align: center;
  padding: var(--section-padding-pc) 0;
}

.g-cta-final__catch {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.4;
  margin-bottom: 16px;
}

.g-cta-final__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  line-height: 1.7;
}

.g-cta-final__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

/* ============================================
   11. Footer
   ============================================ */
.g-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
}

.g-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.g-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.g-footer__logo {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.g-footer__logo-icon {
  width: 28px;
  height: 28px;
  background: var(--brand-primary);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 700;
}

.g-footer__desc {
  font-size: 13px;
  line-height: 1.7;
}

.g-footer__group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.g-footer__link {
  display: block;
  font-size: 13px;
  padding: 6px 0;
  transition: color var(--transition);
}

.g-footer__link:hover {
  color: var(--color-white);
}

.g-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.g-footer__copyright {
  font-size: 12px;
}

.g-footer__powered {
  font-size: 11px;
  opacity: 0.5;
}

/* ============================================
   Placeholder SVGs (写真未確定時の仮置き)
   ============================================ */
.g-placeholder {
  width: 100%;
  height: 100%;
  background: var(--brand-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.g-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--brand-primary);
  opacity: 0.3;
}

/* ============================================
   Responsive (SP: max-width 768px)
   ============================================ */
@media (max-width: 768px) {
  /* Section */
  .g-section {
    padding: var(--section-padding-sp) 0;
  }

  .g-section-heading {
    margin-bottom: 40px;
  }

  .g-section-heading__title {
    font-size: 24px;
  }

  /* Header */
  .g-header {
    height: 60px;
  }

  .g-header__nav {
    display: none;
  }

  .g-header__hamburger {
    display: flex;
  }

  .g-header__cta {
    font-size: 12px;
    padding: 8px 16px;
  }

  /* First View */
  .g-fv {
    height: 75vh;
    min-height: 480px;
  }

  .g-fv__overlay {
    background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0.15) 100%
    );
  }

  .g-fv__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding-bottom: 48px;
  }

  .g-fv__catch {
    font-size: 28px;
  }

  .g-fv__sub {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .g-fv__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .g-fv__actions .g-btn {
    width: 100%;
    justify-content: center;
  }

  /* Summary */
  .g-summary__cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .g-summary-card {
    padding: 24px 20px;
  }

  /* Jobs */
  .g-jobs__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Axis */
  .g-axis__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .g-axis-card__body {
    padding: 24px;
  }

  .g-axis-card__title {
    font-size: 20px;
  }

  /* Staff */
  .g-staff__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Company */
  .g-company__numbers {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
  }

  .g-number-item__value {
    font-size: 36px;
  }

  .g-company__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .g-company__text-area h3 {
    font-size: 20px;
  }

  /* Blog */
  .g-blog__box {
    padding: 20px;
  }

  .g-blog__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .g-blog-writer {
    flex-direction: row;
    gap: 16px;
    padding: 20px;
    text-align: left;
    justify-content: flex-start;
  }

  .g-blog-writer__avatar {
    width: 68px;
    height: 68px;
    margin-bottom: 0;
  }

  .g-blog-writer__label {
    margin-bottom: 6px;
  }

  .g-blog-writer__role {
    margin-bottom: 0;
  }

  .g-blog-writer__bio {
    display: none;
  }

  .g-blog-posts {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .g-blog-post {
    flex-direction: row;
    flex: unset;
  }

  .g-blog-post__thumb {
    width: 110px;
    aspect-ratio: auto;
    min-height: 72px;
    flex-shrink: 0;
  }

  .g-blog-post__body {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .g-blog-post__title {
    font-size: 13px;
  }

  .g-blog-post__excerpt {
    display: none;
  }

  /* Blog 3writers SP */
  .g-blog-slider__card {
    flex: 0 0 calc(80% - 8px);
    padding: 12px 14px;
    gap: 12px;
  }

  .g-blog-slider__avatar {
    width: 44px;
    height: 44px;
  }

  .g-blog-slider__name {
    font-size: 14px;
  }

  .g-blog-slider__arrow {
    width: 32px;
    height: 32px;
  }

  .g-blog-slider__arrow svg {
    width: 16px;
    height: 16px;
  }

  .g-blog-posts--3w.is-active {
    grid-template-columns: 1fr;
  }

  /* Blog 2writers SP */
  .g-blog-writers {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .g-blog-writer--horizontal {
    padding: 16px;
    gap: 14px;
  }

  .g-blog-writer--horizontal .g-blog-writer__avatar {
    width: 56px;
    height: 56px;
  }

  .g-blog-writer--horizontal .g-blog-writer__bio {
    display: none;
  }

  .g-blog-posts--2w.is-active {
    grid-template-columns: 1fr;
  }

  /* News */
  .g-news__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .g-news-card {
    display: grid;
    grid-template-columns: 120px 1fr;
  }

  .g-news-card__image {
    aspect-ratio: 1 / 1;
  }

  .g-news-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .g-news-card__title {
    font-size: 14px;
  }

  /* FAQ */
  .g-faq-item summary {
    font-size: 14px;
    padding: 16px 0;
  }

  /* Final CTA */
  .g-cta-final {
    padding: var(--section-padding-sp) 0;
  }

  .g-cta-final__catch {
    font-size: 24px;
  }

  .g-cta-final__actions {
    flex-direction: column;
    gap: 12px;
  }

  .g-cta-final__actions .g-btn {
    width: 100%;
  }

  /* Footer */
  .g-footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .g-footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Grid */
  .g-grid--2col,
  .g-grid--3col,
  .g-grid--4col {
    grid-template-columns: 1fr;
  }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
  .g-header__nav {
    gap: 20px;
  }

  .g-header__nav-link {
    font-size: 13px;
  }

  .g-staff__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .g-company__numbers {
    grid-template-columns: repeat(2, 1fr);
  }

  .g-blog__box {
    padding: 28px;
  }

  .g-blog__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .g-blog-writer {
    flex-direction: row;
    gap: 16px;
    padding: 24px 20px;
    text-align: left;
    justify-content: flex-start;
  }

  .g-blog-writer__avatar {
    width: 72px;
    height: 72px;
    margin-bottom: 0;
  }

  .g-blog-writer__bio {
    display: none;
  }

  .g-blog-posts {
    grid-template-columns: repeat(3, 1fr);
  }

  .g-blog-writer--horizontal .g-blog-writer__bio {
    display: none;
  }

  .g-blog-slider__card {
    flex: 0 0 calc(50% - 6px);
  }

  .g-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .g-news__grid > *:last-child {
    display: none;
  }
}

/* ============================================
   Blog Index Page (下層: ブログ一覧)
   ============================================ */

/* ----- ページヘッダー (共通流用想定) ----- */
.g-page-header {
  background: #f5f7fa;
  padding: 36px 0 56px;
  border-bottom: 1px solid #e5e7eb;
}
.g-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.g-breadcrumb__link {
  color: #6b7280;
  transition: color 0.2s ease;
}
.g-breadcrumb__link:hover { color: #111827; }
.g-breadcrumb__sep { color: #d1d5db; }
.g-breadcrumb__current { color: #111827; font-weight: 600; }

.g-page-header__title-wrap {
  text-align: left;
}
.g-page-header__label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #047857;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.g-page-header__title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.g-page-header__bar {
  display: block;
  width: 48px;
  height: 3px;
  background: #047857;
  border-radius: 2px;
  margin-bottom: 16px;
}
.g-page-header__lead {
  font-size: 14px;
  line-height: 1.85;
  color: #4b5563;
  max-width: 560px;
}

/* ----- ライタープロフィールBOX (FV直下、横並び1ボックス) ----- */
.g-blog-profile-section {
  padding: 40px 0 0;
}
.g-writer-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, 0.04);
  position: relative;
  overflow: hidden;
}
.g-writer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #047857, #0F766E);
}
.g-writer-card__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #f3f4f6;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.g-writer-card__avatar .g-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}
.g-writer-card__avatar .g-placeholder svg {
  width: 56px;
  height: 56px;
}
.g-writer-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-writer-card__body {
  min-width: 0;
}
.g-writer-card__label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #047857;
  text-transform: uppercase;
  padding: 3px 10px;
  background: #ecfdf5;
  border-radius: 4px;
  margin-bottom: 10px;
}
.g-writer-card__name {
  font-size: 22px;
  font-weight: 700;
  color: #111827;
  line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: -0.005em;
}
.g-writer-card__role {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  margin-left: 4px;
}
.g-writer-card__bio {
  font-size: 13.5px;
  line-height: 1.85;
  color: #4b5563;
  margin-bottom: 16px;
}
.g-writer-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 14px;
  border-top: 1px dashed #e5e7eb;
}
.g-writer-card__meta-item {
  font-size: 12px;
  color: #6b7280;
}
.g-writer-card__meta-item strong {
  font-family: var(--font-en);
  font-weight: 700;
  color: #111827;
  margin: 0 2px;
}
@media (max-width: 720px) {
  .g-writer-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px 20px;
    gap: 18px;
  }
  .g-writer-card__avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto;
  }
  .g-writer-card__meta {
    justify-content: center;
  }
}

/* ----- メイン: ツールバー ----- */
.g-blog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e5e7eb;
}
.g-blog-toolbar__count {
  font-size: 13px;
  color: #6b7280;
}
.g-blog-toolbar__count strong {
  color: #111827;
  font-family: var(--font-en);
  font-weight: 700;
  margin: 0 2px;
}
.g-blog-toolbar__sort {
  font-size: 12px;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.g-blog-toolbar__sort select {
  font-family: inherit;
  font-size: 12px;
  padding: 6px 28px 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6,9 12,15 18,9'/></svg>")
    no-repeat right 8px center;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
}

/* ----- 記事グリッド (3列) ----- */
.g-blog-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) {
  .g-blog-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .g-blog-list { grid-template-columns: 1fr; }
}

.g-blog-list-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.g-blog-list-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  border-color: #d1d5db;
}
.g-blog-list-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
  overflow: hidden;
}
.g-blog-list-card__thumb .g-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e0;
}
.g-blog-list-card__thumb .g-placeholder svg {
  width: 36px;
  height: 36px;
}
.g-blog-list-card__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-block;
  padding: 3px 10px;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.95);
  color: #047857;
  border-radius: 4px;
  letter-spacing: 0.04em;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.g-blog-list-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.g-blog-list-card__date {
  font-family: var(--font-en);
  font-size: 11.5px;
  color: #9ca3af;
  letter-spacing: 0.04em;
}
.g-blog-list-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: #111827;
  letter-spacing: -0.005em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-blog-list-card__excerpt {
  font-size: 12.5px;
  line-height: 1.75;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-blog-list-card__author {
  margin-top: auto;
  padding-top: 10px;
  font-size: 11.5px;
  color: #6b7280;
  letter-spacing: 0.01em;
}

/* ----- ページネーション ----- */
.g-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 56px;
}
.g-pagination__num,
.g-pagination__prev,
.g-pagination__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.g-pagination__num:hover,
.g-pagination__prev:hover,
.g-pagination__next:hover {
  background: #f9fafb;
  color: #111827;
  border-color: #d1d5db;
}
.g-pagination__num.is-current {
  background: #047857;
  color: #fff;
  border-color: #047857;
  pointer-events: none;
}
.g-pagination__sep {
  font-size: 13px;
  color: #9ca3af;
  padding: 0 4px;
}

@media (max-width: 600px) {
  .g-page-header { padding: 28px 0 40px; }
  .g-blog-toolbar { font-size: 12px; }
  .g-pagination { gap: 4px; margin-top: 40px; }
  .g-pagination__num,
  .g-pagination__prev,
  .g-pagination__next {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* ============================================
   Blog Article Page (下層: 記事詳細)
   ============================================ */

/* ----- 記事用ナローコンテナ ----- */
.g-container--narrow {
  max-width: 820px;
}

/* ----- スリム版ページヘッダー (パンくずのみ) ----- */
.g-page-header--slim {
  padding: 22px 0 22px;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
}
.g-page-header--slim .g-breadcrumb {
  margin-bottom: 0;
}
.g-page-header--slim .g-breadcrumb__current {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 480px;
}

/* ----- 記事ヘッダー (カテゴリー / タイトル / メタ) ----- */
.g-article-header {
  background: #fff;
  padding: 56px 0 36px;
  text-align: center;
}
.g-article-header__cat {
  display: inline-block;
  padding: 5px 14px;
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  border-radius: 4px;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}
.g-article-header__title {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.55;
  color: #111827;
  letter-spacing: -0.005em;
  margin-bottom: 26px;
}
.g-article-header__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 12.5px;
  color: #6b7280;
}
.g-article-header__meta > * {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.g-article-header__date {
  font-family: var(--font-en);
  letter-spacing: 0.02em;
}

/* ----- アイキャッチ ----- */
.g-article-hero {
  padding: 0 0 56px;
}
.g-article-hero__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e0;
}
.g-article-hero__image .g-placeholder svg {
  width: 56px;
  height: 56px;
}
.g-article-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----- 本文 typography ----- */
.g-article-body {
  padding: 0 0 64px;
}
.g-article-body__lead {
  font-size: 16px;
  line-height: 2;
  color: #374151;
  margin-bottom: 48px;
  padding-left: 18px;
  border-left: 3px solid #047857;
}
.g-article-body h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  color: #111827;
  letter-spacing: -0.005em;
  margin: 56px 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}
.g-article-body h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  background: #047857;
  border-radius: 2px;
}
.g-article-body h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: #111827;
  margin: 36px 0 14px;
}
.g-article-body p {
  font-size: 14.5px;
  line-height: 2;
  color: #374151;
  margin-bottom: 22px;
}
.g-article-body strong {
  font-weight: 700;
  color: #111827;
}
.g-article-body a {
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.g-article-body a:hover {
  text-decoration-thickness: 2px;
}
.g-article-body ul,
.g-article-body ol {
  margin: 0 0 28px;
  padding-left: 1.4em;
}
.g-article-body ul li,
.g-article-body ol li {
  font-size: 14.5px;
  line-height: 2;
  color: #374151;
  margin-bottom: 6px;
  padding-left: 4px;
}
.g-article-body ul li::marker {
  color: #047857;
}

/* 画像キャプション */
.g-article-figure {
  margin: 36px 0;
}
.g-article-figure__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e0;
}
.g-article-figure__image .g-placeholder svg {
  width: 40px;
  height: 40px;
}
.g-article-figure__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g-article-figure figcaption {
  font-size: 12.5px;
  color: #6b7280;
  text-align: center;
  margin-top: 12px;
  line-height: 1.7;
}

/* 引用 */
.g-article-body blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  background: #f9fafb;
  border-left: 4px solid #047857;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  line-height: 1.95;
  color: #374151;
  position: relative;
}
.g-article-body blockquote::before {
  content: '"';
  position: absolute;
  top: 6px;
  right: 14px;
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  color: #047857;
  opacity: 0.18;
}
.g-article-body blockquote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}

/* シェア (本文末・記事を区切る上ボーダー兼用) */
.g-article-share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 56px;
  padding: 28px 0 0;
  border-top: 1px solid #e5e7eb;
}
.g-article-share__label {
  font-size: 12px;
  font-weight: 700;
  color: #4b5563;
  letter-spacing: 0.02em;
}
.g-article-share__btns {
  display: flex;
  gap: 8px;
}
.g-article-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  color: #4b5563;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.g-article-share__btn:hover {
  background: #047857;
  color: #fff;
  border-color: #047857;
  transform: translateY(-2px);
}

/* ----- 記事下のWriter Card セクション ----- */
.g-article-writer-section {
  background: #f9fafb;
  padding: 64px 0;
  border-top: 1px solid #f3f4f6;
}
.g-article-section-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-align: center;
}
.g-article-writer-section .g-writer-card {
  background: #fff;
}
.g-writer-card__meta-item--link {
  color: #047857;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.g-writer-card__meta-item--link:hover {
  color: #065F46;
  text-decoration: underline;
}

/* ----- 関連記事 ----- */
.g-related-articles {
  padding: 80px 0;
}
.g-related-articles__more {
  text-align: center;
  margin-top: 40px;
}

/* ----- 関連記事スライダー (scroll-snap) ----- */
.g-related-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-related-slider__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.g-related-slider__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 16px;
  margin: -4px -4px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.g-related-slider__track::-webkit-scrollbar {
  display: none;
}
.g-related-slider__card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
}
@media (max-width: 1100px) {
  .g-related-slider__card {
    flex-basis: calc((100% - 24px) / 2);
  }
}
@media (max-width: 600px) {
  .g-related-slider__card {
    flex-basis: 82%;
  }
  .g-related-slider__track {
    gap: 16px;
  }
}

/* ナビボタン (左右の円) */
.g-related-slider__nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  color: #4b5563;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}
.g-related-slider__nav:hover {
  background: #047857;
  color: #fff;
  border-color: #047857;
  transform: translateY(-2px);
}
.g-related-slider__nav:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
@media (max-width: 600px) {
  .g-related-slider__nav {
    width: 38px;
    height: 38px;
  }
}

/* ドット (現在位置インジケーター) */
.g-related-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
}
.g-related-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.g-related-slider__dot.is-active {
  background: #047857;
  width: 20px;
  border-radius: 3px;
}

/* ----- レスポンシブ ----- */
@media (max-width: 720px) {
  .g-article-header { padding: 36px 0 28px; }
  .g-article-header__title { font-size: 22px; line-height: 1.5; }
  .g-article-header__meta { gap: 14px; font-size: 11.5px; }
  .g-article-hero { padding-bottom: 36px; }
  .g-article-body__lead { font-size: 14.5px; padding-left: 14px; }
  .g-article-body h2 { font-size: 19px; margin-top: 40px; }
  .g-article-body h3 { font-size: 16px; }
  .g-article-body p,
  .g-article-body ul li,
  .g-article-body ol li { font-size: 13.5px; }
  .g-article-body blockquote { padding: 18px 18px; }
  .g-article-share { margin-top: 40px; padding-top: 24px; }
  .g-article-writer-section { padding: 48px 0; }
  .g-related-articles { padding: 56px 0; }
}

/* ============================================
   テーマ別の装飾上書き
   body.g-theme-{slug} に CSS 変数を再定義して切り替える。
   CSS カスタムプロパティは継承されるため、body 配下すべてに反映される。
   ブログ記事ページ (article.html) は固定色のため装飾の影響を受けない。
   ============================================ */

/* --- recruit-warm: あたたかみのあるテラコッタ基調 --- */
body.g-theme-recruit-warm {
  /* ブランドカラー: 深緑 → 温かみのあるテラコッタ */
  --brand-primary: #BF6A3E;
  --brand-primary-light: rgba(191, 106, 62, 0.09);
  --brand-primary-dark: #A1542E;
  --brand-primary-rgb: 191, 106, 62;

  /* 背景・境界線をわずかに暖色寄りのオフホワイトへ */
  --color-bg: #FFFCF8;
  --color-bg-gray: #FBF4EB;
  --color-text: #2A2320;
  --color-text-secondary: #564B43;
  --color-text-muted: #978B7F;
  --color-border: #ECE2D5;

  /* 角を大きめに丸め、やわらかい印象に */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
}

