:root {
    --g: #087638;
    --gd: #045629;
    --lg: #eef8f0;
    --red: #e72743;
    --orange: #ff7900;
    --ink: #16231b;
    --line: #dbe5dd;
    --max: 1180px;
    --shadow: 0 8px 26px #173b2312
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

html {
  scroll-behavior: smooth;
}

/* 固定ヘッダーがある場合の位置調整 */
html {
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
    margin: 0;
    color: var(--ink);
    font-family: -apple-system,BlinkMacSystemFont,"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
    line-height: 1.7;
    background: #fff
}

img {
    max-width: 100%;
    display: block
}

a {
    color: inherit
}

.inner {
    width: min(var(--max),calc(100% - 40px));
    margin: auto
}

.site-header {
    height: 72px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fffffff2;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e9efea
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 28px
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 auto
}

.logo img {
    display: block;
    width: 150px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center
}

.pc-nav {
    display: flex;
    gap: 22px;
    margin-left: auto
}

.pc-nav a {
    text-decoration: none;
    font-weight: 800;
    font-size: 13px
}

.header-cta {
    background: var(--g);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    padding: 11px 16px;
    font-weight: 900;
    font-size: 13px
}

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 25px
}

.hero {
    min-height: 590px;
    position: relative;
    overflow: hidden;
    background: #e9f5f7
}

.hero-photo {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#fff 0%,#fffffff2 42%,#ffffff20 67%),url('hero-apartment.jpg') 72% center/cover no-repeat
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 590px;
    display: flex;
    align-items: center
}

.hero-copy {
    width: 72%;
    padding: 42px 0
}

.eyebrow {
    display: inline-block;
    background: var(--g);
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    padding: 5px 13px
}

.hero h1 {
    font-size: clamp(43px,5.5vw,70px);
    line-height: 1.16;
    margin: 15px 0
}

.hero h1 span {
    color: var(--g)
}

.hero-copy>p {
    font-weight: 800;
    max-width: 690px
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    max-width: 830px;
    margin-top: 20px
}

.hero-stats>div,.proof>div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    text-align: center;
    padding: 13px;
    box-shadow: var(--shadow)
}

.hero-stats small,.hero-stats strong {
    display: block;
    font-weight: 800
}

.hero-stats b {
    display: block;
    color: var(--g);
    font-size: 31px;
    line-height: 1.15
}

.hero-stats em {
    font-style: normal;
    font-size: 14px
}

.proof {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    max-width: 830px;
    margin-top: 10px
}

.proof b {
    display: block;
    color: var(--g);
    font-size: 22px
}

.proof span {
    font-size: 12px;
    font-weight: 800
}

.section {
    padding: 65px 0
}

.section.alt {
    background: #f7faf7
}

.section h2 {
    text-align: center;
    font-size: clamp(26px,3vw,38px);
    line-height: 1.4;
    margin: 0 0 32px
}

.section h2>span:not(.number-title span) {
    color: var(--g)
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.problem-grid article {
    display: grid;
    grid-template-columns: 1fr 43%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 11px;
    box-shadow: var(--shadow);
    background: #fff
}

.problem-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 190px
}

.problem-text {
    padding: 25px
}

.problem-text i {
    font-style: normal;
    font-size: 30px;
    color: var(--g)
}

.problem-text h3 {
    font-size: 25px;
    line-height: 1.35;
    color: var(--g);
    margin: 2px 0
}

.problem-text p {
    font-size: 13px
}

.problem-grid .red h3,.problem-grid .red i {
    color: var(--red)
}

.solution {
    text-align: center;
    font-size: 23px;
    font-weight: 900
}

.solution b {
    color: var(--g)
}

.number-title {
    text-align: left!important;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px
}

.number-title>span {
    display: inline-grid;
    place-items: center;
    background: var(--gd);
    color: #fff;
    width: 52px;
    height: 44px;
    border-radius: 8px;
    margin-right: 12px;
    font-size: 22px
}

.income-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.income-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    box-shadow: var(--shadow)
}

.income-grid h3 {
    text-align: center;
    font-size: 16px
}

