/*////////////////////////////////////////////
================共通項目=======================
////////////////////////////////////////////*/

html {
 	overflow-y:scroll;
	display: flex;
 	flex-direction: column;
}
 


body{
	font-size: 100%;
	padding:0;
	margin:0;
	font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
	letter-spacing: 0.03em;
	background-color:#fafafa;
	box-sizing: border-box;
	word-break: break-all;
	line-height:180%;
	width: 100%;
	display: flex;
 	flex-flow: column;
	color: #212121;
	width: 100%;
}


table{
	border-collapse: collapse;
  	border-spacing: 0;
}



input[type=button]:hover{
	opacity: 0.8;
}

a{
	color: #212121;
}

p{
	text-align: justify;
	padding:0;
	margin: 0;
}

/*LOGIN*/

#wpmem_login, #wpmem_reg{
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    
}

#wpmem_login fieldset, #wpmem_reg fieldset{
    font-size: 1.2em;
    margin: 40px 0;
}

#wpmem_login legend, #wpmem_reg legend{
    font-weight: bold;
    font-size: 1.1em;
}

#wpmem_login input[type=password], #wpmem_login input[type=text], #wpmem_reg input[type=text], #wpmem_reg input[type=password], #wpmem_reg input[type=email], #wpmem_reg select{
    width: 100%;
    padding: 8px;
    border-radius: 3px;
    box-sizing: border-box;
    border: solid 1px #ccc;
    margin-bottom: 16px;
    font-size: 1.1em;
}

#wpmem_login input[type=submit], #wpmem_reg input[type=submit]{
    width: 100%;
    margin: 40px 0;
    font-size: 1.1em;
    padding: 8px;
    border-radius: 24px;
    border: solid 1px #ccc;
    cursor: pointer;
}

input[type=submit]:hover{
    opacity: 0.8;
}



header{
	width: 100%;
	margin:0 auto;
	padding:8px;
	box-sizing: border-box;
	background-color: #000;
	color: #fff;
	font-weight: 600;
	font-size: 1.1rem;
	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
  	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

header .header_left{
	display:flex;
	align-items: center;
	font-size: 1.8em;
	line-height: 1.5em;
	color: #fff;
}

header .header_left img{
	padding-right: 8px;
}



header a{
	color:#fff;
}

header a i{
	padding-right:4px;
}

header a:hover{
	opacity:0.8;
}

header .header_right{
	display:flex;
	align-items: center;
	padding-right: 40px;

}

.search-box {
    display: flex;
    align-items: center;
    border: none;
    max-width: 240px; 
}

.search-box input {
    padding: 8px;
    border: none;
    outline: none;
	margin: 0;
	border-radius: 5px 0 0 5px;
}

.search-box button {
    background: #fff; 
    color: #000;
	margin: 0;
    cursor: pointer;
	padding: 6px;
	border-radius: 0 5px 5px 0;
}

.search-box button i {
	font-weight: 900;
	font-size: 1.5em;
}





article{
	width:100%;
	box-sizing: border-box;
	background-color: #fff;
	border-radius: 10px;
	display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
	padding: 0;
	min-height: 94vh;
}

article .side_menu{
	width: 400px !important;
	background-color: #000;
}

article .main{
	width:100%;
	background-color:#fff;
}

article .main .container{
    width: calc(100% - 96px);
    max-width: 1600px;
    margin: 0 auto;

}



article .main .breadcrumbs{
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

article .main .breadcrumbs li a{
	text-decoration: underline;
	color: #212121;
}

article .main .breadcrumbs li i{
	margin: 0 16px;
}

article .main .title {
    position: relative;
    display: inline-block;
}

/* 背景画像 */
article .main .title img {
    display: block;
    width: 100%;
    height: auto;
}

/* テキスト (画像の中央に配置) */
article .main .title h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white; /* 必要に応じて */
    font-size: 3em;
    text-align: center;
    white-space: nowrap;
    z-index: 10; /* 画像の上に配置 */
}




article .main h2{
	margin-bottom: 85px; 
	font-size: 2.5rem; 
	font-weight: bold; 
	text-align: center;
}

article .main h3{
	margin-bottom: 35px; 
	padding-bottom: 10px; 
	border-bottom: 2px solid #d5b200; 
	font-size: 2rem; 
	font-weight: bold; 
	line-height: 1.5;
}

article .main .main_contents ul{
	list-style-type: none;
	font-size: 1.2em;
}

article .main .main_contents ul li::before{
	content: "\f061"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900; 
	margin-right: 16px;
	color: #D2372F;
}

article .main .main_contents a{
	color: #000;
}

article .main .main_contents a:hover{
	text-decoration: none;
}

article .main .main_contents p{
	font-size: 1.2em;
	margin: 16px 0;
}




article .main .main_contents table{
	width: 100%;
	font-size: 1.2em;
	border-collapse: collapse;
	margin: 40px 0;
}

article .main .main_contents table th{
	background-color: #D2372F;
	padding: 8px;
	color: #fff;
	border: solid 1px #aaa;
}

article .main .main_contents table td{
	padding: 8px;
	border: solid 1px #aaa;
}



#menu h3, #menu2 h3{
    padding:8px 10px !important;
    box-sizing:border-box;
    display: block;
    position: relative;
    width: 100%;
	font-size: 1em;
	font-weight: normal;
    cursor:pointer;
	margin:0 !important;
}

