/* =========================================================
   GAIEN PIANO SALON - GS Layout (top.css 完全版)
   - 日本語崩れ防止：Noto Serif JP 優先
   - Top: cover + header integrated (absolute)
   - Inner pages: same header fixed (solid)
   - Buttons: 50vw (mobile 70vw)
   - Royal navy gradient (pale)
   - News center align / Gallery left title
   - Access: address + map split
   - Ticket framed section
   - Gallery carousel styles
   - Hide Cocoon default header
   ========================================================= */

/* ===== Base / Typography ===== */
body.gs-top{ margin:0; background:#fff; color:#111; }
body.gs-top a{ -webkit-tap-highlight-color: transparent; }

/* 文字化け/環境差の再発を防ぐ：日本語はWeb明朝優先 */
body.gs-top, body.gs-top *{
  font-family:
    "Noto Serif JP",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "MS Mincho",
    "Noto Sans JP",
    system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ナビ英字だけ Julius 寄せ（読み込み済みなら適用） */
.gs-top .gs-brand,
.gs-top .gs-nav a,
.gs-top .gs-lang-btn,
.gs-top .gs-nav-mobile a{
  font-family:
    "Julius Sans One",
    "Noto Sans JP",
    "Noto Serif JP",
    system-ui,-apple-system,"Segoe UI",sans-serif !important;
  letter-spacing: .08em;
  text-transform: lowercase;
  font-weight: 400 !important;
}

/* ===== Hide Cocoon default header (必須) ===== */
#header-container,
#header,
.header-container,
.site-header{
  display:none !important;
}

/* ===== Header (GS) ===== */
.gs-header{
  left:0; right:0;
  z-index:99999;
  background:transparent;
  transition: background .2s ease, backdrop-filter .2s ease;
}
.gs-header.is-scrolled{
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
}

/* Top page: coverと一体化（ヒーロー上に重ねる） */
body.home .gs-header,
body.front-page .gs-header{
  position:absolute;
  top:0;
}

/* Inner pages: fixed solid header */
.gs-header.gs-header--solid{
  position:fixed;
  top:0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}

/* Admin bar offset */
.admin-bar .gs-header{ top:32px; }
@media (max-width:782px){
  .admin-bar .gs-header{ top:46px; }
}

/* Inner pages padding to avoid overlap */
body:not(.home):not(.front-page){
  padding-top: 78px;
}
@media (max-width:782px){
  body.admin-bar:not(.home):not(.front-page){
    padding-top: 92px;
  }
}

.gs-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 18px;
  gap:16px;
}
.gs-brand{
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
  font-size:28px;
  line-height:1;
}

/* Nav */
.gs-nav{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:center;
  flex:1;
}
.gs-nav a{
  color:#fff;
  text-decoration:none;
  opacity:.95;
  font-size:18px;
  white-space:nowrap;
}
.gs-nav a:hover{ opacity:.8; }

/* Lang */
.gs-lang{ position:relative; }
.gs-lang-btn{
  background:transparent;
  border:0;
  color:#fff;
  cursor:pointer;
  font-size:18px;
  padding:6px 8px;
  opacity:.95;
}
.gs-lang-btn:hover{ opacity:.8; }
.gs-lang-menu{
  display:none;
  position:absolute;
  right:0;
  top:120%;
  background: rgba(0,0,0,.75);
  border: 1px solid rgba(255,255,255,.12);
  min-width: 140px;
  overflow:hidden;
}
.gs-lang.open .gs-lang-menu{ display:block; }
.gs-lang-menu a{
  display:block;
  padding:10px 12px;
  color:#fff;
  text-decoration:none;
  font-size:16px;
}
.gs-lang-menu a:hover{ background: rgba(255,255,255,.08); }

/* Burger + mobile nav */
.gs-burger{
  display:none;
  background:transparent;
  border:0;
  color:#fff;
  font-size:26px;
  cursor:pointer;
  padding:6px 8px;
  opacity:.95;
}
.gs-burger:hover{ opacity:.8; }







.gs-nav-mobile{
  display:none;
background: #000;
  padding: 6px 18px 18px;
}
.gs-nav-mobile a{
  display:block;
  color:#fff;
  text-decoration:none;
  padding:12px 0;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:18px;
}
.gs-nav-mobile-lang{
  display:flex;
  gap:12px;
  padding-top:10px;
}
.gs-header.open .gs-nav-mobile{ display:block; }

@media (max-width: 920px){
  .gs-nav{ display:none; }
  .gs-burger{ display:inline-block; }
  .gs-brand{ font-size:24px; }
}

/* ===== Hero (cover) ===== */
.gs-hero{
  position:relative;
  min-height:100vh;      /* 画面全体表示に修正 */
  overflow:hidden;
  color:#fff;
}
.gs-hero-bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transform:scale(1.02);
}
.gs-hero-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.35),
    rgba(0,0,0,.15) 55%,
    rgba(0,0,0,.15)
  );
  pointer-events:none;
}

