/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #f5f4eb;
}
/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  color: #fff;
  background: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}
.skip-link:focus {
  top: 6px;
}
/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
}
.logo:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}
/* Navigation */
.nav {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}
.nav a {
  color: #1a52a8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.4rem 1.1rem;
  margin: 0 0.3rem;
}
.nav a:hover,
.nav a:focus {
  opacity: 0.8;
  color: #1a52a8;
  outline: 2px solid #1a52a8;
  outline-offset: 2px;
  transform: translateY(-2px);
}
.nav a.active {
  background-color: #1a52a8;
  color: #fff;
}
/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  width: 30px;
  height: 34px;
  justify-content: space-around;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #1a52a8;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 99;
}
.nav-mobile.active {
  display: block;
}
.nav-mobile ul {
  list-style: none;
  padding: 20px 0;
}
.nav-mobile li {
  padding: 5px 20px;
}
.nav-mobile a {
  color: #1a52a8;
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  display: block;
  padding: 10px 0;
  outline: 2px solid #1a52a8;
  /*  outline-offset: 2px; */
}
.nav-mobile a:hover,
.nav-mobile a:focus {
  color: white;
  background-color: #1a52a8;
}
/* Main Content */
.main {
  min-height: calc(100vh - 140px);
  /*  padding: 4rem 0; */
}
/* Footer Section */
.footer {
  background: #333;
  color: #fff;
  padding: 40px 0 20px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}
.icon-heading {
  position: relative;
  padding-left: 2.5em; /* アイコン分の余白を追加 */
}
.icon-heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 2em;
  height: 2em;
  background-image: url("icon.png");
  background-size: contain;
  background-repeat: no-repeat;
}
.footer-section p,
.footer-section li {
  margin-bottom: 0.5rem;
  color: #ccc;
}
.footer-section ul {
  list-style: none;
}
.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-section a:hover,
.footer-section a:focus {
  color: #ffd700;
}
.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #999;
}
.font-big {
  font-size: 2.5em;
}
/*----- Toppage ----- */
/* Hero Section */
/* 外側背景 */
.hero {
  background-color: #f2f4f8;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
}

/* 内側の白い角丸ボックス */
.hero-box {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  padding: 40px 30px;
  max-width: 930px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

/* h1 */
.hero-box h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.2rem;
  color: #1a1a1a;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    line-height: 1.5;
  }
}
/* 強調キーワード */
.ai-highlight {
  color: #ffd93d;
  font-weight: 800;
}
.ict-highlight {
  color: #4ecdc4;
  font-weight: 800;
}
/* サブタイトル */
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-subtext {
  margin-bottom: 30px;
  color: #666;
  font-size: 0.95rem;
}

/* CTA Section */
.container-cta {
  max-width: 1000px;
  margin: 0 auto;
}
.cta-section {
  background: #f8f9fa;
  border-radius: 10px;
  text-align: center;
  margin: 2rem 0;
  padding: 2rem;
}
.cta-heading {
  color: #1a52a8;
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: bold;
}
.cta-text {
  margin-bottom: 30px;
  color: #666;
  font-size: 1.2rem;
}
.cta-subtext {
  margin-bottom: 30px;
  color: #666;
  font-size: 0.95rem;
}

/* CTAボタンの配置コンテナ */
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* 青色のCTAボタン（例：問い合わせ） */
.cta-button--primary {
  background-color: #1a52a8;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}
.cta-button--primary:hover {
  background-color: #153d82;
}

/* 黄色のCTAボタン（お問い合わせ） */
.cta-button--highlight {
  display: inline-block;
  margin-top: 1.1rem;
  background: #ffd700;
  color: #333;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}
.cta-button--highlight:hover,
.cta-button--highlight:focus {
  background: #ffed4e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}
/* 補助的な配置用 */
.cta-buttons-container {
  text-align: left;
}

/* Animation */
/* 背景マル */
.bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  /* main visualの下に表示 */
}
.circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  background-color: #88ccee;
  animation: float 20s infinite ease-in-out;
}
/* 左のマル */
.circle1 {
  width: 120px;
  height: 120px;
  top: 20%;
  left: 10%;
  animation-delay: 1s;
}
/* 右のマル */
.circle2 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 80%;
  animation-delay: 5s;
}
/* 中央のマル */
.circle3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 35%;
  animation-delay: 10s;
}

