@charset "utf-8";
/*
Theme Name: kango_houmon
Theme URI: 
Author: Science Graphics
Author URI: https://wordpress.org/
Description: This template is designed by Science Graphics
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Science Graphics

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* CSS Document */

/**

1. common
2. override bootstrap slick
3. header
4. navi
5. toppage section
6. footer

7. breadcrumb
8. sidebar
9. main_content

20. PC
30. SP

35. admin


40. print

main colors: 

#2c75db    theme color
#e6f7ff    theme light color


**/

/***************************************************************
 1. common
 **************************************************************/


body{
	font-family:"Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;		
	line-height:150%;
	font-size: 16px;
}

a:hover img{
	opacity:0.8;	
	filter: alpha(opacity=80);
	-ms-filter: "alpha(opacity=80)";
}

.wrapper{
	width:1200px;
	margin:0px auto; 
}

.left,
.left_column{
	float:left;	
}

.right,
.right_column{
	float:right;	
}

.current{
	background-color:#dedede;	
}

h3{
	background-color:#dedede;
	font-size:18px;
	padding:15px 8px;
	margin:30px 0px 20px 0px;	
}

h4{
	border-left:3px solid #dedede;
	padding:10px 20px;
	margin:20px 0px;
	font-size:16px;
}

h5{
	font-size:16px;
	padding:20px 10px;
	border-bottom: 1px solid #dedede;
}

ul{
	padding-left:0px;
}

ol{
	padding-left:15px;
}

ul li{
	list-style:none;
	
}

p{
	padding:4px;	
}

.full{
	width:100%;
}

a:focus{
	color:#aaa;	
}

a.more{
	float:right;
}

.pagetop{
	border:1px solid #ff7e00;
	padding:5px 10px;
	float:right;
    border-radius: 5px;
    color: #ff7e00;
}

.pagetop:before{
 	content: '\f0d8';
}

table td, table th{
	font-size:16px;
}

table.noborder,
table.noborder td,
table.noborder th{
	border:none;
}

.alignleft {
display: block;
float:left;
}

.aligncenter {
display: block;
margin: 0 auto;
}

.alignright {
display: block;
float:right;
}

span.date{
	font-size: 12px;	
}

h2 .btn, h3 .btn, h4 .btn, h5 .btn
{
	float:right;
}

table th, table td{
	font-size:16px;
}

/***************************************************************
 2. override bootstrap / fontawesome / slick
 **************************************************************/
 
/* bootstrap */

.btn-info{
	background-color:#2c75db;
	border-radius:0px;
	border:none;
}

.label{
	padding:1px 10px;
	background-color:#ff7e00;
    border-radius: 25px;
    color: #fff;
    display: block;
    text-align: center;
    width: 90%;
}

.label.news{
	background-color:#ff7e00;
}

.label.press{
    background-color:#00479d;
}

.label.event, .label-event{
	background-color:#fb9696;
}

.label.topics{
	background-color:#274BBF;
}

.label.research{
	background-color:#A8590B;
}

.row h1, .row h2, .row h3, .row h4, .row h5, .row h6{
	display: block;
	width: 100%;
}


/* font awesome */

*:before, *:after{
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

#wpadminbar *:before{
	font-family: dashicons !important;
}

*:before{
	padding-right:5px;
}

*:after{
	padding-left:5px;
}

.date:before{
	content: "\f073";
    color: #ff7e00;
}

.location:before{
	content: "\f3c5";
}


/*polylang*/
body.lang-ja .lang-item-ja,
body.lang-ja .lang-en{
    display:none;
}

body.lang-en .lang-item-en,
body.lang-en .lang-ja{
    display:none;
}


/* slick */


.slick-prev{
    left:-35px;
    width:30px;
}

.slick-next{
    right:-35px;
    width:30px;
}

.slick-prev:before, .slick-next:before{
    font-size: 30px;
}


.slick div.slick-item{
    position:relative;
}

.slick div.slick-item p.caption{
    position: absolute;
    bottom:0px;
    left:0px;
    background-color:rgba(0,0,0,0.90);
    z-index: 100;
    width: 100%;
    margin:0px;
    color:#fff;
}


/***************************************************************
 2.5. animation
 **************************************************************/


.fade-in{
    opacity: 0;
}

