/* リセット */
#kokan div,#kokan h1,#kokan h2,#kokan h3,#kokan ul,#kokan li,#kokan ol,#kokan dl,#kokan dt,#kokan dd,#kokan p,#kokan a,#kokan span,#kokan img {/* box-sizing:border-box; */}
#kokan ul{list-style: disc;margin-left: 45px;}
#kokan ol {list-style-type: decimal;}
#kokan ul li,#kokan ol li{padding: 0;margin: 0;background: none;}
#kokan img {border:none;vertical-align:middle;}
/* ユーティリティー */
#kokan a {zoom:1; color:#000; transition:opacity 0.7s; display:block;}
#kokan a:hover {opacity:0.8;}
.clearfix:after {content:""; clear:both; display:block;}
.page {margin:0 auto; width:750px;}
#kokan {
	color:#000;
	font-size:16px;
	line-height:1.4;
}
#kokan p {
	line-height:1.8;
	margin-left: 20px;
}
#kokan h1,#kokan h2,#kokan h3{
	background-color: transparent;
	border: none;
}	
#kokan h1::before,#kokan h2::before,#kokan h3::before{
	display: none;
}
#kokan h2{
  margin-bottom: 20px;
  padding: 0;
  position: relative;
  font-size: 1.5em;
  color: #5961bb;
  margin: 5px 0 30px;
}
#kokan.home h2 {
  text-align: center;
}
#kokan h2:after {
  content: '';
  position: absolute;
  text-align: center;
  display: inline-block;
  height: 3px;
  width: 40px;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  background-color: #5961bb;
}
#kokan h3 {
	padding: 0;
	margin: 35px 0 10px 15px;
	font-weight: 600;
	font-size: 1.25em;
}

#kokan h4 {
	padding: 0;
	margin: 35px 0 10px 15px;
	font-weight: 600;
	font-size: 1.125em;
  border: none;
}

/*読み上げ用隠し*/
.speech{
	margin:0;
	padding:0;
	display:block;
	width:1px;
	height:1px;
	position:absolute;
	left:-9999px ;
	overflow:hidden;
}

body:not(#body--index) #main {
  margin-top: 10px;
}

#gallery,
#campus,
#news,
#access {
  margin-bottom: 35px;
}

#gallery h2:after,
#campus h2:after,
#news h2:after,
#access h2:after,
#tel h2:after {
  left: 0;
  transform: none;
}

#recruitment h3:after, 
#topics h3:after, 
#gallery h3:after,
#campus h3:after,
#news h3:after,
#access h3:after {
  content: '';
  position: absolute;
  text-align: center;
  display: inline-block;
  height: 31px;
  width: 3px;
  left: -10px;
  top: 0;
  background-color: #5961bb;
}


/* ヒーローセクションスタイル */
#hero {
  position: relative;
  height: 459px;
  background-image: url('hero_bg.png');
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}
.home #hero {
  height: 412px;
}
.esashi #hero {
  background-color: rgba(206, 218, 118, 0.3);
}
.asahikawa #hero {
  background-color: rgba(186, 118, 218, 0.2);
}
.mombetsu #hero {
  background-color: rgba(118, 151, 218, 0.2);
}

#hero .hero-content {
  position: relative;
  height: 100%;
}

#hero .hero-content h1 {
  margin: 0 0 5px;
  padding: 20px 0 0;
  font-size: 2.5em;
  text-align: center;
  color: #5961BC;
  z-index: 1;
}

.esashi #hero .hero-content h1 {
  color: #007A21;
}
.asahikawa #hero .hero-content h1 {
  color: #7528A6;
}
.mombetsu #hero .hero-content h1 {
  color: #2C67BF;
}

#hero .hero-content h1 img {
  width: 327px;
  height: 47px;
  object-fit: contain;
  margin: 0 auto;
  text-align: center;
  display: block;
}

#hero .hero-image {
  position: relative;
  margin: 0 40px;
  width: 583px;
  height: 333px;
  border-radius: 16px;
}

