

/************************************
** トップページ
************************************/


/*** メイン 全面***/

#main_top {
	position: relative;
	display: block;
	margin: 0 auto;
	padding: 0;
	background-position: center;
	background-repeat: repeat-x;
	margin-bottom: 40px;
}
@media screen and (max-width: 1023px){
#main_top {
margin-top: 70px;
}
}
@media screen and (max-width: 640px){
#main_top {
margin-top: 70px;
	margin-bottom: 32px;
}
}

.kariimg {
width: 100%;
display: block;
margin: 0 auto;
}


.slick_top_bn {
position: relative;
display: block;
margin: 0 0;
padding: 0;
}


.slick_top_bn_box {
position: relative;
display: block;
margin: 0 0;
padding: 0;
overflow: hidden;
width: 100%;
max-width: 1080px;
max-height: 800px;
}
@media screen and (max-width: 1080px){
.slick_top_bn_box {
width: auto;
max-width: 1080px;
}
}


.slick_top_bn_box img {
display: block;
  margin: 0 auto;
width: 100%;
max-width: 100%;
	height: auto;
}
.slick_top_bn_box a img {
display: block;
}

@media screen and (max-width: 640px){
.slick_top_bn_box {
max-height: inherit;
}
}





.bt_left_arrow {
  display: inline-block;
  position: relative;
  margin-left: 1.2em;
  line-height: 130%;
}

.bt_left_arrow a::before {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f138";
  margin: 0;
  padding: 0;
  left: -1.2em;
  color: #287928;
}
.bt_top_shinryou {
  display: inline-block;
  position: relative;
  line-height: 130%;
}

.bt_top_shinryou a {
  display: block;
}
.bt_top_shinryou a:hover {
text-decoration: underline;
}

.bt_left_arrow a {
  display: block;
}
.bt_left_arrow a:hover {
text-decoration: underline;
}
.bt_left_arrow a:hover::before  {
  color: #CCC;
}
.bt_right_arrow {
  display: inline-block;
  position: relative;
  line-height: 130%;
}
.bt_right_arrow a::after {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f138";
  margin: 0;
  padding: 0;
  right: -1.2em;
  color: #287928;
}

.bt_right_arrow a {
  display: block;
  padding-right: 0;
}
.bt_right_arrow a:hover {
text-decoration: underline;
  padding-right: -1.2em;
}
.bt_right_arrow a:hover::after  {
  right: -1.5em;
  color: #F9B54F;
    -webkit-transition: all 0.7s;
    -moz-transition: all 0.7s;
    transition: all 0.7s;
}






.bt_news {
display: inline-block;
line-height: 150%;
padding: 0;
margin: 0;
}
.bt_news a {
position: relative;
display: block;
padding-left: 1.2em;
line-height: 150%;
color: #555;
text-decoration: none;
}
.bt_news a:hover {
color: #0194ff;
text-decoration: underline;
}

.bt_news a:before {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f35a";
  margin: 0;
  margin-left: -1.2em;
  padding: 0;
  color: #0194ff;
  }
  
.bt_yaji_big {
display: inline-block;
line-height: 150%;
padding: 0;
margin: 0;
}
.bt_yaji_big a {
position: relative;
display: block;
padding-left: 1.2em;
line-height: 150%;
color: #555;
text-decoration: none;
}
.bt_yaji_big a:hover {
color: #0194ff;
text-decoration: underline;
}

.bt_yaji_big a:before {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  content: "\f35a";
  margin: 0;
  margin-left: -1.2em;
  padding: 0;
  color: #0194ff;
  }
  
  
  

.flex_new_top_title {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
}
.flex_new_top_title_txt {
order: 1;
display: inline-block;
max-width: 70%;
}
.flex_new_top_title_tag {
order: 2;
display: inline-block;
}

@media only screen and (max-width: 640px) {
.flex_new_top_title {
display: block;
width: 100%;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
}
.flex_new_top_title_txt {
order: 1;
display: block;
max-width: inherit;
}
.flex_new_top_title_tag {
order: 2;
display: inline-block;
float: right;
margin-top: -2em;
}
}


