@charset "utf-8";

/* ================================= 共通・基本設定 ================================= */
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

/* ================================= ヘッダー（全ページ統一サイズ） ================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  z-index: 1000;
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.85rem;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-list a:hover {
  color: #0056b3;
}

.btn-contact {
  background-color: #0056b3;
  color: #fff !important;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 0.85rem;
}

/* ================================= セクションタイトル（左側の縦線付き） ================================= */
.section-title-wrap {
  text-align: left;
  position: relative;
  padding-left: 20px;
  margin-bottom: 50px;
}

.section-title-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  background-color: #0056b3;
  border-radius: 2px;
}

.section-num {
  display: block;
  font-size: 0.95rem;
  font-weight: bold;
  color: #333 !important;
  letter-spacing: 2px;
  margin-bottom: 4px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333 !important;
  letter-spacing: 1px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.section-sub {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* ================================= ヒーロー（メインビジュアル） ================================= */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background: url('images/hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  text-align: left;
  margin-top: 70px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-en {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 3px;
  margin-bottom: 15px;
  font-weight: bold;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

.btn-hero-blue, .btn-hero-outline {
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-hero-blue {
  background-color: #0056b3;
  color: #fff;
}

.btn-hero-outline {
  border: 2px solid #fff;
  color: #fff;
}

/* ================================= ABOUT US ================================= */
.about-hero {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.about-lead {
  font-size: 1.4rem;
  color: #0056b3;
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-text {
  line-height: 1.8;
  color: #555;
}

.about-btn-wrap {
  text-align: center;
}

.btn-about-more {
  display: inline-block;
  background-color: #0056b3;
  color: #fff;
  padding: 15px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-about-more:hover {
  opacity: 0.8;
}

/* ================================= SERVICES（10項目グリッド） ================================= */
.services-grid-10 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.service-img-wrap img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.service-body {
  padding: 20px;
}

.service-title {
  font-size: 1.1rem;
  color: #0056b3;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ================================= STRENGTH ================================= */
.strength-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.strength-item {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 40px;
  gap: 40px;
}

.strength-reverse {
  flex-direction: row-reverse;
}

.strength-icon-box {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  background: #e8eaf6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strength-num-large {
  font-size: 2rem;
  font-weight: bold;
  color: #0056b3;
}

.strength-text-box {
  flex-grow: 1;
}

.strength-item .strength-title {
  font-size: 1.3rem;
  color: #0056b3;
  margin-bottom: 15px;
}

.strength-desc {
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* ================================= スクロール表示 ================================= */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  right: 40px;
  z-index: 10;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.hero-scroll span {
  font-size: 0.75rem;
  letter-spacing: 2px;
  writing-mode: vertical-rl;
}

.scroll-arrow {
  font-size: 0.9rem;
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

/* ================================= スマホ用レスポンシブ対応 ================================= */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .services-grid-10 {
    grid-template-columns: 1fr;
  }

  .strength-item,
  .strength-reverse {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    text-align: center;
  }

  .strength-icon-box {
    margin: 0 auto;
  }

  .access .about-hero {
    grid-template-columns: 1fr !important;
  }
}
/* ================================= スマホ用メニュー表示修正 ================================= */
@media screen and (max-width: 768px) {
  /* スマホ時はメニューを縦並びにして、ヘッダーの高さを広げる */
  .header {
    height: auto;
    padding: 10px 0;
  }
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  .nav-list {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  /* お問い合わせボタンをスマホ用に調整 */
  .btn-contact {
    display: inline-block;
    margin-top: 5px;
  }
}
/* ================================= スマホ用ハンバーガーメニュー（開閉式） ================================= */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 3px;
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

/* 3本線がバツ印に変わるアニメーション用 */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* スマホ画面（768px以下）のときの切り替わり設定 */
@media screen and (max-width: 768px) {
  .menu-toggle {
    display: block; /* スマホのときだけ3本線を表示 */
  }

  .nav {
    display: none; /* 普段はメニューを隠す */
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 25px 0;
  }

  .nav.active {
    display: block; /* 3本線が押されたらメニューを表示 */
  }

  .nav-list {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
}
/* ================================= スマホ時のロゴと三本線の横並び調整 ================================= */
@media screen and (max-width: 768px) {
  /* ヘッダー全体を横並びに戻す */
  .header-container {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 20px !important;
  }

  /* ロゴ画像のサイズをスマホ用に収まりよく調整 */
  .logo-img {
    height: 24px !important;
  }

  /* 三本線ボタンを右側に配置する */
  .menu-toggle {
    display: block !important;
  }
}
/* ================================= スマホ時のSCROLL表示調整 ================================= */
@media screen and (max-width: 768px) {
  .hero-scroll {
    display: none !important; /* スマホ画面ではSCROLL文字を非表示にしてボタンをすっきりさせる */
  }
}
/* ================================= スマホの3本線が押せない現象の対策 ================================= */
@media screen and (max-width: 768px) {
  /* 3本線ボタンを一番手前に持ってくる */
  .menu-toggle {
    z-index: 99999 !important;
    pointer-events: auto !important;
  }
  
  /* ヘッダー自体もクリックを邪魔しないように手前にする */
  .header {
    z-index: 99998 !important;
  }
}