* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    color: var(--black-color);
}

html {
    font-family: "NanumSquareNeo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
        Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

p {
    font-size: 18px;
    line-height: 24px;
    word-break: keep-all;
}

a:hover,
a:visited,
a:link,
a:active {
    text-decoration: none;
    color: var(--black-color);
}

button {
    color: var(--black-color);
    border: 0;
    background-color: transparent;
    cursor: pointer;
}

:root {
    /* color */
    --main-blue-color: #496cf5;
    --black-color: #0d0d0d;
    --white-color: #ffffff;
    --border-gray-color: #dddddd;

    /* box-shadow */
    --box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
}

/* Google Icon CSS */

.material-symbols-rounded {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    color: var(--black-color);
}

header#header {
    width: 100%;
    padding: 32px 80px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
div.header-flex {
    flex: 1 0 140px;
}
.header-flex-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
div.header-logo a img {
    width: 180px;
}
div.header-search_bar {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 20px;
}
div.header-search_bar input {
    width: 100%;
    border-radius: 32px;
    padding: 1.2em 2em;
    font-size: 16px;
    border: 1px solid var(--border-gray-color);
    box-shadow: var(--box-shadow);
}
div.header-search_bar span {
    position: absolute;
    top: 0.3em;
    right: 0.3em;
    background-color: var(--main-blue-color);
    padding: 0.4em;
    border-radius: 50%;
    color: var(--white-color);
}
nav.header-menu {
    gap: 20px;
}
nav.header-menu ul {
    width: calc(100% - 60px);
    gap: 20px;
}
nav.header-menu ul li {
    font-size: 18px;
}
nav.header-menu button {
    width: 36px;
    height: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
nav.header-menu button span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--main-blue-color);
}

div.ad {
    background-color: var(--border-gray-color);
    width: 80%;
    max-width: 1000px;
    height: 100px;
    margin: 0 auto;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    font-weight: bold;
}

div.main-category {
    display: flex;
    width: 100%;
    padding: 15px 80px;
    align-items: center;
    gap: 100px;
    border-bottom: 1px solid var(--border-gray-color);
    overflow-x: hidden;
}
div.main-category:nth-of-type(2) {
    border-top: 1px solid var(--border-gray-color);
}
select#local_category_one,
select#kind_category_one {
    font-size: 16px;
    border: 1px solid var(--border-gray-color);
    border-radius: 20px;
    text-align: center;
    padding: 0.4em;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-width: 100px;
}
button.view-map-btn {
    width: 150px;
    position: fixed;
    bottom: 10%;
    right: calc(50% - 75px);
    background-color: #333;
    padding: 4px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-radius: 28px;
    box-shadow: var(--box-shadow);
    z-index: 9;
}
button.view-map-btn p {
    font-size: 14px;
    font-weight: bold;
}
button.view-map-btn p,
button.view-map-btn span {
    color: var(--white-color);
}
div.main-category:nth-of-type(3) {
    border-bottom: 1px solid var(--border-gray-color);
}
div.main-category-title {
    flex: 0 1 180px;
}
div.main-category-title p {
    font-size: 16px;
    line-height: 16px;
    border: 1px solid var(--border-gray-color);
    border-radius: 20px;
    text-align: center;
    padding: 0.4em;
}
div.main-category-content {
    flex: 1 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
div.main-category-content span.material-symbols-rounded {
    border-radius: 50%;
    border: 2px solid var(--black-color);
    padding: 0.1em;
}

main.main-contents {
    display: flex;
    width: 80%;
    margin: 0 auto;
    max-width: 1280px;
}
div.main-posts,
div.main-map {
    flex: 1 0 300px;
}
div.main-posts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 4em;
    grid-row-gap: 2em;
}
div.main-posts div.post {
    border: 1px solid #ccc;
    border-radius: 20px;
}
div.post-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
div.post-img-box a.post-img-item {
    display: flex;
    width: 100%;
    height: 100%;
    /* padding-bottom: 50px; */
    cursor: pointer;
}
div.post-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
div.post-img-text {
    position: absolute;
    bottom: 0;
    border-radius: 0 0 20px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 8px 10px;
}
div.post-img-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}
div.post-writer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3px;
    max-width: calc(100% - 24px);
}
div.post-img-text div.post-writer img {
    width: 30px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}
