:root {
    --base-color: #ffffff;
    --base-black: #333333;
    --backgroung-color: #fef4f4;
    --accent-color: #B61972;
    --light-gray: #f5f5f5;
}

html {
    color: var(--base-black);
    font-size: 17px;
    font-family: Helvetica, MyYuGothicM, YuGothic, -apple-system, BlinkMacSystemFont, "Hiragino kaku Gothic ProN", Meiryo, sans-serif;
    ;
    box-sizing: border-box;
}

body {
    background-color: var(--backgroung-color);
    margin: 0;
    padding: 0;
}

/* common */
.contents-heading {
    appearance: none;
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: normal;
    margin: 0 0 24px 0;
    padding: 0;
}

@media screen and (max-width: 1180px) {
    .contents-heading {
        text-align: center;
    }
}

/* reserve button */
.reserve-button {
    background-color: rgba(51, 51, 51, 0);
    border: 2px solid var(--accent-color);
    border-top: none;
    color: var(--accent-color);
    cursor: pointer;
    letter-spacing: 2px;
    line-height: 42px;
    margin-top: -60px;
    margin-right: -73px;
    padding: 8px 24px;
    position: fixed;
    right: 0;
    transform: rotate(90deg);
    top: 50%;
    z-index: 10;
}

@media screen and (max-width: 1180px) {
    .reserve-button {
        background-color: var(--accent-color);
        border: 2px solid var(--accent-color);
        bottom: 0;
        color: var(--base-color);
        height: 56px;
        left: 0;
        line-height: 56px;
        margin: 0;
        right: 0;
        padding: 0;
        position: fixed;
        text-align: center;
        top: auto;
        transform: none;
        width: 100%;
    }
}

header {
    background-size: 100%;
    height: 100px;
    left: 0;
    margin: 0 auto;
    padding: 0;
    position: relative;
    top: 0;
    transition: top 0.5s;
    width: 100%;
    z-index: 1000;
}

.operation-header {
    background-color: var(--accent-color);
    color: var(--base-color);
    cursor: pointer;
    height: 64px;
    position: fixed;
    right: 0;
    top: 0;
    width: 64px;
    z-index: 10;
}

@media screen and (max-width: 1180px) {
    .operation-header {
        display: none;
    }
}

.operation-header .fa-phone {
    display: inline-block;
    font-size: 1.5em;
    line-height: 64px;
    text-align: center !important;
    width: 100%;
}


.operation-header-line {
    background-color: var(--base-color);
    height: 2px;
    position: absolute;
    left: 24px;
    width: 24px;
}

.operation-header-line:nth-child(1) {
    top: 24px;
}

.operation-header-line:nth-child(2) {
    top: 32px;
}

.operation-header-line:nth-child(3) {
    top: 40px;
}

.title-wrapper {
    height: 100px;
    position: relative;
}

@media screen and (max-width: 1180px) {
    .title-wrapper {
        text-align: center;
        width: 100%;
    }
}

.sub-title {
    color: var(--base-black);
    font-size: 0.5rem;
    text-align: center;
    top: 0;
    left: 70px;
    letter-spacing: 0.25rem;
    line-height: 100px;
    margin: 0;
    position: absolute;
}

@media screen and (max-width: 1180px) {
    .sub-title {
        font-size: 0.6rem;
        left: 0;
        right: 0;
        text-align: center;
        width: 100%;
    }
}

.cover-wrapper {
    margin: 0;
    padding-bottom: 120px;
    position: relative;
}

@media screen and (max-width: 1180px) {
    .cover-wrapper {
        padding-bottom: 32px;
    }
}

.cover-url {
    color: var(--base-black);
    font-size: 0.5rem;
    left: 0;
    letter-spacing: 0.1rem;
    margin-top: -72px;
    margin-left: -16px;
    position: absolute;
    transform: rotate(-90deg);
    top: 50%;
}

@media screen and (max-width: 1180px) {
    .cover-url {
        font-size: 0.6rem;
        margin-left: -60px;
    }
}

.cover-image-wrapper {
    animation: fadein 0.5s;
    margin: 0 auto;
    position: relative;
    width: calc(100% - 480px);
}

@media screen and (max-width: 1180px) {
    .cover-image-wrapper {
        animation: none;
        width: 100%;
    }
}

