@charset "utf-8";

/*==============================
common
==============================*/
#mainContent {width: 1062px;}
.mb10{margin-bottom: 10px !important;}
.mb20{margin-bottom: 20px !important;}
.mb30{margin-bottom: 30px !important;}
.mb40{margin-bottom: 40px !important;}
.mb50{margin-bottom: 50px !important;}
.mb60{margin-bottom: 60px !important;}
.mb70{margin-bottom: 70px !important;}
.fs15{font-size: 15px !important;}
#shogaku {
  padding: 25px 40px;
  margin-bottom: 60px;
  background: #EFFFE9;
}
.scholarWrap {
	color: #333333;
  margin: 0 auto;
  padding: 0 40px;
}
.scholarWrap * {box-sizing: border-box;}
.searchArea section + section {
	margin-top: 120px;
}
.searchArea a {
	color: #333;
	transition: 0.2s linear;
}
.searchArea a:hover {
	color: #d71070;
	text-decoration: none;
}
.searchArea figure {margin: 0;}
.compare_top{
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin: 30px 0;
}
/*========== section title ==========*/
.top_title {
  font-size: 28px;
  font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  text-align: center;
  margin: 35px 0;
  font-weight: bold;
}
.top_title a {
  color: #333;
  text-decoration: none;
}
/*=====================================
search box
=====================================*/
ul.scl_search_tab {
  display: flex;
  position: relative;
  left: 41px;
}
ul.scl_search_tab li {
  font-size:16px;
  font-family: "Zen Maru Gothic", serif;
  cursor: pointer;
  font-weight: 600;
  color: #777;
}
li.scl_dai.on, li.scl_h.on, li.scl_in.on {
  border-bottom: 4px solid #32BBA9;
  color: #000;
}
.searchArea {
	position: relative;
	padding: initial;
	background: initial;
}
.searchTbl {
  width: 100%;
  border-collapse: separate;
  table-layout: fixed;
  border: 1px solid #C7C7C7;
  border-radius: 3px;
  background: white;
  display: none;
}
.searchTbl.on {display: table;}
.searchTbl td {
  border-right: none;
  padding: 5px 0;
}
.searchTbl td:first-child {
  border-radius: 3px 0 0 3px;
}
.searchTbl td:last-child {
  border-radius: 0 3px 3px 0;
  width: 89px !important;
  background: #32BBA9 url(https://school.js88.com/img/common/icon-search.png) no-repeat right 10px center;
}
.searchTbl td:last-child a {
  display: block;
  color: white;
  font-size: 16px;
  padding: 5px 10px 5px 24px;
  text-decoration: none;
  font-family: "Zen Maru Gothic", serif;
  font-weight: bold;
}
.searchTbl td p {
  position: absolute;
  top: -22px;
  left: 3px;
}
.searchTbl td p span {
  color: white;
  display: block;
  text-align: center;
  line-height: 15px;
  padding: 1px 5px;
  background: #32BBA9;
  font-size: 11px;
  position: relative;
}
.searchTbl td p span::after {
	content: "";
  display: block;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-top-color: #32BBA9;
  position: absolute;
  bottom: -8px;
  left: calc(50% - 4px);
}
.searchTbl td > div  {
  display: flex;
  position: relative;
}
.searchTbl td:not(:first-child) > div  {
	border-left: 1px solid #32BBA9;
}
.searchTbl td .targetBox {background: url(/images/shogakukin/search_icon1.PNG) no-repeat left 12px center;}
.searchTbl td .gyoushuBox {background: url(/oc2024/oc_icon05.png) no-repeat left 7px center; background-size: 29px;}
.searchTbl td .paybackBox {background: url(/oc2024/sh_icon01.png) no-repeat left 12px center; background-size: 30px;}
.searchTbl td .priceBox {background: url(/oc2024/sh_icon02.png) no-repeat left 12px center; background-size: 29px;}
.searchTbl td .saiyouBox {background: url(/oc2024/sh_icon03.png) no-repeat left 12px center; background-size: 34px;}
.searchTbl td .areaBox {background: url(/oc2024/oc_icon02.png) no-repeat left 12px center; background-size: 29px;}
.searchTbl td .koushuBox {background: url(/oc2021/search_icon1.gif) no-repeat left 12px center;}
.searchTbl td .gakumonBox {background: url(/oc2021/search_icon4.gif) no-repeat left 12px center;}
.searchTbl td div div {
  font-size: 14px;
  color: #100F0F;
  width: 100%;
  margin-left: 56px;
  cursor: pointer;
  height: 35px;
  display: flex;
  align-items: center;
  font-family: "Zen Maru Gothic", serif;
  font-weight: bold;
}
.searchArea .inner {
  position: relative;
  padding: 0;
}
/*=====================================
compare
=====================================*/
.slide_wrap {position: relative;}
 ul.compare_shogakukin_vert{
  display:flex;
  height: 900px;
  overflow-y: auto;
}
ul.compare_shogakukin_vert li {
  width: calc(20% - 26px * 4 / 5);
  margin-right:30px;
  height: fit-content;
}
ul.compare_shogakukin_vert li p{
  color:#333;
  font-size:12px;
  overflow: hidden;
}
.compare_name {
  border: 0.5px solid #32BBA9;
  height: 165px;
  border-radius: 5px;
  padding: 11px 11px 0;
  font-size: 16px;
  color: #32BBA9;
  font-weight: bold;
  position: sticky;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 1;
}
.compare_name a {color: #32BBA9;}
.compare_name .tag {
  position: absolute;
  bottom: 11px;
  left: 11px;
}
.compare_name .tag span {
  font-size: 12px;
  color: #333;
  background: #EFFFE9;
  padding: 4px;
  min-width: 89px;
  text-align: center;
  display: inline-block;
}
.compare_name .tag span + span {margin-top:5px;}
.compare_intro{
  background: #C0E9E4;
  margin: 20px 0 7px;
  padding: 5px 0 4px;
  font-size: 12px;
  line-height: 15px;
  text-align: center;
}
.learn_more {
  text-align: center;
  display: block;
  font-size: 15px;
  color: #333;
  margin-top: 10px;
}
.learn_more:hover {
  text-decoration: none;
  color: #333;
}
#modal {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(170, 170, 170, .19);
  width: 100vw;
  height: 100vh;
  z-index: 999;
}
.modal_cnt_inner {
  background: white;
  padding: 100px 74px 60px;
  position: relative;
  overflow: auto;
  max-height: 676px;
  border-radius: 18px;
}
#modal .close_btn {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
} 
.modal_cnt {
  width: 670px;
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -20%);
}
ul.compare_shogakukin_vert.dai li,
ul.compare_shogakukin_vert.sen li {width: 172px;}
ul.compare_shogakukin_vert.dai .compare_name {
  height: 350px;
  padding: 0;
}
ul.compare_shogakukin_vert.sen .compare_name {
  height: 390px;
  padding: 0;
}
ul.compare_shogakukin_vert.dai .compare_name .scl_nm,
ul.compare_shogakukin_vert.sen .compare_name .scl_nm {
  margin: 8px 5px 10px 5px;
  color: #333;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
ul.compare_shogakukin_vert.dai .compare_name .shogakukin_nm {
  margin: 0 5px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
ul.compare_shogakukin_vert.sen .compare_name .shogakukin_nm {
  margin: 0 5px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
ul.compare_shogakukin_vert.dai figure,
ul.compare_shogakukin_vert.sen figure {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  height: 172px;
}
ul.compare_shogakukin_vert.dai figure img,
ul.compare_shogakukin_vert.sen figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
ul.compare_shogakukin_vert.dai figure.noImage,
ul.compare_shogakukin_vert.sen figure.noImage {
  height: 172px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #E5E5E5;
}
ul.compare_shogakukin_vert.dai figure.noImage img,
ul.compare_shogakukin_vert.sen figure.noImage img {
  width: auto;
  width: 60px;
  object-fit: contain;
}
ul.compare_shogakukin_vert.dai .gallery_cell .sub_img,
ul.compare_shogakukin_vert.sen .gallery_cell .sub_img {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}
ul.compare_shogakukin_vert.dai .gallery_cell figure,
ul.compare_shogakukin_vert.sen .gallery_cell figure {
  border-radius: 5px;
}
ul.compare_shogakukin_vert.dai .gallery_cell .main_img figure,
ul.compare_shogakukin_vert.sen .gallery_cell .main_img figure {
  width: 172px;
  height: 172px;
}
ul.compare_shogakukin_vert.dai .gallery_cell .sub_img figure,
ul.compare_shogakukin_vert.sen .gallery_cell .sub_img figure {
  width: 83px;
  height: 83px;
}
ul.compare_shogakukin_vert.dai .bdr_btm,
ul.compare_shogakukin_vert.sen .bdr_btm {
  border-bottom: 1px solid #707070;
}
.addr_cell > div {
  padding-top: 50px;
  font-size: 12px;
  font-weight: bold;
}
.addr_cell .addr {
  background: url(/images/oc_compare/addr01.png) no-repeat center top;
  min-height: 114px;
  margin-bottom: 13px;
}
.siryou_btn {
  background: #30b8a8;
  color: white !important;
  border-radius: 5px;
  font-weight: bold;
  font-size: 12px;
  height: 29px;
  display: inline-block;
  padding: 7px 17px 6px;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}
div:has(>.omitted) {
  padding-bottom: 35px;
  position:relative;
}
ul.compare_shogakukin_vert.dai .learn_more,
ul.compare_shogakukin_vert.sen .learn_more, .kinBtn {
  position: absolute;
  bottom: 0;
  width: 100%;
}