@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* 変数 */
:root {
    --main-color: #89a6f0;
    --sb-color: #f3987d;
    /* --sb-sb-color: #c6ab7f; */
    /* --sb-sb-color: #80df80; */
    --sb-sb-color: #f0ae71;
    --main-txt-color: #292929;
    --accent-color: #f33d24;
    --main-background-color: #f7f5e7;
    --section-background-color: #ebebeb;
    --main-border-color: #8b8b8b;
    --main-font-size: 16px;
    --headding-font-size: 32px;
    --headding-font-size-sp: 24px;
    --font-weight-400: 400;
    --font-weight-500: 500;
    --font-weight-700: 700;
    --main-border-radius: 6px;
    --hover-transition: .2s;
}

/* アニメーション */
@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    10% {
        transform: translateY(-5px);
    }
    20% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-5px);
    }
    40% {
        transform: translateY(0);
    }
    }
    .anime-object {
    animation: bounce2 6s linear infinite;
}

/* 基本設定
------------------------------------------*/
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: var(--font-weight-300);
    font-style: normal;
    font-size: var(--main-font-size);
    color: var(--main-txt-color);
    letter-spacing: .02em;
    line-height: 150%;
    min-height: 100svh;
    background: var(--main-background-color);
    margin: 0;
    padding: 0;
}
html, body {
    width: 100%;
    height: 100%;
}
img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0;
}
.header {
    display: flex;
    align-items: center;
    width: max-content;
    position: fixed;
    top: 0;
    left: 0;
    padding: 24px;
    aspect-ratio: 1;
    z-index: 30;
    transition: var(--hover-transition);
    border-radius: 0 0 16px 0;
    background: var(--main-color);
    /* box-shadow: 0 1px 5px 1px rgba(0, 0, 0, 0.2); */
}
.header-logo a img {
    width: 100px;
}
.hamburger,
.sp-nav-menu {
    display: none;
}
#map {
    /* height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%; */
    height: 95vh;
    width: 97%;
    position: absolute;
    top: 0;
    bottom: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 16px;
    /* border: 3px solid var(--main-color); */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
    z-index: 1;
}
/* カスタムマーカーのスタイルを調整 */
.custom-marker, .marker-base {
    border-radius: 50%; /* 円形にする場合 */
    border: 2px solid var(--main-color); /* 白い境界線 */
    cursor: pointer;
    box-shadow: 0 1px 5px 1px rgba(0, 0, 0, 0.2);
}
.custom-marker:hover {
    transform: scale(1.2); /* ホバー時に拡大 */
}
.category-modelhouse {
    border: 2px solid var(--main-color); /* モデルハウスカテゴリーの枠色 */
}
.category-housingmaker {
    border: 2px solid var(--sb-color); /* ハウスメーカーカテゴリーの枠色 */
}
.marker-title {
    width: max-content;
    text-align: center;
    background: white;
    padding: 0 8px;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 5px;
    letter-spacing: 0.5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 1px;
}
#popup-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 380px;
    height: 100%;
    z-index: 999;
    overflow-y: auto;
    background: var(--main-background-color);
    box-shadow: 0px 2px 10px rgba(0,0,0,0.2);
    display: none; /* 初期は非表示 */
}
#close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 20px;
    color: #fff;
    background: #32373c;
    border-radius: 50px;
    z-index: 2;
    text-align: center;
}

#popup-info::-webkit-scrollbar {
    background: #e9eef0;
    width: 5px;
    height: 5px;
    border-radius: 20px;
}
#popup-info::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 20px;
}
/* スライド画像 */
.splide {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}
.splide img {
    height: auto;
    width: 100%;
    aspect-ratio: 4/3;
}

/* 展示場・会社情報見出し */
.icon-content {
    padding: 32px 0 0;
}
.icon-header {
    padding: 0 24px;
}
.icon-header h2 {
    font-size: 20px;
    font-weight: var(--font-weight-500);
    margin-bottom: 16px;
}
.icon-header p {
    font-size: 14px;
}
.icon-txt {
    border-bottom: 1px dashed var(--main-border-color);
}
.icon-txt p {
    padding-bottom: 32px;
    font-size: 14px;
}

/* シェアボタン */
.icon-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 0;
    font-size: 13px;
}
/* .share-btn {
    cursor: pointer;
} */
.social-buttons {
    display: flex;
    gap: 10px;
}
.social-buttons a {
    display: inline-block;
    width: 24px;
    height: 24px;
}
.social-buttons a img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

/* スタンプ */
.stamp-btn {
    margin-bottom: 32px;
}
.stamp-btn span {
    font-size: 12px;
    text-align: center;
    display: block;
    margin-bottom: 4px;
}
.stamp-btn a {
    display: block;
    padding: 10px;
    width: 172px;
    text-align: center;
    margin: 0 auto;
    border-radius: 50px;
    font-size: 14px;
    background: var(--sb-sb-color);
    font-weight: var(--font-weight-500);
    color: var(--main-background-color);
    border-bottom: 4px solid #e6e6e6;
}

