/***
 メインスライド
***/
#main-top-slide{
  position: relative;
  margin-bottom: 100px;
}

#main-top-slide .swiper-container{
  width: 100%;
  height: auto; 
  overflow: hidden;
}
#main-top-slide .swiper-wrapper{
  height: auto;
}
#main-top-slide .swiper-slide{
  width: 100% !important;
  height: auto !important;  
  aspect-ratio: 2732 / 1536; 
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
#main-top-slide .swiper-slide h3{
	color:#fff;
	font-size:28px;
	position: absolute;
	font-family: 'Shippori Mincho B1', serif;
	font-weight: 500;
	z-index: 5;
	bottom:60px;
	left:35px;
	letter-spacing: 1px;
}
#main-top-slide .swiper-slide h3::first-line{
	font-family: 'Cormorant Garamond', serif!important;
	font-size:36px!important;
	letter-spacing: 2.2px!important;
	font-weight: 600;
}
#main-top-slide .swiper-slide p{
	font-size:12px;
	color:#fff;
	position: absolute;
	bottom:30px;
	left:35px;
}

.swiper-slide > a{
  display: block;
  width: 100%;
  height: 100%;
}
.swiper-slide.sw-1 > a { --bg: url('../images/uploads/or/mslide_img01.jpg.webp'); }.swiper-slide.sw-2 > a { --bg: url('../images/uploads/or/mslide_img02.jpg.webp'); }.swiper-slide.sw-3 > a { --bg: url('../images/uploads/or/mslide_img03.jpg.webp'); }
:root{
  /* ズームアウトの再生時間（JSから上書き） */
  --slide-kenburns-duration: 3000ms;
}

/* 擬似要素を載せる下地 */
#main-top-slide .swiper-slide > a{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: none; /* 旧backgroundは使わない */
}

/* 画像レイヤー本体（ここを動かす） */
#main-top-slide .swiper-slide > a::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;     /* cover にすると全面にフィット（トリミングあり） */
  transform: scale(1.06);       /* 少し拡大から開始 */
  filter: brightness(1) saturate(1);
  opacity: 1;
  will-change: transform, filter, opacity;
}

/* テキストは画像レイヤーより上に */
#main-top-slide .swiper-slide h3,
#main-top-slide .swiper-slide p{
  position: absolute;
  z-index: 5;
}

/* このクラスが付いた時だけ再生（＝静止時間中に動く） */
#main-top-slide .swiper-slide.is-animating > a::before{
  animation: kb-out var(--slide-kenburns-duration) linear forwards;
}

@keyframes kb-out{
  to{
    transform: scale(1.00);                  /* 1.06 → 1.00 へ“引く” */
    filter: brightness(0.95) saturate(0.95); /* ほんの少しトーンダウン＝フェード感 */
    opacity: 0.98;
  }
}


.main-top [class^="swiper-button-"]::after{
    content: "";
}
.progressbar{
	position: relative;
	width: 88px;
	height: 1px;
	margin-top: -35px;
	background: #A0A0A0;
	overflow: hidden;
	z-index: 3;
	float:right;
	margin-right:85px;
}
.progressbar span{
	display: inline-block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	background: #fff;
	border-radius: 7px;
	transform: scaleX(0);
	transform-origin: left center;
	transition-timing-function: linear;
}
/* ページネーション */
.swiper-pagination {
  	color: #fff;
	font-size:17px;
	font-family: 'EB Garamond', serif;
	margin-bottom:15px;
	padding-right:30px;
	text-align: right!important;
	z-index: 5!important;
}
.scrolldown1 {
  position: absolute;
  left: 50%;
  bottom: 3px;
  height: 50px;
  z-index: 2;
}

.line {
  position: absolute;
  top: 22px;
  width: 1px;
  height: 22px;
  background: #A0A0A0;
}

.line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 0; /* 初期は0px */
  background: #ffffff; /* 明るい色に変わる線 */
  animation: linemove 2.4s ease-in-out infinite;
}

