@charset "utf-8";

/* common削除記述 */
.cmnPageTit.hasDots::after {
    display: none;
}

:root {
    /* line-height（PC） */
    /* letter-spacing（PC） */
    --pcLetterSpacing20_200: 0.2em;

    /* フォントサイズ（SP）*/

    /* line-height（SP） */
    /* letter-spacing（SP） */
    /* box-shadow */
}

/* secStep */
/* -----共通----- */

.secStep .stepHeader {
    height: 8rem;
    background:  var(--bgColor);
    padding: 1.9rem 0;
    display: flex;
    align-items: center;
}

.secStep .stepLabel {
    display: inline-block;
    background-color: var(--redColor);
    color: #fff;
    font-size: var(--pcFontSize18);
    text-align: center;
    width: 10rem;
    height: 4.2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 1.1rem 0;
}

.secStep .stepLabel .num {
    font-size: var(--pcFontSize22);
    margin-left: 0.5rem;
}

.secStep .stepLabel::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 2.1rem 0 2.1rem 1.1rem;
    border-color: transparent transparent transparent #d33247;
}

.secStep .stepInstruction {
    font-size: var(--pcFontSize20);
    font-weight: bold;
    margin-left: 3rem;
    flex: 1;
}

@media only screen and (max-width:1215px) {
    .secStep {
        margin-top: 0;
    }

    .secStep .stepLabel {
        font-size: var(--spFontSize11);
        width: 4.2rem;
        height: 4.2rem;
        position: relative;
        border-radius: 50%;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .secStep .stepLabel::after {
        display: none;
    }

    .secStep .stepLabel .num {
        font-size: var(--spFontSize14);
        margin-left: 0;
    }

    .secStep .stepInstruction {
        font-size: var(--spFontSize14);
        letter-spacing: var(--spLetterSpacing14_30);
        margin-left: 1rem;
    }

    .secStep .stepHeader {
        height: 7.2rem;
        padding: 1.5rem;
    }
}

/* -----共通ここまで----- */

.secSearch {
    margin-top: 3rem;
    display: flex;
    margin-bottom: 0.1rem;
}

.searchLeft {
    margin-right: 6rem;
    width: 48rem;
}

.secSearch .boxTit {
    display: flex;
}

.secSearch .imgIcon {
    margin: 1rem 1rem 3rem 0;
}

.secSearch .selectionText {
    font-size: var(--pcFontSize15);
    font-weight: bold;
    margin-left: 2rem;
}

.secSearch .itemTop .selectionText {
    font-size: var(--pcFontSize20);
    font-weight: bold;
    margin: 1rem 0 3rem;
    letter-spacing: var(--pcLetterSpacing20_200);
}

.secSearch .selectionItem {
    display: flex;
    align-items: center;
    box-shadow: inset 0px -2px 0px 1px rgba(0, 0, 0, 0.07);
    border: 1px solid #e1e4e5;
}
.secSearch .selectionItem .boxImg{
    height: 0;
    padding-top: 16.737%;
    width: 104px;
}

.secSearch .selectionItem.itemTop {
    display: block;
    box-shadow: none;
    border: none;
}

.secSearch .selectionItem.itemTop .boxImg {
    height: 0;
    padding-top: 54.168%;
    width: auto;
}

.secSearch .selectionItem:nth-child(2) {
    margin-top: 3rem;
}

.secSearch .selectionItem:nth-child(3) {
    margin-top: 1rem;
}
/* ---MAP--- */

.secSearch .searchRight {
    flex: 1;
    box-shadow: 0 0 0 1px #000;
    border-radius: 4px;
}

.secSearch .searchMap {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    position: relative;
}

.secSearch .searchRight {
    flex: 1;
    border-radius: 4px;
    position: relative;
}

/* オーバーレイのスタイル */
.secSearch .mapOverlay div {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.3);
    /* 暗くする */
    pointer-events: none;
    /* オーバーレイをクリック不可にする */
    z-index: 10;
}

.secSearch .mapContainer {
    position: relative;
}

.secSearch .searchMap {
    display: block;
}

/* ---MAPここまで--- */

/* ポップアップ */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64rem;
    height: 34rem;
    background: white;
    border: 5px solid #2f3334;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 20px;
}

.popup .popupContent {
    text-align: center;
}