.versus {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: center;
    gap: 7px
}

.versus>div {
    background: #edf8ef;
    border-radius: 9px;
    padding: 15px;
    text-align: center
}

.versus .blue {
    background: #edf5ff
}

.versus .pink {
    background: #fff0f1
}

.versus small,.versus span {
    display: block;
    font-size: 12px
}

.versus b {
    font-size: 23px;
    color: var(--g)
}

.versus i {
    font-style: normal;
    background: #18201b;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 900
}

.loss {
    display: block;
    background: var(--red);
    color: #fff;
    border-radius: 999px;
    text-align: center;
    max-width: 330px;
    margin: 14px auto 0;
    padding: 4px
}

.measures {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden
}

.measures article {
    text-align: center;
    padding: 23px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.measures article:nth-child(3n) {
    border-right: 0
}

.measures article:nth-child(n+4) {
    border-bottom: 0
}

.measures article>b {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--g);
    color: #fff
}

.measures h3 {
    display: inline;
    font-size: 18px;
    margin-left: 5px
}

.measures i {
    display: block;
    font-style: normal;
    font-size: 44px;
    color: var(--g);
    margin: 8px
}

.measures strong {
    display: block;
    color: var(--g);
    font-size: 19px
}

.measures p {
    font-size: 13px;
    margin-bottom: 0
}

.center {
    text-align: center;
    margin-top: 24px
}

.outline-btn {
    display: inline-block;
    border: 2px solid var(--g);
    border-radius: 999px;
    padding: 10px 28px;
    text-decoration: none;
    color: var(--g);
    font-weight: 900;
    background: #fff
}

.comparison {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff
}

.compare-head,.compare-row {
    display: grid;
    grid-template-columns: 25% 37.5% 37.5%
}



.compare-head> *:first-child {
    /*background: #7d827f; */
    color: #000;
    text-align: center;
    padding: 10px
}

/* 2番目の要素 */
.compare-head > *:nth-child(2) {
    background: #7d827f;
    color: #fff;
    text-align: center;
    padding: 10px
}

.compare-head>*:last-child {
    background: var(--g);
    color: #fff;
    text-align: center;
    padding: 10px;
}


.compare-row>* {
    padding: 11px 16px;
    border-top: 1px solid var(--line)
}

.compare-row>b {
    background: #f6f8f6
}

.compare-row>strong {
    color: var(--g);
    background: #f3faf4
}

.case-flow {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 24px;
    align-items: center
}

.case-flow article {
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--line)
}

.case-flow article small,.case-flow article b,.case-flow article span {
    display: block
}

.case-flow article strong {
    font-size: 55px;
    line-height: 1.1
}

.case-flow article em {
    font-size: 20px;
    font-style: normal
}

.before {
    background: #f0f1f0
}

.after {
    background: #edf9e9;
    color: var(--g)
}

.case-center h3 {
    color: var(--g);
    font-size: 27px;
    margin: 0
}

.case-center p {
    font-weight: 700
}

.resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 28px
}

.resource-grid article {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    background: #eef9f0
}

.resource-grid article.orange {
    background: #fff1e8
}

.resource-grid i {
    font-size: 44px;
    color: var(--g);
    font-style: normal
}

.resource-grid h3 {
    color: var(--g);
    margin: 0
}

.resource-grid p {
    font-size: 13px
}

.resource-grid a {
    font-weight: 900;
    color: var(--g)
}

.orange h3,.orange i,.orange a {
    color: var(--orange)
}

.final-cta {
    background: linear-gradient(90deg,#eaf7ed,#f7fbf7);
    padding: 46px 0 75px
}

.cta-inner {
    display: grid;
    grid-template-columns: 1.6fr .7fr;
    gap: 28px;
    align-items: end
}

.cta-inner h2 {
    font-size: 29px;
    line-height: 1.5
}

.cta-inner h2 span {
    color: var(--g)
}

.cta-inner img {
    border-radius: 16px;
    max-height: 260px;
    width: 100%;
    object-fit: cover
}

.checks {
    font-weight: 800;
    color: var(--g)
}

.cta-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px
}

