@charset "UTF-8";

/* Common
----------------------------------------------------------------- */
body {
  background-color: #fff;
}

a:hover {
  opacity: .8;
}

#header_outer {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  height: 120px;
}

#site-title {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  margin: 0 25px;
}

#site-title .hd_course {
  display: inline-block;
  margin: 0 0 0 15px;
  width: auto;
  height: 80px!important;
  animation: fluffy1 3s ease infinite;
}
@keyframes fluffy1 {
  0% { transform:translateY(0) }
  5% { transform:translateY(0) }
  10% { transform:translateY(0) }
  20% { transform:translateY(-10px) }
  25% { transform:translateY(0) }
  30% { transform:translateY(-10px) }
  50% { transform:translateY(0) }
  100% { transform:translateY(0) }
}

#header_outer ul {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
  list-style: none;
}

#header_outer .hd-illust {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

#header_outer .hd-btn a,
#header_outer .hd-univ a {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  width: 120px;
  height: 100%;
}

#header_outer .hd-btn span,
#header_outer .hd-btn span:before,
#header_outer .hd-btn span:after {
  position: absolute;
  height: 2px;
  width: 40px;
  background: #000;
  display: block;
  content: '';
}

#header_outer .hd-btn span:before {
  bottom: 12px;
}

#header_outer .hd-btn span:after {
  bottom: -12px;
}

#header_outer .hd-univ a {
  background-color: #074395;
  color: #fff;
  font-size: 85%;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

#navi {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  position: fixed;
  top: 0;
  height: 100%;
  width: 700px;
  z-index: 100;
}

#navi:not(:target) {
  left: -700px;
  transition: left 1.5s;
}

#navi:target {
  left: 0;
  transition: left 1.5s;
}

#navi h2 {
  padding: 200px 0;
  width: 350px;
  text-align: center;
  background-color: #FDF9ED;
}

#navi ul {
  margin: 0;
  padding: 100px 30px;
  width: 290px;
  background-color: #59A801;
  position: relative;
}

#navi li {
  margin-bottom: 10px;
}

#navi a {
  color: #fff;
}

.sd-close {
  display: inline-block;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 35px;
  right: 0;
}

.sd-close a {
  display: block;
  width: 40px;
  height: 40px;
}

.sd-close span::before,
.sd-close span::after {
  display: block;
  content: "";
  width: 100%;
  height: 6%;
  margin: -6% 0 0 -40%;
  background-color: #fff;
}

.sd-close span::before {
  transform: rotate(-45deg);
}
.sd-close span::after {
  transform: rotate(45deg);
}

#pagetop {
  max-width: -webkit-calc(100% - 50px);
  max-width: calc(100% - 50px);
}

#footer_outer {
  background-color: #fff;
}

#footer h2 a {
  margin: 25px auto 80px;
  width: 270px;
  height: 69px;
  display: block;
  background-image: url(/images/common.png);
  background-repeat: no-repeat;
  background-position: 0 -1102px;
  text-indent: -30000px;
  -moz-background-size: 270px auto;
  -o-background-size: 270px auto;
  -webkit-background-size: 270px auto;
  background-size: 270px auto;
}

#footer p {
  font-size: 68.75%;
  font-weight: 700;
  color: #000;
  text-align: center;
}



@media screen and (max-width: 960px) {
  #header_outer .hd-illust {
    display: none;
  }
}

@media screen and (max-width: 735px) {
  #header_outer {
    height: 80px;
  }

  #header_outer .hd-btn span,
  #header_outer .hd-btn span:before,
  #header_outer .hd-btn span:after {
    width: 30px;
  }

  #site-title .hd_course {
    height: 40px!important;
  }

  #header_outer .hd-univ {
    display: none;
  }

  #header_outer .hd-btn a,
  #header_outer .hd-univ a {
    width: 80px;
  }

  #navi {
    display: block;
    position: absolute;
    width: 100%;
  }

  #navi h2 {
    padding: 110px 0 30px;
    width: 100%;
  }

  #navi h2 img {
    width: auto;
    height: 80px!important;
  }

  #navi ul {
    width: calc(100% - 60px);
  }

  #pagetop {
    max-width: 94%;
  }

  #pagetop img {
    width: auto;
    height: 25px!important;
  }
}

/* Home
----------------------------------------------------------------- */
#topimg_outer {
  background: none;
  max-height: 700px;
  overflow: hidden;
  position: relative;
}

