html{
  font-family: 'Dancing Script', cursive;
  font-family: 'Noto Sans JP', sans-serif;
  font-family: 'Poppins', sans-serif;
}

body{
  background-color: #DCDCDC;
  min-width:400px;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
}


/*ヘッダー */
.flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

/*ヘッダー　プロト測量設計株式会社　間隔 */
header {
  padding: 30px 0;
}

/*ヘッダー　プロト測量設計株式会社　書式 */
.logo {
  font-size:25px;
  font-family:serif;
}


/*ヘッダーメニュー */
.header_menu li {
  margin-left: 50px;
  font-weight: 700;
}
.header_menu li a {
  transition: 0.3s;
}
.header_menu li a:hover {
  color: #FF0000;
  transition: 0.3s;
}


/*スマホ版横*/
@media only screen and (max-width: 768px){
  header .container {
    justify-content: center;
  }
  .header_menu li {
    margin: 0px 12px 0;
    font-size:15px;
    font-weight: 700;
  }
}

/*スマホ版*/
@media only screen and (max-width: 576px){
  header .container {
    justify-content: center;
  }
  .header_menu li {
    margin: 30px 8px 0;
    font-size:12px;
    font-weight: 700;
  }
  .header_menu li a {
    transition: 0.3s;
  }
  .header_menu li a:hover {
    color: #FF0000;
    transition: 0.3s;
  }
}


/*ページトップへ戻る */

#page_top{
  width: 90px;
  height: 100px;
  position: fixed;
  right: 0;
  bottom: 0;
  opacity: 10.6;
  z-index: 2;
}
#page_top a{
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 50px;
  color: #3f98ef;
  position: absolute;
  width: 50px;
  height: 80px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after{
  content: 'PAGE TOP';
  font-size: 15px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
  color: #3f98ef;
}


/*スマホ版横*/
@media only screen and (max-width: 768px){
  #page_top a::before{
    font-size: 30px;
    top: 0px;
  }
  #page_top a::after{
    font-size: 10px;
    top: 40px;
  }
}

/*スマホ版*/
@media only screen and (max-width: 576px){
  #page_top a::before{
    font-size: 30px;
    top: 0px;
  }
  #page_top a::after{
    font-size: 10px;
    top: 40px;
  }
}


/*メイン画像 */
#hero {
  background-image: url(../images/hero.jpg);
  background-position: center;
  background-size: cover;
  height: 540px;
  display: flex;
  align-items: center;
  margin-bottom: 200px;
  overflow: hidden;
}

/*メイン　画像編集 */
#hero::before {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #000000;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.2;
  z-index: 1;
}

/*メイン　プロト測量設計株式会社 */
.hero_inner {
  z-index: 2;
  color: #ffffff;
  width: 100%;
  text-align: center;
}

/*メイン　プロト測量設計株式会社 */
.hero_inner h1 {
  font-size: 30px;
  font-family:serif;
}



/*スマホ版*/
@media only screen and (max-width: 576px){
  #hero {height: 300px;}
  .hero_inner h1{
    font-size: 18px;
    font-weight: 500;
  }
}



/*タイトル　文字 */
.title {
  font-family:serif;
  position: relative;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #353535;
  margin-bottom: 120px;
}
.title::before {
  position: absolute;
  border-bottom: 2px solid #353535;
  top: 70%;
  left: 51%;
  transform: translateX(-50%);
  width: 1000px;
  content: '';
}


/*スマホ版横*/
@media only screen and (max-width: 768px){
  .title::before {
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    content: '';
  }
}

/*スマホ版*/
@media only screen and (max-width: 576px){
  .title {
    margin-bottom: 70px;
  }
  .title::before {
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    content: '';
  }
}


/*会社概要　COMPANY */

#gaiyou {
  margin-bottom: 200px;
}

/*会社概要　代表挨拶 */
#gaiyou h3 {
  font-family:serif;
  position: relative;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #353535;
  margin-bottom: 80px;
}
#gaiyou h3::before {
  position: absolute;
  border-bottom: 2px solid #353535;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  content: '';
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  #gaiyou h3 {
    font-size: 20px;
    margin-bottom: 50px;
  }
  #gaiyou h3::before {
    top: 65%;
    width: 50px;
  }
}