.fade-in.is-animated{ 
　opacity:0;
  animation-name:fadeIn;
  animation-duration:1s; 
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

.fade-in.rise-up.is-animated{
  animation-name:fadeRiseUp;
}

.fade-in.rise-left.is-animated{ 
  animation-name:fadeRiseLeft;
}

.fade-in.fade-simple{
  animation-name:fadeIn;
}

.fade-in.zoom-in{
  animation-name:fadeZoomIn;
}

.fade-in.zoom-out{
  animation-name:fadeZoomOut;
}


@keyframes fadeIn {
  0% {
   opacity: 0;
  }
  100% {
    opacity:1;
  }
}

@keyframes fadeZoomIn {
  0% {
   opacity: 0;
   transform:scale(0.9);
  }
  100% {
    opacity:1;
    transform:scale(1.0);
  }
}

@keyframes fadeZoomOut {
  0% {
   opacity: 0;
   transform:scale(1.1);
  }
  100% {
    opacity:1;
    transform:scale(1.0);
  }
}

@keyframes fadeRiseUp {
0% {
 opacity: 0;
 transform: translateY(30px);
}

100% {
 opacity:1;
 transform: translateY(0px);
 } 
}

@keyframes fadeRiseLeft {
0% {
 opacity: 0;
 transform: translateX(-60px);
}

100% {
 opacity:1;
 transform: translateX(0px);
 } 
}



/***************************************************************
 3. header
 **************************************************************/

header{
    position: sticky;
    z-index: 999;
    top:0px;
	transition: background-color 0.5s;
	padding: 10px 0 0;
}

.head_box{
    background: #fff;
    border-radius: 10px;
}

#sub header{
}

header div#logo_area{
	padding:10px 15px;
}

header div#logo_area p{
	padding:0;
    margin: 0;
}

header div#logo_area img{
	width: 85%;
}

header h1{
	display:none;	
}

#home header{
}

#sub header{
}

.sub_head{
    height: 180px;
    background:url("images/sub_head.jpg");
    background-size: cover;
    background-position: bottom;
    margin-top:-120px;
}

header div#contact_area{
	padding-bottom: 7px;
}

header div#contact_area a{
	background: #ff7e00;
    color: #fff;
    border-radius: 5px;
	padding:3px 10px;
}

/*qtranslate x*/
header.lang-en li.lang-en{
	display:none;
}

header.lang-ja li.lang-ja{
	display:none;
}



/***************************************************************
4 nav
***************************************************************/


nav{
	margin:0px;
	padding:0px;
    margin-top: 10px;
}

nav ul{
	margin:0px;
	padding:0px 30px 0 0;
	float: right;
}

nav ul li{
	padding:0px;
	margin:0px;
}

nav > ul > li,
nav > div > ul > li{
	float:left;	
}

nav ul li a{
	margin:0px 0px;
	display:inline-block;
	min-width:70px;
	padding:10px 19px;
	color:#000;
	font-size:16px;
	text-align:center;
	vertical-align:middle;
    position: relative;
}

nav > ul > li:nth-child(-n+4) > a:after{
	content: "/";
    position: absolute;
    right: 0;
    color: #a1a1a1;
}

nav ul ul{
	display:none;
	position:absolute;
	z-index:100;
	background-color:#ff7e00;
	color:#fff;	
}

nav ul ul li a{
	text-align: left;
    color:#fff;	
}


nav > ul li.menu-item-has-children > a:after{
    content:"\f107";
    float:right;
}

nav > ul > li > ul > li.menu-item-has-children > a:after{
    content:"\f105";
    float:right;
}

/*nav > ul > li:last-child > a{
    background: #ff7e00;
    color: #fff;
    border-radius: 5px;
}*/

nav ul li a:hover,
nav ul li.current-menu-item a,
nav ul li.current-menu-ancestor a,
nav ul li.current-menu-ancestor ul li.current-menu-item a,
nav ul li.current-menu-ancestor ul li a:hover,
nav ul li.current-menu-item ul li a:hover{
	color:#4aaed0;
	text-decoration:none;
}

nav ul li.current-menu-ancestor ul li a{
    color: #fff;
}

nav ul ul ul{
    position:absolute;
    left:100%;
    top:0px;
    min-width:100%;
}



