@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999;
    --back-color: #f7f7f7;
    --back-color2: #481D0D;
    --border-color: #ccc;
    --white-color: #fff;
    --white-color2: #eee;
    --nav-color: #333;
	--primary-color: #F36C21;		/*テンプレートのメインまたはアクセントカラー*/
	--primary-inverse-color: #fff;	/*上のprimary-colorの対となる色*/
	
	--global-space: 7vw;			/*主に余白の一括管理用。画面幅100%＝100vwです。*/
}
body {
    background: var(--white-color2); 
    color: var(--base-color);
    font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
h2 {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    text-align: center;
}

.button {
    margin: 1rem;
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
    margin-bottom: 2rem;
}
.sitetitle {
    font-size: 3.0rem;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    width: 200px;
    font-size: 16px;
    text-decoration: none;
    background-color: var(--link-color);   
    color: var(--white-color);
    box-shadow: 1px 1px var(--base-color);
}
.contact-button::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
}
.contact-button:hover {
    opacity: 0.9;
    color: var(--white-color);
}
/*スマホ用メニュー
-------------------------------------*/	
.spnavi {
    display: none;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
    font-weight: bold;
	flex: 1 0 auto;
}
nav li a {
    text-align: center;
    width: 100%;
}
nav a:hover {
    color: var(--primary-color);
  
}
nav a {
position: relative; /*アンダーラインの位置を決めるための基準 */
    padding: 0.5rem;
    color: var(--nav-color);
}

nav a:after {
  background-color: var(--primary-color); /* 下線の色 */
  bottom: -4px; /* 要素の下端からの距離 */
  content: ""; /* 要素に内容を追加 */
  height: 2px; /* 下線の高さ */
  left: 15%; /* 要素の左端からの距離 */
  position: absolute; /* 絶対位置指定 */
  transform: scale(0, 1); /* 下線を横方向に0倍、縦方向に1倍に変形（非表示） */
  transform-origin: center top; /* 変形の原点を中央上に指定 */
  transition: transform .3s; /* 変形をアニメーション化 */
  width: 70%; /* 要素の幅 */
}

nav a:hover:after {
transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}

@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: 25px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 25px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 25px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}
    
/*メイン画像
-------------------------------------*/
#mainimg {
    width: 100%;
}
#mainimg h1 {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 2;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color); 
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 0 0;
}
section {
	margin: 2rem 0 3rem 0 ;
	padding: 3rem 0;
}
.gray-back {
	background-color: var(--back-color);
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
}

.gray-back2 {
background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください
    background-size: cover;
}




/*bg3背景
---------------------------------------------------------------------------*/
.bg3 {
background:
	linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 50%, var(--white-color2) 50%, var(--white-color2) 100%);
	justify-content: center;
	align-items: center;
	width: 100%;
/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: var(--primary-color);	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	padding-top: 2vw;
	padding-right: 7vw;
	padding-left: 7vw;
			/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます。*/
	
    /*以下は変更不要*/
    margin: 0 auto 3rem;
}
/*bg3背景上でのh2*/
.bg3 h2 {
	color: #fff;	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	font-weight: bold !important;
	font-size:  4rem !important;
}
.bg3 h3 {
	color: #333;	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	font-weight: bold !important;
	font-size:  2.5rem !important;
}
.bg3 h4 {
	color: #333;	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	font-weight: bold !important;
	font-size:  2.5rem !important;
	padding: 2vw;
}

/*bg4背景
---------------------------------------------------------------------------*/
.bg4 {
background:
	linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 50%, var(--white-color2) 50%, var(--white-color2) 100%);
	justify-content: center;
	align-items: center;
	width: 100%;
/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: #000;
	padding-right: 7vw;
	padding-left: 7vw;
			/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます。*/
	
    /*以下は変更不要*/
    margin: 0 auto;
}
/*bg3背景上でのh2*/
.bg4 h2 {
	color: #fff;	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	font-weight: bold !important;
	font-size:  4rem !important;
}

/*bg5背景
---------------------------------------------------------------------------*/
.bg5 {
background:
	linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 30%, var(--back-color2) 30%, var(--back-color2) 40%, var(--white-color2) 40%, var(--white-color2) 100%);
	justify-content: center;
	align-items: center;
	width: 100%;
