/* 守破離 3案の共通層: トークン・リセット・ヘッダー・フッター（守の部分） */
:root{
  --blue:#83a2b2;--blue-deep:#6e8d9c;--blue-dark:#485b66;--ink:#242e33;
  --pale:#e1e7eb;--pale2:#ebf0f2;--pale3:#f3f8fa;--line:#c6d5dd;--muted:#7493a3;
  --en:"Montserrat",sans-serif;--jp:"Noto Sans JP","Hiragino Sans",Meiryo,sans-serif;
  --ease:cubic-bezier(.18,.06,.23,1);--dur:.4s;
  --wrap:124rem;--gut:7rem; /* コンテンツ端 = 1440px で 170px */
}
html{font-size:10px}
@media (max-width:1249px){html{font-size:.8vw}}
@media (min-width:1600px){html{font-size:12.5px}}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:var(--jp);font-weight:300;font-size:1.5rem;line-height:1.8;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
.en{font-family:var(--en)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 var(--gut)}
.label{font-family:var(--en);font-size:1.1rem;letter-spacing:.22em;color:var(--blue);text-transform:uppercase}
.ttl{font-weight:500;color:var(--blue-dark);line-height:1.5;text-wrap:balance}
.more{display:inline-flex;align-items:center;gap:.8rem;font-size:1.4rem;font-weight:600;color:var(--ink);background:linear-gradient(currentColor,currentColor) no-repeat right bottom/100% 1px;padding-bottom:.2rem}
.more::after{content:"›";display:inline-grid;place-items:center;width:2rem;height:2rem;border:1px solid var(--blue);border-radius:.5rem;color:var(--blue);font-size:1.3rem;line-height:1;transition:all var(--dur) var(--ease)}
.more:hover::after{background:var(--blue);color:#fff}
.more--w{color:#fff}.more--w::after{border-color:#fff;color:#fff}
.btn{display:inline-flex;align-items:center;gap:1rem;padding:1.4rem 2.8rem;border-radius:.5rem;font-size:1.4rem;font-weight:600;transition:all var(--dur) var(--ease)}
.btn--fill{background:var(--blue);color:#fff}.btn--fill:hover{background:var(--blue-deep)}
.btn--line{border:1px solid var(--blue-dark);color:var(--blue-dark)}.btn--line:hover{background:var(--blue-dark);color:#fff}

/* header（本家の挙動を守る: 透明 → スクロールでピル） */
.hd{position:fixed;inset:0 0 auto;z-index:50;height:10rem;pointer-events:none}
.hd a,.hd button{pointer-events:auto}
.hd__logo{position:absolute;top:0;left:3rem;height:10rem;display:flex;align-items:center;transition:all .2s var(--ease)}
.hd__logo img{width:30rem;display:block}
.hd__logo .w{display:none}
.hd__nav{position:absolute;top:0;right:10rem;height:10rem;display:flex;align-items:center;font-size:1.4rem;font-weight:500;color:var(--ink);transition:all .2s var(--ease)}
.hd__nav li+li::before{content:"";display:inline-block;width:0;height:1.5rem;border-left:1px dotted var(--blue);vertical-align:middle}
.hd__nav a{padding:0 2.5rem;display:inline-block}
.hd__menu{position:absolute;top:2rem;right:3rem;width:6rem;height:6rem;border:0;border-radius:1rem;background:linear-gradient(145deg,#53798e,#9bb7c2);cursor:pointer;transition:all .2s var(--ease)}
.hd__menu i{position:absolute;top:calc(50% - .2rem);left:calc(50% - .2rem);width:.4rem;height:.4rem;border-radius:50%;background:#fff}
.hd__menu i:nth-child(1){translate:-.7rem 0}.hd__menu i:nth-child(3){translate:.7rem 0}
.hd.is-scrolled .hd__logo{top:1rem;left:1rem;height:5rem;padding:0 2.4rem 0 2rem;border-radius:1rem;background:var(--blue)}
.hd.is-scrolled .hd__logo .b{display:none}.hd.is-scrolled .hd__logo .w{display:block}
.hd.is-scrolled .hd__nav{top:1rem;height:5rem;background:rgba(255,255,255,.9);backdrop-filter:blur(20px);border-radius:1rem;box-shadow:.1rem .1rem .4rem rgba(12,2,0,.08)}
.hd.is-scrolled .hd__menu{top:1rem;right:1rem;height:5rem;width:5rem;border-radius:1rem}
.drawer{position:fixed;inset:0;z-index:60;background:rgba(36,46,51,.94);color:#fff;visibility:hidden;opacity:0;transition:all var(--dur) var(--ease)}
.drawer.is-open{visibility:visible;opacity:1}
.drawer__in{max-width:var(--wrap);margin:0 auto;padding:14rem var(--gut) 6rem;display:grid;grid-template-columns:1fr 1fr;gap:6rem}
.drawer__in a{display:block;font-size:2.4rem;font-weight:600;margin-bottom:2rem}
.drawer__tel{font-family:var(--en);font-size:4rem;font-weight:700}
.drawer__tel small{display:block;font-family:var(--jp);font-size:1.3rem;font-weight:300;opacity:.8;margin-top:1rem}
.drawer__close{position:fixed;top:2rem;right:3rem;width:6rem;height:6rem;border:1px solid #fff;border-radius:1rem;background:none;color:#fff;font-size:2.4rem;cursor:pointer}

/* footer（共通・簡素） */
.ft{background:var(--blue-deep);color:#fff;padding:9rem 0 4rem;font-size:1.4rem;line-height:1.8}
.ft__grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:4rem;padding-bottom:6rem;border-bottom:1px solid rgba(255,255,255,.3)}
.ft__grid b{display:block;font-weight:600;font-size:1.6rem;margin-bottom:1.4rem}
.ft__grid li{margin-bottom:.6rem;opacity:.9}
.ft__logo img{width:30rem;margin-bottom:2rem}
.ft__addr{opacity:.95}
.ft__reg{display:inline-block;margin-top:2rem;padding:1rem 1.4rem;border:1px solid rgba(255,255,255,.4);border-radius:.5rem;font-size:1.3rem;line-height:1.7}
.ft__bottom{display:flex;justify-content:space-between;align-items:center;padding-top:3rem;font-size:1.2rem}
.ft__bottom ul{display:flex;gap:2.4rem}
.ft__bottom .en{letter-spacing:.08em;opacity:.8}

/* 共通: 地球儀 SVG（経緯線のみ） */
.globe{fill:none;stroke:var(--blue);stroke-width:1.1;stroke-opacity:.45}
.globe--w{stroke:#fff;stroke-opacity:.55}
@keyframes spin{to{transform:rotate(360deg)}}
.globe-spin{transform-origin:center;animation:spin 240s linear infinite}

/* 共通: 線画イラストの箱（白地・余白） */
.illust{background:#fff;border-radius:.5rem;overflow:hidden;display:grid;place-items:center}
.illust img{width:100%;height:100%;object-fit:contain;padding:1.2rem}
.photo{border-radius:.5rem;overflow:hidden;background:var(--pale)}
.photo img{width:100%;height:100%;object-fit:cover}

/* 出現（控えめ） */
.rv{opacity:0;translate:0 1.6rem;transition:opacity .8s var(--ease),translate .8s var(--ease)}
.rv.is-in{opacity:1;translate:0 0}
@media (prefers-reduced-motion:reduce){.rv{opacity:1;translate:none;transition:none}.globe-spin{animation:none}}

@media (max-width:849px){
  html{font-size:2.6667vw}
  :root{--gut:1.5rem}
  body{font-size:1.4rem}
  .hd__logo img{width:22rem}.hd__logo{left:1.5rem;height:7rem}
  .hd__nav{display:none}
  .hd__menu{top:auto;bottom:1rem;right:1rem;width:5rem;height:5rem;border-radius:.5rem}
  .hd.is-scrolled .hd__logo{top:0;left:1.5rem;height:7rem;padding:0;background:none}
  .hd.is-scrolled .hd__logo .b{display:block}.hd.is-scrolled .hd__logo .w{display:none}
  .drawer__in{grid-template-columns:1fr;padding:8rem 2.4rem 12rem}
  .ft__grid{grid-template-columns:1fr;gap:3rem}
  .ft__bottom{flex-direction:column;gap:1.6rem;align-items:flex-start}
}
