/**★国酒文化振興酒場〜佐賀〜　日本酒銘柄検索システム**/

/*共通*/
body{
	width:100vw;
	margin:0;
	font-family: 'M PLUS Rounded 1c', sans-serif;
	padding-bottom: 100px;
	/*font-family: 'Yusei Magic', sans-serif;*/
}


button{
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

/**ボタン共通**/
#userLoginBtn, #userSignupBtn, #userLogoutBtn, .resist_input_wrap button, #userMypageBtn, #userCouponBtn{
    display: block;
    width: 100%;
    height: 37px;
    margin-top: 10px;
    border: unset;
    font-size: 16px;
}

.mrg0{
	margin:0;
}
.none{
	display:none;
}

.ls2{
	letter-spacing: 2px;
}

.flex{
    display:flex;
    align-items: flex-start;
}

.red{
	color: red;
}

.f11{
	font-size: 11px;
}

.f12{
	font-size: 12px;
}

.f13{
	font-size: 13px;
}

.f14{
	font-size: 14px;
}

.w100p{
	width:100%;
}

/**ローディング画面**/
#loadingBg {
    width: 100vw;
    height: 100vh;
    background-color: #e6e6e6eb;
    position: fixed;
    z-index: 100;
}

#loading img {
    width: 30%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
}

/** 上に戻るボタン **/
#page_top {
    position: fixed;
    bottom: 30px;
    right: 15px;
    z-index: 4;
}
#page_top a {
    background-color: #282877b8;
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 20px 23px;
}
#page_top a:hover {
    text-decoration: none;
}

/*index.php*/

.information_wrap{
	width:85%;
    max-width: 430px;
    margin: 30px auto 30px auto;
    padding: 15px;
    background-color: #f8f8ff;
    border: solid 1px #382f8f;
    color: #382f8f;
}

.information_wrap h4{
    margin: 0 0 16px 0;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 6px;
    border-bottom: solid 1px;
    /*background-image:url("../img/info_icon.png");*/
}


.info_p{
    margin: 8px 0;
}
.info_p span{
	display:block;
}

.info_p span:nth-child(2){
    padding-left: 14px;
}

.info_detail{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #f8feffb8;
    opacity:0;
    z-index: -1;
    transition: all .5s ease;
}

.info_detail_wrap{
    width: 70%;
    position: absolute;
    top: 49%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f7f7f7;
    padding: 20px 15px;
    min-height: 150px;
    border: double 8px;
}

.info_active{
    opacity: 1;
    z-index:99;
}
.info_detail_close_btn{
    position: absolute;
    top: 0px;
    right: 14px;
    font-size: 27px;
    color: #b6b6b6;
}

.info_detail_date_p{
    text-align: center;
    padding-bottom: 3px;
    border-bottom: solid 1px;
}

.info_more{
    margin: 0;
    text-align: right;
    font-size: 15px;
    font-weight: bold;
}

.info_more a{
	   text-decoration:none;
	   color:#392e8f;
	   padding:8px;
}

/* --YouTubeサイズ調整-- */
#video {
position: relative;
/*height: 0;*/
padding: 30px 0 69%;
overflow: hidden;
}

#video iframe {
position: absolute;
top: 0;
left: 50%;
width: 93%;
max-width:460px;
transform: translateX(-50%);
}

@media screen and (max-width: 420px){
    #video {
        padding-bottom:70%;
    }
}

@media screen and (max-width: 376px){
    #video {
        padding-bottom:74%;
    }
}


@media screen and (min-width: 768px){
	#video {
		padding-bottom:37%;
	}
}

@media screen and (min-width: 990px){
    #video {
        padding-bottom:29%;
    }
}



.search_wrap h1, .reccomend_wrap h1, .resist_wrap h1, .user_mypage h1{
    text-align: left;
    padding: 25px 10px 20px 46px;
    margin-top: 0;
    background-color: #1b1a6f;
    color: white;
}

.search_wrap h1{
	 position: fixed;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 7;
}


#userIcon,#twitterIcon,#instaIcon {
    position: fixed;
    top: 19px;
    right: 9px;
    font-size: 14px;
    color: white;
    border: solid 2px;
    padding: 8px;
    z-index: 7;
    border-radius: 50%;
}

