@charset "utf-8";
/* 
Theme Name: gaiheki journal theme 
Theme URI: 
Description: 
Author: 
Author URI: 
Version: 1.0
 */

.login h1 a {
 background-image: none, url("img/logo.svg");
 background-position: center top;
 background-repeat: no-repeat;
 background-size: 84px auto;
 display: block;
 font-size: 20px;
 height: 84px;
 line-height: 1.3em;
 margin: 0 auto 25px;
 outline: 0 none;
 padding: 0;
 text-indent: -9999px;
 width: 84px;
}
.youtube {
position: relative;
width: 100%;
padding-top: 56.25%;
}
.youtube iframe{
position: absolute;
top: 0;
right: 0;
width: 100% !important;
height: 100% !important;
}


/**/
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --green-primary: #3a7d3a;
    --green-accent: #4caf50;
    --green-light: #e8f5e9;
    --green-tag-bg: #4caf50;
    --orange: #f5a623;
    --orange-btn: #f5a623;
    --text-dark: #1a1a1a;
    --text-mid: #444;
    --text-light: #777;
    --border: #e0e0e0;
    --bg: #ffffff;
    --bg-light: #f8f9f8;
    --header-h: 60px;
    --nav-h: 44px;
  }

  body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', 'Meiryo', sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    font-size: 14px;
    line-height: 1.6;
  }

  a { color: inherit; text-decoration: none; }
  img { display: block; max-width: 100%;height:auto; }

  /* ─── HEADER ─── */
  .site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  .site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--green-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
  }
  .logo-text h1 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
  }
  .logo-text p {
    font-size: 10px;
    color: var(--text-light);
    line-height: 1;
    margin-top: 2px;
  }
  .header-search {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
  }
  .header-search input {
    border: 1px solid var(--border);
    border-right: none;
    padding: 7px 12px;
    font-size: 13px;
    border-radius: 4px 0 0 4px;
    outline: none;
    width: 200px;
    color: var(--text-mid);
  }
  .header-search input::placeholder { color: #bbb; }
  .header-search button {
    background: var(--green-primary);
    border: none;
    padding: 7px 12px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    line-height: 1;
  }

  /* ─── NAV ─── */
  .site-nav {
    background: #fff;
    border-bottom: 2px solid var(--green-primary);
  }
  .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 0;
  }
  .nav-item {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-mid);
    cursor: pointer;
    transition: color .15s, background .15s;
    white-space: nowrap;
  }
  .nav-item:hover { color: var(--green-primary); background: var(--green-light); }

  /* ─── HERO ─── */
  .hero {
    background: linear-gradient(135deg, #f0f7f0 0%, #e8f5e9 60%, #f5f9f5 100%);
    overflow: hidden;
  }
  .hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-copy { flex: 1; }
  .hero-copy h2 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--text-dark);
    letter-spacing: -0.5px;
  }
  .hero-copy h2 .accent {
    color: var(--green-primary);
  }
  .hero-copy p {
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.75;
  }
  .hero-image {
    flex: 0 0 380px;
    max-width: 380px;
  }
  .hero-image svg {
    width: 100%;
    height: auto;
  }

  /* ─── KEYWORDS ─── */
  .keywords-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
  }
  .keywords-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .kw-label {
    font-size: 12px;
    color: var(--text-light);
    white-space: nowrap;
  }
  .kw-tag {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    color: var(--text-mid);
    cursor: pointer;
    transition: border-color .15s, color .15s;
  }
  .kw-tag:hover { border-color: var(--green-primary); color: var(--green-primary); }

  /* ─── MAIN LAYOUT ─── */
  .main-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 36px 20px 60px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }
  .content-area { flex: 1; min-width: 0; }
  .sidebar { flex: 0 0 260px; }

  /* ─── SECTION HEADING ─── */
  .section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
  }
  .section-title {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--green-primary);
    border-radius: 2px;
  }
  .more-link {
    font-size: 12px;
    color: var(--green-primary);
    font-weight: 600;
  }
  .more-link:hover { text-decoration: underline; }

  /* ─── ARTICLE GRID ─── */
  .article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
  }
  .article-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s;
    cursor: pointer;
  }
  .article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
  .card-thumb {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
  }
  .card-thumb-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #555;
    padding: 16px;
    text-align: left;
    line-height: 1.5;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;
    overflow: hidden;
    position: relative;
  }

  .card-thumb-img.cost    { background: #e8f0f0; }
  .card-thumb-img.select  { background: #eff0e8; }
  .card-thumb-img.paint   { background: #f0ebe8; }
  .card-thumb-img.subsidy { background: #e8ecf0; }
  .card-thumb-img.trouble { background: #f0e8e8; }
  .card-thumb-img.roof    { background: #e8eaf0; }
  .card-body { padding: 12px 14px 14px; }
  .card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
  }
  .card-cat {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    color: #fff;
    white-space: nowrap;
  }
  .cat-first    { background:var(--green-primary); }
  .cat-cost    { background: #5b7fa6; }
  .cat-select  { background: #7a9a5b; }
  .cat-paint   { background: #a67a5b; }
  .cat-subsidy { background: #5b7fa6; }
  .cat-trouble { background: #a65b5b; }
  .cat-roof    { background: #5b6ea6; }
  .card-date { font-size: 11px; color: var(--text-light); }
  .card-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 6px;
    color: var(--text-dark);
  }
  .card-excerpt {
    font-size: 11.5px;
    color: var(--text-light);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* more button */
  .more-btn-wrap { text-align: center; margin: 8px 0 36px; }
  .more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--text-dark);
    border-radius: 4px;
    padding: 11px 40px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
    background: #fff;
    color: var(--text-dark);
  }
  .more-btn:hover { background: var(--text-dark); color: #fff; }
  .more-btn-arrow { font-size: 16px; }

  /* ─── SIDEBAR ─── */
  .sidebar-section { margin-bottom: 32px; }
  .sidebar-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-left: 10px;
    border-left: 4px solid var(--green-primary);
  }

  /* popular */
  .popular-list { display: flex; flex-direction: column; gap: 12px; }
  .popular-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
  }
  .popular-item:hover .popular-title { color: var(--green-primary); }
  .popular-num {
    flex: 0 0 24px;
    height: 24px;
    background: var(--green-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-top: 2px;
  }
  .popular-thumb {
    flex: 0 0 70px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
  }
  .popular-thumb-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #666;
    background-size:cover;
    background-position:center;
  }
  .popular-info { flex: 1; }
  .popular-title {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-dark);
    transition: color .15s;
  }
  .popular-date { font-size: 10px; color: var(--text-light); margin-top: 3px; }

  /* category */
  .category-list { display: flex; flex-direction: column; gap: 0; }
  .category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-size: 13px;
    color: var(--text-mid);
    transition: color .15s;
  }
  .category-item:hover { color: var(--green-primary); }
  .category-item-left { display: flex; align-items: center; gap: 8px; }
  .cat-icon { font-size: 15px; }
  .cat-chevron { font-size: 12px; color: var(--text-light); }

  /* ─── ABOUT SECTION ─── */
  .about-section {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
  }
  .about-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 56px 20px 60px;
  }
  .about-section h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 4px solid var(--green-primary);
    line-height: 1.45;
  }
  .about-section p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.95;
    margin-bottom: 16px;
  }
  .about-section p:last-child { margin-bottom: 0; }

  /* ─── CTA BANNER ─── */
  .cta-banner {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
  }
  .cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .cta-icon { font-size: 60px; flex-shrink: 0; }
  .cta-copy { flex: 1; }
  .cta-copy h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
  }
  .cta-copy p {
    font-size: 13px;
    color: var(--text-mid);
    line-height: 1.7;
  }
  .cta-btn-wrap { flex-shrink: 0; text-align: center; }
  .cta-label {
    display: inline-block;
    background: var(--green-primary);
    color: #fff;
    font-size: 11px;
    padding: 3px 12px;
    border-radius: 3px;
    margin-bottom: 8px;
  }
  .cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--orange-btn);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: opacity .15s;
    white-space: nowrap;
  }
  .cta-btn:hover { opacity: .88; }
  .cta-note {
    font-size: 10px;
    color: var(--text-light);
    margin-top: 6px;
    text-align: center;
  }

  /* ─── FOOTER ─── */
  .site-footer {
    background: #2b2b2b;
    color: #ccc;
    padding: 20px;
    text-align: center;
    font-size: 12px;
  }




  /* ─── RESPONSIVE ─── */
  @media (max-width: 860px) {
    .hero-image { display: none; }
    .hero-copy h2 { font-size: 26px; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .main-wrap { flex-direction: column; }
    .sidebar { flex: none; width: 100%; }
    .cta-inner { flex-direction: column; text-align: center; }
  }
  @media (max-width: 560px) {
    .article-grid { grid-template-columns: 1fr; }
    .nav-inner { overflow-x: auto; }
    header .header-search {display:none;}
    .header-search input { width: 140px; }
  }


  /* ─── PAGE LAYOUT ─── */
  .page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 60px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
  }
  .article-area { flex: 1; min-width: 0; }
  .sidebar { flex: 0 0 260px; }

  /* ─── BREADCRUMB ─── */
  .breadcrumb {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space:nowrap;
    overflow:hidden;
  }
  .breadcrumb a { color: var(--text-light); }
  .breadcrumb a:hover { color: var(--green-primary); text-decoration: underline; }
  .breadcrumb-sep { color: #bbb; }

  /* ─── ARTICLE META ─── */
  .article-cat-tag {
    display: inline-block;
    background: #5b7fa6;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
  }
  .article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 14px;
    margin-top: 4px;
  }
  .article-meta span { display: flex; align-items: center; gap: 4px; }

  /* ─── ARTICLE TITLE ─── */
  .article-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
  }
  /* ─── ARTICLE PIC ─── */
  .article-pic {
    margin-bottom: 16px;
  }
  /* ─── LEAD TEXT ─── */
  .article-lead {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 24px;
  }

  /* ─── TOC ─── */
  div#toc_container {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 36px;
  }
  div#toc_container p.toc_title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .toc-toggle {
    font-size: 11px;
    color: var(--green-primary);
    cursor: pointer;
    font-weight: 400;
    border: 1px solid var(--green-primary);
    padding: 1px 6px;
    border-radius: 3px;
  }
  .toc_list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .toc_list li a {
    font-size: 13px;
    color: var(--green-primary);
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.5;
  }
  .toc_list li a::before {
    content: '●';
    font-size: 8px;
    margin-top: 4px;
    flex-shrink: 0;
    color: var(--green-primary);
  }

  /* ─── SECTION HEADING ─── */
  .article-area h2 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 40px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--green-primary);
    line-height: 1.4;
  }
  .article-area h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 24px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
  }

  /* ─── BODY TEXT ─── */
  .article-area p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 14px;
  }


