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

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

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

#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;
    /* top: -130px;
    padding-top: 130px; */
}

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

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

#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:#ff9900;
}

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

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

#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;
}

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



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

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

hr {
    clear:both;
}

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

.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 #ff9900;
}

.backimages {
    /* background:url("https://www.cospa.com/images/geestore/search/bg_gentei.gif") 50% 0 no-repeat; */
    background: #f1f1f1;
    border-radius: 5px;
	height:150px;
	margin:0 auto;
    width: 100%;
    text-align: center;
}

.backimages img {
    max-width: 100%;
}

.img_left{
    width:60%;
    float:left;
}

.img_right{
    width:40%;
    float:left;
}

#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("https://www.cospa.com/img/qa/m_basic.gif") 0 50% no-repeat;
border:none;
}

.qa_back{
    margin-bottom: 30px;
    padding:0px 0px 0px 15px;
    background:url("https://www.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 #cc3300;
}

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



#marquee li a {
    min-width:100%;
    height:100%;
    margin: 0 0 0 10px;
    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;
}

/* ドール特集 */
.LWcontest img {
    width: 100%;
}

#tab02 img {
    width: 100%;
}



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

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

    #eventbody .img {
        width: calc(100% / 3 - 6px);
        margin: 0px 2px 10px 2px;
    }

    .m_qa p {
        display: flex;
        flex-wrap: wrap;
    }

    #marquee li {
        width:100%;
    }
    .addcartlist {
        font-size: 11px;
    }
    #eventbody .img strong {
        padding: 5px 5px 10px;
    }
    #eventbody .img p {
        padding: 5px 5px 0;
    }
}

/***************************
    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 auto;
  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: 332px!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: 200px;
    font-weight: bold;
    border: 1px solid #317b96;
    border-radius: 5px;
    text-align: center;
    padding: 30px;
}


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