@charset "utf-8";



/* topview --------------------------------------------------------------------------------------*/
#topview {
    margin: 15px auto 0;
    width: 100%;
}

#topview .wrap{
    position: relative;
    width: 100%;
    margin: 0 auto;
}



#topview .slide_logo{
    position: absolute;
    top: 55%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translateY(-50%) translateX(-50%);
    -webkit- transform: translateY(-50%) translateX(-50%);
}
#topview .slide_logo img{
    width: 30vw;
    display: flex;
    justify-content: center;
    margin: 0 auto 3rem;
    filter: drop-shadow(1.5px 1.5px 3px rgba(255, 255, 255, 0.7));
}
#topview .slide_logo h3{
    font-size: 6rem !important;
    color: #fff;
    filter: drop-shadow(1.5px 1.5px 3px rgba(255, 255, 255, 0.3));
    line-height: 1.1;
    font-weight: 700;
    text-align: center;
}
#topview .slide_logo p{
    font-size: 2.2vw;
    font-weight: 700;
    text-align: center;
    color: #fff;
    filter: drop-shadow(1.5px 1.5px 3px rgba(255, 255, 255, 0.7));
}

#topview .slide_in{
    display: none; /* このサイトではスクロール誘導アイコンを非表示 */
    position: absolute;
    bottom: 7rem;
    left: 50%;
    width: 3rem;
    opacity:0;
    animation-name:sample01;
    animation-duration:2s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}
@keyframes sample01 {
    0% {
    opacity: 0;
    transform: translateY(-30px) translateX(-50%);;
    }
    1% {
    opacity: 0;
    transform: translateY(-30px) translateX(-50%);;
    }
    50%{
        opacity: 1;
        transform: translateY(0) translateX(-50%);;
    }
    100% {
    opacity:0;
    transform: translateY(30px) translateX(-50%);;
    }
}
/* #topview .slide_in:hover{
    bottom: 0.8rem;
} */
#topview video{
    width: 100%;
}
#topview .slide-img>img {
    width: 100%;
}
#topview .slide_in a{
    display: flex;
    justify-content: center;
}
#topview .slide_in a:hover img{
    opacity: 1;

}
#topview .slide_in img{
    width: 1.3rem;
    filter: drop-shadow(1.5px 1.5px 3px rgba(0, 0, 0, 3));

}
@media all and (max-width: 769px) {
    #topview {
        margin: 12px auto 0;
    }

    #topview .slide_in img{

        width: 30%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #topview .slide_logo h3{
        font-size: 5rem !important;
    }
    #topview video{
        width: 100%;
    }
    #topview .slide_movie{
        position: relative;
        top: 0%;
        left: 50%;
        width: 150%;
        transform: translateX(-50%);
        -webkit- transform: translateX(-50%);
    }
    #topview .slide_logo{
        top: 50%;
    }
    #topview .slide_logo img{
        width: 75%;
        margin: 0 auto 3.5rem;
    }
    #topview .slide_logo p{
        font-size: 2.5rem;
        font-weight: 700;
        width: 75%;
        margin: 0 auto;
    }
    #topview .slide_in{
        bottom: 1.5rem;
    }
    #topview .slide_in:hover{
        bottom: 1.5rem;
    }
    #topview .slide-img>img {
        width: 100%;
        object-fit: cover;
        height: 85rem;
    }
}
@media all and (max-width: 600px) {
    #topview .slide-img>img {
        width: 100%;
        object-position: 50% 50%;
        /* height: 45rem; */
        height: 70rem;
    }
    #topview .slide_logo img{
        width: 70%;
        margin: 0 auto 1.5rem;
    }
    #topview .slide_logo h3{
        font-size: 3rem !important;
        width: 92%;
        margin: 0 auto;
    }
    #topview .slide_logo p{
        font-size: 1.8rem;
    }
}
/* service -----------------------------------------------------------------------------*/
#service{
    /* background-color: #f2f2f2; */
    padding: 0;
}
/* .concept_company{
    width: 100%;
    margin: 0 auto 16rem;
}
.concept_company ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
} */
#service .heading>.heading-sub{
    font-family: "Roboto", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}
