﻿@charset "utf-8";

body {
	font-family: "メイリオ", "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 75%;
	line-height: 1.7;
	color: #303030;
	margin: 0px;
	padding: 0px;
/*
	text-align: center;
*/
}

h1,h2,h3,p,ul,li,dl,dt,dd{
	margin: 0px;
	padding: 0px;
}
ul{
	list-style-type: none;
}
img {
	border: none;
}

input,textarea,select {
	font-size: 0.6em;
}
table {
	border-collapse:collapse;
	font-size: 100%;
}


/*リンクカラー*/
a {
	color: #0000FF;
}

/*カーソルオーバー時のリンクカラー*/
a:hover {
	color: #7ecef4;
	text-decoration: none;	/*下線を消す設定。残したままがいいならこの１行を削除。*/
}




/* =================
 htest1.html用　ハンバーガーボタンの実装
================= */

.menu-btn {
  position: absolute;
  top: 15px;
  right: 10px;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: green;
}
.menu-btn:hover {
  cursor: pointer;
}
/* 三本線の実装 */
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}
.menu-btn span:before {
  bottom: 8px;
}
.menu-btn span:after {
  top: 8px;
}
/* チェックボックスを非表示にする */
#menu-btn-check {
  display: none;
}

#menu-btn-check:checked ~ .menu-btn span {
  background-color: rgba(
    255,
    255,
    255,
    0
  ); /*メニューオープン時は真ん中の線を透明にする*/
}

/* メニューを開いている時はハンバーガーボタンが×になる */
#menu-btn-check:checked ~ .menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}


/* =================
メニュー部分の実装
================= */

.menu-content {
/*  width: 80%;
  height: 100%;  */
  width: 240px;
/*  position: fixed;  */
  position: absolute;
  
/*  top: 0;  */
   /* メニューを外に出しておく */
/*  left: 100%;　 */
  left: -240px;
  
  z-index: 800;
  background-color: green;  /* gray */
  transition: all 0.5s; /*アニメーションを滑らかにする*/
}
.menu-content ul {
/*  padding: 70px 10px 0;  */
	padding: 85px 10px 0;
}
.menu-content ul li {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}
.menu-content ul li a {
  display: block;
  width: 100%;
  font-size: 14px;
  box-sizing: border-box;
  color: #ffffff;
  text-decoration: none;
/*  padding: 9px 15px 10px 0;  */
  padding: 9px;
  position: relative;
}

#menu-btn-check:checked ~ .menu-content {
/*  left: 50%; /*メニューを画面内へ動かす*/
  left: 0px;
}






/*コンテナー wide block including header logo
---------------------------------------------------------------------------*/
.container {
/*	text-align: left;
	width: 888px;  */
	max-width: 888px;
	margin-right: auto;
	margin-left: auto;
/*	border-top: 5px solid #7ecef4;  */
	background-color: #FFFFFF;
}


/*ヘッダー（ロゴなどが入っている最上段のボックス）
---------------------------------------------------------------------------*/
.header {
	position: relative;
	width: 100%;
/*	background-image: url(common/header_bg1.jpg);	/*ヘッダーの背景画像*/
/*	background-repeat: no-repeat;
	background-position: top;
	height: 80px;  */
}


/*  top wide image of kwccca banner  */
.headerlogo {
	display : block;
	overflow: hidden;
	text-align: center;
	position: relative;
}
.headerlogo p {
	position: absolute;
	top: 0%;
	right: 0%;
	font-size: 7pt;
	color: #005000;
}

.slideshow {
	text-align:center;
	border:1;
	border-color:#3300FF;
}


/* SNS menu */
ul.snsmenu {
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
	vertical-align: bottom;
	display: flex;
	justify-content:space-around;
	align-items:self-end;
}

ul.snsmenu  li {
/*	display: inline; 
	padding: 10px;
	height: 50px; */
}


/*３カラムを囲むボックス
---------------------------------------------------------------------------*/
.contents {
/*
	clear: left;
	width: 100%;
*/
	display:flex;
	align-items: flex-start;
	justify-content: center;
	flex-wrap:wrap;
	margin:5px;
}




/*両サイドの共通設定
---------------------------------------------------------------------------*/
.sub,.side {
	vertical-align: top;
	background-color: #f7f7f7;	/*両サイドのボックス背景色*/
/*	width: 178px; */
	border: 1px solid #CCCCFF;	/*両サイドのボックスフチのボーダー*/
	padding: 1px;		/*余白を1px*/
	line-height: 1.6;	/*行間。通常より少し狭めている。*/
	color: #666666;		/*文字色*/
}

