* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 180%;
    color: #333;
}

div#layout .updf-content-box {
    width: 750px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f0f0f0;
    border: 0px;
}

div#layout .updf-content-box img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

div#layout .updf-content-box table {
    border-collapse: collapse;
    width: 100%;
    border: 3px solid black;
}

div#layout .updf-content-box table td,
.updf-content-box table th {
    border: 1px solid black;
    padding: 3px;
}

div#layout .updf-sect {
    margin-bottom: 50px;
}

div#layout h2.updf-midashi {
    font-size: 30px; /* フォントサイズを23pxに設定 */
    font-weight: 100; /* フォントを細いものに設定 */
    text-align: center; /* テキストを中央寄せに */
    position: relative; /* 疑似要素の位置指定の基準点とする */
    padding-bottom: 2px; /* 下部のパディングを2pxに設定 */
}

/* アンダーラインスタイルの改良 */
div#layout h2.updf-midashi:after {
    content: ''; /* 疑似要素の内容を空に設定 */
    position: absolute; /* 絶対位置指定 */
    bottom: -2px; /* 要素の下部から2px上に配置 */
    left: 50%; /* 左端から50%の位置に配置 */
    transform: translateX(-50%); /* X軸に沿って-50%移動して中央寄せ */
    height: 2px; /* 線の高さ */
    width: 100%; /* 線の幅 */
    background-color: black; /* 線の色 */
}

div#layout p {
	margin: 10px 0 10px 0;
}

div#layout p.updf-after {
    font-size: 20px; /* フォントサイズを20pxに設定 */
    margin-top: 15px;
    text-align: center;
}

div#layout p.updf-top {
	margin: 30px 0 10px 0;
	font-size: 19px;
}

div#layout .updf-komidashi {
    font-size: 20px; /* フォントサイズを20pxに設定 */
    font-weight: 600; /* フォントの太さを600に設定 */
    border-left: 10px solid #ffd700; /* 左端に幅10px、色#ffd700の実線を設定 */
    padding-left: 10px; /* 左端の線からテキストまでの間隔を10pxに設定 */
    margin-bottom: 15px; /* 下に15pxのマージンを確保 */
}

div#layout a {
    color: #007bff; /* リンクの色 */
    text-decoration: none; /* 下線を非表示に */
    transition: color 0.3s; /* 色の変化にアニメーションを適用 */
}

div#layout a:hover {
    color: #0056b3; /* ホバー時の色 */
    text-decoration: underline; /* ホバー時に下線を表示 */
}

div#layout a:focus {
    outline: none; /* ブラウザが自動で付加するアウトラインを無効に */
    color: #0056b3; /* フォーカス時の色 */
    text-decoration: underline; /* フォーカス時に下線を表示 */
}

div#layout a:visited {
    color: #663399; /* 訪問済みのリンクの色 */
}

div#layout .updf-stg {
	font-weight: 600;
}

div#layout .updf-underline {
    text-decoration: none; /* 既存の下線を削除 */
    border-bottom: 3px solid #ffd700; /* 下線を実線、3px、#ffd700で設定 */
    padding-bottom: 2px; /* 下線とテキストの間に少しスペースを設ける */
}

div#layout .updf-red {
	color: #ff0000;
}

div#layout .updf-font14 {
    font-size: 14px;
}