#service .heading>h2{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 2.5rem;
    color: #73c8b2;
}
#service .heading>p:not(.heading-sub){
    font-size: 1.6rem;
    margin-bottom: 4rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 6rem;
}
@media all and (max-width: 769px) {
    #service .heading>.heading-sub{
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    #service .heading>h2{
        font-weight: 700;
        font-size: 2.2rem;
        margin-bottom: 1.8rem;
    }
    #service .heading>p:not(.heading-sub){
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }
}
#service .service_main{
    max-width: 120rem;
    margin: 0 auto ;
    text-align: center;
}
#service .service_main div{
    max-width: 100rem;
    margin: 0 auto ;
}
#service .service_main ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5rem;
}
#service .service_main>ul>li{
    width: 31%;
}
#service .service_main .extension{
    overflow: hidden;
    margin-bottom: 1.5rem;
}
#service .extension img{
    transition: .3s;
    -webkit-transition: .3s;
    width: 100%;
}

#service .service_main .service_content:hover .extension img{
  transform: scale(1.1);
}

#service .service_main ul li p{
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0 !important;
    opacity: 1;
}
#service .service_main .service_content:hover p{
    opacity: 0.5;
}
#service .service_main .button{
    margin: 0 auto;
}
#service .post1,#service .post2,#service .post3{
    opacity:0;
}
#service .post1.on,#service .post2.on,#service .post3.on{
    opacity:0;
    animation-name:bottomfide;
    animation-duration:1s;
    animation-fill-mode: forwards;
}
@keyframes bottomfide {
0% {
 opacity: 0;
 transform: translateY(50px);
}
100%{
    opacity: 1;
    transform: translateX(0);
  }
}


@media all and (max-width: 1500px) {
    #service{
        padding: 0 4%;
    }
}
@media all and (max-width: 769px) {
    #service{
        padding: 0 4%;
        margin-bottom: 9rem;
    }
    #service h3{
        margin-bottom: 3rem !important;
    }
    #service .service_main ul{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
        margin-bottom: 3rem;
    }
    #service .service_main ul li{
        width: 100%;
    }
    #service .service_main ul li p{
        font-size: 1.6rem;
        margin-bottom: 2rem !important;
    }
    #service .service_main ul li:last-child p{
        font-size: 1.6rem;
        margin-bottom: 0rem !important;
    }
    #service .service_main>ul>li{
        margin: 0;
    }
    #service .service_main>ul>li:first-child{
        margin: 0;
    }
    #service .service_main>ul>li:last-child{
        margin: 0;
    }
    #service .post1,#service .post2,#service .post3{
        opacity:1;
    }
    #service .post1.on,#service .post2.on,#service .post3.on{
        opacity:1;
        animation-name:bottomfide;
        animation-duration:0s;
        animation-fill-mode: forwards;
    }
    #service .extension img{
        transition: none;
        -webkit-transition: none;
        width: 100%;
    }

    #service .service_main .service_content:hover .extension img{
    transform: scale(1);
    }
}

/* works -----------------------------------------------------------------------------*/
#works{
    text-align: center;
}
#works .heading>.heading-sub{
    font-family: "Roboto", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}
#works .heading>h2{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 6rem;
    color: #73c8b2;
}
#works .heading>p:not(.heading-sub){
    font-size: 1.6rem;
    margin-bottom: 4rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 5rem;
}
@media all and (max-width: 769px) {
    #works .heading>.heading-sub{
        /* padding-top: 6rem; */
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    #works .heading>h2{
        font-weight: 700;
        font-size: 2.2rem;
        margin-bottom: 5rem;
    }
    #works .heading>p:not(.heading-sub){
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }
}
#works .works_main img{
    width: 100%;
    /* object-position: right top; */
}