#menu i, #menu2 i{
	width:30px;
	text-align: center;
	
}

.main_menu::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -ms-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    position: absolute;
    top: 50%;
    right: 20px;
    margin-top: -6px;
}

#menu .main_menu:hover::before ,#menu .open::before, #menu2 .main_menu:hover::before ,#menu2 .open::before{
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
}
#menu .main_menu:hover{
    background-color: #707070;
}

article .side_menu ul{
	list-style-type: none;
	color:#fff;
	padding: 0;
	margin: 30px 0;
}


article .side_menu ul li{
	width: 100%;
	padding: 0;
	margin: 0;
}

article .side_menu ul li a{
	width: 100%;
	display: block;
	padding:8px 10px;
	box-sizing: border-box;
	text-decoration: none;
	color: #fff;
}

article .side_menu ul li a:hover{
	background-color: #707070;
}

.sub_menu {
	margin:0 !important;
}

.sub_menu li a{
    padding-top: 8px;
    padding-bottom: 8px;
    text-indent: 40px;
    background-color: #606060;
    display:block;
    position: relative;
}
.sub_menu li a::before{
    content: '';
    width: 0;
    height: 0;
    border: solid 4px transparent;
    border-left: solid 6px #fff;
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -4px;
    margin-left: 25px;
}

.sub_menu li a:hover{
    background-color: #606060;
}
.sub_menu li a:hover::before {
    border-left: solid 6px #ffffff;
}


article .main section{
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

article .main .section2{
	width: 100%;
	margin: 0;
	padding: 0;
}

article .main h1{
	font-size: 1.5em;
	padding: 5px 0;
	display:inline-block;
	font-weight: 600;
	margin: 0;
	width: 100%;
    margin-bottom:20px; 
}

article .main .main_contents .list_news{
	margin: 0 !important;
	padding: 0 !important;
}

article .main .main_contents .list_news li{
	margin: 16px 0;
	padding: 24px 0;
	border-bottom: solid 1px #ccc;
}

article .main .main_contents .list_news li:last-child{
	border: none;
}

article .main .main_contents .list_news span{
display: inline-block;
  width: 240px; /* ここで同じ幅に揃える。必要に応じて調整してね */
  vertical-align: top;
}

article .main .main_contents .list_news .news_category{
  display: inline-block;
  width: 340px; /* ここで同じ幅に揃える。必要に応じて調整してね */
  vertical-align: top;
}

footer{
	width: 100%;
	padding: 8px 0;
	background-color: #1F2235;
	color: #fff;
	text-align: center;
	font-size: 0.8em;
}

.sp{
	display: none;
}


/* デスクトップ (Large devices) */
@media (min-width: 1199px)  {
    .sp{
        display: none !important;
    }
}





/* デスクトップ (Large devices) */
@media (max-width: 1199px)  {

	body{
		font-size: 88%;
	}

	.pc{
		display: none !important;
	}

	.header_right{
		display: none;
	}

	.sp{
		display: block;
	}

	header{
		position: fixed;
		z-index: 99999;
	}

	header .header_left p{
		font-size: 0.4em;
		font-weight: normal;
		line-height: 1.2em;

	}
	
	header .header_left img{
		height: 60px;
	}
	



	.hamburger {
		position: fixed;
		top: 15px;
		right: 15px;
		font-size: 1em;
		color: white;
		padding: 10px;
		border-radius: 5px;
		cursor: pointer;
		z-index: 1001; /* ここを1001以上にして最前面へ */
	}
	

	.menu-container {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		height: 100vh;
		transition: right 0.3s ease-in-out;
		z-index: 1000; /* ハンバーガーボタンよりも低く */
		overflow-y: auto;
		padding: 16px 16px 80px;
		background-color: #000;
		font-size: 0.9em;
	}
	

/* メニューリスト */
#menu2 {
    list-style: none;
    padding: 0;
    margin: 0;
	
}

#menu2 li {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

#menu2 li a{
	text-decoration: none;
}

/* サブメニュー（デフォルト非表示） */
.sub_menu {
    display: none;
    list-style: none;
    padding-left: 20px;
}

.sub_menu li {
    padding: 5px 0;
}

/* メニュー開閉時 */
.menu-open {
    right: 0;
}

article{
	display: block;
	width: 100%;
}

.main{
	padding-top: 76px;
}

article .main .container{
    width: calc(100% - 48px);
    max-width: 1600px;
    margin: 0 auto;

}



article .main .title h1 {
    font-size: 1.5em;
}



article .main h2{
	font-size: 1.5rem; 
	margin-bottom: 24px;
}

article .main h3{
	font-size: 1.2rem; 
}


}