@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 0.05em;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}

:root {
    --bg-light: #FFFDE7;
    --navy: #1D3557;
    --yellow: #FFD60A;
    --text-dark: #333;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #fff;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 統一デザイン */
h2,
.question,
.header-nav a,
.voice-right h2,
.voice-text,
.question span,
.answer span,
.section-en,
.flow-content p,
.support-card p,
.service-num,
.service-body p,
.answer-text {
    font-size: 16px;
    font-weight: bold;
    color: #123c5a;
    line-height: 1.6;
}

.shadow-card {
    box-shadow: 0 0px 15px 5px rgba(0, 0, 0, 0.08);
}

.support,
.service,
.voice,
.flow,
.faq,
.cta {
    padding: 100px 0 100px;
}

.support,
.flow,
.cta {
    background: #FFFCE8;
}

.service,
.voice,
.faq {
    background: #fff;
}

.support-inner,
.service-inner,
.voice-inner,
.flow-inner,
.faq-inner,
.cta-inner {
    max-width: 1000px;
    margin: auto;
}

.flow-content p,
.support-card p {
    font-weight: normal;
    text-align: left;
}

.voice-inner,
.flow-steps,
.cta-inner,
.faq-inner-wrap.scroll-up.is-show {
    padding: 0 16px;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #ffcc00;
    outline-offset: 4px;
}

/* ===== 固定ヘッダー ===== */
nav.header-nav {
    text-decoration: none;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: rgb(255 255 255 / 50%);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.header-inner {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #123c5a;
}

.header-nav-flow-pc,
.header-nav-faq-pc,
.header-nav-contact-pc {
    margin-left: 20px;
    text-decoration: none;
    color: #123c5a;
}

.header-btn {
    background: #123c5a;
    color: #fff !important;
    padding: 8px 14px;
    border-radius: 4px;
}

.header-nav-flow-pc,
.header-nav-faq-pc,
.header-nav-flow,
.header-nav-faq,
.header-nav-contact {
    display: inline;
    background-image: linear-gradient(90deg, #fcf69f, #fcf69f);
    /* マーカーの色を指定 */
    background-repeat: no-repeat;
    background-position: left bottom;
    /* マーカーの発生位置を左下に設定 */
    background-size: 0 40%;
    /* マーカーの横幅 / 縦幅 */
    transition: all 0.8s ease;
    /* マーカーを引く速度 */
    cursor: pointer;
    /* ホバー時のカーソルをポインターにする */
}

.header-nav-flow-pc:hover,
.header-nav-faq-pc:hover,
.header-nav-flow:hover,
.header-nav-faq:hover,
.header-nav-contact:hover {
    background-size: 100% 40%;
    /* マーカーの横幅を100%にする */
}

.header-nav-contact-pc:hover {
    opacity: 0.8;
}

.hamburger-wrap {
    display: none;
}

@media(max-width:768px) {

    .logo img {
        position: fixed;
        top: 6px;
        left: 72px;
    }

    a.header-nav-faq-pc,
    .header-nav-flow-pc {
        display: none;
    }

    .hamburger-wrap {
        display: block;
    }

}

/* ハンバーガーメニュー */

.menu {

    position: fixed;
    top: 0;
    left: -280px;
    /* 画面外に隠す */

    width: 280px;
    height: 100vh;

    background: #fff;

    transition: 0.3s;

    z-index: 1000;

    padding-top: 80px;
}

.menu.open {
    left: 0;
}

/* メニュー中身 */

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    border-bottom: 1px solid #eee;
}

.menu a {
    display: block;
    padding: 18px 24px;
    text-decoration: none;
    color: #333;
}

.menu a:hover {
    background: #fef76c1a;
}

/* オーバーレイ */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

.menu-toggle {
    width: 40px;
    height: 30px;
    top: -43px;
    left: 16px;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

/* ハンバーガーボタン */

.menu-toggle span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #123c5a;
    transition: 0.3s;
    top: 50%;
    /* 全て一旦中央に寄せる */
    transform: translateY(-50%);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(3) {
    top: 100%;
}

/* ×になる動き */

.menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* キービジュアル全体 */
.kv {
    position: relative;
    width: 100%;
    max-width: 100%;
    top: 64px;
    background-color: #163654;
    overflow: hidden;
}

/* 画像 */
.kv-image-pc img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 1200px;
    margin: auto;
}

.kv-image-sp,
.kv-image-sp img {
    display: none;
}

/* ボタン配置レイヤー */
.kv-btn-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    pointer-events: none;
    z-index: 10;
}

/* ボタン */
/* ボタンと注釈をまとめる箱 */
.kv-btn-box {
    position: absolute;
    left: 25vw;
    top: 44vw;
    width: 40vw;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

@media (min-width: 1200px) {
    .kv-btn-box {
        left: 50%;
        margin-left: calc(-600px + 312px);
        top: 540px;
        width: 480px;
    }
}

/* ボタン（既存のスタイルを調整） */
.kv-btn {
    position: relative;
    pointer-events: auto;
    display: inline-block;
    width: 100%;
    padding: 12px 10px;
    background: #fef76c;
    color: #163654;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 4px #0a283a;
    transition: all 0.3s ease;
}

/* ホバー時の動き */
.kv-btn:hover {
    box-shadow: 0 0 transparent;
    transform: translate(0, 2px);
    background-color: #fffb9d;
}

/* ボタン上の文字 */
.kv-btn-catch {
    font-size: 1.3em;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    text-align: center;
}

/* 下部へ移動しますの注釈 */
.kv-btn-note,
.form-btn-note {
    pointer-events: none;
    font-size: 13px;
    color: #90b5d8;
    margin-top: 3px;
    font-weight: normal;
    padding: 2px 10px;
    text-align: center;
}

@media(max-width:768px) {

    .kv {
        top: 57px;
    }

    .kv-image-pc {
        display: none;
    }

    .kv-image-sp,
    .kv-image-sp source,
    .kv-image-sp img {
        display: block;
        width: 100%;
        height: auto;
    }

    .kv-btn-wrap {
        padding-bottom: 10vw;
    }

    .kv-btn-box {
        width: 80vw;
        margin: 0 auto;
        left: 49vw;
        top: 145vw;
    }

    a.kv-btn {
        width: 100%;
        font-size: 17px;
    }

    .kv-btn-note {
        font-size: 15px;
    }

    .site-header {
        height: 56px;
    }

    .logo {
        font-size: 18px;
    }

    .header-nav a {
        font-size: 13px;
    }
}

/* ===== マネタイズサポート ===== */

section.support {
    padding: 200px 0;
}

.support-title {
    margin-bottom: 16px !important;
}

.support-sub {
    margin-bottom: 40px;
    text-align: center;
}

.support-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 226px));
    gap: 32px;
    justify-content: center;
    text-align: center;
}

