/* top */
.section_top {
  background-image: url("../img/top/top01.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;
  width: 100%;
  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;
}

.section_top p {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: sans-serif;
  font-size: 2.0rem;
  letter-spacing: 5px;
  color: #000;
  width: 100%;
}

.sp {
  display: none;
}

.section_top__logo {
  display: grid;
  grid-template-rows: 200px;
  grid-template-columns: 20% 35% 35% 10%;
  position: relative;
}

.section_top__logo01 {
  grid-row: 1/2;
  grid-column: 2/3;
  position: absolute;
  top: 50px;
}

.section_top__logo01 img {
  width: 90px;
}

.section_top__logo02 {
  grid-row: 1/2;
  grid-column: 3/4;
  position: absolute;
  top: 50px;
  right: 0px;
}

.section_top__logo02 img {
  width: 120px;
}

@media (min-width:500px) {
  .section_top__logo {
    grid-template-rows: 200px;
    grid-template-columns: 50% 25% 20% 5%;
  }
}

@media (min-width:700px) {
  .section_top__logo {
    grid-template-rows: 200px;
    grid-template-columns: 60% 10% 25% 5%;
  }
}

@media (min-width:900px) {
  .section_top__logo {
    grid-template-rows: 200px;
    grid-template-columns: 70% 10% 15% 5%;
  }
}

/* スマホ版 */
@media (max-width:500px) {
  .section_top h1 {
    font-size: 2.5rem;
    width: 80%;
    font-weight: 600;
  }

  .section_top p {
    font-size: 1.6rem;
    width: 80%;
  }

  .sp {
    display: block;
  }
}

/* スマホ版 end */
/* top end */
/* concept */
.section_concept {
  background-image: url("../img/top/top02.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  /*画像が繰り返すのを防ぐ*/
  width: 100%;
  height: 900px;
  margin: auto;
  max-width: 1040px;
  position: relative;
}

.section_concept::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.5;
}

.concept01 {
  background-image: url("../img/top/top_sub01.png");
  background-size: contain;
  background-repeat: no-repeat;
  /*画像が繰り返すのを防ぐ*/
  position: absolute;
  top: 200px;
  width: 300px;
  height: 60px;
}

.concept01 h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 3.0rem;
  font-weight: 600;
  letter-spacing: 5px;
  position: absolute;
  top: 15px;
  left: 50px;
}

.concept02 {
  position: absolute;
  width: 100%;
  top: 55%;
  text-align: center;
}

.concept02 p {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  width: 74%;
  border-radius: 20px;
  left: 13%;
  padding: 20px;
  font-size: 3.0rem;
  font-weight: 600;
  line-height: 5.0rem;
}

/* スマホ版 */
@media (max-width:500px) {
  .section_concept{
    height: 590px;
  }
  .concept01 {
    top: 50px;
  }

  .concept02 {
    position: absolute;
    width: 100%;
    top: 250px;
    /* right: 12%; */
    /* top: 20%; */
    /* left: 30%; */
    transform: translate(-6%, 0%);
  }

  .concept02 p {
    font-size: min(4vw,1.8rem);
    line-height: 40px;
  }
}

/* スマホ版 end */
/* concept end*/
/* map */
.section_map {
  background-image: url("../img/top/top03.png");
  background-color: #fff;
  background-size: contain;
  background-repeat: no-repeat;
  /*画像が繰り返すのを防ぐ*/
  width: 100%;
  height: 600px;
  margin: auto;
  max-width: 1040px;
  position: relative;
}

@media (min-width:700px) {
  .section_map {
    height: 700px;
  }
}

@media (min-width:900px) {
  .section_map {
    height: 800px;
  }
}

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

.section_map__h1 h1 {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  position: absolute;
  top: 20%;
  left: 30%;
  font-size: 3.0rem;
  color: #000;
  font-weight: bold;
  transform: rotate(-3deg);
}

.section_map__p {
  position: absolute;
  width: 100%;
  top: 30%;
}

.section_map__p p {
  position: absolute;
  background-color: rgba(217, 217, 217, 0.9);
  border-radius: 20px;
  left: 10%;
  padding: 10px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 3.0rem;
  padding: 40px;
}

