/*
Theme Name: erabi plus
Theme URI: https://erabi-plus.jp/
Author: erabi plus
Description: 選びプラス｜商品比較・選び方メディア向けレスポンシブWordPressテーマ
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: erabi-plus
*/
:root{--green:#15583e;--green-deep:#104631;--lime:#83bd36;--ink:#24322d;--muted:#64716b;--line:#e1e9e3;--cream:#f7f9f4;--white:#fff;--max:1180px;--shadow:0 12px 36px rgba(27,63,39,.065)}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic','Noto Sans JP',sans-serif;color:var(--ink);background:#fff;line-height:1.85;-webkit-font-smoothing:antialiased}a{color:var(--green);text-decoration:none}a:hover{text-decoration:none;color:#7aaa37}button,input{font:inherit}button{cursor:pointer}img{max-width:100%;height:auto}h1,h2,h3,h4,p{overflow-wrap:anywhere}h1,h2,h3{letter-spacing:-.035em}.wrap{width:min(calc(100% - 44px),var(--max));margin-inline:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed!important;left:12px;top:12px;width:auto;height:auto;clip:auto;background:#fff;z-index:9999;padding:10px}.notice-bar{background:var(--green-deep);color:#fff;text-align:center;font-weight:650;font-size:11px;letter-spacing:.14em;line-height:2.9}.notice-dot{display:inline-block;width:6px;height:6px;background:var(--lime);border-radius:50%;margin-right:10px;vertical-align:2px}.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.97);border-bottom:1px solid #edf1ed;backdrop-filter:blur(10px)}.admin-bar .site-header{top:32px}.header-inner{min-height:91px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand-link{display:flex;align-items:center}.brand-logo{display:block;width:min(290px,38vw);height:auto;border-radius:0}.site-nav{margin-left:auto}.menu{display:flex;gap:32px;align-items:center;list-style:none;padding:0;margin:0}.menu li{list-style:none}.menu a{color:var(--ink);font-weight:750;font-size:13px;letter-spacing:.04em;transition:color .2s}.menu a:hover{color:var(--lime)}.header-actions{display:flex;align-items:center;gap:14px}.search-toggle{background:none;border:0;color:var(--green);padding:8px;display:flex}.nav-toggle{display:none;width:39px;height:39px;border:0;background:var(--cream);border-radius:7px;padding:10px;flex-direction:column;justify-content:space-around}.nav-toggle span{height:2px;width:100%;background:var(--green)}.header-search{padding:12px 0 18px;border-top:1px solid var(--line)}.header-search[hidden]{display:none!important}.search-form{display:flex;gap:8px}.search-form input{min-width:0;flex:1;border:1px solid #d7e4db;padding:12px 14px;border-radius:8px;background:#fff;font-size:14px}.search-form button{border:0;border-radius:8px;padding:12px 20px;background:var(--green);color:#fff;font-weight:700;white-space:nowrap}.search-form button:hover,.btn-primary:hover{background:#277956;color:#fff}.hero{overflow:hidden;position:relative;background:linear-gradient(115deg,#f4f8f0 2%,#f9fbf7 52%,#eef5e7 100%);border-bottom:1px solid #e9f0e5}.hero-inner{min-height:532px;display:grid;grid-template-columns:1.12fr .88fr;gap:36px;align-items:center}.hero-copy{padding:55px 0 65px;position:relative;z-index:2}.eyebrow{font-size:11px;letter-spacing:.17em;font-weight:800;color:var(--green)}.eyebrow-dot{display:inline-block;border-radius:50%;width:7px;height:7px;background:var(--lime);margin-right:10px}.hero h1{font-size:clamp(40px,4.3vw,65px);line-height:1.33;letter-spacing:-.07em;margin:22px 0 13px;font-weight:900;color:#172f26}.hero-emphasis{color:var(--green)}.hero-period{color:var(--lime)}.hero-lead{font-size:18px;font-weight:850;color:#274d39;letter-spacing:.02em;margin:0 0 12px}.hero-description{font-size:14px;line-height:2.1;color:#61726a;max-width:540px;margin:0 0 29px}.hero-buttons{display:flex;gap:11px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:13px 22px;min-height:49px;border-radius:8px;font-weight:750;font-size:13px;transition:.2s}.btn-primary{background:var(--green);color:#fff}.btn-outline{border:1px solid #b2c7b6;color:var(--green);background:#fff}.btn-outline:hover{background:#e5f0e2;color:var(--green)}.hero-graphic{position:relative;height:400px;min-width:0}.hero-shape{position:absolute;border-radius:50%}.hero-shape-1{width:350px;height:350px;left:12%;top:5%;background:radial-gradient(circle at 30% 20%,#dcebc6,#bfd9a3 65%,#e9f4db)}.hero-shape-2{width:210px;height:210px;right:0;bottom:-6%;background:#e1ecd5;opacity:.75}.hero-big-plus{position:absolute;right:2%;top:7%;color:#fff;font-size:210px;line-height:1;font-weight:800;text-shadow:0 8px 30px #9fc39577}.hero-visual-card{position:absolute;background:rgba(255,255,255,.96);border-radius:18px;box-shadow:0 20px 60px #1a5c3430;padding:23px 28px;display:flex;flex-direction:column;align-items:flex-start;min-width:188px;z-index:2;border:1px solid #fff}.card-one{left:7%;top:19%;transform:rotate(-7deg)}.card-two{right:2%;bottom:15%;transform:rotate(6deg)}.icon-circle{width:49px;height:49px;border-radius:50%;background:#edf6dd;color:var(--green);font-size:33px;font-weight:900;display:flex;align-items:center;justify-content:center;line-height:1;margin-bottom:14px}.hero-visual-label{font-size:23px;letter-spacing:-.04em;font-weight:900;color:var(--green)}.hero-visual-desc{font-size:12px;color:var(--muted)}.hero-footnote{position:absolute;bottom:2%;left:19%;letter-spacing:.26em;font-size:11px;font-weight:900;color:#76967a}.hero-footnote span{color:var(--lime)}.trust-strip{display:grid;grid-template-columns:repeat(3,1fr);margin-top:0;padding-top:27px;padding-bottom:27px;border-bottom:1px solid var(--line);gap:10px}.trust-strip>div{text-align:center;display:flex;flex-direction:column;line-height:1.7}.trust-strip strong{font-size:11px;letter-spacing:.18em;color:var(--green)}.trust-strip span{font-size:12px;color:var(--muted)}.section{padding:76px 0}.section-kicker{font-weight:850;font-size:11px;letter-spacing:.21em;color:#7fa72d}.section-heading{margin-bottom:28px}.section-heading h2{font-size:clamp(26px,3vw,36px);line-height:1.35;margin:7px 0 7px;letter-spacing:-.05em}.heading-plus{color:var(--lime);font-weight:800;margin-left:4px}.section-heading p{color:var(--muted);font-size:13px;margin:0}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.category-card{position:relative;min-height:160px;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px 22px;transition:.2s;color:var(--ink)}.category-card:hover{border-color:#9cc8a4;transform:translateY(-3px);box-shadow:var(--shadow);color:var(--green)}.category-icon{font-size:27px;color:var(--lime);line-height:1;margin-bottom:16px}.category-name{font-size:17px;font-weight:850}.category-count{font-size:10px;color:#96a39b;letter-spacing:.05em}.category-arrow{position:absolute;right:17px;bottom:17px;color:var(--green);font-weight:850}.category-empty,.empty-message{border:1px dashed #b5cbbc;background:#f8faf6;border-radius:12px;padding:30px;color:var(--muted)}.feature-section{padding:5px 0 25px}.feature-box{border-radius:19px;background:#f0f6e9;padding:25px 40px 40px;overflow:hidden}.feature-label{font-size:11px;letter-spacing:.15em;font-weight:900;color:var(--green);border-bottom:1px solid #cfdfcb;padding-bottom:15px}.feature-label span{color:var(--lime);font-size:17px}.feature-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center;padding-top:28px}.feature-tag,.category-tag{display:inline-flex;background:#e8f2df;border-radius:4px;color:var(--green);padding:3px 10px;font-size:11px;font-weight:800}.feature-copy h2{font-size:clamp(23px,2.7vw,36px);line-height:1.5;margin:14px 0}.feature-copy h2 a{color:var(--ink)}.feature-copy h2 a:hover{color:var(--green)}.feature-copy p{font-size:13px;color:var(--muted);margin:0 0 22px}.feature-image{min-height:270px;display:block;overflow:hidden;background:#dfead8;border-radius:14px}.feature-image img{width:100%;height:300px;object-fit:cover;display:block}.feature-fallback{display:flex;align-items:center;justify-content:center;min-height:270px;background:linear-gradient(140deg,#d2e6c3,#e9f4dc);color:var(--green);font-size:16px;font-weight:850;letter-spacing:.15em;gap:8px}.feature-fallback b{font-size:100px;color:#91bc5b;line-height:1}.latest-section{padding-top:70px}.split-heading{display:flex;justify-content:space-between;align-items:end;gap:20px}.text-link{font-size:13px;font-weight:800;border-bottom:1px solid #9db69c;padding-bottom:5px}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.article-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;transition:box-shadow .2s,transform .2s}.article-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}.card-thumb{display:block;aspect-ratio:1.52;background:#e4efdb;overflow:hidden}.card-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.article-card:hover .card-thumb img{transform:scale(1.03)}.card-placeholder{display:flex;height:100%;flex-direction:column;justify-content:center;align-items:center;color:#74956f;letter-spacing:.24em;font-size:11px;font-weight:900;background:linear-gradient(140deg,#e7efdf,#f3f7ed)}.placeholder-symbol{color:#b5d38e;font-size:72px;line-height:1.2}.card-content{padding:19px 20px 21px}.card-topline{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:9px}.card-topline time{font-size:11px;color:#9aaba1}.card-title{font-size:17px;line-height:1.65;margin:0 0 9px;letter-spacing:-.03em}.card-title a{color:var(--ink)}.card-title a:hover{color:var(--green)}.card-excerpt{font-size:12px;color:var(--muted);line-height:1.9;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.readmore{font-size:12px;font-weight:850;display:inline-flex;gap:8px;align-items:center}.about-strip{background:var(--green-deep);padding:55px 0;color:#fff;overflow:hidden}.about-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}.about-strip .section-kicker{color:#9ccf63}.about-strip h2{font-size:clamp(25px,3.5vw,42px);margin:9px 0 8px;line-height:1.4}.about-strip h2 span{color:#a5d56a}.about-strip p{font-size:13px;color:#d4e2d8;max-width:670px;margin:0}.about-big-plus{font-size:130px;font-weight:800;line-height:1;color:#417b59}.site-footer{background:#173929;color:#d9e8db}.footer-top{display:grid;grid-template-columns:1.7fr 1fr 1fr;gap:60px;padding:55px 0 48px}.footer-brand img{width:250px;max-width:100%;height:auto}.footer-brand p{font-size:12px;color:#bcd0c2;line-height:2.2}.footer-links h2{font-size:14px;color:#fff;margin:0 0 14px}.footer-links ul{list-style:none;margin:0;padding:0}.footer-links li{margin-bottom:8px;font-size:12px}.footer-links a{color:#bed0c4}.footer-links a:hover{color:#fff}.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:1px solid #3c5b45;padding:18px 0;font-size:11px;color:#afc5b5}.footer-bottom p{max-width:790px;margin:0}.footer-bottom small{white-space:nowrap}.page-banner{background:#f1f7ed;padding:43px 0}.page-banner h1{font-size:clamp(25px,3vw,36px);margin:5px 0}.page-banner p,.archive-desc{font-size:13px;color:var(--muted)}.page-banner .search-form{margin-top:15px;max-width:680px}.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#788c80;padding:23px 0;font-size:12px}.breadcrumb a{color:var(--green)}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:32px;align-items:start;padding:0 0 80px}.entry{min-width:0;background:#fff;border:1px solid var(--line);border-radius:14px;padding:clamp(22px,4vw,43px)}.entry-header{margin-bottom:25px}.entry-tags{display:flex;gap:15px;align-items:center;font-size:12px;color:var(--muted)}.entry-title{font-size:clamp(25px,3.5vw,38px);line-height:1.5;margin:15px 0 8px}.entry-updated{color:var(--muted);font-size:12px}.entry-featured{margin:0 0 26px}.entry-featured img{width:100%;height:auto;border-radius:10px}.ad-disclosure{border:1px solid #e3e9de;background:#f7f9f4;border-radius:6px;padding:10px 14px;font-size:11px;color:#66756b;margin:0 0 25px}.entry-content{font-size:15px;line-height:2.05}.entry-content h2{font-size:clamp(21px,2.4vw,27px);border-left:5px solid var(--lime);padding:7px 0 7px 16px;background:#f5f9f0;margin:2.2em 0 1em}.entry-content h3{font-size:20px;border-bottom:1px solid var(--line);padding-bottom:8px;margin-top:1.8em}.entry-content p{margin:1.2em 0}.entry-content img{max-width:100%;height:auto}.entry-content a{text-decoration:underline;text-underline-offset:3px}.entry-content table{border-collapse:collapse;width:100%;display:block;overflow-x:auto;white-space:nowrap;margin:24px 0;font-size:13px}.entry-content th,.entry-content td{border:1px solid #dce9dc;padding:13px 15px}.entry-content th{background:#eff5e9}.entry-content blockquote{margin:25px 0;padding:20px 25px;background:#f4f8ef;border-left:4px solid var(--lime)}.entry-content ul,.entry-content ol{padding-left:25px}.entry-content .wp-block-button__link{background:var(--green);color:#fff;text-decoration:none;border-radius:8px;padding:13px 25px}.entry-content .wp-block-button__link:hover{background:#287952}.post-bottom{border-top:1px solid var(--line);padding-top:20px;margin-top:36px;display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;font-size:12px}.post-bottom a{font-weight:850}.sidebar .widget{border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:18px;background:#fff}.sidebar-intro{background:#f2f8ee!important}.sidebar-intro img{width:210px}.sidebar-intro p{font-size:12px;line-height:2;color:var(--muted)}.widget-title{font-size:15px;border-bottom:1px solid var(--line);padding-bottom:11px;margin:0 0 14px}.widget ul{padding-left:17px;font-size:13px}.widget li{margin:5px 0}.pagination{margin:35px auto;text-align:center}.nav-links{display:flex;justify-content:center;gap:6px;flex-wrap:wrap}.page-numbers{border:1px solid var(--line);border-radius:6px;padding:7px 13px}.page-numbers.current{background:var(--green);color:#fff}.not-found{max-width:700px;text-align:center}.not-found h1{font-size:32px}.not-found .search-form{margin:25px 0}.not-found .btn{margin-top:20px}
@media(max-width:1000px){.menu{gap:19px}.header-inner{min-height:78px}.brand-logo{width:240px}.hero-inner{min-height:460px}.hero-graphic{height:330px}.hero-shape-1{width:300px;height:300px}.hero-big-plus{font-size:160px}.hero-visual-card{padding:18px;min-width:160px}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.content-layout{grid-template-columns:minmax(0,1fr) 240px;gap:20px}}
@media(max-width:780px){.admin-bar .site-header{top:46px}.wrap{width:min(calc(100% - 32px),var(--max))}.header-inner{min-height:69px}.brand-logo{width:220px;max-width:65vw}.nav-toggle{display:flex}.site-nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 14px 20px #00000010}.site-nav.open{display:block}.menu{flex-direction:column;align-items:stretch;gap:0;padding:8px 22px 16px}.menu a{display:block;padding:12px;border-bottom:1px solid #edf0ec}.hero-inner{grid-template-columns:1fr;gap:0;min-height:0}.hero-copy{padding:52px 0 32px}.hero h1{font-size:clamp(35px,8vw,50px)}.hero-graphic{height:240px;margin:0 auto 16px;width:min(100%,420px)}.hero-shape-1{width:250px;height:250px;left:17%;top:0}.hero-shape-2{width:140px;height:140px}.hero-big-plus{font-size:140px;right:10%}.hero-visual-card{min-width:143px;padding:13px 16px;border-radius:13px}.card-one{top:14%}.card-two{bottom:10%}.icon-circle{width:35px;height:35px;font-size:26px;margin-bottom:5px}.hero-visual-label{font-size:18px}.trust-strip{padding:19px 0}.trust-strip strong{font-size:9px}.trust-strip span{font-size:10px}.section{padding:55px 0}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-card{min-height:135px;padding:17px}.feature-box{padding:20px}.feature-layout{grid-template-columns:1fr}.feature-image{min-height:200px}.feature-image img{height:240px}.article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.content-layout{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.sidebar .widget{margin-bottom:0}.footer-top{grid-template-columns:1.4fr 1fr;gap:27px}.footer-brand{grid-column:span 2}.about-big-plus{font-size:90px}}
@media(max-width:500px){.notice-bar{font-size:9px;letter-spacing:.05em}.brand-logo{width:192px}.header-actions{gap:3px}.hero h1{font-size:37px}.hero-lead{font-size:16px}.hero-description{font-size:13px}.hero-buttons{gap:9px}.btn{padding:12px 15px;font-size:12px}.hero-graphic{height:225px}.trust-strip{gap:4px}.trust-strip strong{font-size:8px;letter-spacing:.06em}.trust-strip span{font-size:9px}.section-heading h2{font-size:26px}.category-name{font-size:15px}.feature-box{padding:17px}.feature-copy h2{font-size:25px}.article-grid{grid-template-columns:1fr}.article-card{display:grid;grid-template-columns:39% 61%;min-height:155px}.card-thumb{height:100%;aspect-ratio:auto}.card-content{padding:13px}.card-title{font-size:14px;line-height:1.55}.card-excerpt{display:none}.card-topline{align-items:start}.category-tag{font-size:9px;padding:3px 6px}.card-topline time{font-size:9px}.readmore{margin-top:8px}.split-heading{align-items:start;flex-direction:column}.sidebar{grid-template-columns:1fr}.footer-top{grid-template-columns:1fr 1fr;gap:24px}.footer-brand{grid-column:span 2}.footer-bottom{flex-direction:column;align-items:flex-start;gap:8px}.about-big-plus{display:none}.entry{padding:20px}.entry-title{font-size:25px}.search-form button{padding:10px 14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Sidebar refinement */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar .widget {
  margin: 0;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid #e6ebe6;
  border-radius: 16px;
}

.sidebar .widget-title {
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid #e6ebe6;
  color: #263c32;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.sidebar-intro img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 230px;
  margin: 0 auto 16px;
}

.sidebar-intro p {
  margin: 0;
  color: #65736a;
  font-size: 13px;
  line-height: 1.9;
}

.sidebar-ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sidebar-rank;
}

.sidebar-ranking-list li {
  counter-increment: sidebar-rank;
  border-bottom: 1px solid #edf0ec;
}

.sidebar-ranking-list li:last-child {
  border-bottom: 0;
}

.sidebar-ranking-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  color: #263c32;
  text-decoration: none;
}

.sidebar-ranking-list a::before {
  content: counter(sidebar-rank, decimal-leading-zero);
  flex-shrink: 0;
  color: #82a18a;
  font-size: 13px;
  font-weight: 800;
}

.sidebar-ranking-list img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
}

.sidebar-ranking-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.sidebar-categories ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sidebar-categories li {
  border-bottom: 1px solid #edf0ec;
}

.sidebar-categories li:last-child {
  border-bottom: 0;
}

.sidebar-categories a {
  display: block;
  padding: 12px 0;
  color: #33483b;
  text-decoration: none;
  font-size: 14px;
}

.sidebar-categories a:hover,
.sidebar-ranking-list a:hover {
  color: #4c8460;
}

/* Article summary */
.entry-summary {
  margin: 30px 0;
  padding: 24px 28px;
  background: #f2f7f2;
  border-left: 4px solid #4f8061;
  border-radius: 0 12px 12px 0;
}

.entry-summary-label {
  display: block;
  margin-bottom: 9px;
  color: #2d6240;
  font-size: 14px;
  font-weight: 800;
}

.entry-summary p {
  margin: 0;
  line-height: 1.9;
}

/* Table of contents */
.entry-toc {
  margin: 34px 0;
  padding: 25px 28px;
  background: #f8faf8;
  border: 1px solid #e2eae2;
  border-radius: 14px;
}

.entry-toc[hidden] {
  display: none;
}

.entry-toc-title {
  margin: 0 0 14px;
  color: #2e4b3a;
  font-weight: 800;
}

.entry-toc-list {
  margin: 0;
  padding-left: 22px;
}

.entry-toc-list li {
  margin: 10px 0;
  line-height: 1.7;
}

.entry-toc-list a {
  color: #385d46;
  text-decoration: none;
}

.entry-toc-list a:hover {
  text-decoration: underline;
}

/* Article content */
.entry-content h2,
.entry-content h3 {
  scroll-margin-top: 100px;
}

.entry-content h2 {
  margin-top: 50px;
  padding-bottom: 12px;
  border-bottom: 2px solid #dce9dd;
}

.entry-content h3 {
  margin-top: 32px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.entry-content th,
.entry-content td {
  padding: 14px;
  border: 1px solid #e1e8e1;
}

.entry-content th {
  background: #edf5ed;
  color: #2d4938;
}

/* Affiliate purchase buttons */
.entry-content .wp-block-button__link {
  background: #326d48;
  border-radius: 9px;
  font-weight: 700;
  padding: 15px 25px;
  transition: background .2s, transform .2s;
}

.entry-content .wp-block-button__link:hover {
  background: #245638;
  transform: translateY(-2px);
}

/* Related articles */
.entry-related {
  margin-top: 55px;
  padding-top: 32px;
  border-top: 1px solid #e1e9e1;
}

.entry-related-title {
  margin: 0 0 22px;
  font-size: 22px;
  color: #263e30;
}

.entry-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.entry-related-card {
  color: #293c31;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.entry-related-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 9px;
  margin-bottom: 10px;
}

@media (max-width: 700px) {
  .entry-summary,
  .entry-toc {
    padding: 20px;
  }

  .entry-related-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .entry-related-card {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .entry-related-card img {
    width: 110px;
    flex-shrink: 0;
    margin: 0;
  }
}

/* 選びプラス 商品比較表 */
.entry-content .wp-block-table {
  margin: 32px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.entry-content .wp-block-table table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #dce8dd;
  border-radius: 12px;
  overflow: hidden;
}

.entry-content .wp-block-table th {
  background: #eaf3eb;
  color: #284c35;
  font-weight: 700;
  text-align: center;
}

.entry-content .wp-block-table td,
.entry-content .wp-block-table th {
  padding: 16px 14px;
  border: 0;
  border-bottom: 1px solid #e8eee8;
  border-right: 1px solid #e8eee8;
  font-size: 14px;
  line-height: 1.7;
}

.entry-content .wp-block-table tr:last-child td {
  border-bottom: 0;
}

.entry-content .wp-block-table tr > :last-child {
  border-right: 0;
}

.entry-content .wp-block-table tbody tr:hover {
  background: #f7faf7;
}

/* アフィリエイト購入ボタン */
.entry-content .affiliate-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 9px;
  background: #32764b;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease;
}

.entry-content .affiliate-button:hover {
  background: #225b36;
  color: #fff;
}

.entry-content .affiliate-button:focus-visible {
  outline: 3px solid #91bb93;
  outline-offset: 3px;
}

/* 商品比較表の横幅修正 */
.entry-content figure.wp-block-table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 32px 0;
  overflow-x: auto;
  border: 1px solid #dce8dd;
  border-radius: 12px;
}

.entry-content figure.wp-block-table table {
  display: table;
  width: 100%;
  min-width: 0;
  table-layout: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.entry-content figure.wp-block-table th,
.entry-content figure.wp-block-table td {
  border-right: 1px solid #e8eee8;
  border-bottom: 1px solid #e8eee8;
  vertical-align: middle;
}

.entry-content figure.wp-block-table tr > :last-child {
  border-right: 0;
}

@media (max-width: 600px) {
  .entry-content figure.wp-block-table table {
    min-width: 520px;
  }
}

/* =====================================
   選びプラス 商品カード
===================================== */

.erabi-product-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 26px;
  row-gap: 20px;
  margin: 36px 0;
  padding: 26px;
  background: #fff;
  border: 1px solid #dfe9e1;
  border-radius: 16px;
  box-shadow: 0 5px 22px rgba(28, 68, 42, .05);
}

.erabi-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9f6;
  border-radius: 12px;
  min-height: 180px;
}