/* table */
.article-area table{
  width:100%;
  border-collapse:collapse;
  margin-bottom:10px;
  font-size:13.5px;
}

.article-area table th{
  background:var(--green-primary);
  color:#fff;
  padding:10px 16px;
  border:1px solid #2d6b2d;
  text-align:center;
}

.article-area table td{
  padding:9px 16px;
  border:1px solid var(--border);
  text-align:center;
}

.article-area table tr:nth-child(even) td{
  background:var(--bg-light);
}

/* ul */
.article-area ul{
  margin:0 0 20px;
  padding:0;
  list-style:none;
}

.article-area ul li{
  position:relative;
  padding-left:22px;
  margin-bottom:8px;
  line-height:1.7;
}

.article-area ul li:before{
  content:"●";
  position:absolute;
  left:0;
  top:0;
  color:var(--green-primary);
  font-size:12px;
}

/* ol */
.article-area ol{
  margin-bottom:20px;
  padding-left:1.5em;
}

.article-area ol li{
  margin-bottom:10px;
}

/* blockquote */
.article-area blockquote{
  background:var(--bg-light);
  border-left:4px solid var(--green-primary);
  padding:18px 20px;
  border-radius:0 6px 6px 0;
  margin:24px 0;
}

/* img */
.article-area img{
  max-width:100%;
  height:auto;
  border-radius:6px;
  margin:24px auto;
}

