/*
Theme Name: SERIOUS
Theme URI: https://serious.co.jp
Author: SERIOUS Inc.
Author URI: https://serious.co.jp
Description: 株式会社シリアス コーポレートサイト
Version: 1.0.1
License: All Rights Reserved
Text Domain: serious
*/

/* ========================================
  リセット・基本設定
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a2744;
  line-height: 1.8;
  background: #fff;
}

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

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

ul {
  list-style: none;
}


/* ========================================
  ヘッダー
  - ページ最上部に固定されるナビゲーションバー
======================================== */

/* ヘッダー本体：写真の上に直接置くため背景なし */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease; /* ③ スクロール時の背景変化をなめらかに */
}

/* ③ スクロールしたら濃紺背景に切り替わる */
.header--scrolled {
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(8px);
}

/* スクロール後はナビリンクを白に */
.header--scrolled .header__nav-link {
  color: #fff;
}

/* スクロール後はロゴも白に（filterで反転） */
.header--scrolled .header__logo-mark,
.header--scrolled .header__logo-text {
  filter: brightness(0) invert(1);
  transition: filter 0.4s ease;
}

/* ヘッダー内側の幅制限・レイアウト */
.header__inner {
  width: 100%;
  padding: 0 48px 0 40px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴリンク：SマークとSERIOUS文字を横並び */
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Sマーク */
.header__logo-mark {
  height: 36px;
  width: auto;
}

/* SERIOUS文字 */
.header__logo-text {
  height: 22px;
  width: auto;
}

/* ナビゲーション全体（リスト＋ボタンをまとめる） */
.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* ナビリンクの横並び */
.header__nav-list {
  display: flex;
  gap: 32px;
}

/* 各ナビリンク：写真上で見えるよう濃紺 */
.header__nav-link {
  color: #1a2744;
  font-size: 1.1rem;
  transition: opacity 0.2s;
}

.header__nav-link:hover {
  opacity: 0.55;
}

.header__nav-link.is-active {
  color: #0052d9;
  opacity: 1;
  font-weight: 700;
}

/* お問い合わせボタン */
.header__contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1a2744;
  color: #fff;
  font-size: 1.1rem;
  padding: 10px 40px;
  border-radius: 50px;
  transition: opacity 0.2s;
}

.header__contact-btn:hover {
  opacity: 0.75;
}

/* お問い合わせアイコン（封筒マーク） */
.header__contact-icon {
  font-size: 0.95rem;
}


/* ========================================
  ヒーローセクション
  - ファーストビューのメインビジュアル
  - 背景画像・オーバーレイ・斜線・テキストで構成
======================================== */

/* ヒーロー全体（画面いっぱいに表示） */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-start; /* centerからflex-startに変更：上からの位置をpadding-topで制御 */
}

/* ---- 背景レイヤー ---- */

/* 背景要素をまとめるラッパー */
.hero__bg {
  position: absolute;
  inset: 0;
}

/* 背景画像（右寄りに表示） */
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* オーバーレイなし：写真の明度はそのまま */

/* ---- テキストエリア ---- */

/* テキストを左端に配置 */
.hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 0 0 100px;
  padding-top: 180px;
}

/* テキストを左半分に収める（初期非表示：JSがopacity:1にする） */
.hero__content {
  max-width: 700px;
  opacity: 0;
}

