/* ============================================
   LLMOA LP - Main Styles
   各セクションのスタイル定義
   ============================================ */

/* このファイルには各セクションの固有スタイルを記述していきます */

/* ==================== Header ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.35rem 2.5rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(5px);
  box-shadow: 0px 0px 10px 0px rgba(22, 60, 224, 0.4);
  z-index: var(--z-header);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.header-logo a {
  display: block;
  line-height: 1;
}

.header-logo img {
  vertical-align: bottom;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header-nav-list {
  display: flex;
  align-items: center;
}

/* テキストリンク間のgap: 40px */
.header-nav-links {
  gap: 2.5rem;
}

/* ボタン間のgap: 16px */
.header-nav-btns {
  gap: 1rem;
}

.header-nav-item a:not(.btn-base) {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--gray-darkest);
  transition: color var(--transition-base);
}

.header-nav-item a:not(.btn-base):hover {
  color: var(--primary-blue);
  opacity: 1;
}

/* タブレット以下でテキストリンクを非表示 */
@media (max-width: 1360px) {
  .header-nav-item.tabb {
    display: none;
  }
}

/* スマホ対応 */
@media (max-width: 767px) {
  .header {
    padding: 0.6rem 1rem;
  }

  .header-logo {
    max-width: 113px;
  }

  .header-logo a {
    display: flex;
    align-items: center;
  }

  .header-logo img {
    width: 100%;
    height: auto;
  }

  .header-nav {
    gap: 0.5rem;
  }

  .header-nav-btns {
    gap: 0.5rem;
  }

  /* 資料ダウンロードボタンを非表示 */
  .header-nav-btns .header-nav-item:first-child {
    display: none;
  }

  /* 無料トライアルボタンは通常表示（短縮しない） */
  .btn-header .spb {
    display: none;
  }

  .btn-header .pcb {
    display: inline-block;
  }
}
@media (max-width: 640px) {
  .header {
    padding: 0.5rem 1rem;
  }
}

/* デスクトップでのロゴサイズ調整 */
@media (min-width: 768px) {
  .header-logo img {
    width: 164px;
    height: 58px;
  }
}

/* ボディにヘッダー分のパディングを追加 */
body {
  padding-top: 70px;
}

@media (max-width: 767px) {
  body {
    padding-top: 60px;
  }
}

/* ==================== Hero ==================== */
.hero {
  background: #ffffff;
  padding: 4rem 2.5rem 1rem;
  position: relative;

  &::before,
  &::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
  }

  &::before {
    background: url(../assets/fv-bg01.png) no-repeat 0 0;
    background-size: 550px;

    @media (max-width: 767px) {
      background-size: contain;
    }
  }

  &::after {
    background: url(../assets/fv-bg02.png) no-repeat 100% 140%;
    background-size: 820px;

    @media (max-width: 767px) {
      background-size: 200%;
    }
  }

  @media (max-width: 767px) {
    padding: 2rem 1rem;
  }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 540px;
  gap: 3rem;
  align-items: start;
  position: relative;
  z-index: 2;

  @media (max-width: 1024px) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 左カラム: コンテンツ */
.hero-content {
  max-width: 600px;
}

.hero-label {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(90deg, #163CE0 0%, #EB14D2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  position: relative;
}

.hero-label::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #e9edff;
  border-radius: 4px;
  z-index: -1;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: #333333;
  margin-bottom: 1.5rem;

  @media (max-width: 767px) {
    font-size: 2.25rem;
  }
}

.hero-title-highlight {
  color: #163CE0;
}

.hero-description {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.625;
  color: #333333;
  margin-bottom: 2.5rem;

  @media (max-width: 767px) {
    font-size: 1rem;
  }
}

.hero-illustration {
  margin-top: 2rem;

  img {
    width: 100%;
    max-width: 600px;
    height: auto;

    @media (max-width: 767px) {
      max-width: 100%;
    }
  }
}

