@charset "UTF-8";

/* ============================================
   CSS Custom Properties - Cloud9 Corporate Site
   ============================================ */
:root {
  /* Colors - Primary */
  --color-primary: #0064FF;
  --color-primary-dark: #0052CC;
  --color-primary-light: #E6F0FF;

  /* Colors - Text */
  --color-secondary: #1A1A1A;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;

  /* Colors - Base */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-footer: #333333;

  /* Colors - Gray Scale */
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;
  --color-gray-200: #E5E7EB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-500: #6B7280;
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;
  --color-gray-800: #1F2937;
  --color-gray-900: #111827;

  /* Colors - Specific */
  --color-footer-bg: #1A1A1A;
  --color-tag-news: #0064FF;
  --color-required: #E53E3E;

  /* Colors - Background */
  --color-bg-light: #F3F6FA;
  --color-bg-gray: #F5F5F5;
  --color-bg-light-gray: #E5E5E5;

  /* Colors - Border */
  --color-border-light: #E7E7E7;
  --color-border-medium: #D9D9D9;
  --color-border-form: #BCBEC1;
  --color-border-thin: #E0E0E0;

  /* Colors - UI Elements */
  --color-gray-medium: #BABABA;
  --color-error: #E94343;
  --color-error-bg: #FEF2F2;
  --color-accent-blue: #3C9EFB;
  --color-tag-bg: #E2E2E2;
  --color-tag-text: #747474;
  --color-disabled: #CCCCCC;
  --color-dropdown-text: #A4A3A3;

  /* Gradients */
  --gradient-primary: linear-gradient(to right, #29A3E9 0%, #0064FF 100%);
  --gradient-primary-hover: linear-gradient(to right, #2493D4 0%, #0052CC 100%);

  /* Typography - Font Families */
  --font-family-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-family-english: "Open Sans", sans-serif;
  --font-family-heading: "Open Sans", sans-serif;
  --font-family-accent: "Zen Kaku Gothic Antique", sans-serif;
  --font-family-gabarito: "Gabarito", sans-serif;

  /* Typography - Font Sizes (Figma styleguide準拠) */
  --font-size-xs: 12px;
  --font-size-sm: 14px;      /* body S */
  --font-size-base: 16px;    /* body M */
  --font-size-lg: 18px;      /* body L */
  --font-size-xl: 20px;      /* H5 */
  --font-size-2xl: 24px;     /* H4 */
  --font-size-3xl: 28px;     /* H3 */
  --font-size-4xl: 32px;     /* H2 */
  --font-size-5xl: 50px;     /* H1 */
  --font-size-6xl: 60px;
  --font-size-hero: 72px;

  /* Typography - Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Open Sans Weights (英字用) */
  --font-weight-english-nav: 600;     /* ヘッダーナビ */
  --font-weight-english-heading: 700; /* ページヘッダー、セクションタイトル、フッターボタン */

  /* Typography - Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --line-height-loose: 2;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 80px;
  --spacing-5xl: 120px;

  /* Layout */
  --container-max-width: 1200px;
  --container-padding: 20px;

  /* ============================================
     Breakpoints (参照用 - メディアクエリでは直接値を使用)
     - sm: 576px  → モバイル大
     - md: 768px  → タブレット
     - lg: 1024px → デスクトップ
     - xl: 1200px → 大画面
     ============================================ */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1200px;

  /* Border Radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index */
  --z-index-dropdown: 100;
  --z-index-header: 1000;
  --z-index-modal: 2000;
}

/* SP版 Typography - Font Sizes (デザイナー指示: 基本2pt下げ) */
@media (max-width: 767px) {
  :root {
    --font-size-xs: 10px;      /* 12-2 */
    --font-size-sm: 12px;      /* 14-2 */
    --font-size-base: 14px;    /* 16-2 */
    --font-size-lg: 16px;      /* 18-2 */
    --font-size-xl: 18px;      /* 20-2 */
    --font-size-2xl: 22px;     /* 24-2 */
    --font-size-3xl: 26px;     /* 28-2 */
    --font-size-4xl: 30px;     /* 32-2 */
    --font-size-5xl: 48px;     /* 50-2 */
    --font-size-6xl: 58px;     /* 60-2 */
    --font-size-hero: 70px;    /* 72-2 */
  }
}

/* Responsive Container Padding */
@media (min-width: 768px) {
  :root {
    --container-padding: 40px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 80px;
  }
}

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

/* アンカーリンク用ポイント（固定ヘッダー分のオフセット） */
.anchor-point {
  scroll-margin-top: 100px;
}
@media (min-width: 1024px) {
  .anchor-point {
    scroll-margin-top: 120px;
  }
}

body {
  position: relative;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

ul,
ol {
  list-style: none;
}

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

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
}

p {
  line-height: 1.75;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 64px 0;
}
@media (min-width: 768px) {
  .section {
    padding: 80px 0;
  }
}
@media (min-width: 1024px) {
  .section {
    padding: 120px 0;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: transparent;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}
@media (min-width: 1024px) {
  .header {
    height: 120px;
  }
}
.header--on-image {
  background: transparent;
}
.header--scrolled {
  background: var(--color-white);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0 20px;
  height: 100%;
}
@media (min-width: 1024px) {
  .header__inner {
    padding: 0 40px;
  }
}
.header__logo {
  display: flex;
  align-items: center;
}
.header__logo img {
  height: 40px;
  width: auto;
}
@media (min-width: 768px) {
  .header__logo img {
    height: 50px;
  }
}
@media (min-width: 1024px) {
  .header__logo img {
    height: 60px;
  }
}
.header__nav {
  display: none;
}
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.header__nav-item {
  position: relative;
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-english-nav);
}
.header__nav-link {
  font-family: var(--font-family-heading);
  font-size: 18px;
  font-weight: var(--font-weight-english-nav);
  color: var(--color-text);
  padding: 8px 0;
  transition: color 0.3s ease;
  text-transform: uppercase;
}
.header__nav-link:hover {
  color: var(--color-primary);
}
.header__nav-link--active {
  color: var(--color-primary);
}

/* Dropdown Menu */
.header__nav-item--has-dropdown {
  position: relative;
}
/* プルダウンがある親リンクはクリック無効（プルダウンから選択） */
.header__nav-item--has-dropdown > .header__nav-link {
  pointer-events: none;
  cursor: default;
}
.header__nav-item--has-dropdown:hover .header__nav-link {
  color: var(--color-primary);
}
.header__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.header__nav-item--has-dropdown:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
}
.header__dropdown-list {
  background: var(--color-white);
  border-radius: 5px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  padding: 25px 25px 25px 40px;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.header__dropdown-item {
  white-space: nowrap;
}
.header__dropdown-link {
  font-family: var(--font-family-accent);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dropdown-text);
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 4px;
}
.header__dropdown-link::after {
  content: '→';
  font-size: 12px;
  opacity: 0;
  margin-left: 4px;
  display: inline-block;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.header__dropdown-link:hover {
  color: var(--color-primary);
}
.header__dropdown-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.header__nav-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-english-nav);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  padding: 8px 32px;
  border-radius: 9999px;
  text-transform: uppercase;
}
.header__nav-button--outline {
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
}
.header__nav-button--outline:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.header__nav-button--fill {
  background: var(--color-secondary);
  color: var(--color-white);
}
.header__nav-button--fill:hover {
  background: var(--color-primary);
}
.header__menu-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 6px;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .header__menu-button {
    display: none;
  }
}
.header__menu-button span {
  display: block;
  width: 30px;
  height: 1px;
  background: var(--color-secondary);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
}

