﻿@charset "utf-8";
/*******************************************************

　レイアウト

*******************************************************/
* {
  font-family: -apple-system, BlinkMacSystemFont, "メイリオ", Meiryo, "游ゴシック Medium", YuGothicM, "游ゴシック体", YuGothic, sans-serif;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
    transition: 0.5s;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}
body {
  margin: 0px;
  padding: 0px;
  font-size: 16px;
}
#top_body {
  background-image: url("../images/main_bg.jpg");
  background-repeat: no-repeat;
  background-position: top center;
	background-size: cover;
	position: relative;
}
#top_body_hirayama {
  /*background-image: url("../images/hirayama_top.jpg");
  background-repeat: no-repeat;
  background-position: top center;
	background-size: cover;
	position: relative;*/
}
.container {
  margin: auto;
  max-width: 1200px;
  width: 100%;
  display: block;
  padding: 0px 0px;
}
/*main .container {
  margin: auto;
  max-width: 1200px;
  width: 100%;
  display: block;
  padding: 0px 0px;
}*/
/* --------------------
ヘッダー
----------------------*/
#header {
  width: 100%;
  height: 90px;
  top: 0;
  z-index: 10;
  padding: 0px;
  /*background: #fff;*/
}
#page #header{
	    height: 60px;
	padding-top: 5px;
}
#header h1.logo_01 {
  width: 250px;
  /*height: 90px;*/
  margin: 0px;
  padding: 0px;
}
#page #header h1.logo_01 {
  width: 200px;
  /*height: 90px;*/
  margin: 0px;
  padding: 0px;
}
.header_inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.fixed {
  position: fixed;
  top: 0;
  left: 0;
}
/* --------------------
グローバルナビ
----------------------*/
#menubtn {
  display: none;
}
#global_navi {
  /*width: 680px;*/
/*	width: 50%;*/
  margin: 10px 0px 0px 0px;
	
}
#page #global_navi {
  width: 500px;
  margin: 5px 0px 0px 0px;
	
}
#global_navi > ul {
  list-style: none;
  padding: 0;
 margin-top: 15px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  width: 100%;

 
}
#global_navi > ul > li {
  margin: 0px 5px;
	
  
}
#global_navi > ul > li > a {
	display: inline-block;
  color: #fff;
  text-decoration: none;
 text-align: center;
  /*padding: 5px 0px 10px 0px;*/
  font-size: 16px;
  
}
#global_navi > ul > li > a:hover {
	color: #EE7700;
}

#page #global_navi > ul > li > a {
  color: #000 !important;
  text-decoration: none;
 
  width: 100%;
  /*padding: 5px 0px 10px 0px;*/
  font-size: 16px;
  
}

#page #global_navi > ul > li > a:hover {
	color: #EE7700 !important;
}

/*---English切り替えボタン----------*/
/*--トップページ--------*/
.navi_box {
   /* width: 680px;*/
   width: 56%;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
}


.btn_change {
    margin-top: 10px;
	
}

.btn_change a {
color:#fff;
    border: solid 1px #ccc;
    padding: 2px 5px;
   
}
/*---トップページ以外-------*/
#page #header .navi_box {
	 width: 65%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}
#page #global_navi {
    width: 80%;
    margin: 5px 0px 0px 0px;
}

#page .btn_change {
    margin-top: 20px;
    margin-left: 20px;
}


#page .btn_change a {
    color: #000;
    border: solid 1px #ccc;
    padding: 2px 5px;
}

/* --------------------
スクロール後のグローバルナビ
----------------------*/
#header.fixed {
  height: 55px;
  border-bottom: solid 1px #ccc;
  background: #fff;
  z-index: 10px;
  padding-top: 5px;
	
}
#header.fixed h1.logo_01 {
  width: 160px;
  height: 50px;
  margin: 0px;
  padding: 0px;
}

#page #header.fixed h1.logo_01 {
  width: 160px;
  height: 50px;
  margin: 0px;
  padding: 0px;
}


#header.fixed .header_inner {

  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

#header.fixed #global_navi > ul {
  list-style: none;
  padding: 0;
 margin-top: 15px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
  width: 100%;
  
}

#header.fixed #global_navi > ul > li > a {
  color: #000;
  text-decoration: none;
  display: inline-block;
  width: 100%;
 
  font-size: 16px;
}
#header.fixed #global_navi > ul > li > a:hover {
	color: #EE7700;
}


/*--------------*/
#header.fixed .navi_box {
   width: 700px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;

}

#header.fixed #global_navi {
    width: 74%;
}

#header.fixed #global_navi > ul {
    
    margin: 0px;
}

#header.fixed .btn_change {
    margin-left: 10px;
}


#header.fixed .btn_change a {
color:#000;
    border: solid 1px #ccc;
    padding: 2px 5px;
   
}
/*---トップページ以外-------*/
#page #header.fixed .navi_box {
	 width: 65%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
	padding-top: 10px;
}
#page #header.fixed　#global_navi {
    width: 80%;
    margin: 5px 0px 0px 0px;
}

#page #header.fixed .btn_change {
    margin-top: 0px;
    margin-left: 20px;
}


#page #header.fixed　.btn_change a {
    color: #000;
    border: solid 1px #ccc;
    padding: 2px 5px;
}





/* --------------------
パンくず
----------------------*/
#breadcrumb {
  background: #EEE;
	padding: 5px 0px
}
#breadcrumb {
  font-size: 14px;
  color: #555;
  text-decoration: none;
}
#breadcrumb a:hover {
  text-decoration: underline;
}
/* --------------------
コンテンツ
----------------------*/
#content {
  margin: 0 auto;
}
article#content .container {
    padding: 0px 10px;
}
/* --------------------
フッター
----------------------*/
#footer {
  background: #003567;
  padding: 40px 40px;
	margin-top: 100px;
  text-align: center;
  color: #fff;
}
#footer img {
  width: 330px;
	padding-bottom: 5px;
}

#footer p{
	font-size: 14px;
}
#footer a{
  color: #fff;

}
#footer a:hover{
color: #EE7700;
}
#footer .footer_nav{
	text-align:right;
}
#footer .footer_nav a{
	padding: 0px 15px;
}


/* コピーライト */
#copyright {
  text-align: center;
  color: #fff;
  font-size: 12px;
  margin-bottom: 5px;
  background: #062c53;
}
/* スクロールボタン */
#scrolltop {
  position: fixed;
  right: 10px;
  bottom: 10px;
  text-align: right;
}
#scrolltop i {
  display: inline-block;
  font-size: 30px;
  margin-top: 10px;
  color: #FFF;
  background: #000;
  padding: 8px;
  cursor: pointer;
  opacity: 0.5;
  transition: none;
}
/*----------*/
/* 画面外にいる状態 */
.fadein {
  opacity: 0;
  transform: translate(0, 50px);
  transition: all 1500ms;
}
/* 画面内に入った状態 */
.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

