.title {
    background-color: #333333;
    width: 100%;
    height: 80px;
    font-family: "Gajraj One", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #EAEAEA;
    font-size: 36px;
}
.title-text {
    position: relative;
    display: flex;
    justify-content: center; 
    align-items: center;
    height: 80px;
}

.title-head {
    color: #E8D34E;
    position: absolute;
    font-size: 64px;
    line-height: 1;
    z-index: 1;
    bottom: 0.265em;
    right: 100%;
    margin-right: -2.5em;
}

.title-tail {
    position: relative;
    z-index: 2;
    line-height: 1;
}

.container {
    width: 331px;
    height: 361px;
    background-color: #333333;
    margin: 10px auto;
    display: grid;
    grid-template-columns: repeat(11, 29px);
    grid-template-rows: repeat(12, 29px);
    gap: 1px;
    border: 1px solid #333333;
}

.cell {
    background-color: #fff; /* マスの色（白） */
}

.about-img {
    grid-column: 1/9;
    grid-row: 1/7;
    width: 100%;
    height: 100%;
    object-fit: cover;  /* 歪まないようトリミング */
    z-index: 2;
}
.rotate-text {
    transform: rotate(-90deg);
    align-items: end;
    justify-content: center;
    display: flex;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-size: 32px;
    font-style: normal;
    line-height: 1;
}

.about-card1 {
    grid-column: 4 / 12;
    grid-row: 6 / 11;
    z-index: 10;
    background-color: #EAEAEA;
    outline: 1px solid #333333;
    padding: 16px 12px;
    display: flex;
    align-items: center;
}
.about-card2 {
    grid-column: 4 / 12;
    grid-row: 11 / 14;
    z-index: 10;
    background-color: #EAEAEA;
    border-bottom: 1px solid #333333;
    padding: 16px 12px;
    display: flex;
    align-items: center;
}

.about-text {
    font-size: 13px;
    color: #333333;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.06rem;
    line-height: 1.7;
}

.yellow-cell {
    background-color: #E8D34E;
}

.blue-cell {
    background-color: #2249B8;
}