body{
	background: var(--backgroundcolor);
}

/* トップスライダー：通常表示（481px以上）で画像に角丸（スマホは従来どおり） */
@media screen and (min-width: 481px) {
	.slider-wrapper .slider img,
	.slider-wrapper .bx-wrapper img {
		border-radius: 12px;
	}

	/* カルーセル：中央付近の1枚を通常、左右に見えている枚を少し薄く */
	.slider-wrapper .bx-viewport li {
		transition: opacity 0.4s ease;
	}
	.slider-wrapper .bx-viewport li.slider-slide-side {
		opacity: 0.65;
	}
	.slider-wrapper .bx-viewport li.slider-slide-main {
		opacity: 1;
	}
}

/* スライダー直下：PCは横一列、狭い画面は2カラム */
.index-slider-cta {
	width: 850px;
	max-width: 100%;
	margin: 6px auto 16px;
	padding: 0;
	box-sizing: border-box;
	font-family: "Zen Maru Gothic", sans-serif;
}
.index-slider-cta__title {
	margin: 0 0 12px;
	padding: 0;
	text-align: center;
	font-size: 1.15rem;
	font-weight: bold;
	color: var(--maincolor);
	line-height: 1.3;
}
.index-slider-cta__inner {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	justify-content: center;
	gap: 16px;
}
.index-slider-cta__btn {
	flex: 1 1 0;
	min-width: 0;
	border: 2px solid #e1b800;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 600;
	font-size: 1.6rem;
	line-height: 1.35;
	padding: 14px 18px;
	color: #313131;
	background: var(--maincolor);
	border-radius: 50px;
	transition: 0.3s ease-in-out;
	box-sizing: border-box;
}
.index-slider-cta__btn--with-balloon {
	position: relative;
	overflow: visible;
	background-image: url("/index/images/sp_quick_ods.png");
	background-repeat: no-repeat;
	background-position: 24px calc(100% + 8px);
	background-size: auto 98%;
	justify-content: flex-start;
	text-align: left;
	padding-left: 74px;
}
.index-slider-cta__btn--with-login {
	position: relative;
	overflow: visible;
	background-image: url("/index/images/sp_quick_login.png");
	background-repeat: no-repeat;
	background-position: 24px calc(100% + 8px);
	background-size: auto 98%;
	justify-content: flex-start;
	text-align: left;
	padding-left: 74px;
}
.index-slider-cta__balloon {
	position: absolute;
	left: 50%;
	top: -12px;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	background: #f05456;
	border-radius: 999px;
	padding: 6px 12px;
	pointer-events: none;
	animation: sliderCtaBalloonFloat 1.6s ease-in-out infinite;
}
.index-slider-cta__balloon::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -6px;
	border-style: solid;
	border-width: 6px 5px 0 5px;
	border-color: #f05456 transparent transparent transparent;
}
@keyframes sliderCtaBalloonFloat {
	0% {
		transform: translateX(-50%) translateY(0);
	}
	50% {
		transform: translateX(-50%) translateY(-4px);
	}
	100% {
		transform: translateX(-50%) translateY(0);
	}
}
.index-slider-cta__btn:hover {
	background-color: #2ab1e2;
	border-color: #2ab1e2;
	color: #fff;
	cursor: pointer;
}
.index-slider-cta__btn-line {
	display: block;
	position: relative;
	z-index: 1;
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 600;
}

.index-slider-cta__balloon {
	font-family: "Zen Maru Gothic", sans-serif;
	font-weight: 600;
}
@media screen and (min-width: 481px) {
	/* 固定幅だと iPad 等で横はみ出すため、最大幅のみ指定して親幅に収める */
	.index-slider-cta {
		width: 100%;
		max-width: 842px;
		padding: 0 1rem;
		box-sizing: border-box;
	}
	.index-slider-cta__inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}
	.index-slider-cta__btn {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 0.2em;
		border-radius: 12px;
		font-size: 1.9rem;
		align-items: flex-start;
		text-align: left;
		padding-left: 30px;
	}
	.index-slider-cta__btn--with-balloon {
		padding-left: 140px;
		padding-right: 42px;
		position: relative;
	}
	.index-slider-cta__btn--with-login {
		padding-left: 140px;
		padding-right: 42px;
		position: relative;
		background-size: auto 90%;
		background-position: 24px calc(100% + 2px);
	}
	.index-slider-cta__btn--with-balloon::after,
	.index-slider-cta__btn--with-login::after {
		content: "";
		position: absolute;
		right: 16px;
		top: 50%;
		width: 10px;
		height: 10px;
		border-top: 2px solid #c9a300;
		border-right: 2px solid #c9a300;
		transform: translateY(-50%) rotate(45deg);
		transition: border-color 0.3s ease-in-out;
	}
	.index-slider-cta__btn--with-balloon:hover::after,
	.index-slider-cta__btn--with-login:hover::after {
		border-top-color: #fff;
		border-right-color: #fff;
	}
	.index-slider-cta__balloon {
		top: -18px;
	}
}

