/* --- Reset & Variables --- */
:root {
    --color-primary: #00AEEF;
    --color-pink: #EC008C;
    --color-orange: #F4671E;
    --color-text: #292D30;
    --color-bg-gray: #F1F2F3;
    --color-bg-light-blue: #D2EBFF;
    --font-base: "Hiragino Sans", "Noto Sans JP", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.6;
    background: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

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

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 0;
    position: center;
}

.container--narrow {
    max-width: 800px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    border-radius: 4px;
    transition: opacity 0.3s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    opacity: 0.8;
}

.btn--primary {
    background: var(--color-pink);
    color: #fff;
    width: 268px;
    height: 50px;
    font-size: 18px;
}

.btn--cta-header {
    background: var(--color-orange);
    color: #fff;
    width: 160px;
    height: 40px;
    font-size: 14px;
}

/* --- Placeholders --- */
.logo-placeholder {
    display: block;
    width: 117px;
    height: 32px;
    line-height: 32px;
    color: #666;
}

.img-placeholder {
    width: 100%;
    height: 250px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* --- Header --- */
.header {
    width: 100%;
    height: 75px;
    background: #fff;
    border-bottom: 1px solid #DEE2E8;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header__inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Hero --- */
.hero {
    margin-top: 75px; /* header height */
    padding: 60px 0;
    background: #D2EAFF; /* Placeholder color from Figma */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero__content {
    background: rgba(255,255,255,0.6);
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.hero__title {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.hero__subtitle {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.hero__desc {
    font-size: 16px;
    margin-bottom: 32px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Features --- */
.features {
    padding: 80px 0;
    background: #fff;
}

.feature-item {
    display: flex;
    flex-direction: row;    /* スマホ・PC共通で横並び */
    align-items: flex-start;
    margin-bottom: 60px;
    gap: 20px;              /* 数字とテキストの間の距離 */
}

.feature-item__num {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    flex-shrink: 0;         /* 数字の幅を固定 */
    width: 60px;            /* 数字の領域を確保 */
}

.feature-item__content {
    flex: 1;                /* 残りの幅をすべて使う */
}

.feature-item__title {
    display: block;
    font-size: 26px;
    font-weight: 800;
    margin-top: 0;          /* 重なりの原因を排除 */
    margin-bottom: 12px;
    line-height: 1.2;
}

.feature-item__sub {
    font-size: 18px;        /* 少し調整 */
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

.feature-item__desc {
    font-size: 16px;
    line-height: 1.8;
}

/* PCサイズ (768px以上) の調整 */
@media (min-width: 768px) {
    .feature-item {
        gap: 40px;          /* PCでは間隔を広げる */
        margin-bottom: 80px;
    }

    .feature-item__num {
        font-size: 75px;    /* PCでは数字を大きく */
        width: 100px;
    }

    .feature-item__title {
        font-size: 32px;
    }
}
/* --- CTA Section --- */
.cta-section {
    background: #F1F2F3;
    padding: 60px 0;
    text-align: center;
}

.cta-box {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    display: inline-block;
}

.cta-box__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.cta-box__price {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-pink);
    margin-bottom: 24px;
}

.cta-box__price span {
    font-size: 20px;
    color: var(--color-text);
}

/* --- Pricing --- */
.pricing {
    padding: 16px 0;
}
.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-col {
    border: 1px solid #D5D5D5;
    background: #fff;
    text-align: center;
}

.pricing-cell {
    padding: 20px;
}

.pricing-cell.head {
    background: var(--color-bg-light-blue);
    font-weight: 700;
    font-size: 18px;
    padding: 30px 20px;
    border-bottom: 1px solid #D5D5D5;
}

.pricing-cell.price {
    font-size: 24px;
    font-weight: 800;
    padding: 30px 20px;
}

.pricing-cell .unit {
    font-size: 16px;
    font-weight: 400;
}

.pricing-cell .note {
    font-size: 12px;
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

/* PC Layout for Pricing */
@media (min-width: 768px) {
    .pricing-table {
        flex-direction: row;
        align-items: stretch;
        justify-content: center;
        gap: 0;
    }

    .pricing-col {
        width: 25%;
    }
    
    .pricing-col--labels .head { background: #D2EBFF; }
    .pricing-col--labels .pricing-cell:nth-child(2) { background: var(--color-primary); color: #fff; font-weight: 600; }
    
    .pricing-col--normal .price { color: var(--color-pink); }
}

.pricing-conditions {
    margin-top: 24px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* --- Flow --- */
.flow {
    padding: 80px 0;
    background: #fff;
}

.flow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.flow-item {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    position: relative;
}

.flow-item__num {
    font-size: 60px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.flow-item__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.flow-item__text {
    font-size: 14px;
    text-align: left;
}

/* PC Layout for Flow */
@media (min-width: 768px) {
    .flow-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* --- Contact Form --- */
.contact {
    background: var(--color-bg-gray);
    padding: 80px 0;
}

.contact__title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
}

.form-group-wrap {
    margin-bottom: 40px;
}

.form-section-title {
    font-size: 16px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.form-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.badge-required {
    background: #FFE7E7;
    color: #8F0A00;
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 8px;
    border-radius: 2px;
}

.form-input input,
.form-input textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #C0C7D1;
    border-radius: 4px;
    font-size: 16px;
}

.form-input textarea {
    height: 120px;
    resize: vertical;
}

/* PC Layout for Form */
@media (min-width: 768px) {
    .form-row {
        flex-direction: row;
        align-items: center;
    }

    .form-row--vertical {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-label {
        width: 150px;
        margin-bottom: 0;
    }

    .form-input {
        flex: 1;
    }
}

.form-policy {
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-policy a {
    color: var(--color-primary);
    text-decoration: underline;
}

.form-submit {
    text-align: center;
}

/* --- Footer --- */
.footer {
    background: #F5F6F6;
    padding: 40px 0 20px;
    font-size: 12px;
}

.footer__related {
    margin-bottom: 40px;
    border-bottom: 1px solid #DCDCDC;
    padding-bottom: 20px;
}

.footer__related-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__bottom-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.footer__bottom-links .col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.copyright {
    text-align: center;
    color: #646C75;
}

/* PC Layout for Footer */
@media (min-width: 768px) {
    .footer__links {
        flex-direction: row;
        gap: 20px;
    }

    .footer__bottom-links {
        flex-direction: row;
        justify-content: flex-start;
        gap: 40px;
    }
}