:root {
    --ink: #172b46;
    --blue: #245ab3;
    --paper: #fff;
    --line: #d9e1ea;
    --muted: #536478;
    --tint: #edf3f9
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.9
}

a {
    color: inherit;
    text-underline-offset: 5px
}

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

a,
button,
input,
select,
textarea {
    outline-offset: 5px
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    line-height: 1.55
}

h1 {
    font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    font-weight: 500;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    letter-spacing: .035em;
    margin-bottom: 24px
}

h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.15rem);
    font-weight: 500;
    margin-bottom: 28px
}

h3 {
    font-size: 1.25rem
}

p {
    margin-bottom: 20px
}

.wrap {
    max-width: 1160px;
    width: calc(100% - 80px);
    margin: auto
}

header {
    background: #fffffffa;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 10
}

.header-inner {
    max-width: 1400px;
    margin: auto;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px
}

.brand {
    font-family: Georgia, serif;
    /* 最初のRickと同系統 */
    font-size: 20px;
    font-weight: 400;
    line-height: 1.05;
    text-decoration: none;
    white-space: nowrap;
}

.brand span {
    display: block;
    font-family: "Helvetica Neue", "Hiragino Sans", sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .04em;
    margin-top: 4px;
    opacity: .75;
}

nav {
    display: flex;
    align-items: center;
    gap: 22px
}

nav a {
    font-size: 14px;
    text-decoration: none;
    line-height: 1.5
}

nav a[aria-current] {
    color: var(--blue);
    border-bottom: 2px solid var(--blue);
    padding-bottom: 5px
}

.nav-cta {
    background: var(--ink);
    color: white;
    padding: 13px 17px
}

.menu {
    display: none
}

.eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--blue);
    margin-bottom: 17px
}

.home-hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 65px 0
}

.home-hero h1 {
    font-size: clamp(2rem, 3.7vw, 3.2rem)
}

.lead {
    font-size: 1.2rem;
    line-height: 1.9
}

.hero-photo {
    height: 510px;
    background: #d8e7f4 url('landscape.png') center/cover;
    position: relative;
    border-radius: 180px 180px 4px 4px
}

.photo-caption {
    position: absolute;
    bottom: 22px;
    left: 24px;
    right: 20px;
    color: white;
    text-shadow: 0 2px 8px #102946;
    font-size: 14px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 15px 23px;
    background: var(--blue);
    color: white;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    border: 1px solid var(--blue);
    cursor: pointer
}

.button:hover {
    background: #173e7b
}

.text-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    margin-top: 12px
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 26px 0 15px
}

.section {
    padding: 65px 0
}

.themes,
.light {
    background: var(--tint)
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px
}

.card {
    border-top: 1px solid #9aafc7;
    padding: 25px 0 0
}

.number {
    font-family: Georgia, serif;
    color: var(--blue);
    font-size: 18px;
    display: block;
    margin-bottom: 10px
}

.card p {
    color: var(--muted);
    margin-bottom: 0
}

.services {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 25px
}

.service {
    padding: 36px
}

.personal-service {
    background: var(--ink);
    color: white
}

.personal-service .eyebrow {
    color: #a6c6fa
}

.service h3 {
    font-family: Georgia, serif;
    font-size: 29px
}

.team-service {
    background: #e4eeee
}

.compact-steps {
    display: flex;
    gap: 25px;
    align-items: center;
    margin-bottom: 22px
}

.compact-steps span {
    font-size: 22px
}

.compact-steps b {
    font-weight: 400;
    color: #8b9caf
}

.split {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 65px
}

.credential {
    font-family: Georgia, serif;
    font-size: 27px;
    margin-bottom: 0
}

.voice {
    background: #f3f5f7;
    padding: 40px 0
}

.closing {
    background: var(--ink);
    color: white
}

.closing .eyebrow {
    color: #a9caff
}

.closing .small {
    margin: 14px 0 0
}

.small {
    font-size: 14px;
    color: var(--muted)
}

.closing .small {
    color: #c2d0e3
}

footer {
    padding: 45px 0
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px
}

.footer-grid p {
    margin-bottom: 8px
}

.skip {
    position: absolute;
    top: -100px
}

.skip:focus {
    top: 0;
    z-index: 30;
    background: white
}

.page-hero {
    padding: 70px 0 60px
}

.page-hero p {
    max-width: 680px
}