#twitterIcon{
    right: 83px;
}

#instaIcon{
	 right: 46px;
}


@media screen and (min-width: 376px){
    .search_wrap h1, .reccomend_wrap h1, .resist_wrap h1, .user_mypage h1{
       padding-left: 60px;
    }
    #userIcon{
        right: 13px;
    }
    #instaIcon{
         right: 50px;
    }
    #twitterIcon{
	    right: 87px;
	}
}


#userBg{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #3a3a3ad1;
    z-index: 5;
}

#userLogin{
    z-index: 6;
    background-color: #ffffffd6;
    width:80vw;
    height: calc(100% + 70px);
    position: fixed;
    overflow:scroll;
    top: 67px;
    right: -100vw;
    padding: 20px 10px;
    color: #353535;
    transition: .2s linear;
}

#userLogin h3{
    text-align: center;
    margin: 5px 0 15px 0;
    font-size: 16px;
}

#userLoginBtn{
	background-color: #8de497;
	color: #305f45;
	height: 38px;
    font-size: 16px;
}

#userSignupBtn{
	background-color: orange;
	color: white;
	height: 38px;
    font-size: 16px;
    margin-top: 0px;
}

#userLogoutBtn{
	background-color: #9e9e9e;
	color: white;
}

.right{
    right: 0 !important;
}

#userLogin p{
	margin: 0;
	font-size: 14px;
}

#userLogin input[type=text], #userLogin input[type=password]{
	width: 100%;
    font-size: 17px;
    padding: 3px 5px;
    border: solid #848484 1px;
}

.loginerr_p{
	height: 17px;
    font-size:12px;
    color: red;
}

.login_user_info i {
    display: inline-block;
    width: 25px;
    text-align: center;
}

.user_item{
    text-align: center;
    width: 50%;
    margin: 15px 3px 0;
    padding: 3px;
    background-color: #fbfbfb;
    border-radius: 4px;
}

#userCouponBtn,
#userMypageBtn{
	background-color: #ffb94e;
    color: white;
}

#fav_num, #dur_num{
	font-size: 25px !important;
	font-weight:bold;
}

.fav_dru_num {
    margin-bottom: 15px;
}
.user_leatest_p {
    border-bottom: solid 2px #308084;
    margin-bottom: 6px !important;
    background-color: #308084;
    color: white;
    text-align:center;
}

.user_info_leatestnum{
	width: 45px;
    font-size: 12px;
    text-align: center;
    padding: 1px 0;
    background-color: #58afb3;
    color: white;
    display: inline-block;
}

.user_info_leatest{
    font-size: 12px;
    margin-left: 3px;
}

.search_wrap h1 img, .reccomend_wrap h1 img, .resist_wrap h1 img, .user_mypage img{
    width:55%;
    max-width: 222px;
}

.main_wrap {
	width:100%;
    position: relative;
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    top: 85px;
    padding-bottom: 70px;
}

.dm {
    width: 250px;
    display: block;
    padding-top: 15px;
    margin: 0 auto;
}

.item_count {
    text-align: center;
    color: #37308f;
    font-weight: bold;
}

#new_item{
	margin: 15px;
}



#fitting{
	margin:40px 15px;
}

#new_item button, #fitting button {
    padding: 15px;
    width: 100%;
    border: none;
    background-color: #ffa478;
    color: white;
    font-size: 19px;
    letter-spacing: 7px;
    font-weight: bold;
}

#fitting button{
    min-height:100px;
    font-size:18px;
    font-size: 36px;
}

#brand_search, #params_search, .resist_input_wrap {
    margin: 15px;
    border: solid 2px #4a49a2;
    background-color: white;
}

/* .resist_input_wrap p{
    margin: 1px;
    font-size:14px;
} */

.resist_input_wrap form{
	padding:15px;
	margin :0;
    margin-bottom: 8px;
}

.resist_comment{
	padding: 15px 25px 3px 25px;
}

.resist_comment p {
    font-size: 13px;
    color: #2d2d2d;
    margin: 7px 0;
}

.resist_item {
	padding-left: 5px;
    margin-bottom: 0;
    color: #313131;
    font-weight: bold;
}

