@charset "utf-8";
/* =========================================================================================
PAGE HEADER
=========================================================================================*/
.page-header {
    min-height: 200px;
    display: flex;
    align-items: end;
    justify-content: left;
    padding-block: 20px;
    position: relative;
    z-index: 1;
}
.page-header .page-title {
    font-size: 2em;
    text-align: left;
    font-weight: var(--weight-semibold);
    line-height: 1.4;
    letter-spacing: 0.025em;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: left;
    margin: 0;
    position: relative;
    z-index: 1;
}
.page-header .page-title::before {
    content: "";
    width: 1em;
    height: 1px;
    background: var(--color-base-font);
    position: absolute;
    top: 0.75em;
    left: -1.25em;
    position: absolute;
    z-index: 1;
}
@media only screen and (max-width: 980px) {
    .page-header {
        min-height: 125px;
    }
    .page-header .page-title {
    font-size: 1.8em;
}
}
@media only screen and (max-width: 468px) {
    .page-header {
        min-height: 100px;
    }
     .page-header .page-title {
    font-size: 1.6em;
}
}

/* =========================================================================================
Breadcrumbs
=========================================================================================*/
.breadcrumbs {
    color: var(--color-base-font);
    text-align: right;
    font-size: small;
    line-height: 1.4;
    padding-block: 10px;
}
.breadcrumbs a {
    color: var(--color-base-font);
    text-decoration: underline;
    padding-right: 2em;
    position: relative;
}
.breadcrumbs a::after {
    content: "";
    width: 1em;
    height: 1px;
    background: #ccc;
    position: absolute;
    top: 50%;
    right: 0;
    translate: -50% -50%;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
LAYOUT
=========================================================================================*/
.entry-content section:nth-of-type(1) /*ページの一番最初のsection*/ {
    padding-top: 50px;
}
.entry-content section:nth-last-of-type(1) /*ページの一番最最後のsection*/ {
    padding-bottom: 150px;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* catchphrase -------------------------------------------------------------*/
.entry-content .catchphrase {
    padding-block: 50px;
}
.entry-content .catchphrase strong {
    color: var(--color-main);
    font-size: clamp(2rem, calc(1.473rem + 2.247vw), 2.625rem); /* min: 32px, max: 42px */
    font-weight: var(--weight-bold);
    line-height: 1.6;
    display: block;
}
.entry-content .catchphrase p {
    padding-top: 50px;
}

/* =========================================================================================
PRODUCT
=========================================================================================*/
body.product .main-visual {
    color: #fff;
    width: 100%;
    height: calc(100vh - 60px);
    background: url(../images/page/product/page-header.webp) no-repeat center / cover;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    min-height: 800px;
}
body.product .main-visual::before {
    content: "";
    background: url(../images/Live_the_Next.svg) no-repeat center / contain;
    width: 56vw;
    max-width: 1050px;
    aspect-ratio: 1050 / 135;
    position: absolute;
    left: 0;
    bottom: 0;
    translate: 0 5%;
    z-index: 1;
}
body.product .main-visual .page-title::before {
    background: #fff;
}
body.product .main-visual .catchphrase strong {
    font-size: clamp(2rem, calc(1.473rem + 2.247vw), 2.625rem); /* min: 32px, max: 42px */
    font-weight: var(--weight-bold);
    line-height: 1.6;
    display: block;
}
body.product .main-visual .catchphrase p {
    width: 100%;
    padding-top: 20px;
}
@media only screen and (max-width: 1080px) {
body.product .main-visual::before {
    content: "";
    background: url(../images/Live_the_Next.svg) no-repeat center / contain;
    width: 100vw;
}
body.product .main-visual {
    height: calc(70vh - 60px);
    background: url(../images/page/product/page-header_sp.webp) no-repeat center / cover;
    min-height: 800px;
}
}

/*commitment ------------------------------------------------------------------*/
body.product section.commitment .box {
    display: flex;
    flex-wrap: wrap;
    gap: 70px 80px;
}
body.product section.commitment .box .item {
    width: calc((100% - 80px) / 2);
    display: flex;
    flex-direction: column;
}
body.product section.commitment .box .item:nth-of-type(even) {
    translate: 0 -80px;
}
body.product section.commitment .box .item h3 {
    color: var(--color-accent);
    font-size: clamp(1.125rem, calc(0.934rem + 1.348vw), 1.375rem); /* min: 18px, max: 22px */
    line-height: 1.4;
    margin-bottom: 0.5em;
}
body.product section.commitment .box .item .image {
    margin-bottom: 30px;
}
body.product section.commitment .box .item .text {
    flex-grow: 1;
    margin-bottom: 2em;
}
body.product section.commitment .box .item .text h3.mid-slash {
    font-size: clamp(1.375rem, calc(0.743rem + 2.697vw), 2.125rem); /* min: 22px, max: 34px */
    padding-bottom: 1em;
    margin-bottom: 0.5em;
}
body.product section.commitment .box .item .text h3.mid-slash::before {
    width: 1.6em;
}
@media only screen and (max-width: 600px) {
    body.product section.commitment .box {
        gap: 60px;
    }
    body.product section.commitment .box .item {
        width: 100%;
        translate: 0 !important;
    }
}
@media only screen and (max-width: 468px) {
}

/*flow ------------------------------------------------------------------*/
body.product section.flow {
    color: #fff;
    background: var(--color-main);
}
body.product section.flow .intro {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-block: 0 60px;
}
body.product section.flow .intro h3 {
   font-size: clamp(1.25rem, calc(1.079rem + 1.798vw), 1.75rem); /* min: 20px, max: 28px */
    line-height: 1.7;
}
body.product section.flow .intro .btn {
    justify-content: left;
}
body.product section.flow ul {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 90px 6%;
    margin-bottom: 150px;
    position: relative;
    z-index: 10;
}
body.product section.flow ul li {
    position: relative;
    z-index: 10;
}
body.product section.flow ul li::before {
    content: "";
    width: 50%;
    aspect-ratio: 1 / 1;
    background: #000;
    position: absolute;
    top: -15px;
    right: -15px;
    z-index: -1;
    opacity: 0.3;
}
body.product section.flow ul li:nth-of-type(2),
body.product section.flow ul li:nth-of-type(5) {
    translate: 0 50px;
    z-index: 1;
}
body.product section.flow ul li:nth-of-type(3),
body.product section.flow ul li:nth-of-type(6) {
    translate: 0 100px;
    z-index: 1;
}
body.product section.flow ul li:nth-of-type(even)::before {
    background: #fff;
}
body.product section.flow ul li .image {
    margin-bottom: 1.5em;
    position: relative;
    z-index: 10;
}
body.product section.flow ul li .image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 35 / 31;
    object-fit: cover;
}
body.product section.flow ul li .text h3 {
    font-size: clamp(1.125rem, calc(1.039rem + 0.899vw), 1.375rem); /* min: 18px, max: 22px */
    line-height: 1.4;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.75em;
    margin-bottom: 1em;
}
body.product section.flow ul li .text h3 span {
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    width: 55px;
    aspect-ratio: 1 / 1;
}
body.product section.flow ul li .text h3 span small {
    font-size: 0.45em;
    font-weight: var(--weight-regular);
    display: block;
}
body.product section.flow ul li .text h4 {
    font-size: clamp(1.125rem, calc(1.02rem + 0.449vw), 1.25rem); /* min: 18px, max: 20px */
    font-weight: var(--weight-medium);
    line-height: 1.4;
    margin-bottom: 1em;
}
@media only screen and (max-width: 980px) {
    body.product section.flow ul {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 100px;
    }
    body.product section.flow ul li:nth-of-type(even) {
        translate: 0 50px !important;
    }
    body.product section.flow ul li:nth-of-type(odd) {
        translate: 0 !important;
    }
}
@media only screen and (max-width: 600px) {
    body.product section.flow {
        padding-bottom: 100px;
    }
    body.product section.flow ul {
        grid-template-columns: auto;
        gap: 60px;
        margin-bottom: 50px;
    }
    body.product section.flow ul li:nth-of-type(even),
    body.product section.flow ul li:nth-of-type(odd) {
        translate: 0 0 !important;
    }
}

/* =========================================================================================
WORKS ARCHIVE
=========================================================================================*/
body.post-type-archive-works {
}
body.post-type-archive-works ul.tag-menu,
body.tax-works-tag ul.tag-menu {
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin-bottom: 50px;
}
body.post-type-archive-works ul.tag-menu li a,
body.tax-works-tag ul.tag-menu li a {
    border: 1px solid #c7c7c7;
    border-radius: 100px;
    padding: 0.25em 1em;
}
body.post-type-archive-works .post-list ul,
body.tax-works-tag .post-list ul {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 90px 6%;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}
body.post-type-archive-works .post-list ul li,
body.tax-works-tag .post-list ul li {
    position: relative;
    z-index: 10;
}
body.post-type-archive-works .post-list ul li:nth-of-type(2),
body.post-type-archive-works .post-list ul li:nth-of-type(5),
body.tax-works-tag .post-list ul li:nth-of-type(2),
body.tax-works-tag .post-list ul li:nth-of-type(5) {
    translate: 0 50px;
    z-index: 1;
}
body.post-type-archive-works .post-list ul li:nth-of-type(3),
body.post-type-archive-works .post-list ul li:nth-of-type(6),
body.tax-works-tag .post-list ul li:nth-of-type(3),
body.tax-works-tag .post-list ul li:nth-of-type(6) {
    translate: 0 100px;
    z-index: 1;
}
body.post-type-archive-works .post-list ul li .thumbnail,
body.tax-works-tag .post-list ul li .thumbnail {
    position: relative;
    z-index: 10;
}
body.post-type-archive-works .post-list ul li .thumbnail img,
body.tax-works-tag .post-list ul li .thumbnail img {
    width: 100%;
    height: 100%;
    aspect-ratio: 35 / 31;
    object-fit: cover;
}
body.post-type-archive-works .post-list ul li .thumbnail .info-area,
body.tax-works-tag .post-list ul li .thumbnail .info-area {
    font-weight: var(--weight-semibold);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 5;
}
body.post-type-archive-works .post-list ul li .thumbnail .info-area .owner,
body.post-type-archive-works .post-list ul li .thumbnail .info-area .cat a,
body.tax-works-tag .post-list ul li .thumbnail .info-area .owner,
body.tax-works-tag .post-list ul li .thumbnail .info-area .cat a {
    color: #fff;
    font-size: clamp(0.875rem, calc(0.895rem + 0.449vw), 0.9375rem); /* min: 14px, max: 16px */
    line-height: 1.4;
    padding: 0.45em 0.75em 0.25em;
}
body.post-type-archive-works .post-list ul li .thumbnail .info-area .owner,
body.tax-works-tag .post-list ul li .thumbnail .info-area .owner {
    background: var(--color-main);
}
body.post-type-archive-works .post-list ul li .thumbnail .info-area .cat a,
body.tax-works-tag .post-list ul li .thumbnail .info-area .cat a {
    height: 100%;
    background: #000;
}
body.post-type-archive-works .post-list ul li .title a,
body.tax-works-tag .post-list ul li .title a {
    color: var(--color-main);
    font-size: clamp(1.125rem, calc(1.02rem + 0.449vw), 1.25rem); /* min: 18px, max: 20px */
    font-weight: var(--weight-bold);
    line-height: 1.5;
    margin-bottom: 0.5em;
}
body.post-type-archive-works .post-list ul li p.text br,
body.tax-works-tag .post-list ul li p.text br {
    display: none;
}
body.post-type-archive-works .post-list ul li .btn,
body.tax-works-tag .post-list ul li .btn {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 1em;
}
body.post-type-archive-works .post-list ul li .btn .date,
body.tax-works-tag .post-list ul li .btn .date {
    width: fit-content;
}
@media only screen and (max-width: 980px) {
    body.post-type-archive-works .post-list ul,
    body.tax-works-tag .post-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
    body.post-type-archive-works .post-list ul li:nth-of-type(even),
    body.tax-works-tag .post-list ul li:nth-of-type(even) {
        translate: 0 50px !important;
    }
    body.post-type-archive-works .post-list ul li:nth-of-type(odd),
    body.tax-works-tag .post-list ul li:nth-of-type(odd) {
        translate: 0 !important;
    }
}
@media only screen and (max-width: 600px) {
    body.post-type-archive-works .post-list ul,
    body.tax-works-tag .post-list ul {
        grid-template-columns: auto;
        gap: 60px;
        margin-bottom: 0;
    }
    body.post-type-archive-works .post-list ul li:nth-of-type(even),
    body.post-type-archive-works .post-list ul li:nth-of-type(odd),
    body.tax-works-tag .post-list ul li:nth-of-type(even),
    body.tax-works-tag .post-list ul li:nth-of-type(odd) {
        translate: 0 0 !important;
    }
}

/* =========================================================================================
WORKS SINGLE
=========================================================================================*/
body.single-works {
}
body.single-works .entry-header .title {
    color: var(--color-main);
    font-size: clamp(2rem, calc(1.473rem + 2.247vw), 2.625rem); /* min: 32px, max: 42px */
    font-weight: var(--weight-bold);
    line-height: 1.6;
    display: block;
    border: none;
    padding: 0;
    margin-bottom: 1em;
}
body.single-works ul.tag-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    gap: 0.5em;
    margin-left: 10%;
}
body.single-works ul.tag-menu li a {
    border: 1px solid #c7c7c7;
    border-radius: 100px;
    padding: 0.45em 0.8em;
}
body.single-works ul.tag-menu li a:hover {
    border: 1px solid var(--color-main);
   background-color: var(--color-main);
   color: #FFF;
   text-decoration: none;
   opacity: 1.0;
}
body.single-works .info-area {
    font-weight: var(--weight-bold);
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: end;
}
body.single-works .info-area .owner,
body.single-works .info-area .cat a {
    color: #fff;
    font-size: clamp(1rem, calc(0.895rem + 0.449vw), 1.125rem); /* min: 16px, max: 18px */
    line-height: 1.4;
    padding: 0.25em 0.75em;
}
body.single-works .info-area .owner {
    background: var(--color-main);
}
body.single-works .info-area .cat a {
    display: inline-block;
    background: #000;
}
body.single-works .thumbnail-area {
    margin-block: 50px 20px;
}
body.single-works .thumbnail-area img {
    width: 100%;
    height: 100%;
    max-height: 1000px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
body.single-works .entry-content .inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10%;
}
body.single-works .entry-content .inner .overview {
    order: 2;
}
body.single-works .entry-content .inner .overview h2 {
    color: var(--color-main);
    font-size: clamp(1rem, calc(0.895rem + 0.449vw), 1.125rem); /* min: 16px, max: 18px */
    line-height: 1.4;
    margin-bottom: 0.5em;
}
body.single-works .entry-content .inner .overview table {
    border-top: 1px solid #ccc;
}
body.single-works .entry-content .inner .text {
    order: 1;
}
body.single-works .entry-content .inner.gallery-area {
    display: block;
    margin-top: 100px;
}
body.single-works .entry-content .inner.gallery-area ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
body.single-works .entry-content .inner.gallery-area ul li img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
@media only screen and (max-width: 980px) {
    body.single-works .entry-content .inner {
        grid-template-columns: auto;
        gap: 50px;
    }
    body.single-works .entry-content .inner.gallery-area ul {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}
@media only screen and (max-width: 600px) {
    body.single-works .entry-content .inner.gallery-area ul {
        grid-template-columns: repeat(3, 1fr);
    }
}

body.single-works section.connection {
    background: var(--color-light-blue);
}
body.single-works section.connection .post-list ul {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    gap: 90px 6%;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}
body.single-works section.connection .post-list ul li .thumbnail {
    position: relative;
    z-index: 10;
}
body.single-works section.connection .post-list ul li .thumbnail img {
    width: 100%;
    height: 100%;
    aspect-ratio: 35 / 31;
    object-fit: cover;
}
body.single-works section.connection .post-list ul li .thumbnail .info-area {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 5;
}
body.single-works section.connection .post-list ul li .thumbnail .info-area a {
    display: block;
}
body.single-works section.connection .post-list ul li .title a {
    color: var(--color-main);
    font-size: clamp(1.125rem, calc(1.02rem + 0.449vw), 1.25rem); /* min: 18px, max: 20px */
    font-weight: var(--weight-bold);
    line-height: 1.5;
}
@media only screen and (max-width: 980px) {
    body.single-works section.connection .post-list ul {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (max-width: 600px) {
    body.single-works section.connection .post-list ul .post-list ul {
        grid-template-columns: auto;
        gap: 60px;
        margin-bottom: 0;
    }
}

/* =========================================================================================
COMPANY
=========================================================================================*/
body.company .entry-content section:nth-of-type(even) {
    background: var(--color-light-blue);
}
/*greeting ------------------------------------------------------------------*/
/* グリッドコンテナの設定 */
body.company section.greeting .box {
    display: grid;
    grid-template-columns: minmax(300px, 30%) 1fr; 
    align-items: start;
    gap: 50px 7.5%;
}

/* 2番目に書かれている写真を、左側（1番目の列）に配置 */
body.company section.greeting .box .photo {
    grid-column: 1;
    grid-row: 1;
}

/* 1番目に書かれているテキストを、右側（2番目の列）に配置 */
body.company section.greeting .box .message {
    grid-column: 2;
    grid-row: 1;
}

/* 写真が枠からはみ出したり歪んだりしないための記述 */
body.company section.greeting .box .photo img {
    width: 100%;
    height: auto;
    display: block;
}
body.company section.greeting .message p + p {
    margin-top: 1em;
}
body.company section.greeting .photo figcaption {
    font-weight: var(--weight-medium);
    line-height: 1.8;
    text-align: center;
    margin-top: 1em;
}
body.company section.greeting .message p{
   text-align: justify;
}
body.company section.greeting .message p:last-child {
    margin-top: 2em;
    text-align: right;
    font-weight: var(--weight-semibold);
}
body.company section.greeting .photo figcaption strong {
    font-size: 1.1em;
    font-weight: var(--weight-semibold);
    display:inline-block;
    border-top: 2px solid var(--color-main);
    padding: 0.6em 2.0em 0;
    margin-top: 0.4em;
    position: relative
    }
@media screen and (max-width: 820px) {
    body.company section.greeting .box {
        grid-template-columns: 1fr; /* 1列に変更 */
        gap: 30px; /* 縦の余白を少し詰める */
    }

    /* 順番と位置の解除 */
    body.company section.greeting .box .photo,
    body.company section.greeting .box .message {
        grid-column: auto;
        grid-row: auto;
    }

    /* 写真を上に配置 */
    body.company section.greeting .box .photo {
        order: 1; 
        margin: 0 auto; /* 中央寄せ */
        width: 100%;
        max-width: 450px; /* スマホで大きくなりすぎないよう上限を設定 */
    }

    /* メッセージを下に配置 */
    body.company section.greeting .box .message {
        order: 2;
    }

    /* キャプション（名前部分）の調整 */
    body.company section.greeting .box .photo figcaption {
        text-align: center; /* スマホでは中央揃えが見やすいです */
        margin-top: 10px;
    }
}
@media only screen and (max-width: 468px) {
}

/*overview ------------------------------------------------------------------*/
body.company section.overview th {
    white-space: nowrap;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/*history ------------------------------------------------------------------*/
body.company section.history th {
    white-space: nowrap;
    width: 100px;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/*access ------------------------------------------------------------------*/
body.company section.access {
    padding-bottom: 0;
}
body.company section.access .map {
    position: relative;
    min-height: 280px;
    z-index: 1;
}
body.company section.access .map iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 1920 / 800;
    max-height: 800px;
    display: block;
}
@media only screen and (max-width: 820px) {
    body.company section.access .map iframe {
        height: 480px;
    }
}
@media only screen and (max-width: 468px) {
    body.company section.access .map iframe {
        height: 300px;
    }
}

/* =========================================================================================
MODEL HOUSE
=========================================================================================*/
body.model-house .entry-content section {
    padding-top: 0;
}
body.model-house .entry-content section .image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 192 / 100;
    object-fit: cover;
}
body.model-house .entry-content section .inner .box {
    color: #fff;
    width: 100%;
    max-width: 725px;
    background: var(--color-main);
    padding: 30px 50px;
    margin-top: -15%;
}
body.model-house .entry-content section.renovation .inner .box {
    background: var(--color-accent);
    margin-inline: auto 0;
}
body.model-house .entry-content section .inner .box h2 {
    color: #fff;
    font-size: clamp(1.5rem, calc(0.868rem + 2.697vw), 2.25rem); /* min: 24px, max: 36px */
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.5em;
    margin-bottom: 0.5em;
}
body.model-house .entry-content section .inner .box address {
    font-style: normal;
    width: fit-content;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.5em;
}
body.model-house .entry-content section .inner .box address::before {
    content: "";
    width: 1.25em;
    aspect-ratio: 20 / 25;
    background: url(../images/common/icon_map.svg) no-repeat center / contain;
}
body.model-house .entry-content section .inner .box address a {
    color: #fff;
    text-decoration: underline;
    display: inline-block;
}
body.model-house .entry-content section .inner .box .btn {
    justify-content: left;
    margin-top: 1em;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
MODEL HOUSE 詳細
=========================================================================================*/
/*slider-area ------------------------------------------------------------------*/
body.page-template-model-house-temp .slider-area {
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}
body.page-template-model-house-temp .swiper-wrapper {
    /* wrapperのサイズを調整 */
    width: 100%;
}
body.page-template-model-house-temp .swiper-slide img {
    width: 100%;
    max-height: 680px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}
/*----------------------------------------------------------------------------*/
body.page-template-model-house-temp .entry-content section.main-text h2,
body.page-template-model-house-temp .entry-content section.sub-text h2 {
    color: var(--color-main);
    font-size: clamp(1.875rem, calc(1.454rem + 1.798vw), 2.375rem); /* min: 30px, max: 38px */
    font-weight: var(--weight-bold);
    line-height: 1.6;
    margin-bottom: 1em;
}

/*main-text ------------------------------------------------------------------*/
body.page-template-model-house-temp section.main-text .inner {
    display: grid;
    grid-template-columns: 1fr minmax(350px, 45%);
    gap: 30px 10%;
    align-items: start;
}
body.page-template-model-house-temp section.main-text .inner .image {
    display: flex;
    justify-content: center;
}
@media only screen and (max-width: 980px) {
    body.page-template-model-house-temp section.main-text .inner {
        display: grid;
        grid-template-columns: auto;
    }
}
@media only screen and (max-width: 468px) {
}

/*sub-text ------------------------------------------------------------------*/
body.page-template-model-house-temp section.sub-text .inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 10%;
    align-items: center;
}
body.page-template-model-house-temp section.sub-text .inner .image {
    margin-left: calc(50% - 50vw);
    position: relative;
}
body.page-template-model-house-temp section.sub-text .inner .image img {
    width: 100%;
    height: 100%;
    max-height: 600px;
    aspect-ratio: 910 / 590;
    object-fit: cover;
}
body.page-template-model-house-temp section.sub-text:nth-of-type(3) {
    padding-top: 0;
}
body.page-template-model-house-temp section.sub-text:nth-of-type(3) .inner .text {
    order: 1;
}
body.page-template-model-house-temp section.sub-text:nth-of-type(3) .inner .image {
    order: 2;
    margin-left: 0;
    margin-right: calc(50% - 50vw);
}
@media only screen and (max-width: 980px) {
    body.page-template-model-house-temp section.sub-text .inner {
        display: grid;
        grid-template-columns: auto;
    }
    body.page-template-model-house-temp section.sub-text .inner .image {
        margin: 0 !important;
    }
    body.page-template-model-house-temp section.sub-text:nth-of-type(3) .inner .text {
        order: 2;
    }
    body.page-template-model-house-temp section.sub-text:nth-of-type(3) .inner .image {
        order: 1;
    }
}
@media only screen and (max-width: 468px) {
}

/*madori ------------------------------------------------------------------*/
body.page-template-model-house-temp section.madori .inner .image {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
body.page-template-model-house-temp section.madori .inner .image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1200 / 800;
    object-fit: cover;
}
@media only screen and (max-width: 980px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
ARCHITECTURE
=========================================================================================*/
body.architecture .entry-content section {
    padding-top: 0;
}
body.architecture .entry-content section ul {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: left;
    gap: 70px 5%;
}
body.architecture .entry-content section li {
    width: calc((100% - 5%) / 2);
}
body.architecture .entry-content section li.row {
    width: 100%;
}
body.architecture .entry-content section li .box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: center;
    gap: 20px 5%;
}
@media only screen and (max-width: 820px) {
    body.architecture .entry-content section ul {
        gap: 50px;
    }
    body.architecture .entry-content section li {
        width: 100%;
    }
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
INTERIOR
=========================================================================================*/
body.interior .entry-content section {
    padding-top: 0;
}
body.interior .entry-content section ul {
    display: flex;
    flex-wrap: wrap;
    align-items: start;
    justify-content: left;
    gap: 70px 5%;
}
body.interior .entry-content section li {
    width: 100%;
}
body.interior .entry-content section li .box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    align-items: center;
    gap: 20px 5%;
}
body.interior .entry-content section li .photo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    align-items: start;
    gap: 20px 5%;
}
body.interior .entry-content section li figure {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: left;
    gap: 0.75em;
}
@media only screen and (max-width: 820px) {
    body.interior .entry-content section ul {
        gap: 50px;
    }
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
VOICE
=========================================================================================*/
body.post-type-archive-voice .main-visual {
    color: #fff;
    width: 100%;
    height: calc(100vh - 60px);
    background: url(../images/page/voice/page-header.webp) no-repeat center / cover;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
body.post-type-archive-voice .main-visual::before {
    content: "";
    background: url(../images/Live_the_Next.svg) no-repeat center / contain;
    width: 50vw;
    max-width: 1050px;
    aspect-ratio: 1050 / 135;
    position: absolute;
    left: 0;
    bottom: 0;
    translate: 0 5%;
    z-index: 1;
}
body.post-type-archive-voice .main-visual .page-title::before {
    background: #fff;
}
body.post-type-archive-voice .main-visual .catchphrase strong {
    font-size: clamp(2rem, calc(1.473rem + 2.247vw), 2.625rem); /* min: 32px, max: 42px */
    font-weight: var(--weight-bold);
    line-height: 1.6;
    display: block;
}
body.post-type-archive-voice .main-visual .catchphrase p {
    width: 50%;
    max-width: 600px;
    padding-top: 20px;
}
body.post-type-archive-voice .post-content-main .post-list.row ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}
body.post-type-archive-voice .post-content-main .post-list.row li {
    width: 100%;
    padding-block: 60px;
    border-bottom: 1px solid var(--color-gray);
}
body.post-type-archive-voice .post-content-main .post-list.row li:last-child {
    border: none;
    padding-bottom: 0;
}
body.post-type-archive-voice .post-content-main .post-list.row li article {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: stretch;
    gap: 30px 5%;
}
body.post-type-archive-voice .post-content-main .post-list.row li article .thumbnail {
    width: 47.5%;
}
body.post-type-archive-voice .post-content-main .post-list.row li article .thumbnail img {
    aspect-ratio: 1 / 0.66;
}
body.post-type-archive-voice .post-content-main .post-list.row li article .excerpt {
    width: 47.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
body.post-type-archive-voice .post-content-main .post-list.row li article .excerpt h2 {
    color: var(--color-accent);
    font-size: clamp(1.25rem, calc(0.934rem + 1.348vw), 1.625rem); /* min: 20px, max: 26px */
    line-height: 1.4;
}
body.post-type-archive-voice .post-content-main .post-list.row li article .excerpt h2 a {
    color: var(--color-accent);
    display: inline-block;
}
body.post-type-archive-voice .post-content-main .post-list.row li article .excerpt .btn {
    justify-content: left;
}
body.post-type-archive-voice .post-content-main .post-list.row li:nth-of-type(even) article {
    flex-direction: row-reverse;
}
@media only screen and (max-width: 1080px) {
 body.post-type-archive-voice .main-visual::before {
    content: "";
    background: url(../images/Live_the_Next.svg) no-repeat center / contain;
    width: 100vw;
}
 body.post-type-archive-voice .main-visual {
    height: calc(70vh - 60px);
    background: url(../images/page/voice/page-header_sp.webp) no-repeat center / cover;
    min-height: 800px;
}
}
@media only screen and (max-width: 820px) {
body.post-type-archive-voice .main-visual .catchphrase p {
    width: 100%;
    padding-top: 20px;
}
}
@media only screen and (max-width: 468px) {
    body.post-type-archive-voice .post-content-main .post-list.row li article .thumbnail,
    body.post-type-archive-voice .post-content-main .post-list.row li article .excerpt {
        width: 100%;
    }
}

/* =========================================================================================
RECRUIT
=========================================================================================*/
body.recruit .entry-content section:nth-of-type(even) {
    background: var(--color-light-blue);
}
p.inquiry {
    font-weight: 800;
    margin-top: 1.3em;
    font-size: 1.1em;
    color: var(--color-main);
    padding: 0.7em 1.0em;
    display: inline-block;
    border-radius: 8px;-webkit-border-radius: 8px;-moz-border-radius: 8px;
    background: #FFF;
}
p.inquiry>span {
    margin-right:1.0em;
    display: inline-block;
}

/* =========================================================================================
CONTACT
=========================================================================================*/
body.contact {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
Search
=========================================================================================*/
/*search-area ------------------------------------------------------------------*/
body.search .search-area {
    padding-bottom: 0;
    margin-block: 0;
}
body.search .search-area .inner {
    padding-block: 2em;
    background: var(--color-gray);
}
body.search .search-area form {
    display: grid;
    grid-template-columns: 1fr 60px;
    gap: 30px;
    align-items: center;
    width: 90%;
    margin: auto;
}
body.search .search-area input[type="text"] {
    background-color: #fff;
    transition: 0.5s;
}
body.search .search-area input[type="submit"] {
    color: #fff;
    text-indent: -9999px;
    width: 60px;
    min-width: auto;
    aspect-ratio: 1 / 1;
    background: var(--color-main) url(../images/common/icon_search.svg) no-repeat center;
    background-size: 40%;
    border-radius: 50%;
    padding: 0;
    margin: 0;
}
body.search .search-area input[type="submit"]:hover {
    opacity: 0.8;
    transition: 0.3s;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/*result-area ------------------------------------------------------------------*/
body.search .result-area .search-count {
    color: var(--color-base-font);
    font-size: 1.5rem;
    text-align: center;
    display: block;
    margin-bottom: 1em;
}
body.search .result-area .post-list {
    margin-bottom: 50px;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
404
=========================================================================================*/
body.error404 .entry-header {
    text-align: center;
    padding: 40px 20px;
    margin: 0;
}
body.error404 .error-message {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
}
body.error404 .error-message p img {
    max-width: 300px;
    margin: 0 auto 50px;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
********
=========================================================================================*/
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}
