@charset "utf-8";

html {
  scroll-padding-top: 300px;
  scroll-behavior: smooth;
}
body {
  font-family: "Yu Gothic", system-ui, sans-serif;
  margin: 0;
  line-height: 1.7;
  color: #3b2a1a;
  background: #fffaf0;
}
header {
  background: #f4c96b;
  color: #3b2a1a;
  text-align: center;
  padding-top: 20px;
}
header h1 {
  margin: 0;
  padding: 0;
}

  main img {
    width: 70%;
    height: auto;
  }
main {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: #fffdf6;
}
section {
  margin-bottom: 40px;
}
h2 {
  border-left: 6px solid #f4c96b;
  padding-left: 10px;
  font-size: 1.4rem;
  margin-bottom: 10px;
}
/* 各セクション */
section {
  background: #ffffff;
  border: 1px solid #f0e2b6;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 40px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}
/* セクションタイトル */
section h2 {
  font-size: 1.6rem;
  color: #c18f00;
  border-bottom: 2px solid #f3d27a;
  padding-bottom: 6px;
  margin-bottom: 15px;
}

/* 小見出し */
section h3 {
  font-size: 1.2rem;
  color: #8b6f00;
  margin-top: 20px;
}

/* パンくずリスト*/

ol li {
  display: inline;
  margin-right: 5px;
  font-size: 85%;
}

ol {
  padding-left: 0;
}

ol a {
  color: #3b2a1a;
}

/*　ナビゲーション */
.mokuji ul {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex-wrap: wrap;
  color: #fff;
}

.mokuji li {
  width: 120px;
  height: 55px;
  background-color: #ebce80;
  border-radius: 10px
}

.mokuji li a,
.mokuji li li a {
  text-decoration: none;
  color: #520505;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

nav li:hover {
  background-color: #fff8e6;
}

.mokuji>ul {
  display: flex;
  width: 690px;
}

.mokuji ul ul {
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
}

.mokuji li li {
  height: 0;
  overflow: hidden;
}

.mokuji li:hover li {
  height: 55px;
}

.event-image {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin:0 auto ;
}

.event-image img {
  width: 100%;
  height: 150px; /* ← ここで画像の高さを統一 */
  object-fit: cover; /* ← トリミングして綺麗に収める */
  border-radius: 6px; /* お好みで */
}


/*　ヘッダー　*/

.logo_area {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

.logo_area img {
  width: 250px;
  align-items: center;
}

.site-header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
}

/* メイン領域　*/

article {
  width: 80%;
  margin: 150px auto 0 auto;
}

article img {
  text-align: center;
}

/* みつろう　ページ*/

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card1 {
  background: #fffaf0;
  border-radius: 10px;
  flex-basis: calc((100% - 18px * 2) / 3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  overflow-wrap: break-word;
}

.card h4 {
  margin-top: 0;
  font-size: 1.1rem;
}


#info_card {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0 auto;
  padding: 1rem 1rem 3rem 1rem;
  max-width: 1200px;
}

.card-img img {
  width: 100%;
  object-fit: cover;
  height: 200px;
}

.card-cont {
  padding: 10px;
}



/* フッター　*/
footer {
  padding-left: 750px;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
  color: #6b5a4a;
  background: #f0e0c0;
  margin-top: 40px;
}

#footer_inner>div {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

/* 問い合わせ*/

address {
  font-style: normal;
}

address ul {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em;
  display: inline;
}

address li {
  display: inline-block;
  margin-right: 15px;
}

address h4::before {
  content: " ◇ ";
}

address img {
  margin-bottom: 15px;
  max-width: 100%;
}

#footer_img {
  padding: 20px;
}


/*** みつばちと花エリア bee***/
#yama {
  max-width:  80%;
  height: 650px;
  background-image: url("../image/kesiki.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 0;
  margin: auto;
}

#yama {
  position: relative;
}

.bee-1 {
  padding-top: 60%;
  padding-left: 80%;
}




/* ミツバチが飛ぶ  bee*/
.bee {
  position: absolute;
  top: 30px;
  left: 100%;
  /* 右端（画面外）から開始 */
  width: 120px;
  height: 120px;
  background-image: url("../image/bee-1.png");
  background-size: contain;
  background-repeat: no-repeat;
  animation: fly 12s linear infinite;
  transform: skewX(-1)s;
}


/* 右→左へ移動    bee*/
@keyframes fly {
  0% {
    left: 90%;
    opacity: 0.2;
  }
10%{
  opacity: 1;
}
  15% {
    left: 50%;
    top: 60%;
    opacity: 1;
  }
25%{
  top:40%;
}
  50% {
    top: 70%;
  }

 80% {
left: 10%;  
top:50%;
    opacity: 1;

  }
100%{
  left: 0%;
  top:70%;
  opacity:0; 
}

}


/* タイトルと説明文bee */
.sukinahana h1,
.sukinahana p {
  margin-left: 20px;
  line-height: 1.7;
}


.hana_area {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background-color: antiquewhite;
  border-radius: 8px;
}

/* 最初のブロックの余白 bee*/
.hana_area:first-of-type {
  margin-top: 50px;
}

/* 各 figure のレイアウトbee */
.hana_area figure {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  width: calc(50% - 15px);
}


/* 画像 bee*/
.hana_area img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

/* テキスト部分bee */
.hana_area figure figcaption {
  width: 65%;
}

/* 見出し（花の名前） bee*/
.hana_area figure h4 {
  margin: 0 0 5px 0;
}

/*    テキスト　bee*/
.hana_card figcaption {
  flex: 1;
  max-width: 300px;
}

.hana_card h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
}


