@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/



/*==================================
共通クラス
==================================*/
/* SP時中央寄せ */
@media (max-width: 599px) {
	.sp-center {
		text-align: center !important;
	}
}


/*==================================
フォント
==================================*/
/* Bebas Neue */
.bebas-neue {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* 太さ */
.fw500 {
	font-weight: 500;
}

.fw600 {
	font-weight: 600;
}

/*==================================
 見出し（H2）カスタム
==================================*/
.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
	position: relative;
	background: none;
}

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)):before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(90deg, rgba(0, 136, 255, 1), rgba(128, 195, 255, 1));
    transform: skew(-10deg);/*背景の傾き*/
    z-index: -1;
}

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)):after {
	content: '';
    position: absolute;
	border-left: 10px double #fff;/*左線（太さ 二重線 色）*/
	height: 100%;
    top: 0;
    right: 10px;
    transform: skew(-10deg);/*線の傾き*/
	z-index: -1;
}


/*==================================
 ボタン
==================================*/
.btn-white a {
	background: #fff;
	color: var(--the-btn-bg);;
}

.btn-line-white a {
	color: #fff;
}

.btn-line-white a:hover {
    background-color: #fff;
    border-color: transparent;
    color: var(--color_main) !important;
}


/*==================================
追従SNSアイコン
==================================*/
.w-frontBottom {
	position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
	margin: 0;
	padding: 25px 16px;
	border-radius: 10px 0px 0px 10px;
	background: #ffffffbf;
	z-index: 10;
}
@media (max-width: 599px) {
	.w-frontBottom {
		padding: 16px 8px;
	}
	
	.w-frontBottom figure {
		margin-bottom: 0.5em;
	}
	
	.w-frontBottom img {
		width: 30px !important;
	}
	
	.w-frontBottom svg {
		width:18px !important;
		height:18px !important;
	}
}

