/* --- ページ全体の設定 --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f4f6f5;
    color: #333333;
    font-family: sans-serif;
    line-height: 1.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: #1a6b6b;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- レイアウト用コンテナ（見本の .container を踏襲） --- */
.container {
    width: 90%;
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.container--narrow {
    max-width: 640px;
}

/* --- ヘッダー --- */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8e6;
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    position: relative;
}

.site-logo {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a6b6b;
}

.site-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__list a {
    color: #444444;
    font-size: 0.9375rem;
}

.site-nav__list a:hover {
    color: #1a6b6b;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    color: #1a6b6b;
}

.nav-toggle:focus-visible {
    outline: 2px solid #1a6b6b;
    outline-offset: 2px;
}

.nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    border-radius: 1px;
    background-color: currentColor;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-nav-backdrop {
    display: none;
}

/* --- メインビジュアル（ヒーロー） --- */
.hero {
    background: linear-gradient(180deg, #eef5f4 0%, #f4f6f5 100%);
    padding: 48px 0 56px;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero__lead {
    margin: 0 0 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a6b6b;
    letter-spacing: 0.04em;
}

.hero__title {
    margin: 0 0 16px;
    font-size: 1.75rem;
    font-weight: 700;
    color: #222222;
    line-height: 1.35;
}

.hero__description {
    margin: 0 0 24px;
    font-size: 1rem;
    color: #555555;
}

.hero__visual {
    text-align: center;
}

.hero__image {
    width: 100%;
    max-width: 640px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- ボタン --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
    background-color: #1a6b6b;
    color: #ffffff;
    text-decoration: none;
}

.btn--primary:hover {
    background-color: #145555;
    text-decoration: none;
}

/* --- セクション共通 --- */
.section {
    padding: 56px 0;
}

.section--alt {
    background-color: #ffffff;
}

.section__title {
    margin: 0 0 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #222222;
    text-align: center;
}

.section__intro {
    margin: 0 auto 36px;
    max-width: 640px;
    font-size: 1rem;
    color: #666666;
    text-align: center;
}

/* --- サービス紹介 --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background-color: #f4f6f5;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.service-card__image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 16px;
}

.service-card__title {
    margin: 0 0 10px;
    font-size: 1.125rem;
    color: #222222;
}

.service-card__text {
    margin: 0;
    font-size: 0.9375rem;
    color: #666666;
}

/* --- ステップ --- */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.steps__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: #ffffff;
    border: 1px solid #e2e8e6;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section--alt .steps__item {
    background-color: #f4f6f5;
}

.steps__num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1a6b6b;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.125rem;
}

.steps__title {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    color: #222222;
}

.steps__text {
    margin: 0;
    font-size: 0.9375rem;
    color: #666666;
}

/* --- フォーム --- */
.contact-form {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.section--alt .contact-form {
    background-color: #f4f6f5;
}

.contact-form__row {
    margin-bottom: 20px;
}

.contact-form__label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #333333;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfd8d6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #ffffff;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: 2px solid #1a6b6b;
    outline-offset: 2px;
}

.contact-form__actions {
    margin-top: 8px;
    text-align: center;
}

.contact-form__note {
    margin: 16px 0 0;
    font-size: 0.8125rem;
    color: #888888;
    text-align: center;
}

/* --- フッター --- */
.site-footer {
    background-color: #2a3a38;
    color: #e8eeec;
    padding: 32px 0;
}

.site-footer a {
    color: #b8dcd8;
}

.site-footer__inner {
    text-align: center;
}

.site-footer__brand {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 600;
}

.site-footer__copy {
    margin: 0 0 12px;
    font-size: 0.875rem;
    color: #c5d4d1;
}

.site-footer__meta {
    margin: 0;
    font-size: 0.8125rem;
    color: #9eadaa;
    line-height: 1.6;
}

/* --- タブレット・スマホ向けの設定 --- */
@media (max-width: 768px) {
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero__text {
        order: 0;
    }

    .hero__visual {
        order: 1;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .site-header--nav-open {
        z-index: 1000;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1002;
        flex-shrink: 0;
    }

    .site-header--nav-open .nav-toggle__bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .site-header--nav-open .nav-toggle__bar:nth-child(2) {
        opacity: 0;
    }

    .site-header--nav-open .nav-toggle__bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .site-nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1000;
        margin: 0;
        border: none;
        padding: 0;
        background-color: rgba(0, 0, 0, 0.45);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .site-nav-backdrop[hidden] {
        display: none !important;
    }

    body.nav-open {
        overflow: hidden;
    }

    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1001;
        width: min(300px, 88vw);
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: calc(16px + env(safe-area-inset-top, 0px)) 24px 24px;
        background-color: #ffffff;
        border-left: 1px solid #e2e8e6;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .site-header--nav-open .site-nav {
        transform: translateX(0);
    }

    .site-nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .site-nav__list a {
        display: block;
        padding: 12px 4px;
        font-size: 1rem;
    }

    .section {
        padding: 40px 0;
    }

    .steps__item {
        flex-direction: column;
        align-items: flex-start;
    }
}
