/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* フォント設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* コンテナ */
.container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
}

/* ヒーローセクション */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://www.figma.com/api/mcp/asset/b8e4bd44-4436-4305-a560-be68f0b94081');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-bg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.hero-content {
    position: relative;
    width: 100%;
}

/* グラデーションテキスト */
.gradient-text {
    background: linear-gradient(90deg, #0ba7f9, #145bc1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Fira Sans', sans-serif;
    font-style: italic;
    font-weight: 100;
    text-transform: uppercase;
    text-align: center;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.heading-label {
    display: block;
    margin-bottom: 12px;
}

.heading-label--tight {
    margin-bottom: 8px;
}

.heading-title {
    display: block;
    margin-bottom: 40px;
}

.heading-title--spacious {
    margin-bottom: 80px;
}

.voice-heading {
    margin-bottom: 20px;
}

.voice-heading .heading-label--tight {
    margin-bottom: 2px;
}

.voice-heading .heading-title {
    margin-bottom: 12px;
}

.voice-section .gradient-text,
.voice-section .section-title {
    font-size: 86px;
}

/* セクションタイトル */
.section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    color: #333;
}

.section-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-align: center;
    color: #1570d9;
}

/* カードスタイル */
.card {
    background-color: #ecf7ff;
    border-radius: 32px;
    padding: 36px;
    margin: 20px auto;
}

.card-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 36px;
    color: #333;
    margin-bottom: 26px;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 26px;
}

.card-author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.card-author-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #333;
}

.card-content {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    color: #3f3f3f;
}

.card-content p + p {
    margin-top: 1.2em;
    line-height: 1.9;
}

/* 実績スクリーンショット */
.results-section {
    padding: 60px 20px 40px;
    background-color: #f7fbff;
}

.results-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.result-item {
    width: 100%;
}

.result-image {
    width: 100%;
    max-width: 820px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 32px;
    box-shadow: 0 25px 70px rgba(9, 30, 66, 0.15);
}

.result-caption {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-top: 24px;
}

/* バックグラウンドセクション */
.bg-section {
    position: relative;
    width: 100%;
    padding: 50px 20px;
    background: linear-gradient(90deg, #135fc7, #9edcf3);
    overflow: hidden;
}

.bg-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.figma.com/api/mcp/asset/0edb4a44-95c9-49b3-bd3e-d849fbcdc854');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 0;
}

.bg-section-title {
    position: relative;
    z-index: 1;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 86px;
    line-height: 120px;
    text-align: center;
    color: white;
    text-shadow: 0px 0px 13px #1d68ca;
}

/* 開発者紹介セクション */
.developer-section {
    position: relative;
    padding: 400px 20px 0;
    background-image: url('../images/bg_pc.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.developer-section .section-heading {
    position: relative;
    margin-top: -400px;
    margin-bottom: 40px;
    padding-top: 20px;
    z-index: 1;
}

.developer-section .section-heading .gradient-text,
.developer-section .section-heading .section-title {
    line-height: 1.05;
}

.developer-section .section-heading .section-title::after {
    content: '';
    display: block;
    width: 3px;
    height: 160px;
    border-radius: 999px;
    background: linear-gradient(180deg, #0ba7f9, #1d68ca);
    margin: 28px auto 0;
}

.developer-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 50px;
    z-index: 1;
}

.developer-cards {
    display: flex;
    flex-direction: column;
    gap: 110px;
}

.developer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    position: relative;
}

.developer-heading {
    --developer-bracket-width: 52px;
    --developer-bracket-height: 134px;
    --developer-bracket-offset: 48px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 72px;
    position: relative;
}

.developer-heading::before,
.developer-heading::after {
    content: '';
    position: absolute;
    top: 50%;
    width: var(--developer-bracket-width);
    height: var(--developer-bracket-height);
    transform: translateY(-50%);
    background-size: contain;
    background-repeat: no-repeat;
}

.developer-heading::before {
    left: calc(-1 * var(--developer-bracket-offset));
    background-image: url('../images/developer-bracket-l.svg');
}

