#top {
}
#mainimage {
position: relative;
z-index: 2;
}
#mainimage ul img,
#mainimage ul img{
width: 100%;
height: auto;
box-shadow:0px 0px 5px 3px rgba( 0, 0, 0, 0.3);
border: 1px solid #131d3d;
}
#mainimage ul img:hover,
#mainimage ul img:hover{
border: 1px solid #FFF;
}
#mainimage .spbanner {
display: none;
}
#mainimage .movie {
position: relative;
width: 100%;
z-index: 1;
}
#mainimage video {
width: 100%;
display: block;
position: relative;
}
#mainimage #copy {
display: block;
background: linear-gradient(to bottom,  #aeb6c1 0%,#ffffff 100%);
padding: 100px 0 50px 0;
position: relative;
}
#mainimage #copy h1 {
color: #131d3d;
font-size: clamp(0.813rem, 0.653rem + 0.8vw, 1.25rem);
line-height: 2em;
font-family: "ryo-display-plusn", serif;
font-weight: 500;
font-style: normal;
}
#mainimage #copy ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
width: 96%;
margin: 0px auto 1em auto;
}
#mainimage #copy ul li {
width: 32%;
margin-bottom: 20px;
}
#mainimage #copy ul li:last-child {
width: 63%;
}

#project {
margin:0px auto 0 auto;
width: 100%;
min-width: 1200px;
}
#project a {
display: block;
border: 1px solid #d8d8d8;
text-decoration: none;
color: #000;
}
#project a:hover {
background-color: #EDEDED;
border-color: #131d3d;
}
#project a:hover img {
opacity: .8;
transform: scale(1.1);
transition:0.5s all;
}
#project dl {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
width: 100%;
height: 260px;
overflow: hidden;
min-width: 1200px;
}
#project dd {
width: 33.3%;
overflow: hidden;
text-align: center;
}
#project dd h2 {
font-size: 20px;
line-height: 1.3em;
}
#project dd h2:before {
content: '';
display: block;
width: 260px;
height: 26px;
background-image: url("../image/top/contents_logo.png");
background-size: cover;
vertical-align: middle;
position: relative;
text-align: center;
margin: 0px auto 10px auto;
}
#project dd img {
object-fit: cover;
width: 100%;
height: 260px;
vertical-align: middle;
font-style: italic;
background-repeat: no-repeat;
background-size: cover;
shape-margin: 0.75rem;
margin: 0px auto 0 auto;
text-align: center;
}
#project dd p {
font-size: 20px;
line-height: 1.3em;
}
#project dd p b {
font-weight: normal;
font-size: 24px;
margin: 0 0.1em 0 0.1em;
}

#contents_area {
margin: 70px auto 0 auto;
display: grid;
grid-template-columns: 1fr 1fr;
font-family: "ryo-display-plusn", serif;
font-weight: 500;
font-style: normal;
}
#contents_area a {
display: block;
border: 1px solid #d8d8d8;
text-decoration: none;
color: #000;
}
#contents_area a:hover {
background-color: #EDEDED;
border-color: #131d3d;
}
#contents_area a:hover img {
opacity: .8;
transform: scale(1.1);
transition:0.5s all;
}
#contents_area ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
#contents_area li {
text-align: center;
margin: 0px auto 0 auto;
width: 50%;
overflow:hidden;
}
#contents_area h4 {
font-family: "balboa-plus-fill", sans-serif;
font-weight: 400;
font-style: normal;
color: #131d3d;
font-size: 30px;
line-height: 1.3em;
letter-spacing: 0.1em;
}
#contents_area p {
font-size: 18px;
line-height: 1.3em;
padding-top: 0.3em;
}
#contents_area li img {
object-fit: cover;
width: 100%;
height: 260px;
vertical-align: middle;
font-style: italic;
background-repeat: no-repeat;
background-size: cover;
shape-margin: 0.75rem;
margin: 0px auto 0 auto;
text-align: center;
}


#top h3 {
color: #131d3d;
font-size: 30px;
line-height: 1.5em;
font-family: "ryo-display-plusn", serif;
font-weight: 500;
font-style: normal;
margin: 100px 0 0 0;
}


