/*
Theme Name: TR temp01
Theme URI: 
Description: TR temp01
Version: 1.0
Author: template
Tags: simple

*/

@charset "UTF-8";
@import url("css/grid.css");
@import url("css/mailform.css");
@import url("css/swiper.css");
@import url("css/swiper.min.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #999;
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 1rem;
	border: 2px solid #000;
}
.tel-button {
	padding: 1rem;
	border: 0px solid #fff;
    color: #55CF63;
    font-size: 2.2rem;
    font-weight: 500;
}
.site-title a {
    width:125px;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 5rem 0;
	padding: 3rem 0;
}
.gray-back {
	background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.3rem solid #2dc3a5;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}
/*導入の流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {

}

/*フッターのサブ1(SNSなどに３カラム)
-------------------------------------*/
.footer-sub1 {
    background-color: #f7f7f7;
    padding: 5rem 0;
}
.footer-sub1 h4 {
    border-bottom: 3px solid #ccc;
}
/* 768px未満*/
@media screen and (max-width: 768px) {
.footer-sub1 h4 {
	font-size: 1.4rem;
}
}
/*フッターのサブ２（下部にメニュー入れるとき）
-------------------------------------*/
.footer-sub2 {
    background: #fff;
}
.footer-sub2-list1 {
	background: #cfcfcf;
	text-align: center;
	padding: 0 10px;
}
.footer-sub2-list1 li {
	display: inline-block;
	margin: 0 20px 0 0;
	line-height: 50px;
}
.footer-sub2-list1 li:last-child {
	margin-right: 0;
}
.footer-sub2-list1 li a {
	text-decoration: none;
	color: #fff;
}
.footer-sub2-list1 li a:hover {
	text-decoration:underline;
	opacity:1;
	color: #331d00;
}	
.footer-sub2-list2 {
	text-align: center;
	padding: 1rem 10px 0rem 10px;
}
.footer-sub2-list2 li {
	display: inline-block;
	margin-right: 30px;
}
.footer-sub2-list2 li:last-child {
	margin-right: 0;
}
.footer-sub2-list2 li a {
	text-decoration: none;
	color:#331d00;
}
.footer-sub2-list2 li a:hover {
	text-decoration:underline;
	color:#331d00;
}
/* 768px未満*/
@media screen and (max-width: 768px) {
.footer-sub2-list1 {
	padding: 15px 10px;
}
.footer-sub2-list1 li {
	padding: 0 6px 0 0;
	border-right: 1px solid #666;
	line-height: inherit;
	margin:  5px 0;
	font-size: 1.4rem;
}
.footer-sub2-list2 {
	padding: 0.1rem 10px 1.8rem 10px;
}
.footer-sub2-list2 li {
	padding: 0 6px 0 0;
	line-height: inherit;
	margin:  0;
	font-size: 1.4rem;
}
}
/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid #ccc;
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 0.7rem 0;
	background-color: rgba(0,0,0,0.7);
}
.copyright a {
    color: #fff;
	font-size: 1.2rem;
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
}
#pagetop a {
	display: block;
	padding: 6px 4px 0 4px;
	border-radius: 30px;
	width: 40px;
	height: 40px;
	background-color: rgba(0,0,0,0.6);
	color: #fff;
	font-weight: 500;
	text-decoration: none;
	text-align: center;
}
/* 768px未満*/
@media screen and (max-width: 768px) {
#pagetop a {
	padding: 10px 4px 0 4px;
}
}
#pagetop a:hover {
 	text-decoration: none;
	opacity: 0.3;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}	
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}