.resist_input_wrap input{
	font-size: 17px;
    padding: 3px;
    border: solid 1px darkgrey;
    width: 100%;
}

.resist_input_wrap button{
    background-color: #ffa12d;
    color: white;
}

#params_search h2 {
	font-size: 22px;
    margin: 0;
    padding: 7px;
    background-color: #4a49a2;
    color: white;
    text-align: center;
    position: relative;
}

#brand_search p {
	font-size: 11px;
    text-align: center;
    color: #f7f7f7;
    padding-top: 5px;
    margin-bottom: 0;
    padding-left: 8px;
    padding-right: 7px;
}

.brand_detail{
    background-color: #d3d4ff61;
    padding-bottom: 5px;
    font-weight:600;
}

.keyword_search_btn{
	padding: 0 10px;
}

.keyword_input{
    width: 96%;
    margin: 0 auto;
}

.keyword_input input[type=text]{
	width: calc(100% - 101px);
    font-size: 17px;
    padding: 5px;
    margin-right: 3px;
    border-color: #a2a2a2;
    border-style: solid;
    border-width: 1px;
    color: #5a5a5a;
}

.keyword_input button{
    width: 92px;
    margin-top: 5px;
    border: none;
    background-color: #8de497;
    padding: 7px;
    color: #305f45;
}

p.keyword_err{
    margin-top: 0;
}

.brand_search_btn {
	display: flex;
	flex-wrap: wrap;
    padding: 0 3px 8px 8px;
    f
}

.brand_search_btn button {
    margin: 4px 0;
    padding: 7px;
    border: none;
    width: 50%;
    min-height: 55px;
    font-size: 16px;
    color: #f5f5f5;
    font-weight: bold;
    background-color: #3f5bbf;
    font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.brand_search_btn button:not(:nth-child(6n)) {
    border-right: solid white 5px;
}

#params_search i {
    position: absolute;
    top: 13px;
    right: 16px;
}

.reccomend_bunner{
	display: block;
	width:calc(100% - 20px);
	max-width: 430px;
    transform: translateX(-50%);
    position: relative;
    left: 50%;
}

#params_search p{
    margin: 0;
    margin-top: 17px;
    margin-bottom: 5px;
    padding-left: 5px;
    color: #38378a;
    border-bottom: solid 2px #3b3a92;
}

#paramsSearchForm{
    padding: 5px 15px;
}

#paramsSearchForm i{
	position:unset;
}

.prm_search_div{
	display:flex;
	flex-wrap: wrap;
}

#params_search_noh2 input[type=checkbox]{
	display:none;
}

.cb_label{
    position: relative;
    box-sizing: border-box;
    background-color: #c3e0f5;
    color: #88b4d4;
    /* border: solid 1px transparent; */
    padding: 6px 8px 7px 31px;
    margin-left: 3px;
    margin-top: 6px;
    display: inline-block;
    vertical-align: middle;
    width: 32%;
    font-size: 12px;
    text-align: center;
}

.cb_label:before {
    background: #fff;
    border: 1px solid #808080;
    content: '';
    display: block;
    height: 16px;
    left: 9px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}

.cb_label:after {
    border-right: 3px solid #ed7a9c;
    border-bottom: 3px solid #ed7a9c;
    content: '';
    display: block;
    height: 9px;
    left: 14px;
    margin-top: -7px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 5px;
}

#params_search_noh2 input[type=checkbox]:checked + label{
	font-weight: bold;
    color: #f3f3f3;
    background-color: #768dbf;
}

#params_search_noh2 input[type=checkbox]:checked + label:after {
    opacity: 1;
}

#paramsSearchBtn{
	display: block;
    width: 100%;
    height: 45px;
    margin: 25px auto 0 auto;
    border: none;
    background-color: #8ce597;
    color: #316146;
}

.params_err {
    padding: 0 15px;
}

.params_err p {
    text-align: center;
    font-weight: bold;
    color: red;
}


/*item_detail.php*/
.detail_box{
	width: 100%;
	height: 100vh;
	padding-bottom: 5px;
	background-color: #e8e8e8;
	color: #545454;
}

.detail_header{
	background-color: #247ace;
    padding: 18px 15px;
    font-size: 18px;
    color: white;
    font-weight: bold;
    text-align: center;
}