/* ========================================
   Header on Image Header Pages (white variant)
   ======================================== */
.header--on-image .header__nav-link {
  color: var(--color-white);
}
.header--on-image .header__nav-link:hover {
  color: var(--color-primary);
}
.header--on-image .header__nav-button--fill {
  background: var(--color-white);
  color: var(--color-secondary);
}
.header--on-image .header__nav-button--fill:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.header--on-image .header__menu-button span {
  background: var(--color-white);
}
/* スクロール後は通常スタイルに戻す */
.header--on-image.header--scrolled .header__nav-link {
  color: var(--color-text);
}
.header--on-image.header--scrolled .header__nav-link:hover {
  color: var(--color-primary);
}
.header--on-image.header--scrolled .header__nav-button--fill {
  background: var(--color-secondary);
  color: var(--color-white);
}
.header--on-image.header--scrolled .header__nav-button--fill:hover {
  background: var(--color-primary);
}
.header--on-image.header--scrolled .header__menu-button span {
  background: var(--color-secondary);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-white);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: clip visible;
  z-index: 1001;
}
@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
}
.mobile-nav--open {
  transform: translateX(0);
}
.mobile-nav__bg-logo {
  position: absolute;
  left: -117px;
  top: 27px;
  width: 582px;
  height: 817px;
  pointer-events: none;
  z-index: 0;
}
@media (min-width: 768px) {
  .mobile-nav__bg-logo {
    left: auto;
    right: -100px;
    width: 900px;
    height: 1260px;
  }
}
.mobile-nav__bg-logo img {
  width: 100%;
  height: 100%;
}
.mobile-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px 25px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .mobile-nav__header {
    padding: 25px 20px 40px;
  }
}
.mobile-nav__logo img {
  height: 40px;
  width: auto;
}
@media (min-width: 768px) {
  .mobile-nav__logo img {
    height: 50px;
  }
}
.mobile-nav__close {
  width: 30px;
  height: 10px;
  padding: 15px 5px;
  box-sizing: content-box;
  position: relative;
  cursor: pointer;
}
.mobile-nav__close span {
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--color-secondary);
  top: 50%;
  left: 0;
  transform-origin: center;
}
.mobile-nav__close span:first-child {
  transform: translateY(-50%) rotate(18deg);
}
.mobile-nav__close span:last-child {
  transform: translateY(-50%) rotate(-18deg);
}
.mobile-nav__inner {
  padding: 0 30px 30px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .mobile-nav__inner {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    align-items: start;
    gap: 40px 60px;
    padding: 0 60px 60px;
  }
}
.mobile-nav__section {
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .mobile-nav__section {
    margin-bottom: 0;
  }
}
.mobile-nav__title {
  font-family: var(--font-family-heading);
  font-size: 35px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.mobile-nav__title-link {
  color: inherit;
  transition: color 0.3s ease;
}
.mobile-nav__title-link:hover {
  color: var(--color-primary);
}
.mobile-nav__section--single {
  margin-bottom: 40px;
}
.mobile-nav__section--single .mobile-nav__title {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .mobile-nav__section--single {
    margin-bottom: 0;
  }
}
.mobile-nav__sublist {
  display: flex;
  flex-direction: column;
}
.mobile-nav__sublink {
  font-family: var(--font-family-accent);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1.8;
  transition: color 0.3s ease;
}
.mobile-nav__sublink:hover {
  color: var(--color-primary);
}
.mobile-nav__buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 20px;
  padding-top: 30px;
}
@media (min-width: 768px) {
  .mobile-nav__buttons {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 0;
    padding-top: 40px;
  }
}
.mobile-nav__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 333px;
  max-width: 100%;
  font-family: var(--font-family-heading);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 14px 39px;
  border-radius: 9999px;
  transition: background 0.3s ease;
}
.mobile-nav__button:hover {
  background: var(--color-primary);
}

.header-spacer {
  height: 80px;
}

/* Breadcrumb Bar */
.breadcrumb-bar {
  background: var(--color-footer);
  padding: 16px 0;
}
.breadcrumb-bar__inner {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  padding-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--font-size-sm);
  color: var(--color-white);
  position: relative;
}
.breadcrumb-bar__inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--container-padding);
  right: var(--container-padding);
  height: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}
