@charset "UTF-8";

/* すべてのWebページに適用される */
html {
    font-size: 16px;
    /* 字体はゴシック */
    font-family: sans-serif;
}
* {
	/* width,heightプロパティで指定する値をボーダ領域まで含む領域とする(設定しないとコンテンツ領域限定)*/
	box-sizing: border-box;
}
body {
    /* 別途隙間は調整するので、デフォルトのmargin(8px)をやめて全て0にする */
	margin: 0 0 0 0;
	/* 背景:薄青*/
	/*background-color: #F4F4F4*/
	/* 背景:オレンジ*/
	background-color: #fff8ef;	
	/* 背景:ラベンダ*/
	/*background-color: #e6e6fa;*/
}

p, li, td  {
	line-height: 1.6;
}

a:link {
	color: #0000ff;
}
a:visited {
	color: #d25833;
}
a:hover {
	color: #e3937a;
}
a:active {
	color: #ff6a3b;
}

img {
	max-width: 100%;
	height: auto;
}

/* すべてのページに適用 - ヘッダー - */
.logo {
	margin: 50px 120px 40px 120px;
	line-height: 0;
	text-align: center;
}

/*------------------------------------*/
/* ナビゲーション */
/*------------------------------------*/
.nav li {
	list-style-type: none;
	padding-right: 30px;
	display: inline;
}
.nav ul {
    text-align:center; /*リスト全体を中央寄せに*/
	margin: 0 0 0 0;
	padding: 20px 10px 15px 20px;
	background-image: url(../images/menu-bg.png);
	background-repeat: repeat-x;
}

.nav a:link {
	color: #0000ff;
	text-decoration: none;
}
.nav a:visited {
	color: #3c454d;
	text-decoration: none;
}
.nav a:hover {
	color: #7b8dac;
	text-decoration: none;
}
.nav a:active {
	color: #5a9bc0;
	text-decoration: none;
}

/*------------------------------------*/
/* ヒーローヘッダ */
/*------------------------------------*/
.heroh {
    padding: 80px 0 85px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: #FFFFFF;
    text-align: center;
}
.heroh.index {
    background-image: url(../images/Hamamatus_Castle.jpg);
}
/* indexのヒーロヘッダにおいて、brのdisplayプロパティをnoneとする(改行しない) */
.heroh.index br{
    display: none;
}
.heroh.about {
    background-image: url(../images/Mt_Fuji.jpg);
}
.heroh.research {
    background-image: url(../images/Flower1.jpg);
}
.heroh.contact {
    background-image: url(../images/sakura_path.jpg);
}
.heroh.access {
    background-image: url(../images/DawnOrange.jpg);
}
.heroh.summarize {
    background-image: url(../images/sakura_path2.jpg);
}
.heroh.point0 {
    background-image: url(../images/unagi1.jpg);
}
.heroh.point1 {
    background-image: url(../images/HamburgSteak.jpg);
}
.heroh.point2 {
    background-image: url(../images/tulip.jpg);
}

/*------------------------------------*/
/* メイン */
/*------------------------------------*/
main {
    /* margin: 90px auto 90px 20px; */
    margin: 90px auto 90px auto;
    max-width: 1000px;
    padding: 0 3%; /* @@@ */
}

main h2 {
	color: #3f5170;
	font-size: 22px;
	/* 見出し単語の下線設定 solid or dotted */
	border-bottom: 2px dotted #3f5170;
	margin-top: 20px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
	padding-top: 5px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
}

main h3 {
	color: #3f5170;
}

/*------------------------------------*/
/* フッター */
/*------------------------------------*/
.backtotop {
    text-align: center;
}
.copyright {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 75px;
    padding-bottom: 75px;
    background-color: #253958;
    color: #FFFFFF;
    text-align: center;
}

/*------------------------------------*/
/* 個別のスタイル */
/*------------------------------------*/
/* index.html */
.news {
	margin: 0;
}
/* リストスタイル */
.index_item li{
    /* リスト要素同士の間隔を空ける */
    padding-bottom: 4px;
}
.indexp {
	padding: 0 10px;
}
/* 字下げ1 */
.indexindent1{
	padding-left: 35px;
	font-size: 14px;
}

/*------------------------------------*/
/* about.html */
/* リストスタイル */
.about_item li{
    /* リスト要素同士の間隔を空ける */
    padding-bottom: 4px;
}
.aboutp {
    font-size: 16px;
	padding: 5px 10px 5px 10px;
	padding-bottom: 0px
}
/*------------------------------------*/
/* research.html */
.search_item li{
    /* リスト要素同士の間隔を空ける */
    padding-bottom: 4px;
}
.resep {
    font-size: 16px;
	padding: 5px 10px 5px 10px;
	padding-bottom: 0px
}
/*------------------------------------*/
/* contact.html */
.contp {
	padding: 0 10px;
}
/* リストスタイル */
.cont_item li{
    /* リスト要素同士の間隔を空ける */
    padding-bottom: 12px;
}
/* 事務所情報用テーブル */
.info {
	border-collapse: collapse; /*テーブル間のボーダ部重畳表示*/
	margin: 15px 15px 15px 20px;
}
.info th, .info td {
	padding: 8px;
	border: 1px solid #BEC2C7; /*薄オレンジ*/
	text-align: left;
}
.info th {
	background-color: #FFCC66; /*オレンジ*/
	width: 90px;
	color: #3f5170;
	vertical-align: top;
}

/*------------------------------------*/
/* summarize.html */
/* 箇条書き用(線なし、リンク付き) */
.serveitem {
    font-size: 16px;
	padding: 0px 35px 0px 12px;
	line-height: 1.6;
}

.serveitem ol li {
    font-size: 16px;
	list-style-type: decimal;
	line-height: 1.6;
	padding-top:10px;
    padding-bottom:10px;
}


/*------------------------------------*/

/* スマートフォン向けCSS */
@media (max-width: 767px) {
	/* logo */
	.logo {
		margin: 30px 0;
	}
	.logo img {
		width: 400px;
	}
	
	main {
	   /* 横のpaddingを%指定 */
        padding: 0 3%;
    }
	
    .nav li {
		display: block;
	}

    /* ヒーロヘッダ(index)において、brのdisplayプロパティの初期値はinlineとする(改行有効) */
    .heroh.index br{
     display: inline;
     }

}