/*左右ボックスのp(段落タグ)の余白設定
.sub p,.side p {
	padding: 0.5em 5px 1em;
}  */

/*左右ボックスのh3見出し設定*/
.sub h3,.side h3 {
	font-size: 100%;
	background-color: #336600;	/*背景色*/
	text-align: center;	/*文字のセンタリング*/
	font-weight: normal;
	padding-top: 5px;
	padding-bottom: 5px;	
	color: #FFFFFF;	/*文字色*/
}



/*左ブロック
---------------------------------------------------------------------------*/
.sub {
	order:1;
	margin:5px;
/*	float: left; */
}



/*左右のサブメニュー
---------------------------------------------------------------------------*/
.submenu li {
/*    background-image: url(common/submenu_bg.gif);	/*背景画像*/
/*	background-repeat: no-repeat;
/*	background-position: bottom;	/*メニューの背景画像の下半分を表示させる設定*/
	background-color: #2288DD;
	color: #FFFFFF;		/*カーソルオーバー時の文字色*/
	display: block;
	padding-right: 15px;
	padding-left: 0px;
	line-height: 40px;
	height: 40px;
	width: 163px;
	border: 1px solid #CCCCFF; /* ボックスフチのボーダー */
}
.submenu {
	margin-bottom: 1px;
}

.submenu a {
/*	background-image: url(common/submenu_bg.gif);	/*背景画像*/
/*	background-repeat: no-repeat;
/*	background-position: top;	/*メニューの背景画像の上半分を表示させる設定*/
	background-color: #F8F8F8;
	display: block;
	padding-right: 5px;
	padding-left: 10px;
	color: #000000;		/*文字色*/
	text-decoration: none;
	line-height: 40px;
	height: 40px;
	width: 163px;
}

.submenu a:hover {
/*	background-image: url(common/submenu_bg.gif);	/*背景画像*/
/*	background-repeat: no-repeat;
/*	background-position: bottom;	/*メニューの背景画像の下半分を表示させる設定*/
	background-color: #2288DD;
	color: #FFFFFF;		/*カーソルオーバー時の文字色*/
}


/*中央ブロック
---------------------------------------------------------------------------*/
.main {
/*	float: right; */
	order:2;
	max-width: 503px;
	width: 100%;
/*	border-left-width: 10px;
*/
}

.main h2 {
	font-size: 120%;
	color: #000000;		/*文字色*/
/*	background-image: url(common/h22bg.jpg);	/*h2背景画像*/
/*	background-repeat: no-repeat;
	background-position: bottom;
	padding-left: 10px;
	clear: both;  */
	margin: 5px;
	border-top-width: 5px;
	border-top-style: solid;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-top-color: #227700;
	border-bottom-color: #227700;
}

.main p {
/*	padding: 0.1em 10px 0.1em;	/*中央ブロックの段落タグの余白*/
	padding: 0.15em ;	/*中央ブロックの段落タグの余白*/
}



/*中央ブロック内の「What's New」部分
---------------------------------------------------------------------------*/
.main dl.new {
/*	height: 120px;		/*What's Newボックスの高さ
	overflow: auto;		/*この設定でiframe風に見える*/
	margin-right: auto;
	margin-left: auto;
	padding: 10px;
	border: 0px solid #cccccc;	/*What's Newのフチのライン*/
	margin-bottom: 1em;
}

.main dl.new dt {
	font-weight: bold;	/*日付を太字にする設定。*/
	float: left;		/*日付を左よせする*/
}

.main dl.new dd {
	border-bottom: 1px solid #cccccc;	/*日付ごとに入る下線*/
	padding-left: 8em;	/*日付が入る分のスペースを空ける*/
}

/*　右ブロック　 
--------------------------------------------------------------------------*/
.side {
	order:3;
	margin:5px;
}


/*フッター（最下部のコピーライトなど）
---------------------------------------------------------------------------*/
.footer {
	clear: both;
	width: 100%;
	text-align: center;
	border-top: 1px solid #bfbfbf;
	padding-top: 1em;
	padding-bottom: 1em; 
}
.footer	a { text-decoration: none;
}


/* 幅700px以下サイズ 
@media screen and (max-width:723px) { */
@media screen and (max-width:720px) {
	.main{order:1; }
	.sub {order:2; }
	.side{order:3; }	
}


/* mainのサイズ503px以下の時 */
@media screen and (max-width:503px) {
	.contants {
		display:flex;
		align-items:flex-start;
		justify-content:left;
		flex-wrap:wrap;
		margin:5px;
	}
	
}