/***************************************************************
5 toppage section
***************************************************************/



section#eyecatch{
    background: linear-gradient(180deg, #facd89 93%, transparent 93%,transparent 100%);
    margin-top: -120px;
}

section#eyecatch .wrapper{
	position: relative;
}

section#eyecatch p{
	padding:0px;
	margin-bottom:0px;
}

section#eyecatch .text{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

section#eyecatch .text p{
	text-align: center;
    line-height: 140%;
    font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

section#eyecatch p.second{
	font-size: 30px;
}

section#eyecatch p.second span{
	font-size: 25px;
    margin-right: 15px;
}

section#eyecatch p.title{
	font-size: 36px;
    font-weight: bold;
}

section#news{
    background:url("images/bg_news.gif");
    background-size: cover;
    margin-top: -45px;
}

div#btn_area{
	padding:60px 0px 20px;
}

div#btn_area .btn1{
	padding:30px 70px;
    background: #f29b76;
    text-align: center;
}

div#btn_area .btn1 p,
div#btn_area .btn2 p,
div#btn_area .btn3 p{
    color: #fff;
    font-size: 22px;
    border-bottom: 3px solid #fff;
    padding: 5px;
    margin: 0;
    position: relative;
}

div#btn_area .btn1 p:after,div#btn_area .btn2 p:after,
div#btn_area .btn3 p:after{
    content: "\f105";
    background: #ff7e00;
    color: #fff;
    padding:5px 10px;
    font-size: 20px;
    position: absolute;
    right:-45px;
}

div#btn_area .btn2{
	padding:30px 70px;
    background: #f6ba5f;
    text-align: center;
}

div#btn_area .btn3{
	padding:30px 70px;
    background: #f19ec2;
    text-align: center;
}

div#btn_area .col-md-4 p{
    margin: 0;
}

div#btn_area .col-md-4 a:hover{
    text-decoration: none;
    opacity: 0.8;
}

div#news_area{
	padding:30px 0px;
}

div#news_area h2{
	color:#ff7e00;
	font-size:28px;
    font-weight: bold;
}

div#news_area ul li{
	border-bottom: 2px solid #a6a6a6;
    padding: 10px 0;
}

div#news_area .date{
	color: #ff7e00;
}

div#news_area .btn-info{
	color: #fff;
    background: #ff7e00;
    border-radius: 20px;
    padding: 5px 70px;
    position: relative;
}

div#news_area .btn-info:after{
	content: "\f0a9";
    position: absolute;
    right: 10px;
    color: #fff;
}

section#program{
    background: #facd89;
    padding: 0;
}

section#program h2{
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

section#program .col-md-4 p{
    margin: 0;
}

section#program .left{
    padding: 30px 25px;
    background: url("images/program.png");
    background-position: left 20% bottom 10%;
    background-size: 300px; 
    background-repeat: no-repeat;
}

section#program .btn_ikusei{
    padding: 10px 20px;
    display: block;
    background: #ff7e00;
    color: #fff;
    border-radius: 20px;
    margin-bottom: 15px;
}

section#program .btn_ikusei:after{
    content: "\f105";
    color: #fff;
    margin-left: 10px;
}

section#program .btn_ikusei:hover,
section#program .btn-info:hover{
    text-decoration: none;
    opacity: 0.8;
}

section#program .btn-info{
    color: #ff7e00;
    background: #fff;
    border-radius: 20px;
    padding: 5px 60px;
    position: relative;
}

section#program .btn-info:after{
	content: "\f0a9";
    position: absolute;
    right: 10px;
    color: #ff7e00;
}

section#program .middle{
    background:#f6ba5f;
    padding: 30px 25px;
}

section#program .right{
    padding: 30px 25px;
}

section#program .box{
    background: rgba(255,255,255,0.9);
    padding: 20px 15px;
    min-height: 440px;
    margin-bottom: 30px;
}

section#program table.schedule{
    width: 100%;
}

section#program table.schedule td{
    border-bottom: 1px solid #ff7e00;
    padding: 10px 5px;
}

section#program table.schedule tr{
    position: relative;
}

section#program table.schedule tr:after{
    content: "\f105";
    position: absolute;
    top:40%;
    right:0;
    color: #ff7e00;
}

