/*
 * Misawa Fair LP — スタイル集約ファイル（site.css）
 * -----------------------------------------------------------------
 * 構成（上から順。カスケード維持のため元 style.css と同一順序）
 *
 *  1. Design tokens（:root）
 *  2. Base（reset / html / body / main img / links）
 *  3. Utilities（.fade-up + reduced-motion）
 *  4. MV（.mv / Splide / .mv_slide / .mv_float / @keyframes mv-car-drive）
 *  5. MV — tablet（768–1200px）
 *  6. About（.about …）
 *  7. Campaign（.campaign … / マルquee・Splide AutoScroll）
 *  8. Visibility helpers（.flex-pc / .campaign_box_item.sp）
 *  9. Search（.search …）
 * 10. GX House（.gx_house …）
 * 11. Footer（footer … / .co01）
 * 12. Responsive — 1200 / 1000 / 767px 以下（検索アコーディオン等）
 * 13. Floating buttons（.floating_btn）
 *
 * index.html は本ファイルを直接読み込みます。旧来の style.css は
 * 互換用に @import のみ残しています。
 * -----------------------------------------------------------------
 */

/* ========== 1. Design tokens ========== */

:root {
    --radius-card: 15px;
    --contents: 1200px;
    --contentswide: 1500px;
}

/* ========== 2. Base ========== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

p, h2, h3, h4, h5, h6 {
    text-box: trim-both cap alphabetic;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    background: #fff;
}

main img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ========== 3. Utilities — scroll fade-in ========== */

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========== 4. MV（メインビジュアル / Splide） ========== */

.mv {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
    aspect-ratio: 1920 / 900;
    --car-drive-distance: clamp(460px, 54vw, 1000px);
    position: relative;
}
@media (min-width: 1921px) {
    .mv {
        --car-drive-distance: 56vw;
    }
}
.mv_splide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.mv_splide .splide__track {
    height: 100%;
    min-height: 100%;
}

/* フェード時に flex だと子が絶対配置のみのとき高さ0になりがちなのでグリッドで同一セルに重ねる */
.mv_splide .splide__list {
    display: grid !important;
    height: 100%;
    min-height: 100%;
    width: 100%;
}

.mv_splide .splide__slide {
    grid-area: 1 / 1;
    align-self: stretch;
    width: 100%;
    min-height: 100%;
    position: relative;
    box-sizing: border-box;
    /* Splide がフェード用に付ける translateX(-100%×index) が、grid 重ねと相性が悪く2枚目が画面外へ出るため打ち消す */
    transform: none !important;
}

.mv_splide .splide__pagination,
.mv_splide .splide__arrows {
    display: none !important;
}

.mv_slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* メイン背景のみ全面表示（img/picture どちらでも対応） */
.mv_slide > picture.mv_bg_picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
}

.mv_slide > img.mv_bg,
.mv_slide > picture.mv_bg_picture > img.mv_bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.mv_slide img.mv_logo {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 65vw;
    max-width: var(--contents);
    height: auto;
    display: block;
    z-index: 2;
}

.mv_slide img.mv_logo_2 {
    position: absolute;
    top: 4.5vw;
    left: 30%;
    transform: translateX(-50%);
    width: 49%;
    max-width: var(--contents);
    height: auto;
    display: block;
    z-index: 2;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), rgba(255, 255, 255, 0.40);
    backdrop-filter: blur(7.5px);
    padding: 30px 0;
    box-sizing: border-box;
}

.mv_slide img.misawa_logo {
    position: absolute;
    top: 3%;
    left: 3%;
    width: 6vw;
    height: auto;
    display: block;
    z-index: 2;
}

.mv .car {
    position: absolute;
    left: clamp(6%, 9vw, 12%);
    bottom: clamp(1.5%, 2.6vw, 4%);
    width: clamp(140px, 18vw, 340px);
    height: auto;
    z-index: 3;
    will-change: transform;
    transform: translateX(0);
}

.mv.is-car-animated .mv_splide .splide__slide:first-child .car {
    animation: mv-car-drive 2.7s cubic-bezier(0.26, 0.8, 0.31, 1) forwards;
}

.mv.is-car-finished .mv_splide .splide__slide:first-child .car {
    transform: translateX(var(--car-drive-distance));
}

.mv_float {
    position: absolute;
    left: clamp(24%, 30vw, 34%);
    bottom: clamp(20px, 3.5vw, 40px);
    transform: translateX(-50%) translateY(30px);
    width: 46vw;
    max-width: 1000px;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease, transform 0.9s ease, visibility 0.9s ease;
}

.mv.is-float-visible .mv_float {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mv_float_contents {
    display: flex;
    gap: clamp(10px, 1.3vw, 20px);
    justify-content: center;
}

.mv_float_contents_link {
    display: block;
    width: auto;
    height: auto;
}

.mv_float_contents_link img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes mv-car-drive {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(var(--car-drive-distance));
    }
}

/* --- 5. MV — tablet（768–1200px） --- */

@media (min-width: 768px) and (max-width: 1200px) {
    .mv {
        --car-drive-distance: clamp(420px, 57vw, 760px);
    }

    .mv .car {
        left: 7%;
        width: clamp(150px, 17vw, 280px);
    }

    .mv_float {
        left: 30vw;
        bottom: 2vw;
    }

    .mv_float_contents_link img {
        width: 20vw;
    }
}

/* ========== 6. About ========== */

.about {
    padding: 120px 0;
    background: #fff;
}
.about h2 {
    position: relative;
    width: fit-content;
    max-width: 1300px;
    padding: 0 20px;
    margin: 0 auto 120px;
    text-align: center;
    font-size: clamp(2rem, 3vw, 4.2rem);
    font-weight: 700;
    line-height: 1.65;
    color: #0078BE;
    box-sizing: border-box;
    text-box: trim-both text;
}
.about h2 .uline {
    display: inline;
    border-bottom: 2px solid #0078BE;
}
.about h2::before,
.about h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 3px;
    height: 100%;
    border-radius: 3px;
    background: #0078BE;
    pointer-events: none;
}