/* スマホ版 */
@media (max-width:500px) {
  .section_map {
    background-size: contain;
    background-position: center;
    height: 600px;
  }

  .section_map__h1 {
    top: 80px;
    left: 20px;
    width: 300px;
    height: 100px;
  }

  .section_map__h1 h1 {
    font-weight: 600;
    left: 25%;
  }

  .section_map__p {
    top: 80%;
    width: 100%;
  }

  .section_map__p p {
    text-align: center;
    font-weight: 400;
    right: 20%;
    left: 20%;
    padding: 20px;
    margin: 0 auto;
  }
}

@media (max-width:450px) {
  .section_map__p p {
    right: 8%;
    left: 8%;
  }
}

/* スマホ版 end */
/* map end*/
/* link */
.section_link {
  background-image: url("../img/top/top04.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  /*画像が繰り返すのを防ぐ*/
  width: 100%;
  height: 590px;
  margin: auto;
  max-width: 1040px;
  position: relative;
}

.section_link::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.5;
}

.section_link__grid {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(2, 2fr);
  grid-gap: 30px;
  max-width: 100%;
  width: 80%;
  top: 30%;
  left: 10%;
}

.section_link__grid div {
  background-color: #fff;
}

.section_link__grid div a div {
  padding: 30px;
  transition: .5s;
}

.section_link__grid div a div:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.section_link__grid a {
  text-align: center;
  text-decoration: none;
  color: #000;
}

/* スマホ版 */
@media (max-width:500px) {
  .section_link {
    height: 590px;
  }

  .section_link__grid {
    grid-template-columns: repeat(1, 4fr);
    top: 5%;
  }
}

/* スマホ版 end */
/* link end*/
/* about 判別式*/
#section_about {
  background: linear-gradient(to right,
      #a7ecfc 0%,
      /* 左端の水色 */
      #9ddffb 33%,
      /* 徐々に淡くなる水色 */
      #8ccaf7 66%,
      /* 中央に近い淡い青 */
      #7bb6f2 100%
      /* 右端の青 */
    );
  width: 100%;
  /* height: 590px; */
  margin: auto;
  max-width: 1040px;
  /* position: relative; */
  display: flex;
  justify-content: space-around;
  /* margin: 40px; */
  padding: 40px 0px;
  /* grid-template-rows: auto; */
  /* grid-template-columns: 40% 60%; */
}

.section_about__left {
  /* grid-row: 1/2; */
  /* grid-column: 1/2; */
  width: 20%;
}

.section_about__left div {
  /* position: absolute; */
  /* width: 200px; */
  top: 20%;
  left: 10%;
}

.section_about__left img {
  padding-top: 20px;
  width: 100%;
}

.section_about__right {
  /* grid-row: 1/2; */
  /* grid-column: 2/3; */
  width: 50%;
  /* position: absolute; */
  /* top: 13%; */
  left: 10%;
}

.section_about__right h1 {
  text-align: left;
  font-family: sans-serif;
  font-size: 1.6rem;
  padding: 20px 0px;
}

.section_about__right h2 {
  font-size: 2.4rem;
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.7rem;
}

.section_about__right h2 span {
  font-size: 1.6rem;
  padding: 20px;
}
.sp_about_h2_br{
  display: none;
}
.section_about__right p {
  padding-top: 20px;
  text-align: left;
  font-size: 1.4rem;
  font-weight: 300;
}

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

/* スマホ版 */
@media (max-width:600px) {
  #section_about {
    /* height: 850px; */
    /* grid-template-rows: 30% 70%; */
    /* grid-template-columns: auto; */
    flex-direction: column;
  }

  .section_about__left {
    /* grid-row: 1/2; */
    /* grid-column: 1/2; */
    width: 100%;
  }

  .section_about__left div {
    left: 0%;
    top: 5%;
    width: 100%;
    text-align: center;
  }

  .section_about__left img {
    padding-top: 0px;
    width: 180px;
  }

  .section_about__right {
    /* grid-row: 2/3; */
    /* grid-column: 1/2; */
    margin: auto;
    width: 90%;
    /* position: absolute; */
    /* top: 10%; */
    /* left: 5%; */
  }

  .section_about__right h1 {
    text-align: center;
    font-size: 2.4rem;
    padding: 10px 0px;
  }
  .section_about__right h2 {
    text-align: center;
    font-size: 2.4rem;
    padding: 20px 0px;
  }
  .section_about__right h2 span {
    font-size: 1.6rem;
    line-height: 40px;
  }
  .sp_about_h2_br{
  display: block;
  }
  .section_about__right p {
    text-align: left;
    font-size: 1.4rem;
    line-height: 2.5rem;
  }
}

