/* =========================================================
   Base / Reset
========================================================= */
:root{
  --brand-teal:#2fb7a6;
  --brand-orange:#f28b2f;
  --ink:#0c2440;
  --ink-2:#233956;
  --muted:#4b5d70;
  --bg:#ffffff;
  --bg-weak:#f7fbfd;
  --shadow:0 8px 24px rgba(0,30,60,.12);
  --radius:14px;
  --container:1100px;

  /* ヘッダー調整用 */
  --header-pad: clamp(12px, 3vw, 24px);
  --header-max: 1180px;
}

*,
*::before,
*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  cursor:url("./images/cursor-drone.svg") 14 14, auto;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:var(--ink-2); text-decoration:none; }
a:hover{ text-decoration:underline; }
ul,ol{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4,p{ margin:0 0 .75rem; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  position:fixed; left:1rem; top:1rem; width:auto; height:auto;
  background:#000; color:#fff; padding:.5rem .75rem; z-index:9999; border-radius:.5rem;
}

/* =========================================================
   Header
========================================================= */
.l-header__topband{
  background:#2f3136; color:#f8fafc; font-size:.85rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.l-header__topband .l-header__title{
  max-width:var(--header-max); margin:0 auto; padding:.35rem var(--header-pad);
  letter-spacing:.04em;
}

.l-header{
  position:sticky; top:0; z-index:200;
  background:#fff; box-shadow: 0 1px 0 rgba(12,36,64,.06);
}
.l-header__bar{
  width:100%;
  padding:.7rem var(--header-pad);
  background:#fff;
  border-bottom:1px solid rgba(12,36,64,.05);
}
.l-header__inner{
  max-width:var(--header-max);
  margin:0 auto;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:clamp(.8rem, 2vw, 1.6rem);
  align-items:center;
}

/* ロゴ左寄せ */
.l-header__logo{ display:flex; align-items:center; justify-self:start; }
.l-header__logo img{
  height:clamp(44px, 6vw, 72px);
  width:auto; display:block;
}

/* ナビ中央寄せ */
.l-header__nav{ display:none; min-width:0; justify-self:center; }
.l-header__nav.is-open{ display:block; }
@media (min-width:960px){
  .l-header__nav{ display:flex; align-items:center; justify-content:center; }
}
.l-header__nav__list{
  display:flex; align-items:center; gap:clamp(.9rem, 1.6vw, 1.6rem);
  flex-wrap:nowrap; white-space:nowrap; font-weight:600;
}
.l-header__nav__list a{
  padding:.55rem .45rem; border-radius:10px; letter-spacing:.03em;
  transition:background .18s ease, transform .18s ease;
}
.l-header__nav__list a:hover,
.l-header__nav__list a:focus-visible{
  background:rgba(15, 78, 231, .12); text-decoration:none; transform:translateY(-1px);
}
@media (max-width:959px){
  .l-header__nav__list{
    flex-direction:column;
    align-items:flex-start;
    gap:.6rem;
  }
  .l-header__nav__list a{
    width:100%;
  }
}

/* 右側：TEL & CTA */
.u-device-sp{ display:block; }
.u-device-pc{ display:none; }
@media (min-width:960px){
  .u-device-sp{ display:none; }
  .u-device-pc{
    display:flex; align-items:center; gap:.75rem;
    justify-content:flex-end; justify-self:end;
  }
}
.l-header__nav__cv__tel__num a{
  font-weight:800; font-size:1.16rem; color:var(--ink);
  display:inline-flex; align-items:center; gap:.45rem;
}
.l-header__nav__cv__tel__time span{ font-size:.82rem; color:var(--muted); }
.l-header__nav__cv__btns{ display:flex; gap:.75rem; margin-top:0; }

.c-button{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.6rem 1rem; border-radius:10px; background:var(--brand-teal); color:#fff; font-weight:700; box-shadow: var(--shadow);
}
.c-button:hover{ filter:brightness(.95); text-decoration:none; }
.c-button--outline{
  background:#fff;
  color:#0f4ee7;
  border:1px solid rgba(15,78,231,.35);
  box-shadow:none;
}
.c-button--outline:hover,
.c-button--outline:focus-visible{
  background:rgba(15,78,231,.08);
  filter:none;
}

/* ハンバーガー（SPのみ） */
.l-header__hum{
  justify-self:end; appearance:none; border:0; background:#fff; border-radius:10px;
  width:50px; height:46px; display:inline-grid; place-content:center; gap:4px; cursor:pointer;
  box-shadow:0 2px 8px rgba(12,36,64,.12);
}
.l-header__hum span{
  display:block; width:24px; height:2px; background:#0c2440; border-radius:2px;
}
@media (min-width:960px){ .l-header__hum{ display:none; } }

.l-container{ overflow:hidden; }

/* =========================================================
   Menu
========================================================= */
.p-front-menu{ background:var(--bg-weak); padding:3.2rem 0; }
.p-front-menu__inner{ max-width:var(--container); margin:0 auto; padding:0 1rem; }
.p-front-menu__title-en{ color:var(--brand-teal); font-weight:800; letter-spacing:.06em; }
.p-front-menu__title{ font-size:1.6rem; font-weight:800; }
.p-front-menu__cards{ margin-top:1.2rem; display:grid; gap:1rem; }
@media (min-width:960px){
  .p-front-menu__cards{ grid-template-columns: repeat(3, 1fr); }
}
.p-front-menu__card{
  background:#fff; border:1px solid #e6eef6; border-radius:14px; box-shadow: var(--shadow);
  padding:1.2rem; display:flex; flex-direction:column; align-items:flex-start; gap:.6rem;
}
.p-front-menu__card__image img{ width:96px; height:96px; }
.p-front-menu__card__title{ font-size:1.15rem; font-weight:800; }
.p-front-menu__card__text{ color:var(--muted); }
.p-front-menu__card__button a{
  display:inline-block; padding:.55rem .9rem; border-radius:10px; border:1px solid #e6eef6;
}

/* =========================================================
   About / Business
========================================================= */
.gradient-wrap{ background: linear-gradient(180deg, #fff, #f9fcff 60%, #fff); }
.p-front-about{ max-width:var(--container); margin:0 auto; padding:3.2rem 1rem; }
.p-front-about__inner{ display:grid; gap:1.2rem; align-items:center; }
@media (min-width:960px){
  .p-front-about__inner{ grid-template-columns: 1fr 1.1fr; }
}
.p-front-about__title-en{ color:var(--brand-teal); font-weight:800; }
.p-front-about__title{ font-size:1.6rem; font-weight:800; }
.p-front-about__catch{ font-weight:700; color:var(--ink-2); }

.p-front-business{ max-width:var(--container); margin:0 auto; padding:3.2rem 1rem; }
.p-front-business__title-en{ color:var(--brand-teal); font-weight:800; }
.p-front-business__title{ font-size:1.6rem; font-weight:800; }
.p-front-business__catch{ text-align:center; font-weight:800; margin:.6rem 0 1.2rem; }
.p-front-business__content{ display:grid; gap:1.2rem; align-items:center; }
@media (min-width:960px){
  .p-front-business__content{ grid-template-columns: 1.1fr 1fr; }
}
.p-front-business__lead{ font-size:1.25rem; font-weight:800; }
.p-front-business__description{ color:var(--muted); }

/* =========================================================
   Fixed CV
========================================================= */
.c-fixed-cv{
  position:fixed; left:0; right:0; bottom:10px; z-index:40;
  display:flex; gap:.6rem; justify-content:center; pointer-events:none;
}
.c-fixed-cv__button{
  pointer-events:auto;
  background:#fff; box-shadow: var(--shadow);
  border-radius:999px; overflow:hidden;
}
.c-fixed-cv__button a{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.7rem 1.1rem; color:#fff; font-weight:800; text-decoration:none;
}
.c-fixed-cv__button.--drone a{ background:var(--brand-orange); }
.c-fixed-cv__button.--contact a{ background:var(--brand-teal); }
@media (min-width:960px){ .c-fixed-cv{ bottom:14px; } }

/* =========================================================
   Footer
========================================================= */
.l-footer{ background:#0f2239; color:#dce6f4; margin-top:3.2rem; }
.l-footer a{ color:#dce6f4; }
.l-footer__logo{ max-width:var(--container); margin:0 auto; padding:1.2rem 1rem 0; }
.l-footer__logo img{ filter:brightness(1.2); height:40px; width:auto; display:block; }
.l-footer__inner{ max-width:var(--container); margin:0 auto; padding:1rem; display:grid; gap:1.6rem; }
@media (min-width:960px){ .l-footer__inner{ grid-template-columns: 1.2fr 1fr; } }
.l-footer__social{ display:flex; gap:.6rem; margin-top:.4rem; }
.l-footer__nav{ display:grid; grid-template-columns: 1fr 1fr; gap:.6rem 2rem; }
.l-footer__nav-item.--sub a{ opacity:.9; }
.l-footer__copyright{ text-align:center; padding:1rem; border-top:1px solid rgba(255,255,255,.08); color:#b9c9de; }

/* =========================================================
   Animation / Utilities
========================================================= */
.fadein{ opacity:0; transform:translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.fadein.is-in{ opacity:1; transform:none; }
.no-js .fadein{ opacity:1; transform:none; }
.cursor-drone-trail{
  position:fixed;
  top:0;
  left:0;
  width:38px;
  height:38px;
  margin:-19px 0 0 -19px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(94,139,255,0.5) 0%, rgba(53,198,191,0.15) 60%, rgba(53,198,191,0) 100%);
  box-shadow:0 8px 18px rgba(53,198,191,0.32);
  backdrop-filter:blur(2px);
  pointer-events:none;
  opacity:0;
  transform:scale(.6);
  transition:opacity .25s ease, transform .25s ease;
  z-index:9999;
}
.cursor-drone-trail::after{
  content:"";
  position:absolute;
  inset:10px;
  background:url("./images/cursor-drone.svg") center/contain no-repeat;
  opacity:.9;
}
.cursor-drone-trail.is-active{
  opacity:1;
  transform:scale(1);
}

@media (pointer:coarse){
  body{ cursor:auto; }
  .cursor-drone-trail{ display:none; }
}
