

/* =========================
   基本設定
========================= */
html, body {
  margin: 0;
  padding: 0;
  color: #1a1a1a;
  overflow-x: hidden;
}
body {
  font-family: 'Noto Sans', sans-serif;
}
p {
  font-size: 18px;
  line-height: 1.9;
  font-weight: 500;
}
.txt-center {
  text-align: center;
}
.text-left {
  text-align: justify;        
  /* 均等配置（両端揃え） */
  text-align-last: left;      
  /* 最終行は左揃え */
}

.smt20   {margin-top:20px !important;}
.smt40   {margin-top:40px !important;}
.smt80   {margin-top:80px !important;}
.smt100   {margin-top:100px !important;}

.smb40 {margin-bottom: 40px !important;}

.sml40   {margin-left:40px !important;}
.sml60   {margin-left:60px !important;}
.sml100   {margin-left:100px !important;}


/* =========================
   グローバルナビ
========================= */

/* ヘッダーを完全固定 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: transparent;              /* 初期は透明 */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
/* スクロール後の状態 */
.site-header.is-scrolled {
  background-color: rgba(0, 20, 58, 0.9);         /* 背景を出す */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ヘッダー全体 */
.global-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
}

.header-logo-s {
    width: 200px;
    height: auto;
    flex-shrink: 0;
}
.header-logo-s-b {
    width: 200px;
    height: auto;
    flex-shrink: 0;
    margin: 0 auto;
    text-align: center;
}

.global-menu {
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.global-menu a {
  text-decoration: none;
  color: #003a8f;
  font-weight: 600;
  padding: 0 10px;
  letter-spacing: 0.15em;
}

  /* メニュー本体：初期は閉じた状態 */
  .global-menu {
    display: flex;                 /* displayは固定（アニメ用） */
    flex-direction: column;

    position: absolute;
    left: 0;
    top: 64px;                     /* ヘッダー高さに合わせて調整 */
    width: 100%;
    background: #fff;

    border-top: 1px solid #e5e5e5;

    /* アニメ用 */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);

    transition:
      max-height 0.35s ease,
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  /* 開いた状態 */
  .global-nav.is-open .global-menu {
    max-height: 520px;             /* メニューの最大高さより大きめに */
    opacity: 1;
    transform: translateY(0);
  }

  /* メニュー項目 */
  .global-menu li a {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
  }


/* ハンバーガー（PCでは隠す） */
.hamburger {
  display: inline-block; /* スマホで表示 */
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}
  .hamburger__line {
  display: block;
  height: 2px;
  background: #ffffff;
  margin: 6px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
/* 三本線を×にする */
  .global-nav.is-open .hamburger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .global-nav.is-open .hamburger__line:nth-child(2) {
    opacity: 0;
  }
  .global-nav.is-open .hamburger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* =========================
   インデックス MV
========================= */
#index-mv {
  width: 100%;
  height: 730px;
  background: url("img/index-bg-sp.jpg") no-repeat center / cover;
  position: relative;
}
#about-mv {
  width: 100%;
  height: 300px;
  background: url("img/about-bg-sp.jpg") no-repeat center / cover;
  position: relative;
}
#service-mv {
  width: 100%;
  height: 300px;
  background: url("img/service-bg-sp.jpg") no-repeat center / cover;
  position: relative;
}
#recruit-mv {
  width: 100%;
  height: 300px;
  background: url("img/recruit-bg-sp.jpg") no-repeat center / cover;
  position: relative;
}
#contact-mv {
  width: 100%;
  height: 300px;
  background: url("img/contact-bg-sp.jpg") no-repeat center / cover;
  position: relative;
}
#privacy-mv {
  width: 100%;
  height: 300px;
  background: url("img/privacy-bg-sp.jpg") no-repeat center / cover;
  position: relative;
}

/* =========================
   各ページ 共通
========================= */
h1 {
  font-family: 'Roboto', sans-serif;
  color: #2068b0; 
  font-weight: 300;
  font-style: italic;
  font-size: 32px;
  letter-spacing: 0.07em;
  margin: 0 0 0 0;
}
.h1-w {
  color: #FFFFFF;
}
.h1-sub {
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 10px 0 20px 0;
}
h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
.box-340 {
  width: 320px;
  height: auto;
}

