@charset "UTF-8";

/************************************************
    Header
*************************************************/
#header {
    background-color: var(--main-color);
    color: #fff;
}

/************************************************
    Contents
*************************************************/
.section__title {
    font-size: 2.5em;
}

.button {
    padding: 10px calc(var(--base-gutter) * 8);
    font-size: 1.875em;
}

/*  Service
------------------------------------------------*/
#service h2.wp-block-heading {
    border: none;
    font-size: 2.5em;
}

#service h2.wp-block-heading::before {
    top: 40px;
    left: -120px;
    width: 150px;
    transform: rotate(-70deg);
}

#service h2.wp-block-heading::after {
    position: absolute;
    top: 0;
    left: -100px;
    display: block;
    width: calc(var(--max-width) + 100vw);
    height: 3px;
    background-color: var(--main-color);
    content: '';
}

#service .wp-block-group.is-layout-flex {
    flex-direction: row;
    column-gap: calc(var(--base-gutter) * 4);
    align-items: flex-start;
    justify-content: space-between;
}

/*  News
------------------------------------------------*/
#news .news__list {
    flex-direction: row;
    column-gap: calc(var(--base-gutter) * 4);
}

#news .news__item img {
    height: 400px;
    max-height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

#news .news__item figcaption {
    position: relative;
    width: 90%;
    margin: calc(var(--base-gutter) * -6) auto 0;
    border-radius: 10px;
    box-shadow: 0 1px 3px 1px rgba(0, 0, 0, 0.2);
}

/*  Contact
------------------------------------------------*/
#contact .wrap__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: calc(var(--base-gutter) * 8);
    margin-left: calc((100vw - var(--max-width)) / 2);
    padding: calc(var(--base-gutter) * 4) 0;
}

#contact .wrap__inner.bg-full::after {
    left: calc((100vw - min(100% , 100vw)) * -1);
}

#contact .section__title {
    text-align: left;
}

#contact .wrap__inner > .section__content {
    text-align: left;
}

#contact .section__inner {
    display: flex;
    flex: 1;
    margin-top: 0;
    padding: calc(var(--base-gutter) * 8) calc(var(--base-gutter) * 3);
    border-radius: 100vh 0 0 100vh;
}

#contact .section__inner h3 {
    font-size: 1.5em;
}

#contact .section__inner .section__content:not(.separator) {
    flex: 1;
}

#contact .section__content .tel {
    font-size: 3.125em;
}

#contact .section__inner .separator {
    margin: 0 calc(var(--base-gutter) * 4);
    border: none;
    border-left: 1px solid var(--main-color);
}

/*  Price
------------------------------------------------*/
#price .price__list {
    display: flex;
    flex-wrap: wrap;
    column-gap: calc(var(--base-gutter) * 8);
    row-gap: calc(var(--base-gutter) * 4);
}

#price .price__item {
    margin-top: 0 !important;
    width: calc((100% - calc(var(--base-gutter) * 8)) /2);
}

#price .price__item h3 {
    font-size: 1.375em;
    text-align: center;
}

#price .price__item h3 span {
    padding: 0 1em;
}

/*  Merit
------------------------------------------------*/
#merit .wrap__inner {
    display: flex;
    justify-content: space-between;
    column-gap: calc(var(--base-gutter) * 4);
}

#merit .merit__image {
    flex: 1;
    height: auto;
    border-radius: 0 20px 20px 0;
}

#merit .merit__text {
    width: var(--max-width);
    padding: calc(var(--base-gutter) * 8);
    border-radius: 20px 0 0 20px;
}

#merit .merit__text .section__title {
    text-align: left;
}

/*  Price
------------------------------------------------*/
#flow .wrap__inner {
    padding: calc(var(--base-gutter) * 8) 0;
}

#flow .flow__list .flow__step {
    display: flex;
}

#flow .flow__list .flow__no {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    background-color: var(--main-color);
    color: #fff;
    font-size: 3.75em;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

#flow .flow__list .flow__detail {
    flex: 1;
    padding: calc(var(--base-gutter) * 4);
}

#flow .flow__list .flow__detail h3 {
    margin-bottom: var(--base-gutter);
    padding: 0;
    background: none;
    color: var(--main-color);
    font-size: 1.875em;
}

#flow .flow__list .flow__detail h3 span {
    display: none;
}

#flow .flow__list .flow__detail p {
    padding: 0;
}

/*  Area
------------------------------------------------*/
#area figure {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    column-gap: calc(var(--base-gutter) * 8);
}

#area figure img,
#area figure figcaption {
    flex: 1;
    width: calc((100% - (var(--base-gutter) * 8)) / 2);
}

/*  Profile
------------------------------------------------*/
#profile dl {
    display: flex;
    flex-wrap: wrap;
    padding: calc(var(--base-gutter) * 8) calc(var(--base-gutter) * 30);
}

#profile dt {
    width: 180px;
    padding: calc(var(--base-gutter) * 3) calc(var(--base-gutter) * 2);
    border-bottom: 1px solid var(--main-color);
}

#profile dd {
    width: calc(100% - 180px);
    padding: calc(var(--base-gutter) * 3) calc(var(--base-gutter) *2);
    border-top: 1px dashed var(--border-color);
    border-bottom: none;
}

#profile dd:last-child {
    border-bottom: 1px dashed var(--border-color);
}

/*  Direct Mail
------------------------------------------------*/
#dm figure {
    display: flex;
    flex-direction: row-reverse;
    align-items: start;
    column-gap: calc(var(--base-gutter) * 8);
    margin-top: calc(var(--base-gutter) * 8);
    margin-left: calc((100vw - var(--max-width)) / 2);
    border-radius: 20px 0 0 20px;
}

#dm figure img {
    margin-top: calc(var(--base-gutter) * -4);
    border-radius: 0;
    width: calc((100% - var(--base-gutter) * 8) * 0.35);
}

#dm figcaption {
    width: calc((100% - var(--base-gutter) * 8) * 0.65);
    padding: calc(var(--base-gutter) * 4) calc(var(--base-gutter) * 8);
}

#dm figcaption .catch {
    font-size: 1.875em;
}

#dm figcaption .catch span {
    font-size: 0.8em;
}

#dm figcaption h3 {
    padding: var(--base-gutter);
    font-size: 1.875em;
}

/*  Form
------------------------------------------------*/
#form {
    margin-bottom: calc(var(--base-gutter) * -12);
}

#form .wrap__inner {
    padding-bottom: 0;
}

#form .section__inner {
    margin: 0 calc(var(--base-gutter) * 30);
}

#form table {
    border-collapse: separate;
    border-spacing: calc(var(--base-gutter) * 4);
}

#form table th,
#form table td {
    display: table-cell;
    padding: 0;
}

#form table th {
    padding: 0 calc(var(--base-gutter) * 2);
}

/************************************************
    Blog
*************************************************/
#blog-contents .section__container {
    flex-direction: row;
    row-gap: calc(var(--base-gutter) * 8);
}

/************************************************
    Footer
*************************************************/
#contents:has(#form) ~ #footer {
    padding-top: calc(var(--base-gutter) * 12);
    z-index: -1;
}

#footer .group__list {
    flex-direction: row;
    justify-content: center;
    column-gap: calc(var(--base-gutter) * 8);
}

#footer .group__item {
    position: relative;
}

#footer .group__item + .group__item::before {
    position: absolute;
    left: calc(var(--base-gutter) * -4);
    display: block;
    height: 100%;
    border-left: 1px solid #fff;
    content: '';
}

#footer .company-info {
    align-items: start;
    margin: 0 auto;
}