.home #hero .hero-image {
  width: 574px;
  height: 359px;
  position: absolute;
  margin: 0;
  left: 50%;
  transform: translateX(-43%);
  top: 11%;
  z-index: 0;
  border-radius: 0;
}

#hero .hero-content .location {
  position: relative;
  margin: 0;
  padding: 0;
}

#hero .hero-content .location li {
  display: inline-block;
  position: relative;
}

#hero .hero-content .location img {
  width: 177px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  position: relative;
  margin: 0;
}

#hero .hero-content .location .asahikawa {
  top: 30px;
  left: -205px;
}
#hero .hero-content .location .esashi {
  top: 153px;
  left: 28px;
}
#hero .hero-content .location .mombetsu {
  top: -43px;
  right: -526px;
}
#hero .hero-content .location a{
	text-decoration: none;
}
#hero .hero-content .location a span {
  position: relative;
  margin: 0;
  padding: 8px 15px 8px 12px;
  max-width: 2em;
  text-decoration: none;
  border-radius: 32px;
  font-size: 1.125em;
  display: inline;
}
#hero .hero-content .location a:hover,
#hero .hero-content .location a:active,
#hero .hero-content .location a:focus {
	opacity: 1 !important;
	filter: brightness(1.05);
}
#hero .hero-content .location a span:after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 10px;
  margin-left: 4px;
  background-repeat: no-repeat;
}
.home .asahikawa a span,#kokan .location-group ul li.asahikawa a{
  bottom: -36px;
  right: 20px;
  background-color: #DEBFF0;
}
.asahikawa a span:after,
#kokan .location-group ul li.asahikawa a:after {
  background-image:url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgNSA5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNSA0LjVMMC41IDguMzk3MTFMMC41IDAuNjAyODg2TDUgNC41WiIgZmlsbD0iI0E5NkNDQyIvPgo8L3N2Zz4K');
}
.home .esashi a span,#kokan .location-group ul li.esashi a{
  bottom: -39px;
  right: 35px;
  background-color: #CEDA76;
}
.esashi a span:after,
#kokan .location-group ul li.esashi a:after  {
  background-image:url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgNSA5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNSA0LjVMMC41IDguMzk3MTFMMC41IDAuNjAyODg2TDUgNC41WiIgZmlsbD0iIzg4OTgxMSIvPgo8L3N2Zz4K');
}
.home .mombetsu a span,#kokan .location-group ul li.mombetsu a{
  bottom: -40px;
  right: 52px;
  background-color: #C9DAFF;
}
.mombetsu a span:after,
#kokan .location-group ul li.mombetsu a:after  {
  background-image:url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgNSA5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNSA0LjVMMC41IDguMzk3MTFMMC41IDAuNjAyODg2TDUgNC41WiIgZmlsbD0iIzJDNjdCRiIvPgo8L3N2Zz4K');
}

#hero .catch {
  position: absolute;
  bottom: 20px;
  right: 25px;
	zoom: 50%;
}

.home #hero .catch {
    bottom: 32px;
    right: 40px;	
}

#hero .catch img {
  margin: 0;
}

/* ピックアップ */
#kokan-pickup {
  margin: 15px 0 40px;
}
#kokan-pickup h2 {
  padding-top: 48px;
  margin-bottom: 8px;
}
#kokan-pickup h2:after {
  content: '';
  background-repeat: no-repeat;
  display: block;
  width: 107px;
  height: 37px;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  background-image: url('pickup_head.png');
  margin: 0;
}

#kokan-pickup .merit-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

#kokan-pickup .merit-list li {
  text-align: center;
  display: flex;
  flex-direction: column;
  row-gap: 2px;
}

#kokan-pickup .merit-list img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0;
}

#kokan-pickup .merit-list p {
  color: #333;
	padding-top: .2em;
  margin: 0 0 0 0;
	line-height: 1.4;
}

/* 説明セクションスタイル */
#description {
  margin: 15px 0;
  text-align: left;
}

#description p {
  margin: 0 0 0 45px;
  line-height: 1.5;
  font-weight: 600;
  font-size: 1.125em;
}