.about h2::before {
    left: 0;
    transform: translateY(-50%) rotate(-20deg);
}

.about h2::after {
    right: 0;
    transform: translateY(-50%) rotate(20deg);
}


.about_block {
    margin: 70px auto 0;
}
.about_block.row-4 {
    width: calc(100% - 166px);
    max-width: var(--contents);
}
.about_block.row-3 {
    width: calc(100% - 166px);
    max-width: var(--contentswide);
    margin: 0 auto;
}

.about_block h3 {
    text-align: center;
    width: 100%;
    font-size: clamp(2rem, 3.3vw, 4.8rem);
    font-weight: 700;
    margin: 0 0 60px;
    color: #000;
}

.about_box.flex {
    display: flex;
    justify-content: space-between;
}
.about_block.row-4 .about_box {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 60px;
    align-items: stretch;
}
.about_block.row-4 .about_box .about_box_item {
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible;
    background: #FFF;
    position: relative;
}
.about_block.row-4 .about_box .about_box_item img{
    border-radius: var(--radius-card);
}
.about_block.row-4 .about_box .about_box_item:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 0;
    width: 1px;
    height: 100%;
    background: #000;
}
@media (max-width: 1000px) {
    .about_block.row-4 .about_box {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
        row-gap: 30px;
        width: 100%;
        margin: 0 auto;
    }
    .about_block.row-4 .about_box .about_box_item {
        width: auto;
    }
    .about_block.row-4 .about_box .about_box_item.box1,
    .about_block.row-4 .about_box .about_box_item.box3 {
        padding-left: 10px;
    }
    .about_block.row-4 .about_box .about_box_item.box2,
    .about_block.row-4 .about_box .about_box_item.box4 {
        padding-right: 10px;
    }
    .about_block.row-4 .about_box .about_box_item::before {
        display: none;
    }
    .about_block.row-4 .about_box .about_box_item:nth-child(even)::before {
        display: none;
    }
    .about_block.row-4 .about_box::before,
    .about_block.row-4 .about_box::after {
        content: "";
        position: absolute;
        background: #000;
        z-index: 1;
        pointer-events: none;
    }
    .about_block.row-4 .about_box::before {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        transform: translateX(-50%);
    }
    .about_block.row-4 .about_box::after {
        left: 0;
        right: 0;
        top: 48%;
        height: 1px;
        transform: translateY(-50%);
    }
}

.about_block.row-3 .about_box {
    gap: 20px;
}

.about_block.row-3 .about_box a {
    width: 32%;
}

.about_block.row-3 .about_box .about_box_item {
    height: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: #F4F4F4;
}

.about_box_item img {
    width: 100%;
    display: block;
    aspect-ratio: 57 / 32;
    object-fit: cover;
}

.about_box_item_img_swap {
    position: relative;
}

.about_box_item_img_swap .about_img_hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 4s ease;
}

.about_img_hover_swap:hover .about_box_item_img_swap .about_img_hover {
    opacity: 1;
}

.about_block.row-4 .about_box .about_box_item .about_box_item_text {
    padding: 25px 0;
}
.about_block.row-3 .about_box .about_box_item .about_box_item_text {
    padding: 40px 27px 20px;
}

.about_box_item_text h4 {
    margin: 0 0 25px;
    font-size: clamp(1.65rem, 1.6vw, 2.2rem);
    font-weight: 700;
    color: #000;
}

.about_box_item_text p {
    margin: 0;
    font-size: clamp(1.35rem, 1.5vw, 1.8rem);
    line-height: 1.65;
    color: #000;
    
}

.about_box_item_allow {
    width: 10px;
    height: 10px;
    border-right: 3px solid #000;
    border-bottom: 3px solid #000;
    transform: rotate(45deg);
    text-align: center;
    margin: 25px auto 0;
}
.about_box_item_allow_link {
    width: 18px;
    height: 18px;
    margin: 25px auto 0;
}

.about_box_item_allow_link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
br.sp {
    display: none;
}
br.tab {
    display: none;
}
/* ========== 7. Campaign（キャンペーン + スライド帯） ========== */

.campaign {
    padding: 120px 0;
    background: #0078BE;

}
#campaign01 {
    scroll-margin-top: 40px;
}
#campaign02 {
    scroll-margin-top: 40px;
}

.campaign h2 {
    width: fit-content;
    max-width: var(--contents);
    margin: 0 auto 60px;
    text-align: center;
    font-size: clamp(1.1rem, 3vw, 1.45rem);
    font-weight: 700;
    line-height: 1.5;
    
}

.campaign h2 .white {
    display: block;
    font-size: clamp(2.4rem, 3vw, 3.6rem);
    color: #fff;
    position: relative;
}

.campaign h2 .white::before,
.campaign h2 .white::after {
    content: "";
    position: absolute;
    top: 45%;
    width: 2px;
    height: 100%;
    border-radius: 3px;
    background: #FFF;
    pointer-events: none;
}

.campaign h2 .white::before {
    left: -4%;
    transform: translateY(-50%) rotate(-35deg);
}

.campaign h2 .white::after {
    right: -4%;
    transform: translateY(-50%) rotate(35deg);
}

