/* ===== Base ===== */
body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  color: #111;
  background: #fafafa;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* ===== Header ===== */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-weight: 700;
  text-decoration: none;
  color: #111;
}

.nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav a {
  text-decoration: none;
  color: #555;
}

.nav .active a {
  color: #000;
  font-weight: 600;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, #ffffff, #eef2ff);
  padding: 160px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  color: #666;
  margin-bottom: 30px;
}

/* CTA */
.hero-cta {
  margin: 20px 0;
}

.btn-primary {
  background: #4f46e5;
  color: #fff;
  padding: 16px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(79,70,229,0.3);
  transition: 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  margin-left: 10px;
  padding: 16px 32px;
  border: 1px solid #ddd;
  border-radius: 10px;
  text-decoration: none;
  color: #333;
}

/* Trust */
.trust {
  margin-top: 20px;
  color: #777;
  font-size: 14px;
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
  margin-top: 80px;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.03);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* ===== Sections ===== */
.trust-section {
  text-align: center;
  margin-top: 60px;
}

.steps {
  margin-top: 80px;
}

.step {
  margin-bottom: 20px;
}

.locations ul {
  list-style: none;
  padding: 0;
}

.locations li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
  padding: 100px 20px;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 30px;
  color: #777;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {

  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
    flex-direction: column;
    padding: 20px;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 36px;
  }
}

/* ===== Upgrade Design ===== */

.hero {
  padding: 200px 20px;
}

.btn-primary {
  font-size: 18px;
  padding: 18px 40px;
}

section {
  margin-bottom: 80px;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* 左下の固定ボタン削除（完全版） */
body a {
  position: static !important;
}

/* ===== 最終仕上げ ===== */

.hero {
  padding: 160px 20px;
}

.steps {
  text-align: center;
}

.step {
  margin-bottom: 30px;
}

.card {
  padding: 40px;
}

/* ===== Flow Design ===== */

.flow {
  margin-top: 80px;
}

.flow-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.flow-text {
  max-width: 70%;
}

.flow-item img {
  width: 80px;
  opacity: 0.8;
}

.flow-arrow {
  text-align: center;
  font-size: 24px;
  margin: 10px 0;
  color: #888;
}

@media (max-width:768px){
  .flow-item {
    flex-direction: column;
    text-align: center;
  }

  .flow-text {
    max-width: 100%;
  }

  .flow-item img {
    margin-top: 15px;
  }
}

.flow-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  margin: 20px auto;
  border-radius: 50%;
  background: #4f46e5;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 10px 20px rgba(79,70,229,0.3);
}

.flow-arrow {
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== スマホ修正 ===== */

.flow-item img {
  max-width: 100%;
  height: auto;
}

@media (max-width:768px){

  .flow-item {
    flex-direction: column;
    text-align: center;
  }

  .flow-item img {
    width: 120px;
    margin-top: 15px;
  }

}

/* ===== スマホでボタン崩れ修正 ===== */

@media (max-width:768px){

  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .hero-cta a {
    width: 80%;
    text-align: center;
  }

}

.hero-cta a {
  padding: 16px;
  font-size: 16px;
}

/* ===== ヒーロー画像設定 ===== */

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
}

/* 画像を少し暗くして文字を見やすく */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* ===== 文字を見やすくする ===== */

.hero h1,
.hero p,
.hero .trust {
  color: #ffffff;
}

/* 背景を暗くする */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* 文字を前に出す */
.hero .container {
  position: relative;
  z-index: 2;
}

/* ===== ヒーロー内すべて白にする ===== */

.hero,
.hero h1,
.hero p,
.hero .trust,
.hero .trust span {
  color: #ffffff;
}

/* ✔マークも白に */
.hero .trust {
  color: #ffffff;
}

/* How It Worksボタン（枠付き） */
.btn-secondary {
  color: #ffffff;
  border: 1px solid #ffffff;
}

/* ボタンの中の文字 */
.btn-secondary:hover {
  color: #ffffff;
}

/* ✔を自動で付ける（白で） */
.hero .trust span {
  display: inline-block;
  margin-right: 15px;
  color: #fff;
  position: relative;
  padding-left: 22px;
}

/* ✔アイコン生成 */
.hero .trust span::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
}

/* ===== trustテキスト改善 ===== */

.hero .trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 20px;
  font-size: 16px;
}

.hero .trust span {
  white-space: nowrap;
}

.hero .trust {
  font-size: 14px;
  opacity: 0.9;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo {
  display: flex;
  align-items: center;
}

/* ===== メニュー修正 ===== */

.nav ul {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  display: inline-block;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
}

.nav a:hover {
  color: #4f46e5;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
  margin: 40px 0;
}

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-card h2 {
  margin-bottom: 10px;
}

.service-cta {
  text-align: center;
  margin: 60px 0;
}

.service-cta .btn-primary {
  background: #6c5ce7;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
}

.service-hero {
  text-align: center;
  margin: 60px 0 30px;
}

.service-hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
  margin: 40px 0;
}

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-area,
.service-pricing {
  margin: 60px 0;
}

.service-area ul,
.service-pricing ul {
  margin-top: 10px;
  padding-left: 20px;
}

.service-cta {
  text-align: center;
  margin: 60px 0;
}

.service-cta .btn-primary {
  background: #6c5ce7;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
}

