/* ======================================
   CSS Reset（必要最低限）
====================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Helvetica Neue', 'Segoe UI', sans-serif;
    line-height: 1.6;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #6C7278;
    height: 100%;
}

/* ======================================
   Layout
====================================== */

header,
footer {
    position: fixed;
    width: 100%;
}

header {
    height: 75px;
    top: 0;
}

footer {
    height: 60px;
    bottom: 0;
}

/* ======================================
   Container
====================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
}

/* ======================================
   Typography
====================================== */
h1,
h2,
h3,
h4 {
    font-weight: bold;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}


/* ======================================
   Links
====================================== */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ======================================
   Buttons
====================================== */
button,
input[type="submit"],
input[type="button"] {
    color: white;
    border: none;
    padding: 0.6em 1.2em;
    border-radius: 8px;
    cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
    opacity: 0.7;;
}

/* ======================================
   Forms
====================================== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="URL"],
textarea,
select {
    width: 100%;
    padding: 1em;
    border: none;
    border-radius: 8px;
    margin-bottom: 1em;
    font-size: 1em;
}

label {
    display: block;
    text-align: left;
}

/* ======================================
   Utility Classes
====================================== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1em;
}

.mb-1 {
    margin-bottom: 1em;
}

.mt-2 {
    margin-top: 2em;
}

.mb-2 {
    margin-bottom: 2em;
}

/* ======================================
   Tables（もし使うなら）
====================================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

th,
td {
    padding: 0.75em;
    border: 1px solid #ccc;
    text-align: left;
}

th {
    background-color: #eee;
}

/* ======================================
   追加分
====================================== */

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
}

.wrap {
    display: flex;
}

main {
    flex: 1;
}