.erabi-product-image img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

.erabi-product-info {
  min-width: 0;
}

.erabi-product-label {
  display: inline-block;
  padding: 5px 11px;
  color: #38704c;
  background: #edf5ed;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
}

.erabi-product-name {
  margin: 12px 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #243d2d;
  font-size: 20px;
  line-height: 1.5;
}

.erabi-product-description {
  margin: 0 0 14px;
  color: #657168;
  font-size: 14px;
  line-height: 1.8;
}

.erabi-product-price {
  margin: 0;
  color: #253d2d;
  font-size: 23px;
  font-weight: 800;
}

.erabi-product-price small {
  margin-left: 6px;
  color: #879188;
  font-size: 11px;
  font-weight: 400;
}

.erabi-product-links {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.erabi-product-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px;
  border-radius: 9px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .2s ease;
}

.erabi-product-links a:hover {
  color: #fff;
  opacity: .85;
}

.erabi-buy-rakuten {
  background: #bf2e42;
}

.erabi-buy-amazon {
  background: #de8c23;
}

@media (max-width: 650px) {
  .erabi-product-card {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 17px;
  }

  .erabi-product-image {
    min-height: 190px;
  }

  .erabi-product-image img {
    max-height: 190px;
  }

  .erabi-product-name {
    font-size: 18px;
  }

  .erabi-product-links {
    grid-column: 1;
    grid-template-columns: 1fr;
  }
}
/* 商品画像がない場合は横幅いっぱいに表示 */
.erabi-product-card.no-image {
  grid-template-columns: 1fr;
}

.erabi-product-card.no-image .erabi-product-info {
  grid-column: 1 / -1;
}

.erabi-product-card.no-image .erabi-product-links {
  grid-column: 1 / -1;
}