/*
Theme Name: Butterfly
Theme URI: http://crazy-wp.com/
Author: CRAZY WP
Author URI:  http://crazy-wp.com/
Version: 2.7
改定日：2016/06/21
2.5修正内容：スマホ横表示でのボタン崩れ修正
2.6修正内容：TOPのAboutサブタイトル「-とは-」で店舗名が出ない不具合を修正（カスタムフィールド「店舗名」を追加）
2.7修正内容：TOPのスライドショー下部にある◯ボタンを押しても画像がスライドされない不具合を修正
*/

/*=======================================
    スタイル名（日本語） - スタイル名（英語） -
=======================================*/

/*  スタイル名（日本語） - スタイル名（英語） -
=======================================*/

/*  スタイル名（日本語） - スタイル名（英語） - */

@import url(normalize.css);

html,body{
    font-size: 14px;
    position: relative;
    overflow-x: hidden;
    font-family: 'AvenirNextLTW01-Regular', Arial, 'AxisStd-Light', "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}
h2{ font-size: 2.2rem; }
h3{ font-size: 2rem; }
img{ max-width: 100%; height:auto; }

/*=======================================
    リンク - Link -
=======================================*/
a,a:active{
    color: black;
    text-decoration: none;
}
a:hover,a:active,a:focus,a:link{
    color: black;
}
/*=======================================
    その他 - Other -
=======================================*/
/*  TOPへ戻るリンク - Back To Top Link -
=======================================*/
#pageTop{
  width: 70px;
  height: 60px;
  background: #333;
  opacity: 0.7;
  position: fixed;
  bottom: -5px;
  right: 10px;
  border-radius: 5px;
  color: white;
  text-align: center;
  line-height: 60px;
}
#pageTop:hover{
  cursor: pointer;
  text-decoration: none;
}
/*  もっと見るリンク - Link More -
=======================================*/
.link-more{
    padding: 5px 10px;
    box-sizing: border-box;
    font-size: 0.7rem;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    position: relative;
    right: 0;
    background: black;
    border: 1px solid black;
    color: white !important;
    float: right;
}
.link-more:hover{
    text-decoration: none;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    background: white;
    color: black !important;
    border: 1px solid black;
    box-sizing: border-box;
}
}
.link-more:before{
    content: '＞';
}
.link-more>i{
    margin-right: 5px;
}
body.theme1 .link-more{
    background: black;
    border: 1px solid black;
    color: white;
}
body.theme1 .link-more:hover{
    background: white;
    color: black;
    border: 1px solid black;
    box-sizing: border-box;
}
.fix-width{
    width: 100%;
}


/*=======================================
    フォント - Fonts -
=======================================*/
/* serif */
.fnt-1{
    font-family: 'Cinzel', serif;
}
/* sans serif */
.fnt-2{
    font-family: 'Josefin Sans', sans-serif;
}
/* number */
.fnt-3{
    font-family: 'Noto Sans', sans-serif;
}
.bold{
    font-weight: bold;
}

/*=======================================
    色 - Color -
=======================================*/

/*  背景色 - Background Color -
=======================================*/
.bgColor-main{
    background: white;
}
.bgColor-sub1{
    background: #f6f5f5;
}


/*=======================================
    ボーダー - Border -
=======================================*/
.bd-top{
  border-top: 3px solid black;
}
.bd-color-theme1{
  border-color: black;
}


/*=======================================
    ユーティリティ - Utility -
=======================================*/
.txt-right{
    text-align: right;
}
.txt-left{
    text-align: left;
}
.txt-center{
    text-align: center;
}
.mt15{
	margin-top: 15px;
}

/*=======================================
    サイト幅 - Site Width -
=======================================*/
.ctn-area > .container.fill-width{
    width: 100%;
}
.contents-section{
    padding: 60px 0;
}

/*=======================================
    ヘッダー - Header -
========================================*/
#header{
    height: 60px;
}
#header .header-group{
    height: 60px 
;   display: table;
    width: 100%;
}
.header-group .v-middle{
    display: table-cell;
    vertical-align: middle;
}
.headLogo{
    width: 150px;
}
.headLogo img{
    width: 140px;
}
/*  下層ページ - Under Page -
=======================================*/
.page-under #header{
    border-bottom: 3px solid black;
} 

/*=======================================
    ナビゲーション - Nav -
=======================================*/

/*  ピル型ナビゲーション - Nav Pills -
=======================================*/
.nav-pills > li{
    border-right: 1px solid #aaa;
}
.nav-pills > li:last-child{
    border-right: none;
}
.nav-pills>li>a{
    padding-top: 5px;
    padding-bottom: 2px;
    border-radius: none;
}
.nav-pills>li>a:hover{
    background: none;
    text-decoration: underline;
}

