html{
    scroll-behavior: smooth;
}
.anchor{
    display: block;
    /*setting in master.js*/
    visibility: hidden;
}
#block-jisshuusei{
    margin-bottom: -7em
}
#block-jisshuusei .msg{
    position: relative;
    /* background: yellow; */
    top: -15em;;
    width: 800px;
    margin: 0 auto;
    /* color: white; */
    background: #4B79A1;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #283E51, #4B79A1);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #283E51, #4B79A1); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    padding: 2em;
}

.mf-btn.btn-outline-secondary{
    border-radius: 5em;
    background-color: white;
    border: 1px solid #477297;
    color: #4a779f;
}
.mf-btn.btn-outline-secondary:hover{
    color: white;
    border: 1px solid white;
    background-color: #3e6383;
}

#block-kaigo{
    margin-top: 2em;
}

.meritcontent {padding: 8em 1em 2em 1em;margin-top: -6em;height: 90%;border-radius: 5px}
.meritcontent p, .meritcontent h4{color: white}
.merit .wrap:nth-child(1) .meritcontent{background-color: #249caa;}
.merit .wrap:nth-child(2) .meritcontent{background-color: #df6585;}
.merit .wrap:nth-child(3) .meritcontent{background-color: #e0ae25;}
.merit .wrap:nth-child(4) .meritcontent{background-color: #27a6c9;}
.merit .wrap:nth-child(5) .meritcontent{background-color: #e6735e;}
.merit .wrap:nth-child(6) .meritcontent{background-color: #daba8c;}
.wrap {text-align: center;margin-bottom: 4em}
.wrap  img {display: inline-block;width: 30%}

#services-wrapper .card{
    width: 100% !important;
    border: none;
    height: 100% !important;
}
#services-wrapper .card div.text-left{
    position: absolute;
    bottom: 0;
    left: 0;
}
.sub-padding{
    padding-top: 5em;
    padding-bottom: 5em;
}
table td, table th{
    vertical-align: inherit !important;
}
.shokushuTitle:hover{
    color: black;
    background: #c0c0c045;
}

/* Footage video */
#footage{
    position: relative;
    background-color: black;
    height: 75vh;
    min-height: 25rem;
    width: 100%;
    overflow: hidden;
}
#footage video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}
#footage .service-items-holder{
    position: relative;
    z-index: 2;
}
#footage .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: 1;
  }
#service-items-holder{
    position: relative;
    z-index: 10;
    top: -33em;
}
#service-items-holder .card{
    border-radius: 1rem;
}
#service-items-holder .card-img-top {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

#service-items-holder p.card-text{
    height: 12em;
}
#card1, #card2, #card3, #card4{
    position: relative;
    top: 10em;
    opacity: 0;
    transition: .75s all ease-in-out;
}
.card-show{
    top: 0 !important;
    opacity: 1 !important;
}

@media (pointer: coarse) and (hover: none) {
    #footage {
        background: url('https://source.unsplash.com/XT5OInaElMw/1600x900') black no-repeat center center scroll;
    }
    #footage video {
        display: none;
    }
}

.div-bg{
    height: 300px;
    width: 100%;
    background-size: contain !important;
    background-attachment: fixed !important;
}

.border-bot{
    border-bottom: 4px solid var(--blue);
}
#wrapper-9cd199b9cc5410cd3b1ad21cab2e54d3 a[href="https://1map.com/jp/map-embed"],
#wrapper-9cd199b9cc5410cd3b1ad21cab2e54d3 a[href="https://1map.com/jp/maps/japan/narita-18234"]{
    display:none !important;
}
#map-9cd199b9cc5410cd3b1ad21cab2e54d3 iframe{
    border: 1px solid #8c8c8c !important;
    border-radius: 10px;
    box-shadow: rgb(50 50 93 / 25%) 0px 2px 5px -1px, rgb(0 0 0 / 30%) 0px 1px 3px -1px;
}
/* .guide-wrapper{
    border: 2px dotted var(--blue);
} */

.access-holder{
    margin-top: 5em;
    margin-bottom: 8em;
}

.gradient-holder-v2{
    background: linear-gradient(-45deg, #4a789f, rgb(9, 69, 114), #053a6d, #bdd3df);
	background-size: 400% 400%;
	animation: gradient 15s ease infinite;
}
@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

#services-outter{
    margin: 3em 0;
}

.map-wrapper{
    border-radius: .5em;
    overflow: hidden;
}

.ribbon2{
    position: relative;
    padding: 1em 0.5em;
    background: steelblue;
    /* width: fit-content; */
    margin: 1em 0;
    color: white;
    font-size: 16pt;
    display: flex;
    align-items: center;
}
.ribbon2::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border: none;
    border-bottom: solid 15px transparent;
    border-right: solid 20px rgb(149, 158, 155);
  }
.line-right{
    border-right: 10px solid var(--atit-green);
}
.accordion-wrapper{
    padding: 3em 0;
}
.access-accord a.eki{
    border: 5px solid #737373;
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: .25s all;
}
a.eki.expanding{
    border-color: var(--atit-green);
}
.access-accord a.eki:hover{
    border-color: var(--atit-green);
}

.access-accord .stop-station::before{
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: relative;
    right: 31px;
    border: 1px solid green;
}

span.from::before{
    content: '発';
    position: relative;
    right: 40px;
    background-color: var(--iclc-grey);
    padding: 0 10px;
    font-weight: 400;
}
span.to::before{
    content: '着';
    position: relative;
    right: 40px;
    background-color: var(--iclc-grey);
    padding: 0 10px;
    font-weight: 400;
}
.services-collapse{
    border: 2px solid var(--iclc-gmap);
    border-radius: 5px;
    margin: 1em 0;
}
.services-collapse .collapse-title i.fa-chevron-down{
    transition: .5s all;
}
.services-collapse .collapse-title i.fa-chevron-down.collapse-expanded{
    transform: rotateX(-180deg);
}
.collapse-answer{
    border-top: 1px solid var(--iclc-gmap);
}
.kaigo-tokuchou{
    height: 300px;
}
.kaigo-tokuchou .image{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.kaigo-tokuchou:nth-child(1) .text, .kaigo-tokuchou:nth-child(3) .text{
    background-color: var(--iclc-gmap);
}
.kaigo-tokuchou:nth-child(1) .image::before, .kaigo-tokuchou:nth-child(3) .image::before{
    content: '';
    display: block;
    background-color: #13829661;
    width: 100%;
    height: 100%;
}
.kaigo-tokuchou:nth-child(2) .text{
    background-color: var(--iclc-dark);
}
.kaigo-tokuchou:nth-child(2) .image::before{
    content: '';
    display: block;
    background-color: #3e3e3e5c;
    width: 100%;
    height: 100%;
}
.direction-holder{
    /* border: 3px solid #9e8a3f; */
    padding: 1em;
    border-radius: 10px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

input[name=saddr]{
    border: 2px solid var(--iclc-gmap);
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}
.input-group-append{
    border-top-right-radius: 15px;
    overflow: hidden;
    border-bottom-right-radius: 15px;
    /* border-top: 2px solid var(--iclc-gmap); */
    /* border-right: 2px solid var(--iclc-gmap); */
    /* border-bottom: 2px solid var(--iclc-gmap); */
}
.input-group-text{
    background-color: var(--iclc-gmap);
    border: 1px solid var(--iclc-gmap);
}
.default-addr{
    border-radius: 15px;
    border: 2px solid var(--iclc-gmap);
}