@charset "UTF-8";
/****************************
BASE CSS READING 
****************************/
/*---------------------------------
Theme Name: 香川大学
Description: PCファースト
Author:
Author URI:
Version: 210303
----------------------------------*/

/* ---------------------------------------------
　elements initialization 
------------------------------------------------ */
.sdgs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.sdgs-list .sdgs-list-item{
  width: 25%;
  margin-bottom: 30px;
  font-weight: bold;
  padding: 0 1.3%;
}

/*
.sdgs-list .sdgs-list-item:nth-child(4n) {
  margin-right: 0;
}
*/

.sdgs-list .sdgs-list-item a:hover,a:active { 
  color:#666666; text-decoration:none; 
}


/*.sdgs-list-item-img {
  width: 100%;
}*/

.sdgs_newicon {
  width:100%;
  height:auto;
  position:relative;
}
.sdgs_newicon::after {
  display:block;
  content:'';
  width:100%;
  height:0;
  padding-top:70%;
}
.sdgs_newicon img {
  position:absolute;
  top:0;
  left:0;
  display:block;
  width:100%;height:100%;
  object-fit:cover;
  object-position:center;
  background:#eee;
}

.none {
  display: none;
}
/* ---------------------------------------------
　もっとみるボタン
------------------------------------------------ */
.sdgs-list {
  flex-wrap: wrap;
  margin: 40px -20px 0;
  display: flex;
}
/*.sdgs-list li {
  box-sizing: border-box;
  margin: 0 10px 20px;
  text-align:center;
  background:#C5CAE9;
  padding:10px;
  opacity: 1;
  height:auto;
  flex-basis: calc(33.33333% - 20px);
  max-width: calc(33.33333% - 20px);
  transition: all .4s ease 0s;
  overfllow:hidden;
}*/
.sdgs-list li.is-hidden {
  visibility: hidden;
  opacity: 0;
  height: 0;
  margin: 0 10px;
  padding:0;
}
.sdgs-list-btn {
  text-align: center;
  margin-top: 20px;
}
.sdgs-list-btn button {
  background-color: #5C6BC0;
  border: none;
  cursor: pointer;
  outline: none;
  color:#fff;
  padding: 0;
  line-height: 40px;
  width: 160px;
  border-radius: 20px;
}

/* ------------------------------------------------ */

.sdgs-logo {
  width: 18%;
  margin: 10px 0;
}

.sdgs-logo-list2 {
  margin: 0px 0px 0 0;
}

.sdgs-logo.none {
  display: none;
}


.search-box_label {
  font-weight: bold;
}
.is-hide {
  display: none;
}

input[type=radio].hide-radiobtn{
  display: none;
}

.search-box-sdgs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.search-box-sdgs label{
  display: inline-block;
  width: 10%;
  margin-left: 1%;
  margin-top: 20px;
  border: 2px solid #fff;
  padding: 4px;
}
input[type=radio]:checked + label {
  border: 2px solid #84ae60;
  padding: 4px;
  transition: .8s;
}

.search-box-sdgs label:hover {
  cursor: pointer;
}

.search-box-kinds,
.search-box-department {
  margin-top: 15px;
}

.search-box-kinds input[type=checkbox],
.search-box-department input[type=checkbox] {
  margin-right: 5px;
  margin-left: 2%;
}

.search-box-kinds label,
.search-box-department label {
  font-size: 18px;
  font-weight: bold;
}

.search-box-kinds label:hover,
.search-box-department label:hover {
  cursor: pointer;
}

.search-box-department .search-box-department-title {
  font-size: 20px;
  font-weight: bold;
  color: #84ae60;
}

.search-box-sdgslogo {
  image-rendering: -webkit-optimize-contrast;
}

.sdgs_newicon{
  position: relative;
}
.sdgs_newicon_text {
  position: absolute;
  top: 0px;
  left: 0px;
  margin-top: 0px!important;
  padding: 0 5px;
  color: #fff;
  display: none;
}
.sdgs_newicon_text.is-show{
  display: inline-block;
}
.sdgs_newicon_backgroundcolor {
  background-color: #C8101A;
}


