@font-face{
  font-family: "KawasakiMadDog";
  src: url("../font/KawasakiMadDog.woff2") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
html, body{
  overflow-x: hidden;
}
body{
    font-family: "zen-kaku-gothic-antique", sans-serif;
    font-style: normal;
    font-size: 12px;
}
body.is-about {
  background: #d4a644;
}
.loading-overlay{
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #d4a644;
  display: grid;
  place-items: center;
  pointer-events: all;

  /* 穴（最初は0） */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 0px, #000 1px);
  mask-image: radial-gradient(circle at 50% 50%, transparent 0px, #000 1px);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  font-family: "KawasakiMadDog";
}
:root{
  --odo-size: clamp(64px, 10vw, 120px);  /* 数字サイズ（好きに） */
  --odo-line: 1.1;                        /* 行高（固定） */
}

/* ラベル */
.loading-overlay__label{
  text-align:center;
  color:#000;
  user-select:none;
}

/* 横並び */
.odometer{
  display:inline-flex;
  align-items: center;
  gap:.06em;
  font-weight:800;
  letter-spacing:.04em;
  height: auto;           /* ← 50pxやめる */
  overflow: visible;      /* ← 親で切らない */
}

/* 1桁の窓 */
.odometer__digit{
  position:relative;
  width: 3.5em;
  height: calc(var(--odo-size) * var(--odo-line)); /* ←窓=数字1行分 */
  overflow:hidden;
}

/* 縦トラック */
.odometer__track{
  position:absolute;
  left:0; top:0;
  width:100%;
  will-change: transform;
}

/* 1行の数字（窓と“同じ高さ”にするのが肝） */
.odometer__num{
  height: calc(var(--odo-size) * var(--odo-line));
  display:grid;
  place-items:center;
  font-size: clamp(28px, 4vw, 48px);
  line-height: var(--odo-line);
  font-weight:800;
  font-variant-numeric: tabular-nums;
}

/* % */
.odometer__percent{
  font-size: calc(var(--odo-size) * 0.45);
  margin-left: .12em;
  font-weight:800;
  line-height: 1;
}

/* 読み込み中 */
.loading-text{
  margin-top: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  font-size: 14px;
  opacity: .9;
}


main{
  position: relative;
  z-index: 1;
  margin-left: 300px;
  width: calc(100% - 300px);
}
.tit{
    font-family: "KawasakiMadDog";
}
.astro{
    font-family: "new-astro", sans-serif;
}
.jpn{
    font-family: "zen-kaku-gothic-antique", sans-serif;
}
.cvr{
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}
#g-nav a{ color:#000; }
#g-nav a.is-active{ color:#d4a644; }

.bg-animation-logo svg{
    max-width: 100%;
    height: auto;
    display: block;
}

.container{
    width: 100%;
    height: 100vh;
}

.index header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 300px;
    z-index: 1000;
    padding: 20px;
}
.header-inner{
    height: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
header .logo{
    width: 100%;
    max-width: 150px;
}
header .g-nav{
    font-weight: bold;
}
header .g-nav ul{
    display: grid;
    gap: 8px;
}
header .g-nav a {
  color: #000;
  display: inline-block;
}

header .g-nav a.is-current {
  color: #d4a644; /* ロゴと合わせるならこれ */
}


.contact-btn{
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    border-radius: 100px;
}
.contact-btn-text{
    text-align: center;
    display: grid;
    gap: 4px;
}
.contact-btn-text .tit{
    font-size: 8px;
}
.contact-btn-text .jpn{
    font-size: 14px;
    font-weight: 900;
}

.bg-animation{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;              /* 背景にする */
    pointer-events: none;    /* クリック邪魔しない */
}
.bg-animation-logo{
    width: 100%;
    max-width: 600px;
}

.hero-spacer{
  height: 100dvh;          /* メインビジュアル1画面分 */
}


/* inner sections */
.index-contents{
    padding: 100px 0;
    display: grid;
    gap: 96px;
}
section.inner{
    width: 100%;
    /*max-width: 1300px;*/
    padding: 0 20px;
    margin: 0 auto;
}
footer.inner{
    width: 100%;
    max-width: 1300px;
    padding: 0 20px;
}
.sec-title{
    margin-bottom: 24px;
}
.sec-title .tit{
    display: grid;
    gap: 8px;
    font-size: max(30px,3vw);
}
.sec-title .tit span{
    font-weight: bold;
    font-size: 12px;
}

.list-wrap{
    width: 100%;
}
.list-wrap ul{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.list-wrap ul li{
    display: flex;
    gap: 16px;
    align-items: center;
    font-weight: bold;
    background: rgba(245, 245, 245, 0.7);
    padding: 24px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}
.list-wrap ul li .data{
    padding-top: 2px;
}
.list-wrap ul li .arrow{
    position: absolute;
    right: 20px;
}

.more-wrap{
    width: fit-content;
    margin-top: 16px;
    margin-left: auto;
}

.about-sec .explain{
    font-weight: bold;
    line-height: 2;
}

.profiles-card-wrap{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.profiles-card{
    width: calc(100% / 2 - 8px);
    background: rgba(245, 245, 245, 0.7);
    padding: 24px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    display: grid;
    gap: 8px;
}
.profiles-card .icon figure{
    aspect-ratio: 1;
    width: 120px;
    background: white;
    border-radius: 1000px;
    margin: 0 auto;
}
.profiles-card .explain{
    display: grid;
    gap: 16px;
    margin-top: 16px;
}
.profiles-card .explain .name{
    font-size: 16px;
    margin-bottom: 4px;
}
.profiles-card .intro{
    line-height: 2;
}

.works-card-wrap{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.works-card{
    width: calc(100% / 3 - 11px);
    background: rgba(245, 245, 245, 0.7);
    padding: 24px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    display: grid;
    gap: 8px;
}

footer.footer-sec{
    width: 100%;
    max-width: none;
    margin-left: 0;
    padding: 100px 36px;          /* 背景の上下だけ */
    background: #000;
}
.footer-inner{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-inner .f-logo{
    width: 100%;
    max-width: 200px;
}
.footer-inner .f-nav{
    color: #d4a644;
}
.footer-inner .f-nav ul{
    display: flex;
    gap: 8px;
    font-weight: bold;
}



@media (min-width: 769px){
  #footer.footer-sec{
    width: 100%;
    border-radius: 0;
  }
}
@media (max-width: 768px){
  main{
    margin-left: 0;
    width: 100%;
  }
}