/* ------------------------------
   Base Theme (明るいポップ調)
------------------------------ */
body {
  margin: 0;
  background: #fafafa;
  color: #333;
  font-family: "Segoe UI", sans-serif;
}

/* ------------------------------
   Header
------------------------------ */
.header {
  text-align: center;
  padding: 40px 0 20px;
  background: white;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.main-title {
  margin: 0;
  font-size: 3rem;
  color: #ff6600;
  font-weight: 900;
}

.sub-title {
  margin-top: 6px;
  font-size: 1.1rem;
  color: #666;
}

/* Navigation */
.nav {
  margin-top: 20px;
}

.nav a {
  margin: 0 12px;
  color: #555;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: 0.2s;
}

.nav a:hover {
  background: #ffe6d5;
  color: #ff6600;
}

/* ------------------------------
   Main Wrapper
------------------------------ */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ------------------------------
   Sections
------------------------------ */
.section {
  margin: 60px auto;
}

.section-title {
  font-size: 1.6rem;
  color: #ff6600;
  margin-bottom: 20px;
}

/* ------------------------------
   Box (白カード)
------------------------------ */
.box {
  background: white;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Download Button */
.download-btn {
  display: inline-block;
  padding: 14px 24px;
  background: #ff6600;
  color: white;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.download-btn:hover {
  background: #cc4400;
}

/* ------------------------------
   Buttons
------------------------------ */
.submit-btn {
  background: #ff6600;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.submit-btn:hover {
  background: #cc4400;
}

.cancel-btn {
  background: #ccc;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  color: #333;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.cancel-btn:hover {
  background: #bbb;
}

/* ------------------------------
   Modal
------------------------------ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 900;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 400px;
  background: white;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 14px;
  transform: translate(-50%, -50%);
  z-index: 1000;
  color: #333;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hidden {
  display: none;
}

.footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #fff;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  opacity: 0.7;
}

.legal-links,
.social-links {
  margin-top: 10px;
}

.social-links .social-icon {
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

/* ------------------------------
   Fix: PayPal Donation Button
   （あなたのCSSに上書きされないように保護）
------------------------------ */

.pp-B9ES6HZQW329S {
  all: unset !important;
  display: inline-block !important;
  text-align: center !important;
  border: none !important;
  border-radius: 0.25rem !important;
  min-width: 11.625rem !important;
  padding: 0 2rem !important;
  height: 2.625rem !important;
  font-weight: bold !important;
  background-color: #FFD140 !important;
  color: #000000 !important;
  font-family: "Helvetica Neue", Arial, sans-serif !important;
  font-size: 1rem !important;
  line-height: 2.625rem !important;
  cursor: pointer !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15) !important;
}

.pp-B9ES6HZQW329S:hover {
  background-color: #ffcc00 !important;
}

.howto-image {
  width: 90%;
  max-width: 420px;   /* ← ここを調整 */
  display: block;
  margin: 15px auto 25px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.15);
}
