/* カスタムスタイルシート - ITアウトソーシングサービス紹介ページ */

/* ============================================
   CSSリセット / ベーススタイル
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #1E293B;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 60px;
}

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

/* ============================================
   セクション共通スタイル
   ============================================ */

section,
header,
footer {
  padding: 60px 0;
}

section:nth-of-type(even) {
  background-color: #EFF6FF;
}

section:nth-of-type(odd) {
  background-color: #ffffff;
}

/* ============================================
   タッチターゲット
   ============================================ */

a.btn,
button,
input[type="submit"],
input[type="button"] {
  min-width: 44px;
  min-height: 44px;
}

/* ============================================
   フォーカスインジケーター
   ============================================ */

a:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible {
  outline: 3px solid #F59E0B;
  outline-offset: 2px;
  box-shadow: none;
}

.main-visual a:focus-visible,
.main-visual button:focus-visible,
.contact-section a:focus-visible,
.contact-section button:focus-visible {
  outline-color: #F59E0B;
}

/* ============================================
   ナビゲーションバー
   ============================================ */

.site-nav {
  background-color: #1E3A8A;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.site-nav .navbar-brand {
  font-weight: bold;
  font-size: 1.1rem;
}

.site-nav .nav-link {
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: #ffffff;
}

/* ============================================
   メインビジュアルセクション
   ============================================ */

.main-visual {
  background-color: #E6F0FC;
  color: #1E3A8A;
  text-align: center;
  padding: 0;
  overflow: hidden;
  line-height: 0;
}

.main-visual-image {
  width: 100%;
  line-height: 0;
  font-size: 0;
}

.main-visual-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ============================================
   Features Section - 特徴・メリット
   ============================================ */

.features-section h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #333;
}

.feature-card {
  padding: 30px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  height: 100%;
  transition: box-shadow 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background-color: #EFF6FF;
  border-radius: 50%;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================
   Service Menu Section - サービスメニュー
   ============================================ */

#service-menu h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #333;
}

.service-category-heading {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1.25rem;
}

.service-menu-name {
  font-size: 1.2rem;
  font-weight: bold;
  color: #444;
  margin-bottom: 0.75rem;
}

.service-item-list {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.service-item-list li {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

#service-menu .card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

#service-menu .card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

/* ============================================
   Products Section - その他サービス・製品
   ============================================ */

#products h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #333;
}

#contact-info h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #333;
}

#contact-info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.product-card {
  padding: 30px 20px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.product-name {
  font-size: 1.25rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  flex-grow: 1;
}

.product-btn {
  min-height: 44px;
  min-width: 44px;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-color: #1E3A8A;
  color: #1E3A8A;
  margin-top: auto;
}

.product-btn:hover {
  background-color: #1E3A8A;
  border-color: #1E3A8A;
  color: #ffffff;
}

/* ============================================
   Flow Section - 導入の流れ
   ============================================ */

#flow h2 {
  font-size: 1.75rem;
  font-weight: bold;
  color: #333;
}

.flow-step {
  text-align: center;
  padding: 20px 15px;
  position: relative;
}

.flow-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #F59E0B;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.flow-step-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.75rem;
}

.flow-step-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 0;
}

/* モバイル・タブレット時: 縦方向の下矢印コネクタ */
.flow-steps .col-12:not(:last-child) .flow-step::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 14px solid #F59E0B;
  margin: 1.5rem auto 0;
}

/* デスクトップ時: 水平方向の右矢印コネクタ */
@media (min-width: 992px) {
  .flow-steps .col-12:not(:last-child) .flow-step::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    margin: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid #F59E0B;
    border-right: none;
  }
}

/* ============================================
   レスポンシブブレークポイント
   ============================================ */

body {
  font-size: 14px;
}

@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  section,
  header,
  footer {
    padding: 70px 0;
  }

  .service-category-heading {
    font-size: 1.5rem;
  }

  .service-menu-name {
    font-size: 1.2rem;
  }
}

@media (min-width: 992px) {
  body {
    font-size: 16px;
  }

  section,
  header,
  footer {
    padding: 80px 0;
  }

  .service-category-heading {
    font-size: 1.6rem;
  }

  .service-menu-name {
    font-size: 1.25rem;
  }
}

/* ============================================
   Contact Section - 会社概要
   ============================================ */

.contact-section {
  background-color: #1E3A8A;
  color: #ffffff;
  padding: 40px 0 30px;
}

.contact-company-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-address {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #dcdcdc;
}

.contact-address-label {
  font-size: 0.85rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.company-info {
  text-align: center;
}

.company-hp-btn {
  min-height: 44px;
  min-width: 44px;
  padding: 10px 24px;
}