/* Hero content */
.gs-hero-content{
  position:relative;
  z-index:2;
  padding: 140px 18px 56px;
  max-width: 980px;
  margin: 0 auto;
}
.gs-hero-content h1{
  margin:0 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: .02em;
}
.gs-hero-lines p{
  margin: 0 0 6px;
  font-size: 18px;
  opacity:.96;
}
.gs-hero-en{ margin-top: 14px; }
.gs-hero-en p{ font-size: 16px; opacity:.9; }
.gs-hero-cta{ margin-top: 18px; }

/* ===== Buttons (common) ===== */
.gs-actions{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-top: 14px;
  justify-content: center; /* 中央寄せ */
}

/* 共通ボタン（News以外も含む） */
.gs-link-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration:none;
  text-align:center;
  user-select:none;
  transition: transform .08s ease, opacity .12s ease;
}

/* 幅：PC 50% / モバイル 70%（上限付き） */
.gs-actions .gs-link-btn{
  width: min(50vw, 520px);
}
@media (max-width: 768px){
  .gs-actions .gs-link-btn{
    width: min(70vw, 520px);
  }
}

/* ロイヤルネイビー（淡め）グラデ：ボタン共通 */
.gs-link-btn{
  color: rgba(255,255,255,.95) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  background: linear-gradient(180deg,
    #446FDD 0%,
    #2F59C2 55%,
    #224186 100%
  ) !important;
  box-shadow:
    0 12px 24px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.gs-link-btn:hover{ opacity:.92; transform: translateY(-1px); }
.gs-link-btn:active{ transform: translateY(0); }

/* Hero CTAも合わせる */
.gs-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration:none;
  font-weight: 700;
  color: rgba(255,255,255,.95) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  background: linear-gradient(180deg,
    #4A78E6 0%,
    #345FCD 55%,
    #264892 100%
  ) !important;
  box-shadow:
    0 16px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.18);
}
.gs-cta:hover{ opacity:.92; transform: translateY(-1px); }
.gs-cta:active{ transform: translateY(0); }





.gs-hero-cta .gs-cta{
  width: 50%;
  max-width: 330px;   /* 好みで：大きすぎ防止（不要なら消す） */
}





/* Accessのボタンだけ塗りつぶし無し（アウトライン） */
.gs-link-btn--outline{
  background: transparent !important;
  box-shadow: none !important;
  border: 1px solid rgba(60, 102, 207, .75) !important;
  color: rgba(30, 60, 140, .95) !important;
}
.gs-link-btn--outline:hover{
  background: rgba(60, 102, 207, .10) !important;
  border-color: rgba(60, 102, 207, .95) !important;
  color: rgba(20, 45, 120, .98) !important;
  transform: translateY(-1px);
}
.gs-link-btn--outline:active{
  transform: translateY(0);
  background: rgba(60, 102, 207, .14) !important;
}