.sns-banner {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

/*==================================
ヘッダー
==================================*/
@media (min-width: 960px) {
	.-parallel-bottom .l-header__logo {
		padding: 8px 0;
	}
}

.c-gnav {
	color: var(--color_main);
}

/* グロナビの区切り線 */
.c-gnav .menu-item:before {
	position: absolute;
	display: block;
	top: 50%;
	transform: translatey(-50%);
	content: "";
	width: 1px;
	height: 2em;
	background: var(--color_main);
}

.c-gnav .menu-item:first-child:before {
	display: none;
}

.c-gnav .menu-item:before {
	left: 0;
}

.c-gnav .menu-item:last-child:after {
	right: 0;
}

/* サブメニューはグロナビの区切り線非表示 */
.c-gnav .sub-menu .menu-item:before {
	display: none;
}

/* ロゴとSNSアイコン横並び */
@media (min-width: 960px) {
	/* ヘッダーインナー幅 */
	.l-header__inner.l-container {
		max-width:1440px;
		padding-inline: 32px 64px;
	}
	
	/* ロゴエリア */
	.-parallel .l-header__logo {
		width: 40%;
		text-align: left;
	}
	
	/* ボタンエリア */
	.l-header.-parallel .w-header {
		justify-content: flex-end;
		width: 60%;
	}
	
	.-parallel .l-header__gnav .c-gnav {
		justify-content: flex-end;
		padding-inline: 40px;
	}
	
	.l-header.-parallel .w-header .p-blogParts.post_content {
		display: flex;
		gap: 10px;
		align-items: center;
	}
	
	.line-it-button {
		margin-bottom: 0;
	}
}

/* ヘッダーXボタン */
.header-x-btn:hover {
	opacity: .7;
}

/* ヘッダーLINEボタン */
.header-line-btn:hover {
	transition: opacity .25s;
}

.header-line-btn:hover {
	opacity: .7;
}

.header-line-btn img {
	height: 40px;
	vertical-align: bottom;
}

/*==================================
 トップページ／本日の開催レースセクション
==================================*/
/* 全体横並び */
.today-events_inner {
	display: flex;
	gap: min(54px, calc(40/600*100vw));
}
@media screen and (max-width: 599px){
	.today-events_inner {
		flex-direction: column;
	}
}

.text_container {
	width: 30%;
	color: #fff;
}
@media screen and (max-width: 599px){
	.text_container {
		width: 100%;
	}
}

/* セクションタイトル */
h2.today-events_title {
	margin-bottom: 0;
	padding: 0;
	line-height: 1;
	font-size: min(72px, calc(39/600*100vw));
	color: #fff;
}
@media screen and (max-width: 599px){
	h2.today-events_title {
		font-size: 46px;
	}
}

/* セクションタイトル（日本語） */
.today-events_title-jp {
	font-size: 20px;
	font-weight: bold;
	color: #fff;
}
@media screen and (max-width: 599px){
	.today-events_title-jp {
		text-align: center;
		font-size: 18px;
	}
}

/* 日付エリア */
.event-date_container {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 44px;
	background: #3EA5FF;
}
@media screen and (max-width: 599px){
	.event-date_container {
		margin-top: 16px;
	}
}

/* 日付全体 */
.event-date {
	padding: 26px 10px;
	line-height: 1;
	font-size: min(32px,  calc(26/600*100vw));
	color: #fff;
}
@media screen and (max-width: 599px){
	.event-date {
		display: flex;
		align-items: baseline;
		padding: 10px;
		font-size: min(26px,  calc(20/375*100vw));
	}
}

/* 日付（月日） */
.md {
	font-size: min(80px, calc(56/600*100vw));
}
@media screen and (max-width: 599px){
	.md {
		font-size: min(56px, calc(26/375*100vw));
	}
}

/* OPEN/CLOSE */
.today-events__time-block {
	margin-top: 24px;
    text-align: center;
    color: #fff;
}
@media screen and (max-width: 599px){
	.today-events__time-block {
		margin-top: 16px;
	}
}


.today-events__time-item {
	line-height: 1;
	font-family: "Bebas Neue", sans-serif;
	font-size: min(40px, calc(30/600*100vw));
}
@media screen and (max-width: 599px){
	.today-events__time-item {
		font-size: min(30px, calc(22/375*100vw));
	}
}

.today-events__note {
	margin-top: 6px;
	line-height: 1.6;
	font-size: 14px;
}
@media screen and (max-width: 599px){
	.today-events__note {
		font-size: 13px;
	}
}

/* ボタン */
.event-btn {
	margin-top: 44px;
}

/* イベントリストエリア */
.event-lists_container  {
	flex: 1;
}

/* イベントリスト */
.event-item {
	margin: 0;
	list-style: none;
	background: #fff;
}

.event-item + .event-item {
	margin-top: 16px;
}

/* イベントリストリンク部分 */
.event-item a {
	display: flex;
	align-items: center;
	gap: 40px;
	min-height: 50px;
	color: #000;
	transition: opacity .3s ease;
}

@media screen and (max-width: 959px){
	.event-item a {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}
}

.event-item a:hover {
	opacity: .7;
}

/* イベントリストラベル部分 */
.event-label {
	display: flex;
    align-items: center;
	align-self: flex-start;
	width: 32%;
	min-height: 34px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0% 100%);
	padding-inline: 16px 32px;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
}

@media screen and (max-width: 959px){
	.event-label {
		width: 50%;
		min-height: 32px;
		font-size: 15px;
	}
}

.event-label--keirin {
	background: #193D6D;
}

.event-label--autorace {
	background: #E30114;
}

@media screen and (max-width: 959px){
	.event-title_container {
		padding: 6px 16px;
	}
}

.event-title {
	display: inline-block;
	font-size: 18px;
	font-weight: 500;
}

@media screen and (max-width: 959px){
	.event-title {
		font-size: 15px;
	}
}

.event-stage {
	display: inline-block;
	font-size: 18px;
	font-weight: 500;
}