/* 右カラム: フォーム */
.hero-form {
  position: relative;
  max-width: 540px;
}

.hero-form-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0px 0px 10px 0px rgba(22, 60, 224, 0.2);
  padding: 2rem;
  position: sticky;
  top: 100px;

  @media (max-width: 1024px) {
    position: static;
  }

  @media (max-width: 767px) {
    padding: 1.5rem;
  }
}

.hero-form-header {
  text-align: center;
  padding-bottom: 1.5rem;
}

.hero-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #163CE0 0%, #EB14D2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;

  &::before {
    content: '\\';
    position: absolute;
    left: -2rem;
    color: #E715D2;
    font-size: 1.5rem;
    -webkit-text-fill-color: #E715D2;
  }

  &::after {
    content: '/';
    position: absolute;
    right: -2rem;
    color: #E715D2;
    font-size: 1.5rem;
    -webkit-text-fill-color: #E715D2;
  }
}

.hero-form-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-form-note-top {
  font-size: 0.875rem;
  font-weight: 400;
  color: #333333;
  text-align: right;
  span{
    color: #ff0000;
  }
}

.hero-form-group {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;

  @media (max-width: 767px) {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.hero-form-label-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  padding-top: 0.875rem;
}

.hero-form-label-text {
  font-size: 1rem;
  font-weight: 700;
  color: #333333;
}

.hero-form-required {
  color: #ff0000;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero-form-input {
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  transition: border-color 0.3s;
  background: var(--white);
  width: 100%;
  box-sizing: border-box;

  &:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(22, 60, 224, 0.1);
  }

  &::placeholder {
    color: #acacac;
    font-size: 1rem;
  }
}

.hero-form-name {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 100%;

  @media (max-width: 767px) {
    flex-direction: column;
  }
}

.hero-form-name-item {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-form-name-label {
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  white-space: nowrap;
  flex-shrink: 0;
  width: 24px;
}

.hero-form-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: #333333;

  input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    cursor: pointer;
    accent-color: var(--primary-blue);
    flex-shrink: 0;
  }

  label {
    cursor: pointer;
    font-weight: 400;
  }
}

.hero-form-privacy-link {
  color: #163CE0;
  text-decoration: underline;

  &:hover {
    opacity: 0.8;
  }
}

.hero-form-submit {
  width: 80%;
  margin: 0.5rem auto 0;
  padding: 0.875rem 2rem;
  font-size: 1.5rem;
  font-weight: 700;

  @media (max-width: 767px) {
    width: 100%;
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
}

/* ==================== Casestudy Company ==================== */
.casestudy-company {
  background: #ffffff;
  padding: 1.5rem 0;

  @media (max-width: 767px) {
    padding: 1rem 1rem;
  }
}

.casestudy-company-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.casestudy-company-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: #163CE0;
  text-align: center;
  margin-bottom: 0.5rem;

  @media (max-width: 767px) {
    font-size: 1rem;
  }
}

.casestudy-company-highlight {
  color: #163CE0;
}

