@charset "UTF-8";

/*共通
======================================*/

/* 構造 */
html {
	overflow-y: scroll;
	font-size : 62.5%;
}

body {
	margin-top: 90px;
	background-color: #F0F0F0;
	color: #333333;
	font-size: 1.6rem;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "ヒラギノ角ゴ ProN W3", sans-serif;
}

* {
	box-sizing: border-box;
}

#container {
	width: 100%;
	margin: 0 auto;
}

#noscript {
	width: 100%;
	margin: 0 auto;
	padding-top: 30px;
	background-color: #F0F0F0;
	color: #333333;
	font-size: 1.3rem;
	text-align: center;
}

#wrapper {
	position: relative;
	max-width: 1000px;
	margin: 30px auto;
	padding: 0 20px;
	animation: fadeIn 2s ease 0s 1 normal;
	-webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
	0% {opacity: 0}
	100% {opacity: 1}
}

section {
	padding-top: 40px;
}

/* リンク・段落・見出し */
a,
a img {
	color: #333333;
	text-decoration: none;
	transition: all 0.5s ease-in-out;
}

a:hover {
	color: #777777;
}

a:hover img {
	opacity: 0.5;
}

p {
	margin: 5px 0px;
}

h1 {
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: 2.2rem;
}

section h1 {
	margin-bottom: 40px;
	text-align: center;
}

h2 {
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: 2rem;
}

h3 {
	margin: 0;
	padding: 0;
	font-weight: bold;
	font-size: 1.8rem;
}

/* テキスト下線 */
.underline {
	text-decoration: underline;
}

/* １文字インデント */
.indent {
	text-indent: 1.6rem;
}

/* ２文字空白空け */
.twoLetters::first-letter {
	margin-right: 1.6rem;
}

/* 行頭中黒 */
.midpoint::before {
	content: "\025cf";
}

/* 強制フロート */
.floatRight {
	float: right !important;
}

.floatLeft {
	float: left !important; 
}

/* クリアフィックス */
.clearfix::after {
	display: table; 
	clear: both;
	content: ""; 
}

/* 強制行揃え */
.alignCenter {
	text-align: center !important;
}

.alignRight {
	text-align: right !important;
}

.alignLeft {
	text-align: left !important;
}

/* 見出しスタイリング */
.borderHeader {
	padding-left: 5px;
	border-bottom: 1px solid #CCCCCC;
	border-left: 10px solid #CCCCCC;
}

/* ボタンスタイリング */
.button {
	margin: 0 auto;
	text-align: center;
}

.button > a,
.button > input {
	display: inline-block;
	width: auto;
	padding: 10px 15px;
	border: 1px solid #0099FF;
	color: #0099FF;
	letter-spacing: 0.2rem;
	text-decoration: none;
	transition: all 0.5s ease-in-out;
}

.button > a:hover,
.button > input:hover {
	border: 1px solid #0099FF;
	background-color: #0099FF;
	color: #FFFFFF;
	cursor: pointer;
}

/* 画像横幅100%サイズ可変 */
.responsive {
	width: 100%;
	height: auto;
	margin: 0;
}

/* ポインターイベント処理 */
.noEvent {
	pointer-events: none;
	cursor: default; /* for IE11 */
}

.noEvent:hover {
	opacity: 1 !important;
}

/*ヘッダー
======================================*/

header {
	position: fixed;
	top: 0;
	z-index: 14;
	width: 100%;
	height: 90px;
	margin: 0 auto;
	box-shadow: 0 5px 3px -3px rgba(0, 0, 0, 0.6);
	background-color: #FFFFFF;
	text-align: left;
}

header h1 {
	margin-left: 30px;
}

/*メニュー
======================================*/

/* メインメニュー */ 
#global {
	position: absolute;
	top: 18px;
	right: 40px;
	width: 680px;
	height: auto;
	text-align: right;
}

#menu1,
#menu2 {
	display: inline-block;
	width: auto;
	margin: 0;
	padding: 0;
}

#menu1 li,
#menu2 li {
	display: block;
	float: left;
	margin: 0;
	padding: 0;
}

#menu1 li a,
#menu2 li a {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
}

#menu1 {
	margin: 0 25px 5px 0;
}

#menu1 li {
	width: auto;
	margin-right: 15px;
}

#menu1 li:last-child {
	margin-right: 0;
}

#menu1 li a {
	position: relative;
	margin-left: 1.5rem;
	font-size: 1.2rem;
}

