@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
*/
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&family=Noto+Sans+JP:wght@900&family=Sansation:wght@300;400;700&display=swap');
body {
  font-family:biz-udpgothic-regular;
}
.noto-sans-jp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}
.biz-udpgothic-regular {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.biz-udpgothic-bold {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.sansation-light {
  font-family: "Sansation", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.sansation-regular {
  font-family: "Sansation", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.sansation-bold {
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* RESET */
.top #content {
    padding-top: 0;
}
@media (max-width: 959px) {
     .wp-block-columns {
        flex-wrap: wrap !important;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 100% !important;
    }
body p{
	font-size:1.2rem!important;
}
}

@media (min-width: 960px) {
     .wp-block-columns {
        flex-wrap: nowrap !important;
    }
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 0 !important;
        flex-grow: 1 !important;
    }
body p{
	font-size:1.4rem!important;
}
}

/* リード文見出し */
.h2_title,.h2_title-2,.h3_title,h4_title,h5_read,h6_read {
	display: block;
    width: 85%;
    margin: 2em auto!important;
}
.fullwide_h2_title{
		font-size:2rem!important;
	}
.h2_title-2{
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-style: normal;
	color:#30578e;
	font-size:2.2rem!important;
	margin: 1em auto!important;
	}
.h3_title{
	color:#44a68c;
	font-size:2.6rem!important;
	text-align:center;
	}
.h3_title-2{
	color:#ff790f;
	font-size:2.6rem!important;
	text-align:center;
	}
.h4_title{
	font-size:1.6rem!important;
	text-align:center;
	}
@media (min-width: 600px){
.h2_title-2{
	font-size:2.6rem!important;
	}
.h3_title,.h3_title-2,.h4_title{
	font-size:2rem!important;
	}
}
@media (min-width: 960px){
.h2_title,.h3_title,h4_title,h5_read,h6_read {
	display: block;
    width: 80%;
    margin: 2em auto!important;
}
.h2_title{
			font-size:1.8rem!important;
	}
.h2_title-2,.h3_title,.h3_title-2{
	font-size:3.2rem!important;
	}
}
/* テキスト調整 */
.orangebold{
	font-weight:700;
	color:#ff790f;
}
.txtsmall{
	font-size:70%!important;
}
.txt_page{
	width:85%;
	margin:15px auto;
}
/* 角丸テキスト */
.kadomaru1{
	border-radius: 20px;
    display: block;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background: #ffffff;
    color: #205791;
    text-decoration: none;
    text-align: center;
	font-weight:700;
	font-size:1.4rem;
    margin: 10px auto;
}
.kadomaru2{
	border-radius: 20px;
    display: block;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    background: #ffffff;
     text-decoration: none;
    text-align: center;
	font-weight:500;
    margin: 10px auto;
}
.kadomaru3{
	border-radius: 20px;
    display: block;
    width: 100%;
    padding: 40px 25px;
    box-sizing: border-box;
    background: #ffffff;
    text-decoration: none;
    text-align: center;
    margin: 10px auto;
}
/* メインビジュアル */
.p-mainVisual__slideTitle {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
	font-size: 2.2rem;
  font-weight: bold;
}
.p-mainVisual__slideText {
  font-size: 1.2rem;
	 font-weight: bold;
 line-height:1.3;
}
@media (min-width: 960px){
.p-mainVisual__slideTitle {
  font-size: 3.4rem;
  font-weight: bold;
}
.p-mainVisual__slideText {
	font-size: 2.4rem;
	font-weight: bold;
}
}
@media (min-width: 1280px){
.p-mainVisual__slideTitle {
  font-size: 4.2rem;
  font-weight: bold;
}
.p-mainVisual__slideText {
	font-size: 2rem;
	font-weight: bold;
}
}
/* ページタイトル */
span.c-pageTitle__inner{
	display: block;
    width: 75%;
    margin: 2em auto!important;
	padding-top:0;
	padding-left:2em;
	font-size:1.8rem!important;
}
.page-id-234 span.c-pageTitle__inner{
	color: #30578e;
}
.page-id-234 .c-pageTitle {
	border-bottom: none;
    background-image: url(https://motorsports.jp/wp-content/uploads/2025/10/kadai_title_bg-1.png);
    background-position: left top;
    background-repeat: no-repeat;
   background-size:75px 71px;
	height:75px;
	 position: relative;
}
@media (min-width: 600px){
span.c-pageTitle__inner {
    width: 90%;
	font-size:2.5rem!important;
  position: absolute;
    margin: 1em auto!important;
  right: 0;
}
.page-id-234 .c-pageTitle {
	border-bottom: none;
    background-image: url(https://motorsports.jp/wp-content/uploads/2025/10/kadai_title_bg-1.png);
    background-position: left top;
    background-repeat: no-repeat;
   background-size:150px 143px;
	height:143px;
	 position: relative;
}
}

@media (min-width: 960px){
span.c-pageTitle__inner {
    width: 90%;
	font-size:3rem!important;
  position: absolute;
    margin: 1em auto!important;
  right: 0;
}
	.page-id-234 .c-pageTitle {
	border-bottom: none;
    background-image: url(https://motorsports.jp/wp-content/uploads/2025/10/kadai_title_bg-1.png);
    background-position: left top;
    background-repeat: no-repeat;
   background-size: 150px 143px;
	height:143px;
}
}
/* 取り組み */
.torikumi_info{
	width:100%;
	height:500px;
	background-image: url(https://motorsports.jp/wp-content/uploads/torikumi__info_bgsp.png);
	background-size: contain;
	background-repeat: no-repeat;
	padding-top:5em;
	padding-left:10%;
	background-position: 50% 0;
}
@media (min-width: 600px){
	.torikumi_info{
	width:100%;
	height:500px;
	background-image: url(https://motorsports.jp/wp-content/uploads/torikumi__info_bgtb.png);
	background-size: contain;
	padding-top:5em;
	text-align:center!important;
	padding-left:0;
	}
}
@media (min-width: 960px){
	.torikumi_info{
	width:100%;
	height:410px;
	background-image: url(https://motorsports.jp/wp-content/uploads/2025/10/torikumi__info_bg.png);
	background-size: contain;
	text-align:center!important;
	padding-top:2.5em;
	padding-left:0;
	}
}
/* 寄付タブ */
.donation_txt {
	color:#443931!important;
	font-size:140%!important;
}
.donation_tab {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    max-width: 100%;
}
.tab1{
background: #d3c300;
}
.tab1_title{
	background: #d3c300;
	font-weight:700;
}
.tab2{
background: #f3e765;
}
.tab2_title{
	background: #f3e765;
	font-weight:700;
}
@media (min-width: 1280px){
.tab1_title,.tab2_title{
	font-size:140%!important;
}
}
.donation_tab > label {
    flex: 1 1;
    order: -1;
    opacity: .8;
    min-width: 70px;
    padding: .6em 1em;
    border-radius: 5px 5px 0 0;
    color: #443931;
    font-size: .9em;
    text-align: center;
    cursor: pointer;
}

.donation_tab > label:hover {
    opacity: .8;
}

.donation_tab input {
    display: none;
}

.donation_tab > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
}

.donation_tab label:has(:checked) {
    opacity: 1;
}

.donation_tab label:has(:checked) + div {
    display: block;
}
/* ボランティア */
.volunteer{
background-color: rgb(255 255 255 / 70%);
	padding: 5%
}


