@charset "utf-8";

/*
----------------------------------------
layout
----------------------------------------
*/

#wrapper {
	width: 100%;
	background: #fafafa;
	margin: 0 auto;
}

.wrap {
	margin: 0 auto;
	padding: 0 20px;
}

#sp-btn {
	display: none;
}


/*
----------------------------------------
header
----------------------------------------
*/

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 1.5;
}

#header {
	min-width: 375px;
}

#header h1 {
	background: #555;
	color: #fff;
}

#header h1 .wrap {
	font-family: 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', '游ゴシック', YuGothic, sans-serif;
	padding: 2px 20px;
	font-size: 1.2rem;
}

#header .wrap {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
	padding: 40px 20px;
	align-items: center;
	text-align: center;
}

#header .logo {
	margin-right: 20px;
}

#header .identity {
	margin: 0 auto;
	font-size: 3rem;
}

#header .h-txt {
	margin-right: auto;
	text-align: left;
}

#header .bnr {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	line-height: 1.4;
}

#header .bnr figure {
	margin-left: 15px;
}

#header .wrap > div {
	margin-left: 10px;
}


/*
----------------------------------------
g-nav
----------------------------------------
*/

#g-nav {
	background: #000;
	z-index: 99999;
	padding: 0 10px;
}

#g-nav.fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

#g-nav > ul.wrap {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	justify-content: space-around;
	border-left: solid 1px #555;
	padding: 0;
}

#g-nav > ul > li {
	flex-grow: 1;
	position: relative;
	border-right: solid 1px #555;
}

#g-nav > ul > li > a {
	display: block;
	padding: 15px 5px;
	color: #fff;
	transition: all .2s;
}

#g-nav > ul > li > a:hover {
	background: #333;
}

/* sub-menu */

#g-nav li ul {
	min-width: 100%;
	position: absolute;
	top: 90%;
	left: 0;
	background: #f7f7f7;
	visibility: hidden;
	opacity: 0;
	z-index: 999999;
	transition: all .2s;
}

#g-nav li:last-child ul {
	right: 0;
	left: auto;
}

#g-nav li:hover ul {
	top: 100%;
	visibility: visible;
	opacity: 1;
}

#g-nav li ul li {
	border-bottom: solid 1px #ccc;
}

#g-nav li ul a {
	display: block;
	padding: 15px 20px;
	text-align: left;
	white-space: nowrap;
	transition: all .2s;
}

#g-nav li ul a:hover {
	background: #555;
	color: #fff;
}


/*
----------------------------------------
page-ttl
----------------------------------------
*/

#page-ttl {
	background: #eee;
	padding: 40px 20px;
}

#page-ttl .box {
	display: inline-block;
	background: rgba( 255,255,255,.9 );
	padding: 20px 40px;
	line-height: 1.4;
}

#page-ttl .box h2 {
	font-size: 3rem;
	font-weight: normal;
}

#page-ttl .box h2.en {
	font-size: 4rem;
}

#page-ttl .box p {
	font-size: 1.5rem;
}

#page-ttl .box p.en {
	font-size: 2rem;
}


/*
----------------------------------------
topic-path
----------------------------------------
*/

.topic-path {
	padding: 10px 0;
	margin-bottom: 20px;
	background: #fafafa;
}

.topic-path .wrap {
	text-align: left;
}


/*
----------------------------------------
container
----------------------------------------
*/

#container {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
	text-align: left;
	margin-top: 50px;
}

#contents {
	width: 70%;
	margin-bottom: 30px;
}

#head-contents {
	margin: 20px 0 40px 0;
}

#sidebar {
	width: 30%;
	padding: 0 0 0 20px;
	box-sizing: border-box;
}


/*
----------------------------------------
contents
----------------------------------------
*/

#contents > p,
#contents > figure {
	margin-bottom: 30px;
}

#contents .bnr {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	margin: 30px 0;
}

#contents .bnr figure {
	text-align: center;
	padding: 0 5px;
}

#contents .post {
	padding: 0 10px 40px 10px;
	box-sizing: border-box;
}

#contents .post .client {
	font-size: 1.1rem;
	color: #777;
}