table.table_top_news {
	table-layout: auto;
	width: 100%;
	margin: 0;
	margin-bottom: 16px;
	padding: 0;
	background: none;
	border-collapse: collapse;
}
table.table_top_news tr {
	background: none;
	margin: 0;
	padding: 0;
	border: none;
}
table.table_top_news th, table.table_top_news td {
	background: none;
	border: none;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	margin: 0;
	padding: 0.5em 0;
	text-align: left;
	vertical-align: middle;
	min-height: 3em;
	height: 3em;
}
table.table_top_news th {
	color: #555;
	width: 120px;
	padding-left: 0;
}
table.table_top_news td {
position: relative;
}



.table_top_news p {
	margin: 0;
	padding: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* 制限したい行数が3の場合 */
  overflow: hidden;
}
.table_top_news p a {
	color: #000;
	text-decoration: none;
}
.table_top_news p a:hover {
	color: #0099FF;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.tag_news {
	display: inline-block;
	margin: 0;
	margin-right: 8px;
	text-align: center;
	line-height: 100%;
	padding: 3px 1em;
	background-color: #F00;
	color: #FFF;
}

@media only screen and (max-width: 640px) {
table.table_top_news {
	margin-bottom: 8px;
	border-bottom: 1px solid #CCC;
}
table.table_top_news th, table.table_top_news td {
	min-height: inherit;
	height: auto;
	padding: 0;
	display: block;
	width: auto;
	border: none;
}
table.table_top_news th {
	border-top: 1px solid #CCC;
	padding-top: 0.5em;
	padding-bottom: 0.25em;
	padding-left: 0;
}


.tag_news {
	display: inline-block;
	margin: 0;
	margin-top: -1px;
	margin-left: 8px;
	padding: 3px 1em;
	padding-bottom: 1.5px
}

table.table_top_news td {
display: flex;
width: 100%;
vertical-align: middle;
align-items: center;
padding-right: 1em;
	padding-bottom: 0.75em;
	min-height: 3em;
	height: 3em;
}
table.table_top_news td:after {
top:-0.5em;
transform: translateY(0%);
}

table.table_top_news p {
line-height: 150%;
  -webkit-line-clamp: 2; /* 制限したい行数が3の場合 */
}
}



p.daytime {
display: inline-block;
margin-right: 5px;
}







.topgrid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
grid-column-gap: 40px;
grid-row-gap: 40px;
}
    
.topgrid_news {
    grid-column: span 6 / span 6;
}

.topgrid_sche {
    grid-column: span 6 / span 6;
    grid-column-start: 7;
}

.topgrid_book {
    grid-column: span 12 / span 12;
    grid-row-start: 2;
}


@media only screen and (max-width: 640px) {
.topgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
grid-column-gap: 16px;
grid-row-gap: 16px;
}
    
.topgrid_news {
    grid-column: span 4 / span 4;
}

.topgrid_sche {
    grid-column: span 4 / span 4;
    grid-column-start: 1;
    grid-row-start: 3;
}

.topgrid_book {
    grid-column: span 4 / span 4;
    grid-column-start: 1;
    grid-row-start: 2;
}
}


.grid_topmenu {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 8px;
}

.grid_topmenu_box {
    grid-column: span 2 / span 2;
}
.grid_topmenu_box img {
width: 100%;
}
.grid_topmenu_box a:hover img {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 0.7;
}

@media only screen and (max-width: 640px) {
.grid_topmenu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 8px;
}
.grid_topmenu_box {
    grid-column: span 1 / span 1;
}
}

h4.title_topnews {
}

.content_info {
	border: 1px solid #BBB;
	padding: 2px;
	margin: 0;
	margin-bottom: 8px;
}
.content_info .inner {
padding: 8px 16px;
}
.content_info h2 {
	margin-bottom: 0;
}
.content_info h2 .imagecenter00 {
	margin: 0;
}

