@charset "utf-8";
.rank_area {
  box-shadow: 0px 0px 3px silver;
  border: solid 1px whitesmoke;
  padding: 0.5em 1em;
  position: relative;
  background: #fafafa;
  margin: 1em auto 2em;
}
.rank_area .rank_title {
  border-bottom: 1px solid #000;
  display: inline-block;
}
.ranking {
  counter-reset: rank;
  list-style: none;
  padding: 0;
}
.ranking li {
  position: relative;
  padding-left: 2.5em;
  margin-bottom: 1rem;
  box-sizing: border-box;
  display: block;
}
/* .ranking li:not(:last-child) {
  margin-bottom: 2em;
} */
.ranking li:nth-child(-n + 3)::before {
  /* 王冠のスタイル */
  font-family: "Font Awesome 6 Free";
  content: "\f521";
  font-weight: 900;
  position: absolute;
  top: 50%; /* 王冠の位置（縦軸） */
  left: -0.2rem; /* 王冠の位置（横軸） */
  font-size: 2.3em; /* 王冠の大きさ */
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.ranking li:nth-child(1)::before {
  /* 1位（王冠）のスタイル */
  color: #e6c300;
}
.ranking li:nth-child(2)::before {
  /* 2位（王冠）のスタイル */
  color: #a9a9a9;
}
.ranking li:nth-child(3)::before {
  /* 3位（王冠）のスタイル */
  color: #815a2b;
}
.ranking li::after {
  /* 順位（文字）のスタイル */
  counter-increment: rank;
  content: counter(rank) " 位";
  position: absolute;
  color: #fff;
  letter-spacing: -0.1em;
  top: 60%;
  bottom: 0;
  left: 0.8em;
  font-size: 0.7em;
  -webkit-transform: translateY(-60%);
  -ms-transform: translateY(-60%);
  transform: translateY(-60%);
}
.voices ul {
  border: solid 1px whitesmoke;
  padding: 0.5em 1em 0.5em 2.3em;
  position: relative;
  background: #fafafa;
  margin-bottom: 0;
}

.voices ul li {
  line-height: 1.5;
  padding: 0.5em 0;
  list-style-type: none !important;
}

.voices ul li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0da";
  position: absolute;
  left: 1em; /*左端からのアイコンまで*/
  color: gray; /*アイコン色*/
}

/*inputを非表示 & 閉じた時の位置調整*/
.open-box {
  position: relative;
}
input[type="checkbox"].on-off {
  position: absolute;
  top: 50%;
  display: block;
  opacity: 0;
}

/*ラベル（「開く」ボタン）*/
.open-label {
  max-width: 80%;
  margin: 0 auto;
  padding: 0.3em 0.8em;
  display: block;
  color: #785094;
  font-weight: bold;
  text-align: center;
  position: relative;
}
/*ボタンっぽい効果*/
.open-label:active {
  box-shadow: 0 0 0 0;
}
.open-label:hover {
  /* background: -webkit-linear-gradient(bottom, #fff4e0 1%,orange 80%);
  background: #fcbe11; */
  opacity: 0.8;
}
/*ラベルに表示するテキスト*/
.open-label::after {
  content: "▼ もっと見る ▼";
}
.on-off:checked ~ .open-label::after {
  content: "▲ 閉じる ▲";
}

/*開閉エリア*/
.open {
  /* padding: 1em; */
  box-sizing: border-box;
  border-radius: 8px;
  height: 300px;
  overflow: hidden;
  transition: 0.5s;
  position: relative;
}
.on-off:checked ~ .open {
  padding: 1.5em 0 0;
  margin-bottom: 0;
  height: auto;
}
/*開閉エリアにぼかしを乗せる*/
.open::before {
  content: "";
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 1) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}
/*開いたらぼかしを消す*/
.on-off:checked ~ .open::before {
  background: none;
  z-index: -1;
}

/* 先輩の声 */
#qanda .card-body .secondCommentBox {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto auto;
  width: 100%;
  gap: 0.8em;
  border: none;
  background: none;
  border-radius: 0;
  position: relative;
  z-index: 0;
}
#qanda .card-body .secondCommentBox::before,
#qanda .card-body .secondCommentBox::after {
  display: none;
}
#qanda .card-body .secondCommentBox p {
  display: inline-block;
}
#qanda .card-body .secondCommentBox .clm02 {
  display: flex;
  justify-content: space-between;
  box-sizing: border-box;
  flex-wrap: wrap;
  align-items: center;
}
#qanda.voice .card-body {
  background-color: #f0f8ff;
}
#qanda.voice .card-header h5 a::after {
  color: #28a3ca;
}

