@charset "UTF-8";

/* ========================================================================
共通
======================================================================== */
@import url(../css/component/eventInfoFormTemplate/reset.css);
@import url(../css/component/eventInfoFormTemplate/common.css);
@import url(../css/component/eventInfoFormTemplate/utility.css);
@import url(../css/component/eventInfoFormTemplate/event_form.css);
@import url(../css/component/eventInfoFormTemplate/select.css);
@import url(../css/component/eventInfoFormTemplate/postGallery.css);

:root {
    --color-blue: #1987FF;
    --color-lightskyblue: #A9EDEA;
    /*--color-skyblue: #01AEFB;*/
    --color-skyblue: #76C8FA;
    --color-green: #8CC63F;
    --color-lightgreen: #6CCCCC;
    --color-pink: #FE9FBB;
    --color-orange: #FF9B00;
    --color-navy: #3E4A9A;
    --color-turquoise: #00A7C2;
    --color-black: #3E434D;
    --color-darkgrey: #808080;
    --color-midgrey: #999999;
    --color-grey: #E6E6E6;
    --color-lightgrey: #F2F2F2;
}

body {
    color: var(--color-black);
}

.scrollTop {
    z-index: 10;
}

.sp_size {
    display: none !important;
}

.mv {
    text-align: center;
    position: relative;
    background: var(--color-lightskyblue);
    overflow: hidden;
}

.mv img {
    margin: auto;
}

.cosme_bg {
    /*background-color: #ffd9d966;
    background-image: repeating-linear-gradient(45deg, #d7084d1c, #d7084d1c 20px, transparent 20px, transparent 40px), repeating-linear-gradient(-45deg, #d7084d1c, #d7084d1c 20px, transparent 20px, transparent 40px);
    background-size: 100% 453px;
    background-position: top;*/
    background: linear-gradient(var(--color-lightskyblue), #ffdde7);
    padding: 0 0 80px;
}

/*------------ タクソノミー ------------*/
.taxWrap {
    background: #FFF;
    padding: 31px 20px;
    margin-bottom: 20px;
}

.post-type-archive-cosme .taxWrap,
.tax-cosme_cat .taxWrap {
    margin-bottom: 20px;
}

.single-cosme .taxWrap {
    margin-bottom: 60px;
}


.taxTypeInner {
    max-width: 880px;
    margin: 0 auto;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

.taxTypeLinkList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin: 0 0 20px;
}

.taxTypeLinkList li {
    text-align: center;
}

.taxTypeBtn {
    display: block;
    position: relative;
}

.taxTypeBtn::after {
    display: block;
    content: "";
    width: 100%;
    height: 7px;
    background: #F2F2F2;
    margin-top: 5px;
    border-radius: 30px;
    transition: background .3s ease;
}

.taxTypeBtn img {
    display: block;
    width: auto;
    max-height: 25px;
    margin: 0 auto;
}

.taxTypeLinkList li .taxTypeBtn.is-current::after,
.taxTypeLinkList li .taxTypeBtn:hover::after {
    background: var(--color-blue);
}

.taxTypeBtn.Btnlip {
    color: #fe9fbb;
}

.taxTypeLinkList li .taxTypeBtn.Btnlip.is-current::after,
.taxTypeLinkList li .taxTypeBtn.Btnlip:hover::after {
    background: #fe9fbb;
}

.taxTypeBtn.Btnface {
    color: #ff9b00;
}

.taxTypeLinkList li .taxTypeBtn.Btnface.is-current::after,
.taxTypeLinkList li .taxTypeBtn.Btnface:hover::after {
    background: #ff9b00;
}

.taxTypeBtn.Btneye {
    color: #a3ce3f;
}

.taxTypeLinkList li .taxTypeBtn.Btneye.is-current::after,
.taxTypeLinkList li .taxTypeBtn.Btneye:hover::after {
    background: #a3ce3f;
}


.taxTypeBtn.Btnskincare {
    color: #646eae;
}

.taxTypeLinkList li .taxTypeBtn.Btnskincare.is-current::after,
.taxTypeLinkList li .taxTypeBtn.Btnskincare:hover::after {
    background: #646eae;
}


.taxTypeBtn.Btnother {
    color: #6ccccc;
}

.taxTypeLinkList li .taxTypeBtn.Btnother.is-current::after,
.taxTypeLinkList li .taxTypeBtn.Btnother:hover::after {
    background: #6ccccc;
}



.taxTypeBtn span {
    margin-left: 8px;
}



/*------------ ボード ------------*/
.board {
    position: relative;
    padding: 34px 19px 50px;
    border-radius: 15px;
    background-color: #fff;
}

/*
.board.small_br {
    border-bottom-right-radius: 41px;
}*/
/*
.board::before {
    content: '';
    width: 100%;
    height: 27px;
    top: -15px;
    left: 0;
    position: absolute;
    background-image: url(../images/kenkyu_square/board_tl_blue.svg), url(../images/kenkyu_square/board_tr_blue.svg);
    background-position: left 10px top, right 10px top, right bottom;
    background-repeat: no-repeat;
    pointer-events: none;
}

.board.blue::before {
    background-image: url(../images/kenkyu_square/board_tl_blue.svg), url(../images/kenkyu_square/board_tr_blue.svg);
}

.board.green::before {
    background-image: url(../images/kenkyu_square/board_tl_green.svg), url(../images/kenkyu_square/board_tr_green.svg);
}

.board.pink::before {
    background-image: url(../images/kenkyu_square/board_tl_pink.svg), url(../images/kenkyu_square/board_tr_pink.svg);
}

.board.orange::before {
    background-image: url(../images/kenkyu_square/board_tl_orange.svg), url(../images/kenkyu_square/board_tr_orange.svg);
}

.board.navy::before {
    background-image: url(../images/kenkyu_square/board_tl_navy.svg), url(../images/kenkyu_square/board_tr_navy.svg);
}

.board.turquoise::before {
    background-image: url(../images/kenkyu_square/board_tl_turquoise.svg), url(../images/kenkyu_square/board_tr_turquoise.svg);
}

.board::after {
    content: '';
    width: 100%;
    height: 59px;
    top: auto;
    bottom: 0;
    left: 0;
    position: absolute;
    background-image: url(../images/kenkyu_square/board_br.svg);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}*/

.board.small_br::after {
    height: 32px;
}

.board_h {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #FFF;
    padding: 7px 7px 7px;
    margin: 0 0 35px;
    border-radius: 8px;
}

.lightgreen .board_h {
    background: var(--color-lightgreen);
}

.green .board_h {
    background: var(--color-green);
}

.pink .board_h {
    background: var(--color-pink);
}

.orange .board_h {
    background: var(--color-orange);
}

.navy .board_h {
    background: var(--color-navy);
}

.turquoise .board_h {
    /*background: var(--color-turquoise);*/
    background: #6ccccc;
}

/*------------------- セレクトボックス --------------*/
#sort-form {
    text-align: right;
    margin-bottom: 20px;
}

