@charset "utf-8";

  /*ヘッダー*/
  header.scroll #nav {
    overflow: hidden;
    clear: both;
    text-align: center;
}

.header{ 
  margin: 0px auto 0px;
  /*ヘッダーの幅*/
  width: 100%;
  /*ヘッダーの高さ*/
  height: 100px;
  /*ヘッダーの色*/
  background-color: #f2dde0;
}
.nav{
  font-family: "Calistoga", serif;
  font-weight: 400;
  font-style: normal;
  /*ナビゲーションの横位置*/
  justify-content: center;
  /*ナビゲーションの縦位置*/
  padding-top: 20px;
  box-sizing: border-box;
}

ul{
  /*横並び*/
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  align-items: center;
}

.rgo{
  width: 108px;
  height: 62px;
  margin-right: 50px;
}

a{
  /*ナビゲーションの色*/
  color: rgb(139, 73, 29);
}


/*スライド*/
body {
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.slide-container {
  position: relative;
  width: 100%;
  height: 600px; /* 高さを調整 */
  overflow: hidden;
  margin: 0 auto; /* センタリング */
  max-width: 1200px; /* 最大幅を設定 */
  z-index: 1; /* ヘッダーの後ろに配置 */
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 画像全体が表示されるように */
  flex-shrink: 0;
  padding: 20px; /* 画像の周囲に余白を追加 */
  box-sizing: border-box;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
  .slide-container {
    height: 400px; /* モバイル用に高さを調整 */
  }
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
  .slide-container {
      max-width: 100%;
  }
  
  .slides img {
    width: 100%;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
    object-fit: contain;
  }
  
  .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: auto;
  }
}

/*お知らせ*/

.news {
  padding: 50px 0;
  text-decoration: none;ground: #ffffff;
}

.inner {
  width: 80%;
  background-color: #ffffff;
  margin: 0 auto;
}

.sub_ttl {
  font-size: 30px;
  text-align: center;
  margin-bottom: 60px;
  color: rgb(139, 73, 29);
  font-weight: bold;
}

.news_list {
    margin: 0 5%;
    flex-flow: column;
  }
  
  .news_list_item {
    padding: 25px 0;
    border-bottom: 1px solid #E6E6E6;
  }


  .news_list_item:first-child {
    border-top: 1px solid #E6E6E6;
  }
  .news_list_item a {
   position: relative;
   display: flex;
   padding-right: 30px;
  }
  
  .news_list_date {
    font-size: 15px;
    display: flex;
    margin-right: 15px;
    align-items: center;
  }
  
  .news_item {
    background:#e594b5;
    color: #fff;
    border-radius: 14px;
    width: 6em;
    /* 親要素の文字サイズを基準 */
    text-align: center;
    margin-left: 20px;
  }
  
  .arrow {
    width: 25px;
    height: 1px;
    background: #707070;
    position: absolute;
    top: 50%;
    right: 0;
  }
  
  .arrow::after {
    content: "";
    display: block;
    width: 6px;
    height: 1px;
    background: #707070;
    transform: rotate(45deg);
    position: absolute;
    right: 0px;
    bottom: 2px;
  }
  

  @media screen and (max-width: 1024px) {
      .news_list_item a {
          display: block;
      }
  }
  
  @media screen and (max-width: 769px) {
      .news_list_item a  {
          font-size: 14px;
      }
  
  
  }
  @media screen and (max-width: 480px) {
      .arrow {
          display: none;
      }
      .news_list_item a {
          padding-right: 0;
      }
  }
.moreBtn__link {
    -webkit-box-sizing: border-box;
    background: #8a5216;
    border: 1px solid #ccc;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin: 0 auto;
    margin-top: 25px;
    margin-bottom: 200px;
    padding: 12px 0;
    text-align: center;
    /* ボタンの横幅 */
    width: 200px;
    /* ボタンの丸み */
    border-radius:30px;
}

.moreBtn__link2 {
  -webkit-box-sizing: border-box;
  background: #8a5216;
  border: 1px solid #ccc;
  box-sizing: border-box;
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin: 0 auto;
  margin-top: 25px;
  margin-bottom: 200px;
  padding: 12px 0;
  text-align: center;
  /* ボタンの横幅 */
  width: 200px;
  /* ボタンの丸み */
  border-radius:30px;
  margin-left: 20px;
}

.moreBtn__link:hover {
    background: #fff;
    color: #8a5216;
}

.moreBtn__link2:hover {
  background: #fff;
  color: #8a5216;
}

    /*メニュー */

    .menuf{
      font-weight: bold;
      font-size: 16px;
    }

    span{
      font-weight: bold;
      color: #000000;

    }
    .menu{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        font-size: 13px;
      }
    .menu3{
      margin-top: 35px;
    object-fit: contain; /* 画像のサイズを維持しつつ、親要素に収まるようにする */
    }

  .baner{
    text-align: center;
    margin: auto;
  display: block;

  }

  table{
    margin:auto;
    margin-top: 50px;
  }

  .baner2{
    flex-wrap: wrap;
    width: 654.5px;
    height: 329px;
  }

  .contents {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}
.contents img {
    width: 100%;
}
.text-center {
    text-align: center;
}
.flexbox {
    display: flex;
}



/* 起業概要・ベリー */
.box1 {
    width: 65%;
    margin: auto;
}
.box2 {
    width: 65%;
    margin: auto .5rem;
}
@media screen and (max-width: 767px) {
    .flexbox {
        display: block;
    }
    .flexbox .box1 {
        width: 100%;
        margin: 0 auto;
    }
    .flexbox .box2 {
        width: 100%;
        margin: 0 auto;
    }
}


/* フッダー */
.footer {
  padding: 2rem;
  font-size: 15px;
  color: #4b5564;
  background-color:  #f2dde0; 
}

/* フッターのロゴ部分 */
.footer__logo {
  display: inline-block;
  margin-bottom: 2rem;
}

.hover {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 60px;
}

.hover img {
  width: 50px;
  height: 50px;
  vertical-align: middle;
}

/* ナビゲーションメニュー */
.footer__navi {
  list-style-type: none;
  padding-left: 0;
  font-family: "Calistoga", serif;
  font-weight: 400;
  font-style: normal;
}

.footer__navi2 {
  list-style-type: none;
  padding-left: 0;
}

.footer__navi li {
  margin-bottom: 0.75rem;
}

.footer__navi a {
  color: #8a5216;
  text-decoration: none;
}

/* グリッドレイアウト */
.grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* メディアクエリ - スマートフォンサイズ */
@media (max-width: 767px) {
  .md-flex {
    flex-direction: column;
  }

  .md-justify-between {
    justify-content: center;
  }

  .grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    font-size: 12px;
  }
}

/* テーブルタップデバイスサイズ */
@media (min-width: 768px) and (max-width: 1023px) {
  .md-flex {
    flex-direction: column;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 14px;
  }
}

/* デスクトップサイズ以上 */
@media (min-width: 1024px) {
  .md-flex {
    flex-direction: row;
  }

  .md-justify-between {
    justify-content: space-between;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    font-size: 15px;
  }
}

