@charset "UTF-8";
/*
Theme Name: kobe
Description: Original Theme.
*/

.sns_icon {
	width:auto;height:auto;
	max-width:320px;
	margin: 0 auto;
}
.sns_icon li {
	width: calc(100% / 3);
	padding:20px;
	display:inline-block;
	text-align:center;
}
.sns_icon li a > img {
	max-width:72px;
}

#pc_visual_area {
	height: 60vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background: url(/wp-content/themes/kobe/img/main.jpg);
	background-size:cover;
	background-position: center center;
}

#pc_visual_area .catch_phrase {
	font-family: 'Shippori Mincho B1', serif;
	font-size: 30px;
	font-weight: bold;
	text-align: center;
	line-height: 1;
	letter-spacing: .2em;
	margin-bottom: 5px;
}


@media screen and (min-width: 768px) {
#pc_visual_area {
	min-width: 960px;
}

#pc_visual_area .catch_phrase{
	font-size: 60px;
	margin-bottom: 10px;
}
}

#cat {
	width:100%;
	max-width:480px;
	padding:10px;
}

#Top_Menu {
	background:#f9f9f9;
}

.news_line {
	padding: 10px 20px;
	border-bottom: 1px solid #ccc;
}

.news_line a {
	text-decoration:none;
	color:#444;
}

.news_line:hover {
	background:#ddd;
}

.new_icon {
	font-size:12px;
	border: 1px solid #800000;
	color:#800000;
	border-radius:5px;
	padding: 0 7px; 
	margin-left:5px;
}

.news_title {
	font-size:1em;
	line-height:1;
}

.cat {
	width:90%;
	font-size:0.8em;
	background:#0080c0;
	color:#fff;
	border-radius:5px;
	padding: 3px 10px; 
}

.news_box {
	display:table;
	table-layout:fixed;
	width:100%;height:auto;
}

.news_box_01, .news_box_02, .news_box_03 {
	display:table-cell;
	vertical-align:top;
}
.news_box_01, .news_box_03 {
	text-align:center;
}

.news_box_01 {
width:15%;
}
.news_box_02 {
width:70%;
}
.news_box_03 {
width:15%;
}

@media only screen and (max-width:959px) {
.news_box {
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 8px 0;
}
.news_box_01 {
display: block;
width: 50%;
-webkit-box-ordinal-group: 2;
-ms-flex-order: 1;
order: 1;
}
.news_box_02 {
display: block;
width: 100%;
padding: 8px 0 0;
-webkit-box-ordinal-group: 4;
-ms-flex-order: 3;
order: 3;
}
.news_box_03 {
display: block;
width: 50%;
padding-top: 3px;
text-align: right;
-webkit-box-ordinal-group: 3;
-ms-flex-order: 2;
order: 2;
}

}

/* フォームの確認画面の処理 */
.mw_wp_form_input #btn2 {display:none;}
.mw_wp_form_preview #btn { display:none; }
.mw_wp_form_preview #btn2 { display:block; }
.mw_wp_form_preview .attentions { display:none; }

.index-img_desp {
	font-size:1em;
	font-weight:400;
	text-align:center;
	margin: 0.5em auto;
}

#course_menu, #course_menu2, #course_menu3 {
	font-size:0.85em;

	width:100%;
	max-width:1080px;
	display: flex;
	margin:0 auto;
	border-bottom: 5px solid #b30000;
}

#course_menu li {
	width:calc(100% / 4);
	line-height:1.2;
	text-align:center;
	display:inline-block;
	border-left:1px solid #fff;
	border-right:1px solid #fff;
	border-radius: 5px 5px 0 0;
	padding:10px 5px;
	background: #666;
}

#course_menu2 li {
	width:calc(100% / 2);
	line-height:1.2;
	text-align:center;
	display:inline-block;
	border-left:1px solid #fff;
	border-right:1px solid #fff;
	border-radius: 5px 5px 0 0;
	padding:10px 5px;
	background: #666;
}

#course_menu3 li {
	width:calc(100% / 3);
	line-height:1.2;
	text-align:center;
	display:inline-block;
	border-left:1px solid #fff;
	border-right:1px solid #fff;
	border-radius: 5px 5px 0 0;
	padding:10px 5px;
	background: #666;
}

#course_menu li.active {
	background:#b30000;
}

#course_menu2 li.active {
	background:#b30000;
}

#course_menu3 li.active {
	background:#b30000;
}

#course_menu li a, #course_menu2 li a, #course_menu3 li a {
	width:100%;height:100%;
	display:block;
	color:#fff;
}

#course_menu li:hover {
	background:#b30000;
}

#course_menu2 li:hover {
	background:#b30000;
}