@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-30px) translateX(15px);
  }
  100% {
    transform: translateY(0px) translateX(0px);
  }
}
/* Toppage .hero Responsive */
@media (max-width: 800px) {
  .hero {
    background-image: url("main_sp.png");
    text-align: center;
  }
  .hero-container {
    max-width: 100vw;
    margin: 0 auto;
    padding: 0 20px;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: left;
  }
  .pc-only {
    display: none;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title--services{
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 700;
}
.section-subtitle--services {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.section-title {
  font-size: 1.8rem;
/*  font-size: 1.8rem; */
  font-weight: 700;
  color: #1a52a8;
  text-align: center;
  margin-bottom: 2rem;
}
.section-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 1000px;
  text-align: center;
  padding-top 3rem;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
/* 事業内容 */
.services {
  padding: 80px 0;
  /*  background: #f8f9fa;*/
  background: rgba(248, 249, 250, 0.7);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}
.service-icon {
  font-size: 3rem;
  color: #1a52a8;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 600;
}
.service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}
/* About Section */
.about {
  padding: 80px 0;
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 700;
}
.about-text p {
  margin-bottom: 1.5rem;
  color: #666;
  font-size: 1.1rem;
}
.about-image {
  text-align: center;
}
.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.about-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
  opacity: 0.7;
}

/* Responsive Design */
/*@media (max-width: 768px) {*/
@media (max-width: 870px) {
  .nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    padding: 60px 0;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .services {
    padding: 60px 0;
  }
  .about {
    padding: 60px 0;
  }
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* Page Top Button */
.totop {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 1;
}
.totop a {
  display: block;
  text-decoration: none;
}
.totop img:hover {
  opacity: 0.7;
}

/* FAQ部分のスタイル */
.container-faq {
  max-width: 1000px;
  margin: 0 auto;
/*  padding: 2rem; */
}
.page-faq {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 3rem 0; 
}
.page-faq h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin: 0.5rem 0 2rem;
/*  margin: 0 0 2rem 0; */
  position: relative;
  padding-bottom: 1rem;
}
/* h2の下線装飾 */
.page-faq h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2ecc71);
  border-radius: 2px;
}
/* FAQ項目のスタイル */
.page-faq dl {
  margin: 0;
}
.page-faq dt {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e50;
  background: #f8f9fa;
  padding: 1.2rem 1.5rem;
  border-left: 4px solid #3498db;
  border-radius: 8px;
  margin: 0 0 0.8rem 0;
  position: relative;
  transition: all 0.3s ease;
}
/* 質問アイコン */
.page-faq dt::before {
  content: '\f059';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #3498db;
  margin-right: 0.8rem;
  font-size: 1.1em;
}
/* ホバー効果 */
.page-faq dt:hover {
  background: #e8f4f8;
  transform: translateX(5px);
}
.page-faq dd {
  font-size: 1rem;
  color: #555;
  background: #ffffff;
  padding: 1.2rem 1.5rem;
  margin: 0 0 1.5rem 0;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  position: relative;
}
/* 回答アイコン */
.page-faq dd::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: #2ecc71;
  margin-right: 0.8rem;
  font-size: 1.1em;
}
/* リストタグ*/
.page-faq ol{
  padding-left: 1.0rem;
  margin-left: 1.0rem;
  position: relative;
}
.sub-text--page-faq{
  font-size: 0.85rem;
} 
/* 最後の項目の余白調整 */
.page-faq dl dt:last-of-type {
  margin-bottom: 0.8rem;
}
.faq dl dd:last-of-type {
  margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .page-faq {
    padding: 2rem 1.5rem;
    margin: 1rem 0;
  }
  .page-faq h2 {
    font-size: 1.5rem;
  }
  .page-faq dt,
  .page-faq dd {
    padding: 1rem 1.2rem;
  }
  .faq dt::before,
  .faq dd::before {
    margin-right: 0.6rem;
  }
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-section h3 {
  margin-bottom: 1rem;
}
.footer-section ul {
  list-style: none;
}
.footer-section li {
  margin-bottom: 0.5rem;
}
.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 1rem;
  text-align: center;
  color: #ccc;
}
/* Back to Top Button */
.totop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}
.totop a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #1a52a8;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.totop a:hover {
  background: #154490;
  transform: translateY(-2px);
}
/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .page-header h1 {
    font-size: 2rem;
  }
  .contact-content {
    padding: 2rem 1rem;
  }
  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #ddd;
  }
  .form-table th {
    background: #1a52a8;
    color: white;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    border-radius: 4px 4px 0 0;
  }
  .form-table td {
    padding: 1rem;
    border-radius: 0 0 4px 4px;
    margin-bottom: 1rem;
  }
  .form-table tr {
    display: block;
    margin-bottom: 0.5rem;
  }
  .radio-group,
  .checkbox-group {
    flex-direction: column;
    gap: 0.5rem;
  }
  .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
}


