/* 利用方法ページ専用CSS - トップページスタイル統一版 */

/* --- h2 セクションタイトル（トップページ .section-title と統一） --- */
h2 {
  font-size: 28px;
  font-weight: 900;
  color: #232735;
  line-height: 1.5;
  position: relative;
  display: inline-block;
}
h2::before {
  content: '';
  position: absolute;
  left: -16px; right: -16px;
  bottom: 2px;
  height: 14px;
  background: rgba(57,96,151,0.1);
  z-index: 0;
  border-radius: 4px;
}

.how-to-use-main {
  padding-bottom: 0;
}

/* フローセクション（トップの.how-it-worksスタイルに統一） */
.flow-section {
  padding: 80px 120px;
  background: var(--bg-gray);
}
.flow-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.flow-item {
  position: relative;
  background: #fff;
  padding: 32px 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: none;
  margin-bottom: 2px;
  transition: none;
}
.flow-item:hover {
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.flow-item-highlight {
  background: var(--bg-light);
  border: 2px solid var(--blue);
}
.flow-item-highlight:hover {
  border-color: var(--blue);
}

/* ステップ番号（トップの.step-numberスタイル） */
.flow-number {
  flex-shrink: 0;
  width: auto;
  padding: 6px 18px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-inter);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 0;
  align-self: flex-start;
}
.flow-item-highlight .flow-number {
  background: var(--orange);
}

/* コンテンツ部分 */
.flow-content {
  flex: 1;
  min-width: 0;
}
.flow-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.flow-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: none;
}
.flow-icon svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
}
.flow-item-highlight .flow-icon {
  background: rgba(57,96,151,0.1);
}
.flow-item-highlight .flow-icon svg {
  color: var(--blue);
}
.flow-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
  flex: 1;
}
.flow-text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Tips（トップの.step-badge風にシンプル化） */
.flow-tips {
  background: var(--bg-light);
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 12px;
  border-left: 3px solid var(--blue);
}
.flow-item-highlight .flow-tips {
  border-left-color: var(--blue);
}
.flow-tips-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.flow-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.flow-tips-list li {
  font-size: 13px;
  color: var(--gray);
  padding-left: 1.2em;
  position: relative;
  margin-bottom: 4px;
  line-height: 1.7;
}
.flow-tips-list li:before {
  content: "\25CF";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 8px;
  top: 0.5em;
}
.flow-item-highlight .flow-tips-list li:before {
  color: var(--blue);
}

/* フロー例 */
.flow-example {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  margin-top: 12px;
  border: 1px solid var(--border-card);
}
.flow-example-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.flow-example-content p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--blue);
}
.flow-example-content p:last-child {
  margin-bottom: 0;
}
.flow-example-content strong {
  color: var(--dark);
  font-weight: 700;
}

/* オファーセクション（トップのfeaturesカードスタイル） */
.offer-section {
  padding: 80px 120px;
  background: var(--bg-light);
}
.offer-header {
  text-align: center;
  margin-bottom: 40px;
}
.offer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.offer-badge svg {
  width: 16px;
  height: 16px;
}
.offer-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.offer-description {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* オファーフロー（トップのstepsと同じ横並び） */
.offer-flow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.offer-flow-item {
  flex: 1;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
}
.offer-flow-number {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin: 0 auto 12px;
}
.offer-flow-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.4;
}
.offer-flow-text {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}
.offer-flow-arrow {
  font-size: 24px;
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  align-self: center;
  margin-top: 16px;
}

/* オファーTips */
.offer-tips {
  background: #fff;
  padding: 28px;
  border-radius: 16px;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid var(--border-card);
}
.offer-tips-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.offer-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.offer-tips-list li {
  font-size: 14px;
  color: var(--gray);
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 8px;
  line-height: 1.7;
}
.offer-tips-list li:before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

/* AIセクション（トップのai-demoスタイルに統一） */
.ai-section {
  padding: 80px 120px;
  background: #fff;
}
.ai-header {
  text-align: center;
  margin-bottom: 40px;
}
.ai-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.ai-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.ai-description {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}
/* --- Feature Cards --- */
.ai-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.ai-feat-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-gray);
    border-radius: var(--radius);
    padding: 18px 16px;
    border: 1px solid var(--border);
}

.ai-feat-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ai-feat-body h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.ai-feat-body p {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.7;
}
/* ===========================
   RESPONSIVE - TABLET
   =========================== */
@media (max-width: 1024px) {
  .page-header { padding: 48px 24px 32px; }
  .flow-section { padding: 48px 24px; }
  .flow-item { gap: 16px; padding: 20px 16px; }
  .flow-number { width: 60px; }
  .flow-number::after { width: 44px; height: 44px; font-size: 20px; }
  .offer-section { padding: 48px 24px; }
  .offer-flow { flex-direction: column; gap: 16px; }
  .offer-flow-arrow { transform: rotate(90deg); margin: -8px auto; }
  .offer-flow-item { width: 100%; max-width: 100%; }
  .ai-section { padding: 48px 24px; }
  .ai-features { flex-direction: column; gap: 12px; }
}

/* ===========================
   RESPONSIVE - MOBILE
   =========================== */
@media (max-width: 480px) {
  h2 { font-size: 22px; }
  h2::before { height: 10px; }
  .page-header { padding: 32px 16px 24px; }
  .page-title { font-size: 22px; }
  .page-description { font-size: 14px; }
  .flow-section { padding: 40px 16px; }
  .flow-item { flex-direction: column; gap: 12px; padding: 16px; }
  .flow-number { width: auto; flex-direction: row; gap: 6px; align-items: center; align-self: flex-start; }
  .flow-number::after { width: 36px; height: 36px; font-size: 16px; }
  .flow-title { font-size: 16px; }
  .flow-text { font-size: 13px; }
  .flow-icon { width: 36px; height: 36px; }
  .flow-icon svg { width: 18px; height: 18px; }
  .offer-section { padding: 40px 16px; }
  .offer-title { font-size: 22px; }
  .offer-flow-item { padding: 20px 16px; }
  .ai-section { padding: 40px 16px; }
  .ai-title { font-size: 22px; }
}
