@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600&display=swap');
body{margin: 0px !important;}
h1,h2,h3,h4,h5,h6{margin: 0;}
ul {
    display: block;
    list-stslideyle-type: disc;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
}
*{
    min-height: 0;
    min-width : 0;
}

#by{
	width: 100%;
	position: relative;
    margin: 0 auto;
    box-sizing: border-box;  
    font-family: "noto-serif-jp", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-size: 11px;
	line-height: 2.0; 
	letter-spacing: 1px;
}
#by a {
	text-decoration: none;
	color: #111;
}
#by p {
    margin: 0;
	font-family: "noto-serif-jp", sans-serif;
}
#by a:hover {
	opacity: 1;
}
#by .clear{
	clear: both;
}
#by img{
    width: 100%;
    line-height: 0 !important;
}
#by ul,#by li {
	list-style: none;
	padding: 0;
	margin: 0;
}


/*  #main_visual
**************************************************/
#by #by_header {
    
}
#by #by_header .menu {
    display: flex;
	justify-content: space-between;
}
#by #by_header .menu .menu-img {
    width: 20%;
}
#by #by_header .menu .menu-text {
    width: 75%;
}
#by #by_header .ttl {
    width: 76%;
    padding: 8% 0 4%;
}
#by #by_header .read {
	width: 96%;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
#by #by_header .read img {
	width: 12%;
    display: block;
}
#by #by_header .read p {
	width: 80%;
    font-size: 11px;
    line-height: 1.5;
}
#by #by_header .menu .menu-text a {
	display: block;
    width: 92%;
    margin: 10% 0 0 0;
}
#by #contents {
	position: relative;
}
#by #contents section {
	width: 100%;
	margin: 0;
}
#contents > section {
  position: sticky;
  top: 0;
  background: #fff;
}

#contents > section.type1 { z-index: 1; }
#contents > section.type2 { z-index: 2; }
#contents > section.type3 {z-index: 3; }
#contents > section.type4 {z-index: 4; }

@media only screen and (min-width: 769px)  {
	#by {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
	}
	#by #by_header {
		width: 38%;
		position: sticky;
		top: 0;
		left: 0;
	}
	#by #contents {
		width: 60%;
	}
}

/* 1
**************************************************/
#by #contents section.type1 {
	    margin-bottom: 38%;
	padding: 12% 0;
	background: #fff8ee;
}
#by #contents section.type1 .top {
	margin: 0 0 9%;
    padding: 6% 0;
    text-align: center;
    border-top: solid 1px #111;
    border-bottom: solid 1px #111;
	font-size: 12px;
}
#by #contents section.type1 p {
	width: 90%;
	margin: 0 auto;
	text-align: left;
}
#by #contents section.type1 .main-ttl {
	width: 80%;
    height: 25vw;
	margin: 0 auto;
    position: relative;
    z-index: 3;
}
#by #contents section.type1 .main-ttl img {
	position: absolute;
    width: 36%;
    top: -26%;
    right: -10%;
}
#by #contents section.type1 .main-ttl.reverse img {
	right: auto;
	left: -11%;
}
#by #contents section.type1 .main-ttl .top-tex {
	position: absolute;
    width: 78%;
    top: -3%;
    left: -5%;
    line-height: 1.7;
    letter-spacing: .5px;
}
#by #contents section.type1 .main-ttl.reverse .top-tex {
	 left: auto;
	 right: -5%;
	 text-align: right;
}

#by #contents section.type1 .main-ttl .top-tex span {
	display: block;
	font-size: 15px;
	font-weight: 600;
}