.sp-hide {
  display: none;
}

.txt-center-s {
  text-align: center;
}

.img-wrap-100-s img {
  width: 100%;
  height: auto;
}
.font-12px {
  font-size: 12px;
}

/* =========================
   ボタンデザイン
========================= */
.btn-detail-b {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 260px;
  padding: 24px 30px;

  background-color: #e9f3f8;
  border-radius: 16px;

  text-decoration: none;
  color: #003a8f;

  transition: background-color 0.3s ease;
}
.btn-detail-w {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 260px;
  padding: 24px 30px;

  background-color: #ffffff;
  border-radius: 16px;

  text-decoration: none;
  color: #003a8f;

  transition: background-color 0.3s ease;
}
/* テキスト */
.btn-text {
  font-weight: 700;
  font-size: 16px;
}
/* 右矢印 */
.btn-arrow {
  width: 10px;
  height: 10px;
  border-top: 2px solid #003a8f;
  border-right: 2px solid #003a8f;
  transform: rotate(45deg);
}
/* hover */
.btn-detail:hover {
  background-color: #151718;
}

/* ボタンをセンターに */
.btn-wrap {
  width: 320px;
  margin: 0 auto;
  text-align: center;
}

/* =========================
   インデックス 会社情報
========================= */
.index-about {
  width: 80%;
  height: auto;
  margin: 0 auto;
}
.ind-ab-img {
 width: 100%;
 height: auto;
}

/* =========================
   インデックス 事業紹介
========================= */
.ind-srv {
  width: 80%;
  height: auto;
  margin: 0 auto;
  padding: 40px 20px 40px 20px;
  background-color: #e0f2fe;
}
.ind-srv-b {
  width: 80%;
  height: auto;
  margin: 0 auto;
  padding: 30px 20px 40px 20px;
  background-color: #e0f2fe;
}

/* サービス画像 */
.img-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.img-row img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   インデックス 採用情報
========================= */
.srv-wrap-s {
  width: 80%;
  height: auto;
  margin: 0 auto;
}

/* =========================
   footer
========================= */
.foot-ab {
  width: 100%;
  height: auto;
  background-color: #e3edf3;
  color: #004385;
  padding: 40px 0 20px;
  margin: 0;
}
.foot-ab-wrap {
  width: 80%;
  height: auto;
  margin: 0 auto;
}
.foot-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 14px;
}
.foot-nav a {
  text-decoration: none;
  color: #004385;
  font-weight: 700;
}

/* =========================
   footer セクション
========================= */
/* 全体：縦並び */
.cta-split {
  display: block;
}

/* 各リンクブロック */
.cta-box {
  position: relative;
  display: block;

  padding: 28px 20px;
  color: #fff;
  text-decoration: none;

  background: linear-gradient(
    90deg,
    #0b79c6,
    #0a63b1 55%,
    #084f98
  );
}

/* 上下の仕切り線（2つ目） */
.cta-box + .cta-box {
  border-top: 2px solid rgba(255, 255, 255, 0.6);
}

/* 中のテキスト幅 */
.cta-inner {
  max-width: none;
}

/* 英字タイトル */
.cta-en {
  margin: 0 0 10px;
  font-size: 40px;
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  letter-spacing: 0.14em;
  line-height: 1.1;
}

/* 日本語小見出し */
.cta-ja {
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: 0.18em;
}

/* 説明文 */
.cta-desc {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}

/* 矢印 */
.cta-arrow {
  position: absolute;
  right: 20px;
  top: 50%;

  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;

  transform: translateY(-50%) rotate(45deg);
}

