@charset "UTF-8";

/* ----------------------------------------------

PC設定

------------------------------------------------*/
@media all and (min-width: 769px) {

/* ----------------------------------------------
topImage
------------------------------------------------*/
#under_page #topImage {
  background: url(images/topImage.jpg) center 70%/cover no-repeat;
}
#under_page #topImage h1{
  padding:1rem 2rem;
}


/* ----------------------------------------------
result
------------------------------------------------*/
#contents .result{
  background: linear-gradient(to bottom,rgba(255,255,255,0.95),rgba(255,255,255,0.95)),url(../images/under_bg.svg) center/contain repeat;
  text-align: center;
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}
#contents .result h2{
  font-size: 24px;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}
#contents .result h2::after{
  content: url(/images/title_under.svg);
  width: 100px;
  display: inline-block;
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
#contents .result .inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
#contents .result .inner .box{
  width: 48%;
  padding: 0 1rem 2rem;
  margin-bottom: 5rem;
  text-align: left;
  position: relative;
  background: linear-gradient(to right, #ececec 0%, #ececec 10%,#fefefe 40%,#dfdfdf 90%,#cccccc 100%);
}

#contents .result .inner .box::after{
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: -1;
}
#contents .result .inner .box .type{
  font-size: 18px;
  padding:.5rem 1rem;
  background: linear-gradient(to right, #e8e29d 0%, #885d1e 100%);
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
  margin-left:-1rem ;
}
#contents .result .inner .box .name{
  font-size: 24px;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #000;
  margin-bottom: 1rem;
}
#contents .result .inner .box .text{
  font-size: 16px;
  padding: 0.5rem;
  border-bottom: 1px solid #000;
  margin-bottom: 2rem;
}
#contents .result .inner .box .imgarea{
  align-items: center;
  justify-content: space-between;
}
#contents .result .inner .box .imgarea figure:not(.arrow){
  width: 46%;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}
#contents .result .inner .box .imgarea figure.before figcaption{
  padding:.2rem 1rem;
  background: #fff;
}
#contents .result .inner .box .imgarea figure.after figcaption{
  padding:.2rem 1rem;
  background: linear-gradient(to right, #e8e29d 0%, #885d1e 100%);
  color: #fff;
}
#contents .result .inner .box .imgarea figure.arrow{
  width: 3%;
}

#contents .result .pagenation{
  padding-bottom: 2rem;
 }
 #contents .result .pagenation ul{
   justify-content: center;
   align-items: center;
 }
 #contents .result .pagenation ul li{
   font-size: 20px;
   border: 1px solid #e8e29d;
   border-image: linear-gradient(to left,#e8e29d,#885d1e);
   border-image-slice: 1;
   background-color: #fff;
   padding: .5rem 1rem;
 }
 #contents .result .pagenation ul li.active{
   background: linear-gradient(to left,#e8e29d,#885d1e);
 }
 #contents .result .pagenation ul li:not(:last-of-type){
  margin-right: .5rem;
 }
 @media all and (min-width: 769px) and (max-width: 899px) {
  #contents .result .inner .box{
    width: 100%;
  }
 }
}

/* ----------------------------------------------

pad設定

------------------------------------------------*/
@media all and (min-width: 520px) and (max-width: 769px) {

/* ----------------------------------------------
topImage
------------------------------------------------*/
#under_page #topImage {
  background: url(images/topImage.jpg) center 70%/cover no-repeat;
}
#under_page #topImage h1{
  padding:1rem 2rem;
}
/* ----------------------------------------------
result
------------------------------------------------*/
#contents .result{
  background: linear-gradient(to bottom,rgba(255,255,255,0.95),rgba(255,255,255,0.95)),url(../images/under_bg.svg) center/contain repeat;
  text-align: center;
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}
#contents .result h2{
  font-size: 24px;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}
#contents .result h2::after{
  content: url(/images/title_under.svg);
  width: 100px;
  display: inline-block;
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
#contents .result .inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
#contents .result .inner .box{
  width: 100%;
  padding: 0 1rem 2rem;
  margin-bottom: 3rem;
  text-align: left;
  position: relative;
  background: linear-gradient(to right, #ececec 0%, #ececec 10%,#fefefe 40%,#dfdfdf 90%,#cccccc 100%);
}

