/* ===== Reset（最低限） ===== */
body, h1, h2, h3, p, ul, li, a {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  color: inherit;
  font-family: "Noto Sans JP", sans-serif;
}

/* ===== Base ===== */
body {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fafafa;
}

/* ===== Layout ===== */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: 700;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 1.8rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 15px;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 12px; /* ← 角丸 */
}

/* ===== Header（ヒーロー） ===== */
header {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #4f8dfd, #6aa8ff);
  color: #fff;
}

header h1 {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

header .btn {
  display: inline-block;
  margin: 15px 10px 0;
  padding: 14px 28px;
  background: #fff;
  color: #4f8dfd;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.2s;
  font-size: 1rem;
}

header .btn:hover {
  background: #e8f0ff;
}

/* ===== Features（特徴） ===== */
.features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.feature {
  flex: 1;
  min-width: 260px;
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
}

/* ===== Steps（3ステップ） ===== */
.steps .step {
  background: #fff;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid #4f8dfd;
  border-radius: 6px;
}

/* ===== Table（比較表） ===== */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

table th, table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: center;
}

table th {
  background: #f0f4ff;
  font-weight: bold;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  background: #4f8dfd;
  color: #fff;
  padding: 80px 20px;
  border-radius: 10px;
}

.cta h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.cta .btn {
  background: #fff;
  color: #4f8dfd;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  margin: 10px;
  font-size: 1rem;
}

.cta .btn:hover {
  background: #e8f0ff;
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 0.9rem;
}

/* ===== iframe対応 ===== */
iframe {
  width: 100%;
  border: none;
}

/* ===== スマホ最適化 ===== */
@media (max-width: 768px) {

  body {
    font-size: 16px;
  }

  header {
    padding: 60px 15px;
  }

  header h1 {
    font-size: 1.8rem;
  }

  header p {
    font-size: 0.95rem;
  }
    .header-right {
    position: static;
    text-align: center;
    margin-bottom: 20px;
  }

  section {
    padding: 40px 15px;
  }

  h2 {
    font-size: 1.5rem;
  }

  .feature {
    padding: 18px;
  }

  .cta {
    padding: 60px 15px;
  }

  table th, table td {
    font-size: 0.9rem;
    padding: 8px;
  }

  header .btn,
  .cta .btn {
    width: 100%;
    max-width: 300px;
  }

}
.logo-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.logo-area img {
  height: 60px;
  width: auto;
  border-radius: 12px;
}

.logo-text {
  font-size: 28px;
  font-weight: 600;
  color: #222;
}


footer a {
  font-size: 1.2em; /* ← 1.5倍 */
}

.footer-links a {
  margin: 0 8px;
  position: relative;
}

.footer-links a:not(:last-child)::after {
  content: "|";
  margin-left: 8px;
  color: #666;
}

.header-right {
  position: absolute;
  top: 20px;
  right: 20px;
}

.header-right .login-link {
  display: inline-block;
  padding: 10px 24px;
  border: 2px solid #fff; /* ← CTA と同じ白枠 */
  color: #fff;            /* ← CTA と同じ白文字 */
  background: transparent;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.95rem;
  transition: 0.2s;
}

.header-right .login-link:hover {
  background: rgba(255,255,255,0.2);
}

/* ヒーローセクション（青背景） */
.hero {
    background: #007bff;
    color: #fff;
    text-align: center;
    padding: 60px 20px; /* ← これで巨大にならない */
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    margin: 5px 0;
}

.hero-buttons {
    margin-top: 20px;
}

.hero .btn {
    margin: 10px;
}

.btn-light {
    background: #fff;
    color: #007bff;
}

.site-footer {
    background: #f5f6fa;
    padding: 40px 20px;
    text-align: center;
    color: #555;
    margin-top: 60px;
    border-top: 1px solid #e0e0e0;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 10px;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-image img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 6px;
}

.footer-copy {
    font-weight: bold;
    margin-top: 10px;
}

.footer-desc {
    font-size: 14px;
    color: #777;
}
.header-right .register-link {
    padding: 8px 16px;
    background: #28a745; /* 緑で目立たせる */
    color: #fff !important;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 10px;
}

.header-right .register-link:hover {
    background: #218838;
}