.toptitle_center {
	text-align: center;
	line-height: 120%;
}
.toptitle_center div {
	line-height: 100%;
color: #D25;
}





/************************************
** アクセス
************************************/

.page_access {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin: 0;
}
@media only screen and (max-width: 640px) {
  .page_access {
    display: block;
    margin: 0 0;
	margin-bottom: 32px;
  }
}

.page_address .data {
  padding: 16px 0;
  border-top: solid 1px #f3f3f3;
  align-items: center;
}
.page_address .data:last-of-type {
  border-bottom: solid 1px #f3f3f3;
}

.page_address,
.page_map {
  width: calc(50% - 32px);
}
@media only screen and (max-width: 640px) {
  .page_address,
  .page_map {
    width: 100%;
  }
}

.page_map_in {
position: relative;
display: block;
height: 100%;
overflow: hidden;
}
.page_map_in iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 640px) {
.page_map_in {
height: 0;
margin: 0 -16px;
padding-bottom: 100%;
}
  .page_address {
    /* margin-bottom: 42px; */
  }
}

.data {
  padding: 8px 0;
  border-top: solid 1px #f2f2f2;
  display: flex;
  line-height: 1.5;
}

.data:last-of-type {
  border-bottom: solid 1px #f2f2f2;
}

.data_title {
  width: 30%;
}

.data_content {
  width: 70%;
}



.alternate_margin {
margin-bottom: 80px;
}

@media only screen and (max-width: 640px) {
.alternate_margin {
margin-bottom: 32px;
}
}

.alternate {
	display: flex;
	flex-direction: column-reverse;
}
.alternate + .alternate {
	margin-top: 16px;
}
.alternate__body {
	padding: 24px;
	background: #f9fae9;
		position: relative;
		z-index: 1;
}
.alternate__ttl {
	text-align: center;
  text-box-trim: trim-both;
}
.alternate__sttl {
	display: block;
  text-box-trim: trim-both;
}
.alternate__txt {
	margin-top: 16px;
	line-height: 1.7;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  text-box-trim: trim-both;
}
.alternate__thumb {
		position: relative;
		z-index: 2;
}
.alternate__thumb img {
	max-width: none;
	width: 100%;
}
/*ずらし用の指定*/
@media (max-width: 639px) {
	.alternate__body {
		margin-top: -40px;
		padding-top: 60px;
	}
	.alternate._normal .alternate__thumb {
		margin-left: -20px;
	}
	.alternate._normal .alternate__body {
		margin-right: -20px;
	}
	.alternate._reverse .alternate__thumb{
		margin-right: -20px;
	}
	.alternate._reverse .alternate__body{
		margin-left: -20px;
	}
}

@media (min-width: 640px) {
	.alternate {
		flex-direction: row-reverse;
		/* border: 1px solid red; */
	}
	.alternate + .alternate {
		margin-top: 64px; /*後続ボックスとの余白を確保*/
	}
	.alternate._reverse {
		flex-direction: row;
	}
	.alternate__body {
		width: 50%;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.alternate__thumb {
		width: 50%;
	}
	.alternate__thumb img {
		height: 100%;
		object-fit: cover;
	}
	/*ずらし用の指定*/
	/*【補足】比較のためあえてずらす前の指定とは別にずらすために追加したプロパティ類を分けて記述しています。実際にはセレクタを統合する必要があります*/
	.alternate__body {
		position: relative;
		z-index: 1;
		top: 40px; /*元の位置を基準に単純に40px下にずらす*/
		width: calc(50% + 80px); /*あらかじめ80px分広げる*/
	}
	.alternate__thumb {
		position: relative;
		z-index: 2;
	}
	.alternate._normal .alternate__body {
		margin-left: -80px; /*ネガティブマージンで広げた分を相殺*/
		padding-left: 110px; /*重なり分の余白を確保*/
	}
	.alternate._reverse .alternate__body {
		margin-right: -80px;
		padding-right: 110px;
	}
}



