:root {
    --light__base: #fdfdfe;
    --base__color: #f7f8f8;
    --heavy__base: #dcdddd;
    --font__color: #1b2f44;
    --font__color2: #3e3a39;
    --visited: #9c9c9c;
    --red: #e83828;
    --yellow: #e8dc42;
    --yellow__translate: #e8dd42ad;
    --blue: #036eb8;
    --pink: #fe9c9c;
    --white: #ffffff;
    --trans__bg: rgba(255, 255, 255, 0.2);
    --box__shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    --button__gradient: linear-gradient(130deg, #e39f32 1%, #e83327 100%);
    --clump1remTo2rem: clamp(1rem, 0.545rem + 1.94vw, 2rem);
}

body {
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    margin: 0;
    color: var(--font__color);
    background: var(--light__base);
}

body.no__scroll {
    overflow: hidden;
}

.roboto {
    font-family: "Roboto", serif;
}

h1 {
    font-size: clamp(1.476rem, 0.927rem + 2.75vw, 2.986rem);
}

h2 {
    font-size: clamp(1.383rem, 0.981rem + 2.01vw, 2.488rem);
}

h3 {
    font-size: clamp(1.296rem, 1.013rem + 1.41vw, 2.074rem);
}

h4 {
    font-size: clamp(1.215rem, 1.028rem + 0.93vw, 1.728rem);
}

h5 {
    font-size: clamp(1.138rem, 1.028rem + 0.55vw, 1.44rem);
}

h6 {
    font-size: clamp(1.067rem, 1.019rem + 0.24vw, 1.2rem);
}

p {
    font-size: clamp(1rem, 0.964rem + 0.18vw, 1.1rem);
    line-height: 1.6em;
}

.small {
    font-size: 0.889em;
}

.bold {
    font-weight: 700;
}

em {
    font-weight: 700;
    color: var(--red);
    font-style: normal;
}

hr {
    border: 1px solid var(--font__color);
    width: 100%;
}

.pc__hidden {
    display: none;
}

.sp__hidden {
    display: inline-block;
}

.link__text {
    text-decoration: underline;
    color: var(--blue);
}

.link__text:visited {
    color: var(--visited);
}

.hidden__contents {
    display: none;
}

#contact,
#reason,
#works,
#review,
#contact,
#search__window {
    scroll-margin-top: 100px;
}

#faq {
    scroll-margin-top: 120px;
}

/* セクションタイトル */

.section__title {
    width: fit-content;
    margin: 0 auto;
    padding: 0 0.1em 0.1em 0.3em;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0)60%, var(--yellow__translate) 60%, var(--yellow__translate));
}

/* スクロールアニメーション */

.fade__up {
    opacity: 0;
    transform: translateY(50px);
}

.fade__up__animation {
    animation: fade__up 0.5s forwards;
}

