h1 {
    padding:20px;
    border-top:5px solid #FF6600;
    border-bottom:1px solid #ddd;
    line-height:1.5;
    font-size:20px;
    font-weight: bold;
}

h1 p{
    font-size:14px;
    font-weight: bold;
}

ul.sns {
    margin: 20px 0;
}

@media screen and (max-width: 768px){
    ul.sns {
        text-align: center;
    }
}

#eventbody,p.headline {
    line-height:160%;
    font-size:14px;
    margin:1em 0;
}

#eventbody h2,
#eventbody h3,
#eventbody h4,
#eventbody h5,
#eventbody h6
{
    clear:both;
    position:relative;
    color:#333;
    margin:10px 0;
}

#eventbody h2 a,
#eventbody h3 a,
#eventbody h4 a,
#eventbody h5 a,
#eventbody h6 a
{
    color:#333;
}

#eventbody h2 {
    clear:both;
    margin:30px 0px 7px;
    padding:10px 5px;
    background:#f0f0f0;
    border-left:10px solid #FF9933;
    font-size:16px;
}

#eventbody h3 {
    font-size:13px;
    color:#FF6600;
}

#eventbody p {
    clear:both;
    color:#333;
    line-height:160%;
    margin:1em 0;
    border-radius: 5px;
}

#eventbody ul {
    margin:20px 0;
    padding:0;
    list-style:none;
}

#eventbody li {
    margin-bottom:5px;
    padding-left:10px;
}



#eventbody strong {
    color:#FF6600;
}

/* 商品イメージ */
#eventbody .items {
    width: calc(100% + 5px);
    display: flex;
    flex-wrap: wrap;
}

/* 商品イメージ */
#eventbody .img {
    position:relative;
    float:left;
    width: calc(100% / 4 - 5px);
    border:1px solid #d3d3d3;
    margin:0 5px 5px 0px;
    background:#FFFFFF;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 3px solid #FF6600;
    margin-bottom: 10px;
    flex-flow: column;
    align-items: center;
}

#eventbody .img a {
    width: 100%;
    height: 100px;
    padding-bottom: 100%;
    height: 0;
}


#eventbody .img img {
    position: relative;
    margin: 10px;
    width: 160px;
    /* height: 160px; */
}

#eventbody .img strong {
    padding: 5px 10px 10px;
    font-size: 13px;
    width: 100%;
}

#eventbody .img p {
    padding: 5px 10px 0;
    margin:0 !important;
    font-size:13px;
    width: 100%;
}



#eventbody .img p a {
    color:#333;
    text-decoration:none;
    padding-bottom: 0;
}

#eventbody .img p a:hover {
    color:#FF6600;
}

hr {
    clear:both;
}

#eventbody .page_list{
    zoom:1;
    overflow:hidden;
    overflow:-moz-scrollbars-none;
}

#eventbody .page_list li{
    float:left;
    padding:0px 8px 7px 0px;
    white-space:nowrap;
    border:none;
}

#eventbody .page_list li a{
    padding:7px 2px 7px 18px;
}

.attarea{
    margin:0px 10px;
    padding:10px;
    border:1px solid #ccc;
    background:#f1f1f1;
}
.attarea dt{
    margin:0px 0px 5px;
    padding:0px 0px 3px 2px;
    color:#c00;
    font-weight:bold;
    border-bottom:1px dotted #ccc;
}
.attarea dd{
    margin:0px;
    padding:0px;
}

#eventbody h3{
    margin:1.5em 0px;
    padding:4px 7px;
    /* background:#f1f1f1; */
    border-left:4px solid #FF6600;
}

#eventbody .table_cc{
margin:0px;
padding:0px;
}
#eventbody .table_cc td{
margin:0px;
padding:0px 10px 0px 0px;
border:none;
}
#eventbody #qa_area{
margin:0px;
padding:0px;
}
#eventbody #qa_area ul.tuning{
margin:0px;
}
#eventbody #qa_area li {
margin:0px 0px 5px;
padding:0px 10px 0px 1.5em;
background:url("http://stage.cospa.com/img/qa/m_basic.gif") 0 50% no-repeat;
border:none;
}