#menu1 li a::before {
	position: absolute;
	left: 0;
	color: #FF0000;
	font-family: FontAwesome;
	content: "\f04b";
	transition: all 0.5s ease-in-out;
}

#menu1 li a:hover {
	color: inherit;
}

#menu1 li a:hover::before {
	position: absolute;
	left: 0;
	color: #0099FF;
	font-family: FontAwesome;
	content: "\f04e";
}

#menu2 {
	margin-right: 10px;
}

#menu2 li {
	width: 160px;
	height: 30px;
	margin-right: 10px;
}

#menu2 li:last-child {
	margin-right: 0;
}

#menu2 li a {
	padding-top: 4px;
	background-color: #CCCCCC;
	font-size: 1.5rem;
	text-align: center;
}

#menu2 li a:hover {
	background-color: #BBDDFF;
	color: inherit;
}

/* トグルメニュー */ 
#naviToggle {
	display: none;
	overflow: hidden;
}

#container > label {
	position: fixed;
	top: 0;
	right: 0;
	cursor: pointer;
}

#open {
	z-index: 16;
	transform: translate(0, -100%);
	-webkit-transform: translate(0, -100%);
	-ms-transform: translate(0, -100%);
	width: 60px;
	height: 60px;
	background-color: #CCCCCC;
	color: #777777;
	font-weight: bold;
	font-size: 3.2rem;
	line-height: 60px;
	text-align: center;
	transition: background 0.5s, transform 0.5s;
}

#open:hover {
	background-color: #BBDDFF;
}

#naviToggle:checked + #open {
	transform: translate(-250px, 0);
	-webkit-transform: translate(-250px, 0);
	-ms-transform: translate(-250px, 0);
	background-color: #BBDDFF;
}

#close {
	z-index: 15;
	width: 100%;
	height: 100%;
	pointer-events: none;
	transition: background 0.5s;
}

#naviToggle:checked ~ #close {
	background-color: rgba(0, 0, 0, 0.3);
	pointer-events: auto;
}

#toggle {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 15;
	transform: translateX(100%);
	-webkit-transform: translateX(100%);
	-ms-transform: translateX(100%);
	width: 250px;
	height: 100%;
	padding: 10px;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.6);
	transition: transform 0.5s;
}

#naviToggle:checked ~ #toggle {
	transform: translateX(0);
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
}

#toggle h2,
#toggle li a {
	color: #BBDDFF;
}

#toggle h2 {
	text-align: center;
}

#toggle ul {
	position: relative;
  padding: 0;
	overflow-x: hidden;
}

#toggle li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	font-size: 1.3rem;
	line-height: 2.2rem;
	text-align: center;
}

#toggle li:nth-child(-n+2) {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

#toggle li a {
	display: block;
	padding: 1.6rem 3.2rem;
	transition: background 0.5s;
}

#toggle li a:hover {
	background-color: #BBDDFF;
	color: #777777;
}

/*SNS
======================================*/

/* SNS */
#sns {
	position: absolute;
	top: 5px;
	left: 20px;
}

#sns a,
.sns a {
	float: left;
	color: #CCCCCC;
	font-size: 4rem;
	line-height: 4rem;
}

#sns a:not(:first-child),
.sns a:not(:first-child) {
	margin-left: 10px;
}

.facebook::before {
	font-family: FontAwesome;
	content: "\f082";
	transition: all 0.5s ease-in-out;
}

.twitter::before {
	font-family: FontAwesome;
	content: "\f081";
	transition: all 0.5s ease-in-out;
}

.instagram::before {
	font-family: FontAwesome;
	content: "\f16d";
	transition: all 0.5s ease-in-out;
}

.googlePlus::before {
	font-family: FontAwesome;
	content: "\f0d4";
	transition: all 0.5s ease-in-out;
}

.rssFeed::before {
	font-family: FontAwesome;
	content: "\f143";
	transition: all 0.5s ease-in-out;
}

.facebook:hover::before {
	color: #3B5998;
}

.twitter:hover::before {
	color: #1DA1F2;
}

.instagram:hover::before {
	color: #7D39AF;
}

.googlePlus:hover::before {
	color: #D71517;
}

.rssFeed:hover::before {
	color: #FF9900;
}

#sns a span,
.sns a span {
	position: absolute;
	clip: rect(0, 0, 0, 0);
}