.support-card img {
    opacity: 0.6;
    max-width: 90px;
    margin: 16px 0;
}

.support-card-item {
    max-width: 220px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

/* ===== サービス ===== */
.service-inner {
    margin: 0 auto;
    text-align: center;
}

.section-en {
    letter-spacing: 0.1em;
    color: #999999;
    text-align: center;
    position: relative;
    margin-bottom: 24px;
}

.section-en::before {
    background: #f4a100;
    content: '';
    position: absolute;
    bottom: -8px;
    display: inline-block;
    width: 32px;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #123c5a;
    margin-bottom: 56px;
    text-align: center;
}

.marker {
    display: inline;
    background: linear-gradient(transparent 70%, rgb(255 240 29 / 62%) 70%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.6s ease 0.2s;
}

.marker.on {
    background-size: 100% 100%;
}

.service-card {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    border-radius: 10px;
    justify-content: center;
}

.service-card-item {
    max-width: 290px;
}

.service-card-item img {
    margin: 20px;
    width: 250px;
    height: 190px;
    object-fit: cover;
}

.service-body {
    padding: 0 20px 24px;
}

.service-subtitle {
    display: flex;
    justify-content: flex-start;
}

.service-num {
    display: inline-block;
    background: #123c5a;
    color: #fff;
    padding: 5px 8px;
    margin: 0 10px 10px 0;
}

.service-body p {
    text-align: left;
    font-weight: normal;
}

.service-body h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
}

@media(max-width:1024px) {
    .service-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:768px) {
    .service-card {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }
}

.voice-en {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #999;
}

.voice-title {
    text-align: center;
    font-size: 24px;
    margin: 10px 0 40px;
}

.voice-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 700px;
    margin: auto;
}

