html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    height: 100%;
    color: #4c4c4c;
    /* font-family: "M PLUS Rounded 1c"; */
    font-family: 'M PLUS 1 Code', sans-serif;
}

img {
    max-width: 100%;
}

dt, dd, li, p, a {
    font-size: clamp( 1rem, 2vw, 1.3rem);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #24292e;
}

table {
    width: 100%;
    margin-bottom: 30px;
    overflow-y: hidden;
    overflow-x: scroll;
    border-spacing: 0;
}
th {
    margin-bottom: 15px;
    padding: 15px 10px;
    text-align: center;
    vertical-align: top;
}

td {
    padding: 0px 10px;
    text-align: center;
    vertical-align: top;
    line-height: 28px;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 10px;
}

.content {
    max-width: 960px;
    margin: 0px auto;
    padding: 100px 10px 0;
    font-size: 0.9rem;
}

.site-title {
    line-height: 1px;
    font-weight: bold;
    font-size: 2rem;
}

.site-title a {
    color: #24292e;
    display: block;
}

.sec-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
}



/* header */


#header {
    position: fixed;
    z-index: 15;
    top: 0;
    left: 0;
    width: 100%;
    background-color:#4d844d;
}

#header .wrapper {
    max-width: 960px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px; 
}

#header .active ul {
    padding-top: 40px;
}

#header h1 a {
    color: #fff;
    font-size: 1.5rem;
}

#header h1 a span {
    font-size: 2.8rem;
    color: #fc7272;
}

#header ul {
    display: flex;
    padding: 10px 0;
    align-items: center;
    transition: all 0.2s;
}

#header ul li {
    font-size: 0.9rem;
    margin-left: 30px;
}

#header ul li a {
    color: #fff;
    transition: all 0.2s;
    display: block;
}

#header ul li a:hover {
    color: #fc7272;
}


/* resarved */

#reserve {
    height: 72px;
    padding-left: 0;
    padding-right: 0;
}

#reserve-container {
    width: 100%;
    margin-top: 0;
    padding-right: 0;
    padding-left: 0;
    /* background-color:#4d844d; */
}

#phone-number {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
}

#phone-number dl {
    width: 40%;
    font-size: 3rem;
    font-weight: bold;
    background-color: #4d844d;
    color: #fff;
    text-align: center;
}

#phone-number dd {
    width: 60%;
    background-color: #fc7272;
    text-align: center;
}

#phone-number dd a {
    font-size: 3rem;
    color: #fff;
    font-weight: bold;
    padding-left: 2.5rem;
    position: relative;
}

#phone-number dd a::before {
    display: block;
    font-family: 'Material Icons';
    content: '\e61c';
    font-size: 3.5rem;
    position: absolute;
    top: 50%;
    right: 93%;
    transform: translateY(-50%);
    text-align: end;
}

 
#reserve-container.hidden,
#reserve-container.active {
    position: fixed;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 0;
    z-index: 15;
    max-width: 960px;

}

#reserve-container.active {
    top: 10px;
    transition: all 0.2s;
}


#reserve-container.hidden #phone-number, 
#reserve-container.active #phone-number {
    width: 400px;
    margin-right: 0;
    margin-left: auto;
    padding: 0 10px;

}

#reserve-container.hidden dl,
#reserve-container.active dl {
    font-size: 1.3rem;
    text-align: end;
    padding-right: 10px;
}

#reserve-container.hidden dd,
#reserve-container.active dd {
    border-radius: 5px;
}


#reserve-container.hidden dd a,
#reserve-container.active dd a {
    font-size: 1.3rem;
    padding-left: 1.5rem;
}

#reserve-container.hidden dd a::before,
#reserve-container.active dd a::before {
    font-size: 1.3rem;
    margin-left: 5.2rem;
}


/* top */

#top {
    height: 600px;
    background: url(images/mv2.jpg) no-repeat top center / cover;
    color: white;
}

#top h3 {
    font-size: 1.5rem;
    margin: 100px 0 20px;
}

.about {
    width: 50%;
    margin-bottom: 30px;
    /* background-color: rgba(142, 142, 142, 0.5); */
    border-radius: 10px;
    padding: 10px;
}

.about dt {
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: bolder;
    text-shadow: 0 2px 0 #4c4c4c, 0 3px 0 #4c4c4c, 0 4px 5px #4c4c4c;
}

.about dd {
    text-shadow: 0 2px 0 #4c4c4c, 0 3px 0 #4c4c4c, 0 4px 5px #4c4c4c;
}

/* profile */

.profile {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #8e8e8e;
}

.profile dt {
    width: 30%;
    border-bottom: 1px solid #8e8e8e;
    padding: 15px;
    padding-left: 4%;
}