.detail_header p{
	margin: 0;
}

.result_sale {
    position: absolute;
    top: -16px;
    left: 0;
}

.result_sale::before{
    content: "";
    top: 0;
    left: 0;
    border-bottom: 5em solid transparent;
    border-left: 5em solid #9a9ade; /* ラベルの色はここで変更 */
    position: absolute;
    z-index: 4;
}

.result_sale::after{
    content: "SOLD";
    display: block;
    top: 14px;
    transform: rotate(-45deg);
    color: #fff; /* 文字色はここで変更 */
    left: 2px;
    position: absolute;
    z-index: 4;
}

.soldout {
    opacity: 0.3;
}

/*newアイコン*/
img.new_icon {
    width: 85px;
    position: absolute;
    z-index: 2;
    left: -11px;
    top: 10px;
}

.result_wrap, .detail_wrap {
	background-color: whitesmoke;
    border: solid 1px #9a9ade;
    width: 90%;
    margin: 15px auto;
    display: flex;
    position: relative;
}

.result_wrap a {
    position: absolute;
    bottom: 7px;
    right: 7px;
    text-decoration: none;
    font-size: 13px;
    background-color: #687bbd;
    color: white;
    padding: 2px 12px;
    border-radius: 16px;
}

.new_jun{
    border:none;
    background-color: white;
    justify-content: space-between;
    margin:0 auto;
}

.new_jun p{
    color:#db0505;;
    margin: 10px 0 0 0;
}

.new_p_txt{
    padding-top:3px;
}

.new_jun button{
    background-color: white;
    border:none;
    border-bottom:double 2px;
    color: #6c6c6c;
    padding: 3px 9px;
}

.detail_brand {
    background-color: #080d48;
    padding: 6px 14px;
    border-radius: 7px;
    margin-right: 8px;
}

.detail_item_box{
	padding:15px;
}

.item_img_box {
    padding: 0 15px;
    position: relative;
    width: 90px;
}

.item_img_box img {
    width: 60px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.item_img {
    width: 100%;
}

.item_wrap{
	width: 100%;
    padding: 15px 10px 30px 5px;
}

.item_wrap p:first-child{
	margin-top: 0;
}

.item_wrap p {
    margin: 2px 0;
    font-size: 13px;
    line-height: 26px;
}

p.price_p {
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    color: #616161;
}

.dgree_acid{
    display: flex;
    margin-top: 8px;
}

.dgree_acid p:first-child {
    margin-right: 12px;
}

.order_no {
    display: inline-block;
    width: 45px;
    text-align: center;
    background-color: #282877;
    color: white;
    padding: 0px 5px;
    margin-right: 6px;
    font-size: 12px;
}

span.result_hs {
    background-color: #91b2fb;
    color: #101061;
    display: inline-block;
    width: 60px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    border-radius: 15px;
    padding: 0px 6px;
    margin-right: 6px;
}

.result_brand, .result_item {
    font-weight: bold;
    color: #1c3286;
    font-size: 13px;
    line-height: 16px;
}

.result_brand_e{
    font-size:10px;
}

p.result_text {
    font-size: 13px;
    line-height: 14px;
    margin: 8px 0;
    color: #404040;
}

.detail_item {
    display: inline-block;
    width: 90px;
    text-align: center;
    background-color: #91b2fb;
    padding: 0 8px;
    margin-right: 8px;
    color: #101061;
    font-weight: bold;
    font-size: 12px;
    border-radius: 17px;
}

/**お気に入り・飲んだアイコン**/
.favorite_drunk_icon {
    position: absolute;
    bottom: 5px;
    right: 10px;
    color: #c1c1c1;
    font-size: 20px;
}

.favorite_drunk_icon i{
    margin: 5px;
}

.favorite {
    color: #ffb038;
}

.drunk {
    color: #961717;
}

.unlike{
    color: #4f68c5;
}

/**reccomend**/
.reccomend_wrap {
    margin-bottom: 20px;
}

.reccomend_wrap h2{
	text-align: center;
    color: #1c1b6f;
    margin: 0;
}

.staff_reccomend_introp{
	text-align: center;
    color: #5a6088;
    margin: 5px 20px 25px;
    font-size:12px;
    line-height: 16px;
}

#reccomend_staff_box{
	width:90%;
    margin: 5px auto 30px auto;
    /*border-top: dotted 5px #5150bb;*/
}