#by #contents section.type1 .top .ttl {
	display: block;
	width: 72%;
	margin: 0 auto 4% 9%;
}
#by #contents section.type1 .main .pic {
	width: 80%;
	position: relative;
	margin: 0 auto;
}
#by #contents section.type1 .main .pic .slide {
	position: relative;
	overflow: hidden;
	height: 120vw;
    border-radius: 14px;
}
#by #contents section.type1 .main .pic .slide img {
	display: block;
	position: absolute;
	opacity: 0;
	animation: slideAnime1 6s ease infinite;
}
#by #contents section.type1 .main .pic .slide img:nth-of-type(1) { animation-delay: 0s }
#by #contents section.type1 .main .pic .slide img:nth-of-type(2) { animation-delay: 3s }
@keyframes slideAnime1{
   0% { opacity: 0 }
   8% { opacity: 1 }
  50% { opacity: 1 }
  58% { opacity: 0 }
 100% { opacity: 0 }
}

#by #contents section.type1 .main .pic .plus {
	width: 12%;
    position: absolute;
    bottom: 1.8%;
    left: 3%;
}

#by #contents section.type1 .main .pic label {
	display: block;
	position: relative;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
#by #contents section.type1 .main .pic .toggle {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
	pointer-events: none;
}

#by #contents section.type1 .main .pic .info {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: rgba(30, 25, 22, .55);
	color: #fff;
	font-size: clamp(12px, 4.2vw, 18px);
	line-height: 1.9;
	white-space: nowrap;
	border-radius: 14px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .4s ease;
}
#by #contents section.type1 .main .pic .info li {
	width: 52%;
	display: flex;
	justify-content: center;
	gap: 3em;
    font-size: 11px;
	margin-bottom: 1%;
}
#by #contents section.type1 .main .pic .info li:last-of-type {
	margin-bottom: 0;
}
#by #contents section.type1 .main .pic .info li span {
	width: 8.5em;
}
#by #contents section.type1 .main .pic .info li.marker {
	background: linear-gradient(transparent 50%, #e7c1b085 50%);
}
#by #contents section.type1 .main .pic .info a {
	color: #fff;
}


#by #contents section.type1 .main .pic .plus {
	z-index: 2;
	transition: transform .4s ease;
}

@media (hover: hover) {
	#by #contents section.type1 .main .pic label:hover .info {
		opacity: 1;
		pointer-events: auto;
	}
	#by #contents section.type1 .main .pic label:hover .plus {
		transform: rotate(45deg);
	}
}
@media (hover: none) {
	#by #contents section.type1 .main .pic .toggle:checked ~ .info {
		opacity: 1;
		pointer-events: auto;
	}
	#by #contents section.type1 .main .pic .toggle:checked ~ .plus {
		transform: rotate(45deg);
	}
}

@media only screen and (min-width: 769px) {
	#by #contents section.type1 .main .pic .info {
		font-size: clamp(11px, 1.3vw, 18px);
		border-radius: 14px;
	}
	#by #contents section.type1 .main .pic .info li {
		width: 31%;
	}
}
#by #contents section.type1 .main .pic:nth-of-type(even) {
	width: 64%;
    margin: 14% 0 14% auto;
}
#by #contents section.type1 .main .pic .slide2 {
	position: relative;
	overflow: hidden;
	height: 96vw;
    border-radius: 14px 0 0 14px;
}
#by #contents section.type1 .main .pic .slide2 img {
	display: block;
	position: absolute;
	opacity: 0;
	animation: slideAnime2 10s ease infinite;
}
#by #contents section.type1 .main .pic .slide2 img:nth-of-type(1) { animation-delay: 0s }
#by #contents section.type1 .main .pic .slide2 img:nth-of-type(2) { animation-delay: 5s }
@keyframes slideAnime2{
   0% { opacity: 0 }
   5% { opacity: 1 }
  50% { opacity: 1 }
  55% { opacity: 0 }
 100% { opacity: 0 }
}