.profile dd {
    width: 70%;
    border-bottom: 1px solid #8e8e8e;
    padding: 15px;
    word-break: keep-all;
}

#profile p {
    text-align: center;
}

#profile p .material-icons {
    transform: translate(0,20%);
    color:#fc7272;
}


/* user-guide */

#user-guide .service {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    background-color: #deebdf;
    border-radius: 10px;
}

#user-guide .guid {
    color: #2c4c2c;
    font-size: clamp( 1.2rem, 4vw, 2.5rem);
    position: relative;
    padding-left: 2.5rem;
}

#user-guide .guid::before {
    font-family: 'Material Icons';
    content: '\e88e';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0,-50%);
    color:#fc7272;
    font-size: 2.3rem;
}

#user-guide .service li {
    display: flex;
    width: 50%;
    padding: 10px 20px;
    font-size: clamp( 1.5rem, 4vw, 2.5rem);
    color: #4d844d;
}

#user-guide .service li p {
    align-items: center;
    padding: 10px;
}

#user-guide .service li p .material-icons {
    font-size: 5rem;
    line-height: 100px;
}

#user-guide .service li .service-aim {
    font-size: clamp( 1.6rem, 3vw, 2.2rem);
    font-weight: bold;
}

#user-guide .service li .service-aim span {
    display: block;
    font-size: 1.2rem;
    font-weight: 100;
    line-height: 1.2rem;
}

#user-guide .supplement .material-icons {
    transform: translate(0,20%);
    color:#fc7272;
}



/* fare */

.open,.close {
    display: none;
}

input[type="checkbox"] {
    position: absolute;
    right: -5vw;
}

summary {
    display: block;
    pointer-events: none;
}

summary::-webkit-details-marker {
    display: none;
}


#fare h3 {
    font-size: 1.3rem;
    text-align: center;
    margin: 20px auto;
}

#fare th {
    background-color: #4d844d;
    color: #fff;
}

.fare-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    font-size: 1rem;
}

.plan-table tr {
    background-color: #deebdf;
}


.plan-table tr:last-child td {
    padding-bottom: 10px;
}

.plan-table tr .description {
    text-align: start;
}

 .price {
    margin: 0 auto;
    font-size: 2.5rem;
    font-weight: bold;
 }
 
.price-only {
    padding-top: 10px;
}

/* .strecher {
    white-space:nowrap;
 } */

 .plan-table {
    width: 24%;
    margin-top: 0;
    /* margin-left: 2%; */
 }

 /* .plan-table:first-of-type {
    margin-left: 0;
 } */

/* hooter */

#hooter {
    position: sticky;
    top: 100%;
    width: 100%;
    height: 100%;
    background: #4d844d;
    display: flex;
    margin-top: 100px;
}

#hooter .wrapper {
    width: 960px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#hooter .wrapper div {
    width: auto;
}

.corpname {
    font-size: 1.3rem;
    margin: 20px 0 10px;
    border-bottom: 2px solid white;
}

.postalcord {
    font-size: 0.8rem;
}

.address {
    font-size: 1rem;
}


#hooter ul {
    margin-top: 20px;
    padding-left: 10%;
}

#hooter li {
    font-size: 1rem;
}

#hooter ul li::before {
    font-family: 'Material Icons';
    content: '\e86c';
    padding-right: 0.5rem;
    vertical-align: middle;
}


.copyright {
    font-size: clamp(0.6rem, 2vw, 0.8rem);
    margin: 20px auto 10px;
    text-align: center;
} 

/* responsive */



/* smartphone */


