@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

header{
    position: fixed;
    width: 100%;
    top: 0;
    color: #fff;
    z-index: 100;
    font-size: 14px;
    transition: top 0.4s ease;
}

header.is-hidden{
    top: calc(var(--header_h, 200px) * -1);
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 上部がグレー(透過度80%)、下部が完全な透明のグラデーション */
  background: linear-gradient(to bottom, rgba(60, 60, 60, 0.8) 0%, rgba(60, 60, 60, 0) 100%);
  opacity: 0; /* 初期状態は見えないようにしておく */
  transition: opacity 0.3s ease; /* 0.3秒かけてふわっと表示 */
  z-index: -1; /* ヘッダー内のロゴや文字の背面に配置 */
  pointer-events: none; /* クリック操作の邪魔をしない設定 */
}

header.is-scrolled::before {
  opacity: 1;
}

.header_inner{
    /* max-width: 1100px;
    width: 96%; */
    margin: 0 auto;
    padding: 0 20px;
}

.header_top{
    display: flex;
    justify-content: space-between;
}

.header_logo h1{
    width: 286px;
    max-width: 100%;
}

.header_btn_area{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 570px;
    margin-left: auto;
    margin-top: -20px;
}

.link-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.1em;
    gap: 2em;
    width: 12em; 
}

.link-box > a{
    transition-duration: 0.6s;
}

.link-box > a:hover{
    opacity: 0.6;
}

.link-box02{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2em;
    width: calc(100% - 14em);
}

.link-box02 > a{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.5);
    height: 3em;
    font-size: 12px;
    width: 48%;
    transition-duration: 0.6s;
    text-transform: uppercase;
}

.link-box02 > a:first-of-type{
    position: relative;
    overflow: hidden;
    background: #9b7862;
    background-image: linear-gradient(140deg, #9b7862, #cbb39e 50%, #9b7862);
    border: none;
    transition-duration: 0.3s;
}

.link-box02 > a:first-of-type::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-150%) skewX(-20deg);
    animation: btn_shine_x2 8s ease-in-out infinite;
    pointer-events: none;
}

.link-box02 > a:hover{
    /* background: rgba(255,255,255,0.9);
    color: #785038;
    border: 1px solid #fff; */
    opacity: 0.7;
}

.link-box02 > a:first-of-type:hover{
    border: none;
}

nav{
    /* width: 64%; */
    max-width: 710px;
    margin-top: 15px;
    margin-left: auto;
}

nav ul{
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

nav ul li{
    position: relative;
}

nav ul li::before{
    transition: all .5s ease;
    content: "";
    width: 0%;
    max-width: 90%;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%)
}

nav ul li:hover::before{
    width: 140%;
}

nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

nav a span.jp{
    font-size: 0.7em;
    margin-top: 0.3em;
}

#Spf{
    display: none;
    position: fixed;
    height: 50px;
    z-index: 101;
    bottom: 0;
    width: 100%;
    font-size: 10px;
}

#Spf .subhead_bar{
    height: 3px;
    position: relative;
}


#Spf ul {
    display: flex;
    justify-content: space-between;
    height: 100%;
    
}
#Spf ul li{
    display: flex;
    height: 100%;
    flex: 1;
    
}
#Spf ul li a{
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
    width: 100%;
    height: 100%;
    background: #785038;
    border-right: 1px solid #fff;
}

#Spf ul li:first-of-type a{
    position: relative;
    overflow: hidden;
}

#Spf ul li:first-of-type a::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 235, 205, 0.45) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-150%) skewX(-20deg);
    animation: btn_shine_x3 12s ease-in-out infinite;
    pointer-events: none;
}

#Spf ul li:last-of-type a{
    border-right: none;
}

#Spf ul li a i{
    width: 28%;
    max-width: 27px;
    margin: 2px 0;
}

.btn_spf_nav{
    width: 28%;
    height: 26.08px;
    margin: 2px 0;
    position: relative;
}
.btn_spf_nav span{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    border-radius: 3px;
    background: rgba(255,255,255,0.75);
    transition: all 0.3s ease;
}

.btn_spf_nav span:nth-of-type(1){
    top: 8.5px;
}
.btn_spf_nav span:nth-of-type(2){
    top: 13px;
}
.btn_spf_nav span:nth-of-type(3){
    top: 18px;
}

.is-active .btn_spf_nav span:nth-of-type(1) {
    top: 13px;
    transform:translateX(-50%) rotate(45deg) ;
}

.is-active .btn_spf_nav span:nth-of-type(2) {
    opacity: 0;
}

