@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
p{
	font-size:15px;
}
.sp{
	display:none;
}
.font-s{
	font-size:14px;
}
.article h1{
	text-align:center;
	color:#134E78;
}
.article h2{
	background-color:#fff;
	margin-bottom:0;
}
.flex-content{
	display:flex;
	justify-content:space-between;
	width:80%;
	margin:3rem auto;
	align-items:center;
}
.flex-child{
	width:45%;
}
.site-name-text{
	display:none;
}

.navi-in > ul{
	margin-right:1.5rem;
	justify-content:flex-end;
	margin-top: 1rem;
}

.navi-in > ul li {
    display: block;
    width: max-content;
    height: auto;
    line-height: 2.3;
    position: relative;
	margin-bottom: 0.3rem;
	padding: 0 1rem;
}
.navi-in > ul li a:hover{
	background-color:#fff;
	text-decoration:underline;
}


.navi-in > ul .sub-menu a{
	background:#134E78;
	color:#fff;
}
.navi-in > ul .sub-menu:hover{
	background:#134E78;
}
.navi-in > ul .sub-menu:hover a{
	color:#fff;
	background:#134E78;
}

.navi-in > ul .sub-menu a {
    padding-right: 0;
	background:#134E78;
}
.navi-in a{
	color:#134E78;
	font-weight:bold;
	font-size:14px;
}
.navi-in a:hover{
	opacity:0.7;
}
.navi-in li:last-child{
	background:#134E78;

}
.navi-in .has-icon{
	right:-17px;
}
.navi-in li a:hover{
	background:#134E78;
}
.navi-in li:last-child .item-label{
	color:#fff;
}
.navi-in li:last-child .item-label:hover{
	background:#134E78;
}
.navi-in li:last-child .caption-wrap:hover{
	background:#134E78;
}
.navi-in li:last-child a:hover{
	background:#134E78;
	opacity:1;
}
.navi-in li:last-child a{
		color:#fff;
}
.content{
	margin-top:0;
	border-top:0.5rem solid #134E78;
}

.main-box{
	margin:auto;
	width:80%;
}

.aligncenter{
	text-align:center;
}


/*ホーム--------------------------------------*/
.top-text{
	width:80%;
	margin:auto;
	display: flex;
}
.top-text p{
	border: 2px solid #134E78;
    padding: 5px;
    margin-right: 15px;
	font-size: 13px;
}
.top-copy{
	text-align: center;
}
.top-copy h2{
	margin-top: 0;
	font-family: 'Noto Serif JP', serif;
	font-style: italic;
}
.top-copy p{
	font-size: 13px;
    line-height: 1.5;
}
p.link{
	text-align:right;
}
.link a{
	text-decoration:none;
	color:#000;
}
.entry-content .top-menu{
	width: 70%;
    margin: 5rem auto 0;
    border-style: double;
    padding-left: 2rem;
    padding-right: 2rem;
	border-color: #C99200;
    border-width: thick;
}
.entry-content .top-menu h3{
	margin-top:4rem;
}

.top-menu h3 p.price{
	margin:0;
}
.top-pic{
	width:40%;
	margin-top:3rem;
}

.top-pic-right{
	margin:0 0 0 auto;
}
.top-pic img{
	width:70%;
}
.content-reverse{
	flex-direction:row-reverse;
	text-align: right;
}

