@charset "UTF-8";

/* ===== Base ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    color: #222;
    background-color: #fff;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

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

/* ===== Layout ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.4;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background-color: #1f2e55;
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-text {
    max-width: 800px;
    font-size: 16px;
    margin: 0 auto;
    text-align: center;
}

/* ===== Buttons ===== */
.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 32px;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        background-color 0.25s ease, color 0.25s ease;
    will-change: transform;
}

.btn-primary {
    background-color: #0f766e;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-outline {
    border-color: #0f766e;
    color: #0f766e;
    background-color: #fff;
}

.btn-outline:hover {
    background-color: #0f766e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* ===== FV ===== */
.hero {
    padding: 160px 0;
    background: radial-gradient(
            1200px 400px at 50% -100px,
            rgba(15, 118, 110, 0.12),
            transparent 70%
        ),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
}

h1 {
    margin: 0;
    margin-bottom: 20px;
}

h1 img {
    width: 720px;
    height: auto;
}

.hero-title {
    font-size: 42px;
    line-height: 1.4;
    margin: 20px 0 28px;
    text-align: center;
    font-weight: bold;
}

.hero .service-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hero .sub {
    font-size: 16px;
    color: #555;
    letter-spacing: 2px;
    margin-bottom: 80px;
}

.hero-image {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    /* height: 480px; */
    border-radius: 20px;
}

/* .hero-image {
    background: linear-gradient(
            135deg,
            rgba(15, 118, 110, 0.15),
            rgba(15, 118, 110, 0.05)
        ),
        #f3f4f6;
    width: 100%;
    max-width: 720px;
    height: 360px;
    border-radius: 20px;
} */

/* ===== Problems ===== */
.problems ul {
    padding-left: 0;
    list-style: none;
    max-width: 700px;
    margin: 32px auto 0;
    text-align: center;
}

.problems li {
    margin-bottom: 14px;
    position: relative;
    padding-left: 0;
}

.problems li {
    margin-bottom: 12px;
}

/* ===== Features ===== */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 64px auto 0;
    max-width: 1000px;
    text-align: center;
}

.feature {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.feature h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

/* ===== Cards ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 64px auto 0;
    max-width: 1000px;
    text-align: center;
}

.card {
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-align: center;
}

/* ===== Price ===== */
.price-box {
    max-width: 600px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 48px;
    margin: 0 auto;
    text-align: center;
}

.price-box p {
    margin: 8px 0;
}

/* ===== Flow ===== */
.flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 64px;
}

.flow-step {
    width: 100%;
    max-width: 420px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 18px;
    background-color: #ffffff;
    position: relative;
    text-align: center;
}

.flow-step::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -24px;
    width: 2px;
    height: 24px;
    background-color: #e5e7eb;
    transform: translateX(-50%);
}

.flow-step:first-child::before {
    display: none;
}

/* ===== Form ===== */
form {
    max-width: 600px;
    margin: 40px auto 0;
    text-align: center;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 24px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: inherit;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
footer {
    padding: 40px 0;
    border-top: 1px solid #e5e7eb;
    font-size: 14px;
    color: #555;
}

.copy {
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }

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

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    section {
        padding: 64px 0;
    }

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

    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 30px;
    }

    .features,
    .cards {
        grid-template-columns: 1fr;
    }

    .flow {
        grid-template-columns: 1fr;
    }

    .price-box {
        padding: 32px;
    }
}

/* ===== Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
