@charset "utf-8";

/* **************************************************

CSS Information
File Name : hc.css
Style Info: 和歌山大学総合相談窓口  固有のスタイル指定
Date: 2023-03-20

************************************************** */
/* --------------------------------------------------
	共通ヘッダー
-------------------------------------------------- */
#globalHeader {
  padding: 10px 0;
}

#globalHeader .subHeader {
  margin: 5px 0 8px;
}

#globalHeader #siteID {
  padding: 0;
}

#globalHeader #siteID img {
  width: 280px;
  height: auto;
}

#headerSearch,
#btnTargetNavi {
  display: none !important;
}

#globalHeader .headerNavi {
  width: 560px !important;
}

/*	Responsive Settings
-------------------------------------------------- */
@media screen and (max-width: 640px) {
  #globalHeader {
    position: relative;
    padding: 10px 0 0;
  }

  #globalHeader .subHeader {
    margin-bottom: 10px;
  }

  #globalHeader #siteID {
    max-width: 160px;
    margin: 0 auto;
    padding: 0 0 15px;
  }

  #globalHeader #headerSearch {
    width: 100%;
    margin-right: -80px;
  }

  #globalHeader #headerSearch form {
    width: auto;
    margin-right: 80px;
  }

  #globalHeader .headerNavi {
    width: 100% !important;
  }
}

/* --------------------------------------------------
	共通フッター
-------------------------------------------------- */
#globalFooter .footerAddress {
  text-align: left;
}

#globalFooter .footerAddress dt img {
  width: 160px;
}

@media screen and (max-width: 640px) {
  #globalFooter .footerAddress {
    text-align: center;
  }
}

/* --------------------------------------------------
	グローバルナビ
-------------------------------------------------- */
#gNavi li {
  width: 50%;
}

/* --------------------------------------------------
	サイドテキストバナー
-------------------------------------------------- */
.sideTextBanner li .block {
  font-size: 1.3rem !important;
  line-height: 1.3;
}

.sideTextBanner li .block .bannerTitle {
  padding-left: 8px;
}

.sideTextBanner li .block .bannerTitle span {
  padding-right: 0;
}

.sideTextBanner li .block .thumb img {
  width: 50px;
  height: 50px;
}

/* --------------------------------------------------
	サイドテキスト
-------------------------------------------------- */
.sideText .piece {
  margin-bottom: 20px;
}

.sideText .pieceHeader {
  padding: 0;
  background: #00f;
  border-bottom: 3px solid #82756d;
  border-radius: 5px 5px 0 0;
  line-height: 1.3;
  color: #fff;
}

.sideText .pieceHeader h2 {
  display: block;
  padding: 15px 0 12px 10px;
  font-size: 1.5em;
}

.sideText .pieceBody {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 1.3em;
}

.sideTextList {
  margin: 8px 0;
}

.sideTextList p {
  padding: 8px 0;
}

.sideTextList p span {
  padding: 4px 8px;
}

/* --------------------------------------------------
	スマートフォン用サイドメジャー ナビ
-------------------------------------------------- */
#sideMajorNavi {
  margin-top: 20px;
}

/* --------------------------------------------------
	汎用Class
-------------------------------------------------- */
.pcOnly {
  display: block !important;
}

.spOnly {
  display: none !important;
}

/*	Responsive Settings
-------------------------------------------------- */
@media screen and (max-width: 640px) {
  .pcOnly {
    display: none !important;
  }

  .spOnly {
    display: block !important;
  }

  .body .btn a {
    padding-right: 30px;
    padding-left: 30px;
  }
}

/* --------------------------------------------------
	.categoryListExt - カテゴリーリスト（全幅）
-------------------------------------------------- */
.categoryListExt li {
  width: 700px !important;
}

/* --------------------------------------------------
	トップページ
-------------------------------------------------- */
/*	メインカラム
-------------------------------------------------- */
.column1 #main {
  float: none;
  width: 100%;
}

/*	メインビジュアル
-------------------------------------------------- */
#mainVisual {
  text-align: center;
}

#mainVisual .inner {
  width: 1000px;
}

#mainVisual img {
  width: 100%;
}

/*	キャンパスライフ?健康支援センターについて
-------------------------------------------------- */
.about {
  margin-top: 24px;
}

.about h2 {
  min-height: 20px;
  line-height: 20px;
  margin: 0 0 24px;
  font-size: 2em;
  font-weight: bold;
}

.about .icon-color {
  color: #6ab5d9 !important;
}

.about .articleBody {
  border-top: 1px solid #ddd;
  padding-top: 14px;
  padding-bottom: 14px;
}

.about p {
  font-size: 1.5em;
  line-height: 2;
  margin: 0.75em 0;
}

@media screen and (max-width: 640px) {
  .about .articleBody {
    padding: 10px 15px;
  }

  .about p {
    font-size: 1.4em;
  }
}