#contents ul.cat-list {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 10px;
}

#contents ul.cat-list li {
	margin: 0 5px 5px 0;
}

#contents ul.cat-list a {
	display: inline-block;
	padding: 0 10px;
	background: #ddd;
	color: #555;
	font-size: 1rem;
	border-radius: 4px;
	transition: all .4s;
}

#contents ul.cat-list a:hover {
	background: #000;
	color: #fff;
}

.post .post-header {
	border-bottom: solid 1px #ccc;
	padding-bottom: 20px;
	margin-bottom: 30px;
}

#contents .post .post-header h1,
#contents .post .post-header h1 a {
	line-height: 1.4;
	margin-bottom: 5px;
}

.post .post-contents h1,
.post .post-contents h2,
.post .post-contents h3,
.post .post-contents h4,
.post .post-contents h5,
.post .post-contents h6 {
	border-bottom: solid 1px #ccc;
	padding: 0 0 10px 0;
	margin-bottom: 20px;
}

.post .flex {
	margin-bottom: 0;
}

.post .flex > .thumb {
	width: 40%;
	padding-right: 30px;
	box-sizing: border-box;
}

.post .flex > .txt {
	width: 100%;
}

.post .flex > .thumb + .txt {
	width: 60%;
}

.post .flex > .txt p {
	margin-bottom: 20px;
}

.post .more {
	text-align: right;
}

.post .more a {
	display: inline-block;
	padding: 2px 25px 2px 10px;
	margin: 10px 0;
	border-bottom: solid 2px #000;
	position: relative;
	transition: all .2s;
}

.post .more a:after {
	font-family: 'FontAwesome';
	content: '\f105';
	position: absolute;
	top: 2px;
	right: 10px;
	transition: all .2s;
}

.post .more a:hover:after {
	right: 5px;
}

.post-contents p,
.post-contents a {
	font-size: 1.5rem;
}

.post-contents .photo {
	text-align: center;
}

.post-contents img {
	max-width: 100%;
	height: auto;
}

.post-contents .search-ans {
	background: #f3f3f3;
	padding: 10px 20px;
	margin-bottom: 30px;
}

.post-contents p {
	margin-bottom: 30px;
}

.post-contents ul,
.post-contents ol {
	margin-bottom: 30px;
}

.post-contents ul li {
	list-style: disc;
	margin-left: 30px;
}

.post-contents ol li {
	list-style: decimal;
	margin-left: 30px;
}

.post-contents blockquote {
	background: #f3f3f3 url() 20px 20px no-repeat;
	padding: 30px 60px 10px 60px;
	margin-bottom: 30px;
	border-radius: 12px;
}

.post-contents blockquote p,
.post-contents blockquote ul,
.post-contents blockquote ol {
	margin-bottom: 20px;
}

.post-nav {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 60px 0;
}

.post-nav .prev,
.post-nav .next {
	width: 40%;
}

.post-nav a {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	align-items: center;
	padding: 0 0 0 3rem;
	position: relative;
}

.post-nav .next a {
	flex-direction: row-reverse;
	padding: 0 3rem 0 0;
}

.post-nav a:before {
	font-family: 'FontAwesome';
	position: absolute;
	top: 50%;
	font-size: 3rem;
	transform: translate( 0, -50% );
	transition: all .2s;
}

.post-nav .prev a:before {
	content: '\f104';
	left: 5px;
}

.post-nav .prev a:hover:before {
	left: 0;
}

.post-nav .next a:before {
	content: '\f105';
	right: 5px;
}

.post-nav .next a:hover:before {
	right: 0;
}

.post-nav img {
	width: 30%;
	line-height: 1;
}

.post-nav .prev img {
	margin: 0 15px 0 0;
}

.post-nav .next img {
	margin: 0 0 0 15px;
}

.post-nav .back-link {
	width: 16%;
}

.post-nav .back-link a {
	display: block;
	text-align: center;
	padding: 15px 5px;
	box-sizing: border-box;
	border: solid 1px #ccc;
	border-radius: 5px;
	transition: all .2s;
}