/* ===== Main / Sections ===== */
.gs-main{ background:#fff; color:#111; }
.gs-section{
  padding: 34px 18px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.gs-container{
  max-width: 980px;
  margin: 0 auto;
}
.gs-section h2{
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .01em;
}
.gs-lead{ margin:0 0 16px; line-height:1.9; }

/* ===== News ===== */
.gs-section-news .gs-container{ text-align:center; }

.gs-news{
  list-style:none;
  padding:0;
  margin:0;
}
.gs-news-item{
  display:flex;
  justify-content:center;
  align-items:baseline;
  gap:12px;
  padding: 10px 0;
}
.gs-news-date{
  min-width: 92px;
  opacity:.75;
  font-variant-numeric: tabular-nums;
}
.gs-news-link{
  color:#111;
  text-decoration:none;
  border-bottom: 1px solid rgba(0,0,0,.2);
}
.gs-news-link:hover{ opacity:.8; }

/* ===== Notes ===== */
.gs-note{
  margin-top: 12px;
  line-height: 1.9;
  opacity:.85;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
  max-width: 760px;
}
.gs-note--payment{
  font-size: 12px;
  line-height: 1.6;
}
.gs-bullets{
  margin: 12px 0 0;
  padding-left: 18px;
  line-height:1.9;
}

/* 料金カードの注釈（※ご希望の方は…）小さく */
.gs-section-price .gs-card-note{
  font-size: 12px;
  line-height: 1.6;
}

/* ===== Cards / Grids ===== */
.gs-card{
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 14px 14px;
  background:#fff;
}
.gs-card-title{
  font-weight:600;
  margin-bottom: 10px;
}
.gs-card-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding: 6px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.gs-card-row:first-of-type{ border-top: 0; }
.gs-card-note{ margin-top:10px; opacity:.8; line-height:1.8; }

.gs-price-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 760px){
  .gs-price-grid{ grid-template-columns: 1fr; }
}

.gs-access-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 760px){
  .gs-access-grid{ grid-template-columns: 1fr; }
}

/* ===== Placeholder (Calendar等) ===== */
.gs-placeholder{
  border: 1px dashed rgba(0,0,0,.25);
  border-radius: 14px;
  padding: 14px;
  background: rgba(0,0,0,.02);
}
.gs-placeholder-head{ font-weight:700; margin-bottom: 8px; }
.gs-placeholder-body{ opacity:.85; line-height:1.8; }

/* ===== Footer line ===== */
.gs-footerline{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
  opacity:.85;
}
.gs-footerline a{ color:#111; }
.gs-copyright{ margin-top: 8px; font-size: 14px; opacity:.75; }

/* ===== Ticket detail framed section ===== */
.gs-section-ticket-detail .gs-frame{
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 12px;
  padding: 34px 26px;
  max-width: 920px;
  margin: 0 auto;
}
.gs-section-ticket-detail .gs-frame:before{
  content:"";
  position:absolute;
  inset: 10px;
  pointer-events:none;
  background:
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) left top/18px 1px no-repeat,
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) left top/1px 18px no-repeat,

    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) right top/18px 1px no-repeat,
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) right top/1px 18px no-repeat,

    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) left bottom/18px 1px no-repeat,
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) left bottom/1px 18px no-repeat,

    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) right bottom/18px 1px no-repeat,
    linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)) right bottom/1px 18px no-repeat;
}
.gs-section-ticket-detail .gs-frame-title{
  text-align:center;
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 600;
}
.gs-section-ticket-detail .gs-frame-lead{
  text-align:center;
  margin: 0 0 18px;
  line-height: 1.9;
  opacity: .9;
  font-size: 15px;
}
.gs-section-ticket-detail .gs-ticket-lines{
  max-width: 520px;
  margin: 0 auto 18px;
}
.gs-section-ticket-detail .gs-ticket-line{
  display:flex;
  justify-content: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.22);
  font-size: 16px;
}
.gs-section-ticket-detail .gs-ticket-name{ white-space: nowrap; }
.gs-section-ticket-detail .gs-ticket-price{
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.gs-section-ticket-detail .gs-frame-notes{
  text-align:center;
  font-size: 12.5px;
  line-height: 1.9;
  opacity: .85;
}
.gs-section-ticket-detail .gs-frame-notes p{ margin: 8px 0 0; }

/* ===== Access: address + map split ===== */
.gs-access-split{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start;
}
.gs-access-map .gs-map-embed iframe{
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 12px;
}
@media (max-width: 900px){
  .gs-access-split{ grid-template-columns: 1fr; }
  .gs-access-map .gs-map-embed iframe{ height: 320px; }
}

/* ===== Contact center align ===== */
.gs-section-contact .gs-container{ text-align:center; }
.gs-section-contact .gs-lead{
  margin-left:auto;
  margin-right:auto;
  max-width: 760px;
}

/* ===== Gallery carousel ===== */
.gs-section-gallery .gs-container{ text-align:center; }

/* Gallery title should be left aligned */
.gs-section-gallery .gs-container > h2{
  text-align:left !important;
}

.gs-carousel{
  position: relative;
  max-width: 980px;
  margin: 14px auto 0;
}

.gs-carousel-track{
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 0;
  border-radius: 14px;
  scrollbar-width: none;
}
.gs-carousel-track::-webkit-scrollbar{ display:none; }

.gs-slide{
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
}
.gs-slide img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gs-carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.gs-carousel-btn:hover{ background: rgba(0,0,0,.45); }
.gs-prev{ left: 10px; }
.gs-next{ right: 10px; }

.gs-carousel-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 12px;
}
.gs-carousel-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(30,60,140,.25);
  cursor: pointer;
}
.gs-carousel-dot.is-active{
  width: 22px;
  background: rgba(30,60,140,.75);
}

