@charset "utf-8";

/* =========================================
   取り扱いブランド一覧（まん丸・遊び心MAXバージョン）
========================================= */
.brand-section {
    max-width: 1000px; 
    margin: 0 auto 80px;
    padding: 0 20px;
}

/* =========================================
   まん丸カードのレイアウト（グリッド）
========================================= */
.circle-grid-1, .circle-grid-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 40px;
}
.circle-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 220px); 
    justify-content: center;
    gap: 40px 50px;
}
.circle-grid-6 {
    display: grid;
    grid-template-columns: repeat(3, 220px); 
    justify-content: center;
    gap: 40px 50px;
}

/* =========================================
   まん丸カード本体 & ホバーアニメーション
========================================= */
.brand-circle-item {
    position: relative;
    width: 220px;  
    height: 220px; 
    border-radius: 50%;
    overflow: hidden;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.brand-circle-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 背景写真とカバー */
.circle-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.circle-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: saturate(0.8); 
    transition: transform 0.6s ease, filter 0.6s ease;
}
.circle-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.3); 
    transition: background 0.4s ease;
}
.brand-circle-item:hover .circle-bg img { transform: scale(1.15); filter: saturate(1); }
.brand-circle-item:hover .circle-overlay { background: rgba(255, 255, 255, 0.6); }

/* 中央の大きなロゴ */
.circle-logo {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70%; height: 70%;
    display: flex; align-items: center; justify-content: center; z-index: 2;
}
.circle-logo img {
    max-width: 100%; max-height: 100%; object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand-circle-item:hover .circle-logo img { transform: scale(1.1); }

/* =========================================
   事業部アコーディオン：ヘッダー＆ボタン
========================================= */
.business-group { width: 100%; }

.business-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 0;
    border-bottom: 2px solid #232584;
    margin-top: 80px; 
    margin-bottom: 40px; 
    transition: background 0.3s, margin-bottom 0.3s;
}
.business-group:first-of-type .business-accordion-header { margin-top: 40px; }
.business-accordion-header.is-open { margin-bottom: 0; }
.business-accordion-header:hover { background: rgba(35, 37, 132, 0.03); }

/* タイトルリセット */
h2.category-title {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-size: 26px;
    color: #1a365d;
}

