@import url('https://fonts.googleapis.com/css2?family=Open Sans:wght@400;500;600&display=swap');

body{
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    background-color: #000000;
    min-height: 100vh; /* Ensures the body takes full height */
	display: flex;
    flex-direction: column; /* Stack children vertically */
    margin: 0; /* Remove default body margin */

}
body.hidden-scrolling{
	overflow-y: hidden;
}

main {
  flex: 1; /* 画面の高さから他の同レイヤーの要素の高さを引いた値に */
}
*{
	margin:0;
	box-sizing: border-box;
	
}
.container {
  width: 95vw;
  max-width: 1200px;
  margin: 0 auto;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
}

/*header*/
.header{
	position: absolute;
	width: 100%;
	left:0;
	top:0;
	z-index: 999;
	padding: 15px;
	margin-top: 30px;
}
.header-main{
	display: flex;
    /* space-between から center に変更 */
    justify-content: center; 
    align-items: center;
    gap: 40px; /* ロゴとメニューの間の距離を調整（お好みで） */
}

.header .logo img{
    width: 80px;
	margin:15px;
}
.header .nav-menu{
	padding: 0px;
	white-space:nowrap;
	}
.header .menu > .menu-item{
	display: inline-block;
	margin: 0 3vw;
	position: relative;
}
.header .menu > .menu-item > a{
	display: block;
	padding: 12px 0;
	font-size: clamp(10px, 1.5vw, 15px);
	color: rgba(255,255,255,0.77);
	text-transform: capitalize;
	font-weight: 600;
	transition: all 0.3s ease;
}
.header .menu > .menu-item > a .plus{
	display: inline-block;
	height: 12px;
	width: 12px;
	position: relative;
	margin-left:5px; 
	pointer-events: none;
}
.header .menu > .menu-item > a .plus:before,
.header .menu > .menu-item > a .plus:after{
	content:'';
	position: absolute;
	box-sizing: border-box;
	left: 50%;
	top:50%;
	background-color: #D5D5D5;
	height: 2px;
	width: 100%;
	transform: translate(-50%,-50%);
	transition: all 0.3s ease;
}
.header .menu > .menu-item:hover > a .plus:before,
.header .menu > .menu-item:hover > a .plus:after{
   background-color: #ffffff;
}
.header .menu > .menu-item > a .plus:after{
   transform: translate(-50%,-50%) rotate(-90deg);	
}
.header .menu > .menu-item > .sub-menu > .menu-item > a:hover,
.header .menu > .menu-item:hover > a{
	color: #ffffff;
}
.header .menu > .menu-item > .sub-menu{
	
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	width: 220px;
	position: absolute;
	left:0;
	top:100%;
	background-color:rgba(0,0,0,0.7);
	padding: 10px 0;
	border-top: 3px solid #ffffff;
	transform: translateY(10px);
	transition: all 0.3s ease;
	opacity:0;
	visibility: hidden;
	z-index: 998;
}
.header .menu > .menu-item > .sub-menu a{
	display: block;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: 600;
	color: rgba(225,225,225,0.7);
	transition: all 0.3s ease;
	text-transform: capitalize;
	z-index: 997;
}

footer {
 width: 100%;
    background-color: #222; /* Adjust background color */
    color: #E6E6E6; /* Adjust text color */
    text-align: center;
    padding: 10px; /* Add padding for aesthetics */
	position: relative;

}


.svgmargin{
	

}
.topsns {
    position: relative;
    z-index: 2000; /* headerの999より高く設定 */
    background: #000; /* 背景色がないと下が透けて見えるので入れる */

}

.icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 20px;
  color: #E6E6E6;
  text-align: center;
  line-height: 35px;
  margin: 10px 10px 5px ;
	
}
.copyright{
	color:#B3B3B3;
	font-size: 12px;

	
}
.sns-icon {
  width: 26px;
  height: 26px;
  margin: 0 8px;
  transition: opacity 0.2s ease;
	
}

.sns-icon:hover {
  opacity: 0.7;
}
/* ===== SEARCH追加分 ===== */

.icons {
  position: relative;
}