.sub-bg{
	background: linear-gradient(#f2f8fb, #c9e5ee);
    padding: 4rem 0;
    margin-top: 5rem;
}


/*メニューページ------------------------------*/
.menu{
	width:60%;
	padding-right:2rem;
}
.menu-right{
	margin:0 0 0 auto;
	padding-right:0;
}
.menu-right h2{
	margin-top:0;
	padding-top:0;
}
.menu h3{
	border-left: none;
    border-right: none;
    border-top: none;
	border-bottom:none;
	padding: 0 1rem 0.5rem;
	display: flex;
    justify-content: space-between;
	font-size:17px;
	margin-top: 5rem;
	position:relative;
}
.menu h3 p.price{
	margin:0;
}
.menu h3:before{
	content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    border-bottom: 2px solid #D4D4D4;
	width:100%;
}
.menu h3:after{
	content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
    border-bottom: 2px solid #134E78;
}
.menu-photo{
	float:right;
	margin-left:2rem;
	top:0;
}
.menu-photo-left{
	float:left;
	margin-right: 2rem;
    margin-left: 0;
}


p.jump{
	text-align:right;
	margin-right:2em;
}
p.jump a{
	color:#666;
	font-size:0.8em;
	text-decoration:none;
}
p.jump a:hover{
	opacity:0.6;
}

/*アクセス--------------------------------*/
.access{
	width:85%;
	margin:auto;
	
}
.map-responsive{
	overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
	margin-top:3rem;
}

.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.access-detail{
	width:50%;
	margin:3rem auto 0;
}
table th, table td {
    border: 1px solid #fff;
}
.scrollable-table th {
    background-color: #fff;
}
table tr:nth-of-type(2n+1) {
    background-color: #fff;
}

.access ul li{
	list-style-type:none;
	padding-left:none;
}


.footer{
	margin-top:0;
}
.footer-bottom{
	background-color:#134E78;
	color:#fff;
}
.navi-footer-in a{
	color:#fff;
	font-size:12px;
}
.navi-footer-in > .menu-footer{
	text-align: left;
}
.navi-footer-in > .menu-footer li:last-child{
	border-right:none;
}
.navi-footer-in > .menu-footer li{
	border-left:none;
}
.footer-bottom.fnm-text-width .menu-footer li{
	width:100%;
}
.footer-bottom-logo{
	display:none;
}
.footer-bottom.fnm-text-width .menu-footer li a:hover{
	background-color:#134E78;
	color:#fff;
	opacity:0.8;
}

/*shareボタン---------------------*/
.sns-share-message{
	font-weight: bold; 
	color: #875d5b;
	font-size:16px;
	letter-spacing: 1px;
}
.sns-share-buttons {
	justify-content: center;
}
.sns-share-buttons a {
	border-radius: 50%; 
	font-size: 20px; 
	margin: 0 10px; 
}
#main .sns-share a {
	width: 40px; 
	height: 40px;
}
.sns-share-buttons a .button-caption{
	display:none;
}

/*snsボタン-----------------------*/
.sns-follow-message{
	font-weight: bold; 
	color: #875d5b;
	font-size:16px;
	letter-spacing: 1px;
}
.sns-follow-buttons {
	justify-content: center;
}
.sns-follow-buttons a {
	border-radius: 50%; 
	font-size: 20px; 
	margin: 0 10px; 
}
.sns-follow{
	margin-top:30px;
}
#main .sns-follow a {
	width: 40px; 
	height: 40px;
}
footer.article-footer{
	margin-top:5rem;
	margin-bottom:0;
}
.entry-content{
	margin-bottom:0;
}

/*ネトラバスティ*/
.points{
	width: 55%;
    margin: auto;
    text-align: left;
	background-color: #fffeef;
    padding: 2rem;
    box-sizing: content-box;
}
.points ul{
	list-style:none;
	padding:0;
	font-size: 16px;
	margin:0;
	font-weight: bold;
}
.main-box .point-title{
    font-weight: bold;
    font-size: 18px;
	margin-bottom:1rem;
}
.warn{
	margin: 5rem auto 2rem;
    text-align: left;
    border: 2px solid red;
    padding: 1rem;
    box-sizing: border-box;
}
.warn p{
	font-weight:bold;
	color:red;
	
}
.warn ul{
	list-style:none;
	padding:0;
	font-size:16px;
}
/*問い合わせ*/
.inquiry{
	width:80%;
	margin:3rem auto;
}
.inquiry label{
	line-height: 3;
}
input[type='submit'] {
	width:30%;
	margin:auto;
    display: block;
	background-color:#134E78;
	color:#fff;
}

/*化粧品ショップ*/
body.woocommerce-shop ul.products li.product h2.woocommerce-loop-product__title{font-size:0.8em;}

/*
 * ページ毎にヘッダーロゴを変更 *
 ********************************/
/* 元のロゴ画像を非表示 */
.woocommerce .logo > a img {
	visibility:hidden;
}
/* 元の背景画像を消す */
.woocommerce .header {
	background-image: none;
}
/* 新たなヘッダーロゴを入れる */
.woocommerce .logo > a .site-name-text {
	display: inline-block;
	width: 350px;
	max-width: 100%;
	background: url("http://magic-b.net/wp-content/uploads/2022/11/spicelogo2.png") no-repeat;
	background-size: contain;
}

/*販売ページのページネーション*/
body nav.woocommerce-pagination ul.page-numbers{width:80%;margin:0 auto;border:none;display:flex !important;}
body nav.woocommerce-pagination ul.page-numbers li{margin:0 1em;width:45px;}