/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: #000;
	padding-right: 7vw;
	padding-left: 7vw;
			/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます。*/
	
    /*以下は変更不要*/
    margin: 0 auto;
}
/*bg3背景上でのh2*/
.bg5 h2 {
	color: #fff;	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	font-weight: bold !important;
	font-size:  4rem !important;
}

.bg5 .col {
background: #fff;

}

.bg5-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    width: 95%;
    font-size: 16px;
    text-decoration: none;
    background-color: #fff;   
    color: #000;
}
.bg5-button::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--back-color2);
    border-right: 2px solid var(--back-color2);
    transform: rotate(45deg);
}

/*bg6背景
---------------------------------------------------------------------------*/
.bg6 {
background:
	linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 40%, var(--back-color2) 40%, var(--back-color2) 50%, var(--white-color2) 50%, var(--white-color2) 100%);
	justify-content: center;
	align-items: center;
	width: 100%;
/*背景色。css冒頭のprimary-colorを読み込みます。*/
	color: #000;
	padding-right: 7vw;
	padding-left: 7vw;
			/*ボックス内の余白。css冒頭のglobal-spaceを読み込みます。*/
	
    /*以下は変更不要*/
    margin: 0 auto;
}
/*bg3背景上でのh2*/
.bg6 h2 {
	color: #fff;	/*文字色。css冒頭のprimary-inverse-colorを読み込みます。*/
	font-weight: bold !important;
	font-size:  4rem !important;
}

.bg6 .col {
	background: #fff;

}


.ya{ 
    text-align: left;
	float: left;
	padding-right:35px;
	margin-left: 1rem;
}

.ya2 {
	float: right;
	margin-right: 1rem;
	width: 20px;
bottom: 10px;
}

.bg6 .imgup {

	margin-bottom: 1rem;
}
/*ニュース
-------------------------------------*/
.news {
    margin: 0 auto;
    max-width: 980px;
    padding: 2rem;
}
.news-list{
    list-style: none;
  }
.news-list .item, .item p {
    margin-bottom: 0;
  }
.news-list .item a{
    display: flex;
    flex-wrap: wrap;
    color: var(--nav-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}
.news-list .item:first-child a{
    border-top: 1px solid var(--border-color);
}
.news-list .item .date{
    min-width: 120px;
    color: var(--link-color);
}
.news-list .item a:hover .title{
    color: var(--base-color);
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
    line-height: 1.7;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/* Googleマップ
-------------------------------------*/
.gmap {
	margin: 3rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
    padding: 5rem 0;
}
footer h4 {
    position: relative;
    padding-bottom: 1rem;
    width: 100%;
    border-bottom: 2px solid var(--border-color);
}
footer h4::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 70px;
    height: 2px;
    background-color: var(--link-color);
}
/*電話
-------------------------------------*/
a.tel {
    display: inline-block;
}
@media screen and (min-width: 768px){
a[href*="tel:"] { /* PC時は電話番号無効 */
    pointer-events: none;
    cursor: default;
}
}
/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 150px;
}
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea { 
    background-color: var(--white-color);
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--link-color);
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: block;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background: var(--white-color);
    border: 1px solid var(--linkhover-color);
    padding-top: 30px;
    text-align: center;
    text-decoration: none;
    opacity: 0.8;
}
#pagetop::after{
    content: "";
    display: block;
    border-top: 2px solid var(--base-color);
    border-right: 2px solid var(--base-color);
    width: 25%;
    height: 25%;
    top: 45%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
#pagetop:hover{
    opacity: 0.5;
}

/* 下層ページヘッダー
-------------------------------------*/
.subimg {
    height: 350px;
    background: url('../img/subimg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 2rem;
}
.subimg h1 {
    height: 350px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color); 
    margin: 0;
}
/* パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.header-box {
    display: none;
}	
/*スマホ用メニュー
-------------------------------------*/	
.spnavi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    text-decoration: none;
    background-color: var(--link-color);   
    color: var(--white-color);
}
.spnavi a {
    display: inline-block;
    color: var(--white-color);
}
.spnavi a:hover {
    opacity: 0.9;
    background-color: var(--link-color);   
    color: var(--white-color);
}
.spnavi::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--white-color);
    border-right: 2px solid var(--white-color);
    transform: rotate(45deg);
}
/*メイン画像
-------------------------------------*/
#mainimg h1 {
    height: 350px;
}
/*ニュース
-------------------------------------*/
.news-list .item .title{
    margin-top: 1em;
}
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
}


