body {
  background-color: #f3f1f1;
}
a {
  color: #313030;
}
.dropdown label,
.menu{
  color: #313030;
}

/*titleのデザイン*/
.home{
  margin-top: 130px;
}

.page {
  display: flex;
  gap: 0 22px;
  list-style: none;
  font-size: 0.9em;
  margin-left: 3vw;
  margin-right: 3vw;
  margin-bottom: 0.5vw;
  flex-wrap: wrap;
}

.page li {
  display: flex;
  align-items: center;
  margin-bottom: 1px;
}

.page li:not(:last-child)::after {
  display: inline-block;
  transform: rotate(45deg);
  width: 0.3em;
  height: 0.3em;
  margin-left: 10px;
  border-top: 1px solid #333333;
  border-right: 1px solid #333333;
  content: '';
}

.overview {
  z-index: 0;
  background-color: #ffffff;
  border-radius: 64px;
  padding: 3vw;
}

.dep_return {
  margin: 1vh;
  padding: 1em 2vw;
  border-radius: 64px;
}

.total_rec {
  text-align: center;
  font-weight: bold;
}
.total_rec span {
  font-size: 1.5em;
  color: #ea3700;
}


.dep_info {
  display: grid;
  grid-template-columns:auto 1fr;
  row-gap:30px;
  align-items:end;
  margin: 0 7vw;
}

.dep_info >*{
  border-bottom: solid 1px #e7e3e2;
}

.dep_info a {
  background-color: #ea3700;
  color: #ffffff;
  padding: 1px 5px 0 7px;
  border-radius: 64px;
  height: 24px;
  width: fit-content;
  margin: auto 2vw 5px 2vw;
  white-space: nowrap;
  font-size: 14px;
}

.dep_info a::after {
  content: '\025b6';
  color: #ffffff;
  padding: 0 0 0 0.3vw;
}

.dep_img {
  height: 165px;
}

.dep_img img{
  width: 240px;
  height: 160px;
  margin: auto 30px;
  border-radius: 24px;
}

.dep_uni_dep {
  display: flex;
  justify-content: space-between;
}

.dep_uni_dep h2 {
  margin-top: 0.7em;
  margin-bottom: 5px;
  color: #f08353;
}

.dep_uni_name {
  font-weight: bold;
  padding-bottom: 0.5em;
}

.dep_info_text {
  max-width: auto;
  min-width: 260px;
  min-height: 165px;
  margin: auto 0;
}

.dep_uni_subject {
  display: flex;
  flex-wrap: wrap;
}

.dep_uni_class .hidden0 {
  display: none;
}
.dep_uni_class_000000 {
  display: none;
}

.dep_info_text span,
.dep_uni_name,
.dep_uni_class,
.dep_uni_study,
.dep_uni_time {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.dep_info_text span div {
  margin-right: 0.3vw;
}

.dep_uni_subject div {
  white-space: nowrap;
  min-width: fit-content;
  margin-top: 2px;
  padding-bottom: 5px;
  margin-right: 2px;
}

.dep_uni_study div,
.dep_uni_time div {
  margin: auto 0;
  padding-right: 2px;
  text-transform: full-width;
}

.dep_uni_name div,
.dep_uni_class div {
  margin-right: 3px;
  display: flex;
}

.dep_uni_class {
  margin: auto 0;
  text-transform: full-width;
}
.d_studies_html img {
  height: 26px;
  margin: 1px;
}

.dep_uni_class1 div {
  background-color: #ffffff;
  padding: 1px 5px;
  border-radius: 16px;
  margin-bottom: 0.5em;
  margin-left: 0.1vw;
  font-size: 14px;
}

.dep_uni_class div {
  background-color: #f7ffc8;
  padding: 1px 5px;
  border-radius: 16px;
  margin-bottom: 0.5em;
  margin-left: 0.1vw;
  font-size: 14px;
}

.dep_uni_class1 div {
  background-color: #f3f1f1;
}

.study_img {
  width: 20px;
  height: auto;
  padding: 0 2px;
  margin: auto 0;
}

ul.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}
ul.pagination li {
  background-color: rgb(255, 255, 255);
}
ul.pagination li a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  font-weight: bold;
}
ul.pagination li a:hover {
  text-decoration: underline;
}

.click_disabled {
  pointer-events: none;
  text-decoration: none;
  color: #aaaaaa;
  font-weight: normal;
}

.serch {
  background: #ffffff;
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  padding: 30px;
  border: solid  10px #f8f7f7;
}

.tab-2 {
  margin: 0 auto;
}




@media screen and (max-width: 710px) {
  .dep_img{
    width: auto;
    height: auto;
    margin: 0 auto;
  }

  .dep_img img{
    max-width: 312px;
    min-width: 200px;
    height: auto;
    margin: 0 auto;
  }

  .dep_info {
    grid-template-columns: auto;
    gap: 0;
    border-bottom: solid 1px #e7e3e2; ;
  }

  .dep_info >*{
    border-bottom: none;
  }

  .dep_info_text {
    min-width: 200px;
    padding-top: 10px;
    border-top: solid 1px #e7e3e2;
  }

  .dep_info_text:first-child{
    border-top: none
  }
  .dep_info span {
    font-size: 14px;
  }

  .dep_uni_dep h2 {
    font-size: 18px;
  }

  .serch {
    margin-top: 30px;
    padding:0;
    border: solid  10px #f8f7f7;
  }
}

@media screen and (max-width: 480px) {
  /* 480px以下に適用されるCSS（スマホ用） */

  .dep_uni_dep {
    flex-wrap: wrap;
  }
  .dep_uni_dep h1 {
    margin-top: 5px;
    font-size: 25px;
  }
  .dep_uni_dep a {
    margin-bottom: 4px;
  }
}
