html, body {
  overflow-anchor: none!important;
}

/* ------------------------画像アスペクト比 */
.store-basic-information-0002__image--list{
  width: 100%;
  aspect-ratio: 3 / 2;
  background-color: #eee;
}

.store-basic-information-0002__image--list img{
  width: 100%;
    height: 100%;
    object-fit: cover;
}
.box-0001 img,.panel-box-01 img,.image-0003__item img,.panel03-box:has(.heading__gr33) img{
   width: 100%;
    height: auto;
  display: block;
    background-color: #f0f0f0;
}

.panel-box-01 img,.image-0003__item img{
  aspect-ratio: 3 / 2;
}
.new-blog-list-0001__container__image-area__main img{
  aspect-ratio:573/374;
}

.bunner_img img{
  max-width: 100%;
  height: auto;
}
.grLineUp__wrap img.fullWidth,.grid__gr-chara-image img{
  width: 100%;
  vertical-align: bottom;
  height: auto;
}
/* ------------------------フォントサイズ */
.fs_16{
  font-size: 16px;
}

.fs_18{
  font-size: 18px;
}

.fs_20{
  font-size: 20px;
}

.fs_30{
  font-size: 30px;
}
 
/* ----------------------テキスト中央 */
.txtCntr,h2:has(.txtCntr){
  text-align: center;
}
/* ----------------------テキスト右 */
.txtRght{
  text-align: right;
}
/* ------------リードテキスト */
 .read-txt{
     width: fit-content;
    margin: 0 auto;
    padding: 1em 0;
}

/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^デフォルト余白削除 */
.box-0001-2__column:has(.block-mb0){
  margin:0 0 0 0;
}

/* ----------------------アンカリングメニュー */

.unit-wrapper:has(.accordionMenu__area){
    position: sticky;
    top: 0;
    z-index: 99;
}

.accordionMenu__area{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
}
.accordionMenu__list{
 display: flex!important;
 flex-wrap: wrap;
}
 .accordionMenu__list li{
  font-size: 16px;
 }

@media screen and (min-width: 1280px){
  .accordionMenu__area{padding:1rem 120px;}.accordionMenu__list{gap:0.25em 1.5em;}
  /* スクロール位置ずれ修正用 */
#u20250726135854,#u20250829165813,#u20250726140005,#u20251020132105,#u20250726143402,#u20250828111603,#u20250726141736,#u20250726150337,#u20250726150441,#u20250726151433,#u20250726152203{
  padding-top: 68px;
  margin-top: -68px;
}
}

@media screen and (min-width: 1024px) and (max-width: 1279px){
    .accordionMenu__area{padding:1rem 80px;}.accordionMenu__list{gap: 0.25em 1em;}
          #u20250726135854,#u20250829165813,#u20250726140005,#u20251020132105,#u20250726143402,#u20250828111603,#u20250726141736,#u20250726150337,#u20250726150441,#u20250726151433,#u20250726152203{
  padding-top:100px;
  margin-top: -100px;
}

}

@media screen and (min-width: 768px) and (max-width: 1023px){
  .accordionMenu__area{padding:1rem 42px;}.accordionMenu__list{gap:0.25em 0.75em;}
        #u20250726135854,#u20250829165813,#u20250726140005,#u20251020132105,#u20250726143402,#u20250828111603,#u20250726141736,#u20250726150337,#u20250726150441,#u20250726151433,#u20250726152203{
  padding-top:100px;
  margin-top: -100px;
}
}


    @media screen and (min-width: 768px) {
  .accordionBtn {
    display: none; /* ボタンを隠す */
  }
  .accordionMenu__list {
    height: auto !important; /* アコーディオンを無効化して表示 */
    /* display: block !important; */
    opacity: 1 !important;
    visibility: visible !important;
  }

}


/* ----------------------固定背景*/

 .content:has(.gr__bg){
  margin-top: -100svh;
 }
