﻿@charset "utf-8";

*{
	margin:0;
	padding:0;
}

/* 画像をボックスからはみ出さないようにする */
img {
  max-width:100%;
  max-height:100%;
  height:auto;
}

/**マウスを乗せたリンク画像を半透明に**/
a img:hover{
	opacity: 0.5;   /*透明度0.5*/
}

/***親要素に高さをもたせる(float対策)***/
.clearfix:after{     /*疑似要素*/
	content:"";      /*空のボックス*/
	display:block;       /*ブロックレベル要素に設定*/
	clear:both;        /*杭打ちをして高さを得る*/
}


/**ブラウザの規定スタイルを解除**/
/*画像下の余白をなくす*/
img {
	vertical-align: bottom;
}

/*リスト項目の余白をなくす*/
ul {
	margin: 0;
	padding: 0;
}
/**規定解除ここまで**/

#wrap {
	clear: both;
	margin-top: 0px;        /*コンテンツエリアの外部上に余白*/
	padding: 0px;       /*コンテンツ内部に余白*/
}

/**** ヘッダーは別ファイル headerpufnotch.css ****/

body {
  width:auto;
  height:auto;
	margin: 0;
	padding: 0;
	font-size: 15px;
}

/*コンテンツを中央揃え*/
.content {
	width: 88%;
	margin-top:200px;
	margin-left:auto;
	margin-right:auto;
  background-color: #ffffff;         /*コンテンツエリアの色指定*/
}

#wrap {
	clear: both;
	background-color: #ffffff;         /*コンテンツエリアの色指定*/
}

.main {
	float:left;
	width:70%;
	margin-right:auto;
}

.sidebar {
	float:left;
	width:30%;
	margin-right:auto;
}

.box4 {
	float:left;
	width:auto;
	margin-right:auto;
}

.box4 h1{
	font-size:xx-large;
	margin-bottom:20px;
}

.box4:after	{
  content: "";
	display: block;
	clear: both
}

.box5 {
	float:left;
	width:auto;
	margin-right:auto;
}

.box5 img{
	width:70%;
	margin-bottom:20px;
}

.box5 p{
	font-size:medium;
	line-height:30px;
	margin-bottom:30px;
}


.box5:after	{
  content: "";
	display: block;
	clear: both
}

.box6 {
	float:left;
	width:auto;
	margin-right:auto;
}

.box6 p{
  font-size:small;
	line-height:25px;
}

.box6 ul {
	float: left;
}

/*メニューを横に並べる*/
.box6 li{
	float: left;
	padding-left:10px;      /*左右に余白*/
	margin-left:20px;
	list-style: none;     /*メニューの行頭無し*/
	width:35%;
}

.box6 img{
  width:60%;
}


.box6:after	{
  content: "";
	display: block;
	clear: both
}



/****サイドバーは別ファイル sidebarpufnotch.css ****/

/****フッターは別ファイル footerpufnotch.css ****/



/****************** 479px以下のとき適用 ******************/
@media (max-width: 479.99999px){

body {
}

.content {
  margin-top:50px;
}

.box4 h1{
	font-size:medium;
	margin-bottom:10px;
}

.box5 img{
	margin-bottom:20px;
}

.box5 p{
	font-size:x-small;
	line-height:20px;
	margin-bottom:30px;
}

.box6 p{
  font-size:xx-small;
	line-height:15px;
}

}


/****************** 480px以上599以下のとき適用 *******************/
@media (min-width: 480px) and (max-width: 599.99999px) {

body {
}

.content {
  margin-top:50px;
}

.box4 h1{
	font-size:medium;
	margin-bottom:15px;
}

.box5 img{
	margin-bottom:20px;
}

.box5 p{
	font-size:x-small;
	line-height:20px;
	margin-bottom:30px;
}

.box6 p{
  font-size:xx-small;
	line-height:15px;
}

}


/****************** 600px以上767以下のとき適用 *******************/
@media (min-width: 600px) and (max-width: 767.99999px) {

body {
}

.content {
  margin-top:50px;
}

.box4 h1{
	font-size:large;
	margin-bottom:15px;
}

.box5 img{
	margin-bottom:25px;
}

.box5 p{
	font-size:small;
	line-height:25px;
	margin-bottom:35px;
}

.box6 p{
  font-size:x-small;
	line-height:20px;
}

}


/****************** 768px以上849以下のとき適用 *******************/
@media (min-width: 768px) and (max-width: 849.99999px) {

body {
}

.content {
  margin-top:50px;
}

.box4 h1{
	font-size:large;
	margin-bottom:20px;
}

.box5 img{
	margin-bottom:25px;
}

.box5 p{
	font-size:small;
	line-height:25px;
	margin-bottom:35px;
}

.box6 p{
  font-size:x-small;
	line-height:20px;
}

}


/****************** 850px以上949以下のとき適用 *******************/
@media (min-width: 850px) and (max-width: 949.99999px) {

body {
}

.content {
  margin-top:50px;
}

.box4 h1{
	font-size:x-large;
	margin-bottom:20px;
}

.box5 img{
	margin-bottom:30px;
}

.box5 p{
	font-size:medium;
	line-height:30px;
	margin-bottom:45px;
}

.box6 p{
  font-size:x-small;
	line-height:20px;
}

}


/******************* 950px以上1199以下のとき適用 ********************/
@media (min-width: 950px) and (max-width: 1199.99999px) {

body {
}

.content {
  margin-top:50px;
}

.box4 h1{
	font-size:x-large;
	margin-bottom:25px;
}

.box5 img{
	margin-bottom:30px;
}

.box5 p{
	font-size:medium;
	line-height:30px;
	margin-bottom:20px;
}

.box5 p{
	font-size:medium;
	line-height:30px;
	margin-bottom:45px;
}

.box6 p{
  font-size:small;
	line-height:25px;
}

}


/********************* 1200px以上のとき適用 ********************/
@media (min-width: 1200px){

body {
}

.content {
  margin-top:50px;
}

.box4 h1{
	font-size:x-large;
	margin-bottom:20px;
}

.box5 img{
	width:80%;
	margin-bottom:35px;
}

.box5 p{
	font-size:medium;
	line-height:30px;
	margin-bottom:50px;
}

.box6 p{
  font-size:small;
	line-height:25px;
}

}

