/* ===== 全体のスタイル ===== */
*{
  margin:0px;
  padding:0px;
}

body {
  background-color:ivory;
  height: 100%;
}
/* ===== ヘッダーのスタイル ===== */
/* ヘッダー */
header {
  color: royalblue;
  background-color: rgba(31,176,186,0.3);
  padding: 10px;
}

/* h1見出し */
h1 {
  /* 文字の種類 */
  font-family:DotGothic16;
  /* 文字の色 */
  color:royalblue;
  /* 文字の整列 */
  text-align: left;
  border-radius: 40px;
  font-size: 20px;
}

section.dounyu{
   font-size: 15px;
  /* 文字の種類 */
  font-family:DotGothic16;
  /* 文字の色 */
  color : white;
  /* 文字の整列 */
  text-align: center;
  background-color:rgba(0,0,0,0.5);
  border-radius: 30px;
  border-style: double;
  border-color: white;
  border-width:10px; 
  padding:10px;
  margin: 10px;
   line-height: 180%;
}

h2{
  font-family:DotGothic16;
  color: navy;
  font-size:30px;
  text-align: center;
  padding:10px;
}

h3{
  background-color: rgba(25,142,150,0.5);
  text-shadow:1px 2px 3px #808080;
  color: navy;
  font-size: 20px;
  text-align: center;
    font-family:DotGothic16;}

h4{
  background-color: rgba(25,142,150,0.5);
  text-shadow:1px 2px 3px #808080;
  color: navy;
  font-size: 20px;
  text-align: center;
  font-family:DotGothic16;}

h5{
   background-color: rgba(25,142,150,1);
  text-shadow:1px 2px 3px #808080;
  color: white;
  font-size: 22px;
  text-align: center;
  display: block;
  padding: 10px;
    font-family:DotGothic16;
}

h6{
  font-size: 15px;
  font-family:DotGothic16;
  color : white;
  background-color:rgba(0,0,0,0.5);
  border-radius: 30px;
  border-style: double;
  border-color: white;
  border-width:10px; 
  padding: 5px;
}

section.rinku{
  font-family:DotGothic16;
  color : white;
  background-color:rgba(0,0,0,0.5);
  border-radius: 30px;
  border-style: double;
  border-color: white;
  border-width:10px; 
  padding-left :20px;
  padding-bottom: 20px;
  padding-top: 20px;
  margin:20px;
}

/* リンク */
a {
  /* 文字の色 */
  color: white;
  /* 背景の色 */
  /* 内がわの余白 */
  padding: 1px;
  /* 文字の装飾 */
  text-decoration: none;
  /* 並べ方 */
  display: block;
  /* 文字の整列 */
 padding-left: 30px;}

/* リンクにさわった時 */
a:hover{
text-decoration: underline;
}

/* ===== フッターのスタイル ===== */
/* フッター */
footer {
  color: royalblue;
  text-align: center;
  padding-top: 100px;
}

/* スマホ用のフォントサイズと余白、画像サイズの調整 */
@media (max-width: 600px) {
  h1 {
    font-size: 20px; /* 小さめに調整 */
  }

  h2, h3, h4, h5, h6 {
    font-size: 14px;
  }

  section.dounyu,
  section.rinku {
    font-size: 12px;
    padding: 10px; 
    margin: 10px; 
  }
  
}
