/* 基本リセット・共通設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* スムーススクロール */
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.5;
  color: #333333;
  background-color: #e8eef7;
  word-break: break-word; /* 長い英単語の崩れ防止 */
}

a {
  color: inherit;
  text-decoration: none;
}

/* レスポンシブ用改行コントロール */
.pc-only {
  display: inline;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: #f3f7fa;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1e293b;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background-color: #2563eb;
  margin: 12px auto 0;
}

.section-desc {
  text-align: left;
  margin-bottom: 40px;
  color: #64748b;
  font-size: 15px;
}

/* ヘッダー */
.header {
  min-height: 70px;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  color: #1e293b;
}

.logo img {
  width: 280px;
}

/* メニューの要素間隔（項目が増えたため少し間隔を調整） */
.nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 16px; /* 20pxから16pxに微調整して収まりを調整 */
}

.nav a {
  font-size: 14px;
  color: #475569;
  transition: color 0.2s;
  white-space: nowrap; /* テキストの途中で折り返さない */
}

.nav a:hover {
  color: #2563eb;
}

/* ナビゲーションリンクの基本スタイル */
.nav ul li a {
  position: relative;
  color: #333; /* 通常時の文字色 */
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

/* マウスホバー時に伸ばす下線の設定（疑似要素） */
.nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px; /* 線の太さ */
  background-color: #0066cc; /* ブランドカラー・アクセント色 */
  transition: width 0.3s ease, left 0.3s ease;
}

/* ホバー時の変化 */
.nav ul li a:hover {
  color: #0066cc; /* ホバー時の文字色 */
}

/* ホバー時に線を左右100%に広げる */
.nav ul li a:hover::after {
  width: 100%;
  left: 0;
}

.btn-nav {
  background-color: #2563eb;
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
}

.btn-nav:hover {
  background-color: #1d4ed8;
}

.menu-en{
  font-size: 12px;
}
/* ===================================
   ヒーローセクション（スライダー対応）
====================================== */
.hero {
  position: relative;
  width: 100%;
  max-width: 1200px; /* 画像の幅に合わせて制限 */
  margin: 0 auto;
  overflow: hidden;
  background-color: #0f172a; /* 画像読み込み前のチラつき防止用背景色 */
}

.hero-slider {
  width: 100%;
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 画像の上に重ねるテキスト要素 */
.hero-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 90%;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); /* テキストの可読性を高める濃いめの影 */
  pointer-events: none; /* 下のスライダーのクリック・ドラッグ操作を透過 */
}

.hero-title {
  font-size: 32px;
  line-height: 1.35;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 15px;
  color: #f1f5f9;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* スライダー用ドットナビ（インジケーター）のカスタム */
.swiper-pagination-bullet {
  background: #ffffff !important;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: #2563eb !important;
  opacity: 1;
}

.btn-primary {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.2s;
  pointer-events: auto; /* ボタンを配置する場合にクリック可能にする設定 */
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

/* サービス紹介 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #0f172a;
}

.card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
}

.primg {
  width: 240px;
}
/* 会社概要 */
.table-about {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px 24px;
  max-width: 700px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.table-about dt {
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.table-about dd {
  color: #64748b;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}

.table-about.history dt {
  font-weight: normal;
  font-size: 12px;
}
.table-about.history dd {
  font-size: 12px;
}
/* 全体コンテナ（中央配置・レスポンシブ対応） */
.achievements-section {
  width: 100%;
  padding: 40px 20px;
  background-color: #f8f9fa;
  box-sizing: border-box;
}

.achievements-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 30px;
}

/* カード共通スタイル */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.card-title {
  font-size: 1.2rem;
  color: #1a365d;
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #3182ce;
}

/* 開発実績リスト */
.achievement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px 20px;
}

.achievement-list li {
  font-size: 0.95rem;
  color: #2d3748;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px dashed #e2e8f0;
}

/* 種別バッジ（Web, C/Sなど） */
.badge {
  font-size: 0.75rem;
  background-color: #edf2f7;
  color: #4a5568;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #718096;
  text-align: right;
}

/* 技術スタック（2列グリッド） */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card-full {
  grid-column: 1 / -1;
}

/* タグクラウド表示 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  background-color: #ebf8ff;
  color: #2b6cb0;
  border: 1px solid #bee3f8;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* レスポンシブ対応（スマホ表示） */
@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
  
  .achievement-list {
    grid-template-columns: 1fr;
  }
}

/* お問い合わせ */
.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}
.access-wrapper p{
  padding-left: 2em;
}
.access-station{
  font-weight: bold;
}
/* マップを包む親要素（中央配置の設定） */
.map-container {
  width: 100%;
  max-width: 900px; /* PC表示時の最大幅（お好みの幅に調整可能） */
  margin: 0 auto;   /* 左右中央配置 */
  margin-bottom: 50px;
}

/* iframe 自体のレスポンシブ設定 */
.map-container iframe {
  width: 100%;
  height: 400px;    /* PCでの高さ */
  border: 0;
  border-radius: 8px; /* オプション：角丸にして洗練された印象に */
  display: block;   /* 下部の余白（隙間）を打ち消す */
}

/* スマホアプリセクション（単一アプリ用） */
.app-single-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.app-single-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.app-single-icon {
  font-size: 40px;
  background-color: #eff6ff;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.app-single-icon img {
  width: 100%;
}

.app-single-titles h3 {
  font-size: 22px;
  color: #0f172a;
  margin-bottom: 4px;
}

.app-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  background-color: #dbeafe;
  padding: 2px 10px;
  border-radius: 20px;
}

