@charset "utf-8";

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",sans-serif;
  background:linear-gradient(135deg,#0b1020 0%,#121935 50%,#1a2452 100%);
  color:#222;
}

a{ text-decoration:none; }

.container{
  width:92%;
  max-width:1280px;
  margin:0 auto;
  padding:26px 0 60px;
}

.toplink{
  display:inline-block;
  color:#fff;
  font-weight:bold;
  margin-bottom:16px;
}

.hero{
  background:linear-gradient(135deg,rgba(72,98,255,.96),rgba(142,66,255,.96));
  color:#fff;
  border-radius:26px;
  padding:34px 28px;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
  margin-bottom:24px;
}

.hero h1{
  margin:0 0 10px;
  font-size:34px;
}

.hero p{
  margin:8px 0;
  line-height:1.8;
}

.hero-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.btn{
  display:inline-block;
  border:none;
  cursor:pointer;
  padding:12px 18px;
  border-radius:12px;
  font-weight:bold;
  font-size:14px;
}

.btn-primary{
  background:#fff;
  color:#2636b3;
}

.btn-outline{
  background:transparent;
  border:1px solid rgba(255,255,255,.45);
  color:#fff;
}

.btn-dark{
  background:#1b2553;
  color:#fff;
}

.card{
  background:#fff;
  border-radius:22px;
  padding:24px;
  margin-bottom:22px;
  box-shadow:0 14px 32px rgba(0,0,0,.16);
}

.card h2{
  margin:0 0 14px;
  color:#182559;
  font-size:25px;
}

.card h3{
  margin:0 0 10px;
  color:#27346c;
}

.grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.grid-3{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:18px;
}

.feature-box{
  background:#f7f8ff;
  border:1px solid #e0e5ff;
  border-radius:16px;
  padding:18px;
}

.notice{
  background:#eef5ff;
  border-left:5px solid #557dff;
  padding:14px 16px;
  border-radius:10px;
  line-height:1.8;
  color:#33436d;
  margin-bottom:16px;
}

.notice.ok{
  background:#eefbf1;
  border-left-color:#1ea85d;
}

.notice.ng{
  background:#fff1f1;
  border-left-color:#d44;
}

.form-table{
  width:100%;
  border-collapse:collapse;
}

.form-table th,.form-table td{
  border-bottom:1px solid #e7ebf6;
  padding:12px;
  vertical-align:top;
}

.form-table th{
  width:230px;
  text-align:left;
  background:#f8faff;
  color:#24315f;
}

input[type="text"], textarea, select{
  width:100%;
  border:1px solid #cfd7ea;
  border-radius:12px;
  padding:12px 14px;
  font-size:15px;
  background:#fff;
}

textarea{
  min-height:90px;
  resize:vertical;
}

.submit-wrap{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.result-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:18px;
}

.keyword-box{
  background:#f8f9ff;
  border:1px solid #dde3ff;
  border-radius:16px;
  padding:18px;
}

.keyword-box ul{
  margin:0;
  padding-left:20px;
}

.keyword-box li{
  margin-bottom:8px;
  line-height:1.7;
}

.copy-area{
  background:#0f1530;
  color:#fff;
  border-radius:16px;
  padding:18px;
  white-space:pre-wrap;
  line-height:1.8;
  font-size:14px;
}

.table-list{
  width:100%;
  border-collapse:collapse;
}

.table-list th,.table-list td{
  border-bottom:1px solid #ebeff8;
  padding:12px;
  text-align:left;
}

.table-list th{
  background:#f8faff;
  color:#24315f;
}

.badge{
  display:inline-block;
  background:#e8edff;
  color:#3346a5;
  border-radius:999px;
  padding:5px 10px;
  font-size:12px;
  font-weight:bold;
  margin:0 6px 6px 0;
}

.small{
  font-size:13px;
  color:#6d7897;
}

.action-links a{
  margin-right:12px;
  color:#3249d0;
  font-weight:bold;
}

.footer-note{
  text-align:center;
  color:#d4dbff;
  margin-top:26px;
  font-size:13px;
}

@media(max-width:980px){
  .grid-2,.grid-3,.result-grid{
    grid-template-columns:1fr;
  }
  .form-table th,.form-table td{
    display:block;
    width:100%;
  }
}
