/*------------------------------------------------------------
学部別カラーセット
------------------------------------------------------------*/
.single .btn_categoryColor {
  color: #fff !important;
}

.single.departmentCategory_art .btn_categoryColor,
.single.departmentCategory_gs_art .btn_categoryColor {
  background-color: var(--artColor) !important;
  border: 1px solid var(--artColor) !important;
}

.single.departmentCategory_art .btn_categoryColor:hover,
.single.departmentCategory_gs_art .btn_categoryColor:hover {
  color: var(--artColor) !important;
  border: 1px solid var(--artColor) !important;
}

.single.departmentCategory_art .btn_categoryColor:hover svg,
.single.departmentCategory_gs_art .btn_categoryColor:hover svg {
  fill: var(--artColor) !important;
}

.single.departmentCategory_art h2.department,
.single.departmentCategory_gs_art h2.department {
  color: var(--artColor) !important;
}

.single.departmentCategory_art h3::before,
.single.departmentCategory_gs_art h3::before {
  background-color: var(--artColor) !important;
}

.single.departmentCategory_art .p02 li::before,
.single.departmentCategory_gs_art .p02 li::before {
  color: var(--artColor) !important;
}

.single.departmentCategory_sciences .btn_categoryColor,
.single.departmentCategory_gs_sciences .btn_categoryColor {
  background-color: var(--sciencesColor) !important;
  border: 1px solid var(--sciencesColor) !important;
}

.single.departmentCategory_sciences .btn_categoryColor:hover,
.single.departmentCategory_gs_sciences .btn_categoryColor:hover {
  color: var(--sciencesColor) !important;
  border: 1px solid var(--sciencesColor) !important;
}

.single.departmentCategory_sciences .btn_categoryColor:hover svg,
.single.departmentCategory_gs_sciences .btn_categoryColor:hover svg {
  fill: var(--sciencesColor) !important;
}

.single.departmentCategory_sciences h2.department,
.single.departmentCategory_gs_sciences h2.department {
  color: var(--sciencesColor) !important;
}

.single.departmentCategory_sciences h3::before,
.single.departmentCategory_gs_sciences h3::before {
  background-color: var(--sciencesColor) !important;
}

.single.departmentCategory_sciences .p02 li::before,
.single.departmentCategory_gs_sciences .p02 li::before {
  color: var(--sciencesColor) !important;
}

.single.departmentCategory_intl .btn_categoryColor,
.single.departmentCategory_gs_intl .btn_categoryColor {
  background-color: var(--intlColor) !important;
  border: 1px solid var(--intlColor) !important;
}

.single.departmentCategory_intl .btn_categoryColor:hover,
.single.departmentCategory_gs_intl .btn_categoryColor:hover {
  color: var(--intlColor) !important;
  border: 1px solid var(--intlColor) !important;
}

.single.departmentCategory_intl .btn_categoryColor:hover svg,
.single.departmentCategory_gs_intl .btn_categoryColor:hover svg {
  fill: var(--intlColor) !important;
}

.single.departmentCategory_intl h3::before,
.single.departmentCategory_gs_intl h3::before {
  background-color: var(--intlColor) !important;
}

.single.departmentCategory_intl .p02 li::before,
.single.departmentCategory_gs_intl .p02 li::before {
  color: var(--intlColor) !important;
}

.single.departmentCategory_gs_peace .btn_categoryColor {
  background-color: var(--peaceColor) !important;
  border: 1px solid var(--peaceColor) !important;
}

.single.departmentCategory_gs_peace .btn_categoryColor:hover {
  color: var(--peaceColor) !important;
  border: 1px solid var(--peaceColor) !important;
}

.single.departmentCategory_gs_peace .btn_categoryColor:hover svg {
  fill: var(--peaceColor) !important;
}

.single.departmentCategory_gs_peace h2.department {
  color: var(--peaceColor) !important;
}

.single.departmentCategory_gs_peace h3::before {
  background-color: var(--peaceColor) !important;
}

.single.departmentCategory_gs_peace h4 {
  color: var(--peaceColor) !important;
}

.single.departmentCategory_gs_peace .p02 li::before {
  color: var(--peaceColor) !important;
}

.single .departmentOther .btn_categoryColor {
  background-color: #aaa29f !important;
  border: 1px solid #aaa29f !important;
}

.single .departmentOther .btn_categoryColor:hover {
  color: #aaa29f !important;
  border: 1px solid #aaa29f !important;
}

.single .departmentOther .btn_categoryColor:hover svg {
  fill: #aaa29f !important;
}

.single .departmentOther h3::before {
  background-color: #aaa29f !important;
}