/* SNS中央キープ */
.icons {
  text-align: center;
}

/* SEARCH右寄せ */
/* SEARCHエリア全体の配置 */
/* --- 親要素の制限を完全に突破する --- */
.topsns, .icons, .search-link, .search-form {
    overflow: visible !important;
}

.search-link {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    z-index: 10000;
}

/* --- 入力欄 --- */
.modern-search-input {
    background-color: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 6px 15px 6px 55px;
    font-size: 14px;
    outline: none;
    width: 150px;
    transition: all 0.3s ease;
    background-image: url('https://luckycraft.com/luckycrafthome/images/search.png');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 16px 16px;
}

.modern-search-input:focus {
    background-color: #222;
    border-color: #555;
    width: 180px;
}
/* 親要素の header の overflow 設定が邪魔しないようにする */
.header, .header-main, .search-link {
    overflow: visible !important;
}
/* --- 【最重要】候補リストの箱 --- */
.search-suggestions {
    position: absolute !important;
    top: calc(100% + 10px) !important; /* 入力欄の少し下 */
    right: 0 !important;             /* 右端を基準にする */
    left: auto !important;          /* 左基準を解除 */
    
    width: 350px !important;      
    background-color: #1a1a1a !important;
    border: 1px solid #444 !important;
    border-radius: 12px !important;  /* 角を丸くしてモダンに */
    z-index: 1000000 !important;
    display: none;
    max-height: 1200px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8) !important;
    overflow: hidden !important;
}

.search-suggestions.is-visible {
    display: block !important;
}

/* --- アイテムのレイアウト --- */
/* --- 候補アイテムの基本スタイル --- */
.suggestion-item {
    padding: 5px 10px !important;
    display: flex !important;
    justify-content: space-between !important; /* 名前とカテゴリを左右に振り分ける */
    align-items: center !important;
    border-bottom: 1px solid #333 !important;
    text-decoration: none !important;
    background: #1a1a1a !important; /* 背景は常に固定 */
    cursor: pointer !important;
    transition: all 0.2s ease;
	border: none !important;          /* 枠線をすべて消す */
    box-shadow: none !important;      /* 影による線を消す */
    outline: none !important;
	line-height: 0.75 !important;
	height: auto !important;
    min-height: 0 !important;
}

/* --- ホバー時の設定（背景は変えず、文字だけ変える） --- */
.suggestion-item:hover {
    background: #1a1a1a !important; /* 背景色が変わるのを防ぐ */
}

/* ホバー時に商品名をオレンジにする */
.suggestion-item:hover strong {
    color: #ff9900 !important; /* Lucky Craftオレンジ */
}

/* ホバー時にカテゴリ名を少し明るくする */
.suggestion-item:hover small {
    color: #fff !important;
}

/* --- 各要素の文字設定 --- */
.suggestion-item strong {
    color: #fff !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    transition: color 0.2s ease;
}

.suggestion-item small {
    color: #888 !important;
    font-size: 10px !important;
    text-transform: uppercase;
    margin-left: 15px;
    white-space: nowrap !important;
    transition: color 0.2s ease;
}
.fish-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
 cursor: pointer;
}

.row {
  display: flex;
  gap: 10px;
}

.full-width .card,
.two-columns .card {
  flex: 1;

  background-size: cover;
  background-position: center;
  border-radius: 10px;
	
}
.full-width a {
  display: block;
  width: 100%;
}


.card img{
width: 100%;

}
.card {
  position: relative; /* オーバーレイを置く場合は必要 */
  transition: background-color 0.3s, box-shadow 0.3s;
	
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0); /* 通常時は透明 */
  transition: background 0.3s;
  pointer-events: none; /* クリックを邪魔しない */
  border-radius: inherit; /* カードの角丸を引き継ぐ場合 */
}

.card:hover::after {
  background: rgba(255, 255, 255, 0.2); /* ほんのり白く */
}

.full-width {
	
  position: relative; /* オーバーレイを置く場合は必要 */
  transition: background-color 0.3s, box-shadow 0.3s;
	border-radius: 10px;
}
.full-width img{
width: 100%;

}
.full-width::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0); /* 通常時は透明 */
  transition: background 0.3s;
  pointer-events: none; /* クリックを邪魔しない */
  border-radius: inherit; /* カードの角丸を引き継ぐ場合 */
}

