@charset "UTF-8";

body {
  color: #030303;
  font-family:"Trajan", "Times New Roman", "Adobe Garamond", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  line-height: 1.5;
}

img {
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #819c96;
}

a:hover{
  opacity: 0.7;
}

.container {
  width: 90%;
  max-width: 980px;
  margin: auto;
}

.clear::after {
  content:"";
  clear: both;
  display: block;
}

a.anchor {
  padding-top: 140px;
  margin-top:-140px;
}

/*=========================
header
=========================*/
header {
  position: fixed;  /*ナビゲーション部分を常にページ上部に固定させる*/
  width: 100%;
  top: 0;
  z-index: 10000;
  height: 80px; /*ナビゲーション部分に高さを出す*/
  background: #fff;   /*ナビゲーション部分に色をつける*/
}

.header-top {
  background-color: #a7abb8;
  height: 10px;
}

.header-left {
  float: left;
  width: 250px;
  padding: 10px 0 0 0;
}

.header-right {
  float: right;
}

.header-nav-item {
  float: left;
  margin-left: 30px;
  font-size: 18px;
  line-height: 70px;
}
.top-under {
  text-align: justify;
  margin: 80px;
  background-color: #f6f7f8;
  padding:60px 0 80px 0;
}

/*=========================
section共通クラス
=========================*/
.section {
  padding:60px 0;
}

.section-title {
  font-size: 32px;
  color: #819c96;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

/*=========================
about
=========================*/
.about-left {
  float: left;
  width: 40%;
}

.about-right {
  float: right;
  width: 52%;
  margin-top: 50px;
}

.bottom_space {
  margin-bottom: 1.5em;
}

/*=========================
works
=========================*/

.works-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.works-block {
  margin-bottom: 50px;
  width: 40%;
  padding: 0 10px 50px 10px;
}

/*.works-left {
  float: left;
  margin-bottom: 50px;
  padding: 0 20px 0 0;
  width: 48%;
}

.works-right {
  float: right;
  margin-bottom: 50px;
  padding: 0  0 0 20px;
  width: 48%;
}*/

.works-side {
  width: 200PX;
}

.works-side2 {
  height: 100px;  /*空の要素なので、高さの定義が必要です。 */
  background-image: url(../img/works/side2.png);
  background-size: cover;
  margin: 0 calc(50% - 50vw);    /*子要素を親要素（インナー幅）からはみ出す */
  width: 100vw;  /*画面いっぱいにする */
}

/*=========================
skills
=========================*/

h3 {
  color: #819c96;
  font-size: 18px;
  font-weight: bold;
}

.skills-left {
  float: left;
  margin-bottom: 70px;
  padding: 0 20px 0 0;
  width: 48%;
}

.skills-right {
  float: right;
  margin-bottom: 70px;
  padding: 0  0 0 20px;
  width: 48%;
}

/*=========================
customer
=========================*/

/*.customer-left {
  float: left;
  margin-bottom: 50px;
  width: 48%;
}

.customer-right {
  float: right;
  margin-bottom: 50px;
  width: 48%;
} */

/*=========================
contact
=========================*/

/*form div {
  margin-bottom: 14px;
}
label {
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
}
input[type="text"],
input[type="email"],
textarea {
  border: 1px solid;
  padding: 10px;
  font-size: 16px;
}
input[type="text"],
input[type="email"]{
  width: 100%;
  max-width: 240px;
}
textarea {
  width: 100%;
  max-width: 480px;
  height: 6rem;
}
input[type="submit"]{
  margin-bottom: 50px;
  padding: 0 10px 0 10px;
  border: none;
  cursor: pointer;
  line-height: 3;
}*/

.contact-message {
  margin-bottom: 10px;
}

button {
  margin-bottom: 50px;
  padding: 10px;
}

/* ページトップへ戻るボタン */
/* .pagetop
{
	margin: 0;
	padding: 0;
} */
 
.pagetop p
{
	margin: 0;
	padding: 0;

	position: fixed;
	right: 16px;
	bottom: 64px;
}
 
.move-pagetop
{
	display: block;
	background: #a7abb8;
	width: 50px;
	height: 50px;

	color: #fff;
	line-height: 50px;
	text-decoration: none;
	text-align: center;
}
 
.move-pagetop:hover
{
	opacity: 0.85;
}

/*=========================
footer
=========================*/
footer {
  background-color: #082B48;
  color: #fff;
  padding: 20px 0;
}

.copyright {
  font-size: 12px;
  float: right;
}

/*=========================
footer
=========================*/
footer {
  background-color: #a7abb8;
  color: #fff;
  padding: 20px 0;
}

.copyright {
  font-size: 12px;
  text-align: center;
}

/*=========================
スマホ用の表示
=========================*/
@media only screen and (max-width:767px) {

  .clear::after {
    content: none;
  }

  /*=========================
  header
  =========================*/
  header {
  height: 140px;  /*ナビゲーション部分に高さを出す top画像と重なってしまうので、top画像にpadding-top: 140px;で同じ値を入れる*/
  }

  .header-left {
    float: none;
  }

  .header-right {
    float: none;
  }

  .header-nav {
    display: flex;
    justify-content: space-between;
  }

  .header-nav-item {
    float: none;
    margin: 0;
  }

  .top-under {
    margin: auto;
  }

  /*=========================
  top
  =========================*/
  .top {
    background-repeat: no-repeat;
    background-size: 100%;
    padding-top: 140px;  /*ナビゲーション部分に高さを出した際に、top画像と重なってしまった。その為にtop画像にpadding-top: 140px;で同じ値を入れる*/
  }

  /*=========================
  section共通クラス
  =========================*/
  .section {
    padding:30px 0;
  }

  .section-title {
    font-weight: bold;
  }

  /*=========================
  about
  =========================*/
  .about-left {
    float: none;
    width: 50%;
    margin: auto;
  }

  .about-right {
    float: none;
    width: 100%;
    margin-top: 10px;
  }

  /*=========================
  works
  =========================*/
  .works-container {
    display: block;
  }

  .works-block {
    width: 100%;
    padding: 0;
  }

  /*.works-left {
    float: none;
    width: 100%;
    padding: 0;
  }

  .works-right {
    float: none;
    width: 100%;
    padding: 0;
  }*/

  .works-side {
    height: 32vh;
  }

  /*=========================
  skills
  =========================*/

  .skills-left {
    float: none;
    width: 100%;
    padding: 0;
  }

  .skills-right {
    float: none;
    width: 100%;
    padding: 0;
    margin-top: 10px;
  }
}