@charset "UTF-8";
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
}
.site-header .site-logo img {
  height: 36px;
}
.site-header .global-nav {
  display: flex;
  gap: 16px;
}
.site-header .global-nav a {
  text-decoration: none;
  color: #333;
  padding-bottom: 4px;
}
.site-header .global-nav a.active {
  font-weight: 700;
  border-bottom: 2px solid #4f46e5;
}
.site-header .header-search input {
  border: 1px solid #ddd;
  padding: 6px 10px;
  border-radius: 6px;
}
.site-header {
  /* ハンバーガー */
}
.site-header .menu-toggle {
  display: none;
  width: 32px;
  height: 24px;
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
}
.site-header .menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.site-header .menu-toggle span:nth-child(1) {
  top: 0;
}
.site-header .menu-toggle span:nth-child(2) {
  top: 10px;
}
.site-header .menu-toggle span:nth-child(3) {
  bottom: 0;
}
.site-header .menu-toggle.active {
  z-index: 1001;
}
.site-header .menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
.site-header .menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.site-header .menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: 11px;
}
.site-header {
  /* モバイルメニュー */
}
.site-header .mobile-nav {
  position: fixed;
  inset: 0;
  background: #fff;
  padding: 80px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
}
.site-header .mobile-nav.active {
  transform: translateX(0);
}
.site-header .mobile-nav a {
  font-size: 18px;
  color: #333;
  text-decoration: none;
}
.site-header .mobile-nav .mobile-search input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

/* モバイル */
@media (max-width: 768px) {
  .site-header .global-nav,
  .site-header .header-search {
    display: none;
  }
  .site-header .menu-toggle {
    display: flex;
  }
}
.site-footer {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  margin-top: 80px;
  color: #374151;
}
.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer .footer-about img {
  height: 64px;
}
.site-footer .footer-about p {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}
.site-footer .footer-block h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}
.site-footer .footer-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer .footer-block li {
  margin-bottom: 8px;
}
.site-footer .footer-block a {
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
}
.site-footer .footer-block a:hover {
  color: #4f46e5;
  text-decoration: underline;
}
.site-footer .footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 768px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 16px;
  }
  .site-footer .footer-about {
    order: -1;
  }
}
/* デフォルト（PC）では改行しない */
.sp_cont {
  display: none;
}

.pc_cont {
  display: inline;
}

/* スマホだけ改行 */
@media (max-width: 768px) {
  .sp_cont {
    display: inline;
  }
  .pc_cont {
    display: none;
  }
}
.breadcrumb {
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 0 24px;
  font-size: 13px;
  color: #64748b;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li {
  display: flex;
  align-items: center;
}
.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb .separator {
  margin: 0 6px;
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 12px;
    padding: 0 12px;
  }
}
.top-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.top-page section {
  margin-bottom: 64px;
}
.top-page h1 {
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 16px;
}
.top-page h2 {
  font-size: 24px;
  margin-bottom: 24px;
  position: relative;
  padding-left: 12px;
}
.top-page h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 70%;
  background: #2563eb;
  border-radius: 2px;
}
.top-page p {
  color: #555;
  line-height: 1.8;
  max-width: 720px;
}
.top-page > section:first-of-type {
  padding: 56px 0;
}
.top-page > section:first-of-type h1 {
  font-weight: 800;
}
.top-page > section:first-of-type p {
  font-size: 16px;
  max-width: 720px;
}
.top-page .top-categories {
  max-width: 1100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.top-page .top-categories li a {
  display: block;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  text-decoration: none;
  color: #111;
  transition: all 0.2s ease;
}
.top-page .top-categories li a:hover {
  background: #eef2ff;
  transform: translateY(-2px);
}
.top-page .top-categories li a h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.top-page .top-categories li a p {
  font-size: 14px;
  color: #555;
}
.top-page .article-list {
  max-width: 1100px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.top-page .article-list li {
  border-bottom: 1px solid #eee;
}
.top-page .article-list li a {
  display: block;
  padding: 16px 0;
  color: #111;
  text-decoration: none;
}
.top-page .article-list li a:hover {
  color: #2563eb;
}
.top-page section ul:not(.top-categories):not(.article-list) {
  list-style: none;
  padding: 0;
}
.top-page section ul:not(.top-categories):not(.article-list) li {
  margin-bottom: 12px;
}
.top-page section ul:not(.top-categories):not(.article-list) li a {
  color: #2563eb;
  text-decoration: none;
}
.top-page section ul:not(.top-categories):not(.article-list) li a:hover {
  text-decoration: underline;
}
.top-page section:last-of-type ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.top-page section:last-of-type ul li a {
  display: inline-block;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 14px;
  color: #111;
  text-decoration: none;
}
.top-page section:last-of-type ul li a:hover {
  background: #e0e7ff;
  color: #1d4ed8;
}

@media (max-width: 768px) {
  .top-page {
    padding: 0 5px;
  }
  .top-page h1 {
    font-size: 26px;
  }
  .top-page h2 {
    font-size: 20px;
  }
}
.search-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 16px 80px;
}
.search-page h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.search-page .search-count {
  color: #666;
  font-size: 14px;
  margin-bottom: 32px;
}
.search-page {
  /* 検索結果なし */
}
.search-page > p {
  font-size: 15px;
  color: #555;
  margin-top: 24px;
}
.search-page {
  /* 記事リスト */
}
.search-page .article-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.search-page .article-list li {
  border-bottom: 1px solid #eee;
}
.search-page .article-list li a {
  display: block;
  padding: 24px 0;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}
.search-page .article-list li a:hover {
  background-color: #fafafa;
}
.search-page .article-list li a h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
  color: #111;
}
.search-page .article-list li a p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  /* 2行まで表示 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.saas-intro {
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 16px;
}
.saas-intro h1 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.saas-intro p {
  margin-bottom: 12px;
  line-height: 1.7;
  color: #333;
}

.saas-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px 80px;
}
.saas-list .article-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.saas-list {
  /* カード */
}
.saas-list .article-card {
  position: relative;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.saas-list .article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}
