/* ===============================
    First view Section
   =============================== */
.yonego {
    color: #eb8e22;
}
.tottori {
    color: #e6c657;
}
.izumo {
    color: #7fb2f1;
}
.matsue {
    color: #eb9293;
}

/* ボックス背景版 */
.yonego-box {
    background: #eb8e22;
}
.tottori-box {
    background: #e6c657;
}
.izumo-box {
    background: #7fb2f1;
}
.matsue-box {
    background: #eb9293;
}

.count-box {
    position: absolute;
    bottom: -310px;
    left: 80%;
    transform: translate(-50%, -100%);
    z-index: 10;
    width: 226px;
    height: 226px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
}

/* 調整必要 */
.count-label {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #fff;
}

.count-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.count-number {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
}

.count-unit {
    font-size: 24px;
    color: #fff;
}

/* ===============================
    Search Section
   =============================== */
.search-section {
    width: 90%;
    margin: 0 auto;
}

.search-container {
    display: flex;
    gap: 50px;
}

.search-left {
    position: relative;
    width: 60%;
    height: auto;
    height: fit-content;
}

.search-left-img {
    width: 100%;
    height: auto;
}

.bubble-wrap {
    position: absolute;
    width: 13%;
    max-width: 150px;
    transform: translate(-50%, -100%);
}

.search-left-bubble {
    width: 100%;
    height: auto;
    display: block;
}

.bubble-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -100%);
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
    width: 50%;
}

.bubble-count {
    position: absolute;
    top: 70%;
    left: 40%;
    transform: translate(-50%, -100%);
    color: #fff;
    font-size: clamp(16px, 2vw, 40px);
    white-space: nowrap;
    pointer-events: none;
}
.bubble-ken {
    position: absolute;
    top: 70%;
    left: 70%;
    transform: translate(-50%, -100%);
    color: #fff;
    white-space: nowrap;
    pointer-events: none;
    width: 20%;
}

.search-right {
    width: 40%;
    height: auto;
}

.search-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: repeating-linear-gradient(
                to right,
                #000 0 2px,
                transparent 2px 6px
            )
            top/100% 2px no-repeat,
        repeating-linear-gradient(to right, #000 0 2px, transparent 2px 6px)
            bottom/100% 2px no-repeat;
}

.search-item {
    margin: 50px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: repeating-linear-gradient(
        to bottom,
        #000 0 2px,
        transparent 2px 6px
    );
    transform: translateX(-50%);
}

.search-grid::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #000 0 2px,
        transparent 2px 6px
    );
    transform: translateY(-50%);
}

.search-item-title {
    font-weight: bold;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 1.6px;
    text-align: left;
    margin-bottom: 20px;
}

.accent {
    font-weight: bold;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 2.4px;
    text-align: left;
}

.search-item-img {
    width: 80%;
}

/* キーワード検索 */
.keyword-box {
    display: flex;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 30px;
}

.keyword-textarea {
    flex: 1;
    padding: 17px 20px;
    font-weight: bold;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.9px;
    color: #c7c7c7;
    text-align: left;
    display: flex;
    align-items: center;
    height: 60px;
    resize: none;
}

.keyword-textarea::placeholder {
    color: #bfbfbf;
}

.keyword-textarea:focus {
    outline: none;
}

.keyword-btn {
    width: 120px;
    padding: 0 20px;
    background-color: #2aa48a;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.9px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    text-align: center;
}

.keyword-btn:hover {
    opacity: 0.9;
}

/* ===============================
    Event Section
   =============================== */
.event-section {
    margin-top: 120px;
    width: 100%;
    padding: 80px 0;
    background: #f7f7f7;
}

.event-container {
    width: 80%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

/* 左カラム */
.event-intro {
    display: flex;
    flex-direction: column;
}

.event-intro-image {
    width: 205px;
    height: 60px;
}

.heading-en {
    margin-bottom: 40px;
    font-weight: bold;
    font-size: 80px;
    line-height: 98px;
    letter-spacing: 4px;
    font-family: "Ubuntu", sans-serif;
    text-align: left;
}

.description {
    font-weight: bold;
    font-size: 18px;
    line-height: 36px;
    letter-spacing: 1.8px;
}

.event-btn {
    background: #2b9b7d;
    margin-top: 40px;
}

.event-btn:hover {
    opacity: 0.9;
}
.event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 630px;
    overflow-y: auto;
    padding-right: 8px;
}

.event-item {
    display: flex;
    gap: 30px;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    align-items: stretch;
}

.event-item-image {
    width: 350px;
    height: 265px;
    object-fit: cover;
    border-radius: 8px;
}

.event-card-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-card-title {
    font-weight: bold;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 2.4px;
}

.event-card-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: 1.6px;
}
.border {
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #000 0 2px,
        transparent 2px 6px
    );
}

/* ===============================
    Estate Section
   =============================== */
.estate-section {
    margin-top: 160px;
    width: 100%;
    padding: 80px 0;
}
.estate-container {
    position: relative;
    width: 80%;
    margin: 0 auto;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}