/*会社概要　代表挨拶本文 */
#gaiyou {
  margin-bottom: 120px;
}
.gaiyou_inner {
  margin-bottom: 40px;
}
.column-40 {
  width: 35%;
  margin-top: -5%;
  margin-bottom: 150px;
}
.column-55 {
  width: 63%;
  font-size: 20px;
  font-family:serif;
  text-align: left;
  margin-bottom: 150px;
}


#gaiyou img {
  border-radius: 15px;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  .column-40 {
  justify-content: center;
  margin-left: 75px;
  width: 50%;
  margin-bottom: 50px;
  }
  .column-55 {
  width: 96%;
  font-size: 17px;
  font-family:serif;
  text-align: left;
  margin-bottom: 100px;
  }
}


/*会社概要 */
#gaiyou h4 {
  font-family:serif;
  position: relative;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #353535;
  margin-bottom: 80px;
}
#gaiyou h4::before {
  position: absolute;
  border-bottom: 2px solid #353535;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  content: '';
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  #gaiyou h4 {
    font-size: 20px;
    margin-bottom: 50px;
  }
  #gaiyou h4::before {
    top: 65%;
    width: 50px;
  }
}

#gaiyou dl {
  max-width: 1000px;
  margin-left: auto;
}
#gaiyou dt {
  width: 40%;
  padding: 35px 0;
  font-weight: 500;
  border-bottom: solid 1px #00CCFF;
}
#gaiyou dd {
  width: 60%;
  padding: 35px 0;
  text-align: left;
  border-bottom: solid 1px #00CCFF;
}



/*スマホ版*/
@media only screen and (max-width: 576px){
  #gaiyou dt {
  width: 30%;
  padding: 10px 0;
  font-size: 5px;
  }
  #gaiyou dd {
  width: 70%;
  padding: 10px 0;
  font-size: 5px;
  }
}


/*スマホ版横*/
@media only screen and (max-width: 768px){
  #gaiyou dt {
  width: 30%;
  padding: 20px 0;
  font-size: 9px;
  }
  #gaiyou dd {
  width: 70%;
  padding: 20px 0;
  font-size: 9px;
  }
}


/*アクセス */
#gaiyou h5 {
  margin-top: 150px;
  font-family:serif;
  position: relative;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #353535;
  margin-bottom: 80px;
}
#gaiyou h5::before {
  position: absolute;
  border-bottom: 2px solid #353535;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  content: '';
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  #gaiyou h5 {
    margin-top: 100px;
    font-size: 20px;
    margin-bottom: 50px;
  }
  #gaiyou h5::before {
    top: 65%;
    width: 50px;
  }
}

.map{
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 75%
}

.map iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


#gaiyou {
  margin-bottom: 200px;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  #gaiyou {
    margin-bottom: 100px;
  }
}




/*業務内容 */

#gyoumu {
  margin-bottom: 200px;
}

/*スマホ版*/
@media only screen and (max-width: 576px){
  #gyoumu {
    margin-bottom: 100px;
  }
}


.column-2 {
  width: 45%
}

.text {
  line-height: 1.5;
  font-size: 25px;
  margin-bottom: 100px;
}


/*スマホ版横*/
@media only screen and (max-width: 768px){
  .column-2 {
    width: 30%
  }
  .text {
    line-height: 1.5;
    font-size: 20px;
    margin-bottom: 100px;
  }
}

/*スマホ版*/
@media only screen and (max-width: 576px){
  .column-2 {
    width: 100%
  }
  .text {
    line-height: 1.5;
    font-size: 15px;
    margin-bottom: 80px;
  }
}


/*業務内容　写真スライド */


/* カルーセルの外枠 */
.carousel {
  width: 600px;
  height: 450px;
  display: flex;    /* 子要素を横に並べる */
  overflow: hidden; /* はみ出た部分は表示しない */
  margin: 0 auto;   /* 水平方向中央寄せ */
  margin-top: -100px;
  border-radius: 10px;
  box-shadow:10px 10px 15px #999999;
}


/*スマホ版横*/
@media only screen and (max-width: 768px){
  .carousel {
    margin-top: 20px;
    width: 300px;
    height: 225px;
    margin-bottom: 80px;
  }
}

/*スマホ版*/
@media only screen and (max-width: 576px){
  .carousel {
    width: 300px;
    height: 225px;
    margin-bottom: 80px;
  }
}