section#program table.schedule span{
    color: #ff7e00;
}

section#program .date:before{
    color: #000;
}

section#program table.schedule a{
    color: #000;
}

section#program  ul{
    margin: 0;
}
section#program  ul li{
    border-bottom: 1px solid #ff7e00;
    padding: 7px 5px;
}

section#program  ul li a{
    display: block;
    color: #000;
    position: relative;
}

section#program  ul li a:after{
    content: "\f105";
    position: absolute;
    right:5px;
    color: #ff7e00;
}

section#bnr {
    padding: 30px 0 15px;
    background: #f9f68b;
}

section#bnr img{
    margin-bottom: 15px;
}

/* Event Organiser */
.eo-fullcalendar .fc-event {
    pointer-events: auto;
}
.eo-fullcalendar .fc-event:hover {
    pointer-events: none;
}

/* autoHeight.jquery */

div.item{
	margin-bottom:10px;
	height:auto;
}

div.item div{
	border:1px solid #ccc;
	padding:2px 4px;
}

/***************************************************************
6 footer
***************************************************************/

footer{
	background-color:#999;
	color:#fff;
	padding:20px 0 50px;
}

footer p{
	margin: 0;
}

footer span{
	font-size: 18px;
}

footer p.title{
	font-size: 17.5px;
    font-weight: bold;
    margin-bottom: 15px;
}

footer p.copy{
	text-align: center;
    margin-top: 20px;
}

footer .container{
	display: flex;
    width: 100%;
    justify-content: space-between;
}

footer .inner{
	width: 19%;
}

footer .menu_foot{
	background: #f6b37f;
    color: #fff;
    padding:2px 15px;
    display: block;
}

footer ul li a{
	color: #fff;
    padding: 5px 0;
}

footer ul li a:hover{
	color: #fff;
}

footer ul li{
    padding-left: 10px;
}

footer ul li:before{
	content: "-";
    margin-left: -10px;
}


/***************************************************************
7 breadcrumb
***************************************************************/

#breadcrumb{
padding:15px 0px;
}
#breadcrumb ul li{
	float:left;
	margin:0px 10px;
}

#breadcrumb ul li a{
	color:#000;
}

/***************************************************************
8 sidebar
***************************************************************/

div#sidebar{
	border:0;
	padding:0px;
	margin-bottom:20px;
    position: sticky;
    top:120px;
}

div#sidebar h2{
	background-color:#999;
	color:#fff;
	font-size:18px;
	margin:0px;
	padding:15px 10px;	
}

div#sidebar h2 i{
	display:none;
	float:right;
	width:50px;
}

div#sidebar ul{
	margin-bottom:0px;
}

div#sidebar ul li{
	background-color:#fff;	
}

div#sidebar ul li a{
	display:block;
	min-height:40px;	
	padding:10px;
	border-bottom:1px dashed #999;
	color:#666;
    position: relative;
}

div#sidebar ul li a:hover{
	background-color:#efefef;
	text-decoration:none;	
}

div#sidebar ul li a:after{
 	content: '\f105';
    position: absolute;
    right: 5px;
}


div#sidebar ul li ul li{

}

div#sidebar ul li ul li a{
	background-color:#efefef;	
	min-height:40px;
	padding:10px 10px 10px 20px;
	border-bottom:1px solid #ccc;
	color:#666;	
}

div#sidebar ul li ul li a:hover{
	background-color:#FFF6E8;
	text-decoration:none;		
}

/***************************************************************
9 main_content
***************************************************************/


img#sub_eyecatch{
    position:absolute;
    top:0px;
    left:0px;
    right:0px;
    margin:auto;
    max-width: 1400px;
    z-index: -1;
}

div#main_content{
	padding:0px;
	min-height: 500px;
    margin-bottom: 30px;
    line-height: 180%;
}

div#main_content h1{
    background:linear-gradient(to bottom,#fff,#f8f8f8);
	border:1px solid #eceae3;
        border-radius:3px;
	padding:10px 10px 10px 25px;
	margin-top:0px;
	font-size:24px;
	color: #000;
    position: relative
}

div#main_content h1:before{
    content:"";
   display:inline-block;
   width:5px;
   height:38px;
   background-color:#facd89;
   position:absolute;
   top:6px;
   left:10px;
}

