/* gwRelatedlink
----------------------------------- */

#gwRelatedlink {
	clear:both;
}
#gwRelatedlink ul {
	height:94px;
	background:url(/kids/src/images/common/gwRelatedlink_bg.gif) left bottom no-repeat;
}
#gwRelatedlink li {
	float: left;
	margin-top: 5px;
	margin-left: 5px;
	padding-left: 7px;
	border-left: 1px solid #CCCCCC;
}
#gwRelatedlink li.first {
	margin-left: 0;
	padding-left: 12px;
	border: none;
}


/* topPage_container */
.topPage_container {
  width: 960px;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
}
@media (min-width: 980px) {
  .topPage_container {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 767px) {
  .topPage_container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* hover */
.topPage_container a {
  transition: 0.4s;
}
.topPage_container a:hover {
  filter: brightness(1.1);
}

/* topPage_card */
.topPage_card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
.topPage_card_link {
  display: flex;
  align-items: center;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: solid 2px #fff;
  background-image: linear-gradient(to bottom, #faf8f8 34%, #eaeaea 104%);
  gap: 20px;
}
.topPage_card_link:hover {
  filter: brightness(1.02) !important;
}
.topPage_card_link:hover {
  text-decoration: none;

}
.topPage_card_image {
  width: 250px;
}
.topPage_card_image img{
  border-radius: 6px;
}
.topPage_card_contents {

}
.topPage_card_title {
  font-size: 20px!important;
  font-weight: bold;
  color: #000;
}
.topPage_card_text {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 12px;
  color: #333;
}
@media (max-width: 767px) {
  .topPage_card_link {
    flex-direction: column;
    padding: 20px;
  }
  .topPage_card_text {
    margin-top: 8px;
  }
  .topPage_card_image {
    max-width: 295px;
    width: 100%;
  }
}


/* topPage_mainFv */
.topPage_mainFv {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  height: 400px;
  overflow: hidden;
  position: relative;
}
.topPage_mainFv_inner {
  max-width: 950px;
  height: 400px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

}
.topPage_mainFvArea_contents {
  width: 950px;
  margin-left: 10px;
  margin-right: 10px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.topPage_mainFvArea_text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #000;
  margin-top: 28px;
}
.topPage_mainFv_image {
  height: 400px;
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  max-width: none;
}
.topPage_mainFv_image img {
  height: 100%;
  object-fit: cover;
}
.topPage_mainFv_people {
  position: absolute;
  right: -23px;
  bottom: 0;
}
@media (min-width: 1441px) {
  .topPage_mainFv {
    max-width: none;
    z-index: -2;
    background: linear-gradient(to right, #c9e7ff 0%, #a1daf4 100%);
  }
  .topPage_mainFv_image {
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
  }
  .topPage_mainFv_image::before {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(
      to right,
      rgb(172 224 247) calc(50% - 720px),
      rgba(255, 255, 255, 0) calc(50% - 576px),
      rgba(255, 255, 255, 0) calc(50% + 576px),
      rgb(172 224 247) calc(50% + 720px)
    );
    position: absolute;
    top: 0;
    left: 0;
  }
}
@media (max-width: 767px) {
  .topPage_mainFv {
    height: 600px;
  }
  .topPage_mainFv_inner {
    height: 600px;
    align-items: baseline;
  }
  .topPage_mainFvArea_contents {
    width: calc(100% - 50px);
    margin-left: 25px;
    margin-right: 25px;
  }
  .topPage_mainFvArea_title {
    width: 324px;
    padding-top: 48px;
  }
  .topPage_mainFvArea_text {
    font-size: 14px;
  }
  .topPage_mainFv_image {
    height: 100%;
    width: 100%;
  }
  .topPage_mainFv_image img {
    width: 100%;
  }
  .topPage_mainFv_people {
    width: 380px;
    bottom: -32px;
    right: 20px;
    margin-left: 22px;
  }
}
@media (max-width: 390px) {
  .topPage_mainFv_people {
    right: auto;
  }
}



/* topPage_mainMenu */
.topPage_mainMenu {
  margin-top: 60px;
}
.topPage_mainMenu_list {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}
.topPage_mainMenu_listItem {
  padding: 18px 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: solid 2px #fff;
  background-image: linear-gradient(#e4f5ff 0%, #bfe2ff 8%);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.topPage_mainMenu_listItem_image {
  margin-top: 14px;
}
.topPage_mainMenu_listItem_text {
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: normal;
  color: #000;
}
.topPage_mainMenu_listItem_list {
  display: flex;
  gap: 5px;
  flex-direction: column;
  margin-top: 8px!important;
  align-items: center;
}
@media (max-width: 767px) {
  .topPage_mainMenu {
    margin-top: 40px;
  }
  .topPage_mainMenu_title {
    width: 279px;
  }
  .topPage_mainMenu_list {
    margin-top: 20px;
    flex-direction: column;
  }
  .topPage_mainMenu_listItem {
    padding: 20px;
  }
  .-mainMenu01 .topPage_mainMenu_listItem_subTitle {
    width: 144px;
  }
  .-mainMenu02 .topPage_mainMenu_listItem_subTitle {
    width: 168px;
  }
  .-mainMenu03 .topPage_mainMenu_listItem_subTitle {
    width: 263px;
  }
  .topPage_mainMenu_listItem_button {
    width: 295px;
  }
  .topPage_mainMenu_listItem_text {
    max-width: 295px;
    margin-left: auto;
    margin-right: auto;
  }
}






.topPage_buttonRequest {
  max-width: 460px;
  width: 100%;
  height: 70px;
  flex-grow: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  border-radius: 10px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: solid 2px #fff;
  background-image: linear-gradient(#0595f4, #0071bc);
  box-sizing: border-box;
  position: relative;
}
.topPage_buttonRequest_icon {
  position: absolute;
  right: 20px;
  z-index: 1;
}
.topPage_buttonRequest_text {
  display: block;
}
@media (max-width: 767px) {
  .topPage_buttonRequest {
    display: flex!important;
    height: 54px;
    padding: 0 10px 0 25px;
  }
  .topPage_buttonRequest_text img{
    width: 287px;
    margin-left: -20px;
  }
  .topPage_buttonRequest_icon {
    right: 15px;
  }
  .topPage_buttonRequest_icon img {
    width: 12px;

  }
}

/* topPage_education */
.topPage_education {
  max-width: 1360px;
  width: 100%;
  padding: 68px 0 60px;
  border-radius: 40px;
  background-color: #fff1e7;
  margin-top: 60px;
}
.topPage_education_lead {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}
@media (max-width: 767px) {
  .topPage_education {
    border-radius: 0;
    padding: 40px 0 36px;
    margin-top: 40px;
  }
  .topPage_education_title {
    width: 225px;
  }
  .topPage_education_lead {
    font-size: 18px;
  }
}


/* details */
.topPage_education_box {
  padding: 30px 0 0;
  border-radius: 10px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  margin-top: 30px;
  position: relative;
}
.topPage_education_subTitle {
  display: block;
}
.topPage_education_subTitle::-webkit-details-marker {
  display: none ;
}
@media (max-width: 767px) {
  .topPage_education_subTitle_image {
    width: 227px;
  }
}
.topPage_education_list.-summary {
  display: flex;
  gap: 20px;
  padding: 30px;
}
.topPage_education_list {
  display: flex;
  gap: 20px;
  padding: 30px;
}
.topPage_education_listItem {
  border-radius: 10px;
  border: solid 2px #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  width: calc((100% - 54px) / 3);
}
@media (max-width: 767px) {
  .topPage_education_list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
  }
  .topPage_education_listItem {
    width: 100%;
    max-width: 295px;
  }
  .topPage_education_list.-summary {
    padding: 16px 12px 20px 12px;

  }
  .topPage_education_list.-summary .topPage_education_listItem {
    width: 100%;
    max-width: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
  }
}
.topPage_toggleButtonWrapper {
  padding: 30px;
  background-image: linear-gradient(#e4e4e4, #ddd);
  position: relative;
}
@media (max-width: 767px) {
  .topPage_toggleButtonWrapper {
    padding: 20px;
  }
}
.topPage_toggleButtonWrapper::before,
.topPage_toggleButtonWrapper::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  background-color: #323232;
  transform: translateY(-50%);
}
.topPage_toggleButtonWrapper::after {
  height: 17px;
  right: 50px;
  width: 3px;
  transition: transform 0.4s;
}
.topPage_toggleButtonWrapper::before {
  height: 3px;
  right: 43px;
  width: 17px;
}
.topPage_toggleButton {
  padding: 9px;
  border-radius: 6px;
  border: 2px solid var(--orange);
  background-color: #fff;
  color: #323232;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
}
.topPage_toggleButton::before {
  content: "開く";
}
.topPage_education_moreButton {
  margin-bottom: 30px;
  display: block;
}
@media (max-width: 767px) {
  .topPage_toggleButton {
    padding: 9px;
  }
  .topPage_education_moreButton {
    max-width: 295px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* details open */
.topPage_education_box[open] .topPage_education_list.-summary {
  display: none;
}
.topPage_education_box[open] .topPage_toggleButtonWrapper{
  position: absolute;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  background-image: linear-gradient(to bottom, #dbdbdb 33%, #ddd 5%);
}

.topPage_education_box[open] .topPage_toggleButtonWrapper::after {
  transform: translateY(-50%) rotate(-90deg);
}
.topPage_education_box[open] .topPage_toggleButton::before{
  content: "閉じる";
}
@media (max-width: 767px) {
  .topPage_education_box[open] .topPage_toggleArea {
    padding-bottom: 78px;
  }
}



/* details content */
.topPage_education_grayBg {
  padding: 30px;
  background-image: linear-gradient(#e4e4e4, #ddd);
  padding-bottom: 114px;
}
@media (max-width: 767px) {
  .topPage_education_grayBg {
    padding: 20px;
  }
  .topPage_education_list.-summary {
    gap: 0;
  }
}

/* topPage_teacher */
.topPage_teacher {
  margin-top: 60px;
}
.topPage_teacher_title {
  margin-bottom: 30px!important;
}
@media (max-width: 767px) {
  .topPage_teacher {
    margin-top: 40px;
  }
  .topPage_teacher_title {
    width: 269px;
  }
}


/* topPage_relation */
.topPage_relation {
  height: 160px;
  position: relative;
  margin-top: 60px;
  padding: 30px 0;
  box-sizing: border-box;
}
.topPage_relation_bg img {
  position: absolute;
  left: 0;
  width: 100%;
  max-width: 100%;
  top: 0;
  z-index: -1;
  height: 100%;
}
.topPage_relation_menu {
  text-align: left;
}
.topPage_relation_list {
  display: flex;
  gap: 40px;
}
.topPage_relation_listItem {
  padding: 10px 8px;
  border-radius: 10px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  border: solid 2px #fff;
  background-image: linear-gradient(to bottom, #faf5f5 0%, #f2f2f2 104%);
  width: calc((100% - 40px) / 2);
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}
.topPage_relation_listItem::after {
  content: "";
  background: url(/kids/src/images/common/menu/outside.svg) no-repeat;
  width: 14px;
  height: 14px;
  background-size: contain;
  filter: grayscale(1) brightness(1.2);
  margin-top: 8px;
  display: block;
  position: absolute;
  right: 8px;
  bottom: 9px;
}
.topPage_relation_listItem_link {
  display: flex;
  gap: 20px;
  align-items: center;
}
.topPage_relation_listItem_link:hover {
  text-decoration: none;
}
.topPage_relation_listItem_image {
  width: 136px;
}
.topPage_relation_listItem_text {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.24px;
  color: #333;
}
.topPage_relation_listItem_title {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}
@media (max-width:767px) {
  .topPage_relation {
    height: 100%;
    position: relative;
    margin-top: 40px;
    padding: 30px 0 60px;
  }
  .topPage_relation_title {
    width: 149px;
    margin-bottom: 20px!important;
  }
  .topPage_relation_list {
    flex-direction: column;
    gap: 12px;
    padding-left: 20px;
    padding-right: 20px;
    align-items: center;
  }
  .topPage_relation_listItem {
    width: 100%;
    max-width: 295px;
    padding: 0 0 20px;
  }
  .topPage_relation_listItem_link {
    flex-direction: column;
    gap: 12px;
    align-items: start;
  }
  .topPage_relation_listItem_image {
    width: 100%;
    max-width: 295px;
  }
  .topPage_relation_listItem_contents {
    padding-left: 20px;
    padding-right: 20px;

  }
}