#yokohama_search {
margin: 30px auto 0 auto;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
font-family: "ryo-display-plusn", serif;
font-weight: 500;
font-style: normal;
}
#yokohama_search a {
display: block;
border: 1px solid #d8d8d8;
text-decoration: none;
color: #000;
}
#yokohama_search a:hover {
background-color: #EDEDED;
border-color: #131d3d;
}
#yokohama_search a:hover img {
opacity: .8;
transform: scale(1.1);
transition:0.5s all;
}
#yokohama_search ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
#yokohama_search li {
text-align: center;
margin: 0px auto 0 auto;
width: 50%;
overflow:hidden;
}
#yokohama_search p {
font-size: 20px;
line-height: 1.5em;
}
#yokohama_search li img {
object-fit: cover;
width: 100%;
height: 260px;
vertical-align: middle;
font-style: italic;
background-repeat: no-repeat;
background-size: cover;
shape-margin: 0.75rem;
margin: 0px auto 0 auto;
text-align: center;
}

#ranking {
margin: 130px auto 0 auto;
width: 80%;
}
#ranking ul.bk {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items:stretch;
margin: 50px 0 0 0;
}
#ranking ul.bk:after {
display: block;
content:"";
width: 32%;
}
#ranking ul.bk li {
width: 300px;
min-width: 32%;
box-sizing: border-box;
}
#ranking ul.bk li a {
display: block;
color: #121b3c;
text-decoration: none;
text-align: left;
font-family: "ryo-gothic-plusn", sans-serif;
font-weight: 500;
font-style: normal;
box-sizing: border-box;
border: 1px solid #d7d7d8;
padding: 15px;
position: relative;
}
#ranking ul.bk li a:hover {
border: 1px solid #131d3d;
background-color: #efefef;
}
#ranking ul.bk li a:hover h4 {
background-color: #131d3d;
color: #FFF;
}
#ranking ul.bk img {
aspect-ratio: 4 / 3;
width: 100%;
object-fit: cover;
}
#ranking ul.bk dl {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#ranking ul.bk dl:after {
display: block;
content:"";
width: 32%;
}
#ranking ul.bk dt {
width: 100%;
display: block;
line-height: 0;
margin: 0 0 10px 0;
}
#ranking ul.bk dd {
width: 32%;
display: block;
line-height: 0;
}
#ranking ul.bk h4 {
background-color: #efefef;
padding: 0.3em 0 0.3em 0.7em;
font-size: 18px;
line-height: 1.5em;
margin: 20px 0 0.7em 0;
font-weight: 600;
}
#ranking ul.bk p {
font-size: 18px;
line-height: 1.5em;
}
#ranking ul.bk p.price {
text-align: right;
}
#ranking ul.bk p.price b {
font-size: 26px;
font-weight: 700;
}

#ranking ul.bk li a:before {
content: '1';
color: #FFF;
background-color: #121b3c;
border-radius: 100vh;
text-align: center;
box-sizing: border-box;
width: 40px;
height: 40px;
border-style: solid;
border: 1px solid #FFF;
z-index: 100;
display: grid;
place-content: center;
font-size: 20px;
line-height: 1.5em;
font-family: "ryo-display-plusn", serif;
font-weight: 500;
font-style: normal;
position: absolute;
top: 0;
left: 0;
}
#ranking ul.bk li:nth-of-type(1) a:before {
content: '1';
}
#ranking ul.bk li:nth-of-type(2) a:before {
content: '2';
}
#ranking ul.bk li:nth-of-type(3) a:before {
content: '3';
}

.life_change {
margin: 100px auto 0 auto;
}
.life_change img {
width: 100%;
height: auto;
border-top: 3px solid #6c7584;
border-bottom: 3px solid #6c7584;
}

