/* 詳細ページ用のCSS - メインページと統一されたスタイル */

/* 基本スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8fafc;
    overflow-x: hidden;
}

/* コンテナ */
.container {
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* セクション */
.section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* タイトル */
.section__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #1f2937;
}

/* ヘッダー - メインページと統一 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: transparent;
    backdrop-filter: blur(10px);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header__logo h1 {
    font-size: 1.25rem;
    font-weight: 700;
}

.header__logo a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header__logo a:hover {
    color: #2563eb;
}

/* ハンバーガーメニュー */
.header__hamburger {
    display: block;
    cursor: pointer;
    border: none;
    background: none;
    padding: 8px;
    position: relative;
    z-index: 1001;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.header__hamburger:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1f2937;
    margin: 5px auto;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.header__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__list {
    list-style: none;
    text-align: center;
}

.mobile-menu__item {
    margin: 20px 0;
}

.mobile-menu__link {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 15px;
    border-radius: 8px;
}

.mobile-menu__link:hover {
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.1);
}

/* メインコンテンツ */
main {
    min-height: 60vh;
    padding-top: 80px; /* ヘッダーの高さ分 */
}

/* 詳細コンテンツ */
.detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.detail-image-area {
    width: 100%;
}

.detail-image-area img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-image-area img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.detail-text-area {
    width: 100%;
}

.detail-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d4ed8;
}

.detail-point-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
    border-left: 4px solid #2563eb;
    padding-left: 15px;
}

.detail-feature-list {
    margin-bottom: 20px;
}

.detail-feature-list dt {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.detail-feature-list dd {
    margin-bottom: 20px;
    color: #4b5563;
    line-height: 1.8;
}

.detail-list {
    list-style: disc;
    padding-left: 1.5em;
    margin-bottom: 20px;
}

.detail-list li {
    margin-bottom: 0.5rem;
    color: #4b5563;
}

.detail-specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.detail-specs th,
.detail-specs td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.detail-specs th {
    background-color: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.detail-specs tr:hover {
    background-color: #f9fafb;
}

/* ボタン */
.button {
    display: inline-block;
    background-color: #2563eb;
    color: white;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}

.button:hover {
    background-color: #1d4ed8;
    text-decoration: none;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top {
    text-align: center;
    margin-top: 40px;
}

/* フッター */
.footer {
    background-color: #1f2937;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
    .header__hamburger {
        display: none;
    }
    
    .detail-content {
        flex-wrap: nowrap;
    }
    
    .detail-image-area {
        width: 40%;
    }
    
    .detail-text-area {
        width: 60%;
    }
    
    .section-padding {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    
    .section__title {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .section__title {
        font-size: 1.75rem;
    }
    
    .detail-subtitle {
        font-size: 1.25rem;
    }
    
    .detail-point-title {
        font-size: 1.1rem;
    }
} 