/*
カスタム CSS 機能へようこそ。

使い方についてはこちらをご覧ください
(英語ドキュメンテーション)。http://wp.me/PEmnE-Bt
*/
/*サイド下部に使用*/
p img {
	padding: 0;
	max-width: 100%;
}

img.aligncenter1 {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright1 {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft1 {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright1 {
	float: right;
}

.alignleft1 {
	float: left;
}


/* リンクの色 */
a.ss {
	color: #282828;
}

/* リンクにマウスオーバーした時の色 */
a.ss:hover {
	color: #BF0412;
}

#navi ul {
	display: flex;
/*フレキシブルボックス*/
	text-align: center;
/*センタリングは好みで*/
}

#navi ul li {
	width: 1000px;
/*幅は大きめに調節する*/
}


.global-nav-in ul.mega-sub-menu {
	background-color: #FFF !important;
}

.global-nav-in ul.mega-sub-menu li a {
	line-height: 1.25em !important;
	width: 300px !important;
	padding: 10px !important;
	background-color: #FFF !important;
	color: #333 !important;
	margin-left: 16px !important;
}

.global-nav-in ul.mega-sub-menu li a:before {
	content: "\f054" !important;
	font-family: FontAwesome !important;
	padding-top: 1px !important;
	color: #FC0 !important;
	margin-left: -16px !important;
}

.global-nav-in ul.mega-sub-menu li:hover,
.global-nav-in ul.mega-sub-menu li a:hover {
	background-color: #FFC !important;
}




.yellowbox {
	padding: 20px 20px 10px;
	border: solid 1px #fffacd;
	background-color: #fffff2;
	margin-bottom: 20px;
	font-size: 16px;
	line-height: 26px;
}

.redbox {
	padding: 20px 20px 10px;
	border: solid 1px #ef5350;
	background-color: #f7eded;
	margin-bottom: 20px;
	font-size: 16px;
	line-height: 26px;
}



/* Contact Form 7のラジオボタンを縦並びに */
.wpcf7-radio .wpcf7-list-item {
    margin-top:10px;
	　width: 0px;
    display: block;
}


.wpcf7 input[type="submit"] {
		width:100%;
}

.wpcf7 input[type="text"] {
		width:100%;
}
.wpcf7 input[type="email"] {
		width:100%;
}
.wpcf7 input[type="tel"] {
		width:100%;
}
.wpcf7 textarea  {
		width:100%;
}

/*---通常---*/
dl.a {
	margin-bottom: 5em;
	padding: .5em;
	font-size: 1em;
	font-family: Georgia, "Times New Roman", Times, serif;
	border: 2px solid #000160;
	border-radius: 5px;
}

dl.a dt {
	margin: 0;
	padding: .5em;
	border-bottom: 1px solid #000;
	font-weight: bold;
	color: #000000;
	background-color: #eaebff;
}

dl.a dd {
	margin: 0;
	padding: 0;
	padding-left: .5em;
	font-size: .8em;
	padding-top: .5em;
	padding-bottom: .5em;
	background-color: #edf5ff;
}


.mt20 {
margin-top: 2em;
}

.mt50 {
margin-top: 8em;
}


.mt100 {
margin-top: 10em;
}


.mt200 {
margin-top: 20em;
}

.mb20 {
margin-bottom: 3em;
}

.mb30 {
margin-bottom: 5em;
}

.mb50 {
margin-bottom: 8em;
}


.mb100 {
margin-bottom: 12em;
}

.mb150 {
margin-bottom: 15em;
}

.mb200 {
margin-bottom: 20em;
}


.t3 {
    color: #01441a;
    font-weight: bold;
    font-size: 18px;
	  margin-right: 3px;
    margin-left: 2px;
    letter-spacing: 3px;
    text-shadow: 1px 1px 1px #fcada9,
    -1px 1px 1px #fcada9,
    1px -1px 1px #fcada9,
    -1px -1px 1px #fcada9;
}

.t2 {
    color: #c1c1c1;
    font-weight: bold;
    font-size: 18px;
	  margin-right: 3px;
    margin-left: 3px;		
    letter-spacing: 3px;
    text-shadow: 1px 1px 0px #007729,
    -1px 1px 0px #007729,
    1px -1px 0px #007729,
    -1px -1px 0px #007729;
}

.t1 {
    color: #000000;
    font-weight: bold;
    font-size: 18px;
	  margin-right: 3px;	
    margin-left: 2px;
    letter-spacing: 2px;	
    text-shadow: 1px 1px 0px #d1e8ff,
    -1px 1px 0px #d1e8ff,
    1px -1px 0px #d1e8ff,
    -1px -1px 0px #d1e8ff;
}

.futo {
font-weight: bold;
font-size: 18px
}

.futoaka {
font-weight: bold;
color: #ff0000;
font-size: 18px
}

.futoao {
font-weight: bold;
color: #0000ff;
font-size: 18px
}

.futomido {
font-weight: bold;
color: #149b14;
font-size: 18px
}



.marker {
background: linear-gradient(transparent 0%, #ffff30 0%);
}

.markerh {
background: linear-gradient(transparent 50%, #ffff30 50%);
}

.markeraka {
background: linear-gradient(transparent 0%, #ff6060 70%);
}

.markerakahan {
background: linear-gradient(transparent 50%, #ff6060 90%);
}



.button {
  display: inline-block;
  width: 400px;
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
}
.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button,
.button::before,
.button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}



.button {
  position: relative;
  z-index: 2;
  background-color: #333;
  border: 10px solid #333;
  color: #fff;
  line-height: 50px;
}
.button:hover {
  background-color: #fff;
  border-color: #59b1eb;
  color: #59b1eb;
}
.button::before,
.button::after {
  left: 0;
  width: 100%;
  height: 50%;
  background-color: #333;
}
.button::before {
  top: 0;
}
.button::after {
  bottom: 0;
}
.button:hover::before,
.button:hover::after {
  height: 0;
  background-color: #59b1eb;
}



.inlineframe	{
	background-color:#edf2ff;
	height:300px;
	overflow:auto;
	overflow-y:scroll;
	overflow-x:hidden;
	border: 2px solid #000160;
	border-radius: 5px;
}




/*---クラシノヒント用---*/
dl.c {
	margin-bottom: 1em;
	padding: .5em;
	font-size: 1em;
font-family: Georgia, "Times New Roman", Times, serif;
}

dl.c dt {
	margin: 0;
	padding: .5em;
	border-bottom: 1px solid #000;
	font-weight: bold;
	color: #ffffff;
	background-color: #494949;
	font-family: MyFont, sans-serif;
}

dl.c dd {
	margin: 0;
	padding: 0;
	padding-left: .5em;
	font-size: .5em;
	padding-top: .5em;
	padding-bottom: .5em;
	background-color: #edf5ff;
}

.fuc {
	font-weight: bold;
  font-size: 12px;
	color: #1452ff
}

.fuc1 {
	font-weight: bold;
  font-size: 16px;
	color: #1452ff
}



.button1 {
  display: inline-block;
  width: 200px;
  height: 54px;
  text-align: center;
  text-decoration: none;
  line-height: 54px;
  outline: none;
}
.button1::before,
.button1::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button1,
.button1::before,
.button1::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.button1 {
  position: relative;
  -webkit-perspective: 300px;
  perspective: 300px;
}
.button1 span {
  display: block;
  position: absolute;
  width: 200px;
  height: 60px;
  border: 2px solid #333;
  text-align: center;
  line-height: 56px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
  pointer-events: none;
}
.button1 span:nth-child(1) {
  background-color: #fff;
  color: #333;
  -webkit-transform: rotateX(90deg);
  -moz-transform: rotateX(90deg);
  transform: rotateX(90deg);
  -webkit-transform-origin: 50% 50% -30px;
  -moz-transform-origin: 50% 50% -30px;
  transform-origin: 50% 50% -30px;
}
.button1 span:nth-child(2) {
  background-color: #333;
  color: #fff;
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
  -webkit-transform-origin: 50% 50% -30px;
  -moz-transform-origin: 50% 50% -30px;
  transform-origin: 50% 50% -30px;
}
.button1:hover span:nth-child(1) {
  -webkit-transform: rotateX(0deg);
  -moz-transform: rotateX(0deg);
  transform: rotateX(0deg);
}
.button1:hover span:nth-child(2) {
  background-color: #333;
  -webkit-transform: rotateX(-90deg);
  -moz-transform: rotateX(-90deg);
  transform: rotateX(-90deg);
}


h4.b {
	padding: 10px 15px;
	margin-bottom: 20px;
	background-color: #b8f2ee;
	font-weight: bold;
	font-size: 17px;
	color:#0c1866;
	}


h4.a {
	padding: 10px 15px;
	margin-bottom: 20px;
	background-color: #ffc387;
	font-weight: bold;
	font-size: 17px;
	color:#770d00;
	}