#search {
margin: 100px auto 0 auto;
background-color: #f2f2f2;
padding: 80px 0 80px 0;
}
#search h3 {
margin: 0;
}
#search ul {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
width: 80%;
margin: 70px auto 0 auto;
}
#search ul li {
display: block;
width: 31%;
}
#search ul li a {
text-decoration: none;
color: #131d3d;
font-size: 24px;
line-height: 1.5em;
font-family: "ryo-gothic-plusn", sans-serif;
font-weight: 500;
font-style: normal;
position: relative;
background-color: #FFF;
border: 1px solid #bfbebe;
display: block;
padding: 0.8em 0 0.8em 0;
text-align: left;
}
#search ul li a:after {
content: '';
box-sizing: border-box;
display: inline-block;
position: absolute;
width: 15px;
height: 15px;
border-style: solid;
border-width: 5px 5px 0 0;
border-color: #c4c3c3;
transform: rotate(45deg);
top: 40%;
right: 3%;
}
#search ul li a:hover {
border-color: #131d3d;
background-color: #d9deed;
}

#search ul li a:before {
content: '';
display: inline-block;
width: 38px;
height: 40px;
background-size: contain;
vertical-align: middle;
position: relative;
top: -5px;
left: 3%;
margin-right: 30px;
}
#search ul li:nth-of-type(1) a:before {
background-image: url("../image/top/search_icon1.png");
}
#search ul li:nth-of-type(2) a:before {
background-image: url("../image/top/search_icon2.png");
}
#search ul li:nth-of-type(3) a:before {
background-image: url("../image/top/search_icon3.png");
}

#search dl {
width: 700px;
margin: 80px auto 0 auto;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
}
#search dt {
width: 550px;
}
#search dd {}
#search input[type="text"] {
border: 2px solid #bfbebe;
border-radius: 4px;
padding: 0.6em 0 0.6em 0.5em;
font-size: 22px;
box-sizing: border-box;
width: 100%;
}
#search input[type="text"]:focus {
background-color: #ffffcc;
border: 2px solid #131d3d;
}
#search .bt {
position:relative;
display:inline-block;
}
#search input[type="submit"] {
font-size: 26px;
line-height: 1.5em;
font-weight: bold;
padding: 0.2em 0em 0.2em 1em;
box-sizing: border-box;
border-radius: 6px;
cursor: pointer;
color: #FFF;
background-color: #131d3d;
touch-action: manipulation;
position:relative; 
display: block;
width: 130px;
}
#search .bt:before {
content: '';
display: inline-block;
background-image: url("../image/top/search_bt.png");
width: 26px;
height: 25px;
background-size: contain;
vertical-align: middle;
position: absolute;
top: 28%;
left: 10%;
z-index: 10;
}
#search input[type="submit"]:hover {
background-color: #41547b;
}

#banner {
margin: 80px auto 0 auto;
width: 100%;
}
#banner ul {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#banner ul li {
width: 49%;
line-height: 0;
}
#banner ul li:first-child {
}
#banner ul li img {
width: 100%;
height: auto;
border-top: 3px solid #6c7584;
border-bottom: 3px solid #6c7584;
}
#banner img:hover {
opacity: .70;
}

#company {
margin: 150px auto 0 auto;
}
#company ul {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
font-family: "ryo-display-plusn", serif;
font-weight: 500;
font-style: normal;
width: 80%;
min-width: 1200px;
margin: 30px auto 0 auto;
}
#company li {
line-height: 0;
width: 30%;
overflow: hidden;
}
#company li a {
text-decoration: none;
}

#company a:hover img {
opacity: .8;
transform: scale(1.1);
transition:0.5s all;
}
#company li img {
width: 100%;
height: auto;
}
#company li h5 {
font-size: 20px;
line-height: 1em;
background-color: #131d3d;
color: #FFF;
padding: 1em 0 1em 0;
display: block;
position: relative;
z-index: 10;
}


#sns dl {
width: 80%;
min-width: 1200px;
margin: 100px auto 0 auto;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
}
#sns dt {}
#sns dt ul {
width: 260px;
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
}
#sns dt ul li {
width: 50px;
min-width: 5%;
}
#sns dt ul li img:hover {
opacity: 0.7;
transform: rotate( -15deg );
transition:0.5s all;
}
#sns dd {
font-size: 14px;
line-height: 1.5em;
}