.scroll-text {
	position: absolute;
	top: 0;
	left: -23px;
	width:60px;
	letter-spacing: 0;
	color:#fff;
	font-family: 'Roboto', sans-serif;
	font-size:11px;
}
.char {
  display: inline-block;
  opacity: 1;
  animation: charmove 2.4s ease-in-out infinite; /* アニメーション時間を●と同じに */
}

@keyframes linemove {
  0% {
    height: 0;
    opacity: 1;
  }
  70% {
    height: 100%; /* 下まで伸びる */
    opacity: 1;
  }
  100% {
    height: 100%;
    opacity: 0; /* 消えてリセット */
  }
}
/* 時間パラメータ（JSが上書き） */
:root{
  --text-enter-delay: 1350ms;               /* 新スライドの“入れ”開始時刻（初期値） */
  --text-in-duration: 520ms;
  --text-ease: cubic-bezier(.22,.61,.36,1);
}

/* 初期は見せない＆少し下に。出る/消える用のトランジションも定義 */
#main-top-slide .swiper-slide h3,
#main-top-slide .swiper-slide p{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 260ms var(--text-ease), transform 360ms var(--text-ease);
}

/* 新アクティブの“入れ”用（JSで .text-enter を付ける） */
#main-top-slide .swiper-slide.text-enter h3{
  animation: text-up var(--text-in-duration) var(--text-ease) forwards;
  animation-delay: var(--text-enter-delay);
}
#main-top-slide .swiper-slide.text-enter p{
  animation: text-up var(--text-in-duration) var(--text-ease) forwards;
  animation-delay: calc(var(--text-enter-delay) + 100ms); /* 少し遅らせる */
}

/* 旧アクティブの“保持”用（フェード中に消えない） */
#main-top-slide .swiper-slide.text-hold h3,
#main-top-slide .swiper-slide.text-hold p{
  opacity: 1;
  transform: translateY(0);
}

/* 旧アクティブの“出し”用（終盤でスッと下げて消す） */
#main-top-slide .swiper-slide.text-out h3,
#main-top-slide .swiper-slide.text-out p{
  opacity: 0;
  transform: translateY(6px);
  transition-duration: 220ms, 260ms;
}

@keyframes text-up{
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

#fixed-header {
	position: fixed;
	top: -90px;  
	width: 100%;
	height: 90px;
	color: #fff;
	background: white;
	box-sizing: border-box;
	transition: 1s;
	z-index: 5;
	border-bottom:1px solid #ccc;
	line-height: 90px;
}
#fixed-header.is-show {
 	top: 0;
}
#fixed-header .h_logo{
	margin:15px 0 0 35px;
}
#fixed-header .nav_menu{
	position: absolute;
	top:30px;
	right:100px;
	list-style: none;
}
#fixed-header .nav_menu{
	top:0;
}
#fixed-header .nav_menu li{
	float:left;
	font-size:13px;
	margin-right:25px;
	position: relative;
}
#fixed-header .nav_menu li img{
	vertical-align: middle;
}
#fixed-header .nav_menu li a{
	text-decoration: none;
	color:#505050;
}
/*下の階層を持っているulの指定*/
#fixed-header .nav_menu li.has-child ul{
    /*絶対配置で位置を指定*/
  position: absolute;
  left:0;
  top:89px;
  z-index: 4;
  width:320px;
    /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
    /*アニメーション設定*/
  transition: all .3s;
  border:1px solid #ccc;
  background:#fff;
  padding:20px 0 20px 40px;
}
/*hoverしたら表示*/
#fixed-header .nav_menu li.has-child:hover > ul,
#fixed-header .nav_menu li.has-child ul li:hover > ul,
#fixed-header .nav_menu li.has-child:active > ul,
#fixed-header .nav_menu li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}
#fixed-header .nav_menu li.has-child ul li{
	display: block;
	float:none;
	height:40px;
	line-height: 40px;;
}