.post-nav .back-link a:hover {
	background: #000;
	color: #fff;
}

.page-nav .wp-pagenavi {
	clear: both;
	text-align: center;
	margin-top: 60px;
}

.page-nav .wp-pagenavi a,
.page-nav .wp-pagenavi span {
	font-size: 1.5rem;
	padding: 10px 15px;
	margin: 3px;
	border-radius: 4px;
	transition: all .4s;
}

.page-nav .wp-pagenavi a:hover,
.page-nav .wp-pagenavi span.current {
	background: #000;
	color: #fff;
}

.addtoany_share_save_container {
	background: #fafafa;
	padding: 20px;
	margin: 40px 0;
}

#contents section.relation-post {
	padding: 0;
}

#contents section.relation-post h2 {
	text-align: center;
	background: #333;
	color: #fff;
	font-size: 1.6rem;
	padding: 5px;
	margin-bottom: 0;
}

#contents section.relation-post .flex {
	padding: 10px;
	margin-bottom: 0;
}

#contents section.relation-post .flex h3 {
	font-size: 1.6rem;
}

#contents section.relation-post ul.cat-list {
	margin-bottom: 5px;
}

#contents section.relation-post ul.cat-list a {
	font-size: 1.1rem;
}

#contents section.relation-post p.user {
	font-size: 1.3rem;
}


/*
----------------------------------------
sidebar
----------------------------------------
*/

#sidebar .back-link a {
	display: block;
	padding: 15px;
	font-size: 1.6rem;
	text-align: center;
	border: solid 1px #ccc;
	border-radius: 5px;
	margin-bottom: 30px;
	transition: all .2s;
}

#sidebar .back-link a:hover {
	background: #000;
	color: #fff;
}

#sidebar .back-link a:before {
	font-family: 'FontAwesome';
	content: '\f104';
	margin-right: 1rem;
	position: relative;
	left: 0;
	transition: all .2s;
}

#sidebar .back-link a:hover:before {
	color: #fff;
	left: -5px;
}

#sidebar .bnr {
	margin-bottom: 5px;
}

#sidebar .bnr figure {
	margin-bottom: 10px;
}

#sidebar .bnr figcaption {
	text-align: left;
}

#sidebar > div {
	margin-bottom: 15px;
}

.side-menu h2 {
	font-size: 1.6rem;
	border-bottom: solid 2px #000;
	padding-bottom: 5px;
	position: relative;
}

.side-menu h2 .en {
	font-size: 1.4rem;
	position: absolute;
	right: 0;
	bottom: 5px;
}

.side-menu > ul {
	margin-bottom: 30px;
}

.side-menu > ul > li {
	border-bottom: solid 1px #ccc;
}

.side-menu li li {
	border-top: solid 1px #ccc;
}

.side-menu a {
	display: block;
	padding: 10px;
	position: relative;
	transition: all .2s;
}

.side-menu a:hover {
	background: #fafafa;
}

.side-menu a:after {
	font-family: 'FontAwesome';
	content: '\f105';
	position: absolute;
	right: 15px;
	bottom: 10px;
	transition: all .2s;
}

.side-menu a:hover:after {
	right: 10px;
}

.side-menu li li a:before {
	content: '-';
	margin-right: 10px;
}

.side-menu.box-menu {
	margin: 30px 0 0 0;
	border: solid 1px #ddd;
	padding: 20px;
}


/*
----------------------------------------
footer
----------------------------------------
*/

.bottom-contents{
	border-top: solid 1px #ccc;
	padding: 30px 20px;
}

footer {
	background: #fafafa;
}

footer .wrap {
	text-align: left;
	padding: 30px 20px;
}

footer #bottom-nav {
	flex: 5;
	padding-right: 20px;
	box-sizing: border-box;
}

footer #bottom-nav h2 {
	font-size: 1.8rem;
	border-bottom: solid 1px #000;
	padding-bottom: 5px;
	margin-bottom: 10px;
}

footer #bottom-nav .flex > ul {
	flex: 1;
}

footer #bottom-nav .flex > ul > li > a {
	padding-left: 1rem;
	position: relative;
}

