/* ========================================
   Foundation (FLOCCS: foundation)
======================================== */
:root {
  --color-base-bg: #f5f5f5;
  --color-base-text: #222222;
  --color-accent-main: #006b5e;
  --color-accent-sub: #ffe222;
  --color-header-bg: #1e1e1e;
  --color-footer-bg: #1e1e1e;
  --color-white: #ffffff;
  --color-red: #DF4505;
  --color-border: #999999;

  --font-base: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;

  --layout-max-width: 1240px;
  --layout-main-width: 800px;
  --layout-side-width: 380px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 50px;
  --border-radius-full: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-base-text);
  background-color: var(--color-base-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

/* ========================================
   Layout (FLOCCS: layout)
======================================== */
.l-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.l-header {
  background-color: var(--color-header-bg);
  color: var(--color-white);
  padding: 36px 0;
}

.l-header__inner,
.l-main__inner,
.l-footer__inner {
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.l-main {
  flex: 1;
  padding: 24px 0 40px;
}

.l-main__columns {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.l-main__column-main {
  flex: 1;
  max-width: var(--layout-main-width);
}

.l-main__column-side {
  width: var(--layout-side-width);
  position: relative;
}

.l-footer {
  background-color: var(--color-footer-bg);
  color: #dddddd;
  padding: 36px 0 20px;
  font-size: 0.75rem;
}

.c-side-form {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  overflow: auto;
}

@media (max-width: 768px) {
  .l-main__columns {
    flex-direction: column;
  }

  .l-main__column-main,
  .l-main__column-side {
    max-width: 100%;
    width: 100%;
    flex: 1 1 auto;
  }

  .c-side-form {
    position: static;
    height: auto;
  }
}

/* ========================================
   Block: header
======================================== */
.c-header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-header-logo__link {
  display: inline-flex;
  align-items: center;
}

.c-header-logo__img {
  height: auto;
  width: 240px;
}

/* ========================================
   Block: hero (ファーストビュー)
======================================== */
.c-hero {
  margin-bottom: var(--space-2xl);
  color: var(--color-white);
}

.c-hero__visual {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c-hero__img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.c-hero__title {
  padding: 30px 0 0;
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-accent-main);
}

/* ========================================
   Block: section 共通
======================================== */
.c-section {
  margin-bottom: var(--space-2xl);
}

.c-section__head {
  border-bottom: 2px solid #000;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.c-section__title {
  font-size: 1.5rem;
  font-weight: 700;
}

.c-section__body {
  font-size: 1.125rem;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

/* CTAボタン */
.c-section-cta {
  margin-bottom: var(--space-2xl);
}

.c-btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 15px 24px;
  border-radius: var(--border-radius-full);
  background-color: var(--color-accent-main);
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 0 #034B42;
  transition: 0.2s ease-in-out;
}

.c-btn-cta:hover {
  transform: translateY(4px);
  box-shadow: 0 0 0 #034B42;
}

.c-btn-cta--mobile {
  display: none;
}

@media (max-width: 768px) {
  .c-section-cta--sp {
    display: block;
  }

  .c-btn-cta--mobile {
    display: flex;
  }
}

/* ========================================
   Block: section-intro（概要）
======================================== */
.c-section-intro__highlight-text span {
  background: linear-gradient(transparent 60%, var(--color-accent-sub) 60%);
  font-weight: 600;
}

/* ========================================
   Block: section-target（こんなお悩みをお持ちの方へ）
======================================== */
.c-check-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-check-list__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.c-check-list__icon {
  width: 22px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.c-check-list__text {
  color: var(--color-accent-main);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
}

/* ========================================
   Block: section-speaker（講師紹介）
======================================== */
.c-speaker {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.c-speaker__photo-wrap {
  width: 30%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--border-radius-full);
  overflow: hidden;
  flex-shrink: 0;
}

.c-speaker__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-speaker__detail {
  flex: 1;
}

.c-speaker__meta {
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.c-speaker__name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.c-speaker__name rt {
  font-size: 0.5rem;
}

.c-speaker__profile {
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 15px;;
}

.c-speaker__result {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
}

.c-speaker__result-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 12px solid var(--color-accent-main);
  border-right: 0;
}

@media (max-width: 768px) {
  .c-speaker {
    flex-direction: column;
    align-items: center;
  }

  .c-speaker__photo-wrap {
    width: 100%;
    max-width: 240px;
  }
}

/* ========================================
   Block: section-info（基本概要 表）
======================================== */
.c-info-table {
  border-collapse: collapse;
  width: 100%;
  background-color: var(--color-white);
  border-left: 1px solid var(--color-border);
  border-top: 1px solid var(--color-border);
  font-size: 1.125rem;
  line-height: 1.5;
}

.c-info-table__th,
.c-info-table__td {
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 16px;
}

.c-info-table__th {
  width: 160px;
  background-color: var(--color-accent-main);
  color: var(--color-white);
  font-weight: 600;
  white-space: nowrap;
  text-align: left;
}

.c-info-table__td span {
  display: block;
  width: fit-content;
}

.c-info-table__td span:not(:last-child) {
  margin-bottom: 4px;
}

.c-info-table__td .full {
  text-decoration: line-through;
}

.c-info-table__td .full::after {
  content: "満員御礼";
  display: inline-block;
  background: var(--color-red);
  border-radius: 5px;
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6875rem;
  white-space: nowrap;
  margin-left: 10px;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .c-info-table {
    display: block;
    border: 1px solid var(--color-border);
  }

  .c-info-table tr {
    display: block;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
  }

  .c-info-table tr:last-child {
    border-bottom: none;
  }

  .c-info-table__th,
  .c-info-table__td {
    display: block;
    width: 100%;
    border: none;
    padding: 12px 16px;
  }

  .c-info-table__th {
    width: 100%;
    background-color: var(--color-accent-main);
    color: var(--color-white);
    font-weight: 600;
    white-space: normal;
    padding-bottom: 8px;
  }

  .c-info-table__td {
    background-color: var(--color-white);
    padding-top: 8px;
    padding-bottom: 16px;
  }
}

/* ========================================
   Block: side-form（右カラムのフォーム表示域）
======================================== */
.c-side-form {
  padding: 24px 0 0;
}

.c-side-form__head {
  border-bottom: 2px solid #000;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.c-side-form__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}

.c-side-form__body {
  min-height: 400px;
  width: 100%;
}

.c-side-form__iframe {
  width: 100%;
  min-height: 700px;
  border: none;
  background-color: #ffffff;
}

/* ========================================
   Block: footer
======================================== */

.c-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.c-footer__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.c-footer-logo__img {
  width: 240px;
  height: auto;
}

.c-footer__brand-text {
  color: #ffffff;
  font-size: 0.75rem;
}

.c-footer__links {
  margin-bottom: 16px;
}

.c-footer__link {
  color: #ffffff;
  font-size: 0.75rem;
  text-decoration: none;
}

.c-footer__copy {
  margin-top: 8px;
  color: #ffffff;
  font-size: 0.625rem;
}