/* ---- 全体レイアウト ---- */
/* --------------------- */

img {
    vertical-align: bottom;
    width: 100%;
}

@font-face {
    font-family: 'BLG';
    src: url(../font/bleage_font.ttf);
    font-weight: normal;
}
.blg_txt{
    font-family: 'BLG';
}

p,
span,
h1,
h2,
h3,
h4,
div,
nav,
button {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.4rem;
    color: black;
}

@media (min-width: 700px) {

    p,
    span,
    h1,
    h2,
    h3,
    h4,
    div,
    nav,
    button{
        font-size: 1.6rem;
    }
}

html {
    scroll-padding-top: 0px;
    /* 固定ヘッダの高さ分 */
    font-size: 62.5%;
    overflow-x: hidden;
}

.onlyPC {
    display: none;
}

@media (min-width: 700px) {
    .onlySP {
        display: none;
    }

    .onlyPC {
        display: block;
    }
}
.kurobara_gothic_regular{
font-family: "kurobara-gothic", sans-serif;
font-weight: 400;
font-style: normal;
}
.kurobara_gothic_bold{
font-family: "kurobara-gothic", sans-serif;
font-weight: 700;
font-style: bold;
}
.zen-kaku-gothic-new-regular {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zen-kaku-gothic-new-medium {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.zen-kaku-gothic-new-bold {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.zen-kaku-gothic-new-black {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 900;
    font-style: normal;
}


.fixed_header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
max-width: 420px;
margin:  0 auto;
right: 0;
  left: 0;
  margin: 0 auto;
}

.fixed_header_inner {
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fixed_header img {
  display: block;
  max-height: 30px;
  width: auto;
  height: auto; /* 縦横比を維持 */
}

/* --------------------- */

html,
body {
    height: 100%;
}

body {
    margin: 0;
    /* 画面自体はスクロールさせない（中央カラムのみスクロール） */
    overflow: hidden;
    background: url(../img/bg.webp) repeat center center;
    background-size: 256px 256px;
    font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}


/* 3カラム（左レール／中央コンテンツ／右余白） */
.layout {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr minmax(320px, 420px) 1fr;
    /* 中央カラムはスマホ幅想定で最大420px */
    align-items: stretch;
}

/* ---- 左レール：ロゴを上下左右の中央に配置 ---- */
.left-rail {
    display: grid;
    place-items: center;
    /* 上下左右中央寄せ */
}

.logo {
    display: none;
}

@media (min-width: 700px) {
    .logo {
        width: 28vw;
        /* 画面幅の20%に応じて伸縮 */
        display: grid;
        place-items: center;
    }
}

@media (min-width: 700px) {
    .logo img {
        width: 100%;
        height: auto;
    }
}

@media (min-width: 700px) {
    .logo2 {
        width: 20vw;
        /* 画面幅の20%に応じて伸縮 */
        display: grid;
        place-items: center;
    }
}

@media (min-width: 700px) {
    .logo2 img {
        width: 100%;
        height: auto;
    }
}

/* ---- 中央：独立スクロール領域 ---- */
.center-scroll {
    height: 100vh;
    /* 画面高いっぱい */
    overflow-y: auto;
    /* ここだけスクロール */
    background: #F6F1CA;
    /* スクショの黒（ややグレー） */
    color: #fff;
    box-shadow: 0 0 10px #0000005b;
}

.inner {
    padding: 24px;
}

.kv {
    width: 100%;
    padding-top: 54px;
}

/* ------------------- */
/* アコーディオン */
/* ------------------- */
.overview_img{
    width: calc(100% - 40px);
    margin: 3rem auto 0;
    display: block;
}
.overview_name{
    text-align: center;
    margin-bottom: 3rem;
}
.overview_bg{
    background-image: url(../img/bg.webp);
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.overview_ttl{
    font-weight: bold;
    font-size: 1.5rem;
}
.overview_txt{
    padding-bottom: 1rem;
    font-size: 1.4rem;
}
.overview_item {
    overflow: hidden;
    border: 2px solid #000000;
    width: calc(100% - 40px);
    margin: 0rem auto 0;
}

.overview_toggle {
    width: 100%;
    background: #fff9e4;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    outline: none;
    color: #000000;
}

.overview_toggle span {
    transition: transform 0.3s;
}

.overview_.active .overview_toggle span {
    transform: rotate(180deg);
}

.overview_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
    padding: 0 16px;
}

.overview_.active .overview_content {
    max-height: 500px;
    /* 必要に応じて調整 */
    padding: 16px;
}




/* 中だけスクロールするボックス */
.scroll-box{
  max-height: 350px;     
  overflow: auto;          
  padding: 24px;
  border: 2px solid #000000;    
  box-sizing: border-box; 
  -webkit-overflow-scrolling: touch;
  width: calc(100% - 40px);
  margin: 0 auto;
  background-color: #fff;
}

.scroll-box::-webkit-scrollbar{
  width: 10px;
}
.scroll-box::-webkit-scrollbar-thumb{
  background: rgba(18,49,63,.35);
  border-radius: 8px;
}
.scroll-box::-webkit-scrollbar-track{
  background: rgba(0,0,0,.05);
}

.terms_ttl{
    height: 46.92px;
    width: auto;
    margin: 5rem auto 3rem;
    display: block;
}
.terms_section{
    padding-bottom: 8rem;
}