
:root{
  --red:#c83321;
  --red-dark:#9d2518;
  --gold:#d4a53c;
  --gold-soft:#f4dfb7;
  --ink:#211915;
  --muted:#6d625a;
  --paper:#fffaf1;
  --paper2:#fff6e8;
  --line:#eadcc6;
  --purple:#7051a9;
  --green:#2f8c69;
  --blue:#62a8b6;
  --shadow:0 18px 45px rgba(80,44,15,.10);
  --radius:26px;
  --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Hiragino Mincho ProN","Yu Mincho",YuMincho,"Noto Serif JP",serif;color:var(--ink);background:var(--paper);line-height:1.75;letter-spacing:.02em;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-2;background:radial-gradient(circle at 12% 10%,rgba(225,176,67,.13),transparent 20%),radial-gradient(circle at 83% 7%,rgba(112,81,169,.12),transparent 24%),radial-gradient(circle at 90% 45%,rgba(98,168,182,.08),transparent 26%),linear-gradient(180deg,#fffdf7 0%,#fff8ed 44%,#fffaf5 100%)}
body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;opacity:.52;background-image:linear-gradient(rgba(145,112,55,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(145,112,55,.025) 1px,transparent 1px);background-size:28px 28px}
.container{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,250,241,.88);backdrop-filter:blur(14px);border-bottom:1px solid rgba(234,220,198,.65)}
.header-inner{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:.06em;white-space:nowrap}.seal{display:grid;place-items:center;width:42px;height:42px;border:2px solid var(--red);color:var(--red);border-radius:8px;font-weight:900;font-size:20px;line-height:1;background:#fff5eb}.logo strong{font-size:23px}.logo span{font-size:14px;margin-right:2px}.nav{display:flex;gap:30px;align-items:center;font-size:15px;font-weight:600}.nav a{position:relative}.nav a:not(.btn):after{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:2px;background:var(--red);transition:.25s}.nav a:hover:after{right:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:999px;padding:13px 22px;border:1px solid var(--line);font-weight:700;line-height:1.1;box-shadow:0 10px 24px rgba(118,48,21,.09);transition:.2s;background:white}.btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(118,48,21,.14)}.btn-red{background:linear-gradient(135deg,var(--red),#d94e26);color:#fff;border-color:transparent}.btn-outline{background:rgba(255,255,255,.78);border-color:#e2bca6;color:var(--red-dark)}.btn-purple{background:linear-gradient(135deg,#7051a9,#8b62bf);color:white;border-color:transparent}.arrow{width:24px;height:24px;display:inline-grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35)}.btn-outline .arrow{background:#fff5ec;border-color:#e9c7b4}.mobile-toggle{display:none;border:0;background:transparent;font-size:24px;color:var(--ink)}
.section{position:relative;padding:86px 0;border-top:1px solid rgba(234,220,198,.62)}.section-tight{padding:58px 0}.koban{position:absolute;width:54px;height:20px;border-radius:50%;background:linear-gradient(90deg,#f6d66c,#d5a536,#f7e58a);opacity:.72;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35),0 6px 18px rgba(183,130,35,.16);transform:rotate(-18deg);pointer-events:none}.koban:after{content:"";position:absolute;inset:5px 10px;border-radius:50%;border:1px solid rgba(137,94,22,.22)}.k1{top:120px;left:3%}.k2{top:210px;left:43%}.k3{top:84px;right:8%;transform:rotate(16deg)}.k4{bottom:80px;right:20%;transform:rotate(-8deg)}.brush{position:absolute;pointer-events:none;opacity:.55}.brush-gold{width:420px;height:140px;border-top:12px solid rgba(212,165,60,.48);border-radius:50%;transform:rotate(-18deg)}
.hero{min-height:670px;display:grid;align-items:center;padding:64px 0 72px}.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:32px;align-items:center}.eyebrow{color:var(--red);font-weight:700;letter-spacing:.08em}.hero h1{font-size:clamp(42px,6.1vw,82px);line-height:1.35;margin:18px 0 16px;font-weight:800;letter-spacing:.04em}.hero h1 .red{color:var(--red)}.hero-lead{font-size:clamp(17px,2.05vw,24px);color:var(--red);font-weight:700;line-height:1.8;margin:0 0 18px}.hero-copy{font-size:16px;color:#4d423b;margin-bottom:28px}.hero-actions{display:flex;gap:16px;flex-wrap:wrap}.hero-art{position:relative}.hero-art:before{content:"";position:absolute;inset:8% -7% -4% 8%;background:radial-gradient(circle,rgba(100,177,189,.2),transparent 55%);border-radius:50%;z-index:-1}.hero-art img{width:min(520px,100%);margin-inline:auto;border-radius:22px;mix-blend-mode:multiply;filter:drop-shadow(0 26px 28px rgba(83,52,26,.12))}.wave-sweep{position:absolute;right:-130px;bottom:38px;width:580px;height:190px;border-radius:50%;border-top:18px solid rgba(212,165,60,.55);border-right:5px solid rgba(98,168,182,.35);transform:rotate(-22deg);z-index:-1}.fuji{position:absolute;left:-4vw;bottom:22px;width:250px;height:130px;clip-path:polygon(0 100%,50% 0,100% 100%);background:linear-gradient(145deg,rgba(118,81,169,.16),rgba(192,73,82,.09));z-index:-1}.intro-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:58px;align-items:center}.illustration-card{position:relative}.illustration-card img{border-radius:var(--radius);mix-blend-mode:multiply}.illustration-card:before{content:"";position:absolute;inset:10% 8% 4% -4%;border-radius:50%;border-top:14px solid rgba(212,165,60,.4);transform:rotate(-20deg);z-index:-1}.section-title{font-size:clamp(30px,3.8vw,48px);line-height:1.45;margin:0 0 16px}.section-title .red{color:var(--red)}.subcopy{color:#4d423b;margin:0 0 28px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-card,.service-card,.profile-tag,.value-card{background:rgba(255,255,255,.76);border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 10px 28px rgba(58,34,17,.06)}.feature-card .icon,.service-card .icon{font-size:30px;color:var(--gold);line-height:1}.feature-card h3,.service-card h3{margin:10px 0 8px;line-height:1.45;font-size:19px}.feature-card p,.service-card p{margin:0;color:#5f544e;font-size:14px}.center-title{text-align:center;margin-bottom:34px}.center-title h2{font-size:clamp(30px,4vw,46px);margin:0;display:inline-flex;align-items:center;gap:22px}.center-title h2:before,.center-title h2:after{content:"";width:46px;height:1px;background:var(--red)}.services-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.service-card{min-height:178px;text-align:center;padding:24px 15px}.service-card h3{font-size:18px}.members-switch{display:grid;grid-template-columns:1.42fr .78fr;gap:36px}.member-row{display:grid;grid-template-columns:1.08fr .92fr;gap:30px;align-items:center}.small-heading{font-size:22px;margin:0 0 16px;display:inline-block;border-bottom:3px solid var(--red);padding-bottom:4px}.motion-stage{position:relative;min-height:292px;display:flex;align-items:center;justify-content:center}.motion-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:28px;box-shadow:var(--shadow);display:none}.motion-stage.has-video .motion-video{display:block}.motion-stage.has-video .motion-fallback{display:none}.motion-fallback{position:relative;width:100%;min-height:292px;border-radius:30px;background:linear-gradient(135deg,#fff7e8,#fffdf8);overflow:hidden;border:1px solid #ead9bd;box-shadow:var(--shadow)}.motion-fallback:before{content:"";position:absolute;left:-50px;right:-50px;bottom:50px;height:68px;border-top:10px solid rgba(212,165,60,.5);border-radius:50%;transform:rotate(-10deg)}.motion-note{position:absolute;left:18px;top:24px;font-weight:800;color:var(--red-dark);transform:rotate(-8deg);font-size:18px;z-index:2}.motion-card{position:absolute;width:30%;height:74%;bottom:28px;border-radius:24px;background:#fff;border:1px solid #e7d1ad;box-shadow:0 20px 30px rgba(82,50,19,.13);display:grid;place-items:center;overflow:hidden;animation:waveFloat 3.6s ease-in-out infinite}.motion-card:nth-child(2){left:7%;transform:rotate(-4deg);animation-delay:.0s}.motion-card:nth-child(3){left:35%;transform:rotate(1deg);animation-delay:.18s}.motion-card:nth-child(4){left:62%;transform:rotate(5deg);animation-delay:.36s}.person{width:100%;height:100%;display:grid;align-items:end;justify-items:center;padding:22px 10px;background:linear-gradient(180deg,#fffaf1 0%,#f6e4c8 100%)}.head{width:58px;height:58px;border-radius:50%;background:#dfb584;margin-bottom:-4px;border:3px solid #fff}.body{width:98px;height:92px;background:linear-gradient(160deg,#1f2937,#334155);border-radius:34px 34px 12px 12px;position:relative}.body:before{content:"";position:absolute;left:35px;top:0;border-left:14px solid transparent;border-right:14px solid transparent;border-top:34px solid #fff}.hand{position:absolute;width:34px;height:50px;border-radius:22px;background:#dfb584;top:-38px;animation:handWave 1.4s ease-in-out infinite;transform-origin:bottom center}.hand.left{left:-4px}.hand.right{right:-4px;animation-delay:.22s}.person-name{position:absolute;left:0;right:0;bottom:12px;text-align:center;font-size:13px;font-weight:700;color:#503523;background:rgba(255,255,255,.78);margin:0 18px;border-radius:999px;padding:4px}@keyframes handWave{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(16deg)}}@keyframes waveFloat{0%,100%{translate:0 0}50%{translate:0 -6px}}.member-copy h2{font-size:31px;margin:0 0 10px}.member-copy h2 .red{color:var(--red);font-size:44px}.member-copy p{color:#4e443d}.profile-tags{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.profile-tag{padding:8px 12px;font-size:13px;box-shadow:none;border-radius:12px;background:#fffaf2}.switch-panel{border-left:1px solid var(--line);padding-left:34px}.check-list{list-style:none;padding:0;margin:18px 0;display:grid;gap:12px}.check-list li{display:flex;gap:10px;align-items:flex-start}.check-list li:before{content:"✓";flex:0 0 22px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;font-weight:900;font-size:13px;line-height:1}.mini-illust{width:170px;margin:20px 0 0 auto;mix-blend-mode:multiply}.recruit-band{position:relative;overflow:hidden;background:linear-gradient(90deg,#fffaf1,#fbedf8);padding:48px 0;border-block:1px solid var(--line)}.recruit-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:32px;align-items:center}.recruit-grid h2{font-size:42px;line-height:1.3;margin:0 0 10px}.recruit-grid h2 span{color:var(--purple)}.recruit-illust{display:flex;align-items:center;justify-content:center;gap:18px}.recruit-illust img{max-height:170px;mix-blend-mode:multiply}.cta-footer{background:linear-gradient(135deg,#b92b1c,#d14924);color:#fff;padding:40px 0;position:relative;overflow:hidden}.cta-footer .container{display:grid;grid-template-columns:1.1fr auto .95fr;gap:30px;align-items:center}.cta-footer h2{margin:0 0 8px;font-size:32px}.cta-footer p{margin:0;color:#fff3e6}.contact-info{display:grid;gap:8px;font-size:16px}.contact-info strong{font-size:30px;letter-spacing:.04em}.footer-btn{background:#fff;color:var(--red-dark)}.page-hero{padding:78px 0 44px;background:linear-gradient(135deg,#fffaf1,#fff5e6);border-bottom:1px solid var(--line)}.page-hero h1{font-size:clamp(36px,4.6vw,58px);line-height:1.4;margin:8px 0 12px}.page-hero p{font-size:18px;color:var(--red-dark);font-weight:700;margin:0}.content-wrap{padding:64px 0}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:44px;align-items:start}.main-content{display:grid;gap:34px}.content-card{background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:24px;padding:32px;box-shadow:0 12px 32px rgba(75,44,18,.06)}.content-card h2{font-size:30px;margin:0 0 16px}.content-card h3{font-size:22px;margin:22px 0 8px}.content-card p{margin:0 0 12px}.content-card ul,.content-card ol{margin:0;padding-left:1.2em}.content-card li{margin:.3em 0}.side-card{position:sticky;top:100px;background:linear-gradient(145deg,#fffaf1,#fff);border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:var(--shadow)}.side-card h3{margin:0 0 12px}.table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid var(--line);border-radius:18px}.table th,.table td{padding:14px 16px;border-bottom:1px solid var(--line);text-align:left}.table tr:last-child>*{border-bottom:0}.table th{background:#fff2dd}.form-grid{display:grid;gap:16px}.field label{display:block;font-weight:700;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;padding:14px 16px;font:inherit}.field textarea{min-height:140px}.todo{background:#fff8db;border:1px dashed #d6a737;border-radius:16px;padding:14px 16px;color:#5b4215}.site-footer{padding:28px 0;background:#2b201a;color:#f8ead8;font-size:13px}.site-footer .container{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.note{font-size:13px;color:var(--muted)}
@media (max-width:1020px){.nav{display:none}.mobile-toggle{display:block}.nav.open{display:grid;position:absolute;left:24px;right:24px;top:72px;background:#fffaf2;padding:20px;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.hero-grid,.intro-grid,.members-switch,.member-row,.recruit-grid,.cta-footer .container,.content-grid{grid-template-columns:1fr}.services-grid{grid-template-columns:repeat(3,1fr)}.feature-grid{grid-template-columns:1fr}.switch-panel{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:24px}.side-card{position:static}.hero{padding-top:36px}.hero-art{order:-1}.hero-art img{max-height:390px;object-fit:contain}.cta-footer .container{justify-items:start}.content-wrap{padding:44px 0}}
@media (max-width:640px){.container{width:min(100% - 30px,var(--max))}.header-inner{height:68px}.logo strong{font-size:19px}.seal{width:36px;height:36px}.hero h1{font-size:40px}.hero-lead{font-size:16px}.section{padding:58px 0}.services-grid{grid-template-columns:1fr 1fr}.service-card{min-height:auto}.motion-stage{min-height:240px}.motion-fallback{min-height:240px}.motion-card{height:70%;bottom:26px}.member-copy h2{font-size:26px}.recruit-grid h2{font-size:32px}.footer-btn{width:100%}.contact-info strong{font-size:24px}.page-hero{padding:50px 0 30px}.content-card{padding:24px}.content-card h2{font-size:25px}}


/* Expanded local-warmth service pages */
.services-intro{
  max-width:900px;
  margin: -8px auto 32px;
  text-align:center;
  color:var(--muted);
  font-size:17px;
  line-height:2;
}
.service-page-hero p{
  max-width:880px;
}
.service-expanded{
  gap:28px;
}
.service-detail-card{
  position:relative;
  overflow:hidden;
}
.service-detail-card:before{
  content:"";
  position:absolute;
  right:-60px;
  top:-70px;
  width:180px;
  height:180px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(212,165,60,.14),transparent 64%);
  pointer-events:none;
}
.service-detail-card h2{
  display:flex;
  align-items:center;
  gap:.55em;
}
.service-detail-card h2:before{
  content:"";
  width:28px;
  height:2px;
  background:var(--red);
  display:inline-block;
  border-radius:2px;
}
.service-detail-card h3{
  color:var(--red-dark);
  border-left:4px solid var(--gold);
  padding-left:12px;
}
.service-detail-card p{
  font-size:16.5px;
  line-height:2;
}
.service-detail-card .warm-list,
.warm-list{
  display:grid;
  gap:9px;
  padding-left:0!important;
  list-style:none;
}
.warm-list li{
  position:relative;
  padding-left:1.65em;
  line-height:1.85;
}
.warm-list li:before{
  content:"";
  position:absolute;
  left:0;
  top:.72em;
  width:.62em;
  height:.62em;
  border-radius:50%;
  background:var(--red);
  box-shadow:0 0 0 4px rgba(200,51,33,.10);
}
.service-side .eyebrow{
  margin:0 0 8px;
  color:var(--red-dark);
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
}
.side-mini-links{
  margin-top:18px;
  display:grid;
  gap:8px;
  border-top:1px solid var(--line);
  padding-top:16px;
}
.side-mini-links a{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}
.side-mini-links a:hover{
  color:var(--red-dark);
}
@media (max-width: 760px){
  .services-intro{
    text-align:left;
    font-size:15.5px;
    margin-bottom:24px;
  }
  .service-detail-card{
    padding:24px;
  }
  .service-detail-card h2{
    font-size:24px;
  }
  .service-detail-card p{
    font-size:15.5px;
  }
}


/* Flow page expanded */
.flow-hero p{
  max-width:880px;
}
.flow-wrap .content-grid{
  align-items:start;
}
.flow-expanded{
  gap:30px;
}
.flow-intro-card{
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(255,246,232,.86));
  border:1px solid rgba(212,165,60,.32);
}
.flow-steps{
  display:grid;
  gap:22px;
  counter-reset:flowStep;
}
.flow-step-card{
  position:relative;
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius:26px;
  padding:30px 32px 30px 96px;
  box-shadow:0 14px 34px rgba(75,44,18,.065);
  overflow:hidden;
}
.flow-step-card:before{
  content:"";
  position:absolute;
  left:34px;
  top:78px;
  bottom:-24px;
  width:2px;
  background:linear-gradient(var(--gold),rgba(212,165,60,0));
}
.flow-step-card:last-child:before{
  display:none;
}
.flow-step-no{
  position:absolute;
  left:26px;
  top:28px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  font-size:10px;
  line-height:1.1;
  font-weight:900;
  letter-spacing:.04em;
  text-align:center;
  box-shadow:0 10px 24px rgba(200,51,33,.22);
}
.flow-step-card h2{
  margin:0 0 12px;
  font-size:28px;
}
.flow-step-card p{
  margin:0 0 12px;
  line-height:2;
  font-size:16.5px;
}
.flow-step-card p:last-child{
  margin-bottom:0;
}
.flow-step-card:after{
  content:"";
  position:absolute;
  right:-52px;
  top:-56px;
  width:156px;
  height:156px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(212,165,60,.14),transparent 62%);
}
@media (max-width: 760px){
  .flow-step-card{
    padding:26px 22px 26px 24px;
  }
  .flow-step-no{
    position:static;
    width:auto;
    height:auto;
    display:inline-flex;
    padding:8px 12px;
    border-radius:999px;
    margin-bottom:12px;
  }
  .flow-step-card:before{
    display:none;
  }
  .flow-step-card h2{
    font-size:23px;
  }
  .flow-step-card p{
    font-size:15.5px;
  }
}


/* Flow page two-route entry */
.flow-route-intro{
  margin:0 0 38px;
  padding:34px;
  border:1px solid rgba(212,165,60,.34);
  border-radius:30px;
  background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,246,232,.86));
  box-shadow:0 16px 38px rgba(75,44,18,.07);
  text-align:center;
}
.flow-route-intro h2{
  margin:0 0 10px;
  font-size:clamp(28px,3.2vw,42px);
}
.flow-route-intro p{
  margin:0 auto 24px;
  max-width:760px;
  color:var(--muted);
  line-height:2;
}
.route-buttons{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.route-button{
  position:relative;
  display:grid;
  gap:8px;
  padding:26px 24px;
  text-align:left;
  border-radius:24px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 12px 30px rgba(75,44,18,.07);
  overflow:hidden;
  transition:.22s ease;
}
.route-button:hover{
  transform:translateY(-3px);
  box-shadow:0 18px 40px rgba(75,44,18,.12);
}
.route-button:after{
  content:"›";
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  font-size:28px;
  line-height:1;
}
.route-switch:after{background:var(--red)}
.route-first:after{background:var(--green)}
.route-button span{
  color:var(--muted);
  font-size:14px;
  font-weight:700;
}
.route-button strong{
  font-size:clamp(22px,2.5vw,31px);
  line-height:1.35;
  padding-right:44px;
}
.route-button em{
  font-style:normal;
  color:var(--muted);
  line-height:1.7;
  font-size:14.5px;
  padding-right:32px;
}
.route-switch{
  background:linear-gradient(145deg,#fff,#fff5ef);
}
.route-first{
  background:linear-gradient(145deg,#fff,#f2fff9);
}
.route-section-card{
  scroll-margin-top:110px;
}
.route-section-card .route-label{
  display:inline-flex;
  margin:0 0 10px;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  color:#fff;
}
.route-switch-card .route-label{background:var(--red)}
.route-first-card .route-label{background:var(--green)}
.route-switch-card{
  border-color:rgba(200,51,33,.24);
}
.route-first-card{
  border-color:rgba(47,140,105,.24);
}
.route-section-card h2{
  font-size:clamp(30px,3.4vw,44px);
}
@media (max-width: 840px){
  .route-buttons{
    grid-template-columns:1fr;
  }
  .flow-route-intro{
    padding:24px;
    text-align:left;
  }
}


/* Footer sitemap */
.footer-sitemap{
  padding:58px 0 44px;
  background:
    radial-gradient(circle at 12% 15%, rgba(212,165,60,.12), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(200,51,33,.08), transparent 24%),
    linear-gradient(180deg,#fffaf1 0%,#fff4e4 100%);
  border-top:1px solid var(--line);
}
.footer-sitemap-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1.2fr 1fr;
  gap:34px;
  align-items:start;
}
.footer-brand-block{
  padding-right:12px;
}
.footer-logo{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  letter-spacing:.06em;
  margin-bottom:16px;
}
.footer-logo strong{
  font-size:24px;
}
.footer-logo span:not(.seal){
  font-size:14px;
}
.footer-brand-block p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.9;
}
.footer-address{
  font-size:14px;
}
.footer-address strong{
  color:var(--red-dark);
  font-size:22px;
  letter-spacing:.04em;
}
.footer-link-column{
  display:grid;
  gap:9px;
}
.footer-link-column h2{
  margin:0 0 8px;
  color:var(--red-dark);
  font-size:18px;
  line-height:1.4;
  border-bottom:1px solid var(--line);
  padding-bottom:10px;
}
.footer-link-column a{
  color:var(--ink);
  font-size:14.5px;
  line-height:1.65;
  transition:.18s ease;
}
.footer-link-column a:hover{
  color:var(--red);
  transform:translateX(3px);
}
.footer-contact-link{
  margin-top:6px;
  display:inline-flex!important;
  width:max-content;
  padding:8px 14px;
  border-radius:999px;
  background:var(--red);
  color:#fff!important;
  font-weight:800;
}
.footer-contact-link:hover{
  background:var(--red-dark);
  transform:translateY(-1px)!important;
}
@media (max-width: 980px){
  .footer-sitemap-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 640px){
  .footer-sitemap{
    padding:42px 0 34px;
  }
  .footer-sitemap-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  .footer-brand-block{
    padding-right:0;
  }
}


/* Company page refresh */
.company-hero p{
  max-width:900px;
}
.company-wrap{
  padding-top:56px;
}
.company-layout{
  display:grid;
  gap:34px;
}
.company-lead-card{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);
  gap:34px;
  align-items:center;
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(255,246,232,.88));
  border:1px solid rgba(212,165,60,.32);
  border-radius:32px;
  padding:38px;
  box-shadow:0 18px 45px rgba(75,44,18,.08);
  overflow:hidden;
  position:relative;
}
.company-lead-card:before{
  content:"";
  position:absolute;
  right:-70px;
  top:-80px;
  width:240px;
  height:240px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(212,165,60,.16),transparent 62%);
}
.company-lead-card .eyebrow,
.company-local-card .eyebrow{
  color:var(--red-dark);
  font-weight:900;
  letter-spacing:.08em;
  margin:0 0 10px;
}
.company-lead-card h2{
  font-size:clamp(32px,4vw,50px);
  line-height:1.45;
  margin:0 0 20px;
}
.company-lead-card p{
  line-height:2;
  margin:0 0 12px;
}
.company-illust-box{
  position:relative;
  border-radius:28px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
}
.company-illust-box img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.company-message-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.company-message-card{
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius:26px;
  padding:30px;
  box-shadow:0 12px 32px rgba(75,44,18,.06);
  position:relative;
  overflow:hidden;
}
.company-message-card span{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:50%;
  background:var(--red);
  color:#fff;
  font-weight:900;
  margin-bottom:14px;
}
.company-message-card h2{
  font-size:25px;
  line-height:1.45;
  margin:0 0 12px;
}
.company-message-card p{
  margin:0 0 10px;
  line-height:1.95;
}
.company-philosophy{
  background:linear-gradient(145deg,#fff,#fff7ea);
}
.company-values{
  padding:10px 0 0;
}
.company-value-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.company-value-grid article{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
  box-shadow:0 10px 26px rgba(75,44,18,.05);
}
.company-value-grid h3{
  color:var(--red-dark);
  margin:0 0 8px;
  font-size:20px;
}
.company-value-grid p{
  margin:0;
  color:var(--muted);
  line-height:1.85;
}
.company-local-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:28px;
  align-items:stretch;
  border-radius:30px;
  padding:34px;
  background:linear-gradient(145deg,#fffaf1,#f0fbff);
  border:1px solid rgba(98,168,182,.25);
  box-shadow:0 15px 36px rgba(75,44,18,.06);
}
.company-local-card h2{
  font-size:clamp(28px,3.4vw,42px);
  margin:0 0 16px;
}
.company-local-card p{
  line-height:2;
  margin:0 0 12px;
}
.company-local-mini{
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
  padding:24px;
  box-shadow:0 10px 26px rgba(75,44,18,.06);
}
.company-local-mini strong{
  display:block;
  color:var(--red-dark);
  margin-bottom:6px;
}
.company-timeline{
  display:grid;
  gap:18px;
}
.timeline-item{
  position:relative;
  padding:26px 28px 26px 120px;
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow:0 12px 30px rgba(75,44,18,.05);
}
.timeline-item span{
  position:absolute;
  left:24px;
  top:28px;
  width:76px;
  font-size:13px;
  font-weight:900;
  color:var(--red-dark);
  line-height:1.4;
}
.timeline-item h3{
  margin:0 0 8px;
  font-size:24px;
}
.timeline-item p{
  margin:0;
  line-height:1.9;
}
.company-community-card{
  background:linear-gradient(145deg,#fff,#fff5ef);
}
.company-outline-card .table th{
  width:180px;
}
@media (max-width: 980px){
  .company-lead-card,
  .company-local-card{
    grid-template-columns:1fr;
  }
  .company-message-grid,
  .company-value-grid{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width: 640px){
  .company-lead-card,
  .company-local-card{
    padding:24px;
  }
  .company-message-grid,
  .company-value-grid{
    grid-template-columns:1fr;
  }
  .timeline-item{
    padding:24px;
  }
  .timeline-item span{
    position:static;
    display:block;
    width:auto;
    margin-bottom:8px;
  }
  .company-outline-card .table th{
    width:auto;
  }
}


/* Mobile hero refinement + falling koban animation */
.hero{
  position:relative;
  overflow:hidden;
}
.hero h1{
  font-size:clamp(40px,5.55vw,72px);
  line-height:1.22;
  margin:14px 0 18px;
  letter-spacing:.035em;
}
.hero-copyblock{
  position:relative;
  z-index:2;
}
.koban-rain{
  position:absolute;
  inset:-110px 0 -60px;
  overflow:hidden;
  pointer-events:none;
  z-index:0;
}
.koban-rain span{
  position:absolute;
  top:-80px;
  width:50px;
  height:19px;
  border-radius:999px;
  background:linear-gradient(90deg,#f7dc7a 0%,#d4a53c 42%,#fff1a8 68%,#c98d2c 100%);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.42),
    inset 0 0 12px rgba(113,74,14,.18),
    0 10px 22px rgba(183,130,35,.14);
  opacity:.0;
  transform:translate3d(0,0,0) rotate(-18deg);
  animation:kobanFall 13s linear infinite;
}
.koban-rain span:after{
  content:"";
  position:absolute;
  inset:5px 10px;
  border-radius:999px;
  border:1px solid rgba(126,85,21,.26);
  background:rgba(255,255,255,.08);
}
.koban-rain span:nth-child(1){left:4%; animation-delay:0s; animation-duration:14s; --drift:34px; --rot:210deg; transform:scale(.76) rotate(-18deg)}
.koban-rain span:nth-child(2){left:13%; animation-delay:2.6s; animation-duration:16s; --drift:-28px; --rot:-190deg; transform:scale(.52) rotate(16deg)}
.koban-rain span:nth-child(3){left:24%; animation-delay:7.1s; animation-duration:15s; --drift:42px; --rot:240deg; transform:scale(.68) rotate(-8deg)}
.koban-rain span:nth-child(4){left:36%; animation-delay:1.2s; animation-duration:17s; --drift:-36px; --rot:-220deg; transform:scale(.48) rotate(14deg)}
.koban-rain span:nth-child(5){left:48%; animation-delay:5.4s; animation-duration:14.5s; --drift:30px; --rot:190deg; transform:scale(.58) rotate(-22deg)}
.koban-rain span:nth-child(6){left:60%; animation-delay:3.2s; animation-duration:18s; --drift:-44px; --rot:-260deg; transform:scale(.72) rotate(10deg)}
.koban-rain span:nth-child(7){left:71%; animation-delay:8.6s; animation-duration:15.8s; --drift:32px; --rot:210deg; transform:scale(.46) rotate(-12deg)}
.koban-rain span:nth-child(8){left:82%; animation-delay:1.9s; animation-duration:16.6s; --drift:-26px; --rot:-180deg; transform:scale(.64) rotate(18deg)}
.koban-rain span:nth-child(9){left:91%; animation-delay:6.8s; animation-duration:14.8s; --drift:28px; --rot:190deg; transform:scale(.52) rotate(-20deg)}
.koban-rain span:nth-child(10){left:18%; animation-delay:10.4s; animation-duration:19s; --drift:44px; --rot:260deg; transform:scale(.42) rotate(8deg)}
.koban-rain span:nth-child(11){left:55%; animation-delay:11.8s; animation-duration:18.5s; --drift:-34px; --rot:-240deg; transform:scale(.44) rotate(-16deg)}
.koban-rain span:nth-child(12){left:76%; animation-delay:12.6s; animation-duration:17.6s; --drift:38px; --rot:230deg; transform:scale(.50) rotate(12deg)}

@keyframes kobanFall{
  0%{
    opacity:0;
    translate:0 -40px;
    rotate:0deg;
  }
  9%{
    opacity:.58;
  }
  50%{
    opacity:.42;
    translate:calc(var(--drift) * .55) 52vh;
    rotate:calc(var(--rot) * .55);
  }
  90%{
    opacity:.22;
  }
  100%{
    opacity:0;
    translate:var(--drift) 112vh;
    rotate:var(--rot);
  }
}

/* Reduce old fixed koban ornaments so they do not read as random UI marks */
.hero > .koban,
.section > .koban{
  display:none;
}

@media (max-width:1020px){
  .hero{
    min-height:auto;
    padding:34px 0 58px;
    align-items:start;
  }
  .hero-grid{
    display:flex;
    flex-direction:column;
    gap:28px;
  }
  .hero-art{
    order:2;
    width:100%;
  }
  .hero-copyblock{
    order:1;
    width:100%;
  }
  .hero-art img{
    width:min(500px,100%);
    max-height:none;
    margin-top:4px;
  }
  .wave-sweep{
    right:-210px;
    bottom:26px;
    opacity:.58;
  }
}

@media (max-width:640px){
  .hero{
    padding:28px 0 54px;
  }
  .hero-grid{
    gap:24px;
  }
  .hero h1{
    font-size:clamp(44px,13.5vw,54px);
    line-height:1.16;
    letter-spacing:.025em;
    margin:4px 0 16px;
  }
  .hero-lead{
    font-size:16.5px;
    line-height:1.78;
    margin-bottom:15px;
  }
  .hero-copy{
    font-size:14.5px;
    line-height:1.9;
    margin-bottom:22px;
  }
  .hero-actions{
    gap:10px;
  }
  .hero-actions .btn{
    flex:1 1 100%;
    padding:14px 18px;
  }
  .hero-art img{
    width:min(100%,430px);
    border-radius:20px;
  }
  .koban-rain span{
    width:38px;
    height:15px;
    animation-duration:16s;
    opacity:0;
  }
  .koban-rain span:nth-child(n+8){
    display:none;
  }
  .fuji{
    opacity:.55;
    bottom:44%;
    left:-18vw;
    width:210px;
    height:112px;
  }
}

@media (prefers-reduced-motion: reduce){
  .koban-rain span{
    animation:none;
    opacity:.18;
  }
}



/* 2026-04-28 追記：全ページ小判アニメーション・電話導線統合 */
.koban{display:none !important;}
.hero .koban-rain{display:none !important;}

main,.footer-sitemap,.site-footer{
  position:relative;
  z-index:1;
}
.site-header{
  z-index:25;
}




.global-koban-rain{
  position:fixed;
  inset:-20vh 0 0;
  height:140vh;
  overflow:hidden;
  pointer-events:none;
  z-index:0;
}
.global-koban-rain span{
  position:absolute;
  left:var(--left, 10%);
  top:-14vh;
  width:var(--w, 38px);
  height:var(--h, 64px);
  opacity:0;
  border-radius:47% / 34%;
  border:1.5px solid rgba(121,83,20,.50);
  background:
    radial-gradient(ellipse at 30% 18%, rgba(255,255,255,.78) 0 10%, rgba(255,255,255,0) 24%),
    repeating-linear-gradient(
      180deg,
      rgba(153,105,21,0) 0 2.7px,
      rgba(145,98,18,.30) 2.7px 3.7px,
      rgba(255,233,158,0) 3.7px 5.2px
    ),
    linear-gradient(
      180deg,
      rgba(255,231,146,.96) 0%,
      rgba(245,205,99,.98) 28%,
      rgba(220,170,55,.99) 52%,
      rgba(188,131,31,.98) 74%,
      rgba(137,92,18,.98) 100%
    );
  box-shadow:
    inset 0 2px 6px rgba(255,255,255,.28),
    inset 0 -6px 12px rgba(118,78,14,.22),
    0 10px 20px rgba(177,128,38,.20);
  transform:translate3d(0,-14vh,0) scale(var(--scale,1)) rotate(var(--tilt,-8deg));
  animation:kobanShower var(--duration,15s) linear infinite;
  animation-delay:var(--delay,0s);
  filter:saturate(1.06);
}
.global-koban-rain span::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:58%;
  height:54%;
  transform:translate(-50%,-50%);
  border-radius:34% / 28%;
  border:1px solid rgba(136,91,18,.34);
  background:
    radial-gradient(ellipse at center, rgba(255,245,196,.20), rgba(255,245,196,0) 65%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(129,84,16,.08));
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.14),
    inset 0 -2px 6px rgba(113,75,15,.11);
}
.global-koban-rain span::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:20%;
  height:24%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(137,92,18,.16) 0 42%, rgba(137,92,18,0) 44%),
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.12) 0 18%, rgba(255,255,255,0) 20%);
  box-shadow:
    0 -15px 0 -6px rgba(139,95,18,.18),
    0 15px 0 -6px rgba(139,95,18,.18),
    inset 0 0 0 1px rgba(139,95,18,.08);
  opacity:.82;
}
@keyframes kobanShower{
  0%{
    opacity:0;
    transform:translate3d(0,-16vh,0) scale(var(--scale,1)) rotate(var(--tilt,-8deg));
  }
  8%{
    opacity:.96;
  }
  55%{
    opacity:.92;
    transform:translate3d(calc(var(--drift, 24px) * .6),58vh,0) scale(var(--scale,1)) rotate(calc(var(--tilt,-8deg) + (var(--spin, 180deg) * .58)));
  }
  100%{
    opacity:0;
    transform:translate3d(var(--drift, 24px),122vh,0) scale(var(--scale,1)) rotate(calc(var(--tilt,-8deg) + var(--spin, 180deg)));
  }
}

