:root{
  /* Beige Luxury Palette */
  --bgA: #f5eadb;
  --bgB: #efe1cf;
  --bgC: #e7d3bc;

  /* Surface (Paper) */
  --paper: rgba(255,252,246,.84);
  --paper2: rgba(255,252,246,.70);

  /* Typography */
  --ink: #141211;
  --muted: #5f564e;

  /* Lines & Accent */
  --line: rgba(20,18,17,.10);
  --accent: #7f1a1f;
  --accent2: rgba(127,26,31,.14);

  /* Depth */
  --shadow: 0 10px 28px rgba(20,18,17,.08);
  --shadow2: 0 16px 44px rgba(20,18,17,.10);
  --hair: rgba(255,255,255,.55);

  /* Layout */
  --radius: 20px;
  --radius2: 16px;
  --pad: 18px;
  --container: 1120px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: .02em;

  /* unified gradient background */
  background:
    linear-gradient(180deg, var(--bgA) 0%, var(--bgB) 45%, var(--bgC) 100%),
    radial-gradient(900px 500px at 15% 10%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(900px 520px at 85% 90%, rgba(170,130,95,.18) 0%, rgba(170,130,95,0) 65%),
    radial-gradient(700px 420px at 70% 15%, rgba(127,26,31,.06) 0%, rgba(127,26,31,0) 60%);
  background-attachment: fixed;
}

a{ color: inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Section veil (rhythm without changing palette) ===== */
section{ position: relative; }
section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}
section:nth-of-type(odd)::before{
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
  opacity: .65;
}
section:nth-of-type(even)::before{
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.035) 50%, rgba(0,0,0,0) 100%);
  opacity: .75;
}
section > .container{ position: relative; z-index: 1; }

/* ===== Header ===== */
.header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  background: rgba(255, 250, 242, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header__inner{
  height: 74px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 800;
  letter-spacing: .14em;
}
.brand__logo{ width: 34px; height: 34px; object-fit: contain; }
.brand__name{ font-size: .98rem; }

/* Nav */
.nav{
  display:flex;
  align-items:center;
  gap: 18px;
  font-size: .92rem;
}
.nav__link{
  color: rgba(20,18,17,.74);
  padding: 8px 2px;
  position: relative;
  transition: color .18s ease;
}
.nav__link::after{
  content:"";
  position:absolute;
  left:0; bottom:4px;
  width:0;
  height:2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(0,0,0,0));
  transition: width .2s ease;
}
.nav__link:hover{ color: var(--ink); }
.nav__link:hover::after{ width:100%; }

.nav__cta{
  margin-left: 6px;
  display:flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(20,18,17,.14);
  background: linear-gradient(180deg, rgba(255,252,246,.86), rgba(255,252,246,.60));
  box-shadow: 0 12px 28px rgba(20,18,17,.10);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.nav__cta-sub{ font-size: .78em; color: rgba(20,18,17,.60); }
.nav__cta-main{
  font-family:"Montserrat", sans-serif;
  letter-spacing: .08em;
  font-weight: 800;
  color: var(--accent);
}
.nav__cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 44px rgba(20,18,17,.14);
  border-color: rgba(127,26,31,.32);
}

/* Hamburger */
.navbtn{
  display:none;
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(20,18,17,.14);
  background: rgba(255,252,246,.66);
  cursor:pointer;
  padding: 10px;
}
.navbtn span{
  display:block;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.navbtn span + span{ margin-top: 6px; }
.navbtn.is-active span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.navbtn.is-active span:nth-child(2){ opacity: 0; }
.navbtn.is-active span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ===== Sections ===== */
.section{ padding: 96px 0; }

.sectionHead{
  text-align:center;
  margin-bottom: 34px;
}
.sectionHead__kicker{
  font-family:"Montserrat", sans-serif;
  letter-spacing: .28em;
  font-size: .74rem;
  color: rgba(20,18,17,.62);
}
.sectionHead__title{
  margin-top: 10px;
  font-size: 1.75rem;
  font-weight: 900;
  letter-spacing: .10em;
  display:inline-block;
  padding-bottom: 12px;
  position: relative;
}
.sectionHead__title::after{
  content:"";
  position:absolute;
  left:50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 110px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0,0,0,0), rgba(127,26,31,.60), rgba(230,211,187,.95), rgba(0,0,0,0));
}
.sectionHead__sub{
  margin-top: 12px;
  color: rgba(20,18,17,.60);
  font-size: .96rem;
  max-width: 46rem;
  margin-left:auto;
  margin-right:auto;
}