/*  SNSナビゲーション - Nav SNS -
=======================================*/
.nav-sns .items{
    font-size: 20px;
}


/*=======================================
    パネル - Panel -
=======================================*/
.page-cast-list .panel{
	min-height: 280px;
}
.panel{
    border-radius: 0;
  box-shadow: none;
}
.panel-naked{
    padding: 0;
    background: none;
    box-shadow: none;
}
.panel-naked .panel-body{
    padding: 0;
    margin-bottom: 10px;
}
.panel .panel-foot{
    font-weight: bold;
}
/*  シンプルパネル - Simple Panel -
=======================================*/
.panel-simple .panel-title{
    font-size: 1rem;
    text-align: center;
    padding: 5px 0;
}
.panel-simple .panel-body{
    padding: 0;
}
.panel-simple .panel-img{
    border: 1px solid black;
}

.product-list .panel-body{
    background: black;
}
/* プロダクトリスト用パネル */
.product-list .panel-link,
.product-list .panel-link:hover{
    transition: all 0.5s;
}
.product-list .panel-link:hover{
    opacity: 0.7;
}
/*  ランキング用パネル - Ranking Panel -
=======================================*/
.panel-ranking .panel-head h3{
    font-size: 1rem;
    margin: 0;
}
.panel-ranking .panel-head .lsf-icon{
    font-size: 1.5rem;
}
.panel-ranking .panel-body .innrTxt{
    text-align: center;
}
.panel-ranking.panel-ranking-no1 .panel-head h3{
    font-size: 1.5rem;
}
.panel-ranking.panel-ranking-no2 .panel-head h3{
    font-size: 1.3rem;
}
.panel-ranking.panel-ranking-no3 .panel-head h3{
    font-size: 1.1rem;
}
#top-ranking .panel{
	min-height: 350px;
	margin-bottom: 0;
}

/*  リスト用パネル - List Panel -
=======================================*/
.panel-list{
    border-bottom: 1px solid #dfdfdf;
    margin-bottom: 20px;
}
.panel-list .date{
    font-size: 1rem;
    color: #bbb;
}
.panel-list .panel-title{
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2rem;
}
.panel-list .panel-txt{
    font-size: 1.2rem;
    padding-top: 10px;
}
.panel-list .panel-body{
    margin-bottom: 0;
}
.panel-list .panel-foot{
    padding: 10px 0;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}
/*  no-imageパネル - No Image Panel -
=======================================*/
.panel.panel-no-image{
	background: black;
	min-height: 700px;
	text-align: center;
	color: white;
	line-height: 700px;
	font-size: 3em;
}
.panel.panel-no-image:after{
	content: 'NO IMAGE';
}
.panel.panel-no-img{
	background:black; text-align:center; color:white; display:block;
}
.panel.panel-small{
	height:250px;
	line-height:250px;
}

/*=======================================
    ボタン - Button -
=======================================*/
.btn{
    border-radius: 0;
    transition: 0.5s;
}
.btn:hover{
    transition: 0.5s;
}
.btn-big {
    padding: 20px 80px;
}
.btn-default {
    color: white !important;
    background-color: black;
    border-color: black;
}
.btn-default:hover {
    color: black !important;
    background-color: white;
}
.btn-nagative {
    color: black !important;
    background-color: #f1f1f1;
    border-color: #f1f1f1;
}
.btn-nagative:hover {
    color: black !important;
    background-color: white;
}
.btn-flex{
    width: 100%;
}
.btn-vertical{
		width: 25%;
		margin: 0 auto;
}
.btn-vertical .btn{
		display: block;
		margin-bottom: 30px;
}

/*=======================================
    ページネーション - Pagination -
=======================================*/
.pagenation{
  overflow: hidden;
  margin-top: 20px;
}
.pagenation ul{
  float: left;
  position: relative;
  left: 50%;
  list-style: none;
  padding-left: 0;
}
.pagenation ul li{
  float: left;
  position: relative;
  right: 50%;
  padding: 2px 10px;
  border-right: 1px solid black;
}
.pagenation ul li:last-child{
  border-right: none;
}
.pagenation ul li.active{
  color: #888;
}
.pagenation li a, .pagenation li span{
    border: none;
    border-radius: 0;
    color: black;
}
.pagenation li a:hover,.pagenation li a:active,.pagenation li a:focus,.pagenation li a:visited, .pagenation li span:hover{
    border-radius: 0;
    color: black;
}