@media (max-width: 768px){
  .gs-carousel-btn{
    width: 38px;
    height: 38px;
    font-size: 22px;
  }
}


/* =========================================================
   TOP: カバー画像をヘッダーまで確実に貫通させる（最終上書き）
   ========================================================= */

/* 1) トップだけ：ヘッダーを「ヒーローの上に absolute」で載せる */
body.home .gs-header,
body.front-page .gs-header{
  position: absolute !important;
  top: 0 !important;
  left: 0; right: 0;
}

/* 2) トップだけ：下層ページ用の padding-top を無効化（これが残るとズレます） */
body.home,
body.front-page{
  padding-top: 0 !important;
}

/* 3) ヒーローは “ヘッダー込みで” 画面いっぱいにする */
body.home .gs-hero,
body.front-page .gs-hero{
  min-height: 100svh !important;   /* iPhone系のズレ防止 */
  height: 100svh !important;
}

/* 4) 背景画像レイヤーは必ず全域に伸ばす */
body.home .gs-hero-bg,
body.front-page .gs-hero-bg{
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover !important;
  background-position: center !important;
}

/* 5) Cocoon側の「透明じゃないヘッダー背景」が残ってると分離して見えるので念のため */
body.home .gs-header.gs-header--solid,
body.front-page .gs-header.gs-header--solid{
  background: transparent !important;
  backdrop-filter: none !important;
}


/* TOPだけ：ヘッダーをカバー画像に重ねる（分離解消） */
body.home .gs-header,
body.front-page .gs-header{
  position: absolute !important;
  top: 0 !important;
  left: 0; right: 0;
  background: transparent !important;
  backdrop-filter: none !important;
}

/* TOPだけ：下層用の余白が効いてたら殺す（ここが原因のこと多い） */
body.home,
body.front-page{
  padding-top: 0 !important;
}

/* カバー画像は画面いっぱい（ヘッダーの下まで確実に届く） */
body.home .gs-hero,
body.front-page .gs-hero{
  min-height: 100svh !important;
}

/* 画像レイヤーを必ず全面に */
body.home .gs-hero-bg,
body.front-page .gs-hero-bg{
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
}




/* ===============================
   FIX: ヘッダーのフォントをJuliusに固定（最終勝ち）
   =============================== */
#gsHeader .gs-brand,
#gsHeader .gs-nav a,
#gsHeader .gs-lang-btn,
#gsHeader .gs-nav-mobile a{
  font-family: "Julius Sans One","Noto Sans JP",system-ui,-apple-system,"Segoe UI",sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: .08em !important;
}










/* ===============================
   FIX: TOPでヘッダーをカバーに統合（最終上書き）
   =============================== */

/* Cocoonのヘッダー/ナビ領域が残っていると「分離」に見えるので完全に潰す */
body.home #header-container,
body.front-page #header-container,
body.home #header,
body.front-page #header,
body.home .header-container,
body.front-page .header-container,
body.home .site-header,
body.front-page .site-header,
body.home .navi,
body.front-page .navi{
  display: none !important;
}

/* Cocoonの「コンテンツ上の余白/枠」が残っているとカバーが上まで届かない */
body.home #content,
body.front-page #content,
body.home #main,
body.front-page #main,
body.home .content,
body.front-page .content,
body.home .content-in,
body.front-page .content-in,
body.home .content-wrap,
body.front-page .content-wrap{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* GSヘッダーをTOPだけ「ヒーローに重ねる」 */
body.home #gsHeader.gs-header,
body.front-page #gsHeader.gs-header{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 999999 !important;

  background: transparent !important;
  backdrop-filter: none !important;
}

/* TOPでは下層用padding-topを確実に無効化 */
body.home,
body.front-page{
  padding-top: 0 !important;
}