.campaign h2 .yellow {
    width: fit-content;
    margin: 25px auto 0;
    display: block;
    font-size: clamp(3.6rem, 5vw, 7.6rem);
    color: #FFD402;
    position: relative;
    text-box: trim-both cap alphabetic;
}
.campaign h2 .yellow .of {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(4rem, 5.5vw, 8rem);
    text-box: trim-both cap alphabetic;
    padding-right: 5px;

}
/* .campaign h2 .yellow::before,
.campaign h2 .yellow::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 50px;
    height: 100%;
    background-image: url(../img/campaign_wmark.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.campaign h2 .yellow::before {
    transform: translateY(-50%);
    left: -15%;
}

.campaign h2 .yellow::after {
    right: -15%;
    transform: translateY(-50%) scale(-1, 1);
} */
.campaign_box {
    width: calc(100% - 166px);
    max-width: var(--contents);
    margin: 0 auto 20px;
    border-radius: var(--radius-card);
    overflow: hidden;
}

.campaign_box_item {
    position: relative;
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    max-width: 100%;
    border-radius: var(--radius-card);
    box-sizing: border-box;
    margin: 0 auto;
}

.campaign_box_item_head.campaign_01 {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: #F1592A;
}
.campaign_box_item_head.campaign_02 {
    background: #0055A2;
}
.campaign_box_item.campaign_01 {
    max-width: 100%;
    margin: 0 auto;
}
.campaign_box_item.campaign_02 {
    max-width: 100%;
    margin: 0 auto;
}
.campaign_box_item_text {
    width: fit-content;
    max-width: 800px;
    box-sizing: border-box;
}

