@charset "utf-8";
/* Simplify width and height calculations */
html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}
body {
	margin: 0;
	color: #4B4B4B;
	font-family: source-sans-pro;
	font-style: normal;
	font-weight: 400;
	font-size: 1em;
	background-color: #EFF5F8;/*ここで枠の外の背景色*/
	/*background-color: #FF0000;*/
}
#wrapper {
	width: 100%;
	margin: 0 auto;
	max-width: 1000px;
	background-color: white;/*ここで枠の背景色*/
}
section{
	width: 90%;
}
h1, h2 {
	color: #1E1E1E;
	font-style: normal;
	font-weight: 400;
}
h1 {
	margin-top: 0px;
	margin-bottom: 0px;
	padding-top: 20px;
	padding-bottom: 20px;
	font-size: 2.5em;
	text-align: center;
	text-transform: uppercase;
}
h2 {
	margin-top: 0.5em;
	font-size: 2.25em;
}
a {
	font-weight: bold;
	text-decoration: none;
}
a:link {
	color: #F68979;
}
a:visited {
	color: #FF944C;
}
a:hover, a:active, a:focus {
	color: #7F3300;
	text-decoration: underline;
}
#menulink {
	background-color: #1E1E1E;
	margin: 0;
	text-align: center;
}
#menulink a {
	color: white;
	font-size: 0.7em;
	text-transform: uppercase;
	/* [disabled]display: block;
*/
	font-weight: 200;
	text-decoration: none;
	padding-top: 0.1em;
	padding-bottom: 0.1em;
	font-family: source-sans-pro;
	font-style: normal;
}

/*tuiki 20240818*/
nav {
  margin: 0;
  padding: 0;
	clear: both;
}
.clear_box {
    clear:  both;               /* 回り込みを解除する */
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/*tuiki 20240818*/

#navlinks {
	width: 100%;
	list-style-type: none;
	padding: 0;
	margin: 0;
	text-align: center;
	background-color: #000000;
	background-color: rgba(0,0,0,0.65);
	position: absolute;
	-webkit-transition: all ease-out 0.5s;
	transition: all ease-out 0.5s;
}
#navlinks.displayed {
	top: 135px;
	z-index: 1;
	opacity: 1;
}
#navlinks.start {
	display: none;
}
#navlinks.collapsed {
	top: -12em;
	opacity: 0;
}
#navlinks a {
	display: block;
	padding-top: 10px;
	padding-bottom: 10px;
	color: white;
	font-weight: 400;
	text-decoration: none;
	text-transform: uppercase;
}
#navlinks a:hover, #navlinks a:active, #navlinks a:focus, #navlinks a.thispage {
	color: #F68979;
}
main, aside {
	margin-left: 4%;
	margin-right: 4%;
}
#hero img {
	max-width: 100%;
	display: block;
}
#hero p {
	color: #F68979;
	font-weight: 600;
	font-size: 1.5em;
	text-transform: uppercase;
	border-bottom-width: 3px;
	border-bottom-style: solid;
	padding-left: 4%;
	padding-right: 4%;
	padding-bottom: 20px;
	margin-top: 10px;
	font-family: source-sans-pro;
	font-style: normal;
}
figure {/*写真のサイズなどの設定*/
	width: 400px;
	max-width: 92%;
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding-top: 20px;
	padding-bottom: 20px;
}
figure img {
	max-width: 100%;
}
figcaption {
	display: block;
	margin-top: 0.5em;
	font-size: 0.75em;
	text-transform: uppercase;
}
.grayscale {
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);
}
.grayscale:hover {
	-webkit-filter: grayscale(0%);
	filter: grayscale(0%);
}
footer {
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #1E1E1E;
	color: white;
	font-size: 0.8em;
	text-align: center;
}

