/* =================================
------------------------------------
  Riddle - Portfolio
  Version: 1.0
 ------------------------------------ 
 ====================================*/

/*------------------------
  contact メインビジュアル
--------------------------*/
#header-container {
	background-color: #FFF;
}

#forum-photo-section {
	top:0;
    left: 0;
	position: fixed;
	display: block;
	height: 800px;
	width: 100%;
	background:url("../img/second/bg-forum.jpg")top center no-repeat;
	background-size:cover;
	animation: fadeIn 3.5s ease 0s 1 normal;
    -webkit-animation: fadeIn 3.5s ease 0s 1 normal;
	z-index: -10;!important;
}
@media only screen and (max-width: 750px) {
#forum-photo-section {
	top:100px;
	height: 500px;
	background:url("../img/second/bg-forum_sp.jpg") no-repeat;
	background-size:contain;
	background-color: #194f9c;
}
}

/*------------------------
  forum-introduction
--------------------------*/
#forum-introduction {
	max-width: 1300px;
	width: 98%;
	margin-top:-100px;
	background: #FFFFFF;
	position:relative;
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 30px;
	display: block;
	text-align: center;
}
@media only screen and (max-width: 750px) {
#forum-introduction {
	width: 100%;
	padding-bottom: 10px;
}
}
#forum-introduction h3 {
	width: 100%;
	padding: 60px 20px 40px;
	font-size: 2rem;
	line-height: 1.6;
	letter-spacing: 0.1em;
	font-family: yu-mincho-pr6n, sans-serif;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
}
@media only screen and (max-width: 750px) {
#forum-introduction h3 {
	font-size: 1.4rem;
	padding: 40px 10px 20px;
	letter-spacing: 0.07em;
}
}
#forum-introduction img {
	max-width: 80%;
	margin:25px auto 15px;;
}
@media only screen and (max-width: 750px) {
#forum-introduction p {
	padding: 0 20px;
}
}
@media only screen and (max-width: 750px) {
#forum-introduction img {
	max-width: 95%;
	margin:15px auto 10px;
}
}


/*------------------------
  contact-contents
--------------------------*/

.midashi-contact {
	position: relative;
	text-align: center;
	font-size: 2.6rem;
	font-family: yu-mincho-pr6n, sans-serif;
	font-style: normal;
	color: #194f9c;
	letter-spacing: 0.05em;
	font-weight: 400;
	margin-left: auto;
	margin-right: auto;
	width: 90%;
}
.midashi-contact:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
			width: 100%;
	height: 1px;
	content: '';
	background: #194f9c;

}
.midashi-contact span {
	position: relative;
	padding: 0 15px;
	background: #fff;
}
@media only screen and (max-width: 750px) {
.midashi-contact {
	font-size: 1.6rem;
	line-height: 1.2;
	letter-spacing: 0em;
	padding: 0 20px;
	width: 100%;
}
.midashi-contact:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 1px;
	content: '';
	background: #194f9c;
}
.midashi-contact span {
	position: relative;
	padding: 0 8px 3px;
	background: #fff;
}
}

.contact-contents-container {
	max-width: 1300px;
	width: 98%;
	background: #FFF;
	margin-left: auto;
	margin-right: auto;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
	padding: 20px 40px 30px;
}
@media only screen and (max-width: 750px) {
.contact-contents-container {
	width: 100%;
	padding: 20px 20px 0;
}
}
.privacy-outer {
	width:90%;
	background: #FFF;
	margin-left: auto;
	margin-right: auto;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
	padding: 20px 40px 20px;
	text-align: left;
	letter-spacing: 0.05em;
}
@media only screen and (max-width: 750px) {
.privacy-outer {
	width: 100%;
	padding: 10px 0px;
}
}
.privacy-outer p {
	width: 100%;
	box-sizing:border-box;/*paddingでwidthを広げない処理*/
	padding: 10px 0;
	font-size: 1.4rem;
}
@media only screen and (max-width: 750px) {
.privacy-outer p {
	padding: 10px 0;
	font-size: 1.2rem;
}
}
.privacy-outer ul {
	padding: 0 0 0 30px;
}
@media only screen and (max-width: 750px) {
.privacy-outer ul {
	padding: 0 0 0 20px;
}
}
.privacy-outer li {
	list-style-type: decimal;
	padding: 10px 5px;
	font-size: 1.4rem;
}
@media only screen and (max-width: 750px) {
.privacy-outer li {
	padding: 5px 0px;
	font-size: 1.2rem;
}
}


