/* Reset CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: auto;
}

body {
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: visible;
}

body::-webkit-scrollbar {
    display: none;
}

html,
body {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

ol, ul {
    list-style: none;
}

ul, ol, li {
    list-style-type: none;
    padding: 0;
}

dl, dt, dd {
    margin: 0;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    width: 100%;
    height: auto;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

a {
    outline: none;
    text-decoration: none;
}

a img {
    outline: none;
    border: 0;
}

:focus {
    outline: 0;
}

/* Common CSS */
* {
    box-sizing: border-box;
}

html,
body {
    font-family: 'Noto Sans JP', "Hiragino Sans", "ヒラギノ角ゴ ProN", apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Meiryo, sans-serif;
    word-break: break-all;
    height: 100%;
}

html {
    overflow: auto;
}

body {
    
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #082025;
    /* background: #fff; を以下に置き換える */
background-image: url('../images/teaser_background.jpg');
background-attachment: fixed;
background-size: cover;
background-position: center;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100%;
}

.image-area {
    width: 50%;
    
    background-color: #f9f9f9;
}

.image-area img{
   display: block;

}


/* 右カラムのレイアウトを縦並びにしやすいよう調整 */
.content-area{
  display: flex;            /* ← block → flex に戻す */
  flex-direction: column;
  align-items: center;      /* 横中央寄せ */
  justify-content: flex-start;
}

/* ニックネーム壁 */
.supporters-wall{
  width: 100%;
  max-width: 800px;         /* sticky ボタンと同幅 */
  margin: 40px auto 0;      /* ボタンから少し余白を空ける */
  color: #fff;
  text-align: center;
}

/*========================================
  PC (デスクトップ) 向け – 幅 769px 以上
========================================*/
@media (min-width: 769px){

  /* Supporters 一覧をスクロール追従に */
  .supporters-wall{
    position: sticky;          /* ← これが要点 */
    top: calc(50% + 100px);    /* LINE ボタンの高さ＋余白ぶん下げる */
    
    z-index: 90;               /* ボタン(100)より低くして重なり防止 */
    color: #fff;
  }
}

.nickname-list li:nth-child(1) {
  
    text-shadow:
  0 0 3px rgba(0, 0, 0, 0.8),
  0 0 6px rgba(255, 77, 77, 0.8);
}
.nickname-list li:nth-child(2) {
  
    text-shadow:
  0 0 3px rgba(0, 0, 0, 0.8),
  0 0 6px rgba(135, 206, 250, 0.8);
}
.nickname-list li:nth-child(3) {
  
    text-shadow:
  0 0 3px rgba(0, 0, 0, 0.8),
  0 0 6px rgba(255, 105, 180, 0.8);
}


/* タイトル */
.supporters-title{
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: .05em;
  margin-bottom: 12px;
  font-weight: 700;
  margin: 20px;
  text-shadow:
  0 0 3px rgba(0, 0, 0, 0.8),
  0 0 6px rgba(255, 215, 0, 0.8); /* 金色のぼかし */
}

.supporters-note{
    margin: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* リスト */
.nickname-list{
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.6;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  
}

.nickname-list li{
  margin: 0;
}


/* モバイル時（すでに fixed ボタンがあるので高さを少し下げる） */
@media (max-width: 768px){
  .nickname-list{
    height: 220px;
  }
}




/* Sticky LINE Button */
.sticky-line-btn {
    position: sticky;
    top: 40%;
    transform: translateY(-50%);
    z-index: 100;
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
  flex-direction: column;
}

.line-btn {
    display: block;
    transition: transform 0.3s ease;
}

.line-btn:hover {
    transform: scale(1.05);
}

.line-btn img {
    
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.desktop-banner {
display: block;
}

.mobile-banner {
display: none;
}

footer {
    margin-top: auto;
    background: #fff;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

footer p.copy {
    color: #333;
    font-size: 12px;
}

footer p.tokushoho a {
    font-size: 12px;
    color: #333;
    text-decoration: none;
}



/* モバイル向けのスタイル調整 */
@media only screen and (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .image-area,
    .content-area {
        width: 100%;
    }
    
    /* モバイル表示ではボタンをページ固定の位置に */
    .content-area {
        min-height: auto;
        justify-content: flex-start;
        padding-bottom: 80px; /* LINEボタンの高さ分余白を追加 */
    }
    .sticky-line-btn {
    position: fixed;
    inset: auto 0 0;
    top: auto;
    transform: none;
    padding: 0px;
    max-width: 100%;
    width: auto; /* 幅を自動に設定 */
    z-index: 1000;
    display:flex;          /* 念のためもう一度指定 */
    flex-direction:row;
    gap:0;
}
 
  .sticky-line-btn {
    flex-direction: row;  /* 横並びに切り替え */
    gap: 0;               /* 余白なし（必要なら 8px などに） */
  }

  .sticky-line-btn a {
    flex: 1 0 50%;        /* 左右半分ずつ */
  }
    .desktop-banner {
  display: none;
}

.mobile-banner {
  display: block;
}
    
    /* フッターの上に余白を追加してボタンと重ならないようにする */
    footer {
        margin-bottom: 100px;
    }
}