.qa_back{
    margin-top: 50px;
    margin-bottom: 30px;
    padding:0px 0px 0px 15px;
    background:url("http://stage.cospa.com/img/qa/m_back.gif") 0 50% no-repeat;
}
#eventbody #qa_area .table_area{
margin:0px;
padding:0px;
border-top:1px solid #ccc;
border-left:1px solid #ccc;
width:100%;
}
#eventbody #qa_area .table_area tbody{
margin:0px;
padding:0px;
}
#eventbody #qa_area .table_area tbody tr{
margin:0px;
padding:0px;
}
#eventbody #qa_area .table_area th{
margin:0px;
padding:5px;
background:#f1f1f1;
border-right:1px solid #ccc;
border-bottom:1px solid #ccc;
width:100px;
font-weight:bold;
}
#eventbody #qa_area .table_area td{
margin:0px;
padding:5px;
border-right:1px solid #ccc;
border-bottom:1px solid #ccc;
}

.table_basicevent{
padding:0px;
font-size:100%;
border-collapse:collapse;
border-top:1px solid #ccc;
border-left:1px solid #ccc;
}
.table_basicevent th{
margin:0px;
padding:10px;
background:#f1f1f1;
border-right:1px solid #ccc;
border-bottom:1px solid #ccc;
}
.table_basicevent td{
margin:0px;
padding:10px;
border-right:1px solid #ccc;
border-bottom:1px solid #ccc;
word-break:break-all;
}
.pages{
clear:both;
}

.table_basicevent th.font_bold{
font-weight:bold;
}
.table_basicevent .red{
color:#c00;
}
#eventbody .challenge{
margin:15px auto 0px;
padding:0px;
width:500px;
}
#eventbody .challenge li{
float:left;
margin:0px;
padding:0px 0px 8px;
width:500px;
border:none;
}

.txtc{
text-align:center;
}

#eventbody .curemenu_list2{
margin:0px auto;
width:700px;
}
#eventbody .curemenu_list2 li{
float:left;
margin:0px;
padding:0px 0px 0px 10px;
width:335px;
border:none;
}
#eventbody .curemenu_list2 li.long{
float:left;
margin:0px;
padding:0px 10px 0px 0px;
width:690px;
border:none;
}
#eventbody .curemenu_list2 li p{
margin:0px;
}

#eventbody .curemenu_list{
margin:0px auto;
width:500px;
}
#eventbody .curemenu_list li{
float:left;
margin:0px;
padding:0px 10px 0px 0px;
width:240px;
border:none;
}
#eventbody .curemenu_list li p{
margin:0px;
}


#eventbody li:before {
    position: absolute;
    content: '';
    top: 8px;
    height: 0;
    width: 0;
    border-style: solid;
    border-width: 6px 0 6px 9px;
	border-color: transparent transparent transparent #FF9933;
}

#marquee li {
    margin:0.5em;
    padding:0;
    width: 100%;
    height:2em;
    overflow:hidden;
    position:relative;
    display:inline-block;
}

#marquee li a {
    min-width:100%;
    height:100%;
    margin:0;
    padding:0.5em;
    display:table;
    white-space:nowrap;
    overflow:hidden;
    position:relative;
    top:0;
    left:0;
}

h1.t_h1basic{
    color: #fff;
    background: #313B4C;
    width: 100%;
    height: 40px;
    font-weight: bold;
    font-size: 17px;
    padding: 10px 15px;
    border-bottom: 0px;
    border-top: 0px;
    line-height: 1;
}

/* 商品画像のマウスオーバー */
div.img:hover a {
    opacity: 0.6;
    transition-duration: 0.3s;
}

@media screen and (max-width: 768px){
    h1 {
        padding: 5px;
    }

    #eventbody, p.headline {
        font-size: 13px;
    }

    #eventbody .img {
        width: 32%;
        margin: 0px 2px 10px 2px;
    }

    .m_qa p {
    }
}

/* FAQアコーディオン */
#eventbody .qa_index h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

#eventbody .qa_index h2:after {
    content: "";
    width:1em;
    min-width:1em;
    height:1em;
    min-height:1em;
    background-image: url(http://stage.cospa.com/images/common/icon/icon_plus.png);
    background-size: contain;
    vertical-align: middle;
    transition: transform 0.5s;
}