.breadcrumb-bar__home {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family-accent);
  color: var(--color-white);
  transition: opacity 0.3s ease;
}
.breadcrumb-bar__home:hover {
  opacity: 0.7;
}
.breadcrumb-bar__home svg {
  width: 18px;
  height: 18px;
}
.breadcrumb-bar__item {
  font-family: var(--font-family-accent);
  color: var(--color-white);
  transition: opacity 0.3s ease;
}
a.breadcrumb-bar__item:hover {
  opacity: 0.7;
}
.breadcrumb-bar__item--current {
  color: var(--color-gray-400);
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (min-width: 768px) {
  .breadcrumb-bar__item--current {
    max-width: 500px;
  }
}
.breadcrumb-bar__separator {
  color: var(--color-gray-500);
}

/* ========== FOOTER AREA ========== */
.footer-area {
  position: relative;
  z-index: 1;
  background: var(--color-footer);
}

.footer {
  background: var(--color-footer);
  color: var(--color-white);
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .footer {
    padding-top: 80px;
  }
}
.footer__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 1;
}
.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
@media (min-width: 768px) {
  .footer__main {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
@media (min-width: 1024px) {
  .footer__main {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer__nav-group:last-child {
    grid-column: span 1;
    justify-self: end;
  }
}
.footer__nav-title {
  font-family: 'Open Sans', sans-serif;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: var(--color-white);
  letter-spacing: 0.05em;
}
.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__nav-link {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
.footer__nav-link:hover {
  opacity: 1;
}
/* タブレット(768px-1023px): ロゴをセンター揃え */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer__nav-group.footer__logo {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
  }
}
@media (min-width: 1024px) {
  .footer__logo {
    display: flex;
    justify-content: flex-end;
  }
}
.footer__logo img {
  height: 211px;
  width: auto;
}
@media (min-width: 768px) {
  .footer__logo img {
    height: 160px;
  }
}
@media (min-width: 1024px) {
  .footer__logo img {
    height: 200px;
  }
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
}
.footer__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-xs);
  color: var(--color-gray-400);
}
.footer__breadcrumb a {
  color: var(--color-gray-400);
  transition: color 0.3s ease;
}
.footer__breadcrumb a:hover {
  color: var(--color-white);
}
.footer__breadcrumb span {
  color: var(--color-gray-500);
}
.footer__copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--color-white);
  opacity: 0.7;
}
.footer__copyright a {
  white-space: nowrap;
  font-weight: 500;
  color: var(--color-white);
  transition: opacity 0.3s ease;
}
.footer__copyright a:hover {
  opacity: 1;
}

.cta-banner-wrapper {
  --cta-panel-height: 152px;
  /* 上半分: 白（ページ固有で上書き可）、下半分: 透明（footer-areaの背景が見える） */
  background: linear-gradient(to bottom, var(--color-white) calc(var(--cta-panel-height) / 2), transparent calc(var(--cta-panel-height) / 2));
}
@media (min-width: 768px) {
  .cta-banner-wrapper {
    background: linear-gradient(to bottom, var(--color-white) 50%, transparent 50%);
  }
}
/* TOPページ用（NEWSセクションが#F3F6FA背景） */
.home .cta-banner-wrapper {
  background: linear-gradient(to bottom, var(--color-bg-light) calc(var(--cta-panel-height) / 2), transparent calc(var(--cta-panel-height) / 2));
}
@media (min-width: 768px) {
  .home .cta-banner-wrapper {
    background: linear-gradient(to bottom, var(--color-bg-light) 50%, transparent 50%);
  }
}
.cta-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
@media (min-width: 768px) {
  .cta-banner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
.cta-banner__item {
  position: relative;
  padding: 30px;
  min-height: 152px;
  background: var(--color-white);
  color: var(--color-primary);
  overflow: hidden;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
}
.cta-banner__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  transition: opacity 0.3s ease;
  z-index: 0;
  border-radius: 10px;
}
.cta-banner__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--color-primary);
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  pointer-events: none;
}
.cta-banner__item:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}
.cta-banner__item:hover::before {
  opacity: 0;
}
.cta-banner__item:hover::after {
  opacity: 1;
}
@media (min-width: 768px) {
  .cta-banner__item {
    padding: 30px 50px;
    min-height: 240px;
    border-radius: 20px;
  }
  .cta-banner__item::before,
  .cta-banner__item::after {
    border-radius: 20px;
  }
}
.cta-banner__item:hover .cta-banner__arrow {
  background: var(--color-primary);
}
.cta-banner__item:hover .cta-banner__arrow svg {
  color: var(--color-white);
}
.cta-banner__item:hover .cta-banner__arrow-default {
  opacity: 0;
}
.cta-banner__item:hover .cta-banner__arrow-hover {
  opacity: 1;
}
.cta-banner__content {
  position: relative;
  z-index: 1;
  color: var(--color-white);
  transition: color 0.3s ease;
}
.cta-banner__item:hover .cta-banner__content {
  color: var(--color-primary);
}
.cta-banner__title {
  font-family: var(--font-family-heading);
  font-size: 32px;
  font-weight: var(--font-weight-english-heading);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  line-height: 1.25;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .cta-banner__title {
    font-size: 50px;
    margin-bottom: 15px;
  }
}
.cta-banner__subtitle {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .cta-banner__subtitle {
    font-size: 18px;
  }
}
.cta-banner__arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s ease;
  z-index: 1;
}
@media (min-width: 768px) {
  .cta-banner__arrow {
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
  }
}
.cta-banner__arrow svg {
  position: absolute;
  width: 28px;
  height: 28px;
  color: var(--color-primary);
  transition: opacity 0.3s ease, color 0.3s ease;
}
@media (min-width: 768px) {
  .cta-banner__arrow svg {
    width: 32px;
    height: 32px;
  }
}
.cta-banner__arrow-default {
  opacity: 1;
}
.cta-banner__arrow-hover {
  opacity: 0;
}
.cta-banner__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.1;
  pointer-events: none;
}
.cta-banner__bg svg {
  width: 100%;
  height: 100%;
}

/* Page Header styles moved to assets/css/page-header.css */

.page-nav {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  padding: 16px 0;
}
.page-nav__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}
.page-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.page-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  transition: color 0.3s ease;
}
.page-nav__link::before {
  content: "▸";
  font-size: var(--font-size-xs);
}
.page-nav__link:hover {
  color: var(--color-primary);
}