/*フランソワーズモリス化粧品について*/
body.page-id-143 div#content main#main div.entry-content h5{text-align:center;font-size:1.8em;border:none;margin:0 0 1em 0;padding:0;}
body.page-id-143 div#content main#main div.entry-content p{border:none;text-align:center;}
body.page-id-143 div#content main#main div.entry-content span.gold{color:rgb(162,123,54);font-size:1.2em;font-weight:bold;}
body.page-id-143 div#content main#main div.entry-content div.point_2{margin-top:6em;}
body.page-id-143 div#content main#main div.entry-content div.point_2 p.small{margin:0;font-size:0.8em;}
body.page-id-143 div#content main#main div.entry-content ol li{list-style:none;padding:0;overflow:hidden;margin:0;margin-bottom:2em;}
body.page-id-143 div#content main#main div.entry-content ol li p.keyimage img{margin:2em;}
body.page-id-143 div#content main#main div.entry-content ol li p.keyimage img.alignleft{margin:0 2em 0 0;}
body.page-id-143 div#content main#main div.entry-content ol li p.keyimage img.alignright{margin:0 0 0 2em;}
body.page-id-143 div#content main#main div.entry-content ol li p.subtitle{font-size:1.2em;border-bottom:solid 1px rgb(162,123,54);}
body.page-id-143 div#content main#main div.entry-content ol li p.point_text{text-align:left;}
body.page-id-143 div#content main#main div.entry-content div.best_products{margin-top:6em;}
body.page-id-143 div#content main#main div.entry-content div.best_products ul{display:flex;margin:0;}
body.page-id-143 div#content main#main div.entry-content div.best_products ul li{margin-bottom:0.5em;}
body.page-id-143 div#content main#main div.entry-content div.best_products li h2.woocommerce-loop-product__title{font-size:0.8em;text-align:left;}
body.page-id-143 div#content main#main div.entry-content div.best_products p.to_shop{overflow:hidden;margin-right:2em;}
body.page-id-143 div#content main#main div.entry-content div.best_products p.to_shop a{text-decoration:none;color:rgb(162,123,54);font-size:0.9em;float:right;margin:0;}
body.page-id-143 div#content main#main div.entry-content div.best_products p.to_shop a:hover{opacity:0.7;}

a.add_to_cart_button{font-size:0.8em !important;}

p.price:after{content:"（税込み）";}
div.woocommerce-product-details__short-description p{font-size:1.2em;font-weight:bold;color:rgb(99,144,80);}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.entry-content .top-menu{
		width:90%;
	}
	.menu-photo {
    width: 60%;
    float: none;
    margin: auto;
    position: static;
    top: 0;
}
	.menu {
    width: 90%;
    padding-right: 0;
    margin: auto;
}
	.navi-footer-in > .menu-footer li.menu-item{
		text-align:left;
	}
	/* spice販売ページのロゴサイズ調整 */
	.woocommerce .logo > a .site-name-text{width:90%;position:relative;top:20px;}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.sp{
		display:block;
	}
	.flex-content {
    display: block;
	width: 100%;
	}
	.content-reverse{
		text-align:left;
	}
	.flex-child {
    width: 100%;
}
	.menu h3{
		display:block;
		padding: 0 0 0.5rem;
		margin-top:3rem;
		line-height: 1.8;
	}
	.menu h3:after{
		width:100px;
	}
	.menu {
    width: 100%;
	}
	.entry-content .top-menu {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
	}
	.entry-content .top-menu{
		width:100%;
	}
	.entry-content .top-menu h3 {
    margin-top: 3rem;
    
}
	.menu-photo {
    width: 80%;
	}
	.menu-right h2{
		margin-top:1rem;
	}
	.access-detail {
    width: 100%;
	}
	.scrollable-table th, table td {
    width: 100%;
    display: block;
	font-size:17px;
	text-align:left;
}
	.main-box {
    width: 100%;
	}
	.points {
    width: 100%;
    box-sizing: border-box;
}
	.inquiry {
    width: 100%;
    margin: auto;
}
	
	
	body.page-id-143 div#content main#main div.entry-content div.main-box ol{padding:0;margin:0 auto;}
	body.page-id-143 div#content main#main div.entry-content ol li p.subtitle{font-size:0.9em;}
	body.page-id-143 div#content main#main div.entry-content ol li p.keyimage img.alignleft{float:none;margin-right:0;}
	body.page-id-143 div#content main#main div.entry-content ol li p.keyimage img.alignright{float:none;margin-left:0;}
	body.page-id-143 div#content main#main div.entry-content div.best_products ul{display:block;}
body nav.woocommerce-pagination ul.page-numbers li{border:none;}
}