#sort-select {
    appearance: none;
    /* 初期の矢印を非表示にする */
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 50px 12px 20px;
    /* アイコン表示スペースを確保 */
    border: 1px solid #B3B3B3;
    border-radius: 9999px;
    background-color: #fff;
    /*background-image: url('../images/cosme/arrow-down.svg');*/
    background-image: url('../images/cosme/arrow-down_pink.svg');
    /* 下矢印アイコンのパスを指定 */
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.3s;
    color: #222;
}

.orange #sort-select {
    background-image: url('../images/cosme/arrow-down_orange.svg');
}

.lightgreen #sort-select {
    background-image: url('../images/cosme/arrow-down_lightgreen.svg');
}

.navy #sort-select {
    background-image: url('../images/cosme/arrow-down_navy.svg');
}

.turquoise #sort-select {
    background-image: url('../images/cosme/arrow-down_turquoise.svg');
}

#sort-select:focus {
    border-color: #999;
    outline: none;
}


.listTtl {
    text-align: center;
    margin: 22px 0 0;
}

.listTtl img {
    margin: auto;
    max-width: 570px;
    width: 100%;
    height: 163px;
}

.listTtl.cate {
    max-width: 415px;
    margin: 50px auto 40px auto;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    color: #FFF;
    padding: 7px 7px 7px;
    /*margin: 0 0 35px;*/
    border-radius: 8px;
    background: #fe9fbb;
}

.postListArchive {
    display: flex;
    flex-wrap: wrap;
    max-width: 841px;
    padding: 0;
    margin: 36px auto 36px;
}


.postListArchive .postItem {
    width: 47.2%;
}

.postListArchive .postItem:nth-child(odd) {
    margin-right: auto;
}

.postItem {
    list-style: none;
    margin-bottom: 35px;
    position: relative;
}

.icon_star {
    display: block;
    position: absolute;
    top: -11px;
    left: -13px;
    width: 30px;
    z-index: 10;
}

.postItem:last-child {
    margin-bottom: 0;
}

.postItem a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    transition: opacity .3s ease;
}

.postThumb {
    width: 100px;
    margin-right: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.postThumb picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.postText {
    width: calc(100% - 120px);
}

.postTtl {
    font-weight: 600;
    padding: 0 23px 5px 0;
    margin: 0 0 5px;
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.blue .postTtl {
    color: var(--color-skyblue);
}

.pink .postTtl {
    color: var(--color-pink);
}

.lightgreen .postTtl {
    /*color: var(--color-lightgreen);*/
    color: #a3ce3f;
}

.orange .postTtl {
    color: var(--color-orange);
}

.navy .postTtl {
    color: var(--color-navy);
}

.turquoise .postTtl {
    /*color: var(--color-turquoise);*/
    color: #6ccccc;
}


/*.term-lip .postTtl{
	color:#fe9fbb;
}

.term-eye .postTtl {
    color:#a3ce3f;
}

.term-face .postTtl {
    color: #ff9b00;
}

.term-skin_care .postTtl {
    color: #646eae;
}

.term-other .postTtl{
	color: #6ccccc;
}*/

.postTtl::before {
    position: absolute;
    content: "";
    /*width: 16px;
    height: 16px;*/
    width: 15px;
    height: 15px;
    background-color: var(--color-midgrey);
    background-image: url(../images/kenkyu_square/arrow_r_white.svg);
    background-repeat: no-repeat;
    background-size: 6px 7px;
    background-position: center right 3px;
    border-radius: 50%;
    top: 42%;
    right: 0;
    transform: translateY(-50%);
}

.blue .postTtl::before {
    background-color: var(--color-skyblue);
}

.pink .postTtl::before {
    background-color: var(--color-pink);
}

.lightgreen .postTtl::before {
    /*background-color: var(--color-lightgreen);*/
    background-color: #a3ce3f;
}

.orange .postTtl::before {
    background-color: var(--color-orange);
}

.navy .postTtl::before {
    background-color: var(--color-navy);
}

.turquoise .postTtl::before {
    /*background-color: var(--color-turquoise);*/
    background-color: #6ccccc;
}


.term-lip .postTtl::before {
    background-color: #fe9fbb
}

.term-face .postTtl::before {
    background-color: #ff9b00;
}

.term-eye .postTtl::before {
    background-color: #a3ce3f;
}

.term-skin_care .postTtl::before {
    background-color: #646eae;
}

.term-other .postTtl::before {
    background-color: #6ccccc;
}

.postTtl::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: #B3B3B3;
    bottom: 0;
    left: 0;
    border-radius: 5px;
}

.postTtl span {
    /*border: 1px solid var(--color-skyblue);*/
    border: 1px solid var(--color-pink);
    border-radius: 3px;
    padding: 1px 5px;
    font-size: 12px;
    margin-left: 8px;
    margin: 2px 2px 2px 8px;
}


.blue .postTtl span {
    border: 1px solid var(--color-skyblue);
}

.pink .postTtl span {
    border: 1px solid var(--color-pink);
}

.lightgreen .postTtl span {
    /*color: var(--color-lightgreen);*/
    border: 1px solid #a3ce3f;
}

.orange .postTtl span {
    border: 1px solid var(--color-orange);
}

.navy .postTtl span {
    border: 1px solid var(--color-navy);
}

.turquoise .postTtl span {
    /*color: var(--color-turquoise);*/
    border: 1px solid #6ccccc;
}

.postInfo {
    font-size: 12px;
}

.postDate {
    padding-right: 5px;
}

.cosme-recommend {
    color: #ff9a00;
}

.stars .star.full {
    color: #f5c518;
}

.stars .star.half {
    background: linear-gradient(90deg, #f5c518 55%, #ddd 45%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stars .star.empty {
    color: #ccc;
}

/* hover */
.postItem a:hover {
    opacity: .7;
}


/*------------ 投稿件数 ------------*/
.postCount {
    font-size: 12px;
    text-align: right;
    padding: 0 34px;
    margin: 0 0 10px;
}

/*------------ ページネーション ------------*/
.paging_wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 33px;
    margin: 0 0 26px;
}

.green .paging_wrap>a:first-child,
.green .paging_wrap>a:last-child {
    color: var(--color-green);
}

.pink .paging_wrap>a:first-child,
.pink .paging_wrap>a:last-child {
    color: var(--color-pink);
}

.orange .paging_wrap>a:first-child,
.orange .paging_wrap>a:last-child {
    color: var(--color-orange);
}

.navy .paging_wrap>a:first-child,
.navy .paging_wrap>a:last-child {
    color: var(--color-navy);
}

.turquoise .paging_wrap>a:first-child,
.turquoise .paging_wrap>a:last-child {
    color: var(--color-turquoise);
}

.paging_wrap>span:first-child,
.paging_wrap>span:last-child {
    font-size: 14px;
    color: var(--color-skyblue);
}

.page-numbers {
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    border: 1px solid var(--color-skyblue);
    color: #FFF;
    background: var(--color-skyblue);
    min-width: 12px;
    padding: 0 4px;
    margin: 0 3px;
    border-radius: 3px;
    transition: all .3s ease;
    box-sizing: border-box;
    position: relative;
}

.page-numbers.current {
    border-color: var(--color-skyblue);
    color: var(--color-skyblue);
    background: #FFF !important;
    opacity: 1 !important;
}

.green .page-numbers {
    border-color: var(--color-green);
    color: #FFF;
    background: var(--color-green);
}

.pink .page-numbers {
    border-color: var(--color-pink);
    color: #FFF;
    background: var(--color-pink);
}

.orange .page-numbers {
    border-color: var(--color-orange);
    color: #FFF;
    background: var(--color-orange);
}

.navy .page-numbers {
    border-color: var(--color-navy);
    color: #FFF;
    background: var(--color-navy);
}

.turquoise .page-numbers {
    border-color: var(--color-turquoise);
    color: #FFF;
    background: var(--color-turquoise);
}

.green .page-numbers.current {
    color: var(--color-green);
}

.pink .page-numbers.current {
    color: var(--color-pink);
}

.orange .page-numbers.current {
    color: var(--color-orange);
}

.navy .page-numbers.current {
    color: var(--color-navy);
}

.turquoise .page-numbers.current {
    color: var(--color-turquoise);
}

.next.page-numbers,
.prev.page-numbers {
    background: none;
    border: none;
    color: var(--color-skyblue);
    font-size: 14px;
    font-weight: 400;
    text-decoration: underline;
}

/* hover */
.paging_wrap>a:first-child:hover,
.paging_wrap>a:last-child:hover {
    text-decoration: none;
}

.page-numbers:hover {
    opacity: .7;
}

/*------------ トップへもどるボタン ------------*/
.back-to-top,
.back-to-item {
    text-align: center;
    padding: 40px 0;
    margin: auto;
}

.back-to-item {
    display: none;
}

.mw_wp_form_complete~.back-to-item {
    display: block;
}

.back-to-top a,
.back-to-item a {
    font-size: 22px;
    display: block;
    width: 100%;
    max-width: 490px;
    padding: 13px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    background: #76c8fa;
    border-radius: 6px;
    box-shadow: 0 0.3em 0 0 #3ca8d3;
    position: relative;
}

.back-to-item a {
    font-size: 1.1em;
    max-width: 300px;
}

.back-to-top a:hover,
.back-to-item a:hover {
    top: 0.2em;
    box-shadow: 0 0.1em 0 0 #3ca8d3;
}

a.taglist_btn {
    /*color: #00aefc;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    display: block;
    padding: 9px;
    border: solid 3px #00aefc;
    max-width: 300px;
    border-radius: 10vh;
    margin-top: 45px;*/
    max-width: 480px;
    padding: 8px 0;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    background: #fe9fbb;
    border-radius: 6px;
    box-shadow: 0 0.3em 0 0 #dd7397;
    position: relative;
    margin: 20px auto 0 auto;
}

a.taglist_btn:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1em;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 13px solid #fff;
    transform: translateY(-50%);
    z-index: 1;
}