.section-header {
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .section-header {
    margin-bottom: 64px;
  }
}
.section-header--center {
  text-align: center;
}
.section-header__title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-english-heading);
  color: var(--color-primary);
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  font-size: 36px;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .section-header__title {
    font-size: 48px;
  }
}
@media (min-width: 1024px) {
  .section-header__title {
    font-size: 60px;
  }
}
.section-header__subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  color: var(--color-text);
  margin-top: 4px;
}
.section-header__subtitle::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--color-secondary);
}
.section-header--center .section-header__subtitle {
  justify-content: center;
}
.section-header--center .section-header__subtitle::before {
  display: none;
}

/* Section Headline（共通コンポーネント） */
.section-headline {
  margin-bottom: 48px;
}
@media (min-width: 768px) {
  .section-headline {
    margin-bottom: 64px;
  }
}
.section-headline__title {
  font-family: var(--font-family-heading);
  font-size: 35px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  .section-headline__title {
    font-size: 38px;
    margin-bottom: 15px;
  }
}
@media (min-width: 1024px) {
  .section-headline__title {
    font-size: 50px;
  }
}
.section-headline__label {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .section-headline__label {
    gap: 12px;
  }
}
.section-headline__line {
  display: block;
  width: 13px;
  height: 2.57px;
  background: var(--color-primary);
}
@media (min-width: 768px) {
  .section-headline__line {
    width: 20px;
    height: 4px;
  }
}
.section-headline__text {
  font-family: var(--font-family-accent);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-secondary);
}
@media (min-width: 768px) {
  .section-headline__text {
    font-size: var(--font-size-xl);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-base);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 16px 48px;
  font-size: var(--font-size-sm);
  border-radius: 9999px;
}
.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--gradient-primary-hover);
}
.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-white);
  font-family: var(--font-family-heading);
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: 1;
  padding: 15px 30px;
  min-width: 155px;
  height: 50px;
  text-transform: uppercase;
}
.btn--secondary:hover {
  background: var(--color-primary);
}
.btn--outline {
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
}
.btn--outline:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}
.btn--outline-white {
  border: 1px solid var(--color-white);
  color: var(--color-white);
}
.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-secondary);
}
.btn--lg {
  padding: 24px 64px;
  font-size: var(--font-size-base);
}
.btn--sm {
  padding: 8px 24px;
  font-size: var(--font-size-xs);
}
.btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn--icon svg {
  width: 16px;
  height: 16px;
}

.card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
.card__image {
  aspect-ratio: 1.7777777778;
  overflow: hidden;
}
@supports not (aspect-ratio: 1) {
  .card__image::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.card:hover .card__image img {
  transform: scale(1.05);
}
.card__body {
  padding: 24px;
}
.card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: 8px;
}
.card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  line-height: 1.75;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 20px;
  font-size: var(--font-size-xs);
  font-weight: 500;
  border-radius: 9999px;
}
.tag--news {
  background: var(--gradient-primary);
  color: var(--color-white);
}
.tag--category {
  background: var(--color-gray-100);
  color: var(--color-text);
}

.required {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: var(--font-size-xs);
  font-weight: 500;
  background: var(--color-required);
  color: var(--color-white);
  border-radius: 4px;
}

.form-group {
  margin-bottom: 24px;
}
.form-group__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: 8px;
}
.form-group__input {
  width: 100%;
  padding: 16px;
  font-size: var(--font-size-base);
  border: none;
  background: var(--color-gray-100);
  border-radius: 4px;
  transition: background 0.3s ease;
}
.form-group__input:focus {
  outline: none;
  background: var(--color-gray-200);
}
.form-group__input::placeholder {
  color: var(--color-text-muted);
}
.form-group__textarea {
  width: 100%;
  padding: 16px;
  font-size: var(--font-size-base);
  border: none;
  background: var(--color-gray-100);
  border-radius: 4px;
  resize: vertical;
  min-height: 150px;
  transition: background 0.3s ease;
}
.form-group__textarea:focus {
  outline: none;
  background: var(--color-gray-200);
}
.form-group__textarea::placeholder {
  color: var(--color-text-muted);
}
.form-group__select {
  width: 100%;
  padding: 16px;
  font-size: var(--font-size-base);
  border: none;
  background: var(--color-gray-100);
  border-radius: 4px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-group__select:focus {
  outline: none;
  background-color: var(--color-gray-200);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.checkbox__input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}
.checkbox__label {
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
}
.pagination__item {
  min-width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  border-radius: 50%;
  transition: all 0.3s ease;
}
.pagination__item:hover {
  background: var(--color-gray-100);
}
.pagination__item--active {
  background: var(--color-gray-200);
  color: var(--color-text);
  font-weight: 500;
}
.pagination__dots {
  color: var(--color-text-muted);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
  padding: 16px 0;
}
.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb__item::after {
  content: "/";
  color: var(--color-text-muted);
}
.breadcrumb__item:last-child::after {
  display: none;
}
.breadcrumb__link {
  color: var(--color-text-light);
  transition: color 0.3s ease;
}
.breadcrumb__link:hover {
  color: var(--color-primary);
}
.breadcrumb__current {
  color: var(--color-text);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  transition: opacity 0.3s ease;
}
.back-link::before {
  content: "←";
}
.back-link:hover {
  opacity: 0.7;
}

.table {
  width: 100%;
  border-collapse: collapse;
}
.table__header {
  background: var(--color-primary);
  color: var(--color-white);
}
.table__header th {
  padding: 16px 24px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  text-align: left;
}
.table__body tr {
  border-bottom: 1px solid var(--color-gray-200);
}
.table__body td {
  padding: 16px 24px;
  font-size: var(--font-size-sm);
  vertical-align: top;
}
.table--striped .table__body tr:nth-child(even) {
  background: var(--color-gray-50);
}

.dl__row {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-gray-200);
}
@media (min-width: 768px) {
  .dl__row {
    flex-direction: row;
  }
}
.dl__term {
  flex-shrink: 0;
  width: 100%;
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: 8px;
}
@media (min-width: 768px) {
  .dl__term {
    width: 200px;
    margin-bottom: 0;
  }
}
.dl__detail {
  flex: 1;
  font-size: var(--font-size-sm);
  color: var(--color-text-light);
}

/* ========================================
   HERO — fixed背景スライドショー
   ======================================== */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}
.hero__slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero__slide--active {
  opacity: 1;
}