#by #contents section.type1 .more {
	display: block;
	position: relative;
    width: 42%;
    margin: 0 auto -2%;
	z-index: 3;
}
#by #contents section.type1 .more-styling {
	width: 94%;
    margin: 0 auto 14%;
    display: flex;
    justify-content: space-between;
	
}
#by #contents section.type1 .more-styling div {
	width: 48%;
	background: #ffffff99;
    border-radius: 10px;
}
#by #contents section.type1 .more-styling div img {
	display: block;
	width: 88%;
	margin: 0 auto;
}
#by #contents section.type1 .more-styling div a {
	display: block;
    width: 92%;
    margin: 0 auto;
    padding: 4% 0;
    border-bottom: solid 1px #111;
}
#by #contents section.type1 .more-styling div a img {
	width: 100%;
}
#by #contents section.type1 .more-styling div label {
	display: block;
	position: relative;
	width: 100%;
	margin: 0 auto;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
#by #contents section.type1 .more-styling div label img {
	width: 90%;
	margin: 0;
	padding: 0 4%;
}

#by #contents section.type1 .more-styling .toggle {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
	pointer-events: none;
}
#by #contents section.type1 .more-styling .info {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: rgba(30, 25, 22, .55);
	color: #fff;
	font-size: clamp(9px, 3.1vw, 16px);
	line-height: 1.9;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .4s ease;
	border-radius: 10px;
}
#by #contents section.type1 .more-styling .info li {
	width: 82%;
	display: flex;
    justify-content: center;
    gap: 3em;
    font-size: 10px;
	letter-spacing: .5px;
	margin-bottom: 2%;
}
#by #contents section.type1 .more-styling .info li:last-of-type {
	margin-bottom: 0;
}
#by #contents section.type1 .more-styling .info li.marker {
	background: linear-gradient(transparent 50%, #e7c1b085 50%);
}
#by #contents section.type1 .more-styling .info li:last-of-type {
	margin-bottom: 0;
}
#by #contents section.type1 .more-styling .info li span {
	width: 8.5em;
}
#by #contents section.type1 .more-styling div .info a {
	display: inline;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	color: #fff;
}

/* PC：ホバーで表示 */
@media (hover: hover) {
	#by #contents section.type1 .more-styling div label:hover .info {
		opacity: 1;
		pointer-events: auto;
	}
}
@media (hover: none) {
	#by #contents section.type1 .more-styling .toggle:checked ~ .info {
		opacity: 1;
		pointer-events: auto;
	}
}

@media only screen and (min-width: 769px) {
	#by #contents section.type1 .more-styling .info {
		font-size: clamp(10px, 1vw, 15px);
	}
}

@media only screen and (min-width: 769px)  {
	#by #contents section.type1 {
		padding: 80px 0;
	}
	#by #contents section.type1 .main {
		display: flex;
		justify-content: space-between;
		margin-bottom: 90px;
	}
	#by #contents section.type1 .top {
		margin: 0 0 82px;
		padding: 40px 0;
	}
	#by #contents section.type1 .top .ttl {
		width: 55%;
		max-width: 460px;
		margin: 0 auto 28px;
	}
	#by #contents section.type1 p {
	text-align: center;
	}
	#by #contents section.type1 .main-ttl {
	    width: 80%;
		height: 130px;
	}
	
	#by #contents section.type1 .main:nth-of-type(even) {
		flex-direction: row-reverse;
	}
	#by #contents section.type1 .main-ttl .top-tex {
		text-align: left;
		font-size: 13px;
	}
	#by #contents section.type1 .main-ttl .top-tex span {
		font-size: 22px;
		margin-bottom: 8px;
	}
	#by #contents section.type1 .main-ttl img {
		width: 20%;
		top: -37%;
        right: -4%;
	}
	#by #contents section.type1 .main .pic:nth-of-type(odd) {
		width: 50%;
	}
	#by #contents section.type1 .main .pic .slide {
		height: 44vw;
		border-radius: 14px;
	}
	#by #contents section.type1 .main .pic .slide2 {
		height: 33vw;
		border-radius: 14px;
	}
	#by #contents section.type1 .main .pic:nth-of-type(even) {
		width: 37%;
        margin: 0 3% 0 0;
	}
	#by #contents section.type1 .more-styling {
		width: 64%;
	}
	#by #contents section.type1 .more {
		width: 26%;
	}
	#by #contents section.type1 .more-styling .info li {
		width: 44% !important;
		gap: 5em !important;
	}
}

