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

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
}

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

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

a {
  color: #c41e3a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

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

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* =============================================
   Header
   ============================================= */
.header {
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  display: block;
}

.header__collab {
  font-size: 1.2rem;
  font-weight: 500;
  color: #222;
  letter-spacing: 0.02em;
}

/* =============================================
   Breadcrumb
   ============================================= */
.breadcrumb {
  background: #FCFCFC;
}

.breadcrumb__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.6rem 2rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 1.2rem;
  color: #888;
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 0.4rem;
  color: #ccc;
}

.breadcrumb__item a {
  color: #888;
}

.breadcrumb__item a:hover {
  color: #c41e3a;
}

/* =============================================
   Main Layout
   ============================================= */
.main {
  background: #FCFCFC;
  padding: 0 0 6rem;
}

.main__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.content {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 340px;
  flex-shrink: 0;
  position: sticky;
  top: 2rem;
}

/* =============================================
   Key Visual
   ============================================= */
.kv {
  margin-bottom: 4.8rem;
}

.kv__image {
  width: 100%;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* KVにアーカイブバナーがない場合は下も角丸に */
.kv__image:last-child {
  border-radius: 8px;
}

.kv__archive-banner {
  background: #2d3650;
  color: #fff;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 1.4rem 2rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* =============================================
   Section Common
   ============================================= */
.section {
  margin-bottom: 4.8rem;
}

.section__heading {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  padding-left: 1.4rem;
  border-left: 4px solid #c41e3a;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.section__text {
  font-size: 1.6rem;
  line-height: 2;
  color: #444;
  margin-bottom: 2.4rem;
}

/* =============================================
   Recommend Box
   ============================================= */
.recommend {
  background: #faf5f0;
  border-radius: 8px;
  padding: 2.4rem 3rem;
}

.recommend__heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.recommend__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.recommend__icon svg {
  width: 24px;
  height: 24px;
}

.recommend__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2.4rem;
}

.recommend__item {
  font-size: 1.4rem;
  color: #444;
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.7;
}

.recommend__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c41e3a;
}

/* =============================================
   Learn Items
   ============================================= */
.learn-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.learn-item {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 2rem 2.4rem;
}

.learn-item__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.6rem;
}

.learn-item__num {
  color: #c41e3a;
  font-weight: 700;
  margin-right: 0.4rem;
}

.learn-item__text {
  font-size: 1.4rem;
  color: #555;
  line-height: 1.8;
}

/* =============================================
   Detail Table
   ============================================= */
.detail-table-wrap {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}

.detail-table th,
.detail-table td {
  padding: 1.6rem 2rem;
  font-size: 1.4rem;
  line-height: 1.8;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  text-align: left;
}

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

.detail-table th {
  width: 120px;
  background: #fafafa;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}

.detail-table td {
  color: #444;
}

.detail-table__highlight {
  color: #c41e3a;
  font-weight: 700;
}

.detail-table__list {
  padding-left: 1.6rem;
}

.detail-table__list li {
  list-style: disc;
  margin-bottom: 0.3rem;
  color: #444;
}

.detail-table__list li::marker {
  color: #999;
}

.detail-table__note {
  font-size: 1.2rem;
  color: #888;
  line-height: 1.7;
}

/* =============================================
   Instructors
   ============================================= */
.instructors {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.instructor {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 2.4rem;
  display: flex;
  gap: 2.4rem;
}

.instructor__photo {
  flex-shrink: 0;
}

.instructor__photo-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #e8e8e8;
}

.instructor__photo-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.instructor__info {
  flex: 1;
  min-width: 0;
}

.instructor__label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.instructor__name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.2rem;
}

.instructor__company {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 1rem;
}

.instructor__bio {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.instructor__clients {
  font-size: 1.1rem;
  color: #888;
  line-height: 1.7;
}

/* =============================================
   SP用 CTAボタン
   ============================================= */
.sp-cta {
  display: none;
}

/* =============================================
   Sidebar / Form
   ============================================= */
.form-wrap {
  background: transparent;
}

.form-wrap iframe {
  width: 100%;
  min-height: 620px;
  border: none;
  display: block;
}

/* 埋め込みフォームの角丸上書き */
._radius-3_j6k8n_22 {
  --card-border-radius: var(--radius-04) !important;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 3rem 0;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__logo img {
  display: block;
}

.footer__copyright {
  font-size: 1.2rem;
  color: #999;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 960px) {
  .main__inner {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
    order: 99;
    margin-bottom: 0;
  }

  .sp-cta {
    display: block;
    margin-bottom: 4.8rem;
  }

  .sp-cta__button {
    display: block;
    width: 100%;
    padding: 1.6rem 2rem;
    background: #c41e3a;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    letter-spacing: 0.05em;
    transition: background 0.2s;
  }

  .sp-cta__button:hover {
    background: #a8182f;
  }

  .sp-cta__arrow {
    display: inline-block;
    margin-left: 0.4rem;
    transform: rotate(90deg);
    animation: bounce-down 1.2s ease infinite;
  }

  @keyframes bounce-down {
    0%, 100% { transform: rotate(90deg) translateX(0); }
    50% { transform: rotate(90deg) translateX(4px); }
  }

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

@media (max-width: 600px) {
  html {
    font-size: 56.25%; /* 1rem = 9px */
  }

  .header__inner {
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-start;
  }

  .header__collab {
    font-size: 1.1rem;
  }

  .breadcrumb__list {
    font-size: 1.1rem;
  }

  .main {
    padding: 2rem 0 4rem;
  }

  .main__inner {
    padding: 0 1.6rem;
    gap: 2rem;
  }

  .section__heading {
    font-size: 1.8rem;
  }

  .recommend {
    padding: 2rem;
  }

  .instructor {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .detail-table th {
    width: 90px;
    font-size: 1.2rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
}
