/* --- Base --- */
* { 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; }

/* --- 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 Sans JP', serif; font-size: 1.8rem; margin-bottom: 30px; color: #1a2a3a; }
h3 { font-size: 1.5rem; margin-bottom: 40px; }

/* 会社概要とコンタクトのpタグのみ中央寄せ */
.company p, .contact p { text-align: center; }

/* パートナーとミッションのpタグは左寄せ */
.mission p, .partner p { text-align: left; }

/* --- Header --- */
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-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; }

/* --- Hero --- */
.hero { width: 100%; padding-top: 70px; }
.hero-img { width: 100%; height: auto; display: block; }

/* --- Mission / Partner --- */
.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; }
.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;
}

/* --- 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; }

/* --- Mobile --- */
.menu-btn { display: none; }
.mobile-nav { display: none; }

/* --- スマホ版：768px以下 --- */
@media (max-width: 768px) {
    /* すべて左寄せに上書き */
    .label, h2, h3, p, .company p, .contact p { text-align: left !important; }

    .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; }

    .partner-flex { flex-direction: column; align-items: center; }
    .partner-info { text-align: left; }
    .pc-only { display: none; }
    
    .profile-wrapper { justify-content: flex-start; }
    .profile-list dt { width: 80px; }
    .profile-list dd { margin-left: 80px; }

    /* ボタンのみ中央寄せ */
    .btn-area { text-align: center !important; }
}