@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
/* ===========================================
 * Common
 * ======================================== */
html{
   -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
   font-family:  "Hiragino Sans","Yu Gothic",sans-serif;
   font-size: 62.5%; /*基本のフォントサイズを10pxに指定 */
   color: #000;   
}

body{
	background: #D9F6FF;
}

a:link,a:visited{
	color: #000;
  text-decoration: none;
}

a:link .url_test,a:visited .url_test{
  color: #0099EB;
  text-decoration: underline;
}

img{
	width: 100%;
	max-width: 100%;
}

/* display */
.display-sp{
	display: block;
}

.display-pc{
	display: none;
}

/* margin */
.mb5{margin-bottom: 5px}
.mb10{margin-bottom: 10px}
.mb15{margin-bottom: 15px;}
.mb20{margin-bottom: 20px;}
.mb30{margin-bottom: 30px;}
.auto{margin: 0 auto;}

.center{
	text-align: center;
}

/*  announcement
-------------------------*/
.bottom_space{
  padding-bottom: 60px;
}

/* KV下　Store */
.app_tit{
font-size: clamp(1.125rem, 12px + 3vw, 35px);
text-align: center;
font-weight: 600;
}

.app_list_top{
	width: 51.1%;
  margin: 20px auto 40px;
}

.app_list_top li:first-child{
  margin-bottom: 15px;
}

/* フローティングバナー */
.fb_wrap{
	display: block;
	position: fixed; 
	z-index: 10; 
	bottom: 0px;
	left: 0px;
	right: 0px;
	background: #009BEB;
  padding: 12px 2.5%;
}

.app_tit_bottom{
  color: #fff;
 font-size: clamp(14px, 4vw, 18px);
  font-weight: 600;
  text-align: center;
  padding-right: 40px;
  padding-left: 5%;
  display: block;
  line-height: 1.4;
}

.app_list_bottom{
	display: flex;
	align-items: center;
  justify-content: center;
	/* width: 65.6%; */
  margin: 10px auto 0;
  gap: 16px; 
}



/* 内側のコンテンツ：ここを制限する */
.screening_wrap {
    max-width: 600px;  /* ここが重要！要素がバラバラにならない幅に制限 */
    margin: 0 auto;     /* PCで中央に寄せる */
    /* padding: 20px; */
    text-align: center;
    position: relative; /* 閉じるボタンの基準にする */
}

.app_list_bottom img {
    height: 40px;       /* PCでサイズが崩れないように調整 */
    width: auto;
}

/* 閉じるボタン：PCでコンテンツのすぐ右上に置く */
.close_btn_fb {
    position: absolute;
    top: 10px;
    right: 10px;        /* screening_wrapの内側の右上に配置 */
    /* もし画面右端に固定したいなら position: absolute のまま parentを fb_wrap にする */
}

/* 閉じた状態を強制するクラス */
.is-hidden {
  display: none !important;
}

/* ボタンのスタイル（再掲：z-indexは高めに） */
.close_btn_fb {
  /* --- 配置の設定 --- */
  position: absolute !important;
  top: 5px !important; /* バナーの青い上辺から20px上に浮かせる（Figmaの余白感） */
  right: 5px !important; /* 右端から15px内側に（Figmaの余白感） */
  
  /* --- サイズと形状の設定 --- */
  width: 30px !important; /* タップしやすい親指サイズ */
  height: 30px !important;
  border-radius: 50% !important; /* 正円にする */
  
  /* --- 色とスタイルの設定 --- */
  background-color: #009BEB !important; /* 白地 */
  border: 2px solid #fff!important; /* バナーの青色と同じ枠線 */
  color: #fff !important; /* 青い「×」の文字 */
  
  /* --- 文字（×）の配置調整 --- */
  font-size: 20px !important; /* 「×」を大きく */
  font-weight: 700 !important;
  display: flex !important;
  justify-content: center !important; /* 中央揃え */
  align-items: center !important; /* 中央揃え */
  line-height: 1 !important; /* 行の高さを1にして中央を安定させる */
  
  /* --- インタラクションと重なり順 --- */
  cursor: pointer !important;
  z-index: 2147483647 !important; /* 最前面に固定 */
  padding: 0 !important;
  pointer-events: auto !important; /* クリックを強制的に有効化 */
}



