/* works top */
.section_top{
  background-image: url("../img/works/works_top.jpg");
  background-size: cover;
  background-repeat: no-repeat;/*画像が繰り返すのを防ぐ*/
  width: 100%;
  height: 590px;
  margin: auto;
  margin-top: var(--header);
  max-width: 1040px;
  position: relative;
  text-align: center;
}
.section_top::before{
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.5;
}

.section_top h1{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Orbitron", sans-serif;
  font-size:3.0rem;
  font-weight:600;
  line-height: 4.0rem;
  letter-spacing:5px;
  color:#000;
}
/* works top end */
/* works */
#section_works {
  background: linear-gradient(to right,
      #a7ecfc 0%,
      /* 左端の水色 */
      #9ddffb 33%,
      /* 徐々に淡くなる水色 */
      #8ccaf7 66%,
      /* 中央に近い淡い青 */
      #7bb6f2 100%
      /* 右端の青 */
    );
  width: 100%;
  height: 100%;
  margin: auto;
  max-width: 1040px;
  position: relative;
  text-align: center;
  /* overflow-y: scroll; */
  border-top: 10px solid #80A6D6;
  border-bottom: 10px solid #80A6D6;
}

.section_works__h1 {
  background-image: url("../img/top/top_sub03.png");
  background-size: contain;
  background-repeat: no-repeat;
  /*画像が繰り返すのを防ぐ*/
  /* position: absolute; */
  /* top: 0px; */
  /* left: 50px; */
  margin: 20px;
  width: 300px;
  height: 60px;
}

.section_works__h1 h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 3.0rem;
  position: absolute;
  top: 40px;
  left: 70px;
}

#section_works h2 {
  /* position: absolute; */
  /* top: 90px; */
  /* left: 40px; */
  text-align: left;
  padding: 40px 40px 20px 40px;
  /* padding-top: 40px; */
  /* padding-left: 40px; */
  font-size: 2.4rem;
}
#section_works p {
  /* font-size: 1.2rem; */
}
#section_works h3 {
  padding-top: 80px;
  padding-left: 40px;
  font-size: 2.4rem;
}

.section_works__grid {
  /* position: absolute; */
  /* top: 150px; */
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 20px;
  max-width: 100%;
  width: 100%;
}
.section_works__grid li{
  list-style:none;
}
.section_works__grid a{
  color: #000;
}
.section_works__grid img {
  width: 250px;
}
/* More ボタン */
.more-btn{
  /*  
  font-size: 2.4rem;
  font-family: "Orbitron", sans-serif;
  background-color:#80A6D6;
  color: #fff;
  border: 2px solid #000;
  border-radius: 30px;

  padding: 10px;
  margin: 10px auto;
  width: 200px;
  text-align:center;
  */
  position: relative;
  display: inline-block;
  padding: 5px 40px;
  margin: 20px;
  text-decoration: none;
  color: #fff;
  background: #7bb6f2;/*背景色*/
  border-bottom: solid 2px #80A6D6;/*少し濃い目の色に*/
  border-radius: 20px;/*角の丸み*/
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
  font-weight: bold;
}
.more-btn:hover{
  cursor: pointer;
}
.more-btn:active{
  border-bottom: solid 2px #7bb6f2;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

/* More ボタン end */

@media (min-width:500px) {
  .section_works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:700px) {
  .section_works__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section_works__grid p {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.8rem;
  text-align: left;
  width: 80%;
  margin: 0 auto;
  padding: 0 0 0 0px;
}

.section_works__grid p span {
  font-weight: bold;
}

@media (min-width:700px) {

  .section_works__grid p {
    padding: 0 0 0 20px;
  }
}

/* スマホ版 */
@media (max-width:500px) {
  #section_works {
    text-align: center;
    border-top: 5px solid #80A6D6;
    border-bottom: 5px solid #80A6D6;
  }
  .section_works__h1{
    /* top: 20px; */
    left: 22%; 
  }
  #section_works h2 {
    /* position: absolute; */
    /* top: 120px; */
    /* left: 40%; */
    text-align: center;
    font-size: 2.4rem;
    padding: 60px 0px 60px 0px;
  }
  .section_works__grid {
    /* top: 200px; */
    grid-gap: 10px;
    row-gap: 30px;
  }

  #section_works h3 {
    /* text-align: left; */
    /* font-size: 2.8rem; */
    /* text-align: left; */
    padding-top: 30px;
    padding-left: 0px;
    /* padding: 5px 0 10px 0px; */
  }
  .works_space{
    display: none;
    list-style-type: none;
  }
  .section_works__grid p {
    width: 60%;
    padding: 0 0 0 10px;
  }
}