.casestudy-company-logos {
  width: 100%;
  margin: 0 0 1rem;
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.logo-marquee-inner {
  display: flex;
  width: 2836px;
  animation: scrollX 60s linear infinite;

  img {
    width: 1418px;
    display: block;
  }
}

@keyframes scrollX {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.casestudy-company-note {
  font-size: 0.75rem;
  color: #666666;
  text-align: right;
  padding-right: 16px;

  @media (max-width: 767px) {
    font-size: 0.625rem;
  }
}

/* ==================== Problem ==================== */
.problem {
  background: linear-gradient(180deg, #163CE0 0%, #1330AF 100%);
  padding: 4rem 2.5rem;
  position: relative;
  overflow: hidden;

  &::before {
    content: '';
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1600px;
    height: 523px;
    background: url(../assets/problem-bg.png) no-repeat center bottom;
    background-size: contain;
    pointer-events: none;
  }

  @media (max-width: 767px) {
    padding: 3rem 1rem;

    &::before {
      bottom: 3rem;
      width: 100%;
      height: 300px;
    }
  }
}

.problem-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ヘッダー */
.problem-header {
  text-align: center;
  margin-bottom: 3rem;
}

.problem-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;

  @media (max-width: 767px) {
    font-size: 2rem;
  }
}

.problem-lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.75;

  @media (max-width: 767px) {
    font-size: 1rem;
  }
}

/* よくある悩み */
.problem-concerns {
  background: #333333;
  border-radius: 20px;
  padding: 1.5rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 0 2rem;
  align-items: center;

  @media (max-width: 767px) {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.problem-concerns-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: center;
  padding-bottom: 1rem;
  position: relative;
  grid-column: 1 / -1;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
  }

  @media (max-width: 767px) {
    font-size: 1.5rem;
  }
}

.problem-concerns-list {
  list-style: none;

  li {
    font-size: 1.125rem;
    font-weight: 700;
    color: #E8ECFF;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    line-height: 1.5;

    &:last-child {
      margin-bottom: 0;
    }

    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0.625rem;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #E8ECFF;
    }

    @media (max-width: 767px) {
      font-size: 1rem;
    }

    .highlight {
      color: #FFAADD;
    }
  }
}

.problem-concerns-content {
  display: flex;
  flex-direction: column;
}

.problem-concerns-illustration {
  width: 100%;
  max-width: 180px;
  height: auto;
  align-self: flex-end;
  margin-bottom: 1rem;

  @media (max-width: 767px) {
    display: none;
  }
}

/* 解決策 */
.problem-solution {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;

  @media (max-width: 767px) {
    padding: 2rem 1.5rem;
  }
}

.problem-solution-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 1.5rem;
}

.problem-solution-logo {
  max-width: 170px;
  max-height: 60px;
  width: auto;
  height: auto;
  vertical-align: middle;

  @media (max-width: 767px) {
    max-width: clamp(80px, 20vw, 170px);
    max-height: clamp(28px, 7vw, 60px);
  }
}

.problem-solution-sub {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333333;
}

.problem-solution-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;

  @media (max-width: 767px) {
    font-size: 1.5rem;
  }
}

.problem-solution-lead {
  font-size: 1.5rem;
  font-weight: 700;
  color: #163CE0;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;

  @media (max-width: 767px) {
    font-size: 1.125rem;
  }
}

.problem-solution-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.problem-solution-step {
  display: flex;
  align-items: center;
  gap: 2rem;

  @media (max-width: 767px) {
    flex-direction: column;
    text-align: center;
  }
}

.problem-solution-step-1 {
  .problem-solution-illust {
    order: -1;
    width: 166px;
    height: 113px;
    flex-shrink: 0;
  }

  .problem-solution-step-content {
    background: #E8ECFF;
    border-radius: 12px 12px 12px 0;
    padding: 0.5rem 1rem;
    flex: 1;
  }
}

.problem-solution-step-2 {
  .problem-solution-step-content {
    background: #E8ECFF;
    border-radius: 12px 12px 0 12px;
    padding: 0.5rem 1rem;
    flex: 1;
  }

  .problem-solution-illust {
    width: 320px;
    height: 136px;
    flex-shrink: 0;
  }
}

.problem-solution-step-content {
  flex: 1;
}

.problem-solution-step-highlight {
  background: #163CE0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  border-radius: 20px;

  .problem-solution-step-text {
    flex: 1;
  }

  .problem-solution-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 1rem;

    @media (max-width: 767px) {
      font-size: 1.125rem;
    }
  }

  .problem-solution-step-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;

    @media (max-width: 767px) {
      font-size: 1rem;
    }
  }

  .problem-solution-step-image {
    width: 400px;
    flex-shrink: 0;

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

    @media (max-width: 767px) {
      width: 100%;
    }
  }

  @media (max-width: 767px) {
    flex-direction: column;
  }
}

