#main-top-slide{
	margin-bottom:40px;
	position: relative;
}
#main-top-slide .swiper-container{
	width:100%; height:auto;
}
#main-top-slide .swiper-wrapper  { height:auto; }

#main-top-slide .swiper-slide{
    width:100% !important;
    height:auto !important;
    aspect-ratio: 1 / 1;          /* 正方形 */
    background: none;
 }
/* 全面クリック用（任意） */
#main-top-slide .swiper-slide > a{
	display:block;
	width:100%;
	height:100%;
	position: relative;
	overflow: hidden;
	background: none;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0);
}
/* 各スライドの画像はCSS変数に格納（::beforeで使用） */
.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'); }
/* デフォルト尺（JSで上書きされます） */
:root{
  --slide-kenburns-duration: 5000ms;
  --sp-dim-opacity: 0.18;   /* ← フェード感の強さ（0.12～0.25で調整） */
}

/* 画像レイヤー本体（ここをアニメ） */
#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: cover;
  transform: scale(1.08);
  opacity: 1;
  will-change: transform, filter, opacity;
}
#main-top-slide .swiper-slide.is-animating > a::before{
  animation: kb-out var(--slide-kenburns-duration) linear forwards;
}
/* フェード用の黒オーバーレイ（opacityだけ動かすので軽い） */
#main-top-slide .swiper-slide > a::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;               /* ::beforeの上、テキスト(h3/p)の下 */
  background: #000;
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}
/* アクティブ中だけKen Burns再生（JSで .is-animating を付与） */
#main-top-slide .swiper-slide.is-animating > a::after{
  animation: kb-dim var(--slide-kenburns-duration) linear forwards;
}

@keyframes kb-out{
  to{ transform: scale(1.00); }  /* 1.08 → 1.00 へ“引く”のみ */
}
@keyframes kb-dim{
  to{ opacity: var(--sp-dim-opacity); }      /* 0 → 0.18（調整可） */
}
/* テキストは画像レイヤーより上に（安全のため重ね指定） */
#main-top-slide .swiper-slide h3{ z-index: 5; }
#main-top-slide .swiper-slide p{  z-index: 5; }


#main-top-slide .progressbar{
	position: relative;
	width: 58px;
	height: 1px;
	margin-top: -25px;
	background: #A0A0A0;
	overflow: hidden;
	z-index: 3;
	float:right;
	margin-right:54px;
}
.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;
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translateZ(0) scaleX(0); /* 初期値の明示 */
}
/* ページネーション */
.swiper-pagination {
	position: absolute!important;
  	color: #fff;
	font-size:14px;
	font-family: 'EB Garamond', serif;
	bottom:15px!important;
	padding-right:18px;
	text-align: right!important;
	z-index: 5!important;
}
.scrolldown1 {
  position: absolute;
  right:60px;
  bottom: 45px;
  height: 27px;
}
#main-top-slide .swiper-slide h3{
	color:#fff;
	font-size:12px;
	position: absolute;
	font-family: 'Shippori Mincho B1', serif;
	font-weight: 500;
	z-index: 5;
	bottom:18px;
	left:20px;
	letter-spacing: 1px;
}
#main-top-slide h3::first-line{
	font-family: 'Cormorant Garamond', serif!important;
	font-size:13px!important;
	letter-spacing: 2.2px!important;
	font-weight: 600;
}
#main-top-slide .swiper-slide p{
	display: none;
}
/* ── テキスト出現のタイミング（JSが --text-enter-delay を上書き）── */
:root{
  --text-enter-delay: 1350ms;                 /* 初回の入りを待たせすぎない既定値 */
  --text-in-duration: 480ms;                  /* 出現の速さ（SPは少し短めに） */
  --text-ease: cubic-bezier(.22,.61,.36,1);   /* きびきびイージング */
}

/* 初期：非表示＆少し下に（h3/p 共通。pは今は display:none なので実質 h3 用） */
#main-top-slide .swiper-slide h3,
#main-top-slide .swiper-slide p{
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 220ms var(--text-ease), transform 300ms var(--text-ease);
}

/* 新アクティブの“入れ”（JSが .text-enter を付与） */
#main-top-slide .swiper-slide.text-enter h3{
  animation: sp-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: sp-text-up var(--text-in-duration) var(--text-ease) forwards;
  animation-delay: calc(var(--text-enter-delay) + 80ms);
}