div#main_content div#content_area{
	padding:10px 0px;	
	min-height:500px;
}


div#main_content h2{
	position: relative;
  padding: 15px 15px;
    font-size: 22px;
    color:#fff;
    margin:30px 0 20px;
    font-weight: bold;
    background: #facd89;
}

div#main_content h2:nth-child(n+2){
	margin-top:40px;
}

div#main_content h2:before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  content: '';
  border: 2px dotted #fff;
}

div#main_content h3{
	background-color:#fff;
	font-size:20px;
	padding:10px 10px;
	margin:30px 0px 20px;
    border-bottom: 3px solid #facd89;
    font-weight: bold;
    color: #000;
}

div#main_content h4{
	border-left:5px solid #facd89;
	padding:5px 12px;
	margin:20px 0px 10px;
	font-size:18px;
    font-weight: bold;
}
div#main_content h5{
	font-size:16px;
	padding:20px 10px 10px 10px;
	border-bottom: 1px solid #ccc;
}


div#main_content div.clearfix{
	margin-bottom:30px;	
}

div#main_content table{
	margin-bottom:15px;
}

div#main_content table tr td{
	border:1px solid #ccc;
	padding:10px 15px;
}

div#main_content table tr th{
	background-color:#84A3B1;
	color:#fff;
	padding:10px 15px;	
	border-bottom:1px solid #fff;
}

div#main_content table tr:nth-child(2n)
{
	background-color:#efefef;
	clear:both;
}

div#main_content table.seminar{
	margin-bottom:15px;
}

div#main_content table.seminar tr td{
	border:0;
	vertical-align: baseline;
}

div#main_content table.seminar tr td:nth-child(1){
	font-weight: bold;
	white-space: nowrap;
}

div#main_content table.seminar tr:nth-child(2n){
	background-color:transparent;
}

div#main_content table.schedule tr:nth-child(2n){
	background-color:transparent;
}

div#main_content table.schedule tr th{
	background-color:#f6b37f;
}

div#main_content ul{
    padding-left:12px;
}

div#main_content ul li:before {
    content: '\f0da';
    margin-left: -12px;
}


body.archive div#main_content ul,
body.category div#main_content ul,
body.search div#main_content ul{
	margin-top:30px;
}


body.archive div#main_content ul li:before,
body.category div#main_content ul li:before,
body.search div#main_content ul li:before{
 	content: '';
	padding-right:0px;
}


div#main_content ul li ul{
	margin-left:20px;	
}


div#main_content table.responsive{
	
}

div#main_content table.responsive th,
div#main_content table.responsive td{
	padding: 6px 2px;
	text-align:center;
}

div#main_content table.responsive th,
div#main_content table.toggle_next th,
div#main_content table.toggle_nextall th{
	font-weight:bold;
	border-bottom:1px solid #fff;
	border-right: 1px solid #fff;
}



div#main_content table.toggle_next tr td,
div#main_content table.toggle_next tr th,
div#main_content table.toggle_nextall tr td,
div#main_content table.toggle_nextall tr th  {
    padding: 5px 20px;
}

div#main_content table.toggle_next th,
div#main_content table.toggle_nextall th{
	text-align:center;
}

div#main_content table.toggle_next .toggle,
div#main_content table.toggle_nextall .toggle{
	cursor:pointer;
}


div#main_content div.slider-wrapper{
	width:50%;
	margin:10px auto;
}

div#main_content div.slider-wrapper div.nivo-controlNav{
	display:none;	
}



body.archive div#main_content ul li:before{
	padding-right:0px;
	content:"";
}

div#main_content div.navigation{
	margin-bottom:30px;
	text-align: center;
}

body.archive div#main_content ul li{
	border-bottom: 2px solid #a6a6a6;
    padding: 10px 0;
}

/*Q & A*/
.accordion_content {
    display: none;
	padding: 1rem;
  	position: relative;
	background: #ededed;
	margin-bottom: 2rem;
}

.accordion_title {
  cursor: pointer;
  position: relative;
	margin-bottom: 1.5rem;
}

.accordion_title::before,
.accordion_title::after{
  position:absolute;
  content:'';
  top:0;
  right:10px;
  bottom:0;
  width:12px;
  height:2px;
  margin:auto;
  background:#999;
}