.voice-card {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.voice-left {
    text-align: center;
    position: relative;
    width: 25%;
}

.voice-card .voice-left::after {
    position: absolute;
    top: 0;
    left: 100%;
    margin: 0 1rem;
    content: "";
    width: 1px;
    height: 100%;
    background-color: #CACACA;
}

.voice-left img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

/*レビューの星*/
.star5_rating {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    color: #CCCCCC;
}

.star5_rating:before,
.star5_rating:after {
    content: '★★★★★';
}

.star5_rating:after {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f5b400;
}

.star5_rating[data-rate="5"]:after {
    width: 100%;
}

.star5_rating[data-rate="4"]:after {
    width: 80%;
}

.voice-right {
    width: 100%;
    margin: 0 0 0 20px;
}

p.voice-text {
    font-weight: normal;
}

.voice-meta {
    font-size: 12px;
    color: #777;
}

@media(max-width:500px) {
    .voice-card {
        flex-direction: column;
        align-items: center;
    }

    .voice-left {
        width: 100%;
    }

    .voice-right {
        margin: 0;
    }

    .voice-card .voice-left::after {
        display: none;
    }
}

/* =====ご相談から収益化までの流れ===== */
/* ===== 共通設定 ===== */
.flow {
    background: #fff;
}

.section-en {
    text-align: center;
    font-size: 14px;
    color: #9aa3ad;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #123b5c;
    margin-bottom: 50px;
}

.flow-steps {
    max-width: 900px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

/* ステップ番号のスタイル（PC/スマホ共通） */
.flow-num,
.flow-num-end {
    position: relative;
    background: #e8943a;
    color: #fff;
    font-weight: 700;
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* 下向き矢印（PC/スマホ共通） */
.flow-num:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top: 8px solid #e8943a;
    z-index: 2;
}

/* ===== PC版レイアウト (769px以上) ===== */
@media (min-width: 769px) {

    .flow-branch-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2カラム分岐 */
        gap: 40px;
        margin-top: 20px;
    }

    .flow-branch-title {
        background: #e8943a;
        color: #fff;
        text-align: center;
        padding: 12px;
        font-weight: 700;
        margin-bottom: 30px;
    }
}

/* ===== スマホ版レイアウト (768px以下) ===== */
@media (max-width: 768px) {
    .flow-num:after {
        left: 66%;
    }

    .section-title {
        font-size: 20px;
    }

    .flow-branch-container {
        display: block;
        /* 縦並び */
    }

    /* 分岐のグループ（枠線なし） */
    .flow-branch-group {
        margin-top: 64px;
        padding: 0;
    }

    /* オレンジのタイトル帯 */
    .flow-branch-title {
        background: #e8943a;
        color: #fff;
        font-weight: 700;
        text-align: center;
        /* テキスト中央 */
        padding: 10px 20px;
        margin: 0 auto 24px;
        /* 要素自体を中央に寄せ、下に余白を作る */
        width: 100%;
        /* 横幅いっぱい、または好みの幅（例: 80%）に調整可能 */
        display: block;
        box-sizing: border-box;
    }

    .flow-step {
        gap: 15px;
        margin-bottom: 24px;
    }

    .flow-num,
    .flow-num-end {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    /* 下向き矢印（番号の下の三角） */
    .flow-num:after {
        border-width: 6px;
        margin-left: -6px;
    }

    br {
        display: none;
    }
}

/* ====よくある質問==== */

/* 質問 */

.question {
    width: 100%;
    gap: 12px;
    padding: 20px 24px;
    background: #fef76c7a;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: start;
}


/* Q */

.faq-q {
    color: #1a4a6a;
    font-weight: bold;
    margin-right: 10px;
}


/* 回答 */

.answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.2s ease;
}

.faq-inner-item {
    border: 1px solid #ffffff;
    border-radius: 8px;
    margin-bottom: 40px;
    overflow: hidden;
}

/* 開いた状態 */

.faq-inner-item.open .answer {
    max-height: 400px;
    background: #fef76c3d;
}


.answer-text {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;
    padding: 16px 24px 20px 24px;
    font-weight: normal;
}


/* A */

.faq-a {

    color: #e53935;
    font-weight: bold;
    margin-right: 6px;
}

.faq-text {
    flex: 1;
    padding-right: 10px;
}


/* =====================
＋アイコン
===================== */

.faq-icon {
    margin-left: 10px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}


/* 横線 */

.faq-icon::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: #123c5a;
    top: 9px;
    left: 0;
}


/* 縦線 */

.faq-icon::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 20px;
    background: #123c5a;
    left: 9px;
    top: 0;
    transition: 0.3s;
}


/* 開いたら−になる */

.faq-inner-item.open .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;

}

/* ====CTA==== */

.cta-title {
    margin-bottom: 20px;
}

.cta-inner-item {
    max-width: 700px;
    margin: auto;
}

.cta-inner-item a {
    cursor: pointer;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 20px;
    color: #fff;
    border: none;
    border-radius: 4px;
    transition: 0.3s;
    background-color: #163654;
}

a.telegram-btn {
    width: 100%;
    height: 135px;
    margin: 24px auto;
    text-align: center;
    text-decoration: none;
}

.cta-inner-item-btn {
    display: flex;
    flex-direction: column;
}

.cta-inner-item-btn2 {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.form-btn-note {
    color: #163654;
}

a.x-btn,
a.form-btn {
    max-width: 350px;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

a.telegram-btn:hover,
a.form-btn:hover,
a.x-btn:hover {
    opacity: 0.9;
}

.copyright small {
    display: block;
    text-align: center;
    color: #777;
    margin-bottom: 5px;
}

/* スクロールでふわっと表示 */

.scroll-up {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 1s;
}

.scroll-up.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}