@charset "UTF-8";

/* ==========================================================================
   全般・リセット
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background-color: #fcfcfc;
}

a {
    color: #005bac;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #003a70;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #222;
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 0.75rem;
    color: #777;
    margin-top: 2px;
}

/* ナビゲーションPC */
.menu {
    display: flex;
}

.menu li {
    margin-left: 30px;
}

.menu a {
    color: #444;
    font-weight: bold;
    font-size: 0.95rem;
    display: block;
    padding: 8px 0;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #005bac;
    transition: width 0.3s;
}

.menu a:hover::after {
    width: 100%;
}

.menu-btn, .menu-icon {
    display: none;
}

/* ==========================================================================
   メインビジュアル (Hero) - 画像 image001.jpg を適用
   ========================================================================== */
.hero {
    height: 60vh;
    min-height: 450px;
    /* 黒い透過グラデーションを重ねて文字を読みやすくしています */
    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('image001.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.25rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
    font-weight: 500;
}

/* ==========================================================================
   共通セクションスタイル
   ========================================================================== */
.section {
    padding: 80px 0;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    color: #111;
    letter-spacing: 0.1em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: #005bac;
}

.dummy-img {
    background-color: #e0e0e0;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
}

/* ==========================================================================
   CONCEPT セクション
   ========================================================================== */
.concept-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.concept-text {
    flex: 1;
}

.concept-text .lead {
    font-size: 1.15rem;
    font-weight: bold;
    color: #005bac;
    margin-bottom: 20px;
    line-height: 1.6;
}

.concept-img {
    flex: 1;
}

.concept-img .dummy-img {
    width: 100%;
    height: 300px;
}

/* ==========================================================================
   OFFICE セクション - 地図画像 map.gif のスタイル調整
   ========================================================================== */
.office-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.office-info {
    flex: 1.2;
}

.office-info h3 {
    font-size: 1.4rem;
    color: #222;
}

.office-info .en-name {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

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

.info-table th, .info-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e9e9e9;
    text-align: left;
    vertical-align: top;
}

.info-table th {
    width: 120px;
    font-weight: bold;
    color: #555;
    font-size: 0.95rem;
}

.info-table td ul {
    list-style: square;
    margin-left: 20px;
}

/* マップ設置エリア */
.office-map {
    flex: 0.8;
}

.map-container {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.footer {
    background-color: #222;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   レスポンシブ表示（画面幅 768px 以下の場合）
   ========================================================================== */
@media (max-width: 768px) {
    .header-container {
        padding: 10px 20px;
    }
    .logo-main { font-size: 1.05rem; }
    
    .nav {
        clear: both;
        max-height: 0;
        transition: max-height .2s ease-out;
        overflow: hidden;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #fff;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .menu {
        flex-direction: column;
        padding: 10px 20px;
    }
    
    .menu li {
        margin-left: 0;
        border-bottom: 1px solid #eee;
    }
    
    .menu li:last-child {
        border-bottom: none;
    }
    
    .menu a {
        padding: 15px 0;
    }

    .menu-icon {
        display: block;
        cursor: pointer;
        padding: 28px 20px;
        position: relative;
        user-select: none;
    }

    .menu-icon .navicon {
        background: #333;
        display: block;
        height: 2px;
        position: relative;
        transition: background .2s ease-out;
        width: 18px;
    }

    .menu-icon .navicon:before,
    .menu-icon .navicon:after {
        background: #333;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all .2s ease-out;
        width: 100%;
    }

    .menu-icon .navicon:before { top: 5px; }
    .menu-icon .navicon:after { top: -5px; }

    .menu-btn:checked ~ .nav {
        max-height: 240px;
    }

    .menu-btn:checked ~ .menu-icon .navicon {
        background: transparent;
    }

    .menu-btn:checked ~ .menu-icon .navicon:before {
        transform: rotate(-45deg);
        top: 0;
    }

    .menu-btn:checked ~ .menu-icon .navicon:after {
        transform: rotate(45deg);
        top: 0;
    }

    /* レイアウトを縦一列に変更 */
    .hero {
        height: 50vh;
        min-height: 350px;
    }
    .hero-content h1 { font-size: 1.8rem; margin-bottom: 10px; }
    .hero-content p { font-size: 1rem; }

    .section { padding: 50px 0; }
    .section-title { margin-bottom: 30px; }

    .concept-wrapper, .office-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .concept-img .dummy-img {
        height: 200px;
    }

    .info-table th {
        width: 90px;
        font-size: 0.9rem;
    }
    
    .office-map {
        width: 100%;
    }
}