/* =========================
   wrapper
========================= */
.kv_wrap{
  background: #0168B7;
}

.bg_deep_blue{
  padding: 20px 5.08%;
}

/*  Brand Icon
-------------------------*/
.brand_list_wrap {
  margin: 0 auto;
  padding: 25px 10.17%;
}

.brand_intro_txt {
  text-align: center;
  font-size: clamp(14px, 0.65rem + 1.2vw, 20px);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 25px;
}

.brand_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 中央寄せ */
  list-style: none;
  padding: 0;
  margin: 0 auto;
  
  width: 100%;
  /* ★ 4枚並んだ時の「塊」の最大幅を制限（アイコン幅80px〜100px × 4枚分 + 隙間） */
  max-width: 460px; 
  
  gap: 12px; /* 隙間を少し広めに固定 */
}

.brand_list li {
  /* ★ スマホ（狭い画面）では4分割、広い画面では最大幅を固定 */
  /* 基本は4分割 (100% - 隙間12px × 3つ分) / 4枚 */
  width: calc((100% - 36px) / 4); 
  
  /* ★ ここが重要！1枚の最大幅を固定することで、タブレットでも5枚目を並ばせない */
  max-width: 100px; 

  display: flex;
  justify-content: center;
}

.brand_list li img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
}

/* モバイル（375px以下）など極端に狭い時だけ隙間を詰める調整 */
@media screen and (max-width: 375px) {
  .brand_list {
    gap: 8px;
  }
  .brand_list li {
    width: calc((100% - 24px) / 4);
  }
}





/*  Lottery
-------------------------*/

.list_index{
/* font-size: calc(16px + 4vw); */
font-size: clamp(24px, 16px + 4vw, 42px);
text-align: center;
margin-bottom: 10px;
font-weight: 700;
}

.lottery_wrap{
	padding-top: 20px;
}

.lottery_box{
  width: 91.3%;  /* 353px+影6px */
  background: #fff;
  border-radius: 10px;
  margin: 0 auto 20px;
  box-shadow: 6px 6px 6px 0px rgba(192, 233, 255, 0.6);
}

.h2_brand{
  padding: 10px 2.5%;
  border-bottom: 1px solid #E4E4E4;
}

.box_inner{
  padding:  8px 4.4% 16px 4.4%;
}


/* 注記 */
.note_item{
  margin-bottom: 8px;
 font-size: clamp(10px, 1vw + 6px, 15px);
}

/* 線 */
.ticket_divider {
  border: none;            
  border-top: 1px solid #E0E0E0; 
       
  width: 100%;
}

/* タイトル背景色 */
.tittle_bg_blue{
background: #44AFE1;
color: #fff;
text-align: center;
border-radius: 3px;
/* 最小17px、可変calc(11px + 1.5vw)、最大32px で止める設定 */
font-size: clamp(17px, calc(11px + 1.5vw), 32px);
  font-weight: 600;      
  padding: 8px 0;    
  margin-bottom: 4px; 
line-height: 1.4;  
}

/* CTA */
.btn_cta {
    display: flex;
    align-items: center;
    justify-content: center; /* テキストを中央に */
    position: relative;
    width: 100%;
    height: calc(34px + 4vw);
    background-color: #EF3F35;
    text-decoration: none;
    box-sizing: border-box;
    border-radius: calc((44px + 4vw) / 2);
}

.cta_rocket{
    background-color: #44AFE1;
}

/* ボタンテキスト */
.btn_text {
    color: #fff;
    font-size: calc(16px + 0.5vw);
    letter-spacing: 0.05em;
}

/* 右側の矢印アイコン */
.btn_arrow {
    position: absolute;
    right: 25px;
    color: #fff;
    font-size: 14px;
}