/* ===== Shared cards ===== */
.newsItem,
.card,
.person,
.plan,
.info,
.social,
.heroCard,
.meta,
.heroMedia{
  background: linear-gradient(180deg, var(--paper), rgba(255,252,246,.76));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  position: relative;
}

/* Gloss highlight */
.newsItem::before,
.card::before,
.person::before,
.plan::before,
.info::before,
.social::before,
.heroCard::before,
.meta::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  background: radial-gradient(1100px 220px at 16% 0%, rgba(255,255,255,.60) 0%, rgba(255,255,255,0) 60%);
  opacity: .55;
}

/* Hover */
.newsItem,
.card,
.plan{
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}
.newsItem:hover,
.card:hover,
.plan:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow2);
  border-color: rgba(127,26,31,.18);
}

/* ===== Hero ===== */
.hero{
  padding-top: 126px;
  padding-bottom: 72px;
}
.hero__grid{
  display:grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 42px;
  align-items:center;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(20,18,17,.14);
  background: linear-gradient(180deg, var(--paper2), rgba(255,252,246,.60));
  color: rgba(20,18,17,.70);
  font-size: .82rem;
  margin-bottom: 14px;
}
.chip__dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent), transparent);
  box-shadow: 0 0 14px rgba(127,26,31,.35);
}

.hero__title{
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.1rem);
  line-height: 1.18;
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.hero__accent{
  background: linear-gradient(120deg, var(--ink) 0%, var(--accent) 55%, rgba(255,252,246,.8) 120%);
  -webkit-background-clip:text;
  color: transparent;
}

.hero__lead{
  color: rgba(20,18,17,.62);
  font-size: 1rem;
  max-width: 42rem;
  margin-bottom: 18px;
}

.hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.meta{
  flex: 0 0 auto;
  padding: 10px 12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(20,18,17,.12);
  min-width: 220px;
}
.meta__label{
  font-size: .78rem;
  color: rgba(20,18,17,.55);
  letter-spacing: .06em;
}
.meta__value{ margin-top: 2px; font-weight: 700; }
.meta__value strong{ color: var(--accent); }

.hero__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .96rem;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

/* primary */
.btn--primary{
  background: linear-gradient(135deg, #1b1816 0%, #121110 55%, #0c0b0b 100%);
  color:#fff;
  border-color: rgba(230,211,187,.70);
  box-shadow: 0 16px 44px rgba(20,18,17,.16);
  font-weight: 800;
  letter-spacing: .06em;
}
.btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 26px 62px rgba(20,18,17,.22);
  border-color: rgba(127,26,31,.40);
}

/* ghost */
.btn--ghost{
  background: linear-gradient(180deg, var(--paper2), rgba(255,252,246,.60));
  border: 1px solid var(--line);
  color: rgba(20,18,17,.80);
}
.btn--ghost:hover{
  transform: translateY(-1px);
  background: rgba(255,252,246,.92);
  border-color: rgba(127,26,31,.22);
  box-shadow: 0 18px 44px rgba(20,18,17,.12);
}

.hero__note{
  margin-top: 12px;
  color: rgba(20,18,17,.52);
  font-size: .88rem;
}

.hero__right{
  display:flex;
  flex-direction: column;
  gap: 14px;
  justify-content: flex-end;
}

