/* ==========================================================
   Pro-Manage Aqua / 地域の書類相談所
   SEO強化・レスポンシブ・軽量CSS
   ========================================================== */
:root{
  --ink:#15191c; --deep:#1c2527; --deep2:#293638; --body:#3f474b; --muted:#707a80;
  --soft:#faf7f0; --soft2:#fffdfa; --hair:#d9d4cb; --olive:#6f7f68; --olive2:#4d5e50;
  --copper:#a87847; --sand:#d8c4a5; --white:#fff; --max:1120px;
  --shadow:0 24px 70px rgba(22,26,29,.13);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;color:var(--ink);
  background:radial-gradient(circle at 88% 0%,rgba(168,120,71,.08),transparent 420px),
             linear-gradient(180deg,#fffdfa 0%,#faf7f0 45%,#ffffff 100%);
  font-family:"Yu Gothic","Yu Gothic UI","Hiragino Sans","Meiryo",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.78;letter-spacing:.015em;
}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%}
h1,h2,h3,p{margin:0}
ul,ol{margin-top:14px}
.serif{font-family:"Yu Mincho","Hiragino Mincho ProN","Hiragino Mincho Pro",serif;font-weight:600}
.container{width:min(var(--max),calc(100% - 40px));margin-inline:auto}
.section{padding:92px 0;position:relative}
.section.compact{padding:68px 0}
.eyebrow{display:inline-flex;align-items:center;gap:12px;color:var(--olive2);font-size:12px;letter-spacing:.18em;font-weight:900;text-transform:uppercase}
.eyebrow:before{content:"";width:34px;height:1px;background:var(--copper)}
h1{margin-top:18px;font-size:clamp(40px,6vw,74px);line-height:1.12;letter-spacing:.065em}
h2{margin-top:18px;font-size:clamp(30px,4vw,52px);line-height:1.24;letter-spacing:.055em}
h3{font-size:21px;line-height:1.45;letter-spacing:.04em}
.lead{margin-top:24px;color:#485157;font-size:clamp(16px,2vw,18px);line-height:2}
.text{color:var(--body);font-size:15.5px}
.muted{color:var(--muted)}
.mark{background:linear-gradient(transparent 68%,rgba(168,120,71,.25) 0);font-weight:900}
.header{position:sticky;top:0;z-index:100;background:rgba(255,253,250,.84);backdrop-filter:blur(18px);border-bottom:1px solid rgba(217,212,203,.72)}
.nav{width:min(1220px,calc(100% - 32px));margin:auto;height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.brand{display:flex;align-items:center;gap:12px;min-width:max-content}
.brand-mark{width:42px;height:42px;border:1px solid var(--ink);display:grid;place-items:center;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:17px;letter-spacing:.1em;background:rgba(255,255,255,.55)}
.brand-text{line-height:1.25;font-weight:900;letter-spacing:.08em}
.brand-text span{display:block;margin-top:2px;color:#777f76;font-size:11px;letter-spacing:.13em}
.nav-links{display:flex;align-items:center;gap:23px;color:#3c4448;font-size:13px;font-weight:800}
.nav-actions{display:flex;align-items:center;gap:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 20px;border-radius:999px;border:1px solid var(--deep);background:var(--deep);color:#fff;font-weight:900;font-size:14px;letter-spacing:.04em;transition:.25s ease;cursor:pointer}
.btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(28,37,39,.18)}
.btn.secondary{background:rgba(255,255,255,.72);color:var(--ink);border-color:var(--hair)}
.btn.light{background:#fff;color:var(--deep);border-color:#fff}
.hero{padding:86px 0 80px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.hero-actions{margin-top:34px;display:flex;gap:12px;flex-wrap:wrap}
.hero-note{margin-top:18px;color:#697178;font-size:13px}
.hero-note strong{color:var(--olive2)}
.hero-card{position:relative;min-height:550px;border-radius:38px;background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(255,255,255,.48)),radial-gradient(circle at 20% 10%,rgba(168,120,71,.18),transparent 270px),linear-gradient(135deg,#f2eee5,#fff 50%,#e7ede5);border:1px solid rgba(217,212,203,.84);box-shadow:var(--shadow);overflow:hidden}
.hero-card:before{content:"";position:absolute;inset:34px;border:1px solid rgba(22,26,29,.08);border-radius:28px}
.doc{position:absolute;width:250px;height:340px;border-radius:20px;background:#fff;border:1px solid rgba(217,212,203,.92);box-shadow:0 24px 55px rgba(22,26,29,.12)}
.doc.one{left:12%;top:72px;transform:rotate(-7deg)}
.doc.two{right:8%;top:54px;transform:rotate(6deg)}
.doc.three{left:30%;top:128px;transform:rotate(1deg)}
.doc:before{content:"";position:absolute;left:28px;top:36px;width:122px;height:8px;border-radius:999px;background:#c8d0cd;box-shadow:0 36px 0 #ece7de,0 72px 0 #ece7de,0 108px 0 #ece7de,0 144px 0 #ece7de}
.doc:after{content:"";position:absolute;right:30px;bottom:34px;width:55px;height:55px;border-radius:50%;border:2px solid rgba(168,120,71,.55)}
.hero-seal{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:126px;height:126px;border-radius:50%;background:linear-gradient(135deg,var(--deep),var(--olive2));color:#fff;display:grid;place-items:center;box-shadow:0 26px 44px rgba(28,37,39,.28);border:3px solid rgba(255,255,255,.86)}
.hero-seal span{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:42px;letter-spacing:.1em}
.hero-caption{position:absolute;left:44px;right:44px;bottom:42px;display:flex;justify-content:space-between;gap:20px;border-top:1px solid rgba(22,26,29,.12);padding-top:22px}
.hero-caption b{display:block;font-size:13px;letter-spacing:.16em;color:var(--deep)}
.hero-caption span{display:block;margin-top:3px;color:#6c7378;font-size:13px}
.problem-strip{background:var(--deep);color:#fff;padding:34px 0}
.problem-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;border:1px solid rgba(255,255,255,.13)}
.problem-item{padding:24px;background:rgba(255,255,255,.035)}
.problem-item small{display:block;color:#d5bf9a;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:18px}
.problem-item span{display:block;margin-top:8px;color:rgba(255,255,255,.84);font-weight:800;font-size:14px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:34px;margin-bottom:42px}
.section-head .lead{max-width:560px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{padding:30px;background:#fff;border:1px solid var(--hair);box-shadow:0 14px 36px rgba(22,26,29,.055)}
.card p{margin-top:12px;color:#60686d;font-size:14.5px}
.card .num{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:42px;color:rgba(168,120,71,.35);line-height:1}
.services{background:radial-gradient(circle at 100% 0%,rgba(111,127,104,.10),transparent 450px),linear-gradient(180deg,#ffffff,#f8f5ee)}
.service-card{min-height:290px;position:relative;overflow:hidden;transition:.25s ease}
.service-card:hover{transform:translateY(-4px);box-shadow:0 20px 45px rgba(22,26,29,.09)}
.service-list{margin:20px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.service-list li{position:relative;padding-left:18px;color:#394145;font-size:13.5px;font-weight:800}
.service-list li:before{content:"";position:absolute;left:0;top:.75em;width:7px;height:1px;background:var(--copper)}
.trust{background:var(--deep);color:#fff;overflow:hidden}
.trust h2,.trust h3{color:#fff}
.trust .lead,.trust p{color:rgba(255,255,255,.74)}
.trust .eyebrow{color:#e7dcc8}.trust .eyebrow:before{background:#c7a36b}
.trust .card{background:rgba(255,255,255,.045);border-color:rgba(255,255,255,.16)}
.trust .card b{display:block;color:#dfc79f;letter-spacing:.14em;font-size:12px;margin-bottom:10px}
.flow-list{display:grid;gap:0;border-top:1px solid var(--hair)}
.flow-item{display:grid;grid-template-columns:84px 1fr;gap:24px;padding:26px 0;border-bottom:1px solid var(--hair)}
.flow-num{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:30px;color:var(--copper);line-height:1}
.flow-item p{margin-top:6px;color:#5d666b;font-size:14.5px}
.price{background:#f7f2e9}
.price-card .name{font-weight:900;letter-spacing:.08em;color:var(--olive2)}
.price-card .amount{margin-top:18px;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:32px;line-height:1;color:var(--ink)}
.price-card .amount small{font-size:15px}
.faq-list{margin-top:42px;border-top:1px solid var(--hair)}
.faq-item{border-bottom:1px solid var(--hair)}
.faq-q{width:100%;padding:24px 0;background:none;border:0;display:flex;justify-content:space-between;align-items:center;gap:20px;color:var(--ink);cursor:pointer;text-align:left;font-weight:900;font-size:17px}
.faq-q span:last-child{width:28px;height:28px;border:1px solid var(--hair);display:grid;place-items:center;flex:0 0 auto}
.faq-a{max-height:0;overflow:hidden;transition:max-height .25s ease}
.faq-a p{padding:0 0 24px;color:#5f676c;max-width:820px}
.faq-item.open .faq-a{max-height:260px}
.contact-section{background:radial-gradient(circle at 100% 0%,rgba(168,120,71,.14),transparent 430px),linear-gradient(160deg,#1c2527,#293638);color:#fff}
.contact-section .eyebrow{color:#e7dcc8}.contact-section .eyebrow:before{background:#c7a36b}
.contact-section h2{color:#fff}.contact-section .lead{color:rgba(255,255,255,.75)}
.contact-panel{margin-top:44px;display:grid;grid-template-columns:1fr .92fr;gap:18px}
.contact-info,.contact-box{padding:36px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16)}
.info-list{display:grid;gap:0;border-top:1px solid rgba(255,255,255,.15);margin-top:26px}
.info-row{display:grid;grid-template-columns:110px 1fr;gap:18px;padding:17px 0;border-bottom:1px solid rgba(255,255,255,.15)}
.info-row b{color:#dfc79f;font-size:12px;letter-spacing:.14em}
.info-row span,.info-row a{color:rgba(255,255,255,.86)}
.footer-site{padding:34px 0;background:#14191b;color:rgba(255,255,255,.72)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px}
.footer-links{display:flex;gap:18px;flex-wrap:wrap}
.breadcrumb{padding:18px 0 0;color:#737b80;font-size:13px}
.breadcrumb a{text-decoration:underline;text-underline-offset:4px}
.page-hero{padding:70px 0 56px}
.article{background:#fff;border:1px solid var(--hair);padding:42px;box-shadow:0 18px 44px rgba(22,26,29,.06)}
.article h2{font-size:34px}
.article h2:not(:first-child){margin-top:52px;border-top:1px solid var(--hair);padding-top:34px}
.article p,.article li{color:#424b50;font-size:16px}
.article ul{padding-left:1.3em}
.related{background:#f8f5ee}
.mobile-cta{position:fixed;left:12px;right:12px;bottom:12px;z-index:90;display:none;grid-template-columns:1fr 1fr;gap:8px}
.mobile-cta a{min-height:48px;display:grid;place-items:center;border-radius:999px;background:var(--deep);color:#fff;font-weight:900;box-shadow:0 12px 30px rgba(22,26,29,.18)}
.mobile-cta a:first-child{background:#fff;color:var(--deep);border:1px solid var(--hair)}
@media (max-width:980px){
  .nav-links,.nav-actions{display:none}
  .hero-grid,.grid-2,.contact-panel{grid-template-columns:1fr}
  .problem-row,.grid-3{grid-template-columns:1fr 1fr}
  .hero-card{min-height:470px}
}
@media (max-width:640px){
  .container{width:min(100% - 28px,var(--max))}
  .section{padding:72px 0}.section.compact{padding:54px 0}
  .nav{height:66px}.brand-mark{width:38px;height:38px}.brand-text{font-size:13px}.brand-text span{font-size:9px}
  h1{font-size:40px}h2{font-size:31px}
  .hero-actions .btn{width:100%}
  .hero-card{min-height:380px;border-radius:28px}
  .doc{width:170px;height:235px;border-radius:16px}
  .hero-seal{width:92px;height:92px}.hero-seal span{font-size:32px}
  .hero-caption{left:24px;right:24px;bottom:24px;display:grid;gap:8px;padding-top:16px}
  .problem-row,.grid-3{grid-template-columns:1fr}
  .section-head{display:block}
  .flow-item{grid-template-columns:58px 1fr;gap:16px}
  .info-row{grid-template-columns:1fr;gap:4px}
  .footer-inner{display:grid}
  .mobile-cta{display:grid}
  body{padding-bottom:76px}
  .article{padding:26px}
}


.map-embed{
  width:100%;
  min-height:360px;
  border:1px solid var(--hair);
  background:#f8f5ee;
  overflow:hidden;
}
.map-embed iframe{
  width:100%;
  height:360px;
  border:0;
  display:block;
  filter:saturate(.88) contrast(.98);
}
.phone-note{
  margin-top:16px;
  padding:16px 18px;
  background:rgba(255,255,255,.72);
  border:1px solid var(--hair);
  color:#596267;
  font-size:13.5px;
}
.contact-section .phone-note{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.16);
  color:rgba(255,255,255,.72);
}
.address-line{
  margin-top:12px;
  font-weight:900;
  color:var(--ink);
}
.contact-section .address-line{
  color:#fff;
}
.map-actions{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}


/* ==========================================================
   2026-05-12 修正:
   ヒーロー右側の書類イラストが枠外にはみ出して見える問題を修正
   - .hero-card 内に完全収容
   - 書類サイズを clamp で安定化
   - 回転時の角が枠外に出にくい配置
   - 1366px前後のPC幅でも崩れにくく調整
   ========================================================== */
.hero-card{
  isolation:isolate;
  overflow:hidden !important;
  min-height:500px;
  max-height:560px;
}
.hero-card .doc{
  width:clamp(150px, 15vw, 220px);
  height:clamp(215px, 21vw, 300px);
  transform-origin:center center;
}
.hero-card .doc.one{
  left:13%;
  top:70px;
  transform:rotate(-5deg);
}
.hero-card .doc.two{
  right:9%;
  top:54px;
  transform:rotate(5deg);
}
.hero-card .doc.three{
  left:34%;
  top:115px;
  transform:rotate(1deg);
}
.hero-card .doc::before{
  left:22px;
  top:30px;
  width:52%;
  height:7px;
  box-shadow:
    0 30px 0 #ece7de,
    0 60px 0 #ece7de,
    0 90px 0 #ece7de,
    0 120px 0 #ece7de;
}
.hero-card .doc::after{
  right:24px;
  bottom:28px;
  width:44px;
  height:44px;
}
.hero-seal{
  width:108px;
  height:108px;
  top:47%;
}
.hero-seal span{
  font-size:36px;
}
@media (max-width:980px){
  .hero-card{
    min-height:430px;
    max-height:480px;
  }
  .hero-card .doc{
    width:clamp(135px, 28vw, 190px);
    height:clamp(195px, 38vw, 265px);
  }
  .hero-card .doc.one{left:10%;top:60px}
  .hero-card .doc.two{right:8%;top:50px}
  .hero-card .doc.three{left:32%;top:98px}
}
@media (max-width:640px){
  .hero-card{
    min-height:360px;
    max-height:390px;
  }
  .hero-card .doc{
    width:145px;
    height:205px;
  }
  .hero-card .doc.one{left:8%;top:62px}
  .hero-card .doc.two{right:6%;top:58px}
  .hero-card .doc.three{left:30%;top:100px}
  .hero-seal{
    width:82px;
    height:82px;
  }
  .hero-seal span{
    font-size:28px;
  }
}


/* ==========================================================
   2026-05-12 追加修正 v2:
   ファーストビューの大見出しが大きすぎて欠ける・変な位置で改行される問題を修正
   - トップページ専用の .hero-title を追加
   - PC幅1366px前後でも「に。」だけ改行されないよう調整
   - ヒーロー上部余白と右側カード高さを再調整
   ========================================================== */
.hero{
  padding:58px 0 76px;
}
.hero-grid{
  grid-template-columns:minmax(0, 1fr) minmax(420px, .88fr);
  gap:42px;
}
.hero-title{
  font-size:clamp(42px, 5.1vw, 64px);
  line-height:1.18;
  letter-spacing:.045em;
  max-width:720px;
  word-break:keep-all;
  overflow-wrap:normal;
}
.hero .lead{
  max-width:690px;
}
.hero-card{
  min-height:460px;
  max-height:500px;
  align-self:center;
}
.hero-card .doc{
  width:clamp(140px, 13.5vw, 205px);
  height:clamp(200px, 19vw, 280px);
}
.hero-card .doc.one{
  left:12%;
  top:58px;
}
.hero-card .doc.two{
  right:9%;
  top:44px;
}
.hero-card .doc.three{
  left:34%;
  top:100px;
}
.hero-caption{
  bottom:34px;
  padding-top:18px;
}
.phone-note{
  max-width:690px;
}
@media (max-width:1100px){
  .hero-grid{
    grid-template-columns:1fr;
  }
  .hero-title{
    font-size:clamp(40px, 7vw, 58px);
  }
  .hero-card{
    max-width:680px;
    width:100%;
    margin-inline:auto;
  }
}
@media (max-width:640px){
  .hero{
    padding:42px 0 62px;
  }
  .hero-title{
    font-size:38px;
    line-height:1.2;
    letter-spacing:.035em;
  }
  .hero-card{
    min-height:340px;
    max-height:370px;
  }
}
