/* デフォルト設定
-------------------------------------------------------------*/
* { 
  margin: 0px; 
  padding: 0px; 
  box-sizing: border-box; /* パディングでの横幅はみ出しを確実に防止 */
}

img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* リンク要素 */
a { color: #646262; }
a:link,
a:visited,
a:hover,
a:active { text-decoration: underline; }
a:hover { opacity: 0.8; }

/* メイン背景・レイアウト */
body {
  width: 100%; 
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-size: 15px;
  font-family: "游ゴシック Light", "游ゴシック", "YuGothic", sans-serif;
  color: #333;
}

.product-main {
  width: 100%; 
  position: static;
  background-color: #fff;
}

/* 前の指定を引き継ぎ：横幅に完璧に合って下は途中で切れる背景 */
.product-flame {
  width: 40%; 
  padding: 0em;
  margin: 0em;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff; 
  background-image: url('../image/back.webp');
  background-position: top center;
  background-size: 100% auto;  
  background-repeat: no-repeat; 
  min-height: 100vh; 
}

@media screen and (max-width:780px){
  .product-flame {
    width: 100%; 
  } 
}

/* ★新設：イベントテキストエリアスタイル */
.event {
  width: 90%; /* 枠線の左右に少し余白を作る */
  max-width: 720px;
  margin: 2em auto;
  padding: 2.5em 2em;
  /* 濃いめの白半透明背景（文字が完全に浮き出て見やすくなります） */
  background-color: rgba(255, 255, 255, 0.88);
  border-radius: 8px; /* 角をほんのり丸くして上品に */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* 軽い影で背景から浮かせる */
}

.event h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 22px;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 1.5em;
  color: #000;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5em;
}

.event-lead {
  text-align: center;
  font-weight: bold;
  margin-bottom: 2em;
  font-size: 16px;
}

.event-details h3 {
  font-size: 15px;
  margin-top: 1.5em;
  margin-bottom: 0.3em;
  color: #444;
}

.event-details p {
  font-size: 14px;
  margin-left: 0.5em;
  margin-bottom: 1.5em;
}

@media screen and (max-width: 640px) {
  .event {
    width: 94%;
    padding: 2em 1.2em; /* スマホ時は少しタイトに調整 */
  }
}

/* スクロールフェード */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.4s ease-out, transform 1.4s ease-out; 
  will-change: opacity, transform; 
}

.scroll-fade.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* 追従メニュー関連 */
.area-menu {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background-color: transparent; 
  z-index: 9999;
}

.area-menu.is-fixed {
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 40% !important;
  z-index: 10000 !important;
  background-color: rgba(255, 255, 255, 0.4); 
  -webkit-backdrop-filter: blur(10px);       
  backdrop-filter: blur(10px);               
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); 
}

@media screen and (max-width: 780px) {
  .area-menu.is-fixed {
    width: 100% !important;
  }
}

.menu-single-img {
  width: 100%;
  height: auto;
  display: block;
}

.menu-links-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex; 
}
.event-lead .word {
  display: inline-block;
}


.link-item {
  display: block;
  width: 25%; 
  height: 100%;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0);
}

/* フッター */
.footer_copyrights {
  color: #000;
  text-align: center;
  font-size: 14px;
  padding:  0; 
  margin-top: 2px;
}