.heroCard{ padding: var(--pad); }
.heroCard__eyebrow{
  font-family: "Montserrat", sans-serif;
  letter-spacing: .18em;
  font-size: .72rem;
  color: rgba(20,18,17,.58);
  margin-bottom: 8px;
}
.heroCard__line{
  font-weight: 900;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
}
.heroCard__line + .heroCard__line{ margin-top: 8px; }
.heroCard__sub{
  margin-top: 12px;
  color: rgba(20,18,17,.58);
  font-size: 13px;
  letter-spacing: .08em;
}
.num{
  font-variant-numeric: tabular-nums;
  background: linear-gradient(90deg, var(--ink), var(--accent));
  -webkit-background-clip:text;
  color: transparent;
}
.key{
  margin: 0 2px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(127,26,31,.18);
  background: rgba(127,26,31,.08);
}

.heroMedia{
  overflow:hidden;
  border: 1px solid rgba(20,18,17,.08);
}
.heroMedia img{
  width:100%;
  height: 220px;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
}

/* ===== News ===== */
.news{
  display:grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}
.newsItem{ padding: var(--pad); }
.newsItem__date{
  color: var(--accent);
  font-weight: 900;
  letter-spacing: .08em;
  font-size: .88rem;
}
.newsItem__title{
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 900;
}
.newsItem__body{ margin-top: 8px; color: rgba(20,18,17,.60); }
.empty{ text-align:center; color: rgba(20,18,17,.58); }

/* ===== Shop grid ===== */
.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card{ overflow:hidden; }
.card__img{
  background: rgba(240,226,207,.85);
  border-bottom: 1px solid rgba(20,18,17,.08);
}
.card__img img{
  width:100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.card__cap{ padding: calc(var(--pad) - 2px) var(--pad); }
.card__cap h3{ font-size: 1rem; font-weight: 900; letter-spacing:.04em; }
.card__cap p{ margin-top: 6px; color: rgba(20,18,17,.58); font-size: .92rem; }
.card__img--illust{
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card__img--illust svg{ width: 200px; height: 200px; }
.card--new{ position: relative; border-color: rgba(180,140,60,.5); }
.card__badge{
  position: absolute; top: 10px; left: 10px;
  background: #c8963e; color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 20px;
  z-index: 1; box-shadow: 0 2px 6px rgba(0,0,0,.18);
}

/* ===== Trainers ===== */
.people{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.person{
  display:grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: var(--pad);
  align-items: center;
}

.person__img{
  width: 112px;
  height: 112px;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(20,18,17,.10);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.35),
    0 8px 24px rgba(20,18,17,.10);
}

.person__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03) brightness(1.02);
}

.person__name{
  font-weight: 900;
  letter-spacing: .05em;
  font-size: 1.05rem;
}
.person__role{
  margin-left: 8px;
  color: var(--accent);
  font-weight: 900;
  font-size: .9rem;
}
.person__text{
  margin-top: 8px;
  color: rgba(20,18,17,.60);
  line-height: 1.75;
  font-size: .94rem;
}

/* ===== Pricing ===== */
.plans{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.plan{ padding: var(--pad); }
.plan--featured{
  border-color: rgba(127,26,31,.22);
  box-shadow: 0 22px 70px rgba(20,18,17,.12);
}
.plan--featured::after{
  content:"RECOMMEND";
  position:absolute;
  top: 14px; right: 14px;
  font-family:"Montserrat", sans-serif;
  font-size: .68rem;
  letter-spacing: .18em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(127,26,31,.18);
  background: rgba(255,252,246,.70);
  color: rgba(20,18,17,.74);
}

.plan__tag{
  font-family:"Montserrat", sans-serif;
  color: rgba(20,18,17,.72);
  letter-spacing: .16em;
  font-size: .75rem;
  margin-bottom: 6px;
}
.plan__rows{ margin-top: 6px; }
.plan__row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(20,18,17,.12);
}
.plan__row:last-child{ border-bottom:none; }
.plan__name{ font-weight: 900; letter-spacing:.04em; }
.plan__price{
  font-family:"Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
}
.plan__price span{ font-size:.8rem; color: rgba(20,18,17,.56); margin-left: 4px; }