/* ========================================
   HERO SCROLL — タイトル（通常フロー）
   ======================================== */
.hero-scroll {
  position: relative;
  height: calc(100vh + 300px);
  z-index: 1;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.hero-scroll__content {
  width: 100%;
  padding: 0 30px 360px;
}
@media (min-width: 768px) {
  .hero-scroll__content {
    padding: 0 var(--container-padding) 360px;
  }
}
.hero-scroll__title {
  font-family: var(--font-family-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 110%;
  letter-spacing: 0;
  color: var(--color-white);
}
@media (min-width: 768px) {
  .hero-scroll__title {
    font-size: 56px;
  }
}
@media (min-width: 1024px) {
  .hero-scroll__title {
    font-size: 75px;
  }
}

/* ========================================
   MAIN CONTENT — KVを覆う白背景レイヤー
   ======================================== */
.main-content {
  position: relative;
  z-index: 1;
  background: var(--color-white);
}
.main-content__gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 40%, rgba(255,255,255,1) 100%);
  pointer-events: none;
  transform: translateY(-100%);
}

/* ========================================
   KV MARQUEE — ヒーロー下の無限スクロール画像
   ======================================== */
.kv-marquee {
  position: relative;
  overflow: hidden;
  height: 320px;
  padding: 20px 0;
}
@media (min-width: 768px) {
  .kv-marquee {
    height: 400px;
  }
}
@media (min-width: 1024px) {
  .kv-marquee {
    height: 460px;
  }
}
.kv-marquee__track {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  width: max-content;
  height: 100%;
  animation: kv-marquee-scroll 60s linear infinite;
}
@keyframes kv-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.kv-marquee__item {
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.kv-marquee__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* マーキーアイテムサイズ（10枚ループ） */
.kv-marquee__item:nth-child(10n+1)  { width: 320px; height: 320px; margin-top: 20px; }
.kv-marquee__item:nth-child(10n+2)  { width: 170px; height: 170px; margin-top: 140px; }
.kv-marquee__item:nth-child(10n+3)  { width: 280px; height: 280px; margin-top: 60px; }
.kv-marquee__item:nth-child(10n+4)  { width: 200px; height: 200px; margin-top: 10px; }
.kv-marquee__item:nth-child(10n+5)  { width: 300px; height: 300px; margin-top: 80px; }
.kv-marquee__item:nth-child(10n+6)  { width: 180px; height: 180px; margin-top: 120px; }
.kv-marquee__item:nth-child(10n+7)  { width: 150px; height: 210px; margin-top: 30px; }
.kv-marquee__item:nth-child(10n+8)  { width: 280px; height: 240px; margin-top: 160px; }
.kv-marquee__item:nth-child(10n+9)  { width: 220px; height: 240px; margin-top: 90px; }
.kv-marquee__item:nth-child(10n+10) { width: 260px; height: 280px; margin-top: 40px; }
@media (max-width: 767px) {
  .kv-marquee__item:nth-child(10n+1)  { width: 200px; height: 200px; margin-top: 15px; }
  .kv-marquee__item:nth-child(10n+2)  { width: 110px; height: 110px; margin-top: 100px; }
  .kv-marquee__item:nth-child(10n+3)  { width: 180px; height: 180px; margin-top: 40px; }
  .kv-marquee__item:nth-child(10n+4)  { width: 130px; height: 130px; margin-top: 8px; }
  .kv-marquee__item:nth-child(10n+5)  { width: 190px; height: 190px; margin-top: 55px; }
  .kv-marquee__item:nth-child(10n+6)  { width: 120px; height: 120px; margin-top: 80px; }
  .kv-marquee__item:nth-child(10n+7)  { width: 100px; height: 140px; margin-top: 20px; }
  .kv-marquee__item:nth-child(10n+8)  { width: 180px; height: 160px; margin-top: 110px; }
  .kv-marquee__item:nth-child(10n+9)  { width: 140px; height: 160px; margin-top: 60px; }
  .kv-marquee__item:nth-child(10n+10) { width: 170px; height: 180px; margin-top: 30px; }
}

.carrier {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}
@media (min-width: 768px) {
  .carrier {
    padding: 60px 40px;
  }
}
@media (min-width: 1024px) {
  .carrier {
    padding: 60px 60px;
  }
}
.carrier__card {
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: 30px;
  padding: 60px 80px 80px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .carrier__card {
    padding: 60px 40px;
    grid-template-columns: minmax(250px, 320px) 1fr;
    grid-template-rows: 1fr auto;
    gap: 40px;
  }
}
@media (min-width: 1024px) {
  .carrier__card {
    padding: 96px 120px;
    grid-template-columns: 1fr 1fr;
  }
}
.carrier__left {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .carrier__left {
    grid-row: 1;
    grid-column: 1;
  }
}
.carrier__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .carrier__right {
    grid-row: 1 / 3;
    grid-column: 2;
    padding-top: 32px;
  }
}
@media (min-width: 768px) {
  .carrier__action {
    grid-row: 2;
    grid-column: 1;
  }
}
.section-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-family-accent);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 41px;
  background: url("../images/icon-9-white.svg") no-repeat center;
  background-size: contain;
}
.section-label--blue {
  color: var(--color-black);
  font-size: var(--font-size-2xl);
}
.section-label--blue::before {
  background: url("../images/icon-9-black.svg") no-repeat center;
  background-size: contain;
}
.section-label--center {
  justify-content: center;
}
.carrier .section-label {
  font-size: 13px;
  line-height: 1.7;
  gap: 7px;
}
.carrier .section-label::before {
  width: 17px;
  height: 24px;
}
@media (min-width: 768px) {
  .carrier .section-label {
    font-size: 18px;
    gap: var(--spacing-sm);
  }
  .carrier .section-label::before {
    width: 20px;
    height: 27px;
  }
}
.carrier__title {
  font-family: var(--font-family-heading);
  font-size: 36px;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: 0;
  margin-top: 8px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .carrier__title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 12px;
  }
}
@media (min-width: 1024px) {
  .carrier__title {
    font-size: 50px;
  }
}
.carrier__subtitle {
  font-family: var(--font-family-accent);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.6;
  -webkit-text-stroke: 0.5px currentColor;
}
@media (min-width: 768px) {
  .carrier__subtitle {
    font-size: 40px;
    line-height: 1.4;
  }
}
@media (min-width: 1024px) {
  .carrier__subtitle {
    font-size: 50px;
  }
}
.carrier__text {
  font-family: var(--font-family-accent);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .carrier__text {
    font-weight: 700;
    line-height: 2.2;
  }
}
@media (min-width: 1024px) {
  .carrier__text {
    font-size: var(--font-size-lg);
  }
}
.carrier__right .btn {
  align-self: flex-start;
  font-size: 15px;
  font-weight: 700;
  min-width: 152px;
  padding: 14px 39px;
  border-radius: 100px;
}
@media (min-width: 768px) {
  .carrier__right .btn {
    font-size: var(--font-size-base);
    font-weight: 400;
    min-width: 155px;
    padding: 15px 30px;
  }
}