/* ===============================================
 *２階層目
 * =============================================== */
/* Page Header */
.page-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: white;
  padding: 60px 0 40px;
}
.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.page-header p {
  opacity: 0.9;
  margin: 0 auto;
}
.lead {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); /* レスポンシブなサイズ調整 */
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.01em;
  max-width: 75ch;        /* 読みやすい行長に制限 */
  margin-bottom: 2rem;
}

/* Breadcrumb */
/* パンくずリスト */
.breadcrumb {
  background: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #dee2e6;
}
.breadcrumb ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb a {
  color: #6c757d;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #1a52a8;
}
.breadcrumb .current {
  color: #1a52a8;
  font-weight: 500;
}

/* ===============================================
 * 会社概要　２階層目
 * =============================================== */
/* Company Content */
.company-content {
  padding: 80px 0;
  background: white;
}
/* Company Message Section */
.message-section {
  margin-bottom: 80px;
}
.message-title {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #1a52a8;
  font-weight: 700;
  text-align: center;
}
.message-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}
.signature {
  text-align: right;
  margin-top: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a52a8;
}
.signature img {
  float: right;
  margin-left: auto;
  margin-right: auto;
}
/* Company Info Section */
.company-info {
/*  background: #f8f9fa; */
  padding: 80px 0;
}
.info-title {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #1a52a8;
  font-weight: 700;
  text-align: center;
}
.info-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}
.info-table table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th,
.info-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}
.info-table th {
  background: #1a52a8;
  color: white;
  font-weight: 600;
  width: 30%;
}
.info-table td {
  color: #555;
  background: white;
}
.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}
.address-link {
  color: #1a52a8;
  text-decoration: none;
}
.address-link:hover {
  text-decoration: underline;
}
/* Responsive Design */
.company-content {
  padding: 60px 0;
}
.company-info {
  padding: 60px 0;
}
.message-title,
.info-title {
  font-size: 1.8rem;
}
.info-table th,
.info-table td {
  padding: 15px;
}
.info-table th {
  width: 35%;
}
}
/* ===============================================
 * 事業内容　２階層目
 * =============================================== */
/* Services Content */
.services-content {
  padding: 80px 0;
}
.services-section {
  margin-top: 60px;
}
.services-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.service-card2 {
  background: white;
  padding: 2.0rem;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid #1a52a8;
}
.service-card2:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}
.service-icon2 {
  font-size: 3rem;
  color: #1a52a8;
  margin-bottom: 1rem;
}
.service-card2 h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 600;
}
.service-card2 p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.service-features {
  margin-top: 1.5rem;
}
.service-features ul {
  list-style: none;
  padding: 0;
}
.service-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: #555;
}
.service-features li::before {
  content: "\f00c";
  /* ← FontAwesomeのチェックアイコン（fa-check） */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  /* solidに対応 */
  position: absolute;
  left: 0;
  color: #1a52a8;
}
/* 事業内容：その他の情報処理サービス */
.services-category {
  margin-bottom: 60px;
}
.services-category h2 {
  font-size: 1.8rem;
  color: #1a52a8;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1a52a8;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.services-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: all 0.3s ease;
}
.services-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.services-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}
.services-card .description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}
.link-group {
  display: flex;
  gap: 1rem;          /* 横の間隔を調整 */
  flex-wrap: wrap;    /* 画面幅が狭いときは折り返し */
  margin-top: 0.5rem;
}
.external-link {
  display: inline-flex;
  align-items: center;
  color: #1a52a8;
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 8px;
  border-radius: 6px;
  background-color: rgba(26, 82, 168, 0.03);
}
.external-link i {
  margin-left: 4px;
  font-size: 0.9em;
}
.external-link:hover,
.external-link:focus {
  background-color: rgba(26, 82, 168, 0.08);
  text-decoration: underline;
  outline: none;
}
/* ===============================================
 * 実績紹介　２階層目
 * =============================================== */