.personal .page-hero {
    background: #eaf1fa;
    border-bottom: 8px solid #658dbd
}

.team {
    --blue: #236361;
    --tint: #edf4f3
}

.team .page-hero {
    background: #163e44;
    color: white
}

.team .page-hero .eyebrow {
    color: #a8d7d2
}

.about .page-hero {
    background: #f0ece7;
    border-left: 18px solid #806145
}

.pricing .page-hero {
    background: #f3f5f8;
    text-align: center
}

.pricing .page-hero p {
    margin-left: auto;
    margin-right: auto
}

.anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px
}

.steps article {
    padding: 24px;
    background: white;
    border-bottom: 3px solid #7e9fc7
}

.steps h3 {
    margin: 8px 0 12px
}

.practice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
}

.practice article {
    border: 1px solid var(--line);
    padding: 32px
}

.tag {
    display: inline-block;
    background: var(--tint);
    color: var(--ink);
    padding: 3px 10px;
    font-size: 14px;
    margin-bottom: 15px
}

.note {
    border-left: 3px solid #8ba2bf;
    padding: 13px 20px;
    background: #f1f5fa;
    font-size: 14px;
    color: #455970
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.price-card {
    border: 1px solid var(--line);
    padding: 30px;
    display: flex;
    flex-direction: column
}

.price-card:first-child {
    border: 2px solid var(--blue);
    background: var(--tint)
}

.price {
    font: 40px Georgia, serif;
    margin: 20px 0
}

.price small {
    font: 16px sans-serif
}

.price-card .button {
    margin-top: auto
}

.facts {
    margin: 0
}

.facts>div {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 25px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line)
}

dt {
    font-weight: 600
}

dd {
    margin: 0
}

details {
    border-bottom: 1px solid var(--line);
    padding: 20px 0
}

summary {
    cursor: pointer;
    font-weight: 600
}

details p {
    padding: 15px 0 0;
    margin-bottom: 0
}

.quote {
    font-family: 'Yu Mincho', serif;
    font-size: 28px;
    line-height: 1.7;
    border-left: 3px solid #806145;
    padding-left: 30px
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 65px;
    padding: 60px 0
}

form {
    background: #f3f6fa;
    padding: 32px
}

label {
    display: block;
    font-size: 15px;
    margin-bottom: 20px
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    background: white;
    border: 1px solid #a9b7c9;
    border-radius: 0;
    color: var(--ink);
    margin-top: 6px
}

textarea {
    resize: vertical
}

input[type=checkbox] {
    width: auto
}

.form-result {
    margin-top: 20px;
    border-left: 3px solid var(--blue);
    padding: 16px;
    background: white
}

.review-values {
    padding: 0;
    list-style: none
}

.review-values li {
    padding: 20px;
    border-bottom: 1px solid var(--line)
}

@media(max-width:1100px) {
    nav {
        gap: 12px
    }

    nav a {
        font-size: 14px
    }

    .header-inner {
        padding: 18px 22px
    }
}

@media(max-width:1000px) {
    .menu {
        display: block;
        border: 1px solid var(--line);
        background: white;
        padding: 8px 12px
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 22px;
        border-bottom: 1px solid var(--line)
    }

    nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch
    }

    nav a {
        font-size: 16px;
        padding: 9px
    }

    .wrap {
        width: calc(100% - 40px)
    }

    .home-hero {
        gap: 25px;
        padding: 40px 0;
        grid-template-columns: 1fr
    }

    .hero-photo {
        height: 280px;
        border-radius: 100px 100px 4px 4px
    }

    .home-hero h1 {
        font-size: 2.2rem
    }

    .section {
        padding: 45px 0
    }

    .grid,
    .services,
    .split,
    .price-cards,
    .practice,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .steps {
        grid-template-columns: 1fr 1fr
    }

    .compact-steps {
        gap: 12px;
        flex-wrap: wrap
    }

    .compact-steps span {
        font-size: 18px
    }

    .footer-grid {
        display: block
    }

    .footer-grid>div+div {
        margin-top: 30px
    }

    .page-hero {
        padding: 45px 0
    }

    .facts>div {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .contact-layout {
        padding: 35px 0
    }

    form {
        padding: 22px
    }

    .service {
        padding: 27px
    }

    .price-card {
        padding: 25px
    }

    .button {
        max-width: 100%;
        gap: 16px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}