﻿@charset "UTF-8";

@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url('//fonts.googleapis.com/css?family=Quicksand:300,400,500,700');


/*=================================================
トップページ
=================================================*/
/*-------------------------
TOPヘッダー画像
--------------------------*/
.topimg {
  width: 100%;
  max-width: 1024px;
  height: 600px;
  margin: 0 auto;
  padding: 0;
}
@media screen and (max-width: 980px) {
.topimg {
  max-height: 480px;
  }
}
@media screen and (max-width: 767px) {
.topimg {
  max-height: 300px;
  }
}

/*-------------------------
TOPICS
--------------------------*/
.topics {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: flex-start;
}
.topicstitle {
  width:100%;
  max-width:200px;
  margin:0 20px 0 0;
}
.topicsdetail {
  box-sizing: border-box;
  max-width: 100%;
  flex: 1;
}
@media screen and (max-width: 640px) {
.topics {
  flex-direction: column;
  display:block;
  }
.topicstitle {
  max-width:100%;
  margin:0 0 15px 0;
  }
.topicstitle img{
  max-width:120px;
  }
}

/*=================================================
共通
=================================================*/
/*-------------------------
ヘッダーナビ
--------------------------*/
nav {
  width: 100%;
  padding: 0;
  margin: 0 auto;
  background: #E5A713;
  position: fixed;
  z-index: 999;
}
.navmenu{
  width:100%;
  max-width: 860px;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items:center;
}
.navmenu li{
  width: 25%;
  max-width:25%;
  height: 100%;
  width: calc(100% / 4);
  box-sizing: border-box;
  text-align: center;
}
.navmenu li a{
  display: block;
}
.navmenu img {
  width: 100%;
  max-width: 120px;
}
@media(max-width:768px){
.navmenu li{
  padding: 0 8px;
  }
.navmenu img {
  max-width: 100px;
  }
}

/*-------------------------
ヘッダー情報
--------------------------*/
header {
  width: 100%;
  margin: 0;
  padding: 30px 40px;
}
.headwrap{
  width:100%;
  max-width: 1024px;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items: center;
}
.headlogo {
  width:100%;
  max-width:300px;
  margin:0 20px 0 0;
}
.headinfo {
  box-sizing: border-box;
  max-width: 100%;
  flex: 1;
  text-align: right;
}
@media screen and (max-width: 767px) {
header {
  padding: 15px 20px;
  }
.headlogo img{
  width: 100%;
  max-width: 180px;
  }
}
@media screen and (max-width: 640px) {
.headinfo {
  display: none;
  }
}

/*-------------------------
フッター
--------------------------*/
footer {
  width: 100%;
  background: #E5A713;
  padding: 0 0 15px;
  color: #FFF;
}
footer a {
  text-decoration: none !important;
  font-weight: normal !important;
  color: #FFF !important;
}
.building {
  width: 100%;
  height:100px;
  background-image: url(../img/common/footer.png);
  background-position:center top;
  background-repeat: repeat-x;
  -moz-background-size:auto 100px;
  background-size:auto 100px;
}
.copyright {
  font-size: 0.7em;
  color: #F2D389;
  font-family: 'Quicksand', sans-serif;
  margin-top: 30px;
}
@media(max-width:640px){
footer {
  font-size: 0.9em;
  }
}

/*-------------------------
各ページタイトル
--------------------------*/
.pagetitle {
  width: auto;
  max-height: 50px;
}
@media(max-width:767px){
.pagetitle {
  max-height: 24px;
  }
}

/*-------------------------
ページ上部へジャンプ
--------------------------*/
#jumptop{
  position:fixed;
  right: 40px;
  bottom:40px;
}
.jumpbtn {
  width:5em;
  height:5em;
  cursor:pointer;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  cursor:pointer;
  background:#E5A713;
  position: relative;
  border: 2px solid #FFF;
}
.jumpbtn:before {
  content: '';
  position: absolute;
  top: 45%;
  right: 1.7em;
  display: block;
  width: 1.5em;
  height: 1.5em;
  border-top: 2px solid #FFF; 
  border-right: 2px solid #FFF; 
  transform: rotate(-45deg); 
}
@media(max-width:767px){
#jumptop{
  right: 20px;
  bottom:20px;
  }
.jumpbtn {
  width: 3.5em;
  height: 3.5em;
  }
.jumpbtn:before {
  top: 42%;
  right: 1.2em;
  width: 1em;
  height: 1em;
  }
}

/*-------------------------
バナー横並び
--------------------------*/
.groupbanner{
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.groupbanner li{
  width: 25%;
  max-width:25%;
  height: 100%;
  width: calc(100% / 4);
  padding:0 10px 10px 0;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
.groupbanner li{
  width: 50%;
  max-width:50%;
  width: calc(100% / 2);
  }
}

/*-------------------------
営業所
--------------------------*/
.branchbox {
  width: 100%;
  padding: 30px 15px;
  margin: 0;
  background: #FBF2DC;
  text-align: center;
  line-height: 1.6;
}
.branchbox a{
  text-decoration: none !important;
  font-weight: normal !important;
}

/*-------------------------
ボタン
--------------------------*/
/* オレンジ枠線ボタン */
.btn {
  -webkit-appearance:none;
  -moz-appearance:none;
  -ms-appearance:none;
  -o-appearance:none;
  appearance:none;
  font-size:1.4em;
  cursor: pointer;
  padding: 0.5em 0.6em;
  text-decoration: none;
  color: #E5A713;
  background: #FFF;
  text-align: center;
  font-weight: bold;
  line-height: 100%;
  border: 3px solid #E5A713;
  margin:0;
  display: inline-block;
  transition: all .3s;
}
a.btn:hover {
  background: #E5A713;
  color: #FFF;
}

/*-------------------------
左画像＋右テキスト横並び
--------------------------*/
.column {
  width:100%;
  margin: auto;
  padding:15px 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: center;
  align-items: center;
}
.column_img {
  flex: 1;
  margin:0 20px 0 0;
}
.column_text {
  flex:2;
}
@media screen and (max-width: 980px) {
.column {
  align-items: flex-start;
  }
}
@media screen and (max-width: 640px) {
.column {
  flex-direction: column;
  display:block;
  }
.column_img {
  max-width:100%;
  margin:0 0 15px 0;
  }
}

/*-------------------------
横並びflexbox
--------------------------*/
/* 均等2列(767px以下で縦列切り替え) */
.col2 {
  width:100%;
  margin: auto;
  padding:0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  justify-content: space-between;
  justify-content: flex-start;
  align-items:flex-start;
}
.col2 li{
  width:50%;
  margin:0 20px 0 0;
}
.col2 li:last-child{
  margin:0 0 0 0;
}
@media screen and (max-width: 767px) {
.col2 {
  flex-direction: column;
  display:block;
  }
.col2 li {
  width:100%;
  margin:0 0 15px 0;
  }
.col2 li:last-child{
  margin:0 0 0 0;
  }
}