/* 追記 */
.clear_figure{
	clear: both;
}
table {
		border-collapse:collapse;
		border-spacing:0;
    width: 100%;
    margin-bottom: 26px;
    border: 1px solid #000;
    table-layout:fixed;
    max-width:732px;
}
table td {
    padding: 8px;
    vertical-align: middle;
    border: 1px solid #000;
    text-align: left;
    word-wrap: break-word;
    line-height: 1.6;

		display: table-cell;
}
table th {
    padding: 8px;
    vertical-align: middle;
    border: 1px solid #000;
    text-align: center;
    word-wrap: break-word;
    background: #ddd;
}


/*追記　画像横並び*/
.container:after{
	clear: both;
	content: '';
	display: block;
}
.img_side{
	border: solid 1px #999;
	float: left;
	margin: 10px;
}
.img_side02{
	border: solid 1px #999;
	float: left;
	margin: 5px;
}
figcaption{
	font-size: 0.9em;
	text-align: center;
}

/*追記　flexbox*/
#wrap{
	width: 80%;
	display:flex;//ここにflexの指定
	justify-content: center;//flexboxの位置揃え　左右均等
	padding:0;
	list-style: none;
}
#wrap p{color:#FFFFFF;text-align: center;}
#wrap_center{
	width: 80%;
	display:flex;//ここにflexの指定
	flex-flow: row wrap;
	justify-content: space-around;//flexboxの位置揃え　左右均等
	padding:0;
	list-style: none;
}
.box1{width:calc(100% / 3);margin:2px;}
.box2{width:calc(100% / 4);margin:2px;}
.box1:hover, .box2:hover{opacity:0.8;}

.a{background-color:#FF0000;}
.b{background-color:#00FF00;}
.c{background-color:#0000FF;}
.d{background-color:#7EBED4;}
.e{background-color:pink;}
.f{background-color:#309153;}
.g{background-color:#A9F0D1;}

/*追記　flexbox ここまで*/

/*追記ページ内リンク*/
#nav-sub {
  list-style: none;
  overflow: hidden;
	margin: auto;//これで中央に配置
}
#nav-sub li {
  width: 140px;
  text-align: center;
  background: #333;
  float: left; /* 左寄せ 代わりにdisplay: inline-block; でも出来る */
  height: 50px;
  line-height: 50px;
  margin-right: 2px;
}
#nav-sub li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  padding: 20px;
}
#nav-sub li:hover{
	background: #0099FF;
}
/*追記ページ内リンクここまで*/

/*追記　画像、テキスト横並び部分のCSS*/
.media {
    background: #FFF;
    padding: 10px;
    overflow: hidden;
    border:solid 1px #333;
    width:100%;

}
.media_image {
    float: left;
    margin-right: 10px;
}
.media_summary {
    overflow: hidden;
}
.media_heading {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}


.media_02 {
    background: #FFF;
    padding: 10px;
    overflow: hidden;
    width:48%;
    float: left;
    margin-top: 10px;
    margin-right: 10px;
    border:solid 1px #333;
}
/*追記　画像、テキスト横並び部分のCSSここまで　*/





@media (min-width: 700px) {/*@mediaでウィンドウサイズごとの設定*/
#menulink {
	display: none;
}
#navlinks {
	max-width: 1000px;
	position: static;
	background-color: transparent;
}
#navlinks.collapsed {
	opacity: 1;
}
#navlinks a {
	width: 20%;
	padding-top: 15px;
	padding-bottom: 15px;
	margin-bottom: 20px;
	float: left;
	color: #1E1E1E;
}
header {
    overflow: hidden;
}
#hero p {
	width: 36%;
	padding-left: 25px;
	padding-right: 25px;
	padding-top: 20px;
	position: absolute;
	color: white;
	border-width: 5px;
	border-style: solid;
	top: 90px;
	right: 33px;
}
#hero {
	position: relative;
}
main {
	width: 60%;
}
.main_all {
	width: 100%;
}
aside {
	width: 28%;
	margin-left: 0px;
}
main, aside {
	margin-top: 30px;
	margin-bottom: 30px;
	float: left;
	font-size: 0.875em;
}
footer {
	clear: left;
}
}

@media (min-width: 900px) {
.floatright {
	float: right;
	margin-right: 0px;
	margin-left: 10px;
}
.floatleft {
	float: left;
	margin-right: 10px;
}
}
