/* ===== Global Styles & Resets ===== */
*,
*::before,
*::after { /* *::after を追加しました。通常セットで使われるため */
    box-sizing: border-box; /* bodyからこちらに移動し、全要素に適用 */
    margin: 0; /* bodyからこちらに移動 */
    padding: 0; /* bodyからこちらに移動 */
    border: 0; /* bodyからこちらに移動 */
    list-style: none; /* bodyからこちらに移動 */
    text-decoration: none; /* bodyからこちらに移動 */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6; /* line-height: 1; よりこちらが優先される想定 */
    color: #3A405B; /* color: #333; よりこちらが優先される想定 */
    background-color: #f4f5fe;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: .3s cubic-bezier(.4,.4,0,1); /* 何に対するtransitionか不明瞭だがbodyに記述されていたため維持 */
    word-spacing: 1px; /* bodyに記述されていたため維持 */
    /* margin, padding, border, list-style, text-decoration, box-sizing, color は上記 * へ移動 */
}

img {
    max-width: 100%;
    height: auto;
    display: block; /* 追加: 意図しない下の余白を防ぐため */
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== Utility Classes ===== */
.sp-only { /* スマートフォンでのみ表示 */
    display: block;
}

.container { /* 共通コンテナ */
    margin: 0 auto;
}

.section-title { /* 共通セクションタイトル */
    font-size: 23px;
    text-align: center;
    margin-bottom: 0.5em;
    color: #333;
}

.section-subtitle { /* 共通セクションサブタイトル */
    font-size: 12px;
    text-align: center;
    margin-bottom: 24px;
    color: #555;
}

/* ===== Header ===== */
.site-header {
    background-color: #e8eaff;
    position: relative;
    z-index: 300;
    border-radius: 0px 0px 0px 82px;
}

.header { /* .site-header との使い分けが不明瞭なため、コメントで注意喚起 */
    /* このクラスは .site-header と役割が重複している可能性があります */
    background-color: #E8EAFF;
}

.howto-header { /* howto.html専用のヘッダー */
    background-color: #F4F5FE;
}

.header-content-wrapper {
    background-color: #FFFFFF;
    padding: 20px 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 0px 0px 0px 82px;
    position: relative;
    overflow: hidden;
}

.logo-link {
    display: block;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.logo-link .logo-image {
    width: 274px;
    height: auto;
    margin: 0 auto;
}

.header-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 260px;
    position: relative;
    z-index: 1;
}

.header-navigation .nav-button {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #FFFFFF;
    background-color: #333333;
    padding: 7px 3px;
    border-radius: 18px;
    text-align: center;
    min-width: 100px;
    line-height: 1.4;
    transition: opacity 0.2s;
    width: 108px;

}

.header-navigation .nav-button:last-child {
    background-color: #333333;
    width: 120px;
}

.header-navigation .nav-button:hover {
    opacity: 0.85;
}

.header-howtouse-image {
    height: 28px;
    width: auto;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero-main-visual {
    background-color: #FFFFFF;
    text-align: center;
    position: relative;
    z-index: 200;
    overflow: hidden;
    border-radius: 0px 0px 0px 0px;
}

/* .aa は具体的な役割が不明なため、HTML構造が分かればより適切な名前に変更推奨 */
/* 一旦 hero-main-visual の装飾用コンテナと解釈 */
.aa { /* Hero Main Visual Inner Background */
    background-color: #E8EAFF;
    border-radius: 0px 72px 0px 0px;
}

.hero-main-visual-container {
    max-width: calc(100% - 40px);
    width: 450px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border-radius: 0px 72px 0px 0px; /* .aa と同じ指定、重複の可能性 */
    
}

.hero-main-catchphrase {
    color: #000000;
    font-size: 21px;
    font-weight: 700;
    height: auto;
    line-height: 1.4;
    text-align: center;
    width: auto;
    max-width: 100%;
    justify-content: center;
    padding-top: 20px;
}

.hero-main-catchphrase-x {
    color: #000;
}

.hero-main-image {
    max-width: 412px;
    position: relative;
    z-index: 3;
    margin-top: 10px;
    margin-left: auto;   /* ← これを追加 */
    margin-right: auto;  /* ← これを追加 (または margin: 0 auto;) */
}

.hero-sub-catchphrase{
    color: #000000;
    font-family: var(--s-font-8aa34d85);
    font-size: 25px;
    font-weight: 700;
    height: auto;
    line-height: 1.4;
    text-align: center;
    width: auto;
    max-width: 100%;
    justify-content: center;
}

.hero-introduction {
    background-color: #ffffff;
    text-align: center;
    padding: 32px;
    border-radius: 82px 82px 82px 0;
    z-index: 250;
    overflow: hidden;
    position: relative; /* ::after のため */
}

.hero-introduction::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: #F4F5FE;
    border-top-left-radius: 82px;
    border-top-right-radius: 82px;
    z-index: 0;
}

.hero-introduction-container {
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-introduction-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #000;
    line-height: 1.4;
    margin-bottom: 24px;
}

.hero-cta-button { /* CTA Button (Hero) */
    display: inline-block;
    padding: 15px 30px;
    background-color: #4338ca;
    color: #ffffff;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    position: relative;
    box-shadow: 4px 4px 0px #000000;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    width: 242px;
}

.hero-cta-button:hover {
    background-color: #3a3ad1;
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 6px 6px 0px #000000;
}

.hero-cta-button:active {
    transform: translateY(1px) translateX(1px);
    box-shadow: 3px 3px 0px #000000;
}

/* ===== Features Section ===== */
.features-section {
    background-color: #F4F5FE;
    z-index: 100;
    margin-top: -25px; /* hero-introduction との重なり調整用か */
    overflow: hidden;
    display: flex; /* width: 100% と合わせて全幅にする意図か */
    width:100%;
    padding: 40px 10px; /* デフォルトのパディング */
}

.features-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 30px 15px 30px 15px; /* 上下のパディングを統一 */
}

.features-section .section-title { /* features-section 内の共通タイトル再定義 */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 23px;
    color: #000;
    text-align: center;
    margin-bottom: 10px;
}

.features-section .section-subtitle { /* features-section 内の共通サブタイトル再定義 */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 12px;
    color: #000;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.4;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr; /* モバイルは1カラム */
    gap: 45px;
}

.feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-point-badge {
    display: inline-block;
    background-color: #FFDD81;
    color: #3A405B;
    font-size: 14px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 25px;
    margin-bottom: 5px;
    line-height: 1;
}