/* Works Content */
.works-content {
  padding: 10px 0;
}
.works-section {
  margin-top: 60px;
}
.works-category {
  margin-bottom: 30px;
}
.works-category h2 {
  font-size: 1.8rem;
  color: #1a52a8;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid #1a52a8;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
/* システム開発専用の2カラムグリッド */
.works-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}
/* ホームページ制作専用の3カラムグリッド */
.works-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* PCは3カラム */
  gap: 25px;
  flex: 0 0 100%;
  box-sizing: border-box;
}
.work-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.work-card a {
  /* 下線を消す */
  text-decoration: none;
  /* 文字色を継承 */
  color: inherit;
  /* 全体をリンクに */
  display: block;
  transition: background-color 0.3s ease;
  border-radius: 12px;
  overflow: hidden;
}
.work-card a:hover {
  /* 背景を淡く（白ベース） */
  background-color: rgba(255, 255, 255, 0.6);
}
.work-card-image {
  width: 100%;
  height: auto;/* 明示的に高さを解除（PC用） */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.work-card-image img {
  width: 100%;
  height: 100%;/* ← 必須！ */
  object-fit: cover;
  object-position: top;
  display: block;
}
@media screen and (max-width: 768px) {
  .works-grid-3col {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .work-card {
    width: 100%;
  }
  .work-card-image {
    aspect-ratio: 2 / 3;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .work-card-image {
    aspect-ratio: 3 / 4;
    object-position: top;/* ← 上寄せに固定 */
  }
  .work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;/* ← 上寄せに固定 */
    display: block;
  }
}
.work-card-content {
  padding: 20px;
}
.work-card h3 {
  font-size: 1.2rem;
  color: #1a52a8;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.4;
}
.work-card .client {
  color: #333;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.work-card .description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
}
.work-card .features {
  color: #555;
  font-size: 0.9rem;
}
/* 未使用
.work-card .url {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.work-card .url a {
  color: #1a52a8;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.work-card .url a:hover {
  text-decoration: underline;
}
*/
.system-type {
  background-color: #f9fbff;
  border: 1px solid #dbe4f3;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.system-type h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}
.description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1.5rem;
}
.system-examples-enhanced {
  margin-bottom: 1rem;
}
.example-card {
  background-color: #ffffff;
  border: 1px solid #cfddeb;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}
.example-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.example-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: #1a52a8;
}
.example-client {
  color: #333;
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.example-card {
  border-radius: 12px;
  padding: 1rem;
  transition: background-color 0.3s ease;
  background-color: #fff;
  color: inherit;
}
.system-examples-enhanced a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.system-examples-enhanced a:hover .example-card {
  background-color: #ffedb3;   /* ホバー時の背景色 */
  cursor: pointer;
}
.intro-text {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 40px;
  text-align: center;
}
/* プレースホルダー画像のスタイル */
.placeholder-image {
  background: linear-gradient(135deg, #1a52a8, #4a7bc8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}
/* 3カラムずつスライド */
.slider-wrapper {
  position: relative;
  /*  overflow: hidden; */
  margin-top: 20px;
}
.slider-container {
  overflow: hidden;
  width: 100%;
}
.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slide {
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.slider-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 12px;
  cursor: pointer;
  z-index: 10;
  width:50px;
  height:50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
/* ボタンをスライダーの枠外に大きく表示 */
.slider-button.prev {
  left: -40px;
}
.slider-button.next {
  right: -40px;
}
.slider-button i {
  font-size: 1.2rem;
  color: #1a52a8;
}
@media screen and (max-width: 768px) {
  .slider-button.prev {
    left: -20px;
  }
  .slider-button.next {
    right: -20px;
  }
}
/* 実績紹介：その他の実績 */
.work-card2 {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  transition: all 0.3s ease;
}
.work-card2:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.work-card2 h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}
.work-card2 .description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
}
/* 未使用
.work-card2 .client {
  color: #1a52a8;
  font-weight: 500;
  margin-bottom: 10px;
}
.work-card2 .features {
  color: #555;
  font-size: 0.9rem;
}

.work-card2 .url {
  margin-top: 15px;
}

.work-card2 .url a {
  color: #1a52a8;
  text-decoration: none;
  font-weight: 500;
}

.work-card2 .url a:hover {
  text-decoration: underline;
}
*/
.works-grid ul {
  list-style: none;
  padding-left: 1.2em;
  margin-top: 0.5em;
}
.works-grid li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5em;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a52a8;
  line-height: 1.6;
}
.works-grid li::before {
  content: "\f0da";	/* Font Awesome の矢印（fa-angle-right） */
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  position: absolute;
  left: 0;
  color: #1a52a8;
}
.works-grid li a {
  display: inline-flex;
  align-items: center;
  color: #1a52a8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 2px;
  border-radius: 6px;
  background-color: rgba(26, 82, 168, 0.03);
}
.works-grid li i {
  margin-left: 4px;
  font-size: 0.9em;
}
.works-grid a:hover,
.works-grid a:focus {
  background-color: rgba(26, 82, 168, 0.08);
  text-decoration: underline;
  outline: none;
}
.client {
  font-size: 0.8rem;
  color: #333;
  font-weight: 500;
  line-height: 1.6;
}
/* レスポンシブ対応 */
@media (max-width: 1200px) {
  .works-grid-4col {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .works-grid-2col {
    grid-template-columns: 1fr;
  }
  .works-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .works-grid,
  .works-grid-2col,
  .works-grid-4col {
    grid-template-columns: 1fr;
  }
  .system-examples {
    justify-content: center;
  }
  .work-card h3 {
    font-size: 1.2rem;
  }
  .work-card-image {
    height: 180px;
  }
}
@media (max-width: 480px) {
  .work-card-content {
    padding: 20px;
  }
  .work-card-image {
    height: 160px;
  }
}
/* ===============================================
 * FAQ　２階層目
 * =============================================== */
/* FAQ Categories */
.faq-categories {
  padding: 2rem 0;
/*  background-color: #f8f9fa; */
}
.category-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.category-btn {
  padding: 0.8rem 1.5rem;
  border: 2px solid #e9ecef;
  background-color: #fff;
  color: #6c757d;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
}
.category-btn:hover {
  border-color: #1a52a8;
  color: #1a52a8;
  transform: translateY(-2px);
}
.category-btn.active {
  background-color: #1a52a8;
  color: #fff;
  border-color: #1a52a8;
}
/* FAQ Content */
.faq-content {
  padding: 3rem 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #fff;
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.faq-question:hover {
  background-color: #f8f9fa;
}
.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  flex: 1;
  padding-right: 1rem;
}
.faq-question h3 i {
  color: #1a52a8;
  margin-right: 0.5rem;
}
.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  color: #1a52a8;
  font-size: 1.1rem;
}
.faq-toggle:hover {
  background-color: #e9ecef;
  transform: scale(1.1);
}
.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}
.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 500px;
}
.faq-answer p {
  margin: 0;
  line-height: 1.7;
  color: #555;
}
.faq-answer i {
  color: #28a745;
  margin-right: 0.5rem;
}
/* リストタグ */
.faq-list ol,ul{
  padding: 0 1.0rem;
  margin: 0 1.0rem;
  position: relative; 
}
.sub-text--faq-list{
  font-size: 0.85rem;
}

/* FAQ Contact Content */
.faq-contact {
  background-color: #fff;
  position: relative;	/* ←ここ重要 */
  padding: 50px;
  margin-bottom: -65px;
  overflow: hidden;	/* 円がはみ出ても隠す */
}
/* circle共通スタイル */
.faq-contact .circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  z-index: 1;	/* ← 背面に */
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
/* テキストやボタンは前面に */
.contact-box>*:not(.circle) {
  position: relative;
  z-index: 1;	/* ← 前面に */
}
/* 円1 */
.faq-contact .circle1 {
  width: 120px;
  height: 120px;
  background-color: #6c63ff;
  top: 10%;
  left: 80%;
  animation-name: moveCircle1;
  animation-duration: 10s;
}
/* 円2 */
.faq-contact .circle2 {
  width: 200px;
  height: 200px;
  background-color: #ff6584;
  top: 50%;
  left: 75%;
  animation-name: moveCircle2;
  animation-duration: 15s;
}
/* 円3 */
.faq-contact .circle3 {
  width: 80px;
  height: 80px;
  background-color: #ffd700;
  top: 40%;
  left: 65%;
  animation-name: moveCircle3;
  animation-duration: 12s;
}
/* 円4 */
.faq-contact .circle4 {
  width: 280px;
  height: 280px;
  background-color: #00c6ff;
  top: 40%;
  left: 3%;
  animation-name: moveCircle4;
  animation-duration: 12s;
}
/* アニメーション定義 */
@keyframes moveCircle1 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, 20px);
  }
}
@keyframes moveCircle2 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-40px, 30px);
  }
}
@keyframes moveCircle3 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -30px);
  }
}
@keyframes moveCircle4 {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -30px);
  }
}
.contact-box {
  max-width: 800px;
  margin: 0 auto;
  /* text-align: center;
  font-weight: 600; */
}
.contact-box h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a52a8;
}
.contact-box h2 i {
  margin-right: 0.5rem;
}
.contact-box p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
}
.contact-btn {
  display: inline-block;
  margin-top: 1.1rem;
  background: #ffd700;
  color: #333;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}
.contact-btn:hover,
.contact-btn:focus {
  background: #ffed4e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}
.hours {
  margin-top: 2rem;
  padding: 0.6rem 1.2rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}
.hours i {
  color: #1a52a8;
}