/*=======================================
    ラベル - Label -
=======================================*/
.label{
    padding: 3px 8px;
    border-radius: 0;
}
.label-theme1{
    background: #ccc;
}
.label-theme2{
    background: #ac0000;
}
.label-theme3{
    background: #0971B2;
}

.panel-list .panel-head .label{
    font-size: 0.8rem;
    margin-right: 5px;
}

/*=======================================
    テーブル - Table -
========================================*/
table{
    border: 1px solid black;
    margin: 0 auto;
    font-size: 1rem;
    margin-bottom: 20px;
}
table tr{
    border-bottom: 1px solid black;
}
table tr:last-child{
    border-bottom: none;
}
table tr td, table tr th{
    padding: 10px 30px;
}
table tr th{
    border-right: 1px solid black;
    font-weight: normal;
    text-align: center;
}

/*=======================================
    フォントアイコン - Font Awsome -
=======================================*/
.fa.fa-left{
    margin-right: 10px;
}

/*=======================================
    スマホメニュー - SmartPhone Menu -
=======================================*/
.sp-menu-page{
    position: fixed;
    top: 0;
    right: -180px;
    width: 180px;
    height: 100%;
    background: #ddd;
    z-index: 99999;
		box-shadow:rgba(79, 79, 79, 0.0666667) 4px 0px 5px 0px inset;
		-webkit-box-shadow:rgba(79, 79, 79, 0.0666667) 4px 0px 5px 0px inset;
		-moz-box-shadow:rgba(79, 79, 79, 0.0666667) 4px 0px 5px 0px inset;
}
.sp-menu-close-area{
		display: none;
		width: 100%;
		height: 120%;
		background: rgba(0,0,0,0.5);
		position: absolute;
		top: 0;
		left: 0;
		z-index: 999999;
}

/*=======================================
    トップページ - Top Page -
=======================================*/
.page-top .ctn-area .area-head .title,
.page-top .ctn-area .area-body .title{
    margin-bottom: 30px;
    position: relative;
}
.page-top .ctn-area .area-head .subTitle,
.page-top .ctn-area .area-body .subTitle{
    font-size: 1rem;
    margin-left: 15px;
}
.page-top .ctn-area .area-head .subTitle:before,
.page-top .ctn-area .area-head .subTitle:after,
.page-top .ctn-area .area-body .subTitle:before,
.page-top .ctn-area .area-body .subTitle:after{
    content: ' ー ';
}
.page-top .ctn-area.center .area-head{
    text-align: center;
}
/*  トップバナー - Top Baner -
=======================================*/
.flexslider-top-main{
  position: relative;
}
/* スライダーコントロール - Flex Slider Controll - */
.flexslider-top-main .flex-control-nav{
  bottom: 5px;
}
.flex-direction-nav a{
	display: none;	
}

.titleBack {
    width: 0;
    height: 0;
    border-bottom: 50px solid rgba(0,0,0,0.5);
    border-left: 100px solid transparent;
    position: absolute;
    bottom: 0;
    z-index: 10;
}
.titleBack .innrTxt{
    position: absolute;
    right: 10px;
    width: 170px;
    text-align: right;
    bottom: -50px;
    color: white;
}
.map .area-body{
    padding: 50px;
}

/*=======================================
    下層ページ - Sub Page -
=======================================*/
.page-under{
    
}
.ctn-main{
    padding-bottom: 30px;
}
.page-title{
    padding: 20px;
}

/*=======================================
    投稿ページ - post content -
=======================================*/
.post-content img{
  max-width: 100%;
  height: auto;
}
.post-contents:first-child .post-title h1{
  margin-top: 0;
}

/*=======================================
    サイドバー - Sidebar -
=======================================*/
/* ウィジェットタイトル - widget title - */
#sidebar-blog h2.widget-title{
  font-size: 1.2em;
}
#sidebar-blog ul{
  list-style: none;
  padding-left: 15px;
}

/*=======================================
    検索フォーム - Search Form -
=======================================*/
#searchform input[type="text"]{
  border: 1px solid black;
  padding: 6px;
  box-sizing: border-box;
}
#searchform input[type="submit"]{
  background: black;
  vertical-align: top;
  color: white;
}

/*=======================================
    フッター - Footer -
=======================================*/
footer{
    padding: 30px;
    padding-bottom: 10px;
    border-top: 3px solid black;
}
#footer-nav{
    text-align: center;
    position: relative;
}
#footer-nav ul{
    position: absolute;
    left: 50%;
}
#footer-nav ul li{
    left: -50%;
}
.footLogo{
    padding-top: 20px;
    padding-bottom: 30px;
}
.footLogo img{
    width: 120px;
    margin: 0 auto;
}
.copyright{
    text-align: center;
    font-size: 0.7rem;
}

