/* ============================================
   動画編集 はじめの一歩セミナー LP
   ============================================ */

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

:root {
  --color-primary: #3D8B37;
  --color-primary-dark: #2D6E28;
  --color-accent: #E8A317;
  --color-accent-dark: #C4890F;
  --color-text: #2C2417;
  --color-text-sub: #6B5E4F;
  --color-bg-white: #FFFDF9;
  --color-bg-gray: #F7F4EF;
  --color-bg-blue: #F5F9F0;
  --color-border: #E6DFD4;
  --color-line: #06C755;
  --color-line-dark: #05B04C;
  --font-family: 'Noto Sans JP', sans-serif;
  --max-width: 960px;
  --radius: 12px;
  --radius-btn: 8px;
  --radius-btn-line: 28px;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 19px;
  line-height: 1.9;
  color: var(--color-text);
  background: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  text-decoration: none;
}

.btn:hover {
  transform: scale(1.03);
}

.btn--line {
  background-color: var(--color-line);
  color: #fff;
  border-radius: var(--radius-btn-line);
}

.btn--line:hover {
  background-color: var(--color-line-dark);
}

.btn--orange {
  background-color: #E8740E;
  color: #fff;
  border-radius: var(--radius-btn-line);
}

.btn--orange:hover {
  background-color: #D06108;
}

/* --- 重要キーワード強調 --- */
.em-red {
  color: #D42020;
  font-weight: 700;
}

.em-yellow {
  color: #FFD600;
  font-weight: 700;
}


.btn--sm {
  font-size: 14px;
  padding: 10px 20px;
}

.btn--lg {
  font-size: 22px;
  padding: 22px 48px;
  letter-spacing: 0.05em;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__logo {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 16px;
}

.header__nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  transition: color 0.2s;
}

.header__nav a:hover {
  color: var(--color-primary);
}

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

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  background-size: 110%;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 600px;
  display: flex;
  flex-direction: column;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 253, 249, 0.92) 0%,
    rgba(255, 253, 249, 0.75) 45%,
    rgba(255, 253, 249, 0.15) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 0 32px;
}

.hero__text-area {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.hero__title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 28px;
  color: var(--color-text);
}

.hero__logo {
  max-width: 420px;
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
}

.hero__date {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  background: rgba(255, 253, 249, 0.85);
  display: inline-block;
  padding: 6px 20px;
  border-radius: 8px;
}

/* Hero mobile image (hidden on PC, shown on SP) */
.hero__mobile-img {
  display: none;
}

.hero__mobile-overlay {
  display: none;
}

.hero__mobile-title {
  display: none;
}

/* Hero CTA Band */
.hero__cta-band {
  position: relative;
  z-index: 2;
  background: var(--color-bg-blue);
  padding: 28px 0;
  text-align: center;
  border-top: 3px solid var(--color-primary);
}

.hero__cta-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.hero__cta-note {
  margin-top: 12px;
  font-size: 16px;
  color: var(--color-text-sub);
}

/* --- CTA (shared) --- */
.cta {
  text-align: center;
}