#topimg_outer::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: '';
  display: inline-block;
  width: 100%;
  height: 100%;
  background: url('../sld_main.png') center center no-repeat;
  background-size: auto;
  z-index: 60;
}

#topimg img {
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  font-family: "object-fit: cover";
}

#hmlink_outer {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 25px auto 0;
  max-width: -webkit-calc(100% - 50px);
  max-width: calc(100% - 50px);
}

.hmlink {
  margin-bottom: 20px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hmlink.col50 {
  width: 49%;
}

.hmlink a {
  display: block;
}

.hmlink .link-title {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0!important;
  padding: 15px 30px;
  background-color: #fff;
  font-size: 130%;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .1em;
  color: #000;
}

.hmlink a img {
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  font-family: "object-fit: cover";
}

.hmlink.video,
.hmlink.img {
  max-height: 450px;
}

.hmlink.video {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  background-color: #ebebeb;
}

.hmlink.video video {
  min-width: 100%;
  min-height: 100%;
}

.hmlink.movie {
  height: auto;
  overflow: hidden;
}

.hmlink.movie h2 {
  text-align: center;
  margin: 30px auto 20px;
  font-size: 30px;
  font-weight: 700;
}

.hmlink.course {
  background-color: #fff100;
  color: #192e77;
  line-height: 1.5;
  text-align: center;
  padding: 30px;
}

.hmlink.course img {
  display: block;
  width: 900px;
  margin: 10px auto;
}

.hmlink.course h2 {
  width: 900px;
  margin: 0 auto 10px;
  font-size: 200%;
  font-weight: 700;
}

.hmlink.course p {
  text-align: left;
  width: 900px;
  margin: 0 auto;
}

.hmlink.course p.kome {
  font-size: 80%;
}

/*
.hmlink.course a {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 30px;
  width: -webkit-calc(100% - 60px);
  width: calc(100% - 60px);
  height: -webkit-calc(100% - 60px);
  height: calc(100% - 60px);
  background-color: #fff100;
  color: #192e77;
  overflow: hidden;
  line-height: 2;
}

.hmlink.course a img  {
  display: inline-block;
  margin: 0 30px 0 0;
  width: auto;
  height: 340px!important;
}

.hmlink.course a h2 {
  margin: 0 0 20px;
  font-size: 130%;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .1em;
  color: #192e77;
}

.hmlink.course a h2 span {
  display: inline-block;
  font-size: 120%!important;
  text-decoration: underline;
}

.hmlink.course a h2 strong {
  font-size: 200%!important;
  font-weight: 700;
  color: #192e77;
}

.hmlink.course a p {
  margin: 0 0 10px;
}

.hmlink.course a p.kome {
  font-size: 80%;
}
*/

@media screen and (max-width: 960px) {
  #topimg_outer::after {
    background-size: auto 60%;
  }

  #topimg li {
    width: 100%!important;
  }

  .hmlink.course img,
  .hmlink.course h2,
  .hmlink.course p {
    width: 96%;
  }
}

@media screen and (max-width: 735px) {
  #topimg_outer {
    margin: 80px 0 0;
  }

  #hmlink_outer {
    max-width: 94%;
  }

  .hmlink {
    margin-bottom: 15px;
  }

  .hmlink.col50 {
    width: 100%;
  }

  .hmlink.course {
    padding: 15px;
  }

  .hmlink.course h2 {
    font-size: 150%;
  }
}



/* Other
----------------------------------------------------------------- */
#hdimg {
  max-height: 400px;
  overflow: hidden;
  position: relative;
}

#hdimg img {
  width: 100%;
  height: 400px!important;
  object-fit: cover;
  font-family: "object-fit: cover";
}

#hdimg h1 {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 300px;
  height: 150px;
  background-color: #fff;
  font-size: 140%;
  font-weight: 700;
  line-height: .8;
  letter-spacing: .1em;
}

.pg-number #hdimg h1 {
  background: transparent;
}

.pg-quiz #hdimg h1 {
  top: 30px;
  bottom: auto;
}

.pg-mht #hdimg h1 {
  display: none;
}

#topicpath {
  background-color: #fff;
}

#topicpath p,
#topicpath p a {
  color: #000;
}

#contents h2 {
  font-size: 120%;
  margin: 20px 0 50px;
}

/* 
.pg-circle h2,
.pg-number h2,
*/
#contents h2.entry-title {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 250% !important;
  font-weight: 700;

}