.cta-buttons a {
    flex: 1;
    color: #fff;
    text-decoration: none;
    border-radius: 9px;
    text-align: center;
    padding: 11px;
    font-weight: 800
}

.cta-buttons .phone {
    background: var(--orange)
}

.cta-buttons .mail {
    background: var(--red)
}

.floating {
    position: fixed;
    right: 0;
    top: 38%;
    z-index: 40
}

.floating a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 110px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: 27px
}

.floating a span {
    font-size: 11px;
    font-weight: 900
}

.floating a:first-child {
    background: var(--orange)
}

.floating a:last-child {
    background: var(--red)
}

.totop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    z-index: 45;
    font-size: 22px
}

.totop small {
    display: block;
    font-size: 8px
}

.mobile-cta {
    display: none
}

.versus_b b {
    font-size: 23px;
    color: var(blue);
}

.goal {
    color: #ef321d;
    display: inline-block;
    background: #eeece1;
    padding: 4px 8px;
}

.problem .goal {
    display: inline-block;
    background: #eeece1;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 900
}

.goal_g {
    color: var(--g);
    display: inline-block;
    background: #eeece1;
    padding: 4px 8px;
}

.problem .goal {
    display: inline-block;
    background: #eeece1;
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 900
}

@media(max-width: 900px) {
    .pc-nav,.header-cta {
        display:none
    }

    .menu {
        display: block;
        margin-left: auto
    }

    .hero-photo {
        background: linear-gradient(#ffffffeb,#ffffffd8),url('hero-apartment.jpg') center/cover
    }

    .hero-copy {
        width: 100%
    }

    .floating {
        display: none
    }

    .measures {
        grid-template-columns: 1fr 1fr
    }

    .measures article,.measures article:nth-child(3n),.measures article:nth-child(n+4) {
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line)
    }

    .measures article:nth-child(2n) {
        border-right: 0
    }

    .case-flow {
        grid-template-columns: 1fr
    }

    .resource-grid,.problem-grid,.income-grid {
        grid-template-columns: 1fr
    }

    .cta-inner {
        grid-template-columns: 1fr
    }

    .cta-inner img {
        display: none
    }
}

@media(max-width: 640px) {
    body {
        padding-bottom:70px
    }

    .inner {
        width: min(100% - 24px,var(--max))
    }

    .site-header {
        height: 62px
    }

    .logo img {
        width: 120px;
        max-height: 48px
    }

    .hero,.hero-inner {
        min-height: auto
    }

    .hero-copy {
        padding: 38px 0
    }

    .hero h1 {
        font-size: 38px
    }

    .eyebrow {
        font-size: 15px
    }

    .hero-stats,.proof {
        grid-template-columns: 1fr 1fr
    }

    .hero-stats>div:last-child,.proof>div:last-child {
        grid-column: 1/-1
    }

    .section {
        padding: 45px 0
    }

    .problem-grid article {
        grid-template-columns: 1fr
    }

    .problem-grid img {
        height: 145px;
        min-height: 0;
        order: -1
    }

    .number-title {
        text-align: center!important
    }

    .number-title>span {
        display: grid;
        margin: 0 auto 8px
    }

    .versus {
        grid-template-columns: 1fr
    }

    .versus i {
        margin: auto
    }

    .measures {
        grid-template-columns: 1fr
    }

    .measures article {
        border-right: 0!important
    }

    .comparison {
        border: 0;
        background: transparent
    }

    .compare-head {
        display: none
    }

    .compare-row {
        display: block;
        border: 1px solid var(--line);
        border-radius: 10px;
        overflow: hidden;
        margin-bottom: 12px;
        background: #fff
    }

    .compare-row>* {
        display: block;
        border-top: 0;
        border-bottom: 1px solid var(--line)
    }

    .compare-row span:before,.compare-row strong:before {
        display: block;
        font-size: 11px;
        font-weight: 900;
        margin-bottom: 2px
    }

    .compare-row span:before {
        content: 'よくある管理会社の一例';
        color: #777
    }

    .compare-row strong:before {
        content: 'LEAF';
        color: var(--g)
    }

    .compare-row strong {
        border-bottom: 0
    }

    .resource-grid {
        grid-template-columns: 1fr
    }

    .resource-grid article {
        grid-template-columns: 60px 1fr
    }

    .cta-buttons {
        display: grid
    }

    .mobile-cta {
        display: grid;
        grid-template-columns: 1fr 1.15fr;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 60;
        background: #fff;
        padding: 7px;
        gap: 6px;
        box-shadow: 0 -4px 16px #0002
    }

    .mobile-cta a {
        min-height: 50px;
        display: grid;
        place-items: center;
        text-align: center;
        text-decoration: none;
        color: #fff;
        font-weight: 900;
        font-size: 12px;
        border-radius: 6px
    }

    .mobile-cta a:first-child {
        background: var(--g)
    }

    .mobile-cta a:last-child {
        background: var(--red)
    }

    .totop {
        bottom: 78px;
        width: 50px;
        height: 50px
    }

    .final-cta {
        padding-bottom: 45px
    }
}

 /* 入居率改善実績：改善前 → 3か月で改善 → 改善後 */