.cover-title {
    color: var(--base-color);
    display: block;
    font-family: 'ヒラギノ丸ゴ ProN W4';
    font-size: 4rem;
    font-weight: normal;
    letter-spacing: 10px;
    margin: 0;
    margin-top: 8px;
    margin-right: 0;
    right: 0;
    text-align: center;
    top: 0;
    position: absolute;
    writing-mode: vertical-rl;
    z-index: 3;
}

@media screen and (max-width: 1180px) {
    .cover-title {
        right: 36px;
    }
}

.cover-title-image {
    width: 88px;
}

.cover-text {
    bottom: 0;
    color: var(--base-color);
    font-size: 3rem;
    left: 0;
    position: absolute;
    z-index: 3;
}

@media screen and (max-width: 1180px) {
    .cover-text {
        font-size: 2rem;
    }
}

.cover-text-vertical {
    margin-bottom: 158px;
    margin-left: -112px;
    transform: rotate(-90deg);
}

@media screen and (max-width: 1180px) {
    .cover-text-vertical {
        margin-bottom: 100px;
        margin-left: -32px;
    }
}

.cover-text-horizontal {
    margin-left: 0px;
    margin-bottom: -10px;
}

@media screen and (max-width: 1180px) {
    .cover-text-horizontal {
        margin-left: 40px;
        margin-bottom: -4px;
    }
}

.cover-image {
    display: block;
    height: 60vh;
    object-fit: cover;
    opacity: 1;
    transition: 0.5s ease;
    width: 100%;
}

@media screen and (max-width: 1180px) {
    .cover-image {
        height: 70vh;
        margin: 0 auto 56px;
        width: 80%;
    }
}

.cover-image-background {
    display: block;
    background-color: rgba(0, 0, 0, 0.2);
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 2;
}

@media screen and (max-width: 1180px) {
    .cover-image-background {
        background-color: rgba(0, 0, 0, 0.2);
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 80%;
    }
}

/* about */
.about-wrapper {
    background-color: var(--base-color);
    font-size: 0.9rem;
    margin: 0 auto;
    padding: 72px 0 72px 0;
    text-align: left;
    width: 100%;
}

@media screen and (max-width: 1180px) {
    .about-wrapper {
        padding: 32px 0;
    }
}

.about {
    font-size: 1rem;
    letter-spacing: 2px;
    line-height: 2.2;
    margin: 0 auto;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .about {
        width: calc(100% - 48px);
    }
}

.about-text {
    letter-spacing: 2px;
}

/* target */
.target-wrapper {
    background-color: var(--base-color);
    font-size: 0.9rem;
    margin: 0 auto;
    position: relative;
    padding: 0;
    text-align: left;
    height: 600px;
    width: 100%;
}

@media screen and (max-width: 1180px) {
    .target-wrapper {
        display: none;
    }
}

.target-image {
    background: transparent;
    display: block;
    height: 600px;
    left: 0;
    margin: 0 auto;
    object-fit: cover;
    opacity: 0.9;
    position: absolute;
    right: 20%;
    top: 44px;
    width: 50%;
    z-index: 10;
}

.target-bg {
    background-color: var(--backgroung-color);
    height: calc(100% - 88px);
    left: 20%;
    padding: 44px 0;
    position: absolute;
    right: 0;
    width: 60%;
}

.target-contents-wrapper {
    background-color: var(--base-color);
    padding: 128px 0 0 0;
}

@media screen and (max-width: 1180px) {
    .target-contents-wrapper {
        padding: 24px 0;
    }
}

.target-contents {
    margin: 0 auto;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .target-contents {
        background-color: var(--backgroung-color);
        padding: 24px;
        width: calc(100% - 48px);
    }
}

.target-title {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: normal;
    margin: 0;
}

.target-contents-ul {
    margin: 0 0 0 20px;
    padding: 0;
}

.target-contents-li {
    font-size: 0.9rem;
    letter-spacing: 2px;
    line-height: 2;
    list-style: circle;
}

/* effect  */

.effect-wrapper {
    background-color: var(--base-color);
}

.effect-bg {
    background-color: var(--light-gray);
    margin: 0 auto;
    width: 100%;
}

.effect-contents {
    display: block;
    padding: 80px 0;
    margin: 0 auto;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .effect-contents {
        width: calc(100% - 48px);
    }
}

.effect-title {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
    margin: 0 0 32px 0;
}

.effect-contents-list {
    font-size: 0.9rem;
    letter-spacing: 1px;
    line-height: 2.2;
}

/* service */
.service-wrapper {
    background-color: var(--base-color);
    overflow: hidden;
    padding: 48px 0 72px 0;
}