/*=======================================
    Contact Form 7
=======================================*/
.wpcf7-form{
  width: 50%;
  margin: 0 auto;
}
.wpcf7-form input, .wpcf7-form textarea{
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid black;
}
.wpcf7-form input[type="submit"]{
  background: black;
  color: white;
}

/*=======================================
    スマホメニュー - SmartPhone Menu -
=======================================*/
#sp-menu{
    display: none;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 10px 0;
    border-radius: 50%;
    background: #fff;
    float: right;
}
#sp-menu:hover{
    background: #fafafa;
}
#panel-btn-icon{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: black;
    transition: .2s;
}
#panel-btn-icon:before, #panel-btn-icon:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 14px;
    height: 2px;
    background: black;
    transition: .3s;
}
#panel-btn-icon:before{
    margin-top: -6px;
}
#panel-btn-icon:after{
    margin-top: 4px;
}
#sp-menu .close{
    background: transparent;
}
#sp-menu .close:before, #sp-menu .close:after{
    margin-top: 0;
}
#sp-menu .close:before{
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}
#sp-menu .close:after{
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}



/*=======================================
    メディアクエリ - Media Query -
=======================================*/
@media screen and (min-width: 769px) {
    .headLogo img{
        margin-top: -5px;
    }
}
@media screen and (max-width: 768px) {
    /* ヘッダーナビゲーション */
    #header nav{
        display: none;
    }
    #sp-menu{
        display: block;
    }
    /* sns */
    .nav-sns{
        float: right;
        margin-top: 11px;
        margin-right: 15px;
    }
    .full-width .container,
    .full-width .container .row,
    .full-width .container .row > div
    {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .page-top .ctn-area .area-body .row{
        margin-right:-5px;
    }
    .page-top .ctn-area .area-body .row div[class^="col"]{
        padding-right: 5px;
    }
    .page-top .ctn-area .area-head .title .link-more{
        padding-right: 15px;
    }
    .map iframe{
        height: 250px;
    }
    .footer-group{
        display: none;
    }
    .footLogo{
        padding-top: 10px;
    }
    /* btn */
    .btn-vertical{
				width: 40%;
		}
		#top-ranking .panel{
			min-height: 450px;
		}
}
@media screen and (max-width: 736px) { /* 736px以下用（スマートフォン用）の記述 */	
	#top-access .btn-default{
		margin: 0 !important;
		margin-bottom: 15px !important;
		padding: 10px;
	}
}
@media screen and (max-width: 480px) {
    html,body{
        font-size: 12px;
    }
    .contents-section{
        padding-left: 15px;
        padding-right: 15px;
    }
    .map .area-body{
        padding: 20px;
    }
    .page-top .ctn-area .area-head .title{
        text-align: left;
    }
    .page-top .ctn-area .area-head .subTitle{
	  		margin-left: 0;
	  		display: block;
	  }
	  .page-top .ctn-area .area-head .title .link-more{
				top: 0;
		}
	  .page-top .ctn-area .area-body .row{
		 		margin-right: 0; 
		}
	  .page-top .ctn-area .area-body .row div[class^="col"]{
        padding-right: 0;
    }
    
    .hide-sp{
	   	display: none;
	  }
	  
	  /*top ranking*/
	  #top-ranking .panel{
			min-height: 270px;
		}
    
    /* ボタン */
    .btn{
        padding: 10px;
    }
    .btn-big {
		    padding: 20px 80px;
		}
    .btn-flex{
        font-size: 15px;
        margin: 10px 0 !important;
    }
    .btn-vertical{
				width: 100%;
		}
    
    /* table */
    table{
	    width: 100%;
	  }
    table tr th, table tr td{
	    padding: 5px;
	  }
		
		.titleBack{
			border-left-style: none !important;
			border-left: none !important;
			border-bottom-width : 30px !important;
		}
		.titleBack .innrTxt{
			bottom: -40px;
			right: 5px;
		}
		
    .wpcf7-form{
      width: 100%;
      margin: 0 auto;
    }
    
    /* product-list */
	  .product-list .panel-simple{
		 	min-height: 220px; 
		}
		
		/* serach form */
		#searchform input[type="text"]{
		  padding: 11.5px;
		}
		
}
@media screen and (max-width: 320px) {
	
	/* product-list */
	  .product-list .panel-simple{
		 	min-height: 170px; 
		}
		/*top ranking*/
	  #top-ranking .panel{
			min-height: 210px;
		}

    
}