/* =========================
   footer テーブル表記
========================= */
.foot-table {
  width: 100%;
  max-width: 680px;
  border-collapse: collapse;
  /* 罫線を一本化 */
  border: 1px solid #004385;
  /* 外枠 */
}
.foot-table a {
  color: #001940;
  text-decoration: none;
  border-bottom: 1px solid #004385;
  font-weight: 700;
}
.foot-table th,
.foot-table td {
  border: 1px solid #004385;           
  /* 内側の罫線 */
  padding: 20px 28px;                  
  /* 余白 */
  vertical-align: middle;
  font-size: 14px;
  line-height: 1.8;
}
.foot-table th {
  width: 30%;                          
  /* 左列を細めに */
  text-align: left;
  white-space: nowrap;                 
  /* 左列は基本折り返さない */
}

.foot-nav li {
  width: 140px;
}

/* =========================
   outline 会社概要テーブル表記
========================= */
.outline-table {
  width: 100%;
  border-collapse: collapse;
}
.outline-table th,
.outline-table td {
  padding: 24px 8px;
  text-align: left;
  border-bottom: 1px solid #004385; /* ← 下線だけ */
  overflow-wrap: anywhere; /* 強制的に折り返す */
}
.outline-table th {
  width: 30%;
  font-weight: 600;
}
.outline-table img {
  width: 100%;
  height: auto;
}

/* 標識のズームアニメーション */
/* クリックできる見た目 */
.zoom-img {
  cursor: zoom-in;
}
/* モーダル背景 */
.img-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
/* 表示状態 */
.img-modal.is-open {
  display: flex;
}
/* 中央の画像 */
.img-modal-inner img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  animation: zoomIn 0.25s ease;
}
/* アニメ */
@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================
   recruit-table 採用情報テーブル表記
========================= */
.recruit-table {
  width: 100%;
  border-collapse: collapse;
}
.recruit-table th,
.recruit-table td {
  padding: 24px 8px;
  text-align: left;
  border-bottom: 1px solid #004385; /* ← 下線だけ */
  overflow-wrap: anywhere; /* 強制的に折り返す */
}
.recruit-table th {
  width: 30%;
  font-weight: 600;
}

/* =========================
   会社概要ページ/アクセス
========================= */
.access-wrap {
  width: 100%;
  height: auto;
  margin: 100px auto 0;
}
.service-wrap {
  width: 80%;
  height: auto;
  margin: 0 auto;
}
.access-wrap a {
  color: #004385;
  text-decoration: none;
  font-weight: 700;
}
.map-info {
  flex-direction: column;
  gap: 12px;
  width: 80%;
  margin: 0 auto;
}
.map-link {
  white-space: normal;
}
.ab-info {
  width: 80%;
  height: auto;
  margin: 0 auto;
  padding: 40px 20px 40px 20px;
  background-color: #e0f2fe;
}

/* =========================
   採用情報ページ
========================= */
.ind-rec-img {
  width: 100%;
  height: auto;
}
.rec-wrap-s {
  width: 80%;
  height: auto;
  margin: 0 auto;
}
.img-wrap {
  width: 280px;
  height: auto;
  margin: 0 auto;
}
.img-wrap-100 {
  width: 100%;
  height: auto;
}
.img-wrap-100-b {
  width: 100%;
  height: auto;
}
.img-size-1000 {
  display: none;
}
.img-size-1000-s {
  width: 280px;
  height: auto;
}

/* =========================
   個人情報保護方針ページ
========================= */
.prv-wrap {
  width: 80%;
  height: auto;
  margin: 0 auto;
}

/* =========================
   お問い合わせページ
========================= */
.tel-l {
  color: #003a8f;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 32px 0 0 0;
}
.tel-l span {
  font-size: 32px;
}
.tel-b {
  margin: 0 0 20px 0;
}
.fax-l {
  color: #003a8f;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.fax-l span {
  font-size: 20px;
}
.ctct-info {
  width: 100%;
  height: auto;
  background-color: #2068b0;
  color: #FFFFFF;
  padding: 20px 0;
}
.ctct-info-p {
  width: 80%;
  margin: 0 auto;
}
.info-p {
  font-size: 14px;
  font-weight: 400;
}

/* =========================
   改行設定
========================= */
.sp-only {
  display: block;
}

.sp-center {
  text-align: center;
}

/* =========================
   copyright
========================= */
.copyright {
  font-size: 14px;
}