/* Basic clean review-friendly theme */
:root{
  --bg:#ffffff;
  --fg:#222;
  --muted:#666;
  --brand:#1e66f5;
  --brand-weak:#ebf2ff;
  --border:#e6e8eb;
  --card:#fff;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--fg);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;line-height:1.7}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:980px;margin:0 auto;padding:0 16px}
.header{border-bottom:1px solid var(--border);background:#fff;position:sticky;top:0;z-index:30}
.header .wrap{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:12px 0}
.site-title{font-weight:800;font-size:20px;letter-spacing:0.2px}
nav ul{display:flex;gap:14px;list-style:none;margin:0;padding:0;font-weight:600}
.hero{padding:28px 0 10px}
.hero h1{font-size:28px;margin:0 0 6px}
.hero p{color:var(--muted);margin:0}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0 32px}
@media(max-width:880px){.grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.grid{grid-template-columns:1fr}}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px;box-shadow:0 1px 0 rgba(0,0,0,.03)}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0 0 10px;color:var(--muted)}
.meta{font-size:12px;color:var(--muted);margin-top:8px}
.footer{border-top:1px solid var(--border);padding:18px 0;margin-top:28px;color:var(--muted);font-size:13px}
.btn{display:inline-block;background:var(--brand);color:#fff;padding:10px 14px;border-radius:10px;border:0;font-weight:700}
.btn-ghost{display:inline-block;background:var(--brand-weak);color:var(--brand);padding:8px 12px;border-radius:10px;border:1px solid var(--brand)}
main article{background:#fff;border:1px solid var(--border);border-radius:16px;padding:18px;margin:18px 0}
main h1{font-size:24px;margin-top:0}
main h2{font-size:18px;margin-top:26px}
blockquote{border-left:4px solid var(--brand);padding-left:12px;color:#333;background:#fafcff}
table{width:100%;border-collapse:collapse;margin:10px 0 16px}
th,td{border:1px solid var(--border);padding:8px;text-align:left}
input,textarea{width:100%;padding:10px;border:1px solid var(--border);border-radius:10px}
label{font-weight:600}
form .row{display:grid;gap:12px}
@media(min-width:700px){form .row{grid-template-columns:1fr 1fr}}
.alert{background:#f6ffed;border:1px solid #b7eb8f;border-radius:10px;padding:10px;color:#135200;margin:10px 0}
.warning{background:#fffbe6;border:1px solid #ffe58f;border-radius:10px;padding:10px;color:#613400;margin:10px 0}
.code{font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;background:#f7f7f8;border:1px solid var(--border);border-radius:8px;padding:8px}

.post {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  padding: 24px;
  margin-top: 20px;
}
.post-header h1 {
  font-size: 22px;
  color: #0078ff;
  margin-bottom: 8px;
}
.post .meta {
  color: #777;
  font-size: 13px;
  margin-bottom: 20px;
}
.post .content p {
  margin-bottom: 1.2em;
}
.share {
  border-top: 1px solid #eee;
  margin-top: 30px;
  padding-top: 20px;
}
.share p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #555;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-btn {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
}
.share-btn.twitter { background:#1da1f2; }
.share-btn.facebook { background:#3b5998; }
.share-btn.line { background:#06c755; }

.like-section {
  border-top: 1px solid #eee;
  margin-top: 30px;
  padding-top: 20px;
  text-align:center;
}
.like-btn {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s ease;
}
.like-btn:hover {
  background:#0078ff;
  color:#fff;
}
#ad-area {
  margin-top: 40px;
  text-align: center;
  color: #999;
}

/* === Article Page === */
.post {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 24px;
  margin-top: 20px;
}
.post-header h1 {
  font-size: 22px;
  color: #0078ff;
  margin-bottom: 8px;
  line-height: 1.4;
}
.post .meta {
  color: #777;
  font-size: 13px;
  margin-bottom: 20px;
}
.post .content p {
  margin-bottom: 1.2em;
  line-height: 1.8;
  color: #333;
}

/* === Share Buttons === */
.share {
  border-top: 1px solid #eee;
  margin-top: 30px;
  padding-top: 20px;
}
.share p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #555;
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.share-btn {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: opacity .2s;
}
.share-btn:hover { opacity: 0.8; }
.share-btn.twitter { background:#1da1f2; }
.share-btn.facebook { background:#3b5998; }
.share-btn.line { background:#06c755; }

/* === Like Section === */
.like-section {
  border-top: 1px solid #eee;
  margin-top: 30px;
  padding-top: 20px;
  text-align:center;
}
.like-btn {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  transition: all .2s ease;
}
.like-btn:hover {
  background:#0078ff;
  color:#fff;
}

/* === Related Articles === */
.related {
  border-top: 1px solid #eee;
  margin-top: 40px;
  padding-top: 20px;
}
.related h3 {
  font-size: 17px;
  color: #0078ff;
  margin-bottom: 10px;
}
.related ul {
  list-style: none;
  padding: 0;
}
.related li {
  margin-bottom: 6px;
}
.related a {
  color: #333;
  text-decoration: none;
}
.related a:hover {
  text-decoration: underline;
}

/* === Ad Area Placeholder === */
.ad-area {
  margin-top: 40px;
  text-align: center;
  color: #999;
  font-size: 13px;
  border-top: 1px dashed #ddd;
  padding-top: 20px;
}

@media (max-width: 600px) {
  .post-header h1 { font-size: 19px; }
  .post { padding: 18px; }
}

/* === Footer === */
footer {
  text-align: center;
  padding: 40px 0 30px;
  background: #fafafa;
  color: #777;
  font-size: 13px;
  border-top: 1px solid #e5e5e5;
  margin-top: 60px;
}

footer a {
  color: #555;          /* ← 青をグレーに変更 */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
footer a:hover {
  text-decoration: underline;
}

footer .footer-nav {
  margin-bottom: 10px;
}

footer .footer-nav a {
  margin: 0 8px;
  font-size: 14px;
}

@media (max-width: 600px) {
  footer {
    font-size: 12px;
    padding: 30px 0 20px;
  }
}

/* === join.php 専用スタイル === */
.join-page {
  max-width: 700px;
  margin: 40px auto;
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
}
.join-page h2 {
  color: #ff9800;
  margin-bottom: 20px;
}
.join-page .lead {
  font-size: 0.95em;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.8;
}
.notice-box {
  text-align: left;
  background: #fffbe5;
  border: 1px solid #ffe082;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 25px;
}
.notice-box h3 {
  color: #f57c00;
  margin-top: 0;
}
.notice-box ul {
  padding-left: 20px;
  margin: 10px 0;
}
.notice-box li {
  font-size: 0.9em;
  margin-bottom: 8px;
}
.ad-banner {
  display: flex;
  justify-content: center;
  margin: 25px auto;
}
.subtext {
  font-size: 0.9em;
  color: #555;
  margin-top: 25px;
  line-height: 1.6;
}

body {
  background: linear-gradient(180deg, #000814 0%, #001d3d 100%);
  color: #e8f1ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

.container {
  max-width: 480px;
  margin: 40px auto;
  padding: 0 16px;
}

.join-card {
  background: rgba(0, 30, 60, 0.7);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 224, 255, 0.3);
  padding: 25px;
  text-align: center;
}

.join-card h1 {
  font-size: 24px;
  color: #00e0ff;
  margin-bottom: 12px;
}

.intro {
  font-size: 15px;
  color: #cfeaff;
  line-height: 1.8;
  margin-bottom: 20px;
}

.notice-box {
  background: rgba(0, 45, 80, 0.4);
  border-radius: 10px;
  padding: 15px;
  text-align: left;
  margin-bottom: 25px;
}
.notice-box h2 {
  font-size: 17px;
  color: #00e0ff;
  margin-bottom: 8px;
}
.notice-box li {
  font-size: 14px;
  margin-bottom: 6px;
  color: #dceaff;
}

/* 💡完全無料強調セクション */
.free-highlight {
  background: rgba(0, 224, 255, 0.1);
  border: 1px solid #00e0ff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  margin: 20px 0 25px;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.2);
}
.free-highlight strong {
  color: #00e0ff;
}

.guide {
  font-weight: bold;
  font-size: 15px;
  color: #aeefff;
  margin-top: 20px;
  margin-bottom: 15px;
}

.ad-banner {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.after-text {
  font-size: 14px;
  color: #9cd9ff;
  margin-top: 25px;
  line-height: 1.7;
}

a.btn {
  display: inline-block;
  background: linear-gradient(90deg, #0077ff, #00e0ff);
  border: none;
  border-radius: 999px;
  padding: 18px 60px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  margin-top: 25px;
  transition: opacity 0.2s ease;
}
a.btn:hover { opacity: 0.9; }

.free-highlight {
  background: rgba(0, 224, 255, 0.1);
  border: 1px solid #00e0ff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  margin: 20px 0 25px;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.2);
}
.free-highlight strong {
  color: #00e0ff;
}
html {
  background: linear-gradient(180deg, #000814 0%, #001d3d 100%) fixed;
  min-height: 100%;
}

body {
  background: transparent; /* ← htmlのグラデを透かして使う */
  color: #e8f1ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}
html, body {
  height: 100%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}


body {
  background: linear-gradient(180deg, #000814 0%, #001d3d 100%);
  background-attachment: fixed;   /* ← スクロールしても固定 */
  background-repeat: no-repeat;
  background-size: cover;         /* ← 高さを自動で全域に伸ばす */
  min-height: 100vh;              /* ← 常に全画面カバー */
  color: #e8f1ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}