.problem-solution-illust {
  width: 100px;
  height: auto;
}

.problem-solution-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.5;

  @media (max-width: 767px) {
    font-size: 1.125rem;
  }
}

.problem-solution-step-detail {
  font-size: 1rem;
  color: #333333;
  line-height: 1.5;
  margin-top: 0.5rem;

  @media (max-width: 767px) {
    font-size: 0.875rem;
  }
}

.problem-solution-step-subtitle {
  font-size: 1rem;
  color: #ffffff;
  margin-top: 0.5rem;

  @media (max-width: 767px) {
    font-size: 0.875rem;
  }
}

.problem-solution-arrow {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;

  img {
    width: 24px;
    height: 56px;
  }
}

/* できること */
.problem-features {
  margin-top: 3rem;
}

.problem-features-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  text-align: center;
  margin-bottom: 2rem;

  @media (max-width: 767px) {
    font-size: 1.5rem;
  }
}

.problem-features-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  @media (max-width: 767px) {
    gap: 1rem;
  }
}

.problem-features-row {
  display: flex;
  gap: 0.75rem;

  @media (max-width: 767px) {
    flex-direction: column;
  }

  &.problem-features-row-3 {
    .problem-feature-card {
      flex: 1;
    }
  }

  &.problem-features-row-2 {
    .problem-feature-card {
      flex: 1;
    }
  }
}

.problem-feature-card {
  background: #ffffff;
  border: 2px solid #E8ECFF;
  border-radius: 16px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.problem-feature-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.problem-feature-icon {
  width: 92px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

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

.problem-feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #163CE0;
  line-height: 1.5;
  flex: 1;

  @media (max-width: 767px) {
    font-size: 1.125rem;
  }
}

.problem-feature-text {
  font-size: 1.125rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.5;

  @media (max-width: 767px) {
    font-size: 1rem;
  }
}

/* フッター */
.problem-footer {
  text-align: center;
}

.problem-footer-text {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;

  @media (max-width: 767px) {
    font-size: 1.25rem;
  }
}

/* ==================== Points ==================== */
.points {
  background: #ffffff;
  padding: 4rem 2.5rem;

  @media (max-width: 767px) {
    padding: 3rem 1rem;
  }
}

.points-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* ヘッダー */
.points-header {
  margin-bottom: 3rem;
  text-align: center;
}

.points-header-top {
  margin-bottom: 1.5rem;
}

.points-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #E8ECFF;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;

  span {
    background: linear-gradient(90deg, #163CE0 0%, #EB14D2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  svg {
    width: 12px;
    height: 12px;
  }
}

.points-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;

  img {
    height: 60px;
    width: auto;
  }

  @media (max-width: 767px) {
    font-size: 2rem;

    img {
      height: 48px;
    }
  }
}

.points-title-sub {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333333;
  align-self: flex-end;
  margin-bottom: 0.25rem;

  @media (max-width: 767px) {
    font-size: 1rem;
  }
}

.points-title-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333;

  @media (max-width: 767px) {
    font-size: 2rem;
  }
}

.points-lead {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.5;

  @media (max-width: 767px) {
    font-size: 1rem;
  }
}

/* ポイントカード */
.points-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.points-card {
  background: #E8ECFF;
  border-radius: 24px;
  padding: 2.5rem 1.5rem 1rem;

  @media (max-width: 767px) {
    padding: 2rem 1rem 1rem;
  }
}

.points-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;

  span {
    background: linear-gradient(90deg, #163CE0 0%, #EB14D2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  svg {
    width: 12px;
    height: 12px;
  }
}

