/* ============================================
   電律 固定ページ用スタイル
   ============================================ */

/* 基本設定 */
.denritsu-page {
    width: 100%;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ============================================
   ページヘッダー
   ============================================ */
.page-header {
    position: relative;
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    .page-header {
        height: 540px;
    }
}

.battery-page .page-header {
    background-image: url('/wp-content/themes/denritsu/images/battery/header.jpg');
}

.hydro-page .page-header {
    background-image: url('/wp-content/themes/denritsu/images/hydro/header.jpg');
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent);
}

/* ============================================
   パンくず
   ============================================ */
.breadcrumb-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
}

@media (min-width: 768px) {
    .breadcrumb-wrapper {
        padding: 16px 32px;
    }
}

.breadcrumb-container {
    width: 100%;
}

.breadcrumb-text {
    color: #666;
    font-size: 13px;
}

.breadcrumb-text i {
    margin-right: 4px;
}

/* ============================================
   イントロセクション
   ============================================ */
.intro-section {
    width: 100%;
    background: #f8f9fa;
    padding: 48px 0;
}

@media (min-width: 768px) {
    .intro-section {
        padding: 80px 0;
    }
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .intro-container {
        padding: 0 32px;
    }
}

.page-title-header {
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .page-title-header {
        margin-bottom: 64px;
    }
}

.title-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.title-icon {
    width: 16px;
    height: 16px;
    background: linear-gradient(to right, rgb(41, 92, 194), rgb(71, 148, 255));
    border-radius: 2px;
}

.title-subtitle {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(to right, rgb(41, 92, 194), rgb(71, 148, 255));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

@media (min-width: 768px) {
    .title-subtitle {
        font-size: 14px;
    }
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: inline;
    }

    .mobile-inline {
        display: none;
    }
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.2;
    background: linear-gradient(to right, rgb(41, 92, 194), rgb(71, 148, 255));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

@media (min-width: 768px) {
    .page-title {
        font-size: 40px;
    }
}

.intro-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 24px;
    max-width: 800px;
}

@media (min-width: 768px) {
    .intro-card {
        padding: 40px;
    }
}

.intro-text {
    color: #333;
    font-size: 15px;
    line-height: 2;
    margin: 0 0 24px 0;
}

@media (min-width: 768px) {
    .intro-text {
        font-size: 16px;
    }
}

.intro-text:last-child {
    margin-bottom: 0;
}

/* ============================================
   青色セクション
   ============================================ */
.blue-section {
    position: relative;
    background: linear-gradient(135deg, rgb(41, 92, 194), rgb(56, 110, 210), rgb(71, 148, 255));
    padding: 64px 0;
    overflow: hidden;
}

@media (min-width: 768px) {
    .blue-section {
        padding: 96px 0;
    }
}

.blue-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMzYgMzRjMC0yLjIxLTEuNzktNC00LTRzLTQgMS43OS00IDQgMS43OSA0IDQgNCA0LTEuNzkgNC00eiIgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIiLz48L2c+PC9zdmc+');
    background-size: 60px 60px;
}

.blue-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    z-index: 1;
}

@media (min-width: 768px) {
    .blue-container {
        padding: 0 32px;
    }
}

.blue-title-section {
    text-align: center;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .blue-title-section {
        margin-bottom: 64px;
    }
}

.blue-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.blue-badge span {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .blue-badge span {
        font-size: 14px;
    }
}

.blue-main-title {
    color: #fff;
    font-size: 26px;
    font-weight: bold;
    line-height: 1.4;
    margin: 0 0 16px 0;
}

@media (min-width: 768px) {
    .blue-main-title {
        font-size: 36px;
    }
}

.blue-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

@media (min-width: 768px) {
    .blue-subtitle {
        font-size: 18px;
    }
}

/* ============================================
   2カラムグリッド
   ============================================ */
.feature-grid-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .feature-grid-2col {
        max-width: 768px;
        gap: 48px;
        margin: 0 auto;
    }
}

.main-feature {
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .main-feature {
        margin-bottom: 128px;
    }
}

/* ============================================
   3カラムグリッド
   ============================================ */