@media screen and (max-width: 959px){
	.event-stage {
		font-size: 15px;
	}
}

/* アイコン説明 */
.event-icon {
	margin-top: 20px;
	color: #fff;
}

.event-icon span + span {
	margin-left: 24px;
}

/* イベントなしテキスト */
.no-race {
	text-align: center;
	font-size: 18px;
	color: #fff;
}

/*==================================
 トップページ／お知らせセクション
==================================*/
/* タブ間の距離 */
.c-tabList {
	gap: 20px;
}

@media screen and (max-width: 599px){
	.c-tabList {
		gap: 5px;
	}
}

.is-style-bb>.c-tabList .c-tabList__button {
	padding-block: 14px;
	font-weight: 400;
	color: #fff;
	background-color: #B8B8B8;
	opacity:1;
	transition: color .25s, opacity .25s, background-color .25s;
}

/* アクティブなタブ */
.is-style-bb>.c-tabList .c-tabList__button:hover,
.is-style-bb>.c-tabList .c-tabList__button[aria-selected=true] {
	background-color: var(--color_main);
	font-weight: 400;
	color: #fff;
}

/* タブ下線非表示 */
.is-style-bb>.c-tabList .c-tabList__button:after,
.is-style-bb>.c-tabList .c-tabList__button:before {
	display: none;
}

/* 記事／投稿日カラー変更 */
.p-postList__cat.u-thin.icon-folder {
	color: var(--color_main);
}


/*==================================
 トップページ／SNSバナーセクション
==================================*/
.banner_sec {
	padding-top: 0 !important;
}


/*==================================
 トップページ／ABOUTーセクション
==================================*/
.about_sec .l-article {
	max-width: 1200px;
}


/*==================================
 トップページ／リクルートセクション
==================================*/
@media not all and (min-width: 960px) {
	.pc_only.recruit-pc_sec {
		display: block !important;
	}
}

@media not all and (min-width: 600px) {
	.pc_only.recruit-pc_sec {
		display: none !important;
	}
}

.recruit-sp_sec {
	min-height: 630px;
}
.sp_only.recruit-sp_sec {
	@media (min-width: 599px) {
		display: none !important;
	}	
}

/*==================================
サイドバー
==================================*/
p.has-background.sidebar-title {
	padding: 10px 20px;
}


/*==================================
ページサブタイトル非表示
==================================*/
.c-pageTitle__subTitle {
	display: none;
}

/*==================================
発売日程ページ
==================================*/
/* タイトルあしらい */
.nittei-page_title {
	position: relative;
	padding: .75em 1em !important;
    font-size: 1.4em;
	font-weight: bold !important;
	color: #fff;
}

.nittei-page_title:before {
	content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	background-image: linear-gradient(90deg, rgba(0, 136, 255, 1), rgba(128, 195, 255, 1)); 
	transform: skew(-10deg);/*背景の傾き*/
    z-index: -1;
}

.nittei-page_title:after {
	content: '';
    position: absolute;
	border-left: 10px double #fff;/*左線（太さ 二重線 色）*/
    height: 100%;
    top: 0;
    right: 10px;
    transform: skew(-10deg);/*線の傾き*/
}

/* アイコン説明 */
.nittei-icon {
	margin:24px 0 64px !important;
	text-align: right;
	font-weight: bold !important;
} 

/* 検索ボタン背景色 */
.tribe-events .tribe-events-c-search__button, .tribe-events button.tribe-events-c-search__button {
    background-color: var(--color_main);
}

/* カレンダー連携ボタン */
.tribe-common .tribe-common-c-btn-border,
.tribe-common a.tribe-common-c-btn-border {
    border: 1px solid  var(--color_main);
    color:  var(--color_main);
}

/*==================================
フッター直前エリア
==================================*/
.w-beforeFooter {
	margin-top:0!important;
}

.l-mainContent__inner>.post_content {
	margin-bottom: 0;
}
