/* ===== Blog Page ===== */

.blog-main { padding-top: 0; }

/* Hero */
.blog-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(72px, 9vw, 108px) clamp(20px, 6vw, 80px) clamp(60px, 7vw, 88px);
}
.blog-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.blog-hero .eyebrow {
  color: var(--green-mid);
  border-left-color: var(--green);
  margin-bottom: 16px;
}
.blog-hero h1 {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.25;
}
.blog-hero-lead {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  max-width: 620px;
  margin: 0;
  line-height: 1.9;
}

/* Blog List */
.blog-list-section {
  background: var(--bg-light);
  border-top: 1px solid var(--line);
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 80px);
  min-height: 480px;
}
.blog-list-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.blog-empty {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  padding: 80px 0;
}

/* List style */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

.blog-list-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
}
.blog-list-item:last-child { border-bottom: none; }
.blog-list-item:hover { background: var(--bg-light); }

.blog-list-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 120px;
}

.blog-list-body {
  flex: 1;
}
.blog-list-title {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 6px;
}
.blog-list-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.blog-list-more {
  font-size: 12.5px;
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Grid style (kept for future use) */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 20px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-xs);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.blog-card-category {
  background: var(--green-light);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.06em;
}
.blog-card-date {
  font-size: 12px;
  color: var(--subtle);
}
.blog-card-title {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-more {
  font-size: 12.5px;
  color: var(--green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-card-more::after { content: ' →'; }

/* Post Hero */
.post-hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(56px, 7vw, 80px) clamp(20px, 6vw, 80px) clamp(44px, 5vw, 64px);
}
.post-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}
.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.post-hero-meta .blog-card-category {
  background: rgba(30,116,111,0.22);
  color: #7ecfca;
  border: 1px solid rgba(30,116,111,0.4);
}
.post-hero-meta time {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.post-hero-title {
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.45;
  margin: 0;
}

/* Post Body */
.post-body-wrap {
  background: var(--white);
  padding: 0 clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.blog-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 3.5rem 0;
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink);
}

.blog-wrap .catchcopy {
  border-left: 3px solid var(--green);
  background: var(--green-light);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2.5rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.blog-wrap .catchcopy .label {
  font-size: 11px;
  color: var(--subtle);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  display: block;
}
.blog-wrap .catchcopy p {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.55;
  margin: 0;
}

.blog-wrap .intro {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.95;
}

.blog-wrap .toc {
  background: var(--bg-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.75rem;
  margin-bottom: 3rem;
}
.blog-wrap .toc h2 {
  font-size: 11px;
  font-weight: 800;
  color: var(--subtle);
  margin: 0 0 0.75rem;
  border: none;
  padding: 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.blog-wrap .toc ol { margin: 0; padding-left: 1.25rem; }
.blog-wrap .toc ol li { font-size: 14px; padding: 4px 0; color: var(--muted); }
.blog-wrap .toc ol li a { color: var(--green); text-decoration: none; }
.blog-wrap .toc ol li a:hover { text-decoration: underline; }

.blog-wrap h2.section-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  border-left: 3px solid var(--green);
  padding-left: 0.85rem;
  margin: 0 0 1rem;
  line-height: 1.5;
}
.blog-wrap .section-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.95;
  margin-bottom: 1rem;
}

.blog-wrap .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.75rem;
  font-size: 13.5px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.blog-wrap .compare-table th {
  padding: 0.7rem 1rem;
  text-align: center;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.blog-wrap .compare-table th.th-blank { background: var(--bg-light); }
.blog-wrap .compare-table th.th-reform { background: #fff8e1; color: #b07d00; }
.blog-wrap .compare-table th.th-renov  { background: var(--green-light); color: var(--green); }
.blog-wrap .compare-table td {
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--line-light);
  vertical-align: top;
}
.blog-wrap .compare-table td.td-label {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--muted);
  background: var(--bg-light);
  white-space: nowrap;
}
.blog-wrap .compare-table td.td-reform { background: #fffdf0; color: #b07d00; }
.blog-wrap .compare-table td.td-renov  { background: var(--green-light); color: var(--green-dark); }

.blog-wrap .point-box {
  background: var(--green-light);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.5rem;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
}
.blog-wrap .point-box strong {
  display: block;
  font-size: 11px;
  color: var(--green);
  margin-bottom: 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.blog-wrap .warn-box {
  background: #fff8e1;
  border-left: 3px solid #b07d00;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.1rem 1.4rem;
  margin-bottom: 2.5rem;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.8;
}
.blog-wrap .warn-box strong {
  display: block;
  font-size: 11px;
  color: #b07d00;
  margin-bottom: 0.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.blog-wrap .summary-box {
  background: var(--green-light);
  border: 1px solid rgba(30,116,111,0.22);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  margin: 2rem 0 2.5rem;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.9;
}
.blog-wrap .summary-box h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
  margin: 0 0 0.75rem;
}

.blog-wrap hr.section-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.blog-wrap .cta-block {
  background: var(--green-light);
  border: 1px solid rgba(30,116,111,0.18);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.75rem;
  text-align: center;
  margin-top: 3rem;
}
.blog-wrap .cta-block p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 1.4rem;
  line-height: 1.8;
}
.blog-wrap .cta-block a {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background 0.18s;
}
.blog-wrap .cta-block a:hover { background: var(--green-dark); }

/* Post Nav */
.post-nav {
  background: var(--bg-light);
  padding: clamp(36px, 5vw, 56px) clamp(20px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.post-nav-inner {
  max-width: 860px;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.post-nav-link {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: var(--shadow-xs);
}
.post-nav-link:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-nav-link.next { text-align: right; }
.post-nav-label {
  font-size: 11px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post-nav-title {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.55;
  font-weight: 600;
}
.post-nav-back {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.post-nav-back a {
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-nav-back a::before { content: '←'; }
.post-nav-back a:hover { text-decoration: underline; }

/* 404 */
.blog-notfound {
  max-width: 600px;
  margin: 100px auto;
  text-align: center;
  padding: 0 24px;
}
.blog-notfound p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .post-nav-inner { grid-template-columns: 1fr; }
  .post-nav-link.next { text-align: left; }
}


/*20260629追加*/
.blog-post-section{
    padding: 0;
}

.blog-post-inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.blog-post-body{
    line-height: 2;
}

.blog-post-body img{
    max-width: 100%;
    height: auto;
}

table {
    display: table;
    border-collapse: separate;
    box-sizing: border-box;
    text-indent: initial;
    unicode-bidi: isolate;
    border-spacing: 2px;
    border-color: gray;
}



.data-table {
   width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}

.data-table th {
    background: var(--bg-section);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    padding: 10px 16px;
    text-align: center;
}


.data-table td {
    border: 1px solid var(--line);
    padding: 10px 16px;
    vertical-align: middle;
}


.data-table td:first-child {
    font-weight: 600;
}


.article-body .point-box {
    background: var(--green-light);
    border-left: 4px solid var(--green);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 16px 20px;
    margin: 24px 0;
    font-size: 14px;
}


.article-body h2 {
    font-size: clamp(18px, 2.2vw, 24px);
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.article-body .point-box strong {
    color: var(--green);
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: .08em;
}


.article-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    max-width: var(--max-w);
    margin: 0 auto;
   padding: 48px clamp(16px, 5vw, 56px);
}

aside {
    display: block;
    unicode-bidi: isolate;
}

.article-toc {
    background: var(--bg-light);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 80px;
}