/* iPad・タブレット幅：ボタン内余白を詰めて収まりをよくする */
@media screen and (min-width: 481px) and (max-width: 1024px) {
	/* CTA と直下メニューを共通ラッパーで左右位置を一致させる（二重パディングを避ける） */
	.index-top-cta-band {
		width: 100%;
		max-width: 850px;
		margin-left: auto;
		margin-right: auto;
		margin-top: 2rem;
		padding: 0 1rem;
		box-sizing: border-box;
	}
	.index-top-cta-band > .index-slider-cta {
		width: 100%;
		max-width: none;
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
		box-sizing: border-box;
	}
	/* メニュー項目の margin:0.5rem と縦位置を揃える（グリッドの見かけの左端を合わせる） */
	.index-top-cta-band .index-slider-cta__inner {
		padding-left: 0.5rem;
		padding-right: 0.5rem;
		box-sizing: border-box;
	}
	.index-top-cta-band .contents-menu {
		width: 100%;
		max-width: none;
		padding-left: 0;
		padding-right: 0;
		margin-left: 0;
		margin-right: 0;
		margin-top: 2.25rem;
		margin-bottom: 1.25rem;
		box-sizing: border-box;
	}
	.index-top-cta-band .index-slider-cta {
		margin: 1rem auto 1.75rem;
	}
	.index-slider-cta__btn {
		font-size: 1.55rem;
		padding-left: 16px;
	}
	.index-slider-cta__btn--with-login {
		padding-left: 138px;
		padding-right: 32px;
		background-position: 40px calc(100% + 2px);
	}
	.index-slider-cta__btn--with-balloon {
		padding-left: 128px;
		padding-right: 32px;
	}
	.index-slider-cta__btn--with-balloon::after,
	.index-slider-cta__btn--with-login::after {
		right: 10px;
	}
	.index-slider-cta__balloon {
		font-size: 1.05rem;
		padding: 5px 10px;
	}
}

@media screen and (max-width: 480px) {
	.slider-wrapper {
		width: 100%;
		margin: 0 auto 12px;
	}
	.slider-wrapper .bx-wrapper {
		width: 100%;
		max-width: none;
		margin-bottom: 0;
	}
	.index-slider-cta {
		width: 100%;
		padding: 0 1rem;
		margin: 18px auto 4px;
	}
	.index-slider-cta__title {
		font-size: 1rem;
		margin-bottom: 10px;
	}
	.index-slider-cta__inner {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		padding: 0 0.5rem;
	}
	.index-slider-cta__btn {
		flex: unset;
		flex-direction: column;
		justify-content: center;
		gap: 0.2em;
		font-size: 1.2rem;
		line-height: 1.3;
		padding: 12px 6px 8px;
		border-radius: 8px;
	}
	.index-slider-cta__balloon {
		top: -14px;
		font-size: 0.95rem;
		padding: 5px 9px;
	}
	.index-slider-cta__btn--with-balloon {
		background-position: -20px calc(100% + 8px);
		background-size: auto 98%;
		align-items: flex-start;
		padding-left: 44px;
	}
	.index-slider-cta__btn--with-login {
		background-position: 4px calc(100% + 8px);
		background-size: auto 92%;
		align-items: flex-start;
		padding-left: 62px;
	}
}






.contents-wrapper{
	width: 100%;
	max-width: var(--pcwidth);
	margin: 0 auto;
	text-align: center;
	box-sizing: border-box;
}
@media screen and (max-width:480px){
	.contents-wrapper{
		width: 98%;
		max-width: none;
		padding: 0;
	}
}

@media screen and (min-width:481px){
	.contents-wrapper{
		padding: 0 1rem;
	}
}


@media screen and (max-width:480px){
	#news-wrapper{
		margin-top: 20px;
	}
}
@media screen and (min-width:481px){

}


#news-wrapper{
	width: 100%;
	border: 1px solid var(--maincolor);
	border-radius: 8px;
	background: var(--white);
}
@media screen and (max-width:480px){
	.news-header{
		background: var(--maincolor);
		color: var(--white);
		text-align: center;
		border-radius: 8px 8px 0 0;
	}
	
	.moreinfo-container{
		display: none;
	}
}
@media screen and (min-width:481px){
	#news-wrapper{
		display: flex;
		overflow:hidden;
	}
	
	.news-header{
		background: var(--maincolor);
		padding: 10px;
		color: var(--white);
		position:relative;
		line-height: 1;
		flex-grow: 0;
		&:before{
	    position: absolute;
	    display: block;
	    content: "";
	    width:0px;
	    height:0px;
	    border-top: 30px solid transparent;
	    border-right: 0px solid transparent;
	    border-bottom: 30px solid transparent;
	    border-left: 25px solid var(--maincolor);
	    right:-25px;
	    bottom: 0;
	    top: calc((60px - 1em - 20px) / 2 * -1);
	 }
	}
}



#news-wrapper ul{
	list-style-type: none;
	
}
@media screen and (max-width:480px){
	#news-wrapper ul{
		margin: 5px 10px;
	}
}
@media screen and (min-width:481px){
	#news-wrapper ul{
		margin-left: 35px;
		padding: 5px 0 0 0;
		flex-grow: 1;
	}
}
#news-wrapper ul li{
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
#news-wrapper ul li b{
	margin-right: 5px;
}
.moreinfo{
	color: var(--maincolor);
	margin-right: 20px;
}


/* 新着 */
.ribbon-wrapper {  
  display: block;
  position: relative;
  margin: 15px auto;
  padding: 0px 0;
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
  }