.accordion_title::after{
  transform:rotate(-90deg);
  transition:transform 0.3s;
}
.accordion_title.active::after{transform:rotate(0deg);}

.accordion_title p{
  padding: 0 40px 5px 25px;
  position: relative;
	border-bottom: 2px solid #facd89;
	
}

.accordion_title p::before{
  position: absolute;
  content:"Q.";
  font-family: inherit;
		color: inherit;
  top: 0;
  left: 0;
	font-weight: normal;
}

/*.accordion_content .answer::before{
    position: absolute;
  	content:"A.";
	font-family: inherit;
	color: inherit;
    top: 20px;
    left: 18px;
	font-weight: normal;
}*/

/*div#main_content .qa{
	text-indent: -1.5em; 
	padding-left: 1.5em;
}*/

div#main_content .sanko{
	text-indent: -3em; 
	padding-left: 3em;
	margin-bottom: 0px;
}

/*contact form 7*/
div#main_content table.CF7_table{
	width:100%;
	margin:0 auto;
	border: 3px solid #e5e5e5;
}

div#main_content table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}

div#main_content table.CF7_table tr th{
	color:#000
}

div#main_content table.CF7_table tr td{
}

div#main_content table.CF7_table tr:nth-child(2n)
{
	background-color:#fff;
	clear:both;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
div#main_content table.CF7_table input, div#main_content table.CF7_table textarea {
	border: 1px solid #d8d8d8;
    width:100%
}

div#main_content table.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #ff7e00;/*オレンジ*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	div#main_content table.CF7_table th{
	width:30%;/*横幅*/
	background-color:#ebedf5;/*ブルーグレー*/
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	div#main_content table.CF7_table{
	width:95%;
	}
	div#main_content table.CF7_table tr, div#main_content table.CF7_table td, 
    div#main_content table.CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	div#main_content table.CF7_table th{
	background-color:#ebedf5;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#ff7e00;/* オレンジ*/
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
    padding:10px 50px
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}


/********************************************************************
20 PC
********************************************************************/

@media (min-width: 768px) {
	.pc_none{
		display:none;	
	}
	
	.sp_none{
	}
	
	body{
		min-width:1024px;
	}
	
	div#sp_menu{
		display:none;	
	}
}


/********************************************************************
30 SP
********************************************************************/

@media (max-width: 767px) {
	
	.pc_none{
	}
	
	.sp_none{
		display:none;
	}
	
	.row{
		margin-left:0px;
		margin-right:0px;
	}
	
	header{
		top:0px;
		padding: 0;
	}

	.head_box{
		background: #fff;
		border-radius: 0px;
	}

	header div#logo_area{
		padding:5px 5px 5px;
	}
	
	header div#logo_area img{
		width:80%;
	}
	
	header div#contact_area{
		display: none;
	}
    
    .sub_head{
    height: 50px;
    margin-top:0px;
}
    
    img#sub_eyecatch{
        position:relative;
    }	
	
	nav{
		display:none;	
		min-width:100%;
		background-image:none;
		z-index:1000;
		position:absolute !important;
		padding-left:0px !important;
		padding-right:0px !important;
		top:50px;
        left: 0;
        margin-top: 0px;
	}

	nav ul{
		width:100%;	
		height:auto;
		padding: 0;
	}

	nav ul li{
		width:100%;	
        min-height: 30px;
        height:auto;
        border-top:1px solid #fff;
	}
	
	nav > ul > li, nav > div > ul > li{
		float:none; 
	}	
	
	nav ul ul{
        display: block;
        background-color:transparent;
        position: relative;
	}
    
    nav ul ul li{
        display:block;
        border-top:1px dashed #fff;

    }
    
    nav ul li a{
        display:block;
        color:#fff;
        text-align: left;
		margin:0px;
        background-color:#ff7e00;
        padding:10px 15px;
    }
    

nav > ul > li:nth-child(-n+4) > a:after{
	content: none;
}
    
    nav > ul > li:last-child > a{
    border-radius: 0;
}
    
    nav ul ul li a{
        padding-left:40px;
    }
	
    nav > ul li.menu-item-has-children > a:after{
        float:none;
    }

    nav > ul > li > ul > li.menu-item-has-children > a:after{
        float:none;
    }    
	
	
	.wrapper{
		width:100% !important;	
		min-width:100% !important;
	}
	
	section#eyecatch{
    margin-top: 0px;
}