.is-active .btn_spf_nav span:nth-of-type(3) {
    top: 13px;
    transform:translateX(-50%) rotate(-45deg) ;
}


.spf_txt{
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
}


.btn_info_box{
    display: flex;
    justify-content: space-between;

}


.btn_info_box > a{
    display: flex;
    align-items: center;
    width: 48%;
    height: 50px;
    justify-content: center;
    color: #fff;
    text-transform: uppercase;
    transition-duration: 0.6s;
}
.btn_info_box > a:hover{
    opacity: 0.6;
}
.btn_info_ent{
    position: relative;   /* 追加 */
    overflow: hidden;     /* 追加 */
    background: #9b6b49 url(../img/top/btn_info_ent_bg.png) no-repeat;
    background-size: cover;
}
.btn_info_limit{
    background: #000 url(../img/top/btn_info_limit_bg.png) no-repeat;
    background-size: cover;
}

.btn_info_ent::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 245, 225, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-150%) skewX(-20deg);
    animation: btn_shine_x2 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btn_shine{
    0%   { transform: translateX(-150%) skewX(-20deg); }
    20%  { transform: translateX(350%) skewX(-20deg); }
    100% { transform: translateX(350%) skewX(-20deg); }
}

@keyframes btn_shine_x2{
    0%    { transform: translateX(-150%) skewX(-20deg); }
    10%   { transform: translateX(350%) skewX(-20deg); }
    100%  { transform: translateX(350%) skewX(-20deg); }
}

@keyframes btn_shine_x3{
    0%    { transform: translateX(-150%) skewX(-20deg); }
    6.67% { transform: translateX(350%) skewX(-20deg); }
    100%  { transform: translateX(350%) skewX(-20deg); }
}


@media (prefers-reduced-motion: reduce){
    .btn_info_ent::after,
    .link-box02 > a:first-of-type::after,
    #Spf ul li:first-of-type a::after{
        animation: none;
    }
}


@media screen and (max-width: 950px) {

    .header_btn_area{
        margin-top: 0;
    }

}

@media screen and (max-width: 800px) {
    header{
        padding-bottom: 20px;
    }

    nav ul li::before{
        display: none !important;
    }
    

    body.is-fixed {
        overflow: hidden;
    }

    .header_btn_area,nav{
        display: none;
    }

    nav{
        display: block;
        position: fixed;
        top: initial;
        bottom: 50px;
        left: 0;
        width: 100%;
        max-width: initial;
        height: calc(100% - 100px);
        color: #785038;
        background: rgba(226,224,218,0.9);
        overflow-y: scroll;
        border: none;
        margin: 0;
        transform: translateY(calc(100% + 100px));

        /* opacity: 0;
        visibility: hidden; */
    }

    nav.is-animating {
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    nav.is-active{
        opacity: 1;
        visibility: visible;

        transform: translateY(0);
    }

    nav ul{
        flex-direction: column;       
    }

    nav ul a{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-decoration: none;
        padding: 10px 30px 10px;
        border-bottom: 1px solid #785038;
    }

    #Spf{
        display: block;
        
    }

    /* トップページのみ：初期は画面外に隠し、スクロールで表示 */
    .is_top #Spf{
        transform: translateY(100%);
        transition: transform 0.4s ease;
    }
    .is_top #Spf.is-show{
        transform: translateY(0);
    }

    .btn_info_box{
        flex-wrap: wrap;
    }
    .btn_info_box > a{
        width: 100%;
    }
    .btn_info_box > a:nth-of-type(n + 2){
        margin-top: 20px;
    }

    nav .btn_info_box{
        padding: 0 30px;
        margin-bottom: 20px;
    }
    .link-box_sp{
        border-top: 1px solid;
    }
    .link-box_sp li a{
        padding: 15px 30px ;
    }

    
    
    
}


.btn_entry_bottom{
    position: relative;
    overflow: hidden;
    background: #9b6b49 url(../img/top/btn_info_ent_bg.png) no-repeat;
    background-size: cover;
    height: 60px;
    max-width: 360px;
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e2e0da;
    text-transform: uppercase;
    transition-duration: 0.6s;
}
.btn_entry_bottom:hover{
    opacity: 0.6;
}

.btn_entry_bottom::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 245, 225, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-150%) skewX(-20deg);
    animation: btn_shine_x2 8s ease-in-out infinite;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce){
    .btn_entry_bottom::after{
        animation: none;
    }
}






/* footer */

footer{
    padding: 40px 0 0;
}

footer .Flogo ul{
	max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 50px;
}

