@charset "UTF-8";

/************************************************
    Header
*************************************************/
#header .site-name {
    background-color: var(--main-color);
}

/************************************************
    Contents
*************************************************/
.section__title {
    margin-bottom: calc(var(--base-gutter) * 4);
    color: var(--main-color);
    font-size: 1.5em;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}

.button__wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    margin: calc(var(--base-gutter) * 4) auto 0;
}

.button {
    display: inline-block;
    padding: var(--base-gutter) calc(var(--base-gutter) * 4);
    background: var(--main-color);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

/*  Side Link
------------------------------------------------*/
#sidelink {
    position: fixed;
    top: 20vh;
    right: 0;
    background-color: var(--main-color);
    border: 1px solid #fff;
    border-right: none;
    border-radius: 5px 0 0 5px;
    color: #fff;
    font-weight: bold;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    z-index: 999;
}

#sidelink a {
    display: block;
    padding: var(--base-gutter);
}


/*  Service
------------------------------------------------*/
#service h2.wp-block-heading {
    padding: calc(var(--base-gutter) * 2) calc(var(--base-gutter) * 4) 0 0;
    border: none;
    border-top: 3px solid var(--main-color);
    font-size: 1.5em;
}

#service h2.wp-block-heading::before {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 50px;
    height: 10px;
    background-color: var(--main-color);
    content: '';
    transform: rotate(70deg);
}

#service .wp-block-group {
    margin-bottom: calc(var(--base-gutter) * 8);
}

#service .wp-block-group.is-layout-flex {
    flex-direction: column;
    row-gap: calc(var(--base-gutter) * 2);
}

/*  News
------------------------------------------------*/
#news .news__list {
    display: flex;
    flex-direction: column;
    row-gap: calc(var(--base-gutter) * 4);
    margin: calc(var(--base-gutter) * 4) auto;
}

#news .news__item {
    flex: 1;
}

#news .news__item a {
    display: block;
}

#news .news__item figure {
    margin: 0;
}

#news .news__item img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

#news .news__item figcaption {
    padding: calc(var(--base-gutter) * 2) calc(var(--base-gutter) * 3);
    background-color: #fff;
    border-radius: 0 0 10px 10px;
}

#news .news__title {
    margin-top: var(--base-gutter);
    color: var(--main-color);
    font-size: 1.125em;
    font-weight: bold;
}

/*  Contact
------------------------------------------------*/
#contact .wrap__inner.bg-full::after {
    background: url(../img/bkg_contact_area.jpg) no-repeat top left;
    background-size: cover;
}

#contact h3 {
    margin-bottom: calc(var(--base-gutter) * 4);
    font-size: 1.125em;
    font-weight: bold;
    text-align: center;
}

#contact .section__inner {
    margin-top: calc(var(--base-gutter) * 4);
    padding: calc(var(--base-gutter) * 4) calc(var(--base-gutter) * 3);
    background-color: #fff;
    border-radius: 10px;
}

#contact .section__content {
    text-align: center;
}

#contact .section__content .tel {
    display: inline-block;
    margin-bottom: var(--base-gutter);
    color: var(--main-color);
    font-size: 2.1875em;
    font-weight: bold;
    line-height: 1;
}

#contact .section__content .time {
    display: block;
}

#contact .section__inner .separator {
    margin: calc(var(--base-gutter) * 4) 0;
    border-top: 1px solid var(--main-color);
}

/*  Price
------------------------------------------------*/
#price .price__item + .price__item {
    margin-top: calc(var(--base-gutter) * 4);
}

#price .price__item h3 {
    position: relative;
    margin-bottom: calc(var(--base-gutter) * 4);
    color: var(--main-color);
    font-size: 1.125em;
    font-weight: bold;
}

#price .price__item h3::before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    border-top: 1px dashed var(--border-color);
    content: '';
    z-index: -1;
}

#price .price__item h3 span {
    padding-right: 1em;
    background: #fff;
}

#price .price__item table {
    border-collapse: separate;
    border-spacing: var(--base-gutter);
}

#price .price__item th {
    width: 20%;
    min-width: 150px;
    border: none;
}

#price .price__item td {
    border: none;
    border-bottom: 1px solid var(--border-color);
}

/*  Merit
------------------------------------------------*/
#merit .merit__image {
    height: 200px;
    background: url(../img/bkg_merit_image.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 10px 10px 0 0;
}

#merit .merit__text {
    padding: calc(var(--base-gutter) * 4) calc(var(--base-gutter) * 3);
    background-color: var(--main-color);
    border-radius: 0 0 10px 10px;
    color: #fff;
}