section#eyecatch .text{
	width: 100%;
}

section#eyecatch p.second{
	font-size: 16px;
}

section#eyecatch p.second span{
	font-size: 16px;
    margin-right: 5px;
}

section#eyecatch p.title{
	font-size: 20px;
}
	div#news_area{
		float:none;
		width:100%;
		height: auto;
		overflow-y:auto;
		padding:0 15px 20px;
	}
    
    section#program .left{
    padding: 30px 15px;
    min-height: 400px;
}

section#program .btn_ikusei{
    padding: 5px 20px;
    margin-bottom: 10px;
}

section#program .middle{
    padding: 20px 15px 0;
}

section#program .right{
    padding: 20px 15px 0;
}
	
	div#main_content{
		border:none;
		padding:0px;
	}
	
	div#content_area{
		padding:0px !important;
	}

	
	
	.left, .right, .left_column, .right_column{
		float:none !important;
		margin:0px auto;	
	}

	div#sp_menu{
		position:fixed;
		right:20px;
		top:10px;
		display:block;
        z-index: 999;
	}


	div#sidebar h2:before{
		content:"\f0ca";
	}
	
	div#sidebar h2:after{
		content:"\f055";
        float:right;
	}
		
	
	div#sidebar ul{
		display:none;	
	}
	
	div#sidebar h2{
		cursor:pointer;	
	}
	
	div#sidebar h2 i{
		display:inherit;
	}
	
	table td, table th{
		padding:10px 5px !important;
		line-height: 140% !important;
	}
		
	table.sp tr,
	table.sp th,
	table.sp td{
		display:block;
	}
	
	

	/* stylesheet for large width table */
	table.widetable{
		border:none !important;
	}
	table.widetable tr{
		border:1px solid #ccc;
		margin-bottom:20px;
	}
	table.widetable td{
		border:none !important;
	}
	
	table.widetable th{
		display:none;
	}
	
	table.widetable tr, table.widetable td{
		display: list-item;
		background-color:transparent !important;
		list-style: none;
	}
	/* stylesheet for large width table */

	
    div#main_content div#pagetop{
        position:fixed;
        background-color:#fff;
        right:20px;
        z-index: 999;
    }
	
    footer{
        padding-bottom:80px;
    }
    

footer p{
	margin: 0;
    padding: 0;
    line-height: 140%;
}

footer p.title{
	font-size: 18px;
    margin-bottom: 5px;
}

footer p.copy{
    margin-top: 15px;
}

footer .container{
	display: flex;
    flex-wrap: wrap;
}

footer .inner{
	width: 100%;
    margin-top: 10px;
}
    
    footer ul{
    margin-bottom: 0;
}
	
	
}


/********************************************************************
35 admin
********************************************************************/



a.editbutton{
	margin-top:-26px;
	margin-right:-26px;
	display:block;
	width:26px;
	height:26px;
	float:right;
	padding:3px;
	border:1px solid #ccc;
	border-radius: 3px;
	z-index: 100;
	background-color:rgba(255,255,255,0.8);
}


/********************************************************************
40 Print
********************************************************************/


@media print {
	

	a[href]:after{
	content: ""!important;
	}

	abbr[title]:after{
	content: ""!important;
	} 	
	
	.row{
		display:block;
	}

  .sp_none{
	display:block !important;
  }
	
  .pc_none{
	display:none !important;
  }
	
  .wrapper{
	width:1024px !important;	
	min-width:1024px !important;
  }	
	
  nav{
	display:block !important;
	float:none !important;
	position:relative !important;
  }
	
  nav ul li{
	width:auto !important;
  }

  div#search_area{
	display:block !important;
  }	
	
  div#sp_menu{
	display:none;	
  }
	
  div#search_area{
	display:block;
  }
	
  div#sidebar ul{
	display:block !important;	
	position: relative;
  }
	
  div#sidebar h2 i{
    display:none !important;
  }	
	
  .left, .left_column{
	float:left !important;
  }
	
  .right, .right_column{
	float:right !important;
  }		
}