.points-card-content {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;

  @media (max-width: 1024px) {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.points-card-text {
  flex: 0 0 58%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.points-card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.5;

  .highlight {
    color: #163CE0;
  }

  @media (max-width: 767px) {
    font-size: 1.5rem;
  }
}

.points-card-description {
  font-size: 1.125rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.5;

  @media (max-width: 767px) {
    font-size: 1rem;
  }
}

.points-card-image {
  flex: 0 0 calc(100% - 58% - 2rem);
  border-radius: 12px;
  overflow: hidden;

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

  @media (max-width: 1024px) {
    flex: 0 0 100%;
  }
}

.points-card-divider {
  width: 100%;
  height: 1px;
  background: #ffffff;
  margin: 1.5rem 0;
}

.points-card-indicators {
  margin-bottom: 1.5rem;
}

.points-card-indicators-title {
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  margin-bottom: 0.75rem;
}

.points-card-indicators-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.points-card-indicator {
  display: inline-block;
  background: #ffffff;
  color: #333333;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.points-card-note {
  background: rgba(255, 255, 255, 0.50);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.875rem;
  color: #333333;
  line-height: 1.5;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1.5rem;

  strong {
    font-weight: 400;
    white-space: nowrap;
  }

  @media (max-width: 767px) {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

/* ==================== CTA ==================== */
.cta {
  background: linear-gradient(90deg, #163CE0 0%, #EB14D2 100%);
  padding: 5rem 2.5rem;

  @media (max-width: 767px) {
    padding: 3rem 1rem;
  }
}

.cta-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6rem;

  @media (max-width: 1024px) {
    flex-direction: column;
    gap: 2rem;
  }
}

.cta-content {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-logo {
  display: flex;
  align-items: center;
  gap: 0;

  img {
    height: 65px;
    width: auto;
  }
}

.cta-logo-sub {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  align-self: flex-end;
  margin-bottom: 0.5rem;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;

  @media (max-width: 767px) {
    font-size: 1.5rem;
  }
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;

  @media (max-width: 767px) {
    flex-direction: column;
    width: 100%;
  }
}

.btn-cta-outline,
.btn-cta-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 234px;
  height: 60px;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 999px;
  transition: opacity 0.2s ease;
  text-decoration: none;
  border: none;
  box-sizing: border-box;

  &:hover {
    opacity: 0.85;
  }

  @media (max-width: 767px) {
    width: 100%;
    font-size: 1.125rem;
  }
}

.btn-cta-outline {
  background: #ffffff;
  color: #163CE0;
  box-shadow: 0 0 10px 0 rgba(0, 60, 255, 0.40);
}

.btn-cta-solid {
  background: #163CE0;
  color: #ffffff;
  box-sizing: border-box;
}

.cta-image {
  flex: 1;
  max-width: 420px;
  min-width: 0;

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

  @media (max-width: 1024px) {
    width: 100%;
    max-width: 420px;
  }

  @media (max-width: 767px) {
    display: none;
  }
}

/* ==================== Support ==================== */
.support {
  background: #E8ECFF;
  padding: 6rem 1.5rem;

  @media (max-width: 767px) {
    padding: 4rem 1.5rem;
  }
}

.support-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.support-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.support-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;

  span {
    background: linear-gradient(90deg, #163CE0 0%, #EB14D2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }
}

.support-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
  text-align: center;

  @media (max-width: 767px) {
    font-size: 1.75rem;
  }
}

.support-lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;
  text-align: center;

  @media (max-width: 767px) {
    font-size: 1rem;
    text-align: left;
  }
}

.support-cards {
  display: flex;
  gap: 1rem;
  width: 100%;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 1rem;
  }
}

.support-card {
  flex: 1;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.support-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.support-card-icon {
  width: auto;
  height: 81px;
  object-fit: contain;
}

.support-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #163CE0;
  text-align: center;
  line-height: 1.5;
}

.support-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support-card-label {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid #E8ECFF;
  padding: 8px;
  border-radius: 23px;

  span {
    background: linear-gradient(90deg, #163CE0 0%, #EA14D1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 1rem;
    font-weight: 700;
  }
}

.support-card-text {
  font-size: 1.125rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;

  @media (max-width: 767px) {
    font-size: 1rem;
  }
}

.support-cta {
  text-align: center;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #163CE0;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1.5rem 2rem;
  border-radius: 999px;
  transition: opacity 0.2s ease;

  &:hover {
    opacity: 0.85;
  }

  @media (max-width: 767px) {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
}

/* ==================== Flow ==================== */
.flow {
  padding: 6rem 1.5rem 0;
  background: #ffffff;

  @media (max-width: 767px) {
    padding: 4rem 1.5rem 0;
  }
}

.flow-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* 外枠カード */
.flow-card {
  background: #E8ECFF;
  border-radius: 20px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ヘッダー */
.flow-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.flow-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333;

  @media (max-width: 767px) {
    font-size: 1.75rem;
  }
}

.flow-lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: #333333;

  @media (max-width: 767px) {
    font-size: 1rem;
    text-align: left;
  }
}

/* ステップ部分ラッパー */
.flow-steps-wrap {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

/* 左：番号カラム */
.flow-steps-numbers {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
  position: relative;
  flex-shrink: 0;

  /* 縦ライン */
  &::before {
    content: '';
    position: absolute;
    top: 2.5rem;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #163CE0;
    z-index: 0;
  }

  @media (max-width: 767px) {
    display: none;
  }
}

.flow-step-num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #163CE0;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

/* 右：ステップカードリスト */
.flow-steps-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flow-step-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  @media (max-width: 767px) {
    padding: 1rem;
  }
}

.flow-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #163CE0;

  @media (max-width: 767px) {
    font-size: 1.125rem;
  }
}

.flow-step-text {
  font-size: 1.125rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.6;

  @media (max-width: 767px) {
    font-size: 1rem;
  }
}

/* CS パネル */
.flow-cs-panel {
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.flow-cs-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 1rem;

  @media (max-width: 767px) {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }
}

.flow-cs-title {
  font-size: 2rem;
  font-weight: 700;
  color: #163CE0;
  line-height: 1.5;

  @media (max-width: 767px) {
    font-size: 1.5rem;
  }
}

.flow-cs-illust {
  height: 108px;
  width: auto;
  flex-shrink: 0;

  @media (max-width: 767px) {
    height: 80px;
  }
}

.flow-cs-list {
  display: flex;
  gap: 2rem;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 1rem;
  }
}

.flow-cs-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flow-cs-item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.flow-cs-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #163CE0;
  flex-shrink: 0;
}