/* 切替中は保持（早消え防止） */
#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: 180ms, 220ms;
}

@keyframes sp-text-up{
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 動きが苦手な方の配慮（任意） */
@media (prefers-reduced-motion: reduce){
  #main-top-slide .swiper-slide h3,
  #main-top-slide .swiper-slide p{
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.tokushuuBanner{
	display: block;
	width:calc(100% - 30px);
	margin:20px auto;
}

/* PickUP */

#pickup h1,#itemlist h1{
	font-size:19px;
	font-family: 'Cormorant Garamond', serif;
	text-align: center;
	letter-spacing:1.6px;
	font-weight:normal;
	color:#333333;
	margin-bottom:14px;
	font-weight: 600;
}
/* 画面端まで（フルブリード） */
#pickup .marquee-swiper{
  width: 100vw;
  max-width: 100vw;

  margin-bottom:60px;
}

/* スライド1枚の幅固定（余白はJSの spaceBetween で付ける） */
#pickup .marquee-swiper .swiper-slide{
  font-size:13px;
}

/* お好み：画像の見た目調整 */
#pickup .marquee-swiper .swiper-slide img{
  display:block;
  width:100%;
  height:auto;
  margin-bottom:11px;
}
#pickup .marquee-swiper .swiper-slide a{
	text-decoration: none;
	color:#333;
}
/***
 商品一覧
***/
#itemlist .item_box_top{
	list-style: none;
	margin-bottom:10px;
	width:273px;
	margin:10px auto 0 auto;
}
#itemlist .item_box_top li{
	float: left !important;;
	width: 33.333%;
	font-size:11px;
	text-align: center;
	margin-bottom:16px;
	height:80px!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;
	width:60px;
	height:60px;
}
#itemlist .line_link_sp{
	width:230px;
	height:30px;
	line-height: 30px;
	text-align: center;
	border-radius: 50px;
	border:1px solid #CFCFCF;
	letter-spacing: 12%;
	color:#333;
	text-decoration: none;
	font-size:11px;
	margin:20px auto 0 auto;
	background:url("../../images/top/link.svg") no-repeat;
	background-size: 15px 15px;
	background-position: center right 10px;
}

/***
ギフト
***/

#gift{
	text-align: center;
	width:100% ;
	margin:80px auto 0 auto;
}
#gift .w880::after {
  content: "";
  display: block;
  clear: both;
}
#gift .gift_img{
	margin:0 12.5px;
	width:calc(100% - 25px);
}
#gift h2,#brand h2{
	font-size: 40px;
	font-family: 'Cormorant Garamond', serif;
	text-align: center;
	letter-spacing: 1.6px;
	font-weight: normal;
	color:#505050;
	margin-bottom: 10px;
	font-weight: 500;
	margin-top:24px;
}
#gift h2 span,#brand h2 span{
	font-weight: 500;
	display: block;
	color:#C7BA9A;
	font-family: 'Roboto', sans-serif; 
	font-size:8px!important;
}
#gift h3.gift,#brand h3.gift{
	font-family: 'Shippori Mincho B1', serif;
	font-size:20px;
	margin:20px 0 30px 0;
	font-weight: 600;
}
@media screen and (max-width: 330px) {
	#gift h3.gift,#brand h3.gift{
	font-size:17px;
}
}
#gift h4{
	font-family: 'Cormorant Garamond', serif;
	font-size:28px;
	font-weight: 600;
	margin-bottom:15px;
	text-align: left;
	margin-left:30px;
	clear:both;
}
#gift h4 span{
	font-family: 'Shippori Mincho B1', serif;
	font-size:21px;
	font-weight: 600;
}
#gift h4 img{
	vertical-align: middle;
	margin:0 5px;
	width:6px;
	height:19px;
}

