

/*共通*/
.bg_yellow { background-color: #fffdeb; }
.secTtl { text-align: center; margin-bottom: 1.5em; }


/* mainArea */
#mainArea { background: url("../img/taiwa/bg_deco_main.png") no-repeat center top / 100%; }
.mainTtl { position: relative; }


/* mainArea */
  .scBox > * { position: absolute; }
  .sc01 { top: 30px; left: -40px; }
  .sc02 { bottom: -40px; left: 0; }
  .sc03 { top: 30px; right: -20px; }
  .sc04 { bottom: -60px; right: 0; }

/* サポート制度 */
#choose-support { margin-top: 120px; padding: 4em; background-color: #fff0e1; border: 10px solid #ffdcb6; position: relative; }
#choose-support .secTtl { margin-bottom: 0; }
#choose-support .secTtl img { width: 95%; max-width: 480px; }
#choose-support .s-plan-list { margin: 40px auto; }
#choose-support .s-plan-list li { width: 48%; }
#choose-support .btn { margin-top: 2em; }
#choose-support .btn a { display: inline-block; min-width: 280px; padding: .5em 1em; background-color: #45341d; color: #fff; text-align: center; border-radius: 50px; }

/*about*/
#about { background: url("../img/taiwa/bg_deco_about.png") no-repeat top center /100%; }
#about .secTtl { margin-bottom: 1em; padding-bottom: 1em; position: relative; line-height: 1.4;  }
#about .secTtl::before { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    background: url("../img/taiwa/deco_ttl.png") no-repeat center; width: 53px; height: 16px; }
#about .txt { font-size: .9em; }


/*features*/
#features { position: relative; }
#features::before,#features::after { content: ""; position: absolute; }
#features::before { background: url("../img/taiwa/deco_fe_01.png") no-repeat; width: 191px; height: 154px; top: -5%; left: 2%; }
#features::after { background: url("../img/taiwa/deco_fe_02.png") no-repeat; width: 80px; height: 122px; bottom: -10%; right: 0; }

.feaList li { overflow: hidden; text-align: center; width: 23%; background: #fff; border-radius: 10px; position: relative; }
.feaList li::before {content: "";
    position: absolute;bottom: 0; right: 0;
    border: 10px solid transparent;
    border-bottom: 10px solid #fff100;
    border-right: 10px solid #fff100;}

.feaList li h3 { margin: 1em auto .5em; padding-top: 2em; font-size: 1.2em; font-weight: bold; position: relative; }
.feaList li h3::before { content: ""; position: absolute; top: 0; left: 50%;
    transform: translateX(-50%); -webkit-transform: translateX(-50%);
    background: url("../img/taiwa/icon_meal.png") no-repeat center; width: 36px; height: 32px; }
.feaList li:nth-child(2) h3::before { background-image: url("../img/taiwa/icon_safety.png"); }
.feaList li:nth-child(3) h3::before { background-image: url("../img/taiwa/icon_room.png"); }
.feaList li:nth-child(4) h3::before { background-image: url("../img/taiwa/icon_facility.png"); }
.feaList li h3+p { margin: 1em; font-size: .87em; }

.icon_school li { width: 48%; padding-left: 3em; margin-bottom: 2em; position: relative; }
.icon_school li::before { content: ""; position: absolute; top: 50%; left: 0;
    width: 3em; height: 3em;
    transform: translateY(-50%); -webkit-transform: translateY(-50%); 
    background: url("../img/taiwa/icon_hotel.png") no-repeat center left; }
.icon_school li:nth-child(2)::before { background-image: url("../img/taiwa/icon_cooking.png"); }
.icon_school li:nth-child(3)::before { background-image: url("../img/taiwa/icon_sweets.png"); }
.icon_school li:nth-child(4)::before { background-image: url("../img/taiwa/icon_eiyou.png"); }



/*areamap*/
#areamap { background: url("../img/taiwa/deco_are_03.png") no-repeat top 5% right 13%,url("../img/taiwa/deco_are_02.png") no-repeat top 6% left 10%,url("../img/taiwa/deco_are_04.png") no-repeat bottom 5% right 5%; }

#areamap .secTtl { position: relative; }
#areamap .secTtl::before { content: ""; position: absolute; bottom: -45%; left: 9%; background: url("../img/taiwa/deco_are_01.png") no-repeat; width: 144px; height: 131px; }

.bnr_topics_member { padding-bottom: 100px; }


/*bukken*/
#bukken { padding: 80px 0; background:#fffdeb url("../img/taiwa/bg_deco.png") repeat-y top center / 100%; }

/*男子学生寮*/
.bukkenList.mens, .bukkenList.mens .conList dd { border-color: #41a1be; }
.bukkenList.mens .ttlBox { border-bottom-color:#41a1be; }
.bukkenList.mens .ttlBox .cat, .bukkenList.mens .conList dt { background:#41a1be; }
.bukkenList.mens .conList .tbl th { color: #41a1be; }


.bukkenList { margin-bottom: 30px; padding: 30px; background: #fff; border: 3px solid #ffa749; }
.bukkenList .ttlBox { border-bottom:3px solid #ffa749; }
.bukkenList .ttlBox .ttl { font-size: 1.5em; font-weight: bold; }
.bukkenList .ttlBox .cat { display: inline; margin: 0 auto; padding: .5em 1em; font-weight: bold; background: #ffa749; color: #fff; font-size: .8em; }

.slider,.thumbnail_slider { position: relative; width: 80%; margin: 0 auto 10px; }
.slider img { width: 100%; }
.thumbnail_slider li { margin: 0 2px; }
.thumbnail-item img { width: 98%; margin: 0 auto; }
.thumbnail_slider .slick-current { background: #000; }
.thumbnail_slider .slick-current img { opacity: .5; }
.slick-arrow { z-index: 10; position: absolute; top: 50%; outline: none;
  width: 50px; height: 50px; background: #fff; border-radius: 100%; border: 1px solid #ccc; }
.slick-arrow::after { 
    content: "";
    position: absolute; top: 50%; left:50%;
    width: 13px; height: 22px;
    background: url("/img/arrow.png") no-repeat center; 
    transform: translate(-50%,-50%); }
.slick-prev::after { transform:scale(-1,1) translate(50%,-50%); }
.slick-next { right: -70px; }
.slick-prev { left: -70px; }

.osusume { margin: 20px auto; }
.osusume .tbl { width: 100%; border-top: none; }
.osusume th,.osusume td { padding: .5em; }
.osusume th { width: 36%; background: #b4769e; color: #fff; }
.osusume th span { position: relative; padding-left: 4em; }
.osusume th span::before { content: ""; position: absolute; top: 50%; left: 0; transform: translateY(-50%); background: url("../img/taiwa/ico_school.png") no-repeat center ; width: 50px; height: 51px; }
.osusume td { background:#fffafa; }
.icoList li { margin-right: 1em; width: 15%; }

.conList::after { display: none; }
.conList .row { margin-bottom: 1em; }
.conList dt { padding: .5em 1em; background: #ffa749; color: #fff; font-weight: bold; cursor: pointer; position:relative; }

.conList dt::before,.conList dt::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); }
.conList dt::after { right: 1em; width: 15px; height: 2px; background: #fff; }
.conList dt::before { right: 1.45em; width: 2px; height: 15px; background: #fff; }
.conList dt.active::before { display: none; }

.conList dd { padding: 1em; border:1px solid #ffa749; }
.conList .tbl { border-top: none; }
.conList .tbl th { width: 26%; color: #ffa749; font-weight: bold; }
.conList .tbl th, .conList .tbl td { padding: .5em; }
.conList .row.access .tbl { width: 100%; max-height: 300px; }
.conList .row.access .map { width: 100%; padding-bottom: 0; }
.conList .row.access .map iframe { width: 100%; height: 300px; }

.ac_center { text-align: center; margin: 40px auto; }
.ac_center > p { margin-bottom: 40px; }

.btn_con { display: block!important; }
.btn_con a { border-radius: 0!important; }

/*link*/
.linkList li { width: 100%; margin-bottom: 3%; }




/* レスポンシブ */
@media screen and (min-width: 1025px) {
 .scBox > * { width: 29%; }
}
@media screen and (min-width: 600px) {
  
#choose-support .dead_line { margin: 0; }  
#choose-support .txt { text-align: center; }  
#choose-support::before { content: ""; position: absolute; top: -40px; left: 1em; width: 21.8%; padding-top: 21.8%; background: url("../img/taiwa/bnr-support-deadline.png") no-repeat center / contain; }

/*bukken*/
.bukkenList .ttlBox .ttl { float: left; }
.bukkenList .ttlBox .cat { float: right; }

.conList dd { display: block; }
.conList .row.access .tbl { width: 50%; max-height: 240px; font-size: .9em;}
.conList .row.access .map { width: 45%; }


/*link*/
#link { background: url("../img/taiwa/deco_link.png") no-repeat top left ; }
.linkList li { width: 48%; margin-bottom: 2%; }



}


/* 960px以上 */
@media screen and (min-width: 959px) {
  
  
  /*features*/
  .icon_school { width: 80%; margin: 0 auto; }

}


/* 960px以下 */
@media screen and (max-width: 960px) {
  #mainArea { padding-bottom: 0; }
  .scBox { position: absolute; width: 100%; top: 0; bottom: 0; 
  /*display: flex; flex-wrap: wrap; justify-content: space-between; position: relative; bottom: 50px*/}
  .scBox > * { width: 32%; }
  .sc01 { top: -10px; left: -10px; }
  .sc02 { width: 29%; bottom: -70px; left: 0; }
  .sc03 { width: 29%; top: -10px; }
  .sc03 { width: 29%; top: -10px; }
  
}

/* スマホ */
@media screen and (max-width: 599px) {

  /* mainArea */
  #mainArea { padding-bottom: 0; }
  .Ttl { padding:5% 12% 0; }
  .scBox {bottom: 30px; }
  .sc01 { top: -20px; left: -10px; width: 36%; }
  .sc02 { bottom: -70px; left: -10px; width: 32%; }
  .sc03 { top: -20px; right: 0; width: 32%; }
  .sc04 { bottom: -70px; right: -10px; width: 33%; }
  
  /* サポート制度 */
  #choose-support { padding: 1em; }
  #choose-support .secTtl { margin-bottom: .5em; }
  #choose-support .s-plan-list li { width: 95%; margin: auto; }
  #choose-support .s-plan-list li:last-child { margin-top: 1.2em; }
  
  
  #about { padding-top: 80px; }
  
  
  /* features */
  #features::before{ background-size: 40%; }
  #features::after { bottom: 0; width: 50px; }
  .feaList li { width: 48%; margin-bottom: 1em; }
  
  
  /*areamap*/
  #areamap { 
      background-size: 25%,6%,15%;
      background-position: top 3% right, top 5% left 5% , bottom 5% right 5%;
  }
  #areamap .secTtl::before { display: none; }
  .icon_school li { width: 100%; }
  
  
  /* bukken */
  .bukkenList { padding: 20px; }
  .bukkenList .ttlBox .cat { padding: .2em 1em 0.3em; }
  .bukken_txt { font-size: .8em; }
  
  .slider,.thumbnail_slider { width: 100%; }
  .slick-arrow { display: none!important; }
  
  .osusume th,.osusume td { display: block; width: 100%; }
  .osusume th { padding: .5em; }
  .osusume td { padding: 10px; }
  .osusume th span { padding-left: 3em; }
  .osusume th span::before { background-size: 50%;}
  .conList .tbl { font-size: .8em; }
  .conList .tbl th { text-align:left; width: 26%; }
  .conList .row.access .map { margin-top: 20px; }
  .conList .row.access .map iframe { height:250px; }
  
  
  
  
}