.sns {
	display: none;
}

.instagram {
	display: none !important; /* 非表示設定 */
}

/* ソーシャルボタン */
#socialButton > span {
	position: absolute;
	clip: rect(0, 0, 0, 0);
}

ul.socialButton{
	position: absolute;
	bottom: -3rem;
	left: 0;
  list-style-type : none;
	margin: 0 0 0 20px;
	padding: 0;
  overflow : hidden;
}

ul.socialButton li{
  float : left;
  width : auto;
	line-height: 0;
}

ul.socialButton li:not(:last-of-type) {
	margin-right: 5px;
}

/*先頭に戻るボタン
======================================*/

#pageTop {
	position: fixed;
	right: 10px;
	bottom: 11px;
	z-index: 11;
	width: 4rem;
	height: 4rem;
	overflow: hidden;
	text-align: center;
}

#pageTop a {
	display: block;
	width: 100%;
	height: 100%;
	color: rgba(204,204,204,0.7);
	line-height: 4rem;
	font-size: 4rem;
	text-decoration: none;
}

#pageTop a::after {
	font-family: FontAwesome;
	content: "\f0aa";
}

#pageTop a:hover {
	color: rgba(0,153,255,0.7);
}

#pageTop span {
	position: absolute;
	clip: rect(0, 0, 0, 0);
}

/*フッター
======================================*/

#footer {
	background-color: #FFFFFF;
	text-align: center;
}

#footer img {
	display: inline;
}

/*740px～949px
======================================*/

@media only screen and (max-width: 949px) {
	/* 構造 */
	#wrapper {
		margin: 20px auto 45px;
		padding: 0 15px;
	}

	/* ヘッダー */
	header h1 {
		margin-left: 15px;
	}

	header img {
		width: 111px;
		height: 50px;
	}

	/* メニュー */
	#global {
		right: 15px;
	}

	/* SNS */
	#sns {
		left: 15px;
	}

	/* ソーシャルボタン */
	ul.socialButton {
		bottom: -4rem;
		margin-left: 15px;
	}

	/* 先頭に戻るボタン */
	#pageTop {
		bottom: 40px;
		right: 15px;
	}

/* フッター */
	#footer img {
		width: 67px;
		height: 30px;
	}
}

/*480px～739px
======================================*/

@media only screen and (max-width: 739px) {
	/* 構造 */
	body {
		margin-top: 60px;
	}

	#wrapper {
		margin: 10px auto 45px;
		padding: 0 10px;
	}

	/* ヘッダー */
	#toggle + header {
		height: 60px;
	}

	header h1 {
		margin-left: 5px;
	}

	header img {
		width: 133px;
		height: 60px;
	}

	/* メインメニュー */
	#global {
		display: none;
	}

	/* トグルメニュー */
	#open {
		transform: translate(0, 0);
		-webkit-transform: translate(0, 0);
		-ms-transform: translate(0, 0);
	}

	/* SNS */
	#sns {
		left: 10px;
	}

	#sns a {
		font-size: 3rem;
		line-height: 3rem;
	}

	/* ソーシャルボタン */
	ul.socialButton {
		margin-left: 10px;
	}

	/* 先頭に戻るボタン */
	#pageTop {
		right: 5px;
	}

/* タイトルヘッダー */
	section h1 img {
		width: 255px;
		height: 60px;
	}
}

/*～479px
======================================*/

@media only screen and (max-width: 479px) {
	/* 構造 */
	#wrapper {
		margin-bottom: 50px;
		font-size: 1.3rem;
	}

	section {
		padding-top: 20px;
	}

	/* タイトルヘッダー */
	section h1 {
		margin-bottom: 20px;
	}

	section h1 img {
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}

	/* トグルメニュー */
	#toggle li:nth-child(2) {
		border-top: none;
	}

	/* SNS */
	.sns {
		display: block;
		height: 54px;
	}

	.sns div {
		position: relative;
		left: 50%;
		float: left;
	}

	.sns a {
		position: relative;
		left: -50%;
		margin-top: 4px;
		padding: 0 !important;
		line-height: 4rem;
		font-size: 4rem;
	}

	.sns a:hover {
		background-color: inherit !important;
	}

	#sns {
		display: none;
	}

	/* ソーシャルボタン */
	ul.socialButton {
		bottom: -4.5rem;
	}

	/* フッター */
	#footer {
		font-size: 1.2rem;	
	}
}