@keyframes fade__up {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade {
    opacity: 0;
}

.fade__animation {
    animation: fade 0.5s forwards;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade__left {
    opacity: 0;
    transform: translateX(-200px);
}

.fade__left__animation {
    animation: fade__left 0.5s forwards;
}

@keyframes fade__left {
    0% {
        opacity: 0;
        transform: translateX(-200px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade__right {
    opacity: 0;
    transform: translateX(-200px);
}


.fade__right__animation {
    animation: fade__right 0.5s forwards;
}

@keyframes fade__right {
    0% {
        opacity: 0;
        transform: translateX(200px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade__down {
    opacity: 0;
    transform: translateY(-200px);
}


.fade__down__animation {
    animation: fade__down 0.5s forwards;
}

@keyframes fade__down {
    0% {
        opacity: 0;
        transform: translateY(-200px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* form＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

.select__wrap {
    width: 100%;
    box-shadow: var(--box__shadow);
    position: relative;
    cursor: pointer;
}

select {
    width: 100%;
    background: var(--white);
    padding: 0.5em;
    cursor: pointer;
}

.select__tag {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

input[type="checkbox"] {
    display: none;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--heavy__base);
    background: var(--white);
    border-radius: 10px;
    position: relative;
}

input[type="checkbox"]:checked+.checkmark::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 12px;
    height: 12px;
    background: var(--font__color2);
    border-radius: 6px;
}

.search__property__check {
    cursor: pointer;
    line-height: 1.6em;
    font-size: clamp(1rem, 0.964rem + 0.18vw, 1.1rem);
    display: flex;
    align-items: center;
    gap: 0.5em;
}


/* お気に入り */

.property__like__button {
    width: 100%;
    background: var(--heavy__base);
    color: var(--visited);
    border-radius: 0.2em;
    box-shadow: var(--box__shadow);
    padding: 0.5em 1em;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.property__like__button i {
    transition: all 0.3s;
}

.property__like__button:hover i {
    color: var(--red);
}

.property__like__button.like__button__checked {
    background: var(--red);
    color: var(--white);
}

.property__like__button.like__button__checked i {
    animation: property__checked 0.8s forwards;
}

@keyframes property__checked {
    0% {
        transform: scale(1.6);
    }

    100% {
        transform: scale(1);
    }
}

.like__button__checked:hover i {
    color: var(--white);
}

/* ログイン・会員登録のアナウンスモーダル */

.login__announce__modal {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--trans__bg);
    backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
    z-index: 9999;
    padding: 5% 1rem;
    display: none;
}

.login__announce__modal__display {
    display: flex;
}

.login__announce__modal__inner {
    width: 100%;
    height: auto;
    max-width: 1000px;
    background: var(--white);
    box-shadow: var(--box__shadow);
    margin: auto;
    padding: 1rem;
    border-radius: 1rem;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.login__announce__modal__inner ul {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.login__announce__modal__inner .login__button {
    background: var(--blue);
    padding: 0.5em;
    display: flex;
    gap: 0.5rem;
    border-radius: 0.5em;
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.login__announce__modal__inner .login__button:hover {
    background: var(--red);
}

.login__announce__modal__inner .register__button {
    background: var(--blue);
    padding: 0.5em 1em;
    display: flex;
    gap: 0.5rem;
    border-radius: 0.5em;
    color: var(--white);
    font-size: 1.2rem;
}

.login__announce__modal__inner .login__announce__modal__close {
    font-size: 2rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
}

/* プライバシーポリシーのモーダル */

.privacy {
    width: fit-content;
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.privacy__button {
    width: fit-content;
    padding: 0.2em 1em;
    border-radius: 2em;
    background: var(--yellow);
    color: var(--font__color);
    cursor: pointer;
    box-shadow: var(--box__shadow);
    transition: all 0.3s;
}

.privacy__button:hover {
    box-shadow: none;
}

.checkbox {
    width: fit-content;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5em;
    position: relative;
}

.checkbox::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 1px solid var(--visited);
    border-radius: 16px;
    flex-shrink: 0;
}

.checkbox::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--font__color);
    border-radius: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 8px;
    /* ← beforeの幅(1em)の半分 */
    transform: translate(-50%, -50%);
    /* 完全中央寄せ */
    transition: all 0.3s;
}

input[type=checkbox]:checked+.checkbox::after {
    opacity: 1;
}

.privacy__modal {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--trans__bg);
    backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: center;
    gap: 1em;
    z-index: 9999;
    padding: 5% 1rem;
    display: none;
}

.privacy__modal__display {
    display: flex;
}

.privacy__modal__inner {
    width: 100%;
    height: 80vh;
    max-width: 1000px;
    background: var(--white);
    box-shadow: var(--box__shadow);
    margin: 0 auto;
    padding: 1rem;
    border-radius: 1rem;
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.privacy__modal__inner h3 {
    text-align: center;
}

.privacy__modal__inner ol {
    padding: 0.5em 0 0 2em;
}

.privacy__modal__inner ol li {
    list-style: decimal;
    line-height: 1.6em;
}


.privacy__modal__close {
    width: fit-content;
    padding: 0.5em 1em;
    background: var(--blue);
    color: var(--white);
    border-radius: 0.5em;
    margin: 0 auto;
    box-shadow: var(--box__shadow);
    transition: all 0.3s;
}

.privacy__modal__close:hover {
    box-shadow: none;
}

/* header＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 1rem 1rem;
    z-index: 100;
}

.header__inner {
    right: 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    background: var(--base__color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-radius: 3rem;
    box-shadow: var(--box__shadow);
}

.header__inner .logo {
    width: 100%;
    height: 100%;
    max-width: 200px;
}

/* PC用ナビ */
.header__inner nav ul {
    display: flex;
    gap: 1rem 1.5rem;
    align-items: center;
    justify-content: end;
    flex-wrap: wrap;
    list-style: none;
}

.header__inner nav ul li {
    font-size: 1.2em;
}

.header__inner .login__button {
    background: var(--blue);
    padding: 0.5em;
    display: flex;
    gap: 0.5rem;
    border-radius: 0.5em;
    color: var(--white);
    transition: all 0.3s;
}

.header__inner .login__button:hover {
    background: var(--red);
}

.header__contact__button {
    width: fit-content;
    padding: 0.5em;
    background: var(--button__gradient);
    color: var(--white);
    border-radius: 0.5em;
}

/* ハンバーガーアイコン（デフォルトは非表示） */

.hamburger {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.header__search {
    font-size: 1.6rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* スマホ用ナビ */
.nav__sp {
    display: none;
    /* display: grid; */
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    place-items: center;
}

.nav__sp__inner {
    width: 90%;
    max-height: 85%;
    padding: 2rem 1rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--white);
    overflow-y: scroll;
    box-shadow: var(--box__shadow);
}

.sp__logo {
    width: 100%;
    max-width: 150px;
    height: auto;
}

.sp__nav__list {
    width: 100%;
    background: var(--heavy__base);
    font-size: 1.2rem;
    position: relative;
}

.sp__nav__list::after {
    content: "";
    width: 0.5em;
    height: 100%;
    background: var(--blue);
    position: absolute;
    top: 0;
    left: 0;
}

.sp__nav__list a {
    display: inline-block;
    width: 100%;
    padding: 0.5em 0.5em 0.5em 1em;
}

.nav__sp__close {
    text-align: right;
    font-size: 2rem;
    position: fixed;
    z-index: 100;
    right: calc(10% + 0.5rem);
    cursor: pointer;
}

.nav__sp .logo {
    font-size: 2rem;
    text-align: center;
}

.nav__sp .login__button {
    background: var(--blue);
    padding: 0.2em 0.5em;
    border-radius: 0.5em;
    color: var(--white);
}

.sp__nav__login {
    text-align: right;
}

.sp__nav__recommend {
    background: var(--light__base);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--box__shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.recommend__heading {
    font-size: 1.2rem;
    font-weight: 700;
}

.recommend__button {
    width: fit-content;
    margin: 0 auto;
    border: 1px solid var(--red);
    color: var(--red);
    box-shadow: var(--box__shadow);
    font-size: 1.2rem;
    padding: 0.5em 2em;
    border-radius: 2em;
    transition: all 0.3s;
}

.recommend__button:hover {
    background: var(--red);
    color: var(--white);
}

/* スマホメニューの検索窓 */

.sp__header__search__window {
    display: none;
    width: 100vw;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    place-items: center;
}

.sp__header__search__window.active {
    display: grid;
}

.sp__header__search__window .search__property {
    width: 90%;
    max-height: 85%;
    padding: 1rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: var(--blue);
    overflow-y: scroll;
    box-shadow: var(--box__shadow);
    position: relative;
}

.sp__search__close {
    text-align: right;
    font-size: 2rem;
    position: fixed;
    z-index: 100;
    right: calc(10% + 0.5rem);
    cursor: pointer;
}

/* 検索窓 ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊*/

.nav__sp .search__property {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--blue);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
    color: var(--white);
}

.nav__sp .search__property__form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nav__sp .search__property__select__wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav__sp .search__property__inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav__sp .search__property__check__tags {
    display: flex;
    gap: 0 2rem;
    flex-wrap: wrap;
}

.nav__sp .search__property .select__wrap {
    color: var(--font__color2);
}

.nav__sp .property__submit {
    width: fit-content;
    margin: 0 auto;
    padding: 0.5em 1em;
    border-radius: 2em;
    background: var(--yellow);
    font-size: 1.4rem;
    color: var(--font__color2);
    box-shadow: var(--box__shadow);
    font-weight: 700;
    transition: all 0.3s;
}

.nav__sp .property__submit:hover {
    background: var(--red);
    color: var(--white);
}

.search__property {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--blue);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
    color: var(--white);
}

.search__property h3 {
    font-weight: 700;
}

.search__property__form {
    display: flex;
    flex-direction: column;
    gap: var(--clump1remTo2rem);
}

.search__property__select__wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.search__property__inner {
    width: 100%;
    /* max-width: 180px; */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search__property__check__tags {
    display: flex;
    gap: 0 var(--clump1remTo2rem);
    flex-wrap: wrap;
}

.search__property .select__wrap {
    color: var(--font__color2);
}

.property__submit {
    width: fit-content;
    margin: 0 auto;
    padding: 0.5em 1em;
    border-radius: 2em;
    background: var(--yellow);
    font-size: 1.4rem;
    color: var(--font__color2);
    box-shadow: var(--box__shadow);
    font-weight: 700;
    transition: all 0.3s;
}

.property__submit:hover {
    background: var(--red);
    color: var(--white);
}

/* footer ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

footer {
    width: 100%;
    background: var(--base__color);
    display: flex;
    flex-direction: column;
}

.footer__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--clump1remTo2rem) 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--clump1remTo2rem);
}

.footer__logo {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.footer__inner ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.2rem;
}

.footer__inner ul li {
    padding-left: 1em;
    position: relative;
    z-index: 0;
}

.footer__inner ul li::after {
    content: '';
    width: 0.5em;
    height: 100%;
    background: var(--blue);
    position: absolute;
    left: 0;
    top: 0;
}

footer small {
    width: 100%;
    text-align: center;
}

/* レスポンシブ ＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊＊ */

@media (max-width: 1000px) {
    .pc__hidden {
        display: inline-block;
    }

    .sp__hidden {
        display: none;
    }

    .header__inner {
        border-radius: 0;
        padding: 0.5rem 1rem;
    }

    .header__inner .logo {
        width: 100%;
        height: 100%;
        max-width: 120px;
    }

    /* ナビはデフォルト非表示 */
    .header__inner .nav__pc {
        display: none;
    }

    /* activeが付いたときだけ表示 */
    .nav__sp.active {
        display: grid;
    }

    /* ハンバーガーは表示 */
    .hamburger {
        display: block;
    }

    .header__nav__sp__wrap {
        display: flex;
        gap: 1rem;
        align-items: center;
    }
}