.master-slider-parent {
  margin-top: -25px;
}
@media screen and (min-width:961px) {
.writers{
    overflow:hidden;
}
.writer-profile{
    width: 30%;
    min-height: 580px;
    margin:1%;
    float:left;
}
.writer-profile .name{
    text-align:center;
    font-weight:bold;
    padding:10px 0;
    margin:0;
}
.writer-profile .description{
    font-size:0.8em;
}
.writer-profile .button a{
    font-size:0.8em;
}
.writer-profile .button a:after{
      content:' >';
}
}
  
@media only screen and (min-width:376px) and (max-width:960px) {
	.writers{
    overflow:hidden;
}
.writer-profile{
    width: 30%;
    min-height: 550px;
    margin:1%;
    float:left;
}
.writer-profile .name{
    text-align:center;
    font-weight:bold;
    padding:10px 0;
    margin:0;
}
.writer-profile .description{
    font-size:0.8em;
}
.writer-profile .button a{
    font-size:0.8em;
}
.writer-profile .button a:after{
      content:' >';
}
}
 
@media screen and (max-width:375px) {
.writers{
    overflow:hidden;
}
.writer-profile{
    width: 100%;
    min-height: 550px;
    margin:1%;
    float:left;
}
.writer-profile .name{
    text-align:center;
    font-weight:bold;
    padding:10px 0;
    margin:0;
}
.writer-profile .description{
    font-size:0.8em;
}
.writer-profile .button a{
    font-size:0.8em;
}
.writer-profile .button a:after{
      content:' >';
}
}

@media only screen and (min-width: 1166px) {
	.nav > li > a {
		display: block;
		text-decoration: none;
		line-height: 1.3;
		padding: 15px 1.4em 7px;
	}
}

.header.bg, .header #inner-header, .menu-sp {
    background: #12417a;
    display: flex;
    align-items: center;
}
.nav_btn.search_btn {
	display: flex;
	justify-content: center;
	flex-direction: column;
}
@media only screen and (min-width: 768px) {
	.nav_btn.search_btn {
		display: flex;
		justify-content: center;
		flex-direction: column;
		position: absolute;
		right: 0;
		text-decoration: none;
		text-align: center;
		line-height: 1.1;
		padding: 0 10px;
		background: rgba(0, 0, 0, 0);
	}
}

/* Contact Form7 */
 
.contact7 {
	max-width: 100%;
	box-sizing: border-box;
}
.contact7 dd {
	margin: 0 0 30px 0;
	background-color:
}
.contact7 dt {
	font-weight: normal;
}
 
/* 必須マーク */
.contact7 .must {
	background: #FF1A00;
}
 
/* 任意マーク */
.contact7 .optional {
	background: #999;
}
 
.contact7 .must,
.contact7 .optional {
	color: #FFF;
	border-radius: 3px;
	font-size: 10px;
	margin-left: 10px;
	padding: 5px 10px;
	letter-spacing: 2px;
}
.btn_contact7 {
	text-align: center;
}
.btn_contact7 input {
	width: 70%;
	background-color: #12417a;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #005513;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}
.btn_contact7 input:hover {
	background-color: #FFF;
	color: #12417a; 
}
.contact_accept{
	color:red;
	font-weight:bold;
}
@media screen and (min-width: 768px) {
.contact7 dt {
	float: left;
	clear: left;
	width: 35%;
	padding: 5px 10px 5px 0;
	}
.contact7 dd {
	margin-left: 35%;
	}
 
.btn_contact7 input {
	background-color: #12417a;
	width: 70%;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #005513;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}
.btn_contact7 input:hover {
	background-color: #FFF;
	color: #12417a; 
}
}

/* Fullscreen AD*/
#fullAd {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: rgba(56, 56, 56, 0.84);
}
#fullAd > #ad_inner {
    height: 90vh;
    width: calc(90vh * 0.5625);
    padding: 10px;
    background-repeat: no-repeat;
    background-size: contain;
		position: relative;
		text-align: right;
		margin: 10px;
}
#fullAd > #ad_inner >  p{
    cursor: pointer;
    font-size: 40px;
    background-color: rgba(73, 73, 73, 0.68);
    border-radius: 4px;
    margin-bottom: 3px;
    padding:5px;
		margin: 0;
    color: #c9c9c9;
		width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
		display: inline-flex;
 }