/* キャッチコピー（メイン見出し） */
.hero__catch {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* 「成果から、」の色 ※変更する場合はここのcolorを書き換える */
.hero__catch-line--1 {
  color: #0052d9;
}

/* 「逆算する。」の色 ※変更する場合はここのcolorを書き換える */
.hero__catch-line--2 {
  color: #1a2744;
}

/* サブコピー（初期非表示：タイピング完了後にJSがフェードイン） */
.hero__sub {
  margin-top: 24px;
  color: #1a2744;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 2;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* CTAボタン（初期非表示：タイピング完了後にJSがフェードイン） */
.hero__btn {
  display: inline-block;
  margin-top: 36px;
  padding: 20px 48px;
  background: #1a2744;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 40px;
  opacity: 0;
  transform: translateY(16px);
  transition: background 0.25s, opacity 0.8s ease, transform 0.8s ease;
}

/* ② スクロールフェードイン：.js-fade が付いた要素の初期状態 */
.js-fade {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* スクロールで見えたら .is-visible を付けて表示 */
.js-fade.is-visible,
.hero__sub.is-visible,
.hero__btn.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero__btn:hover {
  background: #0052d9;
}

/* ---- スクロールインジケーター ---- */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.hero__scroll-text {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

.hero__scroll-bar {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-bar::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollBarDrop 2s ease-in-out infinite;
}

@keyframes scrollBarDrop {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}


/* ========================================
  アバウトセクション
  - 左テキスト＋右ビジュアルの2カラム構成
======================================== */

/* セクション全体 */
.about {
  padding: 140px 0;
  background: #fff;
  overflow: hidden;
}

/* 2カラムを横並びにするラッパー（左余白をヒーローに揃える） */
.about__inner {
  width: 100%;
  padding: 0 0 0 100px; /* 左100px = ヒーローのpadding-leftと同じ */
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* ---- 左カラム ---- */

/* テキスト全体 */
.about__body {
  flex: 0 0 620px;
}

/* RESULTS × STRATEGY の大見出し */
.about__en-title {
  font-size: clamp(2.8rem, 5.6vw, 5.6rem);
  font-weight: 900;
  color: #1a2744;
  letter-spacing: 0.18em;
  line-height: 1.2;
  margin-bottom: 48px;
}

/* 日本語タイトル */
.about__title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #0052d9;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* 本文 */
.about__text {
  font-size: 1rem; /* 20px */
  color: #555;
  line-height: 2;
  margin-bottom: 52px;
}

/* アウトライン（枠線）ボタン */
.about__btn {
  display: inline-block;
  padding: 18px 44px;
  border: 2px solid #1a2744;
  color: #1a2744;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 40px;
  transition: background 0.25s, color 0.25s;
}

.about__btn:hover {
  background: #1a2744;
  color: #fff;
}

/* ---- 右カラム ---- */

/* ビジュアル全体 */
.about__visual {
  flex: 1;
  position: relative;
  display: flex;
  align-items: stretch;
  min-width: 0;
  height: 560px;
}


/* ========================================
  スライドショー
  - 4枚の写真をケンバーンズ効果付きで自動切替
======================================== */

/* スライドショー全体のラッパー */
.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  min-height: 500px;
}

/* 各スライド（重ねて配置・デフォルト非表示） */
.slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

/* アクティブなスライドのみ表示 */
.slideshow__slide.is-active {
  opacity: 1;
}

/* 各スライドの写真 */
.slideshow__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform-origin: center;
}

/* ケンバーンズ効果：ゆっくりズームインしながら表示 */
.slideshow__slide.is-active .slideshow__img {
  animation: kenBurns 7s ease-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1);    }
  to   { transform: scale(1.08); }
}

/* 下部のドットインジケーター */
.slideshow__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

/* 各ドット */
.slideshow__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

/* アクティブなドット */
.slideshow__dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

/* 写真とオーバーレイのラッパー：高さを親に合わせる */
.about__img-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: stretch;
}

/* 写真：左右の高さに合わせて縦いっぱいに表示 */
.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* テキストオーバーレイ：見本に合わせて上部から少し余白を取って配置 */
.about__quote {
  position: absolute;
  top: 40px;
  left: 32px;
  right: 32px;
}

/* 各行ごとに独立した帯として表示（box-decoration-break: clone で行ごとに背景） */
.about__quote-text {
  display: inline;
  background: rgba(10, 15, 30, 0.82);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 3.2;
  padding: 10px 24px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}


/* ========================================
  サービスセクション
  - セクションタイトル＋5カラムのカードグリッド
======================================== */