.popup .popupClose {
    position: absolute;
    top: -3px;
    right: -3px;
    font-size: 24px;
    cursor: pointer;
    width: 3.9rem;
    height: 3.9rem;
    color: #fff;
    display: flex;
    background: #2f3334;
    border-radius: 0 10px 0 10px;
    align-items: center;
    justify-content: center;
}

/* オーバーレイ（背景暗くする） */
.popupOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.popup .titPopup {
    font-size: var(--pcFontSize20);
    font-weight: bold;
}

.popup .innerPopup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.popup .flexSearch {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.popup .linkSearch {
    border: 1px solid #2f3334;
    color: #fff;
    width: 26rem;
    height: 15.5rem;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popup .linkSearch.isGreen {
    background: var(--greenColor);
}

.popup .linkSearch.isBlue {
    background: var(--blueColor);
}

.popup .txtLink {
    font-size: var(--pcFontSize20);
    font-weight: bold;
    line-height: 1.3;
    margin-top: 1.3rem;
}


@media only screen and (max-width:1215px) {
    .secSearch {
        margin-top: 0.7rem;
        margin-bottom: 8rem;
    }

    .secSearch .itemTop .selectionText {
        font-size: var(--spFontSize14);
        margin: 1rem 0 1.5rem;
        letter-spacing: var(--spLetterSpacing14_50);
    }

    .secSearch .imgIcon {
        margin: 1rem 1rem 1.5rem 0;
        width: 16px;
    }

    .secSearch .itemTop .boxImg {
        display: none;
    }

    .secSearch .searchDropdown {
        width: 100%;
    }

    .secSearch select{
        -webkit-appearance: none;
        appearance: none;
        border: solid 0.1rem var(--textColor);
        background: url(../img/common/selectArrow.png) #fff right 0.5rem center / 0.6rem no-repeat;
        border-radius: 0.3rem;
        width: 100%;
        height: 4.6rem;
        padding: 0 1rem;
        cursor: pointer;
        font-size: var(--pcFontSize15);
        letter-spacing: var(--pcLetterSpacing15_50);
    }
    .secSearch .select_city{
        display: none;
        margin-top: 1rem;
    }

    .secSearch .searchDropdown .areaSelect {
        width: 100%;
        height: 5rem;
        padding: 1.5rem;
        border-radius: 3px;
    }

    .secSearch .searchDropdown .areaSelect.select_city {
        display: none;
    }

    .secSearch .searchDropdown .optionTop {
        color: rgba(47, 51, 52, 0.302);
    }

    .secSearch .searchDropdown select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding-right: 3rem;
    }
    .secSearch .searchDropdown {
        position: relative;
        display: inline;
        width: 100%;
    }
    .secSearch .searchDropdown::after {
        content: "";
        position: absolute;
        width: 0.7rem;
        height: 0.6rem;
        background-color: var(--textColor);
        top: calc(50% - 0.3rem);
        right: 2rem;
        clip-path: polygon(0 0, 50% 100%, 100% 0);
    }
    

    .secSearch .selectionText {
        font-size: var(--spFontSize13);
        margin-left: 1.4rem;
    }

    .secSearch .selectionItem .boxImg {
        width: 23.325%;
        height: 6.8rem;
        height: 0;
        padding-top: 19.826%;
    }

    .secSearch .selectionItem img {
        width: 100%;
        height: 100%;
    }

    .secSearch .searchLeft {
        width: 100%;
        margin-right: 0;
    }

    .secSearch .searchRight {
        display: none;
    }

    /* popup */
    .popup {
        width: 76%;
        height: 24.5rem;
        border: 3px solid #2f3334;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 25px;
    }

    .popup .titPopup {
        font-size: var(--spFontSize14);
    }

    .popup .flexSearch {
        margin-top: 2rem;
        gap: 1rem;
        flex-direction: column;
    }

    .popup .linkSearch {
        width: 100%;
        height: 6rem;
        flex-direction: row;
    }

    .popup .linkSearch:nth-child(1) .imgIcon {
        width: 26px;
    }

    .popup .linkSearch:nth-child(2) .imgIcon {
        width: 25px;
    }

    .popup .txtLink {
        font-size: var(--spFontSize14);
        line-height: 1.3;
        margin-top: 0;
        margin-left: 1.5rem;
    }

    .popup .popupContent {
        width: 100%;
    }

    .popup .popupClose {
        top: -3px;
        right: -3px;
        font-size: 18px;
        width: 3.1rem;
        height: 3.1rem;
        border-radius: 0 5px 0 5px;
    }
}