/* base */

* {
    box-sizing: border-box;
}

:root {
    --navbar-height: 80px;
}

html {
    scroll-behavior: smooth;
}


body {
    font-size: 16px;
    line-height: 1.5;
    font-family: Helvetica, Arial, "hiragino kaku gothic pro",meiryo,"ms pgothic",sans-serif;
    font-weight: 400;
    color: #333;
    background-color: #fff;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.2em;
    text-align: center;
}

h3 {
    color: #9d3c3e;
    font-size: 14px;
    margin: 20px 0;
    
}

p {
    margin-top: 0;
    margin-bottom: 1.5em;
    text-align: justify;
}

address {
    font-style: normal;
}

a {
    color: #666;
    text-decoration: none;
}

a:hover, a:focus {
    color: #000;
    text-decoration: none;
}

ul {
    margin: 1em 0;
    padding: 0;
    list-style: none;
}

section {
    padding: 50px 0;

}

section:target{
    scroll-margin-top: var(--navbar-height);
}

/* material */

.h2-title {
    position: relative;
    text-transform: uppercase;
    z-index: 100;

}

.h2-title::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    background: #cdde67;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    transform: rotate(45deg);
    z-index: -100;
}

.text-center {
    text-align: center; 
}

.text-lead {
    font-weight: 700;
}

.button {
    display: block;
    padding: 20px 35px;
    border-radius: 8px;
    margin: 0 auto;
    border: none;
}

.button:hover,
.button:focus {
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.button-reserve {
    color: #fff;
    background: #9d3c3e;
}

/* main */

.inner {
    padding: 0 15px;
    margin: 0 auto;
}


.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 200;
    line-height: 0;
}


.header-logo-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-right: 50px;
}

.logo-area {
    width: 300px;
    margin: 0;
    text-align: left;
}

#main-visual {
    aspect-ratio: 1.83;
    background-image: url(../img/main.jpg);
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.main-visual-title {
    color: #fff;
    text-shadow: 0 0 3px #333;
    margin-top: 90px;
}

/* section */



.information-area {
    background-color: #90a362;
}


.information-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.information-text h2 {
    text-align: left;
}
.information-text {
    color: #fff;
    flex: 1;
    margin-left: 30px;
}

.information-area img {
    flex: 1;
    aspect-ratio: 1.83;
}

.service-area {
    background-color: #fff;
}

.service-introduction {
    text-align: center;
}

.service-content {
    display: flex;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    flex: 1;
    text-align: center;
    padding: 20px 20px 0;
    margin: 5px;
    border: 3px solid #90a362;
    border-radius: 10px;
    min-width: 0;
}

.service-item h4 {
    order: 2;
}

.service-item  img {
    height: 250px;
    object-fit: fill;
    width: 100%;
}


.plan-area {
    background-color: #f0f0f0;
}

.plan-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1200px;
 
}

.plan-item {
    background-color: #fff;
    margin-bottom: 30px;
    box-shadow: 1px 1px 3px #333;
    min-width: 0;
}

.plan-item img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.plan-information {
    padding: 0 15px 15px;
}

.plan-title {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #90a362;
}

.plan-price {
    text-align: center;
    padding: 10px;
    border: 2px solid #90a362;
}

.plan-list li::before {
    content: "";
    background: url(../img/list-marker.svg) no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 3px;
}

.access-area {
    padding-bottom: 0;
}

.access-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
}

.access-content div {
    flex: auto;
}

.access-area img {
    display: block;
    max-width: 280px;
    max-height: 280px;
    border-radius: 50%;
    overflow: hidden;
    margin: 10px auto 30px;
} 

.sccess-maparea {
    position: relative;
    padding-top: 30%;
}

.access-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#page-top {
    text-align: right;
    padding: 15px;
    background-color: #f0f0f0;
}

#page-top a::after {
    content: "";
    background: url(../img/list-marker.svg) no-repeat;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0 3px 10px;
    transform: rotate(-90deg);
}

/* footer */

.footer-area {
    color: #fff;
    text-align: center;
    padding-top: 40px;
    background-color: #38695a;
}

.footer-logo {
    margin: 0 auto 20px;
}

.text-phone,
.text-phone a {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 40px;
}

.footer-area_copy {
    color: #ccc;
    font-size: 12px;
    display: inline-block;
    width: 100%;
    padding: 10px;
    background-color: #333;
}

@media screen and (min-width:768px) {
    
    .inner{ 
        max-width: 1200px;
    }
    
    .Only-PC {
        display: block;
    }
    
    .Only-MobilePC {
        display: none;
    }

    .global-nav-menu {
        line-height: 1.5;
        display: flex;
        flex-direction: row;
        margin: 28px 0;
        gap: 0 50px;
        text-align: center;
    }

    .globai-nav-item {
        border-bottom: none;
 
    }

    .globai-nav-item a {
        color: #333;
        width: 120px;
    }

    .globai-nav-item a:hover {
        color: #85a7cc;
    }

}



@media screen and (max-width:767px) {
    .Only-MobilePC {
        display: block;
    }

    .Only-PC {
        display: none;
    }

    /* MobilePC-menu */

    

    .global-nav-toggle {
        position: relative;
        margin-top: 12px;
    }

    .header-logo-menu {
    
        padding-right: 0;
    }

    .global-nav-hidden {
        display: none;
    }

    #global-nav-open {
        display: inline-block;
        width: 50px;
        height: 32px;
        vertical-align: central;
    }

    #global-nav-open span,
    #global-nav-open span::before,
    #global-nav-open span::after {
        content: '';
        position: absolute;
        height: 8px;
        width: 50px;
        border-radius: 3px;
        background: #555;
        display: block;
        cursor: pointer;
    }
    
    #global-nav-open span {
        margin-top: 8px;
    }

    #global-nav-open span::before {
        bottom: -16px;
    }

    #global-nav-open span::after {
        bottom: -32px;
    }


    #global-nav-close {
        display: none;
        position: fixed;
        z-index: 90;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0;
        transition: 0.3s ease-in-out;
    }


    #global-nav-content {
        overflow: auto;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 300;
        width: 70%;
        max-width: 300px;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        transition: 0.3s ease-in-out;
        transform: translateX(-105%);
    }

    #global-nav-input:checked ~ #global-nav-close { 
        display: block;
        opacity: 0.5;
    } 

    #global-nav-input:checked ~ #global-nav-content { 
        transform: translateX(0%);
        box-sizing: 6px 0 25px rgba(0, 0, 0, 0.15);
    }

    .global-nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        text-transform: uppercase;
    }

    .global-nav-item {
        border-bottom: 2px dotted #eee;
        margin: 10px;
        padding-bottom: 20px;
    }

    .global-nav-item a {
        color: #fff;
        font-size: 12px;
        display: block;
        width: 200px;
        text-align: center;
    }

    .global-nav-item a::first-line {
        font-size: 16px;
        font-weight: bold;
    } 

    .main-visual-title {
        margin-top: 70px;
    }

    .information-content {
        display: block;
    }

    .information-area img {
        width: 100%;
        height: auto;
    

    }

    .service-content {
        display: flex;
        flex-wrap: wrap;
    }

    .service-item {
        flex: 40%;
    }

    .plan-content {
        display: block;
    }

    .sccess-maparea {
        position: relative;
        padding-top: 100%;
    }

    .access-content {
        display: block;
    }

    .access-text {
        margin: 10% 30%;
    }
}

/* header */




