@charset "UTF-8";

/* =========================================
   基本設定・変数
   ========================================= */
:root {
    --bg-color: #ffffff;
    --text-main: #1a1a1a;
    --text-light: #666666;
    --brand-dark: #0a1128;
    --brand-blue: #0044cc;
    --brand-green: #00b36b;
    --accent-orange: #ff6600;
    --gray-bg: #f4f6f9;
    --dropdown-bg: rgba(10, 17, 40, 0.98);
    --line-color: rgba(0, 0, 0, 0.08); 
}

body { 
    margin: 0; 
    font-family: 'Noto Sans JP', sans-serif; 
    color: var(--text-main); 
    background-color: var(--bg-color); 
    line-height: 1.8; 
    overflow-x: hidden; 
}

.en-font { font-family: 'Montserrat', sans-serif; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* =========================================
   ヘッダー・ナビゲーション
   ========================================= */
header {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    background: #fff;
    display: flex; justify-content: space-between; align-items: center;
    height: 90px; padding: 0; box-sizing: border-box;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.header-left { padding-left: 40px; display: flex; align-items: center; }
.header-left .logo img { height: 50px; width: auto; display: block; transition: opacity 0.3s; }
.header-left .logo img:hover { opacity: 0.7; }

.header-right { height: 100%; display: flex; align-items: center; }
.hamburger { display: none; }

nav { height: 100%; }
nav > ul { list-style: none; display: flex; margin: 0; padding: 0; height: 100%; align-items: center; }

nav > ul > li {
    position: relative; height: 100%;
    border-left: 1px solid var(--line-color);
    display: flex; align-items: center;
}

nav > ul > li > a {
    display: flex; align-items: center; padding: 0 30px; height: 100%;
    font-size: 14px; font-weight: 500; color: var(--brand-dark);
    letter-spacing: 0.5px; position: relative;
}

/* PC：ホバーエフェクト */
nav > ul > li:hover > a { background: rgba(0, 68, 204, 0.03); color: var(--brand-blue); }
nav > ul > li > a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 3px;
    background: var(--brand-blue); transition: width 0.3s ease;
}
nav > ul > li:hover > a::after { width: 100%; }

.has-child > a::after {
    content: ''; width: 5px; height: 5px; border-right: 1px solid var(--text-light); border-bottom: 1px solid var(--text-light);
    transform: rotate(45deg); margin-left: 12px; margin-top: -3px; transition: 0.3s;
}
.has-child:hover > a::after { border-color: var(--brand-blue); transform: rotate(225deg); margin-top: 3px; }

/* ドロップダウン */
.dropdown {
    position: absolute; top: 90px; left: -1px; width: 220px;
    background: var(--dropdown-bg); list-style: none; padding: 15px 0; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(15px); transition: 0.3s ease;
    box-shadow: 0 15px 20px rgba(0,0,0,0.2); border-radius: 0 0 8px 8px;
}
nav > ul > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 12px 25px; color: #fff; font-size: 13px; opacity: 0.8; }
.dropdown li a:hover { opacity: 1; background: rgba(255,255,255,0.1); padding-left: 30px; }

/* 採用ボタン */
.recruit-menu { border-left: none !important; padding: 0 30px 0 15px; }
.recruit-btn {
    background: var(--brand-blue); color: #fff !important;
    padding: 12px 30px !important; border-radius: 50px;
    font-weight: 700 !important; height: auto !important;
    box-shadow: 0 4px 15px rgba(0, 68, 204, 0.3);
}
.recruit-btn::after { display: none !important; }
.recruit-btn:hover { background: var(--brand-dark) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* =========================================
   トップページ専用コンポーネント
   ========================================= */
.hero {
    height: 80vh; margin-top: 90px;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), 
            url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') center/cover;
    display: flex; align-items: center; padding: 0 10%; color: #fff;
}
.hero h1 { font-size: 3rem; font-weight: 700; line-height: 1.3; margin: 0; }

.about-section { background-color: var(--gray-bg); padding: 80px 10%; position: relative; overflow: hidden; }
.about-card-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.about-card-left { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.about-bg-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 10rem; font-weight: 800; color: rgba(0,0,0,0.02); z-index: 1; pointer-events: none; }

.card-nav-section { padding: 100px 10%; background-color: #fff; }
.card-nav-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 40px; max-width: 1200px; margin: 0 auto; }
.info-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; box-shadow: 0 10px 35px rgba(0,0,0,0.08); overflow: hidden; transition: 0.4s; position: relative; }
.info-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }
.info-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 5px; background-color: var(--brand-blue); transition: width 0.3s ease; }
.info-card:hover::after { width: 100%; }

