/**
 * Pages Stylesheet
 * 各ページ固有のスタイル
 * 
 * @package DRONE-DX
 */

/* ========================================
   ページヒーロー（共通）
======================================== */
/* ページヒーローの背景画像 */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
/* モバイルでは fixed を解除 */
@media (max-width: 768px) {
    .page-hero {
        background-attachment: scroll;
    }
    .hero {
        background-attachment: scroll;
    }
}

/* オーバーレイ */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(1 24 52 / 50%) 0%, rgb(54 109 163 / 70%) 100% 100%);
    z-index: 1;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgb(1 24 52 / 50%) 0%, rgb(54 109 163 / 70%) 100% 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero {
    padding:  120px 30px;
    text-align: center;
    color: white;
}

.page-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero .tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-hero h1 {
    font-size: 2.625rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.page-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
    line-height: 1.8;
}

/* ========================================
   サービスカード
======================================== */
.service-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 25px;
}

.service-card .tag {
    display: inline-block;
    background: var(--color-primary-light);
    color: var(--color-primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 15px;
    color: var(--color-text);
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-card .service-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-card .service-link:hover {
    text-decoration: underline;
}

/* ========================================
   導入効果・数値表示
======================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.benefit-number {
    font-size: 3.25rem;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
    line-height: 1;
}

.benefit-label {
    font-size: 0.875rem;
    color: var(--color-text-lighter);
    margin-bottom: 10px;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 5px;
}

.benefit-description {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* ========================================
   実施ステップ
======================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-item {
    position: relative;
    padding-left: 80px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-item h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.step-item p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.8;
}

/* ========================================
   納品物カード
======================================== */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.deliverable-card {
    background: white;
    border-radius: 10px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.deliverable-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    margin: 0 auto 20px;
}

.deliverable-card h3 {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 10px;
}

.deliverable-card p {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

/* ========================================
   2ステップセクション（外壁点検ページ）
======================================== */
.step-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 60px;
}

.step-box {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.step-badge {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-box h3 {
    font-size: 1.75rem;
    color: var(--color-primary);
    flex: 1;
}

.step-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 15px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.125rem;
    color: var(--color-text);
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.benefits-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-box {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.benefit-box .benefit-number {
    font-size: 3rem;
}

/* ========================================
   統合サービスセクション
======================================== */
.integration-box {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.integration-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.integration-item {
    padding: 30px;
    background: var(--color-background-gray);
    border-radius: 10px;
    border-left: 4px solid var(--color-primary);
}

.integration-item h4 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.integration-item p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.highlight-text {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-primary);
    font-weight: bold;
    margin-top: 40px;
    padding: 25px;
    background: white;
    border-radius: 10px;
    border: 2px solid var(--color-primary);
}

/* ========================================
   薬液散布ページ（グリーン）
======================================== */
.page-spraying .page-hero {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
}

.page-spraying .service-icon,
.page-spraying .deliverable-icon,
.page-spraying .step-number {
    background: linear-gradient(135deg, var(--color-green), var(--color-green-dark));
}

.page-spraying .benefit-number,
.page-spraying .section-title h2,
.page-spraying .step-item h3,
.page-spraying .integration-item h4 {
    color: var(--color-green);
}

.page-spraying .tag {
    background: rgba(40, 167, 69, 0.15);
    color: var(--color-green);
}

/* ========================================
   スクール事業ページ（パープル）
======================================== */
.page-school .page-hero {
    background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
}

.page-school .service-icon,
.page-school .deliverable-icon,
.page-school .step-number {
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
}

.page-school .benefit-number,
.page-school .section-title h2,
.page-school .step-item h3,
.page-school .integration-item h4 {
    color: var(--color-purple);
}

.page-school .tag {
    background: rgba(111, 66, 193, 0.15);
    color: var(--color-purple);
}

/* ========================================
   通知バナー
======================================== */
.notice-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 5px solid #ffc107;
    padding: 40px;
    border-radius: 10px;
    margin: 60px auto;
    max-width: 1200px;
}

.notice-banner h3 {
    font-size: 1.625rem;
    color: #856404;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.notice-banner p {
    font-size: 1rem;
    color: #856404;
    line-height: 1.8;
}

.notice-banner strong {
    color: var(--color-purple);
}

/* ========================================
   フィロソフィーボックス
======================================== */
.philosophy-box {
    background: white;
    border-radius: 15px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.15);
    text-align: center;
}

.philosophy-title {
    font-size: 3rem;
    color: var(--color-purple);
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.3;
}

.philosophy-subtitle {
    font-size: 1.375rem;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 600;
}

.philosophy-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
}

.location-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--color-purple-light);
}