/* タブナビゲーションスタイル */
#interIndex {
  margin: 42px 0 28px;
  background-color: rgba(89, 97, 188, 0.08);
  border-radius: 8px;
}

#interIndex ul {
  display: flex;
  flex-wrap:wrap;
  list-style-type: none;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  padding: 10px 20px;
}

#interIndex ul li {
  padding: 6px 8px 4px 10px;
  line-height: 1.5;
}

#interIndex a {
  display: inline-block;
  text-align: center;
  color: #000;
  transition: background-color 0.3s;
  text-decoration: none;
}

#interIndex a:after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-image:url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEwIDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01IDhMMC42Njk4NzMgMC40OTk5OTlMOS4zMzAxMyAwLjVMNSA4WiIgZmlsbD0iIzU5NjFCQyIvPgo8L3N2Zz4K');
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 5px;
}

#interIndex ul li a:hover,
#interIndex ul li a:active,
#interIndex ul li a:focus {
  text-decoration: underline;
}

/* 注目情報セクションスタイル */
#attention {
  background-color: #5961bb;
  background-image: url('attention_bg.png');
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  border-radius: 8px;
  padding: 20px 20px 40px;
  margin-bottom: 30px;
}
.home #attention {
  padding-bottom: 20px;
  margin-bottom: 35px;
}

#attention h2 {
  color: #fff;
  margin: 7px 0;
  padding-top: 20px;
  text-align: center;
  display: block;
  position: relative;
}

.home #attention h2 {
  margin-bottom: 8px;
}

#attention h2:after {
  content: '';
  position: absolute;
  background-image: url("attention_head.png");
  background-repeat: no-repeat;
  display: block;
  width: 88px;
  height: 18px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background-color: transparent;
	background-size: cover;
}

article:not(.home) #attention ul {
  background-color: #fff;
  border-radius: 8px;
  padding: 18px 8px 8px;
  margin: 0;
  list-style-type: none;
}

.home #attention ul {
  list-style-type: none;
  margin: 0;
  background-color: transparent;
  display: flex;
  justify-content: center;
  gap: 10px;
}

article:not(.home) #attention ul li {
  padding: 10px 10px 13px 35px;
  font-weight: 300;
  position: relative;
}

article:not(.home) #attention ul li::before {
  content: '';
  position: absolute;
  display: inline-block;
  top: 17px;
  left: 20px;
  width: 8px;
  height: 10px;
  background-image:url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDggMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04IDVMMC41IDkuMzMwMTNMMC41IDAuNjY5ODcyTDggNVoiIGZpbGw9IiM1OTYxQkMiLz4KPC9zdmc+Cg==');
  background-size: contain;
  background-repeat: no-repeat;
}

#attention ul li a {
  display: inline-block;
  text-decoration: none;
}

#attention ul li a:hover,
#attention ul li a:active,
#attention ul li a:focus {
  text-decoration: underline;
}

.home #attention ul li a {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.125em;
  row-gap: 3px;
}

.home #attention ul li a img {
  display: block;
	border-radius: 8px;
}

/* トップページ ナビゲーション*/
.kokan-nav {
  margin-bottom: 42px;
}
#kokan .kokan-nav h3 {
  margin: 0 0 20px;
  text-align: center;
}
.kokan-nav .wrapper {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 0 auto;
  padding: 0;
  list-style-type: none;
}
#kokan .location-group {
  background-color: #F6F6F6;
  width: 100%;
  padding: 23px 0;
  border-radius: 8px;
  max-width: 359px;
  margin: 0 auto;
}
#kokan .location-group ul {
  margin: 0;
  list-style-type: none;
  display: flex;
  justify-content: center;
  column-gap: 14px;
}

#kokan .location-group ul li a {
  margin: 0;
  padding: 8px 15px 8px 12px;
  max-width: 2em;
  text-decoration: none;
  border-radius: 32px;
  font-size: 1.125em;
  display: inline;
}

#kokan .location-group ul li a:hover,
#kokan .location-group ul li a:active,
#kokan .location-group ul li a:focus {
  text-decoration: underline;
}

