﻿/*◆◇◆以下はスマホ用のCSS◆◇◆*/
@media screen and (max-width : 501px){



#wrapper {
	background-color: #efefef;
	padding-top: 20px;
}



h2.content_title {
	font-size: 2.4rem;
	width: 90vw;
	height: 40px;
	line-height: 40px;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
	margin-top: 45px;/*headerを上部固定しない場合は外す*/
	font-weight: normal;
}



.content {
	width: 98vw;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
	padding-top: 15px;
	padding-bottom: 20px;
	border-radius: 6px 6px 6px 6px;
}



img.picture {
	width: 50vw;
	display: block;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 30px;
	padding-top: 20px;
}

#n_i {
	width: 90vw;
	margin-right: auto;
	margin-left: auto;
}
p#name {
    font-size: 2.0rem;
    text-align: center;
}
p#info {
    font-size: 1.4rem;
    text-align: center;
}

p#message {
	width: 94vw;
	margin-right: auto;
	margin-left: auto;
    font-size: 1.2rem;
}



.fs_24 {
    font-size: 2.0rem;
}

p.content_title_add {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}



#content_instance {
    width: 96vw;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
	border-radius: 6px 6px 6px 6px;
    margin-bottom: 80px;
    padding: 1vw 1vw 1vw 1vw;
}
img.instance {
    margin: 1vw 1vw 1vw 1vw;
    width: 30vw;
}



/*colorbox.cssのポップアップ表示される画像のサイズに関して（調整している）*/
/*拡大表示する方の画像は全て縦横3:4の比率とし、スマホの平均的なアスペクト比からvwとvhは計算している*/
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:80vw; max-height:34vh; -ms-interpolation-mode:bicubic;}



}










/*◆◇◆以下はPC用のCSS◆◇◆*/
/*ビューエリアの最小幅がこのサイズより大きい場合に以下のスタイルを適用*/
@media screen and (min-width : 500px){



#wrapper {
	background-color: #efefef;
	padding-top: 70px;/*headerを上部固定しない場合は外す*/
}



h2.content_title {
	width: 450px;
	height: 48px;
	font-size: 48px;
	line-height: 48px;
	text-align: center;
    margin-right: auto;
    margin-left: auto;
	font-weight: normal;
}



.content {
	width: 1100px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
	border-radius: 6px 6px 6px 6px;
	padding: 50px 50px 50px 50px;
}



img.picture {
	float: left;
	width: 291px;
	height: 415px;
	margin-right: 50px;
}

#n_i {
	width: 759px;
	height: 415px;
	float: left;
	margin-bottom: 0px;
}
p#name {
    margin-top: 80px;
    margin-bottom: 50px;
    font-size: 30px;
}
p#info {
    font-size: 18px;
    line-height: 48px;
}

p#message {
	margin-top: 50px;
	margin-bottom: 0px;
    font-size: 18px;
    line-height: 36px;
}



.fs_24 {
    font-size: 24px;
}

p.content_title_add {
    text-align: center;
    font-size: 18px;
}



#content_instance {
	width: 1152px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
	border-radius: 6px 6px 6px 6px;
	padding: 48px 24px 0px 24px;
}
img.instance {
    margin: 0px 24px 48px 24px;
    width: 336px;
    height: 266px;
}



/*colorbox.cssのポップアップ表示される画像のサイズに関して（調整していない）*/
.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;}



}









