@charset "utf-8";

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

ul,
ol {
  list-style: none;
}

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

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
}

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

.jump-top {
  text-align: right;
  display: block;
  font-size: 85%;
  margin-top: 30px;
  color: #555555;
}

.jump-top:hover {
  color: #002060;
}

.main-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* --------------------------------------------------
 * 2. ヘッダー & ナビゲーション（PC時表示）
 * -------------------------------------------------- */
.header,
#header {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  height: 80px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* 天地中央揃え */
  position: relative;
}

.header-logo {
  display: block;
  width: 160px;
  flex-shrink: 0;
}

.header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.header-site-menu {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

/* ハンバーガー用パーツ（PCでは非表示） */
.drawer_hidden {
  display: none !important;
}

.drawer_open {
  display: none;
}

/* PC用メニューリスト */
.site-menu ul {
  display: flex;
  align-items: center; /* メニューとボタンの天地中央揃え */
}

.site-menu ul li {
  margin: 0 20px;
  display: flex;
  align-items: center;
}

/* リンクテキスト設定 */
.site-menu ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Montserrat', "Noto Sans JP", sans-serif;
  font-weight: bold;
  color: #002060;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.site-menu ul li a:hover {
  color: #c00000;
}

.site-menu ul li a .en {
  display: block;
  font-size: 10px;
  font-weight: 400;
  margin-top: 3px;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* PC用 お問い合わせボタン */
.site-menu ul li a.header-btn {
  background-color: #c00000;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 6px;
  margin: 0;
}

.site-menu ul li a.header-btn .en {
  color: #ffffff;
  opacity: 1;
}

.site-menu ul li a.header-btn:hover {
  background-color: #900000;
  color: #ffffff !important;
}

/* --------------------------------------------------
 * 3. ヒーローエリア（メインビジュアル）
 * -------------------------------------------------- */
.hero-area {
  position: relative;
  width: 100%;
  min-height: 320px;
  background-image: url('../img/top-img.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
  border-top: solid 5px #002060;
  border-bottom: solid 5px #002060;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 16, 48, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  color: #f0f4f8;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  color: #ffffff;
}

/* --------------------------------------------------
 * 4. コンセプト＆サービス紹介
 * -------------------------------------------------- */
.concept-box {
  margin: 40px 0;
  padding: 35px 30px;
  border: 3px solid #002060;
  background-color: #FDFBF7;
  border-radius: 8px;
}

.concept-lead {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  font-weight: bold;
  color: #002060;
  margin-bottom: 30px;
}

.service-title {
  font-size: 22px;
  text-align: center;
  color: #002060;
  margin-bottom: 20px;
  position: relative;
  display: table;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 8px;
  border-bottom: 2px solid #002060;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.service-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #002060;
  margin-bottom: 8px;
}

.service-card-desc {
  font-size: 14px;
  color: #555555;
  line-height: 1.5;
}

/* --------------------------------------------------
 * 5. 目的別導線（ナビゲーションバナー）
 * -------------------------------------------------- */
.navigation-banners {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0;
}

.nav-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border: 2px solid #002060;
  border-radius: 8px;
  padding: 22px 30px;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.nav-banner:hover {
  background-color: #f0f4fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 32, 96, 0.15);
}

.banner-text h2 {
  font-size: 22px;
  color: #002060;
  margin-bottom: 5px;
}

.banner-text p {
  font-size: 15px;
  color: #444444;
}

.banner-btn {
  display: inline-block;
  background-color: #002060;
  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.nav-banner:hover .banner-btn {
  background-color: #c00000;
}

/* --------------------------------------------------
 * 6. サポートデスク
 * -------------------------------------------------- */
.support-desk-area {
  background-color: #fef3f3;
  border: 2px solid #c00000;
  border-radius: 8px;
  padding: 30px 25px;
  text-align: center;
  margin: 40px 0 20px;
}

.support-title {
  font-size: 24px;
  color: #c00000;
  margin-bottom: 12px;
  font-weight: bold;
  text-align: center;
}

.support-text {
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 22px;
}

.support-btn-wrapper {
  display: flex;
  justify-content: center;
}

.btn-contact {
  display: inline-block;
  background-color: #c00000;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: bold;
  padding: 16px 40px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(192, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.btn-contact:hover {
  background-color: #900000;
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(192, 0, 0, 0.4);
}

/* --------------------------------------------------
 * 7. フッター
 * -------------------------------------------------- */
 .footer,
 #footer {
   color: #ffffff;
   background-color: #002060;
   padding-top: 30px;
   padding-bottom: 20px;
   display: flex;
   flex-direction: column;
   align-items: center;
 }
 
 .footer-inner {
   width: 100%;
   max-width: 1000px;
   padding: 0 20px;
   text-align: center;
 }
 
 /* ★ 1段目：上のテキストナビゲーション */
 .footer-nav {
   display: block;
   margin-bottom: 24px;
 }
 
 .footer-nav ul {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   gap: 10px 28px;
 }
 
 .footer-nav ul li a {
   display: inline-block;
   color: #ffffff;
   font-size: 15px;
   font-weight: bold;
   white-space: nowrap;
   transition: opacity 0.2s ease;
 }
 
 .footer-nav ul li a:hover {
   opacity: 0.8;
   color: #ffffff;
 }
 
 /* 2段目：下の白いボタンリンクエリア */
 .footer-logos {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   gap: 12px 20px; /* ボタン同士の間隔 */
   margin-bottom: 16px;
 }
 
/* 2段目のリンクを「白い角丸ボタン」に指定 */
.footer-logos a,
.footer-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff; /* 背景色：白 */
  padding: 6px 16px;         /* ボタンの内側余白 */
  border-radius: 4px;        /* 角丸 */
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.footer-logos a img,
.footer-logo img {
  display: block;
  height: 40px;              /* 32px × 1.15 ＝ 36.8px（約37pxに拡大） */
  width: auto;               /* 縦横比を維持して自動計算 */
}
 
 /* ホバー時の挙動（すこし透過） */
 .footer-logos a:hover,
 .footer-logo a:hover {
   opacity: 0.85;
 }
 
 /* 著作権表記 */
 .copyright {
   font-size: 14px;
   font-weight: bold;
   margin-top: 8px;
 }

/* --------------------------------------------------
 * 8. レスポンシブ対応
 * -------------------------------------------------- */

@media (max-width: 960px) {
  .header-inner {
    padding: 0 15px;
  }

  .header-logo {
    width: 130px;
  }

  .site-menu ul li {
    margin: 0 15px;
  }

  .site-menu ul li a {
    font-size: 14px;
  }

  .site-menu ul li a .en {
    font-size: 9px;
  }

  .site-menu ul li a.header-btn {
    padding: 6px 10px;
  }
}

/* スマホ表示: 900px以下でハンバーガーメニューに切替 */
@media (max-width: 768px) {
  .header-inner {
    height: 60px;
    padding: 0 20px;
  }

  .header-logo {
    width: 130px;
  }

  /* ハンバーガーアイコンの強制表示 */
  .drawer_open {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 20px;
    top: 15px;
    width: 30px;
    height: 30px;
    z-index: 101;
    cursor: pointer;
  }

  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #002060;
    position: absolute;
    transition: all 0.3s ease;
  }

  .drawer_open span:before {
    bottom: 8px;
  }

  .drawer_open span:after {
    top: 8px;
  }

  /* チェックが入ったら三本線を「バツ印」に変更 */
  #drawer_input:checked + .header-logo + .drawer_open span,
  #drawer_input:checked ~ .drawer_open span {
    background: transparent;
  }

  #drawer_input:checked + .header-logo + .drawer_open span::before,
  #drawer_input:checked ~ .drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #drawer_input:checked + .header-logo + .drawer_open span::after,
  #drawer_input:checked ~ .drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* メニューのドロワー表示（初期は画面外の右側に隠す） */
  .header-site-menu {
    position: fixed;
    top: 60px;
    left: 100%; /* 非表示状態 */
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #ffffff;
    transition: left 0.3s ease;
    z-index: 99;
    overflow-y: auto;
    padding: 20px 0 40px;
    border-top: 2px solid #002060;
    display: block;
  }

  /* チェックが入ったら画面内にスライドイン */
  #drawer_input:checked ~ .header-site-menu {
    left: 0;
  }

  .site-menu ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0;
  }

  .site-menu ul li {
    width: 100%;
    text-align: center;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    display: block;
  }

  .site-menu ul li a {
    display: flex;
    padding: 16px 20px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
  }

  .site-menu ul li a.header-btn {
    border-radius: 0;
    padding: 16px 20px;
  }

  /* --- その他のコンテンツ調整 --- */
  .hero-area {
    min-height: 220px;
    padding: 30px 15px;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.4;
  }

  .concept-box {
    padding: 25px 15px;
    margin: 25px 0;
  }

  .concept-lead {
    font-size: 15px;
    text-align: left;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .nav-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 20px 15px;
  }

  .banner-text h2 {
    font-size: 19px;
  }

  .banner-text p {
    font-size: 14px;
  }

  .banner-btn {
    width: 100%;
    font-size: 14px;
    padding: 10px;
  }

  .support-desk-area {
    padding: 20px 15px;
  }

  .support-title {
    font-size: 20px;
  }

  .support-text {
    font-size: 14px;
    text-align: left;
  }

  .btn-contact {
    font-size: 16px;
    width: 100%;
    padding: 14px 10px;
    border-radius: 8px;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .footer-nav ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .footer-nav ul li a {
    display: block;
    padding: 12px 20px;
  }

  .footer-logos {
    gap: 20px;
  }

  .footer-logo img {
    height: 32px;
  }
}