#kokan .location-group ul li a:after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 10px;
  margin-left: 4px;
  background-repeat: no-repeat;
}



/* 学生募集セクションスタイル */
#recruitment {
  margin-bottom: 50px;
}

#recruitment h2,
h2.centerSb{
  margin: 10px 0 27px;
  padding: 0;
  text-align: center;
}

#recruitment .button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px 12px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 510px;
  flex-direction: row;
}

#recruitment .button-group li {
  border-radius: 20px;
}

#recruitment .button-group a {
  background-color: #25068B;
  color: #fff;
  font-size: 1.125em;
  font-weight: 600;
  padding: 4px 32px 4px 20px;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

#recruitment ul li a:hover,
#recruitment ul li a:active,
#recruitment ul li a:focus {
  text-decoration: underline;
}

#recruitment .button-group a:after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 9px;
  height: 14px;
  background-repeat: no-repeat;
  background-image:url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNSIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgNSA5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNSA0LjVMMC41IDguMzk3MTFMMC41IDAuNjAyODg2TDUgNC41WiIgZmlsbD0iI0ZGRjM0RSIvPgo8L3N2Zz4K');
  background-repeat: no-repeat;
  top: 14px;
  right: 15px;
}


.button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #25068b;
  color: #fff;
  border-radius: 20px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.button:hover {
  background-color: #1c0566;
  text-decoration: none;
}
/*学科紹介*/
#departlist {
	display: flex;
	column-gap: 5px;
}
#departlist .depart{
	display: flex;
	flex-flow: column;
	align-items: center;
	flex: 1;
	border-radius: 8px;
	padding: 16px 8px;
	margin-bottom: 16px;
}
#departlist .depart a{
	text-decoration: none;
}
#departlist .depart h3{
	font-size: 1.375em;
	margin: 0;
	position: relative;
}
#departlist .depart h3 a::before{
	content: "";
	display: block;
	width: 106px;
	height: 76px;
	position: relative;
	border-left: none;
	margin: auto auto 8px auto;
	left: inherit;
	background-size: cover;
}
#departlist .depart p{
	margin: 0;
	line-height: 1.5;
}
#departlist #dp1{
	background: #DEFDED;
}
#departlist #dp2{
	background: #FAE8F1;
}
#departlist #dp3{
	background: #FAE2D0;
}
#departlist #dp1.depart h3 a::before{
	background-image: url("dp1.png");	
}
#departlist #dp2.depart h3 a::before{
	background-image: url("dp2.png");	
}
#departlist #dp3.depart h3 a::before{
	background-image: url("dp3.png");	
}
#pamphLink{
	padding-bottom: 16px;
}
#pamphLink h3{
	text-align: center;
	margin: 24px 0 16px;
}
#pamphLink ul{
	text-align: center;
	list-style: none;
	padding: 0;
	margin: 0 0 16px;
}
#pamphLink ul li{
	display: inline-block;
	margin: 0 .5em .5em;
}
#pamphLink a{
	text-decoration: none;
	padding: 8px 32px;
	background-color: #c5c9f4;
	border-radius: 2em;
}
/* 新着情報セクションスタイル */
#topics {
  background-color: #f6f6f6;
  border-radius: 8px;
  padding: 20px 28px 10px;
  margin-bottom: 35px;
}

#topics h2 {
  margin: 5px 0 40px;
  text-align: center;
  padding: 0;
}

#topics ul {
  list-style-type: none;
  margin: 0;
}

#topics ul li {
  margin-bottom: 22px;
  font-weight: 300;
  padding-left: 17px;
  position: relative;
}

#topics li a::before {
  content: '';
  position: absolute;
  display: inline-block;
  width: 8px;
  height: 10px;
  left: 0;
  background-image:url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDggMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik04IDVMMC41IDkuMzMwMTNMMC41IDAuNjY5ODcyTDggNVoiIGZpbGw9IiM1OTYxQkMiLz4KPC9zdmc+Cg==');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 5px;
  margin-top: 8px;
}

#topics ul li a {
  text-decoration: underline;
  display: inline;
}

#topics ul li a:hover,
#topics ul li a:active,
#topics ul li a:focus {
  text-decoration: none;
}