/* 2
**************************************************/
#by #contents section.type2 {
	padding: 0% 0 12%;
	margin-bottom: 38%;
	background: #cac8c7;
	overflow: hidden;
	font-family: "bodoni-pt-variable", sans-serif;
}
#by #contents section.type2 .top {
	margin: 0 0 9%;
}
#by #contents section.type2 .top .top-pic {
	position: relative;
}
#by #contents section.type2 .top .top-pic .ttl {
	    position: absolute;
    width: 80%;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 12%;
}
#by #contents section.type2 .top p {
	text-align: center; 
	margin: 6% auto 0;
	font-size: 12px;
}
#by #contents section.type2 .main {
	margin-top: 20%;
}
#by #contents section.type2 .main .pic {
	position: relative;
}
#by #contents section.type2 .main .pic .item {
	position: absolute;
    width: 55%;
    top: -17%;
    left: -5%;
}
#by #contents section.type2 .main:nth-of-type(odd) .pic .item {
    left: auto;
    right: -5%;
}
#by #contents section.type2 .main:nth-of-type(3) .pic .item {
    left: auto;
    right: -6%;
    top: -26%;
    transform: rotate(10deg);
}
#by #contents section.type2 .main:nth-of-type(4) .pic .item {
    top: -26%;
    left: -9%;
    transform: rotate(-15deg);
}
#by #contents section.type2 .main:nth-of-type(5) .pic .item {
    left: auto;
    right: -6%;
    top: -30%;
    transform: rotate(10deg);
}
#by #contents section.type2 .main:nth-of-type(6) .pic .item {
    top: -13%;
    left: -7%;
    transform: rotate(-10deg);
}
#by #contents section.type2 .main .pic .slide {
	position: relative;
    overflow: hidden;
    width: 78%;
    height: 117vw;
    border: solid 2px #111;
    margin: 0 -2px 0 auto;
}
#by #contents section.type2 .main:nth-of-type(odd) .pic .slide {
	margin: 0 0 0 -2px;
}

#by #contents section.type2 .main .pic .slide img {
	display: block;
	position: absolute;
	opacity: 0;
	animation: slideAnime1 6s ease infinite;
}
#by #contents section.type2 .main .pic .slide img:nth-of-type(1) { animation-delay: 0s }
#by #contents section.type2 .main .pic .slide img:nth-of-type(2) { animation-delay: 3s }
@keyframes slideAnime1{
   0% { opacity: 0 }
   8% { opacity: 1 }
  50% { opacity: 1 }
  58% { opacity: 0 }
 100% { opacity: 0 }
}

#by #contents section.type2 .main h3 {
	font-size: 28px;
    text-align: right;
    color: #111;
    font-weight: 500;
    margin-right: 4%;
    margin-bottom: 3%;
    line-height: 1.2;
}
#by #contents section.type2 .main:nth-of-type(odd) h3 {
	text-align: left;
    margin-left: 4%;
}
#by #contents section.type2 .main h3 span {
	display: block;
	font-size: 50%;
	font-family: "noto-serif-jp", sans-serif;
	margin-top: 1%;
}
#by #contents section.type2 .main h3 span.sub {
	font-size: 12px;
    color: #3F3F3F;
    margin-bottom: 1%;
}

#by #contents section.type2 .main .text {
	width: 75%;
    margin: 5% 3% 0 auto;
}
#by #contents section.type2 .main:nth-of-type(odd) .text {
    margin: 5% auto 0 3%;
}
#by #contents section.type2 .main .text a {
	display: block;
	width: 100%;
	background: #111;
	color: #fff;
	text-align: center;
	font-size: 16px;
    line-height: 3;
	text-decoration: none;
	margin: 6% 0 0 0;
}

