/*
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%;
}
/*設定した文字サイズを正しく反映*/

a {
  color: black;
  text-decoration: none; /*<a>タブの傍線非表示*/
}

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

a {
  cursor: pointer;
}

main {
    margin: auto;
}

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

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

.subsc-contents h2 {
  font-size: 24px;
  font-weight: bold;
}

.subsc {
  font-size: 24px;
  font-weight: bold;
  margin-top: 50px;
}

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

.subsc-contents a {
  color: blue;
}

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

@media (max-width: 678px) {

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

  .subsc-contents {
    width: 82.4%;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify; /*文章両端揃え*/
  }
  
  .subsc-contents h2 {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .subsc {
    font-size: 18px;
  }
  
  .subsc-contents p, .subsc p {
    margin-top: 30px;
    font-size: 15px;
  }

  
}