#works .swiper-slide .slide_in .in_hover{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
	display: flex;
	justify-content: center;
	align-items: center;
    flex-direction: column;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
    transform: translate3d(0,0,100);
}
#works .swiper-slide .slide_in:hover .in_hover{
    opacity: 1;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.2);
}
@keyframes flip-in-hor-top {
	0% {
		transform: translateY(2rem);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}
#works .swiper-slide .slide_in .in_hover h4{
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.1em;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 7rem;
    width: 75%;
    margin: 0 auto;
    z-index: 1000;
    filter: drop-shadow(1.5px 1.5px 3px rgba(0, 0, 0, 0.8));
}
#works .swiper-slide .slide_in:hover .in_hover h4,#works .swiper-slide .slide_in:hover .in_hover>p,
#works .swiper-slide .slide_in:hover .in_hover .button{
    animation: flip-in-hor-top 0.3s linear 0s;
    z-index: 1000;
}
#works .swiper-slide .slide_in .in_hover>p{
    font-size: 1.7rem;
    margin-bottom: 5rem;
    color: #fff;
    text-align: center;
    z-index: 1000;
    filter: drop-shadow(1.5px 1.5px 3px rgba(0, 0, 0, 0.8));
}
#works .swiper-slide .slide_in .in_hover img{
    width: 100%;
    object-fit: cover;
}
#works .swiper-slide .slide_in .in_hover .button{
    border: solid 0.1rem #fff;
    width: 24rem;
    margin: 0 auto;
    border-radius: 4rem;
    z-index: 1000;
}
#works .swiper-slide .slide_in .in_hover .button p{
    color: #fff;
    filter: drop-shadow(1.5px 1.5px 3px rgba(0, 0, 0, 0.8));
}
#works .swiper-slide .slide_in .in_hover .button:hover{
    background-color: #73c8b2;
    border: solid 0.1rem #73c8b2;
}
#works .swiper-slide .slide_in .in_hover .button:hover p{
    filter: drop-shadow(1.5px 1.5px 3px rgba(0, 0, 0, 0));
}
#works .swiper-slide .slide_in li:last-child{
    overflow: hidden;

}
#works .swiper-slide .slide_in li:last-child img{
  transition: .3s;
  -webkit-transition: .3s;
}

#works .swiper-slide .slide_in:hover li:last-child img{
  transform: scale(1.1);
}
#works .works_main>a.button{
    margin: 9rem auto 0;

}
#works .swiper-button-prev{
    border-radius: 0 5rem 5rem 0;
    height: 10rem;
    width: 5rem;
    background-color: rgba(0, 0, 0, 0.5);
    top:56%;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);
    left: 0;

}
#works .swiper-button-next{
    border-radius: 5rem 0 0 5rem;
    height: 10rem;
    width: 5rem;
    background-color: rgba(0, 0, 0, 0.5);
    top:56%;
    transform: translateY(-50%);
    -webkit- transform: translateY(-50%);

    right: 0;
}

#works .swiper-button-prev:after,#works .swiper-button-next:after{
    font-size: 1.6rem;
    color: #fff;
}
#works .swiper-button-prev:after{
    content: '←';
}
#works .swiper-button-next:after{
    content: '→';
}
#works .swiper-slide img{
    width: 100%;
    object-fit: cover;
    height: 25vw;
}

@media all and (max-width: 769px) {
    #works{
        background-color: #e6eaea;
        border-bottom: solid 0.1rem #e6eaea;
    }
    #works .swiper-slide{
        background-color: #fff;
    }

    #works .swiper-slide .slide_in .in_hover{
        position: static;
        top: 50%;
        left: 50%;
        transform: translateY(0%) translateX(0%);
        -webkit- transform: translateY(0%) translateX(0%);
        width: 100%;
        opacity: 1;
    }
    #works .swiper-slide .slide_in .in_hover h4{
        font-size: 1.8rem;
        letter-spacing: 0.1em;
        padding-top: 4rem;
        margin-bottom: 1rem;
        color: #5a5a5a;
        filter: drop-shadow(1.5px 1.5px 3px rgba(0, 0, 0, 0));
    }
    #works .swiper-slide .slide_in .in_hover>p{
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        color: #5a5a5a;
        filter: drop-shadow(1.5px 1.5px 3px rgba(0, 0, 0, 0));
    }
    #works .swiper-slide .slide_in img{
        width: 100%;
        object-fit: cover;
        height: 40rem;
    }
    #works .swiper-slide .slide_in .in_hover .button{
        border: solid 0.1rem #5a5a5a;
        width: 13rem;
        margin: 0 auto 4rem;
        border-radius: 4rem;
        justify-content: space-between;
        padding-left: 2rem;
    }
    #works .swiper-slide .slide_in .in_hover .button p{
        color: #5a5a5a;
        font-size: 1.1rem !important;
        filter: drop-shadow(1.5px 1.5px 3px rgba(0, 0, 0, 0));
    }
    #works .works_main>a.button{
        margin: 3.5rem auto 0

    }
    #works .swiper-button-prev{
        height: 6rem;
        width: 3rem;
        justify-content: flex-start;
        padding-left: 0.4rem;
        top: 63%;

    }
    #works .swiper-button-next{
        height: 6rem;
        width: 3rem;
        justify-content: flex-end;
        padding-right: 0.4rem;
        top: 63%;
    }

    #works .swiper-button-prev:after,#works .swiper-button-next:after{
        font-size: 1.4rem;
        color: #fff;
    }
    #works .swiper-slide .slide_in .in_hover .button:hover{
        background-color: #fff;
        border: solid 0.1rem #5a5a5a;
    }
    #works .swiper-slide .slide_in:hover .in_hover h4,#works .swiper-slide .slide_in:hover .in_hover>p,
    #works .swiper-slide .slide_in:hover .in_hover .button{
        animation: none;
        z-index: 1000;
    }
    #works .swiper-slide .slide_in li:last-child img{
    transition: 0s;
    -webkit-transition: 0s;
    }

    #works .swiper-slide .slide_in:hover li:last-child img{
    transform: scale(1);
    }
}
@media all and (max-width: 600px) {
    #works .swiper-slide .slide_in img{
        height: 21.7rem;
    }
}
/* news -----------------------------------------------------------------------------*/
#news{
    min-height: 1%;

}
#news .heading>.heading-sub{
    font-family: "Roboto", sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}