.home-about {
  padding: 64px 0 100px;
  background: transparent;
  position: relative;
  overflow: visible;
}
@media (min-width: 768px) {
  .home-about {
    padding: 80px 0;
  }
}
/* ABOUT USセクション装飾（9マーク・横棒・斜め棒） */
.home-about__decoration {
  position: absolute;
  top: -90px;
  left: -410px;
  width: 1800px;
  height: auto;
  aspect-ratio: 1924 / 1216;
  pointer-events: none;
  z-index: 0;
  background: url("../images/about/about-decoration.svg") no-repeat left top / contain;
}
/* ========================================
   背景グリッド線（全ページ共通）
   Figma: 縦線2本（255px, 1025px）、横線3本（118.5px, 764.5px, 2828.5px）
   ======================================== */

/* 縦線（固定・全ページ共通） */
.site-vertical-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
}
.site-vertical-lines::before {
  content: "";
  position: absolute;
  left: 23%;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--color-border-light);
}
.site-vertical-lines::after {
  content: "";
  position: absolute;
  left: 77%;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--color-border-light);
}
@media (min-width: 768px) {
  .site-vertical-lines::before {
    left: 20%;
  }
  .site-vertical-lines::after {
    left: 80%;
  }
}

/* 横線用（main内） */
.site-decoration {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1280px;
  max-width: 100%;
  height: 99999px;
  pointer-events: none;
  z-index: -1;
}
/* mainにグリッド線を収める */
main {
  position: relative;
  overflow: hidden;
}
/* 縦線は.site-vertical-linesで実装（固定表示） */
/* 横線用の追加要素 */
.site-decoration__lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.site-decoration__lines::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
  width: 200vw;
  height: 1px;
  background: var(--color-border-light);
}
@media (min-width: 1024px) {
  .site-decoration__lines::before {
    top: 40px;
  }
}
.site-decoration__lines::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 380px;
  width: 200vw;
  height: 1px;
  background: var(--color-border-light);
}
@media (min-width: 768px) {
  .site-decoration__lines::after {
    top: 500px;
  }
}
@media (min-width: 1024px) {
  .site-decoration__lines::after {
    top: 650px;
  }
}
@media (min-width: 1024px) {
  .home-about {
    padding: 120px 0;
  }
}
.home-about__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
}
.home-about .section-header,
.home-about__content {
  position: relative;
  z-index: 1;
}
.home-about .section-header {
  margin-bottom: 48px;
}
.home-about .section-label--blue {
  font-size: 13px;
  line-height: 1.7;
  gap: 7px;
}
.home-about .section-label--blue::before {
  width: 17px;
  height: 24px;
}
.home-about .section-header__title {
  font-size: 36px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .home-about .section-label--blue {
    font-size: 18px;
    gap: var(--spacing-sm);
  }
  .home-about .section-label--blue::before {
    width: 20px;
    height: 27px;
  }
  .home-about .section-header__title {
    font-size: 40px;
    margin-top: 12px;
  }
}
@media (min-width: 1024px) {
  .home-about .section-header__title {
    font-size: 50px;
  }
}
.home-about__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1024px) {
  .home-about__content {
    grid-template-columns: 525px 1fr;
    gap: 80px;
  }
}
.home-about__text h3 {
  font-family: var(--font-family-accent);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--color-black);
}
@media (min-width: 768px) {
  .home-about__text h3 {
    font-size: 28px;
    font-weight: 900;
  }
}
@media (min-width: 1024px) {
  .home-about__text h3 {
    font-size: 32px;
  }
}
.home-about__text p {
  font-family: var(--font-family-accent);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.85;
  margin-bottom: 50px;
}
@media (min-width: 768px) {
  .home-about__text p {
    font-size: var(--font-size-base);
    font-weight: 400;
  }
}
.home-about__text .btn {
  font-size: 15px;
  font-weight: 700;
  min-width: 152px;
  padding: 14px 39px;
  border-radius: 100px;
}
@media (min-width: 768px) {
  .home-about__text .btn {
    font-size: var(--font-size-base);
    font-weight: 400;
    min-width: 155px;
    padding: 15px 30px;
  }
}
.home-about__image {
  aspect-ratio: 0.8;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  top: 0;
}
@media (min-width: 1024px) {
  .home-about__image {
    top: -140px;
  }
}
@supports not (aspect-ratio: 1) {
  .home-about__image::before {
    content: "";
    display: block;
    padding-top: 125%;
  }
}
.home-about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-media {
  padding: 100px 0 64px;
  background: var(--color-bg-light);
}
@media (min-width: 768px) {
  .home-media {
    padding: 80px 0;
  }
}
@media (min-width: 1024px) {
  .home-media {
    padding: 120px 0;
  }
}
.home-media__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}
@media (min-width: 768px) {
  .home-media__inner {
    padding: 0 var(--container-padding);
  }
}
.home-media .section-header--center {
  text-align: left;
}
.home-media .section-label--center {
  justify-content: flex-start;
}
.home-media .section-label--blue {
  font-size: 13px;
  line-height: 1.7;
  gap: 7px;
}
.home-media .section-label--blue::before {
  width: 17px;
  height: 24px;
}
.home-media .section-header__title {
  font-size: 36px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .home-media .section-header--center {
    text-align: center;
  }
  .home-media .section-label--center {
    justify-content: center;
  }
  .home-media .section-label--blue {
    font-size: 18px;
    gap: var(--spacing-sm);
  }
  .home-media .section-label--blue::before {
    width: 20px;
    height: 27px;
  }
  .home-media .section-header__title {
    font-size: 40px;
    margin-top: 12px;
  }
}
@media (min-width: 1024px) {
  .home-media .section-header__title {
    font-size: 50px;
  }
}
.home-media__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .home-media__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 80px;
  }
  .home-media__grid .media-card:nth-child(even) {
    margin-top: 60px;
  }
}