footer .Flogo ul li{
	/*width:18%;*/
	/* width: 15%; */
}
footer .Flogo ul li sup {display:block;font-size:11px;color:#3E3A39;margin-bottom:15px;top: unset;line-height: 1.6;}
footer .Flogo ul li a{
	display:block;
	transition:all 0.5s;
    text-decoration:none;
}
footer .Flogo ul li a:hover{
	opacity:0.7;
}
footer .Flogo ul li a img{
	width:100%;
	display:block;
}

footer .Flogo ul li:nth-child(1){ width: calc(130 / 960 * 100%); } /* 京急 */
footer .Flogo ul li:nth-child(2){ width: calc(150 / 960 * 100%); } /* tatemono */
footer .Flogo ul li:nth-child(3){width: calc(130  / 960 * 100%);} /* tobu */
footer .Flogo ul li:nth-child(4){ width: calc(150 / 960 * 100%); } /* nskre */
footer .Flogo ul li:nth-child(5){ width: calc(140 / 960 * 100%); } /* sohgohreal */
footer .Flogo ul li:nth-child(6){ width: calc(150 / 960 * 100%); } /* haseko */


footer .Flogo ul li:nth-child(1) a img { 
    max-width: 130px;
}

/* footer .Flogo ul li:nth-child(2) sup {
    margin-bottom: 5px;
} */

.tatemono{
    max-width: 150px;
}
.tobu{
    max-width: 130px;
    margin-top: -15px;
}
.nskre{
    max-width: 150px;
    margin-top: -5px;
}

.sohgohreal{
    max-width: 140px;
}
.haseko-urbest{
    max-width: 150px;
}


footer .Flogo div{
	line-height: 1.5;
}


/* 親要素：PCでは左右に横並び */
.footer_bottom_box{
    border-top:1px solid #dcdcdc;
    border-bottom:1px solid #dcdcdc;
    margin: 40px auto;
    padding: 30px 0;
}
.footer_bottom {
    display: flex;
    /* align-items: flex-start; */
    align-items: center;
    justify-content: center;
    gap: 50px;
    font-size: 11px;
    line-height: 2.2;
    color: #555;

}

/* 左側：リンク一覧を縦並びにする */
.footer_privacy {
    display: flex;
    flex-direction: column; /* aタグを縦に並べる */
}

.footer_privacy a.s {
    color: inherit;
    text-decoration: none;
}

/* 画像の先頭にある「> 」を自動で付ける */
.footer_privacy a.s::before {
    content: "> ";
    margin-right: 4px;
}

/* 右側：コピーライト（addressタグ特有の斜体を解除） */
.footer_copy {
    font-style: normal;
}



.contact-box{
    margin-bottom: 40px;
    text-align: center;
    color: #000;
}

.contact-box .ttl {
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.contact-box .tel {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin: 10px 0;
}

.contact-box .tel_box{
    display: inline-block;
}

.contact-box .tel i {
width: 46px;
margin: 0 5px 0 0
}

.contact-box .tel span {
font-size: 46px;
letter-spacing: 0.05em;
color: #34373a;
}

.contact-box .date {
font-size: 10px;
line-height: 1.9;
/* text-align: center; */
}



@media screen and (max-width: 1000px) {
    footer .Flogo ul{
        max-width: 600px;
        justify-content: flex-start;
        gap: 2%;
    }

    footer .Flogo ul li:nth-child(n){ width: 32%; }

}

/* =========================================
   スマホ表示（768px以下）：縦並びに切り替え
   ========================================= */
@media screen and (max-width: 768px) {
    .footer_bottom {
        flex-direction: column;
        gap: 20px;
        line-height: 1.8;
    }
}


@media screen and (max-width: 650px) {
	footer{
	    /* margin-top:40px;
        margin-bottom:60px; */
	}
	footer a.tel{
		/* width:84%; */
		margin:auto;
		margin-bottom:20px;
	}
	footer .Flogo{
		/* width:84%; */
		margin:auto;
		position:static;
	}
    
	footer .Flogo ul li{
		width:42%;
		margin:auto;
	}
	footer .Flogo ul li:nth-child(1){
		width:53%;
	}

    .footer_bottom{
        font-size: 10px;
        letter-spacing: 0.04em;
    } 

    .contact-box .tel span{
        font-size: 36px;
    }



    /* footer .Flogo { width:90%; } */
    footer .Flogo ul li { width:100%!important; }
    footer .Flogo ul li:nth-of-type(n+2) { margin-top:20px; }
    footer .Flogo ul li a { 
        display: flex;
        align-items: center;
        flex-direction: column;
        text-align: center;
    }
    footer .Flogo ul li sup { width:50%; text-align: left; }
    footer .Flogo ul li a img { width:50%; margin: 0 auto;}

    footer .Flogo ul li:nth-child(1) a img{
        max-width: 160px;
    }
    .tatemono {
        max-width: 170px;
    }
    .tobu {
        max-width: 170px;
        margin-top: -15px !important;
        margin-bottom: -10px !important;
    }
    .nskre {
        max-width: 170px;
    }
    .sohgohreal {
        max-width: 170px;
    }
    .haseko-urbest {
        max-width: 170px;
    }

    footer .Flogo ul li:nth-child(2) sup {
    margin-bottom: 10px;
}

}







/* フッタースライダー読み込み */

.keikyu_wrap .b{
text-align: center;
margin-bottom: 20px;
font-size: 14px;
letter-spacing: 2px;
color: #333333;
}
.keikyu_wrap{
font-family: 'Noto Sans JP', serif;
    max-width: 1200px;
    padding: 0 20px;
    margin: 40px auto;
    overflow: hidden;
}
.keikyu_wrap .item-text h4 {
    font-size: 16px;
    font-weight: bold;
    color: initial;
    line-height: 1.2;
    /* margin-bottom: 12px; */
}
.keikyu_wrap .item-text h4.new:after {
    content: "NEW!";
    display: inline-block;
    color: #004b90;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 11px;
    font-weight: bold;
    margin-left: 10px;
}
.keikyu_wrap .item-text p {
    font-size: 14px;
    letter-spacing: 0em;
    display: none;
}
.keikyu_wrap .item-img {
    overflow: hidden;
    margin-bottom: 20px;
}
.keikyu_wrap .item-img img {
    width: 100%;
    height: auto;
}
.keikyu_wrap .keikyu_slide li .item-text {
    margin-bottom: 15px;
    -ms-flex: 1 0 auto;
    flex-grow: 1;
}
.keikyu_wrap .btn {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    outline: none;
    max-width: 100%;
    height: 50px;
    padding-left: 15px;
    padding-right: 15px;
    background: #ff0000;
    border: none;
    text-decoration: none;
    color: #004b90;
    border-radius: 0;
    font-size: 14px;
    font-size: 1rem;
    letter-spacing: 0.1em;
    box-sizing: border-box;
    text-align: center;
    -webkit-transition: background 0.3s ease, color 0.3s ease;
    -moz-transition: background 0.3s ease, color 0.3s ease;
    -ms-transition: background 0.3s ease, color 0.3s ease;
    -o-transition: background 0.3s ease, color 0.3s ease;
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
    appearance: none;
    top: 0;
    line-height: 1.2;
    z-index: 2;
}
.keikyu_wrap .btn:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #004b90;
    z-index: -2;
}
.keikyu_wrap .btn:after {
    content: "";
    display: block;
    position: absolute;
    left: 1px;
    top: 1px;
    width: calc(100% - 1px * 2);
    height: calc(100% - 1px * 2);
    border-radius: 8px;
    background: #FFF;
    z-index: -1;
    transition: all 0.3s ease;
}
.keikyu_wrap .item-li {
    /* margin-bottom: 50px; */
    display: flex!important;
    -webkit-box-orient: vertical;
    flex-direction: column;
}
.keikyu_wrap .item-btn {
    margin-top: auto;
}


/* slide */
.keikyu_wrap .slick-track{
    display: flex;
}
.keikyu_wrap .slick-slide{
    height: auto;
}
.keikyu_slide li{
    margin: 0 10px;
}
.keikyu_slide{
    margin: 0 auto;
}
.keikyu_wrap .slick-prev {
    width: 20px !important;
    height: 25px !important;
    background: url(https://www.prime-keikyu.jp/yokohamatomioka/css/fonts/allow_l.png) no-repeat left top !important;
    background-size: 20px !important;
    left: -20px !important;
    z-index: 2;
}
.keikyu_wrap .slick-next {
    width: 20px !important;
    height: 25px !important;
    background: url(https://www.prime-keikyu.jp/yokohamatomioka/css/fonts/allow_r.png) no-repeat left top !important;
    background-size: 20px !important;
    right: -20px !important;
    z-index: 2;
}
.keikyu_wrap .slick-prev:before{
    content: "";
}
.keikyu_wrap .slick-next:before{
    content: "";
}



@media screen and (max-width: 800px) {
.keikyu_wrap .item-text h4 {
    font-size: 14px;
}
.keikyu_wrap .btn{
    font-size: 12px;
}
.keikyu_wrap .keikyu_slide li .item-text {
    margin-bottom: 10px;
}
.keikyu_wrap .item-img {
    margin-bottom: 10px;
}

.keikyu_wrap{
    margin-bottom: 60px;
}
}