/* 相談窓口一覧
-------------------------------------------------- */
/* 見出し */
.gcs-heading {
  background-color: rgba(0, 174, 157, 1) !important;
  background-image: none !important;
  border-radius: 0.5rem !important;
  color: #fff;
  font-size: 1.8rem !important;
}

.contactList {
  display: flex;
  flex-wrap: wrap;
  list-style: none !important;
  margin: 0 !important;
  gap: 32px;
}

.contactList ul,
.contactList p {
  margin-bottom: 0 !important;
}

.contactList > li {
  width: calc((100% - 64px) / 3);
  background-color: #fff;
  border: 1px solid #333;
  box-sizing: border-box;
  border-radius: 0.8rem;
}

.contactList li .heading {
  margin: 0 !important;
  padding: 12px 16px 12px 16px;
  background-color: rgba(0, 174, 157, 0.6) !important;
  background-image: none;
  border-radius: 0.8rem 0.8rem 0 0;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  text-align: center;
}

.contactList li .content {
  padding: 1.6rem;
  box-sizing: border-box;
}

.contactList li .content > *:first-child {
  margin-top: 0 !important;
}

.contactList li ul {
  margin-top: 2rem;
  margin-left: 0;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.contactList li li {
  list-style: none;
  display: inline-flex;
  margin: 0.8rem 0 0;
}

.contactList li li:before {
  content: "";
  flex-shrink: 0;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  margin-right: 0.4rem;
  border: 1px solid #333;
  border-radius: 50%;
}

.contactList li li:first-child {
  margin-top: 0;
}

.contactList li p {
  margin-top: 0.8rem;
  margin-left: 1.6rem;
  text-indent: -1.2em;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
}

.contactList li p + p {
  margin-top: 0.6rem;
}

.contactList li p span {
  padding-left: 1.6rem;
  background: url(https://www.wakayama-u.ac.jp/_common/themes/wakayama-u/tmpl-img/ico_arrow04.png)
    no-repeat left center / 1.2rem;
}

.contactList li p a {
  text-decoration: none;
}

.contactList li li a:hover {
  color: #008080;
  text-decoration: underline;
}

.contactList li .email-container + span {
  display: block;
  background: none;
}

.contentPage .email-container {
  margin-left: 1.6rem;
  padding-right: 1.6rem;
  background: url(https://www.wakayama-u.ac.jp/_common/themes/wakayama-u/tmpl-img/ico_hnavi.png)
    no-repeat right center;
  background-position: right -245px;
}

.contentPage .email-container span {
  margin-top: 0.4rem;
  padding-left: 0 !important;
  background: none;
}

.body .externalLink_w {
  padding-right: 20px;
  background: transparent url("../tmpl-img/ico_external_link01_w.png") no-repeat
    scroll right center;
}

/*	Responsive Settings
-------------------------------------------------- */
@media screen and (min-width: 320px) and (max-width: 640px) {
  .contactList {
    margin: 0;
    gap: 16px;
  }

  .contactList > li {
    width: 100%;
  }

  .contactList li .content {
    padding: 12px;
    height: auto !important;
  }
}

/* 相談窓口：ページ下部ボタン
-------------------------------------------------- */
.gcs-btn {
  margin-top: 2.4rem;
}

.gcs-btn__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3.2rem;
  list-style: none !important;
}

.gcs-btn__item {
  font-size: 2rem;
}

.gcs-btn__item a {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 1.6rem !important;
  background-color: rgba(0, 174, 157, 0.3) !important;
  color: #fafdff !important;
  border: 1px solid #333;
}

.gcs-btn__item span {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 1.6rem;
  color: #0070c0 !important;
}

@media screen and (max-width: 640px) {
  .gcs-btn {
    margin-top: 1.6rem;
  }

  .gcs-btn__list {
    flex-direction: column;
    gap: 0;
    margin-left: 0 !important;
  }

  .gcs-btn__item {
    font-size: 1.8rem;
  }

  .gcs-btn__item a {
    padding: 1.4rem 0.8rem !important;
  }

  .gcs-btn__item span {
    font-size: 1.5rem;
  }
}

/* 相談窓口：ページ下部テキスト
-------------------------------------------------- */
.gcs-footer-info {
  color: #ff0000;
}

/* 全体のフォントサイズ調整
-------------------------------------------------- */
html {
  font-size: 75%;
}

/* テキストリンクとメールアイコン横並び
-------------------------------------------------- */
.gcs-link__image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-right: 0 !important;
  background-image: none !important;
  background-color: #f5f5f5 !important;
  border: 1px solid #ddd;
  padding: 4px 6px !important;
  margin-left: 0.8rem !important;
  border-radius: 4px;
}

.gcs-link__image:hover {
  opacity: 0.75;
}

.gcs-link__image img {
  width: 14px;
  margin-left: auto !important;
}
