/* =========================
   アコーディオン（ログインボタン）
   ========================= */
.filtersAccordion {
    margin-top: clamp(17.0667px, 5.3333vw, 40.9067px);
    margin-bottom: clamp(8px, 2vw, 20px);
    border: clamp(1.7067px, .5333vw, 4.0907px) solid #3e3a39;
    border-radius: clamp(6.8267px, 2.1333vw, 16.3627px);
}

.filtersAccordionTrigger {
    position: relative;
    display: flex;
    gap: 0 clamp(11.9467px, 3.7333vw, 28.6347px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    padding: 14px 20px;
    box-sizing: border-box;
}

.filtersAccordionTrigger span {
    position: relative;
    z-index: 1;
    font-weight: 700;
    color: #3e3a39;
    font-size: clamp(13.6533px, 4.2667vw, 32.7253px);
}

.filtersAccordionTrigger::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    width: 130%;
    height: calc(100% + 4px);
    background: linear-gradient(90deg, #3e3a3900, #3e3a39 20%);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.42, 0, 1, 1);
    z-index: 0;
}

.filtersAccordionTrigger:hover::before {
    transform: translateX(0);
}

@media (min-width: 768px) {
    .filtersAccordion {
        margin-top: clamp(19.2px, 2.5vw, 40px);
        border: clamp(1.0667px, .1389vw, 2.2222px) solid #3e3a39;
        border-radius: clamp(4.2667px, .5556vw, 8.8889px);
    }

    .filtersAccordionTrigger {
        gap: 0 clamp(7.4667px, .9722vw, 15.5556px);
        padding-block: clamp(8.5333px, 1.1111vw, 17.7778px);
    }

    .filtersAccordionTrigger span {
        font-size: clamp(8.5333px, 1.1111vw, 17.7778px);
        transition: color .2s .1s cubic-bezier(.23, .76, .37, .99);
    }
}

/* =========================
   入力フォーム行
   ========================= */
.filter {
    border: none !important;
    background: transparent;
    box-shadow: none;
}

.filter + .filter {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

@media (min-width: 768px) {
    .filter {
        display: flex;
        align-items: center;
        width: 100%;
        margin-inline: auto;
    }
}

.filterHeadline,
.subtitle {
    font-size: clamp(15.36px, 4.8vw, 36.816px);
    font-weight: 700;
    color: #3e3a39;
    margin-right: 20px;
}

.filterHeadline span,
.subtitle span {
    color: #fff;
    background-color: #3e3a39;
    border-radius: 4px;
    padding: 2px 4px;
    margin-left: 4px;
    font-size: 10px;
}

@media (min-width: 768px) {
    .filterHeadline {
        flex-shrink: 0;
        width: clamp(101.3333px, 13.1944vw, 211.1111px);
        font-size: clamp(9.6px, 1.25vw, 20px);
    }

    .subtitle {
        flex-shrink: 0;
        font-size: clamp(9.6px, 1.25vw, 20px);
    }
}

.filterItems {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(8.5333px, 2.6667vw, 20.4533px) clamp(6.8267px, 2.1333vw, 16.3627px);
    align-items: flex-start;
    width: 100%;
}

@media (min-width: 768px) {
    .filterItems {
        gap: clamp(4.8px, .625vw, 10px);
    }
}

/* =========================
   入力テキスト
   ========================= */
.c-inputText.-m {
    appearance: none;
    width: min(100%, 48rem);
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
    background: #fff;
    border: 1px solid #E3E5E8;
    border-radius: 8px;
    box-shadow: none;
    outline: none;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.c-inputText.-m:focus {
    border-color: #C7A45D;
    box-shadow: 0 0 0 4px rgba(199, 164, 93, 0.15);
}

.c-inputText.-m::placeholder {
    color: #bfc3c9;
}

.c-inputText.-m.is-error {
    border-color: #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, .12);
}

.c-inputText.-m:disabled {
    color: #777;
    background: #f6f7f9;
    border-color: #E9EBEE;
    cursor: not-allowed;
}

/* =========================
   チェックボックス
   ========================= */
.c-checkbox-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.c-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #E3E5E8;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    background: #fff;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.c-checkbox:focus {
    outline: none;
    border-color: #C7A45D;
    box-shadow: 0 0 0 4px rgba(199, 164, 93, 0.15);
}

.c-checkbox:checked {
    background-color: #C7A45D;
    border-color: #C7A45D;
}

.c-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 0;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.c-checkbox:disabled {
    background: #f6f7f9;
    border-color: #E9EBEE;
    cursor: not-allowed;
}

/* =========================
   セレクトボックス（背景画像方式）
   ========================= */
.c-select.-m {
    -webkit-appearance: none;
    appearance: none;
    width: min(100%, 48rem);
    padding: 10px 40px 10px 16px; /* 右側に矢印分の余白 */
    font-size: 14px;
    line-height: 1.5;
    color: #111;
    background-color: #fff; /* ← shorthandで消えないように色だけ指定 */
    border: 1px solid #E3E5E8;
    border-radius: 8px;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, background-color .15s;

    /* ▼ 矢印 */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' stroke='%239aa0a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
}

/* 旧Edge/IEのデフォ矢印を消す */
.c-select.-m::-ms-expand {
    display: none;
}

.c-select.-m:focus {
    border-color: #C7A45D;
    box-shadow: 0 0 0 4px rgba(199, 164, 93, 0.15);
}

.c-select.-m.is-error {
    border-color: #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, .12);
}

.c-select.-m:disabled {
    color: #777;
    background-color: #f6f7f9; /* ← background の shorthand を使わない */
    border-color: #E9EBEE;
    cursor: not-allowed;
}

/* =========================
   テキストエリア
   ========================= */
.c-textarea.-m {
    appearance: none;
    width: min(100%, 48rem);
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #111;
    background: #fff;
    border: 1px solid #E3E5E8;
    border-radius: 8px;
    box-shadow: none;
    outline: none;
    resize: vertical;
    min-height: 10rem;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
}

.c-textarea.-m:focus {
    border-color: #C7A45D;
    box-shadow: 0 0 0 4px rgba(199, 164, 93, 0.15);
}

/* プレースホルダーを淡いグレーに */
.c-textarea.-m::placeholder {
    color: #bfc3c9;
}

/* エラー状態 */
.c-textarea.-m.is-error {
    border-color: #d93025;
    box-shadow: 0 0 0 3px rgba(217, 48, 37, .12);
}

/* 無効状態 */
.c-textarea.-m:disabled {
    color: #777;
    background: #f6f7f9;
    border-color: #E9EBEE;
    cursor: not-allowed;
}


/* =========================
   レスポンシブ微調整
   ========================= */
@media only screen and (max-width: 767px) {
    .filtersContent {
        padding-top: clamp(20.48px, 6.4vw, 49.088px);
    }
}

.entey_firstview_pc1 {
    margin: 40px auto 0;
    display: block;
    max-width: 100%;
}

.entey_firstview_sp1 {
    display: none;
}

@media only screen and (max-width: 767px) {
    .entey_firstview_pc1 {
        display: none;
    }

    .entey_firstview_sp1 {
        margin: 24px auto;
        display: block;
    }
}

.entey_firstview_pc2 {
    margin: 24px auto;
    display: block;
    max-width: 762px;
}

.entey_firstview_pc2 img {
    border-radius: 8px;
}

.entey_firstview_sp2 {
    display: none;
}

@media only screen and (max-width: 767px) {
    .entey_firstview_pc2 {
        display: none;
    }

    .entey_firstview_sp2 {
        margin: 0 10px 10px 10px;
        display: block;
    }

    .entey_firstview_sp2 img {
        border-radius: 8px;
    }
}

.error-message {
    width: 100%;
    color: tomato;
}
