99 lines
1.4 KiB
CSS
99 lines
1.4 KiB
CSS
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
font-family: "Helvetica Neue", Arial, sans-serif;
|
|
background-color: #f2f2f2;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
header {
|
|
background-color: orange;
|
|
padding: 10px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
#logo-container img {
|
|
display: block;
|
|
}
|
|
|
|
#logo {
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
/* トグルボタンのスタイル */
|
|
.menu-toggle {
|
|
display: none;
|
|
}
|
|
|
|
.menu-toggle-label {
|
|
display: block;
|
|
cursor: pointer;
|
|
padding: 10px;
|
|
color: #fff;
|
|
font-size: 24px;
|
|
}
|
|
|
|
/* メニューのスタイル */
|
|
.menu {
|
|
display: none;
|
|
position: absolute;
|
|
right: 10px;
|
|
background-color: #f26522;
|
|
padding: 0;
|
|
list-style-type: none;
|
|
text-align: right;
|
|
}
|
|
|
|
.menu li {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.menu li a {
|
|
display: block;
|
|
padding: 10px;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
.menu li a:hover {
|
|
background-color: #e1561c;
|
|
}
|
|
|
|
#content {
|
|
max-width: 800px;
|
|
margin: 20px auto;
|
|
padding: 20px;
|
|
background-color: #fff;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
h2 {
|
|
margin: 0 0 20px;
|
|
font-size: 24px;
|
|
color: #333;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 20px;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
color: #555;
|
|
}
|
|
|
|
footer {
|
|
position: sticky;
|
|
top: 100vh;
|
|
background-color: #333;
|
|
padding: 20px;
|
|
text-align: center;
|
|
color: #fff;
|
|
} |