/* ============ Base ============ */
:root{
  --bg: #07070a;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --line: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --faint: rgba(255,255,255,.50);
  --shadow: 0 16px 50px rgba(0,0,0,.45);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 600px at 50% -10%, rgba(120,90,220,.18), transparent 60%),
              radial-gradient(1000px 700px at 80% 20%, rgba(0,180,255,.10), transparent 55%),
              var(--bg);
  overflow-x:hidden;
}

/* ============ Deep layer background (Earth) ============ */
.deep{
  position:fixed;
  inset:-10vh -10vw -10vh -10vw;
  z-index:-5;
  pointer-events:none;
}
.deep__img{
  position:absolute;
  inset:0;
  background-position:center;
  background-size:cover;
  filter: saturate(1.1) contrast(1.05);
  opacity:.40;
  transform: translate3d(0,0,0) scale(1.06);
  will-change: transform;
}
.deep__veil{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 600px at 55% 30%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,.65), rgba(0,0,0,.90));
}

/* ============ Top bar (logo only) ============ */


*{box-sizing:border-box}
body{margin:0}
a{text-decoration:none}
img{vertical-align:bottom}

html{scroll-behavior:smooth}
#footer{scroll-margin-top:60px}

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:1000;
  background:#000;
  color:#fff;
}

.site-header-inner{
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand-logo-img{
  height:20px;
  display:block;
}

.global-nav a{
  font-size:10px;
  color:#f5f5f5;
  letter-spacing:.08em;
  text-transform:uppercase;
}

@media screen and (min-width:769px){
  .site-header-inner{
    padding:15px 35px;
  }
  .brand-logo-img{
    height:24px;
  }
  .global-nav a{
    font-size:15px;
  }
}


/* ============ Hero ============ */
.hero{
  position:relative;
  padding: 44px 0 30px;
}
.hero__inner{
  max-width: var(--max);
  margin:0 auto;
  padding: 0 16px;
  display:grid;
  grid-template-columns: 1.15fr 1.15fr;
  gap: 26px;
  align-items:start;
}
.hero__stack{
  min-width:0;
}
.hero__label{
  margin: 0 0 10px;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  color: var(--faint);
}
.hero__title{
  margin: 0 0 16px;
  font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.12;
  letter-spacing:-.02em;
}

/* translucent white-ish glow plate around the logo */
.hero__logoPlate{
  width: fit-content;
  border-radius: 999px;
  padding: 14px 18px;
  background:
    radial-gradient(120px 80px at 35% 35%, rgba(255,255,255,.35), rgba(255,255,255,.14) 55%, rgba(255,255,255,.06) 100%),
    linear-gradient(to bottom, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin: 10px 0 18px;
}
.hero__logo{
  height: 54px;
  width:auto;
  display:block;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.45));
}

.profile{
  border-radius: var(--radius-lg);
  background: linear-gradient(to bottom, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  padding: 18px 18px;
  max-width: 640px;
}
.profile__title{
  margin: 0 0 12px;
  font-size: 14px;
  letter-spacing:.08em;
  color: var(--muted);
}
.profile__grid{
  margin:0;
  display:grid;
  gap: 10px;
}
.profile__row{
  display:grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items:baseline;
}
.profile dt{
  margin:0;
  color: var(--faint);
  font-size: 12px;
  letter-spacing:.04em;
}
.profile dd{
  margin:0;
  color: var(--text);
  font-weight: 500;
  font-size: 14px;
}

.hero__media{
  min-width:0;
}



/* ============ Hero media (logo full area) ============ */
.hero__media .imageArea--hero{
  /* slightly stronger white feeling just for hero media */
  background: linear-gradient(to bottom, rgba(255,255,255,.18), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.22);
}
.hero__media .imageArea--hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(520px 320px at 50% 45%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(420px 260px at 30% 30%, rgba(255,255,255,.16), transparent 62%);
  pointer-events:none;
}
.hero__brandImage{
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display:block;
  object-fit: contain;
  padding: 10%;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.55));
}