.card-image { width: 100%; height: 160px; overflow: hidden; }
.card-image div { width: 100%; height: 100%; background-size: cover; background-position: center; transition: 0.6s; }
.card-body { padding: 25px; flex-grow: 1; position: relative; }
.number { font-size: 1.5rem; font-weight: 800; color: var(--brand-blue); opacity: 0.1; position: absolute; top: 15px; right: 20px; }

    /* 各種画像 (Unsplash) */
    .img-01 { background-image: url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?w=600'); }
    .img-02 { background-image: url('../thumb/jp.jpg?w=600'); }
    .img-03 { background-image: url('../overseas/overseasn.jpg?w=600'); }
    .img-04 { background-image: url('../iso/water.jpg?w=600'); }
    .img-05 { background-image: url('../thumb/room.jpg?w=600'); }
    .img-06 { background-image: url('https://images.unsplash.com/photo-1581092580497-e0d23cbdf1dc?w=600'); }
    .img-07 { background-image: url('../images/bg05.webp?w=600'); }
    .img-08 { background-image: url('../thumb/recruit.jpg?w=600'); }
    .img-09 { background-image: url('../thumb/outline.jpg?w=600'); }

.read-more {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-blue);
}


/* =========================================
   下層ページ（会社案内等）共通デザイン
   ========================================= */

/* 下層用ヒーロー */
.page-hero {
    height: 250px; margin-top: 90px;
    background: linear-gradient(rgba(10, 17, 40, 0.8), rgba(10, 17, 40, 0.8)), 
                url('../thumb/kanban.jpg?q=80&w=2070&auto=format&fit=crop') center/cover;
    display: flex; align-items: center; justify-content: center; color: #fff; text-align: center;
}
.page-hero h1 { font-size: 2.2rem; letter-spacing: 0.1em; margin: 0; }
.page-hero .en { display: block; font-size: 0.9rem; font-family: 'Montserrat', sans-serif; color: var(--brand-blue); margin-bottom: 8px; font-weight: 700; }

.content-section { padding: 80px 10%; max-width: 1100px; margin: 0 auto; }

/* 洗練されたセクションタイトル */
.section-title { text-align: center; margin-bottom: 60px; }
.section-title i {
    display: block; font-style: normal; font-family: 'Montserrat', sans-serif; font-size: 0.8rem;
    color: var(--brand-blue); font-weight: 700; letter-spacing: 0.3em; margin-bottom: 10px;
}
.section-title h2 {
    font-size: 1.8rem; font-weight: 700; color: var(--brand-dark);
    position: relative; display: inline-block; padding-bottom: 15px;
}
.section-title h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 30px; height: 2px; background: var(--brand-blue);
}

/* イントロダクション・紹介文 */
.intro-section { max-width: 850px; margin: 0 auto 100px; text-align: center; }
.catchphrase {
    font-size: 2rem; color: var(--brand-blue); font-weight: 700;
    margin-bottom: 40px; line-height: 1.5; letter-spacing: 0.05em;
}
.intro-body { text-align: left; line-height: 2.2; color: var(--text-main); font-size: 1.05rem; }
.intro-body p { margin-bottom: 25px; }
.signature {
    display: block; font-size: 1.2rem; font-weight: 700; color: var(--brand-dark);
    margin-top: 40px !important; text-align: center;
}