.campaign_box_item .point {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.campaign_box_item.campaign_01 .point {
    background-image: url(../img/campaign_point01.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.campaign_box_item.campaign_02 .point {
    background-image: url(../img/campaign_point02.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
@media (max-width: 1000px) {
    .campaign_box_item .point {
        width: 100px;
        height: 100px;
        font-size: 2.4rem;
    }
}


.campaign_box_item_text h3 {
    margin: 0;
    font-size: clamp(2.4rem, 2.8vw, 4.8rem);
    font-weight: 700;
    line-height: 1.5;
    color: #FFD402;
    
}
@media (max-width: 1000px) {
    .campaign_box_item_text h3 {
        font-size: 2.4rem;
    }
}
.campaign_box_item_text p {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.5;
    color: #FFF;
    margin-top: 30px;
    
}
@media (max-width: 1000px) {
    .campaign_box_item_text p {
        font-size: 1.4rem;
    }
}
.campaign_box_item_text p strong {
    margin: 0;
    font-size: 2.2rem;
    color: #FFF;
}
@media (max-width: 1000px) {
    .campaign_box_item_text p strong {
        font-size: 1.8rem;
    }
}

.campaign_box_item_text p:last-child {
    margin-bottom: 0;
}

.campaign_box_content {
    padding: 40px 60px;
    background: #FFF;
    height: 100%;
    box-sizing: border-box;
}
@media (max-width: 1000px) {
    .campaign_box_content {
        padding: 20px 30px;
    }
}

.campaign_box_content01_01 {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.campaign_box_content01_01_txt {
    width: 30%;
}

.campaign_box_content01_01_txt h4 {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 30px;
    padding: 5px 30px 5px 10px;
    font-size: clamp(1.35rem, 1.5vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    box-sizing: border-box;
    background: #F1592A;
    border-radius: 3px;
    clip-path: polygon(
        0 0,
        100% 0,
        calc(100% - 0.6em) 50%,
        100% 100%,
        0 100%
    );
}

.campaign_box_content01_01_txt .local_txt {
    margin: 0;
    font-weight: 700;
    font-size: clamp(2.2rem, 2.8vw, 4.4rem);
    color: #F1592A;
    line-height: 1.5;
}
@media (max-width: 1000px) {
    .campaign_box_content01_01_txt .local_txt {
        font-size: 2.2rem;
    }
}

.campaign_box_content01_01_txt .local_txt sup {
    font-size: clamp(1.2rem, 1.2vw, 2.2rem);
    color: #F1592A;
}
@media (max-width: 1000px) {
    .campaign_box_content01_01_txt .local_txt sup {
        font-size: 1.2rem;
    }
}

.campaign_box_content01_01_txt .local_caption {
    margin: 0;
    font-size: 1.2rem;
}

.campaign_box_content01_01_img {
    width: 70%;
}

.campaign_box_content01_01_img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.campaign_box_content01_01_txt .local_box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 1000px) {
    .campaign_box_content01_01 {
        flex-direction: column;
        gap: 40px
    }
    .campaign_box_content01_01_txt{
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .campaign_box_content01_01_txt h4 {
        height: 30px
    }
    
    .campaign_box_content01_01_img {
        width: 100%;
    }
    .campaign_box_content01_01_img img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
}

.campaign_box_content01_02 {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
}
.campaign_box_content01_02_txt {
    width: calc(50% - 8px);
    padding: 15px 30px;
    background: #F4F4F4;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 35px;
    border-radius: var(--radius-card);
}
.campaign_box_content01_01_img_cap {
    font-size: 2rem;
    text-align: right;
    margin: 10px 0 0
}
@media (max-width: 1000px) {
    .campaign_box_content01_02 {
        flex-direction: column;
        gap: 20px;
    }
    .campaign_box_content01_02_txt {
        width: 100%;
        margin: 0 auto;
    }
    .campaign_box_content01_02_txt_title {
        width: 15%;
    }
}

.campaign_box_content01_02_txt p:first-child {
    margin: 0 0 8px;
    font-weight: 700;
    white-space: nowrap;
}

.campaign_box_content01_02_txt p {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.4;
}

.contents01_box-allow {
    width: auto;
    height: 20px;
    margin: 8px 0;
    margin-left: 8px;
}

.contents01_box-allow img {
    width: auto;
    height: 100%;
    object-fit: contain;
}
.campaign_box_content02_01 {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 30px;
    justify-content: center;
    margin-bottom: 15px;
}

.campaign_box_content02_item {
    text-align: center;
    width: calc(50% - 15px);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 1000px) {
    .campaign_box_content02_item {
        width: calc(100% - 60px);
        margin: 0 auto;
    }
}

.campaign_box_content02_title {
    margin: 0 0 10px;
    font-weight: 700;
    font-size: 2.6rem;
    color: #0055A2;
    line-height: 1.5;
}
.campaign_box_content02_item_img {
    margin-bottom: 20px;
}

.campaign_box_content02_item_text {
    margin-top: 30px;
    font-size: clamp(1.65rem, 1.5vw, 1.8rem);
    line-height: 1.5;
}

.campaign_box_content02_item_text p {
    margin: 0;
}

.campaign_box_content02_item_box_content {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.content_img img {
    max-width: 180px;
}

.campaign_accordion {
    width: calc(100% - 166px);
    max-width: var(--contents);
    margin: 0 auto 30px;
    overflow: hidden;
}

.campaign_accordion_item_title {
    position: relative;
    display: block;
    padding: 14px 18px;
    font-size: 2.2rem;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
    color: #fff;
    border-bottom: 1px solid #fff;
}

.campaign_accordion_toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.campaign_accordion_toggle + .campaign_accordion_item_title {
    cursor: pointer;
    padding-right: 42px;
}

.campaign_accordion_toggle + .campaign_accordion_item_title::after {
    content: "\FF0B";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    font-weight: 400;
    line-height: 1;
    transition: content 0.2s ease, transform 0.2s ease;
}


.campaign_accordion_item {
    padding: 16px 18px 20px;
    background: #fff;
}

.campaign_accordion_toggle + .campaign_accordion_item_title + .campaign_accordion_item {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    transition: max-height 0.1s ease, padding 0.1s ease;
}

.campaign_accordion_toggle:checked + .campaign_accordion_item_title::after {
    font-size: 2.4rem;
    transform: translateY(-50%) rotate(-45deg);
}

.campaign_accordion_toggle:checked + .campaign_accordion_item_title + .campaign_accordion_item {
    width: 100%;
    max-width: 100%;
    margin-top: 30px;
    padding: 40px 30px;
    height: 100%;
    border-radius: var(--radius-card);
    max-height: fit-content;
    text-align: center;
    box-sizing: border-box;
}

.campaign_accordion_item_content.lines {
    margin-top: 12px;
    padding: 20px 0 0;
    box-sizing: border-box;
    width: calc(100% - 166px);
    margin: 20px auto 0;
    border-top: 1px solid #000;
    font-size: 1.2rem;
    line-height: 1.4;
}

.campaign_accordion_item_content.lines p {
    margin: 0 auto;
    text-align: left;
    width: fit-content;
}
.accordion_title {
    margin: 0 0 40px;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.5;
}

.accordion_txt {
    margin: 0 0 40px;
    font-size: 1.8rem;
    line-height: 1.5;
}

.accordion_caption {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: left;
    width: fit-content;
    margin: 0 auto;
}
.accordion_caption ul {
    padding-left: 0;
    margin: 0 auto;
    width: fit-content;
}

.campaign_btn {
    max-width: var(--contents);
    margin: 80px auto 0;
    text-align: center;
}

.campaign_btn .btn,
.gx_house_btn .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 740px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 30px;
    font-size: 2.2rem;
    line-height: 1.5;
    font-weight: 700;
    color: #fff;
    border-radius: 999px;
    transition: background 0.2s, transform 0.15s;
    position: relative;
    text-box: trim-both cap alphabetic;
}

.campaign_btn .btn:hover,
.gx_house_btn .btn:hover {
    background: #FFF;
}

.campaign_btn .btn::after,
.gx_house_btn .btn::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}
.campaign_btn .btn {
    background: #F1592A;
    border: 2px solid #F1592A;
}
.campaign_btn .btn:hover {
    background: #FFF;
    color: #F1592A;
}
.campaign_btn .btn:hover::after {
    border-right: 2px solid #F1592A;
    border-bottom: 2px solid #F1592A;
}
.gx_house_btn .btn {
    background: #0078BE;
    border: 2px solid #0078BE;
}
.gx_house_btn .btn:hover {
    background: #FFF;
    color: #0078BE;
}
.gx_house_btn .btn:hover::after {
    border-right: 2px solid #0078BE;
    border-bottom: 2px solid #0078BE;
}
.campaign_slide {
    padding:0;
    background: #fff;
    overflow: hidden;
}

.campaign_splide.splide {
    width: 100%;
}

.campaign_splide .splide__track {
    overflow: hidden;
}

.campaign_splide .splide__slide img {
    height: 280px;
    width: auto;
    max-width: none;
    display: block;
}

.campaign_splide .splide__pagination,
.campaign_splide .splide__arrows {
    display: none !important;
}

/* ========== 8. PC / SP visibility ========== */

.flex-pc {
    display: flex;
}

.pc {
    display: block;
}
.sp {
    display: none;
}
@media (max-width: 768px) {
        .pc {
            display: none;
        }
    .sp {
        display: block;
    }
}

.campaign_box_item.sp {
    display: none;
}

/* ========== 9. Search ========== */

.search {
    background: #fff;
}

.search_01 {
    padding: 140px 0 0;
}
.search_02 {
    padding: 140px 0;
}
#search01, #search02 {
    scroll-margin-top: 80px;
}
.search h2 {
    margin: 0 auto;
    max-width: var(--contents);
    text-align: center;
    font-size: clamp(3rem, 4vw, 6.2rem);
    font-weight: 700;
    line-height: 1.5;
}

.search h2::after {
    content: none;
}

.search_box_head {
    max-width: var(--contents);
    margin: 0 auto 60px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.search_box_head_line {
    flex: 1 1 auto;
    height: 2px;
}

.search_box_head h2 {
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 1.2;
}

.search_detail {
    width: calc(100% - 166px);
    max-width: var(--contents);
    margin: 0 auto 40px;
    text-align: center;
    font-size: clamp(2.4rem, 3vw, 3.6rem);
    line-height: 1.5;
    font-weight: 700;
    
}

.search_caption {
    width: calc(100% - 166px);
    max-width: var(--contents);
    margin: 0 auto 60px;
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: center;
    
}

.search_box {
    width: calc(100% - 166px);
    max-width: var(--contents);
    margin: 0 auto;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search_accordion_toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.search_box_row {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.search_box_row:last-child {
    border-bottom: none;
}

.search_box_row_head {
    flex: 0 0 27%;
    max-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: #3F3F3F;
    cursor: default;
    margin-right: 20px;
}

.search_box_row_body {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.search_box_row_body a {
    display: block;
    width: 100%;
    text-decoration: none;
}

.search_box_row_btn {
    width: 100%;
    height: 56px;
    min-height: 56px;
    padding: 10px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-size: clamp(1.35rem, 1.5vw, 1.8rem);
    line-height: 1.5;
    text-align: center;
    color: #3F3F3F;
    background: #F4F4F4;
    border: 1px solid #F4F4F4;
    transition: border-color 0.2s, color 0.2s;
}

.search_01 .search_box_row_btn:hover {
    background: #A68E6B;
    border: 1px solid #A68E6B;
    color: #fff;
}

.search_01 .search_box_head_line {
    background: #A68E6B;
}
#search-01 {
    color: #A68E6B;
}
.search_02 .search_box_row_btn:hover {
    background: #66A2B3;
    border: 1px solid #66A2B3;
    color: #fff;
}
.search_02 .search_box_head_line {
    background: #66A2B3;
}
#search-02 {
    color: #66A2B3;
}

.search_cap {
    width: calc(100% - 166px);
    max-width: var(--contents);
    display: flex;
    gap: 15px;
    margin: 40px auto 0;
}
.search_cap p {
    font-size: var(--f12);
    line-height: 1.5;
    color: #000;
    margin-bottom: 0px;
}
/* ========== 10. GX House ========== */

.gx_house {
    padding: 100px 0;
    background: #f5f5f5;
}

.gx_house_contents {
    width: calc(100% - 166px);
    max-width: var(--contents);
    margin: 0 auto;
}

.gx_house_title {
    margin-bottom: 60px;
    text-align: center;
}

.gx_house_title h2 {
    margin: 0 0 40px;
    font-size: clamp(2.4rem, 3vw, 3.6rem);
    font-weight: 700;
    line-height: 1.5;
    color: #000;
}

.gx_house_title p {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: center;
}

.gx_house_box {
    display: flex;
    align-items: stretch;
    gap: 30px;
    margin-bottom: 60px;
}

.gx_house_box_item:first-child {
   width: calc(55% - 15px);
   height: 100%;
   display: block;
   overflow: hidden;
}

.gx_house_box_item_img {
    position: relative;
    height: 100%;
    min-height: 0;
}

.gx_house_box_item_img .about_box_item_img_swap {
    display: block;
    height: 100%;
    min-height: 0;
}

.gx_house_box_item_img .about_box_item_img_swap .about_img_default {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-card);
}

.gx_house_box_item_img .about_box_item_img_swap .about_img_hover {
    border-radius: var(--radius-card);
    object-fit: cover;
}

.gx_house_image_splide {
    width: 100%;
    height: 100%;
}

.gx_house_image_splide .splide__track,
.gx_house_image_splide .splide__list,
.gx_house_image_splide .splide__slide {
    width: 100%;
    height: 100%;
}

.gx_house_image_splide .splide__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-card);
}

.gx_house_image_splide .splide__arrows,
.gx_house_image_splide .splide__pagination {
    display: none !important;
}

.gx_house_box_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-card);
}
.gx_house_box_item {
    display: flex;
    gap: 12px;
    align-items: center;
    border-radius: var(--radius-card);
}
.gx_house_box_item_list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    width: calc(45% - 15px);
    flex-grow: 1;
    gap: 10px;
}
.gx_house_box_list_item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: center;
    gap: clamp(10px, 2.5vw, 50px);
    flex: 0 0 auto;
    min-height: 104px;
    background: #fff;
    border-radius: var(--radius-card);
    padding: 28px 30px 28px calc(30px + clamp(10px, 2.5vw, 50px));
    box-sizing: border-box;
}
.gx_house_box_item_txt_img {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin: 0 auto;
}
.gx_house_box_item_txt_img img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.gx_house_box_item_txt {
    display: flex;
    flex-direction: column;
    width: auto;
    min-width: 0;
    box-sizing: border-box;
}
.gx_house_box_title {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.5;
    
    margin-bottom: 20px;
}