.saas-list .article-card a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}
.saas-list .article-card h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin-bottom: 8px;
}
.saas-list .article-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.saas-list .article-card .article-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 9999px;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}
.saas-list .article-card .badge-deep {
  background: #eef4ff;
  color: #3559e0;
  border: 1px solid #dbe5ff;
}

.pagination {
  margin: 40px 0;
  text-align: center;
}
.pagination ul {
  display: inline-flex;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.pagination li {
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
}
.pagination li.active {
  background: #4f46e5;
  color: #fff;
  border-color: #4f46e5;
  font-weight: 600;
}
.pagination li.disabled {
  color: #aaa;
  border-color: #eee;
  cursor: default;
}
.pagination li a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #333;
}
.pagination li a:hover {
  background: #f5f6ff;
}

/* スマホ */
@media (max-width: 768px) {
  .pagination ul {
    gap: 4px;
  }
  .pagination li {
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 0.8rem;
  }
}
.article-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 48px;
}

/* =========================
  記事本文
========================= */
.article-body {
  max-width: 760px;
  margin: 64px 0;
}
.article-body h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 32px;
}
.article-body {
  /* 見出し */
}
.article-body h2 {
  font-size: 26px;
  margin: 56px 0 24px;
  padding-left: 12px;
  position: relative;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 4px;
  height: 70%;
  background: #2563eb;
  border-radius: 2px;
}
.article-body h3 {
  font-size: 22px;
  margin: 40px 0 16px;
}
.article-body h4 {
  font-size: 18px;
  margin: 32px 0 12px;
}
.article-body h5,
.article-body h6 {
  font-size: 16px;
  margin: 24px 0 8px;
  font-weight: 600;
}
.article-body {
  /* テキスト */
}
.article-body p {
  line-height: 1.9;
  margin-bottom: 24px;
  color: #333;
}
.article-body strong {
  font-weight: 700;
}
.article-body em {
  font-style: italic;
}
.article-body small {
  font-size: 13px;
  color: #666;
}
.article-body {
  /* リンク */
}
.article-body a {
  color: #2563eb;
  text-decoration: underline;
}
.article-body a:hover {
  text-decoration: none;
}
.article-body {
  /* リスト */
}
.article-body ul,
.article-body ol {
  margin: 24px 0 24px 20px;
  line-height: 1.8;
}
.article-body li {
  margin-bottom: 8px;
}
.article-body {
  /* 引用 */
}
.article-body blockquote {
  margin: 32px 0;
  padding: 16px 24px;
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  color: #555;
}
.article-body blockquote p {
  margin: 0;
}
.article-body {
  /* コード */
}
.article-body pre {
  background: #0f172a;
  color: #e5e7eb;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 32px 0;
  font-size: 14px;
}
.article-body code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}
.article-body pre code {
  background: none;
  padding: 0;
}
.article-body {
  /* 横スクロール専用ラッパー */
}
.article-body .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 32px 0;
  overscroll-behavior-x: contain;
}
.article-body .table-scroll::after {
  content: "← 横にスクロールできます →";
  display: block;
  text-align: center;
  font-size: 12px;
  color: #64748b;
  margin-top: 8px;
}
.article-body {
  /* テーブル */
}
.article-body table {
  min-width: 900px;
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.article-body th,
.article-body td {
  border: 1px solid #e5e7eb;
  padding: 12px;
  text-align: left;
}
.article-body th {
  background: #f8fafc;
  font-weight: 600;
}
.article-body {
  /* 画像・動画 */
}
.article-body img {
  max-width: 100%;
  height: auto;
  margin: 32px 0;
  border-radius: 8px;
}
.article-body figure {
  margin: 32px 0;
}
.article-body figcaption {
  font-size: 13px;
  color: #666;
  text-align: center;
  margin-top: 8px;
}
.article-body iframe,
.article-body video {
  max-width: 100%;
  margin: 32px 0;
  border-radius: 8px;
}
.article-body {
  /* 区切り線 */
}
.article-body hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 48px 0;
}
.article-body .related-article {
  background: #f8f9fa;
  border-left: 4px solid #0d6efd;
  padding: 10px 15px;
  margin: 20px 0;
  border-radius: 4px;
  transition: background 0.2s;
}
.article-body .related-article a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 500;
}
.article-body .related-article a::before {
  content: "関連記事: ";
}
.article-body .related-article a:hover {
  text-decoration: underline;
  color: #0b5ed7;
}