@media only screen and (min-width: 769px)  {
	#by #contents section.type2 .top {
    margin: 0 0 0;
	}
	#by #contents section.type2 .top .top-pic .ttl {
		width: 60%;
		max-width: 500px;
	}
	#by #contents section.type2 .main {
		margin-top: 70px;
	}
	#by #contents section.type2 .main:nth-of-type(1) {
		margin-top: 5px;
	}
	#by #contents section.type2 .main:nth-of-type(2) {
		margin-top: 50px;
	}
	#by #contents section.type2 .flex {
		display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: flex-end;
		width: 92%;
        margin: 0 auto;
	}
	#by #contents section.type2 .flex .main {
		width: 48%;
	}
	#by #contents section.type2 .main h3 {
		font-size: 24px;
		margin-left: 0;
		margin-right: 0;
	}
	#by #contents section.type2 .main:nth-of-type(odd) h3 {
		margin-left: 0;
	}
	#by #contents section.type2 .main .pic .slide {
		height: 31vw;
	}
	#by #contents section.type2 .main .pic .item {
		width: 50%;
	}
	#by #contents section.type2 .main:nth-of-type(2) .pic .item {
		top: auto;
        bottom: -10%;
		left: -13%;
		transform: rotate(-18deg);
	}
	#by #contents section.type2 .main:nth-of-type(3) .pic .item {
		top: auto;
        bottom: 0%;
        right: -10%;
	}
	#by #contents section.type2 .main:nth-of-type(5) .pic .item {
		top: -26%;
	}
	#by #contents section.type2 .main:nth-of-type(odd) .text {
		margin: 5% auto 0 2%;
		width: 75%;
	}
	#by #contents section.type2 .main:nth-of-type(even) .text {
		margin: 5% 1% 0 auto;
		width: 75%;
	}
}


/* 3
**************************************************/
#by #contents section.type3 {
	width: 100%;
	overflow: hidden;
	padding: 14% 0 0;
	margin-bottom: 64%;
    background: #cb8f82;
	color: #fff;
	font-family: noto-sans-cjk-jp, sans-serif;
}
#by #contents section.type3 .ttl {
	width: 78%;
    margin: 0 auto 2%;
	display: block;
	transition: 1.5s all 1.0s ease;
}
#by #contents section.type3 .read {
	font-size: 12px;
	text-align: center;
	font-family: noto-sans-cjk-jp, sans-serif;
	margin: 6% 0;
}
#by #contents section.type3 .top {
	position: relative;
	height: 106vw;
	line-height: 0;
}
#by #contents section.type3 .top div {
	position: absolute;
	width: 31%;
}
#by #contents section.type3 .top div:nth-of-type(1) {
	top: 15%;
    left: -1%;
	filter: drop-shadow(3px 3px 0 #fff);
	transition: 1.5s all 0.6s ease;
}
#by #contents section.type3 .top div:nth-of-type(2) {
	top: 0%;
	left: 23%;
	filter: drop-shadow(3px 3px 0 #fff);
	transition: 1.5s all 0.4s ease;
}
#by #contents section.type3 .top div:nth-of-type(3) {
	bottom: 0%;
	right: 19%;
	filter: drop-shadow(3px 3px 0 #fff);
	transition: 1.5s all 0.8s ease;
}
#by #contents section.type3 .top div:nth-of-type(4) {
	top: 4%;
    right: -4%;
	filter: drop-shadow(3px 3px 0 #fff);
	transition: 1.5s all 0.2s ease;
}
#by #contents section.type3 .top .number {
	width: 9%;
}
#by #contents section.type3 .top .number:nth-of-type(5) {
	top: 23%;
    left: 1%;
}
#by #contents section.type3 .top .number:nth-of-type(6) {
	top: 9%;
    left: 28%;
}
#by #contents section.type3 .top .number:nth-of-type(7) {
	bottom: 16%;
    right: 46%;
}
#by #contents section.type3 .top .number:nth-of-type(8) {
	top: 7%;
    right: 19%;
}
#by #contents section.type3 .grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	padding-bottom: 10%;
}
#by #contents section.type3 .grid .grid-inner {
	padding: 10% 5% 6%;
}
#by #contents section.type3 .grid .grid-inner:nth-of-type(1) {
	grid-area: 1 / 1 / 2 / 2;
	border-top: solid 1px #fff;
    border-right: solid 1px #fff;
}
#by #contents section.type3 .grid .grid-inner:nth-of-type(2) {
	grid-area: 1 / 2 / 2 / 3;
	border-top: solid 1px #fff;
}
#by #contents section.type3 .grid .grid-inner:nth-of-type(3) {
	grid-area: 2 / 1 / 3 / 2;
	border-top: solid 1px #fff;
	border-bottom: solid 1px #fff;
	border-right: solid 1px #fff;
}
#by #contents section.type3 .grid .grid-inner:nth-of-type(4) {
	grid-area: 2 / 2 / 3 / 3;
	border-top: solid 1px #fff;
	border-bottom: solid 1px #fff;
}

