body {
    margin: 0;
    background: rgba(0, 0, 0, 0);
}

/* ────────────────
  スマホ用
──────────────── */

@media screen and (max-width: 768px) {
body {

    width: 100vw;
    height: 100vh;
    margin: 0;
    background: rgba(0, 0, 0, 0);
}

}

header {
    background-image: linear-gradient(#ffd2ef1A, #ecdfff1A);
    border-bottom: 0px solid #ddd;
    padding: 10px 20px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}



/* ────────────────
   ガラス
──────────────── */

.glass {
    border: 1px solid rgba(255, 255, 255, 0.7);
    /* ボーダー */
    border-right-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    border-radius: 0px;
    -webkit-backdrop-filter: blur(20px);
    /* ぼかしエフェクト */
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 20px rgba(222, 183, 242, 0.4);
    /* 薄い影 */
}

/* 影なしすりガラス */
.glass-noshadow {
    border: 1px solid rgba(255, 255, 255, 0.7);
    /* ボーダー */
    border-right-color: rgba(255, 255, 255, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    border-radius: 0px;
    -webkit-backdrop-filter: blur(10px);
    /* ぼかしエフェクト */
    backdrop-filter: blur(3px);
    box-shadow: 5px 0px 5px 0px rgba(222, 183, 242, 0.3);
    /* 薄い影 */
}


/* ────────────────
   navi
──────────────── */

ul {
    display: flex;
}

li {
    list-style: none;
    margin-left: 20px;
    position: relative;
    /* ← これ重要 */
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-size: 1.6em;
    font-weight: ;
}


/* ────────────────
   背景
──────────────── */
#bg,
#bg2,
#bg3,
#bg4,
#bg5 {
    position: fixed;
    inset: 0;
    z-index: -100;
}




/* ────────────────
  Section
──────────────── */

.section {
    padding: 80px 20px;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0);
}



/* ────────────────
   Profile
──────────────── */
.profile-area {
    display: grid;
    grid-auto-flow: column;
    /* ← 自動で横に流す（横並びになる） */
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;

}

@media (min-width: 768px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
        /* PC：横に3つ */
        column-gap: 20px;
    }
}

.profile-card {
    background: #222;
    color: white;
    padding: 20px;
    border-radius: 12px;
    width: 320px;
}

.prof-meryl {
    background-color: hsla(320, 0%, 100%, 0);
    background-image:
        radial-gradient(at 40% 20%, hsla(256, 100%, 93%, 1) 0px, transparent 30%),
        radial-gradient(at 80% 0%, hsla(311, 100%, 93%, 1) 0px, transparent 30%),
        radial-gradient(at 0% 50%, hsla(206, 0%, 100%, 1) 0px, transparent 30%),
        radial-gradient(at 80% 50%, hsla(258, 0%, 100%, 1) 0px, transparent 30%),
        radial-gradient(at 0% 100%, hsla(210, 0%, 100%, 1) 0px, transparent 30%),
        radial-gradient(at 80% 100%, hsla(240, 0%, 100%, 1) 0px, transparent 30%),
        radial-gradient(at 0% 0%, hsla(198, 100%, 95%, 1) 0px, transparent 30%);
    z-index: -10;
}


#character-image {
    width: 600px;
    line-height: auto;

}

/* ────────────────
  スマホ用
──────────────── */


@media (max-width: 768px) {
  .profile-area {
    display: flex;     /* シンプルに縦並びにするならこっちが確実 */
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  #character-image {
    width: 100%;
    max-width: 350px;   /* スマホでもはみ出さない */
  }
}


/* ────────────────
   Gallery
──────────────── */

.gallery-menu {
    display: grid;
    padding: 80px;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.center{
        justify-content: center;
    flex-wrap: wrap;
    
}


.gallery-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
}

.gallery-list img {
    width: 200px;
    height: 260px;
    border-radius: 10px;
    object-fit: cover;
}
.mate-samb {
    width: 200px;
    height: 260px;
    border-radius: 10px;
    object-fit: cover;
}

.pswp-gallery img{
    border-radius: 20px;
    overflow: hidden;
        border: 2px dotted #FF9ABD;
    transition: all 0.3s ease;
}


.pswp-gallery img:hover {
    box-shadow: 0 0 15px rgba(255, 150, 200, 0.3);
    transform: translateY(-5px) scale(1.05);
}


/* ────────────────
   スマホ用
──────────────── */

@media screen and (max-width: 768px) {

  /* ギャラリー全体を横並びに */
  #my-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)) !important;
    gap: 10px !important;
    justify-items: center;
  }

    
    .mate-samb {
    width: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.pswp-gallery img{
        width: 50px;
    border-radius: 20px;
    overflow: hidden;
        border: 2px dotted #FF9ABD;
    transition: all 0.3s ease;
}


  /* シングルカラムクラスは無効化 */
  .pswp-gallery--single-column {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important;
  }
}