.flow-cs-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: #333333;
}

.flow-cs-item-text {
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.6;
}

/* ==================== Flow 02 ==================== */
.flow-02 {
  background: #ffffff;
  padding: 5rem 1.5rem;

  @media (max-width: 767px) {
    padding: 4rem 1.5rem;
  }
}

.flow02-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.flow02-title {
  font-size: 2rem;
  font-weight: 700;
  color: #163CE0;
  line-height: 1.5;

  @media (max-width: 767px) {
    font-size: 1.5rem;
  }
}

.flow02-lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;

  @media (max-width: 767px) {
    font-size: 1rem;
    text-align: left;
  }
}

.flow02-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 2rem;
  }
}

.flow02-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}

.flow02-logo {
  height: auto;
  max-width: 274px;
}

.flow02-screenshot-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  max-width: 470px;
  width: 100%;
}

.flow02-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

.flow02-screenshot-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: #ffffff;
  border-radius: 23px;
  padding: 4px 8px;

  span {
    background: linear-gradient(90deg, #163CE0 0%, #EA14D1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.75rem;
    font-weight: 700;
  }
}

/* ==================== Plan ==================== */
.plan {
  background: #1330AF;
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;

  @media (max-width: 767px) {
    padding: 4rem 1.5rem;
  }
}

.plan-bg-deco {
  position: absolute;
  pointer-events: none;

  img {
    width: auto;
  }
}

