:root {
    --green: #0f5749;
    --green2: #174f43;
    --cream: #f8f5ee;
    --ink: #26332f;
    --line: #d9ddd8;
    --gold: #b78a35
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.8;
    background: #fff
}

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

.container {
    width: min(1120px, 92%);
    margin: auto
}

.site-header {
    position: sticky;
    top: 0;
    z-peter: 50;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid #eee
}

.header-inner {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px
}

.cross {
    font-size: 44px;
    color: #777;
    line-height: 1
}

.brand small {
    display: block;
    font-size: 12px
}

.brand strong {
    display: block;
    font-size: 21px
}

.brand em {
    display: block;
    font-style: normal;
    font-size: 11px;
    color: #666
}

.nav {
    display: flex;
    gap: 22px;
    font-family: 'Yu Gothic', sans-serif;
    font-size: 14px
}

.nav a:hover,
.nav a.active {
    color: var(--green);
    border-bottom: 2px solid var(--green)
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 30px;
    color: var(--green)
}

.hero {
    min-height: 540px;
    display: grid;
    place-items: center;
    position: relative;
    color: white;
    background: linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .08)), url('../images/peterTop.jpg') center/cover no-repeat
}

.hero-content {
    width: min(1120px, 92%)
}

.hero h1 {
    font-size: clamp(38px, 6vw, 70px);
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 16px
}

.hero p {
    font-size: 20px;
    max-width: 560px
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid currentColor;
    margin-top: 12px;
    background: rgba(255, 255, 255, .9);
    color: #26332f
}

.section {
    padding: 72px 0
}

.section.alt {
    background: var(--cream)
}

.section-title {
    text-align: center;
    color: var(--green2);
    font-size: 32px;
    font-weight: 500;
    margin: 0 0 36px
}

.lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 36px
}

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

.card {
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .05);
    overflow: hidden
}

.card .visual {
    height: 180px;
    background: linear-gradient(135deg, #dfe9e1, #9eb7a5);
    display: grid;
    place-items: center;
    font-size: 56px;
    color: var(--green)
}

.card-body {
    padding: 22px
}

.card h3 {
    margin: 0;
    color: var(--green2)
}

.news {
    max-width: 850px;
    margin: auto
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    padding: 15px 0;
    border-bottom: 1px solid var(--line)
}

.tag {
    display: inline-block;
    font: 12px 'Yu Gothic', sans-serif;
    background: var(--green);
    color: white;
    padding: 2px 8px;
    margin-right: 8px
}

.page-hero {
    padding: 60px 0 45px;
    background: var(--cream);
    text-align: center
}

.page-hero h1 {
    color: var(--green2);
    font-size: 42px;
    margin: 0
}

.page-hero p {
    margin: 4px
}

.content {
    max-width: 900px;
    margin: auto
}

.content h2 {
    color: var(--green2);
    border-bottom: 1px solid #b7c7c1;
    padding-bottom: 8px;
    margin-top: 42px
}

.schedule {
    width: 100%;
    border-collapse: collapse
}

.schedule th,
.schedule td {
    padding: 13px;
    border-bottom: 1px solid var(--line);
    text-align: left
}

.schedule th {
    background: #f4f6f4
}

.notice {
    background: #f5f7f5;
    border-left: 4px solid var(--green);
    padding: 20px 24px
}

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

.map {
    min-height: 330px;
    background: #e8ece9;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 25px
}

.footer {
    background: var(--green2);
    color: white;
    padding: 42px 0
}

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

.footer small {
    opacity: .8
}

.toplink {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--green);
    color: white;
    display: grid;
    place-items: center
}

@media(max-width:780px) {
    .header-inner {
        height: 70px
    }

    .brand strong {
        font-size: 16px
    }

    .brand small,
    .brand em {
        font-size: 9px
    }

    .cross {
        font-size: 36px
    }

    .menu-btn {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 22px 5%;
        border-top: 1px solid #eee
    }

    .nav.open {
        display: flex
    }

    .hero {
        min-height: 520px;
        background-position: center
    }

    .hero h1 {
        font-size: 42px
    }

    .hero p {
        font-size: 16px
    }

    .section {
        padding: 52px 0
    }

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

    .news-item {
        grid-template-columns: 1fr;
        gap: 3px
    }

    .page-hero h1 {
        font-size: 32px
    }

    .access-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .schedule {
        font-size: 14px
    }

    .schedule th,
    .schedule td {
        padding: 9px
    }
}