.single .departmentOther .p02 li::before {
  color: #aaa29f !important;
}

/*------------------------------------------------------------
リセット
------------------------------------------------------------*/
.single .contentsHeader {
  margin-bottom: 125px;
}

.single.departmentCategory_art .contentsBody p,
.single.departmentCategory_gs_art .contentsBody p,
.single.departmentCategory_sciences .contentsBody p,
.single.departmentCategory_gs_sciences .contentsBody p,
.single.departmentCategory_intl .contentsBody p,
.single.departmentCategory_gs_intl .contentsBody p,
.single.departmentCategory_gs_peace .contentsBody p {
  display: flex;
  justify-content: space-between;
}

.single .p01 li::before {
  border-right: 2px solid var(--color) !important;
  border-bottom: 2px solid var(--color) !important;
}

.single .departmentOther {
  margin-top: 60px;
}

@media screen and (min-width: 768px) {
  .single .contentsBody p {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 767px) {
  .single .contentsHeader {
    margin-bottom: 60px;
  }

  .single.departmentCategory_art .contentsBody p,
  .single.departmentCategory_gs_art .contentsBody p,
  .single.departmentCategory_sciences .contentsBody p,
  .single.departmentCategory_gs_sciences .contentsBody p,
  .single.departmentCategory_intl .contentsBody p,
  .single.departmentCategory_gs_intl .contentsBody p,
  .single.departmentCategory_gs_peace .contentsBody p {
    display: block;
  }
}

/*------------------------------------------------------------
アコーディオン 設定
------------------------------------------------------------*/
.single .accordion {
  border-bottom: 1px solid #c7c7c7;
  margin-bottom: 20px;
}

.single .accordion.active {
  border-bottom: none;
}

.single .accordion .ac_btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: transparent;
  border-top: 1px solid #c7c7c7;
  line-height: 1;
  padding: 30px 15px 30px 15px;
  margin-bottom: 0;
  font-size: 1.8rem;
}

.single .accordion .ac_btn::after {
  content: '+';
  color: #6e612c;
  font-weight: normal;
  font-size: 20px;
}

.single .accordion .ac_btn.active::after {
  content: '-';
}

.single .accordion .ac_content {
  display: none;
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  .single .accordion .ac_btn {
    padding: 20px 15px 20px 15px;
  }
}

/*------------------------------------------------------------
ボタン
------------------------------------------------------------*/
.single .btnWrap.btn-center {
  text-align: center;
  display: block;
}

.single .btnWrap.btn-center .btnWrap-inner {
  text-align: left;
}

.single .btnWrap .btnWrap-inner {
  display: inline-block;
}

.single .btnWrap .btnWrap-inner .btn01 {
  text-decoration: none !important;
  white-space: nowrap;
}

.single .btnWrap .btnWrap-inner .btn01.btn_categoryColor {
  margin-left: 30px;
  margin-top: -1em;
}

.single .btnWrap .btnWrap-inner .btn01.btn_categoryColor svg {
  fill: #fff;
}

.single .btnWrap .btnWrap-inner .btn01.btn_categoryColor:hover {
  background-color: #fff !important;
}

.single .btnWrap .btnWrap-inner .btn01.btn_black {
  color: #fff !important;
  background-color: var(--color);
}

.single .btnWrap .btnWrap-inner .btn01.btn_black svg {
  filter: brightness(0) invert(1);
}

.single .btnWrap .btnWrap-inner .btn01.btn_black:hover {
  color: var(--color) !important;
  border: 1px solid var(--color) !important;
  background-color: #fff !important;
}

.single .btnWrap .btnWrap-inner .btn01.btn_black:hover svg {
  filter: brightness(0);
}

@media only screen and (max-width: 767px) {
  .single .btnWrap {
    display: block;
  }

  .single .btnWrap .btnWrap-inner .btn01 {
    text-decoration: none !important;
    padding: 8px 48px 8px 30px;
    height: auto;
    white-space: normal;
  }
  .single .btnWrap .btnWrap-inner .btn01.btn_categoryColor {
    margin-left: 0;
    margin-top: 20px;
  }
  .single .btnWrap .btnWrap-inner .btn01.btn_categoryColor svg {
    filter: brightness(0) invert(1);
  }
  .single .btnWrap .btnWrap-inner .btn01.btn_black {
    margin-left: 0;
  }
  .single .btnWrap .btnWrap-inner .btn01.btn_black svg {
    filter: brightness(0) invert(1);
  }
}

