/* =========================
   Premium Revamp for AXIS LP
   ========================= */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;600&family=Noto+Serif+JP:wght@400;600;700&family=Inter:wght@400;500;700&display=swap');

/* -------------------------
   Design Tokens
------------------------- */
:root{
  /* Brand */
  --prm-ink:#0e0b14;
  --prm-bg:#0a0611;
  --prm-primary:#8b36ff;        /* 品のある紫 */
  --prm-primary-2:#a86bff;      /* 補助の紫 */
  --prm-accent:#f2e9c9;         /* 象牙色（温かい白） */
  --prm-gold:#d8c07a;           /* 控えめな金 */
  --prm-danger:#ff8a8a;

  /* Surfaces */
  --glass-bg:rgba(20,16,30,.45);
  --glass-stroke:rgba(255,255,255,.14);
  --elev-1:0 8px 32px rgba(0,0,0,.35);
  --elev-2:0 16px 40px rgba(0,0,0,.45);

  /* Text */
  --txt:#f7f7fa;
  --txt-soft:#d7d5e1;
  --txt-mute:#a7a3b8;

  /* Gradients */
  --grad-hero:
    radial-gradient(1200px 600px at 20% 0%, rgba(168,107,255,.35), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(139,54,255,.35), transparent 60%),
    linear-gradient(180deg, rgba(10,6,17,.40), rgba(10,6,17,.65));

  --grad-btn: linear-gradient(135deg, #b788ff 0%, #8b36ff 45%, #5e1fe6 100%);
  --grad-btn-hover: linear-gradient(135deg, #e6d9ff 0%, #c4a7ff 45%, #8b36ff 100%);
}

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

html, body{ height:100%; }

body{
  margin:0;
  color:var(--txt);
  background: var(--prm-bg);
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height:1.6;
  letter-spacing:.02em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

/* 背景動画 + プレミアムオーバーレイ */
video#myVideo{
  position: fixed;
  inset: 0;
  width:100%;
  height:100%;
  object-fit: cover;
  z-index:-2;
  filter:saturate(1.05) brightness(.9);
}
body::before{
  /* カラーグレード + ヘイズ */
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background: var(--grad-hero);
  z-index:-1;
}

/* コンテナ */
.container{
  width:min(1120px, 92vw);
  margin-inline:auto;
}

/* -------------------------
   Header / Hero
------------------------- */

header{display: block;}
header p{
  margin: 0 0 0 0;
  padding: 0.5em 0 0 1em;
  line-height: 1em;
  font-size: 0.8em;
}

#l-header-logo img{
  max-width: 130px;
  display: block;
  padding: 14px 16px;
  background: #fff;
}

#hero{
  position:relative;
  padding: 0 0 40px;
  text-align:center;
  backdrop-filter:saturate(115%) blur(2px);
  z-index: 100;
}

/* タイトル */
.ttl{ margin: 10px 0 12px; }
.ttl span#ac{
  background:url(../img/Acc_Logo_White_Purple_RGB.svg) no-repeat center/contain;
  width:min(420px, 42vw);
  height:110px;
  display:inline-block;
  text-indent:-9999px;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.5));
}
.ttl p{
  margin:.1em 0 0;
  font-family: "Noto Serif JP", serif;
  font-weight:700;
  font-size: clamp(40px, 8vw, 96px);
  line-height:1.1;
  letter-spacing:.02em;
  text-shadow: 0 10px 30px rgba(0,0,0,.55);
}

/* 日付ラベル */
#caltext {
    color: #ffff00;
    display: inline-block;
    font-size: 2.2em;
    font-family: Oswald, "Noto Sans JP", sans-serif;
    font-feature-settings: "palt";
    text-shadow: rgb(0, 0, 0) 0px 0px 15px;
    margin: 0px 0px 1em;
    padding: 0px;
}
 #caltext span{
  font-size: 1.6em;
}
 #caltext em{
  font-style: normal;
  background: #ffff00;
  color: #333;
  display: inline-block;
  padding: 0;
  margin: 0 6px;
  height: 37px;
  width: 36px;
  font-size: 26px;
  border-radius: 50%;
}
 #caltext em b{
  position: relative;
  bottom: 4px;
  text-shadow: none;
 }

/* CTAブロック */
#contactBox{ display: inline-block;
    margin: 0 20px;}

