/* button 



---------------------------------------------- */
:root{
  --phone-max: 430px;
  --page-pad: 20px;

  --bg: #0e0c08;
  --bg-section: #141209;
  --bg-card: #1a1710;
  --text-primary: #f0e6cc;
  --text-secondary: #b8a882;
  --text-light: #7a6e58;
  --edo-gold: #d4a843;
  --edo-gold-bright: #f0c040;
  --edo-gold-light: #2a2010;
  --edo-red: #cc2222;
  --space-purple: #7b3fa0;
  --accent-purple: #7d6b91;
  --space-navy: #0a1628;
  --space-blue: #1a3a6e;
  --border-light: #2e2a1e;
  --border-gold: #d4a843;
  --bg-cream: #0e0c08;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

button{
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
  font-family: inherit;
  cursor: pointer;
}

/* max-widthの例外（固定サイズが必要な要素） */
.gacha-result-rays,
.gacha-result-title-wrap,
.side-border,
.sakura-petal{
  max-width: none;
}

html{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  background: #000;
  overflow-x: hidden;
  overflow-y: scroll;
}

body{
  margin: 0 auto;
  width: 100%;
  max-width: var(--phone-max);
  min-height: 100vh;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo UI", "メイリオ", sans-serif;
  color: var(--text-primary);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='18' fill='none' stroke='%23d4a843' stroke-width='0.5' opacity='0.08'/%3E%3Ccircle cx='0' cy='20' r='18' fill='none' stroke='%23d4a843' stroke-width='0.5' opacity='0.08'/%3E%3Ccircle cx='40' cy='20' r='18' fill='none' stroke='%23d4a843' stroke-width='0.5' opacity='0.08'/%3E%3Ccircle cx='20' cy='0' r='18' fill='none' stroke='%23d4a843' stroke-width='0.5' opacity='0.08'/%3E%3Ccircle cx='20' cy='40' r='18' fill='none' stroke='%23d4a843' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E");
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

a{
  color:inherit;
  text-decoration:none;
  transition: opacity 0.3s ease;
}

a:hover{
  opacity: 0.8;
}

img{
  max-width:100%;
  display:block;
  height: auto;
}

.frame{
  min-height: 100%;
  background: var(--bg);
  position: relative;
  z-index: 1;
  padding-top: 57px;
}

/* 左右の金ボーダー（fixed・body幅に追従） */
.side-border{
  position: fixed;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-gold);
  z-index: 9998;
  pointer-events: none;
}


/* ヘッダー */
.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #000;
  border-bottom: 3px solid var(--edo-gold);
  padding: 14px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--phone-max);
  margin: 0 auto;
}

.header__logo{
  display: block;
  line-height: 0;
}

.header__logo img{
  height: 28px;
  width: auto;
}

.header__link{
  font-size: 12px;
  font-weight: 900;
  color: #000;
  padding: 8px 18px;
  border: 2px solid var(--edo-gold);
  background: var(--edo-gold);
  transition: all 0.2s ease;
  letter-spacing: 0.1em;
}

.header__link:hover{
  background: var(--edo-gold-bright);
  border-color: var(--edo-gold-bright);
  opacity: 1;
}

