@charset "utf-8";
/*---------------------------------------
1. 基本設定
---------------------------------------*/

/*
リセットcss↓↓↓↓
*/
* {
	box-sizing: border-box;
}

html {
  font-style: normal;
  font-weight: normal;
  line-height: 1.8em;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN","Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;
  font-size: 18px;
	-webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-size: 1rem;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
label,
fieldset,
legend,
input,
textarea,
p,
blockquote,
table,
caption,
tr,
th,
td,
span,
object,
iframe,
a,
address,
em,
strong,
img {
  margin: 0;
  padding: 0;
  border: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  width: 100%;
  height: auto;
  border: 0;
  display: block;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  user-select: none;
}

ul,
ol,
li {
  list-style: none;
}

object,
embed {
  vertical-align: top;
}

label {
  cursor: pointer;
}

legend {
  padding: 0;
}

button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  border: 1px solid #aaa;
}

td,
textarea {
  vertical-align: top;
}

button,
input {
  line-height: normal;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  resize: vertical;
}


/*↓HTML5新要素をブロック化する↓*/
header,
section,
footer,
aside,
nav,
article,
hgroup,
figcaption,
figure,
canvas,
audio,
video,
main,
picture {
  margin: 0;
  padding: 0;
  display: block;
}

/*↓float解除用「clearfix」↓*/
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;
  /*for IE 5.5-7*/
}

/*
リセットcss↑↑↑↑↑↑↑↑
*/


/*↓リンクに対する共通設定↓*/
a {
	/*
  text-decoration: none;
  color: white;*/
  /*background-color:#aaa;*/
}

a:hover {
  /*opacity: 0.6;*/
}

a:hover img {
	/*
  opacity: 0.6;
  filter: alpha(opacity=60);
  -moz-opacity: 0.6;
	*/
}

a:focus {
  outline: none;
}

a:visited {
  /*color:#FFB900;*/
}

.border1sC {
  border: 1px solid #ccc;
}

.borderBox {
  box-sizing: border-box;
}

/*↓共通クラス名↓*/
.fL{
  float: left;
}
.fR{
  float: right;
}

.wrapper{
	width:90%;
	margin:0 auto;
}

.textAC{
	text-align:center;
}

.lineH1{
	line-height:1em;
}
.lineH12{
	line-height:1.2em;
}
.lineH2{
	line-height:2em;
}
.lineH25{
	line-height:2.5em;
}
.lineH3{
	line-height:3em;
}

.portrait,
.landscape {
	display: none;
}
@media (orientation: portrait) {
	.portrait {
		display: block;
	}
}
@media (orientation: landscape) {
	.landscape {
		display: block;
	}
}

/*google font for Title and Fukidashi*/
@font-face {
	font-family: 'M PLUS 1p';
	src: url('../fonts/MPLUS1p-Black.woff2') format('woff2'),
url('../fonts/MPLUS1p-Black.woff') format('woff');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'M PLUS 1p';
	src: url('../fonts/MPLUS1p-Bold.woff2') format('woff2'),
url('../fonts/MPLUS1p-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'M PLUS 1p';
	src: url('../fonts/MPLUS1p-Medium.woff2') format('woff2'),
url('../fonts/MPLUS1p-Medium.woff') format('woff');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'M PLUS 1p';
	src: url('../fonts/MPLUS1p-Regular.woff2') format('woff2'),
url('../fonts/MPLUS1p-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/*google font for Produceed by*/
@font-face {
		font-family: 'Licorice';
    src: url('../fonts/Licorice-Regular.woff2') format('woff2'),
url('../fonts/Licorice-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.licorice-regular {
  font-family: 'Licorice';
  font-weight: 400;
  font-style: normal;
	font-size:1.4rem;
	color:white;
	margin-bottom:20px;
	text-align:center;
}
@media (min-width: 769px) {
	.licorice-regular{
		font-size:2rem;
	}
}

/*================================================================================
==================================================================================
==================================================================================
馬券クッキー HP用 カスタマイズ
==================================================================================
==================================================================================
==================================================================================*/


header{
	padding-top:clamp(16px, 5vw, 40px);
	padding-bottom:clamp(16px, 5vw, 40px);
	background-image: url(../images/animation/sky-sp.webp) , url(../../images/animation/sky-sp.png);
	background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (min-width: 769px) {
	header{
		padding-top:clamp(16px, 5vw, 30px);
		padding-bottom:clamp(16px, 5vw, 30px);
		background-image: url(../images/animation/sky-pc.webp) , url(../images/animation/sky-pc.png);
	}
}

/* 基本レイアウト */
header {
  position: relative;
}
section{
	margin-bottom:50px;
}
.description{
	margin-bottom:20px;
}
@media (min-width: 769px) {
	.description{
		font-size: 1.2rem;
	}
}

/*---------------ロゴ部分---------------*/
header h1.logo-h1 {
	width: 50vw;
	margin-left:auto;
	margin-right:auto;
  aspect-ratio: 800 / 145;
	background-image: url(../images/logo_yellow.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
	font-size: 0;
	position: relative;
}

header .logo-h1 .visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
@media (min-width: 769px) {
	header h1.logo-h1 {
		width: 35vw;
	}
}

/*---------------メニュートグル部分---------------*/
.menu-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1001;
  cursor: pointer;
	border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.5);
}
.menu-toggle:hover {
  background-color: #dcffd1;
}

.menu-toggle img {
  width: 30px;
  height: 30px;
}

/* PCサイズでは60pxに切り替え */
@media (min-width: 769px) {
	.menu-toggle {
		top: 30px;
		right: 50px;
	}
  .menu-toggle img {
    width: 60px;
    height: 60px;
  }
}
/* メニュー全体 */
#menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1000;
}

#menu.active {
  transform: translateX(0);
}

#menu ul {
  list-style: none;
  padding: 60px 20px;
}

#menu li {
  /*margin: 20px 0;*/
}

