@charset "UTF-8";
@media screen and (max-width:1058px) {		/* 1058px以下 */
#index {
	width: 380px;
	margin: 0 auto;
	padding: 0 20px;
	inline-height:140%;
}
#flex_layout {
  justify-content: center;
}
aside {
  width: 100%;
  text-align: center;
}
main {
	right-margin:0;
	left-margin:0;
	width:90%;
}
.menu_right {			/* menuクラスのスタイル */
	width: 260px;
	height: 500px;
}
}

@media screen and (min-width:1059px) {		/* 1059px以上 */
#index {
	left: calc( (100vw - 1059px) * 0.1 ) ;
	padding: 0;
	position:fixed;
	inline-height: 140%;
	font-size:90%;
	width: calc(18.0% + (100vw - 1059px) * 0.3 );
}
#flex_layout {
  justify-content: space-around;
}
main {
	right-margin:10px;
}
aside {
  width: 100%;
  text-align: center;
}
.menu_right {			/* menuクラスのスタイル */
	width: 300px;
	height: 500px;
}
.fixed_up {
	top: 0;
}
}

@media screen and (min-width:1360px) {		/* 1360px以上 */
#index {
	left: calc( (100vw - 1356px) * 0.06 ) ;
	width: calc(14.0% + (100vw - 1356px) * 0.18 );
}
#flex_layout {
	justify-content: center;
}
main {
	right-margin:0;
}
aside {
	margin-left: calc( (100vw - 1356px) * 0.1 ) ;
  	width: 300px;
}
.menu_right {			/* menuクラスのスタイル */
	width: 280px;
	height: 600px;
}
}

/* -------------------------------- ここから以下　共通CSS ---------------------------------- */
html, body {
  margin: 0;
  font-size:100%;
}
a {
	text-decoration: none;
}
body {
	background-image: url("../img/b008.jpg");
	line-height: 140%;
}

/* --------------------- font family ------------------------------- */
header,nav,aside,footer {
	font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}
main {
	font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}
/* --------------------- font family end ---------------------------*/

header {
  border: 1px solid black;
  background-image: url("../img/b124.jpg");
  text-align: center;
}
header p{
	font-size:160%;
	font-weight:bold;
	margin:18px;
}

#index h3{
	text-align:center;
}
/* --------------------- flex layout -------------------------------*/
#flex_layout {
  display: flex;
  flex-wrap: wrap;
}

						/* flex items */
nav#nav_empty {
	width:190px;
}

main {
  display:block;
  max-width: 800px;
  border: 1px solid silver;
  padding: 0 20px 10px 30px;
  background-image: url("../img/b002.gif");
  word-wrap: break-word;
  inline-height: 140%;
}

aside {
}
						/* flex items end */
/* -------------------- flex layout end --------------------------*/

footer {
	height: 60px;
	margin: 0;
	border: 1px solid black;
	background-image: url("../img/b124.jpg");
	word-wrap: break-word;
}

.menu_right {			/* menuクラスのスタイル */
	border: none;
	padding: 0;
}
.fixed_up {
}
li {
	padding-left: 1.2em; text-indent: -1.2em;
}

/* ------------------------------ tools ------------------------------------ */
.box {			/* class="box"指定の任意タグのスタイル */
	margin: 0 20px;
	border: 1px solid black;
	padding: 10px 20px;
}

.pbox {			/* class="pbox"指定の任意タグのスタイル */
	margin: 0 20px;
	border: 1px solid black;
	padding: 10px 20px;
	white-space: nowrap;
	overflow-x: scroll;
	max-width: 600px;
}

.pbox2 {		/* class="pbox2"指定の任意タグのスタイル */
	margin: 0 20px;
	border: 1px solid black;
	padding: 10px 20px;
	white-space: nowrap;
	overflow-x: scroll;
	max-width: 800px;
}
.bar1 {
  display: block;
  width: 100%;
  height: 1px;
  background-color: white;
  border: 0;  /*デフォルトデザインでは線がある場合があるので、消しておく。*/
}
/* --------------------------- tools end --------------------------------*/

/* ----------------- page top icon display -------------------------- */
#page_top{
  width: 90px;
  height: 90px;
  position: fixed;
  right: 5%;
  bottom: 0;
  opacity: 0.5;
  background-color: black;
}
#page_top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #ffa6ff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after{
  content: 'PAGE TOP';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/* ---------------   page top icon display end -------------------- */


