/* 赤上FP事務所 トップページ */
:root{
  --bg:#F6F3EC;
  --bg-sub:#EFE9DD;
  --ink:#1B1D22;
  --text:#474A52;
  --muted:#5A5E66;
  --line:#DDD6C8;
  --line-strong:#CFC6B4;
  --accent:#9E2F22;
  --accent-dark:#7A2218;
  --accent-soft:#D9A79E;
  --white:#FFFFFF;
  --serif:"Noto Serif JP","Hiragino Mincho ProN","Yu Mincho",serif;
  --sans:"Noto Sans JP","Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  --pad:120px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.8;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent)}
a:hover{color:var(--accent-dark)}
h1,h2,h3{font-family:var(--serif);font-weight:700;margin:0;line-height:1.45}
p{margin:0}
ul,ol,dl,dd{margin:0;padding:0}
ul,ol{list-style:none}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}

.container{width:100%;max-width:1440px;margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 30px;border-radius:999px;font-weight:700;font-size:16px;text-decoration:none;line-height:1.4;transition:background .2s,color .2s,border-color .2s}
.btn-sm{min-height:44px;padding:10px 22px;font-size:15px}
.btn-primary{background:var(--accent);color:var(--white)}
.btn-primary:hover{background:var(--accent-dark);color:var(--white)}
.btn-outline{border:1px solid var(--ink);color:var(--ink)}
.btn-outline:hover{background:var(--ink);color:var(--bg)}
.btn-outline-light{border:1px solid var(--bg);color:var(--white)}
.btn-outline-light:hover{background:var(--white);color:var(--ink)}
.btn-white{background:var(--white);color:var(--ink)}
.btn-white:hover{background:var(--bg);color:var(--ink)}
.btn-row{display:flex;flex-wrap:wrap;gap:16px}
.text-link{font-weight:700;font-size:15px;text-decoration:none}
.text-link:hover{text-decoration:underline}

.eyebrow{font-size:14px;letter-spacing:.2em;color:var(--accent);font-weight:700}

/* header */
.site-header{border-bottom:1px solid var(--line);background:var(--bg);position:sticky;top:0;z-index:50}
.header-inner{height:88px;display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink)}
.logo:hover{color:var(--ink)}
.logo-mark{width:36px;height:36px;border-radius:50%;background:var(--accent);color:var(--white);display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-weight:700;font-size:18px}
.logo-text{font-family:var(--serif);font-weight:700;font-size:20px;letter-spacing:.08em}
.global-nav{display:flex;align-items:center;gap:32px;font-size:15px}
.global-nav a:not(.btn){color:var(--ink);text-decoration:none}
.global-nav a:not(.btn):hover{color:var(--accent)}
.menu-toggle{display:none;width:44px;height:44px;border:0;background:transparent;color:var(--ink);padding:0;cursor:pointer;align-items:center;justify-content:center}