footer #bottom-nav .flex > ul > li > a:before {
	font-family: 'FontAwesome';
	content: '\f105';
	position: absolute;
	top: -5px;
	left: 0;
}

footer #bottom-nav li li a {
	display: inline-block;
	font-size: 1.2rem;
	margin-left: 1rem;
	text-decoration: underline;
}

footer #bottom-nav .sub-menu {
	margin-bottom: 1.5rem;
}

footer #bottom-nav .sub-menu li {
	display: inline-block;
}

footer .store-info {
	flex: 3;
	padding-right: 10px;
	box-sizing: border-box;
}

footer .store-info h2 {
	font-size: 1.8rem;
	margin-bottom: 10px;
	padding-left: 10px;
	border-left: solid 4px #000;
}

footer .store-img {
	flex: 2;
	text-align: right;
	box-sizing: border-box;
}

.copyright {
	background: #333;
	color: #fff;
	padding: 30px 20px 60px 20px;
}

.copyright small {
	font-size: 1.4rem;
}

.copyright a {
	color: #fff;
}

#bottom-fix {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: fixed;
	right: 30px;
	bottom: 30px;
}

#bottom-fix .tel,
#bottom-fix .contact {
	display: none;
}

#bottom-fix .contact a,
#page-top a {
	display: block;
	width: 60px;
	height: 60px;
	line-height: 60px;
	font-size: 3rem;
	background: #000;
	color: #fff;
	text-align: center;
	transition: all .4s;
}

#bottom-fix .contact a {
	font-size: 2rem;
	background: #777;
}

#bottom-fix .contact a:hover {
	background: #999;
}

#page-top a:hover {
	background: #555;
}


/*
----------------------------------------
flex
----------------------------------------
*/

.flex {
	-js-display: flex;
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin: 0 0 30px 0;
}

.flex.nowrap {
	flex-wrap: nowrap;
}

.flex.reverce {
	flex-direction: row-reverse;
}

.flex.item-center {
	align-items: center;
}

.flex figure {
	margin-bottom: 5px;
	text-align: center;
	border: solid 1px #ddd;
	line-height: .5;
	margin-bottom: 10px;
	background: #ccc;
}

.flex figure a img:hover {
	opacity: .8;
}

.flex > li {
	padding: 5px;
}

/* column */

.flex .box.pic {
	width: 40%;
	padding: 0 20px 0 0;
	box-sizing: border-box;
	text-align: center;
}

.flex.reverce .box.pic {
	padding: 0 0 0 20px;
}

.flex .box.txt {
	width: 60%;
	box-sizing: border-box;
	padding: 0;
	margin-bottom: 5px;
}

#contents .flex .box.txt h1,
#contents .flex .box.txt h2,
#contents .flex .box.txt h3 {
	font-size: 2rem;
}

/* box */

.flex .box {
	padding: 10px;
	box-sizing: border-box;
	position: relative;
}

.flex .box .num {
	position: absolute;
	left: 5px;
	top: 5px;
	width: 40px;
	height: 40px;
	line-height: 40px;
	background: #000;
	color: #fff;
	text-align: center;
	font-size: 1.8rem;
}

.flex.box-02 .box {
	width: 50%;
}

#contents .flex.box-02 h1,
#contents .flex.box-02 h2,
#contents .flex.box-02 h3 {
	font-size: 2rem;
}

.flex.box-03 .box {
	width: 33.3333%;
}

#contents .flex.box-03 h1,
#contents .flex.box-03 h2,
#contents .flex.box-03 h3,
#contents .flex.box-03 h4 {
	font-size: 1.8rem;
}

.flex.box-04 .box {
	width: 25%;
	font-size: 1.3rem;
}

#contents .flex.box-04 h1,
#contents .flex.box-04 h2,
#contents .flex.box-04 h3,
#contents .flex.box-04 h4,
#contents .flex.box-04 h5 {
	font-size: 1.2rem;
}

.flex.box-05 .box {
	width: 20%;
	font-size: 1.3rem;
}

.flex.box-06 .box {
	width: 16.6666%;
	font-size: 1.3rem;
}
