main {
    background-color: #272E2C;
    color: #FFFFFF;
}

.main_img {
    padding-top: 8.1rem;
    width: 118rem;
    height: 60rem;
    margin-bottom: 10rem;
}

.heading {
    text-align: center;
    font-size: 2.5rem;
}

.slick_wrap {
    display: flex;
    gap: 3.2rem;
    justify-content: center;
    margin-top: 4.6rem;
    margin-bottom: 18rem;
}

.slick {
    width: 62.4rem;
}

.slick2 {
    width: 42.4rem;
}

.slick_text {
    width: 62.4rem;
    font-size: 1.6rem;
    line-height: 3rem;
}

.slick_img {
    width: 100%;
    height: 34.7rem;
}

/*-----------height調整----------*/
.slick-slide {
    height: auto !important;
    margin-bottom: 3rem;
}

/*-----------矢印表示----------*/
.slick-next {
    right: 27rem !important;
    top: 42rem !important;
}

.slick-prev {
    left: 23rem !important;
    top: 42rem !important;
}

.slick-next:before {
    content: "▶" !important;
    color: #272E2C !important;
    background-color: #FFFFFF;
    border-radius: 50%;
    line-height: 4rem !important;
    font-size: 2.5rem !important;
}

.slick-prev:before {
    content: "◀" !important;
    color: #272E2C !important;
    background-color: #FFFFFF;
    border-radius: 50%;
    line-height: 4rem !important;
    font-size: 2.5rem !important;
}

.slick-arrow {
    z-index: 0 !important;
    width: 4.5rem !important;
    height: 4.5rem !important;
}

.slick-arrow:before {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    opacity: 1 !important;
    /* bottom: 0; */
    left: 0;
    top: 0;
}

.slick__item h3{
    font-size: 2rem;
    margin-bottom: 2rem;
}

.slick-prev:before,
.slick-prev::after{
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.bishamondo_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-color: #2E2B27
}

