/*common*/
:root {
  --main-color: #60c4d3;
  --sub-color: #f55722;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}
body {
  color: #222;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: inherit;
}
.inner {
  max-width: 1000px;
  height: inherit;
  margin-left: auto;
  margin-right: auto;
}
img {
  width: 100%;
  height: 100%;
}
section {
  margin-top: 6rem;
  margin-bottom: 5rem;
}
/* 〜479px：SP縦　Mobileファースト
------------------------------ */
@media (max-width: 479px) {
  :root {
    font-size: 14px;
  }
}

/* 480px〜900px： Mobile横置き、タブレット縦 
------------------------------ */
@media (min-width:480px) and (max-width:900px) {
  :root {
    font-size: 16px;
  }
}

/* 901px～：大型タブレット、PC用*/
@media (min-width:901px){
  :root {
    font-size: 18px;
  }
}

/*-------------------------
----------header-----------
---------------------------*/

/*ハンバーガーメニュー*/
.nav_btn {
  position: fixed;
  right: 1rem;
  top: 1rem;
  background-color: var(--main-color);
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.2rem;
  z-index: 9999;
}
.nav_btn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  right: calc((2.5rem - 50%) / 2);
  height: 2px;
  border-radius: 2px;
  background: #fff;
}
.nav_btn span:nth-of-type(1) {
  top: calc((2.5rem - 50%) / 2);
  width: 50%;
}
.nav_btn span:nth-of-type(2) {
  top: calc(((2.5rem - 50%) / 2) + 0.5rem);
  width: 35%;
}
.nav_btn span:nth-of-type(3) {
  top: calc(((2.5rem - 50%) / 2) + 1rem);
  width: 25%;
}
.nav_btn.active span:nth-of-type(1) {
  top: calc((2.5rem - 50%) / 2);
  right: calc((2.5rem - 50%) / 2);
  transform: translateY(0.5rem) rotate(-135deg);
  width: 50%;
}
.nav_btn.active span:nth-of-type(2) {
  opacity: 0;
}
.nav_btn.active span:nth-of-type(3) {
  top: calc(((2.5rem - 50%) / 2) + 1rem);
  right: calc((2.5rem - 50%) / 2); 
  transform: translateY(-0.5rem) rotate(135deg);
  width: 50%;
}
/*ドロップダウンメニュー*/
#menu {
  position: fixed;
  z-index: 999;
  top: 0;
  right: -120%;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  transition: all 0.6s;
}
#menu.panelactive {
  right: 0;
}
.menu_list {
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.menu_list ul {
  padding: 0;
  margin: 0;
}
.menu_list  ul li {
  margin-bottom: 10px;
  text-align: center;
  font-size: larger;
}
.menu_list ul li a {
  color: #ffffff;
  padding: 1rem;
  display: block;
  letter-spacing: 0.1em;
}
/* メニューの表示切り替え用のクラス */
.menu-open {
  display: flex;
}
.h1logo img {
  max-width: 100px;
  margin: 0 auto;
}

@media (max-width: 901px) {
  #head_mb {
    display: block;
  }
  #head_pc {
    display: none;
  }
}
/*header PC*/
@media (min-width: 901px) {
  #head_mb {
    display: none;
  }
  #head_pc {
    display: block;
    position: fixed;
    width: 100vw;
    height: inherit;
    backdrop-filter: saturate(180%) blur(20px);
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 9999;
  }
  #hmenu {
    width: 100%;
  }
  #hmenu ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }
  .navbar {
    display:flex;
  }
  .h1logo_pc {
    height: auto;
    width: 4em;
    height: auto;
    padding-top: 0.5rem;
    margin-right: 2em;
  }
}

/*-------------------------
----------key visual-----------
---------------------------*/
.keyv {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(../images/keyvisual.jpg);
  background-position: center;
  background-size: cover;
  width: 100vw;
  height: 100vh;
}
.keyv img {
  width: clamp(200px, 50%, 300px);
  height: inherit;
}

/*---------------------------
----------products-----------
-----------------------------*/
section h2 {
  text-align: center;
  color: var(--main-color);
  margin-bottom: 2rem;
  font-family: 'Noto Sans JP', sans-serif;
}
.slick-track {
  display: flex;
}
.slick-slide {
  height: auto !important;
}
.product {
  margin: 1rem;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.product figure {
  width: 100%;
  height: 40%;
}
.product figure img {
  object-fit: cover;
}
.product h3 {
  display: block;
  width: 100%;
  background-color: var(--main-color);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  margin: 1rem 0;
  padding: 0.5rem;
}
.product ul {
  padding: 1rem;
}
.product ul li {
  list-style: square;
  margin-bottom: 0.5rem;
}
.text_subcolor {
  color: var(--sub-color);
  font-weight: bolder;
}
.text_underline {
  border-bottom: 2px dashed var(--sub-color);
}

/*---------------------------
---------online shop----------
-----------------------------*/
.shoplink {
  display: block;
  width: 80%;
  height: 6rem;
  margin: 2rem auto;
  padding: 1rem;
  color: #fff;
  text-align: center;
  font-size: large;
  letter-spacing: 1.1rem;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cans {
  background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(../images/cans.jpg);
  background-size: cover;
}
.kegs {
  background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(../images/kegs.jpg);
}
/*.cans:hover,*/
.kegs:hover,
.cans:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 20px -5px #9d9d9d; 
}
@media (min-width:600px) {
  .shops {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 1rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  .cans {
    margin-right: 1rem;
  }
}

/*---------------------------
------------news--------------
-----------------------------*/
#news {
  background-color: #ededed;
  padding: 2rem 0;
}
.newslist {
  padding: 1rem;
}
.newsrow {
  margin-bottom: 1.5rem;
}
.newstext {
  line-height: 1.8;
  padding-left: 0.5rem;
}
.date {
  color: var(--sub-color);
  padding: 0.5rem;
}
@media (min-width:600px) {
  .newslist {
    max-width: 1000px;
    margin: 0 auto;
  }
}

/*---------------------------
------------sns--------------
-----------------------------*/
.snsbox {
  display: flex;
  justify-content: center;
}
.snslist {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style-type: none;
  width: 60%;
}
.snsicon {
  font-size: 3rem;
}
.snsicon a:hover {
  color: var(--main-color);
}

/*---------------------------
------------story-------------
-----------------------------*/
#story {
  background-color: #ededed;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.storyimg {
  height: auto;
  width: auto;
}
.storyimg img {
  object-fit: cover;
  object-position: 100% 100%;
}
.storytext {
  padding: 1rem;
}
@media (min-width: 480px) {
  .storybox {
    display: flex;
    justify-content: space-evenly;
    align-items: top;
    max-width: 1000px;
    margin: 0 auto;
  }
  .storyimg {
    width: 49%;
  }
  .storytext {
    width: 49%;
  }
}

/*---------------------------
-----------access------------
-----------------------------*/
.accessbox {
  padding: 1rem;
}
.accesslist {
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
  margin-bottom: 1rem;
}
.accessbold {
  font-weight: bolder;
  color: var(--sub-color);
}
.accessmap {
  width: calc(100vw - 2rem);
  height: 50vh;
}
@media (min-width: 901px) {
  .accessbox {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
  }
  .accessul {
    width: 40%;
  }
  .accessmap {
    width: 50%;
  }
}

/*---------------------------
-----------footer------------
-----------------------------*/
.foot {
  display: block;
  background-color: var(--main-color);
  text-align: center;
  padding: 1rem 0;
}