:root {
    --primary: #19aeb5;
    --primary-dark: #087f8d;

    --blue: #2756b3;

    --pink: #ef4772;

    --line: #06c755;

    --text: #202020;
    --sub-text: #666;

    --bg: #ffffff;
    --bg-soft: #f6f9fb;

    --border: #e4e9ee;

    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 30px;

    --shadow:
        0 12px 40px rgba(0, 0, 0, 0.07);

    --container: 1280px;
}


/* reset */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        "Meiryo",
        sans-serif;

    color: var(--text);
    background: var(--bg);

    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

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

button,
input,
select,
textarea {
    font: inherit;
}


/* container */

.container {
    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}


/* header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);

    backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1400px;

    margin: auto;

    min-height: 78px;

    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.site-logo {
    display: flex;
    align-items: center;

    font-size: 29px;
    font-weight: 700;
}

.logo-mark {
    color: var(--blue);
}

.logo-text {
    color: #2d95b5;
}

.pc-nav {
    display: flex;
    align-items: center;
    gap: 28px;

    font-size: 14px;
    font-weight: 600;
}

.pc-nav a {
    transition: .2s;
}

.pc-nav a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.favorite-btn,
.request-btn,
.consult-btn {
    height: 44px;

    padding: 0 18px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 14px;
}

.favorite-btn {
    border: 1px solid var(--border);
}

.request-btn {
    background: var(--blue);
    color: white;
}

.consult-btn {
    background: var(--pink);
    color: white;
}


/* menu */

.menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-btn span {
    display: block;

    width: 25px;
    height: 2px;

    background: var(--text);

    margin: 5px auto;
}

.mobile-menu {
    display: none;
}


/* footer */

.site-footer {
    margin-top: 100px;

    padding: 70px 0 20px;

    background: #f4f7f9;
}

.footer-inner {
    width: min(
        calc(100% - 48px),
        1200px
    );

    margin: auto;

    display: grid;

    grid-template-columns:
        1.2fr 2fr;

    gap: 80px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 700;
}

.footer-brand p {
    color: var(--sub-text);
}

.footer-links {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 40px;
}

.footer-links h3 {
    font-size: 15px;
}

.footer-links a {
    display: block;

    margin-top: 10px;

    color: var(--sub-text);

    font-size: 14px;
}

.footer-copy {
    margin-top: 50px;

    padding-top: 20px;

    border-top: 1px solid #dde3e8;

    text-align: center;

    font-size: 12px;
    color: #888;
}


/* LINE */

.line-float {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 3000;

    width: 82px;
    height: 82px;

    border-radius: 50%;

    background: var(--line);
    color: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .18);

    font-weight: 700;

    transition:
        transform .2s,
        box-shadow .2s;
}

.line-float:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 36px rgba(0, 0, 0, .25);
}

.line-float-icon {
    font-size: 18px;
}

.line-float-text {
    font-size: 12px;
}


/* tablet */

@media (max-width: 1100px) {

    .pc-nav {
        display: none;
    }

    .request-btn,
    .consult-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }

}


/* smartphone */

@media (max-width: 768px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--container)
        );
    }

    .header-inner {
        min-height: 64px;

        padding: 0 16px;
    }

    .site-logo {
        font-size: 25px;
    }

    .favorite-btn {
        padding: 0 12px;

        height: 40px;
    }

    .favorite-label {
        display: none;
    }

    .favorite-icon {
        display: inline;
        font-size: 22px;
    }

    .mobile-menu {
        position: fixed;

        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;

        z-index: 2500;

        background: white;

        padding: 30px 24px;

        overflow-y: auto;
    }

    .mobile-menu.is-open {
        display: block;
    }

    .mobile-menu nav a {
        display: block;

        padding: 16px 4px;

        border-bottom: 1px solid var(--border);

        font-size: 17px;
        font-weight: 700;
    }

    .footer-inner {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .line-float {
        width: 64px;
        height: 64px;

        right: 14px;
        bottom: calc(
            14px + env(safe-area-inset-bottom)
        );
    }

    .line-float-icon {
        font-size: 14px;
    }

    .line-float-text {
        font-size: 10px;
    }

}