/* ==============================
   相続登記ブログ - style.css
   Base Color: Green (#2e7d32)
   ============================== */

/* --- Reset & Base --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'Noto Sans JP','Hiragino Kaku Gothic ProN','Yu Gothic',sans-serif;
  color:#333;
  background:#f5f9f5;
  line-height:1.9;
  letter-spacing:.02em;
  -webkit-font-smoothing:antialiased;
}
img,svg{max-width:100%;height:auto;display:block}
a{color:#2e7d32;text-decoration:none;transition:color .2s}
a:hover{color:#1b5e20;text-decoration:underline}

/* --- Layout --- */
.l-wrapper{max-width:860px;margin:0 auto;padding:0 20px}
.l-article{background:#fff;border-radius:16px;box-shadow:0 2px 24px rgba(0,0,0,.06);margin:24px auto;padding:40px 48px 56px}
@media(max-width:768px){
  .l-article{padding:24px 18px 32px;margin:12px 8px;border-radius:12px}
}

/* --- Header --- */
.site-header{
  background:linear-gradient(135deg,#2e7d32 0%,#388e3c 60%,#43a047 100%);
  color:#fff;
  padding:18px 0;
  position:sticky;top:0;z-index:100;
  box-shadow:0 2px 12px rgba(0,0,0,.15);
}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.site-header__logo{font-size:15px;font-weight:700;letter-spacing:.04em}
.site-header__logo a{color:#fff}
.site-header__logo a:hover{text-decoration:none;opacity:.85}
.site-header__nav{font-size:12px;color:rgba(255,255,255,.85)}

/* --- Breadcrumb --- */
.breadcrumb{font-size:12px;color:#888;padding:16px 0 0;margin-bottom:0}
.breadcrumb a{color:#66bb6a}
.breadcrumb span{margin:0 6px;color:#bbb}

/* --- Hero --- */
.hero{
  background:linear-gradient(135deg,#e8f5e9 0%,#c8e6c9 100%);
  border-radius:12px;
  padding:40px 36px;
  margin-bottom:36px;
  border-left:6px solid #2e7d32;
}
.hero__label{
  display:inline-block;
  background:#2e7d32;
  color:#fff;
  font-size:11px;
  font-weight:700;
  padding:3px 12px;
  border-radius:20px;
  margin-bottom:12px;
  letter-spacing:.06em;
}
.hero h1{
  font-size:26px;
  line-height:1.5;
  color:#1b5e20;
  font-weight:800;
  margin-bottom:12px;
}
@media(max-width:768px){
  .hero{padding:24px 18px}
  .hero h1{font-size:20px}
}
.hero__meta{font-size:12px;color:#666;display:flex;gap:16px;flex-wrap:wrap}

/* --- Lead --- */
.lead{
  font-size:15px;
  line-height:2;
  color:#444;
  margin-bottom:32px;
  padding:20px 24px;
  background:#fafffe;
  border-radius:8px;
  border:1px solid #e0e0e0;
}

/* --- TOC --- */
.toc{
  background:#f1f8e9;
  border:2px solid #c5e1a5;
  border-radius:12px;
  padding:24px 28px;
  margin-bottom:40px;
}
.toc__title{font-size:15px;font-weight:700;color:#2e7d32;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.toc ol{counter-reset:toc;padding-left:0;list-style:none}
.toc li{counter-increment:toc;margin-bottom:6px;font-size:14px;line-height:1.7}
.toc li::before{content:counter(toc)".";color:#43a047;font-weight:700;margin-right:6px}
.toc li a{color:#333}
.toc li a:hover{color:#2e7d32}

/* --- Headings --- */
.article h2{
  font-size:22px;
  font-weight:800;
  color:#1b5e20;
  margin:48px 0 20px;
  padding:14px 20px;
  background:linear-gradient(90deg,#e8f5e9,transparent);
  border-left:5px solid #2e7d32;
  border-radius:0 8px 8px 0;
  line-height:1.5;
}
.article h3{
  font-size:17px;
  font-weight:700;
  color:#2e7d32;
  margin:28px 0 14px;
  padding-bottom:6px;
  border-bottom:2px dashed #c8e6c9;
}
@media(max-width:768px){
  .article h2{font-size:18px;padding:12px 14px}
  .article h3{font-size:15px}
}

/* --- Paragraphs --- */
.article p{margin-bottom:18px;font-size:15px;line-height:2}

/* --- Strong Text --- */
.article strong{color:#1b5e20}

/* --- Alert / Info Box --- */
.alert-box{
  background:#fff3e0;
  border-left:5px solid #ef6c00;
  border-radius:0 10px 10px 0;
  padding:20px 24px;
  margin:24px 0;
  font-size:14px;
  line-height:1.9;
}
.alert-box__title{font-weight:700;color:#e65100;margin-bottom:6px;font-size:15px}
.info-box{
  background:#e3f2fd;
  border-left:5px solid #1976d2;
  border-radius:0 10px 10px 0;
  padding:20px 24px;
  margin:24px 0;
  font-size:14px;
  line-height:1.9;
}
.green-box{
  background:#e8f5e9;
  border:2px solid #a5d6a7;
  border-radius:10px;
  padding:20px 24px;
  margin:24px 0;
  font-size:14px;
  line-height:1.9;
}

/* --- Tables --- */
.article table{
  width:100%;
  border-collapse:collapse;
  margin:20px 0 28px;
  font-size:14px;
  background:#fff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 1px 6px rgba(0,0,0,.06);
}
.article thead{background:#2e7d32;color:#fff}
.article th{padding:12px 14px;font-weight:600;text-align:left;font-size:13px}
.article td{padding:12px 14px;border-bottom:1px solid #e8e8e8}
.article tbody tr:nth-child(even){background:#f9fdf9}
.article tbody tr:hover{background:#e8f5e9}
@media(max-width:768px){
  .article table{font-size:12px;display:block;overflow-x:auto}
  .article th,.article td{padding:8px 10px;white-space:nowrap}
}

/* --- Lists --- */
.article ul,.article ol{margin:12px 0 20px 24px;font-size:14px}
.article li{margin-bottom:8px;line-height:1.8}

/* --- SVG Figure --- */
.svg-figure{margin:28px 0;text-align:center}
.svg-figure svg{border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.08)}
.svg-figure figcaption{font-size:12px;color:#888;margin-top:8px}

/* --- Step Cards --- */
.step-card{
  background:#fff;
  border:1px solid #e0e0e0;
  border-radius:12px;
  padding:20px 24px;
  margin:16px 0;
  position:relative;
  padding-left:64px;
}
.step-card__num{
  position:absolute;
  left:16px;
  top:18px;
  width:36px;height:36px;
  background:#43a047;
  color:#fff;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:700;
}
.step-card__title{font-size:15px;font-weight:700;color:#2e7d32;margin-bottom:6px}
.step-card__body{font-size:14px;color:#555;line-height:1.9}

/* --- Office Cards (5選) --- */
.office-card{
  background:#fff;
  border:1px solid #ddd;
  border-radius:12px;
  padding:20px 24px;
  margin:16px 0;
  transition:box-shadow .2s;
}
.office-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.1)}
.office-card__name{font-size:16px;font-weight:700;color:#1b5e20;margin-bottom:4px}
.office-card__info{font-size:13px;color:#666;margin-bottom:6px}
.office-card__desc{font-size:14px;color:#444;line-height:1.8}
.office-card__link{display:inline-block;margin-top:8px;font-size:13px;color:#2e7d32;font-weight:600}

/* --- FAQ --- */
.faq-item{
  border:1px solid #e0e0e0;
  border-radius:10px;
  margin:12px 0;
  overflow:hidden;
}
.faq-item__q{
  background:#e8f5e9;
  padding:16px 20px;
  font-size:15px;
  font-weight:700;
  color:#1b5e20;
  cursor:default;
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.faq-item__q::before{content:"Q.";color:#43a047;font-size:18px;font-weight:800;flex-shrink:0}
.faq-item__a{
  padding:16px 20px 16px 48px;
  font-size:14px;
  line-height:1.9;
  color:#444;
  position:relative;
}
.faq-item__a::before{content:"A.";position:absolute;left:20px;top:16px;color:#ef6c00;font-size:18px;font-weight:800}

/* --- CTA --- */
.cta{
  background:linear-gradient(135deg,#2e7d32,#43a047);
  color:#fff;
  border-radius:14px;
  padding:32px 28px;
  margin:36px 0;
  text-align:center;
}
.cta__title{font-size:20px;font-weight:800;margin-bottom:10px}
.cta__text{font-size:14px;margin-bottom:16px;opacity:.92;line-height:1.8}
.cta__btn{
  display:inline-block;
  background:#fff;
  color:#2e7d32;
  font-weight:700;
  font-size:15px;
  padding:12px 36px;
  border-radius:50px;
  transition:transform .2s,box-shadow .2s;
  box-shadow:0 2px 8px rgba(0,0,0,.15);
}
.cta__btn:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.2);text-decoration:none}

/* --- Author / Credit --- */
.author-section{
  background:#f5f9f5;
  border-radius:12px;
  padding:28px 24px;
  margin:40px 0 20px;
}
.author-section__title{font-size:16px;font-weight:700;color:#2e7d32;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #c8e6c9}
.author-card{display:flex;gap:16px;align-items:flex-start;margin-bottom:16px;padding:12px 0;border-bottom:1px solid #e0e0e0}
.author-card:last-child{border-bottom:none;margin-bottom:0}
.author-card__icon{
  width:52px;height:52px;
  background:#e8f5e9;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:22px;
  flex-shrink:0;
}
.author-card__name{font-size:14px;font-weight:700;color:#333}
.author-card__name a{color:#2e7d32}
.author-card__desc{font-size:13px;color:#666;line-height:1.7;margin-top:4px}

/* --- Disclaimer --- */
.disclaimer{
  background:#fafafa;
  border:1px solid #e0e0e0;
  border-radius:8px;
  padding:16px 20px;
  font-size:12px;
  color:#888;
  line-height:1.8;
  margin:20px 0 40px;
}

/* --- Footer --- */
.site-footer{
  background:#1b5e20;
  color:rgba(255,255,255,.75);
  text-align:center;
  padding:24px 16px;
  font-size:12px;
}
.site-footer a{color:#a5d6a7}

/* --- Utility --- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.text-center{text-align:center}
.text-small{font-size:13px;color:#777}
.marker{background:linear-gradient(transparent 60%,#c8e6c9 60%)}
