.gallery-title svg {
    margin-right: 10px;
}

.gallery-title {
    display: flex;
    align-items: center;
    font-size: 32px;
    color: #6b4a2b;
    fill: #6b4a2b;
    border-bottom: 1px solid;
    padding-bottom: 15px;
    margin-bottom: 25px;
    margin-top: 90px;
    padding-left: 20px;
}

.gallery-item-ttl {
    color: #6b4a2b;
    margin-top: 15px;
}

.metabox {
    margin-top: 15px;
}

.tab {
    margin-top: 120px;
}

/* タブメニュー */
.tab__menu {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 10px;
    width: 100%;
    justify-content: flex-start;
    font-size: 21px;
    color: #6b4a2b;
    padding-left: inherit;

}

.tab__menu-item {
    list-style: none;
    width: 200px;
    padding: 20px;
    text-align: center;
    background-color: #e1d4bb;
    cursor: pointer;
    transition: all .3s;

}

.tab__menu-item:last-of-type {
    margin-right: 0px;
}

/* is-activeがついている時のスタイル */
.tab__menu-item.is-active {
    background-color: #6b4a2b;
    color: #ffffff;
}


.tab__panel-box001,
.tab__panel-box002,
.tab__panel-box003,
.tab__panel-box004,
.tab__panel-box005,
.tab__panel-box006 {
    display: none;
}


/* is-showがついている時のスタイル */
.tab__panel-box.is-show {
    display: block;
}

.row-styleB {
    margin-top: 86px;
}

@media screen and (max-width: 991px) {
    .gallery-title {
        font-size: 20px;
        margin-top: 48px;
        justify-content: center;
        padding-left: inherit;

    }


    .tab__menu {
        justify-content: center;
        padding-left: inherit;
    }

    .breadcrumb-area {
        margin-top: 10px;
        overflow-x: inherit;
    }

    .tab__menu-item {
        flex: 1 1 48%;
    }


}

@media screen and (min-width: 992px) {
    .big-title {
        display: flex;
        align-items: center;
        font-size: 32px;
        color: #6b4a2b;
        fill: #6b4a2b;
        border-bottom: 1px solid;
        padding-bottom: 15px;
        margin-bottom: 25px;
        margin-top: 90px;
        padding-left: 20px;
    }


}

.box {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    /* 画像の幅が200px以上になるように設定 */
    gap: 5px;
    /* 画像間の固定間隔 */
    align-items: start;
    /* 縦の長さに基準を合わせて整列 */


}

.image.gallery-image {
    position: relative;
    width: 100%;
    padding-top: 68%;
    /* 4:3 のアスペクト比を維持するためのパディング、16:9なら56.25% */
    overflow: hidden;
    /* 画像がコンテナからはみ出さないようにする */
    display: flex;
    /* コンテナの中央に配置するための設定 */
    align-items: center;
    /* 縦方向の中央揃え */
}

.image.gallery-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* 画像をコンテナの中央に配置 */
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    /* 画像の縦横比を維持し、コンテナに収める */
}