.reccomend_staffname{

}

.reccomend_staffname{
    padding: 5px 30px;
    margin-bottom: 0;
    background-repeat: no-repeat;
    background-size: contain;
    color: #464646;
    text-shadow: 1px 1px 0px #ffffff;
    background-image: url(../img/flower_icon2.png);
}


h3 .reccomend_staffname:nth-child(2n){
    background-image: url(../img/flower_icon1.png);
}


.position_span {
    font-size: 12px;
    display: block;
}

.name_span{
    font-size: 18px;
    font-weight:bold;
}

.staff_detail_comment {
    padding: 0 20px;
    font-size: 13px;
    color: #636363;
    line-height: 16px;
}

.staff_rec_title {
    margin: 15px 8px 5px;
    font-size: 14px;
}

.rec_detail_a {
    display: inline-block;
    text-decoration: none;
    background-color: #ffc646;
    padding: 3px 10px;
    margin: 3px;
    color: #ce692e;
    border-radius: 6px;
}

.reccomend_item_box{

}

.rec_imgtext {
    display: flex;
    align-items: flex-start;
}

.rec_imgtext img{
	width: 50px;
    margin: 0 12px;
}

.reccomend_text{
    background-color: #ffffde;
    padding: 5px 12px;
}

.reccomend_text p{
    display: inline;
    font-size: 13px;
    line-height: 22px;
    letter-spacing: 2px;
    border-bottom: dashed 2px #ffbf9a;
    color: #5f4536;
    padding-bottom: 2px;
}

.rec_line{
    width: 100%;
}

/*** 会員登録ページ ***/
.resist_wrap{

}

.resist_wrap h2{
	text-align: center;
    margin:0;
    color: #313131;
}


/*admin関係ページ*/
.admin_wrap {
    padding: 15px;
}

.admin_index_btn {
    font-size: 17px;
    border: none;
    background-color: #b3d9e4;
    color: #055c77;
    letter-spacing: 5px;
    display: block;
    width: 100%;
    padding: 9px;
    margin: 5px 0;
}

.logout_btn {
    background-color: #d8d8d8;
    color: gray;
}

.admin_wrap h1 {
    text-align: center;
}

.admin_head {
    display: inline-block;
    background-color: #5151af;
    color: white;
    width: 120px;
    text-align: center;
    padding: 3px;
    margin-right: 15px;
    border-radius: 6px;
}

.admin_item_box {
    margin: 8px auto;
    padding: 5px;
    background-color: #ffeef1;
    width: 95%;
    max-width:450px;
    min-height: 60px;
    position: relative;
}

.sale_and_public_area{
        margin-top: 6px;
}

.admin_item_box a {
    position: absolute;
    right: 8px;
    bottom: 7px;
    text-decoration: none;
    display: inline-block;
    width: 53px;
    text-align: center;
    font-size: 16px;
    padding: 3px;
    background-color: #ffadad;
    color: white;
    box-shadow: 1px 1px 3px 0px #b99f9f;
}

.admin_item_brand {
    display: inline-block;
    background-color: pink;
    padding: 3px 8px;
    border-radius: 15px;
    color: #4a4a4a;
    font-size: 14px;
}

.admin_item_no {
    font-size: 12px;
    background-color: #ce7383;
    color: white;
    padding: 3px 8px;
}

.admin_item_name {
    color: #5d5657;
    font-size: 14px;
}

.admin_form input[type=text], .admin_form select, .admin_form textarea {
    font-size: 18px;
    padding: 3px;
}

input[name="item_no"], input[name="price"], input[name="sake_degree"],
input[name="acidity"], input[name="rice_polishing"]{
    width: 60px;
}

textarea {
    vertical-align: top;
}

.add_item_btn {
    border: none;
    width: 100%;
    padding: 15px;
    font-size: 20px;
    color: white;
    background-color: #d06578;
    letter-spacing: 15px;
}

