/* -- form --*/
.dmn_search_form_table,
.dmn_search_form_table th,
.dmn_search_form_table td {
    border: solid 1px #ccc;
}
.dmn_search_form_table {
    max-width: 100%;
    border-collapse: collapse;
    padding: 0;
    border-spacing: 0;
    margin: 0 auto;
    margin-bottom: 3em;
}
.dmn_search_form_table th,
.dmn_search_form_table td {
    color: black;
    font-size: 1em;
    line-height: 1.4em;
    font-weight: bold;
    text-align: center;
    padding: 1em 2em;
}
@media screen and (max-width: 800px) {
    .dmn_search_form_table th,
    .dmn_search_form_table td {
        color: black;
        font-size: 0.75em;
        line-height: 1em;
        font-weight: bold;
        text-align: center;
        padding: 0.5em 0.5em;
    }
}
.dmn_search_form_table th {
    max-width: 20%;
    background-color: #9eb7ef;
}
.dmn_search_form_table input[type='text'],
.dmn_search_form_table select {
    font-size: 1em;
    font-weight: normal;
    height: 2em;
    padding: 0.2em 0.1em;
    width: calc(100% - 0.2em);
    border: solid 1px #ccc;
    background-color: white;
    appearance: none;
}
.dmn_search_form_table option {
    height: 1em;
}
.dmn_search_form_btn {
    width: 100%;
    text-align: center;
    margin-bottom: 2em;
}
.dmn_search_form_btn input {
    width: 80%;
    margin: 0 auto;
    padding: 1em 0;
    font-size: 1.4em;
}
.dmn_search_form_result {
    width: 100%;
    text-align: center;
    margin-top: 1em;
}