@media (max-width: 820px){
  .contact-embed-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .global-koban-rain span{
    width:var(--w-sp, 28px);
    height:var(--h-sp, 48px);
    opacity:0;
  }
  .contact-big{
    font-size:30px;
  }
}
@media (prefers-reduced-motion: reduce){
  .global-koban-rain span{
    animation:none;
    opacity:.18;
    transform:none;
  }
}


/* 2026-04-28 restored base + logo/lounge/business update */
.logo-illustrated .logo-mark,
.footer-logo .logo-mark{
  width:54px;
  height:54px;
  border:2px solid rgba(200,51,33,.40);
  border-radius:14px;
  overflow:hidden;
  background:#fffaf1;
  display:grid;
  place-items:center;
  flex:0 0 auto;
}
.logo-illustrated .logo-mark img,
.footer-logo .logo-mark img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.logo-illustrated .seal{
  display:none;
}
.site-header .logo-illustrated strong{
  font-size:clamp(22px,2.2vw,28px);
  font-weight:900;
  letter-spacing:.04em;
}
.site-header .logo-illustrated span:not(.logo-mark){
  font-size:14px;
}
.nav{
  gap:22px;
}
.produced-credit{
  font-size:13px;
  color:var(--muted);
}
.produced-credit a{
  text-decoration:underline;
}
.produced-credit-page{
  text-align:center;
  margin-top:18px;
}