/* カルーセル内の画像 */
.carousel img {
  margin: 0;
  padding: 0;
  display: block; /* imgタグの改行のすき間を消すため */
}
/* スクロールアニメーションのキーフレーム */
@keyframes scroll {
  0% { margin-left: 0; }      
  20% { margin-left: -100%; }
  25% { margin-left: -100%; }
  45% { margin-left: -200%; }
  50% { margin-left: -200%; }
  70% { margin-left: -300%; }
  75% { margin-left: -300%; }
  95% { margin-left: -400%; }
  100% { margin-left: -400%; }
}
/* カルーセルの子要素にスクロールアニメーションを設定 */
.carousel > :first-child {
  animation-name: scroll;    /* キーフレーム名 */
  animation-duration: 20s;  /* 再生時間全体は20秒 */
  animation-delay: 0s;      /* 読込直後から遅延無しで開始 */
  animation-iteration-count: infinite;  /* 無限に繰り返す */
}


/*業務内容　説明 */
.setumei {
  font-size: 21px;
  text-align: left;
  margin-bottom: 100px;
}



/*スマホ版*/
@media only screen and (max-width: 576px){
  .setumei {
    font-size: 15px;
  }
}

/*業務内容　h3 */
#gyoumu h3 {
  font-family:serif;
  position: relative;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #353535;
  margin-bottom: 80px;
}
#gyoumu h3::before {
  position: absolute;
  border-bottom: 2px solid #353535;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  content: '';
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  #gyoumu h3 {
    font-size: 20px;
    margin-bottom: 50px;
  }
  #gyoumu h3::before {
    top: 65%;
    width: 50px;
  }
}


/*業務内容　実績 */
table th {
  padding: 10px;
}

table td {
  padding: 20px 30px;
}

table th, table td {
  border: solid 1px black;
  text-align:center;
  /*実線 1px 黒*/
}


/*スマホ版横*/
@media only screen and (max-width: 768px){
  table th {
    padding: 10px;
    font-size: 15px;
  }
  table td {
    padding: 15px 25px;
    font-size: 15px;
  }
}

/*スマホ版*/
@media only screen and (max-width: 576px){
  table th {
    padding: 10px;
    font-size: 10px;
  }
  table td {
    padding: 8px 10px;
    font-size: 10px;
  }
}




/*ギャラリー　GALLERY */

.column-a{
  width: 30%;
  margin-bottom: 20px;
}
.column-a h3{
  margin-top: 10px;
  width: 100%;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  z-index: -2;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  .column-a{
    width: 45%;
    margin-bottom: 30px;
  }
  .column-a h3{
    margin-top: 10px;
    width: 100%;
    font-size: 10px;
    text-align: center;
    margin-bottom: 20px;
    z-index: -2;
  }
}

.column-b{
  width: 30%;
  margin-bottom: 20px;
}
.column-b h3{
  margin-top: 10px;
  width: 100%;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  z-index: -2;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  .column-b{
    width: 45%;
    margin-bottom: 30px;
  }
  .column-b h3{
    margin-top: 10px;
    width: 100%;
    font-size: 10px;
    text-align: center;
    margin-bottom: 20px;
    z-index: -2;
  }
}

.column-c{
  width: 30%;
  margin-bottom: 20px;
}
.column-c h3{
  margin-top: 10px;
  width: 100%;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  z-index: -2;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  .column-c{
    width: 45%;
    margin-bottom: 30px;
  }
  .column-c h3{
    margin-top: 10px;
    width: 100%;
    font-size: 10px;
    text-align: center;
    margin-bottom: 20px;
    z-index: -2;
  }
}

.column-d{
  width: 30%;
  margin-bottom: 100px;
}
.column-d h3{
  margin-top: 10px;
  width: 100%;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  z-index: -2;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  .column-d{
    width: 45%;
    margin-bottom: 30px;
  }
  .column-d h3{
    margin-top: 10px;
    width: 100%;
    font-size: 10px;
    text-align: center;
    margin-bottom: 20px;
    z-index: -2;
  }
}

.column-e{
  width: 30%;
  margin-bottom: 100px;
}
.column-e h3{
  margin-top: 10px;
  width: 100%;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  z-index: -2;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  .column-e{
    width: 45%;
    margin-bottom: 100px;
  }
  .column-e h3{
    margin-top: 10px;
    width: 100%;
    font-size: 10px;
    text-align: center;
    margin-bottom: 20px;
    z-index: -2;
  }
}