#contents p {
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 1rem;
}

.lead {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 125%;
  font-weight: bold;
  line-height: 2!important;
  margin-bottom: 50px;
}

@media screen and (max-width: 960px) {
  #hdimg {
    max-height: 250px;
  }

  #hdimg img {
    height: 250px!important;
    object-fit: 120% auto;
    font-family: "object-fit:  120% auto";
  }
}


@media screen and (max-width: 735px) {
  #hdimg {
    margin: 80px 0 0;
  }

  .pg-quiz #hdimg h1 {
    top: 0;
    bottom: 0;
  }

  .pg-mht #hdimg h1 {
    display: flex;
    line-height: 1.3;
    font-family: 'PT Serif', serif;
  }
}


/* クイズ */

.quiz-col {
  margin: 0 0 30px;
  padding: 15px 30px 30px;
  background-color: #999;
  color: #fff;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.quiz-bioproduction { background-color: #6fba2c; }
.quiz-enviromental { background-color: #187fc4; }
.quiz-food { background-color: #f08300; }

.quiz-col .dept {
  font-size: 80%;
  font-size: 90%;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  border: 2px solid #fff;
  padding: 3px 7px;
  position: absolute;
  top: 20px;
  left: 20px;
}

.quiz-col h2 {
  margin: 0!important;
  line-height: 1.6;
  font-weight: 600;
  text-align: center;
}

.quiz-col h2 > strong {
  display: block;
  margin: 0 0 10px;
  font-size: 200%;
  font-family: 'Pacifico', cursive;
  font-weight: 600;
  color: #fff;
}

.quiz-col .item {
  display: inline-block;
  margin: 30px auto;
  padding: 20px;
  font-size: 110%;
  font-weight: 600;
  background-color: #fff;
  color: #333;
  border-radius: 7px;
  text-align: left;
}

.quiz-col .item li:not(:last-child) {
  margin: 0 0 10px;
}

.quiz-col .horizontal li {
  display: inline-block;
  margin: 0 10px!important;
}

.quiz-col .ans strong {
  display: inline-block;
  padding: 10px 20px;
  font-size: 110%;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 7px;
}

.quiz-col .op-cont {
  display: none;
  margin-top: 30px;
  padding: 30px;
  background-color: #fff;
  color: #333;
  overflow: hidden;
  position: relative;
}

.quiz-col .op-cont p {
  margin: 0 0 20px;
  font-size: 90%;
  text-align: left;
}

.quiz-col .op-cont p:last-child {
  margin: 0;
}

.quiz-col .op-cont img {
  vertical-align: bottom;
  padding-bottom: 0;
}

.quiz-col .op-cont .cl-btn {
  cursor: pointer;
  font-family: 'Lato', sans-serif!important;
  font-weight: 600;
  position: absolute;
  top: 10px;
  right: 10px;
}

.quiz-col .op-cont .cl-btn::before {
  font-family: 'Font Awesome 5 Free'!important;
  padding: 0 5px;
  display: inline-block;
  vertical-align: top;
  content: '\f00d';
  font-weight: 900;
}

.quiz-col .op-cont .cl-btn i {
  margin: 0 5px 0 0;
}

.quiz-col .op-cont h2 {
  margin: 0!important;
}

.quiz-col .op-cont h2 > strong {
  color: #074395!important;
}

.quiz-col .op-cont h3 {
  margin-bottom: 15px;
  text-align: center;
  font-size: 120%;
  font-weight: 600;
  color: #074395;
}

.quiz-col .op-cont h3::after {
  font-family: "Font Awesome 5 Free";
  padding: 0 0 0 10px;
  display: inline-block;
  vertical-align: top;
  content: '\f4ad';
  font-weight: 900;
}

.quiz-col .answer {
  margin-bottom: 50px!important;
  text-align: center!important;
  font-size: 150%!important;
  font-weight: 600!important;
  line-height: 1!important;
}

.quiz-col .more {
  display: inline-block;
  padding: 10px 15px;
  background-color: #eee;
}

.quiz-col .more::before {
  font-family: "Font Awesome 5 Free";
  padding: 0 5px 0 0;
  display: inline-block;
  vertical-align: top;
  content: '\f14a';
  font-weight: 900;
  color: #074395;
}

.quiz-col .item strong,
.quiz-col .answer strong {
  display: inline-block;
  margin: 0 5px 0 0;
  font-weight: 800;
  font-size: 150%;
  vertical-align: text-top;
}

.quiz-bioproduction .item strong,
.quiz-bioproduction .answer strong,
.quiz-bioproduction .choices {
  color: #6fba2c;
}

.quiz-enviromental .item strong,
.quiz-enviromental .answer strong,
.quiz-enviromental .choices {
  color: #187fc4;
}

.quiz-food .item strong,
.quiz-food .answer strong,
.quiz-food .choices {
  color: #f08300;
}


/*
.quiz-col.delighter {
  transition: all 1s ease-out;
}
.quiz-col.delighter.ended {
  opacity: .3;
}
*/

.quiz-col.delighter > h2,
.quiz-col.delighter .item,
.quiz-col.delighter .ans {
  opacity: 0;
  transform: translatey(400%);
  transition: all .7s ease-out;
}

.quiz-col.delighter.started > h2,
.quiz-col.delighter.started .item,
.quiz-col.delighter.started .ans {
  opacity: 1;
  transform: none;
}

@media screen and (max-width: 960px) {
  .quiz-col h2 br {
    display: none;
  }

  .quiz-col .horizontal li {
    display: block;
    margin: 0 0 10px!important;
  }

  .quiz-col .horizontal li:last-child {
    margin: 0!important;
  }
}

@media screen and (max-width: 735px) {
  .quiz-col {
    padding: 10px 20px 20px;
  }

  .quiz-col .dept {
    font-size: 70%;
    padding: 1px 3px;
    top: 15px;
    left: 15px;
  }

  .quiz-col h2 {
    line-height: 1.5;
    font-size: 110%!important;
  }

  .quiz-col .op-cont {
    margin-top: 20px;
    padding: 15px;
  }

  .quiz-col .answer {
    margin-bottom: 30px!important;
    text-align: left;
    font-size: 120%!important;
  }
}


/* My Happy Time */

.pg-mht #contents_outer #contents,
.par-mht #contents_outer #contents {
  max-width: 1230px;
  overflow: visible!important;
}

.par-mht #contents_outer #contents {
  background: url('../mht_com2.png') center top no-repeat;
}

.mht-col {
  margin: 20px auto;
  padding: 30px 45px;
  background-position: center center;
  background-repeat: no-repeat;
}

.mht01 {
  background-image: url('../mht01_bgimg.png');
}

.mht02 {
  background-image: url('../mht02_bgimg.png');
  background-position: center bottom;
  text-align: right;
}

.mht03 {
  background-image: url('../mht03_bgimg.png');
  text-align: center;
}

.par-mht #topicpath,
.par-movie #topicpath {
  background-color: #F1F1F1;
  padding: 0!important;
}