.media-card {
  transition: opacity 0.3s ease;
}
.media-card:hover {
  opacity: 0.8;
}
.media-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}
.media-card__image {
  aspect-ratio: 500 / 271;
  overflow: hidden;
  border-radius: 20px;
  background: var(--color-white);
}
.media-card__image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-card__body {
  padding: 30px 0 0;
}
.media-card__date {
  font-family: var(--font-family-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 10px;
  line-height: 1.25;
  text-transform: uppercase;
}
.media-card__title {
  font-family: var(--font-family-accent);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 768px) {
  .media-card__title {
    font-size: var(--font-size-lg);
    line-height: 1.4;
  }
}
@media (min-width: 1024px) {
  .media-card__title {
    font-size: var(--font-size-2xl);
  }
}
.media-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
@media (min-width: 768px) {
  .media-card__meta {
    gap: 10px;
    margin-top: 30px;
  }
}
.media-card__meta span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-accent);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-tag-text);
  background: var(--color-tag-bg);
  padding: 0 16px;
  border-radius: 100px;
  min-width: 100px;
  height: 28px;
}
@media (min-width: 768px) {
  .media-card__meta span {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    padding: 0 20px;
    min-width: 114px;
    height: 32px;
  }
}
.media-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
}
.media-card__placeholder-logo {
  width: 212px;
  height: 89px;
  object-fit: contain;
}

.home-media__empty {
  text-align: center;
  font-family: var(--font-family-accent);
  font-size: 16px;
  color: var(--color-text-light);
  padding: 60px 0;
}

.home-company {
  padding: 100px 0 100px;
  background: transparent;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .home-company {
    padding: 80px 0;
  }
}
@media (min-width: 1024px) {
  .home-company {
    padding: 120px 0;
  }
}
.home-company__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .home-company__inner {
    padding: 0 var(--container-padding);
  }
}
.home-company .section-label--blue {
  font-size: 13px;
  line-height: 1.7;
  gap: 7px;
}
.home-company .section-label--blue::before {
  width: 17px;
  height: 24px;
}
.home-company .section-header__title {
  font-size: 36px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .home-company .section-label--blue {
    font-size: 18px;
    gap: var(--spacing-sm);
  }
  .home-company .section-label--blue::before {
    width: 20px;
    height: 27px;
  }
  .home-company .section-header__title {
    font-size: 40px;
    margin-top: 12px;
  }
}
@media (min-width: 1024px) {
  .home-company .section-header__title {
    font-size: 50px;
  }
}
.home-company__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 1024px) {
  .home-company__content {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}
.home-company__text p {
  font-family: var(--font-family-accent);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.85;
  margin-bottom: 50px;
}
@media (min-width: 768px) {
  .home-company__text p {
    font-size: var(--font-size-base);
  }
}
.home-company__text .btn {
  font-size: 15px;
  font-weight: 700;
  min-width: 152px;
  padding: 14px 39px;
  border-radius: 100px;
}
@media (min-width: 768px) {
  .home-company__text .btn {
    font-size: var(--font-size-base);
    font-weight: 400;
    min-width: 155px;
    padding: 15px 30px;
  }
}
.home-company__image {
  aspect-ratio: 0.8;
  border-radius: 20px;
  overflow: hidden;
}
@supports not (aspect-ratio: 1) {
  .home-company__image::before {
    content: "";
    display: block;
    padding-top: 75%;
  }
}
.home-company__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news {
  padding: 80px 0 100px;
  background: var(--color-bg-light);
}
@media (min-width: 768px) {
  .home-news {
    padding: 80px 0;
  }
}
@media (min-width: 1024px) {
  .home-news {
    padding: 120px 0;
  }
}
.home-news__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}
@media (min-width: 768px) {
  .home-news__inner {
    padding: 0 var(--container-padding);
  }
}
@media (min-width: 1024px) {
  .home-news__inner {
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start;
  }
}
.home-news .section-label--blue {
  font-size: 13px;
  line-height: 1.7;
  gap: 7px;
}
.home-news .section-label--blue::before {
  width: 17px;
  height: 24px;
}
.home-news .section-header__title {
  font-size: 36px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .home-news .section-label--blue {
    font-size: 18px;
    gap: var(--spacing-sm);
  }
  .home-news .section-label--blue::before {
    width: 20px;
    height: 27px;
  }
  .home-news .section-header__title {
    font-size: 40px;
    margin-top: 12px;
  }
}
@media (min-width: 1024px) {
  .home-news .section-header__title {
    font-size: 50px;
  }
}
.home-news__left .section-header__title {
  margin-bottom: 24px;
}
.home-news__right {
  width: 100%;
  max-width: 650px;
  margin-left: auto;
}
.home-news__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (min-width: 768px) {
  .home-news__list {
    gap: 13px;
  }
}
/* デスクトップ: moreボタン切り替え */
.home-news__more {
  display: none;
}
@media (max-width: 767px) {
  .home-news__btn-desktop {
    display: none;
  }
  .home-news__more {
    display: flex;
    justify-content: center;
    margin-top: 50px;
  }
  .home-news__more .btn {
    font-size: 15px;
    font-weight: 700;
    min-width: 152px;
    padding: 14px 39px;
    border-radius: 100px;
  }
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 20px;
  background: var(--color-white);
  border-radius: 10px;
  transition: background 0.3s ease;
}
@media (min-width: 768px) {
  .news-item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 16px 24px;
    align-items: center;
    padding: 20px 28px;
  }
}
.news-item:hover {
  background: var(--color-bg-gray);
}
.news-item__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media (min-width: 768px) {
  .news-item__meta {
    display: contents;
  }
}
.news-item__date {
  font-family: var(--font-family-accent);
  font-size: 12px;
  font-weight: 900;
  color: var(--color-secondary);
  line-height: 1.85;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .news-item__date {
    font-size: 15px;
  }
}
.news-item__tag .tag {
  font-family: var(--font-family-accent);
  min-width: auto;
  height: 20px;
  font-size: 9px;
  padding: 0 12px;
  justify-content: center;
}
@media (min-width: 768px) {
  .news-item__tag .tag {
    min-width: 100px;
    height: 30px;
    font-size: 14px;
  }
}
.news-item__title {
  font-family: var(--font-family-accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .news-item__title {
    font-size: 16px;
    line-height: 1.4;
    -webkit-line-clamp: 1;
  }
}

/* ============================================
   SP版レスポンシブ (max-width: 767px)
   ============================================ */
@media (max-width: 767px) {
  /* 1. 全体: section-label（ロゴ／私たちについて）を小さく */
  .section-label {
    font-size: 16px;
  }
  .section-label::before {
    width: 20px;
    height: 28px;
  }
  .section-label--blue {
    font-size: 16px;
  }

  /* 2. CARRIER: 青ベタに対するマージン幅を狭める */
  .carrier {
    padding: 20px 12px;
  }
  .carrier__card {
    padding: 40px 24px 50px;
    border-radius: 20px;
  }
  .carrier__subtitle {
    font-size: 22px;
  }
  .carrier__text {
    font-size: 14px;
    line-height: 2;
  }
  .carrier__text .br-pc {
    display: none;
  }
  .carrier__paragraph {
    display: block;
  }

  /* 3 & 4. NEWS: レイアウト変更 */
  .home-news__inner {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  .home-news__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .home-news__left .section-header__title {
    margin-bottom: 0;
  }
  /* NEWS: 日付・タグを小さく、タイトルを改行 */
  .news-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 20px;
  }
  .news-item__meta {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .news-item__date {
    font-size: 12px;
    font-weight: 900;
    line-height: 1.85;
  }
  .news-item__tag .tag {
    min-width: 70px;
    height: 20px;
    font-size: 9px;
    padding: 2px 12px;
  }
  .news-item__title {
    font-size: 14px;
    font-weight: 700;
    -webkit-line-clamp: 2;
    line-height: 1.85;
  }

  /* 5. フッター: 2ブロック横並び */
  .footer__main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
    padding-bottom: 40px;
  }
  .footer__nav-title {
    font-size: 25px;
    margin-bottom: 15px;
  }
  .footer__nav-list {
    gap: 5px;
  }
  .footer__nav-link {
    font-size: 13px;
    opacity: 0.5;
  }

  /* 6. フッター: ロゴをセンター揃え＆大きく */
  .footer__nav-group.footer__logo {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
    margin-top: -20px;
  }
  .footer__nav-group.footer__logo img {
    height: 211px;
  }

  /* 7. パンくずとフッターナビの間隔 */
  .footer {
    padding-top: 100px;
  }
  .breadcrumb-bar__inner {
    padding-bottom: 12px;
  }
  .footer__bottom {
    padding: 0 0 40px;
  }
  .breadcrumb-bar__item,
  .breadcrumb-bar__separator {
    font-size: 12px;
  }
  .breadcrumb-bar__home svg {
    width: 13px;
    height: 14px;
  }

  /* 8. CTAバナー: SP調整 */
  .cta-banner {
    gap: 20px;
    padding: 0 30px;
  }
}

/* ============================================
   Scroll Fade-in Animation
   スクロールフェードインアニメーション
   ============================================ */
.js-fade-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
  transition-delay: 0.1s;
}