.tokushuuBanner{
	display: block;
	margin: 0 auto 80px auto;
}
/* PickUP */

#pickup h1,#itemlist h1{
	font-size:26px;
	font-family: 'Cormorant Garamond', serif;
	text-align: center;
	letter-spacing:1.6px;
	font-weight:normal;
	color:#333333;
	margin-bottom:20px;
	font-weight: 600;
}
#pickup .marquee-swiper{
	width: 98vw;
	max-width: 98vw;
	margin-left: calc(1%);
	margin-right: calc(50% - 50vw);
	margin-bottom: 100px;
}

#pickup .marquee-swiper .swiper-slide{
  box-sizing: border-box;
}
#pickup .marquee-swiper .swiper-slide a{
  display: block; 
  text-decoration: none;
  color: #333;
}

#pickup .marquee-swiper .swiper-slide img{
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 11px;
  border-radius: 5px;
}
/***
 商品一覧
***/
#itemlist .item_box_top{
	list-style: none;
	margin-bottom:10px;
	width:880px;
	margin:50px auto 0 auto;
}
#itemlist .item_box_top li{
	float: left !important;;
	margin-right:10px;
	width: 116px ;
	font-size:12px;
	text-align: center;
	margin-bottom:30px;
	height:110px!important;;
}
#itemlist .item_box_top li a{
	display: block;
	text-decoration: none;
	color:#333333;
}
#itemlist .item_box_top li img{
	display: block;
	margin:0 auto;
}
#itemlist .item_box_top li:hover img {
    transform: scale(1.1);
	opacity: 0.6;
	transition: transform 0.8s ease; 
}

#itemlist .item_box_top li:nth-child(7),
#itemlist .item_box_top li:nth-child(14){
	margin-right:0;
}

/***
ギフト
***/

#gift{
	margin-top:120px;
	text-align: center;
}
#gift h2,#brand h2{
	margin-top:70px;
	font-size: 90px;
	font-family: 'Cormorant Garamond', serif;
	text-align: center;
	letter-spacing: 1.6px;
	font-weight: normal;
	color: #333333;
	margin-bottom: 20px;
	font-weight: 500;
}
#gift h2 span,#brand h2 span{
	font-weight: 600;
	display: block;
	color:#C7BA9A;
	font-family: 'Roboto', sans-serif; 
	font-size:14px!important;
}
#gift h3.gift,#brand h3.gift{
	font-family: 'Shippori Mincho B1', serif;
	font-size:20px;
	margin:20px 0 100px 0;
	font-weight: 600;
}
#gift h4{
	font-family: 'Cormorant Garamond', serif;
	font-size:38px;
	font-weight: 600;
	margin-bottom:40px;
	text-align: left;
}
#gift h4 span{
	font-family: 'Shippori Mincho B1', serif;
	font-size:30px;
	font-weight: 600;
}
#gift h4 img{
	vertical-align: middle;
	margin:0 5px;
}
#gift .swiper-slide { 
	width: 205px !important;
	box-sizing: border-box;
}
/* ボタンの基準にする */
#gift .swiper-block{
  position: relative;
}
.bleed-right{
  position: relative;
  width: calc(50vw + 440px); /* = 画面の半分 + 880px の半分 */
}
#gift .flexbox{	
	margin-bottom:40px;
	overflow: hidden;
	text-align: left;
}
#gift .flex-item {
    margin-bottom: 50px;
}
/**４つのアイテムを横並びにするための調整**/
#gift .flexbox .flex-item:nth-child(4n){
	margin-right: 0;
}
#gift .flex-item a{
	text-decoration: none;
	color:#333333;
}
#gift .flexbox span.icon, #gift .flexbox span.icon_none{
	font-size:12px;
	height: 22px;
	line-height: 22px;
	display: inline-block;
	background-color: #333333;
	color:#ffffff;
	text-align: center;
	border-radius: 3px;
	padding:0 7px;
	margin-bottom:5px;
}
#gift .flexbox span.icon_none{
	height: 0;
	margin-bottom:0;
}

