@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 14px;
  color: #333;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  padding: 40px 20px;
}

.site-header {
  border-bottom: 1px solid #ddd;
  text-align: center;
  padding: 12px 0 10px;
}

.site-header .site-logo {
  display: inline-block;
}

.site-header .site-logo img {
  height: 52px;
  width: auto;
  display: block;
}

.site-nav {
  background: #fff;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  height: 44px;
}

.site-nav .nav-brand {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.site-nav .nav-links {
  display: flex;
  gap: 24px;
}

.site-nav .nav-links a {
  font-size: 13px;
  color: #333;
  text-decoration: none;
}

.site-nav .nav-links a:hover {
  text-decoration: underline;
}

footer {
  border-top: 1px solid #ddd;
  padding: 20px;
  text-align: center;
  background: #fff;
}

footer .footer-company {
  font-size: 13px;
  color: #333;
  margin-bottom: 10px;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

footer .footer-links a {
  font-size: 12px;
  color: #333;
  text-decoration: none;
}

footer .footer-links a:hover {
  text-decoration: underline;
}

footer .footer-copy {
  font-size: 12px;
  background: #1b435d;
  color: #fff;
  padding: 10px;
  margin: 0 -20px -20px;
}

.btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 2px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  text-decoration: none;
}

.btn-primary {
  background: #3a8dbf;
  color: #fff;
}

.btn-primary:hover {
  background: #2d7aaa;
}

.btn-secondary {
  background: #888;
  color: #fff;
}

.btn-secondary:hover {
  background: #777;
}

.btn-submit {
  background: #3a8dbf;
  color: #fff;
  border: none;
  padding: 8px 24px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 2px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  text-decoration: none;
}

.btn-submit:hover {
  background: #2d7aaa;
}

.page-title {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #111;
}

.form-container {
  max-width: 760px;
  margin: 0 auto;
}

.form-note {
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.7;
}

.form-note a {
  color: #3a8dbf;
}

.form-required-note {
  color: #c00;
  font-size: 12px;
  margin-bottom: 24px;
}

.form-row {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.form-label {
  width: 180px;
  text-align: right;
  padding-right: 16px;
  font-size: 13px;
  flex-shrink: 0;
  color: #333;
}

.form-label .req {
  color: #c00;
  margin-left: 2px;
}

.form-control {
  flex: 1;
  max-width: 280px;
  height: 32px;
  border: 1px solid #bbb;
  padding: 4px 8px;
  font-size: 13px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  border-radius: 2px;
  outline: none;
}

.form-control:focus {
  border-color: #3a8dbf;
}

select.form-control {
  background: #fff;
  cursor: pointer;
}

.form-agree {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  padding-left: 196px;
  font-size: 13px;
}

.form-agree a {
  color: #3a8dbf;
}

.form-submit {
  padding-left: 196px;
}

.top-hero {
  max-width: 700px;
  margin: 0 auto 40px;
}

.top-hero img {
  width: 100%;
  max-width: 680px;
  display: block;
  margin: 0 auto;
}

.top-intro {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 13px;
  line-height: 1.8;
}

.top-intro p {
  margin-bottom: 4px;
}

.plan-cards {
  display: flex;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.plan-card {
  flex: 1;
  border: 1px solid #ccc;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.plan-card-title {
  text-align: center;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}

.plan-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 24px;
}

.plan-card ul li {
  font-size: 12px;
  line-height: 1.7;
  padding-left: 12px;
  position: relative;
  margin-bottom: 8px;
  color: #333;
}

.plan-card ul li::before {
  content: '・';
  position: absolute;
  left: 0;
}

.complete-box {
  max-width: 680px;
  margin: 0 auto;
  border: 1px solid #ccc;
  padding: 40px 36px;
  line-height: 2;
  font-size: 13px;
}

.payment-info-box {
  max-width: 660px;
  margin: 0 auto 32px;
  border: 1px solid #ccc;
  padding: 24px 28px;
  font-size: 13px;
  line-height: 1.9;
}

.payment-cards {
  display: flex;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.payment-card {
  flex: 1;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
}

.payment-card-head {
  background: #e8e8e8;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}

.payment-card-body {
  flex: 1;
  padding: 20px 20px 24px;
}

.payment-card-body ul {
  list-style: none;
}

.payment-card-body ul li {
  font-size: 12px;
  line-height: 1.8;
  padding-left: 12px;
  position: relative;
  color: #333;
  margin-bottom: 4px;
}

.payment-card-body ul li::before {
  content: '・';
  position: absolute;
  left: 0;
}

.payment-card-body ul li a {
  color: #3a8dbf;
}

.payment-card-foot {
  padding: 16px 20px;
  border-top: 1px solid #eee;
}

.cc-notes {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 13px;
  line-height: 1.9;
}

.cc-notes a {
  color: #3a8dbf;
}

.cc-divider {
  max-width: 760px;
  margin: 0 auto 28px;
  border: none;
  border-top: 1px solid #ddd;
}

.cc-form {
  max-width: 760px;
  margin: 0 auto;
}

.btn-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.btn-row .btn {
  width: 160px;
}

.invoice-notes {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 13px;
  line-height: 1.9;
}

.invoice-notes a {
  color: #3a8dbf;
}

.invoice-divider {
  max-width: 760px;
  margin: 0 auto 28px;
  border: none;
  border-top: 1px solid #ddd;
}

.invoice-plans {
  display: flex;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto 32px;
}

.invoice-plan {
  flex: 1;
  border: 1px solid #ccc;
}

.invoice-plan-head {
  background: #e8e8e8;
  text-align: center;
  padding: 12px;
  font-size: 13px;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
}

.invoice-plan-body {
  padding: 28px 20px 24px;
  text-align: center;
}

.invoice-price {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
}

.invoice-price span {
  font-size: 14px;
  font-weight: normal;
}

.back-row {
  text-align: center;
  margin-top: 8px;
}

.back-row .btn {
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  main {
    padding: 24px 16px;
  }
  .site-nav {
    flex-direction: column;
    height: auto;
    padding: 10px 16px;
    gap: 6px;
  }
  .site-nav .nav-links {
    width: 100%;
    justify-content: space-between;
  }
  .page-title {
    font-size: 18px;
    margin-bottom: 24px;
  }
  .form-row {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 12px;
  }
  .form-label {
    width: 100%;
    text-align: left;
    padding-right: 0;
    margin-bottom: 4px;
  }
  .form-control {
    width: 100%;
    max-width: 100%;
  }
  .form-agree {
    padding-left: 0;
  }
  .form-submit {
    padding-left: 0;
  }
  .form-submit .btn-submit {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
  }
  .plan-cards {
    flex-direction: column;
    gap: 16px;
  }
  .complete-box {
    padding: 24px 16px;
  }
  .payment-cards {
    flex-direction: column;
    gap: 16px;
  }
  .payment-info-box {
    padding: 16px;
  }
  .invoice-plans {
    flex-direction: column;
    gap: 16px;
  }
  .invoice-price {
    font-size: 20px;
  }
  .btn-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .btn-row .btn {
    width: 100%;
    max-width: 280px;
  }
  .footer-links {
    gap: 12px;
  }
}