/* ===== Services Improve ===== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* カードを大きく */
.service-list {
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 30px;
}

/* カード強化 */
.service-card {
  padding: 25px;
  border-radius: 16px;
}

/* タイトル強く */
.service-card h2 {
  font-size: 22px;
}

/* セクション余白 */
.service-area,
.service-pricing {
  margin-top: 80px;
}

/* CTA強化 */
.service-cta {
  margin-top: 100px;
}

/* ===== 全体スケールUP ===== */

body {
  font-size: 18px;
}

h1 {
  font-size: 40px;
}

h2 {
  font-size: 26px;
}

/* ヒーロー */
.service-hero {
  margin: 80px 0 50px;
}

/* カードを大きく */
.service-card {
  padding: 30px;
}

/* CTA強化 */
.service-cta h2 {
  font-size: 30px;
}

.service-proof {
  margin-top: 80px;
}

.service-proof-box {
  margin-top: 20px;
  background: #f8f9ff;
  padding: 20px;
  border-radius: 10px;
}

.service-trust {
  margin-top: 80px;
}

.service-trust ul {
  margin-top: 15px;
  padding-left: 20px;
}

/* ===== 全体スケール改善 ===== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* タイトル */
.service-hero h1 {
  font-size: 42px;
}

.service-hero p {
  font-size: 18px;
}

/* カード強化 */
.service-list {
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 30px;
}

.service-card {
  padding: 30px;
}

/* セクション余白 */
.service-proof,
.service-area,
.service-pricing,
.service-trust {
  margin-top: 100px;
}

/* CTA */
.service-cta {
  margin-top: 120px;
}

.service-cta h2 {
  font-size: 32px;
}

.service-top-cta {
  display: inline-block;
  margin-top: 20px;
}

/* ヒーロー */
.how-hero {
  text-align: center;
  margin-bottom: 60px;
}

.how-hero h1 {
  font-size: 36px;
}

.how-hero p {
  font-size: 18px;
  margin-top: 10px;
}

.how-top-cta {
  display: inline-block;
  margin-top: 20px;
}


/* ステップ */
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.step-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-number {
  font-size: 24px;
  font-weight: bold;
  color: #4f46e5;
  margin-bottom: 10px;
}


/* セクション共通 */
.how-pricing,
.how-trust {
  margin-top: 60px;
}

.how-pricing ul,
.how-trust ul {
  margin-top: 10px;
  padding-left: 20px;
}


/* CTA */
.how-cta {
  text-align: center;
  margin-top: 80px;
}

.how-cta h2 {
  font-size: 28px;
}

.how-cta p {
  margin: 10px 0 20px;
}

.pricing-hero {
  text-align: center;
  margin-bottom: 40px;
}

.pricing-hero h1 {
  font-size: 36px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.pricing-table th {
  background: #f5f5f5;
  padding: 15px;
  text-align: left;
  font-weight: bold;
}

.pricing-table td {
  padding: 15px;
  border-top: 1px solid #eee;
}

.pricing-table tr:hover {
  background: #fafafa;
}

.pricing-note {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

.pricing-cta {
  text-align: center;
  margin-top: 60px;
}

.pricing-cta h2 {
  margin-bottom: 20px;
}

.pricing-info-box {
  background: #f7f7f7;
  padding: 25px;
  border-radius: 10px;
  margin-top: 40px;
}

.pricing-info-box h2 {
  margin-bottom: 15px;
}

.pricing-info-box ul {
  padding-left: 20px;
}

.pricing-info-box li {
  margin-bottom: 8px;
}

.note {
  font-size: 13px;
  color: #666;
  margin-top: 10px;
}

.company-hero {
  text-align: center;
  margin-bottom: 40px;
}

.company-hero h1 {
  font-size: 34px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.company-table th {
  width: 30%;
  background: #f5f5f5;
  padding: 15px;
  text-align: left;
}

.company-table td {
  padding: 15px;
  border-top: 1px solid #eee;
}

.company-services {
  margin-top: 50px;
}

.company-services ul {
  padding-left: 20px;
}

.company-services li {
  margin-bottom: 8px;
}

.company-cta {
  text-align: center;
  margin-top: 60px;
}

.company-license {
  margin-top: 50px;
  background: #f7f7f7;
  padding: 25px;
  border-radius: 10px;
}

.company-license h2 {
  margin-bottom: 10px;
}

/* スマホ対応（超重要） */
@media (max-width: 768px) {

  .how-steps {
    grid-template-columns: 1fr !important;
  }

  .step-card {
    padding: 20px;
  }

  .step-card h3 {
    font-size: 18px;
  }

  .step-card p {
    font-size: 14px;
  }

}

.step-card {
  border-radius: 12px;
  text-align: center;
}

/* フォーム全体 */
#form form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ラベル */
#form label {
  font-weight: 600;
  margin-bottom: 5px;
}

/* 入力欄 */
#form input,
#form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

/* テキストエリア */
#form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ボタン */
#form button {
  background: #5a54ff;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

#form button:hover {
  background: #4a45e0;
}

section.contact-trust-box {
  display: flex !important;
  gap: 20px !important;
}

section.contact-trust-box .trust-item {
  flex: 1 !important;
}

@media (max-width: 768px) {
  section.contact-trust-box {
    flex-direction: column !important;
  }
}