.occupancy-flow{display:grid;grid-template-columns:minmax(0,1fr) 38px minmax(0,1.25fr) 38px minmax(0,1fr);align-items:stretch;gap:8px;margin:26px 0 30px}
.occupancy-card{min-width:0;min-height:265px;border-radius:13px;padding:22px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;border:1px solid #d4ddd5}
.occupancy-label{display:block;font-size:19px;font-weight:900;line-height:1.4;letter-spacing:.04em}
.occupancy-label small{display:block;font-size:15px;letter-spacing:0}
.occupancy-sub{font-weight:700;font-size:15px}
.occupancy-card>strong{font-size:clamp(38px,4.2vw,58px);line-height:1.1;font-weight:900;font-variant-numeric:tabular-nums}
.occupancy-card>strong span{font-size:.55em}
.occupancy-rate{font-weight:800;font-size:14px}
.occupancy-before{background:#f3f4f3;border-color:#c8d0cb}
.occupancy-before .occupancy-label{color:#505b54}
.occupancy-action{background:#fbf8ee;border-color:#d7bd7c;justify-content:center}
.occupancy-action .occupancy-label{color:#8e6b22;font-size:15px}
.occupancy-action>strong{font-size:clamp(22px,2.3vw,30px);color:#725214}
.occupancy-action ul{margin:4px 0 0;padding-left:19px;text-align:left;font-size:13px;line-height:1.65}
.occupancy-action li{margin:3px 0}
.occupancy-after{background:#e8f6eb;border:2px solid #087234}
.occupancy-after .occupancy-label,.occupancy-after>strong{color:#087234}
.occupancy-arrow{display:flex;align-items:center;justify-content:center;min-width:0}
.occupancy-arrow span{display:block;position:relative;width:100%;height:5px;border-radius:6px;background:#b28b3e}
.occupancy-arrow span:after{content:"";position:absolute;right:0;top:50%;width:13px;height:13px;border-top:5px solid #b28b3e;border-right:5px solid #b28b3e;transform:translateY(-50%) rotate(45deg);border-radius:2px}
@media(max-width:760px){.occupancy-flow{grid-template-columns:minmax(0,1fr);gap:0;margin:22px 0 26px}.occupancy-card{min-height:0;padding:22px 18px}.occupancy-card>strong{font-size:48px}.occupancy-action>strong{font-size:28px}.occupancy-arrow{height:54px}.occupancy-arrow span{width:5px;height:38px}.occupancy-arrow span:after{right:auto;top:auto;left:50%;bottom:0;transform:translateX(-50%) rotate(135deg);width:12px;height:12px}}
  
.occupancy-before .occupancy-english,
.occupancy-after .occupancy-english {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 3px solid currentColor;
}

.occupancy-before .occupancy-english,
.occupancy-after .occupancy-english {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 3px solid currentColor;
}

.twocards{grid-template-columns:1fr}.problem{grid-template-columns:1fr 38%}.six{grid-template-columns:1fr}.measure,.measure:nth-child(3n),.measure:nth-child(n+4){border-right:0;border-bottom:1px solid var(--line)}.measure:last-child{border-bottom:0}.case{grid-template-columns:1fr}.cta-notes{justify-content:center;flex-wrap:wrap}.cta-btn{font-size:18px}.section{padding:42px 0}.kicker{font-size:16px}}

/* ③ 一般的な管理会社とLEAFの違い */
.leaf-compare-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}
.leaf-compare-table th,.leaf-compare-table td{box-sizing:border-box;vertical-align:middle;overflow-wrap:anywhere}
.leaf-compare-table .compare-head-general{background:#59636e!important;color:#fff!important;border-color:#59636e!important}
.leaf-compare-table .compare-head-leaf{background:#176b37!important;color:#fff!important;border-color:#176b37!important}

@media(max-width:900px){
 .leaf-compare-table th,.leaf-compare-table td{padding:12px 10px!important;font-size:14px!important;line-height:1.55}
}

@media(max-width:640px){
 .leaf-compare-table,.leaf-compare-table thead,.leaf-compare-table tbody,
 .leaf-compare-table tr,.leaf-compare-table th,.leaf-compare-table td{display:block;width:100%}
 .leaf-compare-table{border:0!important;background:transparent!important}
 .leaf-compare-table thead{display:none}
 .leaf-compare-table tbody tr{margin:0 0 20px;border:1px solid #d9e0e4;border-radius:12px;overflow:hidden;background:#fff;box-shadow:0 5px 16px rgba(24,48,64,.06)}
 .leaf-compare-table tbody th,.leaf-compare-table tbody td{border:0!important;border-bottom:1px solid #e4e9ec!important;padding:12px 14px!important;text-align:left!important;font-size:14px!important;line-height:1.6}
 .leaf-compare-table tbody tr>:first-child{background:#f3f5f6!important;color:#263746!important;font-weight:800}
 .leaf-compare-table tbody tr>:nth-child(2){background:#f7f8f9!important;color:#46515c!important}
 .leaf-compare-table tbody tr>:nth-child(3){background:#f1f8f3!important;color:#174d2c!important}
 .leaf-compare-table tbody tr>:nth-child(2)::before,.leaf-compare-table tbody tr>:nth-child(3)::before{display:block;margin-bottom:5px;font-size:11px;line-height:1.3;font-weight:900}
 .leaf-compare-table tbody tr>:nth-child(2)::before{content:"よくある管理会社の一例";color:#59636e}
 .leaf-compare-table tbody tr>:nth-child(3)::before{content:"LEAF";color:#176b37}
 .leaf-compare-table tbody tr>:last-child{border-bottom:0!important}
}
  
/* =========================================================
   v3 スマホ比較表
   列名「比較項目 / よくある管理会社の一例 / LEAF」を縦並び表示
   ========================================================= */
@media (max-width: 640px) {

  .leaf-compare-table thead {
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px !important;
  }

  .leaf-compare-table thead tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: none !important;
  }

  .leaf-compare-table thead th {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 11px 14px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.45) !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
  }

  /* 比較項目 */
  .leaf-compare-table thead th:first-child {
    background: #263746 !important;
    color: #ffffff !important;
  }

  /* よくある管理会社の一例 */
  .leaf-compare-table thead .compare-head-general,
  .leaf-compare-table thead th:nth-child(2) {
    background: #59636e !important;
    color: #ffffff !important;
  }

  /* LEAF */
  .leaf-compare-table thead .compare-head-leaf,
  .leaf-compare-table thead th:nth-child(3) {
    background: #176b37 !important;
    color: #ffffff !important;
    border-bottom: 0 !important;
  }

  /* 本文も 比較項目 → 一般管理会社 → LEAF の順に縦積み */
  .leaf-compare-table tbody tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  .leaf-compare-table tbody tr > th,
  .leaf-compare-table tbody tr > td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}

   /* 03 比較表：PCは既存表、スマホは会社ごとに6項目をまとめて表示 */
.mobile-comparison-grouped{display:none}
@media(max-width:760px){
  .mobile-comparison-grouped{display:block;margin-top:8px}
  .mobile-comparison-grouped+.table-wrap{display:none}
  .section:has(.mobile-comparison-grouped) .table-wrap{display:none!important}
  .mobile-comparison-card{overflow:hidden;border:2px solid #a8b2b8;border-radius:14px;background:#fff;box-shadow:0 7px 18px rgba(0,0,0,.06)}
  .mobile-comparison-card h3{margin:0;padding:17px 12px;text-align:center;font-size:19px;line-height:1.4;color:#fff;background:#59636e}
  .mobile-comparison-leaf{border-color:#087234}
  .mobile-comparison-leaf h3{background:#087234}
  .mobile-comparison-item{padding:12px 16px;border-bottom:1px solid #e2e7e4;display:grid;gap:3px}
  .mobile-comparison-item:last-child{border-bottom:0}
  .mobile-comparison-key{font-size:12px;font-weight:900;color:#56616b}
  .mobile-comparison-value{font-size:15px;font-weight:700;color:#2c343a;line-height:1.6}
  .mobile-comparison-leaf .mobile-comparison-key{color:#087234}
  .mobile-comparison-leaf .mobile-comparison-value{color:#15592e}
  .mobile-comparison-arrow{height:68px;display:grid;place-items:center;font-size:50px;font-weight:900;line-height:1;color:#087234}
}

   /* Section 03: PC = general company → LEAF; mobile = general company ↓ LEAF */
.company-comparison-grouped{display:grid;grid-template-columns:minmax(0,1fr) 64px minmax(0,1fr);gap:14px;align-items:center;margin-top:12px}
.company-comparison-card{min-width:0;overflow:hidden;border:2px solid #a8b2b8;border-radius:14px;background:#fff;box-shadow:0 7px 18px rgba(0,0,0,.06);height:100%}
.company-comparison-card h3{margin:0;padding:18px 12px;text-align:center;font-size:clamp(18px,2vw,22px);line-height:1.4;color:#fff;background:#59636e}
.company-comparison-leaf{border-color:#087234}
.company-comparison-leaf h3{background:#087234}
.company-comparison-item{padding:13px 18px;border-bottom:1px solid #e2e7e4;display:grid;gap:3px;min-height:83px;align-content:center}
.company-comparison-item:last-child{border-bottom:0}
.company-comparison-key{font-size:12px;font-weight:900;color:#56616b}
.company-comparison-value{font-size:15px;font-weight:700;color:#2c343a;line-height:1.6}
.company-comparison-leaf .company-comparison-key{color:#087234}
.company-comparison-leaf .company-comparison-value{color:#15592e}
.company-comparison-arrow{display:grid;place-items:center;font-size:52px;font-weight:900;line-height:1;color:#087234;align-self:center}
@media(max-width:760px){
 .company-comparison-grouped{grid-template-columns:minmax(0,1fr);gap:0;margin-top:8px}
 .company-comparison-card{height:auto}
 .company-comparison-card h3{font-size:19px;padding:17px 12px}
 .company-comparison-item{padding:12px 16px;min-height:0}
 .company-comparison-arrow{height:68px;font-size:50px;transform:rotate(90deg)}
}

.comparison {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff
}

.compare-head,.compare-row {
    display: grid;
    grid-template-columns: 25% 37.5% 37.5%
}

.compare-head> *:first-child {
    /*background: #7d827f; */
    color: #000;
    text-align: center;
    padding: 10px
}

.compare-head > *:nth-child(2) {
    background: #7d827f;
    color: #fff;
    text-align: center;
    padding: 10px
}

.compare-head>*:last-child {
    background: var(--g);
    color: #fff;
    text-align: center;
    padding: 10px;
}


.compare-row>* {
    padding: 11px 16px;
    border-top: 1px solid var(--line)
}

.compare-row>b {
    background: #f6f8f6
}

.compare-row>strong {
    color: var(--g);
    background: #f3faf4
}

.case-flow {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1fr;
    gap: 24px;
    align-items: center
}

.case-flow article {
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid var(--line)
}

.case-flow article small,.case-flow article b,.case-flow article span {
    display: block
}

.case-flow article strong {
    font-size: 55px;
    line-height: 1.1
}

.case-flow article em {
    font-size: 20px;
    font-style: normal
}

.before {
    background: #f0f1f0
}

.after {
    background: #edf9e9;
    color: var(--g)
}

.case-center h3 {
    color: var(--g);
    font-size: 27px;
    margin: 0
}

.case-center p {
    font-weight: 700
}

.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px}.diff{width:100%;border-collapse:collapse;min-width:720px}.diff th,.diff td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:center}.diff th{background:#f0f2f0}.diff th:last-child{background:var(--g);color:#fff}.diff td:last-child{color:var(--g);font-weight:900}.case{display:grid;grid-template-columns:1fr .9fr 1fr;gap:16px;align-items:stretch}.casebox{border-radius:10px;background:#f2f3f2;padding:24px;text-align:center}.casebox.after{background:#e8f5df}.casebox strong{font-size:48px;display:block}.casebox.after strong{color:var(--g)}.casecenter{border:1px solid var(--line);border-radius:10px;padding:22px}.casecenter h3{text-align:center;color:var(--g);font-size:25px;margin:0 0 10px}.casecenter li{margin:4px 0}.twocards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.linkcard{border-radius:12px;padding:24px;background:#f1f8ef}.linkcard.orange{background:#fff4ed}.linkcard h3{color:var(--g);margin:0}.linkcard.orange h3{color:var(--o)}.cta{padding:42px 0 54px}.cta h2{text-align:left;margin-bottom:12px}.cta-btn{display:flex;align-items:center;justify-content:center;background:linear-gradient(90deg,#ed3c09,#f45a13);color:#fff;border-radius:999px;padding:17px 24px;font-size:22px;font-weight:900;box-shadow:0 8px 20px #df3f142d}.cta-notes{display:flex;gap:24px;justify-content:flex-end;margin:10px 8px 14px;font-size:13px}.footer{background:#064c27;color:#fff;text-align:center;padding:22px;font-size:13px}


    /* 04 実績セクション：関連リンクを視認性の高いボタンに */
.linkcard{display:flex;flex-direction:column;gap:10px;min-width:0;transition:transform .2s ease,box-shadow .2s ease}
.linkcard .linkcard-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-top:auto;padding:14px 16px;border-radius:9px;background:#087234;color:#fff;font-weight:900;font-size:clamp(14px,1.45vw,17px);line-height:1.5;text-align:center;box-shadow:0 4px 12px rgba(8,114,52,.2);transition:background .2s ease,box-shadow .2s ease}
.linkcard.orange .linkcard-button{background:#e94b17;box-shadow:0 4px 12px rgba(233,75,23,.18)}
.linkcard .linkcard-button-arrow{font-size:22px;line-height:1;transition:transform .2s ease}
.linkcard:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.linkcard:hover .linkcard-button{background:#045a29}
.linkcard.orange:hover .linkcard-button{background:#c8390a}
.linkcard:hover .linkcard-button-arrow{transform:translateX(5px)}
.linkcard:focus-visible{outline:3px solid #164fa3;outline-offset:4px}
@media(max-width:760px){.linkcard .linkcard-button{padding:14px 12px;font-size:15px}.linkcard{gap:12px}}
@media(prefers-reduced-motion:reduce){.linkcard,.linkcard .linkcard-button,.linkcard .linkcard-button-arrow{transition:none}}
   /* 関連リンク：スマートフォンでは必ず縦一列に並べる */
@media (max-width: 760px) {
  #leaf-kuushitsu-lp .twocards {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px;
  }
  #leaf-kuushitsu-lp .twocards > .linkcard {
    width: 100%;
    min-width: 0;
  }
  #leaf-kuushitsu-lp .twocards .linkcard-button {
    width: 100%;
  }
}