@media screen and (max-width: 1180px) {
    .service-wrapper {
        padding: 48px 0 0 0;
    }
}

.service {
    margin: 0 auto;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .service {
        width: calc(100% - 48px);
    }
}

.service-contents-ul {
    margin: 0;
    padding: 0 16px;
}

.service-contents-li {
    font-size: 0.9rem;
    line-height: 2;
    list-style: circle;
}

.service-point-card {
    background-color: var(--backgroung-color);
    letter-spacing: 2px;
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 48px auto 0;
    padding: 24px;
    width: 100%;
}

@media screen and (max-width: 1180px) {
    .service-point-card {
        width: calc(100% - 48px);
    }
}

.border {
    background-color: var(--base-color);
    border-bottom: 2px dotted var(--light-gray);
    width: calc(100% - 48px);
}

/* operation */

.operation-wrapper {
    background-color: var(--base-color);
    padding: 72px 0 0 0;
    overflow: hidden;
}

.operation-heading-wrapper {
    margin: 0 auto;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .operation-heading-wrapper {
        width: calc(100% - 48px);
    }
}

.operation-item-wrapper {
    padding: 80px 0;
}

.operation-item-wrapper-first {
    padding: 24px 0 56px 0;
}

.operation-item-wrapper-even {
    background-color: var(--light-gray);
}

.operation-item-wrapper:last-child {
    padding: 80px 0 32px 0;
}

.operation-item {
    margin: 0 auto;
    position: relative;
    height: auto;
    min-height: 300px;
    width: 50%;
}


@media screen and (max-width: 1180px) {
    .operation-item {
        height: auto;
        width: 100%;
    }
}

.operation-item-title {
    color: var(--base-black);
    font-size: 1.2rem;
    letter-spacing: 1px;
    padding: 0 0 16px 0;
}

@media screen and (max-width: 1180px) {
    .operation-item-title {
        padding: 0 24px;
    }
}

.operation-item-description {
    letter-spacing: 1px;
    line-height: 2;
    font-size: 0.9rem;
    width: calc(100% - 480px);
}

@media screen and (max-width: 1180px) {
    .operation-item-description {
        padding: 24px 24px;
        width: calc(100% - 48px);
    }
}

.operation-image {
    border-radius: 4px;
    height: 300px;
    margin: 0;
    object-fit: cover;
    position: absolute;
    right: 0;
    top: 0;
    width: 400px;
}

@media screen and (max-width: 1180px) {
    .operation-image {
        border-radius: 0;
        position: relative;
        width: 100%;
    }
}

/* open-hours */
.open-hours-wrapper {
    background-color: var(--base-color);
    padding: 48px 0;
}

.open-hours {
    margin: 0 auto;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .open-hours {
        width: calc(100% - 48px);
    }
}

