@charset "utf-8";

/* =========================================================================================
page-header
=========================================================================================*/
.lower_title {
    background-image: url(../images/common/lower_title.webp);
    background-size: cover;
    height: 550px;
    margin-bottom: 65px;
    overflow: hidden;
    position: relative;
}
.lower_title::after {
    content: "";
    height: 100%;
    width: 60%;
    position: absolute;
    bottom: 0;
    right: 0;
    background-image: url(../images/lower_title_default.webp);
    background-size: cover;
    background-position: center left;
    position: absolute;
    right: -60%;
    animation-name: title;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    clip-path: polygon(0 100%, 300px 0, 100% 0, 100% 100%);
}
@keyframes title {
    0% {
        right: -60%;
    }
    100% {
        right: 0;
    }
}
.lower_title .page-title {
    color: #fff;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 0.4em;
    padding-top: 320px;
    margin: 0;
    line-height: 1;
}
.lower_title .bg_text {
    left: 0;
    top: 145px;
    opacity: 0.2;
}
.lower_title .container {
    margin-inline: auto;
}
/* ------------------ sp ---------------------------*/
@media (max-width: 1024px) {
    .lower_title {
        height: 400px;
        overflow: hidden;
    }
    @keyframes title {
        0% {
            right: -130%;
        }
        100% {
            right: 0;
        }
    }
    .lower_title .page-title {
        padding-top: 155px;
        font-size: 24px;
    }
    .lower_title .bg_text {
        font-size: 80px;
        top: 75px;
    }
    .lower_title::after {
        height: 190px;
        width: 100%;
        clip-path: none;
        background-position: 50% 87.5%;
    }
}

/* =========================================================================================
MIDASHI
=========================================================================================*/
* + .wp-block-heading {
    margin-top: 1.5em;
}
.wp-block-heading {
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 0.25em;
}
/* midashi - l */
.container .mid-l,
h1.wp-block-heading {
    color: var(--dark);
    font-size: 37px;
    font-weight: 700;
    padding-bottom: 18px;
    margin-bottom: 30px;
    position: relative;
    letter-spacing: 0.02em;
}
.container .mid-l::after,
h1.wp-block-heading::after {
    display: block;
    content: "";
    width: 40px;
    height: 10px;
    background-image: url(../images/common/line_mark.webp);
    background-size: cover;
    position: absolute;
    right: 0;
    bottom: -5px;
    z-index: ;
}
.container .mid-l::before,
h1.wp-block-heading::before {
    display: block;
    content: "";
    width: 100%;
    border-bottom: 0.5px solid var(--dark);
    position: absolute;
    bottom: 0;
    z-index: 2;
}

/* midashi - m */
.container .mid-m,
h2.wp-block-heading {
    font-size: 30px;
    color: var(--base);
    font-weight: 700;
    letter-spacing: 0.06em;
}

/* midashi - s */
.container .mid-s,
h3.wp-block-heading {
    font-size: 24px;
    font-weight: 700;
}

h4.wp-block-heading {
    font-size: 20px;
}
h5.wp-block-heading {
    font-size: 18px;
}
h6.wp-block-heading {
    font-size: 16px;
}
/* ------------------ sp ---------------------------*/
@media (max-width: 1024px) {
    .container .mid-l,
    h1.wp-block-heading {
        font-size: 24px;
        margin-bottom: 26px;
    }
    .container .mid-m,
    h2.wp-block-heading {
        font-size: 22px;
    }
    .container .mid-s,
    h3.wp-block-heading {
        font-size: 20px;
    }
}
/* =========================================================================================
iframe
=========================================================================================*/
.entry-content iframe {
    pointer-events: all !important;
}

/* =========================================================================================
p
=========================================================================================*/
.entry-content > p + p {
    margin-top: 1em;
}

/* =========================================================================================
Hr
=========================================================================================*/
hr,
.wp-block-separator {
    width: 100%;
    max-width: 500px;
    height: 1px;
    border: none;
    background-color: var(--base);
    margin: 5vh auto;
}
.wp-block-separator.is-style-dots:before {
    font-size: 3em;
    letter-spacing: 1em;
    padding-left: 1em;
}
@media only screen and (max-width: 820px) {
    hr,
    .wp-block-separator {
        width: 50%;
    }
}