.cta__note {
  margin-top: 12px;
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

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

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

.section--white {
  background: var(--color-bg-white);
}

.section--gray {
  background: var(--color-bg-gray);
}

.section--cta {
  background: linear-gradient(135deg, #4A9E43 0%, var(--color-primary-dark) 100%);
  text-align: center;
}

.section__title {
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.6;
}

.section__title:not(.section__title--white) span {
  background: linear-gradient(transparent 60%, rgba(245, 166, 35, 0.4) 60%);
  padding: 0 4px;
}

.section__title--white {
  color: #fff;
}

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Benefits --- */
.benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-card {
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.benefit-card__num {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  line-height: 1.3;
}

.benefit-card__title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.5;
}

.benefit-card__text {
  font-size: 18px;
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* --- Checklist --- */
.checklist {
  max-width: 640px;
  margin: 0 auto 32px;
}

.checklist__list {
  list-style: none;
}

.checklist__item {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  padding-left: 40px;
  position: relative;
  font-size: 20px;
  line-height: 1.7;
}

.checklist__item::before {
  content: '☑';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-size: 24px;
}

.checklist__footer {
  text-align: center;
  font-size: 20px;
  line-height: 1.9;
}

.checklist__footer strong {
  color: var(--color-primary);
}

/* --- Overview Table --- */
.overview-table-wrap {
  overflow-x: auto;
  margin-bottom: 24px;
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
}

.overview-table th,
.overview-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.overview-table th {
  width: 130px;
  font-weight: 600;
  color: var(--color-primary);
  background: var(--color-bg-blue);
  white-space: nowrap;
}

.overview__note {
  text-align: center;
  font-size: 17px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

/* --- Timeline --- */
.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.timeline__item {
  position: relative;
  padding-bottom: 40px;
  padding-left: 32px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border: 3px solid var(--color-bg-gray);
  border-radius: 50%;
}

.timeline__time {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.timeline__heading {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline__content p {
  font-size: 18px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.timeline__note {
  font-size: 16px;
  color: var(--color-text-sub);
  margin-top: 8px;
}

/* --- Safety Cards --- */
.safety-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.safety-card {
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.safety-card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}

.safety-card__text {
  font-size: 17px;
  color: var(--color-text-sub);
  line-height: 1.8;
  text-align: left;
}

/* --- Instructor --- */
.instructor {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.instructor__photo {
  flex-shrink: 0;
  width: 220px;
}

.instructor__photo-img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
}

.instructor__body {
  flex: 1;
}

.instructor__name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.instructor__name small {
  font-size: 17px;
  font-weight: 400;
  color: var(--color-text-sub);
  margin-left: 4px;
}

.instructor__role {
  font-size: 17px;
  color: var(--color-text-sub);
  margin-bottom: 20px;
}

.instructor__message p {
  margin-bottom: 16px;
  line-height: 1.9;
}

.instructor__message p:last-child {
  margin-bottom: 0;
}

/* --- Gallery --- */
.gallery__lead {
  text-align: center;
  font-size: 18px;
  color: var(--color-text-sub);
  margin-bottom: 40px;
  line-height: 1.8;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-gray);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__caption {
  padding: 14px 16px;
  font-size: 16px;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* --- Story (開催への想い) --- */
.section--story {
  background: var(--color-bg-gray);
}

.story {
  max-width: 640px;
  margin: 0 auto;
}

.story p {
  font-size: 19px;
  line-height: 2.1;
  margin-bottom: 24px;
}

.story p:first-child {
  font-size: 21px;
  font-weight: 600;
}

.story p:last-child {
  margin-bottom: 0;
}

/* --- CTA Section --- */
.cta-section__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.cta-section__info {
  margin-bottom: 32px;
}

.cta-section__info p {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
}

/* --- FAQ --- */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  padding: 22px 44px 22px 0;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.6;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::before {
  content: 'Q.';
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 8px;
}

.faq__question::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-sub);
  border-bottom: 2px solid var(--color-text-sub);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s;
}

details[open] .faq__question::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq__answer {
  padding: 0 0 20px 28px;
  font-size: 18px;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.faq__answer p::before {
  content: 'A. ';
  font-weight: 600;
  color: var(--color-accent-dark);
}

/* --- Footer --- */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 0;
  text-align: center;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__operator {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.footer__operator a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__operator a:hover {
  color: #fff;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

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

@media (max-width: 1023px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-border);
    gap: 12px;
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__nav a {
    font-size: 16px;
    padding: 8px 0;
  }

  .header__hamburger {
    display: flex;
  }

  .safety-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .instructor__photo {
    width: 180px;
  }

  .instructor__photo-img {
    width: 180px;
    height: 230px;
  }

  .instructor__body {
    text-align: left;
  }

}

@media (max-width: 767px) {
  body {
    font-size: 17px;
  }

  .header__logo {
    font-size: 13px;
  }

  .btn--sm {
    font-size: 13px;
    padding: 10px 16px;
  }

  .btn--lg {
    font-size: 19px;
    padding: 18px 32px;
    width: 100%;
    max-width: 360px;
  }

  .hero {
    min-height: auto;
    background-image: none !important;
  }

  .hero__overlay {
    display: none;
  }

  /* SP: 画像 + オーバーレイコピー */
  .hero__mobile-img {
    display: block;
    width: 100%;
    position: relative;
    overflow: hidden;
  }

  .hero__mobile-img > img:first-child {
    width: 100%;
    height: 56vh;
    max-height: 400px;
    object-fit: cover;
    object-position: 75% 30%;
    display: block;
  }

  .hero__mobile-logo {
    position: absolute;
    top: 30%;
    left: 16px;
    width: 210px;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    z-index: 2;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
  }

  .hero__mobile-overlay {
    display: flex;
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.25) 50%,
      rgba(0, 0, 0, 0.05) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 24px 20px;
  }

  .hero__mobile-title {
    display: block;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.55;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  /* SP: PC用タイトル・ロゴを非表示 */
  .hero__title--pc {
    display: none;
  }

  .hero__logo {
    display: none;
  }

  .hero__content {
    padding: 20px 0 16px;
    background: var(--color-bg-white);
  }

  .hero__text-area {
    padding: 0 20px;
    text-align: center;
  }

  .hero__date {
    font-size: 18px;
    font-weight: 700;
  }

  .hero__cta-band {
    padding: 20px 0;
  }

  .hero__cta-price {
    font-size: 20px;
  }

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

  .section {
    padding: 56px 0;
  }

  .section__title {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .benefit-card {
    padding: 24px 20px;
    flex-wrap: wrap;
    gap: 0;
  }

  .benefit-card__num {
    font-size: 26px;
    margin-right: 10px;
    flex-shrink: 0;
  }

  .benefit-card__title {
    font-size: 19px;
    flex: 1;
    min-width: 0;
  }

  .benefit-card__text {
    font-size: 16px;
    width: 100%;
    margin-top: 12px;
  }

  .checklist__item {
    font-size: 18px;
    padding: 14px 0 14px 36px;
  }

  .overview-table,
  .overview-table tbody,
  .overview-table tr,
  .overview-table th,
  .overview-table td {
    display: block;
    width: 100%;
  }

  .overview-table tr {
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
  }

  .overview-table th {
    padding: 0 14px 4px;
    font-size: 15px;
    background: none;
    border-bottom: none;
  }

  .overview-table td {
    padding: 0 14px;
    font-size: 16px;
    border-bottom: none;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline__item {
    padding-left: 24px;
  }

  .timeline__time {
    font-size: 16px;
  }

  .timeline__heading {
    font-size: 18px;
  }

  .safety-card {
    padding: 24px 20px;
  }

  .safety-card__title {
    font-size: 18px;
  }

  .instructor__name {
    font-size: 22px;
  }

  .cta-section__text {
    font-size: 17px;
  }

  .faq__question {
    font-size: 18px;
    padding: 18px 40px 18px 0;
  }

  .faq__answer {
    font-size: 17px;
  }
}
