@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* About Page - Split Layout with Modern Typography */

.about-main {
    min-height: 100vh;
    padding: 120px 40px 40px;
    background: #f9f6f1;
    display: flex;
    align-items: center;
    font-family: 'Arial', sans-serif;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.about-container::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    height: calc(100% - 100px);
    width: 2px;
    background: #e5e5e5;
    transform: translateX(-50%);
}

.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    margin-bottom: 30px;
    position: relative;
}

/* Left Side - Profile & Career */
.left-side {
    padding-right: 60px;
    padding-left: 0;
    margin-left: -40px;
}

.profile-section h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 40px;
    letter-spacing: 1px;
    line-height: 1.0;
    font-family: 'Arial', sans-serif;
    text-transform: none;
}

.career-timeline p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #333;
    margin-bottom: 20px;
    font-weight: 400;
    font-family: 'Arial', sans-serif;
}

.business-content {
    margin-top: 50px;
}

.business-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Arial', sans-serif;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    font-size: 1rem;
    color: #666;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
    font-weight: 500;
    font-family: 'Arial', sans-serif;
}

.skill-list li:before {
    content: "—";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: 700;
}

/* Right Side - Skills */
.right-side {
    padding-left: 40px;
    position: relative;
}


.skills-section h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Arial', sans-serif;
}

.software-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.software-category h3 {
    font-size: 0.9rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Arial', sans-serif;
    opacity: 0.8;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
}

.tech-list li {
    font-size: 1rem;
    color: #666;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
    font-weight: 500;
    font-family: 'Arial', sans-serif;
    transition: color 0.3s ease;
}

.tech-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: 900;
    font-size: 0.8rem;
}

.tech-list li:hover {
    color: #000;
}

/* Contact Section */
.contact-section {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    padding: 18px 60px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    font-family: 'Arial', sans-serif;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* フッタースタイル */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #f9f6f1;
    border-top: 1px solid #e5e5e5;
}

footer p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

@media (max-width: 768px) {
    footer {
        padding: 30px 20px;
    }
    
    footer p {
        font-size: 0.85rem;
    }
}

/* ハンバーガーメニューとモバイルメニューのデフォルト非表示 */
.hamburger-menu,
.mobile-menu {
    display: none;
}

/* PC版で確実にハンバーガーメニューを非表示 */
@media (min-width: 769px) {
    .hamburger-menu,
    .mobile-menu {
        display: none !important;
    }
}

/* ハンバーガーメニュー対応 */
@media (max-width: 768px) {
    /* ハンバーガーメニューボタンをモバイルで表示 */
    .hamburger-menu {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        background: transparent;
        border: none;
        cursor: pointer;
        position: absolute !important;
        top: 50% !important;
        right: 24px !important;
        transform: translateY(-50%) !important;
        z-index: 1001 !important;
    }
    
    /* ヘッダーの基準位置を統一 */
    header {
        position: relative !important;
    }
    
    header nav {
        position: relative !important;
    }

    .hamburger-menu span {
        display: block;
        height: 2px;
        width: 100%;
        background: #333;
        border-radius: 1px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    /* ハンバーガーメニューアニメーション */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

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

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

    /* モバイルメニューの基本設定とオープン時の表示 */
    .mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(247, 243, 237, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1000;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 70px;
        gap: 20px;
        transition: all 0.3s ease;
    }

    .mobile-menu.open {
        display: flex !important;
    }

    .mobile-menu a {
        color: #333;
        text-decoration: none;
        font-size: 1.5rem;
        font-weight: 500;
        padding: 15px 20px;
        transition: all 0.3s ease;
    }

    .mobile-menu a:hover {
        color: #666;
        transform: translateX(5px);
    }

    /* PC版ナビゲーションを非表示 */
    .nav-links {
        display: none !important;
    }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .about-main {
        padding: 100px 30px 40px;
    }
    
    .split-layout {
        gap: 60px;
    }
    
    .left-side {
        padding-right: 30px;
    }
    
    .right-side {
        padding-left: 30px;
    }
}

@media (max-width: 768px) {
    .about-main {
        padding: 40px 20px 60px;
        min-height: auto;
        overflow-x: hidden;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .left-side,
    .right-side {
        padding: 0;
        margin: 0;
    }
    
    .about-container::after {
        display: none;
    }
    
    .right-side {
        border-top: 2px solid #e5e5e5;
        padding-top: 30px;
        margin-top: 15px;
    }
    
    .profile-section h1 {
        font-size: 1.3rem;
        margin-bottom: 15px;
        text-align: left;
        font-weight: 600;
    }
    
    .career-timeline p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .business-content {
        margin-top: 30px;
        text-align: center;
    }
    
    .business-content h2 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .skill-list li {
        font-size: 1.05rem;
        padding: 10px 0;
        text-align: left;
    }
    
    .skills-section {
        text-align: center;
    }
    
    .skills-section h2 {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .software-grid {
        gap: 25px;
    }
    
    .software-category h3 {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .tech-list {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
    }
    
    .tech-list li {
        font-size: 1.05rem;
        padding: 8px 0;
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .about-main {
        padding: 40px 16px 50px;
        overflow-x: hidden;
    }
    
    .profile-section h1 {
        font-size: 1.2rem;
        margin-bottom: 20px;
        text-align: left;
        font-weight: 600;
    }
    
    .career-timeline p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 12px;
    }
    
    .business-content h2,
    .skills-section h2 {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .software-category h3 {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .skill-list li,
    .tech-list li {
        font-size: 1rem;
        padding: 6px 0;
        padding-left: 25px;
    }
    
    .cta-button {
        padding: 18px 50px;
        font-size: 0.85rem;
        letter-spacing: 3px;
        margin: 50px auto 0;
        display: block;
        width: fit-content;
    }
    
    .split-layout {
        gap: 35px;
    }
    
    .software-grid {
        gap: 25px;
    }
    
    .contact-section {
        margin-top: 30px;
        text-align: center;
    }
}

/* ============================
   スマホ対応 (about.html)
   ============================ */
@media (max-width: 768px) {

  /* レイアウト系を縦並びに */
  .split-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  /* グリッド系を縦並びに */
  .software-grid,
  .equipment-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* カード要素を画面幅にフィット */
  .software-item,
  .equipment-item {
    width: 100%;
  }

  /* プロフィール画像調整 */
  .profile-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  /* ヒーローセクション調整 */
  .about-hero h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .about-hero p {
    font-size: 1rem;
    text-align: center;
  }

  /* セクションパディング調整 */
  .about-section {
    padding: 40px 20px;
  }

  /* ナビゲーション調整（スマホのみ） */
  .nav-links {
    display: none !important;
  }

  .hamburger-menu {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(247, 243, 237, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 70px;
    gap: 20px;
    transition: all 0.3s ease;
  }

  .mobile-menu.open {
    display: flex !important;
  }

  .mobile-menu a {
    color: #333;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 15px 20px;
    transition: all 0.3s ease;
  }
}