/* =========================================================================================
WP-block-button
=========================================================================================*/
.wp-block-buttons {
    display: flex;
    align-items: stretch;
}
.wp-block-buttons a {
    color: #fff;
    font-size: 1rem;
    text-align: center;
    background: var(--base);
    border: 1px solid var(--base);
    border-radius: 0;
    padding: 0.5em 2em 0.5em 1.25em;
    position: relative;
    transition: 0.3s;
}
.wp-block-buttons a {
    height: 100%;
    min-width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wp-block-buttons a::after {
    content: "";
    background: #fff;
    width: 0.75em;
    aspect-ratio: 1 / 1;
    position: absolute;
    right: 0.75em;
    top: 50%;
    translate: 0 -50%;
    z-index: 1;
    -webkit-mask-image: url(../images/common/arrow_l.svg);
    mask-image: url(../images/common/arrow_l.svg);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: 0.3s;
}
.wp-block-buttons a:hover {
    color: var(--base);
    background-color: #fff;
    text-decoration: none;
    opacity: 1;
}
.wp-block-buttons a:hover::after {
    background: var(--base);
}
/*wp-block-button*/
.wp-block-buttons + .wp-block-buttons {
    margin-top: 0.5em;
}

/* =========================================================================================
LIST
=========================================================================================*/
/* ul.list*/
.entry-content ul.wp-block-list,
.entry-content ul.list {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    margin: 0.5em 0 0.5em 1.25em;
}
.entry-content ul.wp-block-list li,
.entry-content ul.list li {
    line-height: 1.5;
    position: relative;
}
.entry-content ul.wp-block-list li::before,
.entry-content ul.list li::before {
    position: absolute;
    content: "";
    background: var(--base);
    width: 0.375em;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    top: 0.5em;
    left: -0.9em;
}

/* ol.list*/
.entry-content ol.wp-block-list,
.entry-content ol.list {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    margin: 0.5em 0 0.5em 1.5em;
    padding: 0;
}
.entry-content ol.wp-block-list li,
.entry-content ol.list li {
    list-style: decimal;
    line-height: 1.5;
    margin: 0;
    position: relative;
}

/* =========================================================================================
Table
=========================================================================================*/
.wp-block-table table,
.entry-content table {
    width: 100%;
}
.wp-element-caption,
.entry-content .caption,
.wp-block-flexible-table-block-table figcaption {
    opacity: 0.7;
    padding: 0.5em 0;
}
.wp-block-table th,
.wp-block-table td,
.entry-content th,
.entry-content td {
    text-align: left;
    vertical-align: top;
    position: relative;
}
.wp-block-table th,
.entry-content th {
    padding-block: 0.5em;
}
.wp-block-table td,
.entry-content td {
    padding-block: 0.75em;
}
.wp-block-table th,
.entry-content th {
    background: var(--light);
}
.wp-block-table.is-style-stripes .wp-element-caption {
    border-top: 2px solid;
}

/* =========================================================================================
Grid
=========================================================================================*/
.is-layout-grid {
    column-gap: 5%;
    row-gap: clamp(1.25rem, calc(0.344rem + 3.867vw), 3.438rem);
}
@media only screen and (max-width: 820px) {
    .is-layout-grid {
        column-gap: 20px;
    }
}
@media only screen and (max-width: 468px) {
    .is-layout-grid {
        column-gap: 10px;
    }
}

/* =========================================================================================
wp-block-file
=========================================================================================*/
.wp-block-file {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.5em;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding-block: 1em;
}
.wp-block-file:has(object) {
    display: block;
}
.wp-block-file + .wp-block-file {
    border-top: none;
}
.wp-block-file:not(.wp-element-button) {
    font-size: 1em;
}
.wp-block-file * + .wp-block-file__button {
    font-size: 0.9em;
    background: var(--base) url(../images/common/icon_download.svg) no-repeat;
    background-position: center right 0.75em;
    background-size: auto 50%;
    padding: 0.25em 2.25em 0.25em 1em;
}
.wp-block-file a:hover {
    text-decoration: none;
}

/* =========================================================================================
blockquote
=========================================================================================*/
blockquote {
    position: relative;
    padding: 3em 2em;
    background: #f5f5f5;
}
blockquote cite {
    display: block;
    font-size: 0.8rem;
    text-align: right;
    color: #808080;
    padding-right: 20px;
}

/* =========================================================================================
wp-block-media-text
=========================================================================================*/
@media only screen and (max-width: 600px) {
    .wp-block-media-text .wp-block-media-text__content {
        margin: 0;
        padding: 1em 0;
    }
}

/* =========================================================================================
wp-block-image
=========================================================================================*/
.wp-block-image {
    margin-bottom: 1em;
}

/* =========================================================================================
NEWS
=========================================================================================*/
body.archive .contents,
body.single .contents {
    margin-bottom: 65px;
}
/* =========================================================================================
NEWS - ARCHIVE
=========================================================================================*/
body.archive dl {
    display: flex;
    flex-wrap: wrap;
}
body.archive dt,
body.archive dd {
    position: relative;
    padding-bottom: 50px;
}
body.archive dt::before,
body.archive dd::before {
    display: block;
    content: "";
    width: 100%;
    border-bottom: 0.5px solid var(--dark);
    position: absolute;
    bottom: 0;
    z-index: 2;
}
body.archive dd::after {
    display: block;
    content: "";
    width: 40px;
    height: 10px;
    background-image: url(../images/common/line_mark.webp);
    background-size: cover;
    position: absolute;
    right: 0;
    bottom: -5px;
    z-index: ;
}
body.archive dt:not(:last-of-type),
body.archive dd:not(:last-of-type) {
    margin-bottom: 50px;
}
body.archive dt {
    width: 150px;
    font-weight: 700;
}
body.archive dd {
    width: calc(100% - 150px);
}
body.archive dd a {
    color: var(--base);
    line-height: 1.8em;
}
body.archive dd a:hover {
    opacity: 0.7;
}
/* ------------------ sp ---------------------------*/
@media (max-width: 1024px) {
    body.archive dt,
    body.archive dd {
        width: 100%;
    }
    body.archive dt,
    body.archive dt:not(:last-of-type) {
        padding-bottom: 0;
        margin-bottom: 10px;
    }
    body.archive dd {
        padding-bottom: 20px;
    }
    body.archive dt::before {
        display: none;
    }
    body.archive dd:not(:last-of-type) {
        margin-bottom: 20px;
    }
}

/* =========================================================================================
NEWS - PAGINATION
=========================================================================================*/
.pagination {
    margin-top: 50px;
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.pagination .page-numbers li a,
.pagination .page-numbers li span,
.pagination .page-numbers li .current {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: var(--red);
    background: var(--light);
    border-radius: 50%;
    line-height: 1em;
    letter-spacing: 0;
}
.pagination .page-numbers li .current {
    background: var(--base);
    color: #fff;
    font-weight: 700;
}
.pagination .page-numbers li a:hover {
    background: var(--base);
    color: #fff;
    font-weight: 700;
}
.pagination .page-numbers li .dots {
    width: auto;
    height: auto;
    background: none !important;
    translate: 0 -5%;
}
.pagination .page-numbers li .prev,
.pagination .page-numbers li .next {
    font-weight: 900;
    font-size: 12px;
    background: none !important;
}
.pagination .page-numbers li .prev:hover,
.pagination .page-numbers li .next:hover {
    color: var(--base);
}
/* ------------------ sp ---------------------------*/
@media (max-width: 1024px) {
    .pagination .page-numbers {
        gap: 10px;
    }
    .pagination .page-numbers li a,
    .pagination .page-numbers li span,
    .pagination .page-numbers li .current {
        font-size: 12px;
        width: 30px;
        height: 30px;
    }
    .pagination .page-numbers li .prev,
    .pagination .page-numbers li .next {
        font-size: 10px;
    }
}

/* =========================================================================================
NEWS - SINGLE
=========================================================================================*/
body.single .text {
    display: flex;
}
body.single .date {
    color: var(--base);
    font-weight: 700;
}

body.single .nav {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    background: var(--light);
}
body.single .nav li {
    width: 300px;
}
body.single .nav li a {
    display: block;
    padding: 20px;
    background: var(--base);
    color: #fff;
    text-align: center;
}
body.single .nav li a span {
    color: #fff;
    font-weight: 900;
    font-size: 12px;
}
body.single .nav li.prev a span {
    padding-right: 10px;
}
body.single .nav li.next a span {
    padding-left: 10px;
}
body.single .nav li a:hover {
    background: var(--dark);
}
/* ------------------ sp ---------------------------*/
@media (max-width: 1024px) {
    body.single .nav li {
        width: calc((100% - 20px) / 2);
    }
}

/* =========================================================================================
SERVICE
=========================================================================================*/
body.service .lower_title {
    background: var(--dark);
    height: 410px;
    margin-bottom: 0;
}
body.service .lower_title::after {
    display: none;
}
body.service .lower_title .page-title {
    padding-top: 240px;
}
body.service .lower_title .bg_text {
    opacity: 0.1;
    top: 75px;
}
body.service .service_block {
    padding-top: 170px;
    padding-bottom: 170px;
    margin-bottom: -170px;
    background-size: 50% auto;
    background-repeat: no-repeat;
    overflow: hidden;
}
body.service .service_block#service01 {
    margin-top: -170px;
}
body.service .service_block#service01,
body.service .service_block#service03 {
    background-image: url(../images/service_bg01.webp);
    background-position: top 250px left;
}
body.service .service_block#service02,
body.service .service_block#service04 {
    background-image: url(../images/service_bg02.webp);
    background-position: top 250px right;
}
body.service .service_block:last-of-type {
    margin-bottom: 0;
}
body.service h2 {
    font-size: 37px;
    font-weight: 800;
    white-space: nowrap;
    color: #fff;
    background-image: url(../images/service_textbg01.webp);
    background-size: cover;
    background-position: center left;
    padding-inline: 120px 0;
    z-index: 2;
    height: 160px;
    width: calc(100% + 10vw);
    display: flex;
    align-items: center;
    justify-content: left;
    position: absolute;
    top: -80px;
    right: -240%;
    transition: 0.8s 0.3s ease-in-out;
}
body.service .reverse h2 {
    background-image: url(../images/service_textbg02.webp);
    background-position: center right;
    padding-inline: 0 100px;
    justify-content: right;
    right: auto;
    left: -240%;
}
body.service .gallery_top.run h2 {
    right: -10vw;
}
body.service .gallery_top.reverse.run h2 {
    right: auto;
    left: -10vw;
}
body.service .gallery_top {
    display: flex;
    margin: 0 10vw 50px 0;
    width: 100%;
    height: 580px;
}
body.service .gallery_top.reverse {
    flex-direction: row-reverse;
    margin: 0 0 50px 10vw;
}
body.service .gallery_top > .img {
    margin-right: 50px;
    position: relative;
    width: calc(100% - 395px);
}
body.service .gallery_top.reverse > .img {
    margin-right: 0;
    margin-left: 50px;
}
body.service .gallery_top > .img .wrap {
    position: absolute;
    height: 100%;
    width: 100%;
}
body.service .gallery_top > .img img {
    position: absolute;
    height: 100%;
    object-fit: cover;
    object-position: center;
    left: -100%;
    transition: 0.8s ease-in-out;
}
body.service .gallery_top.reverse > .img img {
    left: auto;
    right: -100%;
}
body.service .gallery_top.run > .img img {
    position: absolute;
    left: 0;
}
body.service .gallery_top.reverse.run > .img img {
    left: auto;
    right: 0;
}
body.service .gallery_top .text {
    position: relative;
    width: 345px;
}
body.service .gallery_top .text .wrap {
    position: absolute;
    width: 100%;
    right: -220%;
    bottom: 0;
    transition: 0.8s ease-in-out;
}
body.service .gallery_top.reverse .text .wrap {
    right: auto;
    left: -220%;
}
body.service .gallery_top.run .text .wrap {
    right: 0;
}
body.service .gallery_top.reverse.run .text .wrap {
    right: auto;
    left: 0;
}
body.service .gallery_top p {
    margin-bottom: 34px;
}
body.service .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
body.service .gallery > div {
    width: calc((100% - 50px) / 2);
}
body.service .gallery > div:not(:nth-last-of-type(-n + 2)) {
    margin-bottom: 50px;
}
body.service .gallery p {
    font-size: 15px;
    font-weight: 400;
    margin-top: 4px;
    text-align: left;
}
/* ------------------ sp ---------------------------*/
@media (min-width: 1500px) {
    body.service .gallery_top {
        margin-right: calc((100vw - 1200px) / 2);
    }
    body.service .gallery_top.reverse {
        margin-left: calc((100vw - 1200px) / 2);
    }
    body.service h2 {
        width: calc(100% + ((100vw - 1200px) / 2));
        padding-inline: 160px 0;
        right: -360%;
    }
    body.service .reverse h2 {
        padding-inline: 0 160px;
        left: -360%;
    }
    body.service .gallery_top.run h2 {
        right: calc(((100vw - 1200px) / 2) * -1);
    }
    body.service .gallery_top.reverse.run h2 {
        left: calc(((100vw - 1200px) / 2) * -1);
    }
}
@media (max-width: 1024px) {
    body.service .lower_title {
        height: 210px;
    }
    body.service .lower_title .page-title {
        padding-top: 163px;
    }
    body.service .lower_title .bg_text {
        top: 85px;
    }
    body.service .service_block {
        padding-top: 65px;
        padding-bottom: 65px;
        margin-bottom: -65px;
        background-size: 100% auto;
    }
    body.service .service_block#service01 {
        margin-top: -65px;
    }
    body.service .gallery_top,
    body.service .gallery_top.reverse {
        margin: 0 0 10px 0;
        height: auto;
        flex-direction: column;
    }
    body.service h2 {
        font-size: 20px;
        padding-inline: 0 100px;
        height: 80px;
        justify-content: flex-end;
    }
    body.service .reverse h2 {
        padding-left: 20px;
        padding-right: 50px;
        justify-content: flex-start;
    }
    body.service #service03 h2 {
        padding-right: 30px;
    }
    body.service .gallery_top > .img {
        margin-right: 0;
        height: 320px;
        width: 100%;
    }
    body.service .gallery_top.reverse > .img {
        margin-left: 0;
    }
    body.service .gallery_top .text {
        max-width: none;
        width: 100%;
    }
    body.service .gallery_top .text .wrap {
        padding: 30px 20px 0 20px;
        box-sizing: border-box;
        position: static;
    }
    body.service h2 {
        top: -60px;
        right: -90%;
        width: calc(100% - 100px);
        box-sizing: border-box;
        transition: 0.8s 0.1s ease-in-out;
    }
    body.service .gallery_top.reverse h2 {
        left: -90%;
    }
    body.service .gallery_top.run h2 {
        right: 0;
    }
    body.service .gallery_top.reverse.run h2 {
        left: 0;
    }
    body.service .gallery_top p {
        margin-bottom: 10px;
    }
    body.service .gallery > div {
        width: calc((100% - 10px) / 2);
    }
    body.service .gallery > div:not(:nth-last-of-type(-n + 2)) {
        margin-bottom: 10px;
    }
    body.service .gallery p {
        font-size: 13px;
    }
}

