@charset "UTF-8";

/*/////////////基本　　-------------------------------------*/

body {
  color: #262626;
  font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, 'MS Ｐゴシック', sans-serif;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/*リスト基本設定　　-------------------------------------*/
ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  list-style: none;
}

/*画像リンク基本設定　　-------------------------------------*/
img:hover {
  opacity: 0.8;
}

.logo {
  width: 216px;
  height: 51px;
}

/*ヘッダー問い合わせボタン　　-------------------------------------*/

.css-button {
  text-align: center;
  text-decoration: none;
  min-width: 140px;
  height: 40px;
  color: #fff;
  padding: 8px 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  border-radius: 20px;
  border: none;
  background-size: 120% auto;
  background-image: linear-gradient(315deg, #43cea2 0%, #185a9d 75%);
}

.css-button:hover {
  background-position: right center;
}

.css-button:active {
  top: 2px;
}

#container {
  background: #fffbec;

}


/*ページトップ************************************************************************************/

#page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 2%;
  bottom: 6%;
  background: #004065;
  opacity: 0.8;
  border-radius: 50%;

}

#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;

}

#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 700;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -20px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

/*トップバナー　　-------------------------------------*/

.mainimg {
  padding-top: 7.5rem;
  padding-bottom: 20rem;
  max-width: 100%;
  justify-content: center;
  background-image: url(../img/top.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.mainimg h1 {
  font-style: italic;
  font-size: 48px;
  text-align: center;
  padding-bottom: 1.6rem;
}

.mainimg p {
  font-size: 18px;
  font-weight: normal;
  text-align: center;
  min-width: 200px;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  background: #fff;

}

/*コンテンツ箇所          -------------------------------------*/



main {
  display: flex;
  max-width: 1200px;
  margin: auto;
  font-size: 18px;
}

.topmenu {
  /* サービス */
  background-color: #fff;
  background-image: url(../img/service.jpg);
  background-size: contain;
  margin: 1rem 0.5rem;
  flex: 1;
  /* 各ボックスがコンテナ内で均等にスペースを占めるように設定 */
  border: 1px solid #ccc;
}

.topproject {
  background-color: #fff;
  background-image: url(../img/project.jpg);
  background-size: contain;
  margin: 1rem 0.5rem;
  flex: 1;
  /* 各ボックスがコンテナ内で均等にスペースを占めるように設定 */
  border: 1px solid #ccc;
}

.topmember {
  background-color: #fff;
  background-image: url(../img/member.jpg);
  background-size: contain;
  margin: 1rem 0.5rem;
  flex: 1;
  /* 各ボックスがコンテナ内で均等にスペースを占めるように設定 */
  border: 1px solid #ccc;
}


.topservice {
  /* 各見出しのところグレーの帯 */
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* テキストの位置がセンターにくるようにする */
  background-color: rgba(7, 60, 90, 0.6);
  padding: 20px 10px;
  margin-bottom: 36%;
}

.topservice h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  color: #fff;
  text-shadow: 1px 2px 3px #000000;
}

.topservice h3 {
  font-size: 1.3rem;
  font-weight: normal;
  color: #fff;
  text-shadow: 1px 2px 3px #000000;
}

.topmenu h4 {
  font-size: 1.2rem;
  color: #2FA7B4;
  margin: 6px 10px 0px 6px;
  padding-top: 8px;
}

hr {
  border-top: 1px dotted #E5E5E5;
}

.topmember p,
.topproject p,
.topmenu p {
  word-wrap: break-word;
  padding: 10px;
}

img.img1 {
  width: 70%;
  height: auto;
  margin: auto;
  display: block;
}

.link {
  text-decoration: none;
  color: #1182A4
}

.news a {
  text-decoration: none;
  color: #1182A4
}

.news a:visited {
  color: #00618D;
}

.news a:hover {
  color: #66AADD;
}



/*「・・見る」ボタン　　-------------------------------------*/

.more {
  text-align: center;
  display: block;

}

.more-button {
  text-align: center;
  font-size: 16px;
  text-decoration: none;
  min-width: 140px;
  color: #fff;
  padding: 8px 10px;
  margin: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  outline: none;
  border-radius: 12px;
  border: none;
  background-size: 120% auto;
  background-image: linear-gradient(315deg, #43cea2 0%, #185a9d 75%);
}

.more-button:hover {
  background-position: right center;
}

.more-button:active {
  top: 2px;
}


/*ニュース          ----------------------------------------------------------------*/
.news {
  max-width: 800px;
  margin: auto;
  text-align: center;
  padding: 40px;
  font-size: 20px;
}

.news h2 {
  text-align: center;
  font-family: 'Nunito', sans-serif;
}

.day {
  display: inline-block;
  color: #737373;
  vertical-align: middle;
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
}

.text {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 16px;
}

footer {
  background: rgb(17, 130, 164);
  background: linear-gradient(100deg, rgba(0, 130, 164) 0%, rgba(0, 130, 164) 13%, rgb(51, 179, 194) 100%);
  padding: 20px;
  color: #fff;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:visited {
  color: #fff;
}

nav ul li {
  list-style: inside;
}

address {
  text-align: center;
}

/*タブレット1          ----------------------------------------------------------------*/
@media screen and (max-width: 1024px) {

  .topservice {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* テキストの位置がセンターにくるようにする */
    background-color: rgba(7, 60, 90, 0.6);
    padding: 14px 10px;
  }



}

/*タブレット 2         ----------------------------------------------------------------*/
@media screen and (max-width: 800px) {

  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 10px;
  }

  .logo {
    width: 70%;
    height: auto;
    margin-top: 3px;
  }

  .css-button {
    /*ヘッダー問い合わせボタン　　-------------------------------------*/
    text-align: center;
    text-decoration: none;
    min-width: 140px;
    height: 36px;
    color: #fff;
    padding: 8px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    outline: none;
    border-radius: 20px;
    border: none;
    background-size: 100% auto;
    background-image: linear-gradient(315deg, #43cea2 0%, #185a9d 75%);
    font-size: 14px;
  }

  .mainimg h1 {
    /*ヘッダーボディコピー　　-------------------------------------*/
    font-style: italic;
    font-size: 30px;
    text-align: center;
    padding-bottom: 1.6rem;
  }

  .mainimg p {
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    min-width: 200px;
  }

  main {
    display: flex;
    flex-direction: column;
    margin: auto;
    font-size: 18px;
  }

  .topmenu {
    /* サービス */
    background-image: url(../img/service.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    margin: 1rem 0.5rem;
    /* 各ボックスがコンテナ内で均等にスペースを占めるように設定 */
    border: 1px solid #ccc;
  }

  .topproject {
    background-image: url(../img/project.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    margin: 1rem 0.5rem;
    /* 各ボックスがコンテナ内で均等にスペースを占めるように設定 */
    border: 1px solid #ccc;
  }

  .topmember {
    background-image: url(../img/member.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    margin: 1rem 0.5rem;
    /* 各ボックスがコンテナ内で均等にスペースを占めるように設定 */
    border: 1px solid #ccc;
  }

  .topservice {
    /* 各見出しのところグレーの帯 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* テキストの位置がセンターにくるようにする */
    background-color: rgba(7, 60, 90, 0.6);
    padding: 20px 10px;
    margin-bottom: 46%;
  }

  nav ul li {
    border-bottom: 1px solid #cfcfcf;
    margin: 20px 0px;
    padding-bottom: 20px;
    list-style: none;
    text-align: center;
  }

  nav ul li a {
    display: block;
  }


}