.plan-bg-deco--left {
  right: 0;
  bottom: 0;
}

.plan-bg-deco--right {
  top: 0;
  left: 0;
}

.plan-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.plan-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.plan-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;

  @media (max-width: 767px) {
    font-size: 1.75rem;
  }
}

.plan-lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: #ffffff;
}

/* カード共通 */
.plan-card {
  border-radius: 20px;
  overflow: hidden;
}

.plan-card-head {
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.plan-card-head--standard { background: #E416E4; }
.plan-card-head--pro      { background: #8116E0; }
.plan-card-head--consult  { background: #1670E0; }

.plan-tag {
  background: #ffffff;
  border-radius: 23px;
  padding: 8px 16px;

  span {
    background: linear-gradient(90deg, #163CE0 0%, #EA14D1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1rem;
    font-weight: 700;
  }
}

.plan-card-name {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.plan-card-desc {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.6;
}

/* カードボディ */
.plan-card-body {
  background: #ffffff;
  padding: 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  @media (max-width: 767px) {
    padding: 1.5rem 1rem;
  }
}

.plan-feature-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
}

.plan-feature-heading-text {
  background: linear-gradient(90deg, #163CE0 0%, #EA14D1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.25rem;
  font-weight: 700;
}

.plan-divider {
  height: 1px;
  background: #E8ECFF;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-feature-row {
  display: flex;
  gap: 1rem;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.plan-feature-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;

  strong {
    font-size: 1.125rem;
    font-weight: 700;
    color: #333333;
  }

  &--wide {
    flex: none;
    width: 100%;
    flex-wrap: wrap;
  }
}

.plan-feature-sub {
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  margin-left: 0.25rem;
}

.plan-check {
  width: 12px;
  height: 12px;
  background: url(../assets/plan-icon-check.png) no-repeat center / contain;
  flex-shrink: 0;
}

/* 2列 */
.plan-cards-row {
  display: flex;
  align-items: stretch;
  gap: 2.5rem;

  @media (max-width: 767px) {
    flex-direction: column;
    gap: 1.5rem;
  }

  .plan-card {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .plan-card-body {
    flex: 1;
  }
}

/* includes badge */
.plan-includes-badge {
  background: #E8ECFF;
  border-radius: 12px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  span {
    background: linear-gradient(90deg, #163CE0 0%, #EA14D1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.125rem;
    font-weight: 700;
  }
}

.plan-plus {
  font-size: 2.25rem;
  font-weight: 700;
  color: #163CE0;
  text-align: center;
  line-height: 1;
}

.plan-addon-label {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.plan-addon-line {
  flex: 1;
  height: 2px;
  background: #163CE0;
}

.plan-addon-text {
  font-size: 1rem;
  font-weight: 400;
  color: #163CE0;
  white-space: nowrap;
}

.plan-features--addon {
  gap: 0.25rem;
}

/* ==================== FAQ ==================== */
.faq {
  background: #ffffff;
  padding: 6rem 1.5rem;

  @media (max-width: 767px) {
    padding: 4rem 1.5rem;
  }
}

.faq-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333;
  text-align: center;

  @media (max-width: 767px) {
    font-size: 1.75rem;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 0 10px 0 rgba(0, 60, 255, 0.40);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-q-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
}

.faq-q-badge {
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background: #163CE0;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-q-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #163CE0;
  line-height: 1.4;

  @media (max-width: 767px) {
    font-size: 1.125rem;
  }
}

.faq-toggle {
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background: #ffffff;
  border: none;
  filter: drop-shadow(0 0 10px rgba(0, 60, 255, 0.40));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
  outline: none;

  &:focus {
    outline: none;
  }

  &:hover {
    background: #E8ECFF;
  }
}

.faq-toggle-icon {
  display: block;
  width: 16px;
  height: 8px;
  background: url(../assets/faq-chevron.png) no-repeat center / contain;
  transition: transform 0.3s ease;
  transform: rotate(180deg);
}

.faq-item.is-open .faq-toggle-icon {
  transform: rotate(0deg);
}

.faq-divider {
  height: 1px;
  background: #E8ECFF;
  margin: 1rem 0;
}

.faq-answer {
  display: none;
  padding-top: 1rem;
  border-top: 1px solid #E8ECFF;
  margin-top: 1rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-a-inner {
  display: flex;
  gap: 0.5rem;
}

.faq-a-badge {
  width: 40px;
  height: 40px;
  border-radius: 99px;
  background: #ffffff;
  border: 2px solid #163CE0;
  color: #163CE0;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-a-inner p {
  font-size: 1.125rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.8;

  @media (max-width: 767px) {
    font-size: 1rem;
  }
}

/* ==================== CTA 02 ==================== */
.cta-02 {
  position: relative;
  overflow: hidden;

  .cta-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .cta-content {
    flex-direction: column;
    align-items: center;
  }

  .cta-title {
    font-size: 3rem;
    text-align: center;

    @media (max-width: 767px) {
      font-size: 1.75rem;
    }
  }
}

.cta-bg-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;

  img {
    width: auto;
    height: auto;
  }
}

.cta-bg-deco--left {
  right: 0;
  bottom: 0;
}

.cta-bg-deco--right {
  left: 0;
  top: 0;
}

.cta-lead {
  font-size: 1.125rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.8;
  text-align: center;

  @media (max-width: 767px) {
    font-size: 1rem;
    text-align: left;
  }
}

.cta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #E8ECFF;
  padding: 4px 8px;
  border-radius: 4px;

  svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
  }

  span {
    background: linear-gradient(90deg, #163CE0 0%, #EA14D1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1rem;
    font-weight: 700;
  }
}

.cta-box {
  background: #ffffff;
  border-radius: 99px;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: 1200px;
}

.cta-box-text {
  background: linear-gradient(90deg, #163CE0 0%, #EA14D1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem;
  font-weight: 700;
}

/* ==================== Footer ==================== */
.footer {
  background: #000000;
  padding: 2.5rem 5rem;

  @media (max-width: 767px) {
    padding: 2.5rem 1.5rem;
  }
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1440px;
  margin: 0 auto;

  @media (max-width: 767px) {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  @media (max-width: 767px) {
    align-items: center;
    margin: 0 auto;
  }
}

.footer-logo {
  width: 100%;
  max-width: 367px;
}

.footer-img {
  max-width: 209px;
  height: auto;
  width: auto;
}

.footer-nav-wrap {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  height: 152px;

  @media (max-width: 767px) {
    height: auto;
    padding: 0;
    margin: 0 auto;
  }
}

.footer-nav-list {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;

  @media (max-width: 767px) {
    gap: 1rem;
    flex-direction: column;
  }

  a {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    transition: opacity 0.2s ease;

    &:hover {
      opacity: 0.7;
    }
  }
}

.footer-copyright {
  font-size: 1rem;
  font-weight: 400;
  color: #ffffff;
  text-align: right;

  @media (max-width: 767px) {
    text-align: left;
  }
}


/* form */
.checkpp-area{
  text-align: center;
  a{
    color: #163CE0;
    text-decoration: underline;
    &:hover{
      text-decoration: none;
    }
  }
}
.submit-btn{
  width: 100%;
  max-width: 334px;
  border-radius: 999px;
  background: #163CE0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin: 12px auto 0;
  display: block;
  padding: 12px 0;
  box-shadow: 0 0 10px 0 rgba(0, 60, 255, 0.4);
  transition: all .3s;
  &:hover{
    box-shadow: 0 0 0 0 rgba(0, 60, 255, 0.4);
  }
}
.error{
  margin: 0;
  color: #f00;
  font-size: 14px;
}
.hidden {
  display: none;
}