/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

/* PC用のCSS　*/
* {
    margin: 0;
    font-size: 110%;
  }
  
  @font-face {
    font-family: "myFont";
    src: url("../../Font/SignikaNegative-VariableFont_wght.ttf") format("truetype")
  }
  
  body {
    background-color: #fff;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    font-size: 62.5%;
    min-width: 100%;
  }
  
  p {
    line-height: 2.2;
    font-family: "myFont";
  }
  
  a {
    font-family: "myFont";
  }
  
  #nav-open {
    display: none;
  }
  
  .logoHeader{
  width: 20%
}

  .farming-logo {
    /* width: 250px; */
    width: 100%
  }
  
  .puple {
    background-color: #eae0fa;
  }
  
  .green {
    background-color: #e5ffeb;
  }
  
  /* 共通で使用しているCSS */
  
  
  /* headerのHTML */
  
  header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
  
  .header-ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    background-color: rgb(255, 255, 255, 0.8);
    align-items: center;
  }
  
  /* .header-ul li:nth-of-type(6) {
      margin-left: auto;
    } */
  　 .title-li {
    font-size: 2rem;
  }
  
  .header-list {
    list-style: none;
  }
  
  .nav-unshown {
    display: none;
  }
  
  .header-a {
    display: block;
    text-decoration: none;
    color: black;
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
  .nav {
    padding: 20px 30px;
    transition: color 0.5s;
  }
  
  .nav:hover {
    color: #52d880;
  }
  
  .downloadtext {
    padding: 20px 30px;
    background-color: black;
    border-radius: 10px;
    color: white;
    position: absolute;
  }
  
  .overlayDownload:hover{
    transform: translate(-10px,-10px);
  }
  
  .overlayDownload {
    padding: 20px 30px;
    background-color: #52d880;
    border-radius: 10px;
    color: white;
    position: relative;
    transition: transform 0.5s;
  }
  
  .header-contacts {
    padding: 20px 30px;
    background-color: black;
    color: #52d880;
    border: 1px solid #52d880;
    border-radius: 10px;
    position: absolute;
  }
  
  .overlay-contacts:hover{
    transform: translate(-10px,-10px);
  }
  
  .overlay-contacts {
    padding: 20px 30px;
    background-color: white;
    color: #52d880;
    border: 1px solid #52d880;
    border-radius: 10px;
    position: relative;
    transition: transform 0.5s;
  }
  
  .lang-dropdown{
    position: relative;
    padding: 0px;
    display: flex; 
    justify-content: space-between;
  }
  
  .lang-button{
    border: solid 1px #52d880;
    background-color: #52d880 !important;
    padding: 20px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-image: url("../../image/language.png");
    background-size: 70%;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
  }
  
  .drop-button{
    border: solid 1px #52d880;
    background-color: #52d880 !important;
    padding: 20px 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  
  .lang-content{
    position: absolute;
    display:none;
    flex-direction: row;
    left:100%;
    top:0%;
    width: 100%;
    transition: all .5s;
  }
  
  .language{
    display: none;
    padding: 15px 10px;
    background-color: #52d880;
  }
  
  .flag{
    height: 30px;
    width: 30px;
    /* padding: 20px 10px; */
  }
  
  .start{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  
  .end{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  
  /* header画像 */
  
  /* 背景画像 */
  .b_image {
    position: relative;
  }
  
  .b_image p {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: white;
    /* font-family: serif; */
    font-family: "myFont";
    font-size: 70px;
    font-weight: bold;
    text-shadow: 0px 0px 10px black;
  }
  
  .b-img-grape {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    background-repeat: no-repeat;
    background-image: url("../../image/promotionleft.jpg");
    background-size: 100%;
    background-position-y: 50%;
    /* overflow: hidden; */
  }
  
  .b-img-grape .overlay-grape{
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s;
  }
  
  .b-img-grape:hover .overlay-grape{
    opacity: 0.5;
  }
  
  /* サブタイトルのCSS */
  .sub-title p {
    font-size: 60px;
    text-align: center;
    padding-bottom: 40px;
    padding-top: 40px;
  }
  
  /* 中心コンテンツ */
  .middle-sentence {
    width: 50%;
    padding-top: 30px;
    padding-left: 30px;
    text-align: center;
    display: -ms-grid;
    display: grid;
    place-items: center;
  }
  .middle-contents {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  
  .middle-explain {
    font-size: 1.4rem;
    line-height: 2.2;
    display: inline-block;
    text-align: left;
  }
  
  .center2 {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-flow: row-reverse;
    flex-flow: row-reverse;
  }
  
  /* サービスの仕組み */
  .middle-contents img {
    width: 50%;
  }
  .model-css {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  
  /* お寄せいただいているお客様の声 */
  .gomomo-daily {
    background-color: #e5ffeb;
    margin-top: 100px;
    margin-bottom: 80px;
  }
  .customer-voice-title p {
    text-align: center;
  }
  .daily {
    text-align: center;
    padding-bottom: 50px;
    font-size: 20px;
  }
  .customer-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  
  .customer-contents {
    text-align: center;
  }
  
  .customer-contents-all {
    text-align: left;
    line-height: 2.2;
    padding-top: 60px;
    padding-left: 90px;
    padding-right: 90px;
  }
  
  .customer-image {
    width: 48%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
  }
  
  .customer-contents {
    width: 48%;
  }
  
  /* ここから追加8月28日 */
  .farm-link {
    display: flex;
    width: 95%;
    margin: 0 auto;
  }
  
  .goomomo-farm-link {
    width: 48%;
    border-radius: 10px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 50px;
  }
  
  .goomomo-farm-link p {
    padding-top: 50px;
    padding-bottom: 50px;
    font-size: 1.3rem;
  }
  
  .gomomo-cate {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 30px;
  }
  
  .gomomo-cate img {
    width: 50%;
  }
  
  .gomomo-cate p {
    width: 50%;
  }
  
  .gomomo-cate {
    width: 100%;
  }
  
  .goomomo-farm-link-a {
    text-decoration: none;
    color: black;
    font-size: 25px;
    font-weight: bold;
    transition: color .5s;
  }
  
  .goomomo-farm-link-a:hover{
    color:#52d880
  }
  
  /* ストーリー */
  
  .story-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .story-image {
    width: 50%;
    -o-object-fit: cover;
    object-fit: cover;
    margin-bottom: 80px;
  }
  
  .story-contents {
    padding-left: 90px;
  }
  
  .story-title {
    font-size: 30px;
  }
  
  /* footer */
  footer {
    background-color: #52d880;
    height: 500px;
  }
  
  footer ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    padding-top: 80px;
  }
  
  footer li {
    list-style: none;
  }
  
  .footer-a {
    text-decoration: none;
    color: white;
    font-size: 25px;
  }
  
  .footer-title p {
    font-size: 40px;
    padding-top: 60px;
    padding-left: 100px;
    color: white;
    font-weight: bold;
  }
  /* スマホ用のCSS */
  @media screen and (max-width: 640px) {
    body {
      max-width: 640px;
      width: 100%;
      min-width: 1401px;
    }
    p {
      /* font-family: sans-serif; */
      font-family: "myFont";
    }
  
    .b-img-grape {
      width: 100%;
      height: 1200px;
      overflow: hidden;
      -o-object-fit: cover;
      object-fit: cover;
    }
  
    /* ハンバーガーメニューのCSS */
    header {
      padding: 80px;
      background: rgb(255, 255, 255);
      /* position: sticky; */
      /* position: relative; */
      position: relative;
    }
  
    .b_image p {
      font-size: 65px;
    }
  
    .header-ul {
      display: block;
      background-color: #cfffe0;
      position: fixed;
      z-index: 9999;
      top: 0;
      left: 0;
    }
  
    .farming-logo {
      width: 500px;
      height: 300px;
      object-fit: contain;
    }
  
    .header-a {
      font-size: 1.8rem;
    }
  
    #nav-drawer {
      position: relative;
    }
  
    /*チェックボックス等は非表示に*/
    .nav-unshown {
      display: none;
    }
  
    /*アイコンのスペース*/
    #nav-open {
      display: inline-block;
      width: 50px;
      height: 22px;
      vertical-align: middle;
    }
  
    /*ハンバーガーアイコンをCSSだけで表現*/
    #nav-open span,
    #nav-open span:before,
    #nav-open span:after {
      position: absolute;
      height: 3px; /*線の太さ*/
      width: 60px; /*長さ*/
      border-radius: 3px;
      background: #555;
      display: block;
      content: "";
      cursor: pointer;
    }
    #nav-open span:before {
      bottom: -8px;
    }
    #nav-open span:after {
      bottom: -16px;
    }
  
    /*閉じる用の薄黒カバー*/
    #nav-close {
      display: none; /*はじめは隠しておく*/
      position: fixed;
      z-index: 99;
      top: 0; /*全体に広がるように*/
      left: 0;
      width: 100%;
      height: 100%;
      background: black;
      opacity: 0;
      -webkit-transition: 0.3s ease-in-out;
      -o-transition: 0.3s ease-in-out;
      transition: 0.3s ease-in-out;
    }
  
    /*中身*/
    #nav-content {
      overflow: auto;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 9999; /*最前面に*/
      width: 80%; /*右側に隙間を作る（閉じるカバーを表示）*/
      /* max-width: 600px; 最大幅（調整してください） */
      height: 100%;
      background-color: #cfffe0; /*背景色*/
      -webkit-transition: 0.3s ease-in-out;
      -o-transition: 0.3s ease-in-out;
      transition: 0.3s ease-in-out; /*滑らかに表示*/
      -webkit-transform: translateX(-105%);
      -ms-transform: translateX(-105%);
      transform: translateX(-105%); /*左に隠しておく*/
    }
    .header-list {
      list-style: none;
      padding-top: 150px;
    }
  
    .header-a {
      text-decoration: none;
      color: black;
      font-size: 55px;
      /* font-family: sans-serif; */
      font-family: "myFont";
    }
  
    .header-contacts {
      background-color: #cfffe0;
    }
  
    /*チェックが入ったらもろもろ表示*/
    #nav-input:checked ~ #nav-close {
      display: block; /*カバーを表示*/
      opacity: 0.5;
    }
  
    #nav-input:checked ~ #nav-content {
      -webkit-transform: translateX(0%);
      -ms-transform: translateX(0%);
      transform: translateX(0%); /*中身を表示（右へスライド）*/
      -webkit-box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
      box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
    }
    .sub-title img {
      width: 40%;
      object-fit: contain;
      height: 200px;
    }
  
    /* ここから追加 */
    .downloadtext {
      background-color: #cfffe0;
    }
  
    .header-contacts {
      background-color: #cfffe0;
      border: none;
    }
    .middle-contents img {
      width: 50%;
      height: 465px;
    }
    .story-image {
      width: 50%;
      -o-object-fit: cover;
      object-fit: cover;
      height: 465px;
    }
  
    /* ここから追加 */
    .gomomo-cate img {
      width: 50%;
      height: 180px;
    }
   
    .lang-dropdown{
    position: relative;
    padding: 0px;
    display: flex; 
    justify-content: flex-start;
    }
  
    .lang-button{
      padding: 50px;
      background-color: transparent !important;
      border: none 0px transparent !important;
    }
  
    .drop-button{
      padding: 70px 10px;
      background-color: transparent !important;
      border: none 0px transparent !important;
    }
  
    .language{
      padding: 70px 10px;
      background-color: transparent !important;
      border: none 0px transparent !important;
    }
  
    .flag{
      height:70px;
      width: 70px;
      padding: 0 70px;
    }
  
    .overlayDownload{
        background-color: transparent;
      }
  
      .overlay-contacts{
        background-color: transparent;
        border-color: transparent;
      }
  }
  