.gx_house_box_txt {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.5;
    
}

.gx_house_bnr {
    margin-bottom: 60px;
}

.gx_house_bnr_link {
    display: block;
}

.gx_house_bnr_link img {
    width: 100%;
    border-radius: var(--radius-card);
}

.gx_house_bnr_caption {
    margin-top: 20px;
}

.gx_house_bnr_caption p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.5;
    width: fit-content;
    margin: 0 auto;
}

.gx_house_btn {
    text-align: center;
}

/* ========== 11. Footer ========== */

footer {
    padding: 32px 20px 40px;
    background: #fff;
    border-top: 1px solid var(--color-border);
}

.footer_contents {
    max-width: var(--contents);
    margin: 0 auto 16px;
    text-align: center;
}

.footer_link {
    font-size: 1.4rem;
    text-decoration: none;
}

.footer_link::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg);
    margin-right: 5px;
}
.footer_link:hover {
    text-decoration: underline;
}

.footer_copyright {
    text-align: center;
}

.footer_copyright p {
    margin: 0;
    font-size: 1.2rem;
    color: #000;
}

.footer_copyright p.footer_miffy {
    margin-bottom: 20px;
}
.footer_copyright p.footer_miffy img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.co01 {
    list-style: none;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #000;
    text-indent: -1.5em;
    padding-left: 1.5em;
    text-align: left;
}
.co01::before {
    content: "\203B";
    margin-right: 5px;
}
.co01.red {
    color: #E60012;
}
ul{
    width: fit-content;
    padding-left: 0;
    margin: 0 auto;
}