/* スマホ版 end */
/* about 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*/
/* about 三遠テラビア*/
#section_about_sanen {
  background-image: url(/img/top/about_sanen.jpg);
  /* background-position: right; */
  background-size: contain;
  width: 100%;
  /* height: 700px; */
  margin: auto;
  max-width: 1040px;
  /* position: relative; */
  display: flex;
  justify-content: space-around;
  padding: 40px 0px;
  /* grid-template-rows: auto; */
  /* grid-template-columns: 40% 60%; */
}
#section_about_sanen img{
  /* width: 200px; */
  /* height: 300px; */
  padding-top: 80px;
  width: 100%;
  object-fit: cover;
}
#section_about_sanen small {
  font-size: 1.0rem;
}

/* スマホ版 */
@media (max-width:600px) {
  #section_about_sanen {
    /* height: 950px; */
    /* grid-template-rows: 26% 74%; */
    /* grid-template-columns: auto; */
    flex-direction: column;
  }
  #section_about_sanen img{
    padding-top: 0px;
    width: 180px;
    height: 270px;
    object-fit: cover;
  }
}

/* スマホ版 end */
/* about end*/
/* company profile */
.section_com_prof {
  background-image: url(/img/top/com_prof_bg.jpg);
  background-color: rgba(255, 255, 255, 0.8);
  background-blend-mode: lighten;
  background-size: cover;
  margin: auto;
  max-width: 1040px;
}

.section_com_prof__lauout {
  padding-left: 5%;
  padding-top: 10%;
  padding-bottom: 10%;
  width: 90%;
}

.section_com_prof span {
  font-size: 0.8rem;
  padding-left: 5px;
}

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

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

.section_com_prof p {
  text-align: left;
  padding: 0px 0px 10px 10px;
  font-size: 1.4rem;
}

.section_com_prof li {
  text-align: left;
  padding: 0px 0px 10px 10px;
  font-size: 1.4rem;
}

.sp {
  display: none;
}

@media (max-width:500px) {
  .section_com_prof__lauout {
    padding: 10px 10px 80px 10px;
    width: 90%;
  }

  .section_com_prof h1 {
    text-align: center;
    padding-bottom: 20px;
  }

  .section_com_prof h2 {
    text-align: center;
  }

  .section_com_prof p {
    text-align: center;
  }

  .section_com_prof ul {
    padding-left: 20px;
  }

  .sp {
    display: block;
  }
}

/* works end*/

/* contact */
#section_contact {
  background-color: #fff;
  margin: auto;
  max-width: 1040px;
}

#section_contact img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

@media (min-width:700px) {
  #section_contact img {
    height: 400px;
  }
}

/* form */
#formWrap {
  width: 80%;
  margin: 0 auto;
  color: #555;
  line-height: 120%;
  font-size: 90%;
  padding: 60px 0px;
}

#formWrap h3 {
  font-size: 3.0rem;
  padding: 20px 0px;
  font-weight: 300;
}

table.formTable {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

table.formTable td,
table.formTable th {
  border: 1px solid #ccc;
  padding: 10px;
}

table.formTable th {
  width: 30%;
  font-weight: normal;
  background: #efefef;
  text-align: left;
}

/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:572px) {
  #formWrap {
    width: 95%;
    margin: 0 auto;
  }

  table.formTable th,
  table.formTable td {
    width: auto;
    display: block;
  }

  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }

  form input[type="text"],
  form textarea {
    width: 80%;
    padding: 5px;
    font-size: 110%;
    display: block;
  }

  form input[type="submit"],
  form input[type="reset"],
  form input[type="button"] {
    display: block;
    width: 100%;
    height: 40px;
  }
}

/* form end */
/* contact end*/