#contents .result .inner .box::after{
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: -1;
}
#contents .result .inner .box .type{
  font-size: 18px;
  padding:.5rem 1rem;
  background: linear-gradient(to right, #e8e29d 0%, #885d1e 100%);
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
  margin-left:-1rem ;
}
#contents .result .inner .box .name{
  font-size: 24px;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #000;
  margin-bottom: 1rem;
}
#contents .result .inner .box .text{
  font-size: 16px;
  padding: 0.5rem;
  border-bottom: 1px solid #000;
  margin-bottom: 2rem;
}
#contents .result .inner .box .imgarea{
  align-items: center;
  justify-content: space-between;
}
#contents .result .inner .box .imgarea figure:not(.arrow){
  width: 46%;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}
#contents .result .inner .box .imgarea figure.before figcaption{
  padding:.2rem 1rem;
  background: #fff;
}
#contents .result .inner .box .imgarea figure.after figcaption{
  padding:.2rem 1rem;
  background: linear-gradient(to right, #e8e29d 0%, #885d1e 100%);
  color: #fff;
}
#contents .result .inner .box .imgarea figure.arrow{
  width: 3%;
}

#contents .result .pagenation{
  padding-bottom: 2rem;
 }
 #contents .result .pagenation ul{
   justify-content: center;
   align-items: center;
 }
 #contents .result .pagenation ul li{
   font-size: 20px;
   border: 1px solid #e8e29d;
   border-image: linear-gradient(to left,#e8e29d,#885d1e);
   border-image-slice: 1;
   background-color: #fff;
   padding: .5rem 1rem;
 }
 #contents .result .pagenation ul li.active{
   background: linear-gradient(to left,#e8e29d,#885d1e);
 }
 #contents .result .pagenation ul li:not(:last-of-type){
  margin-right: .5rem;
 }
}

/* ----------------------------------------------

sp設定

------------------------------------------------*/
@media all and (max-width: 520px) {

/* ----------------------------------------------
topImage
------------------------------------------------*/
#under_page  #topImage {
  background: url(images/topImage.jpg) center 70%/cover no-repeat;
}
#under_page  #topImage h1{
  padding:1rem 2rem;
}

/* ----------------------------------------------
result
------------------------------------------------*/
#contents .result{
  background: linear-gradient(to bottom,rgba(255,255,255,0.95),rgba(255,255,255,0.95)),url(../images/under_bg.svg) center/contain repeat;
  text-align: center;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}
#contents .result h2{
  font-size: 22px;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}
#contents .result h2::after{
  content: url(/images/title_under.svg);
  width: 100px;
  display: inline-block;
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
#contents .result .inner{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#contents .result .inner .box{
  width: 90%;
  padding: 0 1rem 2rem;
  margin-bottom: 3rem;
  text-align: left;
  position: relative;
  background: linear-gradient(to right, #ececec 0%, #ececec 10%,#fefefe 40%,#dfdfdf 90%,#cccccc 100%);
}

#contents .result .inner .box::after{
  content: "";
  display: inline-block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: -1;
}
#contents .result .inner .box .type{
  font-size: 16px;
  padding:.5rem 1rem;
  background: linear-gradient(to right, #e8e29d 0%, #885d1e 100%);
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
  margin-left:-1rem ;
}
#contents .result .inner .box .name{
  font-size: 20px;
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #000;
  margin-bottom: .5rem;
}
#contents .result .inner .box .text{
  font-size: 14px;
  padding: 0.5rem;
  border-bottom: 1px solid #000;
  margin-bottom: 1rem;
}
#contents .result .inner .box .imgarea{
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#contents .result .inner .box .imgarea figure:not(.arrow){
  width: 90%;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}
#contents .result .inner .box .imgarea figure.before figcaption{
  padding:.2rem 1rem;
  background: #fff;
}
#contents .result .inner .box .imgarea figure.after figcaption{
  padding:.2rem 1rem;
  background: linear-gradient(to right, #e8e29d 0%, #885d1e 100%);
  color: #fff;
}
#contents .result .inner .box .imgarea figure.arrow{
  width: 10%;
    transform: rotate(90deg);
    margin-top: 1rem;
}

#contents .result .pagenation ul{
  justify-content: center;
  align-items: center;
}
#contents .result .pagenation ul li{
  font-size: 16px;
  border: 1px solid #e8e29d;
  border-image: linear-gradient(to left,#e8e29d,#885d1e);
  border-image-slice: 1;
  background-color: #fff;
  padding: .5rem 1rem;
}
#contents .result .pagenation ul li.active{
  background: linear-gradient(to left,#e8e29d,#885d1e);
}
#contents .result .pagenation ul li:not(:last-of-type){
 margin-right: .5rem;
}
}
