/* recipe */
body { margin: 0 auto; max-width: 1000px; }

#recipe-wrap { position: relative; font-size: 14px; }
#recipe-wrap h1 { border-left: 5px solid brown; border-bottom: 2px solid orange; font-size: 16px; margin: 5px 0; padding: 3px 0 3px 5px; }
#recipe-wrap .block { overflow: hidden; position: relative; }
#recipe-wrap .block-title { background: orangered; border-radius: 5px 5px 0 0; color: white; display: inline-block; font-size: 12px; font-weight: bold; line-height: 20px; margin: 10px 0 0 0; padding: 0 5px; min-width: 130px; }
#recipe-wrap .block-content { border: 1px solid orangered; position: relative; }
#recipe-wrap .block-content input[type="text"], #recipe-wrap .block-content textarea { border-radius: 3px; width: 100%; }
#recipe-wrap .image-top { display: inline-block; position: relative; width: 300px; height: 400px; background-position: top center; background-repeat: no-repeat; background-size: contain; }
#recipe-wrap .image-top-none { display: inline-block; position: relative; width: 300px; height: 400px; }
#recipe-wrap #open-image-top, #recipe-wrap .open-image { cursor: pointer; position: relative; }
#recipe-wrap #open-image-top:hover, #recipe-wrap .open-image:hover { opacity: 0.5; }
#recipe-wrap .delete-image-step { border-radius: 8px; font-size: 0.8em; margin-top: 5px; }
#recipe-wrap .recipe-title { background: orangered; border-bottom: none; border-left: 10px solid wheat; -moz-box-shadow: 4px 4px 0px lightgray; -webkit-box-shadow: 4px 4px 0px lightgray; box-shadow: 4px 4px 0px lightgray; color: white; font-size: 14px; font-weight: bold; margin: 5px 4px 10px 0; padding: 8px 0 8px 10px; }
#recipe-wrap .write-recipe { display: inline-block; padding: 3px 4px !important; }
#recipe-wrap .sns-buttons { text-align: right; }
#recipe-wrap .sns-buttons .add-favorite { background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmYjZjMSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); background-size: 100%; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #ffb6c1)); background-image: -moz-linear-gradient(#ffffff, #ffb6c1); background-image: -webkit-linear-gradient(#ffffff, #ffb6c1); background-image: linear-gradient(#ffffff, #ffb6c1); border: 1px solid deeppink; color: deeppink; font-size: 12px; line-height: 1em; padding: 2px 3px; text-align: center; }
#recipe-wrap .sns-buttons .add-favorite:hover { background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmYjZjMSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); background-size: 100%; background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffb6c1), color-stop(100%, #ffffff)); background-image: -moz-linear-gradient(#ffb6c1, #ffffff); background-image: -webkit-linear-gradient(#ffb6c1, #ffffff); background-image: linear-gradient(#ffb6c1, #ffffff); color: deeppink; }
#recipe-wrap .sns-buttons .add-favorite i { font-size: 20px; line-height: 1em; margin-right: 2px; vertical-align: -2px; }
#recipe-wrap .recipe-description { margin-top: 5px; }
#recipe-wrap .recipe-description .postedby { color: gray; font-size: 90%; margin-top: 5px; text-align: right; }
#recipe-wrap .image-top-block { float: left; position: relative; width: 302px; margin-right: 8px; }
#recipe-wrap .image-top-block #delete-image-top { background: lightgray; border-radius: 8px; position: absolute; right: 0; top: 0; z-index: 10; }
#recipe-wrap .ingredients-block { float: left; width: 260px; }
#recipe-wrap .ingredients-list { list-style-type: none; margin: 0; padding: 0; }
#recipe-wrap .ingredients-list-item { border-top: 1px solid lightgray; padding: 5px 5%; text-align: right; }
#recipe-wrap .ingredients-list-item:first-child { border: none; }
#recipe-wrap .step-block { float: left; width: 50%; padding: 5px; min-width: 268px; position: relative; }
#recipe-wrap .step-num { color: tomato; font-family: cursive !important; font-weight: bold; margin: 5px 0; }
#recipe-wrap .step-image-box { float: left; text-align: center; }
#recipe-wrap .step-image { display: block; width: 80px; height: 60px; }
#recipe-wrap .step-image-none { background: lightgray; font-size: 0.9em; padding-top: 20px; text-align: center; color: gray; }
#recipe-wrap .step-text { background: linen; min-height: 60px; }
#recipe-wrap .step-text-margin { margin-left: 85px; }
#recipe-wrap .form-error { border: 1px solid red; }
#recipe-wrap .form-notice { color: gray; display: block; font-size: 90%; text-align: right; }
#recipe-wrap .related-item { height: 55px; line-height: 1.2em; overflow-y: hidden; padding: 5px; }
#recipe-wrap .recipe-footer { margin: 10px 0; text-align: right; }
#recipe-wrap .ingredients-form { margin: auto; text-align: right; max-width: 400px; }
#recipe-wrap .ingredients-form input[type="text"] { width: 100%; }
#recipe-wrap .ingredients-form .form-content { border: 1px solid orange; border-radius: 3px; color: gray; padding: 10px 5px; }
#recipe-wrap .ingredients-form-num { display: block; float: left; width: 5%; text-align: left; font-weight: bold; color: gray; }
#recipe-wrap .ingredients-form-name { display: block; float: left; width: 45%; text-align: center; }
#recipe-wrap .ingredients-form-quantity { display: block; float: left; margin-left: 5px; width: 45%; text-align: center; }
#recipe-wrap .btn-reverse { background: white; border: 1px solid gray; border-radius: 3px; color: gray; cursor: pointer; margin-right: 10px; }
#recipe-wrap .procedure-form { margin: auto; max-width: 400px; }
#recipe-wrap .procedure-form input[type="text"], #recipe-wrap .procedure-form textarea { border-radius: 3px; width: 93%; }
#recipe-wrap .procedure-form .form-content { border: 1px solid orange; border-radius: 3px; padding: 5px; }
#recipe-wrap .procedure-form .step-num { float: left; font-weight: bold; text-align: left; }
#recipe-wrap .procedure-form .open-image { background-position: center center; background-repeat: no-repeat; background-size: contain; color: gray; cursor: pointer; display: block; float: left; height: 60px; padding-top: 10px; position: relative; text-align: center; width: 80px; }
#recipe-wrap .procedure-form .open-image:hover { opacity: 0.5; }
#recipe-wrap .procedure-form .open-image .delete-image { position: absolute; top: 0; right: 0; }
#recipe-wrap .ingredients-form input[type="text"] { border-radius: 5px; }
#recipe-wrap .iine-badge { background: rgba(250, 250, 210, 0.8); color: brown; display: block; font-size: 13px; line-height: 1.4em; padding: 0 2px; position: absolute; right: 0; bottom: 0; text-align: right; }
#recipe-wrap .iine-badge i { display: inline-block; padding-right: 2px; }