/* セクション全体 */
.service {
  padding: 50px 0;
  background: #f1f5fc;
}

/* 内側：横幅いっぱいに広げる */
.service__inner {
  width: 100%;
  padding: 0 60px;
}

/* ---- セクションヘッダー ---- */

/* ヘッダー全体：中央揃え */
.service__head {
  text-align: center;
  margin-bottom: 80px;
}

/* SERVICE 英語タイトル */
.service__en-title {
  font-size: 5rem;
  font-weight: 900;
  color: #1a2744;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

/* サービス 日本語タイトル */
.service__ja-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0052d9;
  letter-spacing: 0.15em;
  margin-top: -20px;
  margin-bottom: 28px;
}

/* 説明文 */
.service__desc {
  font-size: 1.3rem;
  color: #555;
}

/* ---- カードグリッド ---- */

/* 5カラム横並び・カード間にスキマ */
.service__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.5vw, 20px);
}

/* 各カード：初期状態は右にずれて非表示（JSでis-visibleを付けてスライドイン） */
.service__card {
  padding: clamp(20px, 3vw, 48px) clamp(12px, 2vw, 36px) clamp(16px, 2.5vw, 44px);
  text-align: center;
  background: #fff;
  border: 1px solid #cddaf0;
  border-radius: 10px;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* スライドイン完了後の状態 */
.service__card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (hover: hover) {
  .service__card.is-visible:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 82, 217, 0.13);
    border-color: #0052d9;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }
}

/* アイコン */
.service__icon {
  width: clamp(48px, 7vw, 120px);
  height: clamp(48px, 7vw, 120px);
  margin: 0 auto clamp(16px, 2.5vw, 36px);
}

.service__icon img,
.service__icon svg {
  width: auto;
  max-width: none;
  height: 100%;
  margin: 0 auto;
}

/* カードタイトル */
.service__card-title {
  font-size: clamp(0.95rem, 1.4vw, 1.9rem);
  font-weight: 900;
  color: #1a2744;
  margin-bottom: clamp(8px, 1.2vw, 20px);
}

/* カード説明文 */
.service__card-text {
  font-size: clamp(0.8rem, 1.1vw, 1.4rem);
  color: #555;
  line-height: 1.9;
}

/* 中間サイズ（〜1100px）：余白を少し縮める */
@media (max-width: 1100px) {
  .strength__inner {
    padding: 0 40px;
    gap: 40px;
  }

  .strength__body {
    flex: 0 0 28%;
    min-width: 0;
  }
}

/* 中間サイズ（〜900px）：横レイアウト維持・余白詰め */
@media (max-width: 900px) {
  .strength__inner {
    padding: 0 24px;
    gap: 24px;
  }

  .strength__body {
    flex: 0 0 28%;
    min-width: 0;
  }

  .strength__list {
    padding: 0 16px;
  }

  .strength__item-title {
    font-size: 1.1rem;
  }

  .strength__item-text {
    font-size: 0.9rem;
  }

  .strength__num {
    font-size: 2.4rem;
    width: 52px;
  }
}

/* モバイル：1列に切り替え */
@media (max-width: 768px) {
  .service__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* スマホでは上からスライドインに変更 */
  .service__card {
    padding: 36px 28px;
    transform: translateY(-30px);
  }

  .service__card.is-visible {
    transform: translateY(0);
  }

  .service__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
  }

  .service__card-title {
    font-size: 1.4rem;
  }

  .service__card-text {
    font-size: 1rem;
  }
}


/* ========================================
  強みセクション（OUR STRENGTHS）
  - 背景画像＋左テキスト＋右写真＆リストの2カラム
======================================== */

/* セクション全体：背景画像を全面に敷く */
.strength {
  padding: 100px 0 180px;
  background: url('image/haikei02.jpg') center center / cover no-repeat;
  overflow: hidden;
}