#course_menu3 li:hover {
	background:#b30000;
}

.intro_word {
	font-size:54px;
	font-family: 'Shippori Mincho B1', serif;
	font-weight:600;
	color:#00a497;
	line-height:1em;
	text-align:center;
	letter-spacing:-0.07em;
	margin-bottom:20px;
}

.intro_word > .hint2 {
	color:#444;
	letter-spacing:0;
}

.intro_sub_word {
	font-size:1.3em;
}

.wide_view {
	min-height:100vh;
}

.img_hover-big {
	overflow: hidden;
	width: 100%;
	border-radius:10px;
	border:1px solid #ccc;
	background:#fff;
	aspect-ratio: 1 / 1;

  display: flex;
  justify-content: center;
  align-items: center;
}

.img_hover-big a {
	width:100%;height;100%;
	aspect-ratio: 1 / 1;

  display: flex;
  justify-content: center;
  align-items: center;
}

.img_hover-big a img {
background:#fff;
	transition-duration: 0.3s;

  display: flex;
  justify-content: center;
  align-items: center;
}
.img_hover-big a:hover img {
	transform: scale(1.1);
	transition-duration: 0.3s;
}

.dummy_pic {
	background:#666;
	width:100%;height:auto;
	min-height:320px;
}

.tel_style a {
	font-size:2.7em;
	font-weight: 500;
	text-decoration: none;
	color:#fff;
	line-height:1;
}

.call_base {
	position:relative;
}

.call_img {
	position:absolute;
	left:0;right:0;bottom:-20px;
	margin: auto;
}

.jambo_icon {
	font-size:1.6em;
	font-family: 'Shippori Mincho B1', serif;
	font-weight:600;
	margin-bottom:10px;
}

#sidebar {
	position: -webkit-sticky;
	position: sticky;
	top: 240px;
	background:#b30000;
	font-size:0.9em;
	padding: 20px 10px;margin-left:10px;
	border-radius:5px;
}

#sidebar * a {
	color:#fff;
}

#sidebar h3 {
	color:#fff;
	text-decoration:none;
	padding: 0.5em 0;
	border-bottom: solid 2px #fff;
}

label.screen-reader-text {
	display:none;
}

#archives-dropdown-3 {
	width:100%;
	padding:10px;
}

#sidebar .widget {
	margin-bottom:20px;
}

/**
pages
*/
.flex_content {
	display:flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: top;
}

.item {
	width:auto;max-width:100%;
	min-height:50vh;
/*	flex-basis: calc(100%/2);*/
	-webkit-flex: 1;
	flex: 1;
}

.item > div {
	width:100%;height:100%;
	background:#fff;
	background-position: center right;
	background-repeat: no-repeat;
	background-size: cover;
	position:relative;
}

.action {
	opacity:0;
}

.item2 {
	width: 50%;
	position:relative;
	padding: 40px 20px;
	
	display: flex;
	justify-content: center;
	align-items: center;
}

.item3 {
	width:25%;
	padding:10px;
}

.item4 {
	width:31%;
	padding:10px;
	margin-bottom:20px;
}

.flex_space::after{
content: "";
width: 31%;
height: 0;
display: block;
}

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

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

.sarea:hover a img {
transform:scale(1.2);
}

.cont_01 {order:2;}
.cont_02 {order:1;}
.cont_03 {order:3;}
.cont_04 {order:4;}
.cont_05 {order:6;}
.cont_06 {order:5;}
.cont_07 {order:8;}
.cont_08 {order:7;}

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

#sidebar {
	margin:0;
	margin-top:20px;
}
	
.item, .item2, .item8 {
	flex-basis: 100%;
}
.item5, .item4, .item6, .item7 {
	flex-basis: 48.5%;
	margin-bottom:10px;
}

.item3 {
	width:48.5%;
	padding:10px;
}
	
.item5 .sarea img {
	width:100%;height:auto;
}

.cont_01 {order:1;}
.cont_02 {order:2;}
.cont_03 {order:3;}
.cont_04 {order:4;}
.cont_05 {order:5;}
.cont_06 {order:6;}
.cont_07 {order:7;}
.cont_08 {order:8;}
}


/******************************************************
* WordPress Origin Class
******************************************************/

.wp-caption{
  max-width: 100%;
}
.wp-caption-text{
  text-align: left;
}
.alignright{
  float: right;
}
.alignleft{
  float: left;
}
.aligncenter{
  clear: both;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width:768px) {
  .alignright,
  .alignleft,
  .aligncenter{
    float: none;
    text-align: center;
    display: block;
    margin: 0 auto;
  }
}

/******************************************************
*Style for wrap
*
* - Includes main visual, main contents and sidebar.
******************************************************/