#news .heading>h2{
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-size: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: solid 1px #5a5a5a;
    color: #73c8b2;
    max-width: 119rem;
    margin: 0 auto 6rem;
    width: 85%;
}
#news .heading>p:not(.heading-sub){
    font-size: 1.6rem;
    margin-bottom: 4rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 5rem;
}
@media all and (max-width: 769px) {
    #news .heading>.heading-sub{
        /* padding-top: 5rem; */
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }
    #news .heading>h2{
        font-weight: 700;
        font-size: 2.2rem;
        margin-bottom: 2.8rem;
        width: 100%;
    }
    #news .heading>p:not(.heading-sub){
        font-size: 1.6rem;
        margin-bottom: 3rem;
    }
}
#news h2,#news h3{
    text-align: center;
}
#news .news_main{
    max-width: 140rem;
    margin: 0 auto;
    width: 100％;
}
#news .news_main .swiper-custom-parent{
    width: 100%;
    position: relative;
    margin-bottom: 6rem;
}
#news .news_main .swiper-container3{
    width: 85%;
}
#news .news_main h4{
    font-size: 1.4rem;
    margin: 0.5rem;
    color: #5a5a5a;
}
#news .news_main .slide_in p{
    font-size: 1.4rem;
    line-height: 2.2rem;
    color: #5a5a5a;
}
#news .news_main img{
    width: 100%;
}
#news .extension{
    overflow: hidden;
}
#news .extension img{
    transition: .3s;
    -webkit-transition: .3s;
}

#news .extension:hover img{
  transform: scale(1.1);
}
#news .button{
    margin: 0 auto;
}
#news .swiper-button-prev,#news .swiper-button-next{
    border-radius: 50%;
    height: 5rem;
    width: 5rem;
    background-color: #e6eaea;
    top:41.5%;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}
#news .swiper-button-prev:hover,#news .swiper-button-next:hover{
    background-color: #73c8b2;
}

#news .swiper-button-prev:after,#news .swiper-button-next:after{
    font-size: 1.6rem;
    color: #5a5a5a;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
}
#news .swiper-button-prev:hover:after,#news .swiper-button-next:hover:after{
    color: #fff;
}
#news .swiper-button-prev:after{
    content: '←';
}
#news .swiper-button-next:after{
    content: '→';
}