.feature-item .feature-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 200px;
    color: #000;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
    min-height: calc(1.7em * 2); /* 2行分の高さを確保 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-image { /* imgタグ自体へのスタイル */
    display: block;
    max-width: 304px;
    height: auto;
    margin: 0 auto;
    background-color: #FFFFFF;
    border-radius: 150px;
    box-shadow: none;
    margin-bottom: 12px;
}

.feature-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #000000;
    line-height: 1.4;
    text-align: left;
    width: 100%;
    margin-top: 0;
}

/* ===== Closing Section ===== */
.closing-section {
    background-color: #FFFFFF;
    padding: 32px 0;
    text-align: center;
    position: relative;
    z-index: 150;
    overflow: hidden;
    border-radius: 82px 82px 82px 0;
}

.closing-container {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.closing-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 24px;
}

.cta-button.closing-cta-button { /* CTA Button (Closing) - hero-cta-button とほぼ同じ */
    display: inline-block;
    padding: 15px 30px;
    background-color: #4338ca;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    position: relative;
    box-shadow: 4px 4px 0px #000000;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    width: 242px;
}

.cta-button.closing-cta-button:hover { /* hero-cta-button と挙動が異なる */
    transform: translateY(-1px);
    box-shadow: 1px 4px 10px rgba(74, 74, 255, 0.35);
    /* background-color のホバー効果は定義なし */
}
/* .cta-button.closing-cta-button:active の定義なし */


/* ===== Usage Guide Section ===== */
.usage-guide-section {
    position: relative;
    padding: 0 0 32px 0; /* 上パディングを削除 */
    z-index: 100;
    border-radius: 82px 0px 0px 0px;
}

.usage-guide-container { /* 白いメインカード */
    padding: 50px 20px 50px 20px; /* 上下のパディングを統一 */
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.usage-guide-section .section-title { /* usage-guide-section 内の共通タイトル再定義 */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 23px;
    color: #000;
    margin-bottom: 15px;
}

.usage-guide-section .section-subtitle.usage-guide-subtitle { /* usage-guide-section 内の共通サブタイトル再定義 */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #000;
    line-height: 1.7;
    margin: 0 auto 45px auto;

}

/* YouTube Embed */
.youtube-embed-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 45px auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.youtube-embed-wrapper::before { /* Aspect ratio 16:9 */
    content: "";
    display: block;
    padding-top: 56.25%;
}

.youtube-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 16px; /* 親と合わせる */
}

/* Steps (within Usage Guide or related) */
.steps-outer-container { /* 3ステップ全体を囲むエリア */
    background-color: #FAF7FD;
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    z-index: 90;
}

.steps-outer-container::before { /* 上部カーブ */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100px;
    background-color: #FFFFFF; /* 前のセクションの背景色に合わせる */
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    z-index: 1;
}

.steps-outer-container::after { /* 下部カーブ */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80px;
    background-color: #FAF7FD; /* このセクションの背景色 */
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    z-index: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr; /* モバイルは1カラム */
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.step-item { /* 各ステップのカード */
    background-color: #F4F5FE;
    padding: 25px 0px;
    border-radius: 20px;
    align-items: center; /* Flexでないため、text-alignで中央揃え */
    text-align: center; /* display: flex がないので、これで内部要素を中央寄せ */
    display: flex; /* 後から追加されていたので反映 */
    flex-direction: column; /* display: flex とセット */
}

.step-icon {
    max-width: 61px;
    height: auto;
    margin-bottom: 10px; /* 追加: アイコンとタイトルの間隔 */
}

.step-item .step-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.4;
}

.step-image {
    flex: none;
    height: auto;
    margin: 0px 0px 13px 0px;
    width: 360px;
    max-width: 100%;
}

.step-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #000;
    line-height: 1.4;
    flex-grow: 1;
    text-align: justify;  
    width: 304px;
    max-width: 100%;
}

/* Usage Guide CTA Button */
.usage-guide-cta-container { /* ボタン自体ではなく、ボタンを包むコンテナかもしれない */
                               /* 実際にはボタンそのもののスタイルとして定義されている */
    display: inline-block;
    padding: 15px 30px;
    background-color: #4a4aef;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    position: relative;
    box-shadow: 4px 4px 0px #000000;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 30px; /* 追加: 上の要素との間隔 */
}

.usage-guide-cta-container:hover {
    background-color: #3a3ad1;
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 6px 6px 0px #000000;
}

.usage-guide-cta-container:active {
    transform: translateY(1px) translateX(1px);
    box-shadow: 3px 3px 0px #000000;
}

/* Usage Guide CTA */
.usage-guide-cta {
    background-color: #f0f0f0;
    color: #3A405B;
    font-size: 16px;
    padding: 15px 30px;
    width: 242px;
    margin-top: 20px;
    border-radius: 30px;
    display: inline-block;
    text-align: center;
}

.usage-guide-cta:hover {
    background-color: #e0e0e0;
}

.final-prompt-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 15px; /* モバイル用基本パディング */
    padding-right: 15px; /* モバイル用基本パディング */
}

.final-prompt-text {
    color: #000000;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    text-align: center;
    width: 294px;
    max-width: 100%;
    margin-bottom: 24px; /* 追加: ボタンとの間隔 */
}

.cta-button.main-cta-final { /* CTA Button (Final Prompt) */
    display: inline-block;
    padding: 15px 30px;
    background-color: #4338ca;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    position: relative;
    box-shadow: 4px 4px 0px #000000;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    width: 242px;
    line-height: 1.4;
    font-size: 18px;
}

.cta-button.main-cta-final:hover {
    background-color: #3a3ad1;
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 6px 6px 0px #000000;
}

.cta-button.main-cta-final:active {
    transform: translateY(1px) translateX(1px);
    box-shadow: 3px 3px 0px #000000;
}

/* ===== Lesson Overview Section ===== */
.lesson-overview-wrapper {
    background-color: #FFFFFF;
    padding: 0;
    position: relative;
}

.lesson-overview-section {
    background-color: #ffefbc;
    padding: 54px 0; /* 上下のパディングを統一 */
    text-align: center;
    border-radius: 82px 0 0 0;
    position: relative;
}
/* .lesson-overview-section .container は共通スタイルで定義済み */

.lesson-image-wrapper {
    margin-top: 16px;

}

.lesson-overview-main-image {
    width: 340px;
    height: auto;
    display: block;
    margin: 0 auto;

}

