/* IMPORT CSS */
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
   color:#2ba500;
   text-decoration:underline;
}
a:hover { 
    color: #999;
}
a img:hover {
	opacity: 0.8;
}
.blueback {
	background-color: #ff7f7f;
	color: #fff;
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid #ff7f7f;
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}
.recruit{
   display:block;
   color:#232323;
   text-decoration: none;
}

/*ヘッダー
-------------------------------------*/
.head {
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 0.8rem 0.5rem 0 0;
}
.telbox {
	margin-left: auto;
	font-size: 3.0rem;
	padding: 1rem 0 0 0;
}
.menu {
	background-color:#ffc184;
}
.btn-animation-02 {
  display: inline-block;
  width: 100%;
  text-align: center;
  background-color: #ffc184;
  border: 2px solid #ffc184;
  font-size: 2.4rem;
  color: #ffc184;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 4px;
  position: relative;
}

.btn-animation-02 span {
  position: relative;
  z-index: 1;
}

.btn-animation-02::before,
.btn-animation-02::after {
  content: "";
  display: block;
  background-color: #FFF;
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: .2s;
}
.btn-animation-02::before {
  left: 0;
}
.btn-animation-02::after {
  right: 0;
}

.btn-animation-02:hover:before,
.btn-animation-02:hover:after {
  width: 0;
  background-color: #FFF;
}

.btn-animation-02:hover {
  color: #FFF;
}

a.btn_03 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  position: relative;
  background: #228bc8;
  border: 1px solid #228bc8;
  border-radius: 30px;
  box-sizing: border-box;
  padding: 0 45px 0 25px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  transition-duration: 0.3s;
}
a.btn_03:before {
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 25px;
  margin-top: -6px;
}
a.btn_03:hover {
  background: #fff;
  color: #228bc8;
}
a.btn_03:hover:before {
  border-top: 2px solid #228bc8;
  border-right: 2px solid #228bc8;
}

nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: #fff;
}
nav a:hover {
    background-color:#fff2e5;    
	color: #333;
}
nav a {
    padding: 2rem 1rem;
	display: block;
}

@media screen and (min-width: 768px){
/* 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: 20px;
    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;
}
}

#basic table {
   width:100%;
   border-collapse:collapse;
}

#basic table th {
   padding:5px;
   text-align:left;
   border:1px solid #ddd;
   background:#f0f7fc;
}

#basic table td {
   padding:5px;
   text-align:left;
   border:1px solid #ddd;
}
#basic{margin:15px; border: 1px solid silver;border-bottom: none;}
#basic dl{
overflow: hidden;
margin:0;
border-bottom: 1px solid silver;background-color: #E8F3D1;
border-collapse: collapse ;
}
#basic dl dt,#basic dl dd{padding: 10px;}
#basic dl dt{
float: left;
width: auto;
background-color: #E8F3D1;
}
#basic dd{
float: right;
margin:0;
width:75%;
min-height: 22px;
background-color: #fff;
}

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

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}
#sub {
   background: -moz-linear-gradient(top, #f8f8f8, #ffffff);
   background: -webkit-linear-gradient(top, #f8f8f8, #ffffff);
   background: linear-gradient(to bottom, #f8f8f8, #ffffff);
}
#sub h5 {
   padding:5px 5px;
   color:#fff;
   text-align:center;
   border:1px solid #fff;
   border-bottom:none;
   background:#2ba500 url("../images/bg_sub_h3.gif") 0 0 repeat-x;
}
#sub ul {
   margin:0;
   padding:5px 5px 1px 5px;
   border:1px solid #fff;
   background:#E8E8E8;
}

#sub li {
   margin-bottom:5px;
   padding:5px;
   line-height:1.4;
   border:1px solid #b5b5b5;
   list-style:none;
   background:#fff url("../images/bg_sub_list.gif") 0 0 repeat-x;
}

#sub li a {
   display:block;
   padding-left:5px;
   line-height:3.0;
   border-left:5px solid #2ba500;
}

/*新着情報
-------------------------------------*/
.news h5 {
	padding:5px 5px;
    background:#2ba500 url("../images/bg_sub_h3.gif") 0 0 repeat-x;
	color: #fff;
}
.news li {
    list-style-type: none;
	padding: 0.5rem 0;
}
.news span {
	font-size:1rem;
}
.news div,a {
	display:inline;
}
/*フッター
-------------------------------------*/
footer {
    background-color: #f0f0f0;
    clear:both;
}
footer h6 {
    border-bottom: 3px solid #ccc;
    font-size:1.1172rem ;
    margin-top:1rem;
    margin-bottom:0;
}
footer ul {
   margin:0;
   padding:0;
}

footer li {
   margin:0;
   padding:0;
   list-style:none;
}

footer li a {
   padding-left:10px;
   font-size:1.1172rem;
   background:url(../images/bg_footmenu.gif) 0 50% no-repeat;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #f0f0f0;
}
.copyright a {
    color: #000;
    text-decoration: none;
	display: inline-block;
}
/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #eb6101;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background:#ffdbb7;
    color:#333;
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: #959fa5;
}