@charset "UTF-8";

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

PC設定

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

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

#contents .midashi{
  margin-bottom: 3rem;
}
#contents .midashi h2{
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  margin: 0 auto 4rem;
}
#contents .midashi h2::after{
  content: url(images/dot.svg);
  width: 100px;
  display: inline-block;
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
}
#contents .midashi h2 .small{
  font-size: 32px;
}
#contents .midashi h2 .big{
  font-size: 42px;
  position: relative;
}
#contents .midashi .text{
  font-size: 16px;
  text-align: center;
  display: block;
  width: 70%;
  margin: 0 auto;
}

/* ----------------------------------------------
points
------------------------------------------------*/
#contents .timing{
  background: url(images/bg.svg);
  padding: 4rem 0;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

#contents .timing h2{
  font-size: 24px;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
  text-align: center;
}
#contents .timing 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 .timing .inner{
  padding: 1rem;
  margin-bottom: 2rem;
}
#contents .timing .inner.reverce .flex{
  flex-direction: row-reverse;
}
#contents .timing .inner:not(.reverce){
  background-color: #fff;
}
#contents .timing .inner h3{
 font-size: 24px;
 padding: .5rem 1rem .5rem 2rem;
 border-bottom: 2px solid #e8e29d;
 border-image: linear-gradient(to left,#e8e29d,#885d1e);
 border-image-slice: 1;
 position: relative;
 margin-bottom: 1rem;
}
#contents .timing .inner h3::before{
 content: "";
 display: inline-block;
 width: 1rem;
 height: 100%;
 background: linear-gradient(to bottom,#e8e29d,#885d1e);
 position: absolute;
 left:0 ;
 top: 0;
}
#contents .timing .inner .flex{
 align-items: stretch;
 justify-content: space-between;
}
#contents .timing .inner .flex .text{
 width: 55%;
 padding: .5rem;
}
#contents .timing .inner .flex figure{
 width: 45%;
}

/* ----------------------------------------------
summarize
------------------------------------------------*/
#contents .summarize{
  background: url(images/sec07.jpg) center/cover no-repeat;
  position: relative;
  z-index: 1;
  margin-bottom: 6rem;
}
#contents .summarize .textarea{
  width: 60%;
  background: linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.9) 10%,rgba(255,255,255,1) 100%);
  margin-left: auto;
  padding: 5rem 3rem;
}
#contents .summarize .textarea .text{
 max-width: 560px;
 margin-left: 7vw;
}
#contents .summarize .textarea .big{
  font-size: 24px;
  display: inline-block;
  text-align: center;
  margin: 2rem 0 0 7vw;
}
#contents .summarize .textarea .big span{
  font-size: 24px;
  display: block;
}
#contents .summarize .textarea .big span:nth-of-type(2){
  margin-left: 4em;
}


@media all and (min-width: 769px) and (max-width: 1000px) {
  #contents .timing .inner .flex{
    align-items: stretch;
    justify-content: space-between;
    flex-direction: column;
   }
   #contents .timing .inner.reverce .flex{
    flex-direction: column;
  }
   #contents .timing .inner .flex .text{
    width: 100%;
    padding: .5rem;
    order: 2;
   }
   #contents .timing .inner .flex figure{
    width: 80%;
    margin:0 auto 1rem;
    order: 1;
   }
  #contents .summarize .textarea{
    width: 80%;
  }  
}
}

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

pad設定

------------------------------------------------*/
@media all and (min-width: 520px) and (max-width: 769px) {
  /* ----------------------------------------------
topImage
------------------------------------------------*/
#under_page  #topImage {
  background: url(images/topImage.jpg) center 45%/cover no-repeat;
}
#under_page  #topImage h1{
  padding:1rem 2rem;
}

#contents .midashi{
  margin-bottom: 3rem;
}
#contents .midashi h2{
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  margin: 0 auto 4rem;
}
#contents .midashi h2::after{
  content: url(images/dot.svg);
  width: 100px;
  display: inline-block;
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
}
#contents .midashi h2 .small{
  font-size: 32px;
}
#contents .midashi h2 .big{
  font-size: 42px;
  position: relative;
}
#contents .midashi .text{
  font-size: 16px;
  text-align: center;
  display: block;
  width: 70%;
  margin: 0 auto;
}

/* ----------------------------------------------
points
------------------------------------------------*/
#contents .timing{
  background: url(images/bg.svg);
  padding: 4rem 0;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