.article-sidebar {
  flex: 1;
  margin-top: 64px;
}
.article-sidebar .sidebar-block {
  margin-bottom: 40px;
}
.article-sidebar .sidebar-block h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.article-sidebar .sidebar-block ul {
  list-style: none;
  padding: 0;
}
.article-sidebar .sidebar-block ul li {
  margin-bottom: 8px;
}
.article-sidebar .sidebar-block ul a {
  font-size: 14px;
  color: #2563eb;
  text-decoration: none;
}
.article-sidebar .sidebar-block ul a:hover {
  text-decoration: underline;
}

.related-content {
  margin-top: 48px;
  padding: 24px 24px 16px;
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  border-radius: 6px;
}
.related-content h2 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.related-content .related-group + .related-group {
  margin-top: 24px;
}
.related-content h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #1e40af;
  font-weight: 600;
}
.related-content .related-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-content li {
  margin-bottom: 8px;
}
.related-content a {
  display: inline-block;
  padding-left: 12px;
  position: relative;
  color: #111827;
  text-decoration: none;
  line-height: 1.6;
}
.related-content a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: bold;
}
.related-content a:hover {
  text-decoration: underline;
}

/* =========================
  SP調整
========================= */
@media (max-width: 768px) {
  .article-page {
    padding: 10px;
  }
  .article-body h1 {
    font-size: 26px;
  }
  .article-body h2 {
    font-size: 22px;
  }
  .article-body h3 {
    font-size: 18px;
  }
  .article-body table {
    font-size: 13px;
  }
  .article-body th,
  .article-body td {
    padding: 8px 10px;
    white-space: nowrap;
  }
  .article-body th {
    text-align: center;
    font-size: 12px;
  }
  .related-content {
    padding: 20px 16px;
  }
}
@media (max-width: 1024px) {
  .article-page {
    display: block;
  }
  .article-sidebar {
    display: none;
  }
}
/* =========================
  静的ページ
========================= */
.static-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 24px 120px;
}
.static-page h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  line-height: 1.4;
}
.static-page section {
  margin-bottom: 56px;
}
.static-page h2 {
  font-size: 22px;
  margin-bottom: 16px;
  padding-left: 12px;
  position: relative;
}
.static-page h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 70%;
  background: #2563eb;
  border-radius: 2px;
}
.static-page p {
  line-height: 1.9;
  margin-bottom: 16px;
  color: #333;
}
.static-page a {
  color: #2563eb;
  text-decoration: underline;
}
.static-page a:hover {
  text-decoration: none;
}

/* =========================
  SP調整
========================= */
@media (max-width: 768px) {
  .about-page {
    padding: 40px 16px 80px;
  }
  .about-page h1 {
    font-size: 26px;
    margin-bottom: 32px;
  }
  .about-page h2 {
    font-size: 20px;
  }
  .about-page section {
    margin-bottom: 40px;
  }
}
/* =========================
  お問い合わせページ
========================= */
.contact-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px 120px;
}
.contact-page h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.4;
}
.contact-page > p {
  margin-bottom: 40px;
  line-height: 1.9;
  color: #333;
}
.contact-page form {
  background: #f8fafc;
  padding: 32px;
  border-radius: 16px;
}
.contact-page form > div {
  margin-bottom: 24px;
}
.contact-page label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
}
.contact-page input,
.contact-page textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.6;
  background: #fff;
}
.contact-page input:focus,
.contact-page textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
.contact-page textarea {
  resize: vertical;
  min-height: 140px;
}
.contact-page .notice {
  font-size: 13px;
  color: #555;
  margin: 24px 0;
}
.contact-page button {
  display: inline-block;
  width: 100%;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.contact-page button:hover {
  background: #1d4ed8;
}
.contact-page button:active {
  transform: translateY(1px);
}

/* =========================
  SP調整
========================= */
@media (max-width: 768px) {
  .contact-page {
    padding: 40px 16px 80px;
  }
  .contact-page h1 {
    font-size: 26px;
  }
  .contact-page form {
    padding: 24px 16px;
  }
  .contact-page input,
  .contact-page textarea {
    width: calc(100% - 28px);
  }
}
