* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #0a1f44;
  background: #ffffff;
  line-height: 1.8;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  width: 100px;
  height: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text h1 {
  font-size: 28px;
  letter-spacing: 6px;
  font-weight: 600;
  color: #001d4a;
}

.logo-text p {
  font-size: 14px;
  color: #555;
  letter-spacing: 2px;
}

/* ===== PC グローバルナビ + ドロップダウン ===== */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-list > li {
  position: relative;
  font-size: 14px;
  font-weight: 500;
}

.nav-list > li > a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  white-space: nowrap;
  transition: 0.2s;
  display: inline-block;
  padding: 8px 0;
}

.nav-list > li > a:not(.contact-btn):hover {
  color: #0b4da2;
  border-bottom: 2px solid #0b4da2;
  padding-bottom: 6px;
}

/* ドロップダウンメニュー (サブメニュー) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  border-radius: 12px;
  padding: 10px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 1001;
  border: 1px solid #eef2f6;
}

.nav-list > li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #2c3e66;
  font-size: 13px;
  font-weight: 500;
  transition: 0.2s;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: #f0f4fa;
  color: #0b4da2;
  padding-left: 26px;
}

/* 矢印アイコン (サブメニューがあることを示す) */
.has-dropdown > a::after {
  content: " ▼";
  font-size: 10px;
  opacity: 0.6;
  margin-left: 4px;
}

.contact-btn {
  background: linear-gradient(135deg, #001d4a, #0b4da2);
  color: #fff !important;
  padding: 14px 24px !important;
  border-radius: 8px;
  transition: 0.3s !important;
}

.contact-btn:hover {
  opacity: 0.85;
}

 /* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #001d4a;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

/* モバイルメニュー */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  box-shadow: -5px 0 25px rgba(0,0,0,0.1);
  z-index: 1050;
  transition: right 0.3s ease-in-out;
  padding: 100px 28px 40px;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

/* ✖ 閉じるボタンのスタイル */
.mobile-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #f0f2f5;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 600;
  color: #001d4a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 1060;
}

.mobile-close-btn:hover {
  background: #e0e4e9;
  transform: scale(1.05);
}

.mobile-close-btn:active {
  transform: scale(0.95);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-list li {
  border-bottom: 1px solid #e9edf2;
}

.mobile-nav-list a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  display: block;
  padding: 12px 0;
  transition: 0.2s;
}

/* モバイルサブメニュー (インデント) */
.mobile-submenu {
  list-style: none;
  padding-left: 20px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.mobile-submenu li {
  border-bottom: none;
}

.mobile-submenu a {
  font-size: 14px;
  font-weight: 400;
  padding: 8px 0 8px 12px;
  color: #4b5563;
}

.mobile-submenu a:hover {
  color: #0b4da2;
}

.contact-mobile {
  margin-top: 20px;
}

.mobile-contact-btn {
  background: linear-gradient(135deg, #001d4a, #0b4da2);
  text-align: center;
  padding: 14px;
  border-radius: 40px;
  color: white !important;
  font-weight: 700;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* スムーズスクロール */
html {
  scroll-behavior: smooth;
}

/* HOME ヒーローセクション  */
#home .hero {
  height: 100vh;
  background:
    linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.82)),
    url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1600&auto=format&fit=crop') center/cover;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

#home .hero h2 {
  font-size: 64px;
  line-height: 1.4;
  margin-bottom: 24px;
  color: #00153b;
  font-weight: 700;
}

#home .hero p {
  font-size: 18px;
  color: #334155;
  margin-bottom: 40px;
}

/* 共通ヒーローセクション */
.hero-section {
  padding-top: 120px;
  background: linear-gradient(135deg, #020617, #0f172a);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  right: -120px;
  top: 40px;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.hero h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

.hero p {
  max-width: 720px;
  color: rgba(255,255,255,0.8);
  font-size: 18px;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #001d4a, #0b4da2);
  color: #fff;
  padding: 18px 34px;
  border-radius: 10px;
  font-weight: 500;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn:hover {
  transform: translateY(-3px);
}

section {
  padding: 110px 0;
}

.bg-white {
  background: #f8fafc;
}

.bg-dark {
  background: #0f172a;
  color: white;
}

.bg-dark .section-title {
  color: white;
}

.bg-dark .section-description {
  color: rgba(255,255,255,0.7);
}

#home .section-title {
  margin-bottom: 60px;
}

#home .section-title span {
  color: #0b4da2;
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 600;
}

#home .section-title h3 {
  font-size: 42px;
}

#home .about {
  background: linear-gradient(135deg, #02152f, #0d3f85);
  color: #fff;
}

#home .about-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
  gap: 60px;
}

#home .about h3 {
  font-size: 42px;
  margin-bottom: 24px;
}

#home .about p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}

#home .about img {
  max-width: 420px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 25px rgba(255,255,255,0.15));
}

.section-title {
  font-size: 40px;
  margin-bottom: 20px;
  position: relative;
  color: #0f172a;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #2563eb;
  position: absolute;
  left: 0;
  bottom: -12px;
  border-radius: 10px;
}

.section-description {
  color: #666;
  margin-bottom: 50px;
}