/*生協購入囲み枠*/
.model {
  margin: 0 auto 1em;
  padding: 0.3em 1em;
  background-color: #f5f7fe; /* 背景色 */
  border-radius: 1px; /*ボックス角の丸み*/
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); /*ボックス影*/
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  display: inline-block;
}
.model.win {
  background-color: #d4d9dc;
  color: #708090;
}
.model.surface {
  background-color: #bbdbf3;
  color: #333;
}
.model.mac {
  background-color: #e0b5d3;
  color: #c70067;
}
.model .model-title {
  color: #666; /* タイトル文字色 */
  font-size: 10px;
  font-weight: bold;
  margin-right: 0.3em;
}
.model .model-title:before {
  font-family: "Font Awesome 5 Free";
  content: "\f109";
  font-size: 12px;
  font-weight: 900;
  margin: 0 3px 0 0;
  font-weight: bold;
}
/* ########### 991px(lg)以下 ########### */
@media (max-width: 991px) {
}
/* ########### 575px(sm)以下 ########### */
@media (max-width: 575px) {
}
.point {
  box-shadow: 0px 0px 3px silver;
  border: solid 2px #ee3232;
  padding: 1rem;
}
.point ul {
  margin: 1rem 0;
  padding: 0;
}
.point ul li {
  line-height: 1.5;
  padding: 0.5em 0 0 1.3em;
  list-style-type: none !important;
  position: relative;
}
.point ul li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f00c";
  position: absolute;
  left: 0; /*左端からのアイコンまで*/
  color: #ee3232; /*アイコン色*/
}
@media only screen and (min-width: 1001px) {
  .ranking li {
    font-size: 1.4em;
    margin-bottom: 1.5em;
  }
  .ranking li:not(:last-child) {
    margin-bottom: 2em;
  }
  .open-label {
    max-width: 60%;
  }
  .model {
    font-size: 1rem;
    margin: 0;
  }
  .model .model-title {
    font-size: 0.8em;
  }
  .commonAccordionList .clm02,
  .flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
/* commonAccordionList
-------------------------------------------------------------------*/
.commonAccordionList {
  margin: 0;
  padding: 0;
  border-top: 1px solid #999;
  border-right: 1px solid #999;
  border-left: 1px solid #999;
  background: #fff;
}
.commonAccordionList > dt {
  color: #000;
  font-size: 1.175rem;
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
  padding: 1.2em 1em;
  border-bottom: 1px solid #999;
  cursor: pointer;
  position: relative;
}
.commonAccordionList > dt::after {
  content: "";
  display: block;
  width: 23px;
  height: 23px;
  position: absolute;
  top: calc(50% - 12px);
  right: 2%;
  background-image: url("/new_comer/img/common/common_accordion_open2022.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.commonAccordionList > dt.active::after {
  background-image: url("/new_comer/img/common/common_accordion_close2022.svg");
}
.commonAccordionList > dd {
  margin: 0;
  padding: 1.5em 1em;
  background: #e9dfe5;
  border-bottom: 1px solid #999;
}
.question dt {
  position: relative;
  padding: 1.5em 1em 1.5em 2.5em;
}
.question dt::before {
  position: absolute;
  left: 1em;
  content: "Q";
  /* margin-right:1em; */
  color: #785094;
}
.question > dd {
  padding: 1.5em 3em;
}
.question h4 {
  color: #000;
  position: relative;
  padding-left: 1.5em;
}
.question h4::before {
  content: "A";
  /* margin-right:1em; */
  color: #785094;
  position: absolute;
  left: 0;
}

@media only screen and (max-width: 1000px) {
  .commonAccordionList > dt {
    padding-right: 55px;
  }
  .commonAccordionList > dt::after {
    top: calc(50% - 6px);
  }
  .commonAccordionList > dd {
    padding: 5px 1em;
  }
}
/* 同志社女子大学カラー */
.page_pc-dw .midashi:first-letter {
  color: #da69a4;
}
.page_pc-dw #qanda.voice .card-body {
  background-color: #fdeff2;
}
.page_pc-dw #qanda.voice .card-header h5 a::after {
  color: #da69a4;
}

/* 学部ボタン */
#Mokuji #mokujimenu li::before {
  left: -1rem;
}
#mokujimenu{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap: 0.6rem;
  width:fit-content;
  margin:0 auto;
  padding:0;
}
#mokujimenu li a{
  padding: 0.2em 0.5em;
}
#Mokuji #mokujimenu{
  gap: 0.6rem 2rem;
}
#Mokuji #mokujimenu li::before {
  left: -1rem;
}

/* 吹き出し */
.arrow_box{
  position:relative;
  width:fit-content;
  height:auto;
  background:#ddd;
  padding:16px;
  text-align:left;
  color:#666;
  border-radius:10px;
  -webkit-border-radius:10px;
  -moz-border-radius:10px;
}
.arrow_box:after{
  border: solid transparent;
  content:'';
  height:0;
  width:0;
  pointer-events:none;
  position:absolute;
  border-color: rgba(0, 153, 255, 0);
  border-top-width:8px;
  border-bottom-width:8px;
  border-left-width:16px;
  border-right-width:16px;
  margin-top: -10px;
  border-right-color:#ddd;
  right:100%;
  top:2em;
}
.arrow_box-blue{
  background:#D4EDF4;
}
.arrow_box-blue:after{
  border-right-color:#D4EDF4;
}
.arrow_box-pink{
  background:#f8e6f0;
}
.arrow_box-pink:after{
  border-right-color:#f8e6f0;
}