#eventbody .qa_index h2.openSlide:after {
    background-image: url(http://stage.cospa.com/images/common/icon/icon_minus.png);
    transform-origin:center center 0;
    transform: rotate(-360deg);
    transition: transform 0.5s;
}

.m_qa div{
    overflow-x: auto;
}

/**************************
    新着ニュース
***************************/
#new_news {
    margin: 25px auto;
}

div.wraph2{
    display: flex;
    width: 100%;
    margin:10px 0;
    background-color:#FF6600;
    border-bottom:5px solid #FF9933;
  }

  div.wraph2 h2 {
    width: 100%;
    padding: 10px;
    color: #fff;
    font-size: 17px;
    box-sizing: border-box;
  }

.news_area{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding-top: 20px;
}

.searchevents {
  width: 100%;
  text-align: center;
}

.genre_tag {
  display:flex;
  width: 15%;
  margin: auto;
}

.genre_tag p {
  border: 1px solid;
  width: 50%;
  text-align: center;
  margin: auto;
  font-size: 13px;
}

.news_info {
  width: 85%;
}

.news_info h3 {
  display: flex;
}

.news_info em {
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  margin: 0 5px;
}

.news_info p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 5px 0 0 0;
}

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

  .searchevents select {
    width: 90%;
    height: 35px;
  }

 .news_info {
    width:100%;
    margin: 5px auto;
  }

  .genre_tag {
    width:100%;
  }

  .genre_tag em,
  .genre_tag p {
    width:30%;
    margin:0;
  }
  .genre_tag em{
    margin: 0 5px;
    font-size: 13px;
    font-weight: normal;
    font-style: normal;
  }
  .addcartlist {
    font-size: 11px;
  }
}

/***************************
    YouTube動画の縦横比保持
***************************/
.yt-wrapper {
position: relative;
width: 100%;
}
.yt-wrapper:before {
content:"";
display: block;
padding-top: 56.25%;
}
.yt-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/******************************
カート追加ボタンのレイアウト
*******************************/

/*カート追加ボタン*/
.addcartlist {
  width: 95%;
  padding: 3px;
  background: #ffffff;
  border: none;
  border-radius: 5px;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  margin: 5px;
  height: 26px;
  display: flex;
  justify-content:center;
  align-items:center;
  margin-top: auto;
}

/*カート追加ボタン（ダイアログ）*/
.addcartdialog {
  width: 100%;
  padding: 10px;
  background: #ffffff;
  border: none;
  color: #ffffff;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content:center;
  align-items:center;
}

/*カート追加ダイアログのレイアウト*/
.stock_area {
  display: flex;
  flex-wrap: wrap;
  width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.stock {
  width: 100%;
  text-align: left;
  font-size: 15px;
}
.cart_in {
  display: flex;
  width: 100%;
  border: 1px solid #dadada;
  padding: 5px 0px;
  margin: 5px auto;
  box-sizing: border-box;
}
.cart_in .thumbWrapOut {
  max-width: 60px;
}
.thumbWrapOut {
  width: 100%;
  max-width: 80px;
  margin: auto;
}
.thumbWrapIn {
  width: 100%;
  height:0;
  padding-bottom: 100%;
  position: relative;
}
.thumbWrapIn img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.ui-dialog {
  padding: 20px!important;
  width: 375px!important;
}
.ui-dialog .ui-dialog-content {
  margin-top: 10px!important;
  padding: 0!important;
}
#dialog_attention {
  margin-bottom: 10px;
  padding: 10px;
  font-size: 11px;
  color: #E72F29;
  font-weight: bold;
  border: 1px solid #E72F29;
  text-align: justify;
}

/*カートボタンのアイコン*/
.addcartlist img {
  width: 18px!important;
  height: 18px!important;
  margin: 0 3px 0 0!important;
}

/*カートボタンのアイコン（ダイアログ）*/
.addcartdialog img {
  width: 20px!important;
  height: 20px!important;
  margin: 0 3px 0 0!important;
}

/*ポップアップ*/
#cart_msg{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index:250;
    background: #ffffff;
    width: 250px;
    font-weight: bold;
    border: 1px solid #317b96;
    border-radius: 5px;
    text-align: center;
    padding: 30px;
}


/******************************
カート追加ボタンのレイアウト　ここまで
*******************************/