#gift .flexbox{
	width:calc(100% - 30px);
	margin-left:30px;
	text-align: left;
}
#gift .flex-item a{
	text-decoration: none;
	color:#333;
}
#gift .flex-item h3{
	font-size:12px;
	line-height: 17px;
	margin-bottom:5px;
}
#gift .flex-item p {
	font-size: 13px;
	font-family: 'Roboto', sans-serif;
	letter-spacing: 2px;
	font-weight: 600;
	
}
#gift .flex-item p span, #recommend2 .flex-item p span{
	font-size:10px;
	font-weight: normal;;
	font-family: "dnp-shuei-gothic-kin-std", sans-serif;
}
#gift .flexbox span.icon, #gift .flexbox span.icon_none{
	font-size:11px;
	height: 17px;
	line-height: 17px;
	display: inline-block;
	background-color: #333333;
	color:#ffffff;
	text-align: center;
	border-radius: 3px;
	padding:0 7px;
	margin-bottom:9px;
}
#gift .flexbox span.icon_none{
	background-color: #fff;
}
/* ボタンの見た目と位置（上下中央に固定） */
#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{
	display: none;
}
#gift img.hoshi{
	width: 15px !important;
	height: auto!important;
	display: inline!important;
}
#gift .o-rating{
	margin:0 2px 0 5px;
	font-family: 'Roboto', sans-serif;
	letter-spacing: 1px;
	font-weight: 600;
	vertical-align: middle;
	font-size:12px;
}
#gift .review-count{
	font-family: 'Roboto', sans-serif;
	font-size:10px!important;
	letter-spacing: 1px;
	font-weight: 600!important;
	vertical-align: middle;
}
#gift .swiper-container3,#gift .swiper-container4,#gift .swiper-container5,#gift .swiper-container6,#gift .swiper-container7{
	width:calc(100% - 30px);
	overflow: hidden;
}
#gift a.line_link2{
	position:relative;
	color:#333;
	padding: 12px 0 0 45px;
	display:block;
	text-decoration: none;
	outline: none;
	width:123px;
	float:right;
	height:30px;
	line-height: 30px;
	box-sizing: border-box;
	font-size:11px;
	margin-bottom:50px;
	margin-right:30px;
}

/*線の設定*/
a.line_link2::before,
a.line_link2::after{
  content:'';
    /*絶対配置で線の位置を決める*/
  position:absolute;
  z-index:1;
  bottom:0;
  left:0;
     /*線の形状*/   
  background:#a0a0a0;
  width:50px;
  height:1px;
    /*アニメーションの指定*/
  transition:all 0.3s ease-in-out;
}

 /*hover時に伸びる線の形状*/   
a.line_link2::after{
  width:0;
  background:#dcdcdc;
}

 /*hover時に100%に伸びる*/   
a.line_link:hover::after {
  width:50px;
}
 /*矢印の設定*/   
a.line_link2 span::after {
    content: '';
    position: absolute;
    top: 23px;
    right: 0; 
    width: 10px;
    height: 10px;
    border-top: 1px solid #a0a0a0;
    border-right: 1px solid #a0a0a0;
    transform: rotate(45deg);
    transition: all .3s;
}
/***おすすめコンテンツ
***/

#osusume{
	width:calc(100% - 30px);
	margin: 80px auto 0 auto;
}
#osusume img{
	margin-bottom:10px;
}
/*** 
探す
***/
#search{
	width:calc(100% - 33px);
	margin: 80px auto 0 auto;
	text-align: center;
}
#search h2{
	font-size:16px;
	font-family: 'Shippori Mincho B1', serif;
	font-weight: 600;
	margin-bottom:20px;
}
#search ul{
	list-style: none;
	margin-bottom:30px;
}
#search ul li{
	width:calc(50% - 4px);
	height:32px;
	line-height: 32px;
	font-size:11px;
	border:1px solid #a0a0a0;
	float:left;
	margin-bottom:8px;
	background:#fff url("../../images/top/search.svg") no-repeat;
	background-size:5px 11px;
	background-position: center right 10px;
	transition: all 0.3s;
}

#search ul li:nth-child(odd){
	margin-right:8px;
} 

#search ul li a{
	display: block;
	text-decoration: none;
	color:#333333;
	
}

#search .kakaku li{
	background:#e7e7e6 url("../../images/top/search.svg") no-repeat!important;
	background-size:5px 11px!important;
	background-position: center right 10px!important;
}
#search .who li{
	background:#ece8dd url("../../images/top/search.svg") no-repeat!important;
	background-size:5px 11px!important;
	background-position: center right 10px!important;
}
/**
ブランド
***/