#news .news_numbar{
    max-width: 120rem;
    position: relative;
    margin: 0 auto 6rem;
}
#news .number_inn{
    display: flex;
    justify-content: center;
    align-items: center;
}
#news .number_inn>a{
    width: 22%;
    margin: 0 1.5%;
}
/* #news .number_inn>a:first-child{
    margin: 3%;
} */
@media all and (max-width: 1400px) {
    #news .news_main .news_img{
        height: 20vw;
    }
}
@media all and (max-width: 769px) {
    #news{
        margin-bottom: 0rem;
        border-bottom: none;
        padding-top: 0;
    }
    #news .news_numbar{
        display: none;
    }
    #news .news_main{
        margin: 0 4%;
        width: 92%;
    }
    #news .swiper-custom-parent,#news .news_number{
        display: none;
    }
    #news .sp_news{
        margin-bottom: 4rem;
        width: 100%;
    }
    #news .sp_news li{
        padding-bottom: 1.8rem;
        border-bottom: solid 0.1rem #e6eaea;
        margin-bottom: 1.8rem;
    }
    #news .sp_news li:last-child{
        margin-bottom: 0rem;
        border-bottom: none;
    }
    #news .sp_news li a{
        display: flex;
        justify-content: space-between;
    }
    #news .sp_news li a .news_img{
        width: 35%;
        height: auto;
    }
    #news .sp_news li .news_text{
        width: 60%;
    }
    #news .news_main h4{
        font-size: 1.3rem;
        margin: 0 0 0.5rem 0;
    }
    #news .news_main p{
        font-size: 1.5rem;
        line-height: 2rem;
        margin-bottom: 0;
    }
    #news .button{
        margin: 0 auto;
    }
}
@media all and (max-width: 600px) {
    #news .news_main h4{
        font-size: 1.2rem;
    }
    #news .news_main p{
        font-size: 1.4rem;
        font-weight: 700;
    }
}

/* banner -----------------------------------------------------------------------------*/
#banner .banner_main{
    max-width: 180rem;
    width: 100%;
    margin: 0 auto;
}
#banner .banner_main ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#banner .banner_main ul.banner_oruta{
    justify-content: center;
}
#banner .banner_main ul.banner_oruta li{
    width: 35%;
    margin: 0 1.5rem;
}
#banner .banner_main ul li{
    width: 31%;
}
#banner .banner_main ul img{
    width: 100%;
}
@media all and (max-width: 1800px) {
    #banner{
        padding-left: 4%;
        padding-right: 4%;
    }
}
@media all and (max-width: 769px) {
    #banner{
        margin-bottom: 0;
        padding-bottom: 8rem;
        border-bottom: solid 0.1rem #e6eaea;
    }
    #banner .banner_main ul li{
        width: 100%;
        margin-bottom: 1rem;
    }
    #banner .banner_main ul li:last-child{
        margin-bottom: 0;
    }
    #banner .banner_main ul{
        flex-direction: column;
    }
    #banner .banner_main ul.banner_oruta li {
        width: 90%;
        margin: 0 auto;
    }
    #banner .banner_main ul.banner_oruta li:first-child {
        margin: 0 auto 3rem;
    }
}

/* SNSリスト
-----------------------*/
@media screen and (max-width: 769px) {
    .sns_item {
        margin-top: 0;
    }
}


/* スライダー
-----------------------*/
/* #topview {
    margin-top: 50px;
}
#topview .swiper-slide {
    padding: 30px;
}
#topview .swiper-slide .slide-img {
    min-height: 50vh;
    height: calc(100vh - 150px);
    text-align: right;
}
#topview .swiper-slide img {
    border-radius: 30px;
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
    margin-left: auto;
} */
/* #topview .slide_logo {
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 3em;
    top: 55%;
} */

#topview .slide_logo {
    display: none;
}
#topview .slide_logo h3, #topview .slide_logo p {
    /* text-shadow:
      1px 1px 3px rgba(0,0,0,0.3),
      -1px -1px 3px rgba(0,0,0,0.3),
      1px -1px 3px rgba(0,0,0,0.3),
      -1px  1px 3px rgba(0,0,0,0.3); */
    white-space: nowrap;
}
#topview .slide_logo h3 {
    line-height: 1.35;
    color: #f29c91;
}
#topview .slide_logo p {
  margin-top: 1em;
  line-height: 1.5;
  color: #666;
}

@media screen and (max-width: 769px) {
    #topview .swiper-slide .slide-img {
        aspect-ratio: 750 / 760;
        position: relative;
        width: 100%;
    }

    #topview .swiper-slide .slide-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* スライド共通設定 */
    .swiper-slide::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        z-index: 10;
        display: block;
    }

    .swiper-slide[data-swiper-slide-index="0"]::after {
        background-image: url("../img/top-slider03_sp.jpg?v=20260825");
    }

    .swiper-slide[data-swiper-slide-index="1"]::after {
        background-image: url("../img/top-slider04_sp.jpg?v=20260825");
    }

    /* 元のimgタグを非表示にする（透過させる） */
    .swiper-slide img {
        opacity: 0;
    }


    #topview .slide_in {
        display: none;
    }

    #topview .slide_logo {
        /* top: 65%; */
        padding: 25px;
        max-width: 90%;
    }
    #topview .slide_logo h3 {
        line-height: 1.6;
    }
    #topview .slide_logo p {
        /* display: none; */
        white-space: normal;
        padding: 0;
        width: 100%;
    }
    #topview .slide_logo p span {
        display: inline-block;
    }
    #topview .slide_logo p .pc_only {
        display: none;

    }

    #lead_txt p span {
        display: inline-block;
    }
    #lead_txt p br.pc_only {
        display: none;
    }
}

