@charset "utf-8";

/***************************************************************************
Media Queries
****************************************************************************/

@media only screen and (max-width: 500px) {
}

/***************************************************************************
initialize
****************************************************************************/

body {
    margin: 0;
    padding: 0;
}

/***************************************************************************
contents_wrapper
****************************************************************************/

#contents_wrapper * {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;               /*スマートフォンの横向き時に文字が大きくなるのを防ぐ none指定は避ける*/
    -webkit-tap-highlight-color:rgba(0,0,0,0);    /*タップしたときに反転を防ぐ*/
}
#contents_wrapper {
    font-family: "segoe UI", "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", Meiryo, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4em;
    color: #333333;
    max-width: 621px;
    padding-top: 30px;
    margin: 0px auto 0px auto;
    background-image: url(../image/bg_contents_wrapper.png);
    background-repeat: repeat-y;
    position: relative;
}
#contents_wrapper a {
    outline: none;
    text-decoration: none;
    color: #3366CC;
	cursor: pointer;
	transition: color 0.3s, border-color 0.3s, background-color 0.3s, opacity 0.3s !important;
}
#contents_wrapper a:hover {
    opacity: 0.65 !important;
    text-decoration: none;
}
#contents_wrapper img {
    width: 100%;
    height: auto;
    border: none;
    vertical-align: middle;
}
#contents_wrapper ul {
    margin: 0;
    padding: 0;
}
#contents_wrapper p {
    margin: 0;
    padding: 0;
}
#contents_wrapper li {
    list-style-type: none !important;
}

/***************************************************************************
inner_contents
****************************************************************************/

.inner_contents {
    width: 91%;
    margin: 0px auto 0px auto;
}

/***************************************************************************
header
****************************************************************************/

#baby_img {
    position: absolute;
    top: 0;
    left: 0;
}
#mayodore_top_block {
    background-color: #FFFCE4;
    border-radius: 8px;
    margin-bottom: 30px;
}

@media only screen and (max-width: 500px) {
#mayodore_top_block {
    margin-bottom: 20px;
}
}

#mayodore_logo {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}
#mayodore_logo img {
    margin-top: -10px;
    max-width: 560px;
}

#age_recipe_outline {
    max-width: 520px;
    width: 93%;
    margin: 0px auto 0px auto;
}
#age_recipe {
    border-radius: 15px;
    border: 3px dotted #D2A258;
    background-color: #FFFFFF;
    padding: 12px;
}
.recipe_detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.recipe_detail:last-child {
    margin-bottom: 0px;
}
.recipe_detail .age {
    width: 29%;
    max-width: 140px;
}
.recipe_detail .exp {
    border-radius: 8px;
    flex: 1;
    padding: 10px 8px 10px 8px;
    font-weight: bold;
}

@media only screen and (max-width: 500px) {
.recipe_detail {
    display: block;
    margin-bottom: 10px;
}
.recipe_detail .age {
    width: 100%;
    max-width: inherit;
    border-radius: 8px 8px 0px 0px;
    text-align: center;
    padding: 5px 0px 5px 0px;
}
.recipe_detail .age img {
    width: 50% !important;
    height: auto;
    max-width: 100px;
}
.recipe_detail:nth-child(1) .age {
    background-color: #E3007F;
}
.recipe_detail:nth-child(2) .age {
    background-color: #00913A;
}
.recipe_detail:nth-child(3) .age {
    background-color: #0096DF;
}
.recipe_detail .exp {
    border-radius: 0px 0px 8px 8px;
}
}

.recipe_detail:nth-child(1) .exp {
    background-color: #F9DBE8;
}
.recipe_detail:nth-child(2) .exp {
    background-color: #E2EA97;
}
.recipe_detail:nth-child(3) .exp {
    background-color: #D2ECFA;
}

.age_recipe_attention {
    padding: 10px 0px 20px 10px !important;

}
.age_recipe_attention li {
    font-size: 11px;
    padding-left: 1em;       /* ブロック全体を 1em 右に */
    text-indent: -1em;       /* 先頭の1文字のみ 1em 左に */
}

/***************************************************************************
allergy
****************************************************************************/

#allergy {
    border: 6px solid #9ED8F5;
    padding: 10px;
    background-color: #FFFFFF;
    font-size: 14px;
    margin-bottom: 30px;
}

@media only screen and (max-width: 500px) {
#allergy {
    margin-bottom: 20px;
}
}

#allergy .allergy_ttl {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
#allergy .allergy_ttl:after {
    content: " ";
    display: block;
    height: 2px;
    background-color: #9ED8F5; 
    flex: 1;
    margin-left: 5px;
}

@media only screen and (max-width: 500px) {
#allergy .allergy_ttl {
    display: block;
    margin-bottom: 10px;
    text-align: center;
}
#allergy .allergy_ttl:after {
    margin-left: 0px;
    margin-top: 10px;
}
}

#allergy p {
    margin-bottom: 5px;
}

#allergy ul > li > ul {
    margin-left: 1em;
    margin-bottom: 10px;
}
#allergy ul > li > ul > li {
    padding-left: 1em;       /* ブロック全体を 1em 右に */
    text-indent: -1em;       /* 先頭の1文字のみ 1em 左に */
}
#allergy .allergy_attention {
    padding-left: 1.5em;        /* ブロック全体を 1em 右に */
    text-indent: -1.5em;        /* 先頭の1文字のみ 1em 左に */
    font-weight: bold;
}
#allergy .allergy_attention span {
    color: #FCCF00;
    font-size: 16px;
}

/***************************************************************************
age_btn
****************************************************************************/

.age_btn {
    display: flex;
    justify-content: space-between;
    padding-bottom: 30px !important;
    margin-bottom: 30px !important;
    border-bottom: 3px dotted #D2A258;
}

@media only screen and (max-width: 500px) {
.age_btn {
    padding-bottom: 20px !important;
    margin-bottom: 20px !important;
}
}

.age_btn li {
    width: 32%;
    max-width: 179px;
}

/***************************************************************************
recipe_list
****************************************************************************/

.recipe_list {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 3px dotted #D2A258;
    padding-bottom: 22px !important;
    margin-bottom: 30px !important;
}

@media only screen and (max-width: 500px) {
.recipe_list {
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
}
}

.recipe_list li {
    width: 33.333%;
    text-align: center;
    margin-bottom: 8px;
    padding: 0px 4px 0px 4px;
}
.recipe_list li a {
    border: 1px solid #BDBDBD;
    display: inline-block;
    background-color: #FFFFFF;
}
.recipe_list li img {
    max-width: 178px;
}

@media only screen and (max-width: 500px) {
.recipe_list li {
    width: 50%;
}
.recipe_list li img {
    max-width: 98%;
}
}

/***************************************************************************
page_top_btn
****************************************************************************/

.page_top_btn {
    padding-bottom: 30px;
}

@media only screen and (max-width: 500px) {
.page_top_btn {
    padding-bottom: 20px;
}
}

.page_top_btn a {
    display: block;
    max-width: 180px;
    margin: 0px auto 0px auto;
    background-color: #EF8200;
    color: #FFFFFF !important;
    border-radius: 8px;
    text-align: center;
    padding: 20px 0px 20px 0px;
    font-size: 18px;
    line-height: 1em;
}

@media only screen and (max-width: 500px) {
.page_top_btn a {
    padding: 15px 0px 15px 0px;
    font-size: 14px;
}
}