﻿@charset "utf-8";

/* pc */
@media screen and (min-width: 641px) {

body, h1, h2, h3, h4, p, ul, ol, dl, li, dt, dd, figure, header {
	margin: 0px;
	padding: 0px;
}
img {
	border: none;
	vertical-align:top;
}
body {
	color:#4d4d4d;
	line-height:1.7;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}
#wrapper {
	width:1200px;
	margin:auto;
}
li {
	list-style-type:none;
}
header {
	padding-bottom:20px;
    border-bottom: 3px solid #3376CF;
    margin-bottom: 20px;
    overflow: hidden;
}
header h1 {
	font-size:80%;
	padding:20px 0 0 20px;
}
header figure {
	width:326px;
	float:left;
}
header .h_pr {
	width:234px;
	float:right;
	padding-top:30px;
}
header nav ul {
	/*clear:both;*/
}
nav li {
	/*float:left;*/
    padding:2px 0;
}
nav li img:hover {
	filter:alpha(opacity=30);
	opacity:0.3;
}
nav ul {
	overflow:hidden;
	margin-bottom:10px;
    float: left;
}
    header p.ad {
        float: left;
    }
    
header #mainimage {
	width:100%;
	background-color:#235898;
	text-align:center;
	padding:10px 0px 10px 0px;
	margin-bottom: 20px;
}
#main {
	width:900px;
	float:left;
    padding-bottom: 50px;
}
#main section {
	width:413px;
	float:left;
	padding:10px 10px 20px 10px;
    margin: 8px;
    box-shadow: 0 0 8px #bcbcbc;
    border-radius: 10px;
}
#main section p {
	background-color:#B6CFEE;
	padding:15px;
    margin-bottom: 10px;
    border-radius: 10px;
}
#main section p.a_right{
	background-color:#B6CFEE;
	padding:0;
    margin-bottom:0;
}
#main section p.a_right a{
	background-color:#3376CF;
    color: #fff;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 10px;
    font-size: 110%;
    font-weight: bold;
	text-align:center;
    display: block;
}
#main section p.a_right a:hover {
	color:#ff4500;
    background: #7caeef;
}
#main section figure {
	text-align:center;
	/*background-color:#B6CFEE;*/
	padding:5px 0 22px 0;
}
#main section figure img:hover {
	filter:alpha(opacity=30);
	opacity:0.3;
}
#main .face {
    padding: 10px 0 50px 10px;
}
#main .face img {
    border-radius: 50px;
    float:left;
}
#main .catch {
    position: relative;
    padding: 20px;
    margin:0 10px 0 120px;
    background: #B6CFEE;
    border-radius: 10px;
}
#main .catch::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -15px;
  top: 20px;
  border-right: 15px solid #B6CFEE;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}
#main h2 {
	background-image:url("img/heading_2.jpg");
	background-repeat:no-repeat;
	height:50px;
	font-size:200%;
	padding:5px 0px 0px 60px;
	margin-bottom:10px;
    text-shadow: 0 0 5px #fff;
    clear: both;
    }
#main h3 {
	margin:10px 0 5px;
    font-size: 140%;
}
#main h3::first-letter {
    color:#2F72CB;
    font-size: 150%;
}
aside {
	width:280px;
	float:left;
	margin-left:20px;
}

aside h2 {
	border-left:solid 7px #235898;
	margin-bottom:5px;
	padding-left:10px;
}

aside div {
	background-color:#dcdcdc;
	padding:20px;
}
footer {
	clear:both;
    background-color:#B6CFEF;
    padding:20px;
}
footer p {
	text-align:center;
}
footer figure {
	text-align:right;
}
}


/* smartPhone */
@media screen and (max-width: 640px) {
body, h1, h2, h3, h4, p, ul, ol, dl, li, dt, dd, figure, heder {
	margin: 0px;
	padding: 0px;
    }
img {
	border: none;
	vertical-align:top;
    width: 100%;
}
#foot img{
    width: auto;
}
footer p {
    padding: 15px;
}
body {
	color:#4d4d4d;
	line-height:1.7;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}
#wrapper {
	width:100%;
	margin:auto;
}
li {
	list-style-type:none;
}
header {
	width:100%;
	padding-bottom:20px;
    border-bottom: 3px solid #3376CF;
    margin-bottom: 20px;
}
header h1 {
	font-size:80%;
	text-align:center;
}
header figure {
	width:80%;
	margin:auto;
}
header .h_pr {
	width:50%;
	margin:auto;
	padding-top:20px;
}
nav ul {
	width:50%;
    margin: auto;
}
nav ul li{
    padding-top: 5px;
}
nav li img:hover {
	filter:alpha(opacity=30);
	opacity:0.3;
}
header #mainimage {
	display:none;
}
#main .face {
    padding: 10px 0 50px 0;
}
#main .face img {
    border-radius: 30px;
    width: 50px;
    float:left;
    margin-top: 15px;
}
#main .catch {
    position: relative;
    padding: 20px;
    margin:0 10px 0 70px;
    background: #B6CFEE;
    border-radius: 10px;
}
#main .catch::before{
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  left: -15px;
  top: 20px;
  border-right: 15px solid #B6CFEE;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}
#main {
	width:80%;
	margin:auto;
}
#main h2:first-letter {
    color:#2F72CB;
    font-size: 150%;
}

#main h3 {
	margin-top:20px;
	border-left:solid 5px #235898;
	padding-left:10px;
	margin-bottom:10px;
}
#main section figure {
	text-align:center;
	margin-bottom:10px;
}
#main section figure img:hover {
	filter:alpha(opacity=30);
	opacity:0.3;
}


#main section {
	width:90%;
	padding:10px 10px 20px 10px;
    margin: 8px;
    box-shadow: 0 0 8px #bcbcbc;
    border-radius: 10px;
}
#main section p {
	background-color:#B6CFEE;
	padding:15px;
    margin-bottom: 10px;
    border-radius: 10px;
}
#main section p.a_right{
	background-color:#B6CFEE;
	padding:0;
    margin-bottom:0;
}
#main section p.a_right a{
	background-color:#3376CF;
    color: #fff;
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 10px;
    font-size: 110%;
    font-weight: bold;
	text-align:center;
    display: block;
}
#main section p.a_right a:hover {
	color:#ff4500;
    background: #7caeef;
}


    
aside {
	width:80%;
	margin:auto;
	padding-top:20px;
}
footer {
	background-color:#B6CFEF;
}
}