/*------------------------------------------------------------
タイトル
------------------------------------------------------------*/
.single h2.department {
  border-bottom: none !important;
  padding: 0 !important;
}

.single h3 {
  border-bottom: 1px solid var(--color);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5em 0 0.5em 1em;
  margin-bottom: 2em;
}

.single h3::before {
  content: '';
  display: block;
  height: 60%;
  width: 0.25em;
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.single h4 {
  color: var(--Color) !important;
}

@media screen and (min-width: 768px) {
  .single h2 {
    margin-bottom: 30px !important;
  }

  .single h4 {
    font-size: 26px;
  }
}

@media only screen and (max-width: 767px) {
  .single h2 {
    margin-bottom: 10px !important;
  }

  .single h4 {
    font-size: 13px;
  }
}

/*------------------------------------------------------------
リンク写真入りリストカード
------------------------------------------------------------*/
.single .contentsNavi {
  gap: 40px 0;
  margin-top: 0;
}

.single .contentsNavi li a {
  text-decoration: none;
}

@media screen and (min-width: 768px) {
  .single .contentsNavi {
    gap: 40px 0;
    margin-top: 0;
  }

  .single .contentsNavi li {
    flex: 0 0 32%;
    margin-right: 2%;
  }

  .single .contentsNavi li:nth-child(3n) {
    margin-right: 0 !important;
  }

  .single .contentsNavi li .thumb {
    height: auto;
    aspect-ratio: auto;
  }

  .single .contentsNavi li .thumb img {
    width: 100%;
  }
}

.single .contentsNavi._2col li {
  flex: 0 0 48%;
  margin-right: 4%;
}

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

.single .contentsNavi._2col .heading a {
  display: flex;
}

.single .contentsNavi._2col .heading .btnWrap .btnWrap-inner .btn01.btn_categoryColor {
  margin-top: 0;
}

.single .contentsNavi._2col li:nth-child(2n) {
  margin-right: 0 !important;
}

.single .contentsNavi._4col li {
  flex: 0 0 24%;
  margin-right: 1.2%;
}

.single .contentsNavi._4col li:nth-child(4n) {
  margin-right: 0 !important;
}

.single .contentsNavi._4col li:nth-child(3n) {
  margin-right: 1.2% !important;
}

@media only screen and (max-width: 767px) {
  .single .contentsNavi {
    max-width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 20px 0;
  }

  .single .contentsNavi li:nth-child(2n) {
    margin-right: 0 !important;
  }

  .single .contentsNavi li .thumb {
    height: auto;
    aspect-ratio: auto;
  }

  .single .contentsNavi._2col {
    display: block;
  }

  .single .contentsNavi._4col {
    max-width: 100%;
    margin: 0;
    justify-content: space-between;
    gap: 20px 0;
  }

  .single .contentsNavi._2col li {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .single .contentsNavi._4col li {
    flex-basis: 48.5%;
  }

  .single .heading {
    display: block;
    margin-bottom: 20px;
  }
}

/*------------------------------------------------------------
リストカード (番号付設定 contentsList.num)
------------------------------------------------------------*/
.single .contentsList {
  list-style: none !important;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
}

.single .contentsList li {
  display: block;
  width: 48%;
  margin-bottom: 3em;
}

.single .contentsList li:last-child {
  margin-bottom: 0;
}

.single .contentsList li :last-child {
  margin-bottom: 0;
}

.single .contentsList.num {
  margin-top: 0;
}

.single .contentsList.num li::before {
  display: block;
  font-size: 110px;
  line-height: 1;
  letter-spacing: -2px;
  margin-left: -10px;
  margin-bottom: 10px;
  font-weight: 600;
}

.single.departmentCategory_art .contentsList.num li::before {
  color: #f5e9e9;
}

.single.departmentCategory_sciences .contentsList.num li::before {
  color: #eaf2ed;
}

.single.departmentCategory_intl .contentsList.num li::before {
  color: #e9eef6;
}

.single .departmentOther .contentsList.num li::before {
  color: #e5e1db;
}

.single .contentsList.num li:nth-child(1)::before {
  content: '01';
}

.single .contentsList.num li:nth-child(2)::before {
  content: '02';
}

.single .contentsList.num li:nth-child(3)::before {
  content: '03';
}

.single .contentsList.num li:nth-child(4)::before {
  content: '04';
}

.single .contentsList.num li:nth-child(5)::before {
  content: '05';
}

.single .contentsList.num li:nth-child(6)::before {
  content: '06';
}

.single .contentsList.num li:nth-child(7)::before {
  content: '07';
}

.single .contentsList.num li:nth-child(8)::before {
  content: '08';
}

.single .contentsList.num li:nth-child(9)::before {
  content: '09';
}

.single .contentsList.num li:nth-child(10)::before {
  content: '10';
}

@media screen and (min-width: 768px) {
  .single .contentsList li:nth-last-child(2) {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 767px) {
  .single .contentsList li {
    width: 100%;
    margin-bottom: 3em;
  }
}

/*------------------------------------------------------------
イメージリストカード
------------------------------------------------------------*/
.single .imgList {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
  font-size: 0;
}

.single .imgList li {
  display: block;
  width: 32%;
  margin-right: 2%;
  margin-bottom: 15px;
}

.single .imgList li:nth-child(3n) {
  margin-right: 0 !important;
}

.single .imgList li img {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .single .imgList li:nth-last-child(1),
  .single .imgList li:nth-last-child(2),
  .single .imgList li:nth-last-child(3) {
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 767px) {
  .single .imgList li {
    width: 100%;
    margin-right: 0 !important;
  }
}

/*------------------------------------------------------------
学科?専攻_紹介
------------------------------------------------------------*/
.single .department_Major_info {
  padding-top: 60px;
  border-top: 4px solid var(--color);
  display: flex;
  justify-content: space-between;
}

/*イメージがない場合*/
.single .department_Major_info.noimg {
  display: block;
}

.single .department_Major_info.noimg .text-area {
  width: 100%;
}

/*トップラインがない場合*/
.single .department_Major_info.noline {
  border-top: none !important;
  padding-top: 0;
}

/*ボトムラインの場合*/
.single .department_Major_info.bottomline {
  border-top: none !important;
  border-bottom: 4px solid var(--color);
  padding-top: 0;
  margin-bottom: 60px;
}

.single .department_Major_info .text-area {
  width: 52%;
}

.single .department_Major_info .text-area strong,
.single .department_Major_info.noimg strong,
.single .department_Major_info.bottom strong {
  font-size: 3rem;
  margin-bottom: 30px;
  display: block;
}

.single .department_Major_info .text-area p {
  margin-bottom: 0;
  line-height: 2.3em;
}

.single .department_Major_info .img-area {
  list-style: none;
  font-size: 0;
  width: 45%;
}

.single .department_Major_info .img-area li {
  margin-bottom: 15px;
}

.single .department_Major_info .img-area li img {
  width: 100%;
}

.single .department_Major_info .img-area li:last-child {
  margin-bottom: 0;
}

@media only screen and (max-width: 767px) {
  .single .department_Major_info {
    padding-top: 30px;
    border-top: 2px solid var(--color);
    display: block;
  }
  /*
  .single .department_Major_info.topimg {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }

  .single .department_Major_info.topimg .text-area {
    width: 100%;
    order: 2;
  }

  .single .department_Major_info.topimg .img-area {
    width: 100%;
    order: 1;
  }*/

  .single .department_Major_info .text-area {
    width: 100%;
    margin-bottom: 20px;
  }

  .single .department_Major_info .img-area {
    width: 100%;
  }

  .single .department_Major_info .img-area li {
    margin-bottom: 10px;
  }

  .single .department_Major_info .text-area strong,
  .single .department_Major_info.noimg strong,
  .single .department_Major_info.bottom strong {
    font-size: 2rem;
  }
}

/*------------------------------------------------------------
専攻 メイン
------------------------------------------------------------*/

/*ボタンが入らない場合*/
.single .major-main.nobtn .img-area {
  padding-bottom: 0 !important;
}

.single .major-main h2 {
  display: block;
  font-size: 40px;
}

.single .major-main .img-area {
  font-size: 0;
  display: block;
  padding-bottom: 40px;
}

.single .major-main .img-area img {
  width: 100%;
}

@media only screen and (max-width: 767px) {
  .single .major-main h2 {
    font-size: 22px;
  }

  .single .major-main .img-area {
    padding-bottom: 30px;
  }
}

/*------------------------------------------------------------
澳门太阳城赌城_澳门赌博游戏推荐
------------------------------------------------------------*/

.single .postList a {
  text-decoration: none;
}
.single .postList a:hover .title {
  text-decoration: underline;
}

.postList .date {
  margin-left: 0;
}


/* *------------------------------------- */
/* *澳门太阳城赌城_澳门赌博游戏推荐へのリンクボタン追加 241125      */
/* *--------------------------------------*/

.contentsHeader {
  display: grid;
  grid-template-columns: calc((100% - var(--basew)) / 2) fit-content(47.5%) 1fr calc((100% - var(--basew)) / 2);
  grid-template-rows: auto 1fr auto auto; /* ここにボタン用の行を追加 */
  min-height: 564px;
  --gap: min(70px, 5.83vw);
  --enColor: var(--color);
}

.contentsHeader .breadcrumbs {
  grid-column: 1/-1;
  grid-row: 1/2;
  margin-bottom: 42px;
}

.contentsHeader h1 {
  grid-column: 2/-2;
  grid-row: 2/3;
  align-self: center;
  font-size: 4rem;
  line-height: 1.2;
}

.contentsHeader .department__btn_area {
  grid-column: 2/-2; /* h1 と同じ列範囲 */
  grid-row: 3/4; /* h1 と MVスライダーの間に配置 */
  margin-top: 20px; /* 上部のマージンを少し調整 */
  display: flex; /* ボタンを中央に配置するためのスタイル */
  justify-content: end;
}

.contentsHeader h1 .en {
  display: none;
  margin-top: 8px;
  color: var(--enColor);
  font-size: 2rem;
  font-weight: 400;
}

.contentsMv {
  grid-column: 2/-2;
  grid-row: 4/-1; /* スライダーは4行目から配置 */
  margin-top: 20px;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.contentsMv .slideItem .mvBg {
  width: 100%;
  height: 100%;
}

.contentsMv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contentsBody {
  max-width: var(--basew);
  width: 100%;
  margin: 80px auto 156px;
}

/* *------------------------------------- */
/* *ボタンがある場合のレスポンシブ           */
/* *--------------------------------------*/

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .breadcrumb {
    width: calc(100% - 40px);
  }

  .contentsHeader {
    grid-template-columns: 20px fit-content(47.5%) 1fr 20px;
  }

  .contentsBody {
    width: calc(100% - 40px);
  }
}

@media screen and (max-width: 767px) {
  .breadcrumbs {
    font-size: 1.2rem;
  }

  .breadcrumb {
    padding: 12px 0;
  }

  .btn01 {
    border-radius: 35px;
    height: 35px;
    padding-left: 30px;
    padding-right: 48px;
  }

  .btn01 .icon {
    right: 18px;
  }

  .btn01 .icon-arrow01 {
    width: 12px;
    height: 4px;
  }

  .btn01:active .icon {
    right: 8px;
  }

  .slideControllers {
    right: 10px;
    bottom: 10px;
    height: 30px;
    border-radius: 30px;
    padding-left: 6px;
    padding-right: 10px;
  }

  .slideControllers .btnControl {
    width: 24px;
    height: 24px;
  }

  .slideControllers .btnControl img {
    width: 100%;
  }

  .slideControllers ul {
    margin-left: 8px;
    column-gap: 10px;
  }

  .slideControllers ul li {
    width: 10px;
  }

  .slideControllers ul button {
    height: 10px;
  }

  /* 順番変更と重ならないように調整 */
  .contentsHeader {
    min-height: 0;
    grid-template-rows: auto auto auto auto; /* 4行のレイアウト */
    --gap: 0;
  }

  /* h1の位置 */
  .contentsHeader h1 {
    grid-row: 1/2; /* 1行目に配置 */
    margin-top: 20px;
    font-size: 2.2rem;
  }

  /* department__btn_area（ボタン）の位置 */
  .contentsHeader .department__btn_area {
    /* 2行目に配置 */
    /* grid-row: 2/3; */
    /* 4行目に配置 */
    grid-row: 4/5;
    margin-top: 0;
    text-align: center;
    justify-content: start;
  }

  .department__btn_area .btnWrap-inner {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .department__btn_area .btn01 {
    font-size: 1.4rem;
    height: 45px;
    padding-left: 30px;
    padding-right: 48px;
    border-radius: 40px;
  }

  .department__btn_area .btn01 .icon {
    right: 18px;
  }

  .single .btnWrap .btnWrap-inner .btn01.btn_categoryColor{
    margin-top: 0;
  }

  /* MVスライダーの位置 */
  .contentsMv {
    /* 3行目に配置 */
    /* grid-row: 3/4; */
    grid-row: 2/3; /* 2行目に変更 */
    max-height: 102px;
    height: 27.2vw;
    margin-top: 20px;
  }

  /* パンくずリストの位置 */
  .contentsHeader .breadcrumbs {
    /* 4行目に配置 */
    /* grid-row: 4/5; */
    grid-row: 3/4; /* 3行目に変更 */
    margin-bottom: 15px;
  }

  .contentsHeader h1 .en {
    margin-top: 4px;
    font-size: 1.4rem;
  }

  .contentsBody {
    margin-top: 50px;
    margin-bottom: 100px;
  }
}