#ingredients-pop { background-color: white; border: 2px solid orangered; border-radius: 5px; padding: 10px; }

/* post top */
#recipe-wrap #post-top-wrap h2 { color: brown; font-size: 120%; font-weight: bold; margin-bottom: 5px; margin-top: 30px; }
#recipe-wrap #post-top-wrap .block { border: 1px solid orange; border-radius: 3px; }
#recipe-wrap #post-top-wrap .pre-post-list { background: whitesmoke; padding: 5px; }
#recipe-wrap #post-top-wrap .pre-post-mark { background: orangered; color: white; }
#recipe-wrap #post-top-wrap .post-notice { color: red; font-size: inherit; font-weight: bold; margin-top: 40px; }

/* recipe list */
#recipe-wrap .recipe-list { display: flex; flex-wrap: wrap; gap: 5px 2%; }
#recipe-wrap .recipe-list .recipe-block { min-height: 194px; overflow-y: hidden; width: 32%; }
#recipe-wrap .recipe-list .recipe-block a { text-decoration: none; }
#recipe-wrap .recipe-list .recipe-image { display: block; width: 100%; aspect-ratio: 4/3; position: relative; background-size: cover; background-position: center center; }
#recipe-wrap .recipe-list .recipe-list-title { color: brown; font-weight: bold; }
#recipe-wrap .recipe-list .recipe-by { color: gray; font-size: 0.8em; }