/* 右端のボタン（矢印付き・細枠・角丸） */
.accordion-trigger-btn {
    font-size: 14px;
    font-weight: bold;
    color: #232584;
    position: relative;
    padding: 8px 35px 8px 15px;
    border: 1px solid #232584;
    border-radius: 6px; 
    background: #fff;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.accordion-trigger-btn::after {
    content: '';
    position: absolute; top: 48%; right: 15px;
    width: 7px; height: 7px;
    border-right: 1.5px solid #232584; border-bottom: 1.5px solid #232584;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}
.business-accordion-header:hover .accordion-trigger-btn {
    background: #232584; color: #fff;
}
.business-accordion-header:hover .accordion-trigger-btn::after {
    border-color: #fff;
}
.business-accordion-header.is-open .accordion-trigger-btn::after {
    transform: translateY(-20%) rotate(-135deg);
}

/* =========================================
   アコーディオン詳細：エモーショナル・カード
========================================= */
.business-accordion-content {
    display: none;
    background: #fdfdfa;
    margin: 20px 0 60px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.philosophy-card {
    display: flex;
    padding: 60px 50px;
    gap: 60px;
    /* ドット背景の2行を削除 */
    position: relative; /* ★追記：疑似要素の基準にするため */
    z-index: 1; /* ★追記：テキストを背景より前に出すため */
}

/* =========================================
   アコーディオン詳細：エモーショナル・カード（右側ロゴ背景版）
========================================= */

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 50%;
    /* ★ここを変更： 50%(ド真ん中) から 75%(右半分の中央) へ移動 */
    left: 75%; 
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background-image: url('../2026_images/common/logo-aas-square.png'); /* 画像のパス */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    
    /* ★ここを変更： 0.03 から 0.1（10%の濃さ）など */
    opacity: 0.00; 
    
    z-index: 0; 
    pointer-events: none;
}

.card-left, .card-right { flex: 1; z-index: 1; }

/* 小見出し（きっぱりとした単色ラインに修正） */
.card-subtitle {
    font-size: 24px;
    color: #1a365d;
    margin-bottom: 35px;
    border-left: 6px solid #28A8E8;
    padding-left: 18px;
    font-weight: bold;
}

/* 左側：理念メッセージ（文字色をすべて #232584 に統一） */
.msg-lead {
    font-size: 21px; font-weight: bold; color: #232584; line-height: 1.6; margin-bottom: 25px;
}
.priority-list {
    list-style: none; padding: 25px; background: rgba(40, 168, 232, 0.04); border-radius: 10px; margin-bottom: 30px;
}
.priority-list li {
    font-size: 20px; font-weight: bold; color: #232584; margin-bottom: 15px; display: flex; align-items: center;
}
.priority-list li:last-child { margin-bottom: 0; }
.list-num {
    font-size: 24px; color: #28A8E8; margin-right: 12px; font-family: "Georgia", serif;
}
/* 下部のテキスト（横線を削除、文字色を統一） */
.msg-footer {
    font-size: 20px; font-weight: bold; color: #232584; line-height: 1.6; padding-top: 10px; 
}

/* 右側：ミッション */
.mission-details dt {
    font-size: 20px; font-weight: bold; color: #28A8E8; margin-top: 30px;
}
.mission-details dt:first-child { margin-top: 0; }
.mission-details dd {
    font-size: 18px; margin-left: 0; line-height: 1.8; color: #555;
}

/* =========================================
   タブレット・スマホ対応 (Media Queriesを一箇所に集約)
========================================= */
@media (max-width: 900px) {
    /* グリッド調整 */
    .circle-grid-4, .circle-grid-6 { grid-template-columns: repeat(2, 160px); gap: 30px; }
    
    /* アコーディオン調整 */
    .philosophy-card { flex-direction: column; padding: 40px 25px; gap: 40px; }
    .business-accordion-header { margin-top: 50px; }
    h2.category-title { font-size: 22px !important; }
}

@media (max-width: 500px) {
    .brand-circle-item { width: 140px; height: 140px; flex-shrink: 0; }
    .circle-grid-1, .circle-grid-2, .circle-grid-4, .circle-grid-6 {
        display: flex; flex-wrap: wrap; justify-content: center; gap: 15px 20px; 
    }
    
    /* アコーディオン微調整 */
    h2.category-title { font-size: 20px !important; }
    .accordion-trigger-btn { font-size: 12px; padding: 6px 30px 6px 12px; }
    .msg-lead, .priority-list li, .msg-footer { font-size: 18px; }
    .card-subtitle { font-size: 20px; }
}

/* =========================================
   事業部ホームページへの専用リンク
========================================= */

/* タイトルとリンクを横並びにするコンテナ */
.header-left {
    display: flex;
    align-items: flex-end; /* タイトルの下ラインとリンクを揃える */
    gap: 20px;
}

/* リンクのデザイン（水色でスッキリと） */
.division-site-link {
    font-size: 14px;
    color: #28A8E8; /* アース様のアクセントカラー */
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
    margin-bottom: 4px; /* 見出しとのラインを微調整 */
}

/* ホバー時の演出 */
.division-site-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* 外部リンクアイコン（四角から矢印が飛び出すアイコンをSVGで自動描画） */
.division-site-link::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    /* ↓水色の外部リンクアイコンのデータです */
    background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2328A8E8"%3E%3Cpath d="M14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7zm-2 16H5V5h7V3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7z"/%3E%3C/svg%3E') no-repeat center;
    background-size: contain;
}

/* スマホ表示の調整（画面が狭い時はタイトルの「下」に配置） */
@media (max-width: 600px) {
    .header-left {
        flex-direction: column; /* 縦並びに変更 */
        align-items: flex-start;
        gap: 5px;
    }
    .division-site-link {
        font-size: 12px;
        margin-bottom: 0;
    }
}