/* ===== Detailed Lessons Section ===== */
.detailed-lessons-wrapper {
    background-color: #F4F5FE;
    padding: 0;
    position: relative;
}

.detailed-lessons-section {
    background-color: #ffefbc; /* lesson-overview-section と同じ背景 */
    padding: 40px 0px 90px 0px;
    border-radius: 0 0 82px 0;
    position: relative;
}
/* .detailed-lessons-section .container は共通スタイルで定義済み */

.lesson-examples-flex-container {
    display: flex;
    flex-direction: column; /* モバイルは縦積み */
    gap: 20px; /* モバイルでのアイテム間隔 */
    align-items: center; /* モバイルで中央揃え */
    /* justify-content: center; はPC用メディアクエリへ */
}

.lesson-example-item {
    background-color: #ffefbc; /* 親セクションと同じ背景なので、透明でも良いかも */
    border-radius: 10px;
    text-align: center;
    min-width: 300px; /* PCで横並びの際の最小幅 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lesson-example-title {
    font-size: 23px;
    margin-bottom: 0em; /* 0.5em などの間隔推奨 */
    color: #000;
    font-weight: 700;
    line-height: 1.4;
}

.lesson-example-note {
    font-size: 12px;
    color: #000;
    margin-top: 5px;
    margin-bottom: 10px;
}

.lesson-illustration-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 1.5em;
    overflow: hidden;
}

.chat-ui-bg,
.great-figures-bg { /* 共通化できる可能性 */
    padding: 0em; /* 画像自体にパディングや背景がある場合 */
    border-radius: 8px;
}

.lesson-example-image {
    flex: none;
    width: 340px;
    max-width: 100%;
    height: auto;
    text-align: center;
    margin: 0 auto;
}

/* ===== Trial Steps Section ===== */
.trial-steps-wrapper {
    background-color: #FFEFBC;
    padding: 0;
    position: relative;
}

.trial-steps-section {
    background-color: #f4f5fe;
    padding: 50px 0; /* padding: 3em 0; (SP) との整合性 */
    text-align: center; /* trial-steps-container で指定しているので重複の可能性 */
    border-radius: 82px 0 0 0;
    position: relative;
}

.trial-steps-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.steps-visual-grid { /* Not to be confused with .steps-grid */
    display: flex;
    flex-direction: column;
    gap: 3em; /* モバイルでのステップ間隔 */
    margin-top: 2em;
    align-items: center;
}

.step-visual-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
}

.step-number-badge {
    display: inline-block;
    background-color: #000000;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    padding: 2px 1em;
    border-radius: 20px;
    margin-bottom: 1em; /* 追加: タイトルとの間隔 */
    width: 84px;
}

.step-visual-title {
    font-size: 20px;
    margin-bottom: 0.8em; /* SPでの指定。PCでは1em */
    color: #333;
    line-height: 1.4;
}

.step-visual-image {
    width: 340px;
    max-width: 100%; /* 追加 */
    height: auto;
    display: block;
    margin-bottom: 1em; /* 追加: 説明文との間隔 */
}

.step-visual-description {
    font-size: 15px;
    width: 304px;
    max-width: 100%;
    color: #000;
    line-height: 1.4;
    text-align: justify;
    margin-bottom: 1.5em;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button (Common style, already defined or should be) */
.cta-button { /* 共通ボタンスタイル (既に定義済みのはず、重複に注意) */
    display: inline-block;
    padding: 15px 30px; /* SPでは 0.7em 1.5em */
    background-color: #4338ca;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px; /* SPでは 1em */
    justify-content: center;
    position: relative;
    box-shadow: 4px 4px 0px #000000;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    width: 242px;
    font-weight: 500;
    height: 54px;
}

.cta-button:hover {
    background-color: #3a3ad1;
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 6px 6px 0px #000000;
}

.cta-button:active {
    transform: translateY(0) translateX(0);
    box-shadow: 2px 2px 0px #000000;
}


.step-cta-button { /* CTA Button (Step) - ほぼ .cta-button と同じ */
    display: inline-block;
    padding: 15px 30px;
    background-color: #4338ca;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 18px;
    text-align: center;
    position: relative;
    box-shadow: 4px 4px 0px #000000;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.step-cta-button:hover {
    background-color: #3a3ad1;
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 6px 6px 0px #000000;
}

.step-cta-button:active {
    transform: translateY(1px) translateX(1px);
    box-shadow: 3px 3px 0px #000000;
}

/* ===== Final CTA Section ===== */
.final-cta-wrapper {
    background-color: #F4F5FE;
    padding: 0;
    position: relative;
}

.final-cta-section {
    background-color: #FFFFFF;
    padding: 20px 0; /* SPでの指定。PCでは 37px 0 */
    text-align: center;
    border-radius: 82px 82px 82px 0;
    position: relative;
}

.final-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em; /* SPでの指定。PCでは 1em */
}

.final-cta-text {
    font-size: 15px; /* SPでは 1em */
    color: #000;
    line-height: 1.9; /* SPでは 1.5 */
}

.main-cta-button { /* CTA Button (Main Final) - ほぼ .cta-button と同じ */
    display: inline-block;
    padding: 15px 30px;  /* SPでは 0.8em 2em */
    background-color: #4338ca;
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px; /* SPでは 1.1em */
    text-align: center;
    position: relative;
    box-shadow: 4px 4px 0px #000000;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.main-cta-button:hover {
    background-color: #5a4dff; /* .cta-button:hover と同じ */
}
/* .main-cta-button:active の定義なし */

/* ===== Pricing Section ===== */
.pricing-wrapper {
    background-color: #FFFFFF;
    padding: 0;
    position: relative;
}

.pricing-section {
    padding: 60px 0;
    /* text-align: center; は pricing-container で制御 */
    background-color: #F4F5FE;
    border-radius: 82px 0 0 0;
    position: relative;
}

.pricing-container {

    margin: 0 auto;
    padding: 0 15px;
    text-align: center; /* SPでタイトルを中央揃え */
}

.pricing-section .section-title { /* pricing-section 内の共通タイトル再定義 */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 23px;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr; /* モバイルは1カラム */
    gap: 20px; /* SPでのプラン間隔 */
    /* PC用の max-width, margin は @media (min-width: 768px) へ */
}

.pricing-plan-item {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 20px; /* SPでのパディング */
    text-align: center; /* SPで内部要素を中央揃え */
    width: auto; /* SPで幅自動調整 */
    max-width: 341px; /* SPでの最大幅 */
    margin-left: auto; /* SPで中央揃え */
    margin-right: auto; /* SPで中央揃え */
}

