/* 共通
-------------------------------------- */
.display-sp {display: none; }

/* TOPページ イベント情報＆ニュース用
-------------------------------------- */
.event section ul li:first-child {
    width: 100%;
}
.event section ul li {
    width:100%;
}

.event_detail img {
width: revert-layer;
}

.tw a {
color:#fff;
}

/* 5件目以降の dt, dd を非表示にする */
.event section ul li dl dt:nth-of-type(n + 6),
.event section ul li:nth-of-type(n + 6) {
    display: none;
}
.event section ul li dl dd {
    padding: 1em 0 1em 8em;
}

/* TOPページバナーエリア用
-------------------------------------- */
.banner {
    margin:1.5em 0 5em;
}
.banner p {
    margin:1em 0;
}
.banner a:hover,
.banner a:active,
.chara a:hover,
.chara a:active {
	filter: none;
	opacity: .6;
	transition: all .3s ease;
}




/* フォーム見出し用
-------------------------------------- */
.all-form h2 {
	max-width: 450px;
}
.all-form h4 {
    display: block;
	width: 100%;
    background: #fff;
    padding: 0.2em;
    border: 1px solid #000;
    border-radius: 100vh;
    font-size: 1.2em;
	font-weight:bold;
    color: #000;
    line-height: 1.5;
    text-align: center;
	margin:2em 0;
}

.all-form a {
    position: relative;
    display: block;
    width: 220px;
    background: #fff;
    padding: 1em 0;
    border: 1px solid #000;
    border-radius: 50vh;
    text-align: center;
    font-weight: bold;
	text-shadow: none;
	margin:3em auto 10em;
	color:#000;
}

/* フォーム用
-------------------------------------- */
form#mailformpro label {
    display: block;
	text-align:left;
	margin:0 0 2em;
}
.mfp_element_text, .mfp_element_number, .mfp_element_select-one, .mfp_element_email, .mfp_element_tel, .mfp_element_textarea, .mfp_element_date, .mfp_element_password {
    border: solid 1px #CCC;
    border-radius: initial;
    box-shadow: none;
	margin:0;
	width: 100% !important;
}
.contact_wrap select {
    border: solid 1px #CCC;
    border-radius: initial;
    box-shadow: none;
	margin:0 0 2em;
	max-width: 30% !important;
	appearance: auto;
	font-weight:normal;
	padding:0.5em;
}
.contact_wrap textarea {
height:10em!important;
}
.mfp_buttons button[type=submit] {
	position: relative;
    display: block;
    width: 220px;
    background: #fff;
    padding: 1em 0;
    border: 1px solid #000;
    border-radius: 50vh;
    text-align: center;
    font-weight: bold;
	text-shadow: none;
	margin:3em auto 10em;
	color:#000;
}
.mfp_buttons button[type=submit]:hover {
    background: #000;
    color:#fff;
}
.mfp_buttons span {
    position: absolute;
    right: 0.6em;
    top: 0;
    bottom: 0;
    margin: auto;
    display: block;
    width: 1em;
    height: 1em;
}

input[type=button] {
    position: relative;
    display: block;
    width: 220px;
    background: #fff;
    padding: 1em 0;
    border-bottom: 1px solid #000; /* 下ボーダー */
    text-align: center;
    font-weight: bold;
    margin: 3em auto;
    color: #000;
    cursor: pointer;
    overflow: hidden; /* 擬似要素がボタンの範囲外に出ないようにする */
}

input[type=button]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-left: 1px solid #000; /* 左ボーダー */
    transform-origin: top left; /* 斜めにする基準を左上に設定 */
    transform: rotate(-45deg); /* 左ボーダーを斜めにする */
    pointer-events: none; /* 擬似要素にマウスイベントが反応しないようにする */
}

input[type=button]:hover {
    background: #000;
    color: #fff;
}

p.error_messe{
	margin:1rem 0;
	color:red;
	font-size: 16px;
}

#mfp_overlay_inner h4 {
	display: block;
    width: 100%;
    background: #fff;
    padding: 0.5em;
    border: none;
    border-radius: unset;
    font-size: 100%;
    color: #000;
    font-weight: bold;
    text-align: center;
}
.mfp_element_file {
    box-shadow: none;
	padding:5px;
}
button.mfp_attached_reset {
    font-size: 12px;
}
.mfp_element_submit, .mfp_element_reset, .mfp_element_button, button.mfp_next, button.mfp_prev {
    text-shadow: none;
}

table.formTable {
	width: 100%;
	margin: 3rem 0;
	border-collapse: collapse;
	font-size:16px;
}

table.formTable td,
table.formTable th {
	border: 1px solid #ccc;
	padding: 15px;
}

table.formTable th {
	width: 35%;
	font-weight: normal;
	background: #efefef;
	text-align: left;
	position:relative;
}

input[type=file] {
    padding: 0.5em;
    border: 1px solid #ccc;
    text-align: center;
    font-weight: bold;
    margin: 0;
    color: #000;
    cursor: pointer;
}
.contact_wrap section p {
	margin-top:1em;
    text-align: left;
}
.contact_wrap section p span {
    display:block;
	color:red;
	font-size:80%;
}

/* イベントアーカイブ用
-------------------------------------- */
#event_box_01 img,
#news img {
	width:revert-layer;
	display:inline-block;
}



/* ここからスマホ用
-------------------------------------- */
@media screen and (max-width: 767px) {
.display-pc {display: none; }
.display-sp { display: block; }

.contact2 h2 {
	width: 70%;
}
.all-form h4 {
    padding: 0.5em;
}
.all-form p {
    text-align:left!important;
}
.contact_wrap select {
	max-width: 50% !important;
}
table.formTable {
	border: none;
}

table.formTable th,
table.formTable td {
	width: auto;
	display: block;
	overflow:hidden;
	}

table.formTable th {
	margin-top: 5px;
	border-bottom: 0;
	white-space: normal;
}
}