/* ヒーローセクション */
.hero{
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero__bg{
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}

.hero__overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__text{
  position: absolute;
  pointer-events: auto;
}

.hero__text1 {
    left: 0;
    right: 0;
    top: 6%;
    width: 56%;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.5s forwards;
}

.hero__text2 {
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 13%;
    width: 85%;
    opacity: 0;
    animation: bounceIn 0.8s ease-out 2s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  50% { transform: translateY(5px); }
  70% { transform: translateY(-3px); }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__btn {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 52%;
    width: 85%;
    max-width: 360px;
    pointer-events: auto;
    cursor: pointer;
    transition: filter 0.2s ease;
}

@media (hover: hover) {
  .hero__btn:hover{
    filter: brightness(1.1);
  }
}

.hero__btn img{
  width: 100%;
  height: auto;
}

/* LP画像セクション */
.lp-images{
  width: 100%;
}

.lp-images img{
  width: 100%;
  height: auto;
  display: block;
}

/* セクション共通 */
.section{
  padding: 40px var(--page-pad) 48px;
  background: var(--bg-section);
  position: relative;
}

.section:nth-child(even){
  background: var(--bg);
}

/* 和風看板タイトル */
.section__title{
  margin: 0 0 32px;
  text-align: center;
  position: relative;
}

.section__title-inner{
  display: block;
  width: 100%;
  position: relative;
  padding: 14px 16px;
  background: var(--edo-gold);
  color: #000;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.2em;
  line-height: 1;
  box-sizing: border-box;
}

/* 看板の左右の飾り棒 */
.section__title-inner::before,
.section__title-inner::after{
  content: "";
  position: absolute;
  top: 50%;
  width: 24px;
  height: 3px;
  background: var(--edo-gold);
  transform: translateY(-50%);
}

.section__title-inner::before{ right: 100%; }
.section__title-inner::after{ left: 100%; }

/* 看板の上下の細線 */
.section__title-bar{
  display: block;
  width: 100%;
  height: 2px;
  background: var(--edo-gold);
  opacity: 0.4;
  margin: 6px 0;
}

.section__title-en{
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #000;
  margin-top: 4px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  opacity: 0.7;
}

/* 見出しアイコン（頭・お尻） */
.section__title-icon{
  display: inline-block;
  font-style: normal;
  font-size: 18px;
  vertical-align: middle;
  margin: 0 8px;
  line-height: 1;
}

/* セクション挿絵 */
.section__visual{
  width: 100%;
  margin: -16px 0 24px;
  border: 2px solid var(--border-light);
}

.section__visual img{
  width: 100%;
  height: auto;
  display: block;
}

.divider{
  height: 2px;
  background: var(--edo-gold);
  opacity: 0.3;
  margin: 0;
}

/* カード共通 */
.card{
  background: var(--bg-card);
  border: 2px solid var(--border-gold);
  padding: 16px;
  transition: all 0.2s ease;
}

.card:hover{
  border-color: var(--edo-gold-bright);
}

/* 検索 */
.search{
  padding: 24px var(--page-pad);
  background: var(--bg);
}

.search input{
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border-gold);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
}

.search input::placeholder{
  color: var(--text-light);
}

.search input:focus{
  border-color: var(--edo-gold-bright);
}

/* 今日の雑学 */
.daily-card{
  padding: 20px;
}

.daily-meta{
  margin-bottom: 10px;
  font-size: 11px;
  color: var(--edo-gold);
  letter-spacing: .15em;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-title{
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 900;
  color: var(--text-primary);
}

.daily-text{
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  border-left: 3px solid var(--edo-gold);
  padding-left: 12px;
}

.daily-link{
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 900;
  color: #000;
  background: var(--edo-gold);
  padding: 10px 24px;
  border: 2px solid var(--edo-gold);
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
}

.daily-link:hover{
  background: var(--edo-gold-bright);
  border-color: var(--edo-gold-bright);
  opacity: 1;
}

.gacha-machine{
  width:100%;
  margin-bottom:14px;
  overflow:hidden;
}

.gacha-machine img{
  width:100%;
  display:block;
}

.gacha-spin{
  animation:gachaSpin .6s ease-in-out;
}

@keyframes gachaSpin{
  0%{ transform:rotate(0deg) scale(1); }
  25%{ transform:rotate(-4deg) scale(1.02); }
  50%{ transform:rotate(4deg) scale(1.04); }
  75%{ transform:rotate(-3deg) scale(1.02); }
  100%{ transform:rotate(0deg) scale(1); }
}

/* ランキング */
.rank-list{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rank-item{
  display: flex;
  align-items: center;
  padding: 0;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-bottom: none;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.rank-item:last-child{
  border-bottom: 2px solid var(--border-light);
}

.rank-item:hover{
  border-color: var(--edo-gold);
  background: #1e1a10;
  opacity: 1;
}

.rank-item:hover + .rank-item{
  border-top-color: var(--edo-gold);
}

/* 1&#12316;3位は特別カラー */
.rank-item:nth-child(1){ border-color: #c9a227; }
.rank-item:nth-child(2){ border-color: #8a8a8a; }
.rank-item:nth-child(3){ border-color: #8b5e3c; }

.rank-num{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 64px;
  flex-shrink: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  position: relative;
  align-self: stretch;
}

/* 1位：金 */
.rank-item:nth-child(1) .rank-num{
  background: linear-gradient(160deg, #c9a227 0%, #f5d060 50%, #c9a227 100%);
  color: #000;
}

/* 2位：銀 */
.rank-item:nth-child(2) .rank-num{
  background: linear-gradient(160deg, #6e6e6e 0%, #c0c0c0 50%, #6e6e6e 100%);
  color: #000;
}

/* 3位：銅 */
.rank-item:nth-child(3) .rank-num{
  background: linear-gradient(160deg, #7a4a2a 0%, #c47c45 50%, #7a4a2a 100%);
  color: #000;
}

/* 4位以降 */
.rank-item:nth-child(n+4) .rank-num{
  background: var(--bg);
  color: var(--text-secondary);
  border-right: 2px solid var(--border-light);
}

.rank-num-label{
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  line-height: 1;
  margin-bottom: 2px;
}

.rank-num-val{
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.rank-body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 14px 16px;
  min-width: 0;
}

.rank-name{
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ジャンル */
.genre-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.genre-card{
  display: block;
  background: var(--bg-card);
  border: 2px solid var(--border-gold);
  padding: 16px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.genre-card:hover{
  background: var(--edo-gold);
  color: #000;
  border-color: var(--edo-gold);
  opacity: 1;
}

/* シーン */
.scene-scroll{
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.scene-scroll::-webkit-scrollbar{
  height: 4px;
}

.scene-scroll::-webkit-scrollbar-thumb{
  background: var(--edo-gold);
}

.scene-card{
  min-width: 120px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 2px solid var(--border-gold);
  padding: 14px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.scene-card:hover{
  background: var(--edo-gold);
  color: #000;
  border-color: var(--edo-gold);
  opacity: 1;
}

/* 新着雑学 */
.article-list{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-item{
  display: block;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  padding: 14px 16px;
  transition: all 0.2s ease;
}

.article-item:hover{
  border-color: var(--edo-gold);
  background: #1e1a10;
  opacity: 1;
}

.article-title{
  font-size: 15px;
  font-weight: 800;
  line-height: 1.6;
  color: var(--text-primary);
}

/* 記事内「続きを読む」ボタン */
.article-read-btn{
  display: block;
  margin-top: 10px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border-light);
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
  width: fit-content;
  margin-left: auto;
}

.article-item:hover .article-read-btn{
  color: var(--text-primary);
  border-color: var(--text-secondary);
  opacity: 1;
}

/* ランキング内「続きを読む」ボタン */
.rank-read-btn{
  display: block;
  margin-top: 6px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border-light);
  letter-spacing: 0.1em;
  transition: all 0.2s ease;
  width: fit-content;
  margin-left: auto;
}

.rank-item:hover .rank-read-btn{
  color: var(--text-primary);
  border-color: var(--text-secondary);
  opacity: 1;
}

.more-link{
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg);
  padding: 12px;
  border: 2px solid var(--border-light);
  letter-spacing: 0.15em;
  transition: all 0.2s ease;
}

.more-link:hover{
  color: var(--text-primary);
  border-color: var(--text-secondary);
  opacity: 1;
}

/* 下固定CTA */
.sticky-cta{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: var(--phone-max);
  margin: 0 auto;
  z-index: 50;
  background: #0a0a0a;
  border-top: 2px solid var(--border-light);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
}

.sticky-cta.is-visible{
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta-inner{
  width: 100%;
}

.cta-btn{
  display: block;
  width: 100%;
  border: 2px solid #ff6666;
  background: linear-gradient(135deg, #cc2222 0%, #ff4444 50%, #cc2222 100%);
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  padding: 13px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.15em;
}

.cta-btn:hover{
  background: linear-gradient(135deg, #dd3333 0%, #ff5555 50%, #dd3333 100%);
  border-color: #ff8888;
  opacity: 1;
}

/* 今日の雑学カード */
.trivia-daily-card{
  background: var(--bg-card);
  border: 2px solid var(--border-gold);
  padding: 24px 20px;
  position: relative;
}

.trivia-daily-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--edo-gold);
}

.daily-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-light);
}

.daily-date{
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.1em;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.daily-badge{
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #000;
  background: var(--edo-gold);
  padding: 4px 12px;
}

.daily-question-box{
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 20px;
}

.daily-question-text{
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.9;
  letter-spacing: 0.05em;
}

.daily-action-btn{
  display: inline-block;
  text-align: center;
  background: var(--edo-gold);
  color: #000;
  font-size: 13px;
  font-weight: 900;
  padding: 12px 32px;
  border: 2px solid var(--edo-gold);
  transition: all 0.2s ease;
  letter-spacing: 0.1em;
}

.daily-action-btn:hover{
  background: var(--edo-gold-bright);
  border-color: var(--edo-gold-bright);
  opacity: 1;
}

/* ランキングカード */
.trivia-rank-one{
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--edo-gold);
  padding: 28px 20px;
  margin-bottom: 6px;
  text-align: center;
  transition: all 0.2s ease;
}

.trivia-rank-one::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--edo-gold);
}

.trivia-rank-one:hover{
  border-color: var(--edo-gold-bright);
}

.rank-badge{
  display: inline-flex;
  width: 36px;
  height: 36px;
  background: var(--edo-gold);
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #000;
  margin-bottom: 16px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.rank-icon-large{
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: var(--bg);
  padding: 12px;
  border: 2px solid var(--border-gold);
}

.rank-icon-large img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.legend-tag{
  display: inline-block;
  background: var(--edo-gold);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 12px;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.rank-title-large{
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: 0.05em;
}

.trivia-rank-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 6px;
}

.trivia-rank-card{
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  padding: 20px 14px;
  text-align: center;
  transition: all 0.2s ease;
}

.trivia-rank-card:hover{
  border-color: var(--edo-gold);
}

.rank-badge-small{
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #000;
  margin-bottom: 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.badge-silver{ background: #a8a8a8; }
.badge-bronze{ background: #b87333; }

.rank-icon-small{
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  background: var(--bg);
  padding: 10px;
  border: 2px solid var(--border-light);
}

.rank-icon-small img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* スクロールコンテナ */
.trivia-scroll-container{
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 16px;
  margin-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--edo-gold) transparent;
}

.trivia-scroll-container::-webkit-scrollbar{ height: 4px; }
.trivia-scroll-container::-webkit-scrollbar-track{ background: transparent; }
.trivia-scroll-container::-webkit-scrollbar-thumb{ background: var(--edo-gold); }

.trivia-scroll-card{
  min-width: 120px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  padding: 18px 14px;
  text-align: center;
  transition: all 0.2s ease;
}

.trivia-scroll-card:hover{ border-color: var(--edo-gold); }

.scroll-icon{
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--bg);
  padding: 8px;
  border: 2px solid var(--border-light);
}

.scroll-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* タイトルバリエーション */
.title-pink{ color: var(--edo-red); }
.title-pink::after{ background: var(--edo-red); }
.title-blue{ color: var(--space-blue); }
.title-blue::after{ background: var(--space-blue); }

/* バナーヒーロー */
.trivia-banner-hero-wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.trivia-banner-hero-wrapper > a:first-child{ grid-column: 1 / -1; }

.trivia-banner-img-link{
  display: block;
  overflow: hidden;
  transition: all 0.2s ease;
  border: 2px solid var(--border-light);
}

.trivia-banner-img-link:hover{ border-color: var(--edo-gold); }

.trivia-banner-img-link img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.trivia-banner-img-link:hover img{ transform: scale(1.02); }

/* リストアイテム */
.trivia-list{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trivia-list-item{
  display: block;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  padding: 18px 16px;
  transition: all 0.2s ease;
}

.trivia-list-item:hover{
  border-color: var(--edo-gold);
  background: #1e1a10;
}

.trivia-list-inner{
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.list-icon{
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 2px solid var(--border-gold);
  background: var(--bg);
}

.bg-blue{ background: var(--bg); }
.bg-green{ background: var(--bg); }
.bg-purple{ background: var(--bg); }
.bg-gray{ background: var(--bg); }

.list-content{
  flex: 1;
  padding-top: 2px;
}

.cat-tag{
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  color: #000;
  background: var(--edo-gold);
  padding: 3px 10px;
  margin-bottom: 8px;
  letter-spacing: 0.08em;
}

.list-title{
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.7;
  letter-spacing: 0.05em;
}

/* もっと見るボタン */
.more{
  text-align: center;
  margin-top: 24px;
}

.more a{
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  border: 2px solid var(--edo-gold);
  color: var(--edo-gold);
  font-size: 13px;
  font-weight: 900;
  transition: all 0.2s ease;
  letter-spacing: 0.15em;
}

.more a:hover{
  background: var(--edo-gold);
  color: #000;
  opacity: 1;
}

/* 登録ボタン（LP用） */
.toroku{
  text-align: center;
  padding: 40px var(--page-pad);
  background: var(--bg);
}

.toroku img{
  max-width: 240px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.toroku:hover img{ transform: scale(1.02); }

/* アニメーション */
.keyframe3{
  animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* 桜吹雪 */
#sakura-canvas{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.sakura-petal{
  position: absolute;
  top: -20px;
  width: 10px;
  height: 10px;
  opacity: 0;
  animation: sakuraFall linear infinite;
}

.sakura-petal::before{
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 30% 30%, #ffb7c5, #ff8fa3);
  border-radius: 150% 0 150% 0;
  transform: rotate(var(--rot, 0deg));
}

@keyframes sakuraFall{
  0%{
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0;
  }
  5%{ opacity: 0.9; }
  85%{ opacity: 0.7; }
  100%{
    transform: translateY(110vh) translateX(var(--drift, 60px)) rotate(var(--spin, 720deg));
    opacity: 0;
  }
}

/* 雑学ガチャセクション */
.gacha-section{
  position: relative;
  overflow: hidden;
}

.gacha-content{
  position: relative;
}

.gacha-container{
  position: relative;
  background: var(--bg-card);
  border: 3px solid var(--edo-gold);
  overflow: hidden;
  text-align: center;
  /* GIF・結果がabsoluteになるため、初期コンテンツで高さを確保 */
  min-height: 320px;
}

/* 初期画像表示 */
.gacha-main-image{
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.4s ease;
}

.gacha-main-image.hide{
  display: none;
}

/* 初期ボタン表示 */
.gacha-initial{
  padding: 24px 24px 32px;
  position: relative;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.gacha-initial.hide{
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.gacha-description{
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.gacha-note{
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-top: 12px;
}

.gacha-btn{
  display: inline-block;
  padding: 16px 48px;
  background: var(--edo-red);
  color: #fff;
  border: 3px solid #ff4444;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.2em;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.gacha-btn::before{
  content: '\25B6\00A0';
  font-size: 12px;
  vertical-align: middle;
  margin-right: 4px;
}

/* アニメーション表示エリア */
.gacha-animation{
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.gacha-animation.active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gacha-animation-gif{
  width: 100%;
  height: auto;
  display: block;
}

/* 結果表示エリア */
.gacha-result{
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 36px 24px 40px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease;
  background: var(--bg-card);
}

.gacha-result.show{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gacha-result-capsule{
  max-width: 120px;
  margin: 0 auto 20px;
  opacity: 0;
  transform: translateY(-20px) scale(0.9);
  transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
  position: relative;
}

.gacha-result.show .gacha-result-capsule{
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gacha-result-capsule img{
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 24px rgba(201,169,97,.4));
  animation: capsuleBounce 2s ease-in-out infinite;
}

@keyframes capsuleBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.05); }
}

/* 集中線エフェクト */
.gacha-result-rays{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  margin-left: -90px;
  margin-top: -90px;
  opacity: 0;
  transition: opacity 0.6s ease 0.4s;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
}

.gacha-result.show .gacha-result-rays{ opacity: 1; }

.gacha-result-rays::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: repeating-conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 8deg,
    rgba(201,169,97,.2) 8deg,
    rgba(201,169,97,.2) 10deg
  );
  transform: translate(-50%, -50%);
  animation: raysRotate 6s linear infinite;
}

@keyframes raysRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* タイトルのラッパー（ボーダーアニメーション用） */
.gacha-result-title-wrap{
  margin: 0 auto 32px;
  max-width: 340px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.gacha-result.show .gacha-result-title-wrap{
  opacity: 1;
  transform: translateY(0);
}

.gacha-result-title-inner{
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  padding: 3px;
  background: #ddd;
}

.gacha-result-title-inner::before{
  content: '';
  position: absolute;
  inset: -100%;
  background: conic-gradient(
    var(--edo-gold) 0deg,
    var(--space-purple) 90deg,
    var(--edo-red) 180deg,
    #fff 270deg,
    var(--edo-gold) 360deg
  );
  animation: borderSpin 3s linear infinite;
}

@keyframes borderSpin {
  to { transform: rotate(360deg); }
}

.gacha-result-title{
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.6;
  letter-spacing: 0.05em;
  padding: 20px 24px;
  background: var(--bg-card);
  text-align: left;
  margin: 0;
}

.gacha-result-buttons{
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.gacha-result-link{
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #cc2222 0%, #ff4444 50%, #cc2222 100%);
  color: #fff;
  border: 2px solid #ff6666;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-align: center;
  margin-bottom: 12px;
}

.gacha-retry-btn{
  display: inline-block;
  padding: 13px 36px;
  background: transparent;
  color: var(--edo-gold);
  border: 2px solid var(--edo-gold);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.15em;
  cursor: pointer;
}

.gacha-pool{ display: none; }

.bottom-space{ height: 88px; }

.safe-bottom{
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

/* プロモーションセクション */
.promo-section{
  padding: 48px var(--page-pad) 52px;
  background: var(--bg-card);
  border-top: 3px solid var(--edo-gold);
  border-bottom: 3px solid var(--edo-gold);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-section::before{
  content: "\2726";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--edo-gold);
  opacity: 0.5;
  letter-spacing: 12px;
}

.promo-catch{
  font-size: 13px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.25em;
  margin-bottom: 20px;
  opacity: 0.9;
}

.promo-title{
  font-size: 22px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 10px;
  text-align: center !important;
}

.promo-title strong{ color: var(--edo-gold); }

.promo-sub{
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  line-height: 1.8;
  margin-bottom: 32px;
}

.promo-gif-btn{
  display: block;
  width: 95%;
  margin: 0 auto;
  transition: filter 0.2s ease;
}

.promo-gif-btn img{
  width: 100%;
  height: auto;
  display: block;
}

@media (hover: hover) {
  .promo-gif-btn:hover{
    filter: brightness(1.1);
    opacity: 1;
  }
}

.promo-note{
  margin-top: 12px;
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

/* レスポンシブ */
@media (min-width: 980px){
  .frame{ margin: 0 auto; }
  .section{ padding: 56px var(--page-pad) 64px; }
  .section__title{ font-size: 24px; margin-bottom: 36px; }
}

/* ===== 会員用ヒーロー ===== */
.member-hero{
  width: 100%;
  line-height: 0;
}
.member-hero img{
  width: 100%;
  height: auto;
  display: block;
}

/* ===== フッター ===== */
.footer-wrap{
  background: #000;
  border-top: 3px solid var(--edo-gold);
  padding: 40px var(--page-pad) calc(32px + env(safe-area-inset-bottom));
}

.footer-nav{
  margin-bottom: 32px;
}

.footer-nav-title{
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--edo-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}

.footer-list{
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.footer-list li{
  border-bottom: 1px solid var(--border-light);
}

.footer-list li:nth-child(odd){
  border-right: 1px solid var(--border-light);
}

.footer-list li a{
  display: block;
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.footer-list li a:hover{
  color: var(--edo-gold);
  background: #0e0c08;
  opacity: 1;
}

.footer-copyright{
  text-align: center;
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  line-height: 1.8;
}
.manage_body{
  padding: 10px;
}

.content_title{
  font-size: 1.2rem;
  padding: 10px 0;
}

/* TABLE detail START */
table.manage_detail {
  width: 320px;
  border: 1px #A3A3A3 solid;
  border-collapse: collapse;
  border-spacing: 0;
}

table.manage_detail th {
  padding: 5px;
  border: #A3A3A3 solid;
  border-width: 0 0 1px 1px;
  background: #E3E3E3;
  font-weight: bold;
  line-height: 120%;
  text-align: right;
  white-space: nowrap; 
}
table.manage_detail th.error {
  padding: 5px;
  border: #A3A3A3 solid;
  border-width: 0 0 1px 1px;
  background: #FF6666;
  font-weight: bold;
  line-height: 120%;
  text-align: right;
  white-space: nowrap; 
}
table.manage_detail td {
  padding: 5px;
  border: 1px #A3A3A3 solid;
  border-width: 0 0 1px 1px;
}

table.manage_detail td.inner {
  text-align:center;
  padding:0;
  border:none;
  white-space:nowrap;
}

/* TABLE detail END */

/* TABLE LIST START */
table.manage_list {
  width: 320px;
  border-color: #A3A3A3;
  border-style: solid;
  border-width: 1px;
  border-collapse: collapse;
  border-spacing: 0;
}

table.manage_list th {
  padding: 3px;
  background: #e3e3e3;
  font-weight: normal;
  line-height: 120%;
  text-align: center;
  white-space: nowrap;
  border-color: #A3A3A3;
  border-style: solid;
  border-width: 1px;
  text-decoration: none;
}

table.manage_list th a:link,a:visited {
  text-decoration: none;
}

table.manage_list tr:hover td {
  background: #efefef;
}

table.manage_list td {
  padding: 3px;
  border-color: #A3A3A3;
  border-style: solid;
  border-width: 1px;
}

/* TABLE LIST END */
div.pagination {
  padding: 3px;
  margin: 15px;
  text-align:center;
}
 
div.pagination a {
  border: 1px solid #dedfde;
  margin-right:3px;
  padding:6px 9px;
  background-color:#ffffff;
  background-position:bottom;
  text-decoration: none;

  color: #da063c;  
}

div.pagination span {
  margin-right:3px;
  padding:6px 9px;

  background-position:bottom;
  background-color:#ffffff;
  border: 1px solid #dedfde;
  background-image:none;
  background-color:#da063c;
  color: #fff;
}

div.pagination a:hover, div.meneame a:active {
  border: 1px solid #000;
  background-image:none;
  background-color:#da063c;
  color: #fff;
}
h2.retire {
  padding: 0.25em 0.5em;/*上下 左右の余白*/
  color: #494949;/*文字色*/
  background: transparent;/*背景透明に*/
  border-left: solid 5px #bdbdbd;/*左線*/
  margin: 15px 15px 15px;
}

.button_wrapper{
   text-align:center;
   margin: 10px 0 20px auto;
}

/*-----------------------------
キャリア選択
-----------------------------*/
.select-carrier input {
  display: none;
}
.select-carrier input[type="radio"]:checked.docomo + label {
  color: #f00;
  border: 2px solid #f00;
  background-color: #fff0f0;
}
.select-carrier input[type="radio"]:checked.au + label {
  color: #f07334;
  border: 2px solid #f07334;
  background-color: #fff;
}
.select-carrier input[type="radio"]:checked.softbank + label {
  color: #000;
  border: 2px solid #000;
  background-color: #eaeaea;
}

.select-carrier label {
  color: #ddd;
  border: 2px solid #ddd;
  text-align: center;
  display: inline-block;
  padding: 10px 0px;
  width: 100px;
}
.select-carrier label:hover {
    color: #aaa;
    border: 2px solid #aaa;
    cursor: pointer;
}




/*-----------------------------
コース選択
-----------------------------*/

@font-face{font-family:"IonIcons";src:url("//code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.eot?v=2.0.1");src:url("//code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.eot?v=2.0.1#iefix") format("embedded-opentype"),url("//code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.ttf?v=2.0.1") format("truetype"),url("//code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.woff?v=2.0.1") format("woff"),url("//code.ionicframework.com/ionicons/2.0.1/fonts/ionicons.svg?v=2.0.1#Ionicons") format("svg");font-weight:normal;font-style:normal}


.select-wrap {
    position: relative;
    margin: 0px 28px 35px 24px;
}
.select-wrap:before {
    z-index: 1;
    position: absolute;
    right: 15px;
    top: 0;
    content: "\f123";
    font-family: "IonIcons";
    line-height: 47px;
    color: #7F878C;
    pointer-events: none;
}
select{
    outline:none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    background: none transparent;
    vertical-align: middle;
    font-size: inherit;
    color: inherit;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 45px;
    padding: 8px 12px;
    border:1px solid #ddd;
    color:#828c9a;
    width:100%;
    border-radius:3px;
}
select option{
  background-color: #fff;
  color: #333;
}
select::-ms-expand {
  display: none;
}
select:-moz-focusring { 
  color: transparent; 
  text-shadow: 0 0 0 #828c9a;
}
.select-wrap.select-primary:before{
  color:#fff;
}
.select-wrap.select-primary > select{
  background:#0084B4;
  color:#fff;
  border-color:#0084B4;
}
.select-wrap.select-primary > select:-moz-focusring { 
  color: transparent; 
  text-shadow: 0 0 0 #fff;
}

.select-wrap.select-inverse:before{
  color:#fff;
}
.select-wrap.select-inverse > select{
  color:#fff;
  border-color: #fff;
}

.select-wrap.select-inverse > select:-moz-focusring { 
  color: transparent; 
  text-shadow: 0 0 0 #fff;
}




/*-----------------------------
ラジオボタン
-----------------------------*/

.checkbox-wrap{
}
.label-checkbox input[type="checkbox"]{
  display: none;
}
.label-checkbox{
  cursor: pointer;
  
  position: relative;
}
.label-checkbox .lever{
  display: block;
  color: #ccc;
  font-weight: normal;
  display: inline-block;
  padding: 8px 40px;
  border: 1px solid #e5e5e5;
  border-radius:20px;
  margin-right: 10px;
  margin-bottom: 10px;
  -webkit-transition: all 300ms cubic-bezier(1, 0, 0, 1);
  -moz-transition: all 300ms cubic-bezier(1, 0, 0, 1);
  -o-transition: all 300ms cubic-bezier(1, 0, 0, 1);
  transition: all 300ms cubic-bezier(1, 0, 0, 1);
  -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
}
.label-checkbox .lever:before{
  content:'';
  position: absolute;
  left: 4px;
  top:4px;
  border: 1px solid #e5e5e5;
  background: #fff;
  width: 30px;
  height: 30px;
  border-radius:100%;
  -webkit-transition: all 300ms cubic-bezier(1, 0, 0, 1);
  -moz-transition: all 300ms cubic-bezier(1, 0, 0, 1);
  -o-transition: all 300ms cubic-bezier(1, 0, 0, 1);
  transition: all 300ms cubic-bezier(1, 0, 0, 1);
  -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
}
.label-checkbox:hover .lever:before{
   border-color: #ddd;
}
.label-checkbox input[type="checkbox"]:checked + .lever{
   background: #5cb85c;
   color: #fff;
}
.label-checkbox input[type="checkbox"]:checked + .lever{
   border-color:#5cb85c;
}
.label-checkbox input[type="checkbox"]:checked + .lever:before{
   left: 100%;
   margin-left: -44px;
   border-color: #fff;
}

.radio-wrap{
  margin: 20px;
}
.label-radio input[type="radio"]{
  display: none;
}
.label-radio{
  cursor: pointer;
  color: #828c9a;
  font-weight: normal;
  letter-spacing: 0;
  display: inline-block;
  position: relative;
  margin: 5px;
}
.label-radio .lever:before{
  content:'';
  border: 1px solid #ddd;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
  border-radius:10px;
  -webkit-transition: all 800ms cubic-bezier(1, 0, 0, 1);
  -moz-transition: all 800ms cubic-bezier(1, 0, 0, 1);
  -o-transition: all 800ms cubic-bezier(1, 0, 0, 1);
  transition: all 800ms cubic-bezier(1, 0, 0, 1);
  -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
}
.label-radio input[type="radio"]:checked + .lever:before{
  opacity: 0;
  background: #eee;
  border-color: #eee;
  transform:scale(2);
}
.label-radio .lever:after{
  content:'';
  opacity: 0;
  position: absolute;
  left: 8px;
  top: 0px;
  width:8px;
  height: 16px;
  border-right: 2px solid #ddd;
  border-bottom: 2px solid #ddd;
  transform:rotate(-200deg);
  -webkit-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -moz-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -o-transition: all 400ms cubic-bezier(1, 0, 0, 1);
  transition: all 400ms cubic-bezier(1, 0, 0, 1);
  -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
  transition-timing-function: cubic-bezier(1, 0, 0, 1);
}
.label-radio input[type="radio"]:checked + .lever:after{
  opacity: 1;
  position: absolute;
  left: 8px;
  top: 0px;
  width:8px;
  height: 16px;
  border-right: 2px solid #5bc0de;
  border-bottom: 2px solid #5bc0de;
  transform:rotate(40deg);
}


/*-----------------------------
テキストボックス
-----------------------------*/
textarea.box1{
width:320px;
height:120px;
}


/*-----------------------------
退会ボタン
-----------------------------*/
p.retire {
    margin: 4px 35px 22px 27px;
    padding: 0;
}
.retire_button {
   text-align:center;
   margin: 20px 0px auto;
}


/*-----------------------------
退会ボタン装飾
-----------------------------*/
.btn-flat-border {
  display: inline-block;
  padding: 0.5em 5em;
  text-decoration: none;
  color: #8c8c8c;
  border: solid 1px #8c8c8c;
  border-radius: 2px;
  transition: .4s;
}

.btn-flat-border:hover {
  background: #8c8c8c;
  color: white;
}

.btn-flat-dashed-border {
 /* display: inline-block;*/
  padding: 0.5em 9em;
  text-decoration: none;
  color: #8c8c8c;
  border: dashed 1px #8c8c8c;
  border-radius: 3px;
  transition: .4s;
  font-size: 14px;
}

.btn-flat-dashed-border:hover {
  border-style: dotted;
  color: #8c8c8c;
}
/**************************/
/* PHP Rails scaffold.css */
/**************************/

/*
http://predic8.com/iphone-css-layout-theme.htm
http://connecre.com/connelog/connelog00000172.php
*/


/* HTML BASIC START */

/* ===== サブページ共通スタイル ===== */
/* style.css の変数・リセットを前提として読み込む */

/* サブページ全体の背景を少し明るく */
body{
  background-color: #1a1710;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='18' fill='none' stroke='%23d4a843' stroke-width='0.5' opacity='0.06'/%3E%3Ccircle cx='0' cy='20' r='18' fill='none' stroke='%23d4a843' stroke-width='0.5' opacity='0.06'/%3E%3Ccircle cx='40' cy='20' r='18' fill='none' stroke='%23d4a843' stroke-width='0.5' opacity='0.06'/%3E%3C/svg%3E");
}

/* ページタイトル h1 */
.sub-page h1,
h1.sub-title{
  font-size: 18px !important;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #fff8e8;
  text-align: center;
  padding: 24px var(--page-pad) 20px;
  border-top: 3px solid var(--edo-gold);
  border-bottom: 3px solid var(--edo-gold);
  background: linear-gradient(180deg, #2a2210 0%, #1e1a0e 100%);
  position: relative;
  margin-top: 67px;
  margin-bottom: 0;
}

h1.sub-title::before{
  content: '\2726';
  color: var(--edo-gold);
  margin-right: 10px;
  font-size: 11px;
  vertical-align: middle;
}

h1.sub-title::after{
  content: '\2726';
  color: var(--edo-gold);
  margin-left: 10px;
  font-size: 11px;
  vertical-align: middle;
}

/* コンテンツ本文エリア */
.sub-page{
  padding: 28px var(--page-pad) 56px;
  min-height: 60vh;
}

.sub-page p,
.sub-body p{
  font-size: 14px;
  line-height: 2.1;
  color: #c8ba9a;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

/* notice エリア */
.sub-notice{
  margin: 0 0 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--edo-gold);
  background: #221e10;
  font-size: 13px;
  color: #c8ba9a;
  line-height: 1.9;
}

/* 汎用カード */
.sub-card{
  background: #221e10;
  border: 2px solid #3a3420;
  padding: 20px 16px;
  margin-bottom: 16px;
}

.sub-card + .sub-card{
  border-top: none;
}

/* 汎用テーブル */
.sub-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 24px;
}

.sub-table th,
.sub-table td{
  padding: 12px 10px;
  border: 1px solid #3a3420;
  line-height: 1.8;
  vertical-align: top;
}

.sub-table th{
  background: #221e10;
  color: var(--edo-gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  width: 35%;
}

.sub-table td{
  color: #c8ba9a;
  background: #1e1a0e;
}

/* 汎用リスト */
.sub-list{
  list-style: none;
  margin-bottom: 24px;
}

.sub-list li{
  font-size: 14px;
  color: #c8ba9a;
  line-height: 1.9;
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid #3a3420;
  position: relative;
}

.sub-list li::before{
  content: '\25B8';
  color: var(--edo-gold);
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 12px;
}

/* 汎用ボタン */
.sub-btn{
  display: block;
  width: 100%;
  padding: 14px;
  background: #221e10;
  border: 2px solid var(--edo-gold);
  color: var(--edo-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  margin-bottom: 12px;
  -webkit-tap-highlight-color: transparent;
}

.sub-btn-primary{
  background: var(--edo-red);
  border-color: #ff4444;
  color: #fff;
}

/* フォーム */
.sub-form-group{
  margin-bottom: 20px;
}

.sub-form-group label{
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.sub-form-group input,
.sub-form-group select,
.sub-form-group textarea{
  width: 100%;
  padding: 12px 10px;
  background: #221e10;
  border: 2px solid #3a3420;
  color: #f0e6cc;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.sub-form-group input:focus,
.sub-form-group select:focus,
.sub-form-group textarea:focus{
  border-color: var(--edo-gold);
}

/* 特定商取引 縦積みリスト */
.tokutei-list{
  list-style: none;
  margin-bottom: 24px;
}

.tokutei-list dt{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--edo-gold);
  background: #221e10;
  border-left: 3px solid var(--edo-gold);
  padding: 8px 12px;
  margin-top: 16px;
}

.tokutei-list dt:first-child{
  margin-top: 0;
}

.tokutei-list dd{
  font-size: 13px;
  color: #c8ba9a;
  line-height: 1.9;
  padding: 12px 12px;
  border: 1px solid #3a3420;
  border-top: none;
  background: #1e1a0e;
  margin: 0;
}

/* お問い合わせ送信完了 強調テキスト */
.tokutei-thanks{
  font-size: 15px;
  font-weight: 700;
  color: #ff6666;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-left: 8px;
  border-left: 3px solid #ff6666;
}

/* お問い合わせページ */
.toiawase-lead{
  font-size: 14px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.toiawase-tell{
  margin-top: 20px;
  border: 2px solid #3a3420;
  background: #1e1a0e;
}

.toiawase-tell-note{
  font-size: 13px;
  color: #c8ba9a;
  line-height: 1.9;
  padding: 16px;
  border-bottom: 1px solid #3a3420;
}

.toiawase-tell-em{
  font-weight: 700;
  color: #ff6666;
}

.toiawase-checklist{
  padding: 8px 16px;
  margin-bottom: 0;
}

.toiawase-checklist li{
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
  border-bottom: 1px solid #3a3420;
}

.toiawase-checklist li::before{
  display: none;
}

.toiawase-checklist input[type="checkbox"]{
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--edo-gold);
  cursor: pointer;
}

.toiawase-checklist label{
  font-size: 13px;
  color: #c8ba9a;
  cursor: pointer;
}

.toiawase-tel-btn{
  margin: 16px;
  width: calc(100% - 32px);
  letter-spacing: 0.05em;
}

/* QRコードページ */
.qr-block{
  text-align: center;
  padding: 32px 24px;
  background: #221e10;
  border: 2px solid #3a3420;
}

.qr-sitename{
  font-size: 14px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.qr-image{
  display: inline-block;
  padding: 12px;
  background: #fff;
  margin-bottom: 16px;
}

.qr-image img{
  display: block;
  width: 160px;
  height: 160px;
}

.qr-url{
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  word-break: break-all;
}

/* よくある質問 アコーディオン */
.qa-list{
  margin-bottom: 24px;
}

.qa-item{
  margin-bottom: 8px;
  border: 2px solid #3a3420;
  overflow: hidden;
}

.qa-item.is-open{
  border-color: var(--edo-gold);
}

.qa-question{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  background: linear-gradient(90deg, #2a2210 0%, #1e1a0e 100%);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  transition: background 0.2s ease;
}

.qa-item.is-open .qa-question{
  background: linear-gradient(90deg, #332810 0%, #261e0a 100%);
  border-bottom: 1px solid var(--edo-gold);
}

.qa-q-badge{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--edo-gold);
  color: #000;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  flex-shrink: 0;
}

.qa-q-text{
  font-size: 14px;
  font-weight: 700;
  color: #fff8e8;
  letter-spacing: 0.04em;
  line-height: 1.6;
  flex: 1;
}

.qa-toggle-icon{
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--edo-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.qa-toggle-icon::before{
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--edo-gold);
  border-bottom: 2px solid var(--edo-gold);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s ease;
}

.qa-item.is-open .qa-toggle-icon::before{
  transform: translateY(2px) rotate(-135deg);
}

.qa-answer{
  display: none;
  padding: 0;
  background: #1a1608;
}

.qa-item.is-open .qa-answer{
  display: block;
}

.qa-a-inner{
  display: flex;
  gap: 12px;
  padding: 16px 14px;
}

.qa-a-badge{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #3a3420;
  color: var(--edo-gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  flex-shrink: 0;
  padding-top: 4px;
}

.qa-a-text{
  font-size: 13px;
  color: #c8ba9a;
  line-height: 2;
  flex: 1;
}

/* メンテナンスページ */
.maintenance-wrap{
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px var(--page-pad);
  text-align: center;
}

.maintenance-icon{
  font-size: 56px;
  color: var(--edo-gold);
  margin-bottom: 24px;
  animation: maintenanceSpin 4s linear infinite;
  display: block;
  line-height: 1;
}

@keyframes maintenanceSpin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

.maintenance-title{
  font-size: 22px !important;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: #fff8e8;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--edo-gold);
  width: 100%;
}

.maintenance-msg{
  font-size: 14px;
  color: #c8ba9a;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

/* 利用規約バッジ（条番号用） */
.kiyaku-badge{
  width: auto !important;
  min-width: 44px;
  padding: 0 6px;
  font-size: 11px;
  letter-spacing: 0.03em;
}

/* ご利用ガイドバッジ */
.guide-badge{
  width: 20px !important;
  min-width: 20px;
  padding: 0;
  font-size: 10px;
  color: var(--edo-gold);
  background: transparent !important;
  border: none !important;
  flex-shrink: 0;
}

/* ご利用ガイドリード文 */
.guide-lead{
  font-size: 13px;
  color: #c8ba9a;
  line-height: 1.9;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  background: #221e10;
  border-left: 3px solid var(--edo-gold);
  margin-bottom: 20px;
}

/* 区切り線 */
.sub-divider{
  border: none;
  border-top: 1px solid #3a3420;
  margin: 24px 0;
}

/* ===== 対応機種ページ ===== */
.kishu-lead{
  text-align: center;
  font-size: 13px;
  color: #b0a080;
  letter-spacing: 0.08em;
  margin: 0 0 28px;
}

/* 端末カード群 */
.kishu-device-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 28px;
  max-width: 340px;
  border: 2px solid var(--edo-gold);
}

.kishu-device-card{
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 12px 24px;
  background: linear-gradient(180deg, #2a2210 0%, #1a1710 100%);
  position: relative;
}

.kishu-device-card::before{
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(212,168,67,0.18);
  pointer-events: none;
}

/* SVGアイコン */
.kishu-device-icon{
  width: 44px;
  height: 44px;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--edo-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kishu-device-icon svg{
  width: 40px;
  height: 40px;
  fill: var(--edo-gold);
  opacity: 0.9;
}

.kishu-device-label{
  font-size: 15px;
  font-weight: 900;
  color: #fff8e8;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.kishu-device-ver{
  font-size: 22px;
  font-weight: 900;
  color: var(--edo-gold);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.kishu-device-ver::after{
  display: block;
  content: 'バージョン対応';
  font-size: 10px;
  font-weight: 400;
  color: #8a7a5a;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* 区切り線 */
.kishu-device-divider{
  width: 2px;
  align-self: stretch;
  background: var(--edo-gold);
  opacity: 0.5;
  flex-shrink: 0;
}

/* 注意書き */
.kishu-caution{
  margin: 0 auto 8px;
  max-width: 340px;
  padding: 14px 16px;
  background: #1e1a0e;
  border: 1px solid #3a3420;
  border-left: 4px solid #8a7a5a;
  font-size: 13px;
  color: #b0a080;
  letter-spacing: 0.05em;
  line-height: 1.9;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.kishu-caution-icon{
  color: #8a7a5a;
  font-size: 10px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* テスト用カード */
.kishu-test{
  border-left: 4px solid #666 !important;
  background: rgba(40,38,30,0.7) !important;
  font-size: 13px;
  color: #c8ba9a;
  margin-top: 24px;
}

/* ===== 退会完了ページ (taik0x) ===== */

/* 送信完了ボックス */
.taik-complete-box{
  text-align: center;
  padding: 32px 20px 28px;
  margin-bottom: 20px;
  background: linear-gradient(160deg, #201c10 0%, #151210 100%);
  border-top: 3px solid var(--edo-gold);
  border-bottom: 3px solid var(--edo-gold);
  position: relative;
}

.taik-complete-box::before,
.taik-complete-box::after{
  content: '';
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: rgba(212,168,67,0.2);
}

.taik-complete-box::before{ top: 8px; }
.taik-complete-box::after{ bottom: 8px; }

.taik-complete-icon{
  width: 52px;
  height: 52px;
  line-height: 52px;
  margin: 0 auto 16px;
  border: 2px solid var(--edo-gold);
  color: var(--edo-gold);
  font-size: 24px;
  font-weight: 900;
}

.taik-complete-main{
  font-size: 16px !important;
  font-weight: 900;
  color: #fff8e8 !important;
  letter-spacing: 0.08em;
  line-height: 1.9 !important;
  margin-bottom: 16px !important;
}

.taik-complete-sub{
  font-size: 12px !important;
  color: #9a8c6c !important;
  line-height: 1.9 !important;
  margin-bottom: 0 !important;
  text-align: left;
}

/* 退会注意事項ボックス */
.taik-notice-box{
  margin-bottom: 20px;
  border: 1px solid #3a3420;
  border-left: 4px solid #cc4444;
  background: #1e1a0e;
}

.taik-notice-heading{
  padding: 10px 14px;
  background: #2a1a1a;
  font-size: 12px;
  font-weight: 700;
  color: #ff8888;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.taik-notice-icon{
  font-size: 9px;
  color: #cc4444;
}

.taik-notice-list{
  list-style: none;
  margin: 0;
  padding: 10px 14px 14px;
}

.taik-notice-list li{
  font-size: 12px;
  color: #b0a080;
  line-height: 1.9;
  padding: 8px 0 8px 16px;
  border-bottom: 1px solid #2a2410;
  position: relative;
}

.taik-notice-list li:last-child{
  border-bottom: none;
}

.taik-notice-list li::before{
  content: '\2013';
  position: absolute;
  left: 0;
  color: #cc4444;
  font-weight: 700;
}

/* TOPへ戻るボタン */
.taik-top-btn-wrap{
  text-align: center;
  margin-bottom: 24px;
}

.taik-top-btn{
  display: inline-block;
  padding: 12px 36px;
  border: 2px solid var(--edo-gold);
  color: var(--edo-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: #1e1a0e;
  -webkit-tap-highlight-color: transparent;
}

/* 広告エリア */
.taik-ad-wrap{
  text-align: center;
  margin-bottom: 24px;
}

/* セクション見出し */
.taik-section-heading{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 900;
  color: #fff8e8;
  letter-spacing: 0.12em;
  padding: 16px 0 14px;
  margin-bottom: 16px;
  border-top: 2px solid var(--edo-gold);
  border-bottom: 2px solid var(--edo-gold);
  background: linear-gradient(180deg, #2a2210 0%, #1e1a0e 100%);
}

.taik-section-deco{
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--edo-gold);
  opacity: 0.6;
}

/* キャリアカード */
.taik-carrier-wrap{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.taik-carrier-card{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: #1e1a0e;
  border: 1px solid #3a3420;
  border-left: 3px solid var(--edo-gold);
}

.taik-carrier-logo{
  flex-shrink: 0;
  width: 72px;
}

.taik-carrier-logo img{
  width: 72px;
  display: block;
}

.taik-carrier-step{
  font-size: 11px !important;
  color: #c8ba9a !important;
  line-height: 1.9 !important;
  margin-bottom: 0 !important;
}

/* FAQバッジ */
.taik-badge{
  background: #3a1a10 !important;
  border-color: #cc4444 !important;
  color: #ff8888 !important;
  font-weight: 900;
  font-size: 13px;
}

/* 退会リンク */
.taik-link{
  color: var(--edo-gold);
  text-decoration: underline;
  text-decoration-color: rgba(212,168,67,0.4);
}

/* ===== アンケート送信完了ページ (taik04) ===== */

/* 手続き案内バナー */
.taik04-guide-banner{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  background: #2a1a1a;
  border: 1px solid #cc4444;
  color: #ff8888;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
}

.taik04-guide-arrow{
  font-size: 10px;
  color: #cc4444;
  flex-shrink: 0;
}

/* ご利用上の注意リスト */
.taik04-info-list{
  list-style: none;
  margin-bottom: 28px;
}

.taik04-info-list li{
  font-size: 12px;
  color: #b0a080;
  line-height: 1.9;
  padding: 14px 14px 14px 14px;
  border-bottom: 1px solid #2a2410;
  background: #1a1710;
}

.taik04-info-list li:first-child{
  border-top: 1px solid #2a2410;
}

.taik04-info-label{
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* 解約ボタン */
.taik04-retire-btn-wrap{
  text-align: center;
  margin-bottom: 16px;
}

.taik04-retire-btn{
  display: inline-block;
  padding: 14px 48px;
  border: 2px solid #cc4444;
  color: #ff8888;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.15em;
  background: #2a1a1a;
  -webkit-tap-highlight-color: transparent;
}

/* ===== 退会確認ページ (taik03) ===== */

/* 同意ラジオボックス */
.taik03-agree-box{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  padding: 20px 16px;
  background: #1e1a0e;
  border: 1px solid #3a3420;
}

.taik03-agree-label{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid #3a3420;
  cursor: pointer;
  background: #1a1710;
  -webkit-tap-highlight-color: transparent;
}

.taik03-agree-label:has(input:checked){
  border-color: var(--edo-gold);
  background: #221e10;
}

.taik03-radio{
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #3a3420;
  flex-shrink: 0;
  position: relative;
  background: #111;
  cursor: pointer;
}

.taik03-radio:checked{
  border-color: var(--edo-gold);
}

.taik03-radio:checked::after{
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--edo-gold);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.taik03-agree-text{
  font-size: 14px;
  font-weight: 700;
  color: #c8ba9a;
  letter-spacing: 0.08em;
}

/* ===== 退会アンケートページ (taik02) ===== */

.taik02-lead{
  font-size: 13px;
  color: #c8ba9a;
  line-height: 1.9;
  margin-bottom: 24px;
  padding: 12px 14px;
  background: #221e10;
  border-left: 3px solid var(--edo-gold);
}

.taik02-optional{
  display: inline-block;
  font-size: 11px;
  color: #8a7a5a;
  margin-left: 8px;
}

/* フィールドブロック */
.taik02-field{
  margin-bottom: 20px;
}

.taik02-field-label{
  font-size: 12px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.1em;
  padding: 8px 12px;
  background: #221e10;
  border-left: 3px solid var(--edo-gold);
  margin-bottom: 8px;
}

/* セレクト */
.taik02-select{
  width: 100%;
  padding: 12px 10px;
  background: #1a1710;
  border: 2px solid #3a3420;
  color: #f0e6cc;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4a843' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.taik02-select:focus{
  border-color: var(--edo-gold);
}

/* ラジオボタンボックス（taik03流用＋上書き） */
.taik02-radio-box{
  margin-bottom: 0;
  padding: 12px;
  gap: 8px;
}

/* テキストエリア */
.taik02-textarea{
  width: 100%;
  padding: 12px 10px;
  background: #1a1710;
  border: 2px solid #3a3420;
  color: #f0e6cc;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 120px;
  line-height: 1.8;
}

.taik02-textarea:focus{
  border-color: var(--edo-gold);
}

/* ===== キャリア・コース選択ページ (taik01) ===== */

/* キャリア選択ラップ */
.taik01-carrier-wrap{
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

/* ラジオ本体は非表示 */
.taik01-carrier-radio{
  display: none;
}

/* キャリアラベル（ボタン化） */
.taik01-carrier-label{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  border: 2px solid #3a3420;
  background: #1a1710;
  color: #8a7a5a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

/* 選択インジケーター（小さい丸） */
.taik01-carrier-dot{
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid #3a3420;
  flex-shrink: 0;
  transition: border-color 0.15s, background 0.15s;
}

/* 選択状態：共通 */
.taik01-carrier-radio:checked + .taik01-carrier-label{
  border-color: var(--edo-gold);
  background: #221e10;
  color: var(--edo-gold);
}

.taik01-carrier-radio:checked + .taik01-carrier-label .taik01-carrier-dot{
  border-color: var(--edo-gold);
  background: var(--edo-gold);
}

/* キャリア個別カラー（非選択時のアクセント） */
.taik01-docomo{ border-left: 3px solid #cc0000; }
.taik01-au    { border-left: 3px solid #e87700; }
.taik01-softbank{ border-left: 3px solid #1a6fc4; }

.taik01-carrier-radio:checked + .taik01-docomo   { border-color: #cc0000; color: #ff6666; }
.taik01-carrier-radio:checked + .taik01-au       { border-color: #e87700; color: #ffaa44; }
.taik01-carrier-radio:checked + .taik01-softbank { border-color: #1a6fc4; color: #6699ff; }

.taik01-carrier-radio:checked + .taik01-docomo    .taik01-carrier-dot{ border-color: #cc0000; background: #cc0000; }
.taik01-carrier-radio:checked + .taik01-au        .taik01-carrier-dot{ border-color: #e87700; background: #e87700; }
.taik01-carrier-radio:checked + .taik01-softbank  .taik01-carrier-dot{ border-color: #1a6fc4; background: #1a6fc4; }

/* ===== MYフォルダ（履歴一覧）ページ ===== */

/* 件数バー */
.list-count-bar{
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-left: 4px solid var(--edo-gold);
  margin-bottom: 20px;
}

.list-count-num{
  font-size: 22px;
  font-weight: 900;
  color: var(--edo-gold);
  margin-right: 4px;
  letter-spacing: 0.04em;
  vertical-align: baseline;
}

/* 0件時 */
.list-not-found{
  text-align: center;
  padding: 48px 20px;
}

.list-not-found p{
  font-size: 14px;
  color: var(--text-light) !important;
  margin-bottom: 0 !important;
}

/* 履歴リスト（index の article-list を継承） */
.list-history-wrap{
  margin-bottom: 20px;
}

/* article-item を上書き・拡張 */
.list-history-item{
  border-bottom: none;
}

.list-history-genre{
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.1em;
  border: 1px solid var(--border-gold);
  padding: 2px 8px;
  margin-bottom: 8px;
  opacity: 0.7;
}

.list-history-title{
  margin-bottom: 0;
}

/* ===== 汎用詳細ページ (detail) ===== */

/* サブタイトル */
.detail-subtitle{
  font-size: 11px;
  font-weight: 700;
  color: #7a6e52;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 0 16px;
  border-bottom: 1px solid #2a2410;
  margin-bottom: 16px;
}

/* メッセージ */
.detail-msg{
  font-size: 13px;
  color: #c8ba9a;
  line-height: 1.9;
  padding: 12px 14px;
  background: #221e10;
  border-left: 3px solid var(--edo-gold);
  margin-bottom: 20px;
}

/* 上部アクションエリア */
.detail-action-top{
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

/* ボタン共通 */
.detail-btn{
  display: inline-block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  cursor: pointer;
  border: 2px solid;
  background: none;
  font-family: inherit;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.detail-btn-edit{
  border-color: var(--edo-gold);
  color: var(--edo-gold);
  background: #1e1a0e;
}

.detail-btn-destroy{
  border-color: #cc4444;
  color: #ff8888;
  background: #2a1a1a;
}

.detail-btn-wide{
  display: block;
  width: 100%;
  padding: 14px;
  font-size: 14px;
  margin-bottom: 10px;
}

/* 下部アクションエリア */
.detail-action-bottom{
  margin: 20px 0 24px;
}

/* テーブルラップ */
.detail-table-wrap{
  margin-bottom: 4px;
  overflow-x: auto;
}

/* テーブル */
.detail-table{
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.detail-row{}

.detail-th{
  font-size: 12px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.08em;
  background: #221e10;
  border: 1px solid #3a3420;
  padding: 10px 12px;
  width: 36%;
  vertical-align: top;
  white-space: nowrap;
}

.detail-td{
  font-size: 13px;
  color: #c8ba9a;
  line-height: 1.8;
  background: #1a1710;
  border: 1px solid #3a3420;
  padding: 10px 12px;
  vertical-align: top;
  word-break: break-all;
}

/* セクション区切りラベル（# 系キー） */
.detail-section-label{
  font-size: 12px;
  font-weight: 700;
  color: #fff8e8;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  background: linear-gradient(90deg, #2a2210 0%, #1a1710 100%);
  border-top: 2px solid var(--edo-gold);
  border-bottom: 1px solid #3a3420;
  margin: 8px 0 0;
}

/* リンクリスト */
.detail-link-list{
  list-style: none;
  border-top: 1px solid #2a2410;
  padding-top: 8px;
}

.detail-link-list li{
  border-bottom: 1px solid #2a2410;
}

.detail-link{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 10px;
  font-size: 13px;
  color: #c8ba9a;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, color 0.15s;
}

.detail-link:hover,
.detail-link:active{
  background: #221e10;
  color: var(--edo-gold);
}

.detail-link-arrow{
  font-size: 10px;
  color: var(--edo-gold);
  flex-shrink: 0;
}

/* ===== ジャンル一覧ページ (list_sp_2) ===== */

/* グリッドを2列に */
.list-sp2-grid{
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 20px;
}

/* カード上書き */
.list-sp2-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 8px 16px;
  text-align: center;
  position: relative;
  min-height: 72px;
}

.list-sp2-num{
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.12em;
  opacity: 0.6;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.list-sp2-name{
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.list-sp2-card:hover .list-sp2-name,
.list-sp2-card:active .list-sp2-name{
  color: #000;
}

.list-sp2-arrow{
  display: block;
  font-size: 10px;
  color: var(--edo-gold);
  opacity: 0.5;
}

.list-sp2-card:hover .list-sp2-arrow,
.list-sp2-card:active .list-sp2-arrow{
  color: #000;
  opacity: 0.6;
}

/* ===== コンテンツ詳細ページ (info_text) ===== */

/* テスト用IPバー */
.info-test-bar{
  font-size: 11px;
  color: #6a5e48;
  padding: 6px 10px;
  background: #111;
  border: 1px solid #2a2410;
  margin-bottom: 16px;
}

/* コンテンツヘッダー */
.info-header{
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--edo-gold);
}

.info-genre-badge{
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--edo-gold);
  border: 1px solid var(--border-gold);
  padding: 3px 10px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  opacity: 0.8;
}

.info-title{
  font-size: 17px !important;
  font-weight: 900;
  color: #fff8e8;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin: 0;
}

/* 画像ブロック */
.info-image{
  margin-bottom: 20px;
  border: 2px solid #3a3420;
  line-height: 0;
}

.info-image img{
  display: block;
  width: 100%;
}

/* 本文ブロック */
.info-body{
  font-size: 14px;
  color: #c8ba9a;
  line-height: 2;
  letter-spacing: 0.05em;
  padding: 16px 0;
  border-bottom: 1px solid #2a2410;
  margin-bottom: 20px;
}

.info-body:empty{
  display: none;
}

/* ===== ポイント不足 / 未会員ブロック ===== */
.info-locked-box{
  text-align: center;
  padding: 32px 20px 28px;
  margin-bottom: 16px;
  background: #1a1710;
  border: 2px solid #3a3420;
  border-top: 3px solid #666;
}

.info-locked-icon{
  font-size: 36px;
  margin-bottom: 14px;
  opacity: 0.5;
}

.info-locked-point{
  font-size: 12px !important;
  color: #8a7a5a !important;
  line-height: 1.8 !important;
  margin-bottom: 12px !important;
}

.info-locked-point-num{
  font-size: 28px;
  font-weight: 900;
  color: var(--edo-gold);
  letter-spacing: 0.04em;
  margin-right: 2px;
}

.info-locked-msg{
  font-size: 13px !important;
  color: #c8ba9a !important;
  line-height: 1.9 !important;
  margin-bottom: 20px !important;
}

.info-point-btn{
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--edo-gold);
  color: var(--edo-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: #221e10;
  -webkit-tap-highlight-color: transparent;
}

/* 会員登録促進ブロック */
.info-regist-box{
  padding: 20px 16px;
  background: linear-gradient(160deg, #201c10 0%, #151210 100%);
  border: 2px solid var(--edo-gold);
  margin-bottom: 24px;
}

.info-regist-msg{
  font-size: 13px !important;
  color: #c8ba9a !important;
  line-height: 1.9 !important;
  margin-bottom: 16px !important;
  text-align: center;
}

.info-regist-btn-wrap{
  text-align: center;
}

.info-regist-btn{
  display: inline-block;
  padding: 14px 40px;
  background: var(--edo-gold);
  color: #000;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
  -webkit-tap-highlight-color: transparent;
}

/* ===== ダウンロード確認ページ (detail_text) ===== */

/* サムネイル（中央寄せ） */
.dtext-thumb{
  text-align: center;
  background: #111;
  border-color: #2a2410;
  padding: 16px 0;
  margin-bottom: 20px;
}

.dtext-thumb img{
  display: inline-block;
  width: 70%;
}

/* 確認案内テキスト */
.dtext-confirm-note{
  font-size: 12px;
  color: #8a7a5a;
  line-height: 1.9;
  text-align: center;
  padding: 12px 14px;
  background: #1e1a0e;
  border: 1px solid #3a3420;
  margin-bottom: 24px;
}

/* アクションエリア */
.dtext-action-wrap{
  margin-bottom: 16px;
}

/* 閲覧・再閲覧ボタン */
.dtext-btn{
  display: block;
  width: 100%;
  padding: 16px;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.12em;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.dtext-btn-view{
  background: var(--edo-gold);
  color: #000;
  border: none;
}

/* ポイント情報ボックス */
.dtext-point-info{
  background: #1e1a0e;
  border: 1px solid #3a3420;
  margin-bottom: 16px;
  overflow: hidden;
}

.dtext-point-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #2a2410;
}

.dtext-point-row:last-child{
  border-bottom: none;
}

.dtext-point-row--cost{
  background: #221010;
}

.dtext-point-label{
  font-size: 12px;
  color: #7a6e52;
  letter-spacing: 0.06em;
}

.dtext-point-val{
  font-size: 20px;
  font-weight: 900;
  color: var(--edo-gold);
  letter-spacing: 0.04em;
}

.dtext-point-val small{
  font-size: 12px;
  font-weight: 400;
  margin-left: 2px;
  color: #8a7a5a;
}

.dtext-point-cost{
  color: #ff8888;
}

/* ===== 画像ダウンロード確認ページ (detail_img) ===== */

/* サムネイル＋投票エリア */
.dimg-thumb-wrap{
  margin-bottom: 20px;
  border: 2px solid var(--edo-gold);
  background: #111;
}

.dimg-vote-label{
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.1em;
  text-align: center;
  background: #1e1a0e;
  border-bottom: 1px solid #3a3420;
}

.dimg-thumb{
  text-align: center;
  padding: 16px;
  line-height: 0;
}

.dimg-thumb img{
  display: inline-block;
  max-width: 100%;
}

/* ===== 楽曲ダウンロード確認ページ (detail_fla_utas) ===== */

.dfla-card{
  background: #1e1a0e;
  border: 2px solid #3a3420;
  border-top: 3px solid var(--edo-gold);
  margin-bottom: 20px;
  overflow: hidden;
}

.dfla-title{
  font-size: 16px;
  font-weight: 900;
  color: #fff8e8;
  letter-spacing: 0.06em;
  line-height: 1.6;
  padding: 16px 14px 14px;
  border-bottom: 1px solid #3a3420;
  background: linear-gradient(180deg, #2a2210 0%, #1e1a0e 100%);
}

.dfla-meta-table{
  width: 100%;
  border-collapse: collapse;
}

.dfla-meta-table tr{
  border-bottom: 1px solid #2a2410;
}

.dfla-meta-table tr:last-child{
  border-bottom: none;
}

.dfla-meta-table th{
  font-size: 11px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.08em;
  background: #221e10;
  padding: 10px 12px;
  width: 30%;
  vertical-align: top;
  white-space: nowrap;
}

.dfla-meta-table td{
  font-size: 13px;
  color: #c8ba9a;
  padding: 10px 12px;
  vertical-align: top;
  line-height: 1.7;
}

/* ===== コンテンツ一覧ページ (list_sp_3) ===== */

/* ジャンル説明文 */
.list3-genre-desc{
  font-size: 13px;
  color: #c8ba9a;
  line-height: 1.9;
  padding: 12px 14px;
  background: #221e10;
  border-left: 3px solid var(--edo-gold);
  margin-bottom: 20px;
}

.list3-point-bar{
  text-align: center;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: #1e1a0e;
  border-top: 2px solid var(--edo-gold, #d4a843);
  border-bottom: 2px solid var(--edo-gold, #d4a843);
  font-size: 12px;
  color: #7a6e52;
  line-height: 1.7;
}
.list3-point-bar span,
.list3-point-bar strong{
  font-size: 22px;
  font-weight: 900;
  color: var(--edo-gold, #d4a843);
  letter-spacing: 0.04em;
}

/* セクションラベル */
.list3-section-label{
  font-size: 12px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.08em;
  padding: 8px 14px;
  background: #221e10;
  border-top: 2px solid var(--edo-gold);
  border-bottom: 1px solid #3a3420;
  margin-bottom: 0;
}

/* リストラップ */
.list3-wrap{
  margin-bottom: 20px;
}

/* アイテム（article-item 拡張） */
.list3-item{
  padding: 14px 14px 10px;
}

.list3-item-inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.list3-title{
  flex: 1;
  margin-bottom: 0 !important;
}

/* 既読/未読バッジ */
.list3-badge{
  display: inline-block;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  align-self: flex-start;
  margin-top: 2px;
}

.list3-badge-read{
  background: #221e10;
  color: #7a6e52;
  border: 1px solid #3a3420;
}

.list3-badge-unread{
  background: #1a2a1a;
  color: #66cc66;
  border: 1px solid #336633;
}

/* ===== 退会フォームページ共通 (retire_try) ===== */

/* 確認メッセージ */
.retire-confirm-note{
  font-size: 13px;
  color: #c8ba9a;
  line-height: 1.9;
  padding: 14px 14px;
  background: #221e10;
  border-left: 3px solid var(--edo-gold);
  margin-bottom: 20px;
}

/* コース一覧ラベル */
.retire-course-label{
  font-size: 12px;
  font-weight: 700;
  color: var(--edo-gold);
  letter-spacing: 0.1em;
  padding: 8px 14px;
  background: #221e10;
  border-left: 3px solid var(--edo-gold);
  margin-bottom: 0;
}

/* コース一覧 */
.retire-course-list{
  list-style: none;
  margin-bottom: 24px;
}

.retire-course-item{
  border-bottom: 1px solid #2a2410;
}

.retire-course-item:first-child{
  border-top: 1px solid #2a2410;
}

/* 退会ボタン行 */
.retire-course-btn{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px;
  background: #1a1710;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, border-color 0.15s;
  border-left: 3px solid transparent;
  gap: 10px;
}

.retire-course-btn:hover,
.retire-course-btn:active{
  background: #2a1a1a;
  border-left-color: #cc4444;
}

.retire-course-price{
  font-size: 16px;
  font-weight: 900;
  color: #ff8888;
  letter-spacing: 0.04em;
  flex: 1;
}

.retire-course-action{
  font-size: 12px;
  font-weight: 700;
  color: #8a5a5a;
  letter-spacing: 0.08em;
}

.retire-course-chevron{
  font-size: 12px;
  color: #4a3030;
  flex-shrink: 0;
}

/* コースなし */
.retire-no-course{
  font-size: 13px;
  color: #6a5e48;
  padding: 24px 14px;
  text-align: center;
  border: 1px solid #2a2410;
  background: #1a1710;
}

/* ===== 旧サイト退会ページ (retire_old) ===== */

.retire-old-form{
  margin-bottom: 8px;
}

.retire-old-input{
  width: 100%;
  padding: 12px 10px;
  background: #1a1710;
  border: 2px solid #3a3420;
  color: #f0e6cc;
  font-size: 16px;
  font-family: inherit;
  letter-spacing: 0.1em;
  outline: none;
}

.retire-old-input:focus{
  border-color: var(--edo-gold);
}

.retire-old-submit{
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* ===== 退会キャンセルページ (retire_ng) ===== */

.retire-ng-box{
  text-align: center;
  padding: 32px 20px 28px;
  margin-bottom: 20px;
  background: linear-gradient(160deg, #1e1210 0%, #151210 100%);
  border-top: 3px solid #666;
  border-bottom: 3px solid #666;
  position: relative;
}

.retire-ng-box::before,
.retire-ng-box::after{
  content: '';
  display: block;
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: rgba(120,120,120,0.2);
}

.retire-ng-box::before{ top: 8px; }
.retire-ng-box::after{ bottom: 8px; }

.retire-ng-icon{
  width: 52px;
  height: 52px;
  line-height: 52px;
  margin: 0 auto 16px;
  border: 2px solid #666;
  color: #888;
  font-size: 24px;
  font-weight: 900;
}

.retire-ng-main{
  font-size: 15px !important;
  font-weight: 700;
  color: #c8ba9a !important;
  letter-spacing: 0.08em;
  margin-bottom: 6px !important;
}

.retire-ng-sub{
  font-size: 13px;
  color: #888;
  line-height: 1.8;
  margin: 0;
}

/* ===== 退会コース出し分け拡張 ===== */

/* キャリア表記 */
.retire-course-carrier{
  display: block;
  font-size: 10px;
  color: #7a6e52;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

/* ボタン内レイアウト */
.retire-course-btn-body{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* 退会可能 */
.retire-course-btn--available{
  cursor: pointer;
}

/* 入会処理中（非リンク） */
.retire-course-btn--processing{
  cursor: default;
  opacity: 0.7;
  background: #1a1410;
  border-left-color: #555 !important;
}

.retire-course-processing-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #ffaa44;
  border: 1px solid #7a5500;
  background: #2a1e00;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  margin-top: 4px;
  align-self: flex-start;
}

.retire-course-processing-note{
  font-size: 11px;
  color: #7a6e52;
  line-height: 1.6;
  margin-top: 4px;
}

/* ===== ソフトバンクキャリアデザイン ===== */

/* キャリアヘッダー */
.sb-carrier-header{
  background: #0a1220;
  border: 2px solid #1a2a40;
  border-top: 4px solid #1E5FA8;
  padding: 18px 16px 16px;
  margin-bottom: 0;
  text-align: center;
}

.sb-carrier-logo{
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}

.sb-carrier-logo-sb{
  color: #fff;
}

.sb-carrier-logo-bank{
  color: #5b9bd5;
}

.sb-carrier-service{
  font-size: 11px;
  font-weight: 700;
  color: #5b9bd5;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.sb-carrier-desc{
  font-size: 12px;
  color: #6a8aaa;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* コースラベル（ソフトバンク版） */
.sb-course-label{
  border-left-color: #1E5FA8 !important;
  background: #0a1220 !important;
  border-top: 1px solid #1a2a40;
  color: #5b9bd5 !important;
}

/* コースボタン（ソフトバンク版） */
.sb-course-btn{
  border-bottom-color: #1a2a40;
  background: #0d1828;
}

.sb-course-btn.retire-course-btn--available:hover,
.sb-course-btn.retire-course-btn--available:active{
  background: #0f2040;
  border-left-color: #1E5FA8 !important;
}

/* キャリアタグ */
.sb-carrier-tag{
  color: #5b9bd5 !important;
  font-weight: 700 !important;
}

/* 金額（ソフトバンク版） */
.sb-course-price{
  color: #ffffff !important;
}

/* ===== ドコモキャリアデザイン ===== */

/* ドコモカラー：#E60012（赤） */
.docomo-carrier-header{
  background: #fff;
  border: 2px solid #e0e0e0;
  border-top: 4px solid #E60012;
  padding: 18px 16px 16px;
  margin-bottom: 0;
  text-align: center;
}

.docomo-carrier-logo{
  margin-bottom: 8px;
  line-height: 0;
}

.docomo-carrier-logo-img{
  height: 36px;
  width: auto;
  display: inline-block;
}

.docomo-carrier-desc{
  font-size: 12px;
  color: #888;
  letter-spacing: 0.04em;
  line-height: 1.7;
}

/* コースラベル */
.docomo-course-label{
  border-left-color: #E60012 !important;
  background: #1a0a0a !important;
  border-top: 1px solid #2a1010;
  color: #E60012 !important;
}

/* コースリスト */
.docomo-course-list{
  margin-bottom: 24px;
}

.docomo-course{
  border-bottom: 1px solid #2a1010;
  padding: 16px 14px;
  background: #180808;
}

.docomo-course:first-child{
  border-top: 1px solid #2a1010;
}

/* 退会可能 */
.docomo-course--active{
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.docomo-course--active:hover,
.docomo-course--active:active{
  background: #280a0a;
  border-left-color: #E60012;
}

/* 入会処理中 */
.docomo-course--processing{
  opacity: 0.65;
  border-left: 3px solid #555;
}

/* 価格エリア */
.docomo-course-price{
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.docomo-price-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #E60012;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  align-self: flex-start;
  margin-bottom: 2px;
}

.docomo-price-main{
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
}

.docomo-price-next{
  font-size: 13px;
  font-weight: 700;
  color: #e0c0c0;
  letter-spacing: 0.04em;
}

.docomo-price-note{
  font-size: 11px;
  color: #8a5a5a;
  line-height: 1.6;
}

/* 退会アクション */
.docomo-course-action{
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.docomo-course-action-text{
  font-size: 13px;
  font-weight: 700;
  color: #E60012;
  letter-spacing: 0.06em;
}

.docomo-course-action-arrow{
  font-size: 12px;
  color: #E60012;
}

/* 処理中ステータス */
.docomo-course-status{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.docomo-processing-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #ffaa44;
  border: 1px solid #7a5500;
  background: #2a1e00;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.docomo-processing-note{
  font-size: 11px;
  color: #7a6e52;
  line-height: 1.6;
}

/* ===== AUキャリアデザイン ===== */
.au-carrier-header{
  background: #fff;
  border: 2px solid #e0e0e0;
  border-top: 4px solid #F60; /* AU orange */
  padding: 18px 16px 16px;
  margin-bottom: 0;
  text-align: center;
}

.au-carrier-logo{
  margin-bottom: 8px;
  line-height: 0;
}

.au-carrier-logo-img{
  height: 28px;
  width: auto;
  display: inline-block;
}

.au-carrier-service{
  font-size: 11px;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.08em;
}

/* コース一覧ラベル */
.au-course-label{
  background: #1a1a2e;
  border-left: 4px solid #F60;
  color: #F60;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  margin-top: 0;
}

/* コースリスト */
.au-course-list{
  border: 2px solid #2a2a3e;
  border-top: none;
}

.au-course{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #2a2a3e;
  text-decoration: none;
  gap: 12px;
}

.au-course:last-child{
  border-bottom: none;
}

.au-course--active{
  background: #0e0e1a;
  cursor: pointer;
  transition: background 0.15s;
}

.au-course--active:hover{
  background: #1a1a2e;
}

.au-course--processing{
  background: #0e0e1a;
  flex-direction: column;
  align-items: flex-start;
}

.au-course-price{
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.au-price-main{
  font-size: 18px;
  font-weight: 900;
  color: #f0e0c0;
  letter-spacing: 0.04em;
}

.au-price-label{
  font-size: 12px;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.04em;
}

.au-price-next{
  font-size: 13px;
  font-weight: 700;
  color: #f0e0c0;
  letter-spacing: 0.04em;
}

/* 退会アクション */
.au-course-action{
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.au-course-action-text{
  font-size: 13px;
  font-weight: 700;
  color: #F60;
  letter-spacing: 0.06em;
}

.au-course-action-arrow{
  font-size: 12px;
  color: #F60;
}

/* 処理中ステータス */
.au-course-status{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.au-processing-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #ffaa44;
  border: 1px solid #7a5500;
  background: #2a1e00;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.au-processing-note{
  font-size: 11px;
  color: #7a6e52;
  line-height: 1.6;
}

/* 処理中リンク */
.au-processing-link{
  text-align: right;
  margin-top: 10px;
  margin-right: 4px;
}

.au-processing-link a{
  font-size: 12px;
  color: #7a7a8a;
  text-decoration: none;
  border-bottom: 1px dotted #555;
}

/* ===== 登録失敗ページ ===== */
.registered-ng-box{
  border: 2px solid #555;
  background: #111118;
  padding: 28px 20px 24px;
  text-align: center;
  margin-bottom: 28px;
}

.registered-ng-icon{
  font-size: 48px;
  color: #888;
  line-height: 1;
  margin-bottom: 16px;
}

.registered-ng-main{
  font-size: 15px;
  font-weight: 700;
  color: #ccc;
  line-height: 1.7;
  margin: 0 0 10px;
}

.registered-ng-sub{
  font-size: 13px;
  color: #888;
  line-height: 1.8;
  margin: 0;
}

/* ===== 登録制限ページ ===== */
.regist-stop-box{
  border: 2px solid #5a4a00;
  background: #111108;
  padding: 32px 20px 28px;
  text-align: center;
  margin-bottom: 28px;
}

.regist-stop-icon{
  font-size: 48px;
  color: #c8a800;
  line-height: 1;
  margin-bottom: 16px;
}

.regist-stop-main{
  font-size: 14px;
  color: #aaa;
  line-height: 1.8;
  margin: 0 0 10px;
}

.regist-stop-sub{
  font-size: 15px;
  font-weight: 700;
  color: #e8d080;
  line-height: 1.7;
  margin: 0;
}

/* ===== 登録完了ページ ===== */
.regist-ok-box{
  border: 2px solid var(--edo-gold, #c8a800);
  background: #0e0e08;
  padding: 28px 20px 24px;
  text-align: center;
  margin-bottom: 24px;
}

.regist-ok-icon{
  font-size: 48px;
  color: var(--edo-gold, #c8a800);
  line-height: 1;
  margin-bottom: 16px;
}

.regist-ok-main{
  font-size: 16px;
  font-weight: 700;
  color: #f0e0a0;
  line-height: 1.7;
  margin: 0 0 6px;
}

.regist-ok-sub{
  font-size: 13px;
  color: #aaa;
  line-height: 1.8;
  margin: 0;
}

/* ログイン情報ボックス */
.regist-ok-login-box{
  border: 2px solid #3a3a20;
  background: #111108;
  padding: 18px 16px;
  margin-bottom: 24px;
}

.regist-ok-login-heading{
  font-size: 13px;
  font-weight: 700;
  color: var(--edo-gold, #c8a800);
  letter-spacing: 0.12em;
  border-left: 3px solid var(--edo-gold, #c8a800);
  padding-left: 8px;
  margin-bottom: 10px;
}

.regist-ok-login-note{
  font-size: 12px;
  color: #888;
  line-height: 1.8;
  margin: 0 0 14px;
}

.regist-ok-login-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.regist-ok-login-table th{
  background: #1e1e10;
  color: #c8a800;
  font-weight: 700;
  padding: 9px 12px;
  border: 1px solid #3a3a20;
  white-space: nowrap;
  width: 40%;
  text-align: left;
  letter-spacing: 0.06em;
}

.regist-ok-login-table td{
  background: #0e0e08;
  color: #f0f0e0;
  padding: 9px 12px;
  border: 1px solid #3a3a20;
  word-break: break-all;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ===== 登録ページ共通 イントロノート ===== */
.regist-intro-note{
  background: #0e0e18;
  border: 1px solid #2a2a3e;
  border-left: 3px solid var(--edo-gold, #c8a800);
  padding: 12px 14px;
  font-size: 13px;
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 20px;
}

.regist-intro-note a{
  color: var(--edo-gold, #c8a800);
  text-decoration: underline;
}

.regist-intro-billing{
  display: block;
  color: #e88080;
  font-size: 12px;
  font-weight: 700;
  margin-top: 4px;
}

/* ===== ソフトバンク登録ページ コース一覧 ===== */
.sb-course-list{
  border: 2px solid #1a2a40;
  border-top: none;
  margin-bottom: 20px;
}

.sb-course{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #1a2a40;
  text-decoration: none;
  gap: 12px;
}

.sb-course:last-child{
  border-bottom: none;
}

.sb-course--available{
  background: #0a1220;
  cursor: pointer;
  transition: background 0.15s;
}

.sb-course--available:hover{
  background: #0f2040;
}

.sb-course--registered{
  background: #0a1220;
  opacity: 0.7;
  cursor: default;
}

.sb-course-inner{
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.sb-course-method{
  font-size: 11px;
  color: #5b9bd5;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.sb-course-point{
  font-size: 14px;
  font-weight: 700;
  color: #e8e8f8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sb-course-registered-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #5b9bd5;
  border: 1px solid #1E5FA8;
  background: #061020;
  padding: 1px 7px;
  letter-spacing: 0.06em;
}

.sb-course-price{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sb-price-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #1E5FA8;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.sb-price-main{
  font-size: 16px;
  font-weight: 900;
  color: #d0e4f8;
  letter-spacing: 0.04em;
}

.sb-price-label{
  font-size: 12px;
  font-weight: 700;
  color: #7a9abb;
  letter-spacing: 0.04em;
}

.sb-price-next{
  font-size: 13px;
  font-weight: 700;
  color: #d0e4f8;
  letter-spacing: 0.04em;
}

.sb-course-action{
  flex-shrink: 0;
}

.sb-course-arrow{
  font-size: 14px;
  color: #1E5FA8;
}

/* SoftBank説明リンク */
.regist-sb-info{
  border: 1px solid #1a2a40;
  background: #070e18;
  padding: 14px 16px;
}

.regist-sb-info-heading{
  font-size: 13px;
  font-weight: 700;
  color: #5b9bd5;
  letter-spacing: 0.1em;
  border-left: 3px solid #1E5FA8;
  padding-left: 8px;
  margin-bottom: 10px;
}

.regist-sb-info-link{
  display: block;
  font-size: 13px;
  color: #5b9bd5;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px dotted #1a2a40;
}

.regist-sb-info-link:hover{
  color: #8bbde8;
}

/* ===== 登録処理中ローディングページ ===== */
.regist-loading-box{
  text-align: center;
  padding: 48px 20px;
  border: 2px solid #2a2a3e;
  background: #0e0e18;
}

.regist-loading-spinner{
  width: 40px;
  height: 40px;
  border: 3px solid #2a2a3e;
  border-top-color: var(--edo-gold, #c8a800);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: regist-spin 0.8s linear infinite;
}

@keyframes regist-spin{
  to{ transform: rotate(360deg); }
}

.regist-loading-text{
  font-size: 14px;
  color: #aaa;
  letter-spacing: 0.12em;
  margin: 0;
}

/* ===== ドコモ登録ページ（単一コース） ===== */
.rdoc-single{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rdoc-single-intro{
  background: #0e0e18;
  border: 1px solid #2a2a3e;
  border-left: 3px solid #E60012;
  padding: 11px 14px;
  font-size: 13px;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* 単一コース d払いヘッダー */
.rdoc-single-header{
  background: #fff;
  border: 2px solid #e0e0e0;
  border-top: 4px solid #E60012;
  padding: 20px 16px 18px;
  text-align: center;
  margin-bottom: 0;
}

.rdoc-single-logo{
  margin-bottom: 14px;
  line-height: 0;
}

.rdoc-logo-img{
  height: 32px;
  width: auto;
  display: inline-block;
}

/* キャンペーンバナー */
.rdoc-campaign-banner{
  background: linear-gradient(135deg, #1a0000 0%, #2a0808 50%, #1a0000 100%);
  border: 2px solid #E60012;
  padding: 16px 16px 18px;
  margin-bottom: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rdoc-campaign-banner::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #E60012, #ff6060, #E60012, transparent);
  animation: rdoc-shimmer 2s linear infinite;
}

@keyframes rdoc-shimmer{
  0%{ background-position: -200% center; }
  100%{ background-position: 200% center; }
}

.rdoc-campaign-label{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #E60012;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  margin-bottom: 10px;
}

.rdoc-campaign-main{
  font-size: 14px;
  color: #f0d0d0;
  line-height: 1.8;
}

.rdoc-campaign-highlight{
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(230,0,18,0.8), 0 0 24px rgba(230,0,18,0.4);
  margin: 4px 0 2px;
}

/* 登録ボタン */
.rdoc-single-action{
  margin-top: 4px;
}

.rdoc-regist-btn{
  display: block;
  width: 100%;
  background: #E60012;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 16px 0;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.rdoc-regist-btn:hover{
  background: #c00010;
}

.rdoc-regist-btn--done{
  background: #888;
  color: #ccc;
  font-size: 16px;
  cursor: not-allowed;
  opacity: 0.7;
}

/* 注意事項ボックス */
.rdoc-single-infobox{
  border: 2px solid #2a2a3e;
  border-top: none;
  background: #0a0a14;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.rdoc-infobox-terms{
  font-size: 12px;
  color: #999;
  line-height: 1.8;
  border-bottom: 1px solid #1e1e2e;
  padding-bottom: 10px;
}

.rdoc-infobox-terms a{
  color: #E60012;
  text-decoration: underline;
}

.rdoc-infobox-notice{
  font-size: 12px;
  color: #aaa;
  line-height: 1.8;
  background: #0e0e20;
  border-left: 3px solid #555;
  padding: 8px 12px;
}

.rdoc-infobox-warning{
  font-size: 11px;
  color: #888;
  line-height: 1.8;
  border-top: 1px dashed #2a2a3e;
  padding-top: 10px;
}

/* ===== ドコモ登録ページ（複数コース） ===== */
.rdoc-multi-label{
  background: #1a0a0a;
  border-left: 4px solid #E60012;
  color: #E60012;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  margin-top: 0;
}

.rdoc-multi-list{
  border: 2px solid #2a1010;
  border-top: none;
  margin-bottom: 0;
}

.rdoc-course{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #2a1010;
  text-decoration: none;
  gap: 12px;
}

.rdoc-course:last-child{
  border-bottom: none;
}

.rdoc-course--available{
  background: #0e0808;
  cursor: pointer;
  transition: background 0.15s;
}

.rdoc-course--available:hover{
  background: #180808;
}

.rdoc-course--registered{
  background: #0e0808;
  opacity: 0.65;
  cursor: default;
}

.rdoc-course-inner{
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.rdoc-course-point{
  font-size: 14px;
  font-weight: 700;
  color: #e8d8d8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rdoc-registered-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #e88;
  border: 1px solid #a04040;
  background: #200808;
  padding: 1px 7px;
  letter-spacing: 0.06em;
}

.rdoc-course-price{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rdoc-price-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #E60012;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.rdoc-price-main{
  font-size: 16px;
  font-weight: 900;
  color: #f8d8d8;
  letter-spacing: 0.04em;
}

.rdoc-price-label{
  font-size: 12px;
  font-weight: 700;
  color: #9a7a7a;
  letter-spacing: 0.04em;
}

.rdoc-price-next{
  font-size: 13px;
  font-weight: 700;
  color: #f0d0d0;
  letter-spacing: 0.04em;
}

.rdoc-course-arrow{
  font-size: 14px;
  color: #E60012;
  flex-shrink: 0;
}

/* 複数コース注意事項 */
.rdoc-multi-infobox{
  border: 2px solid #2a1010;
  border-top: none;
  background: #0a0808;
  padding: 10px 14px;
  margin-bottom: 20px;
}

/* d払い説明リンク */
.regist-doc-info{
  border: 1px solid #2a1010;
  background: #080808;
  padding: 14px 16px;
}

.regist-doc-info-heading{
  font-size: 13px;
  font-weight: 700;
  color: #E60012;
  letter-spacing: 0.1em;
  border-left: 3px solid #E60012;
  padding-left: 8px;
  margin-bottom: 10px;
}

.regist-doc-info-link{
  display: block;
  font-size: 13px;
  color: #cc4444;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px dotted #2a1010;
}

.regist-doc-info-link:hover{
  color: #ee6666;
}

/* ===== AU登録ページ（単一コース） ===== */
.rau-single{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rau-single-intro{
  background: #0e0e18;
  border: 1px solid #2a2a1a;
  border-left: 3px solid #F60;
  padding: 11px 14px;
  font-size: 13px;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* 単一コース AUヘッダー */
.rau-single-header{
  background: #fff;
  border: 2px solid #e0e0e0;
  border-top: 4px solid #F60;
  padding: 20px 16px 18px;
  text-align: center;
  margin-bottom: 0;
}

.rau-single-logo{
  margin-bottom: 14px;
  line-height: 0;
}

.rau-logo-img{
  height: 28px;
  width: auto;
  display: inline-block;
}

/* AUキャンペーンバナー */
.rau-campaign-banner{
  background: linear-gradient(135deg, #1a0e00 0%, #2a1800 50%, #1a0e00 100%);
  border: 2px solid #F60;
  padding: 16px 16px 18px;
  margin-bottom: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rau-campaign-banner::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #F60, #ffaa44, #F60, transparent);
  animation: rau-shimmer 2s linear infinite;
}

@keyframes rau-shimmer{
  0%{ background-position: -200% center; }
  100%{ background-position: 200% center; }
}

.rau-campaign-label{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #F60;
  letter-spacing: 0.1em;
  padding: 3px 12px;
  margin-bottom: 10px;
}

.rau-campaign-main{
  font-size: 14px;
  color: #f0ddc0;
  line-height: 1.8;
}

.rau-campaign-highlight{
  display: block;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 0 12px rgba(255,102,0,0.8), 0 0 24px rgba(255,102,0,0.4);
  margin: 4px 0 2px;
}

/* AU登録ボタン */
.rau-single-action{
  margin-top: 4px;
}

.rau-regist-btn{
  display: block;
  width: 100%;
  background: #F60;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 16px 0;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.rau-regist-btn:hover{
  background: #dd5500;
}

.rau-regist-btn--done{
  background: #888;
  color: #ccc;
  font-size: 16px;
  cursor: not-allowed;
  opacity: 0.7;
}

/* 注意事項ボックス */
.rau-single-infobox{
  border: 2px solid #2a2a1a;
  border-top: none;
  background: #0a0a08;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.rau-infobox-terms{
  font-size: 12px;
  color: #999;
  line-height: 1.8;
  border-bottom: 1px solid #1e1e10;
  padding-bottom: 10px;
}

.rau-infobox-terms a{
  color: #F60;
  text-decoration: underline;
}

.rau-infobox-notice{
  font-size: 12px;
  color: #aaa;
  line-height: 1.8;
  background: #100e00;
  border-left: 3px solid #555;
  padding: 8px 12px;
}

.rau-infobox-warning{
  font-size: 11px;
  color: #888;
  line-height: 1.8;
  border-top: 1px dashed #2a2a1a;
  padding-top: 10px;
}

/* ===== AU登録ページ（複数コース） ===== */
.rau-multi-label{
  background: #1a1000;
  border-left: 4px solid #F60;
  color: #F60;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 14px;
  margin-top: 0;
}

.rau-multi-list{
  border: 2px solid #2a2010;
  border-top: none;
  margin-bottom: 0;
}

.rau-course{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #2a2010;
  text-decoration: none;
  gap: 12px;
}

.rau-course:last-child{
  border-bottom: none;
}

.rau-course--available{
  background: #0e0a00;
  cursor: pointer;
  transition: background 0.15s;
}

.rau-course--available:hover{
  background: #1a1200;
}

.rau-course--registered{
  background: #0e0a00;
  opacity: 0.65;
  cursor: default;
}

.rau-course-inner{
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.rau-course-point{
  font-size: 14px;
  font-weight: 700;
  color: #f0e0c0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rau-registered-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #F60;
  border: 1px solid #a04000;
  background: #200800;
  padding: 1px 7px;
  letter-spacing: 0.06em;
}

.rau-course-price{
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rau-price-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #F60;
  padding: 2px 8px;
  letter-spacing: 0.06em;
  align-self: flex-start;
}

.rau-price-main{
  font-size: 16px;
  font-weight: 900;
  color: #f8e8d0;
  letter-spacing: 0.04em;
}

.rau-price-label{
  font-size: 12px;
  font-weight: 700;
  color: #9a8060;
  letter-spacing: 0.04em;
}

.rau-price-next{
  font-size: 13px;
  font-weight: 700;
  color: #f0d8b0;
  letter-spacing: 0.04em;
}

.rau-course-arrow{
  font-size: 14px;
  color: #F60;
  flex-shrink: 0;
}

/* 複数コース注意事項 */
.rau-multi-infobox{
  border: 2px solid #2a2010;
  border-top: none;
  background: #080600;
  padding: 10px 14px;
  margin-bottom: 20px;
}

/* AU説明リンク */
.regist-au-info{
  border: 1px solid #2a2010;
  background: #080600;
  padding: 14px 16px;
}

.regist-au-info-heading{
  font-size: 13px;
  font-weight: 700;
  color: #F60;
  letter-spacing: 0.1em;
  border-left: 3px solid #F60;
  padding-left: 8px;
  margin-bottom: 10px;
}

.regist-au-info-link-wrap a{
  display: block;
  font-size: 13px;
  color: #cc7733;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px dotted #2a2010;
}

.regist-au-info-link-wrap a:hover{
  color: #ff9944;
}

/* ===== ログインページ ===== */
.nologin-lead{
  font-size: 13px;
  color: var(--text-secondary, #b8a882);
  line-height: 1.9;
  background: var(--bg-card, #1a1710);
  border-top: 2px solid var(--edo-gold, #d4a843);
  border-bottom: 2px solid var(--edo-gold, #d4a843);
  padding: 14px 16px;
  margin-bottom: 28px;
  position: relative;
}

.nologin-lead::before,
.nologin-lead::after{
  content: '\2726';
  position: absolute;
  color: var(--edo-gold, #d4a843);
  font-size: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.nologin-lead::before{ left: 4px; }
.nologin-lead::after{ right: 4px; }

.nologin-carriers{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nologin-carrier-block{
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ログインボタン共通 ? 縦並びカード型 */
.nologin-btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  padding: 24px 20px 20px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: opacity 0.2s;
  text-align: center;
}

.nologin-btn:hover{ opacity: 0.85; }

/* ロゴ画像 */
.nologin-btn-logo-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #fff;
  padding: 18px 24px;
}

.nologin-btn-logo{
  height: 72px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
}

.nologin-btn-logo-text{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nologin-sb-soft{ color: #111; }
.nologin-sb-bank{ color: #1E5FA8; }

/* テキストエリア */
.nologin-btn-body{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.nologin-btn-text{
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.nologin-btn-sub{
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.75;
}

.nologin-btn-arrow{ display: none; }

/* docomo */
.nologin-btn--docomo{
  background: var(--bg-card, #1a1710);
  border: 2px solid #E60012;
  border-top: 4px solid #E60012;
  color: var(--text-primary, #f0e6cc);
}
.nologin-btn--docomo .nologin-btn-text{ color: #fff; }
.nologin-btn--docomo .nologin-btn-sub{ color: #f0b0b0; }

/* au */
.nologin-btn--au{
  background: var(--bg-card, #1a1710);
  border: 2px solid #F60;
  border-top: 4px solid #F60;
  color: var(--text-primary, #f0e6cc);
}
.nologin-btn--au .nologin-btn-text{ color: #fff; }
.nologin-btn--au .nologin-btn-sub{ color: #f0c890; }

/* SoftBank */
.nologin-btn--sb{
  background: var(--bg-card, #1a1710);
  border: 2px solid #1E5FA8;
  border-top: 4px solid #1E5FA8;
  color: var(--text-primary, #f0e6cc);
}
.nologin-btn--sb .nologin-btn-text{ color: #fff; }
.nologin-btn--sb .nologin-btn-sub{ color: #90b8e0; }

/* ===== IDログイン退会ページ ===== */
.login-ng-id-intro{
  font-size: 13px;
  color: var(--text-secondary, #b8a882);
  margin-bottom: 16px;
}

.login-ng-id-warn{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #1a1200;
  border: 2px solid var(--edo-gold, #d4a843);
  border-top: 4px solid var(--edo-gold, #d4a843);
  padding: 14px 16px;
  margin-bottom: 24px;
}

.login-ng-id-warn-icon{
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.4;
}

.login-ng-id-warn-text{
  font-size: 13px;
  font-weight: 700;
  color: #f0d880;
  line-height: 1.7;
}

/* ログインセクション */
.login-ng-id-section{
  margin-bottom: 24px;
}

.login-ng-id-note{
  font-size: 12px;
  color: var(--text-secondary, #b8a882);
  margin-bottom: 12px;
}

.login-ng-id-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  background: var(--edo-gold, #d4a843);
  color: #1a1200;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-decoration: none;
  border: none;
  transition: opacity 0.2s;
}

.login-ng-id-btn:hover{ opacity: 0.85; }

.login-ng-id-btn-arrow{
  font-size: 14px;
}

/* ログイン情報を忘れた方 */
.login-ng-id-forgot{
  background: var(--bg-card, #1a1710);
  border: 1px solid var(--border-light, #2e2a1e);
  border-top: 3px solid var(--text-light, #7a6e58);
  padding: 16px;
  margin-bottom: 24px;
}

.login-ng-id-forgot-title{
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary, #f0e6cc);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  border-left: 3px solid var(--text-light, #7a6e58);
  padding-left: 8px;
}

.login-ng-id-forgot-text{
  font-size: 12px;
  color: var(--text-secondary, #b8a882);
  line-height: 1.8;
  margin-bottom: 14px;
}

.login-ng-id-contact-btn{
  display: inline-block;
  padding: 9px 20px;
  background: #2a2a2a;
  border: 1px solid #555;
  color: #bbb;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.login-ng-id-contact-btn:hover{ opacity: 0.8; }

.login-ng-id-ad{
  margin-bottom: 16px;
}

/* ===== IDログインフォームページ ===== */
.login-id-lead{
  font-size: 13px;
  color: var(--text-secondary, #b8a882);
  line-height: 1.9;
  margin-bottom: 20px;
}

.login-id-form{
  background: var(--bg-card, #1a1710);
  border: 1px solid var(--border-light, #2e2a1e);
  border-top: 3px solid var(--edo-gold, #d4a843);
  padding: 20px 16px 24px;
}

.login-id-form-heading{
  font-size: 13px;
  font-weight: 700;
  color: var(--edo-gold, #d4a843);
  letter-spacing: 0.12em;
  border-left: 3px solid var(--edo-gold, #d4a843);
  padding-left: 8px;
  margin-bottom: 20px;
}

.login-id-field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.login-id-label{
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary, #b8a882);
  letter-spacing: 0.08em;
}

.login-id-input{
  width: 100%;
  background: #0e0c08;
  border: 1px solid var(--border-light, #2e2a1e);
  border-bottom: 2px solid var(--edo-gold, #d4a843);
  color: var(--text-primary, #f0e6cc);
  font-size: 16px;
  padding: 11px 12px;
  outline: none;
  font-family: inherit;
  letter-spacing: 0.06em;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.login-id-input:focus{
  border-bottom-color: var(--edo-gold-bright, #f0c040);
  background: #14120a;
}

.login-id-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 24px;
  padding: 15px 20px;
  background: var(--edo-gold, #d4a843);
  color: #1a1200;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.14em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  font-family: inherit;
}

.login-id-btn:hover{ opacity: 0.85; }

.login-id-btn-arrow{
  font-size: 13px;
}

/* ===== ログアウトページ ===== */
.logout-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  background: #2a2a2a;
  border: 2px solid #555;
  color: var(--text-primary, #f0e6cc);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-decoration: none;
  transition: opacity 0.2s;
  margin-bottom: 24px;
}

.logout-btn:hover{ opacity: 0.8; }

.logout-btn-arrow{
  font-size: 13px;
  color: #888;
}

.logout-links{
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--border-light, #2e2a1e);
  padding-top: 14px;
}

.logout-link-item{
  font-size: 13px;
  color: var(--text-secondary, #b8a882);
  text-decoration: none;
  padding: 6px 4px;
  border-bottom: 1px dotted var(--border-light, #2e2a1e);
  transition: color 0.2s;
}

.logout-link-item:hover{
  color: var(--edo-gold, #d4a843);
}

/* ===== 処理中ページ ===== */
.shori-text{
  font-size: 13px;
  color: var(--text-secondary, #b8a882);
  line-height: 1.9;
}

/* ===== 退会確認ページ ===== */
.taik-confirm-lead{
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary, #f0e6cc);
  text-align: center;
  padding: 18px 16px;
  border: 2px solid var(--edo-gold, #d4a843);
  background: #1a1200;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.taik-confirm-msg{
  font-size: 13px;
  color: var(--text-secondary, #b8a882);
  line-height: 1.9;
  text-align: center;
  margin-bottom: 28px;
  padding: 0 4px;
}

.taik-confirm-actions{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.taik-confirm-btn{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.taik-confirm-btn:hover{ opacity: 0.85; }

.taik-confirm-btn-deco{
  font-size: 12px;
  opacity: 0.6;
}

/* 退会しないボタン（ゴールド・推奨） */
.taik-confirm-btn--stay{
  background: var(--edo-gold, #d4a843);
  color: #1a1200;
  border: 2px solid var(--edo-gold, #d4a843);
  font-size: 16px;
}

.taik-confirm-btn--stay .taik-confirm-btn-deco{
  opacity: 1;
  color: #1a1200;
}

/* 退会するボタン（グレー・非推奨） */
.taik-confirm-btn--go{
  background: #1e1e1e;
  color: #888;
  border: 1px solid #444;
  font-size: 14px;
}

/* インラインスタイル上書き（元ソースの style="" を無効化） */
[style*="font-size:medium"],
[style*="font-size: medium"]{
  font-size: inherit !important;
}