a.taglist_btn:hover {
    /*opacity: .7;*/
    top: 0.2em;
    box-shadow: 0 0.1em 0 0 #dd7397;
}

/* ========================================================================
archive-cosme.php
======================================================================== */
.topMessage {
    font-size: 20px;
    text-align: center;
    max-width: 778px;
    padding: 0 20px;
    margin: 30px auto 40px;
}

.topMessage p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
}

.topMessage_text {
    line-height: 2;
    margin-top: 1.5em;
}

.topMessage_note {
    font-size: max(0.8em, 12px);
    margin-top: 1.5em;
}

.topMessage_note a {
    text-decoration: underline;
}

.taxTypeBtn {
    font-size: 26px;
    font-weight: 600;
    color: var(--color-skyblue);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}


.cosmeResult {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 40px;
}

.cosmeResultL {
    width: 48.25%;
}

.cosmeResultR {
    width: 48.25%;
}

.cosmeResultR .board:not(:last-child) {
    margin-bottom: 32px;
}

.postList {
    padding: 0 11px;
}

/* ========================================================================
form
======================================================================== */
.form_bord {
    margin: 0 auto;
    text-align: center;
}


.form_ttl {
    padding: 12px 20px;
    text-align: center;
    background: var(--color-pink);
    font-weight: bold;
    color: #fff;
    font-size: 1.4em;
    margin: 0 auto 40px;
    max-width: 600px;
    border-radius: 8px;
}

.form_wrap {
    width: 100%;
    max-width: 90%;
    margin: auto;
    text-align: left;
}

.have-error {
    text-align: left;
    padding: 0 80px;
    margin: 0 auto 20px;
    line-height: 2.0rem;
    font-weight: bold;
}

.error_ttl,
.confirm_ttl,
.complete_ttl {
    color: #fe8596;
    font-size: 1.2em;
    line-height: 1.8;
    margin: 15px 0 15px 0;
    font-weight: bold;
    text-align: center;
}

.confirm_ttl {
    display: none;
}

.mw_wp_form_preview .confirm_ttl {
    display: block;
}

.error_list {
    padding-left: 32px;
}

.error_list_ttl {
    position: relative;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    /*color: var(--color-skyblue);*/
    padding-left: 30px;
}

.error_list_ttl:before {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 25px;
    height: 25px;
    background: url(../images/cosme/form_error.svg) no-repeat left center;
    background-size: cover;
}

.error_list li {
    list-style-type: disc;
    /*color: var(--color-skyblue);*/
    color: #1987ff;
    font-size: 19px;
}



.form_bord .form_heading {
    display: inline-block;
    padding: 6px 25px;
    text-align: center;
    background: #fff;
    border: 3px solid #00AEFC;
    font-weight: bold;
    color: #00AEFC;
    font-size: 18px;
    margin: 30px auto;
}

/*.form_bord .form_note {
    padding: 0 60px;
    margin: 0 auto 30px;
    line-height: 2.0rem;
}*/

.posts_form table {
    margin: 23px auto;
    width: 100%;
}

.posts_form table th,
.posts_form table td {
    font-size: 18px;
    letter-spacing: 1px;
    line-height: 1.6rem;
    font-weight: normal;
    padding: 20px 20px 16px 0;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.posts_form table th {
    width: 220px;
    font-weight: 700;
    text-align: center;
}

.posts_form table td {
    font-size: 16px;
    vertical-align: top;
    text-align: left;
}

.posts_form table .picture {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 13px;
}

.posts_form table .picture::file-selector-button {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 16px;
    font-weight: 400;
    border: 1px solid #222222;
    background-color: transparent;
    padding: 8px 16px;
    text-align: center;
}

.form_table label {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    line-height: 1.2rem !important;
}

.form_table label input {
    position: absolute;
    /*top: 4px;*/
    left: 0;
    cursor: pointer;
    padding-right: 8px !important;
}

.mwform-radio-field label span {
    margin-right: 15px;
}

.form_table input:not([type="file"]) {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    border-radius: 0.1em;
    border: 1px solid #ccc;
    padding: 11px 15px;
}

.posts_form table input:placeholder-shown,
.posts_form table textarea:placeholder-shown {
    background: #E5EFF6;
}

.posts_form table td textarea {
    width: 100%;
    min-height: 150px;
    padding: 11px 15px;
    border: 1px solid #D5D5D5;
    box-sizing: border-box;
    resize: vertical;
    overflow: auto;
}

.form_table select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    padding-left: 11px 15px;
    width: 100%;
    padding: 1em;
    background: url(/wp/img/reading_notes/top/angles-down-solid.svg) right 10px center / 1em auto no-repeat, #fff;
    border-radius: 0.1em;
    border: 1px solid #ccc;
}