.js-fade-in.is-visible {
  opacity: 1;
}

/* 子要素の連続アニメーション用ディレイ */
.js-fade-in-children > * {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.39, 0.575, 0.565, 1);
}

.js-fade-in-children.is-visible > *:nth-child(1) { transition-delay: 0s; opacity: 1; }
.js-fade-in-children.is-visible > *:nth-child(2) { transition-delay: 0.07s; opacity: 1; }
.js-fade-in-children.is-visible > *:nth-child(3) { transition-delay: 0.14s; opacity: 1; }
.js-fade-in-children.is-visible > *:nth-child(4) { transition-delay: 0.21s; opacity: 1; }
.js-fade-in-children.is-visible > *:nth-child(5) { transition-delay: 0.28s; opacity: 1; }
.js-fade-in-children.is-visible > *:nth-child(6) { transition-delay: 0.35s; opacity: 1; }

/* ============================================
   Form Error Message (data-validate forms)
   ============================================ */
.form-error-message {
  background-color: var(--color-error-bg);
  border: 1px solid var(--color-error);
  color: var(--color-error);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ============================================
   Responsive Utility Classes
   ============================================ */
.pc-only {
  display: none;
}
@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
}
.sp-only {
  display: inline;
}
@media (min-width: 768px) {
  .sp-only {
    display: none;
  }
}

/* ============================================
   GSAP Animation Initial States
   JSの実行前にCSSで初期状態を設定し、FOUC（ちらつき）を防止
   ============================================ */
.gsap-fade-in,
.gsap-fade-in-opacity {
  opacity: 0;
}

/* ============================================
   Loading Screen
   ============================================ */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.loading.is-hidden .loading__logo {
  animation: loading-logo-out 1.5s ease-in forwards;
}


.loading.is-done {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.loading__bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 7px;
  background: var(--color-primary);
  animation: loading-bar-in 0.5s linear 0.5s forwards;
}

@keyframes loading-bar-in {
  from {
    left: 0;
    width: 0;
  }
  to {
    left: 0;
    width: 100%;
  }
}

@keyframes loading-bar-out {
  from {
    left: 0;
    width: 100%;
  }
  to {
    left: 100%;
    width: 0;
  }
}

.loading__logo {
  opacity: 1;
}

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

@keyframes loading-logo-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(2.5);
  }
}

@media (max-width: 767px) {
  .loading__logo img {
    width: 90px;
  }
}
