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

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: #666;
    text-decoration-line: none;
}
a:hover { 
    color: #ffca85;
}
a img:hover {
	opacity: 0.8;
}
span.red01 {
	padding: 0 5px;
	background-color: #ff0000;
	color: #ffffff;
}
span.red02 {
	color: #ff0000;
}
.no_pc {
	display: none;
}
@media screen and (max-width: 420px){
.no_pc {
	display: inline;
}
}
.underline {
	border-bottom: 3px solid #aa66aa;
	padding-bottom: 0.5rem;
}

/*ヘッダー
-------------------------------------*/
.address {
	font-size: 2rem;
}
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
	width: 50%;
}
.head h1 a {
	display: inline;
}
.head h1 span {
	font-size:3rem;
}
.telbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
	color: #aa66aa;
	line-height: 1.4;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 1rem;
}
nav li {
    display: block;
    flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
}
nav a:hover {
    background-color: #f7f7f7;    
}
nav a {
    padding: 1rem;
}

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

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 28px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid #ccc;
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open,#close  {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

@media screen and (max-width: 420px){
.address {
	font-size: 1.8rem;
}
.head h1 {
	line-height: 1.6rem;
}
.head h1 a {
	display:block;
	font-size:2.5rem;
}
.head h1 span {
	font-size:2rem;
}
.telbox {
	font-size: 2.5rem;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*掲示板
-------------------------------------*/
.news h2 {
	padding-bottom: 0.5rem;
}
.news li {
	display: table;
	width: 100%;
    list-style-type: none;
	border-bottom: 1px solid #ccc;
	padding: 0.5rem 0;
}
.news_day {
	display: table-cell;
	width: 15%;
	margin: 0;
}
.news_txt {
	display: table-cell;
	width: 90%;
	margin: 0;
}

@media screen and (max-width: 420px){
.news li {
	display: block;
}
.news_day {
	display: block;
	width: 100%;
}
.news_txt {
	display: block;
	width: 100%;
}
}

/*about
-------------------------------------*/
.about_img01 {
	width: 60%;
	margin: 50px auto;
}
.about .title {
	margin-top: 80px;
}
.about .txt01 {
	font-size: 2.4rem;
	line-height: 6rem;
} 
.about .txt02 {
	margin-bottom: 80px;
	font-size: 2.4rem;
	text-align: right;
}
.profile {
	display: flex;
	width: 100%;
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #cccccc; 
}
.profile div {
	width: 50%;
}
.profile li {
	list-style: none;
}
.profile p {
	padding-left: 2rem;
}
.profile span {
	font-size: 3rem;
	font-weight: bold;
}
.reverse {
	flex-direction: row-reverse;
}
.reverse_img {
	text-align: right;
}
@media screen and (max-width: 420px){
.about .txt01 {
	font-size: 1.8rem;
	line-height: 3rem;
} 

.about .txt02 {
	font-size: 1.8rem;
	text-align: center;
}
.about .span-4 p {
	width: 60%;
	margin: 0 auto;
}
.profile {
	display: block;
	width: 100%;
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #cccccc; 
}
.profile div {
	width: 100%;
}
.profile span {
	font-size: 2rem;
	font-weight: bold;
}
.reverse {
	flex-direction: row-reverse;
}
.reverse_img {
	text-align: right;
}

}
/*access
-------------------------------------*/
.access iframe {
	margin-bottom: 50px;
}
.access_img {
	margin-right: 10px;
}
.access_map {
	margin-bottom: 50px;
}
.access_txt1 {
	padding-top: 25px;
	text-align: center;
	font-weight: bold;
}

/*contact
-------------------------------------*/
form.form_cnt {
	width: 98%;
	max-width: 1000px;
	margin: 0 auto;
}
.contact textarea {
	width: 100%;
	max-width: 500px;
	height: 250px;
}
.contact .red {
	color: #ff0000;
}
.contact .gray {
	color: #999999;
}
.contact .green {
	color: #58c164;
}
.contact_right {
	display: table;
}
.contact_img {
	display: table-cell;
	vertical-align: bottom;
}
.contact .btn {
	margin-top: 80px;
}
.input01 input {
	width: 220px;
}
.input02 input {
	width: 72px;
}
.input03 input {
	width: 270px;
}
@media screen and (max-width: 420px){
.input01 input {
	width: 100%;
}
.input03 input {
	width: 100%;
}
}

/*contact
-------------------------------------*/
.history {
	margin-top: 120px;
}
.history p {
	clear: both;
	font-size: 2rem;
}
.history_pic01 {
	float: right;
	margin-left: 2rem;
}
.history_pic02 {
	float: left;
	margin-right: 2rem;
	max-width: 420px;
}
@media screen and (max-width: 420px){
.history {
	margin-top: 50px;
}
.history br {
	clear: both;
}
.history p {
	font-size: 1.6rem;
}
.history_pic01 {
	margin:0 0 2rem 0;
}
.history_pic02 {
	margin:0 0 2rem 0;
	width: 100%;
}
}

/*kaiun
-------------------------------------*/
.kaiun h5 {
	margin-top: 3rem;
}
.kaiun p {
	height: auto;
	font-size: 1.6rem;
}
.kaiun .history01 {
	display: flex;
}
.kaiun .history01 img {
	margin-right: 2rem;
}
.history02 img {
	height: 400px;
	margin-right: 2rem;
}
.goods_area {
	margin-bottom: 80px;
}
.goods_max {
	display: flex;
	width: 99%;
	margin-left: 1%;
}
.goods_max p {
	font-weight: bold;
}
ul.goods {
  /* flexboxで等間隔に並べる*/
  margin: 0 auto;
  padding-left: 1%;
  width: 32%;
}
ul.goods p {
	text-align: center;
}
ul.goods li.pic{
  margin: 0;
  padding: 0;
  border: solid 1px #ded7c6;
  width: 100%;
  /* 正方形にするのに必要な部分 */
  height: auto;
  position: relative;
  list-style: none;
  float: left;
}
ul.goods li.pic:before {
  content: "";
  display: block;
  padding-top: 100%; /* ここを100％にすることで正方形になる */
}
ul.goods li span{
  /* 正方形にするのに必要な部分 */
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 中央寄せ */
  text-align: center;
  padding: 2px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  background-color: inherit;
}
/* 高さの中央揃えに必要な部分 */
ul.goods li span:before{
  content: "";
  height: 100%;
  vertical-align: middle;
  width: 0px;
  display: inline-block;
}
ul.goods li span > *{
  vertical-align: middle;
  display: inline-block;
}
ul.goods li span img{
  max-width: 100%;
  height: auto;
  max-height: 100%;
  padding: 0;
}
@media screen and (max-width: 420px){
.goods_max {
	display: inline;
	width: 100%;
	margin: 0;
	padding: 0;
}
ul.goods {
  /* flexboxで等間隔に並べる*/
  margin: 0 auto;
  padding: 0%;
  width: 100%;
}
.kaiun h5 {
	font-weight: bold;
}
.kaiun .history01 {
	display: inline;
}
.kaiun .history01 img {
	margin-right: 0rem;
}
.kaiun .history02 img {
	width: 100%;
}
}

/*nagare
-------------------------------------*/
.chart {
	display: table;
	width: 100%;
	border: solid 1px #cccccc;
	padding:1%;
}
.chart img {
	padding:0;
	margin: 0;
	vertical-align: top;
}
.chart_mark {
	width: 100%;
	margin: 20px auto;
	text-align: center;
}
.chart_pic {
	display: table-cell;
	width: 200px;
}
.chart_pic2 {
	display: table-cell;
	width: 267px;
}
.chart_pic2 img {
	height: 200px;
}
.chart_txt {
	display: table-cell;
	width: auto;
	text-align: center;
	vertical-align: middle;
	color: #cccccc;
	font-size: 6rem;
	line-height: 6rem;
}
.chart_txt p {
	margin: 0;
	padding: 0;
}

.chart_txt2 {
	font-size: 4rem;
	line-height: 4rem;
}
.nagare_table {
	width: 100%;
}
.nagare_table td {
	border: none;
}
.nagare_table tr {
	border: none;
}
.nagare_td1 {
	width: 4%;
	height: 46px;
	margin: 0;
	padding: 0;
	background-image: url(../img/icon_mark01.png);
	background-repeat:no-repeat;
	background-size:100%;
}

.nagare_td2 {
	font-size: 2.4rem;
	font-weight: bold;
	margin: 0;
	padding: 0 0 0 1rem;
}
.nagare_td3 {
	width: 50px;
	font-size: 2.4rem;
	font-weight: bold;
	background-position: center;
	background-image: url(../img/icon_mark02.png);
	background-repeat: repeat-y;
}
@media screen and (max-width: 768px){
.chart_pic {
	display: table-cell;
	width: 120px;
}
.chart_pic2 {
	display: table-cell;
	width: 160px;
}
.chart_pic2 img {
	height: 120px;
}
.chart_txt {
	font-size: 4rem;
	line-height: 4rem;
}
.nagare_td2 {
	font-size: 1.4rem;
	font-weight: bold;
	margin: 0;
	padding: 0 0 0 1rem;
}
}
@media screen and (max-width: 420px){
.chart {
	height: auto;
	display: block;
}
.chart img {
	width:60px;
}
.chart_mark img{
	max-width: 80px;
}
.chart_pic {
	display: block;
	width: 60px;
	margin-right: 10px;
	float: left;
}
.chart_pic2 {
	display: block;
	clear: left;
	width: 100%;
}
.chart_pic2 img {
	width: 100%;
	height: auto;
	margin-top: 3px;
}
.chart_txt {
	display: block;
	float: left;
	width: auto;
	font-size: 2rem;
	line-height: 60px;
	text-align: center;
}
.chart_txt p {
	line-height:30px;
}
.chart_txt2 {
	font-size: 1.4rem;
	line-height: 1.4rem;
}
.nagare_td1 {
	height: 15px;
}
.nagare_td2 {
	line-height: 15px;
}
}
/*privacy
-------------------------------------*/
.privacy h5{
	font-weight: bold;
}

.privacy ul{
	padding-left: 2rem;
}

.privacy .day{
	margin-top: 80px;
	text-align: right;
}
@media screen and (max-width: 768px){
.privacy h5{
	font-size: 1.6rem;
}
}

/*seizen
-------------------------------------*/
.seizen p {
	font-size: 2.4rem;
	line-height: 8rem;
}

.seizen span {
	font-size: 3.6rem;
	color: #55d35c;
}
.seizen_list li {
	background-image: url(../img/icon_merit.png);
	background-repeat: no-repeat;
	background-size: 3.6rem;
	background-position: left 5px;
	list-style: none;
	font-size: 3.6rem;
	margin-bottom: 5rem;
	padding-left: 3.6rem;
}
@media screen and (max-width: 420px){
.seizen p {
	font-size: 2.0rem;
	line-height: 4.0rem;
}
.seizen span {
	font-size: 2.4rem;
	color: #55d35c;
}
.seizen_list li {
	background-size: 2.0rem;
	background-position: left 5px;
	list-style: none;
	font-size: 2.0rem;
	margin-bottom: 3.6rem;
	padding-left: 2.0rem;
}
}

/*taiken
-------------------------------------*/
ul.taiken {
  /* flexboxで等間隔に並べる*/
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 auto;
  padding: 1%;
  border: solid 1px #cccccc;
  width: 97%;
}
ul.taiken li.pic{
  margin: 0 1% 0 0;
  padding: 0;
  border: solid 1px #ded7c6;
  width: 32%;
  /* 正方形にするのに必要な部分 */
  height: auto;
  position: relative;
  list-style: none;
  float: left;
}
ul.taiken li.pic:before {
  content: "";
  display: block;
  padding-top: 100%; /* ここを100％にすることで正方形になる */
}
ul.taiken li.li_txt{
  display: inline;
  margin: 0 1% 0 0;
  padding: 0;
  width: 66%;
}
ul.taiken li span{
  /* 正方形にするのに必要な部分 */
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 中央寄せ */
  text-align: center;
  padding: 2px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  background-color: inherit;
}
/* 高さの中央揃えに必要な部分 */
ul.taiken li span:before{
  content: "";
  height: 100%;
  vertical-align: middle;
  width: 0px;
  display: inline-block;
}
ul.taiken li span > *{
  vertical-align: middle;
  display: inline-block;
}
ul.taiken li span img{
  max-width: 100%;
  height: auto;
  max-height: 100%;
  padding: 0;
}
p.li_txt1 {
	font-size: 3rem;
}
p.li_txt2 {
	font-size: 2rem;
}


@media screen and (max-width: 768px){
ul.hoiku {
  margin: 0 0 0 2%;
  width: 98%;
}

ul.hoiku li{
  /* 枠線をつけて1列に2つ並べる */
  width: 47%;
  margin: 0 2% 15px 0;
}
p.li_txt1 {
	margin-bottom: 1rem;
}
p.li_txt2 {
	margin-bottom: 0;
}

}

@media screen and (max-width: 420px){
ul.hoiku {
  margin: 0;
  width: 100%;
}

ul.hoiku li{
  /* 枠線をつけて1列に2つ並べる */
  width: 98%;
  margin: 0 1% 10px 1% ;
}
ul.taiken li.pic{
  margin: 0 auto;
  padding: 0;
  width: 98%;
}
ul.taiken li.li_txt{
  display: inline;
  margin: 0;
  padding: 0;
  width: 100%;
}
}

/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    padding: 5rem 0;
}
footer h5 {
    border-bottom: 3px solid #aa66aa;
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #fff;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}
@media screen and (max-width: 420px){
.copyright {
	padding-bottom: 80px;
}
}
/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}
@media screen and (max-width: 420px){
/* スマホ時はMENUボタンを非表示 */
#pagetop {
    display: none !important;
}
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}

/*スマホ用下部メニュー
-----------------------------------*/
.for-sp{
	display: none;
}

@media screen and (max-width: 420px){
.for-sp {
	display: inline;
}
#sp-fixed-menu{
	position: fixed;
	width: 100%;
	bottom: 0px;
	font-size: 0;
	opacity: 0.9;
	z-index: 99;
}

#sp-fixed-menu ul{
	display: table;
	list-style: none;
	padding:0;
	margin:0;
	width:100%;
}

#sp-fixed-menu li{
	display: table-cell;
	vertical-align: middle;
	width: 50%;
	height: 80px;
	padding:0;
	margin:0;
	font-size: 14px;
	border-right: 1px solid #fff;
	background-color: #aa66aa;
}

/*ボタンを調整*/
#sp-fixed-menu li a{
	color: #ffffff;
	text-align: center;
	display:block;
	width: 100%;
}
}