.full-width:hover::after {
  background: rgba(255, 255, 255, 0.2); /* ほんのり白く */
	
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  font-size: 14px;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.cookie-banner.is-show {
  opacity: 1;
  visibility: visible;
}

.cookie-banner.is-hide {
  opacity: 0;
  visibility: hidden;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.5;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

#cookie-accept {
  background: #ffffff;
  color: #000;
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

#cookie-reject {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 4px;
}

#cookie-accept:hover {
  background: #e5e5e5;
}

#cookie-reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}


.privacy{
	color:aliceblue;
		width:1000px;
	max-width: 80%;
	margin: auto;
	padding-top: 10%;
	line-height: 2em;
	padding-bottom: 3%;
}
.title{
	font-size: 1.7em;
	padding: 10px 0px 5px 0px;
	font-weight: 1000;
	
}
.privacy h2{
	font-size: 1.25em;
	padding: 35px 0px 10px 0px;
}
.privacy a{
	color: #C5DDFF;
}
/* Mobile */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media(min-width: 992px){
.header .menu > .menu-item-has-children:hover > .sub-menu{
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
 }
 .header .menu > .menu-item-has-children:hover > a .plus:after{
    transform: translate(-50%,-50%) rotate(0deg);		
 }
}
.header .menu > .menu-item > .sub-menu > .menu-item{
	display: block;
}
.header .menu > .menu-item > .menu-item > a{
	display: block;
	padding: 10px 20px;
	font-size: 17px;
	font-weight: 600;
	color: #000000;
	transition: all 0.3s ease;
	text-transform: capitalize;
}

