@charset 'utf-8';

body{
    margin:0;
    padding:0;
    color:#222;
}
header{
    background:rgba(255,255,255,0.8);
    filter:drop-shadow(5px 5px 5px rgba(0,0,0,0.1));
    position:fixed;
    width:100%;
    top:0;
    z-index:10;
}
img {
    image-rendering: -webkit-optimize-contrast;
}
.logo{
    max-width:960px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:30px auto;
}
.logo img{
    width:60px;
}
.title{
    margin-left:10px;
}
.logo h1{
    display:block;
    font-size:2.0em;
}
.logo p{
    display:block;
    font-size: 1.5em;
    text-align: center
}
header nav{
    width:100%;
    margin-bottom: -4px;
    margin-top: 10px
}
header nav ul{
    display:flex;
    max-width:960px;
    justify-content:center;
    align-items: center;
    margin:0 auto;
}
header nav ul li{
    width:20%;
}
header nav ul li a:visited,
header nav ul li a:link{
    text-decoration:none;
    color:#222;
    display:block;
    text-align:center;
    font-size:1.2em;
    font-weight:bold;
    padding:0;
}
header nav ul li a span{
    display:block;
    font-size:0.8em;
    font-weight:normal;
    letter-spacing:1px;
    margin:3px 0 6px 0;
}
header nav ul li a::after{
    content:'';
    display:block;
    border-bottom:3px solid #4D96CD;
    margin:0 auto;
    width:0;
    transition:all .3s;
}
header nav ul li a:hover::after{
    width:100%;
}

header nav ul li:last-child{
    line-height: 1.0;
    padding-bottom: 3px
}
header nav ul li:last-child span{
    padding-bottom: 5px
}
.main_img img{
    width:100%;
}
.content{
    width:100%;
    padding:100px 0;
}
.content_area{
    text-align:center;
    max-width:960px;
    margin:0 auto;
}
.content_area h2{
    display:block;
    margin:0 auto;
    font-size:1.5em;
    position:relative;
}
.content_area h2 span{
    display:block;
    font-size:0.6em;
    letter-spacing:2px;
    margin:-4px auto 0;
    color:#757575;
}

.content_area h3 {
  border-bottom: solid 3px skyblue;
  position: relative;
  font-size: 1.4em;
  text-align: left;
  padding: 10px 0 5px 0;
  margin: 20px 0
}

.content_area h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #4D96CD;
  bottom: -3px;
  width: 20%;
}

.content_area h4 {
  padding: .5em .75em .5em 0;
  background-color: #94C0E1;
  margin: 20px 0;
  text-align: left;
  padding: 10px;
  font-size: 1.2em!important
  }

.about h2::after{
    content:'';
    display:block;
    position:absolute;
    bottom:-25px;
    height:8px;
    width:100%;
    background:#d0d0d0;
    width:70%;
    margin:auto;
    left:0;
    right:0;
}
.content_area p{
    margin:20px auto 0;
    width:100%;
    font-size:1.2em;
    line-height:2.3;
    text-align: left
}
.news{
    background:#ededed;
}
.news_area{
    height:200px;
    overflow-y:scroll;
    margin-top:30px;
    width:95%;
    margin:0 auto;
}
.news_area table{
    width:100%;
    font-size:1.1em;
}
.news_area table tr{
    border-bottom:1px solid #9d9d9d;
}
.news_area table tr td{
    padding:16px 0 4px 0;
}
.news_area table tr td time::before{
    font-family:FontAwesome;
    content:'\f140';
    font-size:0.8em;
    margin-right:2px;
    color:#9d9d9d;
    margin-right:5px;
}
.index_news_item_icon_new {
	display: inline-block;
	color: #C00;
	font-size: 0.9em;
	font-weight: bold;
	margin-left: 0.3em
}
.index_news_item_icon_new:before {
	content: "NEW"
}
footer{
    background:#4D96CD;
}
footer p{
    color:#fff;
    text-align:center;
    letter-spacing:1px;
    font-size:0.9em;
    line-height:6;
}
.sp_only{
display: none!important
}
/*---------------------------
下層ページ
---------------------------*/
#page_header{
    padding-top:10px;
    filter: drop-shadow(5px 0px 5px rgba(0,0,0,0.1));
    background:rgba(255,255,255,0.9);
}