.form_table input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: none;
}

.form_table input[type=radio]+span:before {
    font-family: "Font Awesome 5 Free";
    content: "\f111";
    margin-right: 0.5em;
    font-weight: 400;
    color: #00AEFC;
}

.form_table input[type=radio]:checked+span:before {
    content: "\f192";
    font-weight: 400;
}

.form_table .required {
    font-size: 0.8em;
    background: #da0000;
    color: #fff;
    padding: 0.1em 0.5em;
    border-radius: 9999px;
    margin-left: 1em;
}

span.note {
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.68px;
    line-height: 1.2rem;
    margin-bottom: 5px;
    padding-top: 5px;
}

.mw_wp_form_preview span.note {
    display: none;
}

.mw_wp_form .horizontal-item+.horizontal-item {
    margin-left: 0px !important;
}

.mw_wp_form .error {
    display: inline !important;
}

#form_btn {
    display: flex;
    justify-content: center;
    max-width: 550px;
    margin: auto;
}

#form_btn br {
    display: inline;
}

.form_btn_primary {
    font-size: 20px;
    display: block;
    width: 100%;
    max-width: 490px;
    padding: 12px;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    background: #00AEFC;
    border-radius: 6px;
    box-shadow: 0 0.3em 0 0 rgba(39, 108, 170, 1);
    position: relative;
}

.form_btn_primary::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1em;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 13px solid #fff;
    transform: translateY(-50%);
    z-index: 1;
}

.form_btn_primary:hover {
    top: 0.2em;
    box-shadow: 0 0.1em 0 0 rgba(39, 108, 170, 1);
}

.form_btn_primary.posts {
    max-width: 400px;
    background: #fe8596;
    box-shadow: 0 0.3em 0 0 rgba(170, 39, 77, 1);
}

.form_btn_primary.posts:hover {
    top: 0.2em;
    box-shadow: 0 0.1em 0 0 rgba(170, 39, 77, 1);
    background: #fe8596;
}

.form_btn_primary.posts:hover {
    top: 0.2em;
    box-shadow: 0 0.1em 0 0 rgba(170, 39, 77, 1);
}

.form_btn_primary.back {
    max-width: 400px;
}

.form_btn_primary.back::before {
    left: 1em;
    right: auto;
    border-right: 13px solid #fff;
    border-left: none;
}

.mw_wp_form .error-area .error,
.mw_wp_form .error-area .have-error {
    display: none;
}

.mw_wp_form .error-area .error~.have-error {
    display: block;
}

.form-global-error {
    background: #fce4e4;
    padding: 30px 40px;
    margin-bottom: 30px;
    border-radius: 5px;
    font-weight: bold;
    display: none;
}

.form_dl dd input[name="item_name"][readonly] {
    border: none;
    background-color: transparent;
    outline: none;
    box-shadow: none;
    pointer-events: none;
}

.scroll_hidden {
  overflow: hidden;
}

.cosme_howto_btn {
	color: #76c8fa;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    display: block;
    padding: 9px;
    border: solid 3px #76c8fa;
    max-width: 450px;
    border-radius: 10vh;
    margin-top: 5px;
	transition: all .3s ease;
}

.cosme_howto_btn:hover {
	opacity: .7;
}

/* モーダル全体を画面中央にフレックス配置 */
#img-modal.js-modal {
  display: flex;              
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  background: rgba(169,237,234,0.9);
  align-items: center;
  justify-content: center;
}

/* js-modal-open などで表示切り替え */
#img-modal.js-modal.is-open {
  display: flex;
}

/* フレーム部分 */
.modal-content {
  display: inline-block;       /* 中身の幅にフィット */
  padding: 35px;               /* お好みの余白 */
  background: #fff;
  border-radius: 30px;
  /*box-shadow: 0 0 20px rgba(0,0,0,0.1);*/
  max-width: 75vw;             /* 横ビューポート90%以内 */
	max-height: 90vh;            /* 縦ビューポート90%以内 */
  overflow: auto;              /* 画像が大きい場合はスクロール */
  position: relative;          /* ×ボタン配置のため */
}

/* 画像をブロック要素にして余白をなくし、比率維持 */
.modal-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80vh;            /* 高さが画面をはみ出さない */
}