/* バブル */
 #bubble{
   position: relative;
   display: block;
   margin: 0px 0px 5px 0px;
   padding: 6px 14px;
   background-color: #f3ff00;
   text-align: center;
   font-size: 16px;
   font-weight: bold;
   line-height: 1.5;
   color: #000;
   float: right;
   z-index: 100;
}
 #bubble::after {
   content: "";
   position: absolute;
   bottom: 0;
   left: 85%;
   border-style: solid;
   border-width: 20px 20px 0 0;
   border-color: #f3ff00 transparent transparent;
   translate: calc(-50% - 0.4px) 100%;
}

/* エントリーボタン */
.entryBtn{
  --outline: rgba(208,197,255,.5);
  position:relative; display:inline-block;
  min-width:100%; max-width:340px;
  padding:14px 28px;
  color:#fff; text-decoration:none; font-weight:700; font-size:1.08rem;
  background: var(--grad-btn);
  border-radius:999px;
  box-shadow:
    0 2px 0 rgba(255,255,255,.15) inset,
    0 14px 28px rgba(139,54,255,.35);
  outline: 2px solid transparent;
  transition: transform .18s ease, box-shadow .3s ease, background .4s ease, color .2s ease;
  will-change: transform;
}
.entryBtn::before{
  content:"";
  position:absolute; inset:-4px;
  border-radius:inherit;
  border:2px solid var(--outline);
  opacity:.6; pointer-events:none;
}
.entryBtn:hover{
  background: var(--grad-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(168,107,255,.45);
  color:#1f1133;
}
.entryBtn:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:3px;
}