#by #contents section.type3 .grid .grid-inner .main {
	position: relative;
}
#by #contents section.type3 .grid .grid-inner .main .pic {
	display: block;
    width: 76%;
	margin: 0% auto 8%;
}
#by #contents section.type3 .grid .grid-inner .main .no {
    position: absolute;
	width: 15%;
	top: 0%;
	left: 0%;
}
#by #contents section.type3 .grid .grid-inner .main h3 {
	position: absolute;
	width: auto;
	top: 0%;
	right: 0%;
	writing-mode: vertical-rl;
	white-space: nowrap; 
	font-size: 13px;
}
#by #contents section.type3 .grid .grid-inner .buy {
    width: 100%;
    display: flex;
    justify-content: space-between;
	align-items: center;
}
#by #contents section.type3 .grid .grid-inner .buy span {
    width: 64%;
	font-size: 11px;
	line-height: 1.6;
}
#by #contents section.type3 .grid .grid-inner .buy a {
	display: block;
    width: 32%;
	line-height: 0;
}



@media only screen and (min-width: 769px)  {
	#by #contents section.type3 .read {
		font-size: 12px;
		margin: 40px 0;
	}
	#by #contents section.type3 .ttl {
		width: 54%;
		max-width: 480px;
		margin: 0 auto 20px;
	}
	#by #contents section.type3 .top {
		height: 40vw;
        width: 88%;
        margin: 0 auto;
	}
	#by #contents section.type3 .top div {
		width: 24%;
	}
	#by #contents section.type3 .top div:nth-of-type(1) {
		top: 11%;
		left: 0%;
	}
	#by #contents section.type3 .top div:nth-of-type(3) {
		right: 21%;
	}
	#by #contents section.type3 .top div:nth-of-type(4) {
		top: 3%;
		right: -1%;
	}
	#by #contents section.type3 .top .number:nth-of-type(5) {
    top: 19%;
    left: 0%;
	}
	#by #contents section.type3 .top .number:nth-of-type(7) {
		right: 42%;
	}
	#by #contents section.type3 .top .number:nth-of-type(8) {
		top: 11%;
		right: 17%;
	}
	#by #contents section.type3 .top .number {
		width: 6%;
	}
	#by #contents section.type3 .grid .grid-inner .main .pic {
		width: 70%;
		margin: 0% auto 30px;
	}
	#by #contents section.type3 .grid .grid-inner .main h3 {
		font-size: 17px;
	}
	#by #contents section.type3 .grid .grid-inner .buy span {
		font-size: 12px;
	}
	#by #contents section.type3 .grid .grid-inner .buy a {
		width: 20%;
	}
}