.pricing-plan-item.plan-monthly {
    text-align: center; /* SPでは中央揃え (PCでは left) */
}

.pricing-plan-item.plan-monthly .plan-title {
    font-size: 15px;
    color: #000;
    font-weight: 500;
    margin:10px 0px;
}

.plan-price-wrapper {
    margin-bottom: 15px;
    display: flex; /* 追加: 金額と単位を揃える */
    justify-content: center;
    align-items: baseline;
}

.plan-price-amount {
    font-size: 40px;
    font-weight: 500;
    color: #000;
    margin-right: 5px;
}

.plan-price-unit {
    font-size: 20px;
    color: #000;
    font-weight: 500;
}

.plan-description {
    font-size: 15px;
    color: #000;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 20px; /* 追加 */
}

.pricing-plan-item.plan-features {
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 10px; /* PCと同じ指定だがSP用に維持 */
    width: auto; /* SPでは固定幅解除 (PCでは 341px) */
    height: auto; /* SPでは固定高さ解除 (PCでは 379px) */
    max-width: 100%; /* 親に収まるように */
}

.pricing-plan-item.plan-features .plan-title {
    font-size: 20px;
    color: #000;
    font-weight: 700;
    margin-top: 20px;
}

.pricing-plan-item.plan-features .plan-subtitle.plan-feature-main-subtitle {
    font-size: 14px;
    color: #000;
    font-weight: 400;
    margin-bottom: 30px;
}

.pricing-plan-item-a { /* 具体的な用途不明 */
    width: 341px; /* PC用か？SPでは調整必要 */
    height:173px ; /* PC用か？SPでは調整必要 */
    /* SPでは width: auto; height: auto; max-width: 100%; などが適切 */
    margin-bottom: 20px; /* 例: 間隔調整 */
}

.plan-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 auto; /* 中央揃え */
    width: 100%;
    max-width: 380px;
}

.plan-feature-list-item {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    line-height: 1.7;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    text-align: left; /* SPでも左揃え維持 */
    justify-content: flex-start; /* SPで左から開始 */
    padding-left: 10%; /* SPでのインデント */
    box-sizing: border-box;
}

.plan-feature-list-item:last-child {
    margin-bottom: 0;
}

.plan-feature-icon {
    width: 50px;
    height: auto;
    margin-right: 15px;
    flex-shrink: 0;
}

/* ===== Introduction CTA Section ===== */
.introduction-cta-section {
    background-color: #f4f5fe;
    padding: 48px 0 96px 0; /* 一貫したpx値に変換 */
    text-align: center;
    overflow: hidden;
}
/* .introduction-cta-section::after はPC用メディアクエリへ */

.introduction-cta-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em; /* SPでの指定。PCでは 2.5em */
    position: relative;
    z-index: 1;
}

.ai-intro-visual-wrapper {
    position: relative;
    width: 140px; /* SPでの指定。PCでは 180px */
    height: 140px; /* SPでの指定。PCでは 180px */
    margin-bottom: 0;
    margin-left: auto; /* SPで中央揃え */
    margin-right: auto; /* SPで中央揃え */
}

.intro-face-image {
    width: 200px; /* ai-intro-visual-wrapper より大きいので注意 */
    height: 200px;/* ai-intro-visual-wrapper より大きいので注意 */
    /* SPでは親コンテナに収まるように調整が必要な可能性 */
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto; /* 中央揃え */
}

.intro-logo-image {
    max-width: 240px;
    height: auto;
    display: block;
    margin: -30px auto 0; /* SPでの指定。PCでは -40px */
    position: relative;
    z-index: 2;
}

.introduction-cta-text {
    font-size: 15px; /* SPでの指定。PCでは 15px (ほぼ同じ) */
    color: #000;
    line-height: 1.4; /* SPでの指定。PCでは 1.4 */
    margin-top: 0;
    font-weight: 400;
    margin-bottom: 0;
    text-align: center; /* 追加 */
}

.introduction-cta-text br + br {
    display: block;
    content: "";
}

.space{
    margin-top: 20px;
}

/* .cta-button (intro) は共通スタイルを使用 */
/* .intro-cta-button は .cta-button に統合されている想定 */

/* ===== FAQ Section ===== */
.faq-wrapper {
    background-color: #F4F5FE;
    padding: 0;
    position: relative;
}

.faq-section {
    text-align: center;
}

.faq-container { /* .container とは別に定義されている */
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-list {
    margin-top: 2em;
    max-width: 100%; /* SPでは親に追従 (PCでは 358px) */
    margin-left: auto;
    margin-right: auto;
    padding-left: 0; /* SPでの調整 */
    padding-right: 0; /* SPでの調整 */
    display: flex;
    flex-direction: column; /* アイテムを縦に並べる */
    align-items: center;   /* アイテムを中央に揃える */
}

.faq-item {
    margin-bottom: 1.5em;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
    width: 400px;
}

.faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 50;
    border-bottom: 1px solid #eee;
}

.faq-q,
.faq-a {
    display: flex;
    align-items: flex-start; /* align-items: center; との混在 */
    gap: 1em;
    margin-bottom: 0.5em;
    text-align: left;
    align-items: center; /* こちらが最終的な指定か */
}

.faq-a {
    margin-top: 1em;
    margin-bottom: 0;
}

.faq-icon.q-icon,
.faq-icon.a-icon {
    display: block;
    flex-shrink: 0;
    width: 45px;
    height: auto;
}

.faq-question-text,
.faq-answer-text { /* 共通化 */
    font-size: 15px;
    color: #000;
    line-height: 1.4;
    flex-grow: 1;
}

/* ===== Footer ===== */
.site-footer {
    background-color: #f4f5fe;
    padding: 0 2.5em 0 2em; /* SPでの指定 */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    border-radius: 82px 0 0 0; /* 左上を丸角に */
}

.howto-footer { /* howto.html専用のフッター */
    background-color: #F4F5FE;
    padding: 0 2.5em 0 2em; /* SPでの指定 */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    /* border-radiusなし */
}

.footer-container { /* .container とは別に定義されている */
    max-width: 1000px;
    margin: 0 auto;
    padding: 64px 0 20px 0; /* 左右パディングは親の .site-footer で指定 */
    /* SP用に左右パディング追加 */
    padding-left: 18px;
    padding-right: 18px;
}

.footer-section-a { /* ロゴセクション */
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 1.5em; /* SPでの指定。PCでは 1.8em */
}