/* For You（ご利用対象となる方）
--------------------- */
.for-you-box,
.for-you-note {
	max-width: none !important;
	width: auto !important;
	margin-left: 0;
	margin-right: 0;
}
.for-you-box {
	background: #fff;
	border-radius: 12px;
	padding: 34px 36px;
	box-sizing: border-box;
}
.for-you-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.for-you-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 1.8rem;
	line-height: 1.8;
}
.for-you-list li::before {
	content: "";
	flex-shrink: 0;
	width: 26px;
	height: 26px;
	position: relative;
	top: 0.2em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Ccircle cx='13' cy='13' r='13' fill='%23f8c8c2'/%3E%3Cpath d='M7.5 13.5l3.6 3.8 7.4-8' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.for-you-note {
	margin-top: 2rem;
	padding-top: 1.8rem;
	border-top: 1px solid #f3e4e2;
	text-align: center;
}
.for-you-note__ttl {
	font-weight: 600;
	font-size: 1.8rem;
	line-height: 1.8;
	margin-bottom: 1rem;
}
.for-you-note p {
	font-size: 1.6rem;
	line-height: 2;
	margin: 0;
}
@media all and (max-width: 769px) {
	.for-you-box {
		padding: 24px 20px;
	}
	.for-you-list li {
		font-size: 1.6rem;
		line-height: 1.7;
		gap: 10px;
	}
	.for-you-list li::before {
		width: 22px;
		height: 22px;
		top: 0.18em;
	}
	.for-you-note {
		margin-top: 1.6rem;
		padding-top: 1.4rem;
	}
	.for-you-note__ttl {
		font-size: 1.6rem;
		margin-bottom: 0.8rem;
	}
	.for-you-note p {
		font-size: 1.4rem;
		line-height: 1.8;
	}
}

/* template1 #philosophy：サブ（英字）上・メイン（日本語 h2）下 */
#philosophy.concept_company .heading > .heading-sub {
    font-size: 20px;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    color: #f29c91;
    margin-bottom: 0.5rem;
    padding-left: 0;
    position: relative;
}
#philosophy.concept_company .heading > h2 {
    font-size: 32px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

#philosophy .button {
  display: none !important;
}
@media all and (max-width: 769px) {
    #philosophy.concept_company .heading > .heading-sub {
        font-size: 18px;
        margin-bottom: 0.3rem;
        padding: 0;
    }
    #philosophy.concept_company .heading > h2 {
        font-size: 26px;
        margin-top: 0;
        margin-bottom: 1rem;
        padding-top: 0;
    }
    #philosophy .pc.move {
        display: block !important;
        opacity: 1;
    }
}

/* サービス内容
---------------------　*/
#service .heading > .heading-sub {
    font-weight: bold;
}
#service01 li, #service02 li {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding-top: 1em;
    padding-bottom: 20px;
}
#service01 li a, #service02 li a {
    pointer-events: none;
}
#service01 li h3, #service02 li h3 {
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.5em;
}
#service01 li div:last-of-type, #service02 li div:last-of-type {
    font-size: 1em;
    font-weight: normal;
    padding: 0 1em 1em;
}
/* --- service01：前半の4色 --- */
#service01 li:nth-child(1){
    border: 3px solid #F29C91; /* ピンク */
}
#service01 li:nth-child(2){
    border: 3px solid #F3B381; /* アプリコット */
}
#service01 li:nth-child(3){
    border: 3px solid #F7E290; /* イエロー */
}
#service01 li:nth-child(4){
    border: 3px solid #A6D8B9; /* ミント */
}