#menu a {
  text-decoration: none;
  font-size: 18px;
  color: #333;
	display:block;
	padding:1em 0;
}

#menu a:hover {
  background-color: #fff4cf;
}

/*---------------アニメーション部分---------------*/
/*スタート*/
#racing-start {
  width: 100%;
	margin-bottom:50px;
}
#video-portrait-start, #video-landscape-start {
	display: none;
	width: 100%;
	height: auto;
}

@media (orientation: portrait) {
	#video-portrait-start {
		display: block;
		aspect-ratio: 1290 / 1600;
	}
}

@media (orientation: landscape) {
	#video-landscape-start {
		display: block;
		aspect-ratio: 2800 / 870;
	}
}

/*ゴール*/
#racing-goal {
  width: 100%;
	margin-bottom:50px;
}
#video-portrait-goal, #video-landscape-goal {
	display: none;
	width: 100%;
	height: auto;
}

@media (orientation: portrait) {
	#video-portrait-goal {
		display: block;
		aspect-ratio: 1290 / 1800;
	}
}

@media (orientation: landscape) {
	#video-landscape-goal {
		display: block;
		aspect-ratio: 2800 / 1060;
	}
}

/*---------------メイン部分---------------*/
main{
  width:100%;
}
main h2{
	text-align:center;
	line-height:1.2em;
	font-family: 'M PLUS 1p';
	font-weight: 900;
	font-style: normal;
	font-size: 1.7rem;
	margin-bottom:20px;
}
@media (min-width: 768px) {
	main h2{
		font-size: 3rem;
	}
}

main section#about{
	width:90%;
	margin-left:auto;
	margin-right:auto;
}
main picture.eye-catch{
	width:90%;
	margin:0 auto 50px;;
}
main picture img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 20px;
}
@media (min-width: 768px), (orientation: landscape) {
	main picture img {
		border-radius: 50px;
	}
}

/*---------------チャット形式部分---------------*/
.chat {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom:20px;
}
@media (min-width: 768px), (orientation: landscape) {
	.chat {
		width:80%;
		margin-left:auto;
		margin-right:auto;
	}
}

