footer{
    text-align: center;
    margin: 40px auto;
}

#main{
    background-image: url("../img/mama/bk_mama.gif");
}

#main h1{
    font-size: 48px;
    text-align: center;
    margin-top: 50px;
    background-color: #FCF;
    color: #63F;
    padding: 10px;
}
#main h1::before{
    content: "";
    width: 48px;
    height: 48px;
    background-image:url("../img/mama/ct_pudding_02.gif");
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    margin-right: 10px;
}
#main h1::after{
    content: "";
    width: 48px;
    height: 48px;
    background: none;
    background-image:url("../img/mama/ct_pudding_02.gif");
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    background-position: right;
    margin-left: 10px;
}
#main section{
    margin: 50px auto;
}

#main ul{
    width:400px;
    margin:0 auto;
    font-size: 32px;
}
#main li::before{
    content:  ""; /* 空の要素作成 */
    display:  inline-block;
    height: 32px;
    width:32px;
    margin-right: 10px;
    background-image: url("../img/mama/ct_pudding_01.gif");
}
#main li{
    display: inline-block;
    padding: 10px;
}

#prof{
    background-color: #cff;
}
#prof header{
    display: flex;
    max-width: 800px;
    margin: 50px auto 0;
}
#prof header h1{
    background-color:#fff;
    font-size: 40px;
    font-weight:400;
    padding:30px 20px;
    width:40%
}
#prof header .photo{
    width:45%;
    margin: 60px 10px;
    text-align: center;
}
#prof header .photo p{
    background-color: #ff9;
}
#prof header .photo p::before{
    content: "";
    width: 48px;
    height: 48px;
    background-image:url("../img/cut_usagi_brown.gif");
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
}
#prof header .photo p::after{
    content: "";
    width: 48px;
    height: 48px;
    background-image:url("../img/cut_usagi_gray.gif");
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    background-position: right;
}
#prof header .photo a{
    padding: 15px;
    display: inline-block;
}
#prof header .photo span{
    padding: 15px;
    display: inline-block;
}
#prof figure{
    margin: 0;
    display: none;
}
#prof figure:target{
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
#prof figure:target #overlay{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    text-decoration: none;
    color: inherit;
}
#prof figure:target #overlay figcaption{
    background-color: #999;
    padding: 10px;
    border-radius: 15px;
    margin-top: 15px;
}
 #prof figure:target img{
    animation: fadein .3s;
    border-radius: 15px;
}
#prof section {
    max-width:800px;
    margin:30px auto;
}
#prof ul{
    display: flex;
    flex-wrap: wrap;
}
#prof li{
    display: inline-block;
    min-width: 25%;
    max-width:70%;
    padding: 10px;
}
#prof li:nth-child(even){
    min-width: 55%;
}
#prof li.gray::before{
    content:  ""; 
    display:  inline-block;
    height: 15px;
    width:15px;
    border-radius: 50%;
    margin-right:5px;
    background-image: radial-gradient(
    at 6px 4px,
    #eee 0%,
    #999 40%,
    #000 100%
  );
}

#recipe{
    background-image: url("../img/mama/bk_mama.gif"); 
    padding: 40px;
}
#recipe section{
    width: 800px;
    margin: auto;
    padding: 20px;
}
#recipe section p span{
    font-size: 32px;
}
#recipe .recipe{
    width:800px;
    margin:0 auto 50px;
    background-color: rgb(255,255,255,0.7);
}
#recipe .recipe h3{
    padding: 20px;
}
#recipe .recipe div{
    display:flex;
    flex-wrap:wrap;
}
#recipe .recipe img{
    width:45%;
    height:100%;
    margin: auto;
}
#recipe h4{
    width:10%;
    margin-left: 25px;
}
#recipe ul{
    width:40%;
    display:flex;
    flex-wrap:wrap;
}
#recipe ul > li{
    width:45%;
    padding: 10px 0;
}
#recipe .howto{
    padding: 20px;
}
#recipe .howto p{
    width:10%;
}
#recipe .howto ol{
    counter-reset: number;
    margin-left: 30px;
}
#recipe .howto ol > li{
    padding: 10px 0;
    list-style: decimal;
}
#recipe .howto + p{
    padding: 20px 20px 30px;
}

#benri{
    background-image: url("../img/mama/bk_kitchen.gif"); 
}
#benri header{
    text-align: center;
    margin-top: 50px;
}
#benri h1{
    font-size: 32px;
}

.contents_box{
    display: flex;
    flex-wrap: wrap;
    margin: 30px auto;
    width: 760px;
}
.contents_box img{
    width: 360px;
    height: 100%;
    margin: auto;
}
.contents_box div{
    width: 45%;
    padding: 40px 15px;
    background-color: rgb(255, 255, 255, 0.75);
}
.contents_box div.blank{
    background: none;
}
.contents_box div p{
    margin-top: 10px;
}

#kowa{
    background-color: #c7c9ff;
}
#kowa section{
    margin: 20px auto;
    width: 760px;
}
#kowa p{
    padding: 15px;
}
#kowa div{
    margin: 10px;
}
#kowa h4{
    padding: 5px;
}