/* --- service02：後半の4色 --- */
#service02 li:nth-child(1){
    border: 3px solid #8FC1B5; /* ティール */
}
#service02 li:nth-child(2){
    border: 3px solid #608FB1; /* ブルー */
}
#service02 li:nth-child(3){
    border: 3px solid #B8A7D1; /* ラベンダー */
}
#service02 li:nth-child(4){
    border: 3px solid #D9A5B3; /* ローズ */
}
/* --- service01：前半の4色 --- */
#service01 li:nth-child(1) h3 { color: #E67A6F; background: linear-gradient(transparent 40%, rgba(230, 122, 111, 0.2) 40%); }
#service01 li:nth-child(2) h3 { color: #D68F55; background: linear-gradient(transparent 40%, rgba(214, 143, 85, 0.2) 40%); }
#service01 li:nth-child(3) h3 { color: #DAA520; background: linear-gradient(transparent 40%, rgba(218, 165, 32, 0.2) 40%); }
#service01 li:nth-child(4) h3 { color: #6EB28A; background: linear-gradient(transparent 40%, rgba(110, 178, 138, 0.2) 40%); }

/* --- service02：後半の4色 --- */
#service02 li:nth-child(1) h3 { color: #5F9E90; background: linear-gradient(transparent 40%, rgba(95, 158, 144, 0.2) 40%); }
#service02 li:nth-child(2) h3 { color: #4A7694; background: linear-gradient(transparent 40%, rgba(74, 118, 148, 0.2) 40%); }
#service02 li:nth-child(3) h3 { color: #8C78AF; background: linear-gradient(transparent 40%, rgba(140, 120, 175, 0.2) 40%); }
#service02 li:nth-child(4) h3 { color: #B27083; background: linear-gradient(transparent 40%, rgba(178, 112, 131, 0.2) 40%); }

@media screen and (max-width: 769px) {
    #service {
        margin-bottom: 0;
    }
    #sv_txt {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* 流れ
--------------------- */
.fl_cl.tem6 ul {
    position: relative; /* 接続線の基準 */
}

/* 各カラム（リストアイテム）の共通設定 */
.fl_cl.tem6 li {
    padding: 0 30px; /* アイテム内の余白（PC想定） */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2; /* 接続線より上へ */
}

/* 接続線のデザイン（PC想定） */
.fl_cl.tem6 li::before {
    content: "";
    position: absolute;
    top: 37px; /* 数字のpadding（40px） + 数字の半径（28px） */
    right: -2px; /* 境界線をまたぐ */
    width: 100%; /* 隣の要素まで伸ばす */
    height: 3px;
    background: #e0e0e0; /* 接続線の色（ピンクに変えてもOK） */
    z-index: 1; /* 数字より下へ */
}

/* 最初 */
.fl_cl.tem6 li:first-child::before {
  width: 50%;
  right: -2px;
}
/* 最後 */
.fl_cl.tem6 li:last-child::before {
  width: 50%;
  left: 0;
}


/* フロー番号（数字の枠）のデザイン */
.fl_cl.tem6 .flow-num {
    background: #F29C91;
    color: #fff;
    border: 2px solid #F29C91;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.6em;
    margin-bottom: 25px;
    position: relative;
    z-index: 3; /* 接続線より上へ */
    box-shadow: 0 0 10px rgba(242, 156, 145, 0.3); /* ピンクの光彩 */
}
.fl_cl.tem6 .flow-num::after {
  content: 'STEP';
  position: absolute;
  top: -2em;
  font-size: 0.7em;
      color: #F29C91;
}
/* 見出しのデザイン */
.fl_cl.tem6 .heading h3 {
  font-size: 1.4em;
    color: #333;
    line-height: 1.4;
}

/* 本文のデザイン */
.fl_cl.tem6 li .flow_txt1 span {
    display: inline-block;
}
.fl_cl.tem6 li .flow_txt1 a {
    color: #F29C91;
}
.fl_cl.tem6 li .flow_txt1 a:hover {
    text-decoration: underline;
}
.fl_cl.tem6 li .flow_txt2 {
    margin-top: 0.7em;
    font-size: 0.9em;
    text-align: left;
    line-height: 1.7;
    color: #666;
}

/* レスポンシブ：SP（縦並び）の設定 */
@media screen and (max-width: 768px) {
    .fl_cl.tem6 ul {
        display: block; /* 縦並び */
    }

    .fl_cl.tem6 li {
        border-right: none !important;
        padding: 60px 20px 30px;
    }

    .fl_cl.tem6 li:not(:last-child) {
        border-bottom: 1px solid #e0e0e0;
    }

    .fl_cl.tem6 li::before {
        display: none;
    }

    .fl_cl.tem6 .flow-num {
        margin-bottom: 15px;
    }

}

