@charset "utf-8";
/* CSS Document */
/* スライダー全体の配置 */
.main-slider {
    width: 100%;
    max-width: 860px;
    margin-top: 30px;
    margin-bottom: 50px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}
.slide-item {
   position: relative;
    background-size: cover;
    background-position: center; 
    background-repeat: no-repeat;   
    min-height: 460px; 
    height: 460px!important; 
    width: 100%;
    display: block;
}

.slick-slide > div {
    display: block;
    width: 100%;
}

.slide-item.p01 {
 background-image: url(../img/bg-01.jpg);
}

.slide-item.p02 {
 background-image: url(../img/bg-02.jpg);
}

.slide-item.p03 {
 background-image: url(../img/bg-03.jpg);
}

/* 画像上の文字を絶対配置で中央に */
.overlay-text {
    position: absolute;
    z-index: 10;
    width: auto; /* 必要に応じて調整 */
    height: 86%;
}

.overlay-text.t01 {
    top: 5%;
    left: 8%;
}

.overlay-text.t02 {
    top: 5%;
    right: 5%;
    bottom: auto;
}

.overlay-text.t03 {
    top: 5%;
    left: 8%;
}




/* クレジット表記 */
.credit {
    position: absolute!important;
    bottom: 12px;
    color: #fff;
    font-size: 14px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    z-index: 20;
    display: block;
    right: 4.5%;
    left: auto;
    text-align: right;
    font-family: 'Shippori Mincho', serif;
    
}


/* スライダー下のコンテンツ調整 */
.about-wrapper {
    width: 55%;           /* テキストエリアの幅 */
    margin-left: auto;    /* 右寄せ */
    margin-right: 0;
}

.top-about-title {
    font-family: 'Shippori Mincho', serif; /* 明朝系を指定 */
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 25px;
    /* テキストエリアの左端に揃える */
    padding-left: 0;
    margin-left: -0.3em;     
}

.about-section {
    margin: 60px 0;
}

.text-content {
    font-size: 1rem;
    line-height: 2.0;
    color: #333;
}

.text-content p {
    margin-bottom: 30px;
}

.signature {
    text-align: right;
    margin-top: 30px;
    font-size: 0.95rem;
}

/* レスポンシブ調整 */
@media screen and (max-width: 767px) {
    .about-section {
    margin-right: 0;
    margin-left: 0;
    margin-bottom: 30px;
    }
    
    /* 親要素の幅をスマホ用にリセット */
    .about-wrapper {
        width: 90% !important; /* 幅を広げる */
        margin: 0 auto !important; /* 中央寄せ */
    }
    
    /* タイトルの左詰めマイナスをスマホでは解除 */
    .top-about-title {
    margin-left: 0 !important;
    text-align: left;
    font-size: 1.15rem;
    font-weight: bold;
    }

    /* テキストエリアもリセット */
    .text-content {
        width: 100% !important; /* 親(90%)の中いっぱいにする */
        margin: 0 auto;
        line-height: 1.8;
    }
    
    .slide-item {
    height: 250px !important;
    min-height: 250px!important;
    position: relative;
    }
/* 画像上の文字を絶対配置で中央に */
.overlay-text {
    position: absolute;
    z-index: 10;
    width: auto; /* 必要に応じて調整 */
    height: 86%!important;
}

.credit {   
    font-size: 12px !important;    
    
}

    
    }