/* ヒーローを画面高まで（ヘッダーの下まで確実に届く） */
body.home .gs-hero,
body.front-page .gs-hero{
  min-height: 100svh !important; /* iOS対応 */
  min-height: 100vh !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 画像レイヤーを全面 */
body.home .gs-hero-bg,
body.front-page .gs-hero-bg{
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
}





/* ===============================
   FIX: Heroを完全フルブリード（両脇の隙間を消す）
   =============================== */

/* Cocoonの「幅制限」系の箱をトップだけ全幅に */
body.home .gs-hero,
body.front-page .gs-hero{
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important; /* containerに入ってても画面いっぱいに引き伸ばす */
  margin-right: calc(50% - 50vw) !important;
}

/* 背景画像レイヤーも100vwに */
body.home .gs-hero-bg,
body.front-page .gs-hero-bg{
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  transform: translateX(-50%) scale(1.02) !important;
}

/* 念のため：親にpaddingがあるケース潰し */
body.home,
body.front-page{
  padding-left: 0 !important;
  padding-right: 0 !important;
}












/* ===============================
   FIX: TOPでヘッダーをカバーに統合（最終上書き）
   =============================== */

/* Cocoonのヘッダー/ナビ領域が残っていると「分離」に見えるので完全に潰す */
body.home #header-container,
body.front-page #header-container,
body.home #header,
body.front-page #header,
body.home .header-container,
body.front-page .header-container,
body.home .site-header,
body.front-page .site-header,
body.home .navi,
body.front-page .navi{
  display: none !important;
}

/* Cocoonの「コンテンツ上の余白/枠」が残っているとカバーが上まで届かない */
body.home #content,
body.front-page #content,
body.home #main,
body.front-page #main,
body.home .content,
body.front-page .content,
body.home .content-in,
body.front-page .content-in,
body.home .content-wrap,
body.front-page .content-wrap{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* GSヘッダーをTOPだけ「ヒーローに重ねる」 */
body.home #gsHeader.gs-header,
body.front-page #gsHeader.gs-header{
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 999999 !important;

  background: transparent !important;
  backdrop-filter: none !important;
}

/* TOPでは下層用padding-topを確実に無効化 */
body.home,
body.front-page{
  padding-top: 0 !important;
}

/* ヒーローを画面高まで（ヘッダーの下まで確実に届く） */
body.home .gs-hero,
body.front-page .gs-hero{
  min-height: 100svh !important; /* iOS対応 */
  min-height: 100vh !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 画像レイヤーを全面 */
body.home .gs-hero-bg,
body.front-page .gs-hero-bg{
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
}




/* Memberセクションの見出し(h2)だけ中央寄せ */
.gs-section-member .gs-container > h2{
  text-align: center !important;
}
.gs-section-member .gs-lead{
  text-align: center !important;
}





/* ===== Cancel Policy page ===== */
.gs-section-cancel .gs-page-title{
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: .01em;
}

.gs-cancel-box{
  margin-top: 14px;
  padding: 18px 18px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  background: #fff;
}

.gs-h2{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
}

.gs-h3{
  margin: 14px 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.gs-hr{
  border: 0;
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 16px 0;
}

.gs-list{
  margin: 8px 0 0;
  padding-left: 18px;
  line-height: 1.9;
}








/* TOPだけ：Cocoonの“左右余白”を完全排除してヒーローをフルブリード */
body.home #content,
body.front-page #content,
body.home .content,
body.front-page .content,
body.home .content-in,
body.front-page .content-in,
body.home .content-wrap,
body.front-page .content-wrap,
body.home .main,
body.front-page .main{
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* ヒーローを画面基準で完全に左右0に固定 */
body.home .gs-hero,
body.front-page .gs-hero{
  position: relative;
  left: 50%;
  right: auto;
  width: 100vw !important;
  max-width: 100vw !important;
  transform: translateX(-50%);
  margin: 0 !important;
}



/* =========================
   Price Page (page-price.php)
   ========================= */
.gs-page-price .gs-section-hero-lite{
  padding-top: 26px;
  padding-bottom: 18px;
}

.gs-hero-lite{
  display:flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 18px 18px;
  background: rgba(0,0,0,.02);
}

.gs-page-title{
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.25;
}
.gs-page-sub{
  margin: 0;
  opacity: .85;
  line-height: 1.8;
  max-width: 52ch;
}
.gs-hero-lite-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.gs-page-price .gs-h2{
  margin: 0 0 14px;
}

/* price cards tweak */
.gs-page-price .gs-price-card .gs-card-row{
  font-variant-numeric: tabular-nums;
}

/* FAQ grid */
.gs-faq-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
@media (max-width: 900px){
  .gs-hero-lite{
    flex-direction: column;
    align-items: flex-start;
  }
  .gs-hero-lite-actions{
    justify-content: flex-start;
  }
  .gs-faq-grid{
    grid-template-columns: 1fr;
  }
}
.gs-faq-grid .gs-p{
  margin: 0;
  line-height: 1.9;
  opacity: .9;
}

/* ===============================
   FIX: トップのカバー画像 “左ズレ” を止める
   原因：100vw + calc(50% - 50vw) のズレ
   =============================== */

/* 1) フルブリードは dvw でやる（スクロールバーの影響を受けにくい） */
body.home .gs-hero,
body.front-page .gs-hero{
  position: relative !important;
  left: 50% !important;
  width: 100dvw !important;          /* ← 100vw をやめる */
  transform: translateX(-50%) !important;
  margin-left: 0 !important;          /* ← calc(50% - 50vw) を殺す */
  margin-right: 0 !important;
  max-width: none !important;
}

/* 2) 背景レイヤーは “中で動かさない” */
body.home .gs-hero-bg,
body.front-page .gs-hero-bg{
  left: 0 !important;
  width: 100% !important;
  transform: scale(1.02) !important;  /* translateX(-50%) を殺す */
}

/* 3) 念のため横スクロールを封印（ズレ/はみ出し対策） */
html, body{
  overflow-x: hidden;
}



.gs-footer{
  padding: 28px 18px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
  color: #111;
}
.gs-footer-inner{
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.gs-footerline{
  font-size: 13px;
  line-height: 1.8;
  opacity: .85;
}
.gs-footerline a{ color:#111; text-decoration:none; border-bottom: 1px solid rgba(0,0,0,.2); }
.gs-footerline a:hover{ opacity:.8; }
.gs-sep{ margin: 0 8px; opacity: .5; }
.gs-copyright{
  margin-top: 10px;
  font-size: 13px;
  opacity: .7;
}



/* =========================================================
   HERO CTA 強化（2ボタン化 + マイクロコピー）
   既存の .gs-cta のロイヤルネイビーは維持
   ========================================================= */

/* CTAエリア：PC横並び／スマホ縦積み */
.gs-hero-cta{
  display: flex !important;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin-top: 22px !important;
}

/* プライマリボタン（既存 .gs-cta のロイヤルネイビーを継承） */
.gs-hero-cta .gs-cta--primary{
  padding: 14px 28px !important;
  font-size: 16px;
  letter-spacing: .02em;
}
.gs-cta-arrow{
  display: inline-block;
  transition: transform .2s ease;
}
.gs-hero-cta .gs-cta--primary:hover .gs-cta-arrow{
  transform: translateX(4px);
}

/* セカンダリボタン（白系アウトライン、ヒーロー画像上で映える） */
.gs-hero-cta .gs-cta--ghost{
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  color: rgba(255,255,255,.95) !important;
  box-shadow: none !important;
  padding: 14px 28px !important;
  font-size: 15px;
  font-weight: 500;
  backdrop-filter: blur(4px);
}
.gs-hero-cta .gs-cta--ghost:hover{
  background: rgba(255,255,255,.16) !important;
  border-color: rgba(255,255,255,.85) !important;
  transform: translateY(-1px);
}

/* 既存 .gs-hero-cta .gs-cta の幅制限を 2ボタン時は解除 */
.gs-hero-cta .gs-cta--primary,
.gs-hero-cta .gs-cta--ghost{
  width: auto !important;
  max-width: none !important;
}

/* マイクロコピー（安心要素） */
.gs-hero-microcopy{
  text-align: center;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  letter-spacing: .08em;
  margin: 14px 0 0;
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* スマホ（768px以下）：ボタンを縦積み・ワイド */
@media (max-width: 768px){
  .gs-hero-cta{
    flex-direction: column;
    gap: 10px;
  }
  .gs-hero-cta .gs-cta--primary,
  .gs-hero-cta .gs-cta--ghost{
    width: 75vw !important;
    max-width: 360px !important;
    padding: 14px 20px !important;
  }
  .gs-hero-microcopy{
    font-size: 13px;
    padding: 0 18px;
  }
}