/* 料金表
--------------------- */
/* リストアイテム（各テーブルの親要素）の調整 */
.pr-tb.tem6 li {
    padding: 0 15px;
    box-sizing: border-box;
}

/* 見出しの装飾 */
.pr-tb.tem6 .heading h3 {
    font-size: 1.25em;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 12px;
    position: relative;
    line-height: 1.4;
}

/* 介護保険（左側）のアクセント */
.pr-tb.tem6 li.column1 .heading h3 {
    border-left: 5px solid #608FB1; /* 基調色のブルー */
}

/* 医療保険（右側）のアクセント */
.pr-tb.tem6 li.column2 .heading h3 {
    border-left: 5px solid #F29C91; /* 基調色のピンク */
}

/* テーブル本体のスタイルは css/price.css の .price-list に集約 */

/* 注釈テキスト */
.pr-tb.tem6 li > div:last-child {
    color: #888;
    line-height: 1.6;
    margin-top: 10px;
}

/* レスポンシブ：SP（縦並び） */
@media screen and (max-width: 768px) {
    .pr-tb.tem6 li {
        padding: 20px 0;
        max-width: 100%;
    }
    .pr-tb .heading h3 {
        width: 100%;
    }
}
/* 重要事項説明ボタン
--------------------- */
/* ボタン全体のレイアウト調整 */
#if_btn .button,
#if_btn2 .button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    text-decoration: none;
    position: relative;
    border: 2px solid #F29C91;
    border-radius: 8px;
    transition: all 0.3s ease;
    max-width: 500px;
}

/* 1つ目のPタグ（テキストエリア）の調整 */
#if_btn .button p:first-child,
#if_btn2 .button p:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    padding: 0 60px;
    position: relative;
    font-size: 1.2em;
    font-weight: bold;
}

/* PDFアイコン：白背景の丸 + アイコン画像 */
#if_btn .button p:first-child::before,
#if_btn2 .button p:first-child::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: #fff;
    background-image: url(../img/common/icon-pdf.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px auto;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 注釈テキストの追加 */
#if_btn .button p:first-child::after,
#if_btn2 .button p:first-child::after {
    content: "クリックしてダウンロード・閲覧できます";
    display: block;
    font-size: 0.75em; /* 小さめの文字サイズ */
    font-weight: normal;
    color: #888;
    margin-top: 4px;
}

/* もともとの矢印（→）の調整 */
#if_btn .co_button,
#if_btn2 .co_button {
    margin-left: auto;
    font-weight: bold;
    color: #608FB1;
    position: relative;
    right: 0;
}

/* ホバー時の動き */
#if_btn .button:hover,
#if_btn2 .button:hover {
    background-color: rgba(242, 156, 145, 0.2);
    border-color: #F29C91;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
#if_btn .button:hover p,
#if_btn2 .button:hover p {
    color: #F29C91;
}
@media screen and (max-width: 769px) {
    #if_txt .txt_area {
        padding-left: 15px;
        padding-right: 15px;
    }
    #if_btn,
    #if_btn2 {
        padding-left: 15px;
        padding-right: 15px;
    }
    #if_btn .button,
    #if_btn2 .button {
        width: 100%;
    }
    #if_btn .button p:first-child,
    #if_btn2 .button p:first-child {
        padding: 0 0 0 60px;
        font-size: 1em !important;
    }
}

@media screen and (max-width: 600px) {
    .faq_accordion .faq_ttl {
        padding: 1.5rem 2rem;
    }
}

/* 左ボタン：お問い合わせ */
#footer .footer_fix ul li:first-child {
    background: linear-gradient(150deg, #8FC1B5 0%, #4D8D7E 100%);
    background: linear-gradient(135deg, #f29c91 0%, #d17066 100%);
    border-top: 1px solid #A6D1C7;
    border-top: 1px solid #fff;
}

/* 右ボタン：お電話 */
#footer .footer_fix ul li:last-child {
    background: linear-gradient(150deg, #F3B381 0%, #D87B44 100%);
    background: linear-gradient(150deg, #8FC1B5 0%, #4D8D7E 100%);
    border-top: 1px solid #F7CDB0;
    border-top: 1px solid #fff;
}
