@charset "UTF-8";

/*---------------------------------------------
PC
---------------------------------------------*/
@media screen and (min-width: 769px){

/* TOP */
.topmain { width: 100%; max-width: 1400px; position: relative; margin: 0 auto; }
.topmain .main01 { width: 36.58%; position: absolute; left: 31.71%; top: 0; }
.topmain .main02 { width: 31.71%; position: absolute; left: 0; top: 0; }
.topmain .main03 { width: 31.71%; position: absolute; right: 0; top: 0; }
.topmain li a { display: block; position: relative; text-align: center; color: #fff; font-weight: bold; font-size: 20px; }
.topmain li a span { position: absolute; display: inline-block; left: 0; right: 0; border: 1px solid; border-color: rgba(255,255,255,0.7); background-color: rgba(0,0,0,0.3);  padding: 10px 0; text-shadow: 0 0 3px #000; }
.topmain .main01 a span { top: 39%; margin: 0 auto; width: 13em; padding: 30px 15px;
	-webkit-writing-mode: inherit; -ms-writing-mode: tb-rl; writing-mode: inherit; letter-spacing: 0.1em; line-height: 100%; }/*fix top:30%*/
.topmain .main02 a span { top: 45%; margin: 0 auto; width: 13em; }
.topmain .main03 a span { top: 45%; margin: 0 auto; width: 13em; }
.topmain img { width: 100%; display: block; height: auto; }
.topmain a:hover span { background-color: rgba(0,0,0,0.4); }

.top_catch { padding: 820px 0 85px; /*background: url(../img/top/top_goma.jpg) no-repeat center 30px;*/ } /*fix this */
.top_catch h2 { text-align: center; font-size: 30px; }
.top_catch strong { display: block; font-size: 34px; }

.top_thum { width: 980px; margin: 0 auto; }
.top_thum h3 { text-align: center; background: url(../img/common/dot.png) repeat-x center center; margin: 0 0 35px; }
.top_thum h3 span { display: inline-block; background: #fff; padding: 0 25px; font-size: 24px; }
.top_thum ul { text-align: center; margin: 0 0 90px; }
.top_thum ul li { display: inline-block; font-size: 18px; width: 31%;}/*add new size width 31%* font size from 20 is*/
.top_thum ul li:nth-child(2) { margin: 0 20px; }
.top_thum h4 { font-size: 30px; text-align: center; margin: 0 0 20px; line-height: 250%; }
.top_thum .challenge_link { width: 440px; margin: 0 auto 60px; text-align: right; }

.top_thum ul li p.toppage { padding-bottom: 10px;}/*add new manage for us20211704*/



.top_thum_list { width: 980px; margin: 0 auto; }
.top_thum_list h2 { text-align: center; background: url(../img/common/dot.png) repeat-x center center; margin: 0 0 35px; }
.top_thum_list h2 span { display: inline-block; background: #fff; padding: 0 25px; font-size: 28px; }
.top_thum_list h3 { margin: 0 0 10px 0;}
.top_thum_list ul { text-align: center; margin: 0 0 90px; }
.top_thum_list ul li { display: inline-block; font-size: 18px; width: 45%;}/*add new size width 31%* font size from 20 is*/
.top_thum_list ul li:nth-child(2) { margin: 0 20px; }
.top_thum_list h4 { font-size: 30px; text-align: center; margin: 0 0 20px; line-height: 250%; }
.top_thum_list .challenge_link { width: 440px; margin: 0 auto 60px; text-align: right; }

.top_thum_list ul li p.toppage { padding-bottom: 10px;}/*add new manage for us20211704*/


.top_underbox { background: #f6f6f3; clear: both; }
.top_underbox .inner { width: 980px; margin: 0 auto; padding: 85px 0; }
.top_underbox .inner .top_news { position: relative; width: 500px; float: right; }
.top_underbox .inner .top_news .top_new_sns { position: absolute; top: 0; right: 0; }
.top_underbox .inner .top_news .top_new_sns a { display: inline-block; margin: 0 0 0 10px; }
.top_underbox .inner .top_news h3 { font-size: 19px; margin: 0 0 10px; }
/*.top_underbox .inner .top_news ul {}*/
.top_underbox .inner .top_news ul li { background: url(../img/common/dot.png) repeat-x 0 bottom; font-size: 15px; padding: 15px 0; }
.top_underbox .inner .top_news ul li p { line-height: 140%; }
.top_underbox .inner .top_news ul li .tn_date { font-size: 14px; }
.top_underbox .inner .top_news .top_new_more { text-align: right; padding: 10px 0; font-size: 14px; }

.top_underbox .inner .top_bnr { width: 440px; }
.top_underbox .inner .top_bnr li { margin: 0 0 20px; }
.top_underbox .inner .top_bnr img { display: block; }
.top_underbox .inner .top_bnr li.twobnr { overflow: hidden; }
.top_underbox .inner .top_bnr li.twobnr a { display: block; width: 210px; float: left; }
.top_underbox .inner .top_bnr li.twobnr a:first-child { margin: 0 20px 0 0; }
.top_underbox .inner .top_bnr li.twobnr a img { width: 100%; }

}


.tp_item { width: 980px; margin: 0 auto; }
.tp_item h3 { text-align: center; background: url(../img/common/dot.png) repeat-x center center; margin: 0 0 35px; }
.tp_item h3 span { display: inline-block; background: #fff; padding: 0 25px; font-size: 24px; }
.tp_item ul { 
    display: -webkit-box; 
    display: -ms-flexbox; 
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    margin: 0 0 0px; }
.tp_item ul li{
    width: 18.4%;
    margin: 0 2% 2% 0;
    text-align: center;
    font-weight: bold;
}
.tp_item ul li:nth-child(5n){
    margin: 0 0% 2% 0;
}
.tp_item ul li img{
    width: 100%;
    height: auto;
}
.tp_item h4 { font-size: 30px; text-align: center; margin: 0 0 20px; line-height: 250%; }
.tp_item .challenge_link { width: 980px; margin: 0 auto 60px; text-align: right; }

.tp_notice {
    padding: 10px 0 10px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.tp_notice a,
.tp_media a{
    color: #e63232;
}

.tp_media {
    padding: 20px 0 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.top_recipe { width: 980px; margin: 0 auto 60px; }
.top_recipe h3 { text-align: center; background: url(../img/common/dot.png) repeat-x center center; margin: 0 0 35px; }
.top_recipe h3 span { display: inline-block; background: #fff; padding: 0 25px; font-size: 24px; }
.top_recipe img { width: 100%; height: auto;}

/*---------------------------------------------
SP
---------------------------------------------*/
@media screen and (max-width: 768px){

/* TOP */
.topmain { width: 100%; position: relative; margin: 0 auto; overflow: hidden; }
.topmain .main01 { width: 100%; }
.topmain .main02 { width: 50%; float: left; }
.topmain .main03 { width: 50%; float: right; }
.topmain li a { display: block; position: relative; text-align: center; color: #fff; font-weight: bold; font-size: 18px; }
.topmain li a span { position: absolute; display: inline-block; left: 0; right: 0; text-shadow: 0 0 3px #000; line-height: 120%; }
.topmain .main01 a span { bottom: 60%; margin: 0 auto; width: 20em; border: 1px solid; padding: 10px 0; border-color: rgba(255,255,255,0.7); background-color: rgba(0,0,0,0.3); }
.topmain .main02 a span { top: 45%; margin: 0 auto; }
.topmain .main03 a span { top: 45%; margin: 0 auto; }
.topmain .main03 a:nth-child(2) span, .topmain .main02 a:nth-child(1) span { top: 35%; }
.topmain .main02 a, .topmain .main03 a { background: #000; }
.topmain img { display: none; }
.topmain li img { width: 100%; display: block; height: auto; }
.topmain .main02 img, .topmain .main03 img { opacity: 0.7;  }

.top_catch { padding: 80px 10px 60px; background: url(../img/top/top_goma.jpg) no-repeat center 20px; background-size: 50px; }
.top_catch h2 { text-align: center; font-size: 16px; line-height: 180%; }
.top_catch strong { display: block; font-size: 20px; }

.top_thum { margin: 0 auto; }
.top_thum h2 { text-align: center; background: url(../img/common/dot.png) repeat-x center center; margin: 0 10px 20px; }
.top_thum h2 span { display: inline-block; background: #fff; padding: 0 15px; font-size: 16px; }
.top_thum h3 { text-align: center; background: url(../img/common/dot.png) repeat-x center center; margin: 0 10px 20px; }
.top_thum h3 span  {display: inline-block; background: #fff; padding: 0 15px; font-size: 24px; }
.top_thum ul { text-align: center; margin: 0 10px 40px; }
.top_thum ul li { display: block; font-size: 16px; font-weight: bold; margin: 0 0 20px; line-height: 150%; }
.top_thum ul li img { width: 100%; }
.top_thum h4 { font-size: 16px; text-align: center; margin: 0 0 10px; line-height: 180%; }
.top_thum .challenge_link { margin: 0 10px 40px; text-align: right; }

.top_thum_list { margin: 0 auto; }
.top_thum_list h2 { text-align: center; background: url(../img/common/dot.png) repeat-x center center; margin: 0 10px 35px; }
.top_thum_list h2 span { display: inline-block; background: #fff; padding: 0 15px; font-size: 24px; }
.top_thum_list h3 { margin: 0 0 10px 0;}
.top_thum_list ul { text-align: center; margin: 0 10px 40px; }
.top_thum_list ul li { display: block; font-size: 16px; font-weight: bold; margin: 0 0 20px; line-height: 150%; }
.top_thum_list ul li img { width: 100%; }
.top_thum_list h4 { font-size: 16px; text-align: center; margin: 0 0 10px; line-height: 180%; }
.top_thum_list .challenge_link { margin: 0 10px 40px; text-align: right; }


.top_underbox { background: #f6f6f3; clear: both; }
.top_underbox .inner { margin: 0 auto; padding: 20px 10px; }
.top_underbox .inner .top_news { position: relative; }
.top_underbox .inner .top_news .top_new_sns { position: absolute; top: 0; right: 0; }
.top_underbox .inner .top_news .top_new_sns a { display: inline-block; margin: 0 0 0 10px; }
.top_underbox .inner .top_news h3 { font-size: 19px; margin: 0 0 10px; }
/*.top_underbox .inner .top_news ul { }*/
.top_underbox .inner .top_news ul li { background: url(../img/common/dot.png) repeat-x 0 bottom; font-size: 15px; padding: 15px 0; }
.top_underbox .inner .top_news ul li p { line-height: 140%; }
.top_underbox .inner .top_news ul li .tn_date { font-size: 14px; }
.top_underbox .inner .top_news .top_new_more { text-align: right; padding: 10px 0; font-size: 14px; }

.top_underbox .inner .top_bnr { padding: 20px 0; }
.top_underbox .inner .top_bnr li { margin: 0 0 20px; }
.top_underbox .inner .top_bnr img { display: block; width: 100%; }
.top_underbox .inner .top_bnr li.twobnr { overflow: hidden; }
.top_underbox .inner .top_bnr li.twobnr a { display: block; width: 48%; float: left; }
.top_underbox .inner .top_bnr li.twobnr a:first-child { margin: 0 4% 0 0; }
.top_underbox .inner .top_bnr li.twobnr a img { width: 100%; }

    .tp_item {width: 94%; margin: 0 auto; }
    .tp_item h3 { text-align: center; background: url(../img/common/dot.png) repeat-x center center; margin: 0 0 35px; }
    .tp_item h3 span { display: inline-block; background: #fff; padding: 0 25px; font-size: 24px; }
    .tp_item ul { 
        display: -webkit-box; 
        display: -ms-flexbox; 
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        margin: 0 0 0px; }
    .tp_item ul li{
        width: 48%;
        margin: 0 4% 4% 0;
        text-align: center;
    }
    .tp_item ul li:nth-child(5n){
        margin: 0 4% 4% 0;
    }
    .tp_item ul li:nth-child(2n){
        margin: 0 0% 4% 0;
    }
    .tp_item ul li img{
        width: 100%;
        height: auto;
    }
    .tp_item h4 { font-size: 30px; text-align: center; margin: 0 0 20px; line-height: 250%; }
    .tp_item .challenge_link { width: auto; margin: 0 auto 60px; text-align: right; }
    
    .tp_notice {
        padding: 10px 3%;
    }

    .tp_notice a,
  .tp_media a{
        font-size: 12px; 
    }
  
  .tp_media{
    padding: 0;
  }
  
  .tp_media a{
    border-bottom: 1px solid #ddd;
    padding: 13px 3%;
    display: block;
  }
    
  .top_recipe {width: 94%; margin: 0 auto 60px; }
  .top_recipe h3 { text-align: center; background: url(../img/common/dot.png) repeat-x center center; margin: 0 0 35px; }
  .top_recipe h3 span { display: inline-block; background: #fff; padding: 0 25px; font-size: 16px; }
}