/* lounge / office page */
.lounge-page-hero p{
  max-width:900px;
}
.lounge-hero-card{
  display:grid;
  grid-template-columns:.88fr 1.12fr;
  gap:30px;
  align-items:center;
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(255,246,232,.88));
  border:1px solid rgba(212,165,60,.32);
  border-radius:32px;
  padding:34px;
  box-shadow:var(--shadow);
}
.lounge-hero-card h2{
  font-size:clamp(32px,4vw,50px);
  line-height:1.45;
  margin:0 0 18px;
}
.lounge-hero-photo img,
.lounge-gallery-grid img,
.consultation-photo-grid img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:22px;
  box-shadow:0 14px 28px rgba(80,44,15,.10);
}
.lounge-value-grid{
  grid-template-columns:repeat(3,1fr);
}
.lounge-gallery-section h2{
  font-size:clamp(30px,3.6vw,44px);
  text-align:center;
  margin-bottom:24px;
}
.lounge-gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.lounge-gallery-grid figure{
  margin:0;
}
.lounge-gallery-grid figure:nth-child(1),
.lounge-gallery-grid figure:nth-child(5){
  grid-column:span 2;
}
.lounge-gallery-grid img{
  height:220px;
}
.lounge-gallery-grid figcaption,
.consultation-photo-grid figcaption{
  text-align:center;
  color:var(--muted);
  font-size:13px;
  margin-top:7px;
}
.lounge-message-access{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:26px;
}
.handwritten-message{
  background:linear-gradient(145deg,#fff,#fff3e4);
}
.handwritten{
  font-family:"Yu Mincho",serif;
  color:var(--red);
  font-size:clamp(24px,3vw,38px);
  line-height:1.72;
  font-weight:700;
}
.lounge-cta-card{
  display:grid;
  grid-template-columns:110px 1fr auto;
  gap:24px;
  align-items:center;
  border:1px solid rgba(212,165,60,.34);
  border-radius:28px;
  padding:24px;
  background:linear-gradient(135deg,#fff7df,#fffaf1);
  box-shadow:var(--shadow);
}
.lounge-cta-card img{
  width:110px;
  border-radius:18px;
}
.lounge-cta-card h2{
  margin:0 0 8px;
  font-size:clamp(28px,3.4vw,42px);
}

/* business consultation page */
.business-hero{
  padding:76px 0 54px;
  position:relative;
  overflow:hidden;
}
.business-hero-grid{
  display:grid;
  grid-template-columns:1fr .9fr;
  gap:34px;
  align-items:center;
}
.business-hero h1{
  font-size:clamp(38px,5vw,64px);
  line-height:1.3;
  margin:0 0 18px;
}
.business-hero-art img{
  mix-blend-mode:multiply;
  max-height:500px;
  object-fit:contain;
}
.business-theme-grid{
  grid-template-columns:repeat(3,1fr);
}
.consultation-photo-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  gap:14px;
}
.consultation-photo-grid figure{
  margin:0;
}
.consultation-photo-grid .large{
  grid-row:span 2;
}
.consultation-photo-grid img{
  height:210px;
}
.consultation-photo-grid .large img{
  height:100%;
}
.business-note-card{
  background:linear-gradient(145deg,#fff,#fff6ea);
  border:1px solid rgba(212,165,60,.32);
}
.business-note-card h2{
  font-size:clamp(28px,3.5vw,42px);
  margin-bottom:16px;
}
.business-note-card p{
  margin:0 0 14px;
}
.business-note-card p:last-child{
  margin-bottom:0;
}
.mini-flow{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

@media (max-width:1020px){
  .lounge-hero-card,
  .lounge-message-access,
  .business-hero-grid{
    grid-template-columns:1fr;
  }
  .lounge-gallery-grid{
    grid-template-columns:1fr 1fr;
  }
  .mini-flow{
    grid-template-columns:1fr 1fr;
  }
}
@media (max-width:640px){
  .logo-illustrated .logo-mark{
    width:44px;
    height:44px;
  }
  .site-header .logo-illustrated span:not(.logo-mark){
    display:none;
  }
  .site-header .logo-illustrated strong{
    font-size:20px;
  }
  .lounge-value-grid,
  .business-theme-grid{
    grid-template-columns:1fr;
  }
  .lounge-gallery-grid,
  .consultation-photo-grid{
    grid-template-columns:1fr;
  }
  .lounge-gallery-grid figure:nth-child(1),
  .lounge-gallery-grid figure:nth-child(5),
  .consultation-photo-grid .large{
    grid-column:auto;
    grid-row:auto;
  }
  .lounge-gallery-grid img,
  .consultation-photo-grid img,
  .consultation-photo-grid .large img{
    height:auto;
  }
  .lounge-cta-card{
    grid-template-columns:1fr;
    text-align:center;
  }
  .lounge-cta-card img{
    margin-inline:auto;
  }
  .mini-flow{
    grid-template-columns:1fr;
  }
}

/* 2026-04-28 inheritance full LP */
.inheritance-hero{position:relative;overflow:hidden;padding:76px 0 52px;background:radial-gradient(circle at 86% 20%,rgba(212,165,60,.18),transparent 26%),linear-gradient(180deg,rgba(255,250,241,.55),rgba(255,246,232,.45))}
.inheritance-hero-grid{display:grid;grid-template-columns:1fr .82fr;gap:34px;align-items:center}
.breadcrumb{color:var(--muted);font-size:13px;margin:0 0 12px}.inheritance-hero h1{font-size:clamp(48px,6.4vw,82px);line-height:1.12;margin:0 0 16px}.inheritance-lead{color:var(--red);font-weight:900;font-size:clamp(22px,3vw,34px);line-height:1.55;margin:0 0 16px}.inheritance-hero p{font-size:17px}
.inheritance-hero-card,.inheritance-text-card,.inheritance-check-card,.inheritance-card-grid article,.inheritance-point-grid article,.inheritance-doc-grid div,.inheritance-timeline article,.inheritance-faq details{background:rgba(255,255,255,.84);border:1px solid var(--line);border-radius:24px;box-shadow:0 12px 32px rgba(58,34,17,.06);padding:24px}
.inheritance-hero-card{background:linear-gradient(145deg,#fff,#fff6ea);border-color:rgba(212,165,60,.38);border-radius:30px;padding:30px}.inheritance-hero-card h2,.inheritance-text-card h3,.inheritance-check-card h3,.inheritance-card-grid h3,.inheritance-point-grid h3,.inheritance-doc-grid h3{color:var(--red-dark);margin-top:0}
.inheritance-anchor-section{padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.55)}.inheritance-anchor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.inheritance-anchor-grid a{display:grid;gap:4px;padding:18px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 20px rgba(58,34,17,.05)}.inheritance-anchor-grid strong{color:var(--red-dark);font-size:17px}.inheritance-anchor-grid span{color:var(--muted);font-size:13px}
.inheritance-section{padding:72px 0;border-top:1px solid rgba(234,220,198,.62)}.inheritance-soft{background:rgba(255,255,255,.38)}.inheritance-section-title{text-align:center;max-width:860px;margin:0 auto 34px}.inheritance-section-title p{margin:0 0 6px;color:var(--red);font-weight:900;letter-spacing:.1em;text-transform:uppercase;font-size:13px}.inheritance-section-title h2{margin:0 0 10px;font-size:clamp(32px,4.2vw,52px);line-height:1.36}.inheritance-section-title span{display:block;color:var(--muted);line-height:1.9}
.inheritance-two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:start}
.inheritance-timeline{margin-top:28px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.inheritance-timeline span{color:#fff;background:var(--red);border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900}.inheritance-timeline h3{margin:12px 0 8px}.inheritance-timeline p,.inheritance-card-grid p,.inheritance-point-grid p{margin:0;color:var(--muted)}
.inheritance-card-grid,.inheritance-doc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.inheritance-point-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.inheritance-doc-grid ul{padding-left:1.2em;margin:0}.inheritance-faq{display:grid;gap:12px}.inheritance-faq summary{cursor:pointer;font-weight:900;color:var(--red-dark)}.inheritance-faq p{margin:12px 0 0}
.inheritance-cta{padding:52px 0}.inheritance-cta-inner{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;background:linear-gradient(135deg,#fff7df,#fffaf1);border:1px solid rgba(212,165,60,.34);border-radius:30px;padding:30px;box-shadow:var(--shadow)}.inheritance-cta h2{margin:0 0 8px;font-size:clamp(28px,4vw,46px);color:var(--red-dark)}.inheritance-cta p{margin:0}
@media(max-width:1020px){.inheritance-hero-grid,.inheritance-two-col,.inheritance-cta-inner{grid-template-columns:1fr}.inheritance-anchor-grid,.inheritance-timeline,.inheritance-card-grid,.inheritance-point-grid,.inheritance-doc-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.inheritance-anchor-grid,.inheritance-timeline,.inheritance-card-grid,.inheritance-point-grid,.inheritance-doc-grid{grid-template-columns:1fr}.inheritance-section{padding:52px 0}}

/* 2026-04-28 advisory full LP */
.advisory-hero{position:relative;overflow:hidden;padding:78px 0 54px;background:radial-gradient(circle at 86% 20%,rgba(212,165,60,.18),transparent 26%),linear-gradient(180deg,rgba(255,250,241,.55),rgba(255,246,232,.45))}
.advisory-hero-grid{display:grid;grid-template-columns:1fr .82fr;gap:34px;align-items:center}.breadcrumb{color:var(--muted);font-size:13px;margin:0 0 12px}.advisory-hero h1{font-size:clamp(44px,5.8vw,76px);line-height:1.16;margin:0 0 16px}.advisory-lead{color:var(--red);font-weight:900;font-size:clamp(22px,3vw,34px);line-height:1.55;margin:0 0 16px}.advisory-hero p{font-size:17px}
.advisory-hero-card,.advisory-text-card,.advisory-check-card,.advisory-emotion-card,.advisory-card-grid article,.advisory-flow article,.advisory-fit-grid div,.advisory-compare div,.advisory-faq details{background:rgba(255,255,255,.84);border:1px solid var(--line);border-radius:24px;box-shadow:0 12px 32px rgba(58,34,17,.06);padding:24px}
.advisory-hero-card{background:linear-gradient(145deg,#fff,#fff6ea);border-color:rgba(212,165,60,.38);border-radius:30px;padding:30px}.advisory-hero-card h2,.advisory-text-card h3,.advisory-check-card h3,.advisory-emotion-card h3,.advisory-card-grid h3,.advisory-fit-grid strong,.advisory-compare h3{color:var(--red-dark);margin-top:0}
.advisory-anchor-section{padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,255,255,.55)}.advisory-anchor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.advisory-anchor-grid a{display:grid;gap:4px;padding:18px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 8px 20px rgba(58,34,17,.05)}.advisory-anchor-grid strong{color:var(--red-dark);font-size:17px}.advisory-anchor-grid span{color:var(--muted);font-size:13px}
.advisory-section{padding:72px 0;border-top:1px solid rgba(234,220,198,.62)}.advisory-soft{background:rgba(255,255,255,.38)}.advisory-section-title{text-align:center;max-width:900px;margin:0 auto 34px}.advisory-section-title p{margin:0 0 6px;color:var(--red);font-weight:900;letter-spacing:.1em;text-transform:uppercase;font-size:13px}.advisory-section-title h2{margin:0 0 10px;font-size:clamp(32px,4.2vw,52px);line-height:1.36}.advisory-section-title span{display:block;color:var(--muted);line-height:1.9}
.advisory-two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:start}.advisory-message-band{margin-top:28px;text-align:center;background:linear-gradient(135deg,#fff7df,#fffaf1);border:1px solid rgba(212,165,60,.34);border-radius:30px;padding:30px;box-shadow:var(--shadow)}.advisory-message-band h3{margin:0 0 8px;font-size:clamp(26px,3.5vw,42px);color:var(--red-dark)}.advisory-message-band p{margin:0}
.advisory-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.advisory-card-grid p,.advisory-flow p,.advisory-fit-grid p{margin:0;color:var(--muted)}.advisory-fit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.advisory-fit-grid strong{display:block;font-size:20px;margin-bottom:8px}
.advisory-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.advisory-flow span{color:#fff;background:var(--red);border-radius:999px;padding:5px 10px;font-size:12px;font-weight:900}.advisory-flow h3{margin:12px 0 8px}
.advisory-compare{display:grid;grid-template-columns:1fr 1fr;gap:24px}.advisory-compare ul{padding-left:1.2em}.advisory-compare li{margin:8px 0}.advisory-faq{display:grid;gap:12px}.advisory-faq summary{cursor:pointer;font-weight:900;color:var(--red-dark)}.advisory-faq p{margin:12px 0 0}
.advisory-cta{padding:52px 0}.advisory-cta-inner{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;background:linear-gradient(135deg,#fff7df,#fffaf1);border:1px solid rgba(212,165,60,.34);border-radius:30px;padding:30px;box-shadow:var(--shadow)}.advisory-cta h2{margin:0 0 8px;font-size:clamp(28px,4vw,46px);color:var(--red-dark)}.advisory-cta p{margin:0}
@media(max-width:1020px){.advisory-hero-grid,.advisory-two-col,.advisory-compare,.advisory-cta-inner{grid-template-columns:1fr}.advisory-anchor-grid,.advisory-card-grid,.advisory-flow,.advisory-fit-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.advisory-anchor-grid,.advisory-card-grid,.advisory-flow,.advisory-fit-grid{grid-template-columns:1fr}.advisory-section{padding:52px 0}}

/* 2026-04-28 inheritance emotional rewrite v004 */
.inheritance-heart-hero{background:radial-gradient(circle at 86% 20%,rgba(212,165,60,.18),transparent 26%),linear-gradient(180deg,rgba(255,250,241,.68),rgba(255,246,232,.54))}
.inheritance-message-section{padding:54px 0;background:rgba(255,255,255,.42);border-top:1px solid var(--line)}
.inheritance-message-card{max-width:980px;margin:auto;background:linear-gradient(145deg,#fff,#fff6ea);border:1px solid rgba(212,165,60,.36);border-radius:32px;padding:34px;box-shadow:var(--shadow)}
.inheritance-message-card h2{font-size:clamp(30px,4vw,50px);line-height:1.42;color:var(--red-dark);margin:0 0 18px}
.inheritance-message-card p{font-size:17px;line-height:2.05}
.inheritance-heart-card{border-color:rgba(200,51,33,.24)}
.inheritance-heart-note{margin-top:26px;background:#fff8ec;border:1px solid rgba(212,165,60,.36);border-radius:26px;padding:26px;box-shadow:0 10px 26px rgba(58,34,17,.05)}
.inheritance-heart-note h3{font-size:clamp(24px,3vw,36px);line-height:1.45;color:var(--red-dark);margin:0 0 12px}
.inheritance-heart-note p{margin:0;line-height:2}

/* 2026-04-28 inheritance split pages v006 */
.inheritance-route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.inheritance-route-card{display:grid;gap:10px;background:rgba(255,255,255,.86);border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:0 12px 32px rgba(58,34,17,.06)}
.inheritance-route-card span{display:inline-grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--red);color:#fff;font-weight:900}
.inheritance-route-card h3{margin:0;color:var(--red-dark);font-size:26px;line-height:1.35}
.inheritance-route-card p{margin:0;color:var(--muted);line-height:1.9}
.inheritance-route-card em{font-style:normal;font-weight:900;color:var(--red)}
.inheritance-hub-hero,.inheritance-lifetime-hero,.inheritance-succession-hero{background:radial-gradient(circle at 86% 20%,rgba(212,165,60,.18),transparent 26%),linear-gradient(180deg,rgba(255,250,241,.68),rgba(255,246,232,.54))}
@media(max-width:1020px){.inheritance-route-grid{grid-template-columns:1fr}}

/* 2026-04-28 v008 inheritance final reflection fix */
.inheritance-contact-section{padding:56px 0;border-top:1px solid var(--line)}
.inheritance-contact-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:start;background:linear-gradient(145deg,#fff,#fff6ea);border:1px solid rgba(212,165,60,.34);border-radius:30px;padding:30px;box-shadow:var(--shadow)}
.inheritance-contact-copy h2{font-size:clamp(28px,4vw,46px);line-height:1.4;margin:0 0 14px;color:var(--red-dark)}
.inheritance-phone-box{display:grid;gap:4px;margin-top:18px;padding:18px;border-radius:18px;background:#fff;border:1px solid var(--line)}
.inheritance-phone-box strong{font-size:30px;color:var(--red-dark)}
.inheritance-form{display:grid;gap:14px}
.inheritance-form .field{display:grid;gap:6px}
.inheritance-form input,.inheritance-form select,.inheritance-form textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff;font:inherit}
.inheritance-form textarea{min-height:140px}
@media(max-width:1020px){.inheritance-contact-card{grid-template-columns:1fr}}

/* Flow page role reorganization v021 */
.route-buttons-v021{
  grid-template-columns:repeat(3,1fr);
}
.route-direct{
  background:linear-gradient(145deg,#fff,#fff9e8);
}
.route-direct:after{background:var(--gold)}
.flow-guide-grid-v021{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:22px;
}
.flow-guide-mini-card{
  padding:24px;
  border:1px solid var(--line);
  border-radius:22px;
  background:linear-gradient(145deg,#fff,#fffaf2);
  box-shadow:0 10px 26px rgba(75,44,18,.06);
}
.flow-guide-mini-card h3{
  margin:8px 0 10px;
}
.flow-guide-mini-card .btn{
  margin-top:8px;
}
.route-label-first-v021,
.route-label-switch-v021{
  display:inline-flex;
  margin:0 0 8px;
  padding:6px 12px;
  border-radius:999px;
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}
.route-label-first-v021{background:var(--green)}
.route-label-switch-v021{background:var(--red)}
@media (max-width: 1020px){
  .route-buttons-v021{
    grid-template-columns:1fr;
  }
}
@media (max-width: 760px){
  .flow-guide-grid-v021{
    grid-template-columns:1fr;
  }
}

/* 2026-04-29 office lounge photo/gallery update */
.center{
  text-align:center;
}
.section-lead.center{
  max-width:820px;
  margin:0 auto 26px;
}
.lounge-gallery-grid-v022 figure:nth-child(1),
.lounge-gallery-grid-v022 figure:nth-child(2),
.lounge-gallery-grid-v022 figure:nth-child(4){
  grid-column:span 2;
}
.lounge-gallery-grid-v022 figure:nth-child(5){
  grid-column:auto;
}
.lounge-gallery-grid-v022 figure:nth-child(1) img,
.lounge-gallery-grid-v022 figure:nth-child(2) img,
.lounge-gallery-grid-v022 figure:nth-child(4) img{
  height:280px;
}
.map-link,
.footer-address a{
  color:var(--red);
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:3px;
}
.note-small{
  color:var(--muted);
  font-size:14px;
  line-height:1.8;
  margin-top:12px;
}

@media (max-width:1020px){
  .lounge-gallery-grid-v022 figure:nth-child(1),
  .lounge-gallery-grid-v022 figure:nth-child(2),
  .lounge-gallery-grid-v022 figure:nth-child(4){
    grid-column:auto;
  }
  .lounge-gallery-grid-v022 figure:nth-child(1) img,
  .lounge-gallery-grid-v022 figure:nth-child(2) img,
  .lounge-gallery-grid-v022 figure:nth-child(4) img{
    height:220px;
  }
}
@media (max-width:640px){
  .lounge-gallery-grid-v022 figure:nth-child(1) img,
  .lounge-gallery-grid-v022 figure:nth-child(2) img,
  .lounge-gallery-grid-v022 figure:nth-child(4) img{
    height:auto;
  }
}


/* Staff page v023 */
.staff-page-wrap .content-grid{align-items:start}.staff-main-content{gap:30px}.staff-lead-card{overflow:hidden;background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(255,248,235,.88))}.staff-lead-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:30px;align-items:center}.staff-lead-card h2{font-size:clamp(28px,3.1vw,42px);line-height:1.45;margin:0 0 14px}.staff-lead-card p{line-height:2}.staff-lead-photo{margin:0}.staff-lead-photo img,.staff-support-card img{width:100%;height:auto;border-radius:24px;box-shadow:0 18px 40px rgba(75,44,18,.14);display:block}.staff-lead-photo figcaption{font-size:13px;color:var(--muted);margin-top:10px}.staff-number-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.staff-number-grid div{background:#fffaf2;border:1px solid var(--line);border-radius:18px;padding:18px}.staff-number-grid strong{display:block;color:var(--red-dark);font-size:20px;margin-bottom:6px}.staff-number-grid span{display:block;color:var(--muted);font-size:13.5px;line-height:1.7}.staff-section-head{margin-bottom:24px}.staff-section-head p:last-child{color:var(--muted);line-height:1.9}.staff-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.staff-profile-card{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#fffaf2);border:1px solid var(--line);border-radius:22px;padding:24px;box-shadow:0 10px 28px rgba(75,44,18,.055)}.staff-profile-card.primary{border-color:rgba(212,165,60,.45)}.staff-profile-card:after{content:"";position:absolute;right:-42px;top:-42px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,rgba(212,165,60,.16),transparent 62%)}.staff-profile-mark{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;font-weight:900;font-size:19px;box-shadow:0 10px 24px rgba(200,51,33,.18);margin-bottom:14px}.staff-role{font-size:13px;font-weight:800;color:var(--red-dark);letter-spacing:.04em;margin:0 0 6px!important}.staff-profile-card h3{font-size:25px;margin:0 0 8px!important;line-height:1.4}.staff-profile-card h3 span{display:block;font-size:13px;color:var(--muted);font-weight:700;margin-top:2px}.staff-specialty{display:inline-block;background:#fff1dc;border:1px solid rgba(212,165,60,.32);border-radius:999px;padding:6px 11px;font-size:13px;font-weight:800;color:#694413;margin:0 0 12px!important}.staff-profile-card p{line-height:1.9}.staff-profile-card dl{display:grid;grid-template-columns:auto 1fr;gap:8px;margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.staff-profile-card dt{font-weight:800;color:var(--red-dark)}.staff-profile-card dd{margin:0}.staff-support-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:28px;align-items:center}.staff-support-card h2{font-size:clamp(27px,3vw,38px);line-height:1.45}.staff-blog-card{background:linear-gradient(145deg,#fff,#f9fbff)}.staff-link-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.btn-outline{background:#fff;border:1px solid var(--line);color:var(--red-dark)}.staff-side-card .btn{margin-top:18px;width:100%;justify-content:center}@media (max-width:1020px){.staff-lead-grid,.staff-support-grid,.staff-number-grid{grid-template-columns:1fr}.staff-profile-grid{grid-template-columns:1fr}}@media (max-width:640px){.staff-number-grid strong{font-size:18px}.staff-profile-card{padding:20px}.staff-profile-card h3{font-size:22px}.staff-link-actions .btn{width:100%;justify-content:center}}


/* v024 staff page refinement */
.staff-section-card{background:linear-gradient(145deg,#fff,#fffaf2)}
.staff-profile-grid.with-photos{grid-template-columns:repeat(2,minmax(0,1fr))}
.staff-profile-photo{position:relative;margin:-24px -24px 18px;overflow:hidden;border-radius:22px 22px 0 0;background:#f8efe3;aspect-ratio:4/3}
.staff-profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;filter:saturate(1.02)}
.staff-profile-card:nth-child(3) .staff-profile-photo img{object-position:center 34%}
.staff-profile-card:nth-child(4) .staff-profile-photo img{object-position:center 38%}
.staff-profile-body{position:relative;z-index:1}
.staff-wide-card{grid-column:1/-1;background:linear-gradient(145deg,#fff8ed,#fff)}
.staff-number-grid.compact{grid-template-columns:repeat(3,1fr);margin-top:18px}
.staff-number-grid.compact strong{font-size:18px}
.staff-side-photo{margin:0 0 18px}
.staff-side-photo img{width:100%;height:auto;border-radius:18px;display:block;box-shadow:0 14px 32px rgba(75,44,18,.12)}
@media (max-width:1020px){
  .staff-profile-grid.with-photos{grid-template-columns:1fr}
  .staff-number-grid.compact{grid-template-columns:1fr}
}
@media (max-width:640px){
  .staff-profile-photo{margin:-20px -20px 16px}
}

/* v029: recruit merger fit note */
.note-card{
  border:1px solid rgba(185,118,32,.28);
  background:rgba(255,248,235,.82);
  border-radius:22px;
  padding:24px;
  box-shadow:0 10px 26px rgba(46,28,10,.06);
}
.note-card strong{
  display:block;
  color:#7b3f12;
  font-size:1.08rem;
  margin-bottom:10px;
}
.note-card p{margin:0 0 12px;}
.note-card p:last-child{margin-bottom:0;}


/* 2026-04-29 v031 phone-only contact update */
.contact-phone-only-card,
.inheritance-phone-only-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:24px;
  box-shadow:0 10px 26px rgba(75,44,18,.06);
}
.contact-phone-only-card h3,
.inheritance-phone-only-card h3{
  margin-top:0;
  color:var(--red-dark);
}
.contact-phone-only-card .contact-big a,
.inheritance-phone-only-card .contact-big a{
  color:var(--red-dark);
  text-decoration:none;
  font-weight:800;
}
.footer-phone-note{
  display:inline-block;
  margin-top:6px;
  color:#6a5a4f;
  font-size:13px;
  line-height:1.7;
}
.footer-address .footer-phone-note{
  color:var(--muted);
}

/* v039: phone-first-word notes and top trust proof */
.hero-trust-note{
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  color: #4d423b;
  font-weight: 700;
  line-height: 1.9;
  box-shadow: 0 10px 26px rgba(75,44,18,.05);
}
.phone-script-band{
  padding: 22px 0 0;
  background: transparent;
}
.phone-script-note{
  max-width: 900px;
  margin: 0 auto;
  padding: 14px 18px;
  border-left: 4px solid var(--red);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #4d423b;
  line-height: 1.9;
  box-shadow: 0 10px 26px rgba(75,44,18,.05);
}
.phone-script-note strong{
  color: var(--red-dark);
}
.phone-script-note.inline-note{
  margin: 18px 0 0;
  max-width: 680px;
}
@media (max-width:640px){
  .phone-script-band{padding-top:16px}
  .phone-script-note,.hero-trust-note{font-size:14px;padding:12px 14px;border-radius:14px}
}

/* AI ARAI-san process diagram */
.ai-arai-process-section{
  background:linear-gradient(180deg,rgba(255,250,241,.44),rgba(255,255,255,.42));
}
.ai-arai-process-card{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:28px;
  align-items:center;
  border-color:rgba(212,165,60,.36);
  background:linear-gradient(145deg,#fff,#fff7e7);
}
.ai-arai-process-card-compact{
  margin-top:26px;
}
.ai-arai-process-copy h2{
  font-size:clamp(28px,3.5vw,42px);
  line-height:1.45;
  margin:4px 0 16px;
}
.ai-arai-process-copy h2 .red{
  color:var(--red);
}
.ai-arai-process-copy p{
  line-height:1.95;
}
.ai-arai-process-figure{
  margin:0;
}
.ai-arai-process-figure img{
  width:100%;
  height:auto;
  display:block;
  border-radius:22px;
  box-shadow:0 16px 34px rgba(80,44,15,.12);
  border:1px solid rgba(212,165,60,.28);
  background:#fff;
}
.ai-arai-process-figure figcaption{
  text-align:center;
  color:var(--muted);
  font-size:13px;
  margin-top:8px;
  line-height:1.7;
}
@media (max-width:1020px){
  .ai-arai-process-card{
    grid-template-columns:1fr;
  }
}

/* v042: トップのご相談前導線を4カードで整える */
.gateway-grid{grid-template-columns:repeat(4,1fr)}
@media (max-width:900px){.gateway-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.gateway-grid{grid-template-columns:1fr}}

/* v043: team trust and short motion presentation */
.company-team-strength-card{background:linear-gradient(145deg,#fff,#fff8eb)}
.company-team-strength-card h2{font-size:clamp(28px,3vw,40px);line-height:1.45}
.company-team-strength-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}
.company-team-strength-grid div{background:#fffaf2;border:1px solid var(--line);border-radius:18px;padding:18px}
.company-team-strength-grid strong{display:block;color:var(--red-dark);font-size:18px;margin-bottom:6px}
.company-team-strength-grid span{display:block;color:var(--muted);font-size:13.5px;line-height:1.7}
.staff-team-video-panel{display:grid;gap:10px}
.staff-team-motion-stage{min-height:320px}
.staff-video-caption{font-size:13px!important;color:var(--muted);margin:0!important;line-height:1.7!important}
.staff-team-grid-v043{grid-template-columns:repeat(3,1fr)}
.staff-work-principles{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.staff-work-principles span{display:inline-flex;align-items:center;border:1px solid rgba(212,165,60,.35);background:#fff8ea;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:800;color:#684314}
@media (max-width:1020px){.company-team-strength-grid,.staff-team-grid-v043{grid-template-columns:1fr}.staff-team-motion-stage{min-height:280px}}


/* v044: service page next-guide links */
.next-guide-section{padding:54px 0;border-top:1px solid rgba(234,220,198,.68);background:linear-gradient(135deg,rgba(255,250,241,.84),rgba(255,246,232,.92))}
.next-guide-head{text-align:center;margin:0 auto 28px;max-width:820px}
.next-guide-head p{margin:0 0 6px;color:var(--red);font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.next-guide-head h2{margin:0 0 10px;font-size:clamp(28px,3.4vw,42px);line-height:1.45;color:var(--red-dark)}
.next-guide-head span{display:block;color:#5f544e}
.next-guide-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.next-guide-card{display:block;background:rgba(255,255,255,.82);border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:0 10px 28px rgba(58,34,17,.06);transition:.2s;min-height:168px}
.next-guide-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(58,34,17,.10);border-color:#e2bca6}
.next-guide-card strong{display:block;font-size:18px;line-height:1.45;color:var(--red-dark);margin-bottom:8px}
.next-guide-card span{display:block;font-size:14px;line-height:1.75;color:#5f544e}
@media(max-width:1020px){.next-guide-grid{grid-template-columns:1fr 1fr}.next-guide-card{min-height:auto}}
@media(max-width:640px){.next-guide-grid{grid-template-columns:1fr}.next-guide-section{padding:42px 0}.next-guide-card{padding:18px}}

.inheritance-card-grid article h3 a{color:inherit;text-decoration:none;}
.inheritance-card-grid article h3 a:hover{color:var(--red);}


/* v048 inheritance selector */
#inheritance-selector .inheritance-route-card span {
  display: inline-block;
  margin-bottom: 0.65rem;
}
#inheritance-selector .inheritance-message-card {
  margin-top: 1.5rem;
}


/* v049: inheritance common navigation */
.inheritance-common-nav-section{padding:34px 0 6px;background:linear-gradient(180deg,rgba(255,250,241,.32),rgba(255,255,255,.16))}
.inheritance-common-nav-card{background:rgba(255,255,255,.88);border:1px solid rgba(234,220,198,.84);border-radius:28px;padding:26px;box-shadow:0 12px 30px rgba(58,34,17,.06)}
.inheritance-common-nav-copy{max-width:920px;margin:0 auto 20px;text-align:center}
.inheritance-common-nav-copy .eyebrow{margin:0 0 6px;color:var(--red);font-weight:900;letter-spacing:.1em;text-transform:uppercase;font-size:13px}
.inheritance-common-nav-copy h2{margin:0 0 10px;font-size:clamp(24px,3vw,34px);line-height:1.45;color:var(--red-dark)}
.inheritance-common-nav-copy p{margin:0;color:#5f544e;line-height:1.9}
.inheritance-common-nav-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.inheritance-common-nav-item{display:block;border:1px solid var(--line);background:#fffaf2;border-radius:20px;padding:18px;text-decoration:none;transition:.2s;min-height:150px}
.inheritance-common-nav-item:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(58,34,17,.09);border-color:#e2bca6}
.inheritance-common-nav-item span{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.08em;color:#fff;background:var(--red);border-radius:999px;padding:5px 10px;margin-bottom:10px}
.inheritance-common-nav-item strong{display:block;color:var(--red-dark);font-size:18px;line-height:1.45;margin-bottom:7px}
.inheritance-common-nav-item small{display:block;color:#5f544e;font-size:13px;line-height:1.7}
.inheritance-common-nav-item.is-active{background:linear-gradient(145deg,#fff,#fff2df);border-color:rgba(183,38,31,.36);box-shadow:0 12px 28px rgba(183,38,31,.08)}
.inheritance-common-nav-item.is-active span{background:#8f1f18}
.inheritance-common-nav-back{text-align:center;margin-top:16px}
.inheritance-common-nav-back a{display:inline-flex;align-items:center;gap:6px;color:var(--red-dark);font-weight:900;text-decoration:none;border-bottom:1px solid rgba(183,38,31,.25);padding-bottom:2px}
@media(max-width:900px){.inheritance-common-nav-grid{grid-template-columns:1fr}.inheritance-common-nav-card{padding:20px}.inheritance-common-nav-item{min-height:auto}}

/* v068 history page */
.history-hero{
  background:
    radial-gradient(circle at 18% 18%, rgba(212,165,60,.22), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(200,51,33,.10), transparent 25%),
    linear-gradient(135deg,#fffaf1,#fff1dd);
}
.history-wrap{padding-top:54px;}
.history-intro-card{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:34px;
  align-items:center;
  background:rgba(255,255,255,.86);
  border:1px solid var(--line);
  border-radius:30px;
  padding:34px;
  box-shadow:var(--shadow);
  margin-bottom:58px;
}
.history-intro-card h2,
.history-section-head h2,
.history-lounge-section h2,
.history-closing-card h2{
  font-size:clamp(28px,3.4vw,44px);
  line-height:1.45;
  margin:0 0 16px;
}
.history-intro-card p{line-height:2;}
.history-intro-card figure,
.history-photo-card,
.history-lounge-grid figure,
.history-lucky-card figure{
  margin:0;
  overflow:hidden;
  border-radius:24px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 14px 34px rgba(75,44,18,.08);
}
.history-intro-card img{width:100%;height:430px;object-fit:cover;}
.history-intro-card figcaption,
.history-photo-card figcaption,
.history-lounge-grid figcaption{
  padding:16px 18px 18px;
  font-weight:700;
  line-height:1.85;
  color:#4d423b;
  background:linear-gradient(180deg,#fff,#fff8eb);
}
.history-section{margin:58px 0;}
.history-section-head{
  max-width:900px;
  margin:0 auto 28px;
  text-align:center;
}
.history-section-head p{line-height:2;color:#4d423b;}
.history-timeline{
  display:grid;
  gap:18px;
  position:relative;
}
.history-event{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:24px;
  align-items:start;
  background:rgba(255,255,255,.84);
  border:1px solid var(--line);
  border-radius:24px;
  padding:26px;
  box-shadow:0 12px 30px rgba(75,44,18,.055);
  position:relative;
  overflow:hidden;
}
.history-event:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:linear-gradient(var(--gold),rgba(212,165,60,.35));
}
.history-event-important{
  border-color:rgba(200,51,33,.22);
  background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(255,247,230,.86));
}
.history-event-important:before{background:linear-gradient(var(--red),var(--gold));}
.history-date span{
  display:block;
  font-size:22px;
  font-weight:900;
  color:var(--red-dark);
}
.history-date small{
  display:inline-block;
  margin-top:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#fff2d7;
  color:#76511d;
  font-weight:800;
  line-height:1.5;
  font-size:12px;
}
.history-event h3{
  margin:0 0 10px;
  font-size:23px;
  line-height:1.55;
}
.history-event p{margin:0 0 10px;line-height:2;}
.history-event p:last-child{margin-bottom:0;}
.history-photo-grid{
  display:grid;
  gap:22px;
  margin:42px 0 58px;
}
.history-photo-grid.two{grid-template-columns:1fr 1fr;}
.history-photo-grid.one{grid-template-columns:1fr;}
.history-photo-card img{width:100%;height:410px;object-fit:cover;}
.history-photo-card.wide img{height:560px;}
.history-lounge-section{margin:64px 0;padding:36px;}
.history-lounge-section .section-lead{max-width:900px;margin:0 auto 28px;line-height:2;}
.history-lounge-grid{display:grid;grid-template-columns:1.15fr .95fr .95fr;gap:18px;}
.history-lounge-grid img{width:100%;height:330px;object-fit:cover;}
.history-lounge-grid figure:first-child img{height:420px;}
.history-lucky-section{margin-top:70px;}
.history-lucky-grid{display:grid;gap:24px;}
.history-lucky-card{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:26px;
  align-items:center;
  padding:26px;
  border:1px solid var(--line);
  border-radius:28px;
  background:rgba(255,255,255,.86);
  box-shadow:0 12px 32px rgba(75,44,18,.06);
}
.history-lucky-card:nth-child(even){grid-template-columns:1.05fr .95fr;}
.history-lucky-card:nth-child(even) figure{order:2;}
.history-lucky-card figure{box-shadow:none;}
.history-lucky-card figure img{width:100%;height:360px;object-fit:cover;}
.history-lucky-card figure.double{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:0;background:transparent;}
.history-lucky-card figure.double img{border-radius:20px;border:1px solid var(--line);height:330px;}
.history-lucky-card h3{font-size:24px;margin:0 0 12px;color:var(--red-dark);}
.history-lucky-card p{line-height:2;margin:0 0 10px;}
.history-closing-card{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:30px;
  align-items:center;
  margin:70px 0 20px;
  border-radius:32px;
  padding:38px;
  color:#fff;
  background:linear-gradient(135deg,#9d2518,#d14924);
  box-shadow:0 18px 45px rgba(80,44,15,.16);
  overflow:hidden;
  position:relative;
}
.history-closing-card:after{
  content:"";
  position:absolute;
  right:-80px;
  top:-110px;
  width:260px;
  height:260px;
  border-radius:50%;
  background:rgba(255,255,255,.10);
}
.history-closing-card img{width:150px;filter:drop-shadow(0 14px 20px rgba(0,0,0,.18));}
.history-closing-card h2{color:#fff;}
.history-closing-card p{margin:0 0 10px;line-height:2;color:#fff9ef;}
.history-closing-card .btn-outline{background:#fff;color:var(--red-dark);}
@media (max-width:1020px){
  .history-intro-card,.history-event,.history-lucky-card,.history-lucky-card:nth-child(even){grid-template-columns:1fr;}
  .history-lucky-card:nth-child(even) figure{order:0;}
  .history-lounge-grid,.history-photo-grid.two{grid-template-columns:1fr;}
  .history-intro-card img,.history-photo-card img,.history-photo-card.wide img,.history-lounge-grid img,.history-lounge-grid figure:first-child img,.history-lucky-card figure img{height:auto;max-height:560px;}
  .history-closing-card{grid-template-columns:1fr;text-align:left;}
}
@media (max-width:640px){
  .history-wrap{padding-top:36px;}
  .history-intro-card,.history-lounge-section,.history-lucky-card,.history-closing-card{padding:22px;border-radius:22px;}
  .history-event{padding:22px 20px 22px 24px;}
  .history-date span{font-size:19px;}
  .history-event h3,.history-lucky-card h3{font-size:20px;}
  .history-lucky-card figure.double{grid-template-columns:1fr;}
}