/* ------------------------------------------------------
 アコーディオン
-------------------------------------------------------*/
.accordion {
  margin: 0 auto 3em;
  /*max-width: 60vw;*/
  }
  .accordion .toggle {
  display: none;
  }
  .accordion .option {
  position: relative;
  margin-bottom: 1em;
  /* border: 2px solid #84ae60; */
  }
  .accordion .title,
  .accordion .accordion-content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
  }
  .accordion .title {
  border: solid 2px #84ae60;
  padding: 1em;
  display: block;
  color: #333;
  font-weight: bold;
  }
  .accordion .title:hover {
    cursor: pointer;
  }
  .accordion .title::after,
  .accordion .title::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 60px;
  height: 60px;
  background-color: #fff;
  transition: all 0.3s;
  background: #84ae60 url(/themes/kagawa_sdgs/images/icon_arrow_w_under.png) no-repeat center;
  }
  .accordion .title::before {
    
  }
  .accordion .title::after {
  /* transform: rotate(90deg); */
  display:none;
  background: #84ae60 url(/themes/kagawa_sdgs/images/icon_arrow_b_up.png) no-repeat center;
  }
  .accordion .accordion-content {
  max-height: 0;
  overflow: hidden;
  }
  .accordion .accordion-content p {
  margin: 0;
  padding: 0.4em 1em 0.2em;
  font-size: 20px;
  line-height: 1.5;
  }
  .accordion .toggle:checked + .title + .accordion-content {
  max-height: 1180px;
  transition: all 1.5s;
  }
  .accordion .toggle:checked + .title::after {
  display:none;
  }
  .accordion .toggle:checked + .title::before {
  transform: rotate(180deg) !important;
  }

/* ------------------------------------------------------
 グーグルサイト内検索
-------------------------------------------------------*/
div#___gcse_0 {
  margin-top: -40px;
}

table.gsc-search-box td.gsc-input,
table.gsc-search-box td.gsc-search-button,
table#gs_id50 td {
  border: none;
}

.container table#gs_id50 {
  margin-top: 0px;
}

/* ------------------------------------------------------
 2カラムの設定
-------------------------------------------------------*/
.grid-6 {
  width: 690px;
}

/* ------------------------------------------------------
 フッター設定
-------------------------------------------------------*/
.footer {
  margin-top: 100px;
}

/* ------------------------------------------------------
 詳細記事ページの設定
-------------------------------------------------------*/
.ccm-social-share {
  display: none;
}

.clear {
  clear: both;
}

.sdgs-icon {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
}

.sdgs-icon li {
  margin-right: 10px;
  width: 12%;
}

.sdgs-icon li:first-child {
  width: 14%;
}

.sdgs-icon li:only-child {
  display:none;
}

.sdgs-icon li:last-child a,
.sdgs-icon-button a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0.5em 1em;
  width: 100%;
  color: #333333;
  font-size: 18px;
  font-weight: 700;
  border: 2px solid #84ae60;
}

.sdgs-icon-button a {
  width: 40%;
}

.sdgs-icon li:last-child a::after,
.sdgs-icon-button a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #333333;
  border-right: 3px solid #333333;
  transform: rotate(45deg);
}

.sdgs-icon li:last-child a:hover,
.sdgs-icon-button a:hover {
  color: #fff;
  text-decoration: none;
  background-color: #84ae60;
}

.sdgs-icon li:last-child a:hover::after,
.sdgs-icon-button a:hover::after {
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
}

/*
.asmillerGalleria_wrapper {
  pointer-events: none;
}
*/

/* ------------------------------------------------------
 sp設定
-------------------------------------------------------*/

@media only screen and (max-width:1024px){

  .container h1 {
    font-size: 186%;
    font-weight: bold;
    margin: 20px 0 0;
    padding: 0 0 10px 10px;
    border-bottom: 3px solid #ccc;
  }

  .search-box-sdgs label {
    width: 23.7%;
  }

  /* ------------------------------------------------------
  アコーディオン
  -------------------------------------------------------*/
  .accordion .title {
    margin: 0 5px;
  }

  .sdgs-list {
    margin-left: 3%;
    margin-right: 0%;
  }

  .sdgs-list .sdgs-list-item {
    width: 46%;
    margin-right: 4%;
    padding: 0;
  }

  /* ------------------------------------------------------
  詳細記事ページの設定
  -------------------------------------------------------*/
  .sdgs-icon li {
    width: 15%;
  }

  .sdgs-icon li:first-child {
    width: 18%;
  }

}

/*---------------------------------

PCのみ（960px～）

----------------------------------*/
@media print, screen and (min-width: 960px) {

  .sp {
    display: none;
  }

  a[href^="tel:"] {
    pointer-events: none;
    font-weight: normal;
    color: inherit;
    text-decoration: none !important;
  }
  /*-- ここまで --*/

  /* ------------------------------------------------------
 image galleryの設定
-------------------------------------------------------*/
  /*
  .asmillerGalleria_wrapper img {
    max-width: 50%;
  }
  
  .asmillerGalleryBlock {
    width: 50%;
    margin-top: 30px;
  }
  .asmillerMainImage.asmillerGalleria_container {
    height: 517px!important;
  }
  .asmillerGalleria_wrapper {
    margin-top: -333px;
  }
  */
  .asmillerGalleryBlock {
    margin-top: 30px;
  }

  .sdgs-icon li:last-child {
    margin-left: auto;
    margin-right: 0px;
  }
}


