/* style.css */

@font-face {
  font-family: 'mincho';
  src: url('font/wapuro-mincho.woff2') format('woff2');
}
@font-face {
  font-family: 'mincho-tate';
  src: url('font/wapuro-mincho-tate2x.woff2') format('woff2');
}
@font-face {
  font-family: 'mincho-yoko';
  src: url('font/wapuro-mincho-yoko2x.woff2') format('woff2');
}

body {
    font-family: mincho;
    margin: 0;
    padding: 0;
    text-align: center;
    background-image: radial-gradient(#b9b9b9 2px, #cfcfcf 2px);
    background-size: 20px 20px;
}

main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 80vh;
    padding-top: 20px;
}
.main-content {
    margin-top: 70px;
    margin-bottom: 70px;
    background-color: white;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border: 2px solid #000000;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
footer {
    width: 100%;
    background: linear-gradient(to bottom, #002fff, #95d8ff);
    color: white;
    padding: 10px 0;
    position: fixed;
    bottom: 0;

}

/*ホームのメインコンテンツ*/
.welcome-text {
    font-size: 50px;
    font-family: mincho;
}

.datetime {
  text-align:center;
}

.weather {
  text-align:center;
}

p,.div-text {
    font-size: 18px;
    line-height: 2em;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align:left;
}

@media (max-width: 600px) {
  p,.div-text {
    font-size: 16px;
    line-height: 2em;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align:left;
  }
}

h2 {
  padding-top: 20px;
}

.document-img {
  width:100%;
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.button {
  display: inline-block;
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border: 2px solid #0085bf;
  border-radius: 4px;
  text-align: center;
}

.button:hover {
  background-color: #0085bf;
  border-color: #0085bf;
  color: #ffffff;
}

/* ★ヘッダーのスタイル */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(to bottom, #002fff, #95d8ff); /* 背景色を薄い灰色に設定 */
    color: rgb(255, 255, 255); /* 文字色を黒に設定 */
    padding: 10px 0;
    z-index: 2;
    display: flex;
    justify-content: space-between; /* リンクを右側に寄せる */
    align-items: center;
  }
  
  /* タイトルのスタイル */

  
  /* ヘッダーリンクのスタイル */
  .header-nav a {
    padding: 10px 15px; /* パディングを増やしてセパレータに余裕を持たせる */
    text-decoration: none;
    display: inline-block;
    position: relative;
    margin: 0 10px; /* リンク間のマージンを追加 */
    color:#ffffff;
    border: 1px solid white;
    border-radius: 5px;
  }

  .header a:hover {
    background-color: #ffffff;
    color: black;
  }

  .header h1 {
    font-family: mincho-yoko;
    margin-left: 20px;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    vertical-align: middle;
    text-decoration:none;
  }
  


  .header a .h1-a:hover {
    background-color: transparent;
    color: #ffffff;
  }

@media (max-width: 768px) {
    .header-nav {
      display: none;
      flex-direction: column;
      width: 100%;
      height: 100vh; /* 画面の高さ全体をカバーする */
      position: fixed; /* 画面に固定 */
      top: 0;
      left: 0;
      background-color: rgba(255, 255, 255, 1); /* 背景色に透明度を設定 */
      z-index: 3; /* ヘッダーより上に表示 */
      overflow-y: auto; /* 縦スクロールを有効にする */
    }
  
    .header-nav a {
      text-align: center;
      padding: 20px;
      border-top: 1px solid #dddddd;
      font-size: 18px; /* リンクのフォントサイズを大きくする */
    }
    .header a:hover {
        background-color: #ffffff00;
        color: black;
      }
  }
  
  @media screen and (min-width: 768px) {
    .hamburger-menu {
      display: none;
    }
  }
  
  /* モバイルビュー時のハンバーガーメニュー */
  .menu {
    list-style: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%,-50%);
    width: 100%;
    height: auto;
    margin-top: 71px;
    padding: 0 0 10px 0;
    clear: both;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
    transform: scale(1, 0);
    transform-origin: top;
  }
  
  /* メニューボタン */
  .menu-btn:checked ~ .menu {
    transform: scale(1, 1);
    transform-origin: top;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  /* メニューテキスト */
  .menu a {
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 16px;
    text-transform: capitalize;
    color: #000;
    opacity: 0;
    transition: 0.5s;
  }
  
  .menu li {
    padding: 15px 0;
    margin: 0 54px;
    opacity: 0;
    transition: 0.5s;
  }
  
  .menu-btn:checked ~ .menu a,
  .menu-btn:checked ~ .menu li {
    opacity: 1;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
  }
  
  .menu-btn {
    display: none;
  }
  
  .menu-icon {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 24px 14px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    vertical-align: middle;   
  }
  
  .navicon {
    background: #ffffff;
    display: block;
    height: 3px;
    width: 26px;
    position: relative;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  .navicon:before,
  .navicon:after {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #ffffff;
    transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
  .navicon:before {
    top: 9px;
  }
  
  .navicon:after {
    bottom: 9px;
  }
  
  /* ハンバーガーメニューアニメーション */
  .menu-btn:checked ~ .menu-icon .navicon:before {
    transform: rotate(-45deg);
  }
  
  .menu-btn:checked ~ .menu-icon .navicon:after {
    transform: rotate(45deg);
  }
  
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
    top: 0;
  }
  .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
    bottom: 0;
  }
  
  .menu-btn:checked ~ .menu-icon .navicon {
    background: rgba(0, 0, 0, 0);
    transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  }
  
