﻿
/******* ヘッダーのスタイル ********/

@media screen and (min-width: 960px) {
	/* 960px以上に適用されるCSS（PC用） */
}
.main-header {
    position: fixed; /*** ← fixedで固定 ***/
    justify-content: center;
    align-items: center;
    width: 100%; 
    height: 70px; 
    background: #00489B; 
    box-sizing: border-box;
    top: 0; 
    left: 0; 
    display: flex; 
    z-index: 1;
}
.sidebar-header{
    position: fixed;
    justify-content: flex-end;
    width: 100%; 
    height: 60px;
    background-color: #fff;
    padding: 0px;
    top: 70px; 
    left: 0; 
    display: flex; 
    z-index: 1;
}
.sidebar-header ul{
    margin: 5px 0px 1px -20px;
}
@media screen and (max-width: 960px) {
    /*　画面サイズが480pxからはここを読み込む　*/
.sidebar-header{
	display: none;
}
}
/* ロゴとメニューを横並びにする */
.img-box{ 
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: auto;
  height: 70px;
}
.img-box2{ 
  display:flex;
  justify-content:right;
  align-items:center;
  max-width: auto;
  height: 70px;
}
.img-box3{ 
  display:flex;
  justify-content:right;
  align-items:center;
  max-width: auto;
  height: 70px;
}
.img-box4{ 
  display:flex;
  justify-content:right;
  align-items:center;
  max-width: auto;
  height: 70px;
}
.img-box5{ 
  display:flex;
  justify-content:right;
  align-items:center;
  max-width: auto;
  height: 70px;
}
.img-box6{ 
  display:flex;
  justify-content:right;
  align-items:center;
  max-width: auto;
  height: 30px;
  margin: 1px 5x 5px 1px;
}
.img-box6 ul{ 
  margin: 1px 5x 5px 1px;
}
.img-box7{ 
  display:flex;
  justify-content:right;
  align-items:center;
  max-width: auto;
  height: 30px;
  margin: 20px 1px 5px 1px;
}
@media screen and (min-width: 960px) {}
	/* 481px以上に適用されるCSS（タブレット用） */

nav{
	display: block;
	width: 400px;
	position:fixed;
    background-color: #ffffff;
	top: 0;
	left: -400px;
	bottom: 0;
    transition: all 0.5s;
	z-index: 3;
    opacity: 0;

}

.open nav{
    left: 0;
    opacity: 1;
}

nav .inner{
	padding: 50px;
}

nav .inner ul{
	list-style: none;
	margin: 0;
	padding: 0;
}

nav .inner ul li{
	margin: 0;
	border-bottom: 1px solid #333;
}

nav .inner ul li a{
    display:block;
	text-decoration:none;
	color:#333;
	font-size:14px;
	padding: 1rem;
	transition-duration: 0.2s;
}

nav .inner ul li a:hover{
	background-color:#e4e4e4;
}
.toggle-btn{
	display: block;
	position: fixed;
	top: 15px;
	width: 30px;
	height: 30px;
	z-index: 10;
	cursor: pointer;
}
@media screen and (min-width:960px) {
    /*　画面サイズが960以下はここを読み込む　*/
.toggle-btn{
	display: none;
}
}
.toggle-btn span{
    position: absolute;
    display: block;
    left:0;
    width:30px;
    height:2px;
    border-bottom: solid 2px;
    border-color: #ffffff;
    transition: all 0.5s;
    border-radius: 4px;
    z-index: 11;
}

.toggle-btn span:nth-child(1){
	 top:5px;
}

.toggle-btn span:nth-child(2){
	 top:15px;
}

.toggle-btn span:nth-child(3){
	 top: 25px;
}

.open .toggle-btn span {
    background-color: #333;
  }

  .open .toggle-btn span:nth-child(1) {
    transform: translateY(10px) rotate(-315deg);
  }
  
  .open .toggle-btn span:nth-child(2) {
    opacity: 0;
  }
  
  .open .toggle-btn span:nth-child(3) {
    transform: translateY(-10px) rotate(315deg);
  }


#mask{
    display: none;
    transition: all 0.5s;
}