.feature-grid-3col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .feature-grid-3col {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.col-span-2 {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .col-span-2 {
        grid-column: span 2;
    }

    .order-1-desktop {
        order: 1;
    }

    .order-2-desktop {
        order: 2;
    }
}

/* ============================================
   画像とカード
   ============================================ */
.feature-image-wrapper {
    position: relative;
}

.image-glow {
    position: absolute;
    inset: -8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    filter: blur(12px);
    z-index: 0;
}

.feature-image {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

@media (min-width: 768px) {
    .feature-image {
        border-radius: 12px;
    }
}

.placeholder-image {
    position: relative;
    width: 100%;
    height: 280px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    z-index: 1;
}

@media (min-width: 768px) {
    .placeholder-image {
        height: 400px;
        border-radius: 12px;
        font-size: 16px;
    }
}

.feature-text-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .feature-text-card {
        padding: 32px;
        border-radius: 12px;
    }
}

.feature-text-card.align-center {
    display: flex;
    align-items: center;
}

.feature-text-card p {
    color: #fff;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

@media (min-width: 768px) {
    .feature-text-card p {
        font-size: 15px;
    }
}

/* ============================================
   スペック表
   ============================================ */
.spec-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .spec-card {
        padding: 40px;
    }
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (min-width: 768px) {
    .spec-grid {
        gap: 32px;
    }
}

.spec-item {
    text-align: left;
}

.spec-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .spec-label {
        font-size: 14px;
    }
}

.spec-value {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

@media (min-width: 768px) {
    .spec-value {
        font-size: 32px;
    }
}

.spec-unit {
    font-size: 16px;
    margin-left: 4px;
}

@media (min-width: 768px) {
    .spec-unit {
        font-size: 20px;
    }
}

/* ============================================
   番号付きセクション
   ============================================ */
.numbered-section {
    margin-bottom: 80px;
}

@media (min-width: 768px) {
    .numbered-section {
        margin-bottom: 128px;
    }
}

.section-spacing {
    margin-top: 80px;
}

@media (min-width: 768px) {
    .section-spacing {
        margin-top: 128px;
    }
}

.subsection-spacing {
    margin-top: 48px;
}

@media (min-width: 768px) {
    .subsection-spacing {
        margin-top: 64px;
    }
}

.numbered-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .numbered-header {
        margin-bottom: 64px;
    }
}

.number-badge {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.number-badge span {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.section-title {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 28px;
    }
}

/* ============================================
   白色セクション
   ============================================ */
.white-section {
    background: #fff;
    padding: 64px 0;
}

@media (min-width: 768px) {
    .white-section {
        padding: 96px 0;
    }
}

.gray-section {
    background: #f8f9fa;
    padding: 64px 0;
}

@media (min-width: 768px) {
    .gray-section {
        padding: 96px 0;
    }
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .content-container {
        padding: 0 32px;
    }
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 48px;
    }
}

.section-accent-bar {
    width: 6px;
    height: 48px;
    background: linear-gradient(to bottom, rgb(41, 92, 194), rgb(71, 148, 255));
    border-radius: 999px;
}

.section-heading {
    color: rgb(41, 92, 194);
    font-size: 22px;
    font-weight: bold;
    margin: 0;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 30px;
    }
}

.content-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    max-width: 800px;
}

@media (min-width: 768px) {
    .content-card {
        padding: 40px;
    }
}

.content-card.white-bg {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-card p {
    color: #333;
    font-size: 15px;
    line-height: 2;
    margin: 0;
}

@media (min-width: 768px) {
    .content-card p {
        font-size: 16px;
    }
}

/* ============================================
   お問い合わせボタン
   ============================================ */
.contact-section {
    background: #f8f9fa;
    padding: 64px 0;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 80px 0;
    }
}

.contact-section.white-bg {
    background: #fff;
}

.contact-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-button-link {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.contact-button-glow {
    position: absolute;
    inset: -4px;
    background: linear-gradient(to right, rgb(41, 92, 194), rgb(71, 148, 255));
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.5;
    transition: opacity 0.3s;
}

.contact-button-link:hover .contact-button-glow {
    opacity: 0.75;
}

.contact-button {
    position: relative;
    padding: 16px 40px;
    background: linear-gradient(to right, rgb(41, 92, 194), rgb(71, 148, 255));
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    box-shadow: 0 4px 20px rgba(41, 92, 194, 0.3);
    transition: transform 0.3s;
}

@media (min-width: 768px) {
    .contact-button {
        padding: 20px 48px;
        font-size: 17px;
    }
}

.contact-button-link:hover .contact-button {
    transform: scale(1.05);
}
