:root {
    --width-xl: 1280px;
    --width-lg: 960px;
    --width-md: 800px;
    --width-sm: 600px;
    --header-height: 72px;
    --text-base-color: #303030;
    --bg-dark-color: #EDEAE3;
    --bg-light-color: #FAF7F1;
    --border-color: #D2CCBF;
    --accent-color: #DA8A6D;
    --btn-primary-bg: #DA8A6D;
    --btn-primary-text: #fff;
    --btn-primary-hover-bg: #fff;
    --btn-primary-hover-text: #DA8A6D;
    --btn-secondary-bg: #efefef;
    --btn-secondary-text: #DA8A6D;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Kiwi Maru", serif;
    font-size: 18px;
    font-size: 1.8rem;
    color: var(--text-base-color);
}

/* container */
.container-xl {
    max-width: var(--width-xl);
    margin: 0 auto;
}

.container-lg {
    max-width: var(--width-lg);
    margin: 0 auto;
}

.container-md {
    max-width: var(--width-md);
    margin: 0 auto;
}

.container-sm {
    max-width: var(--width-sm);
    margin: 0 auto;
}

.bg-dark {
    background-color: var(--bg-dark-color);
}

.bg-light {
    background-color: var(--bg-light-color);
}

.content>div {
    padding: 5rem 0;
}

.container-title {
    text-align: center;
    margin: 0 auto 5rem;
    font-size: 24px;
    font-size: 2.4rem;
}

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

.text-sm {
    font-size: 14px;
    font-size: 1.4rem;
}

.text-xs {
    font-size: 12px;
    font-size: 1.2rem;
}

/* link */
a.tel {
    color: #fff;
    text-decoration: none;
}


/* button */
button {
    font-family: "Kiwi Maru", serif;
    line-height: 1;
}

.btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border: solid 4px var(--btn-primary-bg);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover-bg);
    color: var(--btn-primary-hover-text);
}

.btn-contact {
    box-sizing: border-box;
    padding: 0 25px 2px;
    height: 100%;
    font-size: 18px;
    font-size: 1.8rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}


/* header */
.header {
    background-color: #fff;
    box-shadow: 0 4px 4px 0 rgba(125, 125, 125, .25);
    display: relative;
    position: sticky;
    top: 0;
    z-index: 10000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    height: var(--header-height);
    padding: 12px 20px;
}

.header-container-navs {
    display: flex;
    gap: 20px;
}

/* global navigation */
.navigation-container {
    position: relative;
    height: 100%;
}

.global-menu {
    display: none;
}

.global-menu a {
    text-decoration: none;
    color: var(--text-base-color);
}

.global-menu a:hover {
    color: var(--accent-color);
}

#menu-toggle {
    display: none;
}

.btn-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 10px;
    width: 48px;
    height: 48px;
    background-color: var(--btn-secondary-bg);
    border-radius: 5px;
    cursor: pointer;
}

.btn-menu span {
    display: block;
    width: 100%;
    height: 4px;
    background-color: var(--btn-secondary-text);
    border-radius: 2px;
}

.btn-menu-open {
    gap: 4px;
}

.btn-menu-close {
    display: none;
}

.btn-menu-close span {
    position: relative;
}

.btn-menu-close span:nth-child(1) {
    transform: rotate(45deg);
    top: 2px;
}

.btn-menu-close span:nth-child(2) {
    transform: rotate(-45deg);
    top: -2px;
}

.global-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    height: 100%;
}

#menu-toggle:checked~.btn-menu-close {
    display: flex;
    position: fixed;
    right: 25px;
    top: 50px;
    z-index: 7500;
}

#menu-toggle:checked~.global-menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
}

#menu-toggle:checked~.global-menu ul {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    padding: 25px;
}

.header-container-actions {
    height: 100%;
}


/* footer */
#footer {
    background: var(--accent-color);
    color: #fff;
}

