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

/* ===== ヘッダーのスタイル ===== */
/* ヘッダー */

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.sta{
   /* 文字の大きさ */
  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: 20px;
}

body{
  background-color: rgba(31,176,186,0.1);
}

section.que{
   /* 文字の大きさ */
  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:10px;
  margin:20px;
}

img{
    box-shadow: 1px 2px 3px #808080;
  border-radius: 10px;
  text-align: center;
  margin-left:10px;
  margin-right: 30px;
}

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

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

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

p{
  color:white;
   font-family:DotGothic16;
  padding: 10px;
  margin: 10px;
}

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

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


/* ===== フッターのスタイル ===== */
/* フッター */
footer {
  /* 文字の色 */
  color: royalblue;
  /* 背景の色 */
  background-color: silver;
  /* 文字の整列 */
  text-align: center;
  /* 内がわの余白 */
  padding: 10px;
}

/* スマホ用のフォントサイズと画像サイズの調整 */
@media (max-width: 600px) {
  h1 {
    font-size: 20px; /* 見出しのサイズを小さく調整 */
  }

  h2, h3, h4 {
    font-size: 16px; /* サブ見出しを調整 */
  }

  section.sta,
  section.que {
    font-size: 12px;
    padding: 10px; 
    margin: 10px;
  }

  p {
    margin: 5px 0; 
  }

  img {
    max-width: 90%; /* 画面幅の90%に設定 */
    height: auto; 
    margin-left: 0; 
    margin-right: 0;
  }

  div {
    flex-direction: column; 
    align-items: center; 
  }
}
