/*
Theme Name: genken
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

@charset "UTF-8";

* {
  box-sizing: border-box;
} /*全ての要素をborder-boxにするーーコンテンツ、border、paddingの合計がwidthと解釈される*/

html {
  font-size: 100%;
}
/*設定した文字サイズを正しく反映*/

img {
  max-width: 100%;
}
/*画像の大きさの指定。画像が親要素よりも大きくなることを防ぐ*/

body {
  background-color: white;
  font-family: 'Noto Sans JP', sans-serif;
  margin-top: 0px;
}

a {
  cursor: pointer;
}

main {
  margin: auto;
}

.back-blue {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  color: white;
  height: 140px;
  background-color: #336B94;;
  line-height: 140px; /*見出し垂直方向のセンタリング*/
  margin-top: 0;
}

.contents {
  width: 58.33%;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify; /*文章両端揃え*/
}


h2.kihonrinen {
  font-size: 24px;
  font-weight: bold;
  display: block; /*span要素をセンタリングするためにこの設定を入れる*/
  text-align: center;
}

.book-title-up {
  font-size: 30px;
  display: block; /*span要素をセンタリングするためにこの設定を入れる*/
  text-align: center;
  margin-top: 50px;
}

h3.shui, h3.shimei {
  font-size: 24px;
  font-weight: bold;
  margin-top: 50px;
}

p.purpose {
  font-size: 20px;
  line-height: 1.45;
  margin-top: 35px;
}

.book-about {
  width: 52.5%;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}

.book-title-down {
  font-size: 30px;
  display: block; /*span要素をセンタリングするためにこの設定を入れる*/
  text-align: center;
  font-weight: bold;
}

.book-zibunwokoeru {
  display: block;
  width: 35%;
  margin-left: auto;
  margin-right: auto;
}

.book-about p {
  font-size: 20px;
  line-height: 1.45;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}


/*====================メディアクエリーcss=======*/

@media (max-width: 678px) {

h1.back-blue {
  font-size: 22px;
  font-weight: bold;
  height: 80px;
  line-height: 80px; /*見出し垂直方向のセンタリング*/
}

.contents {
  width: 82.4%;
  margin-top: 30px;
}

h2.kihonrinen {
  margin-top: 15px;
  font-size: 18px;
}

.contents p {
  margin-top: 25px;
  margin-bottom: 25px;
}

p.purpose {
  font-size: 15px;
}

.book-title-up {
  font-size: 24px;
}

p.book-title-up {
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 15px;
  font-weight: bold;
}

h3.shui {
  margin-top: 40px;
  font-size: 18px;
  font-weight: bold;
}

h3.shimei {
  margin-top: 30px;
  font-size: 18px;
  font-weight: bold;
}

.book-about {
  width: 80.4%;
  margin-top: 40px;
}

.book-title-down {
  font-size: 20px;
  margin-top: 40px;
}

.book-zibunwokoeru {
  width: 60%;
  margin-top: 20px;
}

.book-about p {
  margin-top: 20px;
  font-size: 15px;
}
}