.ribbon {  
  display: inline-block;
  position: absolute;
  top: -6px;
  left: 50px; /* 左端に移動 */
  margin: 0;
  padding: 10px 0;
  z-index: 2;
  width: 40px;
  text-align: center;
  color: #ffffff;
  font-size: 17px;
  background: linear-gradient(#ffaf4e 0%, #e47d0e 100%);
  border-radius: 0 2px 0 0; /* 角丸を左側用に調整 */
}
.ribbon:before {
  position: absolute;
  content: '';
  top: 0;
  left: -6px; /* 左側の三角形に変更 */
  border: none;
  border-bottom: solid 6px #a38f4d;
  border-left: solid 6px transparent; /* 方向を調整 */
}
.ribbon:after {
  content: '';
  position: absolute;
  right: 0; /* 右側に合わせる */
  top: 100%;
  height: 0;
  width: 0;
  border-left: 20px solid #e47d0e; /* 三角形の配置を維持 */
  border-right: 20px solid #e47d0e;
  border-bottom: 10px solid transparent;
}
@media screen and (max-width: 420px) {
	.ribbon {
		left: 20px;
	}
}

.news-wrapper {
  border: 1px solid var(--maincolor); /* 枠線 */
  padding: 0.8rem 3rem 1rem 3rem; /* 全体内側の余白 */
  border-radius: 1rem;
  background-color: white;
  background-image: linear-gradient(180deg, rgba(234,201,49,1), rgba(255, 255, 255, 1));
  background-size: 100% 60px; /* 幅は100%、高さは50px */
  background-repeat: no-repeat; /* グラデーションを繰り返さない */
}
.news-container {
  margin-top: 20px; /* セクションタイトルとの余白 */
}
.news-link {
  align-items: center; /* 上下中央 */
  text-align: left;
  display: flex; /* 日付&カテゴリーラベルと記事タイトルの横並び */
  padding-bottom: 10px; /* 内側下の余白 */
  padding-top: 10px; /* 内側上の余白 */
  position:relative;
}
.news-link:not(:first-of-type) {
  border-top: 1px dashed var(--maincolor); /* 記事リンク間の線 */
}
.news-info {
  align-items: center; /* 上下中央 */
  display: flex; /* 日付とカテゴリーの横並び */
  flex-shrink: 0; /* これが無いと日付・カテゴリーラベルが潰れる */
}
.news-date {
  color: #333; /* 日付の文字色 */
  font-size: 1.3rem; 
  font-weight: bold;
}
.news-category-info {
  background-color: #1cb4d3;
  color: #fff;
  font-size: 1.3rem; 
  min-width: 100px;
  text-align: center;
  border-radius: 0.3rem;
  margin-left: 10px; /* カテゴリーラベル左の余白 */
  padding: 5px; /* カテゴリーラベル内側の余白 */
}
.news-category-book {
  background-color: #fa8c78;
  color: #fff;
  font-size: 1.3rem; 
  min-width: 100px;
  text-align: center;
  border-radius: 0.3rem;
  margin-left: 10px; /* カテゴリーラベル左の余白 */
  padding: 5px; /* カテゴリーラベル内側の余白 */
}
.news-category-goods {
  background-color: #5fd777;
  color: #fff;
  font-size: 1.3rem; 
  min-width: 100px;
  text-align: center;
  border-radius: 0.3rem;
  margin-left: 10px; /* カテゴリーラベル左の余白 */
  padding: 5px; /* カテゴリーラベル内側の余白 */
}
.news-title {
  margin-left: 10px; /* 記事タイトル左の余白 */
  transition: opacity .5s; /* じんわり透過 */
  padding-right: 5px;
}
.news-title a {
  color: #333; /* 記事タイトルの文字色 */
  font-size: 1.3rem; 
  font-weight: normal;
  line-height: 1.5; /* テキストの行間 */
  text-align: left;
  text-decoration: underline;
}
.news-title:hover {
  opacity: 0.5; /* ホバーした時に記事タイトルを透過 */
  transition: opacity .2s; /* 透過速度 */
}
.news_btn {
	text-align: center;
	margin-top: 15px;
	padding-bottom: 15px;
}
.news_btn a {
	color: var(--maincolor);
}
.news_btn .btn {
	color: var(--maincolor);
	padding: 10px 50px;
	background: #fff;
	border: 2px solid var(--maincolor);
	border-radius: 50px;
	transition: all 0.5s;
}
.news_btn .btn:hover {
	color: #fff;
	background: var(--maincolor);
}
.news_btn .btn:after {
	font-family: 'Font Awesome 5 Free';
	content: "\f0da";
	font-weight: 900;
	padding-left: 10px;
}
@media screen and (max-width: 420px) {
	.news-category-info, .news-category-book, .news-category-goods {
		padding: 1px;
		font-size: 1.2rem;
	}
}
/* レイアウトのためのスタイル */
.news .inner {
  width: 100%;
}
.news a {
  text-decoration: none;
}
.news {
  margin-bottom: 20px;
  margin-top: 20px;
}

/* iPad・タブレット：NEWS 横サイズアウト防止（.contents-wrapper 幅に加え、flex 子の最小幅を緩める） */
@media screen and (min-width: 481px) and (max-width: 1024px) {
	section.news {
		max-width: 100%;
		overflow-x: hidden;
		box-sizing: border-box;
	}
	.news-wrapper {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
		box-sizing: border-box;
	}
	.news-link {
		min-width: 0;
	}
	.news-title {
		min-width: 0;
		flex: 1 1 auto;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
}

.section-title {
  font-size: 2.6rem; /* セクションタイトルのフォントサイズ */
  color: #ffffff;
  font-weight: 900;
  padding-top: 0.5rem;
  text-shadow: 0px 0px 5px #e1b400;
}
.news-link::after {
  content: ""; /* 空の内容を設定 */
  position: absolute;
  right: 10px; /* 右端に配置 */
  transform: translateY(-50%); /* 中央揃え */
  display: block;
  width: 10px; /* 矢印の幅 */
  height: 10px; /* 矢印の高さ */
  border: solid #eac931; /* 矢印の色 */
  border-width: 0 1px 1px 0; /* 矢印の線の幅 */
  transform: translateY(-50%) rotate(-45deg); /* 矢印の向きを設定 */
  top: 50%; /* 親要素の高さの中央に配置 */
}
@media screen and (max-width: 420px) {
  .news-wrapper {
    padding: 15px;
	background-size: 100% 70px; /* 幅は100%、高さは50px */
  }
  .section-title {
	  padding-top: 0rem;
  }
  .news-category {
    font-size: 13px; /* カテゴリーラベルのフォントサイズ */
  }
  .news-date{
	  font-size: 1.4rem;
  }
  .news-title {
    margin-left: 0rem; /* 記事タイトル左の余白0 */
    margin-top: 1rem; /* 記事タイトル上の余白 */
  }
  .news-title a {
    font-size: 13px; /* 記事タイトルのフォントサイズ */
  }
  .news-link {
    display: block; /* 日付&カテゴリーラベルと記事タイトルの横並び解除 */
    padding-right: 20px;
  }
  .news-link::after {
  	right: 5px; /* 右端に配置 */
  	top: 50%; /* 親要素の高さの中央に配置 */
  }
  .news-info{
	  margin-bottom: 7px;
  }
}





.button-large-ul{
	list-style-type: none;
	display: flex;
	justify-content: space-between;
	margin: 20px 0 0 0;
}
.button-large-ul li{
	border-radius: 8px;
	text-align: center;
	font-weight: bold;
	
}
@media screen and (max-width:480px){
	.button-large-ul li{
		width: 49%;
		box-shadow: var(--boxshadow-nomal-mobile);
	}
}
@media screen and (min-width:481px){
	.button-large-ul li{
		width: 490px;
		height: 105px;
		font-size: 28px;
		line-height: 105px;
		box-shadow: var(--boxshadow-nomal);
	}
	
}


/* スライダー下部のメニュー */
.contents-menu {
	width: 850px;
	margin: 0 auto; /* 親要素を横中央に配置 */
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between; /* 子要素が並ぶ間隔を空ける */
	margin-bottom: 20px;
}

.contents-menu > * {
	border-radius: 5px;
    box-sizing: border-box;
	background-color: #ffffff;
	text-align: center;
	
	padding-top: 1rem;
	padding-bottom: 0.5rem;

	flex: 0 0 calc(16.66% - 1rem); /* 6個の子要素を横一列に配置 */
	margin: 0.5rem; /* 各子要素間の間隔 */
  
	position: relative; /*リンク用*/
}
.contents-menu > * a{ 
	/*リンク用*/
	position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}
.contents-menu > * .img img{
	margin: 0;
	height: 40px;
}
.contents-menu > * .title{
	font-weight: bold;
	font-size: 1.3rem;
	margin-top: 0rem;
}
.contents-menu .yellow{
	border: 2px solid var(--maincolor-);
}

/* レスポンシブ対応（スライダー直下 .index-slider-cta と同じ max-width:480px で幅を揃える） */
@media (max-width: 480px) {
	.contents-menu{
		width: 100%;
		padding: 0rem 1rem 0rem 1rem;
		margin-bottom:10px;
		margin-top: 10px;
	}
  .contents-menu > * {
    	flex: 0 0 calc(33.33% - 1rem); /* 480px以下で3列に変更 */
		border: 1px solid #a5a5a5;
		padding-bottom: 0.5rem;
  }
  .contents-menu .yellow{
	border: 2px solid var(--maincolor-);
	}
}

/* タブレット・iPad幅：スマホと同様に3列（幅・左右余白は .index-top-cta-band に統一） */
@media screen and (min-width: 481px) and (max-width: 1024px) {
	.index-top-cta-band .contents-menu > * {
		flex: 0 0 calc(33.33% - 1rem);
		border: 1px solid #a5a5a5;
		padding-bottom: 0.5rem;
	}
	.index-top-cta-band .contents-menu .yellow {
		border: 2px solid var(--maincolor-);
	}
}










/* welcome（通常表示は最大幅1000px、767px以下はメディアクエリ側のまま） */
.button-welcome {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2.5rem 2rem 1.5rem;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: var(--backgroundcolor);
  border-radius: 1rem;
  border: 3px solid var(--maincolor);
  box-sizing: border-box;
}
/* タイトル部分 */
.button-welcome-title {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--backgroundcolor);
  padding: 0 0.8em;
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: var(--maincolor);
  border-radius: 0.4em;
  box-shadow: 0 0 0 2px var(--backgroundcolor);
  text-align: center;;
  white-space: nowrap;
}
.button-welcome-blank{
	height: 5px;
}

/* 画像 */
.button-welcome a {
  display: inline-block;
  flex: 1 1 calc(33.33% - 10px);
  max-width: calc(33.33% - 10px);
}
.button-welcome img {
  width: 310px;
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
}
.button-welcome .img-height {
  margin-top: 3px;
}
.button-welcome .sp-sns-x {
  margin-top: -4px;
}
@media screen and (max-width: 767px) {
  .button-welcome {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: calc(100% - 2rem);
    margin: 1.5rem auto;
    padding: 4.5rem 1.5rem 2rem;
    margin-top: 2rem;
  }
  .button-welcome a {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .button-welcome-title {
    font-size: 18px;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 0;
  }
  .button-welcome a:first-of-type img {
    margin-top: 0.5rem;
  }
  .button-welcome-blank{
	  height: 1px;
  }
  
  
}




.button-welcome img {
  width: 310px; /* 横並び時の各画像の幅を調整 */
  height: auto; /* アスペクト比を保つ */
  border-radius: 1rem;
}
.button-welcome .img-height {
	margin-top: 3px;
}
.button-welcome .sp-sns-x {
	margin-top: -4px;
}
@media screen and (max-width: 767px) {
  .button-welcome {
    flex-direction: column; /* 縦並びに変更 */
    align-items: center; /* 画像を中央揃え */
    gap: 1rem; /* 縦並び時の間隔を調整 */
    padding: 1rem 1rem;
  }
  .button-welcome img {
    width: 100%; /* 縦並び時の画像幅を調整 */
  }
  .button-welcome img:last-child {
    margin-bottom: 0; /* 最後の画像の余白を削除 */
  }
}
@media screen and (max-width:480px){
	.button-welcome .sp-sns-x {
		width: 100%;
	}
	.button-welcome .img-height {
		margin-top: -3px;
	}
}


.button-large-ul li:not(:last-child){
	margin-right: 10px;
}

.button-large-ul li.welcome img{
	border-radius: 8px;
	width: 100%;
}
@media screen and (max-width:480px){
	.button-large-ul li.welcome{
		background-image: url('/index/images/welcome.png');
		background-size:cover;
		background-repeat: no-repeat;
	}
}
@media screen and (min-width:481px){
	.button-large-ul li.welcome{
		background-image: url('/index/images/welcome.png');
		background-size:cover;
		background-repeat: no-repeat;
	}
}


.button-large-ul li.book{
	background: #d6ee41;
}
.button-large-ul li.goods{
	background: #bbcef8;
}
@media screen and (max-width:480px){
	.button-large-ul li.book,.button-large-ul li.goods{
		padding: 10px 0;
	}
}

.customernote-btn{
	background: #c3d755;
	color: var(--white);
}

@media screen and (max-width:480px){
	.customernote-btn p{
		font-size: 12px;
	}
}
@media screen and (min-width:481px){
	.customernote-btn p{
		font-size: 28px;
		margin: 10px 0 0 0;
	}
}
.customernote-btn ul{
	list-style-type: none;
	display: flex;
}

@media screen and (max-width:480px){
	.customernote-btn ul{
		justify-content: space-between;
		padding: 0 5px;
	}
}
@media screen and (min-width:481px){

}

@media screen and (max-width:480px){
	.customernote-btn ul li{
		border-radius: 5px;
		font-size: 12px;
		box-shadow: none;
		margin-bottom: 5px;
	}
}
@media screen and (min-width:481px){
	.customernote-btn ul li{
		border-radius: 8px;
		height: 40px;
		line-height: 40px;
		margin: 0 10px;
		font-size: 1em;
	}
}
.customernote-btn ul li.new{
	background: var(--maincolor);
	color: var(--white);
	font-weight: bold;
}
.customernote-btn ul li.login{
	background: var(--maincolor-d);
	color: var(--white);
	font-weight: bold;
}



/* h2 */
.menu_container_item h2 , .menu_container_option h2 {
	font-size: 3.5rem;
  font-weight: 400;
  line-height: 40px;
  font-weight: 900;
  letter-spacing: 0px;
  color: #ffffff;
    font-weight: bold;
    margin-bottom: 3rem;
}
h2.option{
	color: #333;
}
.menu_container_item p ,.menu_container_option p{
	color: var(--lightgray);
}
@media screen and (max-width:480px){
	.menu_container_item h2 , .menu_container_option h2{
		margin: 30px 0 20px 0;
	}
}





/* 商品一覧 */
.menu_container_item{
	background-color: #64acca;
	text-align: center;
	padding: 7rem 3rem;
}
/* PC：見出し〜商品グリッド〜プロモカードを最大幅1000pxで揃える */
@media screen and (min-width: 769px) {
	.menu_container_item > h2 {
		max-width: 1000px;
		margin-left: auto;
		margin-right: auto;
	}
}
@media (max-width: 480px) {
	.menu_container_item{
		margin: 0rem 0rem;
		padding: 2rem 1rem 5rem 1rem;	    
		}
}
/* リボン -book */
.ribbon-book-wrapper {  
  display: block;
  position: relative;
  margin: 0px auto;
  padding: 0px 0;
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
  }
.ribbon-book {  
  display: inline-block;
  position: absolute;
  top: -56px; /* 親のdivからの天地の距離 */
  left: 100px; /* 左端に移動 */
  margin: 0;
  padding: 20px 0;　/* 左右幅 */
  z-index: 2;
  width: 80px;
  text-align: center;
  color: #ffffff;
  font-size: 17px;
  background: linear-gradient(#ffaf4e 0%, #e47d0e 100%);
  border-radius: 0 2px 0 0; /* 角丸を左側用に調整 */
}
.ribbon-book:before {
  position: absolute;
  content: '';
  top: 0;
  left: -6px; /* 左側の三角形に変更 */
  border: none;
  border-bottom: solid 6px #a38f4d;
  border-left: solid 6px transparent; /* 方向を調整 */
}
.ribbon-book:after {
  content: '';
  position: absolute;
  right: 0; /* 右側に合わせる */
  top: 100%;
  height: 0;
  width: 0;
  border-left: 40px solid #e47d0e; /* 三角形の配置を維持 */
  border-right: 40px solid #e47d0e;
  border-bottom: 10px solid transparent;
}
@media (max-width: 480px) {
	.ribbon-book{
		top:-36px; /* 親のdivからの天地の距離 */
		width: 50px;
		padding: 10px 0; /* 天地長さ */
		left: 30px; /* 左端からの距離 */
	}
	.ribbon-book:after {
		border-left: 25px solid #e47d0e; /* 三角形の配置を維持 */
		border-right: 25px solid #e47d0e;
	}
}
/* リボン -goods */
.ribbon-goods-wrapper {  
  display: block;
  position: relative;
  margin: 0px auto;
  padding: 0px 0;
  width: 100%;
  background: #ffffff;
  box-sizing: border-box;
  }
.ribbon-goods {  
  display: inline-block;
  position: absolute;
  top: -56px; /* 親のdivからの天地の距離 */
  left: 40px; /* 左端に移動 */
  margin: 0;
  padding: 20px 0;　/* 左右幅 */
  z-index: 2;
  width: 80px;
  text-align: center;
  color: #ffffff;
  font-size: 17px;
  background: linear-gradient(#ffaf4e 0%, #e47d0e 100%);
  border-radius: 0 2px 0 0; /* 角丸を左側用に調整 */
}
.ribbon-goods:before {
  position: absolute;
  content: '';
  top: 0;
  left: -6px; /* 左側の三角形に変更 */
  border: none;
  border-bottom: solid 6px #a38f4d;
  border-left: solid 6px transparent; /* 方向を調整 */
}
.ribbon-goods:after {
  content: '';
  position: absolute;
  right: 0; /* 右側に合わせる */
  top: 100%;
  height: 0;
  width: 0;
  border-left: 40px solid #e47d0e; /* 三角形の配置を維持 */
  border-right: 40px solid #e47d0e;
  border-bottom: 10px solid transparent;
}
@media (max-width: 480px) {
	.ribbon-goods{
		top:-16px; /* 親のdivからの天地の距離 */
		width: 50px;
		padding: 10px 0; /* 天地長さ */
		left: 30px; /* 左端からの距離 */
	}
	.ribbon-goods:after {
		border-left: 25px solid #e47d0e; /* 三角形の配置を維持 */
		border-right: 25px solid #e47d0e;
	}
}


/* 上段商品カード：吹き出しバッジ（同人誌＝オレンジ系、グッズ＝緑系） */
.menu-item-badge {
  position: absolute;
  top: 0;
  left: 1.4rem;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 1.35rem 0.68rem;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  pointer-events: none;
}
.menu-item-badge::after {
  content: "";
  position: absolute;
  left: 1.85rem;
  bottom: -10px;
  transform: none;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid transparent;
}
.menu-item--book .menu-item-badge {
  background: linear-gradient(180deg, #ff9700 0%, #df7600 100%);
}
.menu-item--book .menu-item-badge::after {
  border-top-color: #df7600;
}
.menu-item--goods .menu-item-badge {
  background: linear-gradient(180deg, #1ea85c 0%, #0f8f4b 100%);
}
.menu-item--goods .menu-item-badge::after {
  border-top-color: #0f8f4b;
}
.menu-item-badge-fa {
  display: none;
}

/* 親要素：PCは横3カラム、768px以下は1カラム */
.menu-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  gap: 10px;
}
/* 子要素 */
.menu-item .book,
.menu-item .goods,
.menu-item .poster {
  padding: 50px 10px;
  display: flex;
  flex-direction: column;
  border-radius: 1.5rem;
}
/* 本（同人誌）：暖色のイエロー系 */
.menu-item .menu-item--book {
  background: var(--maincolor);
  border: 1px solid #c9a01e;
  flex: 1;
  min-width: 0;
  position: relative;
}
.menu-item .book a {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
/* グッズ：緑系（カード・ポスター共通） */
.menu-item .menu-item--goods {
  background: #8fd2ac;
  border: 1px solid #5aa47b;
  flex: 1;
  min-width: 0;
  position: relative;
  height: auto;
}
.menu-item .goods a,
.menu-item .poster a {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}


/* 孫要素 .image と .text */
.menu-item .book .image,
.menu-item .goods .image,
.menu-item .poster .image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu-item .goods .image,
.menu-item .poster .image {
  height: auto;
  flex-grow: 1;
}
.menu-item .book .image img {
  height: 400px;
  width: auto;
}
.menu-item .goods .image img,
.menu-item .poster .image img {
  height: 400px;
  width: auto;
}

/* PC 3カラム時：見出しサイズ調整（画像は後段の .goods-mainImage 上書きと併用） */
@media (min-width: 769px) {
  .menu-item .book .menu-item-title,
  .menu-item .goods .menu-item-title,
  .menu-item .poster .menu-item-title {
    font-size: 2.2rem;
  }
  /* 3カラム時は本カードの内側余白をグッズと揃える */
  .menu-item .book .text {
    padding: 0px 20px 0px 40px;
  }
  .menu-item .text .caption {
    font-size: 1.25rem;
  }
}

/* タブレット以下：1カラム */
@media (max-width: 768px) {
  .menu-item {
    flex-direction: column;
    align-items: center;
    /* 吹き出しバッジが上方向にはみ出すため、カード間の上下余白を確保 */
    gap: 2rem;
  }
  .menu-item .book,
  .menu-item .goods,
  .menu-item .poster {
    flex: none;
    width: 100%;
    max-width: 620px;
    padding: 2.75rem 2.75rem;
  }
  .menu-item .book .image img,
  .menu-item .goods .image img,
  .menu-item .poster .image img {
    height: auto;
    max-height: none;
    max-width: 100%;
  }
  /* 画像エリアが flex で伸びてタグ行と離れないようにする */
  .menu-item .goods .image,
  .menu-item .poster .image {
    flex-grow: 0;
  }
}



/* .text内の子要素 */
.menu-item .book .text {
  margin-top: auto; /* textを最下部に固定 */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center; /* 横方向の中央揃え */
  align-items: baseline; /* 縦方向の中央揃え */
  color: var(--fontcolor-main);
  font-size: 1.4rem;
}
.menu-item .goods .text,
.menu-item .poster .text {
  padding: 0px 20px 0px 40px;
  margin-top: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
  align-items: baseline;
  color: var(--fontcolor-main);
  font-size: 1.4rem;
}
/* グッズ枠内の見出し・キャプションもオンデマンドセットと同じ色に統一 */
.menu-item .goods .text .menu-item-title,
.menu-item .poster .text .menu-item-title,
.menu-item .goods .text .caption,
.menu-item .poster .text .caption {
  color: var(--fontcolor-main);
}
@media (max-width: 768px) {
	.menu-item .book .text,
	.menu-item .goods .text,
	.menu-item .poster .text {
		padding: 0;
	}
	/* タグ〜商品名の間を詰める（PCの margin 重なりを解消） */
	.menu-item .text .title .menu-tag {
		margin-bottom: 0;
	}
	.menu-item .text .title .menu-item-title {
		margin-top: 0.45rem;
	}
}
.menu-item .text .title {
	align-self: flex-start;
	text-align: left;
	margin-bottom: 2rem;
	padding-top: 1rem;
	font-size: 3.0rem;
	font-weight: 800;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
@media (max-width: 768px) {
	.menu-item .text .title {
		padding-top: 0.1rem;
		margin-bottom: 1rem;
	}
}
.menu-item .text .title .menu-tag {
	text-align: left;
}
.menu-tag .dojin{
	padding: 0.2rem 0.5rem;
	font-weight: normal;
	font-size: 1rem;
	border: 1px solid #ff2466;
	color: #ff2466;
	width: auto;
}
.menu-tag .new{
	padding: 0.2rem 0.5rem;
	font-weight: normal;
	font-size: 1rem;
	background-color: white;
	border: 1px solid white;
	margin-right: 0.5rem;
	color: #ff2466;
	width: auto;
	color: var(--maincolor);
}
.menu-tag .small{
	font-size: 1rem;
	margin-right: 0rem;
}
.menu-item .text .caption {
	align-self: flex-start;
	text-align: left;
	font-weight: normal;
	font-size: 1.4rem;
}
.menu-item-title{
	font-size: 3rem;
	margin-top: 1rem;
}

/* レスポンシブ対応（狭いスマホ） */
@media (max-width: 420px) {
  .menu-item .book,
  .menu-item .goods,
  .menu-item .poster {
    width: 100%;
    max-width: 100%;
    padding: 3.5rem 3rem;
  }

  .menu-item .book .image img {
    width: 100%;
    height: auto;
  }

  .menu-item .goods .image img,
  .menu-item .poster .image img {
    width: 100%;
    height: auto;
  }
  .menu-item .text .title {
    margin-top: 0.25rem;
    margin-bottom: 0.85rem;
    padding-top: 0;
  }
  .menu-item .text .title .menu-tag {
    margin-bottom: 0;
  }
  .menu-item .text .title .menu-item-title {
    margin-top: 0.4rem;
  }
  .menu-item .goods,
  .menu-item .poster {
    padding-top: 1.35rem;
    padding-bottom: 2.5rem;
  }
  .menu-item .goods .text,
  .menu-item .poster .text {
    color: var(--fontcolor-main);
    width: 100%;
  }
  .menu-item-title {
    font-size: 3rem;
  }
}











/* オプション一覧 */
.menu_container_option{
	background-color: #ffffff;
	text-align: center;
	padding: 7rem 3rem;
}
.option_container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  gap: 15px; /* 行間15px, 列間15px */
  box-sizing: border-box;
}

.option_container .box {
  width: calc(100% / 4 - 15px); /* gap分を引いた幅 */
  box-sizing: border-box;
  text-align: center;
  color: var(--fontcolor-main);
  background-color: #f5f5f7;
  display: flex;
  flex-direction: column; /* 上下に並べる */
  justify-content: space-between; /* 上下の要素を上下に配置 */
  padding: 25px 30px 30px 30px;
  border-radius: 1.5rem;
}

.option_container .box .img {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.option_container .box .img img {
  width: 150px; /* 幅を150pxに固定 */
  max-height: 170px; /* 高さが200pxを超えないように制限 */
  object-fit: contain; /* 画像が指定された範囲に収まるように調整 */
  display: block;
  flex-shrink: 0;
}

.option_container .box .text {
  width: 100%;
  padding-top: 1rem;
  margin-top: auto; /* テキストを下に固定 */
}
.option_container .box .text::after {
	
	font-family: 'Font Awesome 5 Free';
	content: "\f105";
	font-weight: 900;
	padding-left: 7px;
}

  .option_container .menu-tag{
	  margin-bottom: 1.5rem;
	  text-align: left;
  }

/* iPad・タブレット：オプション一覧の横サイズアウト防止 */
@media screen and (min-width: 421px) and (max-width: 1024px) {
	.menu_container_option {
		padding: 5rem 1.25rem;
		box-sizing: border-box;
		overflow-x: hidden;
	}
	.option_container .box {
		min-width: 0;
	}
}

@media (max-width: 420px) {
	.menu_container_option{
		padding: 2rem 1rem 5rem 2.3rem;
	}
	.option_container {
    width: 100%;
  }
  .option_container .box {
    width: calc(100% / 2 - 15px); /* gap分を引いた幅 */
    padding: 2rem 3rem;
  }
  .option_container .box .img img {
    width: 100%;
    height: auto;
  }
  .option_container .menu-tag{
	  margin-bottom: 1rem;
  }
  .option_container .box .text::after{
	  padding-left: 2px;
  }
}





/* サンプル請求 */
/* 共通レイアウト（そのまま） */
.sample-form-imageWrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

/* PC 用画像（デフォルト表示） */
.sample-form-mainImage{
    width: 74%;
    margin-top: -15px;
    margin-bottom: 5px;
}

/* スマホ用画像（デフォルト非表示） */
.sample-form-spImage{
    display: none;
}

/* ───── 768px 以下 ───── */
@media (max-width: 768px){
    /* PC 用を隠す */
    .sample-form-mainImage{
        display: none;
    }

    /* スマホ用を表示＋サイズ調整 */
    .sample-form-spImage{
        display: block;
        width: 90%;
        margin-top: 0;
        margin-bottom: 5px; /* 必要なら */
    }
}

/* 原稿テンプレート生成バナー（直上のサンプル請求バナーと幅を揃える） */
.template-generator-banner {
	text-align: center;
}
.template-generator-banner__link {
	text-decoration: none;
}
.template-generator-banner__caption {
	margin-top: 5px;
	margin-bottom: 30px;
}
.template-generator-banner__caption-link {
	display: inline-block;
	text-decoration: underline;
	color: #f65e91;
	font-size: 0.875em;
}
.template-generator-banner__img {
	display: block;
	width: 74%;
	max-width: 1500px; /* 直上 banner_sampleform.png の実幅 */
	margin: 0 auto;
	height: auto;
}
@media screen and (max-width: 768px) {
	.template-generator-banner__img {
		width: 90%;
		max-width: none;
	}
}

/* .goods PC 用画像（デフォルト表示） */
.goods-mainImage{
   height: 400px;
    margin-top: -15px;
    margin-bottom: 5px;
}

/* 商品一覧3カラム時：.goods-mainImage の固定高さを上書き */
@media (min-width: 769px) {
  .menu-item .image img {
    height: auto !important;
    max-height: 240px;
    max-width: 100%;
  }
}

/* .goods スマホ用画像（デフォルト非表示） */
.goods-spImage{
    display: none;
}

.poster-mainImage{
    height: 400px;
    margin-top: -15px;
    margin-bottom: 5px;
}
.poster-spImage{
    display: none;
}

/* ───── 768px 以下 ───── */
@media (max-width: 768px){
    .goods-mainImage{
        display: none;
    }
    .poster-mainImage{
        display: none;
    }

    .goods-spImage{
        display: block;
        width: 70%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .poster-spImage{
        display: block;
        width: 70%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}




.button-middle-ul{
	list-style-type: none;
	display: flex;
	justify-content: space-between;
	margin: 20px 0 0 0;
}

@media screen and (max-width:480px){
	.button-middle-ul li{
		border-radius: 5px;
		text-align: center;
		font-weight: bold;
		box-shadow: var(--boxshadow-nomal-mobile);
		padding: 10px;
	}
}
@media screen and (min-width:481px){
	.button-middle-ul li{
		width: 230px;
		height: 105px;
		border-radius: 8px;
		text-align: center;
		font-size: 28px;
		font-weight: bold;
		line-height: 105px;
		box-shadow: var(--boxshadow-nomal);
	}
	
	.button-large-ul li:not(:last-child){
		margin-right: 10px;
	}
}