#footer .container-xl {
    padding-top: 5rem;
    padding-bottom: 5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

#footer .logo {
    width: auto;
    height: 5rem;
}

#footer .company {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.company-text {
    font-size: 14px;
    font-size: 1.4rem;
}

#footer address {
    font-style: normal;
}

#footer address dl {
    display: flex;
}

#footer address dl dt::after {
    content: ":";
    display: "inline-flx";
    padding: 0 .5rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    list-style: none;
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
}

.footer-links li:not(:last-child)::after {
    content: "|";
    display: inline-flex;
    margin-left: 1em;
    margin-right: 0.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}


/* mv */
.mv-container {
    background-image: url(../images/mv-bg.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    animation: fade-image 2s ease-in;
    height: calc(100vh - 12rem);
}

.mv-container>div {
    padding: 2.5rem;
    text-align: center;
}

.mv-catch-copy {
    font-size: 20px;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.mv-title span {
    display: block;
}

.mv-title-area {
    font-size: 18px;
    font-size: 1.8rem;
}

.mv-title-station {
    font-size: 24px;
    font-size: 2.4rem;
    margin-bottom: 1rem;
}


/* news */
.news-list-detail {
    border-bottom: dotted 1px var(--border-color);
    padding: 2.5rem;
}

.news-list .news-list-detail:nth-child(1) {
    padding-top: 0;
}

.post-link {
    text-decoration: none;
    color: var(--text-base-color);
}

.post-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.cat-link {
    text-decoration: none;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    border-style: solid;
    border-weight: 1px;
    color: #fff;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0 .2rem;
}

.cat-link:hover {
    background-color: #fff;
    color: var(--accent-color);
}

.news-detail-date {
    font-size: 14px;
    font-size: 1.4rem;
}

.news-detail-category {
    font-size: 14px;
    font-size: 1.4rem;
}


/* about */
.about .container-lg {
    display: flex;
    flex-direction: column-reverse;
    gap: 2.5rem;
}

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

.about-image img {
    width: 200px;
    height: auto;
}

.about-copy {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.about-copy h2 {
    font-weight: normal;
    margin-bottom: 1.5rem;
}

.about-copy-station {
    display: block;
    font-size: 18px;
    font-size: 1.8rem;
}

.about-copy-endeavor {
    display: block;
    color: var(--accent-color);
    font-size: 34px;
    font-size: 3.4rem;
}


/* worries */
.worries .container-md {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.worries-list {
    list-style: none;
}

.worries-list li {
    background: var(--bg-dark-color);
    border-radius: 5px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    font-size: 20px;
    font-size: 2rem;
}

.worries-list li:nth-last-of-type(1) {
    margin-bottom: 0;
}

.worries .container-lg {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.target-list {
    position: relative;
    margin-bottoM: 2.5rem;
}

.target-list ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.target-list li {
    background-image: url(../images/target-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: #fff;
    height: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
}

.target-list .etc {
    position: absolute;
    bottom: 0;
    right: 0;
}

/* service */
#service .container-lg {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.service-item {
    background-color: var(--bg-light-color);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0;
    gap: 2.5rem;
}

.service-item img {
    height: 10rem;
    width: auto;
}


/* price */
#price .container-lg {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.price-situation {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.price-situation .case {
    background: var(--bg-dark-color);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-situation .case dt {
    background-color: var(--accent-color);
    color: #fff;
    padding: .5rem 0;
}

.price-situation .case dd {
    padding: 2.5rem 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.station-time {
    margin-bottom: 5rem;
    border-spacing: 2rem;
}

.station-time th,
.station-time td {
    vertical-align: top;
    font-size: 18px;
    font-size: 1.8rem;
}

.station-time th {
    text-align: left;
    line-height: 1;
    font-weight: normal;
    width: 12rem;
}


/* single */
.post .container-md {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

.post header {
    padding-bottom: 2.5rem;
    border-bottom: dotted 1px var(--border-color);
    margin-bottom: 2.5rem;
}

.post h1 {
    font-size: 24px;
    font-size: 2.4rem;
}

.post img {
    max-width: 100%;
    height: auto;
}


/* form */
.wpcf7-form-control {
    border-radius: .5rem;
    border: solid 1px rgb(197, 197, 197);
}

.wpcf7-form-control[type="text"],
.wpcf7-form-control[type="email"],
.wpcf7-form-control[type="tel"],
textarea.wpcf7-form-control {
    padding: 1rem 1.5rem;
    box-sizing: border-box;
    width: 100%;
    max-width: 50rem;
}

.wpcf7-submit {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 1.5rem 0;
    width: 100%;
    max-width: 340px;
    margin: 2.5rem auto 0;
    font-family: "Kiwi Maru", serif;
    font-size: 20px;
    font-size: 2rem;
    border-radius: 3rem;
    cursor: pointer;
}


/* transitions and animations */
@keyframes fade-image {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.btn-primary {
    transition: all .35s ease-out;
}

.global-menu a {
    transition: color .35s ease-out;
}

.post-link {
    transition: all .35s ease-out;
}

.cat-link {
    transition: all .35s ease-out;
}

/* media query */
/* md */
@media screen and (min-width: 600px) {
    .target-list li {
        width: 30%;
        height: 10rem;
    }

    /* service */
    .services {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
    }

    .service-item {
        width: calc((100% - 2.5rem) / 2);
        overflow: hidden;
    }

    /* price */
    .station-time th {
        width: 17rem;
    }

    .station-time td br {
        display: none;
    }
}

@media screen and (min-width: 840px) {

    /* footer */
    #footer .company {
        flex-direction: row;
        justify-content: flex-start;
    }

    /* news */
    .news-list-detail {
        display: flex;
        align-items: center;
        gap: 2.5rem;
    }

    .news-detail-date {
        width: 15rem;
        font-size: 18px;
        font-size: 1.8rem;
    }

    .news-detail-category {
        width: 12rem;
    }

    .news-detail-category .cat-link {
        display: flex;
    }

    .news-detail-title {
        flex: 1;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    /* about */
    .about .container-lg {
        flex-direction: row;
        align-items: flex-end;
        justify-content: flex-start;
    }

    /* worries */
    .target-list {
        margin-bottom: 5rem;
    }

    /* service */
    .service-item {
        width: calc((100% - 2.5rem * 2) / 3);
    }

    /* price */
    .price-situation {
        flex-direction: row;
        flex-wrap: no-wrap;
    }

    .price-situation .case {
        width: calc((100% - 2.5rem * 2) / 3);
    }
}

/* lg */
@media screen and (min-width: 1000px) {
    .global-menu {
        display: flex;
    }

    .btn-menu-open {
        display: none;
    }

    .header-container-navs {
        align-items: center;
    }

    /* mv */
    .mv-container {
        background-size: contain;
        background-position: left bottom;
        display: flex;
        align-items: center;
    }

    .mv-container>div {
        width: 45%;
        margin-left: auto;
        margin-right: 0;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .mv-catch-copy {
        font-size: 24px;
        font-size: 2.4rem;
    }

    .mv-title-area {
        font-size: 20px;
        font-size: 2rem;
    }

    .mv-title-station {
        font-size: 28px;
        font-size: 2.8rem;
    }

    /* worries */
    .target-list {
        margin-bottom: 7.5rem;
    }

    .target-list li {
        height: 12rem;
    }

    .target-list .etc {
        right: 5rem;
    }
}

/* xl */
@media screen and (min-width: 1320px) {

    /* mv */
    .mv-container {
        max-height: 75rem;
    }

    .mv-catch-copy {
        font-size: 30px;
    }

    .mv-title-area {
        font-size: 24px;
    }

    .mv-title-station {
        font-size: 34px;
    }
}