/* 閉じるボタンの位置例 */
.modal-close-btn {
  position: absolute;
  top: 0;
  right: 8px;
  background: transparent;
  border: none;
  font-size: 3.5rem;
	color: #76c8fa;
  cursor: pointer;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {

    /* ========================================================================
	共通
	======================================================================== */
    .pc_size {
        display: none !important;
    }

    .sp_size {
        display: block !important;
    }

    /* アコーディオン */
    .taxTypeInner.accordion {
        border-radius: 6px;
        box-shadow: 0 0.3em 0 0 #3ca8d3;
    }

    .taxGradeInner.accordion {
        border-radius: 6px;
        box-shadow: 5px 5px 0px 0px #3ca8d3;
    }

    .accordion-header {
        position: relative;
        display: block;
        padding: 7px;
        color: #fff;
        font-size: 17px;
        /*font-weight: 500;*/
        text-align: center;
        background: #76c8fa;
        border-radius: 6px;
        margin: 20px 0 0;
        font-weight: bold;
    }

    .accordion-header.active {
        border-radius: 10px 10px 0 0;
    }

    .accordion-header::before,
    .accordion-header::after {
        position: absolute;
        content: '';
        top: 0;
        right: 20px;
        bottom: 0;
        width: 13px;
        height: 3px;
        margin: auto;
        background: #FFFFFF;
        border-radius: 2px;
    }

    .accordion-header::after {
        transform: rotate(-90deg);
        transition: transform 0.3s;
    }

    .accordion-header.active::after {
        transform: rotate(0deg);
    }

    .accordion-content {
        background-color: #FFF;
        padding: 0;
    }

    .accordion-header span,
    .accordion-content span {
        position: relative;
    }

    .accordion-header span::before {
        position: absolute;
        content: "";
        top: 2px;
        left: 0;
        color: #151E2F;
        font-size: 17px;
    }


    .accordion-content span::before {
        position: absolute;
        content: "";
        top: 3px;
        left: 0;
        color: #151E2F;
        font-size: 17px;
    }

    .taxGradeLinkList {
        display: block;
        align-items: center;
        padding: 0;
        margin: 0;
        background: #FFFFFF;
        border-radius: 0 0 6px 6px;
        border: solid 2px #76c8fa;
    }

    .taxTypeLinkList li:hover {
        background: #f2f2f2;
    }


    .taxGradeLinkList li:hover {
        background: #f2f2f2;
    }

    .taxWrap_sp {
        background: #fff;
        padding-bottom: 60px;
        margin-bottom: 20px;
    }

    .taxWrap {
        background: none;
        padding: 20px 0;
        margin-bottom: 10px;
    }

    .single-cosme .taxWrap {
        margin-bottom: 20px;
    }

    .post-type-archive-cosme .taxWrap,
    .tax-cosme_cat .taxWrap {
        margin-bottom: 10px;
    }

    .taxTypeLinkList {
        display: block;
        background: #fff;
        border-radius: 0 0 6px 6px;
        border: solid 2px #76c8fa;
    }

    .taxTypeLinkList li,
    .taxGradeLinkList li {
        border-bottom: solid 2px #76c8fa;
    }

    .taxTypeLinkList li:last-child,
    .taxGradeLinkList li:last-child {
        border-bottom: 0;
    }


    .taxTypeBtn::after {
        display: none;
    }

    .taxTypeBtn {
        padding: 5px 0;
        font-size: 17px;
        display: block;
    }

    .taxTypeBtn span {
        margin-left: 0;
    }

    .taxTypeBtn.Btnlip span:after {
        content: "";
        position: absolute;
        background: url(../images/cosme/taxType_lip.svg) no-repeat;
        width: 9px;
        height: 25px;
        left: -31px;
    }

    .taxTypeBtn.Btnface span:after {
        content: "";
        position: absolute;
        background: url(../images/cosme/taxType_face.svg) no-repeat;
        width: 19px;
        height: 25px;
        left: -30px;
    }

    .taxTypeBtn.Btneye span:after {
        content: "";
        position: absolute;
        background: url(../images/cosme/taxType_eye.svg) no-repeat;
        width: 30px;
        height: 25px;
        left: -52px;
    }

    .taxTypeBtn.Btnskincare span:after {
        content: "";
        position: absolute;
        background: url(../images/cosme/taxType_skincare.svg) no-repeat;
        width: 9px;
        height: 25px;
        left: -16px;
    }

    .taxTypeBtn.Btnother span:after {
        content: "";
        position: absolute;
        background: url(../images/cosme/taxType_other.svg) no-repeat;
        width: 13px;
        height: 25px;
        left: -36px;
    }

    .taxGradeBtn {
        padding: 5px 0;
        width: 100%;

    }

    .taxGradeBtn:hover {
        color: #222222;
    }

    .is-current {
        background: #F2F2F2;
    }


    a.taglist_btn {
        max-width: 100%;
        padding: 7px;
        margin: 0 auto;
        font-size: 17px;
        text-align: center;
    }



    /*------------------- セレクトボックス --------------*/
    #sort-select {
        padding: 12px 50px 12px 20px;
        width: 100%;
        font-size: 15px;
    }

    /*------------ 投稿件数 ------------*/
    .postCount {
        padding: 0 15px;
    }

    .postListArchive {
        padding: 0 11px;
        margin: 20px auto;
    }

    .postListArchive .postItem {
        width: 100%;
    }

    .postItem a {
        display: flex;
        padding: 0;
    }

    .paging_wrap {
        padding: 0 11px;
        margin: 0;
    }

    /*------------ トップへもどるボタン ------------*/
    .back-to-top,
    .back-to-item {
        margin: 60px 0;
        padding: 0 20px;
    }

    .back-to-top a,
    .back-to-item a {
        width: 100%;
        max-width: 90%;
        font-size: 14px;
    }

    .back-to-top,
    .back-to-item {
        margin: 40px 0;
    }

    .sp_cosmebottom_img.sp_size {
        margin: 60px 0 0 0;
        padding: 0 20px;
    }

    /* 	error */

    .form-global-error {
        padding: 20px;
    }

    .have-error {
        padding: 0;
        line-height: 1.4rem;
        text-align: center;
    }

    .error_ttl,
    .confirm_ttl,
    .complete_ttl {
        font-size: 16px;
        margin-top: 0;
        margin-bottom: 10px;
        line-height: 1.8;
    }

    .error_list_ttl {
        position: relative;
        font-size: 15px;
        display: inline-block;
        margin-bottom: 10px;
    }

    .error_list_ttl::before {
        background-size: 23px 23px;
        top: -2px;
    }

    .error_list {
        padding-left: 15px;
        text-align: left;
    }

    .error_list li {
        font-size: 15px;
    }

    .bnrSns {
        padding-top: 0;
    }

    /* ========================================================================
	archive-cosme.php
	======================================================================== */

    .topMessage {
        max-width: 100%;
    }

    .topMessage {
        margin: 0;
    }

    .topMessage p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .topMessage_catch {
        padding: 25px 0 0;

    }

    .cosmeResultL {
        display: block;
        width: 100%;
    }

    .cosmeResultR {
        display: block;
        width: 100%;
        margin-top: 30px;
    }

    .board {
        padding: 25px 10px 50px;
    }

    .board_h {
        font-size: 17px;
        margin: 0 0 20px;
        padding: 8px 8px;
    }

    .postItem {
        margin-bottom: 20px;
    }

    .postThumb {
        width: 80px;
        margin-right: 10px;
    }

    .postText {
        width: calc(100% - 90px);
    }

    .postTtl {
        /*font-weight: 500;*/
        font-size: 16px;
        padding: 0 23px 4px 0;
        margin: 0 0 4px;
        line-height: 1.3;
    }

    .postTtl::before {
        width: 13px;
        height: 13px;
        background-size: 6px 7px;
    }

    .postInfo {
        font-size: 11px;
    }

    .postSend_recruitment a {
        border-radius: 15px 15px 36px 15px;
    }

    .postSend_recruitment::after {
        content: '';
        width: 50%;
        height: 200px;
        bottom: -36px;
        transform: translateX(-50%);
        position: absolute;
        background-image: url(../images/kenkyu_square/img-recruitmentBtn_hiyorin_sp.svg);
        background-position: bottom;
        background-size: contain;
        background-repeat: no-repeat;
        pointer-events: none;
        z-index: 10;
    }

	/* フレーム部分 */
	.modal-content {
	  padding: 15px;               /* お好みの余白 */
	  border-radius: 12px;
	  max-width: 80vw;             /* 横ビューポート90%以内 */
	  max-height: 80vh;            /* 縦ビューポート90%以内 */
	}
	
    /* ========================================================================
form
======================================================================== */
    .form_wrap table th,
    .form_wrap table td {
        display: block;
    }

    .form_wrap {
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .form_ttl {
        font-size: 17px;
        margin: 0 0 20px 0;
        padding: 8px 20px;
    }

    .form_bord .form_heading {
        font-size: 15px;
        margin: 10px auto 5px;
    }

    .form_bord .form_note {
        padding: 0;
        font-size: 14px;
        line-height: 1.2rem;
        margin: 0 auto 10px;
    }

    .posts_form table th {
        width: 100%;
        border-style: none;
        padding: 15px 0 10px 0;
        text-align: left;
    }

    .posts_form table td {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        font-size: 13px;
        vertical-align: top;
        padding: 0 0 15px;
        text-align: left;
    }

    .posts_form table th,
    .posts_form table td {
        font-size: 16px;
        line-height: 1.5rem;
    }

    .form_table input[type="text"] {
        width: 100%;
        font-size: 15px;
    }

    .form_table input:not([type="file"]) {
        padding: 9px 9px 10px;
    }

    .posts_form table {
        margin: 10px auto;
    }

    .posts_form table .picture {
        font-size: 11px;
    }

    .posts_form table .picture::file-selector-button {
        font-size: 13px;
        padding: 4px 8px;
    }

    .posts_form table td textarea {
        width: 100%;
        margin: 0;
        font-size: 15px;
    }

    .form_btn_primary {
        font-size: 17px;
        margin-bottom: 25px;
    }

    .form_btn_primary::before {
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 9px solid #fff;
    }

    .form_btn_primary {
        padding: 10px;
    }

}

/*------------ single ------------*/
.type-cosme {
    margin: 30px auto 45px auto;
}

.cosme-photo_slide,
.cosme-photo {
    margin: 0 auto;
    max-width: 400px;
}

.cosme-photo_slide img,
.cosme-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cosme-photo_slide img.js-modal-open,
.cosme-photo img.js-modal-open {
    cursor: pointer;
}


.cosme-photo_slide ul {
    padding: 0;
}

.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 0;
}