#merit .merit__text .section__title {
    color: #fff;
}c

#merit .merit__text .section__title {
    color: #fff;
}

#merit .merit__text .section__title {
    color: #fff;
}

#merit .merit__text .button__wrap .button {
    background: #fff;
    color: var(--main-color);
}

/*  Flow
------------------------------------------------*/
#flow .flow__list li:not(:last-child)::after {
    display: block;
    width: 100%;
    margin: var(--base-gutter) auto;
    color: var(--main-color);
    font-size: 2em;
    text-align: center;
    line-height: 1;
    content: '▼';
    transform: scale(3, 1);
}

#flow .flow__list .flow__no {
    display: none;
}

#flow .flow__list .flow__detail {
    border: 1px solid var(--main-color);
}

#flow .flow__list .flow__detail h3 {
    padding: var(--base-gutter) calc(var(--base-gutter) * 2);
    background-color: var(--main-color);
    color: #fff;
    font-size: 1.125em;
    font-weight: bold;
}

#flow .flow__list .flow__detail h3 span {
    margin-right: 0.5em;
}

#flow .flow__list .flow__detail p {
    padding: var(--base-gutter) calc(var(--base-gutter) * 2);
}

/*  Area
------------------------------------------------*/
#area figure {
    display: flex;
    flex-direction: column;
    row-gap: calc(var(--base-gutter) * 4);
}

/*  Profile
------------------------------------------------*/
#profile .wrap__inner::after {
    background: url(../img/bkg_profile.jpg) no-repeat bottom center;
    background-size: cover;
}

#profile dl {
    padding: calc(var(--base-gutter) * 4) calc(var(--base-gutter) * 3);
    background-color: rgba(255, 255, 255, 0.8);
}

#profile dt {
    padding: var(--base-gutter);
    font-weight: bold;
}

#profile dt:first-child {
    border-top: 1px solid var(--main-color);
}

#profile dd {
    padding: 0 var(--base-gutter) var(--base-gutter);
    border-bottom: 1px solid var(--main-color);
}

/*  Google Map
------------------------------------------------*/
#map .wrap__inner {
    padding: 0;
}

#map iframe {
    width: 100%;
    height: 400px;
}

/*  Direct Mail
------------------------------------------------*/
#dm figure {
    margin-top: calc(var(--base-gutter) * 4);
    background-color: var(--light-color);
    border-radius: 10px;
}

#dm figure img {
    border-radius: 10px 10px 0 0;
}

#dm figcaption {
    padding: calc(var(--base-gutter) * 4) calc(var(--base-gutter) * 3);
}

#dm figcaption .catch {
    color: var(--main-color);
    font-size: 1.125em;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}

#dm figcaption .catch span {
    display: block;
    font-size: 1.6rem;
}

#dm figcaption h3 {
    margin: calc(var(--base-gutter) * 3) auto;
    padding: calc(var(--base-gutter) / 2) var(--base-gutter);
    background-color: var(--main-color);
    color: #fff;
    font-size: 1.125em;
    font-weight: bold;
    text-align: center;
}

#dm figcaption ul {
    margin-top: calc(var(--base-gutter) * 2);
}

#dm figcaption li {
    padding-left: 1em;
    font-size: 0.875em;
    text-indent: -1em;
}

/*  Form
------------------------------------------------*/
#form .section__inner {
    padding: calc(var(--base-gutter) * 4) calc(var(--base-gutter) * 3);
    background-color: #fff;
    border: 1px solid var(--main-color);
}

#form table th,
#form table td {
    display: block;
    border: none;
}

#form table th {
    background: none;
    border-left: 5px solid var(--main-color);
}

#form table td {
    padding: var(--base-gutter) 0;
}

#form input[type=text],
#form input[type=email],
#form textarea {
    background-color: var(--light-color);
    border: none;
    border-radius: 0;
}

/************************************************
    Blog
*************************************************/

/*  Archive
------------------------------------------------*/

/*  Single
------------------------------------------------*/

/************************************************
    Sidebar
*************************************************/
.sidebar .widget_block h2.wp-block-heading {
    color: var(--main-color);
    border: none;
    border-bottom: 3px solid var(--main-color);
}

.sidebar .widget_block > ul li::before {
    color: var(--main-color);
}

/************************************************
    Footer
*************************************************/
#footer .group__list {
    display: flex;
    flex-direction: column;
    row-gap: calc(var(--base-gutter) * 4);
}

#footer .company-info {
    display: flex;
    flex-direction: column;
    row-gap: calc(var(--base-gutter) / 2);
}

#footer .company-info__item {
    display: block;
}

#footer .group__name {
    font-weight: bold;
}