#gift .flex-item img{
	display: block;
	margin: 0 auto;
}

#gift .flex-item h3{
	font-size: 13px;
	margin-top: 13px;
	margin-bottom: 10px;
	font-weight: normal;
	line-height: 22px;
}

#gift .flex-item p {
	font-size: 14px;
	font-weight: 600;
}
#gift .flex-item p span{
	font-size:12px;
	font-weight: normal;;
}
#gift [class^="swiper-button-"]::after{
    content: "";
}
/* ボタンの見た目と位置（上下中央に固定） */
#gift .swiper-button-prev3,
#gift .swiper-button-next3,
#gift .swiper-button-prev4,
#gift .swiper-button-next4,
#gift .swiper-button-prev5,
#gift .swiper-button-next5,
#gift .swiper-button-prev6,
#gift .swiper-button-next6,
#gift .swiper-button-prev7,
#gift .swiper-button-next7
 {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  width: 50px; height: 50px;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 999;            /* 両方に付ける：上に出す */
  pointer-events: auto;  /* 念のため */
}

/* 左右の位置（外側に出したいならマイナスでもOK／切り落とし注意） */
#gift .swiper-button-prev3{ left: -80px; }
#gift .swiper-button-next3{ left: 960px; }
#gift .swiper-button-prev4{ left: -80px; }
#gift .swiper-button-next4{ left: 960px; }
#gift .swiper-button-prev5{ left: -80px; }
#gift .swiper-button-next5{ left: 960px; }
#gift .swiper-button-prev6{ left: -80px; }
#gift .swiper-button-next6{ left: 960px; }
#gift .swiper-button-prev7{ left: -80px; }
#gift .swiper-button-next7{ left: 960px; }


/* Swiperの既定の疑似要素アイコンは消してOK（カスタム画像を使うため） */
#gift [class^="swiper-button-"]::after{ content: none; }

/* スライドがボタンより上に来ないよう、スライダー側は z-index を低めに */
#gift .swiper3{ position: relative; z-index: 1; }
#gift .swiper4{ position: relative; z-index: 1; }
#gift .swiper5{ position: relative; z-index: 1; }
#gift .swiper6{ position: relative; z-index: 1; }
#gift .swiper7{ position: relative; z-index: 1; }

#gift img.hoshi{
	width: 16px !important;
	height: auto!important;
	display: inline!important;
}
#gift .o-rating{
	margin:0 5px 0 10px;
	font-family: 'Roboto', sans-serif;
	letter-spacing: 1px;
	font-weight: 600;
	vertical-align: middle;
}
#gift .review-count{
	font-family: 'Roboto', sans-serif;
	font-size:10px!important;
	letter-spacing: 1px;
	font-weight: 600!important;
	vertical-align: middle;
}

/***おすすめコンテンツ
***/

#osusume{
	width:860px;
	margin: 100px auto 0 auto;
}
#osusume img{
	margin-bottom:12px;
}