#brand{
	width:calc(100% - 30px);
	margin: 50px auto 0 auto;
	text-align: center;
}
#brand h3.gift{
	font-family: 'Shippori Mincho B1', serif;
	font-size:14px;
	margin:20px 0 30px 0;
	font-weight: 600;
}
#brand .brand_logo_img{
	width:182px;
	height:auto;
}
#brand .brand_waku_k, #brand .brand_waku_b, #brand .brand_waku_m{
	width:100%;
	border-radius: 10px;
	background:#181f6c;
	position: relative;
	margin:10px 0 40px 0;
	padding-bottom:30px;
}
#brand .brand_waku_k img, #brand .brand_waku_b img, #brand .brand_waku_m img{
	border-radius: 10px 10px 0 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:calc(100% - 60px);
	height:60px;
	color:#ffffff;
	z-index: 999;
	font-family: 'Cormorant Garamond', serif;
	font-size:24px;
	letter-spacing: 1px;
	text-decoration: none;
	text-align: left;
	font-weight: normal;
	padding:13px 0 0 65px;
	box-sizing: border-box;
	margin-top:10px;
	background:#181f6c url("../../images/top/yjirushi_white.svg") no-repeat;
	background-size: 30px 30px;
	background-position: top  25px right 5px;
	transition: all 0.3s;
	box-sizing: border-box;
}

#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: 30px 30px;
	background-position: top  25px right 5px;
}
#brand .brand_waku_m a.series, #brand .brand_waku_m a.about{
	background:#efefee url("../../images/top/yjirushi_gold.svg") no-repeat;
	background-size: 30px 30px;
	background-position: top  25px right 5px;
	color:#333;
}
#brand .brand_waku_k a.about, #brand .brand_waku_b a.about, #brand .brand_waku_m a.about{
	margin-top: 0px !important;;
}
#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:11px;
	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:calc(100% - 120px);
	opacity: 0.2;
	margin:15px auto 0 auto;
}
#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;
}
@media (max-width: 350px){
	#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{
		padding:13px 0 0 35px;
		width:calc(100% - 30px);
	}
	#brand .brand_waku_k hr, #brand .brand_waku_b hr, #brand .brand_waku_m hr{
		width:calc(100% - 30px);
	}
}
/**
香蘭社の歴史
***/
#history{
	background:#ece8dd;
	text-align: center;
	padding:0 0 40px 0;
	margin-top:80px;
	margin-bottom:80px;
}
#history h2{
	margin-top:30px;
	font-size: 40px;
	font-family: 'Cormorant Garamond', serif;
	text-align: center;
	letter-spacing: 1.6px;
	font-weight: normal;
	color: #505050;
	margin-bottom: 20px;
	font-weight: 500;
}
#history h2 span{
	font-weight: 600;
	display: block;
	color:#C7BA9A;
	font-family: 'Roboto', sans-serif; 
	font-size:8px!important;
}
#history h3.gift{
	font-family: 'Shippori Mincho B1', serif;
	font-size:14px;
	margin:20px 0 20px 0;
	font-weight: 600;
}
#history .history_link{
	width:200px;
	margin:0 auto 0 auto;
}
#history .story_link{
	background: url("../../images/top/story_link2.svg") no-repeat;
	background-size: 20px 20px;
	background-position: center right 0;
	line-height: 20px;
	color:#333333;
	font-size:12px;
	display: inline-block;
	font-family: 'Shippori Mincho B1', serif;
	text-decoration: none;
	position: relative;
	margin:0 0 11px 0;
	font-weight: 600;
	padding-right:40px;
	position: relative;
}

#information_koransha{
	width:calc(100% - 50px);
	margin:0 auto 60px auto;
}
#information_koransha h2.main{
	width: 100% !important;
	text-align: left;
	font-size:23px;
}
#information_koransha ul{
	border-bottom:1px solid #efefee;
}
#information_koransha ul li{
	border-top:1px solid #efefee;
	list-style: none;
	font-size:13px;
	background: url("../../images/layout/next.svg") no-repeat;
	background-size: 10px 10px;
	background-position: center right 10px;
	padding:20px 50px 20px  0;
	box-sizing: border-box;
}
#information_koransha ul li a{
	color:#333333;
	text-decoration: none;
}
#information_koransha ul li span{
	font-family: 'Roboto', sans-serif;
	display: block;
	font-size:12px;
	font-weight: 500;
	margin-bottom:5px;
}
#information_koransha ul li a span{
	text-decoration: none!important;
}

/***
関連リンク***/

#kanren_link{
	width:calc(100% - 15px);
	margin:80px auto 80px auto;
}
#kanren_link img{
	margin-bottom:10px;
}