.header .open-nav-menu{
	height: 34px;
	width: 40px;
	margin-right: 15px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.header .open-nav-menu span{
	display: block;
	height: 3px;
	width: 24px;
	background-color: #FFFFFF;
    position: relative;
}
.header .open-nav-menu span:before,
.header .open-nav-menu span:after{
	content: '';
	position: absolute;
	left:0;
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
	box-sizing: border-box;
}
.header .open-nav-menu span:before{
	top:-7px;
}
.header .open-nav-menu span:after{
	top:7px;
}
.header .close-nav-menu{
	height: 40px;
	width: 40px;
	background-color:none;
	fill:#fff;
	margin:0 0 15px 15px;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
}
.header .close-nav-menu img{
	width: 16px;
	
}
.header .menu-overlay{
	position: fixed;
	z-index: 999;
	background-color: rgba(0,0,0,0.5);
	left:0;
	top:0;
	height: 100%;
	width: 100%;
	visibility: hidden;
	opacity:0;
	transition: all 0.3s ease;
}

.burger-btn{
	display: none;
	
	
}




/* responsive */

@media(max-width: 991px){
	.menu li:hover{
		color: rgba(208,208,208,0.3);

		transition-duration: 0.2s;
	}
	.menu{
		margin-left: 30vw;
	}
	.header .menu-overlay.active{
	visibility: visible;
	opacity: 1;
}
	.header{
		z-index: 999;
	}
	
.icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 20px;
  color: #E6E6E6;
  text-align: center;
  line-height: 35px;
  margin: 10px 2px 5px ;
	
}

/* 1. 入力欄：タップで伸びる設定（既存） */
    .modern-search-input {
        width: 0px !important;
        padding-left: 35px !important;
        padding-right: 0 !important;
        border-color: transparent !important;
        background-color: transparent !important;
    }

    .modern-search-input.is-open,
    .modern-search-input:focus {
        width: 50vw !important; /* 画面の70%まで伸ばす */
        padding-right: 15px !important;
        border-color: #555 !important;
        background-color: #111 !important;
    }
.search-suggestions {

    
    width: 80vw !important;      
    
}


/*  Categories */
.fish-section {
  width: 100vw;
  margin: 0 auto;
 
  display: flex;
  flex-direction: column;
  gap: 20px;
 cursor: pointer;
}
.header-main {
        display: flex !important;
        justify-content: space-between !important; /* これでロゴが左、メニューが右になります */
        align-items: center;
        width: 100% !important;
        padding: 0 15px; /* 画面端との適度な余白 */
    }

    /* ロゴの調整 */
    .header .logo {
        margin: 0; /* 余計なマージンをリセット */
        display: flex;
        align-items: center;
    }

    .header .logo img {
        width: 70px; /* スマホで見やすいサイズに調整 */
        margin: 0;
		margin-top: 20px;
    }

    /* ハンバーガーボタン（三本線）の調整 */
    .burger-btn {
        position: relative; /* absolute指定があれば解除 */
        top: auto;
        right: auto;
        display: block;
        margin: 0;
    }
	
.row {
    flex-direction: column;
  }

.full-width .card,
.two-columns .card {
  flex: 1;

  background-size: cover;
  background-position: center;
  border-radius: 10px;
	
}
.card img{
width: 100%;

}
.card {
  position: relative; /* オーバーレイを置く場合は必要 */
  transition: background-color 0.3s, box-shadow 0.3s;
}
	
		.nav-menu{
        display: none;
		position: fixed;
		top:0;
		left: 0;
		width: 100%;
		height: 100vh;
		background-color: rgb(0, 0, 0,0.9);
		z-index: 998;
		
	}
	
	.menu-item{
		margin: 0 0 1vh;
	}
	.menu-item a{
		font-size: 20px !important;
	
		}
	.menu-item-has-children a{
		font-size: 20px !important;
		

		}
	.menu-item:last-of-type{
		margin-bottom: 0;
		
	}
	
	.header .menu > .menu-item{
		display: block;
	
	}
	.header .menu > .menu-item-has-children > a{
		display: flex;
		justify-content: space-between;
	
	}
	
	.header .menu > .menu-item > a{
		color: rgba(255,255,255,0.77);
		padding: 12px 15px;
		
	}
	.header .menu > .menu-item > .sub-menu > .menu-item > a:hover,
.header .menu > .menu-item:hover > a{
	color: #ffffff;
}
	.header .menu > .menu-item:first-child > a{
	   
	}
	.header .menu > .menu-item > a .plus:before, 
	.header .menu > .menu-item > a .plus:after{
		background-color: #ffffff;
	}
	.header .menu > .menu-item-has-children.active > a .plus:after{
        transform: translate(-50%,-50%) rotate(0deg);
	}
	.header .menu > .menu-item > .sub-menu{
		width: 100%;
		position: relative;
		opacity: 1;
		visibility: visible;
		border:none;
		background-color: transparent;
		box-shadow: none;
		transform: translateY(0px);
		padding: 0px;
		top:auto;
		max-height: 0;
		overflow: hidden;
	
	}
	.header .menu > .menu-item > .sub-menu > .menu-item > a{
		padding: 5px 45px;
		color: rgba(255,255,255,0.77);

		font-size: 17px!important;
	}
	.header .menu > .menu-item > .sub-menu > .menu-item > a:hover{
		padding: 5px 45px;
		color: #ffffff;
		font-size: 17px!important;
	}
	.header .close-nav-menu,
	.header .open-nav-menu{
		display: flex;
	}
	
		
	
	/* ハンバーガーボタン */
	.burger-btn{
		display: block;
		position:absolute;
		top: 30px;
		right: 5vw;	
		z-index: 999;
		
		
	}
	.burger-btn .bar{
		display:block;
		height: 3px;
		width: 30px;
		background-color: #fff;
		transition: .3s;

	} 
	.burger-btn{
		background-color: transparent;
		border: none;
		

	} 
	.burger-btn bar:hover{
		cursor: pointer;
	}
	
	
	.bar_top,
	.bar_mid{
		margin-bottom: 8px;
	}

	.burger-btn.cross .bar_top{
		transform: rotate(45deg) translate(8px,8px);
	}
	.burger-btn.cross .bar_mid{
		opacity: 0;
	}
	.burger-btn.cross .bar_bottom{
		transform: rotate(-45deg) translate(8px,-8px);
	}
	

}