/* hero */
.hero{display:grid;grid-template-columns:7fr 4fr;gap:80px;align-items:center;padding-top:104px;padding-bottom:96px}
.hero-copy{display:flex;flex-direction:column;gap:32px}
.hero h1{font-size:clamp(34px,4.4vw,64px);line-height:1.35;letter-spacing:.02em}
.nb{white-space:nowrap}
.lead{font-size:18px;line-height:2;color:var(--text);max-width:600px}
.hero-panel{background:var(--ink);color:var(--bg);border-radius:4px;padding:48px 40px;display:flex;flex-direction:column;gap:28px}
.hero-panel-label{font-size:13px;letter-spacing:.16em;color:var(--accent-soft);font-weight:700}
.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:#3A3D44;border:1px solid #3A3D44}
.field-grid li{background:var(--ink);padding:22px 12px;text-align:center;font-family:var(--serif);font-size:20px;font-weight:700}
.hero-panel-note{font-size:14px;line-height:1.9;color:#CFCBC2}

/* stats */
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.stats .stat{padding:40px 0;border-top:1px solid var(--ink);border-bottom:1px solid var(--line)}
.stat-num{font-family:var(--serif);font-size:44px;font-weight:700;line-height:1.3}
.stat-num span{font-size:20px}
.stat-label{font-size:14px;color:var(--muted);margin-top:6px}

/* sections */
.section{padding-top:128px}
.section-head{display:flex;flex-direction:column;gap:12px;margin-bottom:48px}
.section-head.split{flex-direction:row;justify-content:space-between;align-items:flex-end;gap:24px}
.section-head.split > div{display:flex;flex-direction:column;gap:12px}
.section h2,.approach h2{font-size:40px}
.note{font-size:13px;color:var(--muted);margin-top:24px}

/* service */
.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.service-card{padding:56px;border-radius:4px;display:flex;flex-direction:column;gap:24px}
.service-card h3{font-size:32px;line-height:1.5}
.service-card > p:not(.service-for){font-size:16px;line-height:1.9}
.service-card .btn{align-self:flex-start;font-size:15px;margin-top:auto}
.service-for{font-size:13px;letter-spacing:.16em;font-weight:700}
.service-dark{background:var(--ink);color:var(--bg)}
.service-dark .service-for{color:var(--accent-soft)}
.service-dark > p:not(.service-for){color:#CFCBC2}
.service-light{background:var(--white);border:1px solid var(--line)}
.service-light .service-for{color:var(--accent)}
.service-light > p:not(.service-for){color:var(--text)}
.price-list{border-top:1px solid var(--line)}
.service-dark .price-list{border-color:#3A3D44}
.price-list div{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);font-size:15px}
.service-dark .price-list div{border-color:#3A3D44}
.price-list dd{font-weight:700;white-space:nowrap}

/* works */
.works-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--ink)}
.works-grid li{border-bottom:1px solid var(--line)}
.works-grid li:not(:nth-child(3n+1)){border-left:1px solid var(--line)}
.works-grid a{display:flex;flex-direction:column;gap:8px;padding:28px 24px;text-decoration:none;color:var(--ink);height:100%;transition:background .2s}
.works-grid li:nth-child(3n+1) a{padding-left:0}
.works-grid a:hover{background:var(--bg-sub)}
.works-meta{font-size:12px;color:var(--muted)}
.works-name{font-family:var(--serif);font-size:22px;font-weight:700;line-height:1.5}

/* approach */
.approach{margin-top:128px;padding:112px 0;background:var(--bg-sub)}
.approach-inner{display:grid;grid-template-columns:4fr 7fr;gap:96px}
.approach-copy{display:flex;flex-direction:column;gap:20px}
.approach-copy h2{line-height:1.5}
.approach-copy p:last-child{color:var(--text);line-height:1.9}
.fusion-list{border-top:1px solid var(--ink)}
.fusion-list div{display:grid;grid-template-columns:200px 1fr;gap:24px;padding:24px 0;border-bottom:1px solid var(--line-strong)}
.fusion-list dt{font-weight:700;color:var(--accent)}
.fusion-list dd{line-height:1.7}

/* profile */
.profile{display:grid;grid-template-columns:4fr 7fr;gap:96px;align-items:start}
.profile-panel{aspect-ratio:4/5;background:var(--accent);border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;color:var(--white)}
.profile-mark{font-family:var(--serif);font-size:120px;font-weight:700;line-height:1}
.profile-panel-text{font-size:13px;letter-spacing:.24em;text-transform:uppercase}
.profile-body{display:flex;flex-direction:column;gap:24px}
.profile-body h2{font-size:32px}
.profile-title{display:block;font-family:var(--sans);font-size:15px;font-weight:500;color:var(--muted);margin-top:8px}
.profile-body > p:not(.eyebrow){line-height:2;color:var(--text)}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tags li{font-size:13px;padding:6px 14px;border:1px solid var(--line-strong);border-radius:999px}

/* know-how */
.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.post{display:flex;flex-direction:column;gap:14px;text-decoration:none;color:var(--ink)}
.post img{width:100%;aspect-ratio:554/380;object-fit:cover;border-radius:4px;background:#E7E0D2}
.post-cat{font-size:12px;color:var(--accent);font-weight:700}
.post-title{font-family:var(--serif);font-size:20px;font-weight:700;line-height:1.6}
.post:hover .post-title{color:var(--accent)}

/* flow */
.flow{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.flow li{display:flex;flex-direction:column;gap:12px;border-top:3px solid var(--ink);padding-top:20px}
.flow li.is-first{border-color:var(--accent)}
.flow li.is-first .flow-num{color:var(--accent)}
.flow-num{font-family:var(--serif);font-size:28px;font-weight:700;line-height:1.2}
.flow-title{font-weight:700;font-size:17px}
.flow-text{font-size:14px;line-height:1.8;color:var(--text)}

/* cta */
.cta{margin-top:128px;padding:88px 96px;background:var(--accent);color:var(--white);border-radius:4px;display:flex;justify-content:space-between;align-items:center;gap:48px}
.cta-copy{display:flex;flex-direction:column;gap:16px}
.cta h2{font-size:40px;line-height:1.5}
.cta-actions{display:flex;flex-direction:column;gap:12px;min-width:320px}

/* footer */
.site-footer{margin-top:128px;background:var(--ink);color:#CFCBC2;padding:72px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;flex-wrap:wrap}
.footer-logo{font-family:var(--serif);font-weight:700;font-size:20px;color:var(--bg);letter-spacing:.08em}
.footer-sub{font-size:13px;margin-top:8px}
.footer-nav{display:flex;flex-wrap:wrap;gap:12px 32px;font-size:14px}
.footer-nav a{color:#CFCBC2;text-decoration:none}
.footer-nav a:hover{color:var(--white)}
.copyright{font-size:12px}

.sp-cta{display:none}

/* ---------- tablet ---------- */
@media (max-width:1200px){
  :root{--pad:48px}
  .global-nav{gap:22px;font-size:14px}
  .hero{gap:48px}
  .approach-inner,.profile{gap:56px}
  .flow{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:40px}
  .cta{padding:64px 56px}
}

/* ---------- mobile nav ---------- */
@media (max-width:960px){
  .header-inner{height:64px}
  .logo-mark{width:30px;height:30px;font-size:15px}
  .logo-text{font-size:17px}
  .menu-toggle{display:flex}
  .global-nav{display:none;position:absolute;top:64px;left:0;right:0;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;padding:8px var(--pad) 24px;font-size:16px}
  .global-nav.is-open{display:flex}
  .global-nav a:not(.btn){padding:14px 0;border-bottom:1px solid var(--line)}
  .global-nav .btn{margin-top:20px}
  .hero{grid-template-columns:1fr;padding-top:56px;padding-bottom:56px}
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
  .stats .stat{padding:24px 0;border-top:0}
  .stats .stat:nth-child(-n+2){border-top:1px solid var(--ink)}
  .service-grid,.approach-inner,.profile{grid-template-columns:1fr}
  .profile-panel{aspect-ratio:auto;height:220px;flex-direction:row}
  .profile-mark{font-size:80px}
  .works-grid{grid-template-columns:1fr}
  .works-grid li:not(:nth-child(3n+1)){border-left:0}
  .works-grid a,.works-grid li:nth-child(3n+1) a{padding:18px 0;flex-direction:row;justify-content:space-between;align-items:baseline}
  .works-grid a .works-meta{order:2}
  .works-name{font-size:17px}
  .post-grid{grid-template-columns:1fr;gap:40px}
  .cta{flex-direction:column;align-items:stretch}
  .cta-actions{min-width:0}
}

/* ---------- phone ---------- */
@media (max-width:600px){
  :root{--pad:20px}
  body{font-size:15px;padding-bottom:84px}
  .eyebrow{font-size:12px;letter-spacing:.12em}
  .hero-copy{gap:22px}
  .hero h1{font-size:clamp(24px,8vw,32px)}
  .lead{font-size:15px;line-height:1.95}
  .btn-row{flex-direction:column}
  .btn-row .btn{width:100%}
  .hero-panel{padding:28px 24px;gap:20px}
  .field-grid li{font-size:17px;padding:16px 8px}
  .stat-num{font-size:30px}
  .stat-num span{font-size:14px}
  .stat-label{font-size:12px}
  .section{padding-top:72px}
  .section-head{margin-bottom:28px}
  .section-head.split{flex-direction:column;align-items:flex-start}
  .section h2,.approach h2{font-size:26px}
  .service-card{padding:28px 24px;gap:16px}
  .service-card h3{font-size:22px}
  .service-card > p:not(.service-for){font-size:14px}
  .service-card .btn{align-self:stretch}
  .price-list div{font-size:14px}
  .approach{margin-top:72px;padding:64px 0}
  .fusion-list div{grid-template-columns:1fr;gap:4px;padding:18px 0}
  .profile-body h2{font-size:24px}
  .post-title{font-size:18px}
  .flow{grid-template-columns:1fr;row-gap:28px}
  .cta{margin-top:72px;padding:40px 24px}
  .cta h2{font-size:26px}
  .site-footer{margin-top:72px;padding:48px 0}
  .footer-inner{flex-direction:column}
  .sp-cta{display:block;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--line)}
  .sp-cta .btn{width:100%}
}

/* ===================== 下層ページ共通 ===================== */
.global-nav a[aria-current="page"]:not(.btn){color:var(--accent);font-weight:700}
.page-hero{padding-top:72px;padding-bottom:72px;border-bottom:1px solid var(--line)}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--muted)}
.breadcrumb li+li::before{content:"/";margin-right:8px;color:var(--line-strong)}
.breadcrumb a{color:var(--muted);text-decoration:none}
.breadcrumb a:hover{color:var(--accent)}
.page-hero-body{display:flex;flex-direction:column;gap:20px;margin-top:40px;max-width:840px}
.page-hero h1{font-size:clamp(30px,3.6vw,52px);line-height:1.4}
.page-hero .lead{max-width:720px}

.two-col{display:grid;grid-template-columns:4fr 7fr;gap:96px;align-items:start}
.two-col .col-head{display:flex;flex-direction:column;gap:16px;position:sticky;top:120px}
.two-col .col-head p:not(.eyebrow){color:var(--text);line-height:1.9}

.check-list{display:flex;flex-direction:column;gap:14px}
.check-list li{position:relative;padding-left:32px;line-height:1.8}
.check-list li::before{content:"";position:absolute;left:0;top:.35em;width:18px;height:18px;border-radius:50%;background:var(--accent);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E") center/contain no-repeat}
.check-list li::after{content:"";position:absolute;left:5px;top:calc(.35em + 5px);width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg)}

.plan{background:var(--white);border:1px solid var(--line);border-radius:4px;padding:56px;display:grid;grid-template-columns:5fr 6fr;gap:56px}
.plan+.plan{margin-top:24px}
.plan-dark{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.plan-head{display:flex;flex-direction:column;gap:16px}
.plan-head h3{font-size:30px;line-height:1.5}
.plan-head p:not(.service-for){color:var(--text);line-height:1.9}
.plan-dark .plan-head p:not(.service-for){color:#CFCBC2}
.plan-dark .service-for{color:var(--accent-soft)}
.plan-light .service-for{color:var(--accent)}
.plan-body{display:flex;flex-direction:column;gap:32px}
.plan-body h4{font-size:14px;letter-spacing:.12em;margin:0 0 12px;font-weight:700}
.plan-dark .price-list,.plan-dark .price-list div{border-color:#3A3D44}
.plan-dark .check-list li::after{border-color:var(--ink)}
.plan-dark .check-list li::before{background:var(--accent-soft)}

.menu-block{display:grid;grid-template-columns:5fr 7fr;gap:56px;padding:56px 0;border-top:1px solid var(--line)}
.menu-block:first-child{border-top:1px solid var(--ink)}
.menu-head{display:flex;flex-direction:column;gap:16px}
.menu-num{font-family:var(--serif);font-size:15px;color:var(--accent);font-weight:700;letter-spacing:.1em}
.menu-head h3{font-size:30px}
.menu-head p{color:var(--text);line-height:1.9}
.menu-price{font-family:var(--serif);font-size:32px;font-weight:700;margin-top:8px}
.menu-price small{font-family:var(--sans);font-size:13px;font-weight:500;color:var(--muted);margin-left:6px}
.menu-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.menu-body h4{font-size:14px;letter-spacing:.12em;margin:0 0 14px;font-weight:700}
.dot-list{display:flex;flex-direction:column;gap:10px}
.dot-list li{position:relative;padding-left:18px;line-height:1.75;font-size:15px}
.dot-list li::before{content:"";position:absolute;left:0;top:.75em;width:6px;height:6px;border-radius:50%;background:var(--accent)}
.recommend{background:var(--bg-sub);border-radius:4px;padding:24px}

.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.feature{border-top:3px solid var(--ink);padding-top:24px;display:flex;flex-direction:column;gap:14px}
.feature-num{font-family:var(--serif);font-size:15px;color:var(--accent);font-weight:700;letter-spacing:.1em}
.feature h3{font-size:22px;line-height:1.6}
.feature p{color:var(--text);line-height:1.9;font-size:15px}
.quote-list{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}

.career{border-top:1px solid var(--ink)}
.career-item{display:grid;grid-template-columns:260px 1fr;gap:40px;padding:40px 0;border-bottom:1px solid var(--line)}
.career-item h3{font-size:22px}
.career-item .career-sub{font-size:13px;color:var(--muted);margin-top:6px;font-family:var(--sans);font-weight:500}
.career-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.career-groups h4{font-size:14px;margin:0 0 10px;color:var(--accent);font-weight:700}
.career-text{color:var(--text);line-height:1.95;margin-top:24px;grid-column:1 / -1}

.works-list{border-top:1px solid var(--ink)}
.works-list a{display:grid;grid-template-columns:140px 160px 1fr auto;gap:24px;align-items:center;padding:28px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);transition:background .2s}
.works-list a:hover{background:var(--bg-sub)}
.works-list .date{font-size:14px;color:var(--muted)}
.badge{display:inline-block;font-size:12px;font-weight:700;padding:4px 12px;border-radius:999px;border:1px solid var(--accent);color:var(--accent);justify-self:start}
.works-list .title{font-family:var(--serif);font-weight:700;font-size:20px;line-height:1.6}
.works-list .arrow{color:var(--accent);font-weight:700}

.filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:40px}
.filter a{font-size:14px;padding:10px 18px;border:1px solid var(--line-strong);border-radius:999px;text-decoration:none;color:var(--ink);min-height:44px;display:inline-flex;align-items:center}
.filter a:hover,.filter a[aria-current="page"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.post-grid.wide{row-gap:56px}
.post-date{font-size:12px;color:var(--muted);margin-left:10px;font-weight:400}

@media (max-width:960px){
  .two-col,.plan,.menu-block,.menu-body,.career-item,.career-groups{grid-template-columns:1fr}
  .two-col{gap:32px}
  .two-col .col-head{position:static}
  .plan{gap:32px}
  .menu-block{gap:28px}
  .career-item{gap:20px}
  .feature-grid{grid-template-columns:1fr;gap:40px}
  .works-list a{grid-template-columns:1fr auto;grid-template-areas:"date badge" "title title";gap:10px 16px}
  .works-list .date{grid-area:date}
  .works-list .badge{grid-area:badge;justify-self:end}
  .works-list .title{grid-area:title;font-size:18px}
  .works-list .arrow{display:none}
}
@media (max-width:600px){
  .page-hero{padding-top:32px;padding-bottom:48px}
  .page-hero-body{margin-top:24px;gap:16px}
  .plan{padding:28px 24px}
  .plan-head h3,.menu-head h3{font-size:22px}
  .menu-block{padding:40px 0}
  .menu-price{font-size:26px}
  .feature h3{font-size:19px}
  .career-item h3{font-size:19px}
  .recommend{padding:20px}
}

/* ===================== 記事・実績の個別ページ ===================== */
.article-hero{padding-top:56px;padding-bottom:0}
.article-head{max-width:880px;margin:40px auto 0;display:flex;flex-direction:column;gap:20px}
.article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;font-size:14px;color:var(--muted);font-variant-numeric:tabular-nums}
.article-head h1{font-size:clamp(26px,3vw,40px);line-height:1.55;text-wrap:balance}
.article-eyecatch{max-width:880px;margin:40px auto 0}
.article-eyecatch img{width:100%;aspect-ratio:1200/628;object-fit:cover;border-radius:4px;background:#E7E0D2}
.article-body{max-width:760px;margin:56px auto 0}

.prose{font-size:17px;line-height:2;color:var(--ink)}
.prose > * + *{margin-top:1.4em}
.prose h2{font-size:26px;line-height:1.6;margin-top:2.6em;padding-bottom:14px;border-bottom:2px solid var(--ink)}
.prose h3{font-size:20px;line-height:1.6;margin-top:2em;padding-left:14px;border-left:4px solid var(--accent)}
.prose h4{font-family:var(--sans);font-size:17px;font-weight:700;margin:1.8em 0 0}
.prose strong{font-weight:700;background:linear-gradient(transparent 62%,#EAD3CE 62%)}
.prose ul,.prose ol{padding-left:1.4em;margin:0}
.prose ul{list-style:disc}
.prose ol{list-style:decimal}
.prose li{margin-top:.4em}
.prose li::marker{color:var(--accent)}
.prose blockquote{margin:0;padding:20px 24px;background:var(--bg-sub);border-radius:4px;font-family:var(--serif);font-weight:500}
.prose blockquote p{margin:0}
.prose .table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:4px;background:var(--white)}
.prose table{border-collapse:collapse;width:100%;min-width:560px;font-size:14px;line-height:1.7}
.prose th,.prose td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.prose thead th{background:var(--ink);color:var(--bg);font-weight:700;white-space:nowrap}
.prose tbody tr:last-child td{border-bottom:0}
.prose tbody td:first-child{font-weight:700}
.prose a{color:var(--accent)}

.author-box{max-width:760px;margin:72px auto 0;padding:32px;border:1px solid var(--line);border-radius:4px;background:var(--white);display:grid;grid-template-columns:72px 1fr;gap:24px;align-items:start}
.author-mark{width:72px;height:72px;border-radius:50%;background:var(--accent);color:var(--white);display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-size:32px;font-weight:700}
.author-box .author-name{font-family:var(--serif);font-size:20px;font-weight:700}
.author-box .author-role{font-size:13px;color:var(--muted);margin-top:2px}
.author-box p.author-text{font-size:14px;line-height:1.9;color:var(--text);margin-top:12px}
.author-box .text-link{display:inline-block;margin-top:12px}

.pager{max-width:880px;margin:64px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pager a{display:flex;flex-direction:column;gap:6px;padding:20px 24px;border:1px solid var(--line);border-radius:4px;text-decoration:none;color:var(--ink);background:var(--white);transition:border-color .2s}
.pager a:hover{border-color:var(--ink)}
.pager .pager-label{font-size:12px;color:var(--accent);font-weight:700}
.pager .pager-title{font-family:var(--serif);font-weight:700;font-size:15px;line-height:1.6}
.pager .next{text-align:right;grid-column:2}

.work-summary{max-width:880px;margin:48px auto 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--ink);border-bottom:1px solid var(--line)}
.work-summary div{padding:20px 0;display:flex;flex-direction:column;gap:4px}
.work-summary div + div{padding-left:24px;border-left:1px solid var(--line)}
.work-summary dt{font-size:12px;color:var(--muted)}
.work-summary dd{font-family:var(--serif);font-weight:700;font-size:18px}
.theme-box{padding:32px;background:var(--ink);color:var(--bg);border-radius:4px;display:flex;flex-direction:column;gap:12px}
.theme-box .theme-label{font-size:12px;letter-spacing:.16em;color:var(--accent-soft);font-weight:700}
.theme-box .theme-title{font-family:var(--serif);font-size:22px;font-weight:700;line-height:1.6}
.ext-links{display:flex;flex-direction:column;border-top:1px solid var(--ink)}
.ext-links a{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink);font-weight:500;line-height:1.7}
.ext-links a:hover{color:var(--accent)}
.ext-links svg{flex-shrink:0;color:var(--accent)}
.back-link{max-width:880px;margin:56px auto 0}

/* list filter (JS) */
.filter button{font:inherit;font-size:14px;padding:10px 18px;border:1px solid var(--line-strong);border-radius:999px;background:transparent;color:var(--ink);min-height:44px;cursor:pointer}
.filter button:hover,.filter button[aria-pressed="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}

/* ===================== お問い合わせ ===================== */
.contact-layout{display:grid;grid-template-columns:4fr 7fr;gap:80px;align-items:start}
.contact-aside{display:flex;flex-direction:column;gap:32px;position:sticky;top:120px}
.contact-note{display:flex;flex-direction:column;gap:16px}
.contact-note h2{font-size:20px}
.contact-note .dot-list li{font-size:14px;color:var(--text)}
.contact-form{background:var(--white);border:1px solid var(--line);border-radius:4px;padding:48px;display:flex;flex-direction:column;gap:28px}
.field{display:flex;flex-direction:column;gap:10px;border:0;margin:0;padding:0;min-width:0}
.field > label,.field > legend{font-weight:700;font-size:15px;padding:0}
.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.req,.opt{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:3px;margin-left:10px;vertical-align:2px}
.req{background:var(--accent);color:var(--white)}
.opt{background:var(--bg-sub);color:var(--muted)}
.contact-form input[type=text],.contact-form input[type=email],.contact-form input[type=tel],.contact-form textarea{font:inherit;font-size:16px;width:100%;padding:14px 16px;border:1px solid var(--line-strong);border-radius:4px;background:var(--bg);color:var(--ink);min-height:52px}
.contact-form textarea{resize:vertical;line-height:1.8}
.contact-form input:focus,.contact-form textarea:focus{outline:2px solid var(--accent);outline-offset:0;border-color:var(--accent);background:var(--white)}
.contact-form [aria-invalid="true"]{border-color:var(--accent)}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:4px}
.choice-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.choice{display:flex;align-items:center;gap:10px;min-height:52px;padding:10px 16px;border:1px solid var(--line-strong);border-radius:4px;cursor:pointer;font-size:15px;background:var(--bg)}
.choice:has(input:checked){border-color:var(--accent);background:#F7E9E6}
.choice input{width:18px;height:18px;accent-color:var(--accent);margin:0;flex-shrink:0}
.choice.agree{border:0;background:transparent;padding:0;min-height:44px}
.field-error{color:var(--accent);font-size:13px;font-weight:700}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.privacy{border:1px solid var(--line);border-radius:4px;background:var(--bg)}
.privacy summary{cursor:pointer;padding:14px 16px;font-size:14px;font-weight:700;min-height:44px}
.privacy-body{padding:0 16px 16px;font-size:13px;line-height:1.9;color:var(--text)}
.btn-submit{border:0;cursor:pointer;font-family:inherit;min-height:56px;font-size:17px;width:100%}

@media (max-width:960px){
  .contact-layout{grid-template-columns:1fr;gap:40px}
  .contact-aside{position:static;order:2}
  .work-summary{grid-template-columns:1fr}
  .work-summary div + div{padding-left:0;border-left:0;border-top:1px solid var(--line)}
}
@media (max-width:600px){
  .article-hero{padding-top:32px}
  .article-head{margin-top:24px;gap:14px}
  .article-eyecatch{margin-top:28px}
  .article-body{margin-top:40px}
  .prose{font-size:16px;line-height:1.95}
  .prose h2{font-size:21px}
  .prose h3{font-size:18px}
  .author-box{grid-template-columns:1fr;padding:24px;gap:16px}
  .author-mark{width:56px;height:56px;font-size:24px}
  .pager{grid-template-columns:1fr}
  .pager .next{grid-column:auto}
  .theme-box{padding:24px}
  .theme-box .theme-title{font-size:19px}
  .contact-form{padding:24px 20px;gap:24px}
  .field-row,.choice-grid,.choice-grid.three{grid-template-columns:1fr}
}
[hidden]{display:none!important}

/* プロフィール写真 */
.profile-photo{margin:0}
.profile-photo img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:50% 10%;border-radius:4px;background:#E7E0D2}
@media (max-width:960px){.profile-photo{max-width:340px}}

/* ヒーロー見出し（2段） */
.hero h1 .hero-main{display:block}
.hero h1 .hero-sub{display:block;font-size:.5em;line-height:1.55;margin-top:.45em;letter-spacing:.02em}

/* 業界別の制作実績 */
.industry{display:flex;align-items:center;gap:40px;padding-top:24px;padding-bottom:24px}
.industry-label{font-size:14px;font-weight:700;color:var(--muted);white-space:nowrap;flex-shrink:0}
.industry-list{display:flex;flex-wrap:wrap;gap:12px 36px;margin:0}
.industry-list div{display:flex;align-items:baseline;gap:8px}
.industry-list dt{font-size:14px;color:var(--text)}
.industry-list dd{margin:0;font-family:var(--serif);font-size:26px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums}
.industry-list dd span{font-size:14px;margin-left:2px}

/* APPROACH：企画のポイント */
.approach-copy p:not(.eyebrow){color:var(--text);line-height:1.9}
.point-list{border-top:1px solid var(--ink);margin:0}
.point-list div{padding:24px 0;border-bottom:1px solid var(--line-strong)}
.point-list dt{font-family:var(--serif);font-size:20px;font-weight:700;line-height:1.5;color:var(--ink)}
.point-list dd{margin:6px 0 0;font-size:15px;line-height:1.85;color:var(--text)}

/* アイキャッチ（画像なしで表示するデザインカード） */
.eyecatch{position:relative;width:100%;aspect-ratio:554/380;border-radius:4px;padding:24px 26px;display:flex;flex-direction:column;justify-content:space-between;gap:12px;overflow:hidden}
.eyecatch--large{aspect-ratio:1200/628;padding:48px 56px}
.eyecatch-cat{font-size:12px;font-weight:700;letter-spacing:.16em}
.eyecatch-title{font-family:var(--serif);font-weight:700;font-size:22px;line-height:1.5;text-wrap:balance}
.eyecatch--large .eyecatch-title{font-size:40px;max-width:20em}
.eyecatch--large .eyecatch-cat{font-size:14px}
.eyecatch-brand{font-size:11px;letter-spacing:.12em;padding-top:10px;border-top:1px solid currentColor;opacity:.75}
.eyecatch--asset{background:var(--ink);color:var(--bg)}
.eyecatch--asset .eyecatch-cat{color:var(--accent-soft)}
.eyecatch--loan{background:var(--accent);color:var(--white)}
.eyecatch--loan .eyecatch-cat{color:#F3D2CC}
.eyecatch--estate{background:#E7E0D2;color:var(--ink)}
.eyecatch--estate .eyecatch-cat{color:var(--accent)}
.article-eyecatch .eyecatch{border-radius:4px}

@media (max-width:960px){
  .industry{flex-direction:column;align-items:flex-start;gap:12px}
  .eyecatch--large{padding:32px}
  .eyecatch--large .eyecatch-title{font-size:30px}
}
@media (max-width:600px){
  .industry-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;width:100%}
  .industry-list div{justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:4px}
  .industry-list dd{font-size:21px}
  .point-list dt{font-size:17px}
  .point-list dd{font-size:14px}
  .eyecatch{padding:20px 22px}
  .eyecatch-title{font-size:20px}
  .eyecatch--large{padding:22px}
  .eyecatch--large .eyecatch-title{font-size:21px}
  .eyecatch--large .eyecatch-cat{font-size:12px}
}

/* 改行位置の調整（<wbr>の位置でだけ折り返す） */
.hero h1 .hero-sub,.approach h2,.eyecatch-title,.feature h3{word-break:keep-all;overflow-wrap:anywhere}

@media (min-width:961px){.approach-copy h2{font-size:34px}}

/* STRENGTHS：“質”を支える、3つの視点 */
.strengths{padding-top:24px;padding-bottom:72px;display:flex;flex-direction:column;gap:32px}
.strengths-head{display:flex;flex-direction:column;gap:12px}
.strengths-head h2{font-size:34px}
.strengths-lead{color:var(--text);line-height:1.9}
.strength-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.strength{background:var(--white);border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:4px;padding:32px 28px;display:flex;flex-direction:column;gap:12px}
.strength h3{font-size:22px;line-height:1.5}
.strength p{font-size:15px;line-height:1.9;color:var(--text)}
@media (max-width:960px){
  .strength-grid{grid-template-columns:1fr;gap:16px}
}
@media (max-width:600px){
  .strengths{padding-top:8px;padding-bottom:48px;gap:24px}
  .strengths-head h2{font-size:24px}
  .strength{padding:24px 20px}
  .strength h3{font-size:19px}
  .strength p{font-size:14px}
}

/* 2〜3行ごとの改行（段落の間隔） */
.point-list dd+dd{margin-top:6px}
.strength p+p{margin-top:-4px}
.profile-body p+p{margin-top:-8px}
/* 行末に1〜2文字だけ残る折り返しを避ける */
main p,main dd,.flow-text{text-wrap:pretty}
.point-list dt{word-break:keep-all;overflow-wrap:anywhere}

/* ヒーロー（タイポグラフィ中心） */
.hero{display:flex;flex-direction:column;align-items:stretch;gap:40px;padding-top:112px;padding-bottom:104px}
.hero-grid{display:grid;grid-template-columns:7fr 5fr;gap:64px;align-items:end}
.hero h1{font-size:inherit;line-height:1;letter-spacing:0}
.hero h1 .hero-main{display:block;font-size:clamp(72px,9.4vw,136px);line-height:1.05;letter-spacing:.06em}
.hero h1 .hero-sub{display:block;font-size:clamp(22px,2.3vw,32px);line-height:1.6;margin-top:32px;letter-spacing:.02em}
.hero-side{display:flex;flex-direction:column;gap:32px;padding-left:48px;border-left:1px solid var(--line-strong)}
.hero-side .lead{font-size:16px;line-height:2;max-width:none}
@media (max-width:960px){
  .hero{gap:28px;padding-top:56px;padding-bottom:56px}
  .hero-grid{grid-template-columns:1fr;gap:32px}
  .hero-side{padding-left:0;border-left:0;padding-top:28px;border-top:1px solid var(--line-strong)}
}
@media (max-width:600px){
  .hero{gap:20px;padding-top:40px;padding-bottom:48px}
  .hero h1 .hero-main{font-size:56px}
  .hero h1 .hero-sub{font-size:21px;margin-top:20px}
  .hero-side{gap:24px;padding-top:24px}
  .hero-side .lead{font-size:15px}
}