/* recipe top */
#recipe-wrap #recipe-top-wrap h1 { color: orange; font-size: 16px; font-weight: bold; height: 44px; letter-spacing: 0.3em; line-height: 1.2em; padding-left: 15px; }
#recipe-wrap #recipe-top-wrap h1 img { float: left; height: 32px; margin-right: 10px; margin-top: 5px; width: 32px; }
#recipe-wrap #recipe-top-wrap #link-favorite { padding: 0 5px; text-align: right; }
#recipe-wrap #recipe-top-wrap #message-box { margin-bottom: 10px; padding: 0 5px; }
#recipe-wrap #recipe-top-wrap #message-box #campaign { border: 2px solid green; border-radius: 5px; -moz-box-shadow: 1px 1px 1px gray; -webkit-box-shadow: 1px 1px 1px gray; box-shadow: 1px 1px 1px gray; margin-bottom: 10px; padding: 5px; }
#recipe-wrap #recipe-top-wrap .content-box { border: 1px solid gray; border-top: 4px solid green; border-radius: 5px; margin-bottom: 10px; }
#recipe-wrap #recipe-top-wrap .content-box h2 { background: palegoldenrod; color: green; font-size: 16px; font-weight: bold; margin: 3px; padding: 10px; }
#recipe-wrap #recipe-top-wrap .content-box .new { background-color: orangered; color: white; font-size: 0.9em; }
#recipe-wrap #recipe-top-wrap .content-box .recipe-list { display: grid; gap: 5px 3.5%; padding: 5px; grid-template-columns: 31% 31% 31%; }
#recipe-wrap #recipe-top-wrap .content-box .recipe-block { width: initial; overflow: hidden; }
#recipe-wrap #recipe-top-wrap .content-box .recipe-block:hover { opacity: 0.6; }
#recipe-wrap #recipe-top-wrap .content-box .recipe-block:hover a { text-decoration: underline; text-decoration-color: brown; }
#recipe-wrap #recipe-top-wrap .content-box .recipe-block .recipe-image { background-size: cover; aspect-ratio: 4 / 3; }
#recipe-wrap #recipe-top-wrap .recipe-list-top { grid-column: 1 / 3; grid-row: 1 / 3; }
#recipe-wrap #recipe-top-wrap .recipe-list-top:hover { opacity: 0.6; }
#recipe-wrap #recipe-top-wrap .recipe-list-top:hover a { text-decoration: underline; text-decoration-color: brown; }
#recipe-wrap #recipe-top-wrap .recipe-list-top a { text-decoration: none; }
#recipe-wrap #recipe-top-wrap .recipe-list-top .recipe-image { aspect-ratio: 4 / 3; background-size: cover; }
#recipe-wrap #recipe-top-wrap .category-box { background-color: whitesmoke; border-radius: 5px; overflow: hidden; text-align: left; width: 49%; }
#recipe-wrap #recipe-top-wrap .category-box h3 { background-color: yellowgreen; color: white; font-weight: bold; letter-spacing: 0.2em; margin: 0; padding: 5px; }
#recipe-wrap #recipe-top-wrap .recipe-count { color: black; display: inline-block; margin: 5px; padding: 2px; text-decoration: none; }
#recipe-wrap #recipe-top-wrap .recipe-count:hover { text-decoration: underline; }
#recipe-wrap #recipe-top-wrap .recipe-count .count { background: darkgray; border-radius: 5px; color: white; display: inline-block; font-size: 0.9em; padding: 0 4px; }
#recipe-wrap #recipe-top-wrap .posted-block { display: inline-block; margin: 5px 2px; text-decoration: none; width: 48%; }
#recipe-wrap #recipe-top-wrap .posted-block .image { background-position: center center; background-size: cover; display: inline-block; height: 100px; overflow-y: hidden; vertical-align: middle; width: 48%; }
#recipe-wrap #recipe-top-wrap .posted-block .desc { color: brown; display: inline-block; font-weight: bold; text-align: left; vertical-align: middle; width: 48%; }
#recipe-wrap #recipe-top-wrap .posted-block .desc .date { color: gray; font-size: 0.9em; font-weight: normal; }

/* button */
#recipe-wrap .btn-green { background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSI1JSIgc3RvcC1jb2xvcj0iIzg5YzQwMyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzc3YTgwOSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(5%, #89c403), color-stop(100%, #77a809)); background: -moz-linear-gradient(center top, #89c403 5%, #77a809 100%); background: -webkit-linear-gradient(center top, #89c403 5%, #77a809 100%); background: linear-gradient(to center bottom, #89c403 5%, #77a809 100%); background-color: #89c403; border: 1px solid #74b807; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; color: #ffffff; display: inline-block; font-size: 0.9em; line-height: 140%; padding: 3px 6px; text-decoration: none; text-shadow: 1px 1px 0px #528009; }
#recipe-wrap .btn-green:hover { background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSI1JSIgc3RvcC1jb2xvcj0iIzc3YTgwOSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzg5YzQwMyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA=='); background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(5%, #77a809), color-stop(100%, #89c403)); background: -moz-linear-gradient(center top, #77a809 5%, #89c403 100%); background: -webkit-linear-gradient(center top, #77a809 5%, #89c403 100%); background: linear-gradient(to center bottom, #77a809 5%, #89c403 100%); background-color: #77a809; color: #ffffff; text-decoration: none; }
#recipe-wrap .btn-green:active { top: 1px; }