/*** 
探す
***/
#search{
	width: 860px;
	margin: 100px auto 0 auto;
	text-align: center;
}
#search h2{
	font-size:20px;
	font-family: 'Shippori Mincho B1', serif;
	font-weight: 600;
	margin-bottom:20px;
}
#search ul{
	list-style: none;
	margin-bottom:50px;
}
#search ul li{
	width:278px;
	height:50px;
	line-height: 50px;
	font-size:14px;
	border:1px solid #a0a0a0;
	float:left;
	margin-right:12px;
	margin-bottom:12px;
	background:#fff url("../images/top/search.svg") no-repeat;
	background-size:8px 15px;
	background-position: center right 18px;
	transition: all 0.3s;
}
#search ul li a{
	display: block;
	text-decoration: none;
	color:#333333;
	
}
#search ul li:nth-child(3n){
	margin-right:0;
}
#search ul li:hover{
	opacity: 0.8;
	background:#fff url("../images/top/search.svg") no-repeat;
	background-size:8px 15px;
	background-position: center right 10px;
}
#search .kakaku li{
	background:#e7e7e6 url("../images/top/search.svg") no-repeat!important;
	background-size:8px 15px!important;
	background-position: center right 18px!important;
}
#search .kakaku li:hover{
	background:#e7e7e6 url("../images/top/search.svg") no-repeat!important;
	background-size:8px 15px!important;
	background-position: center right 10px!important;
}
#search .who li{
	background:#ece8dd url("../images/top/search.svg") no-repeat!important;
	background-size:8px 15px!important;
	background-position: center right 18px!important;
}
#search .who li:hover{
	background:#ece8dd url("../images/top/search.svg") no-repeat!important;
	background-size:8px 15px!important;
	background-position: center right 10px!important;
}

/**
ブランド
***/

#brand{
	width:860px;
	margin:0 auto;
	text-align: center;
}
#brand .brand_waku_k, #brand .brand_waku_b, #brand .brand_waku_m{
	width:860px;
	height:242px;
	border-radius: 10px;
	background:#181f6c;
	position: relative;
	margin:10px 0 50px 0;
}
#brand .brand_waku_k img, #brand .brand_waku_m img{
	border-radius: 10px 0 0 10px;
}
 #brand .brand_waku_b img{
	border-radius: 0 10px 10px 0;
 }
#brand .brand_waku_b{
	background:#6a6d6c;
}
#brand .brand_waku_m{
	background:#efefee;
}
#brand .brand_waku_k a.series, #brand .brand_waku_k a.about, #brand .brand_waku_b a.series, #brand .brand_waku_b a.about,
#brand .brand_waku_m a.series, #brand .brand_waku_m a.about{
	display: block;
	width:350px;
	height:82px;
	color:#ffffff;
	z-index: 999;
	float:left;
	font-family: 'Cormorant Garamond', serif;
	font-size:27px;
	letter-spacing: 1px;
	text-decoration: none;
	text-align: left;
	font-weight: normal;
	padding:13px 0 0 25px;
	box-sizing: border-box;
	margin-left:38px;
	margin-top:35px;
	background:#181f6c url("../images/top/yjirushi_white.svg") no-repeat;
	background-size: 36px 36px;
	background-position:  center right 30px;
	transition: all 0.3s;
}
#brand .brand_waku_b a.series, #brand .brand_waku_b a.about, #brand .brand_waku_m a.series, #brand .brand_waku_m a.about{
	background:#6a6d6c url("../images/top/yjirushi_white.svg") no-repeat;
	background-size: 36px 36px;
	background-position:  center right 30px;
}
#brand .brand_waku_m a.series, #brand .brand_waku_m a.about{
	background:#efefee url("../images/top/yjirushi_gold.svg") no-repeat;
	background-size: 36px 36px;
	background-position:  center right 30px;
	color:#333;
}
#brand .brand_waku_k a.about, #brand .brand_waku_b a.about, #brand .brand_waku_m a.about{
	margin-top:5px;
}
#brand .brand_waku_k a.series span, #brand .brand_waku_k a.about span, #brand .brand_waku_b a.series span, #brand .brand_waku_b a.about span, #brand .brand_waku_m a.series span, #brand .brand_waku_m a.about span{
	display: block;
	font-size:13px;
	font-family: "dnp-shuei-gothic-kin-std", sans-serif;
}
#brand .brand_waku_k hr, #brand .brand_waku_b hr, #brand .brand_waku_m hr{
	border:0;
	border:1px solid #fff;
	width:306px;
	top:120px;
	right:61px;
	opacity: 0.2;
	position: absolute;
}
#brand .brand_waku_b hr{
	left:61px;
	right:0;
}
#brand .brand_waku_m hr{
	border:1px solid #dcdcdc;
	opacity: 1;
}
#brand .brand_waku_k a.series:hover, #brand .brand_waku_k a.about:hover, #brand .brand_waku_b a.series:hover, #brand .brand_waku_b a.about:hover, #brand .brand_waku_m a.series:hover, #brand .brand_waku_m a.about:hover{
	background-position:  center right 25px;
}
/**
香蘭社の歴史
***/
#history{
	background:#ece8dd;
	text-align: center;
	padding:90px 0 100px 0;
	margin-top:90px;
	margin-bottom:80px;
}
#history h2{
	margin-top:70px;
	font-size: 90px;
	font-family: 'Cormorant Garamond', serif;
	text-align: center;
	letter-spacing: 1.6px;
	font-weight: normal;
	color: #333333;
	margin-bottom: 20px;
	font-weight: 500;
}
#history h2 span{
	font-weight: 600;
	display: block;
	color:#C7BA9A;
	font-family: 'Roboto', sans-serif; 
	font-size:14px!important;
}
#history h3.gift{
	font-family: 'Shippori Mincho B1', serif;
	font-size:20px;
	margin:20px 0 100px 0;
	font-weight: 600;
}
#history .history_link{
	width:650px;
	margin:50px auto 0 auto;
}
#history .story_link{
	background: url("../images/top/story_link2.svg") no-repeat;
	background-size: 30px 30px;
	background-position: center right 0;
	line-height: 30px;
	color:#333333;
	font-size:17px;
	display: inline-block;
	font-family: 'Shippori Mincho B1', serif;
	text-decoration: none;
	position: relative;
	margin:35px 35px 35px 0;
	font-weight: 600;
	padding-right:40px;
	
	position: relative;
}
#history .story_link::after{
	position: absolute;
	border-bottom:1px solid #a18b5b;
	display: block;
	content: "";
	left:0;
	width:calc(100% - 40px);
	bottom:0px;
	transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
	transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
	transition: transform 0.3s; /*変形の時間*/
}
#history .story_link:hover::after{
	transform: scale(1, 1); /*ホバー時の変形（アンダーラインの伸長）*/
}

