* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
line-height: 1.8;
color: #2c2c2c;
background-color: #f8f8f8;
}
/* ヘッダー */
header {
background-image: url('../img/header.jpg');
background-size: cover;
background-position: center;
position: relative;
min-height: 300px;
display: flex;
align-items: center;
justify-content: center;
}
header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(20, 20, 20, 0.75), rgba(40, 40, 40, 0.65));
}
h1 {
position: relative;
color: #ffffff;
font-size: 2.2rem;
font-weight: 300;
letter-spacing: 0.15em;
text-align: center;
padding: 20px;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
h1 a{
position: relative;
color: #ffffff;
font-size: 2.2rem;
font-weight: 300;
letter-spacing: 0.15em;
text-align: center;
padding: 20px;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
text-decoration: none;
}
/* ナビゲーションバー */
nav {
background: linear-gradient(to right, #1a1a1a, #2d2d2d);
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.nav-container {
max-width: 600px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}
.nav-toggle {
display: none;
background: none;
border: none;
color: #d4af37;
font-size: 1.5rem;
cursor: pointer;
padding: 15px 0;
}
.nav-menu {
display: flex;
list-style: none;
gap: 0;
}
.nav-menu li {
border-right: 1px solid rgba(212, 175, 55, 0.2);
}
.nav-menu li:last-child {
border-right: none;
}
.nav-menu a {
display: block;
color: #e8e8e8;
text-decoration: none;
padding: 18px 24px;
font-size: 0.95rem;
letter-spacing: 0.05em;
transition: all 0.3s ease;
position: relative;
}
.nav-menu a::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 2px;
background: #d4af37;
transition: width 0.3s ease;
}
.nav-menu a:hover {
background-color: rgba(212, 175, 55, 0.1);
color: #d4af37;
}
.nav-menu a:hover::after {
width: 80%;
}
/* メインコンテンツ */
main {
max-width: 600px;
margin: 40px auto;
padding: 0 20px;
}
article {
background-color: #ffffff;
padding: 40px 30px;
margin-bottom: 30px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
border-top: 3px solid #d4af37;
}
/* 見出し */
h2 {
font-size: 1.8rem;
color: #1a1a1a;
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 2px solid #d4af37;
font-weight: 500;
letter-spacing: 0.08em;
position: relative;
}
h2::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 80px;
height: 2px;
background: linear-gradient(to right, #1a1a1a, transparent);
}
h3 {
font-size: 1.4rem;
color: #2c2c2c;
margin: 35px 0 20px;
padding-left: 15px;
border-left: 4px solid #d4af37;
font-weight: 500;
letter-spacing: 0.05em;
}
h4 {
font-size: 1.15rem;
color: #3d3d3d;
margin: 25px 0 15px;
font-weight: 600;
letter-spacing: 0.03em;
position: relative;
padding-left: 25px;
}
h4::before {
content: '\25A0';
position: absolute;
left: 0;
color: #d4af37;
font-size: 0.8rem;
}
/* 段落 */
p {
margin-bottom: 1.8em;
line-height: 2;
color: #4a4a4a;
}
p:last-child {
margin-bottom: 0;
}
/* 画像 */
img {
max-width: 100%;
height: auto;
display: block;
margin: 30px auto;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
border-radius: 4px;
}
/* リスト */
ul, ol {
margin: 25px 0;
padding-left: 30px;
}
ul li, ol li {
margin-bottom: 12px;
line-height: 1.9;
color: #4a4a4a;
}
ul {
list-style: none;
}
ul li {
position: relative;
padding-left: 20px;
}
ul li::before {
content: '\25C6';
position: absolute;
left: 0;
color: #d4af37;
font-size: 0.7rem;
top: 0.4em;
}
ol {
counter-reset: ol-counter;
}
ol li {
position: relative;
padding-left: 10px;
}
/* テーブル */
table {
width: 100%;
border-collapse: collapse;
margin: 30px 0;
background-color: #ffffff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
th, td {
padding: 16px 12px;
text-align: left;
border-bottom: 1px solid #e8e8e8;
}
th {
background: linear-gradient(to bottom, #2d2d2d, #1a1a1a);
color: #ffffff;
font-weight: 500;
letter-spacing: 0.05em;
border-bottom: 2px solid #d4af37;
}
tr:last-child td {
border-bottom: none;
}
tr:hover {
background-color: #f9f9f9;
}
/* フッター */
footer {
background: linear-gradient(to bottom, #1a1a1a, #0d0d0d);
color: #e8e8e8;
padding: 50px 20px 30px;
margin-top: 60px;
}
.footer-container {
max-width: 600px;
margin: 0 auto;
}
.footer-menu {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
list-style: none;
margin-bottom: 30px;
padding: 0;
}
.footer-menu a {
color: #b8b8b8;
text-decoration: none;
font-size: 0.95rem;
letter-spacing: 0.05em;
transition: color 0.3s ease;
position: relative;
}
.footer-menu a::after {
content: '';
position: absolute;
bottom: -3px;
left: 0;
width: 0;
height: 1px;
background: #d4af37;
transition: width 0.3s ease;
}
.footer-menu a:hover {
color: #d4af37;
}
.footer-menu a:hover::after {
width: 100%;
}
.copyright {
text-align: center;
font-size: 0.85rem;
color: #888;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
letter-spacing: 0.05em;
}
.copyright a{
text-align: center;
font-size: 0.85rem;
color: #888;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
letter-spacing: 0.05em;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
h1 {
font-size: 1.6rem;
}
.nav-toggle {
display: block;
}
.nav-menu {
display: none;
flex-direction: column;
width: 100%;
position: absolute;
top: 100%;
left: 0;
background: linear-gradient(to bottom, #2d2d2d, #1a1a1a);
}
.nav-menu.active {
display: flex;
}
.nav-menu li {
border-right: none;
border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.nav-menu li:last-child {
border-bottom: none;
}
.nav-container {
flex-wrap: wrap;
}
article {
padding: 30px 20px;
}
h2 {
font-size: 1.5rem;
}
h3 {
font-size: 1.25rem;
}
table {
font-size: 0.9rem;
}
th, td {
padding: 12px 8px;
}
.footer-menu {
gap: 20px;
}
}
@media (max-width: 480px) {
h1 {
font-size: 1.4rem;
}
article {
padding: 25px 15px;
}
table {
font-size: 0.85rem;
}
}