﻿/* ===== Modern Reset ===== */
/*
今回のページ校正は数量が少ないため、定番リセットを使わずに必要最小限のリセットを自作する。
*/

/* Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.6;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Remove default margin */
h1, h2, h3, h4, h5, h6,
p,
figure,
blockquote,
dl, dd {
    margin: 0;
}

/* Remove list styles */
ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Anchor reset */
a {
    text-decoration: none;
    color: inherit;
}

/* Images responsive */
img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   テーブル要素が勝手に縮む挙動を抑える
   ========================================================================== */
table {
    width: 100%;
    border-collapse: collapse;
}
table th,
table td {
  vertical-align: middle;
}

/* 自動生成される tbody や tr, td も、親テーブルの100%幅に必ず従わせる */
/*
table tbody,
table tr,
table td {
    width: 100%;
}
*/