/* ==========================
   BOX系共通
========================== */

.article-area .alert-box,
.article-area .info-box,
.article-area .summary-box{
  background: var(--bg-light);
  border-left: 4px solid var(--green-primary);
  border-radius: 6px;
  padding: 18px 20px;
  margin: 24px 0;
}

.article-area .alert-box p,
.article-area .info-box p,
.article-area .summary-box p{
  margin-bottom:0;
}

/* ==========================
   比較表
========================== */

.article-area .comp-table-wrap{
  overflow-x:auto;
  margin:24px 0;
}

.article-area .comp-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

.article-area .comp-table th{
  background:var(--green-primary);
  color:#fff;
  padding:10px;
  border:1px solid #2d6b2d;
}

.article-area .comp-table td{
  padding:10px;
  border:1px solid var(--border);
}

.article-area .comp-table tr:nth-child(even){
  background:var(--bg-light);
}

.article-area .highlight{
  background:#fff9e8;
}

.article-area .tag-pickup{
  display:inline-block;
  margin-left:8px;
  background:#ff8a00;
  color:#fff;
  font-size:11px;
  border-radius:3px;
  padding:2px 8px;
}

/* ==========================
   メリットリスト
========================== */

.article-area .merit-list{
  list-style:none;
  margin:20px 0;
  padding:0;
}

