@charset "utf-8";  
/*
Base style
                    参考サイト　https://fonts.google.com/noto/specimen/Noto+Serif+JP
                    　　　　　　https://willcloud.jp/knowhow/font-family/#font-family-4
*/
body {
    font-family: 'Noto Sans JP', "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
  }

  header {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background-color: #4cc5ce96;
    /* background-color: #333; */
    /* color: white; */
    color: rgb(57, 82, 227);
    padding: 15px;
    text-align: center;
    height: 70px; /* ヘッダーの高さを広げる */
    display: flex; /* Flexboxを使用して中央に配置 */
    align-items: center; /* 垂直方向に中央揃え */
    justify-content: space-between; /* 水平方向に配置 */
    position: relative;
    
}
h1{
    font-size: 1.6em;
    text-align: center;
    margin: 0;
    flex-grow: 1; /* 中央に配置されるために余白を確保 */
    padding-right: 70px; /* ハンバーガーメニューのスペースを確保 */
}
h2,h3 {
    font-size: 1em;
    text-align: left;
    margin: 0;
    flex-grow: 1; /* 中央に配置されるために余白を確保 */
    /* padding-right: 70px; ハンバーガーメニューのスペースを確保
*/
}

.section{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3em;
    margin-bottom: 5em;
    padding: 3px;
    background-color: rgb(242, 233, 230);
}
.sect{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2em;
    padding: 0;
    background-color: rgb(254, 254, 254);
}
.txt {
    /* display: inline-block; */
    width: 80%;
    height: 3em; /* 高さを em に設定 */
    padding: 0.5em;
    border: 1px solid #999;
    box-sizing: border-box;
    background: #f2f2f2;
    margin: 0.5em 0;
}
/* CSS for styling pre and code elements */
pre {
    background: #2d2d2d; /* Dark background */
    color: #f8f8f2; /* Light text color */
    padding: 15px; /* Padding for better readability */
    border-radius: 8px; /* Rounded corners */
    overflow-x: auto; /* Horizontal scroll for long code lines */
    font-size: 14px; /* Font size */
    line-height: 1.5; /* Line height */
    border: 1px solid #444; /* Border to distinguish the code block */
}

code {
    font-family: 'Courier New', Courier, monospace; /* Monospaced font */
    background: none; /* No background */
    color: inherit; /* Inherit color from pre */
    padding: 0; /* No padding */
}

/* Optional: Styling for line numbers (if you want to add them) */
pre.line-numbers {
    position: relative;
    padding-left: 30px; /* Space for line numbers */
}

pre.line-numbers::before {
    content: attr(data-line-numbers);
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    color: #888; /* Line numbers color */
    text-align: right;
    padding-right: 10px;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap; /* Keep whitespace as is */
}
.regist-form {
    display: flex;               /* 横並び */
    justify-content: center;     /* 横方向の中央寄せ */
    align-items: center;         /* 縦の中央揃え */
    gap: 10px;                    /* 要素の間隔 */
    margin: 30px auto;           /* 上下余白を確保しつつ中央寄せ */
    width: 100%;
}

.regist-form label {
    font-weight: bold;
}

.regist-form input[type="email"] {
    padding: 6px;
    font-size: 1rem;
}

.regist-form button {
    padding: 6px 12px;
    font-size: 1rem;
    cursor: pointer;
}


.hamburger {
    font-size: 36px; /* アイコンのサイズ */
    cursor: pointer;
    color: rgb(57, 82, 227); /* アイコンの色 */
    padding: 10px;
    background-color: #aad0d396;
    border: none;
    outline: none;
    display: inline-block;
    margin-bottom: 8px;
}

/* メニューのスタイル */
.menu {
    display: none;
    flex-direction: column;
    background-color: #5e1919;
    position: absolute;
    top: 50px;
    right: 0;
    min-width: 340px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* 影をさらに濃くして、ぼかしを広げる */
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    border-bottom: 1px solid #ddd;
}

/* リンクテキストの色を白にする */
.menu a {
    display: block;
    padding: 10px;
    text-decoration: none; /* 下線を消す */
    color: white;  /* リンクテキストの色を白に設定 */
}

/* リンクテキストのホバー時の色 */
.menu a:hover {
    color: #f0f0f0;  /* ホバー時の色（少し薄い白） */
}

/* ハンバーガーメニューが開いた時のスタイル */
.menu.active {
    display: flex;
}
.completion {
  max-width: 800px;
  margin: 3em auto;
  padding: 2em;
  background-color: #e0f7fa;
  border: 2px solid #4cc5ce;
  border-radius: 8px;
  text-align: center;
  color: #004d40;
}

.completion h2 {
  font-size: 1.8em;
  margin-bottom: 0.5em;
}

.completion a {
  display: inline-block;
  margin-top: 1em;
  padding: 0.7em 1.5em;
  background-color: #4cc5ce;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.completion a:hover {
  background-color: #0097a7;
}