/* ========== 12. Responsive（1200 / 1000 / 767） ========== */

   @media (max-width: 1200px) {
    br.tab {
        display: inline;
    }
   }

   @media (max-width: 1000px) {
    br.tab {
        display: none;
    }
   }

   @media (max-width: 767px) {
    :root {
        --radius-card: 7px;
    }
    br.sp {
        display: inline;
    }
    br.tab {
        display: none;
    }
    .mv {
        aspect-ratio: 375 / 1030;
        --car-drive-distance: 60vw;
    }

    .mv .car {
        width: 40vw;
        left: -42%;
        top: 33%;
    }

    .mv.is-car-finished .mv_splide .splide__slide:first-child .car {
        transform: translateX(var(--car-drive-distance));
    }

    .mv_slide img.mv_logo {
        width: 100%;
        top: 70px;
        left: 50%;
        box-sizing: border-box;
        transform: translateX(-50%);
        margin: 0 auto;
    }
    .mv_slide img.mv_logo_2 {
        width: 100%;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), rgba(255, 255, 255, 0.40);
        backdrop-filter: blur(7.5px);

    }
    .mv_slide img.misawa_logo {
        top: 20px;
        left: 4vw;
        width: 13.5vw;
    }
    .mv_float {
        width: calc(100% - 9%);
        bottom: 20px;
        left: calc(50% - 1.5%);
        transform: translateX(-50%) translateY(30px);
    }
    .mv_float_contents {
        flex-direction: column;
    }
    .mv_float_contents_link img {
        width: 100%;
    }
    .about {
        padding: 60px 0;
    }
    .about_block.row-4 {
        width: calc(100% - 20px);
        margin: 70px auto 0;
    }   
    .about_block.row-3 {
        width: calc(100% - 20px);
        margin: 70px auto 0;
    }
    .about h2,
    .about .title_sp {
        font-size: 2.1rem;
        line-height: 1.5;
        width: calc(100% - 20px);
        margin: 0 auto;
        padding: 0;
        letter-spacing: -0.01em;
        text-box: trim-both cap alphabetic;
    }
    .about h2 span {
        letter-spacing: -0.5em;
    }
    .about h2::before,
    .about h2::after {
        display: none;
    }
    .about .title_sp {
        position: relative;
        width: fit-content;
        margin: 20px auto 0;
        margin-top: 20px;
        display: block;
        font-size: 2.2rem;
        font-weight: 700;
        line-height: 1.5;
        color: #0078BE;
        box-sizing: border-box;
        text-align: center;
    }
    .about .title_sp::before,
    .about .title_sp::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 2px;
        height: 100%;
        border-radius: 3px;
        background: #0078BE;
        pointer-events: none;
    }
    .about .title_sp::before {
        left: 0;
        transform: translateY(-50%) rotate(-15deg);
    }
    .about .title_sp::after {
        right: 0;
        transform: translateY(-50%) rotate(15deg);
    }
    .about_block h3 {
        font-size: 2.4rem;
        margin: 0 0 30px;
    }
    .about_box.row-4 {
        gap: 0;
    }
    .about_box.row-4 .about_box_item_text {
        padding: 20px 10px;
    }
    .about_box.row-4 .about_box_item {
        flex: 0 0 calc((100% - 1px) / 2);
        max-width: none;
        width: auto;
    }
    .about_box.row-3 a {
        flex: 1 1 100%;
        max-width: none;
    }
    .about_block.row-3 .about_box {
        flex-direction: column;
        gap: 20px;
    }
    .about_block.row-3 .about_box a {
        width: 100%;
    }
    .about_block.row-3 .about_box .about_box_item .about_box_item_text {
        padding: 25px 13.5px;
    }
    .about_box_item_allow {
        margin: 20px auto 0;
    }
    .about_box_item_allow_link {
        margin: 20px auto 0;
    }
    

    .campaign {
        padding: 60px 0;
    }
    .campaign h2 {
        margin: 0 auto 35px;
    }
    .campaign h2 .white {
        font-size: 1.65rem;
        line-height: 1.5;
    }
    .campaign h2 .white::before,
    .campaign h2 .white::after {
        width: 2px;
        height: 100%;
    }
    .campaign h2 .white::before {
        left: 5%;
        transform: translateY(-50%) rotate(-25deg);
    }
    .campaign h2 .white::after {
        right: 5%;  ;
        transform: translateY(-50%) rotate(25deg);
    }
    .campaign h2 .yellow {
        margin: 12.5px auto 0;
        font-size: 3.3rem;
        line-height: 1.5;
    }
    .campaign h2 .yellow .of {
        font-size: 3.8rem;
    }
    /* .campaign h2 .yellow::before,
    .campaign h2 .yellow::after {
        width: 25px;
        height: 100%;
    }
    .campaign h2 .yellow::before {
        left: -12%;
    }
    .campaign h2 .yellow::after {
        right: -12%;
    } */

    .campaign_box {
        width: calc(100% - 20px);
        margin: 0 auto;
        overflow: visible;
        border-radius: var(--radius-card);
    }

    .campaign_box_item_head,
    .campaign_box_item_head.campaign_01,
    .campaign_box_item_head.campaign_02 {
        overflow: visible;
    }

    .campaign_box_item.flex-pc {
        display: none;
    }


    .campaign_box_item.sp {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 50px 15px 25px;
        margin-top: 70px;
        text-align: center;
    }
    .campaign_box_item.sp .point {
        width: 80px;
        height: 80px;
        font-size: 2.4rem;
        position: absolute;
        top: -5px;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
        z-index: 2;
    }

    .campaign_box_item_head {
        border-radius: var(--radius-card) var(--radius-card) 0 0;
    }

    .campaign_box_content {
        padding: 20px 15px;
        border-radius: 0 0 var(--radius-card) var(--radius-card);
    }
    .campaign_box_content01_01 {
        gap: 30px;
        margin-bottom: 0;
    }
    .campaign_box_content01_01_txt .local_box {
        gap: 10px;
    }
    .campaign_box_content01_01_txt .local_txt {
        font-size: 1.65rem;
    }
    .campaign_box_content01_01_txt .local_txt sup {
        font-size: 0.9rem;
    }
    .campaign_box_content01_01_txt .local_caption {
        font-size: 0.9rem;
    }
    .campaign_box_content01_01_txt .local_caption.splap {
        margin-bottom: 10px;
    }
    .campaign_box_content01_01_img_cap {
        font-size: 0.9rem;
    }

    .contents01_box-allow {
        width: auto;
        height: 10px;
        margin: 0;
    }
    .contents01_box-allow img {
        width: auto;
        height: 100%;
        object-fit: contain;
    }
    #campaign01, #campaign02 {
        scroll-margin-top: 65px;
    }
    .campaign_box_content01_02 {
        gap: 5px;
        padding-top: 20px;
    }

    .campaign_box_content01_02_txt {
        gap: 20px;
        padding: 20px 15px;
    }

    .campaign_box_content01_02_txt_title {
        width: fit-content;
    }

    .campaign_box_content01_02_txt p {
        font-size: 0.9rem;
    }

    .campaign_box_content01_02 {
        grid-template-columns: 1fr;
    }
    

    .campaign_box_content02_item {
        width: 100%;
        margin: 0 auto;
    }
    .campaign_box_content02_title {
        font-size: 1.65rem;
        margin: 0 0 25px;
    }
    .campaign_box_content02_item_img {
        margin-bottom: 0;
    }
    .campaign_box_content02_item_text {
        font-size: 1.35rem;
        margin-top: 25px;
    }
    .campaign_box_item_text p {
        margin-top: 25px;
    }
    .campaign_box_content01_01_txt {
        gap: 15px;
    }
    .campaign_box_content01_01_txt h4 {
        width: 40%;
        max-width: 95px;
        font-size: 1.65rem;
        padding: 5px 15px 5px 10px;
        margin: 0;
    }

    .campaign_accordion {
        width: calc(100% - 20px);
        margin: 35px auto 0;
    }
    .campaign_accordion_toggle:checked + .campaign_accordion_item_title + .campaign_accordion_item {
        padding: 25px 15px;
    }
    .campaign_accordion_item_title {
        font-size: 1.65rem;
        padding: 0 0 15px;
    }
    .campaign_accordion_toggle + .campaign_accordion_item_title.tit01::after {
        top: 30%;
    }
    .campaign_accordion_toggle + .campaign_accordion_item_title.tit02::after {
        top: 40%;
    }
    .accordion_title {
        font-size: 1.65rem;
        margin: 0 0 25px;
    }
    .accordion_txt {
        font-size: 1.35rem;
        margin: 0 0 25px;
    }
    .accordion_caption {
        font-size: 0.9rem;
    }
    .campaign_accordion_item_content.lines {
        width: 100%;
        margin: 20px auto 0;
    }
    .campaign_accordion_item_content.lines p {
        width: 100%;
        font-size: 0.9rem;
    }
    .campaign_btn {
        margin: 35px auto 0;
    }

    .campaign_btn .btn,
    .gx_house_btn .btn {
        width: calc(100% - 20px);
        margin: 0 auto;
        padding: 20px;
        font-size: 1.65rem;
        border-radius: 999px;
    }
    .campaign_btn .btn::after,
    .gx_house_btn .btn::after {
        width: 12px;
        height: 12px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
    }

    .campaign_splide .splide__slide img {
        height: 140px;
    }

    .search_01 {
        padding: 70px 0 0;
    }

    .search_02 {
        padding: 70px 0;
    }

    #search01 {
        scroll-margin-top: 35px;
    }

    #search02 {
        scroll-margin-top: 50px;
    }

    .search_box {
        width: calc(100% - 20px);
        margin: 0 auto;
    }
    .search_detail {
        width: calc(100% - 20px);
        margin: 35px auto 0;
        font-size: 1.65rem;
    }
    .search_caption {
        width: calc(100% - 20px);
        margin: 25px auto 35px;
        font-size: 1.2rem;
    }

    .search_box_head {
        width: calc(100% - 20px);
        margin: 0 auto;
    }

    .search_box_row {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .search_box_row_head {
        position: relative;
        max-width: 100%;
        flex: none;
        width: 100%;
        height: auto;
        min-height: 56px;
        justify-content: space-between;
        padding: 15px;
        font-size: 1.65rem;
        justify-content: center;
        cursor: pointer;
        user-select: none;
        pointer-events: auto;
        padding-left: 10px;
    }

    .search_box_row_body {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .search_box_row_head::after {
        content: "";
        position: absolute;
        right: 18px;
        top: 50%;
        width: 8px;
        height: 8px;
        margin-top: -6px;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg);
        transition: transform 0.25s ease;
    }
    .search_accordion_toggle:checked + .search_box_row_head::after {
        transform: rotate(225deg);
        margin-top: -2px;
    }
    .search_box_row_body {
        flex: none;
        width: 100%;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
    }
    .search_accordion_toggle:checked ~ .search_box_row_body {
        max-height: 1200px;
        padding: 15px 0 0;
    }
    .search_box_row_btn {
        height: 40px;
        min-height: 40px;
        font-size: 1.35rem;
    }
    .search_cap {
        flex-direction: column;
        gap: 0;
        width: calc(100% - 20px);
        margin: 25px auto 0;
    }
    .search_cap p {
        font-size: 0.9rem;
        margin-top: 10px;
    }
    .gx_house_contents {
        width: calc(100% - 20px);
        max-width: var(--contents);
        margin: 0 auto;
    }
    .gx_house_title {
        width: calc(100% - 20px);
        margin: 0 auto;
    }
    .gx_house_title h2 {
        font-size: 1.65rem;
        margin: 0 0 20px;
    }
    .gx_house_title p {
        font-size: 1.35rem;
        margin: 0 0 35px;
    }
    .gx_house_box {
        flex-direction: column;
        width: calc(100% - 20px);
        margin: 0 auto 35px;
        gap: 25px;
    }
    .gx_house_box_item_img .about_box_item_img_swap {
        aspect-ratio: 360 / 287;
    }
    .gx_house_box_item:first-child {
        width: 100%;
    }
    .gx_house_box_item_list {
        width: 100%;
        gap: 10px;
    }
    .gx_house_box_item_txt_img {
        width: 40px;
        height: 40px;
        margin: unset;
    }
    .gx_house_box_list_item {
        padding: 20px 35px;
        display: flex;
        gap: 25px;
    }
    .gx_house_box_title {
        font-size: 1.65rem;
        margin-bottom: 20px;
    }
    .gx_house_box_txt {
        font-size: 1.35rem;
    }
    .gx_house_bnr {
        width: calc(100% - 20px);
        margin: 0 auto;
    }
    .gx_house {
        padding: 60px 0;
    }
    .gx_house_btn .btn {
        font-size: 1.65rem;
    }
    .gx_house_bnr_caption {
        margin-top: 15px;
    }
    .gx_house_btn {
        width: 100%;
        margin: 15px auto 0;
    }
    .gx_house_btn .btn::after {
        width: 12px;
        height: 12px;
        right: 5%;
    }
    footer {
        width: fit-content;
        margin: 0 auto;
        text-align: left;
        padding: 20px 20px 20px;
    }
    .footer_contents {
        margin: 0;
        text-align: center;
    }
    .footer_link { 
        font-size: 0.9rem;
    }
    .footer_link::before {
        width: 5.5px;
        height: 5.5px;
        border-right: 1px solid #000;
        border-bottom: 1px solid #000;
        transform: rotate(-45deg);
        margin-bottom: 0;
    }
    .footer_copyright {
        margin: 15px 0 0;
        text-align: center;
    }
    .footer_copyright p {
        font-size: 0.9rem;
    }
    .footer_copyright p.footer_miffy {
        margin-bottom: 15px;
    }
    .footer_copyright p.footer_miffy img {
        max-width: 300px;
    }
    ul {
        width: 100%;
        margin: 0 auto;
    }
    .co01 {
        font-size: 0.9rem;
    }
}

