/* ===================================
   管理職のイロハ講座 LP — style.css
   =================================== */

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

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

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Meiryo", sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- Utility --- */
.container {
  width: 90%;
  max-width: 1040px;
  margin: 0 auto;
}

.highlight {
  color: #e8713a;
}

.required {
  background: #e8713a;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-align: center;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #e8713a, #f5a623);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 113, 58, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 113, 58, 0.45);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e8713a;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: #e8713a;
}

.btn-header {
  background: #e8713a;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem !important;
}

.btn-header:hover {
  background: #d4632e;
  color: #fff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, #fff7f0 0%, #fff 60%);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  max-width: 480px;
}

.hero-image img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.hero-label {
  display: inline-block;
  background: #fef0e5;
  color: #e8713a;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 24px;
  color: #222;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 2;
}

.hero-subtitle strong {
  color: #e8713a;
}

/* --- Section Common --- */
.section {
  padding: 80px 0;
}

.section-gray {
  background: #f9f7f5;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #222;
}

.section-title-white {
  color: #fff;
}

.section-lead {
  text-align: center;
  color: #666;
  margin-bottom: 48px;
  font-size: 1rem;
}

.section-lead-white {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Pain Section --- */
.pain-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.05rem;
}

.pain-item:last-child {
  border-bottom: none;
}

.pain-check {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #e8713a;
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

/* --- Card Grid (Solution) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card-grid-5 {
  grid-template-columns: repeat(6, 1fr);
}

.card-grid-5 .card:nth-child(1) { grid-column: 1 / 4; }
.card-grid-5 .card:nth-child(2) { grid-column: 4 / 7; }
.card-grid-5 .card:nth-child(3) { grid-column: 1 / 3; }
.card-grid-5 .card:nth-child(4) { grid-column: 3 / 5; }
.card-grid-5 .card:nth-child(5) { grid-column: 5 / 7; }

.card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.card-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* --- Features --- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.features-4 {
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  text-align: center;
  padding: 20px;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8713a, #f5a623);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.feature-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: #f9f7f5;
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8713a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: #888;
}

/* --- Overview Table --- */
.overview-table-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.overview-table th,
.overview-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 0.95rem;
  border-bottom: 1px solid #f0eeec;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
  border-bottom: none;
}

.overview-table th {
  background: #fef0e5;
  color: #e8713a;
  font-weight: 700;
  width: 140px;
  white-space: nowrap;
}

.price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #e8713a;
}

.overview-cta {
  text-align: center;
  margin-top: 36px;
}

/* --- CTA / Form Section --- */
.section-cta {
  background: linear-gradient(135deg, #e8713a, #d4632e);
  padding: 80px 0;
}

.form {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e8e4e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e8713a;
  background: #fff;
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #e74c3c;
}

.error-message {
  display: block;
  font-size: 0.8rem;
  color: #e74c3c;
  margin-top: 4px;
  min-height: 1.2em;
}

.form-submit {
  text-align: center;
  margin-top: 12px;
}

.form-or {
  margin: 16px 0;
  font-size: 0.9rem;
  color: #888;
}

.btn-secondary {
  background: #fff;
  color: #e8713a;
  border: 2px solid #e8713a;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #fef0e5;
  transform: translateY(-2px);
}

.form-success {
  max-width: 640px;
  margin: 32px auto 0;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  padding: 48px 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #27ae60;
  color: #fff;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.form-success p {
  color: #666;
}

/* --- Footer --- */
.footer {
  background: #222;
  color: #aaa;
  padding: 40px 0 24px;
  text-align: center;
}

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

.footer-company {
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.8rem;
  color: #aaa;
  text-decoration: underline;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.75rem;
  color: #666;
}

/* ===================================
   Responsive
   =================================== */

@media (max-width: 768px) {
  /* Header */
  .header-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .header-nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero */
  .hero {
    padding: 110px 0 60px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 32px;
  }

  .hero-image {
    max-width: 100%;
    order: -1;
  }

  .hero-text {
    text-align: center;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-subtitle br {
    display: none;
  }

  /* Sections */
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

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

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

  .card-grid-5 .card:nth-child(1),
  .card-grid-5 .card:nth-child(2),
  .card-grid-5 .card:nth-child(3),
  .card-grid-5 .card:nth-child(4),
  .card-grid-5 .card:nth-child(5) {
    grid-column: auto;
  }

  /* Features */
  .features,
  .features-4 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Testimonials */
  .testimonials {
    grid-template-columns: 1fr;
  }

  /* Overview Table */
  .overview-table th {
    width: 100px;
    font-size: 0.85rem;
    padding: 14px 12px;
  }

  .overview-table td {
    font-size: 0.85rem;
    padding: 14px 12px;
  }

  /* Form */
  .form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-cta {
    padding: 60px 0;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .price {
    font-size: 1.3rem;
  }
}