@media (max-width:450px) {
  #section_works {
    /* height: 600px; */
  }
}

/* スマホ版 end*/
/* etc */
.section_etc {
  background-image: url(/img/top/etc_bg.jpg);
  background-size: contain;
  /* background-color: rgba(255, 255, 255, 0.8); */
  /* background-blend-mode: lighten; */
  /* background-size: cover; */
  margin: auto;
  max-width: 1040px;
  position: relative;
}
.section_etc li{
  list-style: none;
}
.section_etc__lauout {
  padding-left: 5%;
  padding-top: 10%;
  padding-bottom: 10%;
  width: 90%;
}

.section_etc h1 {
  text-align: left;
  font-size: 3.0rem;
  font-weight: bold;
}

.section_etc h2 {
  text-align: left;
  padding: 20px 0px 5px 10px;
  font-size: 1.6rem;
  font-weight: bold;
}

.section_etc p {
  text-align: left;
  padding: 0px 0px 10px 10px;
  font-size: 1.4rem;
}
.section_etc a{
  color: #000;
}
/* More ボタン etc ver*/
.more-btn_etc{
  position: absolute;
  left: 40%;
  padding: 5px 40px;
  margin: 20px;
  text-decoration: none;
  color: #fff;
  background: #7bb6f2;/*背景色*/
  border-bottom: solid 2px #80A6D6;/*少し濃い目の色に*/
  border-radius: 20px;/*角の丸み*/
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.2), 0 2px 2px rgba(0, 0, 0, 0.19);
  font-weight: bold;
}
.more-btn_etc:hover{
  cursor: pointer;
}
.more-btn_etc:active{
  border-bottom: solid 2px #7bb6f2;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.30);
}

/* More ボタン end */
@media (max-width:500px) {
  .section_etc__lauout {
    padding: 10px 10px 40px 10px;
    width: 90%;
  }

  .section_etc h1 {
    text-align: center;
    padding: 20px 0px;
  }

  .section_etc h2 {
    /* text-align: center; */
  }

  .section_etc p {
    /* text-align: center; */
  }
  .more-btn_etc{
    bottom: 10px;
    left: 30%;
  }
}
/* etc end */
/* mahoroba_arch */
.section_mahoroba_arch {
  background-image: url(/img/top/mahoroba.jpg);
  background-size: cover;
  width: 100%;
  height: 600px;
  margin: auto;
  max-width: 1040px;
  text-align: center;
  position: relative;
}
.section_mahoroba_arch div{
  width: 40%;
  background-color: rgba(255, 255, 255, 0.8);
  border: 3px solid black;
  border-radius: 20px;
  /* 水平・垂直方向の中央揃え */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.section_mahoroba_arch h1{
  font-size: 2.4rem;
  font-family: "Orbitron", sans-serif;
  padding: 20px 0px 10px 0px;
}
.section_mahoroba_arch p{
  font-size: 1.6rem;
  padding: 10px 0px 10px 0px;
}
.section_mahoroba_arch img{
  width: 50%;
  padding: 10px 0px 20px 0px;
}

/* スマホ版 */
@media (max-width:500px) {
  .section_mahoroba_arch {
    height: 500px;
    /* text-align: center; */
  }
  .section_mahoroba_arch div{
    width: 70%;
  }
}

/* スマホ版 end*/