.plan__list{
  list-style:none;
  margin-top: 12px;
  color: rgba(20,18,17,.60);
  font-size: .92rem;
}
.plan__list li{
  display:flex;
  gap: 8px;
  margin-bottom: 6px;
}
.plan__list li::before{
  content:"•";
  color: var(--accent);
  font-weight: 900;
}

/* ===== Access ===== */
/* .access{
  display:grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px;
} */
.info{ padding: var(--pad); }
.info__row{
  display:flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(20,18,17,.12);
}
.info__row:last-child{ border-bottom:none; }
.info__label{
  width: 78px;
  font-weight: 900;
  color: rgba(20,18,17,.72);
}
.info__value{ flex:1; }

.map{
  margin-top: 14px;
  overflow:hidden;
  border: 1px solid rgba(20,18,17,.08);
  box-shadow: 0 14px 44px rgba(20,18,17,.10);
}
.map iframe{ display:block; width:100%; height: 260px; }

.social{
  padding: var(--pad);
  display:flex;
  flex-direction: column;
  gap: 12px;
}
.social__item{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(20,18,17,.12);
  background: linear-gradient(180deg, var(--paper2), rgba(255,252,246,.60));
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.social__item:hover{
  transform: translateY(-1px);
  background: rgba(255,252,246,.92);
  border-color: rgba(127,26,31,.18);
  box-shadow: 0 18px 52px rgba(20,18,17,.12);
}
.social__icon{
  width: 34px; height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(20,18,17,.16));
}
.social__name{ font-weight: 900; letter-spacing: .03em; }
.social__sub{ margin-top: 2px; font-size: .86rem; color: rgba(20,18,17,.58); }

.social__cta{
  margin-top: 6px;
  text-align:center;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b1816 0%, #121110 55%, #0c0b0b 100%);
  color:#fff;
  border: 1px solid rgba(230,211,187,.70);
  box-shadow: 0 16px 44px rgba(20,18,17,.16);
  font-weight: 800;
  letter-spacing: .06em;
  transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.social__cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 26px 62px rgba(20,18,17,.22);
  border-color: rgba(127,26,31,.40);
}

/* ===== Footer ===== */
.footer{
  border-top: 1px solid rgba(20,18,17,.12);
  background: rgba(255,252,246,.55);
  padding: 18px 0 26px;
  color: rgba(20,18,17,.62);
  font-size: .86rem;
}
.footer__inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__top{ color: rgba(20,18,17,.62); }
.footer__top:hover{ color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 1020px){
  .hero__grid{ grid-template-columns: 1fr; gap: 22px; }
  .access{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .navbtn{ display:block; }
  .nav{
    position: fixed;
    top: 74px;
    left: 0; right: 0;
    padding: 14px 16px 16px;
    background: rgba(255,250,242,.96);
    border-bottom: 1px solid rgba(20,18,17,.12);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;

    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .2s ease, opacity .2s ease;
    z-index: 1100;
  }
  .navbtn{ position: relative; z-index: 1200; 
  }
  .nav.is-open{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__cta{ width: 100%; }
}
@media (max-width: 640px){
  .grid{ grid-template-columns: 1fr; }
  .hero__actions{ flex-direction: column; }
  .btn{ width: 100%; }

  /* Trainers */
  .person{ grid-template-columns: 1fr; }
  .person__img{
    width: 100%;
    height: 180px;           /* スマホは横長で見栄え */
    border-radius: var(--radius);
  }
}

.access{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px){
  .access{ grid-template-columns: 1fr; }
}

/* 背景ロゴ（固定） */

.bg-logo{
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;

  width: 500px !important;
  height: 500px !important;

  background-image: url("/static/FunnySpotApp/img/FunnySpotlogo.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;

  opacity: 0.15 !important; 
  z-index: 0 !important; 
  pointer-events: none !important;
}




/* 全体を前面に（必要なら） */
.header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000; /* 50→1000でもOK */
}

main, footer{
  position: relative;
  z-index: 0;   /* もしくはこの2行ごと削除 */
}

@media (max-width: 768px){
  .bg-logo{
    width: 300px;
    height: 300px;
    opacity: 0.04;
  }
}