/* 代表者カード */
/* 代表者カード：ベース設定 */
.executive-card {
    width: 280px;
    background: #fff;
    border: 1px solid var(--line-color); 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: 0.4s;
    position: relative; /* 金色のラインを配置する基準点 */
}
/* 金色のライン（初期状態：幅0%） */
.executive-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%; /* 最初は非表示 */
    height: 4px; /* ラインの太さ */
    background: linear-gradient(90deg, #d4af37, #f1d592); /* 上品な金色のグラデーション */
    transition: width 0.5s ease; /* スッと伸びるアニメーション */
}
/* ホバー時の挙動 */
.executive-card:hover {
    transform: translateY(-8px); /* 少し上に浮き上がる */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.executive-card:hover::after {
    width: 100%; /* ホバーすると端まで伸びる */
}
.executive-img {
    width: 100%;
    height: 380px; /* 320pxから380pxへ。縦長にすることでスマートに */
    background: #f8f8f8;
    overflow: hidden;
}
.executive-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease; /* 画像の動きも滑らかに */
}
.executive-card:hover .executive-img img {
    transform: scale(1.05); /* 少しだけ拡大 */
}
/* 役職と名前の調整 */
.executive-info {
    padding: 25px 20px;
    text-align: center;
    background: #fff;
}
/* カード間の余白 */
.executive-wrapper { 
    display: flex; 
    justify-content: center; 
    gap: 100px; /* 広めの余白 */
    margin-bottom: 100px; 
}
.executive-info { padding: 20px; text-align: center; }
.executive-info .post { display: block; font-size: 0.85rem; color: var(--brand-blue); font-weight: 700; margin-bottom: 5px; }
.executive-info .name { display: block; font-size: 1.1rem; font-weight: 700; color: var(--brand-dark); }

/* 組織図 */
.org-chart-box {
    background: #fdfdfd; padding: 60px; border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04); text-align: center; margin-bottom: 100px;
}
.org-chart-box img { max-width: 800px; width: 100%; height: auto; border-radius: 4px; }

/* 会社概要リストテーブル */
.outline-list { max-width: 900px; margin: 0 auto; }
.outline-item { display: flex; padding: 30px 0; border-bottom: 1px solid var(--line-color); align-items: flex-start; }
.outline-item:first-child { border-top: 1px solid var(--line-color); }
.outline-label { width: 200px; flex-shrink: 0; }
.outline-label .ja { display: block; font-weight: 700; font-size: 1rem; color: var(--brand-dark); margin-bottom: 4px; }
.outline-label .en { display: block; font-family: 'Montserrat', sans-serif; font-size: 0.7rem; color: #aaa; letter-spacing: 0.1em; font-weight: 600; }
.outline-value { flex-grow: 1; font-size: 1rem; color: var(--text-main); line-height: 1.8; }

/* =========================================
   フッター
   ========================================= */
footer { background-color: var(--brand-dark); color: #fff; padding: 60px 10% 40px; }
.footer-flex { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; }
.copy { text-align: center; font-size: 11px; margin-top: 30px; opacity: 0.5; }

/* =========================================
   レスポンシブ (スマホ・タブレット)
   ========================================= */
@media (max-width: 900px) {
    /* ヘッダー・ナビ */
    .hamburger {
        display: flex; flex-direction: column; justify-content: space-between;
        width: 28px; height: 20px; cursor: pointer; z-index: 1001; position: relative;
    }
    .hamburger span { display: block; width: 100%; height: 2px; background-color: var(--brand-dark); transition: 0.3s; border-radius: 2px; }
    .hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    nav {
        position: fixed; top: 0; left: 100%; width: 100%; height: 100dvh;
        background-color: var(--bg-color); z-index: 1000; transition: left 0.3s ease;
        overflow-y: auto; padding-top: 90px; box-sizing: border-box;
    }
    nav.active { left: 0; } 
    nav > ul { flex-direction: column; align-items: stretch; height: auto; padding: 0 20px; }
    nav > ul > li { border-left: none; border-bottom: 1px solid var(--line-color); height: auto; display: block; }
    nav > ul > li > a { padding: 20px 10px; font-size: 15px; height: auto; display: flex; justify-content: space-between; }
    .dropdown { position: static; width: 100%; background: var(--gray-bg); opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; }
    .has-child.open .dropdown { display: block; }
    .recruit-menu { padding: 20px 0 !important; }

    /* メイン要素 */
    .hero h1 { font-size: 1.5rem; line-height: 1.6; }
    .about-card-wrapper { grid-template-columns: 1fr; }
    .card-nav-grid { grid-template-columns: 1fr; gap: 30px; }
    .content-section { padding: 60px 20px; }
    
    /* 下層ページ詳細 */
    .page-hero { height: 200px; }
    .page-hero h1 { font-size: 1.8rem; }
    .catchphrase { font-size: 1.5rem; }
    .executive-wrapper { flex-direction: column; align-items: center; gap: 40px; }
    .outline-item { flex-direction: column; padding: 20px 0; }
    .outline-label { width: 100%; margin-bottom: 8px; }
    .org-chart-box { padding: 20px; }

    /* フッター */
    .footer-flex { flex-direction: column; align-items: center; text-align: center; gap: 20px; }
}