.footer-logo img {
    max-width: 202px; /* SPでの指定。PCでは 202px */
    height: auto;
    display: block;
}

.footer-section-b { /* リンクとSNS */
    text-align: center;
    display: flex;
    flex-direction: row; /* SPでは縦積み */
    align-items: flex-start; /* SPで中央揃え */
    gap: 16px; /* SPでのリンク群とSNS群の間隔 (PCでは 70px) */
}

.footer-copyright{

font-size: 12px;
margin-bottom: 10px;
}

.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* SPでは中央揃え (PCでは flex-start) */
    gap: 2px; /* SPでの指定。PCでは 0.6em */
    text-align: center; /* SPでリンクテキストも中央 */
    width: auto;
}

.footer-navigation a {
    color: #000;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-navigation a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.8em;
    justify-content: center; /* SPでSNSアイコンも中央揃え */
}

.footer-social img {
    width: 45px; /* SPでの指定。PCでは 45px */
    height: 45px; /* SPでの指定。PCでは 45px */
    display: block;
}

.footer-bottom { /* コピーライト */
    padding-top: 1em; /* SPでの指定。PCでは 1.5em */
    margin-top: 0; /* SPでの指定 *
}

.footer-copyright {
    font-size: 11px; /* SPでの指定。PCでは 12px */
    color: #555;
    text-align: center;
}


/* ===== Mobile Specific Adjustments (max-width: 767px) ===== */