@media (max-width: 850px) {
   
    .site-title {
        width: 100%;
        height: 100%;
        text-align: center;
        line-height: 69px;
    }

    .content {
        margin: auto 20px;
    }


    /* header */
    #header {
        flex-direction: column;
        height: 69px;
        /* line-height: 20px; */
    }

    #header .wrapper {
        height: 69px;
    } 

    #header h1 a {
        color: #fff;
        font-size: 1rem;
    }
    
    #header h1 a span {
        font-size: 1.5rem;
        color: #fc7272;
    }
    
    
    /* #header li {
        font-size: 0.8rem;
        margin-left: 20px;
    } */


    #header nav .open {
        
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        width: 49px;
        height: 49px;
        background-color: #2c4c2c;
        color: white;
        border-radius: 3px;
    }
    
    #header nav .open span {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 2.2rem;
    }

    #header nav .open p {
        line-height: 8px;
        font-size: 0.8rem;
        text-align: center;
    }

    #header .active ul {
        padding-top: 10px;
    }

    #header nav ul {
        position: absolute;
        top: -330px;
        left: 0;
        display: block;
        width: 100%;
        padding-bottom: 60px;
        align-items: center;
        background-color: #2c4c2c;
        opacity: 0.8;
        transition: all 0.2s;

    }

    #header nav ul li {
        width: 80%;
        margin: auto;
        padding: 20px;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }

    #header nav ul .close {
        position: absolute;
        right: 10px;
        bottom: 0px;
        display: block;
        width: 49px;
        height: 49px;
        color: white;
        
    }

    #header nav ul .close span {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 2rem;
    }

    #header nav ul .close P {
        line-height: 5px;
        font-size: 0.5rem;
        text-align: center;
    }

    #header nav input[type="checkbox"]:checked ~ ul {
        top: 0;
    }

    /* #header nav input[type="checkbox"]:checked ~ .back {
        position: absolute;
        display: block;
        top: 250px;
        right: 0;
        width: 100%;
        height: 100px;
    } */


    /* resarved */

    #reserve.content {
        height: 0;
        margin: 0;
        padding: 0;
    }

    #reserve-container,
    #reserve-container.hidden,
    #reserve-container.active {
        position: fixed;
        margin: 0;
        padding: 0;
        top: initial;
        left: initial;
        width: 100%;
        bottom: 0;
        z-index: 10;
        height: 60px;
        transform: initial;
        transition: none;
    }

    #phone-number,
    #reserve-container.hidden #phone-number,
    #reserve-container.active #phone-number {
        width: 100%;
        height: 100%;
        padding: initial;
        align-items: center;
    }

    #phone-number dl,
    #reserve-container.hidden #phone-number dl,
    #reserve-container.active .phone-number dl {
        width: 40%;
        height: 100%;
        padding: initial;
        background-color: #4d844d;
        font-size: 1.3rem;
        line-height: 60px;
        text-align: center;
    }
    
    #phone-number dd,
    #reserve-container.hidden #phone-number dd,
    #reserve-container.active .phone-number dd {
        width: 60%;
        height: 100%;
        line-height: 60px;
        border-radius: initial;
    }

    #phone-number dd a,
    #reserve-container.hidden #phone-number a,
    #reserve-container.active .phone-number a {
        display: block;
        width: 100%;
        height: 100%;
        font-size: 1.3rem;
        padding-left: 1.3rem;
        white-space:nowrap;
    }

    #phone-number dd a::before,
    #reserve-container.hidden #phone-number dd a::before,
    #reserve-container.active .phone-number dd a::before {
        font-size: 1.3rem;
        right: 50%;
        margin-right: 5.2rem;
    }

    /* top */

    #top {
        margin: 69px 0 0;
        padding: 100px 30px 0;
    }

    #top h3 {
        margin-top: 150px;
    }

    .about {
        width: 100%;
    }


    /* user-guid */

    #user-guide .service {
        display: block;
    }

    #user-guide .service li {
        width: 100%;
        padding: initial;
    }

    #user-guide .service li p .material-icons {
        font-size: 4rem;
        line-height: initial;
    }


    

    /* fare */

    details[open] .plan-table    {
        animation: fadeIn 0.5s ease-in-out;
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
            transform: translateY(-10px);
        }
        100% {
            opacity: 1;
            transform: none;
        }
    }

    summary {
        pointer-events: all;
        user-select: none;
    }

    #fare h3 {
        display: block;
        cursor: pointer;
        background-color: #2c4c2c;
        color: #fff;
        width: 90%;
        line-height: 60px;
        margin-bottom: 0;
    }
    

    summary h3::after {
        font-family: 'Material Icons';
        content: '\e5c5';
        position: absolute;
        z-index: 5;
        right: 15%;
        font-size: 2.5rem;
        animation: 0.3s close-animation;
    }

    @keyframes close-animation {
        from {transform: rotate(180deg);}
        to {transform: rotate(0deg);}
    }


    details[open] summary h3::after {
       animation: 0.3s open-animetion forwards;
    }

    @keyframes open-animetion {
        from {transform: rotate(0deg);}
        to {transform: rotate(180deg);}
    }

    .fare-box {
        flex-direction: column;
    }

    .plan-table table {
        margin-bottom: 0;
        border-spacing: 0;
        background-color: #deebdf;
    }

    .plan-table {
        width: 90%;
        margin:0 auto;
    }

    .plan-table:first-of-type {
        margin: 0 auto;
    }

    /* hooter */

    #hooter {
        margin-bottom: 60px;
    }

    #hooter .wrapper {
        flex-direction: column;
    }

    #hooter .wrapper div {
        width: fit-content;
    }

    #hooter ul {
        align-self: center;
        padding: 0;
    }

}