/*------------------------
  form
--------------------------*/
#form-container {
	width:80%;
	margin-left: auto;
	margin-right: auto;
	display: block;
	padding: 10px 0;
}
@media only screen and (max-width: 750px) {
#form-container {
	width:100%;
	padding: 10px 0 20px;
}
}
#form-container p{
	text-align: left;
	padding: 10px;
}
.form-ttl {
	position: relative;
	text-align: center;
	font-size: 1.8rem;
	color: #000;
	font-weight: 400;
	width: 1200px;
	margin: 30px auto;
	line-height: 1;
}
@media only screen and (max-width: 750px) {
.form-ttl {
	font-size: 1.5rem;
	font-weight: 400;
	width: 98%;
}
}
.form-ttl:before {
	position: absolute;
	top: calc(50% - 1px);
	left: 0;
	width: 100%;
	height: 2px;
	content: '';
	background: #c62c36;
}
.form-ttl span {
	position: relative;
	padding: 0 10px;
	background: #f2f2f2;
}
.form-item {
	max-width: 1200px;
	width: 95%;
	background: #FFF;
	margin-left: auto;
	margin-right: auto;
	padding: 10px 10px;
	text-align: left;
	margin-bottom: 10px;
}
.form-item img{
	max-width: 300px;
}
.form-name {
	width: 100%;
	padding: 10px 0 5px;
	text-align: left;
	border:solid #EBEBEB;
	border-width:0 0 1px 0px;
	margin-bottom: 15px;
	font-weight: 600;
}
.form-item p {
	width: 100%;
	padding: 15px 0 5px;
	text-align: left;
}
.form-item .caution{
	color: #D52023;
}

.label-required {
	font-size: 1rem;
	line-height: 1.2;
	border-radius: 4px;
	margin-left: 10px;
	padding-top: 4px;
	padding-bottom: 4px;
	width: 36px;
	display: inline-block;
	text-align: center;
	background: #194f9c;
	color: #fff;
 	vertical-align: 1px;
}
@media screen and (max-width: 750px) {
  .label-required {
    border-radius: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    width: 32px;
    font-size: 1rem;
  }
}
.form-item-thx {
	max-width: 1200px;
	width: 98%;
	background: #FFF;
	padding: 100px 20px;
	margin: 10px auto;
}
.form-item-thx h3 {
	font-size: 2rem;
	padding-bottom: 30px;
}
.form-item-thx span{
	font-size: 1.3rem;
	line-height: 1.6;
}




/*ーーーーーーーーーーーーーーーー*/
/*　　MW WP Formカスタマイズ　　*/
/*ーーーーーーーーーーーーーーーー*/

.mw_wp_form input[type="email"],
.mw_wp_form input[type="text"],
.mw_wp_form input[type="url"],
.mw_wp_form textarea {
    padding: 1em;
	width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
	box-sizing: border-box;
    font-size: 1.5rem;
    border: 1px solid #ccc;
	background: #eaedf2;
}

#zip {
    padding: 1em;
	width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
	box-sizing: border-box;
    font-size: 1.5rem;
    border: 1px solid #ccc;
	background: #eaedf2;
}


.mw_wp_form select {
    position: relative;
    height: 35px;
	margin-right: 5px;
    font-size: 1.5rem;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    overflow: hidden;
    padding: 0 10px;
	background: #eaedf2;
}

.mw_wp_form selectt:after {
    position: absolute;
    display: block;
    content: '';
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-left: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #333;
    top: 50%;
    right: 10px;
    margin-top: -3px;
    pointer-events: none;
}

/*――「送信ボタン」デザイン――*/

.submit-btn input {
	background: #194f9c;
	border:0;
	color:#ffffff;
	font-size:1.6rem;
	font-weight: 600;
	margin:10px auto 20px;;
	padding: 15px 55px;
	border-radius: 3px;
	cursor: pointer;
	text-align:center;
	transition: all 0.4s;/*アニメーション速度*/
}

.submit-btn {
	text-align:center;
	margin-top:20px;
	cursor: pointer;
}
@media screen and (max-width: 750px) {
.submit-btn {
	margin-top:5px;
}
}
.submit-btn input:hover {
	background: #0A2D5E;
	color: #FFFFFF;
	cursor: pointer;
	transition: all 0.4s;/*アニメーション速度*/
}

/*――「参加するボタン」デザイン――*/

.bnr-box{
	width: 30%;
	max-width: 400px;
    display: inline-block;  /* インラインブロック化 */
    vertical-align: top; /* 上に揃える */
    margin: 1em 0.5em;
	animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
.bnr-box img {
	max-width: 100%;
	margin-bottom: 0.3em;
}
.bnr-box h4 {
	font-size: 1.2rem;
	color: #0f366d;
	letter-spacing: 0.2em;
}

@media only screen and (max-width: 750px) {
#bnr-section {
	background: #FFFFFF;
	padding: 1em 0 1em;
}
.bnr-box{
	width: 80%;
    margin: 0.3em 0.1em;
	
}
.bnr-box img {
	max-width: 70%;
	margin-bottom: 0.3em;
}
.bnr-box h4 {
	font-size: 1rem;
	letter-spacing: 0em;
}