.content:has(.gr__bg)::before{
  content: "";
  display: block;
  background: linear-gradient(rgba(0, 0, 0, .8),  rgba(0, 0, 0, .9)), url(https://toyota-mobi-shiga.jp/file/cms/15101/6568831/filename.jpg);
  background-size: cover;
  background-position-y: bottom;
  background-repeat: no-repeat;
  position: sticky;
  top:0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
}
.gr__bg p{
  display: none;
}

/* -----------------------------見出し */
.subHeading__grWrap{
 position: relative;transform: skew(-15deg);transform-origin: bottom;background-color: #ff0000;
}
.subHeading__gr30,
h4:has(.subHeading__gr32),
.headline-0002__text:has(.subHeading__gr35),
.box-0001-2__title:has(.subHeading__gr34){
       color: #fff;
       text-align: center;
    line-height: 1.3;  
   position: relative;
    padding:0.25em 1em;
}
.box-0001-2__title:has(.subHeading__gr34){
font-size: 28px;
display: inline-block;
}
h4:has(.subHeading__gr32){
  font-size: 1.4em;
  text-align: center;
  padding: 0.5em 0;
}

.subHeading__gr30::before,
h4:has(.subHeading__gr32)::before,
.headline-0002__text:has(.subHeading__gr35)::before,
 .box-0001-2__title:has(.subHeading__gr34)::before{
 content: "";
 width: 100%;
 height: 100%;
 position: absolute;
 left: 0;
 top: 0;
 transform: skew(-15deg);transform-origin: bottom;
 z-index: 0;
}
.subHeading__gr30::before,
h4:has(.subHeading__gr32)::before,
.headline-0002__text:has(.subHeading__gr35)::before{
background:linear-gradient(90deg,#000000 50%,#ff0000 50%); 
}
.box-0001-2__title:has(.subHeading__gr34)::before{
  background-color: #000;
}

.subHeading__gr30 span.name,
h4:has(.subHeading__gr32) .subHeading__gr32,
.headline-0002__text:has(.subHeading__gr35) .subHeading__gr35,
.box-0001-2__title:has(.subHeading__gr34) .subHeading__gr34{
  position: relative;z-index: 9;
}


.heading__gr33{
 display: inline-block;
 border-bottom: 2px solid #ff0000;
}
.heading__gr33 .heading__gr33-child{
 display: inline-block;
 position: relative;
 padding: 0;
}

h4:has(.heading__gr33){
  text-align: center;
  margin: 0;
}

/* 線が伸びるアニメーション */
.heading__gr-animLine{
  display: block;
  position: relative;
}
.heading__gr-animLine::after{
  content: '';
  display: block;
  height: 2px;
  width: 0;
  transition: 0.5s 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  background: linear-gradient(90deg,#fff 50%,#ff0000 50%);
  position: absolute;
  bottom: 0;
  left: 0;
}
.heading__gr-animLine.heading__gr-animLine-allRed::after{
background:#ff0000;
}
.heading__gr-animLine.txtCntr::after{
  transform: translateX(-50%);
  left: 50%;
}
.heading__gr-animLine.animate::after,.animate .heading__gr-animLine::after{
  width: 100%;
}

.headline-0004__txt:has(.nonMt_headlinetxt){
  margin-top: 0;
}

/* -----------------カーテンアニメーション */

/* カーテン用の疑似要素をDMSプレビューで非表示するための記述 */
.box-0001-1__column:has(.defaultOpa)::before,
.box-0001-2__column:has(.defaultOpa)::before,
.panel03-box:has(.defaultOpa)::before{
  opacity: 0;
}

.unit-wrapper:has(.curtain),
.curtain-wrap{
  position: relative;
}
.curtain-wrap .curtain-inner{
clip-path: inset(0 100% 0 0);
}
.curtain-wrap.animate .curtain-inner{
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.5s 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* -----------------見出しアニメーション */
/* 分割テキスト */
.js-text span{
  color: #fff;
   display: inline-block;
	opacity: 0;
  border-bottom: 2px solid #ff0000;
}
.animate .js-text span,.js-text.animate span{
	transform: translate(-150px, 0) scale(.3);
	animation: leftRight .5s forwards;
}
.animate .js-text span:nth-of-type(2),
.js-text.animate span:nth-of-type(2) {
	animation-delay: .05s;
}
.animate .js-text span:nth-of-type(3),
.js-text.animate span:nth-of-type(3) {
	animation-delay: .1s;
}
.animate .js-text span:nth-of-type(4),
.js-text.animate span:nth-of-type(4) {
	animation-delay: .15s;
}
.animate .js-text span:nth-of-type(5),
.js-text.animate span:nth-of-type(5) {
	animation-delay: .2s;
}
.animate .js-text span:nth-of-type(6),
.js-text.animate span:nth-of-type(6) {
	animation-delay: .25s;
}
.animate .js-text span:nth-of-type(7),
.js-text.animate span:nth-of-type(7) {
	animation-delay: .3s;
}
.animate .js-text span:nth-of-type(8),
.js-text.animate span:nth-of-type(8) {
	animation-delay: .35s;
}
.animate .js-text span:nth-of-type(9),
.js-text.animate span:nth-of-type(9) {
	animation-delay: .4s;
}
.animate .js-text span:nth-of-type(10),
.js-text.animate span:nth-of-type(10) {
	animation-delay: .45s;
}
.animate .js-text span:nth-of-type(11),
.js-text.animate span:nth-of-type(11) {
	animation-delay: .5s;
}
.animate .js-text span:nth-of-type(12),
.js-text.animate span:nth-of-type(12) {
	animation-delay: .55s;
}
.animate .js-text span:nth-of-type(13),
.js-text.animate span:nth-of-type(13) {
	animation-delay: .6s;
}
.animate .js-text span:nth-of-type(14),
.js-text.animate span:nth-of-type(14) {
	animation-delay: .65s;
}
.animate .js-text span:nth-of-type(15),
.js-text.animate span:nth-of-type(15) {
	animation-delay: .7s;
}
.animate .js-text span:nth-of-type(16),
.js-text.animate span:nth-of-type(16) {
	animation-delay: .75s;
}
.animate .js-text span:nth-of-type(17),
.js-text.animate span:nth-of-type(17) {
	animation-delay: .8s;
}
.animate .js-text span:nth-of-type(18),
.js-text.animate span:nth-of-type(18) {
	animation-delay: .85s;
}
.animate .js-text span:nth-of-type(19),
.js-text.animate span:nth-of-type(19) {
	animation-delay: .9s;
}
.animate .js-text span:nth-of-type(20),
.js-text.animate span:nth-of-type(20) {
	animation-delay: .95s;
}
.animate .js-text span:nth-of-type(21),
.js-text.animate span:nth-of-type(21) {
	animation-delay: 1s;
}
.animate .js-text span:nth-of-type(22),
.js-text.animate span:nth-of-type(22) {
	animation-delay: 1.05s;
}
.animate .js-text span:nth-of-type(23),
.js-text.animate span:nth-of-type(23) {
	animation-delay: 1.1s;
}
.animate .js-text span:nth-of-type(24),
.js-text.animate span:nth-of-type(24) {
	animation-delay: 1.15s;
}
.animate .js-text span:nth-of-type(25),
.js-text.animate span:nth-of-type(25) {
	animation-delay: 1.2s;
}
.animate .js-text span:nth-of-type(26),
.js-text.animate span:nth-of-type(26) {
	animation-delay: 1.25s;
}
.animate .js-text span:nth-of-type(27),
.js-text.animate span:nth-of-type(27) {
	animation-delay: 1.3s;
}
.animate .js-text span:nth-of-type(28),
.js-text.animate span:nth-of-type(28) {
	animation-delay: 1.35s;
}
.animate .js-text span:nth-of-type(29),
.js-text.animate span:nth-of-type(29) {
	animation-delay: 1.4s;
}
.animate .js-text span:nth-of-type(30),
.js-text.animate span:nth-of-type(30) {
	animation-delay: 1.45s;
}
.animate .js-text span:nth-of-type(31),
.js-text.animate span:nth-of-type(31) {
	animation-delay: 1.5s;
}
.animate .js-text span:nth-of-type(32),
.js-text.animate span:nth-of-type(32) {
	animation-delay: 1.55s;
}
.animate .js-text span:nth-of-type(33),
.js-text.animate span:nth-of-type(33) {
	animation-delay: 1.6s;
}
.animate .js-text span:nth-of-type(34),
.js-text.animate span:nth-of-type(34) {
	animation-delay: 1.65s;
}
.animate .js-text span:nth-of-type(35),
.js-text.animate span:nth-of-type(35) {
	animation-delay: 1.7s;
}
.animate .js-text span:nth-of-type(36),
.js-text.animate span:nth-of-type(36) {
	animation-delay: 1.75s;
}
.animate .js-text span:nth-of-type(37),
.js-text.animate span:nth-of-type(37) {
	animation-delay: 1.8s;
}
.animate .js-text span:nth-of-type(38),
.js-text.animate span:nth-of-type(38) {
	animation-delay: 1.85s;
}
.animate .js-text span:nth-of-type(39),
.js-text.animate span:nth-of-type(39) {
	animation-delay: 1.9s;
}
.animate .js-text span:nth-of-type(40),
.js-text.animate span:nth-of-type(40) {
	animation-delay: 1.95s;
}
.js-text.non-borderB span{
  border-bottom: none;
}

@keyframes leftRight {
	40% {
		transform: translate(50px, 0) scale(.7);
		opacity: 1;
		color: #fff;
	}

	60% {
		color: #f17777;
	}

	80% {
		transform: translate(0) scale(2);
		opacity: 0;
	}

	100% {
		transform: translate(0) scale(1);
		opacity: 1;
	}
}

/* フォーカスアニメーション */
.focus-anim.animate,.animate .focus-anim{
  -webkit-animation: focus-in-contract 0.5s cubic-bezier(0.600, 0.040, 0.980, 0.335) both;
	        animation: focus-in-contract 0.5s cubic-bezier(0.600, 0.040, 0.980, 0.335) both;
}

@-webkit-keyframes focus-in-contract {
  0% {
    letter-spacing: 1em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes focus-in-contract {
  0% {
    letter-spacing: 1em;
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}


/* ---------------------------------ボタン */
.theme-all .key-color-1-bg-1:has(.btn__gr),
.theme-all .key-color-1-bg-2:has(.btn__gr){
    background: linear-gradient(90deg,#000000 50%,#ff0000 50%);
    transform: skew(-15deg);
    transform-origin: bottom;
    padding: 0.5em 2em;
    width: fit-content;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    transition: 0.3s ease-in-out;
    border: solid 1px #ffffff !important;
}
.theme-all .key-color-1-bg-1:has(.btn__gr) span,.theme-all .key-color-1-bg-2:has(.btn__gr) span,.box-0001-1-btn__txt:has(.btn__gr-2){
  transform: skew(15deg);
}
.theme-all .key-color-1-bg-1:has(.btn__gr)::before,
.theme-all .key-color-1-bg-1:has(.btn__gr)::after,
.theme-all .key-color-1-bg-2:has(.btn__gr)::before,
.theme-all .key-color-1-bg-2:has(.btn__gr)::after{
content: '';
position: absolute;
right: -2em!important;
background-color: #fff;
transition: 0.3s;
}

.theme-all .key-color-1-bg-1:has(.btn__gr)::before,
.theme-all .key-color-1-bg-2:has(.btn__gr)::before{
    top: calc(4% - 3px);
    transform: translateY(calc(-4% - 2px)) rotate(30deg);
    width: 12px!important;
    height: 2px!important;
}
.theme-all .key-color-1-bg-1:has(.btn__gr)::after,
.theme-all .key-color-1-bg-2:has(.btn__gr)::after{
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
}
.theme-all .key-color-1-bg-1:has(.btn__gr-2)::before,
.theme-all .key-color-1-bg-2:has(.btn__gr-2)::before{
  top: calc(50% - 3px);
  transform: translateY(calc(50% - 2px)) rotate(30deg);
}

.theme-2 .key-color-1-bg-1:has(.btn__gr-gallgay),
.theme-2 .key-color-1-bg-2:has(.btn__gr-gallgay){
  /* background: linear-gradient(90deg,#000000 50%,#ff0000 50%); */
  background: #000000;
  text-align: center;
  border: solid 1px #ffffff !important;
  padding: 10px;
}
.theme-2 .key-color-1-bg-1:has(.btn__gr-gallgay--current){
  background-color:#ff0000;
}

/* -------------------下層ページリンクボタン */
.grid.gr-commonBtnWrap{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap:2em 5em;
  padding: 2rem 0;
}
.gr-commonBtnWrap .btn__gr,.home__mainCntItem .btn__gr{
  background: linear-gradient(90deg,#000000 50%,#ff0000 50%);
    transform: skew(-15deg);
    transform-origin: bottom;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 0.3s ease-in-out;
    border: solid 1px #ffffff !important;
}
.home__mainCntItem .btn__gr::before,
.home__mainCntItem .btn__gr::after,
.gr-commonBtnWrap .btn__gr::before,
.gr-commonBtnWrap .btn__gr::after{
  content: '';
position: absolute;
right: -2em!important;
background-color: #fff;
transition: 0.3s;
}
.home__mainCntItem .btn__gr::before,
.gr-commonBtnWrap .btn__gr::before{
top: calc(50% - 3px);
  transform: translateY(calc(50% - 2px)) rotate(30deg);
    width: 12px!important;
    height: 2px!important;
}
.home__mainCntItem .btn__gr::after,
.gr-commonBtnWrap .btn__gr::after{
  top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
}
.home__mainCntItem .btn__gr span,
.gr-commonBtnWrap .btn__gr span{
   transform: skew(15deg);
   font-size: 15px;
}
.home__mainCntItem .btn__gr{
  padding: 0.5em 2em;
}
.gr-commonBtnWrap .btn__gr{
 padding: 0.5em;
}

/* flex */
.box-0001-1__column:has(.flex-item),
.box-0001-2__column:has(.flex-item){
  display: flex;
}
.box-0001-1__column:has(.flex-item-pt1),
.box-0001-2__column:has(.flex-item-pt1){
  align-items: center;
 gap: 2.5%;
}
.box-0001-2__column:has(.flex-item-pt1){
flex-direction: row-reverse;
}
.theme-1 .box-0001-1__column:has(.flex-item-pt1) img.noaround_img,
.theme-1 .box-0001-2__column:has(.flex-item-pt1) img.noaround_img,
.theme-2 .box-0001-1__column:has(.flex-item-pt1) .box-0001-1__column__img.noaround_img{
 float: none;margin: 0;
}

/* --------------------------イベント情報 */
.box-0001-2__inner:has(.newEvent-bg1){
  background-color: #FFFFFF;
  padding: 1em;
  margin: 2rem 0 2rem 2rem;
}
.box-0001-2__column:has(.newEvent-bg1){
  gap: 0;
  background: linear-gradient(0deg,#ff0000 50%,#000000 50%);
}
.theme-all .box-0001-2__inner:has(.newEvent-bg1) .key-color-1-bg-2:has(.btn__gr)::before,
.theme-all .box-0001-2__inner:has(.newEvent-bg1) .key-color-1-bg-2:has(.btn__gr)::after{
  background-color: #000;
}
.heading__gr-event_fukidashi{
  display: inline-block;
  font-weight: bold;
  border-bottom: solid 3px #333;
 padding: 0.5em 1em;
  position: relative;
}
.heading__gr-event_fukidashi::before,.heading__gr-event_fukidashi::after{
  content: "";
  position: absolute;
  margin: auto;
}
.heading__gr-event_fukidashi::before{
width: 18px;
  height: 15px;
  background: #fff;
  bottom: -10px;
  left: 0;
  right: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  z-index: 1;
}
.heading__gr-event_fukidashi::after{
  width: 18px;
  height: 15px;
  background: #333;
  bottom: -15px;
  left: 0;
  right: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* --------------------------トップ　メインコンテンツ導線 */
.flex.home__mainCntGrid{
   display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap:2rem;

}
.home__mainCntItem{
/* width: calc((100% - 4rem)/3); */
width: 100%;
grid-column: span 2;
  background: #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #fff;
    position: relative;
}
.home__mainCntItem:nth-child(4){
 grid-column: 2 / 4; 
}
.home__mainCntItem:nth-child(5){
   grid-column: 4 / 6;
}
.home__mainCntItem:nth-child(6){
     grid-column: 2 / 4;
}
.home__mainCntItem:nth-child(7){
  grid-column: 4 / 6;
}

.home__mainCntItem .home__mainCntLink > img{
  width: 100%;
  height: auto;
}

.home__linkImg-ontxt{
filter: brightness(50%);
}
/* .home__mainCntItem > .home__mainCntLink .home__linkImg-notTxt{
  filter: brightness(100%);
} */

.home__mainCntItem > .home__mainCntLink{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
}
.home__mainCnt_ctaWrap{
  position: absolute;
   top: 50%;transform: translateY(-50%);pointer-events: none;
}
h3.home__mainCnt-head{
    font-size: 24px;
    display: block;
   line-height: 1.1;
   text-align: center;
}
.home__mainCnt_ctaWrap .home__mainCnt-ctaTxt{
      background: linear-gradient(90deg,#000000 50%,#ff0000 50%);
    transform: skew(-15deg);
    transform-origin: bottom;
    width: fit-content;
    margin: 8px auto 0;
    padding: 0.35em .5em;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
    border: solid 1px #ffffff !important;
}
.home__mainCnt_ctaWrap .home__mainCnt-ctaTxt a.home__mainCntLink{
  transform: skew(15deg);font-size: 14px;font-weight: 700;
}
.home__mainCntItem h3.home__mainCnt-head img{
  height: 25px;
  width:auto;
  max-width: 100%;
}

/* --------------------------モータースポーツ活動 */

/* ---------------aiwin */
.aiwin-txt{
  margin: 1rem 0;
}
a.btn__aiwin{
  background: linear-gradient(90deg,#000000 50%,#ff0000 50%);
    transform: skew(-15deg);
    transform-origin: bottom;
    padding: 0.5em 2em;
    color: white;
    width: fit-content;
    position: relative;
    transition: 0.3s ease-in-out;
    border: solid 1px #ffffff !important;
    display: block;
}
a.btn__aiwin span.btn__aiwin-txt{
  transform: skew(15deg);display: block;font-weight: 700;
}
a.btn__aiwin::before,a.btn__aiwin::after{
    content: '';
    position: absolute;
    right: -2em;
    background-color: #fff;
    transition: 0.3s;
}
a.btn__aiwin::before{
      top: calc(50% - 3px);
    transform: translateY(calc(-4% - 2px)) rotate(30deg);
    width: 12px;
    height: 2px;
}
a.btn__aiwin::after{
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
}

/* --------------------------カスタマイズ */
.headline-0006__item:has(.bgml-0){
  margin-right: 0;
}
.headline-0006__item:has(.customize__intro) img{
      aspect-ratio: 40/19;
    object-fit: cover;
    object-position: top;
    position: relative;
    overflow: hidden;
}
.headline-0006__item_wrap:has(.customize__intro)::before{
    content: "";
    background-color: #000;
    z-index: 9;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: left 0.5s 0.5s ease-out;
}
.headline-0006__item_wrap:has(.animate)::before{
  left: 100%;
}

.customize-introHeader{
  font-size: 30px;
  line-height: 1.8;
}

/* --------------------------おすすめカスタマイズ */
.heading__gr-customize_fukidashi{
        display: inline-block;
    position: relative;
    padding: 0.5rem 0.5rem 0.5rem 1.0rem;
    border: 2px solid #fff;
    font-weight: bold;
    background-color: #000;
    color: #fff;
    margin: 0 1rem;
    transform: skewX(-15deg);
}
.heading__gr-customize_fukidashi::after,
.heading__gr-customize_fukidashi::before{
  position: absolute;
    left: 30px;
    height: 0;
    width: 0;
    border: solid transparent;
    content: "";
}
.heading__gr-customize_fukidashi::before{
    top: 100%;
    margin-left: -12px;
    border-color: transparent;
    border-top-color: #fff;
    border-right-color: #fff;
    border-width: 9px;
}
.heading__gr-customize_fukidashi::after{
   top: 98%;
    margin-left: -10px;
    border-color: transparent;
    border-top-color: #000;
    border-right-color:#000;
    border-width: 7px;
}
.heading__gr-customize_fukidashi+h4{
  font-size: 24px;
  color: #ff0000;
  margin-top: 0.5em;
}
.grid.grid__recomendcustomize{
 display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 1fr;
grid-column-gap: 2rem;
grid-row-gap: 1rem;
margin-top: 2rem;
}
.grid__recomendcustomize .customize__item{
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 1em;
}
.grid__recomendcustomize .customize__item .curtain-inner{
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
}
.customize__txtBox{
      background: linear-gradient(0deg,#fff 50%,#ff0000 50%);
    padding: 2rem;
    display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  margin-top: 1rem;
}
.customize__txtBox_inner{
      background-color: #000;
    padding: 1rem;
    display: inherit;
  grid-template-rows: inherit;
  grid-row: inherit;
}
.partsImg{
  vertical-align: bottom;
  display: inline-block;
  width: 100%;
  height: auto;
}

.grid__recomendcustomize .customize__item .parts_catName{
  font-size: 20px;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ff0000;
}
.grid__recomendcustomize .customize__item .parts__txt,.customize__txt{
  font-size: 16px;
}
.parts__price span{
  font-size: 0.8em;
}

.customize__item .hueBox{
    background: #f7f7f7;
    background-image: radial-gradient(at 50% 50%, rgba(255,255,255,0.30) 0%, rgba(0,0,0,0.50) 260%),
radial-gradient(at 61% 50%, rgba(255,255,255,0.30) 55%, rgba(0,0,0,0.50) 150%),
linear-gradient(to bottom left, rgba(255,255,255,0.25) 3%, rgba(0,0,0,0.25) 100%),
linear-gradient(-200deg, rgba(255,255,255,0.50) 13%, rgba(0,0,0,0.80) 100%);
    background-blend-mode: normal,screen,normal,multiply;
}
.customize__item .hueBox .multiply{
  mix-blend-mode: multiply;
}

/* -------------ピックアップカスタマイズギャラリー */

.box-0001-1__column:has(.customizeGallary-bg1){
  gap: 0;
  background: linear-gradient(0deg,#fff 50%,#ff0000 50%);
}
.box-0001-1__inner:has(.customizeGallary-bg1){
  background-color: #000;
  padding: 1em;
  margin: 2rem 2rem 2rem 0;
}
.heading__gr-custmize_fukidashi{
    display: inline-block;
    font-weight: bold;
    border-bottom: solid 3px #ff0000;
   padding: 0 1em 0.25em;
    margin-bottom: 1rem;
}


/* --------------------パーツメーカー一覧*/
.free-layout-item-inner{
background-color: rgb(255 255 255 / 50%);
}
.parts__ctaTxtWrap{
padding: 0.5rem 0 0 0;
}
.parts__ctaTxtWrap p{
  width: fit-content;
  margin: auto;
}

/* -------------カスタマイズのご相談は */
.grid__customize_cta{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top: 2rem;
  gap: 2rem;
  align-items: center;
}
.grid__customize_cta h3{
  margin-bottom: 1rem;
}


/* GR認定中古車 */
.GRnintei_logo{
  padding: 0.25rem;
  height: 44px;
  width: auto;
}

.grOld__head{
    font-size: 20px;
    margin: 1rem auto;
    width: fit-content;
}
.grOld__meritList{
  display: flex;
  gap: 1rem;
  width: fit-content;
  margin: 0 auto;
}
.grOld__meritList li{
  padding-left: 1em;
  position: relative;
}
.grOld__meritList li::before{
  content: "";
  width: 0.2em;
  height: 100%;
  background-color: #ff0000;
  transform: skew(-15deg);
  position: absolute;
  top: 0;
  left: 0.2em;
}

/* --------------------------SNS */
.gr-sns_wrap{
  display: flex;
  gap: 3rem;
  width: 100%;

}
.gr-sns_wrap .sns-logo{
  width: 20%;
  max-width: 40px;
  min-width: 29px;
  height: auto;
  margin: 2px;
  vertical-align: middle;
  margin-right: 20px;
  transform: skew(-15deg);
}
a.sns_link{
  background: linear-gradient(90deg,#000000 50%,#ff0000 50%);
    transform: skew(-15deg);
    transform-origin: bottom;
    padding: 0.5em 2em;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    transition: 0.3s ease-in-out;
    border: solid 1px #ffffff !important;
    width: 29%;
}
a.sns_link span,.gr-sns_wrap .sns-logo{
  transform: skew(15deg);
}
a.sns_link::before,a.sns_link::after{
    content: '';
    position: absolute;
    right: -1.5em;
    background-color: #fff;
    transition: 0.3s;
}
a.sns_link::before{
      top: calc(50% - 3px);
    transform: translateY(calc(-4% - 2px)) rotate(30deg);
    width: 12px;
    height: 2px;
}
a.sns_link::after{
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
}
/* --------------------------スタッフ紹介 */
.grid.staff-gridarea{
  display: grid;
  grid-template-columns:repeat(2,auto);
    padding-bottom: 2rem;
}
.staff-gridarea-middle{
  padding: 0;
}
.staffImg{
  max-width: 100%;
  height: auto;
}
.staff-profiledent{
color: #fff
}
.staff-profiledent dd{
  margin-left: 0;
}

.youtubeCWrap{
  width: 33.3%;
  margin: auto;
}

/* ^------------------------------------取扱車種一覧ページ */

.grLineUp__wrap .btn__gr,.gr__imageWrap .btn__gr{
    background: linear-gradient(90deg,#000000 50%,#ff0000 50%);
    transform: skew(-15deg);
    transform-origin: bottom;
    width: fit-content;
    padding: 0.5em 1.5em;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 0.3s ease-in-out;
    border: solid 1px #ffffff !important;
}
.gr__imageWrap .btn__gr{
 margin: 0 auto;
 font-weight: 700;
}

.grLineUp__wrap .btn__gr::before,.grLineUp__wrap .btn__gr::after{
      content: '';
    position: absolute;
    background-color: #fff;
    transition: 0.3s;
}
.grLineUp__wrap .btn__gr::before,.grLineUp__wrap .btn__gr::after{
right: -2em!important;
}

.grLineUp__wrap .btn__gr::before{
      top: calc(50% - 3px);
    transform: translateY(calc(50% - 2px)) rotate(30deg);
    width: 12px!important;
    height: 2px!important;
}
.grLineUp__wrap .btn__gr::after{
      top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
}

.grLineUp__wrap .btn__gr span,.gr__imageWrap .btn__gr span{
      transform: skew(15deg);
    font-size: 15px;
}

.grYaris__wrap .gr-commonBtnWrap,.grCorolla__wrap .gr-commonBtnWrap,.gr86__wrap .gr-commonBtnWrap{
  display: flex;
  gap: 3rem;
}

/* ------------------------------------GRシリーズの特徴 */

/* ------------------------------------GR シリーズ 紹介*/
.gr-lineupHead{
  font-size: 28px;
}
.grLineUp__wrap h3{
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.grLineUp__wrap h4{
  font-size: 20px;
  color: #ff0000;
}
img.gr_carLogo{
  max-height: 54px;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.gr__recommendWrap{
  width: 80%;
  margin: -2rem auto 0;
  position: relative;
  background-color: hsl(0deg 0% 0% / 80%);
  padding: 2rem;
}
.gr__recommendInnerWrap{
  margin-bottom: 2rem;
}

/* -----------------------------------コンサルタントおススメポイント */
.grid.gr__consultantComment{
  display: grid;
  grid-template-columns:200px auto;
  gap: 0 2em;margin-top: 2rem;
}
.gr__consultantComment img{
  max-width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  vertical-align: bottom;
}
.gr__consultantTxt{
  position: relative;
  background-color: #fff;
  padding: 2rem;
}
.gr__consultantTxt::after{
      content: "";
    position: absolute;
    top: 50%;
    left: 0;
    border-style: solid;
    border-width: 0 16px 16px 0;
    border-color: transparent #fff transparent transparent;
    translate: -100% calc(-50% - 0.4px);
}
.gr__consultantTxt h5{
  font-size: 20px;
  color: #ff0000;
  margin-bottom: 0.5rem;
}
.gr__recommendItemList{
  padding-left: 1.5em;
}
.gr__recommendItemList li{
  color: #000;
  list-style-type: disc;
}
.gr__recommendItemList li::marker{
color: #ff0000;
}

/* ---------------------選び方のヒント */
 .gr__charaMainHead{
  font-size: 24px;
}
.gr__choiceTxt{
  margin-top: 1rem;
}
.grid__grchoice{
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
}
.gr__image-container{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.grid__grchoice .gr__img-button{
  cursor: pointer;flex-grow: 1;font-size: 15px;
}
.grid__grchoice .gr__img-button span{
  transform: skewX(15deg);display: inline-block;
}
.grid__grchoice .gr__img-button.active{
  background-color: #ff0000;
}
.grid__grchoice .gr__img-button.active::after{
  border-top-color: #ff0000;
  border-right-color: #ff0000;
}
.gr__image-container img.fade-image{
  width: 100%;
}
img.gr_carLogo-choice{
    width: fit-content;
    display: block;
    max-height: 36px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.gr__imageWrap .fade-image,.gr__imageWrap .gr_carLogo-choice,.gr__imageWrap .btn__gr{
      visibility: hidden;
}

.gr__imageWrap.is-visible .fade-image,.gr__imageWrap.is-visible .gr_carLogo-choice,.gr__imageWrap.is-visible .btn__gr{
      visibility: visible;
    transition-delay: 0s;
}
.gr__imageWrap.is-visible .gr_carLogo-choice,.gr__imageWrap.is-visiblep .btn__gr{
  opacity: 1;
}

.gr__imageWrap.is-visible .fade-image{
    animation: fadeinleft 1s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}
@keyframes fadeinleft {
  0% {
    transform: translateX(30px);
    opacity: 0;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
 

/* -------------------------------------カスタマイズギャラリー */
.panel-0001-wrap:has(.btn__grCustomGallery){
  padding-bottom: 2rem;
  background: linear-gradient(-180deg,#fff 50%,#ff0000 50%);
}
.panel-box-01:has(.btn__grCustomGallery){
  background-color:#000;
  padding-bottom: 1rem;
}
.panel-box-01:has(.btn__grCustomGallery)  a{
  display: inline-block;
}
.panel-box-01:has(.btn__grCustomGallery) .panel-01-title,
.panel-box-01:has(.btn__grCustomGallery) .panel-01-text,
.panel-box-01:has(.btn__grCustomGallery)  a{
  padding-left: 1rem;
  padding-right: 1rem;
}
/* --------------------------------------カスタマイズギャラリー個別事例 */
.customizeHeading{
  font-size: 30px;
}
.customize-gallery__btnWrap{
  width: 33%;
  margin: 0 auto;
}

/* --------------------------ラリチャレ・ヤリスカップ */

/* --------------------------レース導入部 */
.unit-wrapper:has(.gr-race__mind){
    padding: 4rem 0;
}
.unit-wrapper:has(.gr-race__mind)::before{
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
   background-position: center;
  background-repeat: no-repeat;
 filter: grayscale(100%); /* ★背景画像のみモノクロ化 */
  z-index: 0;
}
.unit-wrapper:has(.gr-race__mind-rally)::before{
/* background: linear-gradient(rgba(0, 0, 0, .8),  rgba(0, 0, 0, .8)), url(https://toyota-mobi-shiga.jp/file/special/15101/27845/grgaragetemp/assets/img/rallychallenge_introbg.jpg); */
    background: linear-gradient(rgba(0, 0, 0, .8),  rgba(0, 0, 0, .8)), url(https://toyota-mobi-shiga.jp/file/special/15101/27845/grgaragetemp/assets/img/rallychallenge_introbg.jpg) top / cover no-repeat;
}
.unit-wrapper:has(.gr-race__mind-yaris)::before{
/* background: linear-gradient(rgba(0, 0, 0, .8),  rgba(0, 0, 0, .8)), url(https://toyota-mobi-shiga.jp/file/special/15101/27845/grgaragetemp/assets/img/yariscup_introbg.jpg); */
background: linear-gradient(rgba(0, 0, 0, .8),  rgba(0, 0, 0, .8)), url(https://toyota-mobi-shiga.jp/file/special/15101/27845/grgaragetemp/assets/img/yariscup_introbg.jpg)top / cover no-repeat;
}

.copy-0002:has(.gr-race__mind){
  position: relative;
  z-index: 2;
}
.gr-race__mind h2.motorsports_header{
  font-size: 30px;
  margin: 2rem 0;
  line-height: 1.3;
}

.grid__rallychallengeIntro-image{
  display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 2rem;
    margin-top: 1rem;
}
.grid__rallychallengeIntro-image img{
  width: 100%;
  clip-path: polygon(10% 0, 100% 0%, 90% 100%, 0 100%);
}

.grid__rallychallengeIntro,.grid__yariscupIntro{
    display: grid;
    grid-template-rows: 1fr;
    grid-column-gap: 2rem;
    grid-row-gap: 1rem;
    margin:3rem 0;
}
.grid__rallychallengeIntro{
   grid-template-columns: repeat(3, 1fr);
}
.grid__yariscupIntro{
  grid-template-columns: repeat(2, 1fr);
}
.motorsports__introDescList{
    background-color: rgb(0 0 0 / 50%);
    padding: 2rem;
}
.motorsports__introDescList dt{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1em;
}
.motorsports__introDescList dt::before{
    content: "";
    width: 0.2em;
    height: 100%;
    background-color: #ff0000;
    transform: skew(-15deg);
    position: absolute;
    top: 0;
    left: 0.2em;
}

.gr-race__upperClass{
  padding: 2rem 0;
}

.gr-race__upperClass h3.motorsports_subHeader{
  font-size: 20px;
  margin-bottom: 1rem;
  border-bottom: 2px solid #ff0000;
}
.motorsports_catHeader{
  font-size: 20px;
  margin:0.75rem 0;
    position: relative;
    padding-left: 1em;
}
.motorsports_catHeader::before{
  content: "";
    width: 0.2em;
    height: 100%;
    background-color: #ff0000;
    transform: skew(-15deg);
    position: absolute;
    top: 0;
    left: 0.2em;
}


/* --------------------------ラリチャレ・ヤリスカップ */
.grid.gr-raceWrap{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
grid-template-rows: 1fr;
align-items: center;
background: linear-gradient(0deg,#fff 50%,#ff0000 50%);
/* margin-bottom: 2rem; */
}

.gr-race_ourEntry{
    background: #000;
    padding: 1rem 0 1rem 1.5rem;
    width: 75%;
    margin-left: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.gr-race_ourEntry .flex.mb,.gr-race_ourEntry h3,.gr-race_ourResult h3,.gr-race_ourResult h4{
  margin-bottom: 1rem;
}
.gr-race_ourEntry h3,h3.gr-race_ourResultTitle{
  font-size: 20px;
}
.gr-race_ourResult h4{
  margin-top: 1rem;
  font-size: 18px;
  position: relative;
  padding-left: 1em;
}
.gr-race_ourResult h4::before{
    content: "";
    width: 0.2em;
    height: 100%;
    background-color: #ff0000;
    transform: skew(-15deg);
    position: absolute;
    top: 0;
    left: 0.2em;
}

.gr-race_ourEntry .flex dl{
  display: flex;
  gap: 1rem;
  font-size: 16px;
}
.gr-race_ourEntry .flex dl dt{
  position: relative;
  padding-left: 1em;
}

.gr-race_ourEntry .flex dl dt::before{
    content: "";
    width: 0.2em;
    height: 100%;
    background-color: #ff0000;
    transform: skew(-15deg);
    position: absolute;
    top: 0;
    left: 0.2em;
}
.gr-raceImg img{
  width: 100%;vertical-align: bottom;
}

.grid.gr-race_ourResult{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr;
  gap: 1rem;
}

.ourResultItem dl{
  font-size: 16px;
  margin-bottom: 0.5rem;
}
.ourResultItem div.flex dl{
  display: flex;
  gap: 0.5em;
}

.unit-base:has(.gr-race_ourResult--rallychallenge){
  background: linear-gradient(rgba(0, 0, 0, .6),  rgba(0, 0, 0, .6)), url(/file/cms/15101/6851369/image.jpg);
  background-position: bottom 20% left;
  background-size: cover;
}
.unit-base:has(.gr-race_ourResult--yariscup){
  background: linear-gradient(rgba(0, 0, 0, .6),  rgba(0, 0, 0, .6)), url(/file/cms/15101/6589171/image.jpg);
  background-position: center;
}
.unit-base:has(.gr-race_ourResult){
    padding: 4rem 0;
}



@media (any-hover: hover) {
  .fvTxt_wrapper a.anker-aiwin:hover::before, .fvTxt_wrapper a.anker-aiwin:hover::after,.theme-all .key-color-1-bg-2:has(.btn__gr):hover::before, .theme-all .key-color-1-bg-2:has(.btn__gr):hover::after{
   right: -2.5em;
  }
  .theme-2 .key-color-1-bg-1:has(.btn__gr-gallgay):hover{
    background:#ff0000;
  }
  .accordionMenu__list li a.accordionMenu__listItemMenu:hover{
    color: #ff0000;
  }

  .home__mainCntItem > .home__mainCntLink:hover .home__linkImg-ontxt{
    filter: brightness(70%);
  }
  .home__mainCntItem > .home__mainCntLink:hover .home__linkImg-notTxt{
   filter: brightness(80%);
  }
}

@media screen and (min-width: 1520px) and (max-width: 1759px){
  /* --------------------------topページ メインコンテンツ導線 */
  .grid.home__mainCntGrid{
    grid-column-gap: 2.6%;
    grid-row-gap: 2rem;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1519px){
  .wrapper:has(.gr__bg) header{
    background-color: #fff;
  }
}

@media screen and (max-width: 1200px){
a.sns_link{
  width: 27%;
}
/* --------------------------topページ メインコンテンツ導線 */
.home__mainCntItem{
  grid-template-columns: repeat(1, 1fr);
}
.home__mainCntItemTxt{
  padding: 2rem 3rem;
}
.grid.home__mainCntGrid{
    grid-template-columns: repeat(2, 1fr);
     grid-row-gap: 2rem;
}

  /* -----------------------------------おすすめカスタマイズ */
.grid.grid__recomendcustomize{
 grid-template-columns: repeat(1, 1fr);
}

/* -------------------------車種一覧 GRモデルの選び方のヒント アクションの調整 */
.grid__grchoice .gr__img-button{
  flex-grow: 0;
}
  .fade-image,.gr_carLogo-choice,.gr__imageWrap{
    height: 0;overflow: hidden;
  }
.gr__imageWrap.is-visible,.gr__imageWrap.is-visible .fade-image,.gr__imageWrap.is-visible .gr_carLogo-choice{height: auto;}
.gr__imageWrap .btn__gr{
 margin: 0 auto 2rem;
}
.gr__imageWrap.is-visible .gr_carLogo-choice{
  width: auto;
}

}

@media screen and (min-width: 961px) and (max-width: 1200px){
/* ------------------------下層ページ内部リンクボタン */
.grid.gr-commonBtnWrap{
  gap: 2em 3em;
}
}

@media screen and (min-width: 767px) and (max-width: 1200px){

.grid__rallychallengeIntro-image{
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 2rem;
}
.grid__rallychallengeIntro-image img:nth-child(odd){
  clip-path: polygon(10% 0, 100% 0%, 100% 100%, 0 100%);
}
.grid__rallychallengeIntro-image img:nth-child(even){
   clip-path: polygon(0% 0, 100% 0%, 90% 100%, 0 100%);
}

/* -------------------------車種一覧*/
.gr__recommendWrap{
  min-width: 750px;
}

/* GRモデルの選び方のヒント アクションの調整 */
.gr__image-container{
  width: 50%;
  flex: none;
}

}

@media screen and (max-width: 960px){
  .grid.gr-raceWrap{
    grid-template-columns: repeat(1, 1fr);
    background: linear-gradient(135deg,#fff 50%,#ff0000 50%);
  }
  .gr-raceImg{
    order: 1;
  }
  .gr-race_ourEntry{
    order: 2;
    width: 90%;
    margin: -1rem auto 1rem;
  }
  .grid__rallychallengeIntro, .grid__yariscupIntro{
    grid-template-columns: repeat(1, 1fr);
  }
/* -------------------下層ページ内部リンクボタン */
.grid.gr-commonBtnWrap{
  grid-template-columns: repeat(2, 1fr);
}

}

@media screen and (max-width: 767px) {

  /* --------------------------アンカリング */
/* スクロール位置ずれ修正用 */
#u20250726135854,#u20250829165813,#u20250726140005,#u20251020132105,#u20250726143402,#u20250828111603,#u20250726141736,#u20250726150337,#u20250726150441,#u20250726151433,#u20250726152203{
  padding-top: 50px;
  margin-top: -50px;
}
.unit-wrapper:has(.accordionMenu__area){
  min-height: 44px;contain: layout;
}
  .accordionMenu__area .accordionBtn{
    display: block;
    width: 100%;
    text-align: left;
    background-color: rgb(45, 45, 45);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding-left: 0;
    position: relative;
    padding: 0.5em 16px;
    transition: background-color 0.5s;
  }
  .accordionMenu__area .accordionBtn::before,
  .accordionMenu__area .accordionBtn::after{
    content: "";
    position: absolute;
    bottom: 0;
    top: 0;
    margin: auto 0;
    left: calc(100% - 1.5rem);
    width: 3px;
    height: 10px;
    border-radius: 9999px;
    background-color: #ffffff;
    transform-origin: 50% calc(100% - 1.5px);
  }
   .accordionMenu__area .accordionBtn::before{
    transform: rotate(45deg);
   }
    .accordionMenu__area .accordionBtn::after{
    transform: rotate(-45deg);
   }
   .accordionMenu__area.active .accordionBtn{
    background-color: #ff0000;
   }
   .accordionMenu__area.active .accordionBtn::before,.accordionMenu__area.active .accordionBtn::after{
    transform-origin: 50% 1.5px;
   }

  .accordionMenu__list {
    overflow: hidden; /* アコーディオン動作のために必要 */
    height: 0; /* 初期状態は閉じる */
    padding: 0 16px;
    column-gap: 4%;row-gap: 0.25rem;
  }
  .accordionMenu__list li{
    width: 48%;
    line-height: 2.4;
    font-size: 14px;
    border-bottom: 1px solid #fff;
    padding-left: 0.5em;
  }
   .accordionMenu__list li:last-child{
    margin-bottom: 0.75em;
   }
   .accordionMenu__list li a{
    display: block;
   }

/* ----------------------------固定背景 */
.content:has(.gr__bg)::before{
  background:linear-gradient(rgba(0, 0, 0, 0),  rgba(0, 0, 0, .8)),url(https://toyota-mobi-shiga.jp/file/cms/15101/6568258/filename.jpg);
  background:linear-gradient(rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, .6)),url(https://toyota-mobi-shiga.jp/file/cms/15101/6568258/filename.jpg);
  background-size: cover;
  background-position-y: bottom;
  background-repeat: no-repeat;
}

.object_pst-c{
  object-position: left bottom;
}
  .box-0001-2__column:has(.flex-item-pt1){
    flex-direction: column;
  }

  .box-0001-2__title:has(.subHeading__gr34){
    font-size: 24px;
  }

/* ----------------------------イベント情報 */
.box-0001-2__column:has(.newEvent-bg1){
  background: linear-gradient(180deg,#ff0000 75%,#000000 25%)
}
.box-0001-2__inner:has(.newEvent-bg1){
  width: 90%;margin: 1rem auto;
}
 .box-0001-2__title:has(.newEvent-bg1){
  margin-top: 0;
 }

 /* --------------------------topページ メインコンテンツ導線 */
 .flex.home__mainCntGrid{
  grid-template-columns: repeat(2, 1fr);
 }
 .home__mainCntItem{
 grid-column: span 1 !important; /* 全バナー1列分（50%幅） */
    grid-column-start: auto !important; /* 開始位置の指定を解除 */}

 /* .home__mainCntItem h3.home__mainCnt-head img{
  height: 26px;
 } */
  h3.home__mainCnt-head{
    font-size: 22px;
  }

/* ----------------------------おすすめカスタマイズ */
.customize__txtBox{
  padding: 1rem;
}
/* ----------------------------AIWINについて */
.heading-16{
  font-size: 16.8px;
}
.heading-16::before{
  margin-right: 1rem;
}
.heading-16::after{margin-left: 1rem;}

  /* --------------------------カスタマイズ */
  .headline-0006__item:has(.bgml-0){
  margin-left: 0;
}
.headline-0006__item .copy:has(.customize__intro){
  margin-top: -1.5rem;
}
.customize__intro .box-0001-2__title:has(.subHeading__gr34){
  margin-top: 0;
}
.grid__customize_cta h3{
  font-size: 20px;
}
  /* --------------position解除 */
  .headline-0006__item .copy:has(.pstnReset-sp){
    position: static;
    transform: none;
    padding: 0 1rem;
  }

  .box-0001-1__column:has(.flex-item-pt1){
    flex-direction: column;
  }
  .box-0001-1__column:has(.sp-flex-none){
    display: block;
  }

  .customize-introHeader{
  font-size: 24px;
}

.customize-gallery__btnWrap.customize-gallery__btn-top{
  width: 90%;
}

  /* -------------新着カスタマイズギャラリー */
.box-0001-1__column:has(.customizeGallary-bg1){
  background: linear-gradient(130deg,#fff 50%,#ff0000 50%);
}
.box-0001-1__inner:has(.customizeGallary-bg1){
  width: 90%;
  margin: -1rem auto 1rem;
}

/* ---------------------------GR認定中古車 */
.GRnintei_logo{
  /* max-width: 80%; */height: 40px;
}
.grOld__head{
    width: auto;
}
.grOld__meritList{
flex-direction: column;
margin: 0;
}
.grOld__meritList li::before{
  left: 0.2em;
}

  /* --------------------------SNS */
.gr-sns_wrap{
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}
.gr-sns_wrap .sns-logo{
  width: 10%;margin-right: 20px;
}
a.sns_link{
  text-align: left;
  width: 50%;
  margin: 0 auto;
  padding: 0.5em 1em;
}
/* ---------------------------staff紹介 */
.grid.staff-gridarea{
  grid-template-columns: 1fr;
  padding: 0 1rem 2rem;
}
.staff-profile{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.staff-profile div.flex dl{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.staff-profile div.flex dl dt{
  margin:1rem 0;
}
.staffImg{
  margin: 0 auto 1rem;
}

/* ---------------------------------------カスタマイズギャラリー一覧 */
.fs_30.gr-customize-header{
  font-size: 24px;
}
/* --------------------------------------下層ページ内部リンクボタン */
.grid.gr-commonBtnWrap{
  grid-template-columns: 1fr;
  width: 90%;
  gap: 2rem;
  padding: 2rem 0;
}
/* --------------------------------------カスタマイズギャラリー個別事例 */
.customizeHeading{
    font-size: 20px;
    line-height: 1.5;
    padding-bottom: 0.2em;
}
.customize-gallery__btnWrap{
    width: 60%;
    min-width: 200px;
    margin: 0;
}
/* --------------------------------------車種一覧 */
  .grid__grchoice{
    display: block;
  }
.gr__choiceTxt{
  text-align: left;
}
.gr__recommendWrap{
  width: 95%;
  margin-top: -1rem;
  padding: 1rem;
}
.gr-lineupHead{font-size: 24px;}
.grYaris__wrap .gr-commonBtnWrap,.grCorolla__wrap .gr-commonBtnWrap,.gr86__wrap .gr-commonBtnWrap{
  flex-direction: column;
  gap: 1rem;
}
.grLineUp__wrap h3{
  font-size: 20px;
}
img.gr_carLogo{
  max-height: 32px;
  margin-bottom: 0.5rem;
  width: auto;
}
.grid.gr__consultantComment{
  grid-template-columns: 1fr;
  gap: 1rem 0;margin-top: 1rem;
}
.gr__consultantComment img{
 max-width: 120px;
 height: 120px;
 margin: 0 auto 1rem;
}
.gr__consultantTxt{
  padding: 1em;
}
.gr__consultantTxt::after{
    top: -2%;
    left: 50%;
    rotate: -180deg;
    transform: translateX(-50%);
}
.gr__consultantTxt h5{
  font-size: 18px;
}
.grLineUp__wrap .btn__gr{
  margin: 0 auto;
}


/* --------------------------------------ラリチャレ・ヤリスカップ */

.unit-wrapper:has(.gr-race__mind){
  padding:0;
}
.unit-wrapper:has(.gr-race__mind)::before{
  position: sticky;
  width: 100%;
  height: 100svh;
  display: flex;
  background-size: cover;
  background-position: top center;
z-index: 0;
}

.unit-wrapper:has(.gr-race__mind-rally)::before{
  background:linear-gradient(rgba(0, 0, 0, .8),  rgba(0, 0, 0, .8)), url(https://toyota-mobi-shiga.jp/file/special/15101/27845/grgaragetemp/assets/img/rallychallenge_introbg_sp.jpg);
  background-repeat: no-repeat; background-size: cover;background-position: top center;
}
.unit-wrapper:has(.gr-race__mind-yaris)::before{
  background:linear-gradient(rgba(0, 0, 0, .8),  rgba(0, 0, 0, .8)), url(https://toyota-mobi-shiga.jp/file/special/15101/27845/grgaragetemp/assets/img/yariscup_introbg_sp.jpg);
   background-repeat: no-repeat; background-size: auto 100%;
}
.unit-base:has(.gr-race__mind){
  margin-top: -100svh;
  padding: 2rem 0;
}

.grid__rallychallengeIntro-image,.grid.gr-race_ourResult{
  grid-template-columns: repeat(1, 1fr);
}
.unit-base:has(.gr-race_ourResult--rallychallenge){
  background-size: auto;
}
.unit-base:has(.gr-race_ourResult--yariscup){
  background-position: center 25%;
}

}

@media screen and (max-width: 520px){
  .gr-logo{
    max-height: 60px;
    padding: 0 0 0.75em;
    position: relative;
    z-index: 9;
  }

  /* -------------トップページ メインコンテンツ導線 */
  .flex.home__mainCntGrid{
    grid-template-columns: repeat(1, 1fr);
  }
  .home__mainCntItemTxt{
    align-items: flex-start;
   min-width: inherit;
    margin: 1rem 0 0;
    background-color: transparent;
    padding: 0;
  }


  /* -------------カスタマイズのご相談は */
.grid__customize_cta{
  grid-template-columns: repeat(1, 1fr);
  padding-top: 1rem;
  gap: 1rem;
  order: 1;
}

/* -------------------------------------車種一覧 */
.grid__gr-chara-image{
  grid-template-columns: repeat(1, 1fr);
}
.gr__charaMainHead{
  font-size: 20px;
}

/* -------------------------------------ラリチャレ・ヤリスカップ */
.gr-race_ourEntry .flex dl{
  flex-direction: column;
  gap: 0.5rem;
}

.gr-race__mind h2.motorsports_header{
  font-size: 24px;
}

  /* --------------------------SNS */
  .gr-sns_wrap .sns-logo{
    width: 30px;
    margin-right: 10px;
  }
  a.sns_link{
  width: 90%;
  margin: 0;
  }

  .youtubeCWrap{
    width: 80%;
  }

}