/* ============ Image Area (unified spec) ============ */
.imageArea{
  border-radius: var(--radius-xl);
  background: linear-gradient(to bottom, rgba(255,255,255,.09), rgba(255,255,255,.05));
  border: 1px dashed rgba(255,255,255,.26);
  position:relative;
  overflow:hidden;
  box-shadow: 0 16px 55px rgba(0,0,0,.35);
}
.imageArea::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(420px 280px at 18% 12%, rgba(255,255,255,.14), transparent 58%),
    radial-gradient(520px 320px at 80% 80%, rgba(120,90,220,.12), transparent 60%);
  pointer-events:none;
}
.imageArea__cap{
  position:absolute;
  left:14px;
  top:12px;
  font-size: 11px;
  letter-spacing:.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.imageArea__sub{
  position:absolute;
  left:14px;
  bottom:12px;
  font-size: 12px;
  color: rgba(255,255,255,.60);
}
.imageArea--hero{
  aspect-ratio: 16/10;
  min-height: 280px;
}

.imageArea--card{
  aspect-ratio: 16/10;
  margin-top: 12px;
}
.imageArea--wide{
  aspect-ratio: 21/9;
  min-height: 150px;
}



/* ==========================
   FIX: 事業領域 点線枠を削除
   ========================== */
   .imageArea {
    border: none;
  }



/* ============ Window / hole effect ============ */
.window{
  max-width: var(--max);
  margin: 36px auto 0;
  padding: 0 16px;
}

.window__glass{
  height: 160px;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(255,255,255,.22), rgba(255,255,255,.02) 55%),
    radial-gradient(480px 180px at 20% 30%, rgba(0,180,255,.20), transparent 60%);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translate3d(0,0,0);
  will-change: transform;
}

/* ============ Sections ============ */
.section{
  padding: 15px 0;
}
.section__inner{
  max-width: var(--max);
  margin:0 auto;
  padding: 0 16px;
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.section__title{
  margin:0;
  font-size: 22px;
  letter-spacing:-.01em;
}
.section__lead{
  padding-top: 5px;
  margin:0;
  color: var(--muted);
  line-height:1.6;
  max-width: 560px;
  font-size: 14px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  overflow:hidden;
  padding: 16px;
}
.card__title{
  margin:0 0 6px;
  font-size: 16px;
}
.card__desc{
  margin:0;
  color: var(--muted);
  line-height:1.6;
  font-size: 13px;
}

.section--dense{
  padding-top: 30px;
}
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items:start;
}
.bullets{
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height:1.75;
  font-size: 13px;
}
.split__media{
  display:grid;
  gap: 12px;
}

/* ============ Footer stub ============ */
.footerStub{
  padding: 26px 0 60px;
}
.footerStub__inner{
  max-width: var(--max);
  margin:0 auto;
  padding: 0 16px;
}
.footerStub__note{
  color: rgba(255,255,255,.45);
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 14px;
}

/* ============ Responsive (SP first attention) ============ */
@media (max-width: 900px){
  .hero__media{
    display: none;
  }
  .hero__inner{ grid-template-columns: 1fr; }
  .hero__logo{ height: 48px; }
  .imageArea--hero{ min-height: 220px; }
  .section__head{ flex-direction:column; align-items:flex-start; }
  .cards{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .imageArea--wide{ aspect-ratio: 16/9; }
}

@media (max-width: 480px){
  .hero__media{
    display: none;
  }

  .topbar__inner{ padding: 10px 12px; }
  .brand__logo{ height: 30px; }

  .hero{ padding: 0px 0 13px; }
  .hero__title{ font-size: 26px; }
  .hero__logoPlate{ padding: 12px 14px; }
  .profile{ padding: 16px 14px; }
  .profile__row{ grid-template-columns: 84px 1fr; gap: 10px; }
  .window__glass{ height: 130px; }
}


/* ===== ImageArea inside img ===== */
.imageArea__img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* ← トリミングして綺麗に */
  display: block;
}



/* ===== Atmosphere spacer (no object) ===== */
.mediaSpacer{
  aspect-ratio: 21 / 9;   /* imageArea--wide と同じ */
  min-height: 150px;
}

/* ===== Atmosphere image only ===== */
.mediaImage{
  aspect-ratio: 21 / 9;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mediaImage img{
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  display: block;
}



@media (max-width: 900px){
  /* Atmosphere セクションをSPでは表示しない */
  .section--dense{
    display: none;
  }
  .hero__label{
    display: none;
  }
}


/* ==========================
   Fixed header offset
   body をヘッダー分だけ下げる
========================== */






/* ==================================================
   ★ 追加：Global Font Rule（最終決定・全体統一）
   ここより上の font-family はすべて上書きされる
   ================================================== */

   html.spacebook {
    font-size: .73vw; /* 本家スケール */
  }
  
  body {


    font-family:
      "Klee One",
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Roboto,
      "Noto Sans JP",
      sans-serif;
  }



/* ==========================
   FIX: 固定ヘッダー分のオフセット（最終）
   ========================== */

   body{
    padding-top: calc(64px + 1rem);
  }
  


  /* ===== card 全体をリンク化 ===== */
.card__link{
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

/* hover 演出（任意） */
.card__link:hover{
  transform: translateY(-2px);
}

.card__link:hover .imageArea{
  filter: brightness(1.05);
}