/* タップ時の反応 */
.btn_cta:active {
    opacity: 0.8;
    transform: scale(0.98);
}

/* クーポン */
.coupon_list{
  width: 91.3%;
  margin: 0 auto 14px;
  padding: 8px 0;
}
.bg_light_yellow{
  background: #FFF5B0;
}

.coupon_list li{
	margin-bottom: 12px;
}

.coupon_list li:nth-child(1),.coupon_list li:nth-child(2){
  margin-bottom: 12px;
}


/* グレーアウトの設定 */
.box_inner{
  position: relative; /* 子要素（オーバーレイ）の基準にする */
}

/* グレーアウトの層 */
.box_inner.is-finished::after {
  content: "上限に達したため\A終了いたしました"; /* \A は改行コード */
  white-space: pre-wrap; /* 改行を有効にする */
  
  /* 配置設定：親要素いっぱいに広げる */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* 色と透明度：ここがグレーアウトの正体 */
  background-color: rgba(0, 0, 0, 0.7); /* 黒の60%透明 */
  
  /* 文字のデザイン */
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: clamp(20px, 4vw, 28px);
  letter-spacing: 0.1em;
  padding-left: 0.1em; 
  line-height: 1.5;
  
  /* 中央寄せ */
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* 角丸なども親に合わせる */
  border-radius: inherit; 
  z-index: 10;
}


/* Share
-------------------------*/

.share_wrap{
	/* position: absolute;
	left:0;
	right: 0;
	top:clamp(5.938rem, 1.784rem + 17.72vw, 13.125rem); */
}

.share_txt_top{
	color: #fff;
	font-size: clamp(16px, 4.5vw, 19px);
	font-weight: 800;
  text-align: center;
}