#wrap{
  margin-bottom: 20px;
}

@media screen and (max-width:768px) {
  #wrap{
    margin-top: 70px; /*Set the height of header.*/
  }
}

/******************************************************
*  Style for main contents
*
* - Stretch according to the width of the browser.
******************************************************/

/*Wrapper id of main contents.*/
#primary{
  float: left;
  width: 100%;
  margin-right: -220px; /*Set a value more than the width of the sidebar.*/
  padding-right: 220px; /*Set a value more than the width of the sidebar.*/
}
#primary main{
  border: 1px #BBB solid;
  padding: 10px;
}

@media screen and (max-width:768px) {
  #primary{
    float: none;
    margin: 0 0 20px 0;
    padding: 0;
  }
}

/******************************************************
*  Style for sidebar
*
* - Fixed width.
******************************************************/

/*Wrapper id of sidebar.*/
#secondary{
  float: right;
  width: 200px; /*Set the width of sidebar.*/
  border: 1px #BBB solid;
  margin-bottom: 20px;
  padding: 10px;
}

/*Wrapper class of widget.*/
#secondary .widget{
  border: 1px #BBB solid;
  padding: 10px;
}
#secondary .widget:not(:last-child){
  margin-bottom: 10px;
}

@media screen and (max-width:768px) {
  #secondary{
    float: none;
    width: 100%;
  }
}

/******************************************************
*  Style for Front Page (displays Your latest posts)
*
* - The body tag has 'home' when you select 'Front page displays Your latest posts'.
* - Describe here if you want to define unique style on the Front Page.
******************************************************/

/*Style for the article box. */
.home .archive-entry{
  display: table;
  border: 1px #BBB solid;
  padding: 10px;
  width: 100%;
}

/*Style for the article thumbnail. */
.home .archive-entry .entry-thumbnail{
  display: table-cell;
  width: 200px; /*Set the width of the thumbnail.*/
  vertical-align: middle;
}

/*Style for the article title and excerpt. */
.home .archive-entry .entry-main{
  display: table-cell;
  vertical-align: top;
  padding-left: 10px;
}
.home .archive-entry .entry-main h3 a{
  font-size: 18px;
}

@media screen and (max-width:768px) {
  .home .archive-entry .entry-thumbnail{
    display: block;
    width: 100%;
    text-align: center;
  }
  .home .archive-entry .entry-thumbnail img{
    max-width: 200px;
  }
  .home .archive-entry .entry-main{
    display: block;
  }
}

/******************************************************
*  Style for Single Page
*
* - The body tag has 'single' class on the single page.
* - Describe here if you want to define unique style on the single page.
******************************************************/

/*Style for the article title.*/
.single h2.entry-title{
  font-size: 20px;
}

/*Style for the article thumbnail. */
.single .entry-thumbnail{
  text-align: center;
}
.single .entry-thumbnail img{
  width: 100%;
  max-width: 250px; /*Set the max width of the thumbnail.*/
}

/*Style for the article content. */
.single .entry-content{
  border: 1px #BBB solid;
  margin-bottom: 10px;
}

/*Style for the pagenation. */
.single .pagenation{
  border: 1px #BBB solid;
  margin-bottom: 10px;
  padding: 10px;
}
.single .pagenation .prev{
  float: left;
}
.single .pagenation .next{
  float: right;
}

/*Style for the tag. */
.single .tag{
  border: 1px #BBB solid;
  margin-bottom: 10px;
  padding: 10px;
}

/******************************************************
*  Style for Archive Page
*
* - The body tag has 'archive' class on the archive page.
* - Describe here if you want to define unique style on the archive page.
******************************************************/

/*Style for the archive category title.*/
.archive h2.archive-title{
  font-size: 20px;
}

/*Style for the article box. */
.archive .archive-entry{
  display: table;
  border: 1px #BBB solid;
  padding: 10px;
  width: 100%;
}

/*Style for the article thumbnail. */
.archive .archive-entry .entry-thumbnail{
  display: table-cell;
  width: 200px; /*Set the width of the thumbnail.*/
  vertical-align: middle;
}

/*Style for the article title and excerpt. */
.archive .archive-entry .entry-main{
  display: table-cell;
  vertical-align: top;
  padding-left: 10px;
}
.archive .archive-entry .entry-main h3 a{
  font-size: 18px;
}

@media screen and (max-width:768px) {
  .archive .archive-entry .entry-thumbnail{
    display: block;
    width: 100%;
    text-align: center;
  }
  .archive .archive-entry .entry-thumbnail img{
    max-width: 200px;
  }
  .archive .archive-entry .entry-main{
    display: block;
  }
}