@media (max-width: 767px) {
    .youtube-embed-wrapper {
        margin-bottom: 30px;
        border-radius: 50px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .hero-main-image {
        height: auto; /* 基本スタイルで auto だが明示 */
        width: 290px; /* 固定値、max-width: 100% を推奨 */
        max-width: 100%; /* 追加 */
        margin-left: auto; /* 中央揃え */
        margin-right: auto; /* 中央揃え */
    }

    .section-title { /* 共通タイトルのSP調整 */
        font-size: 23px; /* 元の指定 */
        color: #000;
    }

    .section-subtitle { /* 共通サブタイトルのSP調整 */
        font-size: 12px; /* 元の指定 (変更なし) */
        color: #000;
        width: 251px;
        text-align: left;
        margin-left: auto;  /* ← これを追加（または確認） */
    margin-right: auto; /* ← これを追加（または確認） */
    }

    .sp-only { /* Utility class adjustment for SP */
        display: inline; /* 元は block だったが、inline もあったので注意 */
                         /* 基本は display: block; のままで、PCで none */
    }

    /* Lesson Overview & Detailed Lessons SP */
    .lesson-illustration-wrapper {
        margin-bottom: 1em; /* 元の指定 */
    }

    .detailed-lessons-section{
        padding: 0px 0px 90px 0px; /* 上パディングをデスクトップと統一 */
    }

    .lesson-overview-section{
        padding: 54px 0;
    }

    /* Trial Steps SP */
    .trial-steps-section {
        padding: 50px 0; /* デスクトップと同じ値に統一 */
    }
    .steps-visual-grid {
        gap: 3em; /* 元の指定 */
    }
    .step-visual-title {
        font-size: 20px; /* 元の指定 (変更なし) */
        margin-bottom: 0.8em; /* 元の指定 */
    }
    .step-visual-description {
        font-size: 0.95em; /* 元の指定 */
        margin-bottom: 1.5em; /* 元の指定 */
        text-align: left; /* 元の指定 (justify から変更) */
        width: 304px;
    }
    .cta-button { /* Common CTA button SP adjustment */
        font-size: 18px; /* 元の指定 */
        padding: 0.7em 1.5em; /* 元の指定 */
        width: 242px;
        max-width: 100%;
        background-color: #4338ca;
        font-weight: 500;
    }

    /* Final CTA SP */
    .final-cta-section {
        padding: 37px 0; /* デスクトップと統一 */
    }
    .final-cta-container {
        gap: 1.5em; /* 元の指定 */
    }
    .final-cta-text {
        font-size: 1em; /* 元の指定 */
        line-height: 1.9; /* 元の指定 */
    }
    .main-cta-button { /* Final Main CTA SP */
        font-size: 1.1em; /* 元の指定 */
        padding: 0.8em 2em; /* 元の指定 */
    }

    /* Header SP (from 全体的なモバイル表示の調整) */
    .header-content-wrapper {
        align-items: center;
    }
    .logo-link .logo-image {
        margin-left: auto;
        margin-right: auto;
    }
    .header-navigation {
        justify-content: space-around;
    }

    /* Hero Section (Main Visual) SP (from 全体的なモバイル表示の調整) */
    .hero-introduction { /* introduction なのに visual のセクションにある？ */
        padding: 32px;
    }
    .hero-main-catchphrase {
        text-align: center;
        margin-block-start:0;
    }
    /* .hero-main-image は上記で定義済み */

    /* Hero Section (Introduction) SP (from 全体的なモバイル表示の調整) */
    .hero-introduction-container {
        text-align: center;
    }

    .hero-introduction::after {
        height: 60px;
        border-top-left-radius: 82px;
        border-top-right-radius: 82px;
        background-color: #fff;
    }

    .hero-main-visual-container{
        padding-top: 20px;
    }

    .hero-main-visual {
        margin-bottom: -16px;
        position: relative;
        z-index: 201;
    }

    /* Features Section SP (from 全体的なモバイル表示の調整) */
    .features-container {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 30px; /* デスクトップと統一 */
        padding-bottom: 30px; /* 上下のパディングを統一 */
        margin-top: 54px;
        margin-bottom: 40px;
    }
    .features-section .section-title,
    .features-section .section-subtitle {
        /* text-align: center; は基本で適用済み */
        width: 304px; /* 固定幅はSPでは注意が必要 */
        max-width: 100%; /* 追加 */
        margin-left: auto; /* 中央寄せ */
        margin-right: auto; /* 中央寄せ */
    }

    .feature-item .feature-title {
        color: #000000;
        font-size: 20px;
        font-weight: 700;
        height: auto;
        line-height: 1.4;
        margin: 0px 0px 15px 0px;
        text-align: center;
    }
    .feature-item {
        align-items: center;
    }
    .feature-description {
        text-align: left;
        width: 304px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Closing Section SP (from 全体的なモバイル表示の調整) */
    .closing-container {
        text-align: center;
    }

    /* Usage Guide Section SP (from 全体的なモバイル表示の調整) */
    .usage-guide-container {
        text-align: center;
    }
    .step-description { /* Usage Guide 内の step-description */
        text-align: left;
        width: 304px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .usage-guide-section .section-subtitle.usage-guide-subtitle { /* usage-guide-section 内の共通サブタイトル再定義 */
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: 400;
        font-size: 13px;
        color: #000;
        line-height: 1.7;
        margin: 0 auto 45px auto;
        width: 249px;
    }

    .usage-guide-container {
        padding: 50px 45px 50px 45px; /* 上下のパディングを統一 */
    }
    /* Final Prompt Section SP (from 全体的なモバイル表示の調整) */
    .final-prompt-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Lesson Sections SP (from 全体的なモバイル表示の調整) */
    .lesson-overview-section .container,
    .detailed-lessons-section .container {
        text-align: center;
    }
    .lesson-overview-main-image,
    .lesson-example-image {
        margin-left: auto;
        margin-right: auto;
    }
    .lesson-examples-flex-container {
        align-items: center;
    }

    .pricing-plan-item.plan-monthly {
        text-align: left; /* SP: center */
    }

    .pricing-plan-item.plan-monthly{
        width: 341px;
        height: auto;
    }

    .pricing-container{
        padding: 0px;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 120px;
    }

    .plan-price-wrapper {
        margin-bottom: 15px;
        margin-left: 17px;
        display: flex; /* 追加: 金額と単位を揃える */
        justify-content: left;
        align-items: baseline;
    }

    .plan-description{

    margin-left: 17px;
    }

    .pricing-plan-item{

    padding: 0;
    }

    .pricing-plan-item.plan-monthly .plan-title{
        margin: 10px 0px 10px 17px;

    }


    .pricing-plan-item.plan-features{

    width: 340px;
    }

    .pricing-plan-item.plan-features .plan-subtitle.plan-feature-main-subtitle{
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .plan-feature-list-item {
        font-size: 16px; /* SP: 15px */
        margin-bottom: 25px; /* SP: 20px */    
        margin-left: 10px;
        padding-left: 0px; /* SP: 10% */
        justify-content: flex-start; /* SPと同じ */
    }

    .pricing-plan-item.plan-features{

        height: 359px;
    }

    /* Introduction CTA Section SP (from 全体的なモバイル表示の調整) */
    .introduction-cta-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .ai-intro-visual-wrapper, /* .intro-face-image, .intro-logo-image も同様 */
    .intro-logo-image { /* .intro-face-image は .ai-intro-visual-wrapper の中なので不要 */
        margin-left: auto;
        margin-right: auto;
    }

    .faq-item{
        width:323px ;
        text-align: center;
    }
}


/* ===== Desktop Styles (min-width: 768px) ===== */
@media (min-width: 768px) {
    .sp-only { /* スマートフォンでのみ表示 (PCでは非表示) */
        display: none;
    }

    /* Header PC */
    .header-navigation {
        max-width: 300px;
    }

    /* Hero Section PC */
    .hero-main-visual-container {
        /* border-radius: 0px 72px 0px 0px; は基本と同じ */
        width: 480px;
        /* max-width: calc(100% - 40px); は基本と同じ */
    }
    .hero-main-catchphrase {
        color: #000000;
        font-size: 21px;
        font-weight: 700;
        height: auto;
        line-height: 1.4;
        text-align: center;
    }
    .hero-introduction {
        background-color: #ffffff;
        text-align: center;
        padding: 32px;
        border-radius: 82px 82px 82px 0;
    }
    .hero-introduction::after {
        height: 60px;
        border-top-left-radius: 82px;
        border-top-right-radius: 82px;
        background-color: #fff;
    }

    /* Features Section PC */
    .features-section {
        padding: 40px 10px 30px;
    }
    .features-section::before { /* HTMLに未対応要素だが既存のため維持 */
        content: ''; /* 追加: ::before/:after には contentが必須 */
        position: absolute; /* 追加: ::before/:after の配置に必要 */
        top: -50px;
        left: 0; /* 追加: 配置基準 */
        width: 100%; /* 追加: 幅 */
        height: 50px;
        background-color: #FAF7FD; /* box-shadow の背景色と合わせる */
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
        box-shadow: 0 10px 0 0 #FAF7FD; /* この色は背景と同じはず */
        z-index: 1; /* 追加: 重なり順 */
    }
    .features-section::after { /* HTMLに未対応要素だが既存のため維持 */
        content: ''; /* 追加 */
        position: absolute; /* 追加 */
        bottom: -50px; /* 例: 下部に配置する場合 */
        left: 0; /* 追加 */
        width: 100%; /* 追加 */
        height: 50px;
        background-color: #f4f5fe; /* 例: 次のセクションが白の場合 */
        border-top-left-radius: 50px;
        border-top-right-radius: 50px;
        z-index: 1; /* 追加 */
    }
   
    .features-section .section-title {
        font-size: 23px; /* 基本と同じ */
        margin-bottom: 10px;
    }
    .features-section .section-subtitle {
        font-size: 12px; /* 基本と同じ */
        margin-bottom: 40px;
    }
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 45px;
        align-items: start;
    }
    .feature-point-badge {
        font-size: 14px; /* 基本と同じ */
        padding: 6px 15px; /* 基本と同じ */
        margin-bottom: 5px; /* 基本と同じ */
    }
    .feature-item .feature-title {
        font-size: 20px;
        margin-bottom: 20px; /* 基本と同じ */
        line-height: 1.4; /* 基本と同じ */
        min-height: calc(1.75em * 2); /* 1.7em から変更 */
    }
    .feature-image {
        max-width: 304px; /* 基本と同じ */
        border-radius: 160px; /* 150px から変更 */
        margin-bottom: 12px; /* 基本と同じ */
    }
    .feature-description {
        font-size: 15px; /* 基本と同じ */
        line-height: 1.4; /* 基本と同じ */
        max-width: 100%; /* 270px から変更 */
    }

    /* Usage Guide Section PC */
    .usage-guide-section::before { /* HTMLに未対応要素だが既存のため維持 */
        content: ''; /* 追加 */
        position: absolute; /* 追加 */
        top: 0; /* 追加 */
        left: 0; /* 追加 */
        width: 100%; /* 追加 */
        height: 120px; /* 不明なカーブや装飾用か */
        /* background-color, border-radius などが必要 */
        z-index: 1; /* 追加 */
    }
    .usage-guide-container {
        padding: 50px 120px 50px; /* モバイルと同じ上下パディングを維持 */
        border-radius: 30px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .usage-guide-section .section-title {
        font-size: 23px; /* SP: 26px */
        margin-top: 30px;
        margin-bottom: 10px; /* SP: 15px */
    }
    .usage-guide-section .section-subtitle.usage-guide-subtitle {
        font-size: 12px; /* SP: 13.5px */
        margin-bottom: 30px; /* SP: 45px */
    }
    .youtube-embed-wrapper { /* YouTube Embed PC */
        margin-bottom: 55px; /* SP: 30px or 45px */
        border-radius: 50px; /* SP: 12px or 16px */
        /* max-width: 480px; は共通でOK */
    }

    /* Steps Section PC */
    .steps-outer-container {
        padding-top: 120px; /* SP: 100px */
        padding-bottom: 100px; /* SP: 80px */
    }
    .steps-outer-container::before,
    .steps-outer-container::after {
        height: 120px; /* カーブ高さ SP: 100px/80px */
    }
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);

        gap: 45px;
        align-items: start;
        justify-content: center;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .step-item {
        border-radius: 24px; /* SP: 20px */
    }
    .step-item .step-title {
        font-size: 20px; /* 基本と同じ */
        margin-bottom: 15px; /* SP: 20px */
    }
    .step-image {
        border-radius: 12px; /* 新規追加 */
        width: 340px;
    }
    .step-description {
        font-size: 15px; /* 基本と同じ */
        text-align: justify; /* SPでは left or center */
    }

    /* Usage Guide CTA PC */
    .usage-guide-cta-container { /* ボタン自体 */
        /* padding-top, padding-bottom はボタンのスタイルではない */
        /* このクラス名がボタンそのものを指しているため、paddingは内側の余白 */
        /* margin-topなどで調整 */
        margin-top: 40px; /* 例: 上の要素との間隔 */
    }


    /* Final Prompt Section PC */
    .final-prompt-section::before { /* HTMLに未対応要素だが既存のため維持 */
        content: ''; /* 追加 */
        position: absolute; /* 追加 */
        top: 0; /* 追加 */
        left: 50%; /* 追加 */
        transform: translateX(-50%); /* 追加 */
        width: 130%; /* 不明なカーブや装飾用か */
        height: 120px;
        /* background-color, border-radius などが必要 */
        z-index: 0; /* 追加 */
    }
    .final-prompt-container {
        max-width: 780px; /* SP: 700px (padding考慮前) */
        padding-left: 0;
        padding-right: 0;
    }
    .cta-button.main-cta-final {
        padding: 15px 20px; /* SP: 15px 30px */
        border-radius: 40px; /* SP: 30px */
        min-width: 242px;
        margin-top: 30px;
    }

    /* Lesson Overview & Detailed Lessons PC */
    .lesson-examples-flex-container {
        flex-direction: row; /* SP: column */
        gap: 80px; /* SP: 20px */
        justify-content: center;
    }

    /* Trial Steps PC */
    .step-visual-description {
        /* font-size, margin-bottom はSPと同じ */
        text-align: justify; /* SPでは left */
    }
    /* .cta-button (Trial Steps) はSPと同じ */

    /* Final CTA PC */
    /* .final-cta-section padding はSPより大きい (37px) */
    .final-cta-section {
        padding: 37px 0; /* 簡潔な記述に変更 */
    }
    .final-cta-container {
        gap: 1em; /* SP: 1.5em */
    }
    /* .final-cta-text, .main-cta-button はSPと同じ */

    /* Pricing Section PC */
    .pricing-grid {
        grid-template-columns: 1fr 1fr; /* 2カラム */
        max-width: 800px;
        margin: 0 auto; /* グリッド自体を中央へ */
        gap: 30px; /* プラン間の間隔 (SP:20px) */
    }
    .pricing-plan-item {
        padding: 0 0 0 20px; /* SP: 20px 全周 */
        /* width, max-width, margin-left/right はSP用なのでPCでは不要か調整 */
        width: auto;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        text-align: left; /* SP: center */
    }
    .pricing-plan-item.plan-monthly {
        text-align: left; /* SP: center */
    }
    .pricing-plan-item.plan-monthly .plan-price-wrapper {
        justify-content: flex-start; /* SP: center */
    }
    .pricing-plan-item.plan-features {
        padding: 10px 10px; /* 基本と同じ */
        width: 341px; /* 固定幅 */
        height: 369px; /* 固定高さ */
        text-align: center; /* SPと同じ */
        align-items: center; /* SPと同じ */
    }
    .pricing-plan-item.plan-features .plan-title {
        font-size: 20px; /* 基本と同じ */
        margin-bottom: 15px; /* SP: 10px */
    }
    .pricing-plan-item.plan-features .plan-subtitle.plan-feature-main-subtitle {
        font-size: 14px; /* 基本と同じ */
        margin-bottom: 20px; /* SP: 30px */
    }
    .plan-feature-list-item {
        font-size: 15px; /* SP: 15px */
        margin-bottom: 25px; /* SP: 20px */
        padding-left: 10px; /* SP: 10% */
        justify-content: flex-start; /* SPと同じ */
    }
    .plan-feature-icon {
        width: 50px; /* 基本と同じ */
        height: auto; /* 基本と同じ */
        margin-right: 20px; /* SP: 15px */
    }

    /* Introduction CTA Section PC */
    
    .introduction-cta-section::after { /* 下部カーブ */
        content: '';
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 120%; /* もっと大きくても良いかも 150%-200% */
        height: 100px; /* カーブの高さ (padding-bottom とのバランス) */
        background-color: #f4f5fe; /* 次のセクションが白の場合の想定 */
        border-top-left-radius: 50%;
        border-top-right-radius: 50%;
        z-index: 0;
    }
    .introduction-cta-container {
        gap: 2.5em;
    }
    .ai-intro-visual-wrapper {
        width: 180px;
        height: 180px;
    }
    .intro-logo-image {
        /* max-width: 240px; は基本と同じ */
        margin-top: -40px;
    }
    .introduction-cta-text {
        font-size: 15px; /* SP: 0.95rem */
        line-height: 1.4; /* SP: 1.7 */
    }
    /* .cta-button (Intro) は基本スタイル適用 */

    /* Footer PC */
    .footer-section-a {
        margin-bottom: 1.8em;
    }
    .footer-logo img {
        max-width: 202px;
    }
    .footer-section-b {
        flex-direction: row; /* SP: column */
        justify-content: center; /* SP: align-items: center */
        align-items: flex-start;
        gap: 70px;
    }
    .footer-navigation ul {
        align-items: flex-start; /* SP: center */
        text-align: left; /* SP: center */
        gap: 0.6em;
    }
    
    .footer-social img {
        width: 45px;
        height: 45px;
    }
    .footer-bottom {
        padding-top: 1.5em;
        margin-top: 2em; /* SPでは0だったので調整 */
        border-top: none; /* SPでは罫線あり */
    }
    .footer-copyright {
        font-size: 12px;
    }
}

/* ===== Additional Wrapper Styles ===== */

/* Hero Introduction Wrapper */
.hero-introduction-wrapper {
    background: linear-gradient(to bottom, 
        #E8EAFF 0%, 
        #E8EAFF 50%, 
        #F4F5FE 50%, 
        #F4F5FE 100%);
    padding: 0;
}

/* Features Wrapper */
.features-wrapper {
    background-color: #F4F5FE;
    padding: 60px 0;
    border-radius: 82px 0 0 0;
    position: relative;
}

.features-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 82px;
    height: 82px;
    background-color: #FFFFFF;
    z-index: -1;
}

/* Update features-container */
.features-container {
    background-color: #F4F5FE;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    border-radius: 82px;
}

/* Final Prompt Wrapper */
.final-prompt-wrapper {
    background: linear-gradient(to bottom,
        #F4F5FE 0%,
        #F4F5FE 50%,
        #FFEFBC 50%,
        #FFEFBC 100%);
    padding: 0;
}

/* Update final-prompt-section */
.final-prompt-section {
    background-color: #ffffff;
    text-align: center;
    padding: 32px;
    border-radius: 82px 82px 82px 0;
    position: relative;
    z-index: 1;
}

/* Introduction CTA Wrapper */
.introduction-cta-wrapper {
    background-color: #FFFFFF;
    padding: 0;
}

/* Update introduction-cta-section */
.introduction-cta-section {
    background-color: #F4F5FE;
    text-align: center;
    padding: 48px 24px; /* 一貫したpx値に変換し、上下のパディングを統一 */
    overflow: visible;
    border-radius: 0 0 82px 0;
    position: relative;
}

/* Footer Wrapper */
.footer-wrapper {
    background-color: #FFFFFF;
    padding: 0;
}

/* Update site-footer */
.site-footer {
    background-color: #F4F5FE;
    padding: 0;
    text-align: center;
    border-radius: 82px 0 0 0; /* 左上を丸角に */
}

.howto-footer { /* howto.html専用のフッター（border-radiusなし） */
    background-color: #F4F5FE;
    padding: 0;
    text-align: center;
}

/* ===== Padding Removals ===== */

/* FAQセクションのパディングは基本定義で設定済み */

.lesson-overview-inner {
    padding: 0;
}

.detailed-lessons-inner {
    padding: 0;
}

.trial-steps-inner {
    padding: 0;
}

.faq-inner {
    padding: 40px 0px 80px 0px;
    background-color: #ffffff;
    border-radius: 82px 0 82px 0;
    position: relative;
}

.usage-guide-section-inner {
    padding: 0;
    background-color: #F4F5FE;
    border-radius: 82px 0 0 0;
    position: relative;
}

.usage-guide-section-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 82px;
    height: 82px;
    background-color: #FFFFFF;
    z-index: -1;
}

/* ===== Unified Button Hover States ===== */
.hero-cta-button:hover,
.cta-button:hover,
.cta-button.closing-cta-button:hover,
.cta-button.main-cta-final:hover,
.usage-guide-cta-container:hover,
.step-cta-button:hover,
.main-cta-button:hover {
    background-color: #3a3ad1;
    transform: translateY(-2px) translateX(-2px);
    box-shadow: 6px 6px 0px #000000;
}

/* ===== Mobile Specific Padding Adjustments ===== */
@media (max-width: 767px) {
    /* パディングは各セクションの基本定義で統一済み */
    /* 必要に応じて左右のパディングのみ調整 */
}

/* ===== How To Page Styles ===== */
.howto-container {
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #F4F5FE;
    border-radius: 0 82px 0 0;
    position: relative;
}

/* Howto Page Title */
.howto-page-title {
    text-align: center;
    padding: 40px 0 30px;
}

.howto-page-title h1 {
    font-size: 24px;
    color: #4A4AE6;
    margin-bottom: 10px;
}

.howto-page-title p {
    font-size: 32px;
    font-weight: bold;
    color: #333;
}

/* Video Section */
.video-section {
    text-align: center;
    margin-bottom: 40px;
}

.video-section h2 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.video-placeholder {
    background-color: #4A4AE6;
    border-radius: 20px;
    padding: 40px;
    display: inline-block;
    position: relative;
    width: 100%;
    max-width: 400px;
}

.video-placeholder img {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

.video-placeholder .text {
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
}

.video-placeholder .play-button {
    background-color: #FF0000;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder .play-button::after {
    content: "▶";
    color: white;
    font-size: 20px;
}

/* Steps */
.step {
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.step-header {
    background-color: #333;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.5;
    text-align: center;
}

.phone-mockup {
    background-color: #f8f8f8;
    border: 3px solid #333;
    border-radius: 30px;
    padding: 20px;
    margin: 20px auto;
    max-width: 300px;
    min-height: 400px;
    position: relative;
}

.phone-mockup .screen {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    min-height: 350px;
}

.step-description {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    line-height: 1.6;
    text-align: center !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.step .step-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 20px auto;
    display: block;
    border-radius: 10px;
}

/* Howto Footer */
.howto-footer {
    text-align: center;
    padding: 60px 20px 40px;
}

.howto-footer-logo {
    width: 50px;
    height: 50px;
    background-color: #4A4AE6;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.howto-footer h2 {
    font-size: 24px;
    color: #4A4AE6;
    margin-bottom: 30px;
}

.howto-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.howto-social-links a {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
}

.howto-footer-links {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.howto-footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
}

.howto-copyright {
    font-size: 10px;
    color: #999;
    margin-top: 20px;
}

/* Howto specific logo size */
.howto-logo-image {
    width: 200px !important;
}

/* Howto specific step description */
.howto-container .step .step-description {
    text-align: center !important;
    max-width: 400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Howto specific video size */
.howto-container .youtube-embed-wrapper {
    max-width: 400px;
    margin: 0 auto 30px auto;
}

/* Howto Responsive */
@media (max-width: 640px) {
    .howto-page-title h1 {
        font-size: 20px;
    }
    
    .howto-page-title p {
        font-size: 24px;
    }
    
    .step {
        padding: 20px;
    }
    
    .phone-mockup {
        max-width: 250px;
    }
}