#contents .timing h2{
  font-size: 24px;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
  text-align: center;
}
#contents .timing 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 .timing .inner{
  padding: 1rem;
  margin-bottom: 2rem;
}
#contents .timing .inner:not(.reverce){
  background-color: #fff;
}
#contents .timing .inner h3{
 font-size: 24px;
 padding: .5rem 1rem .5rem 2rem;
 border-bottom: 2px solid #e8e29d;
 border-image: linear-gradient(to left,#e8e29d,#885d1e);
 border-image-slice: 1;
 position: relative;
 margin-bottom: 1rem;
}
#contents .timing .inner h3::before{
 content: "";
 display: inline-block;
 width: 1rem;
 height: 100%;
 background: linear-gradient(to bottom,#e8e29d,#885d1e);
 position: absolute;
 left:0 ;
 top: 0;
}
#contents .timing .inner .flex{
 align-items: stretch;
 justify-content: space-between;
 flex-direction: column;
}
#contents .timing .inner .flex .text{
  width: 100%;
  padding: .5rem;
  order: 2;
}
#contents .timing .inner .flex figure{
  width: 80%;
  margin:0 auto 1rem;
  order: 1;
}

/* ----------------------------------------------
summarize
------------------------------------------------*/
#contents .summarize{
  background: url(images/sec07.jpg) center/cover no-repeat;
  position: relative;
  z-index: 1;
  margin-bottom: 6rem;
}
#contents .summarize .textarea{
  width: 80%;
  background: linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.9) 10%,rgba(255,255,255,1) 100%);
  margin-left: auto;
  padding: 5rem 3rem;
}
#contents .summarize .textarea .text{
 max-width: 560px;
 margin-left: 7vw;
}
#contents .summarize .textarea .big{
  font-size: 24px;
  display: inline-block;
  text-align: center;
  margin: 2rem 0 0 7vw;
}
#contents .summarize .textarea .big span{
  font-size: 24px;
  display: block;
}
#contents .summarize .textarea .big span:nth-of-type(2){
  margin-left: 4em;
}


}

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

sp設定

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

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

#contents .midashi{
  margin-bottom: 3rem;
}
#contents .midashi h2{
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  margin: 0 auto 4rem;
}
#contents .midashi h2::after{
  content: url(images/dot.svg);
  width: 100px;
  display: inline-block;
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
}
#contents .midashi h2 .small{
  font-size: 18px;
}
#contents .midashi h2 .big{
  font-size: 24px;
  position: relative;
}
#contents .midashi .text{
  font-size: 16px;
  text-align: center;
  display: block;
  width: 80%;
  margin: 0 auto;
}

/* ----------------------------------------------
points
------------------------------------------------*/
#contents .timing{
  background: url(images/bg.svg);
  padding: 2rem 0;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

#contents .timing h2{
  font-size: 20px;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
  text-align: center;
}
#contents .timing 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 .timing .inner{
  padding: 1rem;
}
#contents .timing .inner:not(.reverce){
  background-color: #fff;
}
#contents .timing .inner h3{
 font-size: 20px;
 padding: .5rem 1rem .5rem 2rem;
 border-bottom: 2px solid #e8e29d;
 border-image: linear-gradient(to left,#e8e29d,#885d1e);
 border-image-slice: 1;
 position: relative;
 margin-bottom: 1rem;
}
#contents .timing .inner h3::before{
 content: "";
 display: inline-block;
 width: 1rem;
 height: 100%;
 background: linear-gradient(to bottom,#e8e29d,#885d1e);
 position: absolute;
 left:0 ;
 top: 0;
}
#contents .timing .inner .flex{
  flex-direction: column-reverse;
  align-self: center;
}
#contents .timing .inner .flex .text{
 width: 100%;
 padding: .5rem;
}
#contents .timing .inner .flex figure{
  width: 90%;
  margin:0 auto .5rem;
}

/* ----------------------------------------------
summarize
------------------------------------------------*/
#contents .summarize{
  background: url(images/sec07.jpg) center/cover no-repeat;
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}
#contents .summarize .textarea{
  width: 100%;
  background: linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,.9) 20%,rgba(255,255,255,1) 100%);
  margin-left: auto;
  padding:2rem;
}
#contents .summarize .textarea .text{
}
#contents .summarize .textarea .big{
  font-size: 20px;
  display: inline-block;
  text-align: center;
  margin: 2rem 0 0;
}
#contents .summarize .textarea .big span{
  font-size: 20px;
  display: inline-block;
}
#contents .summarize .textarea .big span:nth-of-type(2){
  /* margin-left: 4em; */
}

}