.open-hours-title {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.open-hours-time {
    font-size: 2.5rem;
}

.open-hours-last-time {
    font-size: 1rem;
    margin: 16px 0;
}

.open-hours-description {
    font-size: 1rem;
    padding: 64px 0 40px 0;
    text-align: center;
}

/* course */
.course-wrapper {
    background-color: var(--base-color);
    padding: 48px 0;
}

@media screen and (max-width: 1180px) {
    .course-wrapper {
        padding: 48px 0 24px 0;
    }
}

.course {
    margin: 0 auto;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .course {
        width: calc(100% - 24px);
    }
}

.course-title {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
}

@media screen and (max-width: 1180px) {
    .course-title {
        text-align: center;
    }
}

.course-table {
    border-collapse: collapse;
    margin: 32px 0;
    width: 100%;
}

.course-table-tr {
    border-bottom: 1px dotted var(--base-black);
    line-height: 72px;
}

@media screen and (max-width: 1180px) {
    .course-table-tr {
        line-height: 1.5;
    }
}

.course-table-th {
    text-align: left;
}

@media screen and (max-width: 1180px) {
    .course-table-th {
        padding: 32px 8px;
    }
}

.course-table-td {
    padding: 0 32px 0 0;
}

@media screen and (max-width: 1180px) {
    .course-table-td {
        padding: 32px 8px;
    }
}

/* access */
.access-wrapper {
    background-color: var(--backgroung-color);
    padding: 48px 0;
}

.access {
    margin: 0 auto;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .access {
        width: calc(100% - 48px);
    }
}

.access-address {
    margin-bottom: 24px;
}

.access-neighbor {
    margin-left: 16px;
}

.access-map {
    margin: 0 auto;
}

.access-title {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.access-description {
    padding: 24px 0;
}

/* customer voice */
.customer-voice {
    margin: 0 auto;
    padding: 48px 0;
    font-size: 0.9rem;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .customer-voice {
        width: calc(100% - 48px);
    }
}

.customer-voice-title {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.customer-voice-item {
    background-color: var(--base-color);
    border-radius: 4px;
    margin-bottom: 24px;
    padding: 24px;
}

/* staff */
.staff-wrapper {
    background-color: var(--base-color);
    border-radius: 4px;
    padding: 48px 0 24px 0;
}

.staff {
    background-color: var(--backgroung-color);
    margin: 0 auto;
    padding: 32px;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .staff {
        height: auto;
        box-sizing: border-box;
        padding: 40px 8px;
        width: 100%;
    }
}

.staff-heading {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

@media screen and (max-width: 1180px) {
    .staff-heading {
        text-align: center;
    }
}

.staff-contents {
    display: flex;
    border-radius: 4px;
}

@media screen and (max-width: 1180px) {
    .staff-contents {
        display: block;
        width: 100%;
    }
}

.staff-image-wrapper {
    padding: 0 24px 0 0;
    border-radius: 4px;
}

@media screen and (max-width: 1180px) {
    .staff-image-wrapper {
        padding: 0 8px;
    }
}

.staff-image {
    background-color: var(--base-color);
    max-width: 300px;
}

@media screen and (max-width: 1180px) {
    .staff-image {
        background-color: var(--backgroung-color);
        padding: 0 0 16px 0;
        max-width: 100%;
    }
}

.staff-description {
    line-height: 1.7;
    background-color: var(--backgroung-color);
    padding: 0 24px;
    font-size: 0.9rem;
}

@media screen and (max-width: 1180px) {
    .staff-description {
        padding: 0 8px;
    }
}

.staff-description-list-ul {
    background-color: var(--base-color);
    display: block;
    border-radius: 4px;
    margin: 0 0 16px 0;
    padding: 24px 44px;
}

.staff-description-list-li {
    margin: 0;
    padding: 0;
    list-style: circle;
    line-height: 2;
}

.staff-description-comment {
    border-radius: 4px;
    background-color: var(--base-color);
    padding: 8px 24px;
}

@media screen and (max-width: 1180px) {
    .staff-description-comment-title {
        text-align: center;
    }

    .staff-description-comment {
        padding: 24px;
    }
}

/* reserve */
.reserve-wrapper {
    background-color: var(--base-color);
    padding: 48px 0 120px 0;
}

.reserve {
    margin: 0 auto;
    width: 50%;
}

@media screen and (max-width: 1180px) {
    .reserve {
        width: calc(100% - 48px);
    }
}

.reserve-title {
    color: var(--accent-color);
    font-size: 1rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.reserve-description {
    padding: 48px 0;
}

.reserve-tel {
    font-size: 2.5rem;
    letter-spacing: 2px;
    line-height: 72px;
    text-align: center;
}

@media screen and (max-width: 1180px) {
    .reserve-tel {
        font-size: 1.5rem;
    }
}


/* inner-reserve-button-wrapper */
.inner-reserve-button-wrapper {
    background-color: var(--base-color);
    padding: 48px 0;
}

.inner-reserve-button {
    appearance: none;
    border: none;
    border-radius: 4px;
    background-color: var(--accent-color);
    color: var(--base-color);
    cursor: pointer;
    display: block;
    font-size: 1em;
    height: 64px;
    letter-spacing: 2px;
    line-height: 64px;
    margin: 0 auto;
    outline: none;
    padding: 0 16px;
    width: 50%;
}


@media screen and (max-width: 1180px) {
    .inner-reserve-button {
        width: calc(100% - 32px);
    }
}

/* footer */
footer {
    background-color: var(--accent-color);
    height: 100px;
    position: relative;
    width: 100%;
}

.back-button {
    background-color: var(--base-color);
    /* background-color: var(--accent-color); */
    /* border: 3px solid var(--base-black); */
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    height: 72px;
    left: calc(50% - 36px);
    position: absolute;
    right: calc(50% + 36px);
    text-align: center;
    top: -38px;
    width: 72px;
}

.back-button-icon {
    color: var(--accent-color);
    cursor: pointer;
    display: inline-block !important;
    font-size: 1.5em;
    font-weight: normal;
    line-height: 72px !important;
    vertical-align: top !important;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}