.open #mask {
    display: block;
    background: #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    opacity: 0.8;
    z-index: 2;
    cursor: pointer;
}
.btn{
    min-width: 70px;    
    height: 35px;
    background: #ffffff;
    font-size: 17px;
    font-weight: bold;
    color: #00489B;
    padding: 0 16px; /* テキスト横の余白がキツキツにならないように */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/******* ここからメインエリアのスタイル ********/
main { text-align:center;
       padding: 15px;
       padding-top: 0px;
       
}
main p{
    font-size: 1em;
    color: #333;
    text-align: left;
    padding-bottom: 50px;
}
main h1{
	text-align:center;
    color: #00489B;
}
section{
    margin-top: 150px;
}
h2 {
   color: #B78D4A;
   text-decoration: none;
}
p { line-height: 30px }
h6 {
   color: #000000;
   text-decoration: none;
}
p { line-height: 30px }
.image {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.highlight {
  text-decoration: underline;
  text-underline-offset: -0.2em;
  text-decoration-thickness: 0.5em;
  text-decoration-color: rgba(221, 153, 25, 0.4);
  text-decoration-skip-ink: none;
}
.image img {
	display: block;
	width: 100%;
	height: auto;
}
@media (max-width: 959px){
 /* 画面サイズが959px未満の場合の設定 */
.image2{
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.image2 img {
	display: block;
	width: 100%;
	height: auto;
}}
@media (min-width: 960px){
 /* 画面サイズが960px以上の場合の設定 */
.image2{
    align-items: center;
    margin: 125px auto 0;
    max-width: 800px;
}
.image2 img {
	display: block;
	width: 100%;
	height: auto;
}
}
@media (max-width: 959px){
 /* 画面サイズが959px未満の場合の設定 */
.image3{
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.image3 img {
	display: block;
	width: 100%;
	height: auto;
}}
@media (min-width: 960px){
 /* 画面サイズが960px以上の場合の設定 */
.image3{
    float: right;
    margin: auto;
    max-width: 700px;
}
.image3 img {
	display: block;
	width: 100%;
	height: auto;
}
}
@media (max-width: 959px){
 /* 画面サイズが959px未満の場合の設定 */
.image4{
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.image4 img {
	display: block;
	width: 100%;
	height: auto;
}}
@media (min-width: 960px){
 /* 画面サイズが960px以上の場合の設定 */
.image4{
    float: left;
    margin: auto;
    max-width: 700px;
}
.image4 img {
	display: block;
	width: 100%;
	height: auto;
}
}
@media (max-width: 959px){
 /* 画面サイズが959px未満の場合の設定 */
.image5{
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.image5 img {
	display: block;
	width: 100%;
	height: auto;
}}
@media (min-width: 960px){
 /* 画面サイズが960px以上の場合の設定 */
.image5{
    float: right;
    margin: auto;
    max-width: 700px;
}
.image5 img {
	display: block;
	width: 100%;
	height: auto;
}
}
@media (max-width: 959px){
 /* 画面サイズが959px未満の場合の設定 */
.image6{
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.image6 img {
	display: block;
	width: 100%;
	height: auto;
}}
@media (min-width: 960px){
 /* 画面サイズが960px以上の場合の設定 */
.image6{
    float: left;
    margin: auto;
    max-width: 700px;
}
.image6 img {
	display: block;
	width: 100%;
	height: auto;
}
}
@media (max-width: 959px){
 /* 画面サイズが959px未満の場合の設定 */
.image7{
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.image7 img {
    display: flex;
	float: right;
	width: 25%;
	height: auto;
}}
@media (min-width: 960px){
 /* 画面サイズが960px以上の場合の設定 */
.image7{
    float: right;
    margin: auto;
    max-width: 700px;
}
.image7 img {
	display: block;
	width: 100%;
	height: auto;
}
}
@media (max-width: 959px){
 /* 画面サイズが959px未満の場合の設定 */
.image8{
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.image8 img {
    display: flex;
	float: left;
	width: 25%;
	height: auto;
}}
@media (min-width: 960px){
 /* 画面サイズが960px以上の場合の設定 */
.image8{
    float: left;
    margin: auto;
    max-width: 700px;
}
.image8 img {
	display: block;
	width: 100%;
	height: auto;
}
}
@media (max-width: 959px){
     /* 画面サイズが959px未満の場合の設定 */
.container {
    align-items: center;
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.child {
  /* 水平方向の中央揃え */
    text-align:left;
}
}
@media (min-width: 960px){
     /* 画面サイズが960px以上の場合の設定 */
.container {
    float:right;
    font-family: arial;
    font-size: 17px;
    margin: 5px;
    width: 900px;
    height: auto;
}
.child {
  /* 水平方向の中央揃え */
    text-align:left;
}
}
@media (max-width: 959px){
     /* 画面サイズが959px未満の場合の設定 */
.container2 {
    align-items: center;
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.container2-text{
    width: 90%;
    margin: 20px; 
    height: auto;
}
}
@media (min-width: 960px){
     /* 画面サイズが960px以上の場合の設定 */
.container2 {
    display: flex;
    float: right;
    font-family: arial;
    font-size: 17px;
    margin-top: 100px;
    width: 600px;
    height: auto;
}
.container2-text{
    width: 100%;
    margin: 20px;
}
}
@media (max-width: 959px){
     /* 画面サイズが959px未満の場合の設定 */
.container3 {
    align-items: center;
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.container3-text{
    width: 90%;
    margin: 20px; 
    height: auto;
}
}
@media (min-width: 960px){
     /* 画面サイズが960px以上の場合の設定 */
.container3 {
    float: center;
    font-family: arial;
    font-size: 17px;
    margin-top: 150px;
    margin-left: 50px;
    margin-right: 90px;
    width: auto;
    height: auto;
}
.container3-text{
    width: 100%;
    margin: 20px;
}
}
@media (max-width: 959px){
     /* 画面サイズが959px未満の場合の設定 */
.container4 {
    align-items: center;
    margin-top: 90px;   
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.container4-text{
    width: 90%;
    margin: 20px; 
    height: auto;
}
}
@media (min-width: 960px){
     /* 画面サイズが960px以上の場合の設定 */
.container4 {
    float: center;
    font-family: arial;
    font-size: 17px;
    margin-top: 150px;
    margin-left: 50px;
    margin-right: 90px;
    width: auto;
    height: auto;
}
.container4-text{
    width: 100%;
    margin: 20px;
}
}
@media (max-width: 959px){
     /* 画面サイズが959px未満の場合の設定 */
.wrapper {
    align-items: center;
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.child {
  /* 水平方向の中央揃え */
    text-align:left;
}
}
@media (min-width: 960px){
     /* 画面サイズが960px以上の場合の設定 */
.card-container{
    display:flex;
    font-family: arial;
    font-size: 17px;
    margin: 100px;
    margin-top: 100px;
    width: 600px;
    height: auto;
}
.card-text{
    width:100%;
    margin: 20px;
}
}
div{
    position: relative;
}
h3{
    margin: 0;
    font-family: serif;
    font-size: 20px;
    color: #fff;
    position: absolute;
    top: center;
    left: center;
}
h4{
    margin: 0;
    font-family: serif;
    font-size: 20px;
    color: #fff;
    position: absolute;
    top: 20%;
    left: 10%;;
}
h5{
    color: #fff;
}
.centering_parent {
    padding: 10px;              /* 余白指定 */
    background-color:  #ddd;    /* 背景色指定 */
    margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
    height: auto;              /* 高さ指定 */
    text-align: left;
}

.centering_item {
    background-color: #fff;  /* 背景色指定 */
    width: 100%;               /* 幅指定 */
    height: auto;               /* 高さ指定 */
    display: inline-block;      /* インラインブロックにする */
}
.ex1{
    font-size: 16px;
    line-height: 30px;
}
@media screen and (min-width:960px) {
/*infoArea*/
div#infoArea{
	float: left;
    margin-top: 120px;
	width: 400px;
	height:auto;
	background-color:#d5eeff;
}
}
@media screen and (min-width:960px) {
    /*　画面サイズが960以下はここを読み込む　*/
div#infoArea{
	align-items: center;
	width: 400px;
	height:auto;
	background-color:#d5eeff;
}
}
/*infoNewsList*/
div#infoArea ul.infoNewsList{
	height: 500px;
	overflow: auto;
}
div#infoArea ul.infoNewsList li{
	margin: 0 20px 20px 0;
	padding: 0 0 20px 0;
	list-style-type: none;
	font-size: 90%;
	line-height: 1.2;
	background-repeat: repeat-x;
	background-position: left bottom;
	background-image:url('img/horizon.png');
}
div#infoArea ul.infoNewsList li img{
	float: left;
	margin: 0 3px 0 0;
}
div#infoArea ul.infoNewsList li a:hover img{
	-ms-filter: "alpha( opacity=85 )";/*for IE8*/
	filter: alpha(opacity=85); /*for IE6〜7*/
	opacity: 0.85;
}

div#infoArea div.infoAc{
	width: 200px;
}
/*infoAcList*/
div#infoAc dl.infoAcList{
    width:198px;
	height: auto;
	margin: -1px 0 0 0;
	border-left:1px solid #FF8000;
	border-right:1px solid #FF8000;
	border-bottom:1px solid #FF8000;
}
div#infoArea dl.infoAcList dt{
    width:180px;
    height:30px;
	margin:0 9px 0 9px;
	text-indent:1em;
	padding: 0 0 10px 0;
	list-style-type: none;
	font-size: 86%;
	line-height: 40px;
	background-image:url('image/icon_active.gif');
	background-repeat:no-repeat;
	background-position:0px center;	
}
div#infoArea dl.infoAcList dt:hover{
    background:#FFFFFF;
    background-image:url('image/icon_active.gif');
	background-repeat:no-repeat;
	background-position:0px center;	

  /*background: url(マウスオーバー時に表示させたい背景画像のURL) no-repeat;*/
}
div#infoArea dl.infoAcList dd{
    width:160px;
	margin:0 0 0 15px;
	font-size:90%;
}
/*infoAc hover*/
div#infoAc_tittlenavi ui{
	width:400px;
	height:22px;margin:0 auto;
}
div#infoAc_tittlenavi ui li{
	float:left;
	width:200px;
	height:22px;
	margin:0;
	padding:0;
	list-style-type:none;
}
div#infoAc_tittlenavi ui li a {
    width: 200px;
    height:22px;
    margin:0;
    background-image:url('image/ac_title_o.gif');
    background-repeat: no-repeat;
    display:block;
}
div#infoAc_tittlenavi ui li.active{
	display:block;
	width:200px;
	height:22px;
	margin:0;
	background-image:url('image/ac_title_o.gif');
	background-repeat:no-repeat;
}
div#infoAc_tittlenavi li#ac_tittle a {
    background-position: 0px 0px;
}
div#infoAc_tittlenavi li#ac_tittle a:hover {
    background-position: -200px 0px;
}
/*menuArea*/
div#menuArea{
    float:right;
    margin:auto;
    max-width: 800px;
    height:auto;
	background-color:#d5eeff;
}
/*menuList*/
div#menuArea ul.menuList{
	height: 300px;
	overflow: auto;
}
div#menuArea ul.menuList li{
	margin: 0 20px 20px 0;
	padding: 0 0 20px 0;
	list-style-type: none;
	font-size: 90%;
	line-height: 1.2;
	background-repeat: repeat-x;
	background-position: left bottom;
	background-image:url('img/horizon.png');
}
div#menuArea ul.menuList li img{
	float: center;
	margin: 0 3px 0 0;
}
div#menuArea ul.menuList li a:hover img{
	-ms-filter: "alpha( opacity=85 )";/*for IE8*/
	filter: alpha(opacity=85); /*for IE6〜7*/
	opacity: 0.85;
}

/******* ここからフッターのスタイル ********/

footer {
    display: flex; 
    background: #00489B; 
    padding: 1em;
    left: 0; 
    margin-top: auto;
}
footer.inner{
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
footer p {
    font-size: 1em;
    color: #fff;
    max-width: 100%;
    padding: 0;
    text-align:center;
    margin:0 auto;
    font-weight:bold;
}