.admin_brand {
    display: inline-block;
    width: 32.4%;
    min-height: 55px;
    text-align: center;
    background-color: #75a4b1;
    color: white;
    padding: 15px 0;
    margin: 3px 0;
    border: none;
}

#preview{
	position: inherit;
	top: 0;
	transform: unset;
	margin-bottom: 14px;
}

.admin_customer_wrap {
    width: 100%;
    color: #414141;
}

.now_member{
	text-align: center;
    font-size: 13px;
    color: #d26200;
    background-color: #ffd950;
    padding: 7px;
    font-weight: bold;
}

.customer_wrap{
	background-color: #feffcc;
}

.customer_wrap:nth-child(2n){
	background-color: #ffefa4;
}

.customer_wrap {
	padding: 8px 15px;
    margin-bottom: 10px;
    font-size: 13px;
}

.customer_wrap p{
    margin: 0;
}

.customer_wrap i{
	margin-right: 5px;
}

#fitting_display,#fitting_hidden{
    display:none;
}

#fitting_display + label,
#fitting_hidden + label{
	display:inline-block;
    width:44%;
    text-align:center;
    background-color: #d6d6d6;
    color: #9f9f9f;
    padding: 8px 0;
    margin: 0 2%;
}

#fitting_display:checked + label,
#fitting_hidden:checked + label{
    background-color:#ee801a;
    color:white;
    padding: 12px 0;
    width: 46%;
}

#contents1 + label,
#contents2 + label,
#contents3 + label{
    display: inline-block;
    min-width: 50%;
    max-width: 76%;
    margin: 5px 0;
}



/**ログイン画面**/
.login_head, .login_form {
    width: 500px;
    margin: 0 auto;
    padding: 20px;
}

.login_head h2{
	text-align: center;
}

.login_p {
    margin: 25px 0;
}

.login_p input {
    width: calc(100% - 120px);
    height: 45px;
    padding: 6px;
    font-size: 20px;
    margin-left: 15px;
}

.login_p span {
    background-color: #8686c3;
    color: white;
    padding: 15px 8px;
    border-radius: 10px;
}

.login_form button {
    width: 100%;
    border: none;
    background-color: #7575c1;
    color: white;
    padding: 13px;
}


/**マイページ**/
.user_mypage{

}

.user_mypage_wrap{
    color: #353535;
}

.user_prof_wrap {
    margin: 0 5px 5px 5px;
    padding: 0 5px;
}

.user_prof_wrap a{
	position: absolute;
    top: 21px;
    right: 2px;
    text-align: center;
    background-color: #ffffff;
    border: solid 1px #62bfc3;
    border-radius: 15px;
    padding: 3px 10px;
    font-size: 10px;
    text-decoration: none;
    letter-spacing: 4px;
    margin: 12px 0 20px;
    color: #62bfc3;
    font-weight: bold;
}

.user_prof_p{
	position: relative;
	margin: 7px 0;
    font-size: 14px;
    text-align: center;
    border: 1px solid #63bfc3;
}

.user_prof{
    display: block;
    padding: 5px;
}

.user_prof_span {
    display: block;
    background-color: #62bfc3;
    font-size: 13px;
    color: #ffffff;
    padding: 5px;
    text-align: center;
}

.user_btn_wrap {
    padding: 0 12px;
}

.user_btn{
    width: 45%;
    text-align: center;
    padding: 9px 0 5px 0;
    background-color: #f1f1f1;
    color: #c1c1c1;
    margin: 0 auto;
    margin-right: 1px;
    border-bottom: 2px solid #f1f1f1;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 14px;
}

.tab_active{
    border-bottom: #308084 2px solid;
    border-right: solid 2px #308084;
    border-left: solid 2px #308084;
    background-color: #308084;
    color:white;
}

.user_resist_wrap{
	margin: 0 5px;
    padding: 10px;
    border: solid 3px #308084;
    border-radius: 5px;
    color: #404040;
}

.user_resist_item img, .comment_edit img{
    width: 28px;
    margin-right: 10px;
    margin-left: 2px;
}

.user_oder_num{
    padding: 1px 2px;
    font-size: 13px;
}

.user_resist_item{
	min-height: 72px;
    margin: 10px 0;
    position: relative;
}