/*　楽しみ方　楽*/
.howto {
  padding: 40px 20px;
  background: linear-gradient(180deg, #fff8e6, #fffdf7);
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto;
}

/* タイトル */
.howto-page {
  background: linear-gradient(10deg, #f7f3d8, #f7eb7e);
  padding: 12px 20px;
  width: 85%;
  margin: 0 auto 25px;
  text-align: center;
  border-right: 6px solid #f4c96b;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #c18f00;
}

/* 説明文ボックス */
#how-come {
  padding: 18px 20px;
  width: 85%;
  margin: 0 auto 35px;
  text-align: center;
  border-radius: 10px;
  background: linear-gradient(1deg, #f5f1d8, #f7eea5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  color: #5a4a00;
  line-height: 1.7;
}

/* セクション */
.howto section {
  background: #ffffff;
  border: 1px solid #f3d27a;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 40px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.howto section h2 {
  font-size: 1.6rem;
  color: #c18f00;
  border-bottom: 2px solid #f3d27a;
  padding-bottom: 6px;
  margin-bottom: 15px;
}

.howto section h3 {
  font-size: 1.2rem;
  color: #8b6f00;
  margin-top: 20px;
}

#seisei {
  font-size: 135%;
  padding-left: 15px;
}

/* リスト */
.info-list {
  margin-top: 10px;
  padding-left: 20px;
}

.info-list li {
  margin-bottom: 8px;
  position: relative;
  list-style: none;
}

/* 蜂蜜のしずくアイコン（統一） */
.info-list li::before {
  content: "🌸　";
}


caption {
  caption-side: top;
  text-align: left;
  padding: 4px 0;
  color: #292205;

}

table {
  border: 1px solid #333333;
  font-size: 100%;
  margin: 20px auto;
  border-collapse: collapse;
}


th {
  background-color: #f8ffcc;
  border: 1px dotted #333333;
  padding: 8px;
  text-align: left;
}

td {
  border: 1px dotted #333333;
  padding: 15px;
  overflow-wrap: break-word;
}

th:first-child {
  width: 20%;
}

/* ページ先頭へ戻る　*/
#pagetop {
  position: fixed;
  left: 80%;
  bottom: 30px;
  z-index: 100;
  opacity: 0.9;
}

/* ハンバーガーメニュー　*/
#mokuji_check {
  display: none;
}

/* PC（大画面） */
@media (min-width: 1024px) {
  .event-image {
    width: 80%;
    max-width: 1000px; /* お好みで調整 */
  }

  .event-image img {
    height: 200px; /* 大画面用の高さ */
    object-fit: cover;
  }
}

/* タブレット */
@media (min-width: 600px) and (max-width: 1023px) {
  .event-image img {
    height: 160px;
    object-fit: cover;
  }
}

/* 959px以下の場合 */
@media (max-width: 980px) {


  .mokuji {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    padding-top:100px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 100;
    transition: all 0.6s ease-in-out;
  }
#mokuji_check:checked ~ .mokuji {
    left: 0%;
  }
  /* 3本線　*/

  #mokuji_check_btn {
    position: fixed;
    top: 10px;
    right: 10px;
    height: 45px;
    width: 45px;
    background-color: #c5e1ac;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
  }

  #mokuji_check_btn span,
  #mokuji_check_btn span::before,
  #mokuji_check_btn span::after {
    content: "";
    display: block;
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #92c653;
    transition: all 0.6s ease-in-out;
  }

  #mokuji_check_btn span::before {
    bottom: 8px;
  }

  #mokuji_check_btn span::after {
    top: 8px;
  }

  #mokuji_check:checked~#mokuji_check_btn span {
    background-color: transparent;
  }

  #mokuji_check:checked~#mokuji_check_btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #mokuji_check:checked~#mokuji_check_btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  .mokuji>ul {
    display: block;
    width: 100%;
  }
  .mokuji>ul>li {
    background-color: #d8dbd5;
    width: 100%;
  }
  .mokuji ul li a {
    border-top: 1px solid #99bec8;
    width: 100%;
    margin: 0;
    color: #520505;
    text-align: center;
    display: block;
    padding: 20px;
 
  }

  .mokuji>ul>li:last-child {
    border-bottom: 1px solid #520505;
  }

  .mokuji li li {
    background-color: #b6c8a6;
    overflow: visible;
    display: block;
    padding: 0;
    margin: 0;
        height: auto;
  }
.mokuji li:hover li {
      height: auto;

}

  .mokuji li:hover {
    background-color: #a0bfc8;
  }


/* メニューリスト */
  .mokuji ul {
    display: block;
    padding: 0;
    margin: 0;
  }

  .mokuji li {
    width: 100%;
    height: auto;
    background: #ebce80;
    border-bottom: 1px solid #caa85a;
  }

  article {
    width: 90%;
    margin: 120px auto 0 auto;
  }

  article img {
    width: 100%;
    height: auto;
  }

  section {
    margin-top: 30px;
  }

  h2 {
    font-size: 1.4rem;
  }

  p {
    line-height: 1.8;
  }
   .hana-icon-1 {
    width: 100px;
    height: auto;
  }
   .hana-icon-2 {
    width: 100px;
    height: auto;
  }
   .hana-icon-3 {
    width: 28px;
    height: auto;
  }

}

@media (max-width: 768px) {

  /* 花エリア全体を縦並びに */
  .hana_area {
    flex-direction: column;
    align-items: center;
  }

  /* 各 figure を縦並びに */
  .hana_area figure {
    flex-direction: column;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  /* 画像サイズを調整 */
  .hana_area img {
    width: 70%;
    max-width: 250px;
    height: auto;
  }

  /* テキスト部分を幅100%に */
  .hana_area figure figcaption {
    width: 100%;
    max-width: 500px;
  }
}

/* スマホ */
@media (max-width: 599px) {
  .event-image img {
    height: 120px;
    object-fit: cover;
  }
}



