/* =========================================
   About Us (トップページ) - 左右分割レイアウト
   ========================================= */

.aboutus-new {
    padding: 80px 0;
    width: 100%;
}

.aboutus-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px; /* 左右の余白 */
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
/* -----------------------------------
   左側：画像コラージュ（グリッド）
----------------------------------- */
.aboutus-images {
    flex: 0 0 50%; 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: center; 
}

.img-box {
    border-radius: 12px;
    overflow: hidden !important; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* 透過キャラクター画像を入れた際、背景が完全に透けないように薄い黒を敷く */
    /* background-color: rgba(10, 15, 20, 0.6);  */
    
    /* 高さと幅を親のグリッドに強制的に合わせる */
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 比率内で画像が歪まないようにトリミング */
    transition: transform 0.6s ease, filter 0.6s ease;
}

.img-box:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* メイン画像：上に大きく配置 */
.img-main {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    aspect-ratio: 16 / 9; /* 縦横比を 16:9（映画・動画のワイド比率）に固定 */
}

/* サブ画像1：左下に配置 */
.img-sub1 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    aspect-ratio: 3 / 2; /* 縦横比を 3:2（一般的な写真の比率）に固定 */
}

/* サブ画像2：右下に配置 */
.img-sub2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    aspect-ratio: 3 / 2; /* サブ画像1と同じ比率にする */
}
/* -----------------------------------
テキストエリア
----------------------------------- */
.aboutus-texts {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

/* Introduction のサブタイトル */
.section-subtitle {
    font-family: 'keifont', sans-serif; /* サイト内の手書き風フォントを適用 */
    font-size: 1.6rem;
    color: #00c3ff; /* サイバーなアクセントカラー */
    margin-bottom: 12px;
    position: relative;
    padding-left: 40px; /* 線のぶんだけ余白を空ける */
}

.section-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: #00c3ff;
}

/* メイン見出し */
.section-title {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 900;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    /* 文字にグラデーションをかける */
    background: linear-gradient(90deg, #fff, #9dff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 説明文のコンテナ */
.section-desc {
    margin-bottom: 40px; /* 下のボタンとの距離を広めにとる */
}

/* 説明文 */
.section-desc p {
    font-size: 1.2rem; /* 文字を少し小さくして上品さを出す */
    line-height: 2.0; /* 行間をかなり広く設定（参考画像の最大の特徴） */
    color: rgba(180, 230, 255, 0.85); /* 真っ白ではなく、淡いブルーグレーにして雰囲気を出す */
    margin-bottom: 35px; /* 段落（pタグ）同士の間隔を大きくあける */
    letter-spacing: 0.08em; /* 文字間隔を広げてゆったりと読ませる */
}

/* 最後の段落の下の余白は消す */
.section-desc p:last-child {
    margin-bottom: 0;
}

.section-action {
    margin-top: 10px;
}

@media (max-width: 900px) {
    .aboutus-split {
        flex-direction: column; /* 縦並びに変更 */
        gap: 40px;
    }

    .aboutus-images {
        flex: auto;
        width: 75%;
        /* スマホ用はレイアウトを少し変える（上がメイン、下に小2枚） */
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 120px;
    }
    

    .section-title {
        font-size: 1.8rem;
    }
    
    .section-desc p {
        font-size: 1rem;
        line-height: 2;
    }
}