@charset "utf-8";

/* テキストの自動拡大を無効化a */
body {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* ページ全体の設定 */
body {
    margin: 0;
    font-family: sans-serif;
}


/* 「ヘッダー」ブロック */
header{
    padding: 25px 15px 10px;
    color: black;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    background-color: whitesmoke; 
}

.counter figure img{
  width: 100px;
  height: 10px:
}

.shadow {
  text-shadow: 5px 10px 10px #888888;
}

.mix {
  display: flex;
  align-items: center;
}

.mix figure {
  width: 34px;
}

.info {
  font-size: 10px;
  text-align: left;
}
/* リンク */
a{
  color:inherit;
  text-decoration: none;
}

a:hover{
  color: skyblue;
}

/* ナビゲーションメニュー */
nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  color: white;
  font-size: 15px;
  display: flex;
  justify-content: center;
}

nav li {
  background-color: green;
}

/*nav li:not(:last-child){
  margin-right: 5px;
}*/

nav li a {
  display: block;
  padding: 12px 13px;
  width: 1em;
}

nav a:hover {
  color: green;
  background-color: white;
}

/* 「コンテンツ」ブロック */
.contents {
    background-color: forestgreen;
    padding: 40px 15px;
    text-align: center;
}



/* 記事 */

.container {
  margin-left: auto;
  margin-right: auto;
}

article{
  background-color: white;
  padding: 20px;
}

h1{
  font-size: 25px;
}

h2{
  color: black;
  font-weight: bold;
  text-align: left;
  font-size: 20px;
}

h3{
  text-align: center;
  font-size: 18px;
}

p{
  line-height: 2;
  text-align: left;
}

table{
  border-collapse: collapse;
  display: inline-block;
}

th, td{
  border: solid 3px black;
  padding: 5px 10px;
}

tr:nth-child(2){
    background-color: lightskyblue;
}

tr:nth-child(3){
    background-color: lightskyblue;
}

tr:nth-child(4){
    background-color: lightpink;
}

tr:nth-child(5){
    background-color: lightpink;
}

tr:nth-child(6){
    background-color: orange;
}

tr:nth-child(7){
    background-color: orange;
}

table.ex  tr:nth-child(2)  td:nth-child(5)  {
  background-color: mediumaquamarine;
}

table.ex  tr:nth-child(2)  td:nth-child(1)  {
  background-color: whitesmoke;
}


table.ex  tr:nth-child(6)  td:nth-child(5)  {
  background-color: mediumaquamarine;
}

table.ex  tr:nth-child(6)  td:nth-child(1)  {
  background-color: whitesmoke;
}


th{
  background-color: whitesmoke;
  color: black;
  font-size: 17px;
}

.icon {
  display: flex;
  justify-content: center;
}

.icon figure img {
  width: 20%;
}

/* 画像 */
img{
  width: 100%;
  height: auto;
}

figure{
  margin: 0;
}

/* 投稿日 */
time{
  color: gray;
  display: block;
}

/* 「フッター」ブロック */
footer {
    background-color: whitesmoke;
    padding: 15px 15px;
    color: black;
    font-size: 20px;
    text-align: right;
}

/* ==== PC版 ==== */
@media (min-width: 740px) {
    
/* PC版：コンテナ */
.container {
  max-width: 800px;
  padding-left: auto;
  padding-right: auto;
}

/* PC版：「ヘッダー」ブロック内のコンテナ */
header .container {
  /* display: flex; 
  justify-content: space-between; */
}
 
nav ul{
  font-size: 14px;
}

nav li a {
  display: block;
  padding: 12px 8px;
  width: auto;
}

/* PC版：記事 */
article {
  padding-left: 60px;
  padding-right: 60px;
}

h1 {
  font-size: 25px;
}

p {
  font-size: 18px;
}

}

/* ==== PC版の設定ここまで ==== */

/* ==== PC版（大）==== */
@media (min-width: 1025px){

nav ul{
  font-size: 18px;
}    

nav li a {
  display: block;
  padding: 12px 12px;
  width: auto;
}    
    
/* PC版（大）：コンテナ */
header{
    font-size: 40px;
}

.mix figure {
  width: 50px;
}
    
.container {
  max-width: 1000px;
  padding-left: auto;
  padding-right: auto;
}
    
.info ul li{
  font-size: 24px;
  text-align: left;
}
    
/* PC版（大）：「コンテンツ」ブロック内のコンテナ */

/* PC版（大）：記事 */
article {
  width: 100%;
  box-sizing: border-box;
}

}
/* ==== PC版（大）の設定ここまで ==== */