/* 4
**************************************************/
#by #contents section.type4 {
	width: 100%;
	overflow: hidden;
	background: #1d1935;
	position: relative;
	top: auto !important;
}
#by #contents section.type4 .type4_inner {
	margin: 5% 4%;
    border: solid 1px #fcf6c0;
}
#by #contents section.type4 .ttl {
	width: 78%;
	margin: 16% auto 8%;
}

#by #contents section.type4 .itemarea {
	padding-bottom: 16%;
}
#by #contents section.type4 .gacha {
	width: 82%;
	margin: 0 auto;
	text-align: center;
}
#by #contents section.type4 .gacha .gacha-ttl {
	display: block;
	width: 80%;
	margin: 6% auto 0;
}
#by #contents section.type4 .gacha-toggle {
	position: absolute;
	width: 0;
	height: 0;
	opacity: 0;
}
#by #contents section.type4 .gacha-stage {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #fff;
	border: solid 1px #111;
	border-radius: 50%;
	overflow: hidden;
}
/* TAP前のプレースホルダー */
#by #contents section.type4 .gacha-q {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 25vw;
	line-height: 1;
	color: #ddd;
	transition: opacity .3s ease;
}
/* アイテム */
#by #contents section.type4 .gacha-items {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(.7);
	pointer-events: none;
	transition: none;
}
#by #contents section.type4 .gacha-items li {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	animation: gachaPick 1.8s step-end infinite;
}
#by #contents section.type4 .gacha-items li img {
	width: 86%;
	margin: 0 auto;
}
#by #contents section.type4 .gacha-items li a {
	display: block;
	width: 68%;
}
#by #contents section.type4 .gacha-items li h4 {
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	color: #111;
}
#by #contents section.type4 .gacha-items li:nth-child(1) { animation-delay: -0s; }
#by #contents section.type4 .gacha-items li:nth-child(2) { animation-delay: -0.2s; }
#by #contents section.type4 .gacha-items li:nth-child(3) { animation-delay: -0.4s; }
#by #contents section.type4 .gacha-items li:nth-child(4) { animation-delay: -0.6s; }
#by #contents section.type4 .gacha-items li:nth-child(5) { animation-delay: -0.8s; }
#by #contents section.type4 .gacha-items li:nth-child(6) { animation-delay: -1.0s; }
#by #contents section.type4 .gacha-items li:nth-child(7) { animation-delay: -1.2s; }
#by #contents section.type4 .gacha-items li:nth-child(8) { animation-delay: -1.4s; }
#by #contents section.type4 .gacha-items li:nth-child(9) { animation-delay: -1.6s; }

@keyframes gachaPick {
	0%       { opacity: 1; visibility: visible; }
	11.111%  { opacity: 0; visibility: hidden; }
	100%     { opacity: 0; visibility: hidden; }
}

#by #contents section.type4 .gacha-toggle:checked ~ .gacha-stage .gacha-items {
	opacity: 1;
	transform: scale(1);
	pointer-events: auto;
	transition: opacity .5s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
#by #contents section.type4 .gacha-toggle:checked ~ .gacha-stage .gacha-items li {
	animation-play-state: paused;
}
#by #contents section.type4 .gacha-toggle:checked ~ .gacha-stage .gacha-q {
	opacity: 0;
}

/* ボタン */
#by #contents section.type4 .gacha-btn {
	display: block;
	width: 56%;
	margin: 8% auto 0;
	padding: 3% 0;
	background: #fcf6c0;
	color: #1d1836;
	font-size: 20px;
	letter-spacing: 3px;
	line-height: 1.6;
	border-radius: 100px;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	transition: transform .15s ease;
}
#by #contents section.type4 .gacha-btn:active {
	transform: scale(.94);
}
#by #contents section.type4 .gacha-toggle:focus-visible ~ .gacha-btn {
	outline: 2px solid #111;
	outline-offset: 3px;
}
#by #contents section.type4 .gacha-btn .t-again { display: none; }
#by #contents section.type4 .gacha-toggle:checked ~ .gacha-btn .t-tap { display: none; }
#by #contents section.type4 .gacha-toggle:checked ~ .gacha-btn .t-again { display: inline; }