/*----------------------------------------------------------------------------
******************************************************************************
** pagetop
******************************************************************************
----------------------------------------------------------------------------*/
.pt {
	border-radius: 50%;
	background-color: #333;
	bottom: 30px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	right: 30px;
	position: fixed;
	width: 60px;
	z-index: 100;
}
.pt:hover {
	opacity: 0.6;
}
.pt_btn {
	cursor: pointer;
	display: block;
	width: 20px;
	height: 20px;
	margin-top: 8px;
	transform: rotate(45deg);
	position: relative;
}
.pt_btn::before,
.pt_btn::after{
	background-color: #FFF;
	content: "";
	display: block;
	top: 0;
	left: 0;
	position: absolute;
}
.pt_btn::before{
	width: 7px;
	bottom: 0;
}
.pt_btn::after{
	height: 7px;
	right: 0;
}


@media screen and (max-width:579px){

img {
max-width: 100%;
height: auto
}
.wrap{
border-top: 5px solid #4D96CD
}

    .logo{ 
 　　width: calc(100% - 80px);
    display:flex;
    justify-content:left;
    align-items:center;
    margin:0;
 
}

/*.logo{
    max-width:100%;
    display:flex;
    justify-content:left;
    align-items:left;
    margin:30px auto;
}*/
.logo img{
    width:60px;
}
.title{
}
.logo h1{
    display:block;
    font-size:1.5em;;
    padding: 10px 10px 0 0;
}
.logo p{
    display:block;
    font-size: 1.2em;
    text-align: left;
    padding-bottom: 10px
}
html, body {
		overflow-x: hidden;
	}
    header{
　position:relative;
}
	header {
    	background-color: white;
    	filter: none;
    	z-index: 0;
    	position: static!important;
	}
    header nav{
		background: #4D96CD;
		color: #fff;
		height: calc(100% + 500px);
		padding-bottom: 500px;
		z-index: 100;
		width: 70%;
		overflow-x: none;
		overflow-y: auto;
		top: -5px;
		right: -70%;
		position: fixed;
		transition: All 0.5s ease;
		}
	header nav ul {
		font-size:0.8em;
		float: none;
		display: block;
	}
	
	header nav ul>li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.4);
		width: 100%;
		padding-top: 0;
		box-sizing: border-box;
	}
	header nav ul>li>a {
		border-bottom: 1px solid rgba(0, 0, 0, 0.15);
		font-size: 1.6em!important;
		color: #fff!important;
		display: block;
		padding: 1em 1.5em!important;
		text-decoration: none;
		position: relative;
		letter-spacing: 0.05em;
	}
	header nav ul>li>a::after{
		border: none;
	}
	header nav ul>li>a img {
    	display: none;
	}
	header nav ul>li>a span {
    display: none;
    	/*margin: 0;*/
	}
    
    header nav ul li:last-child{
    line-height: 1.0;
    padding-bottom: 0
}
    .content{
        padding:50px 0;
    }
    .content_area{
    padding: 0 10px!important
    }
    .content_area h2{
        margin-bottom: 50px
    }    
    
    .content_area h3{
        margin: 20px 0
    }
 
    
    .news_area table tr td{
        vertical-align:top;
    }
    .news_area table tr td time{
        margin-right:10px;
    }
    .index_news_item_icon_new {
	display:inline-block;
	color:#C00;
	font-weight:bold;
	margin-left:0.5em
}
.index_news_item_icon_new:before { content:"NEW" }
    footer p{
        line-height:2;
        padding: 10px
    }
