/* トップ画像 */
.main-container-slide--01 {
    background-image: url(../../assets/img/firstview2026.jpg);
}

.main-container-slide {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 400px;
}

.sp-only{
    display: none;
}

@media only screen and (max-width: 600px) {
    .main-container-slide {
        height: 220px;
    }
    .sp-only{
        display: block;
    }
}


/* トップ画像のテキスト */
.main-container-slide--text {
    position: absolute;
    top: 166px;
    left: 100px;
    color: #000;
    height: auto;
    text-shadow: 2px 2px 2px #fff;;
}

.fv-accent {
    background: linear-gradient(transparent 75%, #f8a396 75%);
    border-bottom: 4px solid #f08a7c;
    padding: 0 6px;
  }

@media only screen and (max-width: 1200px) {
    .main-container-slide--text {
        top: 100px;
        left: 20px;
    }
}

/* トップのお知らせ */
.sec05 {
    position: relative;
    padding: 50px 0;
    background: #faece5;
}

.sec05 .news-box {
    /* width: 1200px; */
    height: 550px;
    overflow: auto;
    margin-top: 60px !important;
}

.sec05 .news-area .slug--news {
    background-color: #f8a396;
}

@media only screen and (max-width: 600px) {
    .sec05 {
        padding: 30px 20px 30px;
    }
}

@media only screen and (max-width: 600px) {
    .sec05 .news-box {
        height: 520px;
        margin: auto;
    }

}

/* お知らせ表示幅 */

.sec05 .news-area {
    width: 1200px;
    height: 550px;
    margin: 0 auto !important;
    background-color: #fff;
}

@media only screen and (max-width: 600px) {
    .sec05 .news-area {
        width: 335px;
        height: 550px;
        margin: 60px auto 0;
    }
}

@media only screen and (max-width: 600px) {
    .l-news__newsbox__news-1 {
        height: 100%;
        overflow: auto;
    }
}

/* お知らせ投稿 */


.t-contents .post__inner__text img {
    /* display: inline-block; */
    text-decoration: underline;
}

.l-news__newsbox__news-1 {
    width: 1000px;
    height: 320px;
    /* margin: 30px 30px 0 0; */
    padding: 20px;
    overflow-y: scroll;
    background: #fff;
}

.post__inner__text img {
    max-width: 100%;
    height: auto;
    margin: auto;
    display: block;
    -webkit-backface-visibility: hidden;
    -ms-interpolation-mode: bicubic;
}

.l-news {
    background: #fae9e5;
    padding: 100px 0;
    -webkit-print-color-adjust: exact;
}

/* お知らせ一覧 */
.l-news__newsbox {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.l-news__newsbox__news-1 {
    flex: 1;
    background: #fff;
    padding: 30px;
}
.l-news__newsbox__news-2 {
    width: 300px;
    flex-shrink: 0;
}

@media screen and (max-width: 768px) {

    .l-news__newsbox__news-2 {
      width: 100%;
    }
  
  }

/* 家族画像 */
.t-contents .top-03__inner {
    width: 1100px;
}

@media only screen and (max-width: 600px) {
    .t-contents .top-03__inner__box img:last-child {
        width: 320px;
        margin-right: 0;
    }
}

/* 被災地専用 */
/* 親を横並びに */
.soerutome__inner__box {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: flex-start;
  }
  
  /* 左：テキスト */
  .soerutome__inner__box__tel {
    flex: 1;
  }
  
  /* 右：建物画像（直下のimgを指定） */
  .soerutome__inner__box > img {
    flex: 2;
    width: 50%;
    height: auto;
    display: block;
    margin: auto;
  }

/* Google Map */

.sec07__inner__block__map {
    width: 100%;
  }
  
  .sec07__inner__block__map iframe {
    width: 100%;
    height: 450px;
    border: 0;
  }
  
  @media screen and (max-width: 768px) {
    .sec07__inner__block__map iframe {
      height: 300px;
    }
  }

  /* お問い合わせ */

  .sec06__inner{
    margin-top:100px;
  }
  /* フッター */

  .fa-02{
    white-space: nowrap;
  }

  @media only screen and (max-width: 600px) {
    .footer-contact__text {
        width: auto;
        margin: 30px 0 30px;
    }
  }
  

  /* 追加レスポンシブ */
  @media screen and (max-width:768px){

    .footer-address{
      font-size:14px;
    }
    
    .fa-01{
      font-size:16px;
    }
    
    .fa-02{
      font-size:15px;
    }
    
    .fa-03{
      font-size:14px;
      white-space:normal;
    }
    
    .footer-contact__text img{
      width:160px;
      height:auto;
    }
    
    }

  /* サポートバンク */
  .service__item{
	text-align:center;
}

.service__item h4{
	font-size:40px;
	margin-bottom:15px;
}
.service__item + .service__item h4{
	margin-top:100px;
}

.service__item p{
	max-width:700px;
	margin:0 auto 20px;
	line-height:1.8;
}

.service__item img{
	max-width:100%;
	height:auto;
}

.foodbank-gallery{
	display:flex;
	gap:20px;
	margin-top:20px;
}

.foodbank-gallery img{
	width:50%;
	height:auto;
}
@media screen and (max-width:768px){

    .foodbank-gallery{
        flex-direction:column;
        gap:0px;
    }
    
    .foodbank-gallery img{
        width:100%;
    }
    
}

.study-gallery{
	display:flex;
	gap:20px;
	margin-top:20px;
}

.study-gallery img{
	width:calc(50% - 10px);
	height:220px;
	object-fit:cover;
}

@media screen and (max-width:768px){

    .study-gallery {
        flex-direction:column;
        display: flex;
        gap:0px;
        /* margin-top: 20px; */
    }
    
    .study-gallery img{
        width:100%;
    }
    
    }


@media screen and (max-width:768px){

    .service{
        padding-top:40px;
    }

    .service__item h4{
        font-size:20px;
        margin-bottom:15px;
    }

    .service__item p{
        font-size: 15px;
    }

    .service__item + .service__item h4{
        margin-top:40px;
    }

    
    }
/*事業内容*/

.service__inner img {
    max-width: 100%;
    height: auto;
    margin: auto;
    margin-bottom: 20px;
    display: block;
    -webkit-backface-visibility: hidden;
    -ms-interpolation-mode: bicubic;
}

.is-fadeup.is-show {
    opacity: 1;
    /* transform: translate(0px, 0px) scale(1); */
}

@media only screen and (max-width: 1200px) {
    .t-contents .service__block02__text {
        width: auto;
        margin-top: 20px;
        margin-right: 0;
    }
}

@media only screen and (max-width: 1200px) {
    .t-contents .service__block02 {
        width: auto;
        padding: 0 10px;
        text-align: center;
    }
}


@media only screen and (max-width: 600px) {
    .service__block02__text {
        padding: 0 10px;
    }
}

@media only screen and (max-width: 600px) {
    .service__block02 {
        margin-top: 50px !important;
    }
}

@media only screen and (max-width: 600px) {
    .service__block02__text is-fadeup{
        flex-direction: column;
    }
}

@media only screen and (max-width: 600px) {
    .l-news__newsbox{
        width: auto;
        display: block;
        padding: 0px 20px;
        margin-top: 30px;
    }
}

@media only screen and (max-width: 960px) {
    .l-news__newsbox__news-1 {
        width: auto;
        height: 100%;
        margin-right: 0;
        margin-top: 0;
        padding-bottom: 50px;
    }
}

/* 居住支援 */

/* .t-contents .sec01-3__inner {
    width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.t-contents .sec01-3__inner__text{
    width: 45%;
    margin-right: 30px;
} */

.t-contents .sec01-4__inner__image-box1 img{
    width: 1200px;
    height: auto;
    margin: auto;
    display: block;
}

.is-fadeup.is-show {
    opacity: 1;
    /* transform: translate(0px, 0px) scale(1); */
}

.t-contents .sec01-3__inner__pic{
    width: 100%;
}

@media only screen and (max-width: 600px) {
    .t-contents .sec01-3 .is-fadeup .is-show{
        padding: 20px 20px;
    }
}



/*そ・えーる登米*/

.is-fadeup.is-show {
    opacity: 1;
    /* transform: translate(0px, 0px) scale(1); */
}

.soerutome__inner__sec01--2 img {
    height: auto;
    margin: 30px auto;
    display: block;
}

.soerutome__inner__sec02 img{
    height: auto;
    margin: 30px auto;
    display: block;
}
/* 相談支援 */
#flow{
    padding-top: 50px;
}
/*お知らせ*/

.pager ul {
    display: flex;
    justify-content: center;
}

.pager ul li {
    background: #fff;
    margin: 10px;
    padding: 10px;
}

.hoge_botton{
        text-align: center;
        background-color: #f8a396;
        color: white;
        font-size: 15px;
        font-weight: bold;
        padding: 10px 32px; 
        margin: 0 auto  0 auto ;
        width: 195px;
}

.l-news__newsbox__news-1{
	height: 320px;
	overflow: auto;
}


@media only screen and (max-width: 1500px) {
    .hoge_botton{
        text-align: center;
        background-color: #f8a396;
        color: white;
        font-size: 15px;
        padding: 15px 32px; 
        margin: 15px auto 0 auto ;
        min-width: 195px;
}
}

@media only screen and (max-width: 375px) {
    .hoge_botton{
        text-align: center;
        background-color: #f8a396;
        color: white;
        font-size: 15px;
        padding: 15px 32px; 
        margin: 15px auto ;
}
}

@media only screen and (max-width: 600px) {
    .hoge_botton{
        text-align: center;
        background-color: #fcadbe;
        color: white;
        font-size: 15px;
        padding: 15px 32px; 
}
}

.l-news__newsbox .slug{
    background: #f8a396;
}

.l-news__newsbox__news-2__block1 dt{
    background: #f8a396;
    padding: 10px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-top: 15px;
}

.l-news__newsbox__news-2__block1 dd{
   position: relative;
   padding: 15px;
   margin-bottom: 20px;
   background-color: #fff;
}

.l-news__newsbox__news-2__block2 dt{
    background: #f8a396;
    padding: 10px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.l-news__newsbox__news-2__block2 dd{
    position: relative;
    border-bottom: dotted 1px #cec7c3;
    padding: 15px;
    background-color: #fff;
 }

 #smilemusashi{
    float: right;
    font-weight: bold;
 }

 .l-news__newsbox__news-1 ul li a p.date{
    width: 105px;
}

.l-news__newsbox__news-1 ul li a h5 {
    width: calc(100% - 179px);
}

@media only screen and (max-width: 600px) {
    .l-news__newsbox__news-1 ul li a h5 {
        width: 100%;
    }
}

/* 被災地専用 */
#disaster{
    padding-top: 80px;
}

/* フッターお問い合わせ */

.sec06__text02{
    background-color: #ffc1e0
}

.sec06__text01{
    background-color: #c1e0ff;
}


@media only screen and (max-width: 600px) {
    .t-contents .contact__text .c-tel {
        font-size: 20px;
    }
    .t-contents .contact__text .c-tel-box {
        font-size: 14px;
    }
}