.slick-prev::before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    border-left: 3px solid #76c8fa;
    border-bottom: 3px solid #76c8fa;
    transform: rotate(45deg);
    margin: auto;
}

.slick-next::before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    border-right: 3px solid #76c8fa;
    border-bottom: 3px solid #76c8fa;
    transform: rotate(-45deg);
    margin: auto;
}

.slick-prev {
    left: -45px;
}

.slick-next {
    right: -45px;
}



.singlTtl {
    text-align: center;
    font-weight: bold;
    font-size: 1.4em;
    margin: 0 auto 30px auto;
}

.cosme_cat-lip .singlTtl {
    color: #fe9fbb;
}

.cosme_cat-face .singlTtl {
    color: #ff9b00;
}

.cosme_cat-eye .singlTtl {
    color: #a3ce3f;
}

.cosme_cat-skin_care .singlTtl {
    color: #646eae;
}

.cosme_cat-other .singlTtl {
    color: #6ccccc;
}


.singlInfoarea {
    max-width: 830px;
    margin: 60px auto 0 auto;
}

.singlInfo {
    text-align: center;
    margin: 30px auto 0 auto;
}

.singlcate_brandarea {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.singlcate_brand,
.singlcate_sub {
    display: flex;
    align-items: center;
    margin: 0 30px 10px 30px;
}

.singlcate_brand h3,
.singlcate_sub h3 {
    text-align: center;
    box-sizing: border-box;
    margin-right: 8px;
}

.singlcate_brand .brand-list,
.singlcate_sub .tag-list {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.brand-list li,
.tag-list li {
    min-width: 95px;
    margin: 2px 5px;
}

.orange .brand-list li a,
.orange .tag-list li a {
    color: var(--color-orange);
    border: 2px solid var(--color-orange);
}

.lightgreen .brand-list li a,
.lightgreen .tag-list li a {
    color: #a3ce3f;
    border: 2px solid #a3ce3f;
}

.navy .brand-list li a,
.navy .tag-list li a {
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.turquoise .brand-list li a,
.turquoise .tag-list li a {
    color: #6ccccc;
    border: 2px solid #6ccccc;
}

.brand-list li a,
.tag-list li a {
    display: block;
    padding: 4px 23px;
    border: 2px solid #fe9fbb;
    border-radius: 8px;
    color: #fe9fbb;
    box-sizing: border-box;
    text-align: center;
    font-weight: 700;
}

.brand-list li a:hover,
.tag-list li a:hover {
    opacity: .7;
}

.singlcate_brand p,
.singlcate_sub p {
    margin: 0;
}

.postSend_btn {
    display: flex;
    justify-content: center;
    max-width: 490px;
    margin: 40px auto 0 auto;
    grid-gap: 20px;
}

.postSend_btn a {
    font-size: 20px;
    display: block;
    width: 100%;
    padding: 12px;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    background: #fe9fbb;
    border-radius: 6px;
    box-shadow: 0 0.3em 0 0 #dd7397;
    position: relative;
}

.postSend_btn a:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1em;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 13px solid #fff;
    transform: translateY(-50%);
    z-index: 1;
}

.postSend_btn a:hover {
    top: 0.2em;
    box-shadow: 0 0.1em 0 0 #dd7397;
}



/*------------ みんなの感想 ------------*/
.feedback-section {
    max-width: 840px;
    margin: 55px auto 0 auto;
}

.feedback-section .section-title {
    border-top: 1px solid #b3b3b3;
    padding-top: 55px;
}

.school_grade_select {
    padding: 20px 20px 25px 20px;
    background: rgb(118 200 250 / 17%);
    margin-bottom: 50px;
    border-radius: 6px;
}

.school_grade_select h4 {
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 30px;
}

.school_gradeList {
    max-width: 700px;
    display: flex;
    flex-wrap: wrap;
    /* はみ出す場合折り返すなら */
    gap: 20px;
    /* ボタン間のスペース */
    padding: 0;
    margin: 0 auto;
    list-style: none;
}

.school_gradeList li {
    margin: 0;
}

.school_gradeList li a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #fff;
    text-decoration: none;
    color: #76c8fa;
    background: #fff;
    border-radius: 4px;
    font-weight: 700;
}



.school_gradeList li a.on,
.school_gradeList li a:hover {
    background-color: #76c8fa;
    color: #fff;
    border-color: #76c8fa;
}


.section-title {
    text-align: center;
    font-size: 1.4em;
    margin: 55px auto 40px auto;
}

.feedback-list {
    padding: 0;
    margin: 0 auto;
    max-width: 820px;
}

.feedback-item {
    font-size: 16px;
    padding: 30px 60px 30px 60px;
    border-bottom: 1px solid #b3b3b3;
}

.feedback-item:last-child {
    border-bottom: none;
}

.feedback_photo {
    width: 3em;
    display: flex;
    align-items: center;
}

.feedback_top {
    display: flex;
    gap: 0.5em;
}

.feedback_name p {
    margin-top: 0;
}

.feedback-recommend {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.feedback-recommend p {
    margin-top: 0;
}

.feedback-recommend .recommend_star {
    display: flex;
    gap: 0.1em;
}

.feedback_date {
    margin-left: auto;
}

.recommend_star {
    color: #ff9b00;
}

.feedback_bottom {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin-top: -13px;
}

.feedback_text {
    width: 570px;
    margin-right: 15px;
}

.feedback_text p {
    margin-top: 20px;
}

.feedback-Thumb {
    width: 100px;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto;
}

.feedback-Thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}


.feedback-Thumb img.js-modal-open {
    cursor: pointer;
}

.feedback-section .postCount,
.feedback-section .paging_wrap {
    padding: 0;
}


@media screen and (max-width: 767px) {
    .type-cosme {
        margin: 20px auto 30px auto;
        padding: 0 10px;
    }

    .cosme-photo_slide,
    .cosme-photo {
        padding: 0 10px;
    }



    .cosme-photo_slide .cosme-photo {
        max-width: 400px;
    }

    .cosme-photo {
        max-width: 250px;
    }

    .slick-prev {
        left: -22px;
    }

    .slick-next {
        right: -22px;
    }

    .singlTtl {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .singlInfo {
        margin-top: 20px;
    }

    .singlInfoarea {
        max-width: 500px;
        box-sizing: border-box;
        margin-top: 30px;
    }

    .singlcate_brand,
    .singlcate_sub {
        margin: 0;
        width: 100%;
    }

    .singlcate_brand h3,
    .singlcate_sub h3 {
        font-size: 14px;
        padding: 10px 8px;
        text-align: left;
    }

    .singlcate_brand .brand-list li,
    .singlcate_sub .tag-list li {
        min-width: auto;
        padding: 4px 10px;
    }

    .postSend_btn a {
        font-size: 14px;
    }

    .feedback-section {
        margin-top: 40px;
        padding: 0 10px;
    }

    .section-title {
        font-size: 16px;
        margin: 30px auto 10px auto;
    }

    .feedback-section .section-title {
        padding-top: 30px;
        margin: 0 0 20px 0;
    }

    .school_grade_select {
        margin-bottom: 28px;
    }

    .school_grade_select h4 {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .school_gradeList {
        gap: 8px 10px;
    }

    .school_gradeList li a {
        padding: 6px 10px;
    }

    .feedback-item {
        padding: 20px 0;
    }

    .feedback_bottom {
        flex-direction: column-reverse;
        margin-top: 0;
    }

    .feedback-Thumb {
        width: 100%;
        margin: 0;
        margin-top: 10px;
    }

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

    .feedback_text p {
        margin-top: 10px;
    }

}



/* -------------------------
 タグリストエリア
------------------------- */
.taglist .taglist_box {
    width: 100%;
    margin-top: 60px;
}

.taglist .board.blue {
    padding: 50px 80px 50px 80px;
}

.taglist .section {
    margin-bottom: 200px;
    position: relative;
}

.taglist .section-title {
    max-width: 415px;
    text-align: center;
    font-size: 22px;
    margin: 10px auto 60px auto;
    color: #fff;
    font-weight: bold;
    padding: 7px 7px 7px;
    border-radius: 8px;
}

.taglist .section.tag-cate h2 {
    margin-bottom: 20px;
}

.section.tag-cate h2 {
    background: #fe9fbb;
}

.section.tag-brand h2 {
    background: #00AEFC;
}

.taglist .link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.taglist .link-list li a {
    display: inline-block;
    padding: 4px 20px;
    background: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: background 0.3s, color 0.3s;
}


.tag-cate .link-list li a {
    border: 2px solid #fe9fbb;
    color: #fe9fbb;
}

.tag-brand .link-list li a {
    border: 2px solid #00AEFC;
    color: #00AEFC;
}

.tag-cate .link-list li a:hover {
    background: #fe9fbb;
    color: #fff;
}

.tag-brand .link-list li a:hover {
    background: #00AEFC;
    color: #fff;
}

.taglist .link-list li a.wide {
    min-width: 200px;
    text-align: center;
}


/* -------------------------
 サブカテゴリ絞り込み
------------------------- */

.cosme_tag_filter_form {
    text-align: right;
    margin-bottom: 20px;
}

#cosme_tag_filter_form {
    text-align: right;
    margin-bottom: 20px;
}

#cosme_tag_select {
    appearance: none;
    /* 初期の矢印を非表示にする */
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 50px 12px 20px;
    /* アイコン表示スペースを確保 */
    border: 1px solid #B3B3B3;
    border-radius: 9999px;
    background-color: #fff;
    /*background-image: url('../images/cosme/arrow-down.svg');*/
    background-image: url('../images/cosme/arrow-down_pink.svg');
    /* 下矢印アイコンのパスを指定 */
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.3s;
    color: #222;
}

#cosme_tag_select:focus {
    border-color: #999;
    outline: none;
}



