@charset "euc-jp";
/* 標準可変メディア
   メモ : 可変メディアでは、HTML からメディアの高さおよび幅の属性を削除する必要がある
   http://www.alistapart.com/articles/fluid-images/ 
*/
img, object, embed, video {
	max-width: 100%;
}
/* IE 6 では最大幅がサポートされていないため、デフォルトで幅 100% に設定される */
.ie6 img {
	width:100%;
}

a.white:link {
color : #ffffff; 
}
a.white:visited {
color : #ffffff; 
}
a.white:active {
text-decoration : underline; 
color : #ffffff; 
}
a.white:hover {
text-decoration : underline; 
color : #ffffff; 
}

.coad {
    background-color: #74C9E1;
    color: #fff;
    padding: 0 5px 0 5px;
	font-size: 14px;
}





/*
	Dreamweaver 可変グリッドプロパティ
	----------------------------------
	dw-num-cols-mobile:		5;
	dw-num-cols-tablet:		8;
	dw-num-cols-desktop:	10;
	dw-gutter-percentage:	25;
	
	以下からヒントを入手 : Ethan Marcotte 氏の「レスポンシブ Web デザイン」 
	http://www.alistapart.com/articles/responsive-web-design
	
	および Joni Korpi 氏の「Golden Grid System」
	http://goldengridsystem.com/ 
*/

/* モバイルレイアウト : 480 px およびそれ以下. */



.br-sp {
	display: inline;
}

.br-pc {
	display:none;
}


.box {
    padding: 0.5em 1em;
    margin-top: 2em;
    margin-right: auto;
    margin-bottom: 2em;
    color: black;/*文字色*/
    background: #FFF;
    border: 3px solid #494949;/*線*/
    border-radius: 10px;/*角の丸み*/
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
    text-align: center;
    width: 100%;
    margin-left: auto;
}
.box p {
	margin: 0;
	padding: 0;
	font-size: 16x;
	text-align: left;
	font-weight: middle;
	color: black;
	display: inline-block;
}
.box p strong {
	font-size: 17px;
	font-weight: bold;
}


.box2 {
    padding-top: 1em;
    padding-right: 1em;
    padding-left: 1em;
    padding-bottom: 1em;
    margin-top: 2em;
    margin-right: auto;
    margin-bottom: 2em;
    color: black;/*文字色*/
    background-color: #FFFBCE;
    border: 3px solid #494949;/*線*/
    border-radius: 10px;/*角の丸み*/
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
    text-align: center;
    width: 85%;
    margin-left: auto;
}
.box2 p {
	margin: 0;
	padding: 0;
	font-size: 16x;
	text-align: left;
	font-weight: middle;
	color: black;
	display: inline-block;
}
.box2 p strong {
	font-size: 17px;
	font-weight: bold;
}

.twobox2 {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 0 20px 0;
}

.itembox_4 {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0px 0 5px 0px;
}
.itembox_4 div {
	width: 48%; /*もとは30％*/
	text-align: left;
	margin: 0px 0 5px 0px;
	font-size: 10px;
	margin-bottom: 20px;
}
.itembox_4 div p {
	width: 50px;
	margin: 0 auto;
}
.itembox_4 div img {
	width: 100%;
}



.itembox_4to2 {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0px 5px 5px 0px;
}
.itembox_4to2 div {
	width: 48%;
	text-align: left;
	font-size: 14px;
	margin-bottom: 40px;
}
.itembox_4to2 div p {
	width: 50px;
	margin: 0 auto;
}
.itembox_4to2 div img {
	width: 100%;
}


 /* 以下マウスを載せたときのスタイル */
.anothertype a:hover {
	background-color: #ff4c50;
	color:#ffffff;
}
.anothertype a img {
	width: 60%;
	margin: 0 0 1px 0;
}

.clearfix {
  display: block;
  clear:both;
}


/* YouTube埋め込み用のiframe */
.video iframe{
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
}

.pcwidthfewthin {
	width: 100%;
}

	body{
			background-image: url("img/haikeisp.png");/* 背景画像指定 */
		background-repeat: repeat-y;  /* 背景の繰り返し設定 */
		background-size: contain; /*サイズの指定*/
			}



/* デスクトップレイアウト : 769 px 〜最大 1232 px。モバイルレイアウトとタブレットレイアウトからスタイルを継承。 */

@media only screen and (min-width: 769px) {
	
	.video {
  position: relative;
  width:100%; 
  height:0; 
  padding-top: 56.25%; /* 高さを指定(16:9) */
}

/* YouTube埋め込み用のiframe */
.video iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
	
.box {
    padding: 0.5em 1em;
    margin-top: 2em;
    margin-right: auto;
    margin-bottom: 2em;
    color: black;/*文字色*/
    background: #FFF;
    border: 3px solid #494949;/*線*/
    border-radius: 10px;/*角の丸み*/
    font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif';
    text-align: center;
    width: 80%;
    margin-left: auto;
}
.box p {
	margin: 0;
	padding: 0;
	font-size: 16x;
	text-align: left;
	font-weight: middle;
	color: black;
	display: inline-block;
}
.box p strong {
	font-size: 17px;
	font-weight: bold;
}
	
.br-sp {
	display:none;
}
	
.br-pc {
	display:inline;
}
	

    
.twobox2 {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 0 30px 0;
}
    
.itembox_4 {
	width: 80%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 auto;
}
.itembox_4 div {
	width: 32%;
	text-align: center;
	margin: 0 0 0 0;
	font-size: 14px;
	margin-bottom: 40px;
}
.itembox_4 div p {
	width: 75px;
	margin: 0 auto;
}
.itembox_4 div img {
	width: 100%;
}
	
	
	.itembox_4to2 {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 0 20px 0;
}
.itembox_4to2 div {
	width: 23%;
	text-align: center;
	margin: 0 10px 10px 0;
	font-size: 14px;
	margin-bottom: 40px;
}
.itembox_4to2 div p {
	width: 75px;
	margin: 0 auto;
}
.itembox_4to2 div img {
	width: 100%;
}
	
	
	.pcwidthfewthin {
	width: 80%;
	margin:0 auto;
}
    
		body{
			background-image: url("img/haikei.png");/* 背景画像指定 */
		background-repeat: repeat-y;  /* 背景の繰り返し設定 */
		background-size: contain; /*サイズの指定*/
			}

    
    }