.article-area .merit-list li{
  position:relative;
  padding-left:24px;
  margin-bottom:12px;
}

.article-area .merit-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--green-primary);
  font-weight:bold;
}

/* ==========================
   PICKUP BOX
========================== */

.article-area .pickup-box{
  border:1px solid var(--border);
  border-radius:8px;
  overflow:hidden;
  margin:30px 0;
  background:#fff;
}

.article-area .pickup-header{
  background:var(--green-primary);
  color:#fff;
  padding:18px 20px;
  display:flex;
  gap:15px;
  align-items:center;
}

.article-area .pickup-label{
  background:#ff8a00;
  padding:4px 10px;
  border-radius:3px;
  font-size:12px;
  font-weight:bold;
}

.article-area .pickup-title{
  font-size:18px;
  font-weight:bold;
}

.article-area .pickup-body{
  padding:24px;
}

.article-area .pickup-quote{
  background:var(--bg-light);
  border-left:4px solid var(--green-primary);
  padding:16px 20px;
  margin:24px 0;
  font-style:italic;
}

/* ==========================
   会社カード
========================== */

.article-area .company-card{
  border:1px solid var(--border);
  border-radius:8px;
  margin:30px 0;
  overflow:hidden;
}

.article-area .company-card-header{
  background:var(--bg-light);
  padding:18px 20px;
  display:flex;
  align-items:center;
  gap:15px;
}

.article-area .company-num{
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--green-primary);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
}

.article-area .company-name{
  font-size:18px;
  font-weight:700;
}

.article-area .company-sub{
  font-size:13px;
  color:var(--text-light);
}

.article-area .company-body{
  padding:24px;
}

.article-area .company-tag-row{
  margin-bottom:18px;
}

.article-area .company-tag{
  display:inline-block;
  background:var(--green-light);
  color:var(--green-primary);
  padding:4px 10px;
  margin:0 8px 8px 0;
  border-radius:20px;
  font-size:12px;
}

.article-area .company-desc{
  margin-bottom:20px;
}

.article-area .company-info{
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:14px;
}

/* ==========================
   h4も共通化
========================== */

.article-area h4{
  font-size:16px;
  font-weight:700;
  margin:28px 0 12px;
}

/* ==========================
   スマホ
========================== */

@media(max-width:768px){

  .article-area .pickup-header{
    display:block;
  }

  .article-area .company-card-header{
    display:block;
  }

  .article-area .company-num{
    margin-bottom:12px;
  }

}


  /* ─── FAQ / ACCORDION ─── */
  .faq-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 30px; }
  .faq-item {
    border-bottom: 1px solid var(--border);
  }
  .faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    gap: 12px;
    user-select: none;
  }
  .faq-q:hover { color: var(--green-primary); }
  .faq-icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: var(--text-light);
    transition: transform .2s;
  }
  .faq-a {
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.75;
    padding: 0 4px 14px;
    display: none;
  }
  .faq-item.open .faq-a { display: block; }
  .faq-item.open .faq-icon { transform: rotate(45deg); color: var(--green-primary); border-color: var(--green-primary); }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 860px) {
    .page-wrap { flex-direction: column; }
    .sidebar { flex: none; width: 100%; }
    .sidebar-toc { position: static; }
    .points-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-inner { flex-direction: column; text-align: center; }
    .article-title { font-size: 22px; }
  }
  @media (max-width: 560px) {
    .nav-inner { overflow-x: auto; }
    .header-search input { width: 130px; }
    .points-grid { grid-template-columns: 1fr; }
  }
  
  .paginations {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 50px 0;
    padding: 0;
}

.paginations li a,
.paginations li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--text-mid);
    font-size: 13px;
    font-weight: 600;
    transition: .2s;
}


.paginations li a:hover {
    background: var(--green-light);
    border-color: var(--green-primary);
    color: var(--green-primary);
}

/* 現在ページ */
.paginations li.current a {
    background: var(--green-primary);
    border-color: var(--green-primary);
    color: #fff;
    cursor: default;
}

/* 無効 */
.paginations li.previous span,
.paginations li.next span {
    opacity: .4;
}

/* 前へ・次へ */
.paginations li.previous a,
.paginations li.next a {
    font-size: 18px;
}

/* 矢印 */
.paginations li.previous a span::before,
.paginations li.previous span::before {
    content: "‹";
}

.paginations li.next a span::before,
.paginations li.next span::before {
    content: "›";
}