/* -------------------------
 レスポンシブ対応
------------------------- */
@media screen and (max-width: 767px) {
    .taglist .board.blue {
        padding: 50px 20px 20px 20px;
    }

    .taglist .taglist_box {
        margin-top: 0;
    }

    .taglist .section {
        margin-bottom: 100px;
    }

    .taglist .section-title {
        font-size: 18px;
        margin: 0 auto 40px auto;
    }

    #cosme_tag_select {
        padding: 12px 50px 12px 20px;
        width: 100%;
        font-size: 15px;
    }

    .taglist .link-list {
        gap: 10px;
    }

    .taglist .link-list li a {
        padding: 5px 10px;
        font-size: 14px;
    }

    .taglist .link-list li a.wide {
        min-width: auto;
    }

    .listTtl {
        margin: 0;
    }

    .listTtl img {
        height: auto;
    }

    .listTtl.cate {
        font-size: 17px;
        margin: 0 auto 30px auto;
        padding: 8px 8px;
    }

}

/* ========================================================================
form　追加 style
======================================================================== */
.form_head {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    /*justify-content: center;
    gap: 20px;*/
    justify-content: space-between;
    /*margin-bottom: 30px;*/
    margin: 0 auto 30px auto;
    /* スマホ対応 */
    position: relative;
    max-width: 900px;
}

.form_deco {
    width: auto;
    height: auto;
}

.form_deco.crown {
    width: 90px;
    /*margin-right: 60px;*/
    margin: auto;
}

.form_deco.cheek {
    width: 150px;
}

.form_title_area {
    text-align: center;
    /*max-width: 400px;*/
    margin: 0 10px;
}



.form_bord {
    margin: 0 auto;
    text-align: center;
}

.form_wrap {
    max-width: 750px;
    margin: 0 auto;
    /*padding: 0 20px;*/
    font-family: "Zen Kaku Gothic Antique", sans-serif;
    color: #333;
}

.form_catch {
    font-size: 18px;
    font-weight: 600;
    color: #76c8fa;
    text-align: center;
    margin-bottom: 10px;
}

.have-error {
    text-align: left;
    padding: 0 80px;
    margin: 0 auto 20px;
    line-height: 2.0rem;
    font-weight: bold;
}



.confirm_ttl {
    display: none;
}

.mw_wp_form_preview .confirm_ttl {
    display: block;
}

.error_list {
    padding-left: 32px;
}

