@charset "utf-8";

/* ---------------------------

基本設定

---------------------------*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,img,ins,kbd,q,s,samp,small,strike,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}
body{line-height:1;}
ol,ul{list-style:none;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}
button{margin:0;border:0;padding:0;border-radius:0;background:0;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;}
img{vertical-align:top;width:100%;}
textarea{vertical-align:top;font-family:inherit;}
button,input[type="submit"],input[type="button"],input[type="text"],input[type="email"],input[type="tel"],input[type="date"],label,select{cursor:pointer;-webkit-appearance: none;-moz-appearance: none;appearance: none;border-radius: 0;border: none;outline: none;max-width: 100%;box-sizing: border-box;}
select::-ms-expand{display: none;}input[type="submit"] {background: transparent;}
*:focus {outline: 0;}
*{box-sizing: border-box;}

html {font-size: 62.5%;}
body {
	color: #222;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
	line-height: 1.8;
	font-size: 1.4rem;
	width: 100%;
	position: relative;
}
main {display: block} /* For IE・Edge */

@media screen and ( max-width: 767px) { 
	body {font-size: 1.2rem;}
}

a {
	color: #000;
	text-decoration: none;
}
a.text-deco,
.link-decoration a {text-decoration: underline;}
a.text-deco:hover,
.link-decoration a:hover {text-decoration: none;}

a img {
	transition: 0.5s;
	opacity: 1;
	-webkit-backface-visibility: hidden;
}
a:hover img {
	opacity: 0.7;
}

@media (min-width: 768px) {
	.pc-none {display: none !important;}
}
@media (max-width: 767px) {
	.sp-none {display: none!important;}
}

#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-align: center;
	line-height: 1.2;
	z-index: 9999;
	font-size: 1.1rem;
}
#page-top a {
    background: #222;
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    display: block;
	transition: 0.3s;
	opacity: 1;
}
#page-top a:hover {
    text-decoration: none;
    opacity: 0.8;
}
#page-top a:before {
	transition: 0.5s;
	font-family: "Font Awesome 5 Free";
	content: "\f077";
	font-weight: 900;
	
	-webkit-font-smoothing: antialiased;
	display: block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;	
}
@media (max-width: 767px) {
	#page-top {visibility: hidden;}
}
.fixed-menu {
	position: fixed;
	z-index: 9999;
	right: 0;
	top: 300px;
	display: none;
	-ms-writing-mode: tb-lr;
	-webkit-writing-mode: vertical-lr;
	writing-mode: vertical-lr;
	padding: 15px;
	background: #777;
	color: #fff;
	font-size: 1.6rem;
	letter-spacing: 0.2em;
	cursor: pointer;
}
.fixed-menu:hover {
	opacity: 0.7;
}
@media (max-width: 767px) {
	.fixed-menu {
		display: none!important;
		opacity: 0 !important;
	}
}

.wp-caption-text {
	text-align: center;
	margin-top: 5px;
	font-size: 1.2rem;
}

.content-width {
	max-width: 1100px;
	margin: 0 auto;
}

/* 画像トリミング */
.object-fit-img {
  object-fit: cover;
  font-family: 'object-fit: cover;'
}
.object-fit-img-contain {
  object-fit: contain;
  font-family: 'object-fit: contain;'
}

/* オートページャーローディングアイコン */
.loading-button {margin-top: 50px !important;}
.loading-button img {
    width: 29px;
    margin: 0 auto;
    display: block;
}

/* 縦書き */
.vertical-writing {
	-ms-writing-mode: tb-rl;
	-webkit-writing-mode: vertical-rl;
	writing-mode: vertical-rl;
	display: inline-block;
}
.aligncenter .vertical-writing {text-align: left;}

.vertical-writing .text-combine {
  -webkit-text-combine: horizontal;
  -ms-text-combine-horizontal: all;
  text-combine-upright: all;
}

/* ビジュアルエディタ */
.visual-text { word-break: break-all;}
.visual-text > * + * {margin-top: 2rem;}

.visual-text img {
	width: auto;
	height: auto;
	max-width: 100%;
}

/* サイドカラム見出し */
.sub-title {
	border-bottom: 2px solid #777;
	font-size: 2.0rem;
	font-weight: bold;
	margin-bottom: 20px;
}

