@charset "utf-8";
/* CSS Document */
/*一般設定*/
* {
  box-sizing: border-box;
}
body {
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
p {
  font-size: 18px;
  line-height: 1.5em;
  letter-spacing: 0.05em;
}
li {
  font-size: 18px;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  line-height: 1.5em;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: black;
}
#wrapper {
  margin-left: 240px;
}
a:hover {
  color: #BE5352;
}
/*ヘッダーの設定
---------------------*/
header {
  display: flex;
  justify-content: space-between;
}
header nav {
  text-align: center;
  position: fixed;
  background: #fff;
  box-sizing: border-box;
  width: 240px;
  height: 100vh;
}
header img {
  vertical-align: top;
}
/*メニューバーの設定
---------------------*/
nav {
  border-right: solid 1px #f5f5f5;
}
nav ul li {
  margin: 18px;
}
header ul li:nth-child(1) {
  font-size: 24px;
  padding: 16px;
  margin-top: 84px;
  font-weight: bold;
}
#sns ol {
  display: flex;
  justify-content: space-between;
}
#sns ol li {
  margin: 32px 16px 0 16px;
}
svg:hover {
  color: #ff701e;
  transform: scale(1.1);
  transition: 0.5s;
}
/*メインコンテンツ
---------------------*/
#mainText-info img {
  margin-bottom: 24px;
}
#mainText figure {
  top: 100px;
  right: -240px;
}
/*説明部分
---------------------*/
#charm-text {
  margin-top: 240px;
}
#sub-content-text {
  display: flex;
}
/*説明欄の設定
---------------------*/
.charm2 {
  display: flex;
  justify-content: space-around;
  margin: 124px 0;
  text-align: center;
background: #A5DEE4;
    padding: 4% 0;
}
.charm2-text {
  
}
.charm2-text h3 + p {
  margin-bottom: 24px;
}
.charm2-text h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}
.text-border {
  text-align: left;
  border-bottom: solid 1px #fff;
  padding-botoom: 120px;
}
/*サブコンテンツの設定
---------------------*/
#history {
  position: relative;
}
#picture-title h2 {
  margin: 240px 0 48px 124px;
  font-size: 48px;
}
#picture {
  display: flex;
  justify-content: space-between;
}
.picture-list {
  background: #BE5352;
  width: 350px;
  height: 600px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
}
.picture-list figcaption {
    padding-top: 8px;
}
.picture-img {
  text-align: center;
  margin-top: 124px;
  position: absolute;
  top: 0;
  left: 3%;
}
.picture-imgText {
  display: inline-block;
  text-align: left;
  padding: 10% 10%;
  color: white;
  font-size: 20px;
}
.picture-imgText h2 {
  font-size: 40px;
  font-style: bold;
  margin-bottom: 8px;
}
/*日本酒、横並びアイコン設定
---------------------*/
.container {
  margin: 0 auto;
}
/* スライダーのwrapper */
.infinite-slider .swiper-wrapper {
  transition-timing-function: linear;
}
/* スライド */
.infinite-slider .swiper-slide {
  width: auto !important;
}
/* スライド内の画像 */
.infinite-slider .swiper-slide img {
  width: auto;
  height: 100%;
}
.swiper-slide {
  margin: 0 24px;
}
/*お知らせの設定
---------------------*/
#news {
  display: flex;
  margin-top: 124px;
  margin-bottom: 124px;
  text-align: center;
  margin-left: 320px;
}
#news-maintext {
  border-right: solid 1px #C0B9C3;
  padding: 24px;
  text-align: right;
}
#news-text h2 {
  margin-bottom: 8px;
}
#news ul {
  padding: 24px;
  text-align: left;
}
#news ul li {
  margin-bottom: 8px;
}
/*フッターの設定
---------------------*/
footer {
  height: 100vh;
  background: #f5f5f5;
  margin-left: 240px;
  text-align: center;
  background-image: url("img/footer.png");
  position: relative;
}
footer ul {
  padding: 40% 0 0 8%;
  text-align: left;
}
footer ul li {
  font-size: 18px;
  color: white;
  line-height: 1.5em;
  letter-spacing: 0.05em;
}
footer p {
  background: #dcdcdc;
  width: 100%;
  font-size: 12px;
  text-align: center;
  position: absolute;
  bottom: 0;
}
@media screen and (max-width: 768px) {
  /*一般設定*/
  * {
    box-sizing: border-box;
  }
  body {
    line-height: 1rem;
  }
  #wrapper {
    width: 100%;
    height: auto;
    margin-left: -240px;
    margin: 0 auto;
    text-align: center;
  }
  figure {
    width: 100%;
  }
  h2 {
    font-size: 28px;
  }
  h3 {
    font-size: 22px;
  }
  a {
    fontsize: 16px;
  }
  p {
    font-size: 16px;
  }
  /*ヘッダーの設定
---------------------*/
  header nav {
    display: none;
    overflow: hidden;
  }
  /*メインコンテンツ
---------------------*/
  #mainText {
    padding: 4%;
    width: 100%;
    height: auto;
  }
  #mainText figure {
    position: static;
    margin-top: 4%;
  }
  .picture-img {
    max-width: 100%;
    text-align: center;
    margin: 8% 4% 0 4%;
  }
  .picture-img h2 {
    margin-bottom: 8%;
  }
  .picture-imgText {
    width: 100%;
    height: auto;
    padding: 4%;
    text-align: center;
    margin: 0 auto;
      color: black;
  }
  .picture-imgText p {
    text-align: left;
  }
  #history {
    position: static;
      height: auto;
  }
  .picture-img {
    position: static;
    text-align: left;
  }
  #picture-title {
    font-size: 16px;
  }
  #picture-title h2 {
    margin: 8% 0 4% 0;
    font-size: 24px;
  }
  /*人気のクラフト日本酒部分
---------------------*/
  #picture {
    flex-wrap: wrap;
  }
  .picture-list {
    width: 80%;
    height: auto;
    padding: 4%;
    margin-bottom: 4%;
  }
  /*説明部分
---------------------*/
  #charm-text {
    margin-top: 8%;
    display: block;
  }
  #charm-text img {
    margin-left: 8%;
  }
  #sub-content-text {
    display: flex;
  }
  .charm2 {
    display: flex;
    justify-content: center;
    margin: 2% 0;
      padding: 2%;
    text-align: center;
  }
  .charm2-img {
    padding-top: 18%;
    width: 100%;
    height: auto;
    margin:  0 2%;
  }
  .charm2-text {
    width: 100%;
    padding-top: 10%;
  }
  .charm2-text h3 + p {
    margin-bottom: 4%;
  }
  .charm2-text h3 {
    margin: 4% 0;
  }
  .text-border {
    text-align: left;
    border-bottom: solid 1px #fff;
    padding-botoom: 8%;
  }
  /*ニュース欄
---------------------*/
  #news {
    text-align: center;
    height: auto;
    max-width: 100%;
    margin: 20% 4%;
  }
  #news-maintext {
    padding: 4%;
    padding-top: 30%;
    text-align: right;
    width: 50%;
  }
  #news-maintext h2 {
    margin-bottom: 8%;
  }
  #news-text {
    padding: 4%;
    width: 50%;
  }
  #news a {
    padding: 4%;
    font-size: 16px;
  }
  #news ul {
    padding: 4%;
    margin-left: 4%;
    text-align: left;
  }
  /*フッター
---------------------*/
  footer {
    height: 100vh;
    text-align: center;
    margin-left: 0px;
  }
  footer ul {
    text-align: left;
    padding-top: 90%;
    padding-left: 0%;
      margin: 4%;
  }
}