/* 2カラムのラッパー */
.strength__inner {
  width: 100%;
  padding: 0 60px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

/* ---- 左カラム ---- */

.strength__body {
  flex: 0 0 28%;
  min-width: 220px;
  padding-top: 20px;
}

/* OUR STRENGTHS 英語見出し */
.strength__en-title {
  font-size: clamp(1.4rem, 3.2vw, 5rem);
  font-weight: 900;
  color: #0052d9;
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin-bottom: 20px;
}

/* 私たちの強み 日本語タイトル */
.strength__ja-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0052d9;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

/* 区切り線 */
.strength__line {
  width: 56px;
  height: 3px;
  background: #0052d9;
  margin-bottom: 40px;
}

/* 本文 */
.strength__text {
  font-size: 1.25rem;
  color: #1a2744;
  line-height: 2;
}

/* ---- 右カラム ---- */

.strength__visual {
  flex: 1;
  min-width: 0;
}

/* 写真：上の角を丸く */
.strength__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px 12px 0 0;
}

/* 番号付きリスト：下の角を丸く */
.strength__list {
  background: #fff;
  padding: 0 28px;
  border-radius: 0 0 12px 12px;
}

/* 各項目 */
.strength__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e4ecf8;
}

.strength__item:last-child {
  border-bottom: none;
}

/* 番号（01 02 03） */
.strength__num {
  font-size: 3rem;
  font-weight: 900;
  color: #c8d8f0;
  line-height: 1;
  flex-shrink: 0;
  width: 64px;
  font-style: italic;
}

/* 項目タイトル */
.strength__item-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #1a2744;
  margin-bottom: 6px;
}

/* 項目説明文 */
.strength__item-text {
  font-size: 1.05rem;
  color: #0052d9;
  line-height: 1.8;
}


/* ========================================
  メッセージセクション
  - 背景：daihyou.jpg（ダーク写真）
  - 左テキスト・右に人物が自然に見える構成
======================================== */

/* セクション全体：背景写真＋左側を暗くするグラデーション */
.message {
  position: relative;
  padding: 140px 0;
  background: url('image/daihyou.jpg') right center / cover no-repeat;
  overflow: hidden;
}

.message::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(5, 10, 25, 0.82) 45%, rgba(5, 10, 25, 0.35) 100%);
}


/* 内側：テキストを左半分に配置 */
.message__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 0 0 100px;
}

/* テキストエリアを左半分に収める */
.message__body {
  max-width: 600px;
}

/* MESSAGE 英語見出し */
.message__en-title {
  font-size: 5.5rem;
  font-weight: 700;
  color: #0052d9;
  letter-spacing: 0.2em;
  margin-bottom: 5px;
}

/* 代表メッセージ サブタイトル */
.message__ja-sub {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

/* 大見出し */
.message__catch {
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 48px;
}

/* 本文 */
.message__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 2.2;
}


/* ========================================
  会社情報セクション（COMPANY PROFILE）
  - 白背景・左見出し＋地図・右テーブル
======================================== */

/* セクション全体 */
.company {
  padding: 140px 0;
  background: #fff;
}

