@charset "utf-8";

body {
  color: #082b48;
  font-family: sans-serif;
  line-height: 1.5;
}

img {
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: #082b48;
}

a:hover {
  opacity: 0.7;
}
h2 {
  width: 25%;
  margin: auto;
  border-bottom: solid 1px #87ceeb;
}
.container {
  width: 90%;
  max-width: 980px;
  margin: auto;
}

.top {
  background-image: url(../img/top3.jpg);
  background-size: cover;
}
header {
  background-color: #f5deb3;
}

.about-me img {
  width: 50%;
  float: right;
}

.card img {
  width: 25%;
  justify-content: center;
}

.contact {
  background-color: #f5deb3;
}

.contact-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-item {
  width: 50px;
  height: 50px;
  margin: 20px;
}

footer {
  background-color: #082b48;
}

/* ========================
スマホ用の表示
========================== */
@media only screen and (max-width: 767px) {
  .clear::after {
    content: none;
  }
  /* ========================
header
========================== */

  /* ========================
top
========================== */
  .top {
    padding: 0 0;
  }
  .top-title {
    font-size: 32px;
  }
  .top-subtitle {
    font-size: 12px;
    color: #fff;
  }
  /* ========================
section共通クラス
========================== */
  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 16px;
    text-align: center;
  }

  .section p {
    font-size: 14px;
  }

  /* ========================
about
========================== */
  .about-me img {
    width: 25%;
  }

  .about-name {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }
  .about-right {
    float: none;
    width: 100%;
  }

  .about-right p {
    font-size: 13px;
  }

  /* ========================
footer
========================== */
  .copy-right {
    font-size: 10px;
  }
}