/* --- 12b. Search — desktop（アコーディオン常時展開） --- */

@media (min-width: 768px) {
    .search_box_row_head {
        pointer-events: none;
    }

    .search_box_row_body {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* ========== 13. Floating shortcut buttons ========== */

.floating_btn {
    position: fixed;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
}

.floating_btn.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
}
.floating_btn_link {
    text-decoration: none;
    position: relative;
}
.floating_btn_link::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-50%);
    position: absolute;
    right: 10px;
    top: 50%;
}
.floating_btn_link.linka {
    background: #A68E6B;
    color: #fff;
    border-radius: 999px;
    border: 1px solid #A68E6B;
}
.floating_btn_link.linkb {
    background: #66A2B3;
    color: #fff;
    border-radius: 999px;
    border: 1px solid #66A2B3;
}
.floating_btn_link.linka:hover {
    background: #fff;
    color: #A68E6B;
}
.floating_btn_link.linkb:hover {
    background: #fff;
    color: #66A2B3;
}
.floating_btn_link.linka:hover::after {
    border-right: 2px solid #A68E6B;
    border-bottom: 2px solid #A68E6B;
}
.floating_btn_link.linkb:hover::after {
    border-right: 2px solid #66A2B3;
    border-bottom: 2px solid #66A2B3;
}
@media (min-width: 768px) {
    .floating_btn {
        right: max(0px, env(safe-area-inset-right));
        bottom: max(20px, env(safe-area-inset-bottom));
        align-items: flex-end;
        gap: 10px;
        width: fit-content;
        background: #fff;
        border-radius: 15px 0 0 15px;
        padding: 20px;
        box-sizing: border-box;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    }

    .floating_btn_link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 260px;
        padding: 7px;
        font-size: 1.8rem;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
        border-radius: 999px;
    }
    
}

@media (max-width: 767px) {
    .floating_btn {
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: row;
        gap: 10px;
        padding: 20px 10px calc(20px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        transform: none;
        box-sizing: border-box;
        border-radius: 15px 15px 0 0;
    }

    .floating_btn.is-hidden {
        transform: translateY(100%);
    }

    .floating_btn_link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 12.5px 0;
        font-size: 1.2rem;
        font-weight: 700;
        color: #fff;
        text-decoration: none;
        border-radius: 0;
    }
    .floating_btn_link::after {
        width: 8px;
        height: 8px;
    }
}