/* -- item --*/
.dmn_search_form_item {
    width: calc(100% - 16px);
    padding: 8px;
    max-width: 784px;
    border-radius: 4px;
    border-color: #cfcfcf;
    border-style: solid;
    position: relative;
    margin: 1em auto;
}
.dmn_search_form_item_title {
    display: block;
    width: 100%;
    text-align: left;
    font-size: 1.1em;
    line-height: 1.1em;
    margin-top: 0 !important;
}
.dmn_search_form_item_title.j_1 {
    margin-top: 2em !important;
}
.dmn_search_badge_area {
    display: inline-block;
    padding: 0.6em 0.3em;
    border-radius: 4px;
    color: black;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.1em;
    font-weight: bold;
    margin-right: 0.1em;
    opacity: 1;
}
.dmn_search_badge_area.first {
    background-color: #f2b50f;
    color: white;
    opacity: 1;
}
.dmn_search_badge_area.second {
    background-color: #748c8c;
    color: white;
    opacity: 1;
}
.dmn_search_badge_area.third {
    background-color: #b26b4d;
    color: white;
    opacity: 1;
}
.dmn_search_title_name {
    display: inline-block;
    text-align: left;
    font-weight: bold;
    color: black;
    font-size: 1em;
}
.dmn_search_form_item_flex_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
.dmn_search_form_item_image {
    display: block;
    width: 34%;
    padding: 0.05em 0;
}
.dmn_search_form_item_image img {
    border-radius: 4px;
}
.dmn_search_form_item_desc {
    width: 64%;
    padding: 0.05em 0;
}
.dmn_search_form_item_name_pc {
    display: block;
    width: 100%;
    text-align: center;
}
.dmn_search_form_item_name_sp {
    display: none;
    width: 100%;
    text-align: center;
}
.dmn_search_form_item_desc_1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
.dmn_search_form_item_desc_1_t,
.dmn_search_form_item_desc_1_d {
    padding: 0.15em 0;
    padding-left: 0.1em;
    width: calc(25% - 0.1em);
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #8b55eb;
    font-size: 0.8em;
    color: #222;
}
.dmn_search_form_item_desc_1_t {
    background-color: #9eb7ef;
    font-weight: bold;
}
.dmn_search_form_item_desc_1_d {
    background-color: white;
}
.dmn_search_form_item_cta {
    width: 100%;
    padding: 0.5em 0;
}
.dmn_search_form_item_cta a {
    display: block;
    width: 80%;
    text-align: center;
    padding: 1em 0;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    background-color: #9eb7ef;
    border-style: solid;
    border-color: #1b76ab;
    border-width: 0 2px 2px 0;
    margin: 1em auto;
    text-decoration: none;
}
.dmn_search_form_item_detail_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}
.dmn_search_form_item_detail {
    width: 100%;
    padding: 0.2em 0;
}
.dmn_search_form_item_detail_t {
    width: calc(100% - 0.2em);
    padding: 0.15em 0;
    text-align: center;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #8b55eb;
    background-color: #9eb7ef;
    font-size: 0.8em;
    font-weight: bold;
    color: black;
    padding: 0.1em;
}
.dmn_search_form_item_detail_d {
    width: 100%;
    font-size: 0.8em;
    background-color: white;
    padding: 0.2em 0;
    color: #222;
}
.dmn_search_item_ribbon_wrapper {
    display: block;
    position: relative;
    margin: 0 auto;
    margin-bottom: 1em;
    padding: 10px 0;
    width: 80%;
    font-size: 0.9em;
    font-weight: bold;
    background: #e7e7e7;
}
.dmn_search_item_ribbon {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    padding: 10px;
    margin: 0 0 0 -20px;
    width: calc(100% + 40px);
    color: white;
    background: #70c7ff;
}
.dmn_search_item_ribbon:before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px #6eb3e0;
}
.dmn_search_item_ribbon:after {
    position: absolute;
    content: '';
    top: 100%;
    right: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-left: solid 20px #6eb3e0;
}
.dmn_search_top_badge_wrapper {
    display: none;
    margin: 0;
    margin-bottom: 1em;
    position: relative;
    left: -10px;
    top: -10px;
}
.dmn_search_top_badge_wrapper.show {
    display: block;
}
.dmn_search_top_badge {
    max-width: 160px !important;
    border-radius: 3px 0 0 0 !important;
    background-color: #e67a00 !important;
    color: #e67a00 !important;
    padding: 0 6px 0 10px;
    position: relative;
    height: 26px;
    z-index: 1;
    float: left;
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
}
.dmn_search_top_badge:after {
    content: '';
    width: 10px;
    height: 26px;
    border-right: 10px solid transparent;
    border-top: 26px solid;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: -10px;
}
.dmn_search_top_badge span {
    font-size: 12px;
    line-height: 26px;
    color: white;
    text-overflow: ellipsis;
    overflow: hidden !important;
    white-space: nowrap;
    display: block;
}
.category_toggle,
.fortune_toggle {
    text-decoration: none;
    border: 0;
    font-size: 1em;
    color: black;
}
.dmn_for_pc {
    display: block;
}
.dmn_for_sp {
    display: none;
}
.dmn_for_sp_i {
    display: none;
}
@media screen and (max-width: 800px) {
    .dmn_search_form_item_image {
        width: 48%;
    }
    .dmn_search_form_item_desc {
        width: 48%;
    }
    .dmn_search_form_item_name_pc {
        display: none;
    }
    .dmn_search_form_item_name_sp {
        display: block;
    }
    .dmn_search_form_item_desc_1_t {
        width: calc(50% - 0.1em);
    }
    .dmn_search_form_item_desc_1_d {
        width: calc(50% - 0.1em);
    }
    .dmn_search_form_item_detail {
        width: 48%;
        padding: 0.2em 0;
    }
    .dmn_search_form_item_detail_d {
        height: 6em;
        overflow: hidden;
    }
    .dmn_search_form_item_detail_d.show {
        height: auto;
        overflow: auto;
    }
    .dmn_search_item_ribbon_wrapper {
        width: 90%;
    }
    .dmn_for_pc {
        display: none;
    }
    .dmn_for_sp {
        display: block;
    }
    .dmn_for_sp_i {
        display: inline-block;
    }
    .dmn_search_form_item_cta a {
        width: 100%;
    }
}