.sns{
	padding: 30px 0;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.sns li{
	width: 14.6%;
}

.sns li:first-child{
	margin-right: 13.3%;
}

/* .share_txt_bottom{
	padding: 10px 9.3% 0;
} */


/* Overview
-------------------------*/

.ov_inner{
	/* padding:0 3.4%; */
	font-size: clamp(0.8125rem, 0.720rem + 1.04vw, 1.0625rem);

color: #2b2b2b  ;
}

.list_top{
	font-weight: 600;;
}

.overview_list{
	margin-bottom: 15px;
}

.overview_list li{
	list-style:disc; 
	margin:0 0 5px 6%;
}

.overview_list_nodisc{
	margin-bottom: 15px;
}

.overview_list_nodisc li{
	list-style:none; 
	margin:0 0 5px 6%;
}

.normal{
	margin-bottom: 15px;
}

.normal li{
	margin-bottom: 5px;
}


/* ボトムシート
-------------------------*/
:root { --sheet-max-h: 70vh; --radius: 16px; }
html:has(.sheet-toggle:checked) { overflow: hidden; }

.btn_terms {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 98%;
  margin: 0 auto 4px;
  background: #fff;
  color: #606060;
  padding-inline: 5%;
  /*font-size: clamp(0.938rem, 0.55rem + 1.2vw, 1.25rem);  15px ～ 約20px */
  font-size: clamp(1rem, 0.6rem + 2vw, 1.375rem);
  font-weight: 300;
  padding-block: clamp(6px, 4px + 0.8vw, 14px);
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  border: 1px solid #E0E0E0;
  transition: background .2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lottery_box .btn_terms{
  width: 100%;
}

/* 右矢印を追加 */
.btn_terms::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 14px;
  margin-left: 10px;
  background: no-repeat center/contain;
  vertical-align: middle;
  transform: translateY(1px);
 background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="8" height="14" viewBox="0 0 8 14" fill="none"><path d="M1 1L7 7L1 13" stroke="%230099EB" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

/* 押したときの感触 */
.btn_terms:active {
  background: #f2f2f2;
}

.sr-only {
	position: absolute; 
	width: 1px; 
	height: 1px; 
	padding: 0; 
	margin: -1px; 
	overflow: hidden; 
	clip: rect(0,0,0,0); 
	white-space: nowrap; 
	border: 0; }

  .sheet-wrap {}
  .sheet-toggle {
	position: fixed; 
	inline-size: 1px; 
	block-size: 1px; 
	opacity: 0; 
	pointer-events: none;
}

  .backdrop {
    position: fixed; inset: 0; z-index: 40;
    background: rgba(0,0,0,.4);
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
  }

  .sheet {
    position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 50;
    transform: translateY(100%);
    transition: transform .28s ease;
    display: grid; place-items: start center;
    pointer-events: none;
  }

.sheet__panel {
  position: relative;
  inline-size: 100%;
  max-inline-size: none;
  max-block-size: var(--sheet-max-h);
  background: #fff;
  /* box-shadow: 0 -10px 30px rgba(0,0,0,.2); */
  box-shadow: none !important;
  padding: 20px 16px 28px;
  pointer-events: auto;
  border-start-start-radius: var(--radius);
  border-start-end-radius: var(--radius);
}

@media (min-width: 600px) {
    .sheet__panel {
      /* inline-size: clamp(320px, 90%, 640px); */
      border-start-start-radius: var(--radius);
      border-start-end-radius: var(--radius);
    }
  }
  .sheet__handle { inline-size: 44px; block-size: 5px; border-radius: 99px; background: #e5e7eb; margin: 8px auto 12px; }
  .sheet__title { color:1c1c1c; font-size: 1.4rem; font-weight: 600; padding: 15px 0; text-align: center; border-bottom:1px solid #E0E0E0; margin-bottom: 10px; }
  .sheet__content { overflow: auto; max-block-size: calc(var(--sheet-max-h) - 120px); line-height: 1.6; }
  .sheet__actions { display: flex; gap: 8px; margin-block-start: 16px; justify-content: flex-end; }




/* ===== 閉じるボタン 完全固定バージョン ===== */

/* 本体 */
.sheet__close {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  inline-size: 44px;
  block-size: 44px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transform: none !important;
  box-shadow: none !important;
  transition: none !important;
}

/* どの状態でも絶対に変形させない */
.sheet__close:hover,
.sheet__close:active,
.sheet__close:focus,
.sheet__close:focus-visible {
  background: transparent !important;
  transform: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* アイコン（円＋バツ） */
.sheet__close svg {
  width: 28px;
  height: 28px;
  display: block;
  transform: none !important;
}

/* 念のため、子要素にも transform を効かせない */
.sheet__close svg *,
.sheet__close * {
  transform: none !important;
}

/* 色だけ指定（SmartNews風） */
.sheet__close svg circle {
  fill: #F1F2F4;
}

.sheet__close svg path {
  stroke: #8E8E93;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}


label.backdrop { cursor: pointer; }
.sheet-wrap > .sheet-toggle:checked ~ .backdrop { opacity: 1; pointer-events: auto; }
.sheet-wrap > .sheet-toggle:checked ~ .sheet { transform: translateY(0); }




.announce_tit{
  text-align: center;
}





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

	/* --------
	Common
	---------------*/
.bottom_space{
  	width: 768px;
		margin: 0 auto 45px;
}

/* 1. バナー全体の高さを抑える */
    .fb_wrap {
        padding: 12px 0; /* 上下の余白を削ってスリムに */
    }

    /* 2. 中身が広がりすぎないように制限し、中央に寄せる */
    .screening_wrap {
        max-width: 700px; 
        margin: 0 auto;
        padding: 0;
    }

    /* 3. テキストの無駄な余白を消す */
    .app_tit_bottom {
        margin-bottom: 8px;
        font-size: 22px; /* PCでちょうどいいサイズに固定 */
    }

    /* 4. アイコンをガッツリ大きくする */
    .app_list_bottom img {
        height: 55px; /* ここを数値指定することで「小さい」問題を解消 */
        width: auto;
    }

}