.bishamondo_img {
    margin-top: 2.9rem;
    width: 95rem;
    /* height: 40rem; */
}
.bishamondo_title{
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.bishamondo_text_wrap {
    writing-mode: vertical-rl;
    /* position: absolute; */
    top: 11rem;
    right: 20rem;
    color: #2E2B27;
    background-image: url('../img/about2.png');
    padding: 3rem;
}

.bishamondo_heading {
    font-size: 2.6rem;
}

.bishamondo_text {
    font-size: 1.8rem;
    margin: 0 1rem;
    height: 35rem;
    line-height: 3.5rem;
}

.bishamondo_text2 {
    font-size: 1.4rem;
    padding: 3rem 0;
    margin-right: auto;
    margin-left: 16.5rem;
}

.about_text {
    font-size: 1.6rem;
    width: 95rem;
    margin: 5rem 16.5rem 0;
}

.founding_text {
    text-align: center;
    margin-top: 25.3rem;
    font-size: 1.7rem;
}

.bishamonten_img {
    aspect-ratio: 16 / 9;
    width: 36.2rem;
    height: 46.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(150px);
}

.bishamonten_img1 {
    position: relative;
    top: -20rem
}

.bishamonten_img2 {
    position: relative;
    left: 55.5rem;
}

.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.overview_wrap {
    margin-left: 36.2rem;
    margin-top: 5rem;
}
.overview_block{
    display: flex;
    border-bottom: 0.2rem solid #747776;
    width: 60rem;
    padding: 2rem 0
}
.overview_heading{
    width: 7.4rem;
    font-size: 1.8rem;
    text-align: center;
    margin-right: 5.1rem;
}
.overview_text{
    font-size: 1.8rem;
    font-weight: bold;
}
.main_hall_img{
    margin-top: 11rem;
    margin-bottom: 10rem;
    width: 118rem;
    height: 60rem;
}

.greeting_wrap{
    padding: 0px 14rem;
}

.greeting_text{
    /* text-align: center; */
    font-size: 1.7rem;
    margin: 5rem 0 10rem;
}

.greeting_text> span{
    text-align: right;
    display: block;
}

.gosyudai_wrap{
    position: relative;
    padding-bottom: 10rem;
}
.gosyudai_background{
    width: 100%;
    height: 49.2rem;
}
.gosyudai_img{
    position: absolute;
    width: 48rem;
    object-fit: contain;
    height: 39.2rem;
    /* border: 0.1rem solid #707070; */
    right: 4rem;
    top: 5rem;
}
.gosyudai_text_wrap{
    position: absolute;
    color: #272E2C;
    top: 5rem;
    left: 17.45rem;
}
.gosyudai_heading{
    border-left: 1rem solid #C90202;
    padding-left: 1.85rem;
    font-size: 2.5rem;
}
.gosyudai_text{
    font-size: 1.8rem;
    margin-top: 5rem;
    background-color: #000000d4;
    border-radius: 1rem;
    padding: 1rem;
    color: #fff;
}
.phone {
    display: none;
}

/* headerの色を白 */
.header_logo{
    filter: none;
    z-index: 1;
  }
  .header_title{
    color: #fff;
  }
  .header_title::after{
    border-top: solid 0.1rem #ffffff;
  }
  body{
    background-color: #272e2c;
  }
  .humbargar_border{
    background-color: #000000;
  }
@media screen and (max-width: 699.98px) {
    .phone {
        display: inline-block;
    }
    .main_img {
        padding: 0;
        /* margin-top: 10rem; */
        width: 34.5rem;
        height: 22.3rem;
        margin-bottom: 2.3rem;
    }
    .slick_wrap {
        flex-direction: column;
        align-items: center;
    }
    .slick {
        width: 31.5rem;
        order: 2;
        position: relative;
    }
    
    .slick2 {
        width: 31.5rem;
        order: 1;
    }
    
    .slick_text {
        width: 100%;
        font-size: 1.5rem;
    }
    
    .slick_img {
        width: 100%;
        height: 21.6rem;
    }
    .slick-next {
        right: 5rem !important;
        top: auto !important;
        bottom: 0 !important;
        /* position: absolute; */
        transform: translate(-50%, 100%);
    }
    
    .slick-prev {
        left: 10rem !important;
        bottom: 0;
        top: auto !important;
        transform: translate(-50%, 100%);
    }
    .bishamondo_img {
        margin-top: 2.9rem;
        width: 34.5rem;
        height: 40rem;
        margin-right: auto;
    }
    .bishamondo_text_wrap {
        width: 30.5rem;
        top: 11rem;
        right: 6rem;
        overflow-x: scroll;
    }
    .bishamondo_text2 {
        margin-left: 3rem;
    }
    .about_text {
        font-size: 1.5rem;
        width: 31.5rem;
        margin: 5rem 3rem 0;
    }
    
    .founding_text {
        margin: 32rem 0 32rem;
        font-size: 1.6rem;
        padding: 0 2.9rem;
    }
    .bishamonten_img_wrap{
        position: relative;
    }
    .bishamonten_img {
        width: 18.8rem;
        height: 24.3rem;
    }
    
    .bishamonten_img1 {
        top: -72rem;
        position: absolute;
    }
    
    .bishamonten_img2 {
        bottom: 5rem;
        left: 18.5rem;
        position: absolute;
    }
    .overview_wrap {
        margin-top: 2.5rem;
        margin-left: 4.4rem;
    }
    .overview_block:not(:nth-of-type(3)){
        /* flex-direction: column; */
        width: 29.5rem;
        padding: 2rem 0;
    }
    .overview_block:nth-of-type(3){
        width: 29.5rem;
    }
    .overview_heading{
        text-align: start;
        margin-right: 0;
        width: 9rem;
        flex-shrink: 0;
    }
    .main_hall_img{
        margin-top: 11rem;
        margin-bottom: 3rem;
        width: 100%;
        height: 44.991rem;
    }
    .greeting_wrap{
        display: flex;
        justify-content: center;
    }

    .greeting_wrap{
        padding: 0 2rem;
    }
    
    .greeting_text{
        width: 33rem;
        font-size: 1.5rem;
        margin: 5rem 0 4rem;
    }
    .gosyudai_background{
        width: 100%;
        height: 53.3rem;
    }
    .gosyudai_img{
        width: 29.9rem;
        height: 23rem;
        right: 1.7rem;
        top: 27rem;
    }
    .gosyudai_text_wrap{
        top: 5rem;
        left: 6rem;
    }
    .gosyudai_heading{
        border-left: 1rem solid #C90202;
        padding-left: 1.85rem;
        font-size: 2.5rem;
    }
    .gosyudai_text{
        font-size: 1.6rem;
        margin-top: 5rem;
        width: 27rem;
    }
    .bishamondo_text2.sp_only{
        padding-top: 1rem;
        padding-bottom: 0;
    }
}