@charset "UTF-8";

/* 共通部分 */
html {
  font-size: 100%;
}

body {
  font-family: "ヒラギノ角ゴ ProN", Verdana, sans-serif;
  line-height: 1.7;
  color: #000000;
  margin: 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* ヘッダー */
.main-nav {
  display: flex;
  font-size: 1.25rem;
  text-transform: uppercase;
  /* uppercase : すべて大文字で表示 */
  margin-top: 34px;
  list-style: none;
}

.main-nav li {
  margin-left: 36px;
}

.main-nav a {
  color: #432;
}

.main-nav a:hover {
  opacity: 0.5;
}

.page-header {
  display: flex;
  justify-content: space-between;
  text-align: left;
}

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}

/* HOME */
.home-content {
  text-align: left;
  margin-top: 10%;
  padding: 0 4%;
}
.home-content p {
  font-size: 1.5rem;
  margin: 10px 0px 42px;
}

.page-title {
  font-size: 3rem;
  font-weight: normal;
}

.button {
  display: inline-block;
  font-size: 1.375rem;
  background: #1760a0;
  color: #fff;
  border-radius: 5px;
  padding: 18px 32px;
}

.button:hover {
  opacity: 0.8;
}

/* 大きな背景画像 */
.big-bg {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

#home {
  background-image: url(../images/books.jpg);
  min-height: 100vh;
}

#home .page-title {
  text-transform: none;
}

/* フッター */
footer {
  background: #dddddd;
  text-align: center;
  padding: 26px 0;
}
footer p {
  color: #000000;
  font-size: 0.875rem;
}

/* トップページにもどるボタン */
#pageTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

#pageTop i {
  padding-top: 6px
}

#pageTop a {
  display: block;
  z-index: 999;
  border-radius: 10px;
  width: 50px;
  height: 50px;
  background-color: #1760a0;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.5;
}

/* モバイル版 */
@media (max-width: 600px) {
  .page-title {
    font-size: 2.5rem;
  }

  .main-nav {
    font-size: 1rem;
    margin-top: 10px;
    padding: 0;
  }

  .main-nav li {
    margin: 0 10px;
    padding: 0;
  }

  .home-content {
    margin-top: 20%;
    padding-bottom: 20%;
  }

  .wrapper {
    flex-direction: column;
    align-items: center;
  }

  .button {
    margin: 10px 0 10px;
    align-items: center;
  }

}