.estate-cards {
    display: flex;
    margin: 0 auto;
}

.estate-btn {
    background: #2b9b7d;
    width: 240px;
    height: 48px;
    display: block;
    margin-left: auto;
    margin-top: 24px;
}

.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
}

.slider-item {
    flex: 0 0 380px; /* カード幅 */
}

/* ===============================
    Contact Section
   =============================== */
.contact-section {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
    margin-top: 80px;
    background-color: #ffffff;
    border: 4px solid #e85959;
    border-radius: 1000px;
    box-sizing: border-box;
    padding: 40px 40px;
}
.contact-inner {
    display: flex;
    width: 90%;
    margin: 0 auto;
    gap: 30px;
}

.contact-image {
    width: 24%;
}
.contact-title {
    font-weight: bold;
    font-size: 32px;
    line-height: 36px;
    letter-spacing: 1.6px;
}
.contact-text {
    font-weight: bold;
    font-size: 17px;
    line-height: 34px;
    letter-spacing: 1.7px;
    margin-top: 30px;
}

.contact-btn {
    background-color: #e85959;
    margin-top: 30px;
    width: 240px;
}

.flow-section {
    margin: 0 auto;
    margin-top: 170px;
    background-color: #f7f4ed;
    padding: 100px 0;
}
.flow-inner {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
}
.flow-overview {
    display: flex;
    gap: 75px;
    align-items: flex-end;
}

.flow-btn {
    background: #2b9b7d;
}

/* ===============================
    Smartphone Menu
   =============================== */
.link-buttons {
    margin-bottom: 40px;
}

.link-buttons_item {
    width: 100%;
    height: auto;
    border-top: #000 1px solid;
}

.link-buttons_btn {
    border-top: #000 1px solid;
    padding: 24px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: normal normal 500 16px / 26px "Zen Kaku Gothic New";
    letter-spacing: 1.6px;
    color: #222222;
    opacity: 1;
    text-align: left;
}
.link-buttons_btn::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2b9b7d;
    flex-shrink: 0;
}

/* ===============================
    Responsive
   =============================== */

@media screen and (min-width: 960px) {
}
@media screen and (min-width: 520px) and (max-width: 959px) {
}
@media screen and (max-width: 519px) {
    .none-sp {
        display: none;
    }
    .count-box {
        left: 70%;
        bottom: 30px;
        width: 147px;
        height: 147px;
    }

    /* 調整必要 */
    .count-label {
        font-size: 16px;
    }

    .count-number {
        font-size: 40px;
    }

    .count-unit {
        font-size: 16px;
    }
    .search-section {
        width: 100%;
        padding: 32px;
    }
    .search-container {
        display: inline-block;
    }
    .search-right {
        width: 100%;
    }
    .search-item {
        margin: 24px 0;
    }
    .keyword-textarea {
        padding: 20px 8px;
        font: normal normal bold 14px/20px "Zen Kaku Gothic New";
        letter-spacing: 1.4px;
        color: #222222;
        opacity: 0.3;
    }
    .keyword-btn {
        width: 80px;
        font: normal normal 500 16px/32px "Zen Kaku Gothic New";
        letter-spacing: 1.6px;
        color: #ffffff;
        opacity: 1;
    }
    .event-container {
        display: block;
        margin: 0 32px;
        width: auto;
    }
    .heading-en {
        font: normal normal bold 40px/60px "Ubuntu";
        letter-spacing: 2px;
        color: #000000;
        opacity: 1;
    }
    .description {
        font: normal normal bold 18px/36px "Zen Kaku Gothic New";
        letter-spacing: 1.6px;
        color: #222222;
        opacity: 1;
    }
    .event-item {
        display: inline;
    }
    .event-list {
        height: 525px;
        margin-top: 40px;
    }
    .event-item-image {
        padding: 10px;
        width: 100%;
    }
    .event-btn {
        width: 220px;
        margin: 0 auto;
        margin-top: 40px;
        font-size: 14px;
    }
    .estate-container {
        display: block;
        margin: 0 32px;
        width: auto;
    }
    .property-card {
        padding: 0 !important;
    }
    .wrapper .estate-btn {
        margin: 40px 0 0 0;
        display: block;
    }
    .contact-section {
        border-radius: 0;
    }
    .contact-inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-title {
        font-weight: bold;
        font-size: 20px;
        line-height: 36px;
        letter-spacing: 2px;
    }
    .contact-image {
        width: 80%;
    }
    .contact-text {
        font-weight: 500;
        font-size: 16px;
        line-height: 32px;
        letter-spacing: 0.8px;
        text-align: left;
    }
    .contact-btn {
        display: block;
        margin: 24px auto 0;
    }

    .flow-overview {
        display: inline-block;
    }
    .flow-inner {
        padding: 0 32px;
    }
    .flow-btn {
        margin-top: 40px;
        width: 240px;
    }
}
