/*
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と解釈される*/

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;
}

.aboutus {
  width: 45%;
  margin-top: 100px; /*テーブルの１行目上に行間51pxがあるのでテーブルmargin-topを合計で100pxにする*/
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  border: none;
}

.aboutus td, .aboutus th {
  padding-bottom: 40px;
}

.aboutus th {
  font-size: 20px;
  width: 30%;
  line-height: 1.45;
  vertical-align: top;
  border: none;
}

.aboutus td {
  font-size: 20px;
  line-height: 1.45;
  padding-left: 20px;
  border: none;
}

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

@media (max-width: 678px) {

  h1.back-blue {
    font-size: 22px;
    font-weight: 700;
    height: 80px;
    line-height: 80px; /*見出し垂直方向のセンタリング*/
  }
  
  .aboutus {
    width: 80.4%;
    display: block;
    margin-top: 30px;
  }

  table .aboutus {
  border: none;
  }

  .aboutus th,
  .aboutus td {
    font-size: 16px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-left: 0px;
    border-spacing: 0 50px; /*テーブルセルのボーダー間隔。左右、上下*/
  }

  .aboutus th {
    padding-bottom: 0;

  }

 .aboutus td {
    padding-bottom: 20px;

  }
}