.section-grid-a {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.section-card-a {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  transition: 0.3s;
}

.section-card-a:hover {
  border-color: #0b4da2;
  transform: translateY(-6px);
}

.section-card-a h4 {
  margin: 20px 0 12px;
  font-size: 22px;
}

.section-grid-b {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.section-grid-b {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.section-card-b {
  background: #fff;
  padding: 40px 28px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.section-card-b:hover {
  transform: translateY(-8px);
}

.section-card-b h4 {
  font-size: 24px;
  margin-bottom: 18px;
  color: #001d4a;
}

.section-grid-c {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.section-card-c {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.section-card-c::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(37,99,235,0.08);
  top: -40px;
  right: -40px;
}

.section-card-c:hover {
  transform: translateY(-10px);
}

.section-icon-c {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  margin-bottom: 25px;
  font-weight: 700;
}

.section-card-c h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #0f172a;
}

.section-card-c p {
  color: #666;
  margin-bottom: 25px;
}

.section-card-c ul {
  padding-left: 20px;
  color: #444;
}

.section-card-c ul li {
  margin-bottom: 10px;
}

.section-grid-d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.section-card-d {
  background: white;
      width: 180px;
      padding: 30px 20px;
      border-radius: 20px;
      text-align: center;
      box-shadow: 0 8px 25px rgba(0,0,0,0.06);
      position: relative;
}

.section-number-d {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #2563eb;
  margin: auto;
  margin-bottom: 18px;
  line-height: 55px;
  font-weight: 700;
  font-size: 20px;
}

.section-card-d h3 {
  font-size: 22px;
  color: #0f172a;
}

.section-grid-e {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.section-item-e {
  padding: 14px 24px;
  background: #eff6ff;
  border-radius: 50px;
  color: #1d4ed8;
  font-weight: 600;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.company-table th,
.company-table td {
  padding: 22px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.company-table th {
  width: 220px;
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0f172a;
}

.card p {
  color: #666;
  margin-bottom: 20px;
}

.card ul {
  padding-left: 20px;
  color: #444;
}

.strengths {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.strength-item {
  background: #0f172a;
  color: white;
  padding: 35px;
  border-radius: 18px;
}

.strength-item h3 {
  margin-bottom: 15px;
  font-size: 22px;
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.flow-step {
  background: white;
  width: 180px;
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  position: relative;
}

.flow-step span {
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 45px;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  margin-bottom: 15px;
  font-weight: 700;
}

.access-box {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.work-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

.work-image {
  height: 220px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1px;
}

.work-content {
  padding: 28px;
}

.work-category {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  margin-bottom: 15px;
  font-weight: bold;
}

.work-content h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #0f172a;
}

.work-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-list span {
  background: #f1f5f9;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #334155;
  font-weight: 600;
}

/* CTAセクション */
.cta {
  background:
    linear-gradient(rgba(0,24,66,0.85), rgba(0,24,66,0.85)),
    url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1600&auto=format&fit=crop') center/cover;
  color: #fff;
  text-align: center;
}

.cta h3 {
  font-size: 42px;
  margin-bottom: 18px;
}

.cta p {
  margin-bottom: 40px;
  color: rgba(255,255,255,0.9);
}

/* FOOTER */
footer {
  background: #031127;
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-size: 28px;
  letter-spacing: 5px;
  font-weight: 600;
  color: #fff;
}

/* パンくずリスト */
.breadcrumb-section{
  background:#f8fafc;
  border-bottom:1px solid #e2e8f0;
  padding:0;
}

.breadcrumb{
  padding:18px 0;
}

.breadcrumb ol{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  list-style:none;
  margin:0;
  padding:0;
}

.breadcrumb li{
  font-size:13px;
  letter-spacing:.05em;
}

.breadcrumb li:not(:last-child)::after{
  content:"›";
  margin-left:10px;
  color:#94a3b8;
}

.breadcrumb a{
  color:#2563eb;
  transition:.3s;
}

.breadcrumb a:hover{
  opacity:.7;
}

/* お問い合わせセクション */
.contact-section{
  padding:100px 0;
}

.contact-card{
  max-width:850px;
  margin:auto;
  background:#fff;
  border-radius:28px;
  padding:60px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.contact-title{
  text-align:center;
  margin-bottom:50px;
}

.contact-title span{
  display:block;
  color:#2563eb;
  font-weight:700;
  letter-spacing:2px;
  margin-bottom:10px;
}

.contact-title h2{
  font-size:42px;
  color:#0f172a;
  margin-bottom:15px;
}

.contact-title p{
  color:#666;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:24px;
}

.form-group{
  display:flex;
  flex-direction:column;
}

.form-group label{
  font-weight:600;
  color:#0f172a;
  margin-bottom:10px;
}

.required{
  color:#ef4444;
}

.form-group input,
.form-group textarea{
  width:100%;
  border:1px solid #dbe2ea;
  border-radius:12px;
  padding:16px 18px;
  font-size:15px;
  transition:.3s;
}

.form-group input:focus,
.form-group textarea:focus{
  outline:none;
  border-color:#2563eb;
  box-shadow:0 0 0 4px rgba(37,99,235,.1);
}

.form-group textarea{
  min-height:220px;
  resize:vertical;
}

.submit-btn{
  border:none;
  cursor:pointer;
  color:#fff;
  font-size:16px;
  font-weight:700;
  padding:18px;
  border-radius:12px;
  background:linear-gradient(
    135deg,
    #001d4a,
    #0b4da2
  );
  transition:.3s;
}

.submit-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 25px rgba(37,99,235,.25);
}

@media (max-width: 768px) {
  body {
    padding-top: 80px;
  }
  .header-inner {
    padding: 12px 20px;
  }
  .logo img {
    width: 70px;
  }
  .logo-text h1 {
    font-size: 20px;
    letter-spacing: 2px;
  }
  .logo-text p {
    font-size: 10px;
  }
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .hero h2 {
    font-size: 42px;
  }

  .section-title h3,
  .about h3,
  .cta h3 {
    font-size: 32px;
  }

  section {
    padding: 80px 0;
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .nav-list {
    gap: 20px;
  }
}