/* 展示場・会社情報アドレス */
.icon-add {
    display: flex;
    flex-direction: column;
}
.icon-item {
    padding: 40px 24px;
}
.tr {
    font-size: 14px;
    padding-bottom: 12px;
    display: block;
}
.th {
    font-weight: var(--font-weight-400);
    min-width: 100px;
    max-width: 140px;
    white-space: normal;
    word-break: break-all;
}
.td {
    white-space: pre-wrap;
}
.td a {
    color: var(--main-color);
}
.td a:hover {
    text-decoration: underline;
}
.btn-flex {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

/* 見学予約・資料請求ボタン */
.b-flex-item {
    width: calc((100% - 8px)/2);
    text-align: center;
}
.b-flex-item a {
    display: block;
    padding: 10px 0;
    border-radius: 50px;
    font-size: 14px;
    font-weight: var(--font-weight-500);
    border-bottom: 4px solid #e6e6e6;
}
.btn-color1 {
    background: var(--sb-color);
    color: var(--main-background-color);
}
.btn-color2 {
    background: var(--main-color);
    color: var(--main-background-color);
}
/* .top-border {
    border-top: 1px solid var(--main-border-color);
} */

/* イベント・キャンペーン情報、モデルハウス情報 */
.back-color1 {
    background: #f0ede3;
}
.back-color2 {
    background: #daecf0;
}
.icon-item span {
    font-size: 13px;
    font-weight: var(--font-weight-700);
    color: var(--main-color);
}
.txt-color {
    color: var(--sb-color) !important;
}
.icon-add li h3 {
    font-size: 20px;
    font-weight: var(--font-weight-500);
    margin-bottom: 16px;
    letter-spacing: .005em;
}
.icon-flex-list ul {
    display: flex;
    gap: 24px;
    width: 370px;
    height: auto;
    overflow-x: scroll;
}
.icon-flex-list ul li {
    width: 88%;
    flex-shrink: 0;
    margin-bottom: 24px;
    /* border: 2px solid #ECE8D8; */
    border-radius: 16px;
    background: var(--main-background-color);
}
.icon-flex-list ul li:last-child {
    margin-right: 24px;
}
.i-list-box {
    padding: 0 16px 24px;
    background: var(--main-background-color);
    border-radius: 0 0 15px 15px;
}
.icon-flex-list ul li img {
    aspect-ratio: 4/3;
    border-radius: 15px 15px 0 0;
    padding: 16px 16px 0;
}
.icon-flex-list ul li h4 {
    font-size: 16px;
    font-weight: var(--font-weight-500);
    line-height: 1.4;
    padding: 16px 0;
}
.icon-flex-list ul li p {
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    line-break: anywhere;
}
.icon-flex-list ul::-webkit-scrollbar {
    height: 14px; /* スクロールバーの高さ */
}
.icon-flex-list ul::-webkit-scrollbar-thumb {
    background: #C3B79D; /* ツマミの色 */
    border-radius: 7px; /* ツマミ両端の丸み */
}
.icon-flex-list ul::-webkit-scrollbar-track {
    background: #ECE8D8; /* トラックの色 */
    border-radius: 7px; /* トラック両端の丸み */
}
.back-color2 .icon-flex-list ul::-webkit-scrollbar-thumb {
    background: #9dcfda;
}
.back-color2 .icon-flex-list ul::-webkit-scrollbar-track {
    background: #c9dbdf;
}
/* カテゴリーメニュー */
.category-menu {
    position: absolute;
    left: 50%;
    bottom: -52px;
    transform: translate(-50%, -50%);
    z-index: 1;
    /* background: var(--main-background-color); */
    background: #fff;
    width: max-content;
    border-radius: 16px 16px 0 0;
    border: 1px solid var(--main-color);
}
.category-menu ul {
    display: flex;
    align-items: center;
    font-size: 11px;
    font-weight: var(--font-weight-500);
    letter-spacing: .01em;
    /* padding: 0 40px; */
    border-radius: 16px 16px 0 0;
}
.category-menu ul li {
    width: 120px;
}
.category-menu ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    color: #494949;
    transition: var(--hover-transition);
}
.category-menu ul li a img {
    transition: var(--hover-transition);
}
.category-menu ul li a:hover img {
    transition: var(--hover-transition);
    transform: scale(1.1);
}
.category-menu ul li a:hover {
    transition: var(--hover-transition);
    background: #f1f5ff;
}

/* スタンプラリーボタン（開発中） */
#login-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 10000;
}
#login-popup .login-popup-content {
    position: relative;
}
#popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
}

/* footer */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
}
.site-copyright {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 12px;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    height: 268px;
    color: var(--main-color);
    font-weight: var(--font-weight-500);
    text-align: center;
}
.site-copyright small {
    display: block;
}