/* =========================================================================================
WORKS
=========================================================================================*/
body.works .lower_title::after {
    background-image: url(../images/lower_title_works.webp);
}
body.works .caption h2 {
    font-size: 37px;
    color: var(--base);
    font-weight: 700;
    white-space: nowrap;
    margin-right: 50px;
    letter-spacing: 0.02em;
}
body.works .caption .graph {
    padding-top: 100px;
}
body.works .caption .graph .img01 {
    margin-right: 10%;
    width: 55%;
}
body.works .caption .graph h3 {
    font-size: 18px;
    font-weight: 600;
    border-top: 0.75px solid var(--dark);
    border-bottom: 0.75px solid var(--dark);
    padding: 5px;
    text-align: center;
    letter-spacing: 0.2em;
}
body.works .caption .img02 h3 {
    max-width: 230px;
}
body.works .caption .graph ul {
    margin: 20px 0;
}
body.works .caption .graph li {
    letter-spacing: 0.02em;
}
body.works .caption .graph li::before {
    content: "";
    display: inline-block;
    margin-right: 4px;
    width: 30px;
    height: 15px;
    background: #1165a6;
}
body.works .caption .img01 ul {
    display: flex;
    flex-wrap: wrap;
}
body.works .caption .img01 li:not(:last-of-type) {
    margin-right: 20px;
}
body.works .caption .img01 li:nth-of-type(2)::before {
    background: var(--base);
}
body.works .caption .img01 li:nth-of-type(3)::before {
    background: #b0b4b8;
}
body.works .caption .img01 li:nth-of-type(4)::before {
    background: #e1e3e4;
}
body.works .caption .img02 li:nth-of-type(1)::before {
    background: #e882a9;
}
body.works .caption .img02 li:nth-of-type(2)::before {
    background: #9070af;
}
body.works .caption .img02 .img {
    margin-top: -230px;
    margin-left: -30px;
}
body.works .achieve {
    padding: 150px 0 100px;
}
body.works .flex {
    display: flex;
    justify-content: space-between;
}
body.works .achieve .flex > div {
    width: calc((100% - 100px) / 3);
}
body.works .achieve h3 {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    padding: 5px;
    margin-bottom: 18px;
}
body.works .achieve .pink h3 {
    background: #e882a9;
}
body.works .achieve .purple h3 {
    background: #9070af;
}
body.works .achieve .green h3 {
    background: #85a440;
}
body.works .achieve .flex > div h4:not(:first-of-type) {
    margin-top: 20px;
}
body.works .achieve h4 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
body.works .achieve .pink h4 {
    color: #e882a9;
}
body.works .achieve .purple h4 {
    color: #9070af;
}
body.works .achieve .green h4 {
    color: #85a440;
}
body.works .achieve .purple li {
    color: #9070af;
}
body.works .achieve span.pink {
    color: #e882a9;
}
body.works .achieve .flex ul + p {
    font-size: smaller;
    margin-top: 1em;
}
/* ------------------ sp ---------------------------*/
@media (max-width: 1024px) {
    body.works .lower_title::after {
        background-position: 50% 25%;
    }
    body.works .flex {
        flex-direction: column;
    }
    body.works .caption h2 {
        font-size: 24px;
        margin-right: 0;
        margin-bottom: 30px;
    }
    body.works .caption .graph h3 {
        font-size: 16px;
    }
    body.works .caption .img02 h3 {
        max-width: 180px;
    }
    body.works .caption .graph {
        align-items: center;
    }
    body.works .caption .graph .img01 {
        width: 100%;
        margin-right: 0;
        max-width: 320px;
    }
    body.works .caption .graph .img02 {
        margin-top: 80px;
        max-width: 400px;
    }
    body.works .caption .img02 .img {
        margin-left: -20px;
        margin-right: -20px;
        margin-top: -180px;
    }
    body.works .achieve {
        padding: 70px 0 70px;
    }
    body.works .achieve .flex > div {
        width: 100%;
    }
    body.works .achieve .flex > div:not(:last-of-type) {
        margin-bottom: 30px;
    }
    body.works .caption .graph li {
        font-size: 12px;
    }
    body.works .achieve h3 {
        font-size: 18px;
    }
    body.works .achieve h4 {
        font-size: 16px;
    }
    body.works .achieve ul + p {
        font-size: 14px;
    }
}