.developer-heading::after {
    right: calc(-1 * var(--developer-bracket-offset));
    background-image: url('../images/developer-bracket-r.svg');
}

.developer-card__body {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 80px;
}

.developer-card__text {
    flex: 1;
    max-width: 640px;
    text-align: left;
}

.developer-card__visual {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    position: relative;
}

.developer-portrait {
    width: 100%;
    max-width: 540px;
    height: auto;
    position: relative;
    z-index: 1;
}

.developer-portrait--compact {
    max-width: 520px;
}

.developer-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #222;
    margin-bottom: 12px;
    margin-top: 50px;
    text-align: right;
}

.developer-name {
    font-family: 'Noto Sans JP', 'Fira Sans', sans-serif;
    font-weight: 700;
    font-size: 56px;
    line-height: 1.05;
    color: #222;
    margin-bottom: 24px;
    text-align: right;

}

.developer-bio {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.5;
    color: #3f3f3f;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.developer-card__text .developer-bio {
    margin: 0;
    max-width: none;
    text-align: left;
}

.developer-bio p + p {
    margin-top: 1.1em; 
    line-height: 1.7;
}

@media (min-width: 769px) {
    .developer-card--reverse .developer-card__body {
        flex-direction: row-reverse;
    }
}

/* 機能セクション */
.features-section {
    padding: 80px 20px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px 40px;
    max-width: 1000px;
    margin: 60px auto 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.feature-icon {
    width: 125px;
    height: 125px;
    object-fit: contain;
}

.feature-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #3f3f3f;
    text-align: center;
    line-height: 1.2;
}

