/* =========================
   Base
========================= */

:root {
    --text-main: #222;
    --text-sub: #555;
    --border-light: #e5e7eb;
    --bg-light: #f9fafb;
    --accent: #0056cc;
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont,
                 "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    color: var(--text-main);
    background: #fff;
    line-height: 1.8;
  }
  
  a {
    color: var(--accent);
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  
  /* =========================
   ヘッダー共通
========================= */

.site-header {
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
    position:fixed;
    width: 100vw;
  }
  
  .header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 16px;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  
  
  .site-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
  
    /* 崩れ防止 */
    line-height: 1.4;
    white-space: nowrap;
  }
  
  
  /* =========================
     グロナビ（PC）
  ========================= */
  
  .global-nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .global-nav a {
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
  }
  
  .global-nav a:hover {
    text-decoration: underline;
  }
  
  
  /* =========================
     ハンバーガー
  ========================= */
  
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
  }
  
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    margin: 5px 0;
  }
  
  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* =========================
     スマホ対応
  ========================= */
  
  @media (max-width: 768px) {

    /* ヘッダーは2段構成 */
    .header-inner {
      flex-wrap: wrap;
    }
  
    /* ハンバーガー：右上固定 */
    .menu-toggle {
      display: block;
      margin-left: auto;
      position: fixed;
      top:7px;
      right: 10px;
    }
  
    /* グローバルナビ：2段目に落とす */
    .global-nav {
      display: none;
      flex-basis: 100%;
      width: 100%;
      background: #fff;
    }
  
    /* メニュー開いた状態 */
    .global-nav.is-open {
      display: block;
    }
  
    .global-nav ul {
      display: flex;
      flex-direction: column;
      margin: 12px 0 0;
      padding: 0;
      list-style: none;
      border-top: 1px solid #e5e5e5;
    }
  
    .global-nav li {
      border-bottom: 1px solid #e5e5e5;
    }
  
    .global-nav a {
      display: block;
      padding: 14px 0;
    }
  }
  
  
  
  
  
  
  /* =========================
     Main layout
  ========================= */
  
  .main-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 64px 20px 64px;
  }
  
  
  /* =========================
     Hero
  ========================= */
  
  .hero {
    margin-bottom: 64px;
  }
  
  .hero-title {
    font-size: 28px;
    line-height: 1.4;
    margin: 0 0 12px;
  }
  
  .hero-lead {
    font-size: 15px;
    color: var(--text-sub);
    max-width: 640px;
  }
  
  
  /* =========================
     Sections
  ========================= */
  
  .section {
    margin-bottom: 64px;
  }
  
  .section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
  }
  
  .section p {
    font-size: 15px;
    color: var(--text-sub);
  }
  
  
  /* =========================
     Lists
  ========================= */
  
  .feature-list,
  .link-list,
  .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .feature-list li,
  .link-list li,
  .category-list li {
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-light);
  }
  
  .feature-list li:last-child,
  .link-list li:last-child,
  .category-list li:last-child {
    border-bottom: none;
  }
  
  .link-list a,
  .category-list a {
    font-weight: 500;
  }
  
  
  /* =========================
     Footer
  ========================= */
  
  .site-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
  }
  
  .footer-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 32px 20px;
  }
  
  .footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 16px;
    justify-content: center;
  }
  
  .footer-nav a {
    font-size: 13px;
    color: var(--text-sub);
  }
  
  .footer-nav a:hover {
    color: var(--text-main);
  }
  
  .copyright {
    font-size: 12px;
    color: #888;
    text-align: center;
  }
  /* =========================
   Breadcrumb
========================= */

.breadcrumb {
    font-size: 13px;
    margin-bottom: 24px;
    color: #666;
  }
  
  .breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
  }
  
  .breadcrumb li {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
  }
  
  .breadcrumb li + li::before {
    content: "＞";
    margin: 0 8px;
    color: #aaa;
  }
  
  .breadcrumb a {
    color: #666;
  }
  
  .breadcrumb a:hover {
    text-decoration: underline;
  }
  
  .breadcrumb [aria-current="page"] {
    color: #333;
  }
  /* =========================
   AdSense 共通スタイル
========================= */

.ad {
    margin: 56px 0;
    padding: 16px 0;
    text-align: center;
  
    /* 視認用の枠 */
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background-color: #fafafa;
  }
  
  /* 広告ラベル（任意だけどおすすめ） */
  .ad::before {
    content: "Advertisement";
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: #888;
    letter-spacing: 0.04em;
  }
  
  /* ins 要素の中央寄せ */
  .ad ins {
    display: block;
    margin: 0 auto;
  }
  
  
  /* =========================
     広告位置ごとの余白調整
  ========================= */
  
  /* 記事上（タイトル直下） */
  .ad-article-top {
    margin-top: 32px;
    margin-bottom: 48px;
  }
  
  /* 記事中 */
  .ad-article-middle {
    margin: 56px 0;
  }
  
  /* 記事下（スクエア想定） */
  .ad-article-bottom {
    margin-top: 64px;
    margin-bottom: 80px;
  }
  
  /* トップページ下部 */
  .ad-top-bottom {
    margin-top: 72px;
  }
  
  .tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
  /* =========================
     tools
  ========================= */
.tool-item {
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.tool-item h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
}

.tool-item p {
  margin: 4px 0;
}

.tool-note {
  font-size: 0.9rem;
  color: #666;
}