#topics ul li .date {
  display: inline;
}

/* ギャラリーセクションスタイル */
#gallery {
  margin-bottom: 30px;
}

#gallery h2 {
  margin-bottom: 20px;
  padding: 0;
}

/* フッタースタイル */
.footer-image {
  width: 100%;
  height: 298px;
  object-fit: cover;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  #kokan {
    font-size: 14px;
  }


  #topics li {
      flex-direction: column;
  }

  #topics li a::before {
    margin-top: 6px;
  }

  #topics .date {
      margin-bottom: 5px;
  }

  #recruitment .button-group a {
    width: auto;
  }
}

@media (max-width: 640px) {
  #kokan {
    font-size: 14px;
  }
  #kokan.home h2 {
    font-size: 1.725em;
  }
  #hero {
    height: 430px;
  }
  .home #hero {
    margin-bottom: 151px;
    height: 277px;
  }
  #hero .hero-content h1 {
    font-size: 2.125em;
  }
  .home #hero .hero-content h1 {
    padding-top: 10px;
  }
  #hero .hero-image {
    width: 90%;
    margin: 0 0 0 10px;
  }
  .home #hero .hero-image {
    width: 62%;
    top: 12%;
    transform: translateX(-51%);
    border-radius: 0;
  }
  .home #hero .catch {

        bottom: 32px;
    right: 32px;
  }
  #hero .hero-content .location {
    position: static;
    margin-top: 230px;
    display: flex;
    gap: 13px;
    padding: 0 7px;
  }
  #hero .hero-content .location img {
    border-radius: 8px;
    min-height: 93px;
    width: 100%;
    object-fit: cover;
  }
  #hero .hero-content .location li {
    position: static;
  }
  #hero .hero-content .location a {
    bottom: 8px;
    right: -57px;
    padding: 4px 10px 4px 12px;
  }
  #hero .catch {
    right: 10px;
    bottom: 40px;
    height: auto;
  }

  #description p {
    margin-left: 5px;
  }
  #interIndex {
    margin-top: 30px;
  }

  #kokan-pickup .merit-list {
    gap: 10px;
  }
  #kokan-pickup .merit-list li {
    width: calc(50% - 5px);
    row-gap: 7px;
  }
  #kokan-pickup .merit-list p {
    font-weight: 500;
    font-size: 1.125em;
    text-align: left;
    margin: 0 auto;
    padding: 0;
  }

  #attention {
    padding: 15px 15px 30px;
  }
  .home #attention {
    padding: 15px 10px 30px;
    margin: 0 -10px 20px;
  }

  #attention ul li {
    padding-left: 25px;
  }
  .home #attention ul li {
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
  }
  .home #attention ul li a {
    gap: 13px;
  }

  #attention ul li::before {
    left: 8px;
    top: 15px;
  }

  .kokan-nav .wrapper {
    flex-direction: column;
  }
  #kokan .kokan-nav h3 {
    font-size: 1.425em;
    margin-bottom: 18px;
  }
  #kokan .location-group ul {
    column-gap: 20px;
  }
  #kokan .location-group ul li a {
    font-size: 1.25em;
  }

  #topics {
    padding: 20px 15px 10px;
  }
	#departlist {
		flex-direction: column;
	}
}

@media (max-width: 500px) {
  #hero {
    height: 340px;
  }
  #hero .catch {
    bottom: 30px;

  }
  .home #hero {
    height: 300px;
  }
  .home #hero .hero-image {
    width: 88%;
    top: 12%;
    transform: translateX(-51%);
    border-radius: 0;
  }
  #hero .hero-content .location {
    margin-top: 200px;
  }
}

@media (max-width: 430px) {
  #hero {
    height: 310px;
  }
  #hero .catch {
    bottom: 40px;
  }
  .home #hero {
    height: 277px;
  }
  .home #hero .hero-image {
    width: 93%;
    top: 12%;
    transform: translateX(-51%);
    border-radius: 0;
  }
  #hero .hero-content .location {
    margin-top: 230px;
  }

}