.container {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.container.right {
	flex-direction: row-reverse;
}

.icon-wrapper {
	width: 13vw;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background-color: #bde7a1;
	border: 3px solid #aad290;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
@media (orientation: portrait) {
	.icon-wrapper {
		width: 20vw;
		border: 2px solid #aad290;
	}
}
@media (min-width: 769px) {
		.icon-wrapper {
			width: 13vw;
		}
}
@media (min-width: 1500px) {
		.icon-wrapper {
			width: 7vw;
		}
}

.icon-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.flip-horizontal img {
	transform: scaleX(-1);
}

.speech-bubble {
	position: relative;
	overflow: visible;
	width: fit-content;
	max-width: 65vw;
	min-width: 4em;
	padding: 1em 2em;
	background-color: #fde5e8;
	border-radius: 999px;
	/*font-size: 1rem;*/
	line-height: 1.4em;
	white-space: normal;
	word-break: break-word;
}

@media (orientation: portrait) {
	.speech-bubble {
		padding: 0.5em 1em;
	}
}

@media (min-width: 769px) {
	.speech-bubble {
			font-size: 1.3rem;
	}
}


.container.right .speech-bubble {
	background-color: #fff4cf;
}

.speech-bubble p {
	margin: 0;
}

.speech-bubble strong {
	font-family: 'M PLUS 1p';
	font-weight: 500;
	font-style: normal;
	/*font-size: 16px;*/
}

/*テールの追記*/
/* テール：左（ユーザーA） */
.speech-bubble.left::before {
  content: "";
  position: absolute;
  top: 50%;
	left:-24px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border: 18px solid transparent;
  border-right-color: #fde5e8;
}

/* テール：右（ユーザーB） */
.speech-bubble.right::before {
  content: "";
  position: absolute;
  top: 50%;
	right: -24px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
	border: 18px solid transparent;
  border-left-color: #fff4cf;
}




/*---------------スライドショー部分---------------*/
section#carousel{
	/*width:90%;
	margin:0 auto 50px;*/
}
article.cookie-pattern .wrapper{
	text-align: center;
	 
}

article.cookie-pattern .wrapper h3{
	/*font-size:16px;*/
	font-weight:bold;
	background-image: url('../images/hizume-pakapaka.png');
	background-repeat: repeat-x;
	background-position: center;
	background-size: 1em;
}
article.cookie-pattern .wrapper h3 span{
	background-color:white;
	padding-left:0.5em;
	padding-right:0.5em;
}
@media (min-width: 769px) {
	article.cookie-pattern .wrapper h3{
		font-size:1.3rem;
	}
}

/*カルーセル部分*/
.carousel-container {
	position: relative;
	width: 90%;
	height:auto;
	margin: 0 auto;
	overflow: hidden;
}

.carousel {
	height: 100%;
	overflow: visible;
	position: relative;
}

.carousel-track {
	display: flex;
	align-items: center;
	transition: transform 0.5s ease;
	gap: 10px;
	height: 100%;
	position: relative;
	will-change: transform;
	-webkit-backface-visibility: hidden;
	-webkit-transform-style: preserve-3d;
}

.carousel-track img {
	width: 200px;
	height:auto;
	user-select: none;
	pointer-events: none;
	transition: transform 0.3s ease, z-index 0.3s ease;
	transform: scale(0.85);
	z-index: 1;
	flex-shrink: 0;
}

.carousel-track img.active {
	transform: scale(1);
	z-index: 2;
}

.carousel_nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background-color: rgba(0, 0, 0, 0);
	cursor: pointer;
	transition: background-color 0.3s ease;
	border: none;
	padding: 0;
	width: 36px;
	height: 36px;
}

.carousel_nav:hover {
	/*background-color: rgba(0, 0, 0, 0.6);*/
}

.prev {
	left: 0;
	background-image: url('../images/back.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 36px 36px;
}

.next {
	right: 0;
	background-image: url('../images/next.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 36px 36px;
}

@media (min-width: 769px) {
	.carousel-container {
		/*height: 300px;*/
	}
	.carousel-track img {
		width: 240px;
	}
	.carousel_nav {
		width: 48px;
		height: 48px;
	}
	.prev {
		background-size: 48px 48px;
	}
	.next {
		background-size: 48px 48px;
	}
}

/*buy部分*/
#buy .wrapper .description{
	display: block;
  width: fit-content;
  padding: 10px;
	margin: 0 auto 20px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  text-align: center;
	border-radius:20px;
}
#buy .wrapper .description p span.hako,
#buy .wrapper .description p span.kosuu{
	font-size:1.2rem;
}
#buy .wrapper .description p span.price{
	font-size:1.4rem;
	font-weight:bold;
}
@media (min-width: 769px) {
	#buy .wrapper .description{
		line-height:1.8em;
	}
}


/*---------------フッター部分---------------*/

footer{
  background-color:#322927;
	padding-top:60px;
}

footer .logo_cookie{
  width: 50vw;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:30px;
}
@media (min-width: 769px) {
	footer .logo_cookie{
		width: 20vw;
	}
}


/*----------*/

footer .logo_sunrisepro{
  width: 50vw;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:20px;
}
@media (min-width: 769px) {
	footer .logo_sunrisepro{
		width: 15vw;
	}
}

footer .address{
	text-align:center;
	color:white;
	padding-bottom:50px;
	font-weight:lighter;
}
footer .company a{
	color:white;
	font-size:1.2rem;
	text-decoration:none;
}

footer .copyRight{
	text-align:center;
	color:white;
	padding-bottom:30px;
}