.user_resist_item:not(:last-child) {
    padding-bottom: 6px;
    border-bottom: 1px dashed #37308f;
}
.user_resist_name{
    font-size: 14px;
}

.user_comment{
	margin-top: 5px;
    margin-bottom: 30px;
    font-size: 12px;
    color: #404040;
    border: solid 1px #909090;
    padding: 5px 3px;
    border-radius: 3px;
    background-color: #fffcf7;
}

.user_resist_favorite_level {
    margin: 10px 2px 13px 5px;
    position: absolute;
    bottom: 0;
    left: 35px;
    font-size: 13px;
}

.user_resist_date{
	font-size: 11px;
	position: absolute;
    bottom: 0;
    right: 0;
}

.comment_text{
	width: 100%;
	margin-left: 11px;
}

.comment_text_p{
	margin: 0;
}

.comment_text textarea{
	margin: 8px 0 0 0;
    font-size: 13px;
}

/**user_comment**/
.comment_edit, .user_detail{
    padding: 15px;
    min-height: calc(100% - 45px);
}

.comment_edit h3, .user_detail h3{
	text-align: center;
	font-size: 20px;
	color: #404040;
}

.comment_info{
	margin: 5px 0 0 0;
    font-size: 12px;
    line-height: 14px;
}

.comment_mode{
	margin: 5px 0 0 0;
	font-size:13px
}

.comment_edit textarea{
	width: 100%;
	margin-top: 10px;
    height: 79px;
    font-size:17px;
    color: #404040;
}

.comment_edit button{
	margin-top: 8px;
    width: 100%;
    border: unset;
    height: 39px;
    background-color: #ffd86c;
    color: #d45900;
    font-weight: bold;
    font-size: 14px;
}

.comment_edit a{
    display:inline-block;
    text-decoration: none;
    width: 100%;
    background-color: #bdbdbd;
    color: white;
    padding: 8px 0;
    text-align:center;
}

/**登録内容変更・退会**/
.complete_area{
    background-color: #ffc29e;
    text-align: center;
    font-size: 13px;
    padding: 9px;
    color: #a92222;
    border-radius: 3px;
}

.user_detail form{
	margin: 0;
}

.user_detail form p {
    margin: 5px 0;
    color: #404040;
}

.user_detail form i {
    margin-right: 4px;
}

.user_detail input {
    width: 100%;
    font-size: 17px;
    padding: 3px 5px;
    margin-bottom: 8px;
}

.user_detail button {
    width: 100%;
    border: unset;
    padding: 10px 0;
    background-color: #74ce7b;
    color: white;
    font-size: 15px;
    letter-spacing: 4px;
    margin: 15px 0 5px;
}

.user_detail a {
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 9px;
    background-color: #b5b5b5;
    color: white;
    letter-spacing: 4px;
}

/****クーポン****/
.coupon_area{
	padding:10px;
}

.coupon_wrap{
	position: relative;
    width: 90%;
    min-height: 75px;
    margin: 0 auto;
    padding: 10px 10px 20px 10px;
    background-color: #fff57f;
    margin-bottom: 13px;
}

.coupon_h{
	color: #695449;
	font-weight: bold;
    font-size: 18px;
    margin: 0;
    padding-left: 10px;
    padding-bottom: 8px;
}

.coupon_details{
    margin: 0 20px 0 20px;
    font-size: 12px;
    color: #b5703f;
}

.coupon_wrap button{
	position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    border: none;
    background-color: #ffd097;
    color: #ff8244;
    letter-spacing: 3px;
    padding: 5px 0px;
}

.coupon_wrap button:disabled{
    color: #c7c7c7;
    background-color: #e8e8e8;
}

.coupon_used{
    color: #cacaca;
    background-color: #f9f9f9;
}

/********************************/
/**       編集一覧ページ       **/
/********************************/
.edit_price, .edit_sale, .edit_public {
    padding: 3px 6px;
    font-size: 13px;
}
.edit_price{
    color: #5d5d5d;
    background-color: #f9f9f9;
    border: solid 1px;
}
.edit_sale, .edit_public {
	color: white;
    background-color: #ffbd2b;
}

.soldout_class, .no_puclic_class {
    background-color: #a0a0a0;
}

.new_check {
    color: red;
    font-size: 13px;
    font-weight: bold;
}