/* 1日1回ロック（JSが .gacha に .is-locked を付ける）
   ※ 上の .t-again の指定と同じ詳細度なので、必ずこの位置（後ろ）に置くこと */
#by #contents section.type4 .gacha-btn .t-done { display: none; }
#by #contents section.type4 .gacha.is-locked .gacha-btn .t-tap,
#by #contents section.type4 .gacha.is-locked .gacha-btn .t-again { display: none; }
#by #contents section.type4 .gacha.is-locked .gacha-btn .t-done { display: inline; }
#by #contents section.type4 .gacha.is-locked .gacha-btn {
	pointer-events: none;
	cursor: default;
	opacity: .6;
}
/* アニメーションを止めて、引いた1つだけ表示 */
#by #contents section.type4 .gacha.is-locked .gacha-items li {
	animation: none;
}
#by #contents section.type4 .gacha.is-locked .gacha-items li.is-picked {
	opacity: 1;
	visibility: visible;
}
#by #contents section.type4 .link {
	background: #fff;
	padding: 12% 0;
}
#by #contents section.type4 .link a {
	display: block;
	width: 68%;
    margin: 0 auto 0;
    padding: 1% 2%;
    border-bottom: solid 1px #111;
}

@media only screen and (min-width: 769px)  {
	#by #contents section.type4 .ttl {
		width: 70%;
		max-width: 440px;
		margin: 16% auto 8%;
	}
	#by #contents section.type4 .gacha { width: 56%; max-width: 420px; }
	#by #contents section.type4 .gacha-q { font-size: 12vw; }
	#by #contents section.type4 .gacha-items li h4 { font-size: 14px; }
	#by #contents section.type4 .gacha-btn { width: 50%; margin-top: 36px; padding: 8px 0; }
	#by #contents section.type4 .link a {
		width: 50%;
		max-width: 400px;
		padding: 1% 2%;
	}
}


/* #footer
**************************************************/
#by #footer {
	color: #fff;
	background: #1e1e1e;
	padding: 28% 0 1%;
	position: relative;
	z-index: 4;
}
#by #footer .logo {
	width: 60%;
	margin: 0 auto;
}
#by #footer .links {
	width: 52%;
    margin: 2% auto 17%;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
}
#by #footer .links a {
	color: #fff;
}
#by #footer .copy {
	font-size: 8px;
	text-align: center;
}

@media only screen and (min-width: 769px)  {
	#by #footer {
		width: 100%;
        margin: 0 auto;
        padding: 200px 0 10px;
		position: relative;
		z-index: 10;
	}
	#by #footer .logo {
		width: 36%;
	}
	#by #footer .links {
		width: 30%;
        max-width: 200px;
        margin: 20px auto 140px;
        font-size: 11px;
	}
}


/* js
**************************************************/
#by .anim {
	opacity: 0;
	transition: 1s all 0s;
}
#by .anim.ac {
	opacity: 1;
	transform: translate(0);
}
#by.anim.ac {
	transform: none;
}


/* fade
**************************************************/
#by .fade {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1s ease, transform 1.3s ease;
	will-change: opacity, transform;
}
#by .fade.is-show {
	opacity: 1;
	transform: translateY(0);
}
#by .flex .fade:nth-child(2) {
	transition-delay: .6s;
}

@media (prefers-reduced-motion: reduce) {
	#by .fade {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
/* view 
**************************************************/
#by .spview {
	display: block;
}
#by .pcview {
	display: none;
}
@media only screen and (min-width: 768px)  {
     #by .spview {
		display: none;
	}	
	#by .pcview {
		display: block;
	}
}