@charset "UTF-8";
  * {
margin: 0;
padding: 0;
box-sizing: border-box;
line-height: 1;
}
html {
font-size: 62.5%;
}
body {
font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
color: #333333;
-webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; position: relative;
min-height: 100vh;
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/back.jpg);
}
ul {
list-style: none;
}
a {
text-decoration: none;
transition: 0.3s;
}
table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
} .cf::after {
content: "";
clear: both;
display: table;
} .header {
position: fixed;
z-index: 99999;
width: 100%;
height: 100px;
top: 0;
left: 0;
transition: 0.3s;        }
.header h1 {
position: absolute;
top: 20px;
left: 40px;
}
.header h1 a {
text-indent: -9999px;
display: block;
width: 340px;
height: 54px;
transition: 0s;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
.header h1 a {
width: 159px;
height: 46px;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
.header h1 {
top: 12px;
left: 2.5%;
}
}
.header nav {
position: absolute;
right: 40px;
top: 40px;  }
.header nav .hamburger {
display: none;
position: absolute;
right: 2.5%; }
.header nav .hamburger span {
display: block;
width: 100%;
height: 4px;
position: absolute;
transition: all 0.3s;
}
.header nav .hamburger span:first-of-type {
top: 0;
}
.header nav .hamburger span:nth-of-type(2) {
top: 50%;
transform: translateY(-50%);
}
.header nav .hamburger span:last-of-type {
bottom: 0;
}
.header nav .hamburger:hover {
cursor: pointer;
}
@media only screen and (max-width: 1200px) and (min-width: 801px) {
.header nav { }
.header nav .hamburger {
display: block;
height: 36px;
width: 45px;
top: 32px; }
.header nav .hamburger.active { }
.header nav .hamburger.active span:first-of-type {
transform: translateY(16px) rotate(-45deg);
}
.header nav .hamburger.active span:nth-of-type(2) {
opacity: 0;
}
.header nav .hamburger.active span:last-of-type {
transform: translateY(-16px) rotate(45deg);
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
.header nav { }
.header nav .hamburger {
display: block;
height: 24px;
width: 30px;
top: 23px; }
.header nav .hamburger.active { }
.header nav .hamburger.active span:first-of-type {
transform: translateY(10px) rotate(-45deg);
}
.header nav .hamburger.active span:nth-of-type(2) {
opacity: 0;
}
.header nav .hamburger.active span:last-of-type {
transform: translateY(-10px) rotate(45deg);
}
}
.header nav ul {
width: 100%; }
.header nav ul li {
float: left; }
.header nav ul li a {
font-size: 1.8rem;
font-weight: bold;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
.header nav ul li a {
font-size: 1.6rem;
display: block;
height: 50px;
line-height: 50px;
text-align: center;
}
}
.header nav ul li ~ li {
margin-left: 20px; }
@media only screen and (max-width: 1200px) and (min-width: 300px) {
.header nav ul li ~ li {
margin-left: 0;
}
}
.header nav ul li.sp {
display: none;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
.header nav ul li.sp {
display: block;
}
}
.header nav ul li.language {
position: relative;  }
.header nav ul li.language ul {
width: 100px;
position: absolute;
right: 0;
top: 30px;
display: none;
transition: all 0.5s;
opacity: 0; }
.header nav ul li.language ul li {
float: none;
text-align: center;
}
.header nav ul li.language ul li a {
display: block;
height: 40px;
line-height: 40px;
color: #454545;
}
.header nav ul li.language ul li ~ li {
margin-left: 0;
}
.header nav ul li.language:hover {
height: 110px;
}
.header nav ul li.language:hover ul {
display: block;
opacity: 1;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
.header nav ul li.language {
display: none;
}
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
.header nav ul li {
float: none;
}
}
@media only screen and (max-width: 1200px) and (min-width: 801px) {
.header nav { }
.header nav ul {
margin-top: -570px;
transition: all 0.5s;
}
.header nav ul.open {
margin-top: 0;
padding-top: 100px;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
.header nav { }
.header nav ul {
margin-top: -570px;
transition: all 0.5s;
}
.header nav ul.open {
margin-top: 0;
padding-top: 70px;
}
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
.header nav {
position: static;
top: auto;
right: auto;
}
}
.header.first {  }
.header.first h1 a {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/logo_white.png) no-repeat left/contain;
}
.header.first nav {  }
.header.first nav .hamburger span {
background: #fff;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
.header.first nav { }
.header.first nav ul {
background: rgba(0, 0, 0, 0.6);
}
.header.first nav ul li {
border-top: 1px solid #848484;
}
}
.header.first nav a {
color: #fff;
}
.header.first nav a:hover {
color: #c9c9c9;
}
.header.first nav .language {
position: relative; }
.header.first nav .language ul {
background: #fff; }
.header.first nav .language ul li ~ li {
border-top: 1px solid #d4d4d4;
}
.header.scroll {
background: #fff;  }
.header.scroll h1 a {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/logo_blue.png) no-repeat left/contain;
}
.header.scroll nav {  }
.header.scroll nav .hamburger span {
background: #333333;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
.header.scroll nav { }
.header.scroll nav ul {
background: #fff;
}
.header.scroll nav ul li {
border-top: 1px solid #bfbfbf;
}
}
.header.scroll nav a {
color: #333333;
}
.header.scroll nav a:hover {
color: #8c8c8c;
}
.header.scroll nav .language {
position: relative; }
.header.scroll nav .language ul {
background: #dfecff; }
.header.scroll nav .language ul li ~ li {
border-top: 1px solid #fff;
} @media only screen and (max-width: 800px) and (min-width: 300px) {
.header {
height: 70px;
}
} .main {
padding: 30px 0 300px;
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/line.png) repeat-x; }
.main a.black-link {
display: block;
width: 300px;
height: 50px;
line-height: 50px;
text-align: center;
background: #333333;
color: #fff;
font-size: 1.8rem;
margin: 0 auto;
}
.main a.black-link:hover {
background: #606060;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
.main a.black-link {
width: 250px;
}
}
.main .under {
text-align: center;
font-size: 3.6rem;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
padding-bottom: 20px;
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/under_line.jpg) no-repeat center bottom;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
.main .under {
font-size: 2.5rem;
}
} @media only screen and (max-width: 640px) and (min-width: 300px) {
.main {
padding: 30px 0 170px;
}
} .footer {
background: #fff;
padding: 20px 0 5px;
width: 100%;
position: absolute;
left: 0;
bottom: 0;  }
.footer h1 {
width: 180px;
margin: 0 auto;
}
.footer h1 img {
width: 100%;
height: auto;
}
@media only screen and (max-width: 850px) and (min-width: 300px) {
.footer h1 {
margin: 0 auto 10px;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
.footer h1 {
width: 150px;
}
}
.footer ul {
text-align: center;
margin: 20px 0; }
.footer ul li {
display: inline-block;
}
.footer ul li a {
color: #333333;
font-size: 1.4rem;
}
.footer ul li a:hover {
color: #8e8e8e;
}
.footer ul li ~ li {
margin-left: 40px;
}
@media only screen and (max-width: 850px) and (min-width: 300px) {
.footer ul {
display: none;
}
}
.footer p {
text-align: center;
font-size: 1.2rem;
margin-bottom: 10px;
}
.footer small {
display: block;
text-align: center;
font-size: 1rem;
} a.to_top {
display: block;
background: #2457a6;
color: #fff;
width: 50px;
height: 50px;
line-height: 50px;
text-align: center;
font-size: 1.8rem;
border-radius: 50%;
position: fixed;
bottom: 20px;
right: 20px;
} @media only screen and (max-width: 640px) and (min-width: 300px) {
a.to_top {
width: 40px;
height: 40px;
line-height: 40px;
bottom: 10px;
right: 10px;
}
} #top {    }
#top .hero {
height: 100vh;
width: 100%;
position: relative;  }
#top .hero p {
color: #fff;
font-size: 4.8rem;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
line-height: 2;
text-align: center;
width: 100%;
position: absolute;
top: 50%;
transform: translateY(-50%);
font-weight: bold;
opacity: 0;
animation: imgTrans 15s infinite; text-shadow:
2px  2px 0 #333,
-2px  2px 0 #333,
2px -2px 0 #333,
-2px -2px 0 #333,
0 0 6px rgba(0, 0, 0, 0.6);
}
#top .hero p.first {
animation-delay: 0s;
}
#top .hero p.second {
animation-delay: 7.5s;
}
@media only screen and (max-width: 800px) and (min-width: 641px) {
#top .hero p {
font-size: 3.5rem;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#top .hero p {
font-size: 2.5rem;
}
}
@keyframes imgTrans {
0% {
opacity: 0;
}
20% {
opacity: 1;
}
40% {
opacity: 1;
}
75% {
opacity: 0;
}
100% {
opacity: 0;
}
}
#top .hero a {
position: absolute;
bottom: 5px;
left: 50%;
transform: translateX(-50%);
width: 80px;
display: block;
}
#top .hero a img {
width: 100%;
height: auto;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#top .hero a {
width: 50px;
}
}
#top .main {            }
#top .main section:first-of-type {
width: 800px;
margin: 100px auto 150px;
padding: 50px 0;
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/top/back_logo.svg) no-repeat center/auto 100%; }
#top .main section:first-of-type p {
font-size: 1.8rem;
line-height: 1.7;
}
#top .main section:first-of-type p ~ p {
margin-top: 2em;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#top .main section:first-of-type p {
font-size: 1.6rem;
}
}
#top .main section:first-of-type a {
margin-top: 50px;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#top .main section:first-of-type {
width: 95%;
margin: 100px auto;
padding: 0;
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/top/back_logo.svg) no-repeat center/contain;
}
}
#top .main section:nth-of-type(3) {
margin-top: 200px; }
#top .main section:nth-of-type(3) article {
width: 100%;
position: relative;       }
#top .main section:nth-of-type(3) article:before {
content: "";
display: block;
padding-top: 53%;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article:before {
display: inline;
padding-top: 0;
}
}
#top .main section:nth-of-type(3) article div {
width: 450px;
padding: 70px 50px 0;
background: rgba(255, 255, 255, 0.85);
position: absolute; }
#top .main section:nth-of-type(3) article div h1 {
margin-bottom: 40px;
}
#top .main section:nth-of-type(3) article div p {
font-size: 1.8rem;
line-height: 1.7;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article div p {
font-size: 1.6rem;
}
}
#top .main section:nth-of-type(3) article div a {
margin-top: 70px;
position: relative;
}
#top .main section:nth-of-type(3) article div a:after {
content: "→";
position: absolute;
right: 15px;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article div a {
margin-top: 40px;
}
}
@media only screen and (max-width: 1400px) and (min-width: 1201px) {
#top .main section:nth-of-type(3) article div {
padding: 50px 30px 0;
}
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article div {
width: 95%;
padding: 50px 30px 0;
margin: 0 auto;
position: static;
}
} #top .main section:nth-of-type(3) article:first-of-type {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/top/tenpo.jpg) no-repeat top 100px left/auto 100%;
}
#top .main section:nth-of-type(3) article:first-of-type div {
top: 0;
right: 0;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article:first-of-type div {
top: auto;
right: auto;
}
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article:first-of-type {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/top/tenpo.jpg) no-repeat bottom center/auto 300px;
}
} #top .main section:nth-of-type(3) article:nth-of-type(2) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/top/shuhan.jpg) no-repeat top 100px right/auto 100%;
margin-top: 150px;
}
#top .main section:nth-of-type(3) article:nth-of-type(2) div {
top: 0;
left: 0;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article:nth-of-type(2) div {
top: auto;
left: auto;
}
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article:nth-of-type(2) {
float: none;
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/top/shuhan.jpg) no-repeat bottom center/auto 300px;
margin-top: 70px;
}
} #top .main section:nth-of-type(3) article:nth-of-type(3) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/top/ricegrain.jpg) no-repeat top 100px left/auto 100%;
margin-top: 300px;
}
#top .main section:nth-of-type(3) article:nth-of-type(3) div {
top: 0;
right: 0;
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article:nth-of-type div(3) {
top: auto;
right: auto;
}
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article:nth-of-type(3) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/top/ricegrain.jpg) no-repeat bottom center/auto 300px;
margin-top: 140px;
}
} @media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) article {
width: 100%;
height: auto;
padding-bottom: 270px;
}
}
@media only screen and (max-width: 1200px) and (min-width: 300px) {
#top .main section:nth-of-type(3) {
margin-top: 100px;
}
}
#top .main section:nth-of-type(2) {
background: #fff;
padding: 150px 0; }
#top .main section:nth-of-type(2) h1 {
margin-bottom: 85px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#top .main section:nth-of-type(2) h1 {
margin-bottom: 60px;
}
}
#top .main section:nth-of-type(2) table {
width: 800px;
margin: 0 auto; }
#top .main section:nth-of-type(2) table tr { }
#top .main section:nth-of-type(2) table tr th {
color: #adadad;
font-size: 1.8rem;
text-align: left;
vertical-align: middle;
font-weight: normal;
width: 25%;
border-top: #c6c6c6 1px solid;
padding: 30px 0;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#top .main section:nth-of-type(2) table tr th {
display: block;
width: 100%;
font-size: 1.6rem;
padding: 25px 0 10px;
}
}
#top .main section:nth-of-type(2) table tr td {
font-size: 1.6rem;
line-height: 1.6;
border-top: #c6c6c6 1px solid;
padding: 30px 0;
}
#top .main section:nth-of-type(2) table tr td a {
color: #333333;
}
#top .main section:nth-of-type(2) table tr td a:hover {
color: #8e8e8e;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#top .main section:nth-of-type(2) table tr td {
display: block;
width: 100%;
border-top: none;
padding: 0 0 25px;
}
}
#top .main section:nth-of-type(2) table tr:last-of-type th, #top .main section:nth-of-type(2) table tr:last-of-type td {
border-bottom: #c6c6c6 1px solid;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#top .main section:nth-of-type(2) table tr:last-of-type th {
border-bottom: none;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#top .main section:nth-of-type(2) table {
width: 95%;
}
}
#top .main section:nth-of-type(2) a {
margin-top: 50px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#top .main section:nth-of-type(2) {
padding: 70px 0;
margin-top: 100px;
}
}
#top .main a.recruit {
display: block;
width: 900px;
height: 300px;
background-color: #fff;
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/top/recruit2.jpg) no-repeat center/auto 100%;
margin: 150px auto 0;
position: relative;
color: #333333;
}
#top .main a.recruit p {
font-size: 3.6rem;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
width: 300px;
height: 80px;
line-height: 80px;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(255, 255, 255, 0.7);
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#top .main a.recruit p {
font-size: 2.5rem;
width: 200px;
height: 70px;
line-height: 70px;
}
}
#top .main a.recruit:hover {
opacity: 0.8;
}
@media only screen and (max-width: 1000px) and (min-width: 801px) {
#top .main a.recruit {
width: 700px;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#top .main a.recruit {
width: 95%;
height: 150px;
margin: 70px auto 0;
}
}  #in {                         }
#in .hero {
width: 100%;
height: 500px;
position: relative;
}
#in .hero h1 {
font-size: 4.8rem;
color: #fff;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
text-align: center;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in .hero h1 {
font-size: 3.5rem;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in .hero {
height: 250px;
}
}
#in .main { }
#in .main .pankuzu {
margin: 20px 0 0 50px; }
#in .main .pankuzu ul { }
#in .main .pankuzu ul li {
float: left;
font-size: 1.4rem;
}
#in .main .pankuzu ul li a {
color: #333333;
border-bottom: 1px solid #333333;
}
#in .main .pankuzu ul li ~ li {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/pankuzu.svg) no-repeat left center/auto 13px;
margin-left: 10px;
padding-left: 18px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in .main .pankuzu ul li ~ li {
margin-left: 7px;
padding-left: 14px;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in .main .pankuzu {
margin: 20px 0 0 2.5%;
}
}
#in .main section {
margin-top: 150px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in .main section {
margin-top: 100px;
}
}
#in.company, #in.store, #in.liquor,#in.ricegrain { }
#in.company .main, #in.store .main, #in.liquor .main, #in.ricegrain .main { }
#in.company .main section:first-of-type, #in.store .main section:first-of-type, #in.liquor .main section:first-of-type, #in.ricegrain .main section:first-of-type {
width: 1200px;
margin: 150px auto 0;  }
#in.company .main section:first-of-type article, #in.store .main section:first-of-type article, #in.liquor .main section:first-of-type article, #in.ricegrain .main section:first-of-type article {
width: 48%;
float: right;
background: rgba(255, 255, 255, 0.85);
padding: 50px;
}
#in.company .main section:first-of-type article p, #in.store .main section:first-of-type article p, #in.liquor .main section:first-of-type article p, #in.ricegrain .main section:first-of-type article p {
font-size: 1.6rem;
line-height: 1.7;
}
@media only screen and (max-width: 810px) and (min-width: 300px) {
#in.company .main section:first-of-type article, #in.store .main section:first-of-type article, #in.liquor .main section:first-of-type article, #in.ricegrain .main section:first-of-type article {
width: 100%;
float: none;
background: none;
padding: 0;
}
}
#in.company .main section:first-of-type .image, #in.store .main section:first-of-type .image, #in.liquor .main section:first-of-type .image, #in.ricegrain .main section:first-of-type .image {
width: 48%;
float: left;
}
#in.company .main section:first-of-type .image img, #in.store .main section:first-of-type .image img, #in.liquor .main section:first-of-type .image img, #in.ricegrain .main section:first-of-type .image img {
width: 100%;
height: auto;
}
@media only screen and (max-width: 810px) and (min-width: 300px) {
#in.company .main section:first-of-type .image, #in.store .main section:first-of-type .image, #in.liquor .main section:first-of-type .image, #in.ricegrain .main section:first-of-type .image {
width: 90%;
float: none;
margin: 30px auto 0;
}
}
@media only screen and (max-width: 1200px) and (min-width: 811px) {
#in.company .main section:first-of-type, #in.store .main section:first-of-type, #in.liquor .main section:first-of-type, #in.ricegrain .main section:first-of-type {
width: 95%;
}
}
@media only screen and (max-width: 810px) and (min-width: 300px) {
#in.company .main section:first-of-type, #in.store .main section:first-of-type, #in.liquor .main section:first-of-type, #in.ricegrain .main section:first-of-type {
width: 95%;
margin: 100px auto 0;
padding-top: 0;
}
}
#in.store, #in.liquor, #in.ricegrain { }
#in.store .main, #in.liquor .main, #in.ricegrain .main {         } #in.store .main section:first-of-type, #in.liquor .main section:first-of-type, #in.ricegrain .main section:first-of-type { }
#in.store .main section:first-of-type .point, #in.liquor .main section:first-of-type .point, #in.ricegrain .main section:first-of-type .point {
background: rgba(36, 87, 166, 0.1);
padding: 30px;
margin-top: 50px;
}
#in.store .main section:first-of-type .point h2, #in.liquor .main section:first-of-type .point h2, #in.ricegrain .main section:first-of-type .point h2 {
color: #2457a6;
font-size: 2.1rem;
text-align: center;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
margin-bottom: 25px;
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/under_line2.jpg) no-repeat center bottom/75px;
padding-bottom: 10px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store .main section:first-of-type .point h2, #in.liquor .main section:first-of-type .point h2, #in.ricegrain .main section:first-of-type .point h2 {
font-size: 1.8rem;
margin-bottom: 20px;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store .main section:first-of-type .point, #in.liquor .main section:first-of-type .point, #in.ricegrain .main section:first-of-type .point {
padding: 25px 15px;
margin-top: 30px;
}
}  #in.store .main section:nth-of-type(2), #in.liquor .main section:nth-of-type(2), #in.ricegrain .main section:nth-of-type(2) {
background: #fff;
padding: 150px 0; }
#in.store .main section:nth-of-type(2) h1, #in.liquor .main section:nth-of-type(2) h1, #in.ricegrain .main section:nth-of-type(2) h1 {
margin-bottom: 85px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store .main section:nth-of-type(2) h1, #in.liquor .main section:nth-of-type(2) h1, #in.ricegrain .main section:nth-of-type(2) h1 {
margin-bottom: 60px;
}
}
#in.store .main section:nth-of-type(2) table, #in.liquor .main section:nth-of-type(2) table, #in.ricegrain .main section:nth-of-type(2) table {
width: 800px;
margin: 0 auto; }
#in.store .main section:nth-of-type(2) table tr, #in.liquor .main section:nth-of-type(2) table tr, #in.ricegrain .main section:nth-of-type(2) table tr { }
#in.store .main section:nth-of-type(2) table tr th, #in.liquor .main section:nth-of-type(2) table tr th, #in.ricegrain .main section:nth-of-type(2) table tr th {
color: #adadad;
font-size: 1.8rem;
text-align: left;
vertical-align: middle;
font-weight: normal;
width: 25%;
border-top: #c6c6c6 1px solid;
padding: 30px 0;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store .main section:nth-of-type(2) table tr th, #in.liquor .main section:nth-of-type(2) table tr th, #in.ricegrain .main section:nth-of-type(2) table tr th {
display: block;
width: 100%;
font-size: 1.6rem;
padding: 25px 0 10px;
}
}
#in.store .main section:nth-of-type(2) table tr td, #in.liquor .main section:nth-of-type(2) table tr td, #in.ricegrain .main section:nth-of-type(2) table tr td {
font-size: 1.6rem;
line-height: 1.6;
border-top: #c6c6c6 1px solid;
padding: 30px 0;
}
#in.store .main section:nth-of-type(2) table tr td a, #in.liquor .main section:nth-of-type(2) table tr td a, #in.ricegrain .main section:nth-of-type(2) table tr td a {
color: #333333;
}
#in.store .main section:nth-of-type(2) table tr td a:hover, #in.liquor .main section:nth-of-type(2) table tr td a:hover, #in.ricegrain .main section:nth-of-type(2) table tr td a:hover {
color: #8e8e8e;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store .main section:nth-of-type(2) table tr td, #in.liquor .main section:nth-of-type(2) table tr td, #in.ricegrain .main section:nth-of-type(2) table tr td {
display: block;
width: 100%;
border-top: none;
padding: 0 0 25px;
}
}
#in.store .main section:nth-of-type(2) table tr:last-of-type th, #in.store .main section:nth-of-type(2) table tr:last-of-type td, #in.liquor .main section:nth-of-type(2) table tr:last-of-type th, #in.liquor .main section:nth-of-type(2) table tr:last-of-type td, #in.ricegrain .main section:nth-of-type(2) table tr:last-of-type th, #in.ricegrain .main section:nth-of-type(2) table tr:last-of-type td {
border-bottom: #c6c6c6 1px solid;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store .main section:nth-of-type(2) table tr:last-of-type th, #in.liquor .main section:nth-of-type(2) table tr:last-of-type th, #in.ricegrain .main section:nth-of-type(2) table tr:last-of-type th {
border-bottom: none;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(2) table, #in.liquor .main section:nth-of-type(2) table, #in.ricegrain .main section:nth-of-type(2) table {
width: 95%;
}
}
#in.store .main section:nth-of-type(2) a, #in.liquor .main section:nth-of-type(2) a, #in.ricegrain .main section:nth-of-type(2) a {
margin-top: 50px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store .main section:nth-of-type(2), #in.liquor .main section:nth-of-type(2),#in.ricegrain .main section:nth-of-type(2) {
padding: 70px 0;
}
}  #in.store .main section:nth-of-type(3), #in.liquor .main section:nth-of-type(3), #in.ricegrain .main section:nth-of-type(3) { }
#in.store .main section:nth-of-type(3) article, #in.liquor .main section:nth-of-type(3) article {
height: 700px;  }
#in.store .main section:nth-of-type(3) article div, #in.liquor .main section:nth-of-type(3) article div {
background: #fff;
height: 100%;
width: 40%;
position: relative;  }
#in.store .main section:nth-of-type(3) article div p, #in.liquor .main section:nth-of-type(3) article div p {
position: absolute;
left: 15%;
top: 50%;
transform: translateY(-50%);
font-size: 1.6rem;
line-height: 2;
padding-right: 15%;
}
@media only screen and (max-width: 1300px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article div br.pc, #in.liquor .main section:nth-of-type(3) article div br.pc {
display: none;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article div, #in.liquor .main section:nth-of-type(3) article div { }
#in.store .main section:nth-of-type(3) article div p, #in.liquor .main section:nth-of-type(3) article div p {
position: static;
left: auto;
top: auto;
transform: none;
line-height: 1.7;
padding-right: 0;
}
#in.store .main section:nth-of-type(3) article div p br.pc2, #in.liquor .main section:nth-of-type(3) article div p br.pc2 {
display: none;
}
}
#in.store .main section:nth-of-type(3) article div dl, #in.liquor .main section:nth-of-type(3) article div dl {
position: absolute;
left: 15%;
top: 50%;
transform: translateY(-50%);
padding-right: 50px; }
#in.store .main section:nth-of-type(3) article div dl dt, #in.liquor .main section:nth-of-type(3) article div dl dt {
font-size: 1.6rem;
line-height: 1.6;
color: #2457a6;
font-weight: bold;
}
#in.store .main section:nth-of-type(3) article div dl dt ~ dt, #in.liquor .main section:nth-of-type(3) article div dl dt ~ dt {
margin-top: 20px;
}
#in.store .main section:nth-of-type(3) article div dl dd, #in.liquor .main section:nth-of-type(3) article div dl dd {
font-size: 1.6rem;
line-height: 1.6;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article div dl, #in.liquor .main section:nth-of-type(3) article div dl {
position: static;
left: auto;
top: auto;
transform: none;
padding-right: 0;
}
}
#in.store .main section:nth-of-type(3) article div ul, #in.liquor .main section:nth-of-type(3) article div ul {
position: absolute;
left: 15%;
top: 50%;
transform: translateY(-50%);
padding-right: 100px; }
#in.store .main section:nth-of-type(3) article div ul li, #in.liquor .main section:nth-of-type(3) article div ul li {
font-size: 1.6rem;
line-height: 1.7;
position: relative;
padding-left: 0.8em;
}
#in.store .main section:nth-of-type(3) article div ul li:before, #in.liquor .main section:nth-of-type(3) article div ul li:before {
content: "●";
font-size: 50%;
position: absolute;
left: 0;
top: 0.5em;
color: #33aff5;
}
#in.store .main section:nth-of-type(3) article div ul li ~ li, #in.liquor .main section:nth-of-type(3) article div ul li ~ li {
margin-top: 20px;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article div ul li ~ li, #in.liquor .main section:nth-of-type(3) article div ul li ~ li {
margin-top: 10px;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article div ul, #in.liquor .main section:nth-of-type(3) article div ul {
position: static;
left: auto;
top: auto;
transform: none;
padding-right: 0;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article div, #in.liquor .main section:nth-of-type(3) article div {
height: auto;
width: 95%;
margin: 0 auto;
padding: 30px 20px;
}
}
#in.store .main section:nth-of-type(3) article ~ article, #in.liquor .main section:nth-of-type(3) article ~ article {
margin-top: 150px;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article ~ article, #in.liquor .main section:nth-of-type(3) article ~ article {
margin-top: 70px;
}
}
#in.store .main section:nth-of-type(3) article:nth-of-type(2n+1) div, #in.liquor .main section:nth-of-type(3) article:nth-of-type(2n+1) div {
float: right;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article:nth-of-type(2n+1) div, #in.liquor .main section:nth-of-type(3) article:nth-of-type(2n+1) div {
float: none;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article, #in.liquor .main section:nth-of-type(3) article {
height: auto;
padding-top: 270px;
}
}  #in.company {   }
#in.company .hero {
overflow: hidden;
}
#in.company .main {      }
#in.company .main section:first-of-type h1 {
margin-bottom: 50px;
}
#in.company .main section:first-of-type p + p {
text-align: right;
margin-top: 15px;
}
#in.company .main section:first-of-type p + p strong {
font-size: 1.8rem;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}
#in.company .main section:nth-of-type(2) {  }
#in.company .main section:nth-of-type(2) article {      }
#in.company .main section:nth-of-type(2) article h1 {
margin-bottom: 70px;
}
#in.company .main section:nth-of-type(2) article:first-of-type {
background: #fff;
padding: 150px 0; }
#in.company .main section:nth-of-type(2) article:first-of-type table {
width: 800px;
margin: 0 auto;  }
#in.company .main section:nth-of-type(2) article:first-of-type table th {
color: #2457a6;
text-align: left;
font-size: 1.6rem;
padding: 20px 0;
border-bottom: 1px dotted #33aff5;
line-height: 1.6;
width: 20%;
vertical-align: top;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) article:first-of-type table th {
display: block;
width: 100%;
border-bottom: none;
padding-bottom: 5px;
}
}
#in.company .main section:nth-of-type(2) article:first-of-type table td {
font-size: 1.6rem;
padding: 20px 0;
border-bottom: 1px dotted #33aff5;
line-height: 1.6; }
#in.company .main section:nth-of-type(2) article:first-of-type table td li {
line-height: 1.6;
float: left;
}
#in.company .main section:nth-of-type(2) article:first-of-type table td li ~ li:before {
content: "／";
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) article:first-of-type table td {
display: block;
width: 100%;
padding-top: 0;
}
}
#in.company .main section:nth-of-type(2) article:first-of-type table tr:first-of-type th, #in.company .main section:nth-of-type(2) article:first-of-type table tr:first-of-type td {
padding-top: 0;
}
#in.company .main section:nth-of-type(2) article:first-of-type table tr:last-of-type th, #in.company .main section:nth-of-type(2) article:first-of-type table tr:last-of-type td {
border-bottom: none;
padding-bottom: 0;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) article:first-of-type table tr:last-of-type th {
padding-bottom: 5px;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) article:first-of-type table {
width: 95%;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) article:first-of-type {
padding: 100px 0;
}
}
#in.company .main section:nth-of-type(2) article:nth-of-type(2) {
padding-top: 150px; }
#in.company .main section:nth-of-type(2) article:nth-of-type(2) h1 span {
display: block;
font-size: 2.1rem;
margin-top: 15px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) article:nth-of-type(2) h1 span {
font-size: 1.6rem;
}
}
#in.company .main section:nth-of-type(2) article:nth-of-type(2) table {
width: 1000px;
margin: 0 auto;
}
#in.company .main section:nth-of-type(2) article:nth-of-type(2) table th {
font-size: 1.6rem;
line-height: 1.6;
text-align: left;
vertical-align: top;
width: 30%;
padding: 15px 0 15px 15px;
}
@media only screen and (max-width: 1000px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) article:nth-of-type(2) table th {
display: block;
width: 100%;
padding: 15px 0 5px 15px;
}
}
#in.company .main section:nth-of-type(2) article:nth-of-type(2) table td {
font-size: 1.6rem;
line-height: 1.6;
padding: 15px 15px 15px 0;
}
@media only screen and (max-width: 1000px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) article:nth-of-type(2) table td {
display: block;
width: 100%;
padding: 0 15px 15px 15px;
}
}
#in.company .main section:nth-of-type(2) article:nth-of-type(2) table tr:nth-of-type(2n+1) th, #in.company .main section:nth-of-type(2) article:nth-of-type(2) table tr:nth-of-type(2n+1) td {
background: rgba(202, 228, 237, 0.45);
}
@media only screen and (max-width: 1000px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) article:nth-of-type(2) table {
width: 95%;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) article:nth-of-type(2) {
padding-top: 100px;
}
}
#in.company .main section:nth-of-type(2) .lightbox_wrap {
width: 1000px;
margin: 70px auto 0; }
#in.company .main section:nth-of-type(2) .lightbox_wrap li {
float: left;
width: 310px;
height: 200px;
}
#in.company .main section:nth-of-type(2) .lightbox_wrap li img {
width: 100%;
height: auto;
}
#in.company .main section:nth-of-type(2) .lightbox_wrap li ~ li {
margin-left: 35px;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) .lightbox_wrap li ~ li {
margin-left: 0;
}
#in.company .main section:nth-of-type(2) .lightbox_wrap li:nth-of-type(2) {
margin-left: 2%;
}
#in.company .main section:nth-of-type(2) .lightbox_wrap li:last-of-type {
margin-top: 10px;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) .lightbox_wrap li {
width: 49%;
height: auto;
}
}
#in.company .main section:nth-of-type(2) .lightbox_wrap p {
font-size: 1.4rem;
line-height: 1.6;
margin-top: 15px;
}
@media only screen and (max-width: 1000px) and (min-width: 300px) {
#in.company .main section:nth-of-type(2) .lightbox_wrap {
width: 95%;
margin: 50px auto 0;
}
} #in.store {   }
#in.store .hero {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/hero.jpg) no-repeat center/cover;
}
#in.store .main {         }
#in.store .main section:nth-of-type(3) article:first-of-type {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/back01.jpg) no-repeat top left/auto 700px;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article:first-of-type {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/back01.jpg) no-repeat top center/auto 300px;
}
}
#in.store .main section:nth-of-type(3) article:nth-of-type(2) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/back02.jpg) no-repeat top right/auto 700px;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article:nth-of-type(2) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/back02.jpg) no-repeat top center/auto 300px;
}
}
#in.store .main section:nth-of-type(3) article:nth-of-type(3) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/back03.jpg) no-repeat top left/auto 700px;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store .main section:nth-of-type(3) article:nth-of-type(3) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/back03.jpg) no-repeat top center/auto 300px;
}
}
#in.store .main section:nth-of-type(4) { }
#in.store .main section:nth-of-type(4) article {
width: 1000px;
margin: 0 auto; }
#in.store .main section:nth-of-type(4) article img {
width: 690px;
height: auto;
float: left;
}
@media only screen and (max-width: 700px) and (min-width: 300px) {
#in.store .main section:nth-of-type(4) article img {
width: 90%;
float: none;
margin: 0 auto;
display: block;
}
}
#in.store .main section:nth-of-type(4) article ol {
width: 250px;
float: right;
list-style: none; }
#in.store .main section:nth-of-type(4) article ol li {
font-size: 1.6rem;
padding-left: 22px;  }
#in.store .main section:nth-of-type(4) article ol li h3 {
line-height: 1.5;
}
#in.store .main section:nth-of-type(4) article ol li p {
line-height: 1.5;
}
@media only screen and (max-width: 700px) and (min-width: 300px) {
#in.store .main section:nth-of-type(4) article ol li h3 {
display: inline-block;
margin-right: 0.5em;
}
#in.store .main section:nth-of-type(4) article ol li p {
display: inline-block;
}
}
#in.store .main section:nth-of-type(4) article ol li a {
display: block;
height: 25px;
line-height: 25px;
text-align: center;
color: #fff;
background: #2457a6;
border-radius: 5px;
margin-top: 5px;
position: relative;
}
#in.store .main section:nth-of-type(4) article ol li a:after {
content: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/arrow.svg);
display: block;
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
}
#in.store .main section:nth-of-type(4) article ol li a:hover {
background: #5986c6;
}
@media only screen and (max-width: 700px) and (min-width: 300px) {
#in.store .main section:nth-of-type(4) article ol li a {
width: 70%;
}
}
#in.store .main section:nth-of-type(4) article ol li ~ li {
margin-top: 25px;
}
#in.store .main section:nth-of-type(4) article ol li:first-of-type {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/no01.svg) no-repeat top 0.4em left/16px;
}
#in.store .main section:nth-of-type(4) article ol li:nth-of-type(2) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/no02.svg) no-repeat top 0.4em left/16px;
}
#in.store .main section:nth-of-type(4) article ol li:nth-of-type(3) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/no03.svg) no-repeat top 0.4em left/16px;
}
#in.store .main section:nth-of-type(4) article ol li:nth-of-type(4) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/no04.svg) no-repeat top 0.4em left/16px;
}
#in.store .main section:nth-of-type(4) article ol li:nth-of-type(5) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/no05.svg) no-repeat top 0.4em left/16px;
}
#in.store .main section:nth-of-type(4) article ol li:nth-of-type(6) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/no06.svg) no-repeat top 0.4em left/16px;
}
#in.store .main section:nth-of-type(4) article ol li:nth-of-type(7) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/no07.svg) no-repeat top 0.4em left/16px;
}
#in.store .main section:nth-of-type(4) article ol li:nth-of-type(8) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/no08.svg) no-repeat top 0.4em left/16px;
}
#in.store .main section:nth-of-type(4) article ol li:nth-of-type(9) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/store/no09-2.svg) no-repeat top 0.4em left/16px;
}
@media only screen and (max-width: 700px) and (min-width: 300px) {
#in.store .main section:nth-of-type(4) article ol {
width: 100%;
float: none;
margin-top: 30px;
}
}
@media only screen and (max-width: 700px) and (min-width: 300px) {
#in.store .main section:nth-of-type(4) article {
width: 95%;
}
}
@media only screen and (max-width: 700px) and (min-width: 300px) {
#in.store .main section:nth-of-type(4) {
margin-top: 70px;
}
} #in.liquor {   }
#in.liquor .hero {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/liquor/hero.jpg) no-repeat center/cover;
}
#in.liquor .main {      }
#in.liquor .main section:first-of-type { }
#in.liquor .main section:first-of-type article h1, #in.ricegrain .main section:first-of-type article h1 {
font-size: 2.4rem;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
line-height: 1.6;
color: #2457a6;
margin-bottom: 15px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.liquor .main section:first-of-type article h1 {
font-size: 2.1rem;
}
}
#in.liquor .main section:nth-of-type(3) article:first-of-type {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/liquor/back01.jpg) no-repeat top left/auto 700px;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.liquor .main section:nth-of-type(3) article:first-of-type {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/liquor/back01.jpg) no-repeat top center/auto 300px;
}
}
#in.liquor .main section:nth-of-type(3) article:nth-of-type(2) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/liquor/back02.jpg) no-repeat top right/auto 700px;
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.liquor .main section:nth-of-type(3) article:nth-of-type(2) {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/liquor/back02.jpg) no-repeat top center/auto 300px;
}
} #in.ricegrain {   }
#in.ricegrain .hero{
height: auto !important;
min-height: 0 !important;
overflow: visible !important;
line-height: 0;
margin-top:100px;
}
#in.ricegrain .hero img{
display:block;
width:100%;
height:auto;
}
#in.ricegrain .hero h1 {
font-size: 4.8rem;
color: #2457a6;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
position: absolute;
top: 10%;
transform: translateY(-50%);
width: 100%;
}
#in.ricegrain .header.first nav a {
color: #000;
} #in.store development {   }
#in.store-development .hero{
height: auto ;
min-height: 0;
overflow: visible;
line-height: 0;
}
#in.store-development .hero img{
display:block;
width:100%;
height:auto;
}
#in.store-development .main {
padding-top:50px;
}
#in.store-development .main section {
width: 100%;
margin: 50px auto 0;
text-align: center;
line-height: 1.5;
}
#in.store-development .main section article {
width: 95%;
max-width: 800px;
margin: 0 auto;
text-align: center;
line-height: 1.5;
}
#in.store-development .main section article h1 {
font-size: 3rem;
display: inline-block;
border-bottom: 3px solid #33aff5;
margin: 40px;
padding: 20px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store-development .main section article h1 {
font-size: 2.1rem;
margin-bottom: 30px;
}
}
#in.store-development .main section article h2 {
font-size: 2rem;
color:#2457a6;
text-align: left;
}
#in.store-development .main section article p {
font-size: 1.8rem;
text-align: left;
line-height: 1.5;
margin: 0 0 20px;
} #in.store-development .company-profile table {
width: 800px;
margin: 0 auto;
}
#in.store-development .company-profile table th {
color: #2457a6;
text-align: left;
font-size: 1.8rem;
padding: 20px 0;
border-bottom: 1px dotted #33aff5;
line-height: 1.5;
width: 20%;
vertical-align: top;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store-development .company-profile : table th {
display: block;
width: 100%;
border-bottom: none;
padding-bottom: 5px;
}
}
#in.store-development .company-profile table td {
font-size: 1.8rem;
text-align: left;
padding: 20px 0;
border-bottom: 1px dotted #33aff5;
line-height: 1.5; }
#in.store-development .company-profile table td li {
line-height: 1.5;
float: left;
}
#in.store-development .company-profile table td li ~ li:before {
content: "／";
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store-development .company-profile table td {
display: block;
width: 100%;
padding-top: 0;
}
}
#in.store-development .company-profile table tr:first-of-type th, 
#in.store-development .company-profile table tr:first-of-type td {
padding-top: 0;
}
#in.store-development .company-profile table tr:last-of-type th, 
#in.store-development .company-profile table tr:last-of-type td {
border-bottom: none;
padding-bottom: 0;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store-development .company-profile table tr:last-of-type th {
padding-bottom: 5px;
}
}
@media only screen and (max-width: 800px) and (min-width: 300px) {
#in.store-development .company-profile table {
width: 95%;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.store-development .company-profile article{
padding: 100px 0;
}
} #in.store-development .info article h3 {
font-size: 2rem; 
text-align: center;
color:#2457a6;
}
#in.store-development .info article h4 {
font-size: 2.5rem; 
font-weight: bold;
text-align: center;
padding-bottom: 20px;
} #in.contact {   }
#in.contact .hero {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/contact/hero4.jpg) no-repeat center/cover;
}
#in.contact .main { }
#in.contact .main section {
width: 1000px;
margin: 150px auto 0;
text-align: center;  }
#in.contact .main section p:first-child {
font-size: 1.6rem;
line-height: 1.6;
}
#in.contact .main section p:first-child a {
color: #333333;
border-bottom: 1px solid #333333;
}
#in.contact .main section p:first-child a:hover {
color: #919191;
border-bottom: 1px solid #919191;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.contact .main section p:first-child {
text-align: left;
}
}
#in.contact .main section article {
margin-top: 150px;     }
#in.contact .main section article h1 {
font-size: 2.4rem;
color: #2457a6;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
line-height: 1.6;
margin-bottom: 50px;
}
#in.contact .main section article h1 span {
display: inline-block;
border-bottom: 3px solid #33aff5;
padding-bottom: 10px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.contact .main section article h1 {
font-size: 2.1rem;
margin-bottom: 30px;
}
}
#in.contact .main section article strong {
font-size: 3.6rem;
}
#in.contact .main section article strong a {
color: #333333;
border-bottom: 1px solid #333333;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.contact .main section article strong {
font-size: 2.5rem;
}
} #in.contact .main section article .radio_wrap {
padding-bottom: 50px !important;
background: none;
} #in.contact .main section article .form_wrap table {
width: 100%;
margin-bottom: 50px;   }
#in.contact .main section article .form_wrap table th {
text-align: left;
vertical-align: top;
width: 25%;
color: #2457a6;
font-size: 1.6rem;
line-height: 2;
padding: 30px 0;
border-bottom: 1px dotted #33aff5;
}
#in.contact .main section article .form_wrap table th span {
display: inline-block;
font-size: 1.2rem;
color: #fff;
background: #d61d64;
padding: 3px 5px;
border-radius: 3px;
margin-left: 5px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.contact .main section article .form_wrap table th {
display: block;
width: 100%;
border-bottom: none;
padding: 20px 0 5px;
}
}
#in.contact .main section article .form_wrap table td {
text-align: left;
padding: 30px 0;
border-bottom: 1px dotted #33aff5;
}
#in.contact .main section article .form_wrap table td input {
-webkit-appearance: none;
border-radius: 0;
border: 1px solid #333333;
background: #fff;
height: 35px;
width: 100%;
font-size: 1.4rem;
}
#in.contact .main section article .form_wrap table td textarea {
-webkit-appearance: none;
border-radius: 0;
border: 1px solid #333333;
background: #fff;
width: 100%;
height: 370px;
font-size: 1.4rem;
line-height: 1.5;
}
#in.contact .main section article .form_wrap table td .tel {
width: 50%;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.contact .main section article .form_wrap table td .tel {
width: 70%;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.contact .main section article .form_wrap table td {
display: block;
width: 100%;
padding: 0 0 20px;
}
}
#in.contact .main section article .form_wrap table tr:first-of-type th, #in.contact .main section article .form_wrap table tr:first-of-type td {
padding-top: 0;
}
#in.contact .main section article .form_wrap table tr:last-of-type th, #in.contact .main section article .form_wrap table tr:last-of-type td {
border-bottom: none;
padding-bottom: 0;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.contact .main section article .form_wrap table tr:last-of-type th {
padding-bottom: 5px;
}
}
#in.contact .main section article .form_wrap input[type=submit] {
width: 300px;
height: 50px;
line-height: 50px;
text-align: center;
background: #333333;
color: #fff;
font-size: 1.8rem;
-webkit-appearance: none;
border-radius: 0;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.contact .main section article .form_wrap input[type=submit] {
width: 250px;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.contact .main section article {
margin-top: 70px;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.contact .main section {
margin-top: 100px;
width: 95%;
}
}
#in.contact .main .wpcf7-not-valid-tip, #in.contact .main .wpcf7-response-output, #in.contact .main .screen-reader-response p {
font-size: 1.6rem;
}
#in.privacy {   }
#in.privacy .hero {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/privacy/hero.jpg) no-repeat center/cover;
}
#in.privacy .main { }
#in.privacy .main section {
width: 800px;
margin: 150px auto 0; }
#in.privacy .main section p:first-child {
font-size: 1.6rem;
line-height: 1.6;
}
#in.privacy .main section dl { }
#in.privacy .main section dl dt {
margin-top: 50px;
line-height: 1.6;
font-size: 1.8rem;
color: #2457a6;
border-bottom: 1px solid #2457a6;
padding-bottom: 5px;
margin-bottom: 20px;
font-weight: bold;
}
#in.privacy .main section dl dd {
line-height: 1.6;
font-size: 1.6rem; }
#in.privacy .main section dl dd li {
line-height: 1.6;
position: relative;
padding-left: 1em;
}
#in.privacy .main section dl dd li:before {
content: "▶︎";
color: #33aff5;
font-size: 50%;
position: absolute;
left: 0;
top: 0.5em;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.privacy .main section {
margin-top: 100px;
width: 95%;
}
}
#in.sitemap {   }
#in.sitemap .hero {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/sitemap/hero.jpg) no-repeat center/cover;
}
#in.sitemap .main { }
#in.sitemap .main section {
width: 800px;
margin: 150px auto 0; }
#in.sitemap .main section table {
width: 100%;  }
#in.sitemap .main section table th {
width: 25%;
text-align: left;
line-height: 1.6;
font-size: 1.6rem;
padding: 30px 0;
border-bottom: 1px dotted #33aff5;
}
#in.sitemap .main section table th a {
color: #2457a6;
font-weight: bold;
}
#in.sitemap .main section table th a:hover {
color: #33aff5;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.sitemap .main section table th {
display: block;
width: 100%;
padding: 20px 0 5px;
border-bottom: none;
}
}
#in.sitemap .main section table td {
font-size: 1.6rem;
line-height: 1.6;
padding: 30px 0;
border-bottom: 1px dotted #33aff5;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.sitemap .main section table td {
display: block;
width: 100%;
padding: 0 0 20px;
}
}
#in.sitemap .main section table tr:first-of-type th, #in.sitemap .main section table tr:first-of-type td {
padding-top: 0;
}
#in.sitemap .main section table tr:last-of-type th, #in.sitemap .main section table tr:last-of-type td {
padding-bottom: 0;
border-bottom: none;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.sitemap .main section table tr:last-of-type th {
padding-bottom: 5px;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.sitemap .main section {
margin-top: 100px;
width: 95%;
}
}
#in.tokutei {   }
#in.tokutei .hero {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/tokutei/hero.jpg) no-repeat center/cover;
}
#in.tokutei .main { }
#in.tokutei .main table {
width: 1000px;
margin: 0 auto; }
#in.tokutei .main table th {
font-size: 1.6rem;
line-height: 1.6;
text-align: left;
vertical-align: top;
width: 30%;
padding: 15px 0 15px 15px;
vertical-align: middle;
}
@media only screen and (max-width: 1000px) and (min-width: 300px) {
#in.tokutei .main table th {
display: block;
width: 100%;
padding: 15px 0 5px 15px;
}
}
#in.tokutei .main table td {
font-size: 1.6rem;
line-height: 1.6;
padding: 15px 15px 15px 0; }
#in.tokutei .main table td p {
line-height: 1.6;
}
#in.tokutei .main table td p ~ p {
margin-top: 1em;
}
#in.tokutei .main table td a {
color: #33aff5;
text-decoration: underline;
}
@media only screen and (max-width: 1000px) and (min-width: 300px) {
#in.tokutei .main table td {
display: block;
width: 100%;
padding: 0 15px 15px 15px;
}
}
#in.tokutei .main table tr:nth-of-type(2n+1) th, #in.tokutei .main table tr:nth-of-type(2n+1) td {
background: rgba(202, 228, 237, 0.45);
}
@media only screen and (max-width: 1000px) and (min-width: 300px) {
#in.tokutei .main table {
width: 95%;
}
}
#in.single {   }
#in.single .hero {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/sitemap/hero.jpg) no-repeat center top/cover;
height: 250px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.single .hero {
height: 120px;
}
}
#in.single .main { }
#in.single .main section {
width: 800px;
margin: 100px auto 0; }
#in.single .main section h1 {
font-size: 2.5rem;
font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
line-height: 1.6;
margin-bottom: 10px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.single .main section h1 {
font-size: 2.3rem;
}
}
#in.single .main section time {
font-size: 1.4rem;
color: rgba(51, 51, 51, 0.4);
}
#in.single .main section .text_wrap {
font-size: 1.6rem;
line-height: 1.6;
margin-top: 50px;
}
#in.single .main section .text_wrap p {
font-size: 1.6rem;
line-height: 1.6;
}
#in.single .main section .text_wrap img {
max-width: 100%;
height: auto;
}
#in.single .main section .text_wrap p + img {
margin-top: 15px;
}
#in.single .main section .text_wrap img + p {
margin-top: 15px;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.single .main section {
width: 95%;
margin: 70px auto 0;
}
}
#in.category {   }
#in.category .hero {
background: url(//www.yokohamaya.co.jp/wp/wp-content/themes/yokohamaya/images/sitemap/hero.jpg) no-repeat center/cover;
}
#in.category .main { }
#in.category .main table {
width: 800px;
margin: 0 auto; }
#in.category .main table th {
width: 20%;
font-size: 1.6rem;
text-align: left;
vertical-align: middle;
font-weight: normal;
color: rgba(51, 51, 51, 0.5);
border-bottom: 1px solid #33aff5;
padding: 20px 0;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.category .main table th {
display: block;
width: 100%;
padding-bottom: 10px;
border-bottom: none;
}
}
#in.category .main table td {
font-size: 1.6rem;
line-height: 1.6;
border-bottom: 1px solid #33aff5;
padding: 20px 0;
}
#in.category .main table td a {
color: #333333;
}
#in.category .main table td a:hover {
opacity: 0.6;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.category .main table td {
display: block;
width: 100%;
padding-top: 0;
}
}
#in.category .main table tr:first-of-type th, #in.category .main table tr:first-of-type td {
padding-top: 0;
}
#in.category .main table tr:last-of-type th, #in.category .main table tr:last-of-type td {
border-bottom: none;
padding-bottom: 0;
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.category .main table tr:last-of-type th {
padding-bottom: 10px;
}
}
@media only screen and (max-width: 640px) and (min-width: 300px) {
#in.category .main table {
width: 95%;
}
}  .grecaptcha-badge {
visibility: hidden;
}