hr {
width: 40%;
padding: 0;
  border-top: 2px solid #fff;
}

.imgup {
  cursor: pointer;
  max-width: 500px;
  overflow: hidden;
  width: 100%;
}
.imgup img {
  height: auto;
  transition: transform .5s ease; /* ゆっくり変化させる */
}
.imgup:hover img {
  transform: scale(1.1); /* 拡大 */
}
/*
３列メインコンテンツ
-------------------------------------------*/
.cont_list {
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flexbox;
	display: -moz-flexbox;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: flex;
	-webkit-box-lines: multiple;
	-moz-box-lines: multiple;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.cont_list .list_box {
	width: 32%;
	background-color: #EEE;
	box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 5px 0px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 5px 0px;
	-moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 5px 0px;
	margin-bottom: 20px;
}


.cont_list .list_box:hover {
	background-color: #FFF;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px 0px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px 0px;
	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px 0px;
}

.cont_list .list_box h3 {
	width: 96%;
	text-align: center;
	background-color: #FFF;
	font-size: 22px;
	line-height: 30px;
	margin-left: auto;
	margin-right: auto;
}

.content .list_box h3 {
	font-size: 18px;
	text-align: center;
	margin-top: 0px;
	padding-right: 0px;
	padding-left: 0px;
	color: #044760;
	background-color: #F9F9F9;
	border-bottom-color: #BBB;
	box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;
	-webkit-box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;
	-moz-box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px;
	border-bottom-style: dotted;
}

.list_box p {
	font-size: 14px;
	padding: 0.5rem 1rem;	/*上下、左右への余白*/
}

.cont_list .list_box img {
	width: 100%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	margin-bottom: 15px;
}

.btn-r {
  display: inline-block;
  padding: 15px 70px;
  border-radius: 50px;
    font-size: 2em;
	margin-top: 15px;
  text-decoration: none;
  color: #FFF;
  background: var(--back-color2);
  transition: .4s;
  border-bottom: solid 5px #622711;/*ボタン色より暗めに*/
  border-right: solid 5px #622711;/*ボタン色より暗めに*/
}

.btn-r:hover {
  color: #FFF;
  background: var(--primary-color);
}

.btn-r2 {
  display: inline-block;
  padding: 15px 70px;
  border-radius: 50px;
    font-size: 2em;
  text-decoration: none;
  color: #FFF;
  background: var(--back-color2);
  transition: .4s;
  border-bottom: solid 5px #622711;/*ボタン色より暗めに*/
  border-right: solid 5px #622711;/*ボタン色より暗めに*/
}

.btn-r2:hover {
  color: #FFF;
  background: var(--primary-color);
}


.table01 {
  border-collapse: collapse;
  margin: 0 auto 30px;
  padding: 0;
  width: 100%;
  .table01-layout: fixed;
}

.table01 tr {
  background-color: #fff;
  padding: .35em;
  border-bottom: 2px solid #fff;
}
.table01 th,
.table01 td {
  padding: 1em 10px 1em 1em;
  border-right: 2px solid #fff;
}
.table01 th {
  font-size: .85em;
}
.table01 thead tr{
  background-color: var(--primary-color);
  color:#fff;
}
.table01 tbody th {
    background: var(--primary-color);
    color: #fff;
}
.txt{
   text-align: left;
   font-size: .85em;
}
.price{
  text-align: right;
  color: #167F92;
  font-weight: bold;
}
.non{
  background:#fff
}
@media screen and (max-width: 600px) {
  .table01 {
    border: 0;
    width:100%
  }
  .table01 th{
    background-color: var(--primary-color);
    display: block;
    border-right: none;
  }
  .table01 thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  .table01 tr {
    display: block;
    margin-bottom: .625em;
  }
  .table01 td {
    border-bottom: 1px solid #bbb;
    display: block;
    font-size: .8em;
    text-align: right;
    position: relative;
    padding: .625em .625em .625em 4em;
    border-right: none;
  }
  
  .table01 td::before {
    content: attr(data-label);
    font-weight: bold;
    position: absolute;
    left: 10px;
    color:  var(--primary-color);
  }
  .table01 td:last-child {
    border-bottom: 0;
  }
  .table01 tbody th {
    color: #fff;
}
}

.pc{
  display: block;
}
.sp{
  display: none;
}

@media only screen and (max-width: 480px){
  .pc{
    display: none;
  }
  .sp{
    display: block;
  }
}