/* ────────────────
   1カラム設定
──────────────── */

.co1 {
        
    margin: 0 auto;
    width: 70%;
    display: grid;
    padding: 80px;
    gap: 40px;
    justify-content: center;
}

@media screen and (max-width: 768px) {
.co1 {
        
    margin: 0 auto;
    width: 100%;
    display: grid;
    padding: 40px;
    gap: 20px;
    justify-content: center;
}
}



/* ────────────────
   余白
──────────────── */
.box600 {
    height: 300px;
    width: 100%;
    padding: 80px 20px;

}

.yohaku

.yohaku-bottom-mar {
    top: 30px;
    margin-bottom: 30px;
        justify-content: center;
}


/* ────────────────
   区切り線
──────────────── */
.dotted-divider {
    border: none;
    border-top: 3px dotted;
    width: 100%;
    margin: 40px 0px;
    opacity: 0.8;
}

.bottom-dot{
    border: none;
    border-bottom: 3px dotted;
    width: 100%;
    margin: 10px 0px;
    opacity: 0.8;
    color:#B12766;
}

/* ────────────────
   リスト
──────────────── */
.guide-list {
    width: 90%;
    position: relative;
    margin: 0.5em auto;
    border: dotted 1px #B12766;
    border-radius:5px;
}
.guide-list .title{
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 0.5em;
    background: #FFF;
    font-size:0.9rem;
    color: #B12766;
}
.guide-list ul{
        display: block;
    padding:0px 1em;
}
.guide-list ul li{
        display: block; /* ← 強制で縦に積む */
    margin: 0.4em 0;
    list-style: none;
}
.guide-list ul li:before{
    margin: 0em 0.2em;
    color:#F3A7A9;
    content:"✦"
}

.guide-no-border{
       border: dotted 0px #B12766 !important;
    
}

@media screen and (max-width: 768px) {
    .guide-list{margin-top: 30px;}

.guide-list .title{
    top: -40px !important;
    left: 10px;
}
}

/* ────────────────
   Logoアニメ
──────────────── */
.logo-ani {
    position: relative;
    top: 80px;
    /* 中央より少し上（50vhが中央） */
    left: 50vw;
    /* 横中央 */
    transform: translate(-50%, -50%);
    /* 自分自身の幅・高さの半分をずらして中央寄せ */
    /* optional */
    width: 260px;
    height: auto;
    padding-bottom: 0px;
    text-align: center;
    border-radius: 12px;
}

.foot-logo{
    width: 300px;
    height: auto;
    
}

/* ────────────────
   背景
──────────────── */
.bottom-bg {
    z-index: -10;

    background-color: hsla(333, 0%, 100%, 0);
    background-image: 
        radial-gradient(circle at 0% 0%, hsla(64, 82%, 77%, 0.15) 3.1210986267166043%, transparent 20%),
        radial-gradient(circle at 20% 0%, hsla(5, 77%, 74%, 0.15) 3.1210986267166043%, transparent 20%), 
        radial-gradient(circle at 40% 0%, hsla(315, 77%, 74%, 0.15) 3.1210986267166043%, transparent 20%), 
        radial-gradient(circle at 60% 0%, hsla(256, 77%, 74%, 0.15) 3.1210986267166043%, transparent 20%), 
        radial-gradient(circle at 80% 0%, hsla(191, 77%, 74%, 0.15) 3.1210986267166043%, transparent 20%), 
        radial-gradient(circle at 100% 0%, hsla(152, 77%, 74%, 0.15) 3%, transparent 20%);
    background-blend-mode: normal, normal, normal, normal, normal, normal;
}
/* ────────────────
   スクロールバー
──────────────── */
.overlay-content::-webkit-scrollbar {
    width: 12px;
}

.overlay-content::-webkit-scrollbar-track {
    background: transparent;
}

.overlay-content::-webkit-scrollbar-thumb {
    border-radius: 6px;
    border: 3px solid transparent;
    background: linear-gradient(to bottom, #FFC3DF, #CDB1FF);
}

.overlay-content::-webkit-scrollbar-button {
    display: none;
}


/* WebKit系ブラウザ用スクロール */
body::-webkit-scrollbar,
*::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
    background: transparent;
    /* トラック透明 */
}

body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
    border-radius: 6px;
    border: 3px solid transparent;
    background: linear-gradient(to bottom, #FFC3DF, #CDB1FF);
}

/* 矢印ボタン部分を透明化 */
body::-webkit-scrollbar-button,
*::-webkit-scrollbar-button {
    display: none;
    /* ボタンを非表示に */
    width: 0;
    height: 0;
}


