*{
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    min-width: 1440px;
}

/*header*/
header {
    background-color: #fff5b9;
    height: 100px;
}

#headerInner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
}

#headerInner h1 {
    line-height: 100px;
    flex: 1;
}

#headerInner h1::before {
    content: '';
    display: inline-block;
    width: 80px;
    height: 80px;
    background-image: url(../img/logo.png);
    background-size: contain;
    vertical-align: middle;
    margin-right: 16px;
}

.rightContents {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rightContents #catch {
    display: inline-block;
    box-sizing: border-box;
    width: 60%;
}

.rightContents #point {
    display: inline-block;
    box-sizing: border-box;
    text-align: right;
    vertical-align: top;
    width: 39%;
}

.rightContents ul {
    display: flex;
    list-style: none;
    gap: 16px;
}

.rightContents ul li a {
    display: block;
    padding: 0 16px;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    background-color: #4caf50;
    color: #ffffff;
    border-radius: 5px 5px 0 0;
    font-weight: bold;
}

.rightContents ul li:last-child a {
    background-color: #ff0000;
}

.rightContents ul li a:hover {
    background-color: #0632c2;
}

main {
    margin: 0 auto;
    max-width: 1440px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px auto;
}

section{
    margin: 16px 0;
}

section > p{
    border-bottom: 1px solid #cccccc;
    margin-bottom: 16px;
}

form {
    width: 80%;
    margin: 0 auto;
    border: 1px solid #4caf50;
    padding: 32px;
}

.formItem {
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px dotted #4caf50;
}

input[type="text"], input[type="tel"], input[type="email"], input[type="password"], textarea{
    display: block;
}

span {
    color: #ff0000;
}

#name {
    min-width: 200px;
}

#born, #zip{
    min-width: 70px;
}

#address{
    min-width: 300px;
    width: 50%;
}

#tel{
    min-width: 90px;
}

#email, #confirmEmail {
    min-width: 300px;
    width: 50%;
}

#password{
    min-width: 150px;
}

#message{
    min-width: 300px;
    width: 100%;
    height: 80px;
}

button{
    width: 100px;
}

input[type="checkbox"]{
    margin-left: 16px;
}

#search {
    margin-left: 0;
}

/*footer*/
footer {
    width: 100%;
    height: 80px;
    background-color: #cccccc;
    box-sizing: border-box;
}

#footerInner {
    display: flex;
    gap: 16px;
    max-width: 1440px;
    margin: 0 auto;
}

#footerInner p {
    line-height: 80px;
}

#footerInner p:first-child {
    flex: 1;
}

#footerInner p:first-child a {
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}


#footerInner p:first-child a:hover {
    color: #0632c2;
}

#footerInner p:last-child {
    text-align: right;
}