/* ===== Color Palette ===== */
/* Navy:  #1a4fa0  |  Orange: #e8820c  |  White: #fff */

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 20px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', 'Yu Gothic', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ===== Layout ===== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Main Content ===== */
main {
  padding: 44px 0 60px;
}

/* ===== Page Hero ===== */
.page-hero {
  background: #f5f7fa;
  border-bottom: 3px solid #e8820c;
  padding: 36px 0 28px;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.0rem;
  font-weight: 700;
  color: #1a4fa0;
  letter-spacing: 0.04em;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid #e8820c;
}

.page-hero p {
  margin-top: 10px;
  color: #666;
  font-size: 0.9rem;
}

/* ===== Section ===== */
.section {
  margin-top: 40px;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a4fa0;
  border-left: 4px solid #e8820c;
  padding-left: 12px;
  margin-bottom: 16px;
}

/* ===== Card Grid ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  background: #f5f7fa;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(26,79,160,0.12);
}

.card a {
  display: block;
}

.card .card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a4fa0;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* ===== Table ===== */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.info-table th,
.info-table td {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  background: #f5f7fa;
  font-weight: 600;
  width: 30%;
  color: #1a4fa0;
  white-space: nowrap;
}

/* ===== Check List ===== */
.check-list {
  margin-top: 8px;
}

.check-list li {
  padding: 6px 0 6px 28px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.92rem;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #e8820c;
  font-weight: 700;
}

/* ===== Step List ===== */
.step-list {
  counter-reset: step;
  margin-top: 8px;
}

.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.92rem;
}

.step-list li::before {
  counter-increment: step;
  content: counter(step);
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1a4fa0;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: #e8820c;
  color: #fff;
  text-align: center;
  padding: 36px 24px;
  margin-top: 52px;
}

.cta-banner h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.cta-banner p {
  font-size: 0.88rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: #fff;
  color: #1a4fa0;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 36px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.btn:hover {
  background: #f5f5f5;
}

.btn-primary {
  background: #e8820c;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 14px 40px;
  border-radius: 4px;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: #cc6f00;
}

/* ===== Footer ===== */
footer {
  background: #1a2a4a;
  color: #aab8d0;
  text-align: center;
  padding: 32px 24px;
  font-size: 0.8rem;
}

footer .footer-name {
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 4px;
}

footer a {
  color: #aab8d0;
}

footer a:hover {
  color: #fff;
}

/* ===== Price Table ===== */
.price-section {
  background: #fff8f0 !important;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin-top: 8px;
}

.price-table th,
.price-table td {
  padding: 10px 14px;
  border: 1px solid #ffc68a;
  text-align: left;
  vertical-align: middle;
}

.price-table thead th {
  background: #e8820c;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.price-table tbody tr:nth-child(even) {
  background: #fff0e0;
}

.price-table tbody tr:nth-child(odd) {
  background: #fff;
}

.price-table td:nth-child(2),
.price-table td:nth-child(3) {
  white-space: nowrap;
  font-weight: 600;
  color: #a05000;
}

.price-notes {
  margin-top: 14px;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.8;
}

.price-notes p::before {
  content: '※ ';
}

/* ===== Section with Side Image ===== */
.section-with-image {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.section-with-image .section-text {
  flex: 1;
  min-width: 0;
}

.section-with-image .section-img {
  flex-shrink: 0;
  width: 360px;
}

.section-with-image .section-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* ===== Business Page Layout (page-main) ===== */
main.page-main {
  padding: 0;
}

main.page-main .section {
  margin-top: 0;
  padding: 40px 0;
}

main.page-main .section:nth-child(odd) {
  background: #fff;
}

main.page-main .section:nth-child(even) {
  background: #f0f4fa;
}

main.page-main + .cta-banner {
  margin-top: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section-with-image .section-img {
    display: none;
  }
}

@media (max-width: 640px) {
  .page-hero h1 {
    font-size: 1.45rem;
  }

  main {
    padding: 32px 0 48px;
  }

  .info-table th {
    width: 38%;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}
