#tw-wrap{max-width:480px;margin:0 auto;font-family:sans-serif;}
.tw-inner{padding:20px 16px;}

.tw-inner h2{
	font-size:20px;
	font-weight:600;
	margin:0 0 8px;
	color:#fff;
	text-align:center;}

.tw-explanation{
	font-size:14px;
	color:#e5e7eb;
	margin:0 0 20px;
	text-align:center !important;}

/*/////////////////////////////////////////////////////////*/
/*　スタートボタン*/
/*/////////////////////////////////////////////////////////*/

.tw-btn-wrap {
  position: relative;
  margin: 0 0 20px 0;
}
#tw-start-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 160px !important;
  min-width: 160px !important;
  height: 80px;
  margin: 0 auto;
  border-radius: 50px;
  background-color: #63d4db;
  color: #001933;
	font-weight: bold;
  text-decoration: none;
  text-align: center;
  font-size: 130% !important;
  line-height: 1.15 !important;
	font-family: sans-serif;
  border: none;
  position: relative;
}
#tw-start-btn em{
  display: block;
  font-style: normal;
  font-size: 70% !important;
  line-height: 1.2;
  margin-top: 4px;
}
#tw-start-btn:before, #tw-start-btn:after {
  content: "";
  position: absolute;
  z-index: -10;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 50px;
  background: #a6f9ff;
  transform: translate3d(0,0,0);
}
#tw-start-btn:before {
  animation: anime 1s ease-out infinite;
}
#tw-start-btn:after {
  animation: anime 1s ease-out 1s infinite;
}
@keyframes anime{
0%{transform:scale(.95); opacity:1}
90%{opacity:.1}
to{transform:scale(1.2,1.4); opacity:0}
}
}
.tw-info-row{display:flex;gap:10px;padding:0 16px 20px;}
.tw-info-btn{flex:1;display:block;text-align:center;padding:10px 8px;border:1px solid #ddd;border-radius:8px;font-size:12px;font-weight:600;color:#333;text-decoration:none;line-height:1.3;background:#fff;}
.tw-info-btn em{display:block;font-size:10px;font-weight:400;color:#888;margin-top:2px;font-style:normal;}
.tw-header{padding:12px 16px;background:#f7f9ff;border-bottom:1px solid #e5e7eb;}
.tw-progress-bar-wrap{height:5px;background:#e0e0e0;border-radius:3px;overflow:hidden;margin-bottom:6px;}
.tw-progress-fill{height:100%;background:#3b82f6;border-radius:3px;transition:width .5s ease;}
.tw-progress-label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#666;}
.tw-reset-btn{font-size:11px;color:#999;background:none;border:1px solid #ddd;border-radius:4px;padding:2px 8px;cursor:pointer;}
.tw-status{padding:10px 16px;font-size:13px;color:#2d3a6e;background:#f0f4ff;border-bottom:1px solid #dde4f5;}
.tw-spot-area{padding:16px;}
.tw-searching{text-align:center;padding:40px 20px;color:#888;font-size:14px;}
.tw-loading{display:flex;justify-content:center;margin-top:20px;}
.tw-loading i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#3b82f6;margin:0 3px;animation:tw-bounce .8s infinite alternate;}
.tw-loading i:nth-child(2){animation-delay:.1s;}
.tw-loading i:nth-child(3){animation-delay:.2s;}
.tw-loading i:nth-child(4){animation-delay:.3s;}
.tw-loading i:nth-child(5){animation-delay:.4s;}
.tw-loading i:nth-child(6){animation-delay:.5s;}
@keyframes tw-bounce{from{transform:translateY(0);}to{transform:translateY(-10px);opacity:.5;}}
.tw-spot-content{background:#fff;border-radius:12px;border:1px solid #e5e7eb;overflow:hidden;padding-top:20px;}
.tw-arrived-banner{background:#d4edda;border:1px solid #a8d5b5;border-radius:10px;padding:12px 14px;margin-bottom:12px;font-size:14px;color:#155724;}
.tw-login-required{background:#fff8e1;border:1px solid #ffe082;border-radius:10px;padding:16px;text-align:center;}
.tw-login-required h3{font-size:16px;margin:0 0 8px;}
.tw-login-required p{font-size:13px;color:#666;margin:0 0 12px;}
.tw-login-btn{display:inline-block;padding:10px 20px;background:#1a7a4a;color:#fff;border-radius:8px;text-decoration:none;font-size:14px;font-weight:600;}
.tw-courses-wrap{padding:0 16px 20px;}
.tw-map-wrap{padding:0 16px 16px;}
#tw-map{height:280px;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;}
.tw-list-wrap{padding:0 16px 24px;}
.tw-list-title{font-size:12px;color:#888;margin-bottom:8px;}
.tw-list-card{display:flex;justify-content:space-between;gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;margin-bottom:8px;cursor:pointer;}
.tw-list-card.reached{background:#f0fff4;border-color:#a8d5b5;}
.tw-list-card.nearby{background:#fffbea;border-color:#f5c842;}
.tw-list-name{font-size:14px;font-weight:600;color:#111827;}
.tw-list-meta{font-size:11px;color:#6b7280;margin-top:4px;}
.tw-list-dist{font-size:12px;color:#6b7280;white-space:nowrap;} 





/*/////////////////////////////////////////////////////////*/
/*　進捗情報*/
/*/////////////////////////////////////////////////////////*/

#tml-wrap{max-width:480px;margin:0 auto;padding:0 16px 24px;font-family:sans-serif;}
.tml-head{padding:14px 16px;background:#f7f9ff;border-radius:12px;margin:12px 0;}
.tml-progress{font-size:22px;font-weight:700;color:#111827;margin-bottom:6px;}
#tml-count{color:#2563eb;}
.tml-label{font-size:13px;font-weight:400;color:#6b7280;margin-left:6px;}
.tml-bar{height:6px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin-bottom:8px;}
#tml-bar-fill{height:100%;width:0%;background:#2563eb;transition:width .3s ease;}
.tml-gps{display:flex;align-items:center;gap:6px;font-size:12px;color:#6b7280;}
#tml-gps-dot{width:8px;height:8px;border-radius:50%;background:#9ca3af;display:inline-block;}
#tml-gps-dot.ok{background:#22c55e;}
#tml-gps-dot.err{background:#ef4444;}
#tml-map{height:320px;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;margin-bottom:14px;}
.tml-list-title{
	font-size:12px;
	color:#fff !important;
	margin-bottom:8px;}

.tml-card{display:block;padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;margin-bottom:10px;}
.tml-card.reached{background:#f0fff4;border-color:#a7d7b4;}
.tml-card.nearby{background:#fffbea;border-color:#f4d35e;}
.tml-row-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;}
.tml-name{font-size:14px;font-weight:600;color:#111827;}
.tml-meta{font-size:11px;color:#6b7280;margin-top:4px;}
.tml-dist{font-size:12px;color:#6b7280;white-space:nowrap;}
.tml-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;}
.tml-btn{display:inline-block;padding:8px 12px;border-radius:8px;text-decoration:none;font-size:12px;font-weight:600;line-height:1.2;}
.tml-btn-map{background:#eef2ff;color:#3730a3;}
.tml-btn-ar{background:#ecfdf5;color:#166534;}
.tml-btn-lesson{background:#eff6ff;color:#1d4ed8;}
.tml-btn-disabled{background:#f3f4f6;color:#9ca3af;pointer-events:none;}
.tml-debug-box{margin-top:10px;font-size:11px;color:#888;}
#tml-debug{background:#f5f5f5;border-radius:6px;padding:8px;max-height:160px;overflow:auto;font-size:11px;}

#tml-wrap{max-width:480px;margin:0 auto;padding:0 16px 24px;font-family:sans-serif;}
.tml-head{padding:14px 16px;background:#f7f9ff;border-radius:12px;margin:12px 0;}
.tml-progress{font-size:22px;font-weight:700;color:#111827;margin-bottom:6px;}
#tml-count{color:#2563eb;}
.tml-label{font-size:13px;font-weight:400;color:#6b7280;margin-left:6px;}
.tml-bar{height:6px;background:#e5e7eb;border-radius:999px;overflow:hidden;margin-bottom:8px;}
#tml-bar-fill{height:100%;width:0%;background:#2563eb;transition:width .3s ease;}
.tml-gps{display:flex;align-items:center;gap:6px;font-size:12px;color:#6b7280;}
#tml-gps-dot{width:8px;height:8px;border-radius:50%;background:#9ca3af;display:inline-block;}
#tml-gps-dot.ok{background:#22c55e;}
#tml-gps-dot.err{background:#ef4444;}
.tml-filter-wrap{margin-bottom:14px;}
.tml-filter-label{display:block;font-size:12px;color:#fff;margin-bottom:6px;}
.tml-filter-select{width:100%;padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;background:#fff;color:#111827;}
#tml-map{height:320px;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;margin-bottom:14px;}
.tml-list-title{font-size:12px;color:#888;margin-bottom:8px;}
.tml-card{display:block;padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;margin-bottom:10px;}
.tml-card.reached{background:#f0fff4;border-color:#a7d7b4;}
.tml-card.nearby{background:#fffbea;border-color:#f4d35e;}
.tml-card.tml-hidden{display:none;}
.tml-row-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;}
.tml-name{font-size:14px;font-weight:600;color:#111827;}
.tml-meta{font-size:11px;color:#6b7280;margin-top:4px;}
.tml-dist{font-size:12px;color:#6b7280;white-space:nowrap;}
.tml-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap;}
.tml-btn{display:inline-block;padding:8px 12px;border-radius:8px;text-decoration:none;font-size:12px;font-weight:600;line-height:1.2;}
.tml-btn-map{background:#eef2ff;color:#3730a3;}
.tml-btn-ar{background:#ecfdf5;color:#166534;}
.tml-btn-lesson{background:#eff6ff;color:#1d4ed8;}
.tml-btn-disabled{background:#f3f4f6;color:#9ca3af;pointer-events:none;}

/*スポットリスト　カードの中のレイアウト*/
.tml-card-inner{display:flex;gap:12px;align-items:flex-start;}
.tml-thumb{width:100px;height:100px;object-fit:cover;border-radius:8px;flex-shrink:0;}
.tml-card-body{flex:1;min-width:0;}