/* 締切ラベル */
.deadline{
  display:block;
  margin:16px auto 0;
  padding:10px 20px;
  color:var(--danger);
  font-weight:700; font-size:1rem;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px dashed rgba(255,138,138,.6);
  box-shadow: inset 0 0 24px rgba(255,138,138,.08);
}
.deadline p{font-size: 0.8em;}
.deadline span{color: #ff0;}

/* -------------------------
   Section: Strengths
------------------------- */
.section{ padding: 16px 0; }
.section.dark{
  position:relative;
  padding: 260px 0 96px;
  margin-top:-240px;
  color:var(--txt);
  background:
    radial-gradient(1000px 420px at 85% -5%, rgba(139,54,255,.16), transparent 60%),
    linear-gradient(180deg, rgba(12,9,20,.8), rgba(12,9,20,.95));
  clip-path: polygon(0% 0%, 100% 8%, 100% 92%, 0% 100%);
  border-top:1px solid rgba(255,255,255,.05);
  border-bottom:1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(6px);
}

/* 見出し */
h3{
  margin:0 0 18px;
  padding: 10px 16px 10px 18px;
  font-size: clamp(20px, 3.6vw, 28px);
  font-weight:700;
  color:var(--acccent, var(--txt));
  transform: none;
  background:
    linear-gradient(90deg, rgba(139,54,255,.35), rgba(139,54,255,0) 65%);
  border-left: 3px solid var(--prm-primary);
  border-radius:12px;
}

/* 番号付きリスト */
.num-list{
  counter-reset:item;
  list-style:none; padding:0; margin: 10px 0 0;
  font-family: "Noto Serif JP", serif;
}
.num-list li{
  counter-increment:item;
  display:block;
  position:relative;
  padding: 22px 18px 18px 86px;
  margin: 20px 0;
  border-radius:18px;
  background: var(--glass-bg);
  border:1px solid var(--glass-stroke);
  box-shadow: var(--elev-1);
  backdrop-filter: blur(10px);
}
.num-list li::before{
  content: counter(item, decimal-leading-zero);
  position:absolute; left:18px; top:18px;
  width:54px; height:54px; display:grid; place-items:center;
  background: linear-gradient(180deg, #33214e, #1b1230);
  color: var(--gold);
  font-weight:700; font-size:18px; letter-spacing:.06em;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 18px rgba(0,0,0,.35);
}
.num-list li span{
  display:block;
  color:#efe9ff;
  font-weight:700;
  font-size: clamp(18px, 3.6vw, 22px);
  margin-bottom:6px;
}
.num-list li p{
  margin:.2em 0 0;
  color: var(--txt-soft);
  font-size: 15px;
  line-height:1.8;
}

/* -------------------------
   Contact (formrun 埋め込み器)
------------------------- */
.section.contact .entry_bg{
  background: var(--glass-bg);
  border:1px solid var(--glass-stroke);
  border-radius:18px;
  padding: 18px 18px 0;
  box-shadow: var(--elev-1);
  backdrop-filter: blur(10px);
}
.section.contact h3{
  background: linear-gradient(90deg, rgba(216,192,122,.35), rgba(216,192,122,0) 65%);
  border-left-color: var(--gold);
  color: var(--acccent, var(--txt));
}
.formrun-embed{
  margin-top:8px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

/* -------------------------
   Footer
------------------------- */
.footer{
  text-align:center;
  padding: 28px 0 40px;
  color: var(--txt-mute);
  font-size: 14px;
}

/* -------------------------
   Back to Top Button
------------------------- */
#backToTop{
  position:fixed; right:16px; bottom:16px;
  width:52px; height:52px;
  border:none; border-radius:50%;
  background: rgba(30,25,48,.75);
  backdrop-filter: blur(8px);
  box-shadow: var(--elev-1);
  cursor:pointer;
  opacity:0; pointer-events:none;
  transition: opacity .35s ease, transform .2s ease, background .3s ease;
  z-index:1000;
}
#backToTop::before{
  content:"";
  position:absolute; inset:0;
  margin:auto; width:16px; height:16px;
  border-right:2px solid #fff; border-top:2px solid #fff;
  transform: translateY(2px) rotate(-45deg);
}
#backToTop.show{ opacity:1; pointer-events:auto; }
#backToTop:hover{ transform: translateY(-2px); background: rgba(40,32,64,.85); }
#backToTop:focus-visible{ outline: 2px solid var(--gold); outline-offset: 3px; }
/* ===== Event Counter (top-right fixed) ===== */
#eventCounter{
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1100;
  padding: 10px 14px;
  font-family: Oswald, "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
  font-size: 14px;
  color: var(--txt, #fff);
  background: var(--glass-bg, rgba(20,16,30,.45));
  border: 1px solid var(--glass-stroke, rgba(255,255,255,.14));
  border-radius: 999px;
  box-shadow: var(--elev-1, 0 8px 32px rgba(0,0,0,.35));
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  transition: transform .2s ease, box-shadow .3s ease, opacity .3s ease;
}
#eventCounter:hover{
  transform: translateY(-1px);
  box-shadow: var(--elev-2, 0 16px 40px rgba(0,0,0,.45));
}
#eventCounter .dot{
  display:inline-block;
  width:8px; height:8px; margin-right:8px;
  border-radius:50%;
  background: var(--prm-primary, #8b36ff);
  box-shadow: 0 0 0 2px rgba(139,54,255,.25);
  vertical-align: middle;
}
#eventCounter .text{
  vertical-align: middle;
}

/* 小さめ端末での最適化 */
@media (max-width: 767px){
  #eventCounter{
    top: 12px;
    right: 12px;
    padding: 8px 12px;
    font-size: 12px;
  }
}



/* -------------------------
   Responsive
------------------------- */
@media (max-width: 767px){
  #l-header-logo{ width: 124px;
        height: 54px;
        background-size: 90px auto;
        margin: 0 auto 0;}
  #hero{ padding: 0 0 26px; }
  .ttl span#ac{ width:min(280px, 64vw); height:72px; }
  .ttl p{ font-size: clamp(36px, 10vw, 56px); }
  #caltext{ font-size: clamp(16px, 4.4vw, 20px); padding:.3rem .75rem; }
  #contactBox{ margin: 8px 0 0; flex-direction:column; align-items:center; gap:10px; }
  .entryBtn{ min-width: 240px; width: min(100%, 360px); text-align:center; }
  .section.dark{ padding: 200px 0 72px; margin-top:-180px; clip-path: polygon(0% 0%, 100% 6%, 100% 94%, 0% 100%); }
  .num-list li{ padding: 18px 16px 16px 72px; }
  .num-list li::before{ left:12px; top:12px; width:48px; height:48px; border-radius:12px; }

  #caltext em{
height: 22px;
    width: 22px;
    font-size: 16px
}

}

/* -------------------------
   Motion Preferences
------------------------- */
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}