/* レスポンシブデザイン - タブレット */
@media (max-width: 1024px) {
    .bg-section-title {
        font-size: 60px;
        line-height: 80px;
    }

    .developer-cards {
        gap: 80px;
    }

    .developer-card__body {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .developer-card__text {
        max-width: 100%;
    }

    .developer-card__visual {
        width: 100%;
    }

    .developer-portrait {
        max-width: 420px;
    }

    .developer-portrait--compact {
        max-width: 420px;
    }

    .developer-name {
        font-size: 44px;
    }

    .developer-name::before,
    .developer-name::after {
        height: 56px;
    }

    .developer-bio {
        font-size: 18px;
    }

    .card-title {
        font-size: 28px;
    }
}

/* レスポンシブデザイン - スマートフォン */
@media (max-width: 768px) {
    :root {
        --min-font-size: 12px;
    }
    .developer-section {
        padding: 0 20px 60px;
        background-image: url('../images/bg_sp.png');
        background-position: top center;
    }

    .developer-section .section-heading {
        margin-top: 0;
        padding-top: 12px;
        margin-bottom: 32px;
    }

    .developer-section .section-heading .gradient-text,
    .developer-section .section-heading .section-title {
        line-height: 1;
        font-size: 42px !important;
    }

    .developer-section .section-heading .section-title::after {
        width: 3px;
        height: 120px;
        margin-top: 20px;
    }

    .developer-cards {
        gap: 60px;
    }

    .developer-card__body {
        gap: 36px;
        flex-direction: column;
        align-items: center;
    }

    .developer-card--reverse .developer-card__body {
        flex-direction: column;
    }

    .developer-card__visual {
        order: 1;
    }

    .developer-card__text {
        order: 2;
    }

    .developer-heading {
        padding: 16px 32px;
        --developer-bracket-width: 38px;
        --developer-bracket-height: 108px;
        --developer-bracket-offset: 32px;
    }

    .developer-name {
        font-size: 32px;
        padding: 0 28px;
    }

    .developer-card__visual {
        flex: none;
    }

    .developer-portrait {
        max-width: 240px;
    }

    .voice-section .gradient-text {
        font-size: 30px !important;
    }

    .voice-section .section-title {
        font-size: 32px !important;
    }

    .results-section {
        padding: 40px 20px;
    }

    .results-container {
        gap: 40px;
    }

    .result-caption {
        font-size: 18px;
    }

    .hero::before {
        background-image: url('https://www.figma.com/api/mcp/asset/b8bb3f11-4c01-44ed-a323-296454696665');
    }

    .gradient-text {
        font-size: 35px;
    }

    .section-title {
        font-size: 25px;
    }

    .section-subtitle {
        font-size: 22px;
    }

    .bg-section {
        padding: 60px 20px;
    }

    .bg-section-title {
        font-size: clamp(var(--min-font-size), 6.4vw, 24px);
        line-height: 1.5;
    }

    .card {
        padding: 24px;
        border-radius: 32px;
    }

    .card-title {
        font-size: 25px;
    }

    .card-author-name {
        font-size: 14px;
    }

    .card-content {
        font-size: 17px;
        line-height: 1.8;
    }

    .developer-title {
        font-size: 16px;
    }

    .developer-bio {
        font-size: 17px;
        line-height: 1.7;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }

    .feature-icon {
        width: 89px;
        height: 89px;
    }

    .feature-label {
        font-size: 17px;
    }
}

/* ハイライト */
.yello-marker {
    background: linear-gradient(120deg, rgba(247, 214, 91, 0.9), rgba(255, 239, 153, 0.9));
    padding: 0 6px 4px;
    border-radius: 6px 6px 2px 2px;
    box-shadow: inset 0 -6px rgba(255, 255, 255, 0.4);
}

/* 強調スタイル */
.emphasis-red {
    color: #e63946;
    font-weight: 700;
}

.emphasis-underline {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    font-weight: 700;
}

.emphasis-red-underline {
    color: #e63946;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    font-weight: 700;
}

/* デコレーション要素 */
.decoration-line {
    width: 141px;
    height: 3px;
    margin: 20px auto;
}

.quote-left,
.quote-right {
    width: 46px;
    height: 123px;
}

/* ユーティリティクラス */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

/* フォントサイズユーティリティクラス */
.fs-12 { font-size: 12px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-22 { font-size: 22px; }
.fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; }
.fs-28 { font-size: 28px; }
.fs-30 { font-size: 30px; }

br.br-sp {
    display: none;
}

@media (max-width: 768px) {
    br.br-sp {
        display: inline;
    }
}

/* CTAボタン */
.cta-button {
    display: flex;
    width: 777px;
    padding: 52px 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    background: radial-gradient(380.95% 50% at 50% 50%, #39BB34 0%, #153900 100%);
    color: #FFF;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 56px;
    font-style: normal;
    font-weight: 900;
    line-height: 120%;
    text-decoration: none;
    border-radius: 20px;
    box-shadow: 0 8px 23px 0 rgba(57, 187, 52, 0.26);
    transition: all 0.3s ease;
}

.cta-button:hover {
    box-shadow: 0 12px 32px 0 rgba(57, 187, 52, 0.35);
    transform: translateY(-2px);
}

/* 最終CTAセクション */
.final-cta-section {
    background-color: #fff;
}

/* 料金セクション */
.pricing-section {
    padding: 0px 20px;
    background-color: #fff;
}

.pricing-container {
    max-width: 880px;
    margin: 0 auto;
    background: linear-gradient(135deg, #e8f4fd, #d4ebfa);
    padding: 60px;
    text-align: center;
}

.pricing-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: 48px;
    color: #333;
    margin-bottom: 40px;
}

.pricing-content {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.8;
    color: #3f3f3f;
}

.pricing-content p {
    margin-bottom: 1.2em;
    text-align: left;
}

.pricing-highlight {
    color: #e63946;
    font-weight: 700;
    font-size: 24px;
    margin: 40px 0 !important;
}

/* レスポンシブ対応 - 料金セクション */
@media (max-width: 768px) {
    .cta-button {
        width: 100%;
        max-width: calc(100vw - 40px);
        font-size: 24px;
        padding: 24px 16px;
    }

    .pricing-container {
        padding: 40px 24px;
    }

    .pricing-title {
        font-size: 32px;
    }

    .pricing-content {
        font-size: 16px;
    }

    .pricing-highlight {
        font-size: 20px;
    }
}