/********************************/
/**     スタッフ編集画面     **/
/********************************/

.admin_staff{
	width: 100%;
}

.edit_staff_box, .add_staff_box {
    padding: 10px;
    margin-top: 10px;
}

.edit_staff_box{
	background-color: #eae7f3;
}

.add_staff_box{
    background-color: #ffeaee;
    margin-bottom: 25px;
}

.admin_staff input, .admin_staff select, .admin_staff textarea{
	padding: 5px;
	font-size: 17px;
}

.staff_position{
	width: 120px;
}

.staff_name {
    width: calc(100% - 126px);
}

.staff_detail{
	width: calc(100% - 90px);
	height: 50px;
	margin-top: 10px;
}

.staff_public{
	width: 84px;
	height: 50px;
	margin-top: 10px;
}

.staff_edit, .staff_add {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    padding: 7px;
    width: 100%;
    border: none;
    font-size: 16px;
    letter-spacing: 13px;
    font-weight: bold;
}

.staff_edit {
    background-color: #b7e2c6;
    color: #0a8251;
}

.staff_add{
    background-color: #ffe8a6;
    color: #de7d16;
}

.staff_reccomend_box {
    margin: 7px 0;
}

.staff_reccomend_box a{
	text-decoration: none;
	font-size: 16px;
}

.admin_staff_position {
    display: inline-block;
    text-align: center;
    background-color: pink;
    padding: 3px 12px;
    border-radius: 15px;
    color: #4a4a4a;
    margin-right: 3px;
}

.edit_for {
    color: #ffffff;
    background-color: #d5a6de;
    border: solid 1px;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
}

.edit_staff{
    margin-left: 5px;
    font-weight: bold;
    color: #5a5a5a;
}

.admin_reccomend_box p{
	margin: 0;
	font-size: 15px;
}

.admin_reccomend_box input, .admin_reccomend_box textarea{
    font-size: 16px;
}

.admin_reccomend_box{
    background-color: #fffbf3;
    padding: 8px;
    margin: 10px  0 0;
    border: 2px solid #d6a6dd;
}

.rec_err_p{
    color: red;
    font-size: 12px;
}

footer{
    position: relative;
    bottom: -92px;
    text-align: center;
    font-size: 10px;
    margin: 0 3px;
    color: #404040;
    padding-top: 6px;
    border-top: solid 1px #717171;
}

/* お知らせ */
.info_list{
    border:solid 1px #aedbd6;
    margin-bottom:15px;
    padding:8px;
    background-color: #ebfffd;"
}

.info_list_date,
.info_list_title{
	margin: 8px 0;
}

.info_list_date{
    border-bottom:2px dotted #38a9a2;
}

.info_btn{
	position: absolute;
    right: 0;
    bottom: 0;
    text-decoration: none;
    display: inline-block;
    width: 53px;
    background-color: #37a9a3;
    text-align: center;
    color: white;
    padding: 2px;
}

.nomikurabe_img{
    width:100vw;
    height:100vh;
}

.nomikurabe_img_box{
	margin:0;
	width:50%;
	height:100vh;
    text-align: center;
    padding-top: 86px;
}

.nomikurabe_img img{
	height:60vh;
}
.nomikurabe_num{
    margin: 10px 0 0 0;
    font-size: 35px;
}

.nomikurabe_shousai_btn{
    display: block;
    text-decoration: none;
    color: white;
    background-color: #a88e49;
    width: 50%;
    margin: 16px auto;
    padding: 10px;
    border: solid 1px white;
}


/****************************************************************************************/
@media screen and (max-width: 500px) {
    .dgree_acid{
        display: block;
    }
    .detail_item{
        display:block;
        width: 90%;
    }
    .detail_content {
	    display: block;
	    text-align: center;
	    margin: 0;
	}
	.reccomend_wrap {
        min-height: calc(100vh - 154px);
    }
}
@media screen and (min-width: 501px){
	#new_item,#fitting, #brand_search, #params_search, #reccomend_staff_box,.result_wrap, .detail_wrap, .resist_input_wrap {
	   width: 430px;
	   margin: 15px auto;
	}
	#userLogin{
       width:30vw;
    }
}