/* 2カラムラッパー */
.company__inner {
  width: 100%;
  padding: 0 60px 0 100px;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* ---- 左カラム ---- */

.company__head {
  flex: 0 0 560px;
}

/* COMPANY PROFILE 大見出し */
.company__en-title {
  font-size: 5.5rem;
  font-weight: 900;
  color: #0052d9;
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

/* 会社情報 サブタイトル */
.company__ja-sub {
  font-size: 1.1rem;
  color: #1a2744;
  font-weight: 700;
  margin-bottom: 40px;
}

/* 地図イラスト */
.company__map {
  width: 100%;
  height: auto;
}

/* ---- 右カラム ---- */

.company__table {
  flex: 1;
  min-width: 0;
}

/* 各行 */
.company__row {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid #e4ecf8;
}

.company__row:first-child {
  border-top: 1px solid #e4ecf8;
}

/* ラベル */
.company__label {
  flex: 0 0 100px;
  font-size: 1rem;
  font-weight: 700;
  color: #0052d9;
}

/* 値 */
.company__value {
  font-size: 1rem;
  color: #1a2744;
  line-height: 1.8;
}


/* ========================================
  お問い合わせセクション（CONTACT）
  - 薄青背景・左テキスト＋右フォームの2カラム
======================================== */

/* セクション全体 */
.contact {
  padding: 140px 0;
  background: #f1f5fc;
}

/* 2カラムラッパー */
.contact__inner {
  width: 100%;
  padding: 0 60px 0 100px;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

/* ---- 左カラム ---- */

.contact__head {
  flex: 0 0 320px;
}

/* CONTACT 英語見出し */
.contact__en-title {
  font-size: 5.5rem;
  font-weight: 900;
  color: #0052d9;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 10px;
}

/* お問い合わせ サブタイトル */
.contact__ja-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 36px;
}

/* ご相談・ご依頼はこちらから */
.contact__catch {
  font-size: 2rem;
  font-weight: 900;
  color: #1a2744;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* リード文 */
.contact__text {
  font-size: 1rem;
  color: #555;
  line-height: 2.2;
}

/* ---- 右カラム：フォーム ---- */

.contact__form {
  flex: 1;
  min-width: 0;
}

/* 各フィールド行 */
.contact__field {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #d0dcf0;
}

.contact__field:first-child {
  border-top: 1px solid #d0dcf0;
}

/* ラベル＋必須バッジ */
.contact__label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 210px;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2744;
  white-space: nowrap;
}

/* 必須バッジ */
.contact__required {
  display: inline-block;
  background: #0052d9;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}

/* テキスト入力 */
.contact__input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid #b0c4e8;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: #1a2744;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.contact__input:focus {
  border-color: #0052d9;
}

/* テキストエリア行は上揃え */
.contact__field:has(.contact__textarea) {
  align-items: flex-start;
  padding-top: 20px;
}

.contact__textarea {
  flex: 1;
  height: 140px;
  padding: 12px 16px;
  border: 1.5px solid #b0c4e8;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  color: #1a2744;
  background: #fff;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}

.contact__textarea:focus {
  border-color: #0052d9;
}

/* 送信ボタン */
.contact__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
  padding: 20px;
  background: #0052d9;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  transition: background 0.25s;
}

.contact__btn:hover {
  background: #1a2744;
}

/* 矢印を右端に配置 */
.contact__btn-arrow {
  position: absolute;
  right: 24px;
  font-size: 1.2rem;
}


/* ========================================
  フッター
  - 濃紺背景・ロゴ＋キャッチ・下部リンク＋コピーライト
======================================== */

.footer {
  background: #0d1a35;
  padding: 80px 0 0;
}

.footer__inner {
  width: 100%;
  padding: 0 60px 0 100px;
}

/* ---- 上部：ロゴ＋キャッチ ---- */

.footer__top {
  padding-bottom: 60px;
}

/* ロゴ：ヘッダーと同じ横並び・白く反転 */
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.footer__logo-mark {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__logo-text {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* キャッチコピー */
.footer__catch {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 2.2;
}

/* ---- 下部：コピーライト ---- */

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

/* コピーライト */
.footer__copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
}


/* ========================================
  ハンバーガーボタン（PCでは非表示）
======================================== */

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1a2744;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* スクロール後はハンバーガーを白に */
.header--scrolled .header__hamburger span {
  background: #fff;
}

/* 開いた状態：× に変形 */
.header--menu-open .header__hamburger span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header--menu-open .header__hamburger span:nth-child(2) {
  opacity: 0;
}
.header--menu-open .header__hamburger span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
.header--menu-open .header__hamburger span {
  background: #fff;
}


/* ========================================
  スマホ対応（768px以下）
======================================== */

@media (max-width: 768px) {

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

  .header__hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 150;
  }

  .header--menu-open .header__nav {
    opacity: 1;
    pointer-events: auto;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .header__nav-link {
    font-size: 1.3rem;
    color: #fff;
  }

  .header__contact-btn {
    font-size: 1.1rem;
  }

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

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

  .hero__inner {
    padding: 0 28px;
    padding-top: 160px;
  }

  .hero__catch {
    font-size: clamp(3rem, 11vw, 4.8rem);
    white-space: normal;
  }

  /* sp画像は明るい背景なので元の色に戻す・白い光彩で読みやすく */
  .hero__catch-line--1 {
    color: #0052d9;
    text-shadow: 0 0 16px rgba(255,255,255,0.9), 0 0 32px rgba(255,255,255,0.7);
  }

  .hero__catch-line--2 {
    color: #1a2744;
    text-shadow: 0 0 16px rgba(255,255,255,0.9), 0 0 32px rgba(255,255,255,0.7);
  }

  .hero__sub {
    color: #1a2744;
    font-size: 0.95rem;
    text-shadow: 0 0 12px rgba(255,255,255,0.95), 0 0 24px rgba(255,255,255,0.8);
  }

  .hero__btn {
    font-size: 1rem;
    padding: 16px 32px;
  }

  /* ---- アバウト ---- */

  .about {
    padding: 80px 0;
  }

  .about__inner {
    flex-direction: column;
    padding: 0 24px;
    gap: 48px;
  }

  .about__body {
    flex: none;
    width: 100%;
  }

  .about__visual {
    height: 280px;
    width: 100%;
  }

  .about__btn {
    display: block;
    text-align: center;
  }

  .about__en-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .about__title {
    font-size: clamp(1.2rem, 6vw, 2rem);
    white-space: nowrap;
  }

  /* ---- スライドショー ---- */

  .slideshow {
    min-height: 280px;
  }

  /* ---- サービス ---- */

  .service {
    padding: 50px 0;
  }

  .service__inner {
    padding: 0 24px;
  }

  .service__en-title {
    font-size: 11vw;
    letter-spacing: 0;
    white-space: nowrap;
  }

  /* ---- 強み ---- */

  .strength {
    padding: 80px 0;
  }

  .strength__inner {
    flex-direction: column;
    padding: 0 24px;
    gap: 40px;
  }

  .strength__body {
    flex: none;
    width: 100%;
  }

  .strength__en-title {
    font-size: 11vw;
    letter-spacing: 0.05em;
  }

  .strength__visual {
    width: 100%;
  }

  .strength__list {
    padding: 0 24px;
    max-width: 100%;
  }

  /* ---- メッセージ ---- */

  .message {
    padding: 80px 0;
  }

  .message__inner {
    padding: 0 16px;
  }

  .message__en-title {
    font-size: 11vw;
  }

  .message__catch {
    font-size: clamp(1.2rem, 4.8vw, 1.6rem);
  }

  /* ---- 会社情報 ---- */

  .company {
    padding: 80px 0;
  }

  .company__inner {
    flex-direction: column;
    padding: 0 24px;
    gap: 40px;
  }

  .company__head {
    flex: none;
    width: 100%;
  }

  .company__en-title {
    font-size: 11vw;
  }

  .company__map {
    display: none;
  }

  .company__row {
    flex-direction: column;
    gap: 8px;
    padding: 16px 0;
  }

  .company__label {
    flex: none;
  }

  /* ---- お問い合わせ ---- */

  .contact {
    padding: 80px 0;
  }

  .contact__inner {
    flex-direction: column;
    padding: 0 24px;
    gap: 48px;
    align-items: center;
  }

  .contact__head {
    flex: none;
    width: 100%;
    text-align: center;
  }

  .contact__form {
    width: 100%;
  }

  .contact__en-title {
    font-size: 3.5rem;
  }

  .contact__catch {
    font-size: 1.6rem;
  }

  .contact__field {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact__label {
    flex: none;
  }

  .contact__input,
  .contact__textarea {
    width: 100%;
  }

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

  .footer__inner {
    padding: 0 24px;
  }

  .footer__bottom {
    justify-content: center;
  }

}
