body {
    padding: 0;
    margin: 0;
    color: #515151;
    font-family: 'Zen Old Mincho', serif;
    font-weight: normal;
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
li,
dl,
dt,
dd {
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

video {
    padding-top: 50px;
    width: 100%;
    vertical-align: bottom;
}

h2 {
    font-size: 2rem;
    font-weight: lighter;
    line-height: 1.5;
    text-align: center;
    padding-top: 70px;
}

h3 {
    font-size: 1.125rem;
    font-weight: lighter;
    line-height: 1.5;
    text-align: center;
    position: relative;
    margin-top: 70px;
}

h3::before {
    content: '';
    border-top: 0.5px solid #515151;
    display: block;
    position: absolute;
    width: 100%;
    top: calc(50% - 0.5px);
}

h3 span {
    background-color: white;
    padding: 0 15px;
    position: relative;
}

h4 {
    font-size: 1.125rem;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    padding-top: 50px;
    position: relative;
    padding-bottom: 16px;
}

h4::before {
    content: '';
    border-top: 2px solid #515151;
    display: block;
    width: 40px;
    position: absolute;
    left: calc(50% - 20px);
    bottom: 0;
}

h5 {
    font-size: 90%;
    font-weight: normal;
    line-height: 1;
    text-align: center;
    padding-top: 70px;
}

p {
    line-height: 1.875;
    padding-top: 30px;
}

.container {
    margin: 0 40px;
}

header h1 {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 10px;
}

h1 img {
    width: 110px;
    height: auto;
}

.bar_slide {
    position: relative;
    width: 100%;
    height: 20px;
    overflow: hidden;
}

.bar_slide:after {
    position: absolute;
    content: '';
    background-image: linear-gradient(-225deg, #FFD0A7 0%, #FFBF9D 20%, #F5C3CD 70%, #F5C3CD 100%);
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    animation-name: bar_slide;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
}

@keyframes bar_slide {
    0% {
        transform: translate(-100%, 0)
    }

    100% {
        transform: translate(0, 0)
    }
}

.carousel {
    overflow: hidden;
}

.carousel .image-container {
    display: flex;
    transition: transform 1s;
    align-items: center;
}

.carousel button {
    appearance: none;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    padding: 0;
    flex: 0 0 auto;
    cursor: pointer;
}

.carousel .navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carousel .indicator {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.carousel .indicator li {
    width: 5px;
    height: 5px;
    background-color: #cfcfcf;
    border-radius: 100%;
    margin-left: 15px;
    margin-right: 15px;
    cursor: pointer;
}

.carousel .indicator li.current {
    background-color: #F5C3CD;
}

.profile h4 {
    font-weight: lighter;
}

.profile {
    text-align: center;
}
.profile p {
    font-weight: lighter;
    text-align: center;
    line-height: 1.875;
}

.info address {
    font-style: normal;
    padding-top: 50px;
    padding-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info address dt {
    font-weight: lighter;
}

.info address div {
    display: flex;
    line-height: 1.875;
}

.info .basho {
    padding-top: 30px;
}

.info address dt {
    min-width: 7em;
}

.info iframe {
    margin-top: 10px;
    width: 100%;
    height: 47vw;
}

.yoyaku ol {
    padding-top: 50px;
}

.yoyaku li {
    list-style: none;
    line-height: 1.875;
}

.account {
    text-align: center;
}

.account p {
    font-size: 1.125rem;
    font-weight: lighter;
}

.account img {
    padding-top: 30px;
    width: 100px;
    height: auto;
}
.ryoukin {
    text-align: center;
}
.ryoukin p span {
    display: block;
}

.google-calender {
    padding-top: 70px;
}

.tyuui ul {
    padding-top: 30px;
}

.tyuui li {
    font-size: 80%;
    font-weight: 100;
    list-style: none;
    line-height: 1.875;
}

footer {
    margin-top: 70px;
    background-image: linear-gradient(-225deg, #FFD0A7 0%, #FFBF9D 20%, #F5C3CD 70%, #F5C3CD 100%);
    color: #515151;
}

footer img {
    width: 100px;
    height: auto;
    margin: 10px;
}

footer .container {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer dt {
    font-size: 1.125rem;
    font-weight: lighter;
}

footer dd {
    margin-top: 10px;
}
footer dd span {
    font-size: 0.75rem;
    font-weight: lighter;
}

#pagetop {
    display: none;
    width: 60px;
    height: 60px;
}

@media (min-width: 768px) {
    .container {
        max-width: 740px;
        margin: auto;
    }

    h2 {
        padding-top: 80px;
        font-size: 2.5rem;
    }

    p {
        text-align: center;
    }

    p span {
        display: block;
    }

    header h1 {
        padding-top: 50px;
        padding-bottom: 30px;
    }

    header h1 img {
        width: 150px;
    }

    .bar_slide {
        height: 40px;
    }

    .carousel {
        max-width: 740px;
        margin-left: auto;
        margin-right: auto;
    }

    .carousel button {
        width: 50px;
        height: 50px;
    }
    video {
        margin-top: 50px;
        width: 608px;
    }
    .douga {
        text-align: center;
    }
    .info iframe {
        margin-top: 20px;
        margin-left: 80px;
        margin-right: 80px;
        width: calc(100% - 160px);
        height: 20vw;
    }

    .ryoukin p span {
        display: inline;
    }

    footer .container {
        padding-top: 30px;
        padding-bottom: 30px;
        flex-direction: row;
        justify-content: center;
    }

    footer img {
        margin: 20px;
    }

    #pagetop {
        display: block;
        position: fixed;
        top: 100%;
        right: 60px;
        opacity: 0;
        transition: opacity 0.4s, transform 0.4s;
    }

    #pagetop.active {
        opacity: 1;
        transform: translateY(-235px);
    }
}