@charset "utf-8";

@media screen and (max-width: 680px) {


/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}


.pc {
	display: none !important;
}

.sp {
	display: block;
}


#sidemenu {
	display: none;
}

/* カスタム検索 */
.search {
    position: relative;
    padding: 10px;
}

#search_btn {
	vertical-align: middle;
	line-height: 1;
}

#search_text {
    padding: 5px !important;
    width: auto;
    line-height: 1;
}

#search_btn {
    border: 0px;
    width: 58px;
	height: 24px;
    background: url("/endou2019/images/common/search.png") no-repeat;
    position: static;
    right: 0;
    top: 3px;
    line-height: 1;
    cursor: pointer;
}


#main {
	padding: 0;
	width: 100%;
}

#header {
	display: none;
}

.container {
	width: 100%;
}

.box {
	flex-wrap: wrap;
}

.box_left {
	width: 100%;
	margin-right: 0;
	margin-bottom: 20px;
}

.box_right {
	width: 100%;
}

.box_left2  {
	width: 48%;
	margin-right: 2%;
	word-break: break-all;
}

.box_right2 {
	width: 48%;
}

#slide {
	height: auto;
	padding-top: 83px;
}

.swiper-slide {
	height: auto !important;
}

#slide01 {
	background: none;
	height: auto;
}

#fixed_area {
	width: 100%;
	height: 83px;
	background-color: #033660;
	position: fixed;
	padding: 10px;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99;
	line-height: 1;
}

#fixed_area h1 {
	width: 80%;
}

.toppage {
	padding: 0 8px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
}

.comment_box {
	padding: 20px;
}

.scroll_box p.title {
	font-size: 21px;
}



#news_event .box_right {
	margin-top: 40px;
}

p.detail_btn {
	position: static;
	width: 70%;
	margin: 0 auto;
}

p.detail_btn2 {
	position: static;
}

#kikaku {
	margin-bottom: 20px;
}

.bottom_contents {
	padding: 20px;
}

.bottom_contents p.detail_btn2 {
	width: 70%;
	margin: 0 auto;
	text-align: center;
}

.bottom_contents ul {
	display: block;
	margin: 0 auto;
	padding-top: 20px;
}

.bottom_contents ul li {
	display: inline-block;
	width: 47%;
	margin: 0 1% 0.5em;
}

.bottom_contents ul li:last-child {
	margin-right: 0;
}

#footer {
	background-color: #cdd7df;
	padding: 10px 0 0 0;
}

#footer p.copy {
	border-top: 1px solid #9aafbf;
}

#footer .box {
	padding: 8px;
}

#footer h2 {
	margin-top: 10px;
	margin-bottom: 5px;
	padding: 0;
	font-size: 14px;
}

#footer p {
	font-size: 11px;
}

#footer ul {
	padding: 0;
	text-align: left;
}

#footer ul li {
	margin: 0;
	margin-bottom: 5px;
}

#footer ul li a {
	color: #1f53b7;
}

#footer ul.arw {
	margin-top: 1em;
}

#footer ul.arw li a {
	font-size: 12px;
}

#footer p.link {
	margin-top: 1em;
}

#footer p.copy {
	padding: 10px;
	color: #333333;
	font-size: 12px;
}

ul.colum2 li {
	width: 100%;
	margin-right: 0;
}

ul.colum3 li {
	width: 100%;
	margin-right: 0;
}

#contents .photo-right {
	float: none;
	margin: 0px 0 0.5em 0;
	width: 100%;
}

#contents .photo-left {
	float: none;
	margin: 0px 0 0.5em 0;
	width: 100%;
}

/* 文学講座 一覧・詳細 */
#contents div.wak_left {
	float: none;
	width: 90%;
	margin: 1em 5% 0.5em;
}

/* 文学館から見る夕陽 */
#contents div.gallery-flame .gallery-box {
	width: 96%;
	margin: 1em 2% 1em;
}
/* アンシャンテ */
#contents div.gallery-flame .gallery-box3 {
	width: 96%;
	margin: 1em 2% 1em;
}

/* 観覧料減免 */
table.discount td:nth-child(1) {
	font-size: 0.9em;
	width: 39%;
}
table.discount th:nth-child(2) {
	font-size: 0.9em;
	width: 30%;
}
table.discount th:nth-child(3) {
	font-size: 0.9em;
	width: 30%;
}

/* 次階層 新着・イベント */
#news dl.next_news_list dt,
#event dl.next_event_list dt {
	float: none;
}
#news dl.next_news_list dd,
#event dl.next_event_list dd {
	margin-left: 0;
}




.next_visual {
	margin-top: 83px;
}


}/* sp */


@media screen and (max-width: 400px) {

/* トップあいさつ */
.comment_box1-1 {
	width: 100%;
	margin-right: 0;
}
.comment_box1-2 {
	width: 100%;
}

.balloon1-left {
	display: block;
	width: 100%;
	vertical-align: middle;
	margin-top: 0.5em;
}

/* 次階層 新着・イベント */
#news dl.next_news_list dt,
#event dl.next_event_list dt {
	float: none;
}
#news dl.next_news_list dd,
#event dl.next_event_list dd {
	margin-left: 0;
}

}/* sp 横 */


@media screen and (min-width: 680px) {

.pc {
	display: block;
}

.sp {
	display: none !important;
}


}