/*---------------------------
下層ページ
---------------------------*/
/*#page_header{
    padding-top:10px;
    filter: drop-shadow(5px 0px 5px rgba(0,0,0,0.1));
    background:rgba(255,255,255,0.9);
}*/
#page_header{
    /*padding-top:0!important;*/
    filter: none!important
   
}
    #page_header{
        position:fixed;
    }
    #page_header+.content{
        padding-top:50px;
    }
    
 
	.sub-menu {
    	padding: 0!important;
	}
	.sub-menu>li>a {
		background-color: rgba(0, 0, 0, 0.4);
		border-bottom: 1px solid rgba(255, 255, 255, 0.4);
		color: #fff!important;
		display: block;
		font-size: 1.3em;
		padding: 1em 2.8em;
		text-decoration: none
	}
	
	.sp_nav_open {
		right: 0 !important;
	}
	.sp_nav_trigger {
		cursor: pointer;
		z-index: 1000;
		position: fixed !important;
		top: 25px;
		right: 15px;
		margin-top: -5px;
		width: 36px;
		height: 24px;
       
	}
	.sp_nav_trigger span {
		display: inline-block;
		position: absolute;
		left: 0;
		width: 100%;
		height: 4px;
		background-color: #000;
		border-radius: 4px;
		transition: all .4s;
		box-sizing: border-box
	}
	.sp_nav_trigger span:nth-of-type(1) {
		top: 0
	}
	.sp_nav_trigger span:nth-of-type(2) {
		top: 10px
	}
	.sp_nav_trigger span:nth-of-type(3) {
		bottom: 0
	}
	.sp_nav_trigger::after {
		position: absolute;
		left: 0;
		bottom: -20px;
		content: 'MENU';
		display: block;
		width: 100%;
		padding-top: 20px;
		color: #000;
		font-size: 10px;
		text-decoration: none;
		text-align: center;
		transition: all 0.4s
	}
	.sp_nav_trigger.active::after {
		content: 'CLOSE';
		bottom: -25px;
		color: #fff
	}
	.sp_nav_trigger.active span:nth-of-type(1) {
		transform: translateY(10px) rotate(-45deg);
		background: #fff
	}
	.sp_nav_trigger.active span:nth-of-type(2) {
		opacity: 0;
		background: #fff
	}
	.sp_nav_trigger.active span:nth-of-type(3) {
		transform: translateY(-10px) rotate(45deg);
		background: #fff
	}
    

    h2{
    z-index: -9999
    }
/*----------------------------------------------------------------------------
******************************************************************************
** pagetop
******************************************************************************
----------------------------------------------------------------------------*/
.pt {
	border-radius: 50%;
	background-color: #333;
	bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	right: 10px;
	position: fixed;
	width: 40px;
	z-index: 100;
}
.pt:hover {
	opacity: 0.6;
}
.pt_btn {
	cursor: pointer;
	display: block;
	width: 14px;
	height: 14px;
	margin-top: 5px;
	transform: rotate(45deg);
	position: relative;
}
.pt_btn::before,
.pt_btn::after{
	background-color: #FFF;
	content: "";
	display: block;
	top: 0;
	left: 0;
	position: absolute;
}
.pt_btn::before{
	width: 5px;
	bottom: 0;
}
.pt_btn::after{
	height: 5px;
	right: 0;
}
  .pc_only{
display: none!important
}  
}

/*工房の利用*/
.use_b{
	font-weight:bold;
	}
	
ol.list_brackets {
	counter-reset: int;
	margin: 1.2em 0 0.8em;
	padding: 0;
}
ol.list_brackets li {
	list-style: none;
	margin: 0 0 0.4em 2.5em;
	text-indent: -2.5em;
}
ol.list_brackets li:before {
	counter-increment: int;
	content: "(" counter(int) ") ";
}

/*機械製作実習*/
.movie_btn {
  width: 300px;
  height: 60px;
  margin: 0 auto;
}

.movie_btn a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #4D96CD;
  font-size:13px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #4D96CD;
  border-radius: 5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.topics_btn a::before, .topics_btn a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.movie_btn a::before {
  right: 20px;
  width: 5px;
  height: 5px;
  border-top: 2px solid #4D96CD;
  border-right: 2px solid #4D96CD;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.movie_btn a:hover {
  background: #4D96CD;
  color: #fff;
}

.movie_btn a:hover::before {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.movie_title{

  border-bottom: solid 3px #4D96CD;
  width:80%;
  margin:10px auto;
  padding-bottom:15px;

 }

@media screen and (max-width:579px){
.movie_btn {
  width: 90%;
  height: 60px;
  margin: 0 auto;
}

.movie_btn a {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #4D96CD;
  font-size:13px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #4D96CD;
  border-radius: 5px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.movie_btn a::before, .topics_btn a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.movie_btn a::before {
  right: 20px;
  width: 5px;
  height: 5px;
  border-top: 2px solid #4D96CD;
  border-right: 2px solid #4D96CD;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.movie_btn a:hover {
  background: #4D96CD;
  color: #fff;
}

.movie_btn a:hover::before {
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
}