@charset "utf-8";
/* CSS Document */

body{
	margin:0 auto;
	padding:0;
	width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
	text-align:center;
	background-color:#ECE9E0;
}
@media screen and (max-width: 768px) {
body {
	text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%; /* Safari */
  }
}




img{
	border:0;
}

/******************************
 header CSS
******************************/
.header {
  width: 100%;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

.sp-menu{
  display: none;
}

@media screen and (max-width: 768px) {
  .header {
    padding: 10px 0;
  }
}

.header__wrap {
  width: 85%;
  margin:0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


@media screen and (max-width: 768px) {
  .header__wrap {
    flex-direction: column;
    width: 100%;
  }
 
  .sp-menu{
  display: block;
}
  .sp-menu__box {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 100;
  background: #3584bb;
}
.sp-menu__box span,
.sp-menu__box span:before,
.sp-menu__box span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #ffffff;
  position: absolute;
}
.sp-menu__box span:before {
  bottom: 8px;
}
.sp-menu__box span:after {
  top: 8px;
}
#sp-menu__check {
  display: none;
}
#sp-menu__check:checked ~ .sp-menu__box span {
  background: rgba(255, 255, 255, 0);
}
#sp-menu__check:checked ~ .sp-menu__box span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#sp-menu__check:checked ~ .sp-menu__box span::after {
  top: 0;
  transform: rotate(-45deg);
}
.sp-menu__list {
  padding: 70px 10px 0;
}
.sp-menu__item {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}
.sp-menu__link {
  display: block;
  width: 100%;
  font-size: 15px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
  padding: 9px 15px 10px 0;
}

/* ハンバーガーボタンを押してチェックがONの時だけ
   スマホ用メニューを画面左端に移動する */
#sp-menu__check:checked ~ .sp-menu__content {
  left: 0;
}
/* 変更箇所はコメントの項目のみ */
.sp-menu__content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;

  /* 普段は画面外にするために左端を画面右端の位置にする */
  left: 100%;

  z-index: 90;
  background-color: #3584bb;
  
  /* 右端からゆっくり移動するように表示 */
  transition: all 0.5s;
}
}

.header__logo {
  width: 63px;
  height: 63px;
}

@media screen and (max-width: 768px) {
  .header__logo {
    width: 63px;
    margin-bottom: 10px;
  }
}

.header__logo img{
  display: block;
  position:absolute;
}
.header__logo img[class="header_logo"]:hover {
content: url(../image/title/main_title.bottom.png);
position: relative;
top: 0;
left: 0;
}

.header__menu{
}
@media screen and (max-width: 768px) {
  .header__menu{
    width: 100%;
  }
}

.header__menu ul {
  display: flex;
 justify-content: right;
  align-items: right;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .header__menu ul {
    width: 100%;
  }
}

.header__menu ul li {
  width: 105px;
  text-align: center;
  padding:0 1px;
}

@media screen and (max-width: 768px) {
  .header__menu ul li{
    width: calc(100% / 4);
  }
.header__menu ul li a{
  display: none;
}
}
@media screen and (max-width: 768px) {
  .header__menu ul li a{
    font-size: 13px;
  }
  
}


 /*背景色などのCSSは省略*/

/* エリアコントロール */

div#container{
	width:880px;
	display: flex;
    flex-direction: row;
    flex-grow: 1;
	margin:15px 0;
	padding:0;
}

@media screen and (max-width: 768px) {
 div#container{
	width:100%;
	display: flex;
    flex-direction: row;
    flex-grow: 1;
	margin:5px 0;
	padding:0;
}
  
}

p#r_w_head{
	margin:0;
	padding:0;
	text-align:left;
}

div#r_w_body{
	width:98%;
	background-color:#FFF;
	border-radius: 3px;
	overflow:auto;
	margin:0;
	padding:5px auto;
	text-align:left;
}

@media screen and (max-width: 768px) {
div#r_w_body{
	width:95vw;
	overflow:auto;
	padding:5px 5px;
	margin: 0 auto;
	text-align:left;
}
  
}

div#right_wings{
	width:98%;
	margin:0 0 0 10px;
	padding:10px 0;
	float:center;
}


/* ヘッダー */

h1{
	margin:0;
	padding:0 0 10px 0;
	text-align:left;
}

h1 a{
	width:190px;
	height:190px;
	display:block;
	text-indent:-9999px;
	text-decoration:none;
	background:url(../image/title/main_title.png) no-repeat;
}

h1 a:hover{
	background-position:0 -190px;
}



p#info{
	margin:0;
	padding:10px 0 0 0;
	text-align:left;
	font-size:75%;
	color:#666;
	line-height:1.5;
}


/* フッター */

div#footer{
    width: 100%;
	margin:0 auto;
	padding:0;
	border-top:1px dotted #787878;
}

#footer p{
	margin:10px;
	padding:10px 0 10px 10px;
	text-align:center;
	font-size:70%;
	color:#999;
}








/* リンクコントロール */

a{
	color:#FFF;
	font-family: sans-serif;
}

a:visited{
	color:#FFF;
	text-decoration:underline;
}

a:active{
	color:#648C00;
	text-decoration:underline;
}	

a:hover{
	color:#09F;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}







/* 画像フロートコントロール */

.photo_l{
	margin:0;
	padding:0 15px 0 0;
	float:left;
}
.photo_l2{
	margin:0;
	padding:15px 20px 65px 10px;
	float:left;
}
.photo_r{
	margin:0;
	padding:0 0 0 15px;
	float:right;
}
.photo_r2{
	margin:10;
	padding:0 30px 10px 30px;
	float:right;
}


.clear{
	clear:both;
	margin:0;
	padding:0;
	text-indent:-9999px;
	font-size:0;
	height:0;
}


*html .clear{
	clear:both;
	margin:0;
	padding:0;
	text-indent:-9999px;
	font-size:0;
	height:0;
}




.clearfix:after {
	content: ".";  /* 新しい要素を作る */
	display: block;  /* ブロックレベル要素に */
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {
	min-height: 0px;
}

* html .clearfix {
	height: 0px;
	/*¥*//*/
	height: auto;
	overflow: hidden;
	/**/
}


#container #right_wings #right #news .news_txt u strong {
	color: #C00;
}

#container #right_wings #right #news .news_txt u strong2 {
	color: #3333ff;
}

.co_txt{
	margin:0;
	padding:0 30px;
	text-align:left;
	font-size:100%;
	color:#454545;
	line-height:1.0;
	text-align:justify;
	text-justify:distribute;
}
@media screen and (min-width:768px) and ( max-width:1024px) {
.co_txt{
	margin:0;
	padding:0 20px;
	text-align:left;
	font-size:90%;
	color:#454545;
	line-height:1.5;
	text-align:justify;
	text-justify:distribute;
}
}

@media screen and (max-width:767px){
.co_txt{
	margin:0;
	padding:0 10px;
	text-align:left;
	font-size:80%;
	color:#454545;
	line-height:1.0;
	text-align:justify;
	text-justify:distribute;
}
}