.par-mht #topicpath p,
.par-movie #topicpath p {
  max-width: 100%;
  margin: 0 25px;
  padding: 20px 0;
}

.mht-head,
.mht-cont {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin: 30px auto;
  padding: 0 100px;
}

.mht-cont {
  background: url('../mht_com3.png') center center no-repeat;
}

.mht−photo,
.mht-txt {
  width: 550px;
}

.mht−title,
.mht-img {
  width: 400px;
}

.mht-head h1,
.mht-cont h2 {
  margin: 50px 0 20px!important;
  padding: 20px 30px;
  font-family: 'Sawarabi Mincho', sans-serif;
  font-weight: 600;
  color: #fff;
  background-color: #e51686;
  border-radius: 10px;
  position: relative;
}

.mht-head h1 {
  margin: 20px 0 10px!important;
  padding: 30px 50px;
  font-size: 150%;
  line-height: 1.8;
  width: 275px;
}

.mht-cont h2:first-child {
  margin: 10px 0 20px!important;
}

.mht-cont h2::before {
  display: block;
  width: 54px;
  height: 20px;
  content: "";
  background: #fff url('../mht_fukidashi.png') center center no-repeat;
  position: absolute;
  top: -20px;
  right: 50px;
}

.mht−title p {
  margin: 0 0 20px;
}

.mht-name {
  font-size: 85%;
  text-align: right;
  width: 375px;
}

.mht-name strong {
  display: inline-block;
  margin: 0 0 0 5px;
  font-size: 130%;
}

.mht-txt p {
  font-size: 90%;
}

.mht-img img {
  margin-bottom: 10px;
}