/* =========================================================================================
COMPANY
=========================================================================================*/
body.company .lower_title::after {
    background-image: url(../images/lower_title_company.webp);
}
body.company .block {
    margin-bottom: 80px;
}
body.company .flex {
    display: flex;
}
body.company .summary .text {
    width: calc(100% - 300px);
    margin-right: 50px;
}
body.company .summary .text .flex {
    justify-content: space-between;
}
body.company .summary .text h3 {
    margin-bottom: 16px;
}
body.company .summary p {
    margin-top: 26px;
}
body.company .summary dl {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}
body.company .summary dt,
body.company .summary dd {
    letter-spacing: 0.02em;
    line-height: 1.8em;
    margin-top: 6px;
}
body.company .summary dt {
    width: 200px;
    color: var(--base);
    background: var(--light);
    padding: 4px 10px;
    margin-right: 16px;
    display: flex;
    align-items: center;
}
body.company .summary dd {
    width: calc(100% - 216px);
}
body.company .vision p {
    max-width: calc(100% - 360px);
}
/* body.company .environment p,
body.company .summary .environment dl {
    max-width: calc(100% - 130px);
} */
body.company .img_block {
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
body.company .environment .img {
    width: 100%;
    max-width: 600px;
    margin-top: 30px;
}
body.company .img02 {
    width: 380px;
    margin-top: 30px;
}
body.company .img03 {
    width: 200px;
    margin-right: 110px;
}
body.company h3 {
    font-size: 30px;
    color: var(--base);
    font-weight: 700;
    letter-spacing: 0.06em;
}
body.company h4,
body.company .message h3 {
    font-size: 23px;
    color: var(--base);
    font-weight: 700;
    letter-spacing: 0.1em;
}
body.company .message {
    background: var(--light);
    padding: 70px 0 20px;
}
body.company .message .bg_text {
    font-size: 100px;
    left: 0;
    top: -35px;
}
body.company .message .text {
    width: 55%;
    flex-shrink: 0;
}
body.company .message h3 {
    padding-bottom: 26px;
}
body.company .message p:not(:last-of-type) {
    margin-bottom: 28px;
}
body.company .message .img {
    margin-left: 50px;
}
body.company .message .img img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}
body.company .message .name {
    font-size: 30px;
    font-weight: 600;
}
body.company .message .name span {
    font-size: 18px;
    font-weight: 600;
    padding-right: 34px;
}
body.company .about {
    padding-top: 110px;
}
body.company .about .flex {
    align-items: flex-end;
}
body.company .about .flex .text {
    width: 50%;
    padding-right: 50px;
    flex-shrink: 0;
}
body.company .about .flex .img {
    margin-bottom: 20px;
}
body.company .about dl {
    display: flex;
    flex-wrap: wrap;
}
body.company .about dt {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--base);
    width: 150px;
    border-bottom: 0.5px solid #c4c7c9;
    padding: 11px 0;
}
body.company .about dd {
    letter-spacing: 0.02em;
    width: calc(100% - 150px);
    border-bottom: 0.5px solid #c4c7c9;
    padding: 11px 0;
    line-height: 1.8em;
}
body.company .about dd dt {
    width: 180px;
}
body.company .about dd dd {
    width: calc(100% - 180px);
}
body.company .about dd dt:last-of-type,
body.company .about dd dd:last-of-type {
    border-bottom: 0;
}
body.company .about dd span {
    color: var(--base);
    padding-right: 16px;
}
body.company .map {
    padding: 170px 0 200px;
}
body.company .map .flex {
    justify-content: space-between;
    flex-wrap: wrap;
}
body.company .map .flex div {
    width: calc((100% - 50px) / 2);
}
body.company .map .flex div:not(:nth-last-of-type(-n + 2)) {
    margin-bottom: 100px;
}
body.company .map iframe {
    width: 100%;
    height: 300px;
}
body.company .map h3 {
    background: var(--light);
    font-size: 20px;
    color: var(--dark);
    text-align: center;
    padding: 5px;
}
body.company .map p {
    margin: 20px 0;
}
/* ------------------ sp ---------------------------*/
@media (max-width: 1024px) {
    body.company .lower_title::after {
        background-position: 50% 45%;
    }
    body.company .flex {
        flex-direction: column;
    }
    body.company .block {
        margin-bottom: 60px;
    }
    body.company .about .flex,
    body.company .message .flex {
        flex-direction: column-reverse;
    }
    body.company .summary .text {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    body.company .summary h3 {
        font-size: 22px;
    }
    body.company h4 {
        font-size: 18px;
        letter-spacing: 0.05em;
    }
    body.company .summary .text .flex {
        flex-direction: column;
    }
    body.company .img03 {
        width: 100%;
        margin: 0;
        flex-shrink: 0;
    }
    body.company .img03 img {
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    body.company .img_block {
        width: 100%;
    }
    body.company .img01 {
        width: 100%;
    }
    body.company .img02 {
        width: 100%;
        margin-top: 20px;
    }
    body.company .vision p
    /*body.company .environment p,
    body.company .summary .environment dl*/ {
        max-width: none;
    }
    body.company .summary dt {
        width: 120px;
        text-align: center;
        justify-content: center;
    }
    body.company .summary dd {
        width: calc(100% - 136px);
    }
    body.company .message {
        padding: 70px 0 0;
        overflow: hidden;
    }
    body.company .message .bg_text {
        font-size: 80px;
    }
    body.company .message h3 {
        font-size: 22px;
        margin-top: 6px;
    }
    body.company .message p:not(:last-of-type) {
        margin-bottom: 20px;
    }
    body.company .message .img {
        margin-left: 0;
    }
    body.company .message .text {
        width: 100%;
        margin-top: 20px;
    }
    body.company .message .name {
        font-size: 22px;
        text-align: right;
        line-height: 1.5em;
    }
    body.company .message .name span {
        font-size: 16px;
        display: block;
        padding-right: 0;
    }
    body.company .about {
        padding-top: 60px;
    }
    body.company .about .flex .text {
        width: 100%;
        padding-right: 0;
    }
    body.company .about dt {
        font-size: 16px;
        width: 100%;
        border-bottom: 0;
        padding-bottom: 0;
    }
    body.company .about dd {
        width: 100%;
    }
    body.company .about dd span {
        display: block;
        padding-right: 0;
    }
    body.company .about dd dt {
        width: 100px;
        border-bottom: 0.5px solid #c4c7c9;
        padding: 11px 0;
        margin-left: 20px;
    }
    body.company .about dd dd {
        width: calc(100% - 120px);
    }
    body.company .map {
        padding: 60px 0 100px;
    }
    body.company .map .flex div {
        width: 100%;
    }
    body.company .map h3 {
        font-size: 18px;
        padding: 2px;
    }
    body.company .map p {
        margin: 12px 0;
    }
    body.company .map iframe {
        height: 200px;
    }
    body.company .map .flex div:not(:nth-last-of-type(-n + 1)) {
        margin-bottom: 30px;
    }
}

/* =========================================================================================
CONTACT US
=========================================================================================*/
body.contactus .contact_tel {
    padding-bottom: 80px;
}
body.contactus strong {
    color: var(--base);
    font-size: 30px;
    font-weight: 700;
    display: block;
    margin-bottom: 65px;
    letter-spacing: 0.04em;
}
body.contactus .tel span {
    font-size: 70px;
    display: inline-block;
    line-height: 1em;
    margin-right: 20px;
}
section.contact_form .block {
    margin: 0 auto;
    max-width: 900px;
}
section.contact_form {
    padding-bottom: 80px;
}
section.contact_form .block {
    margin: 0 auto;
    max-width: 900px;
}
section.contact_form dl {
    display: flex;
    flex-wrap: wrap;
}
section.contact_form dt {
    width: 250px;
    padding-top: 16px;
}
section.contact_form dd {
    width: calc(100% - 250px);
    line-height: 1.8em;
}
section.contact_form dt,
section.contact_form dd {
    padding-bottom: 10px;
}
section.contact_form.check dd {
    padding-top: 16px;
}
section.contact_form dt label {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
section.contact_form dt span {
    background: var(--base);
    color: #fff;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 10px;
}
section.contact_form input,
section.contact_form textarea {
    width: 100%;
    padding: 16px;
    background: var(--light);
    border: 0;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.8em;
}
section.contact_form textarea {
    height: 300px;
}
section.contact_form input:focus,
section.contact_form textarea:focus {
    outline: 0;
    background: #f2f8ff;
}
section.contact_form .btn-area p {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}
section.contact_form input[type="submit"],
section.contact_form input[type="button"],
section.contact_form.send a {
    cursor: pointer;
    border: 0;
    display: block;
    width: 100%;
    background: var(--base);
    color: #fff;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto;
    font-size: 18px;
    letter-spacing: 0.1em;
    transition: 0.3s;
}
section.contact_form input[type="button"] {
    width: fit-content;
    background: none;
    padding: 0;
    color: var(--base);
    font-size: 16px;
}
section.contact_form input[type="submit"]:hover {
    background: var(--dark);
}
section.contact_form input[type="button"]:hover {
    color: var(--dark);
}
section.contact_form.send h3 {
    margin-bottom: 20px;
}
section.contact_form.send p + a {
    margin-top: 20px;
}

/* ------------------ sp ---------------------------*/
@media (max-width: 1024px) {
    body.contactus .contact_tel,
    body.contactus .contact_form {
        padding-bottom: 60px;
    }
    body.contactus strong {
        font-size: 22px;
    }
    body.contactus .tel span {
        font-size: 40px;
        margin-right: 0;
        display: block;
    }
    section.contact_form dt,
    section.contact_form dd {
        width: 100%;
    }
    section.contact_form dd {
        padding-bottom: 0;
    }
    section.contact_form.check dd {
        padding-top: 0;
    }
    section.contact_form input,
    section.contact_form textarea {
        padding: 12px;
    }
    section.contact_form input[type="submit"] {
        padding: 20px;
        font-size: 16px;
    }
    section.contact_form button[type="button"] {
        font-size: 14px;
    }
}

/* =========================================================================================
 policy ・　compliance
=========================================================================================*/
body.privacypolicy .lower_title .bg_text {
    line-height: 0.9em;
    font-size: 200px;
}
body.privacypolicy .lower_title .page-title,
body.cp .lower_title .page-title {
    letter-spacing: 0.2em;
}
body.privacypolicy .name,
body.cp .name {
    text-align: right;
}
body.privacypolicy p:not(:last-of-type),
body.cp p:not(:last-of-type) {
    margin-bottom: 28px;
}
body.privacypolicy .sentence,
body.cp .sentence {
    padding-bottom: 65px;
}
body.privacypolicy .policy_contact {
    background: var(--light);
    padding: 65px 0;
}
body.privacypolicy .policy_contact p {
    text-align: center;
}
body.privacypolicy .policy_contact p:first-of-type {
    color: var(--base);
    font-size: 18px;
    font-weight: 600;
}
/* ------------------ sp ---------------------------*/
@media (max-width: 1024px) {
    body.privacypolicy .lower_title .bg_text {
        font-size: 80px;
        top: 78px;
    }
    body.privacypolicy .policy_contact p:first-of-type {
        font-size: 16px;
    }
    body.privacypolicy p:not(:last-of-type),
    body.cp p:not(:last-of-type) {
        margin-bottom: 20px;
    }
}

/* =========================================================================================
404
=========================================================================================*/
body.error404 .lower_title .bg_text {
    line-height: 1;
}
body.error404 .lower_title .page-title {
    letter-spacing: 0.1em;
    line-height: 1.4;
}
body.error404 .entry-content .container {
    padding-block: 0 50px;
}
body.error404 .entry-content .container .error-message {
    margin-bottom: 50px;
}
body.error404 .entry-content .container .wp-block-buttons {
    justify-content: center;
}
@media (max-width: 1024px) {
}
@media (max-width: 415px) {
    body.error404 .lower_title .page-title {
        font-size: 24px;
    }
}