.column-f{
  width: 30%;
  margin-bottom: 100px;
}
.column-f h3{
  margin-top: 10px;
  width: 100%;
  font-size: 20px;
  text-align: center;
  margin-bottom: 20px;
  z-index: -2;
}

/*スマホ版*/
@media only screen and (max-width: 576px){
  .column-f{
    width: 45%;
    margin-bottom: 100px;
  }
  .column-f h3{
    margin-top: 10px;
    width: 100%;
    font-size: 10px;
    text-align: center;
    margin-bottom: 20px;
    z-index: -2;
  }
}


.swiper{
  margin-top: 100px;
  width: 900px;
  max-width: 100%;
  margin-bottom: 10px;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  .swiper{
    margin-top: 10px;
    width: 1000px;
    max-width: 100%;
    margin-bottom: 10px;
  }
}

.swiper-slide img{
  max-width:100%;
}

.sub-swiper .swiper-slide img:hover{
  cursor: pointer;
}


#gallery {
  margin-bottom: 200px;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  #gallery {
    margin-bottom: 100px;
  }
}



/*お問い合わせ　CONTACT */

#contact {
  margin-bottom: 120px;
}

/*お問い合わせ */
#contact h3 {
  font-family:serif;
  position: relative;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #353535;
  margin-bottom: 80px;
}
#contact h3::before {
  position: absolute;
  border-bottom: 2px solid #353535;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  content: '';
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  #contact h3 {
    font-size: 20px;
    margin-bottom: 50px;
  }
  #contact h3::before {
    top: 65%;
    width: 80px;
  }
}


#contact h5 {
  font-family:serif;
  position: relative;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 25px;
  text-align: center;
  color: #353535;
  margin-bottom: 100px;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  #contact h5 {
  font-size: 18px;
  margin-bottom: 70px;
  }
}

/*お問い合わせフォーム */
#contact h4 {
  font-family:serif;
  position: relative;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 26px;
  text-align: center;
  color: #353535;
  margin-bottom: 80px;
}
#contact h4::before {
  position: absolute;
  border-bottom: 2px solid #353535;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  content: '';
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  #contact h4 {
    font-size: 20px;
    margin-bottom: 50px;
  }
  #contact h4::before {
    top: 65%;
    width: 140px;
  }
}


#contact h6 {
  font-family:serif;
  position: relative;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-size: 17px;
  color: #353535;
  margin-bottom: 10px;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  #contact h6 {
    font-size: 15px;
  }
}


/*お問い合わせ　本文 */
.Form {
  margin-top: 60px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #ddd;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #5bc8ac;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}

.Form-Item-Labela {
  width: 100%;
  max-width: 550px;
  letter-spacing: 0.05em;
  font-size: 20px;
  text-align: left;
  margin-bottom: 30px;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  .Form-Item-Labela {
  width: 100%;
  font-size: 10px;
  margin-bottom: 30px;
}
}

/*お問い合わせ　送信ボタン */
input[type="submit"] {
  display: inline-block;
  padding: 1.5em 3em;
  text-decoration: none;
  background: #5bc8ac;;/*ボタン色*/
  color: #FFF;
  border-bottom: solid 4px #627295;
  border-radius: 10px;
  transition: .4s;
  margin: 0 10px;
}

input[type="submit"]:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(3px);/*下に動く*/
  border-bottom: none;/*線を消す*/
}

input[type="submit"]:hover {
  background: #67c5ff;
  color: white;
}


/*お問い合わせ　リセットボタン */
input[type="reset"] {
  display: inline-block;
  padding: 1.5em 3em;
  text-decoration: none;
  background: #837a7a;;/*ボタン色*/
  color: #FFF;
  border-bottom: solid 4px #627295;
  border-radius: 10px;
  transition: .4s;
  margin: 0 10px;
}

input[type="reset"]:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(3px);/*下に動く*/
  border-bottom: none;/*線を消す*/
}

input[type="reset"]:hover {
  background: #67c5ff;
  color: white;
}


/*スマホ版*/
@media only screen and (max-width: 576px){
  input[type="submit"] {
    padding: 1em 2em;
  }
  input[type="reset"] {
    padding: 1em 2em;
  }
}


/*フッター*/

footer {
  text-align: center;
  margin: 15px 0px;
  background-color: #000000;
}

.copyright{
  font-size: 12px;
  color: #ffffff;
}