.location-info p {
    font-size: 1rem;
    color: var(--color-text-light);
}

.location-info strong {
    color: var(--color-purple);
}

/* ========================================
   証言ボックス
======================================== */
.testimonial-box {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.15);
    margin-bottom: 40px;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 5px;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--color-text-lighter);
}

.testimonial-quote {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.9;
    font-style: italic;
    padding: 25px;
    background: var(--color-background-gray);
    border-radius: 10px;
    border-left: 4px solid var(--color-purple);
}

/* ========================================
   講師カード
======================================== */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

.instructor-card {
    background: white;
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.1);
}

.instructor-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    margin: 0 auto 20px;
}

.instructor-card h3 {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 5px;
}

.instructor-card .title {
    font-size: 0.875rem;
    color: var(--color-purple);
    font-weight: 600;
}

/* ========================================
   CTAセクション
======================================== */
.cta-section {
    text-align: center;
    padding: 80px 30px;
}

.cta-section h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   キャンペーンバナー
======================================== */
.campaign-banner {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-dark) 100%);
    color: white;
    padding: 60px 30px;
    text-align: center;
    border-radius: 15px;
    margin-top: 60px;
}

.campaign-banner h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.campaign-banner p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.campaign-button {
    background: white;
    color: var(--color-green);
    padding: 16px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.campaign-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    color: var(--color-green);
}

/* ========================================
   安全管理セクション
======================================== */
.safety-section {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 40px;
    border-radius: 10px;
    margin-top: 60px;
}

.safety-section h3 {
    font-size: 1.625rem;
    color: #856404;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.safety-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.safety-item {
    display: flex;
    align-items: start;
    gap: 15px;
}

.safety-check {
    width: 30px;
    height: 30px;
    background: #ffc107;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.safety-item p {
    color: #856404;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ========================================
   会社概要
======================================== */


/* アンカーナビゲーション */
.anchor-nav {
    background: white;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.anchor-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.anchor-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.anchor-nav li {
    flex-shrink: 0;
}

.anchor-nav a {
    display: block;
    padding: 20px 25px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.anchor-nav a:hover,
.anchor-nav a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* セクション共通 */
.company-section {
    padding: 80px 30px;
    scroll-margin-top: 160px;
}

.company-section:nth-child(even) {
    background: #f8f9fa;
}

/* 会社概要テーブル */
.company-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.company-table table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 20px 30px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.company-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    width: 200px;
}

.company-table td {
    color: #666;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

/* 技術・実績グリッド */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tech-card {
    background: white;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.tech-card p {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.tech-card ul {
    margin-top: 15px;
    padding-left: 20px;
    color: #666;
}

.tech-card ul li {
    margin-bottom: 8px;
}

/* ISO認証 */
.iso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.iso-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--color-primary);
}

.iso-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    font-weight: bold;
}

.iso-card h3 {
    font-size: 1.375rem;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.iso-card .iso-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.iso-card p {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* 安全衛生 */
.safety-content {
    background: white;
    border-radius: 15px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.safety-item {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--color-primary);
}

.safety-item h4 {
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.safety-item ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
}

.safety-item ul li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* 拠点一覧 */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.location-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.location-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    padding: 25px 30px;
}

.location-header h3 {
    font-size: 1.375rem;
    margin-bottom: 5px;
}

.location-type {
    font-size: 0.875rem;
    opacity: 0.9;
}

.location-body {
    padding: 30px;
}

.location-info {
    margin-bottom: 20px;
}

.location-info-item {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 15px;
}

.location-icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
    font-size: 1.25rem;
}

.location-info-item p {
    margin: 0;
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .anchor-nav {
        top: 70px;
    }
    
    .anchor-nav a {
        padding: 15px 20px;
        font-size: 0.875rem;
    }
    
    .company-section {
        padding: 60px 20px;
        scroll-margin-top: 140px;
    }
    
    .company-table th,
    .company-table td {
        padding: 15px 20px;
        display: block;
        width: 100%;
    }
    
    .company-table th {
        background: var(--color-primary-light);
        color: var(--color-primary);
        border-bottom: none;
        padding-bottom: 10px;
    }
    
    .company-table td {
        padding-top: 10px;
        padding-bottom: 20px;
    }
    
    .tech-grid,
    .iso-grid,
    .safety-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }
    
    .safety-content {
        padding: 30px 20px;
    }
}