/* ==========================================================================
   1. Base & Reset
   ========================================================================== */
   * { margin: 0; padding: 0; box-sizing: border-box; }
   html { scroll-behavior: smooth; }
   body {
       font-family: 'Noto Sans JP', sans-serif;
       color: #333;
       line-height: 1.8;
       background-color: #fdfdfd;
   }
   .container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
   .section { padding: 100px 0; }
   p { text-align: left; }
   
   /* --- PC・タブレット版：デフォルト配置設定 --- */
   .label, h2, h3 { text-align: center; width: 100%; }
   .label { display: block; color: #3498db; font-weight: bold; font-size: 0.75rem; letter-spacing: 0.2em; margin-bottom: 20px; }
   h2 { font-family: 'Noto Serif JP', serif; font-size: 1.8rem; margin-bottom: 30px; color: #1a2a3a; }
   h3 { font-size: 1.5rem; margin-bottom: 40px; }
   
   /* セクションごとのpタグ配置分け */
   .mission p, .partner p { text-align: left; }
   .company p, .contact p { text-align: center; }
   
   /* ==========================================================================
      2. Header & Navigation
      ========================================================================== */
   header {
       width: 100%; position: fixed; top: 0; left: 0;
       background: rgba(255, 255, 255, 0.95); z-index: 1000;
       padding: 15px 0; border-bottom: 1px solid #eee;
   }
   .header-inner { display: flex; justify-content: space-between; align-items: center; padding: 0 40px; }
   .site-logo { height: 40px; width: auto; display: block; }
   
   /* PC・タブレット用ナビ */
   .pc-nav ul { display: flex; list-style: none; }
   .pc-nav ul li { margin-left: 30px; }
   .pc-nav ul li a { text-decoration: none; color: #1a2a3a; font-size: 0.85rem; font-weight: 700; }
   
   /* スマホ用ナビ（初期状態は非表示） */
   .menu-btn { display: none; }
   .mobile-nav { display: none; }
   
   /* ==========================================================================
      3. Main Visual (Hero / Sub Hero)
      ========================================================================== */
   /* トップページ用ヒーロー */
   .hero { width: 100%; padding-top: 70px; }
   .hero-img { width: 100%; height: auto; display: block; }
   
   /* 下層（サブページ）共通メインビジュアル */
   .sub-main { padding-top: 70px; }
   .sub-hero {
       width: 100%; height: 250px;
       background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/01_main_pc.jpg') no-repeat center center/cover;
       display: flex; align-items: center; justify-content: center; color: #fff;
   }
   .sub-hero-inner { text-align: center; width: 100%; max-width: 1000px; padding: 0 24px; }
   .sub-hero-label { display: block; font-size: 0.8rem; font-weight: bold; letter-spacing: 0.2em; color: #3498db; margin-bottom: 10px; }
   .sub-hero-title { font-family: 'Noto Sans JP', sans-serif; font-size: 2.2rem; font-weight: 700; letter-spacing: 0.05em; margin: 0; color: #fff; text-align: center; }
   
   /* 下層ページ専用の余白微調整 */
   .section.news-page, .section.news-detail-page { padding: 60px 0 100px; }
   
   /* ==========================================================================
      4. Content Sections
      ========================================================================== */
   /* --- Mission --- */
   .lang-en { color: #777; font-size: 0.9rem; border-top: 1px solid #eee; padding-top: 30px; margin-top: 30px; }
   .en-title { font-weight: bold; margin-bottom: 10px; color: #1a2a3a; }
   
   /* --- News (Top / Archive / Detail) --- */
   .news { background: #f9f9f9; }
   .news-list { max-width: 800px; margin: 0 auto; text-align: left; }
   .archive-list { margin-top: 40px; }
   .news-item { display: flex; align-items: baseline; padding: 20px 0; border-bottom: 1px solid #eee; }
   .news-item time { font-size: 0.9rem; color: #888; width: 120px; flex-shrink: 0; font-family: sans-serif; }
   .news-category { background: #1a2a3a; color: #fff; font-size: 0.7rem; font-weight: bold; padding: 2px 10px; margin-right: 20px; border-radius: 30px; line-height: 1.2; flex-shrink: 0; }
   .news-title { font-weight: 400; flex-grow: 1; text-align: left !important; }
   .news-title a { color: #333; text-decoration: none; transition: 0.3s; }
   .news-title a:hover { color: #3498db; }
   .news-more-area, .news-back-area { text-align: center; margin-top: 40px; }
   .btn-more { display: inline-block; color: #3498db; text-decoration: none; font-weight: bold; font-size: 0.95rem; }
   
   /* News 個別詳細ページ */
   .detail-container { max-width: 800px; text-align: left; }
   .detail-meta { display: flex; align-items: center; margin-bottom: 15px; }
   .detail-meta time { font-size: 0.95rem; color: #777; margin-right: 20px; font-family: sans-serif; }
   .detail-title { font-size: 2rem; font-family: 'Noto Sans JP', sans-serif; color: #1a2a3a; line-height: 1.4; margin-bottom: 35px; text-align: left; }
   .detail-body { padding-bottom: 40px; border-bottom: 1px solid #ddd; }
   .detail-body p { text-align: left !important; font-size: 1.05rem; color: #444; margin-bottom: 25px; }
   .detail-footer-nav { display: flex; justify-content: space-between; margin-top: 40px; }
   .btn-back { display: inline-block; color: #666; text-decoration: none; font-size: 0.95rem; font-weight: bold; }
   .btn-back:hover { color: #3498db; }
   
   /* --- Partner --- */
   .partner-flex { display: flex; align-items: flex-start; gap: 50px; margin-top: 40px; }
   .partner-img img { width: 250px; height: 250px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid #eee; }
   .partner-info h4 { font-size: 1.4rem; margin-bottom: 20px; border-bottom: 2px solid #3498db; display: inline-block; text-align: left; }
   .view-portfolio { display: inline-block; margin-top: 20px; color: #3498db; text-decoration: none; font-weight: bold; border-bottom: 1px solid; }
   
   /* --- Company Profile --- */
   .company { background: #f9f9f9; }
   .profile-wrapper { display: flex; justify-content: center; }
   .profile-list { text-align: left; width: 100%; max-width: 600px; }
   .profile-list dt { float: left; width: 100px; font-weight: bold; padding: 15px 0; border-bottom: 1px solid #ddd; clear: both; }
   .profile-list dd { margin-left: 100px; padding: 15px 0; border-bottom: 1px solid #ddd; }
   .profile-list a { color: #3498db; text-decoration: none; margin-right: 10px; }
   
   /* --- Contact --- */
   .btn-area { text-align: center; }
   .btn-blue {
       display: inline-block; background: #3498db; color: #fff; padding: 18px 60px;
       border-radius: 10px; text-decoration: none; font-weight: bold; font-size: 1.1rem; margin-top: 30px; transition: 0.3s;
   }
   
   /* ==========================================================================
      5. Footer
      ========================================================================== */
   footer { background: #1a2a3a; color: #fff; text-align: center; padding: 60px 0; }
   .footer-logo { height: 40px; width: auto; margin-bottom: 20px; }
   .copy { font-size: 0.75rem; opacity: 0.5; text-align: center; }
   
   /* ==========================================================================
      6. Responsive (スマホ対応：768px以下)
      ========================================================================== */
   @media (max-width: 768px) {
       /* テキスト・見出しを一括で左寄せに上書き */
       .label, h2, h3, p, .company p, .contact p { text-align: left !important; }
       .pc-only { display: none; }
   
       /* ナビゲーション切り替え */
       .pc-nav { display: none; }
       .menu-btn { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
       .menu-btn span { width: 30px; height: 2px; background: #000; }
       
       /* スマホ専用ドロワー */
       .mobile-nav {
           display: block; position: fixed; top: 0; right: -100%;
           width: 80%; height: 100vh; background: #fff; z-index: 999;
           transition: 0.4s; padding-top: 100px;
       }
       .mobile-nav.active { right: 0; }
       .mobile-nav ul { list-style: none; text-align: center; }
       .mobile-nav ul li a { display: block; padding: 15px; font-size: 1.4rem; text-decoration: none; color: #333; font-weight: bold; }
   
       /* 下層共通メインビジュアル（スマホ版） */
       .sub-hero {
           height: 180px;
           background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('img/01_main_sp.jpg') no-repeat center center/cover;
           justify-content: flex-start; align-items: center;
       }
       .sub-hero-inner { text-align: left !important; }
       .sub-hero-title { text-align: left !important; font-size: 1.6rem; }
   
       /* お知らせ（スマホ版） */
       .news-item { flex-direction: column; align-items: flex-start; gap: 8px; }
       .news-item time { width: auto; }
       .news-category { margin-right: 0; }
       .news-more-area, .news-back-area { text-align: left !important; }
       
       /* お知らせ個別（スマホ版） */
       .detail-title { font-size: 1.5rem; margin-bottom: 25px; }
       .detail-footer-nav { flex-direction: column; gap: 20px; align-items: flex-start; }
   
       /* パートナー（スマホ版） */
       .partner-flex { flex-direction: column; align-items: center; }
       .partner-info { text-align: left; }
   
       /* 会社概要（スマホ版） */
       .profile-wrapper { justify-content: flex-start; }
       .profile-list dt { width: 80px; }
       .profile-list dd { margin-left: 80px; }
   
       /* ★特定要素の中央寄せ維持（ボタン・コピーライト） */
       .btn-area { text-align: center !important; }
       footer, .copy { text-align: center !important; }
   }

/* ==========================================
   お知らせ詳細ページ本文のスタイル拡張
   ========================================== */
   .detail-body h3 {
    font-size: 1.25rem;
    margin: 35px 0 15px;
    color: #1A1A1B;
    border-left: 3px solid #2C3E50;
    padding-left: 10px;
    text-align: left;
}

.project-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.project-info-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 本文挿入画像のレスポンシブ設定 */
.detail-img-box {
    margin: 30px 0;
    width: 100%;
    text-align: center;
}

.detail-img-box img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.external-link {
    color: #2C3E50;
    text-decoration: underline;
    word-break: break-all;
}

.external-link:hover {
    opacity: 0.8;
}

/* スマホ表示時の調整 */
@media (max-width: 768px) {
    .detail-body h3 {
        font-size: 1.1rem;
        margin: 25px 0 10px;
    }

    .detail-img-box {
        margin: 20px 0;
    }
}