/*  テーブル  */
table:not(.xo-month) {
	width: 100%;
	table-layout: fixed;
	word-break: break-all;
}
table:not(.xo-month) th {
	text-align: left;
	background: #777;
	padding: 10px;
	border: 1px solid #ccc;
}
table:not(.xo-month) td {
    text-align: center;
	padding: 10px;
	border: 1px solid #ccc;
	background: #fff;
}
table:not(.xo-month) th a,
table:not(.xo-month) td a{
	color: inherit;
}
table.original-table {
	border: 20px solid #f7f7f7;
}
table.original-table th {
	background: #777;
	color: #fff;
	width: 30%;
	border: none;
	padding: 20px;
}
table.original-table td {
	text-align: left;
	background: #fff;
	border: none;
	padding: 20px;
}
table.original-table tr + tr {border: 1px solid #e4e4e4;}

@media (max-width: 767px) {
	table.original-table th,
	table.original-table td {
	display: block;
	width: 100%;
	padding: 10px 20px;
	border-top: none;
	box-sizing: border-box;
	}
}



/* ---------------------------

メールフォーム

---------------------------*/
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select{
	outline: none;
	border: 1px solid #a5a5a5;
	transition: all .3s;
	width: 100%;
	height: 40px;
	padding: 5px 15px;
	cursor: text;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus{
	box-shadow: 0 0 7px #dadada;
	border: 1px solid #cacaca;
}
textarea {height: auto;}
	
::-webkit-input-placeholder {color:#bdbdbd;}
:-ms-input-placeholder {color:#bdbdbd;}
::placeholder{color:#bdbdbd}

.confirm-message {
    text-align: center;
    font-size: 1.8rem;
    padding: 30px;
}
.mail-submit {
	width: 70%;
	margin: 0 auto;
}
.mail-submit .button:disabled,
.mail-submit .button:disabled:hover{
	background: #7b7b7b;
	color: #fff;
	border: none;
}

.must th:before {
	content:'必須';
	display: inline-block;
	background: #ff0000;
	font-size: 1.4rem;
	padding: 2px 5px;
	margin-right: 10px;
	color: #fff;
}
.must input[type="text"]:focus,
.must input[type="email"]:focus,
.must input[type="tel"]:focus,
.must input[type="date"]:focus,
.must textarea:focus,
.must select:focus{
	box-shadow: 0 0 7px #fabebe;
	border: 1px solid #f1a6a6;
}

.contact span.wpcf7-list-item {display: block;}
.contact span.wpcf7-list-item + span.wpcf7-list-item {margin-top: 15px;}

.ui-timepicker-div {padding: 5px;}
.ui-timepicker-div dl {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}
.ui-timepicker-div dl dt {width: 20%;}
.ui-timepicker-div dl dd{
	width: 80%;
	margin: 0;
}
@media (max-width: 767px) {
	th .must {
		font-size: 1.0rem;
		padding: 4px 5px;
	}
}

/* ---------------------------

ターム

---------------------------*/
.category-list {
    display: flex;
    flex-wrap: wrap;
	width: 640px;
	margin: 0 auto 30px;
}

.category-list a {
    display: block;
    width: 200px;
    padding: 5px 30px;
    background: #777;
    text-align: center;
    color: #fff;
    position: relative;
}

.category-list .current-cat a:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #777;
    position: absolute;
    bottom: -5px;
    left: 50%;
    margin-left: -2.5px;
}
@media screen and ( min-width: 768px) {
	.category-list li:not(:nth-child(3n + 1)) {margin-left: 20px;}
	.category-list li:nth-child(n + 4) {margin-top: 15px;}
}
@media screen and ( max-width: 767px) {
	.category-list {
		justify-content: space-between;
		width: 320px;
	}
	.category-list a {
		width: 150px;
	}
	.category-list li:nth-child(2n) {margin-left: 20px;}
	.category-list li:nth-child(n + 3) {margin-top: 15px;}
}

/* ---------------------------

ブログ

---------------------------*/
.alignleft {
    float: left;
    margin-right: 2rem;
}

.alignright {
    float: right;
    margin-left: 2rem;
}

.aligncenter {
	margin: 0 auto;
	display: block;
	text-align: center;
}

.blog-wrapper {
	display: flex;
	justify-content: space-between;
}
.single-main .article-list-wrapper {
	width: 70%;
}
.single-main .blog-side {
	width: calc(30% - 30px);
}
.article-list-wrapper .article-wrapper-inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.article-wrapper {width: 70%;}

.blog_layout_type1 .blog-article {width: calc(50% - 15px);}
.blog_layout_type1 .blog-image {margin-bottom: 15px;}
.blog_layout_type1 .blog-image img {
	object-fit: cover;
	height: 200px;
}
.blog_layout_type1 .blog-image img {
	object-fit: cover;
	height: 200px;
}

.blog_layout_type2 .blog-article {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.blog_layout_type2 .blog-article:not(:first-child) {margin-top: 50px;}
.blog_layout_type2 .blog-image {width: 40%;}
.blog_layout_type2 .blog-content-wrapper {width: calc(60% - 30px);}

.blog-content {
	margin-bottom: 15px;
	overflow: hidden;
}
.blog-content img {
	width: auto;
	height: auto;
	max-width:100%;
}

.blog-content > * + * {margin-top: 2rem;}

.article-info {
	display: flex;
	font-size: 1.2rem;
}
.article-info li:first-child {
	margin-right: auto;
}
.article-info li + li {margin-left: 15px;}
.article-info .post-categories {
	display: flex;
}
.article-info .post-categories a {
	display: block;
	padding: 0 5px;
	background: #777;
	color: #fff;
}
.article-info .post-categories li + li {margin-left: 5px;}

.single-pager {
	display: flex;
	justify-content: center;
	padding: 10px;
	background: #f5f5f5;
}
.single-pager li + li {
    margin-left: 50px;
}

.blog-side h3 {margin-bottom: 15px;}
.blog-side-wapper:not(:first-child) {margin-top: 50px;}
.blog-side-nav a {
	display: block;
	padding: 15px;
	border-bottom: 1px solid #ccc;
	color: #222;	
}
.blog-side-nav a:before {
	transition: 0.5s;
	font-family: "Font Awesome 5 Free";
	content: "\f061";
	font-weight: 900;
	margin-right: 15px;
	
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-style: normal;
	font-variant: normal;
	text-rendering: auto;
	line-height: 1;	
}
.blog-side-nav a:hover:before {
	margin-left: 10px;
}
@media screen and ( min-width: 768px) {
	.blog_layout_type1 .blog-article:nth-child(n + 3){margin-top: 50px;}
}
@media screen and ( min-width: 768px) and ( max-width: 1100px) {
	.blog_layout_type2 .blog-content-wrapper {width: calc(60% - 15px);}
}
@media screen and ( max-width: 767px) {
	.blog-wrapper {
		flex-wrap: wrap;
		/*flex-direction: column-reverse;*/
	}
	.single-main .article-list-wrapper,
	.blog_layout_type2 .blog-article {
		width: 100%;
		display: block;
		margin-bottom: 50px;
	}
	.single-main .blog-side {
		width: 100%;
		margin-bottom: 50px;
	}
	.blog_layout_type1 .blog-article {width: 100%;}
	.blog_layout_type1 .blog-article:not(:first-child) {margin-top: 50px;}
	.article-wrapper,
	.blog_layout_type2 .blog-image,
	.blog_layout_type2 .blog-content-wrapper{width: 100%;}
	.blog_layout_type2 .blog-image {margin-bottom: 15px;}
}


/* 記事に日付を追加 */
.article-wrapper-inner h3 {
	margin-bottom: 0;
}

.article_time {
	font-size: 1.4rem;
	margin-bottom: 3%;
}


/* ---------------------------

404エラー

---------------------------*/
.error404 {
	margin: 150px auto;
	width: 80%;
	text-align: center;
}
.error404 p:first-child {
	font-size: 5.0rem;
	line-height: 1;
	margin-bottom: 10px;
}
.error404 p:nth-child(2) {
	font-size: 2.0rem;
	margin-bottom: 50px;
}
.error404 p:nth-child(3) {margin-bottom: 50px;}
.error404 .button {
	width: 50%;
	margin: 0 auto;
}