/*
 * Custom Styles for Historic Site Card Website - Sophisticated Historical Edition
 */

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Noto Serif JP', serif; /* 明朝体に変更 */
    line-height: 1.8;
    color: #1a1510; /* 少し温かみのある黒に変更 */
    background-color: #ffffff; /* 白背景を維持 */
    padding-top: 70px;
}

/* Common Section Padding */
.section-padding {
    padding: 80px 0;
    scroll-margin-top: 70px;
}

#about.section-padding {
    padding-top: 0;
}

/* Navigation Bar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid #e0d8c8;
}

.navbar-brand {
    font-weight: 700;
}

.nav-link {
    font-weight: 400;
    color: #3c2800 !important; /* アクセントカラー */
    letter-spacing: 0.1em;
}

.nav-link:hover {
    color: #8b6b3e !important;
}

/* Hero Section */
.hero-section {
    background-color: #ffffff;
    margin: 0 !important;
    padding: 0 !important;
}

.main-visual-wrapper, .main-visual-wrapper img {
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    width: 100%;
    height: auto !important;
}

/* Section Titles */
.section-title {
    font-weight: 700;
    margin-top: 0 !important;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
    color: #3c2800;
    letter-spacing: 0.15em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px; /* 細い線で洗練さを出す */
    background-color: #3c2800;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 4px; /* 二重線にする */
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: #3c2800;
}

section:not(.text-center) .section-title::after,
section:not(.text-center) .section-title::before {
    left: 0;
    transform: none;
}

/* Step Cards */
.step-card {
    border: 1px solid #e0d8c8;
    border-top: 4px solid #3c2800; /* 上部にアクセントカラー */
    background-color: #ffffff;
    transition: all 0.4s ease;
    border-radius: 0; /* 直角で誠実さを出す */
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(60, 40, 0, 0.1);
}

.step-num {
    font-family: 'Georgia', serif; /* 数字はセリフ体の欧文書体 */
    font-size: 3rem;
    font-weight: 700;
    color: #f3f0e8;
    line-height: 1;
    font-style: italic;
}

.badge-brown {
    background-color: #3c2800 !important;
}

/* Details Section */
.color-box {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    vertical-align: middle;
    border: 1px solid rgba(0,0,0,0.1);
}

/* Image Effects */
.card-samples img {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid #e0d8c8;
    padding: 5px;
    background: #fff;
}

.card-samples img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(60, 40, 0, 0.15);
}

/* NFT Explanation Box */
.nft-explanation {
    font-size: 0.95rem;
    background-color: #f9f7f2 !important; /* わずかに色を付けて紙のような質感を出す */
    border-left: 2px solid #3c2800 !important;
    color: #4a3a2a;
}

/* Buttons */
.btn-primary, .btn-outline-primary, .btn-success {
    background-color: #3c2800;
    border: 1px solid #3c2800;
    color: #ffffff;
    border-radius: 0; /* 直角に変更 */
    padding: 12px 30px;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.btn-primary:hover, .btn-outline-primary:hover, .btn-success:hover {
    background-color: #5a3c00;
    border-color: #5a3c00;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-outline-primary {
    background-color: transparent;
    color: #3c2800;
}

/* Table Style */
.table {
    border-top: 2px solid #3c2800;
}

.table thead th {
    background-color: #f9f7f2;
    color: #3c2800;
    border-bottom: 1px solid #e0d8c8;
}

/* Footer */
footer {
    background-color: #1a1510 !important;
    border-top: 5px solid #3c2800;
    padding: 60px 0 !important;
}

footer p {
    color: #bfa37e;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
}