@media screen and (max-width: 960px) {
  .mht-col,
  .mht-head {
    background-size: contain;
  }

  .mht-head,
  .mht-cont {
    padding: 0 20px;
  }

  .mht−photo,
  .mht-txt,
  .mht−title,
  .mht-img {
    width: 48%;
  }

  .mht-head h1 {
    padding: 30px;
    font-size: 120%;
    width: -weblit-calc(100% - 60px);
    width: calc(100% - 60px);
  }

  .mht-name {
    width: -weblit-calc(100% - 20px);
    width: calc(100% - 20px);
    background-color: rgba(255,255,255,.8);
    padding: 5px;
  }
}

@media screen and (max-width: 735px) {
  .mht-head {
    -webkit-flex-direction: column-reverse;
    flex-direction: column-reverse;
    margin-top: 100px;
  }

  .mht-cont {
    -webkit-flex-direction: column;
    flex-direction: column;
  }

  .mht−photo,
  .mht-txt,
  .mht−title,
  .mht-img {
    width: 100%;
    margin-bottom: 20px;
  }
}

.shop {
  margin-top: 60px;
  padding: 15px;
  border: dotted 2px #333;
  height: auto;
  overflow: hidden;
  text-align: center;
}

.shop-box {
  width: 568px;
  float: left;
  padding: 15px;
}

.shop-data {
  text-align: left;
  font-size: 90%;
}

.shop-data h2 {
  margin-bottom: 30px !important;
}

.shop-data table {
  margin-top: 30px;
  border-top: solid 1px #333;
}

.shop-data th,
.shop-data td {
  padding: .5rem;
  border-bottom: solid 1px #333;
}

.shop-map {
  margin: 0 auto;
  position: relative;
  width: 100%;
  padding-top: 50%;
}

.shop-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}


/* 数字で見る */

#gallery {
  margin: 0 auto;
  overflow: hidden;
}
 
#gallery li.item {
  max-width: 390px;
  padding: 5px;
  margin-bottom: 10px;
}
 
#gallery li.item img {
  width: 390px;
  max-width: 100%;
  height: auto;
}

#gallery p {
  font-size: 85%;
  margin: 5px 0;
}

@media screen and (max-width: 480px) {
  #gallery {
    width: auto!important;
  }
}



/* サークル活動 */

.pg-circle #contents p {
  line-height: 1.5;
  font-weight: 500;
}

.circle-name {
  clear: both;
  text-align: center;
  margin: 2rem 0 2rem;
  height: auto;
}

.circle-name p {
  margin-top: 20px;
}

.circle-photo {
  height: auto;
  overflow: hidden;
  background: transparent url("../circle_bgimg.png") repeat;
}
.circle-photo li.item {
  max-width: 390px;
  padding: 5px;
  margin-bottom: 10px;
  float: left;
}

.circle-photo li.item img {
  width: 390px;
  max-width: 100%;
  height: auto;
}

.circle-photo p {
  margin: 5px 0;
}

.pg-circle .wrap {
  text-align: center;
  margin: 1rem 0;
}

.ribbon11 {
  display: inline-block;
  position: relative;
  height: 45px;
  vertical-align: middle;
  text-align: center;
  box-sizing: border-box;
  height: auto;
}

.ribbon11:before{/*左側のリボン端*/
  content: '';
  position: absolute;
  width: 10px;
  bottom: -10px;
  left: -35px;
  z-index: -2;
  border: 20px solid #56adf3;
  border-left-color: transparent;/*山形に切り抜き*/
}

.ribbon11:after{/*右側のリボン端*/
  content: '';
  position: absolute;
  width: 10px;
  bottom: -10px;
  right: -35px;
  z-index: -2;
  border: 20px solid #56adf3;
  border-right-color: transparent;/*山形に切り抜き*/
}

.ribbon11 h3 {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 0 20px;
  line-height: 45px;
  font-size: 30px;
  font-weight: bold;
  color: #FFF;
  background: #2196F3;/*真ん中の背景色*/
  letter-spacing: 0.5rem;
}

.ribbon11 h3:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 15px #397eb5;/*左の折り返し部分*/
}

.ribbon11 h3:after {
  position: absolute;
  content: '';
  top: 100%;
  right: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-left: solid 15px #397eb5;/*右の折り返し部分*/
}


/* 動画 */

.pg-movie iframe {
  max-width: 100% !important;
}



@media screen and (max-width: 960px) {
}

@media screen and (max-width: 735px) {
}