.form_bord .form_heading {
    display: inline-block;
    padding: 6px 25px;
    text-align: center;
    background: #fff;
    border: 3px solid #00AEFC;
    font-weight: bold;
    color: #00AEFC;
    font-size: 18px;
    margin: 30px auto;
}

.form_note {
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5rem;
    margin: 25px 0px 40px;
}

span.note {
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.68px;
    line-height: 1.2rem;
    margin-bottom: 5px;
    padding-top: 5px;
}

th.has-note {
    position: relative;
}

th.has-note .required {
    display: inline-block;
    margin-left: 8px;
    /* 任意 */
    color: #ff1493;
}

.note.right {
    float: right;
    font-size: 12px;
    color: #444;
}

.mw_wp_form_preview span.note {
    display: none;
}

.mw_wp_form .horizontal-item+.horizontal-item {
    margin-left: 0px !important;
}

.mw_wp_form .error {
    display: inline !important;
}

.form_btn_primary {
    font-size: 20px;
    display: block;
    width: 100%;
    max-width: 490px;
    padding: 12px;
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    background: #00AEFC;
    border-radius: 6px;
    box-shadow: 0 0.3em 0 0 rgba(39, 108, 170, 1);
    position: relative;
}

.form_btn_primary::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 1em;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 13px solid #fff;
    transform: translateY(-50%);
    z-index: 1;
}

.form_btn_primary:hover {
    top: 0.2em;
    box-shadow: 0 0.1em 0 0 rgba(39, 108, 170, 1);
}

.form_btn_primary.posts {
    max-width: 400px;
    background: #fe8596;
    box-shadow: 0 0.3em 0 0 rgba(170, 39, 77, 1);
}

.form_btn_primary.posts:hover {
    top: 0.2em;
    box-shadow: 0 0.1em 0 0 rgba(170, 39, 77, 1);
}

.form_btn_primary.back {
    max-width: 400px;
}

.form_btn_primary.back::before {
    left: 1em;
    right: auto;
    border-right: 13px solid #fff;
    border-left: none;
}

.mw_wp_form .error-area .error,
.mw_wp_form .error-area .have-error {
    display: none;
}

.mw_wp_form .error-area .error~.have-error {
    display: block;
}

.mwform-radio-field label span {
    margin-right: 15px;
}

span.note.red {
    color: #fe9fbb;
    padding-top: 0px;
}

/* <dl>フォームのスタイル */

.form_dl dd input[type="text"],
.form_dl dd input[type="file"],
.form_dl dd select,
.form_dl dd textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    font-size: 0.9em;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.form_dl dd input[type="file"] {
    border: none;
    padding-left: 0px;

}

input[type="file"]::file-selector-button {
    background-color: #fff !important;
    color: #333;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
}

.form_dl dt {
    font-weight: bold;
    margin-bottom: 4px;
    color: #333;
}

.form_dl dd {
    margin: 0px 0 30px 0;
}

.required {
    font-size: 0.9rem;
    color: #ff66a5;
    margin-left: 6px;
}

.note {
    font-weight: 500;
    font-size: 0.85em;
    color: #333;
    margin-top: 5px;
    display: block;
}

.note.right {
    float: right;
    font-size: 0.8em;
}

.note.red {
    color: #ff66a5;
}

.category-options label {
    margin-right: 8px;
    display: inline-block;
    font-size: 1em;
    font-weight: 500 !important;
}

.form_row_horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.form_row_horizontal dt {
    width: 140px;
    margin: 0;
    flex-shrink: 0;
    align-self: flex-start;
    /* ← これで上寄せ */
}

.form_row_horizontal dd {
    flex: 1;
    margin: 0;
}

.picture-input-wrap {
    display: inline-flex;
    /* 横並び */
    align-items: center;
    gap: 6px;
    /* ファイルと × の間隔 */
}

.picture-input-wrap input[type="file"] {
    font-size: 1em;
    max-width: 100%;
}

.mwform-file-delete {
    font-size: 1em;
    color: #333;
    cursor: pointer;
    padding: 0 5px;
    display: inline-block;
}

.form_wrap select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    padding-left: 11px 15px;
    width: 100%;
    padding: 1em;
    background: url(/wp/img/reading_notes/top/angles-down-solid.svg) right 10px center / 1em auto no-repeat, #fff;
    border-radius: 0.1em;
    border: 1px solid #ccc;
}


/* ボタン部分 */
#form_btn {
    margin-top: 30px;
    text-align: center;
}

.form_btn_primary {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1.1em;
    color: #fff;
    background: #76c8fa;
    border: none;
    margin: 10px;
    cursor: pointer;
    transition: background 0.3s;
}

.category-error,
.mwform-error {
    color: #b70000;
    margin-top: 0;
    display: block;
}


/* 確認画面、完了画面 */
.form_confirm_dl,
.form_complete {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form_confirm_dl {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form_confirm_dl dt {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
    font-size: 1em;
    color: #333;
}

.form_confirm_dl dd {
    margin: 0;
    padding-left: 10px;
    font-size: 1em;
    color: #555;
}

.form_complete {
    text-align: center;
    background: #f0fbff;
    border-radius: 10px;
    padding: 40px 20px;
}

.form_complete_msg {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.form_btn_area {
    margin-top: 30px;
}

/* メディアクエリ対応 */
@media screen and (max-width:767px) {
    .form_deco {
        display: none;
    }

    .form_wrap {
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .form_ttl {
        font-size: 1.2em;
        margin: 0 0 20px 0;
        padding: 8px 20px;
    }

    .form_catch {
        font-size: 16px;
    }

    .form_bord .form_heading {
        font-size: 15px;
        margin: 10px auto 5px;
    }

    .form_bord .form_note {
        padding: 0;
        line-height: 1.2rem;
        margin: 15px auto 10px;
    }

    .form_note {
        font-size: 0.85em;
    }

    .form_dl {
        gap: 16px;
    }

    .form_row_horizontal {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 15px;
    }

    .form_dl dd.category-options {
        text-align: start;
    }

    .form_dl dd {
        margin-bottom: 15px;
    }

    .form_row_horizontal dt {
        width: 100%;
        font-weight: bold;
    }

    .form_row_horizontal dd {
        width: 100%;
    }

    .mwform-radio-field label span {
        margin-right: 0px;
    }

    .category-options label {
        margin-right: 10px;
        font-size: 0.95em;
    }

    #form_btn {
        flex-wrap: wrap;
    }

    .form_dl dd input[type="text"],
    .form_dl dd select {
        font-size: 1em;
        padding: 8px;
    }

    .form_btn_primary::before {
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
        border-left: 9px solid #fff;
    }

    .form_btn_primary {
        width: 90%;
        font-size: 1em;
        padding: 10px 20px;
    }

    .note {
        font-size: 14px;
    }
	
	.feedback-item {
		font-size: 14px;
	}
}


/* タッチデバイスではhoverを無効化 */
/*@media (hover: none) {
  a:hover {
    pointer-events: none;
  }
}*/