/***
お知らせ
***/
#information_koransha{
	width:860px;
	margin:0 auto;
}
#information_koransha h2{
	text-align: center;
	font-size:38px;
}
#information_koransha h2 span{
	font-size:30px;
}
#information_koransha ul li{
	height:60px;
	border-top:1px solid #efefee;
	line-height: 60px;
	list-style: none;
	font-size:14px;
	background: url("../images/layout/next.svg") no-repeat;
	background-size: 15px 15px;
	background-position: center right 15px;
	transition: all 0.3s;
}
#information_koransha ul li:hover{
	background: url("../images/layout/next.svg") no-repeat;
	background-size: 15px 15px;
	background-position: center right 5px;
}
#information_koransha ul li:last-child{
	border-bottom:1px solid #efefee;
}
#information_koransha ul li a{
	color:#333333;
	position: relative;
	text-decoration:none;
}
#information_koransha ul li a::after{
	position: absolute;
	border-bottom:1px solid #666;
	display: block;
	content: "";
	left:0;
	width:calc(100%);
	bottom:-2px;
	transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
	transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
	transition: transform 0.3s; /*変形の時間*/
}
#information_koransha ul li a:hover::after{
	transform: scale(1, 1); /*ホバー時の変形（アンダーラインの伸長）*/
}
#information_koransha ul li span{
	font-family: 'Roboto', sans-serif;
	
	display: inline-block;
	margin-right: 35px;
}

/***
関連リンク***/

#kanren_link{
	width:860px;
	margin:80px auto 100px auto;
}
#kanren_link img{
	margin-bottom:13px;
}
#kanren_link a{
	transition: all 0.3s;
}
#kanren_link a:hover{
	opacity: 0.8;
}