@charset "utf-8";

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * メイン
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* -------------------------------------------------------------------------------------------------
   * セクショニング
/* ---------------------------------------------------------------------------------------------- */

#main {}

#main-contents {}

#main-contents div.body {
  padding-left:20px;
  padding-right: 20px;
  margin: 0 auto;
}

#main-contents .column ~ .column {
  margin-top: 40px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {

 #main-contents div.body {
   max-width: 100%;
   padding-left:20px;
   padding-right: 20px;
   margin: 0 auto;
 }
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {

#main-contents > .section {
  padding-top: 2em;
  padding-bottom: 4em;
}

#main-contents div.body {
  max-width: 100%;
  padding:0 1em;
  margin: 0 auto;
}

#main-contents .column ~ .column {
  margin-top: 20px;
}

}

/* ****************************************************************************************************
   * ビジュアル
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

body.layout-lower
#visual {
  background: url("../../_images/compe/visual.jpg") no-repeat;
  background-size: cover;
  background-position: center;
}

/* ****************************************************************************************************
   * 学院の活動
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

.compe {
  position: relative;
  padding-top: 60px;
}

#gallery {
  padding-bottom: 100px;
}
#competition {
  background: var(--c-beige);
  padding-bottom: 100px;
}

.compe .body {
  max-width: 1120px;
  padding: 0 20px;
}

/* ----------------------------------------------------------------------------------------------------
   * タイトル
/* ------------------------------------------------------------------------------------------------- */

.compe .title-1 {
  font-size: 3.2rem;
  color: var(--c-green);
  line-height: 1.6;
  font-weight: 600;
  text-align: center;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .compe .title-1 {
    font-size: 2.4rem;
    color: var(--c-green);
    line-height: 1.6;
    text-align: center;
  }
}

/* ----------------------------------------------------------------------------------------------------
   * リスト
/* ------------------------------------------------------------------------------------------------- */

#gallery .layout-flex-4 {
  margin-top: 50px;
  justify-content: center;
  column-gap: 14px;
  row-gap: 14px;
}
#gallery .layout-flex-4 > * {
  width: 24%;
  padding: 0;
}
#gallery .layout-flex-4 > :nth-child(n+5) {
  margin-top: 0;
}

#gallery .layout-flex-4 .item {}
#gallery .layout-flex-4 .images {
  overflow: hidden;
  margin: 0 auto;
  transition: 0.6s;
  position: relative;
  height: 0;
  padding-top: 100%;
}

#gallery .layout-flex-4 .images img {
  transition: 0.6s;
  object-fit: cover;
  opacity: 1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  #gallery .layout-flex-4 {
    margin-top: 50px;
    justify-content: center;
    column-gap: 0;
    row-gap: 0;
  }
  #gallery .layout-flex-4 > * {
    width: 47%;
    padding: 0;
    margin: 0 1.5% 20px;
  }
}

/* ----------------------------------------------------------------------------------------------------
   * ページナビ
/* ------------------------------------------------------------------------------------------------- */

.compe .pagenav {
  justify-content: center;
}
.compe .pagenav li {
  line-height: 1.4;
  margin-bottom: 0;
  border-right: 1px solid var(--c-green);
}
.compe .pagenav li:first-child {
  border-left: 1px solid var(--c-green);
}
.compe .pagenav li a {
  margin: 0 20px;
  color: var(--c-green);
}

/* ----------------------------------------------------------------------------------------------------
   * 内容
/* ------------------------------------------------------------------------------------------------- */

.compe .inner {
  background: #fff;
  padding: 40px;
}
.compe .inner .title-1 {
  padding-bottom: 20px;
  border-bottom: 1px solid #d8cdad;
}
.compe .inner .title-2 {
  position: relative;
  font-size: 2.2rem;
  padding-left: 1.55em;
  font-weight: 600;
}
.compe .inner .title-2::before {
  content: "";
  display: block;
  background: url("../../_images/_common/nav-icon-1.png") no-repeat;
  width: 20px;
  height: 21px;
  position: absolute;
  top: 0;
  left: 0;
  margin-top: 13px;
}



.compe .inner .meta {}

.compe .inner .meta > * {
  display: flex;
  justify-content: flex-start;
}

.compe .inner .meta .title {
  width: 4em;
  margin-right: 2em;
  text-align: justify;
  text-align-last: justify;
}
.compe .inner .meta .text {
  width: 80%;
}



.compe .inner .layout-flex-4 {
  margin-top: 30px;
}
.compe .inner .layout-flex-4 .images {}
.compe .inner .layout-flex-4 .images img {
  display: block;
  margin: 0 auto;
}
.compe .inner .layout-flex-4 .caption {
  margin-top: 0.5em;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.4;
}


/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .compe .inner {
    background: #fff;
    padding: 20px;
  }
  
  .compe .inner .layout-flex-4 {
    margin-top: 30px;
  }
}