.app-single-body {
  display: flex;
}
.app-single-body .app-image-area img {
  margin: 10px;
  padding-right: 20px;
  width: 220px;
}
.app-single-body p {
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 28px;
}

.app-single-action {
  margin-top: 20px;
  text-align: center;
  /* display: flex; */
}
.app-single-action img {
  width: 140px;
}
.app-single-action a {
  padding: 0;
 height: 45px;
 line-height: 45px;
 width: 200px;
}

.app-explanation {
  width: 200px;
}
.btn-play {
  padding: 12px 36px;
  font-size: 16px;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
  .app-single-card {
    padding: 24px;
  }

  .app-single-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .btn-play {
    width: 100%;
  }
}


/* スマホ表示（画面幅 768px 以下）の調整 */
@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;  /* スマホで見やすいように少し高さを低く調整 */
  }
}
/* フッター */
.footer {
  background-color: #222222; /* フッター背景色（ダークグレー等） */
  color: #ffffff;
  padding: 50px 0 20px;
}

/* 左右2カラムにする設定 */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #444444; /* 区切り線 */
}

/* 左側：ナビゲーション（グリッドで2列〜4列に綺麗に並べる） */
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* スマホ〜タブレット用2列設定 */
  gap: 12px 30px;
}

.footer-nav a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* 右側：会社情報 */
.footer-right {
  text-align: right;
}

.footer-company-name {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.footer-address {
  font-size: 0.85rem;
  color: #aaaaaa;
  line-height: 1.6;
}

/* コピーライト表示 */
.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #888888;
  margin-top: 20px;
}

/* お知らせセクションのスタイル */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px; /* 見やすい幅に制限 */
}

.news-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  border-bottom: 1px solid #e0e0e0;
  gap: 15px;
}

.news-date {
  font-size: 0.9rem;
  color: #666;
  white-space: nowrap;
}

.news-category {
  font-size: 0.75rem;
  background-color: #0066cc; /* カテゴリタグの背景色 */
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.news-title {
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  flex: 1;
}

.news-title:hover {
  text-decoration: underline;
  color: #0066cc;
}

/* ===================================
   レスポンシブ対応 (タブレット・スマホ)
====================================== */

@media (max-width: 768px) {
  .pc-only {
    display: none; /* スマホでは不要な改行を無効化 */
  }

  .header-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .nav ul {
    gap: 12px;
    flex-wrap: wrap; /* スマホで画面幅に収まらない場合に綺麗に折り返す */
    justify-content: center;
  }

  .nav a {
    font-size: 13px;
  }

  /* スマホでのヒーローエリア文字サイズ調整 */
  .hero-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 12px;
    line-height: 1.4;
  }

  .section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .table-about {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 20px;
  }

  .table-about dt {
    border-bottom: none;
    padding-bottom: 0;
    margin-top: 14px;
    font-size: 14px;
  }

  .table-about dt:first-child {
    margin-top: 0;
  }

  .table-about dd {
    font-size: 14px;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-title {
    width: 100%;
    flex: none;
  }

  .footer-inner {
    flex-direction: column-reverse; /* スマホでは住所を上に、メニューを下に配置 */
  }

  .footer-right {
    text-align: left;
  }
}

/* 480px以下の調整 (小型スマホ) */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo {
    font-size: 16px;
  }

  .nav ul {
    gap: 10px;
  }

  .nav a {
    font-size: 12px;
  }

  .btn-nav {
    padding: 6px 12px;
  }

  .hero-title {
    font-size: 16px;
  }

  .hero-subtitle {
    display: none; /* 画面が極小の場合はサブタイトルを非表示にしてスライダー背景を見やすく調整 */
  }

  .btn-primary {
    width: 100%; /* ボタンを画面幅いっぱいに広げて押しやすくする */
    padding: 14px 0;
  }

  .card {
    padding: 20px;
  }
}