div.post-img-text p,
div.post-img-text span {
    color: var(--white-color);
}
div.post-img-text p {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
}
div.post-title {
    padding-left: 7px;
    overflow: hidden;
}
div.post-title span {
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
}
div.post-info {
    width: 100%;
    padding: 0.5em 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
div.post-category {
    display: flex;
    gap: 20px;
}
div.post-category p {
    font-size: 18px;
    position: relative;
}
div.post-category p:first-child::before {
    content: "|";
    position: absolute;
    right: -12px;
    font-weight: bold;
}

div.main-map {
    background-color: var(--border-gray-color);
    border-radius: 8px 0 0 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    font-weight: bold;
}
.hidden {
    display: none !important;
}
div.white-board {
    width: 60%;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 20px auto;
    padding: 80px 0;
    position: relative;
    border: 1px solid var(--border-gray-color);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
}
div.white-board span.close-icon {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 50%;
    border: 2px solid var(--black-color);
}
div.board-title {
    margin-bottom: 80px;
}
div.board-title p {
    font-size: 32px;
    font-weight: 800;
}
div.board-input,
div.board-btn {
    width: 50%;
    margin: 0 auto;
}
div.board-input {
    position: relative;
}
div.board-input input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 28px;
    border: 1px solid #a9a9a9;
    margin-bottom: 24px;
    font-size: 18px;
}
div.board-input span {
    position: absolute;
    top: -10px;
    left: 30px;
    background-color: #fff;
    padding: 0 10px;
}
div.board-btn button {
    width: 100%;
    padding: 12px 16px;
    background-color: #afdefa;
    border-radius: 28px;
    color: #000;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 40px;
}
div.board-simple-login {
    width: 50%;
    margin: 0 auto;
    text-align: right;
    margin-bottom: 60px;
}
div.board-simple-login div#btnWrap {
    display: flex;
    justify-content: flex-end;
}
div.board-sign-find {
    width: 50%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
div.board-sign-find p {
    font-size: 16px;
    line-height: 22px;
}

div.board-login-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}
div.board-login-link p {
    font-size: 16px;
}
div.board-login-link a {
    width: 20%;
    padding: 4px 8px;
    font-size: 16px;
    margin-bottom: 0;
    background-color: #afdefa;
    border-radius: 28px;
    color: #000;
    font-size: 20px;
    font-weight: 600;
}
footer {
    width: 100%;
    padding: 40px 0 50px;
}
footer p {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
div.avatar {
    position: relative;
}
div.avatar_iamge {
    width: 50px;
    height: 50px;
    display: flex;
    overflow: hidden;
    border-radius: 50%;
    cursor: pointer;
}
div.avatar_drop {
    display: none;
    position: absolute;
    right: -50%;
    top: 70px;
    background: #fff;
    z-index: 99;
    flex-direction: column;
    width: 150px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 10px;
    transform: translateX(20%);
}
div.avatar_drop a {
    padding: 10px;
}
div.avatar_drop a:hover {
    background-color: rgba(204, 204, 204, 0.3);
}
/* management tab */
div.management_tab {
    margin: 0 80px;
}
div.management_tab ul {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
div.management_tab ul li {
    width: 20%;
    text-align: center;
    display: flex;
    justify-content: center;
}
div.management_tab ul li:last-of-type {
    border-right: none;
}
div.management_tab ul li:hover a {
    background-color: #496cf5;
    color: #fff;
}
div.management_tab ul li a {
    display: block;
    width: 98%;
    height: 100%;
    font-size: 18px;
    font-weight: 600;
    padding: 12px 0;
    border-radius: 25px;
}
/* board */
div.board {
    border: 1px solid #d3d3d3;
    margin: 20px 80px;
    border-radius: 8px;
    position: relative;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
}
div.board_close_btn {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    border: 2px solid #0d0d0d;
    border-radius: 50%;
    font-size: 30px;
    width: 32px;
    height: 32px;
    line-height: 26px;
    text-align: center;
}
div.board_title {
    margin-bottom: 80px;
}
div.board_title p {
    font-size: 36px;
    font-weight: 600;
}
div.board_title p span {
    font-size: 24px;
}
/* board select */
div.board_select,
div.category_link_list {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
a.board_register,
div.category_link_box {
    margin-bottom: 30px;
}
div.board_select_category {
    display: flex;
    gap: 20px;
}
/* board handle bar */
div.board_handle_bar {
    width: 80%;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
div.board_handle_select {
    flex: 0 1 auto;
}
div.board_handle_select select {
    appearance: none;
    border: 1px solid #d3d3d3;
    border-radius: 20px;
    font-size: 18px;
    padding: 8px 20px;
}
div.board_handle_input {
    flex: 1 0 auto;
}
div.board_handle_input input {
    border: none;
    border-bottom: 1px solid #d3d3d3;
    width: 100%;
    padding: 8px 20px;
    font-size: 18px;
}
div.board_handle_input input:focus {
    outline: none;
    border-bottom: 1px solid #00a0ff;
    box-shadow: 0 3px 12px 0 rgba(0, 160, 255, 0.1), 0 1px 2px 0 rgba(0, 160, 255, 0.08);
}
div.board_handle_btn {
    flex: 0 1 auto;
}
div.board_handle_btn button {
    padding: 8px 20px;
    background-color: #afdefa;
    font-size: 18px;
    border-radius: 20px;
}
/* board table */
div.board_table_total {
    width: 80%;
    text-align: right;
    padding: 12px 64px;
}
div.board_table_total span:not(:first-child)::before {
    content: "/ ";
}
div.board_table {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
div.board_th {
    width: 100%;
    display: flex;
    background-color: #00a0ff;
    padding: 16px;
    border-radius: 18px;
}
div.board_th p {
    color: #fff;
    width: 10%;
    text-align: center;
}
div.board_th p.board_table_email,
div.board_td p.board_table_email {
    width: 14%;
}
div.board_th p.board_table_id,
div.board_td p.board_table_id,
div.board_th p.board_table_date,
div.board_td p.board_table_date {
    width: 12%;
}
div.board_td {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 18px;
}
div.board_td:nth-child(odd) {
    background-color: #afdefa;
}
div.board_td p {
    width: 10%;
    text-align: center;
}
div.board_td p:last-child span {
    display: inline-block;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    line-height: 36px;
    margin-left: 4px;
    text-align: center;
    color: #fff;
}
div.board_td p.board_td_agree span {
    background-color: #00a0ff;
}
div.board_td p.board_td_block span {
    background-color: #e56c9d;
}
div.board_td p.board_td_pendding span {
    background-color: #bcd3e5;
}
/* board resister */
div.board_register_form {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
div.board_register_form div.board_input.board_input_sns {
    width: 20%;
}
div.board_register_form div.board_input {
    width: 48%;
    position: relative;
}
div.board_register_form div.board_input.board_input_full {
    width: 100%;
}
div.board_register_form div.board_input select:focus,
div.board_register_form div.board_input textarea:focus,
div.board_register_form div.board_input input:focus {
    outline: none;
    border: 1px solid #00a0ff;
    box-shadow: 0 3px 12px 0 rgba(0, 160, 255, 0.1), 0 1px 2px 0 rgba(0, 160, 255, 0.08);
}
div.board_register_form div.board_input .board_input_height {
    min-height: 200px;
}
div.board_register_form div.board_input span.board_input_title {
    background-color: var(--white-color);
    padding: 0 8px;
    position: absolute;
    top: -8px;
    left: 32px;
}
div.board_register_form div.board_input span.board_input_add_title {
    top: 20px;
}
div.board_register_form div.board_input select,
div.board_register_form div.board_input textarea,
div.board_register_form div.board_input input {
    width: 100%;
    border: 1px solid #d3d3d3;
    border-radius: 28px;
    font-size: 18px;
    padding: 16px 20px;
}
div.board_register_form div.board_input select {
    appearance: none;
    cursor: pointer;
}
div.board_register_form div.board_input textarea {
    resize: none;
    font-size: 20px;
}
div.board_register_date_select {
    display: flex;
    gap: 12px;
}
div.board_register_date_select.hidden {
    display: flex;
    justify-content: space-between;
}
div.board_flex_input {
    display: flex;
    gap: 4%;
}
div.board_flex_input div.board_input div.board_input_add {
    width: 100%;
    text-align: right;
}
div.board_flex_input div.board_input div.board_input_add p {
    display: inline-block;
    font-size: 14px;
    margin: 0 20px 8px 0;
    color: #00a0ff;
    border-bottom: 1px solid #00a0ff;
}
button.board_map_btn {
    flex: 1 0 200px;
    padding: 8px 16px;
    background-color: #464646;
    border-radius: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: var(--white-color);
}
button.board_map_btn span {
    color: var(--white-color);
}
div#snsList {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
div.board_flex_input.board_sns_input {
    gap: 2%;
}
div.board_sns_url {
    width: 100%;
}
div.board_input_sns_icon {
    display: flex;
    align-items: center;
}
div.board_input_sns_icon span {
    font-size: 36px;
}
div.board_register_btn {
    width: 100%;
    text-align: right;
    margin-top: 40px;
}
div.board_register_btn button {
    padding: 8px 20px;
    background-color: #afdefa;
    font-size: 18px;
    border-radius: 20px;
    width: 24%;
    min-width: fit-content;
}
div.board_mypage_form {
    width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
div.board_mypage_form div.board_input {
    width: 100%;
    position: relative;
}
div.board_mypage_form div.board_input.board_input_full {
    width: 100%;
}
div.board_mypage_form div.board_input select:focus,
div.board_mypage_form div.board_input textarea:focus,
div.board_mypage_form div.board_input input:focus {
    outline: none;
    border: 1px solid #00a0ff;
    box-shadow: 0 3px 12px 0 rgba(0, 160, 255, 0.1), 0 1px 2px 0 rgba(0, 160, 255, 0.08);
}
div.board_mypage_form div.board_input .board_input_height {
    min-height: 200px;
}
div.board_mypage_form div.board_input span.board_input_title {
    background-color: var(--white-color);
    padding: 0 8px;
    position: absolute;
    top: -8px;
    left: 32px;
}
div.board_mypage_form div.board_input span.board_input_add_title {
    top: 20px;
}
div.board_mypage_form div.board_input select,
div.board_mypage_form div.board_input textarea,
div.board_mypage_form div.board_input input {
    width: 100%;
    border: 1px solid #d3d3d3;
    border-radius: 28px;
    font-size: 18px;
    padding: 16px 20px;
}
div.board_mypage_form div.board_input select {
    appearance: none;
    text-align: center;
}
div.board_mypage_form div.board_input textarea {
    resize: none;
    font-size: 20px;
}
div.board_mypage_btn {
    width: 100%;
    text-align: right;
}
div.board_mypage_btn button {
    padding: 8px 20px;
    background-color: #afdefa;
    font-size: 18px;
    border-radius: 20px;
    width: 49%;
}
input[type="file"].mypageImageFile {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
}
div.board_mypage_form div.avatar {
    display: flex;
    justify-content: center;
}
div.board_mypage_form div.avatar div.avatar_image {
    width: 93px;
    height: 93px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
div.board_mypage_form div.avatar div.avatar_image img {
    width: 93px;
    height: 93px;
}
div.board_mypage_form div.avatar div.avatar_image label {
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 4px;
    cursor: pointer;
}
div.passwordBox {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
div.passwordBox.hidden {
    display: none;
}
div.profileBox {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
div.profileBox.hidden {
    display: none;
}
p.board_nickname_btn {
    position: absolute;
    right: 0;
    top: 0;
    background-color: #ccc;
    border-radius: 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    font-size: 14px;
    cursor: pointer;
}
.dropdown {
    --max-scroll: 8;
    --text: #000;
    --border: #2f3545;
    --background: #fff;
    --arrow: #000;
    --arrowActive: #000;
    --listText: #99a3ba;
    --listBackground: #f5f9ff;
    --listActive: #e4ecfa;
    --listTextActive: #000;
    --listBorder: none;
    --textFilled: #000;
    width: 300px;
    max-width: 100%;
    height: 52px;
    position: relative;
    border: 1px solid #ccc;
    border-radius: 15px;
}
.dropdown select {
    display: none;
}
.dropdown > span {
    cursor: pointer;
    padding: 9px 16px;
    border-radius: 25px;
    display: block;
    position: relative;
    color: var(--text);
    background: var(--background);
    transition: all 0.3s ease;
    height: 50px;
    line-height: 32px;
}
.dropdown > span:before,
.dropdown > span:after {
    content: "";
    display: block;
    position: absolute;
    width: 8px;
    height: 2px;
    border-radius: 1px;
    top: 50%;
    right: 15px;
    background: var(--arrow);
    transition: all 0.3s ease;
}
.dropdown > span:before {
    margin-right: 4px;
    transform: scale(0.96, 0.8) rotate(50deg);
}
.dropdown > span:after {
    transform: scale(0.96, 0.8) rotate(-50deg);
}
.dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    max-height: calc(var(--max-scroll) * 42px);
    top: 42px;
    left: 0;
    z-index: 1;
    right: 0;
    background: var(--listBackground);
    border-radius: 6px;
    overflow-x: hidden;
    overflow-y: auto;
    transform-origin: 0 0;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
    transform: scale(0.8) translate(0, 4px);
    border: 1px solid var(--listBorder);
}
.dropdown ul li {
    opacity: 0;
    transform: translate(6px, 0);
    transition: all 0.3s ease;
}
.dropdown ul li a {
    cursor: pointer;
    display: block;
    padding: 10px 16px;
    color: var(--listText);
    text-decoration: none;
    outline: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
}
.dropdown ul li a:hover {
    color: var(--listTextActive);
}
.dropdown ul li.active a {
    color: var(--listTextActive);
    background: var(--listActive);
}
.dropdown ul li.active a:hover:before,
.dropdown ul li.active a:hover:after {
    --scale: 0.9;
    opacity: 1;
}
.dropdown ul li:first-child a {
    border-radius: 6px 6px 0 0;
}
.dropdown ul li:last-child a {
    border-radius: 0 0 6px 6px;
}
.dropdown.filled > span {
    color: var(--textFilled);
}
.dropdown.open > span {
    border-color: var(--borderActive);
}
.dropdown.open > span:before,
.dropdown.open > span:after {
    background: var(--arrowActive);
}
.dropdown.open > span:before {
    transform: scale(0.96, 0.8) rotate(-50deg);
}
.dropdown.open > span:after {
    transform: scale(0.96, 0.8) rotate(50deg);
}
.dropdown.open ul {
    opacity: 1;
    visibility: visible;
    transform: scale(1) translate(0, 12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.4, 0.6, 0.5, 1.32);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}
.dropdown.open ul li {
    opacity: 1;
    transform: translate(0, 0);
}
.dropdown.open ul li:nth-child(1) {
    transition-delay: 80ms;
}
.dropdown.open ul li:nth-child(2) {
    transition-delay: 160ms;
}
.dropdown.open ul li:nth-child(3) {
    transition-delay: 240ms;
}
.dropdown.open ul li:nth-child(4) {
    transition-delay: 320ms;
}
.dropdown.open ul li:nth-child(5) {
    transition-delay: 400ms;
}
.dropdown.open ul li:nth-child(6) {
    transition-delay: 480ms;
}
.dropdown.open ul li:nth-child(7) {
    transition-delay: 560ms;
}
.dropdown.open ul li:nth-child(8) {
    transition-delay: 640ms;
}
.dropdown.open ul li:nth-child(9) {
    transition-delay: 720ms;
}
.dropdown.open ul li:nth-child(10) {
    transition-delay: 800ms;
}
div.table_custom {
    width: 80%;
    display: flex;
    margin-top: 50px;
}
div.table_custom table {
    width: 100%;
    border-collapse: collapse;
}
div.table_custom table thead {
    width: 100%;
    background-color: #496cf5;
}
div.table_custom table thead tr th:first-of-type {
    border-radius: 25px 0 0 25px;
}
div.table_custom table thead tr th:last-of-type {
    border-radius: 0 25px 25px 0;
}
div.table_custom table thead tr th {
    padding: 15px 10px;
    color: #fff;
}
div.table_custom table tbody tr:nth-of-type(even) {
    background-color: #e0f2fd;
}
div.table_custom table tbody tr:nth-of-type(even) td:first-of-type {
    border-radius: 25px 0 0 25px;
}
div.table_custom table tbody tr:nth-of-type(even) td:last-of-type {
    border-radius: 0 25px 25px 0;
}
div.table_custom table tbody tr td {
    padding: 15px 10px;
    text-align: center;
}
div.paging {
    display: flex;
    margin-top: 50px;
}
div.paging ul {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
}
div.paging ul li {
    border-right: 1px solid #ccc;
    height: 40px;
}
div.paging ul li:last-of-type {
    border-right: none;
}
div.paging ul li.number {
    width: 40px;
    padding: 0 10px;
}
div.paging ul li.now {
    background-color: #ccc;
}
div.paging ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
div.paging ul li.now a {
    color: #fff;
}
div.paging ul li a svg {
    width: 30px;
    padding: 0 5px;
}
div.layer_back {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    display: none;
    text-align: center;
    z-index: 999;
    background: url("../img/layer_bg.png");
    justify-content: center;
    align-items: center;
}
div.layer_content {
    position: fixed;
    display: none;
    width: 675px;
    max-width: 90%;
    height: 80%;
    padding: 30px;
    background-color: #fff;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    border-radius: 20px;
}
div.layer_detail {
    position: fixed;
    display: none;
    width: 80%;
    height: 80%;
    padding: 30px;
    background-color: #fff;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    border-radius: 20px;
}
div.category_two_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
div.category_two_box input {
    width: calc(100% - 70px);
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0 10px;
}
div.category_two_box span {
    cursor: pointer;
}
div.category_two_box span svg {
    width: 25px;
}
.pointer {
    cursor: pointer;
}
select.custom_select {
    width: 300px;
    height: 50px;
    border-radius: 15px;
    padding: 0 10px;
    border: 1px solid #ccc;
    cursor: pointer;
}
div.category_add_box {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
div.category_add_box input {
    width: calc(100% - 70px);
    height: 35px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0 10px;
}
div.category_add_box button {
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #496cf5;
    border-radius: 6px;
    color: #fff;
}
div.ask_box {
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin: 40px 0 0 0;
}
div.ask_info_box {
    display: flex;
    gap: 10px;
}
div.ask_info_box select {
    width: 150px;
    height: 50px;
    border-radius: 15px;
    padding: 0 10px;
    border: 1px solid #ccc;
    cursor: pointer;
}
div.ask_info_box input {
    width: 150px;
    height: 50px;
    border-radius: 15px;
    padding: 0 10px;
    border: 1px solid #ccc;
}
div.ask_info_box input.memo {
    width: 500px;
    height: 50px;
    border-radius: 15px;
    padding: 0 10px;
    border: 1px solid #ccc;
}
div.ask_box button {
    background-color: #496cf5;
    padding: 0 20px;
    border-radius: 10px;
    color: #fff;
}
div.map_layer_back {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    display: none;
    text-align: center;
    z-index: 999;
    background: url("../img/layer_bg.png");
    justify-content: center;
    align-items: center;
}
div.map_layer_content {
    position: fixed;
    display: none;
    width: 1280px;
    height: 80%;
    padding: 30px;
    background-color: #fff;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    border-radius: 20px;
}
div.sub_post_map #map {
    height: 100%;
}
#map {
    height: 500px;
    width: 100%;
}
.pac-card {
    background-color: #fff;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.3);
    margin: 10px;
    padding: 0 0.5em;
    overflow: hidden;
    padding: 0;
    width: 100%;
}
#pac-container {
    position: absolute;
    z-index: 99;
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
}
#pac-container input {
    width: 300px;
    height: 50px;
    border-radius: 25px;
    padding: 0 10px;
    border: 1px solid #ccc;
}
.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}
.swiper-slide.active {
    background-color: #eee;
    border-radius: 25px;
}
select.swiper-to-select {
    display: none;
}
.image-container {
    text-align: center;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    position: relative;
}
.image-container canvas{
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.image-container canvas:nth-of-type(1){
    z-index:1;
}
.image-container canvas:nth-of-type(2){
    z-index:2;
}
.image-container canvas:nth-of-type(3){
    z-index:3;
}
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.popup-content {
    background: #000;
    padding: 50px;
    border-radius: 20px;
    width: 1024px;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.popup-content .swiper-container {
    width: 100%;
    flex: 1;
}
.cropper-bg {
    background: none;
}
div.sns_icon {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
div.sns_icon div.sns_icon_image {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
div.sns_icon div.sns_icon_image img {
    width: 50px;
    height: 50px;
}
div.sns_icon div.sns_icon_image label {
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 4px;
    cursor: pointer;
}

div.sub_post {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

div.sub_post_info {
    width: 100%;
    display: flex;
    align-items: center;
}
div.sub_post_writer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    width: 200px;
}
div.sub_post_writer_img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}
div.sub_post_writer_img img {
    width: 100%;
    object-fit: cover;
}
div.sub_post_writer_id p {
    font-size: 18px;
    line-height: 36px;
}
div.sub_post_location {
    width: calc(100% - 550px);
    display: flex;
    align-items: flex-end;
    gap: 20px;
}
div.sub_post_category {
    display: flex;
    gap: 12px;
}
div.sub_post_category p {
    font-size: 14px;
    color: #cccccc;
}
div.sub_post_location_title p {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 6px;
}
div.sub_post_react {
    width: 350px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}
div.sub_post_react_icon {
    display: flex;
    align-items: center;
    gap: 8px;
}
div.sub_post_react_icon svg {
    width: 24px;
}
/* sub post content */
div.sub_post_content {
    width: 100%;
    padding: 20px 0;
    display: flex;
    height: calc(96vh - 88px);
}
div.sub_post_img_box {
    flex: 1 0 auto;
    min-width: 62%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 12px;
}
div.sub_post_main_img {
    width: 100%;
    height: calc(94vh - 30%);
    overflow: hidden;
    position: relative;
    border-top-left-radius: 18px;
}
div.sub_post_sub_img {
    width: 100%;
    height: 30%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    gap: 12px;
    border-bottom-left-radius: 18px;
}
div.sub_post_img {
    width: 100%;
    position: relative;
}
div.sub_post_main_img img,
div.sub_post_img img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}
div.sub_post_map_link {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 38%;
}
div.sub_post_map {
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(94vh - 30%);
    border-top-right-radius: 18px;
    box-shadow: var(--box-shadow);
}
div.sub_post_link {
    height: 30%;
    position: relative;
}
div.sub_post_link ul {
    box-shadow: var(--box-shadow);
    height: 100%;
    border-bottom-right-radius: 18px;
    padding: 20px;
    overflow-y: scroll;
}
div.sub_post_link ul li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
div.sub_post_link ul li:not(:last-child) {
    margin-bottom: 8px;
}
div.sub_post_link ul li a {
    width: calc(100% - 50px);
    display: flex;
    align-items: center;
    gap: 10px;
}
div.sub_post_link ul li a span {
    width: calc(100% - 36px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
div.sub_post_link ul li div.button_box {
    display: flex;
    justify-content: space-around;
    width: 50px;
}
div.sub_post_link ul li div.button_box svg {
    width: 20px;
}
div.sub_post_link div.sub_post_link_upload {
    position: absolute;
    bottom: -64px;
    width: 100%;
}
button.blue_btn {
    width: 100%;
    padding: 12px;
    background-color: #afdefa;
    border: 1px solid #8db3ca;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    font-size: 16px;
}
/* sub post bottom */
div.sub_post_bottom {
    padding-top: 60px;
    display: flex;
}
div.sub_post_text {
    flex: 1 0 auto;
    max-width: 62%;
}
div.sub_post_text_title {
    margin-bottom: 20px;
}
div.sub_post_text_title p {
    font-size: 28px;
    font-weight: 600;
}
div.sub_post_text_content {
    padding: 0 20px;
}
div.sub_post_text_content p {
    white-space: pre;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    text-align: justify;
    overflow: hidden;
}
div.sub_post_text_content_more {
    margin-top: 20px;
    cursor: pointer;
}
div.sub_post_text_content_more p {
    font-size: 20px;
    font-weight: 600;
}
div.sub_post_text_content_less {
    margin-top: 20px;
    display: none;
    cursor: pointer;
}
div.sub_post_text_content_less p {
    font-size: 20px;
    font-weight: 600;
}
div.sub_post_rate_review {
    margin: 20px 0;
}
div.sub_post_rate {
    flex: 1 0 auto;
    border-radius: 8px;
    border: 1px solid #dddddd;
    padding: 20px;
    max-width: 38%;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
}
div.sub_post_rate_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
div.sub_post_rate_star span {
    font-size: 32px;
}
div.sub_post_rate_star span:not(:first-child) {
    margin-left: -8px;
}
div.sub_post_rate_analytic {
    display: flex;
    gap: 20px;
}
div.sub_post_rate_write {
    margin: 20px 0;
}
div.sub_post_rate_write textarea {
    width: 100%;
    height: 120px;
    padding: 20px 16px;
    font-size: 16px;
    border: 1px solid #dddddd;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    outline: none;
    resize: none;
}
div.sub_post_rate_writer {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    padding-left: 0;
}
div.sub_post_rate_writer_info {
    display: flex;
    align-items: center;
    gap: 8px;
}
div.sub_post_rate_writer_img {
    width: 36px;
    height: 36px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}
div.sub_post_rate_writer_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
div.sub_post_rate_writer_id p {
    font-size: 16px;
}
div.sub_post_rate_average {
    display: flex;
    gap: 12px;
    align-items: center;
}
div.sub_post_rate_review_star {
    display: flex;
    align-items: center;
}
div.sub_post_rate_review_star span {
    font-size: 18px;
}
div.sub_post_rate_review_star span:not(:first-child) {
    margin-left: -4px;
}
div.sub_post_rate_review_date p {
    font-size: 14px;
}
div.sub_post_rate_text p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 16px;
    line-height: 20px;
}
div.product_File {
    width: 300px;
    height: 150px;
    border: 1px dashed #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
div.product_File.dragover {
    background-color: #f5f5f5;
}
div.product_File:hover {
    background-color: #f5f5f5;
}
div.product_File input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
}
div.product_File label {
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    top: 4px;
    cursor: pointer;
}
div.product_File svg {
    width: 40px;
}
div.cropped_results {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
div.cropped_results div.cutImageBox {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
div.cropped_results div.cutImageBox img {
    width: 100%;
    height: 100%;
}
div.cutImageBox div.image_close {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ccc;
    position: absolute;
    right: 5px;
    top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
div.cutImageBox div.image_close svg {
    width: 20px;
}
div.cutImageBox div.image_close:hover {
    background-color: #bbb;
}
.swiper-button-next,
.swiper-button-prev {
    color: var(--main-blue-color);
}
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
}
div.save_trip_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: scroll;
    height: 500px;
    padding: 15px;
}
div.save_trip_list div.save_trip_box {
    display: flex;
    padding: 20px;
    box-shadow: 0px 0px 10px 0px #00000026;
    border-radius: 20px;
}
div.save_trip_list div.save_trip_box span:first-of-type {
    margin-right: 5px;
}
div.save_trip_list div.save_trip_box span:last-of-type {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
div.root_container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
div.root_container div.root_map {
    width: 68%;
    display: flex;
    height: calc(96vh - 88px);
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}
div.root_container div.root_map #map {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
div.root_container div.root_list {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    width: 31%;
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}
div.root_list div.trip_list {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    padding: 7px;
    padding-bottom: 145px;
    overflow-y: scroll;
}
div.trip_list ul.trip_items {
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
div.trip_list ul.trip_items li {
    cursor: grab;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    box-shadow: 0px 0px 10px 0px #00000026;
    border-radius: 20px;
}
div.trip_list ul.trip_items li div.trip_items_info {
    display: flex;
    align-items: center;
    width: calc(100% - 35px);
}
div.trip_list ul.trip_items li div.trip_items_info a {
    width: calc(100% - 25px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
div.root_list div.info_list {
    position: absolute;
    width: 95%;
    bottom: 10px;
    background-color: #fff;
}
div.root_list div.info_list #info {
    margin-bottom: 20px;
    display: flex;
    justify-content: end;
    align-items: end;
    padding: 0 10px;
}
div.root_list div.info_list #info span {
    font-size: 20px;
    display: flex;
    align-items: end;
}
div.root_list div.info_list #info span b {
    font-size: 40px;
    line-height: 40px;
}
div.root_list div.info_list #info span:first-of-type {
    position: relative;
    padding-right: 10px;
    margin-right: 10px;
}
div.root_list div.info_list #info span:last-of-type {
    font-size: 17px;
}
div.root_list div.info_list #info span:first-of-type::before {
    content: "";
    display: block;
    width: 3px;
    height: 30px;
    background-color: #ccc;
    position: absolute;
    right: 0;
    bottom: 2px;
    border-radius: 20px;
}
div.info_list div.root_btn_list {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
div.root_btn_list div.root_btn {
    cursor: pointer;
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0px 0px 10px 0px #00000026;
}
div.root_btn_list div.root_btn:first-of-type {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
}
div.root_btn_list div.root_btn:last-of-type {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}
div.root_btn_list div.root_btn svg {
    width: 35px;
}
div.root_btn_list div.root_btn:first-of-type svg {
    width: 45px;
}
div.main-popup {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center;
}
div.main-popup-box {
    padding: 30px 60px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--box-shadow);
}
div.main-popup-box b {
    font-size: 25px;
    line-height: 35px;
    margin: 0 0 10px 0;
}
div.main-popup-box span {
    font-size: 18px;
    line-height: 28px;
}
.swiper-container {
    width: 80%;
}
.swiper {
    width: 100%;
    height: 100%;
    padding: 0 43px;
}

.swiper-slide {
    text-align: center;
    font-size: 16px;
    background: #fff;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
div.search_list {
    max-width: 1280px;
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    padding: 10px 20px;
    gap: 20px;
}
div.search_list div.search_item {
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    padding: 10px;
    position: relative;
}
div.search_list div.search_item span {
    padding: 10px 35px 10px 10px;
}
div.search_list div.search_item b {
    position: absolute;
    right: 13px;
    cursor: pointer;
}
div.post-img-text div.like_icon svg {
    display: flex;
    cursor: pointer;
}
div.post-img-text div.like_icon svg {
    width: 24px;
}
@media screen and (max-width: 1440px) {
    div.ad {
        width: 50%;
    }
    div.header-search_bar {
        width: calc(50% - 80px);
    }
}
@media screen and (max-width: 1024px) {
    header#header {
        padding: 16px;
    }
    div.header-flex,
    div.header-search_bar {
        flex: unset;
    }
    div.header-search_bar {
        width: calc(50% - 32px);
    }

    div.avatar_drop {
        right: 60%;
    }

    div.main-category {
        padding: 16px;
        gap: 40px;
    }

    div.main-posts {
        grid-template-columns: repeat(3, 1fr);
    }
    div.sub_post_info {
        display: grid;
        grid-template-areas:
            "writer writer"
            "title icons";
        padding: 0 32px;
        row-gap: 12px;
    }
    div.sub_post_writer {
        grid-area: writer;
        width: 100%;
    }
    div.sub_post_location {
        grid-area: title;
        width: 100%;
    }
    div.sub_post_react {
        grid-area: icons;
        width: 100%;
    }
    div.sub_post_content {
        padding: 32px;
    }
    div.sub_post_bottom {
        padding: 0 32px;
    }

    div.table_custom {
        width: 90%;
        overflow-x: scroll;
        margin-top: 20px;
    }
    div.table_custom table {
        min-width: 1024px;
    }

    div.board_select_category {
        max-width: 100%;
    }
}
@media screen and (max-width: 768px) {
    header#header {
        display: grid;
        grid-template-areas:
            "logo login"
            "ad ad";
        gap: 20px;
    }
    div.header-logo {
        grid-area: logo;
    }
    div.ad {
        grid-area: ad;
        width: 100%;
    }
    div.header-flex-end {
        grid-area: login;
    }
    div.header-search_bar {
        width: calc(100% - 64px);
    }

    select.pointer {
        width: 100px;
    }
    div.main-category {
        gap: 20px;
    }
    div.main-category-title p {
        min-width: 100px;
    }

    div.main-posts {
        grid-template-columns: repeat(2, 1fr);
    }

    div.sub_post_react_icon p {
        display: none;
    }
    div.sub_post_content {
        flex-direction: column;
        height: unset;
    }
    div.sub_post_main_img {
        border-radius: 20px;
        aspect-ratio: 2 / 1;
    }
    div.sub_post_sub_img {
        height: unset;
        aspect-ratio: 4 / 1;
    }
    div.sub_post_map {
        border-radius: 20px 20px 0 0;
        height: 50vh;
        overflow: hidden;
    }
    div.sub_post_map_link {
        max-width: 100%;
    }
    div.sub_post_link {
        height: unset;
    }
    div.sub_post_link ul {
        border-radius: 0 0 20px 20px;
    }
    div.sub_post_text_content {
        padding: 0 8px;
    }
    div.sub_post_text {
        max-width: 100%;
    }

    div.board {
        margin: 20px 32px;
        padding: 80px 0;
    }
    div.board_mypage_form {
        max-width: 90%;
    }
    div.white-board {
        width: calc(100% - 64px);
    }
    div.board-title,
    div.board_title {
        margin-bottom: 40px;
    }

    div.board_mypage_btn button {
        width: 100%;
    }
    div.board_mypage_btn button:first-child {
        margin-bottom: 12px;
    }
    div.board_mypage_form p {
        font-size: 14px;
    }

    div.board_select,
    div.category_link_list {
        max-width: 100%;
    }
    a.board_register {
        margin-bottom: 12px;
    }
    div.board_select div.selectDropdown,
    div.category_link_list select.dropdown,
    div.board_select_category {
        max-width: 100%;
    }
    div.board_select_category {
        flex-direction: column;
    }

    div.table_custom {
        margin-top: 20px;
    }

    div.board_register_form div.board_input select,
    div.board_register_form div.board_input textarea,
    div.board_register_form div.board_input input {
        font-size: 16px;
    }

    div.management_tab {
        margin: 0 32px;
    }
}
@media screen and (max-width: 480px) {
    header#header {
        padding-bottom: 0;
    }
    div.header-logo a img {
        width: 140px;
    }
    nav.header-menu ul {
        gap: 8px;
    }
    nav.header-menu ul li {
        font-size: 16px;
    }

    div.header-search_bar {
        width: calc(100% - 32px);
        margin-top: 20px;
    }

    div.header-search_bar input {
        padding: 1.2em;
    }

    button.view-map-btn {
        width: 48px;
        right: 6%;
        bottom: 4%;
        aspect-ratio: 1 / 1;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    button.view-map-btn p {
        display: none;
    }

    div.main-posts {
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
    }

    div.search_list {
        width: 90%;
        overflow-x: scroll;
        padding: 10px;
        justify-content: flex-start;
        margin-bottom: 0;
        padding-bottom: 30px;
    }
    div.search_list div.search_item {
        min-width: fit-content;
    }
    div.search_list div.search_item span {
        padding: 0 30px 0 0;
    }

    div.board-simple-login {
        width: calc(50% + 38px);
    }

    div.main-popup-box b {
        font-size: 20px;
    }
    div.main-popup-box span {
        font-size: 18px;
        line-height: 22px;
    }

    div.sub_post_info {
        grid-template-areas:
            "writer icons"
            "title title";
    }
    div.sub_post_location_title p {
        font-size: 24px;
    }
    div.sub_post_react {
        justify-content: flex-end;
        gap: 4px;
    }
    div.sub_post_main_img {
        aspect-ratio: 1 / 1;
    }

    div.board_title p {
        font-size: 28px;
    }
    div.white-board {
        height: unset;
        padding: 40px 0;
    }
    div.board-input,
    div.board-btn {
        width: 90%;
    }
    div.board-simple-login {
        margin-bottom: 20px;
    }
    div.board-sign-find {
        width: 90%;
    }

    div.avatar_drop {
        right: 40%;
    }

    div.board_flex_input {
        flex-direction: column;
        row-gap: 12px;
    }
    div.board_register_form div.board_input {
        width: 100%;
    }
    div.board_register_form div.board_input select,
    div.board_register_form div.board_input textarea,
    div.board_register_form div.board_input input {
        font-size: 14px;
        padding: 14px;
    }
    button.board_map_btn {
        flex: unset;
    }
    div.board_register_form div.board_input span.board_input_title {
        font-size: 14px;
    }
    div.board_register_form div.board_input.board_input_sns {
        width: 100%;
    }
    div.board_flex_input {
        display: grid;
        grid-template-areas:
            "sns add"
            "url url";
    }
    div.board_register_form div.board_input.board_input_sns {
        grid-area: sns;
    }
    div.board_input.board_sns_url {
        grid-area: url;
    }
    div.board_flex_input.board_sns_input {
        grid-area: add;
        width: 100%;
    }
    div.board_flex_input.board_sns_input {
        row-gap: 12px;
    }
    div.cropped_results {
        grid-template-columns: repeat(3, 1fr);
    }
    div.board_register_btn {
        margin-top: 8px;
    }
    div.board_register_btn button {
        width: 100%;
    }

    .popup-content.register-popup {
        height: auto;
        max-width: 90%;
        padding: 20px;
    }
    .popup-content.register-popup .swiper-slide {
        padding: 0;
    }

    div.avatar_iamge {
        width: 36px;
        height: 36px;
    }
    div.layer_content.trip_list_layer {
        height: auto;
    }

    div.board_register_date_select {
        flex-direction: column;
    }
    div.board_register_date_select.hidden {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    div.management_tab ul {
        overflow-x: scroll;
        padding-bottom: 20px;
    }
    div.management_tab ul li {
        min-width: fit-content;
    }
    div.management_tab ul li a {
        width: 100%;
        font-size: 16px;
        padding: 8px;
    }

    div.board {
        margin-top: 8px;
    }

    div.main-category-content {
        flex: unset;
    }
    div.swiper.mySwiper1,
    div.swiper.mySwiper2 {
        display: none;
    }
    select.swiper-to-select {
        display: block;
        width: 100%;
        border-radius: 20px;
        padding: 0.4em;
        font-size: 16px;
        border: 1px solid var(--border-gray-color);
    }
}
@media screen and (max-width: 375px) {
    main.main-contents {
        width: 90%;
    }
    div.main-posts,
    div.main-map {
        flex: unset;
    }
}
