@charset "utf-8";
@import url("color.css");

* {
	box-sizing: border-box;
}

html {
	overflow-y: scroll;
	scroll-behavior: smooth;
}

body {
	color: var(--mfj-text);
	background-color: var(--mfj-base);
	letter-spacing: 0.1em; /*100*/
	line-height: 1.7;
	font-size: 0.875rem;/*14px*/
	font-feature-settings: "palt";
	font-family: "Noto Sans JP", sans-serif;
}

a {
	text-decoration: none;
	transition: all 0.3s;
    position: relative;
}
.link {
	position: relative
}
.link a {	
      position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
}

a:hover {
	opacity: 0.5;
}

img {
	height: auto;
	width: 100%;
}

.sp_block {
	display: none;
}
section {
	padding: 5vw 6vw;
}
.wrapper {
	width: min(100%, 1080px);
	margin: 0 auto;
	padding: 6vw 5vw;
	position: relative;
}

h2 {
	position: relative;
  color: var(--mfj-white);
  line-height: 1.1;
  -webkit-box-reflect: below -10px -webkit-linear-gradient(top,rgba(0,0,0,0),rgba(0,0,0,0) 10%,rgba(0, 0, 0, 0.3));
	font-size: 2.3em;
	text-align: center;
	margin-bottom: 2em;
    margin-top: 80px;
	position: relative;
	
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

h2::before {
	content: "";
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translate(-50%, 0);
	background-color: #A68003;
	width: 130px;
	height: 1px;
}



.page-title {
	color: var(--mfj-navy);
	font-size: 0.75rem; /*12px*/
	text-align: center;
	margin-bottom: 3vw;
	display: flex;
    flex-direction: column;
    align-items: center;
}

.page-title span {
	display: block;
	font-family: var(--mfj-font-maru);
	font-weight: 700;
	font-size: 2.5rem; /*40px*/
}

.page-title::after {
	content: '';
	background: radial-gradient(circle farthest-side, var(--mfj-navy), var(--mfj-navy) 30%, transparent 30%, transparent);
    background-size: 20px;
    display: block;
    height: 20px;
    width: 60px;
}

/* =================================================
サイトオープン時のポップアップ設定
==================================================*/
body.open_popup {
  overflow: hidden;
}

.bg_onetime_popup {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

body.open_popup .bg_onetime_popup {
  opacity: 1;
  visibility: visible;
}

.onetime_popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 50%;
  min-width: 500px;
  background-color: #fff;
}

.onetime_popup_title {
  position: relative;
  margin: 0px;
  color: #fff;
  font-size: 32px;
  text-align: center;
  line-height: 1.5;
}

.onetime_popup_title_close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 2;

}
.onetime_popup_title_close::before,
.onetime_popup_title_close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  height: 4px;
  background-color: #fff;
  content: "";
}
.onetime_popup_title_close::before {
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}
.onetime_popup_title_close::after {
  transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.onetime_popup_content {
  /* padding: 60px 30px; */
  text-align: center;
}

/* =================================================
header〜nav
==================================================*/

#header{
  width:100%;
  color:#fff;
  text-align: center;
  padding: 20px;
    position: fixed;
	z-index: 100
}

#header h1 {
  padding: 20px;
    position: fixed;
	width: 90px;
	left: 0;
	top:0;
}
#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:fixed;
  z-index: -1;
  opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
  top:0;
  width:100%;
    height: 100vh;/*ナビの高さ*/
  background:rgba(36,36,36,.95);
    /*動き*/
  transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
  opacity: 1;
  z-index:999;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav.panelactive ul {
    display: block;
}

/*リストのレイアウト設定*/

#g-nav li{
  list-style: none;
    text-align: center; 
}

#g-nav li a{
  color: #fff;
  text-decoration: none;
  padding:2em;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
	font-size: 1.2em
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  right: 20px;
  cursor: pointer;
    width: 47px;
    height:47px;
}
  
/*×に変化*/  
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    /*left: 14px;*/
    height: 1px;
    border-radius: 2px;
  background-color: #DDDDDD;
    width: 100%;
  }

.openbtn1 span:nth-of-type(1) {
  top:11px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:35px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 0px;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 0px;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;
}





/* =================================================
スクロールダウン
==================================================*/

.scroll_down-wrap {
	position: fixed;
	right: 0;
	top: 64%;
	transform: translate(0, 0%);
    z-index: 10;
}
.scroll_down {
  position: relative;
  width: 50px;
  /*height: 100vh;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;*/
}

.scroll_down:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(180deg,rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
  }

.scroll_down a {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 13px;
  padding: 10px 13px 110px 5px;
  color: #ddd;
  font-size: 12px;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: .2s;
  overflow: hidden;
  margin: auto;
}

.scroll_down a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #ddd;
}

.scroll_down a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: var(--mfj-base);
}

.scroll_down a:hover {
  opacity: .5;
}

#type01 a:after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}



/* =================================================
左サイドのテキスト
==================================================*/
.left-floating-txt {
	position: fixed;
	left: 13px;
	top: 50%;
	transform: translate(0, -50%);
  writing-mode: vertical-lr;
	z-index: 10;
	
  font-family: "Shippori Mincho B1", serif;
  font-weight: 600;
  font-style: normal;
		
}


/* =================================================
多言語変換ボタン
==================================================*/

input[type="checkbox"] {
  display: none;
}
.container {
  position: relative;
  background:var(--mfj-base);
  width: 320px;
  height: 528px;
  margin: 50px auto;
}
.btn {
  background: var(--mfj-white);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
}
.btn svg {
  position: relative;
  top: 1px;
  right: 1px;
}
.btn--large {
  width: 60px;
  height: 60px;
}
.btn--menu:after {
  /*content: "";
  display: block;
  width: 25px;
  height: 25px;
  //background: #fff;
  position: absolute;
  top: 29px;
  left: 18px;
  transition: transform 100ms;*/
	content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url("../img/icon-language.png") no-repeat;
  background-size: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
/*.btn--menu:after {
  transform: translateY(-5px);
}
.btn--menu:before {
  transform: translateY(5px);
}*/
.btn--share {
  background: #f39c12;
}
.btn--star {
  background: #2ecc71;
}
.btn--comment {
  background: #16a085;
}
.btn p {
	color: var(--mfj-white);
	font-weight: 600;
}


.actions-menu {
  position:fixed;
  width: 60px;
  height: 60px;
  right: 20px;
  bottom: 20px;
	z-index: 100;
}
.actions-menu .btn {
  position: absolute;
  top: 8px;
  left: 8px;
  opacity: 0;
  transition: top 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
              left 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275),
              opacity 200ms;
}
.actions-menu .btn--menu {
  position: absolute;
  opacity: 1;
  top: 0;
  left: 0;
  z-index: 0;
}
.btn--menu, #actionMenuButton:checked + .actions-menu > .btn {
  opacity: 1;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
#actionMenuButton:checked + .actions-menu > .btn--menu:after {
 /* transform: rotate(45deg);*/
}
#actionMenuButton:checked + .actions-menu > .btn--menu:before {
  transform: rotate(-45deg);
}
#actionMenuButton:checked + .actions-menu > .btn--share {
  top: -70px;
}
#actionMenuButton:checked + .actions-menu > .btn--star {
  top: -50px;
  left: -50px;
}
#actionMenuButton:checked + .actions-menu > .btn--comment {
  left: -70px;
}

.fuwafuwa {
    animation: fuwafuwa 2s infinite ease-in-out;
}
@keyframes fuwafuwa {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}


/* =================================================
メインビジュアル
==================================================*/
.mv {
    width: 100%;
	height: 100vh;
    position: relative;
    overflow: hidden; 
}

.mv::before{
  background:  linear-gradient(77deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.0) 50%);
  content: "";
  height: 100%;
  position: absolute;
	left: 0;
  width: 100%;
  z-index: 1;
}

.slick__bg {
    padding-bottom:100vh;
    background-size: cover;
    background-repeat: no-repeat;
}
.slick__bg01 {
    background-image: url("../img/mv_01.jpg") ;
}
.slick__bg02 {
    background-image: url("../img/mv_02.jpg") ;
}

.mv-txt {
	position: absolute;
	top:26%;
	left: 10%;
	transform: translate(0, -50%);
    width: max-content;
	z-index: 10
}
.mv-txt h1 {
	font-family: var(--mfj-font-serif);
	font-size: 2.3em;
}
.gold-line {
	background: rgb(173,139,58);
	background: linear-gradient(90deg, rgba(173,139,58,1) 0%, rgba(241,240,220,1) 32%, rgba(139,102,16,1) 100%);
	padding: 1em 4em 1em 1em;
    margin-top: 26px;
    text-align: right;
    width: 133%;
    transform: translateX(-25%);
    position: relative;
}

.gold-line p::after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 2em;
  bottom: 0;
  margin: auto;
}

/* 光らせるためのstyle */
.shine{
  position: relative;
  overflow: hidden;
}
/* 光の疑似要素 */
.shine::before{
  content: "";
  animation: shine 2.5s cubic-bezier(0.25, 0, 0.25, 1) infinite;
  background-color: #fff;
  width: 140%;
  height: 100%;
  transform: skewX(-45deg);
  top: 0;
  left: -160%;
  opacity: 0.5;
  position: absolute;
}
/* 光の動き */
@keyframes shine{
  0% {
    left: -160%;
    opacity: 0;
  }
  70% {
    left: -160%;
    opacity: 0.5;
  }
  71% {
    left: -160%;
    opacity: 1;
  }
  100% {
    left: -20%;
    opacity: 0;
  }
}








.zoom-fade {
  overflow: hidden;
  /*width: 600px;
  height: 400px;*/
  margin: 0 auto;
}

.zoom-fade__item {
  object-fit: cover;
}

/*
ズーム（ズームイン）させるためのアニメーション
コメントアウト部分を入れ替えれば、ズームアウトになります。

拡大率（scale()）はお好みで！
*/
.add-animation {
  /* アニメーション名 アニメーションにかかる時間 アニメーションの実行前後の状態 */
  /* zoom-fade 10秒 [実行前]最初のキーフレーム（0%） → [実行後]最後のキーフレーム（100%） */
  animation: zoom-fade 10s both;
}

@keyframes zoom-fade {

  0% {
    /*transform: scale(1.05);*/
    transform: scale(1);
  }

  100% {
    /*transform: scale(1);*/
    transform: scale(1.05);
  }

}
/* =================================================
LINE UP
==================================================*/
.sec-lineup ul {
	display: flex;
	justify-content: space-between;
	width: min(670px, 90%);
	flex-wrap: wrap;
	margin: 0 auto;
}
.sec-lineup ul li {
	width: 46%;
	margin-bottom: 25px;
}

.sec-lineup ul li div {
    height: 195px;
	border-radius: 15px;
	overflow: hidden;
	margin-bottom: 5px
}
.sec-lineup ul li div img {
    object-fit: cover;
    display: block;
  object-position: 0 100%
}


.sec-lineup ul li p {
	position: relative;
	padding-left: 15px;
}
.sec-lineup ul li p::before { 
	content: "";
    position: absolute;
    top: 50%;   /* 縦軸をセンタリングする */ 
    left: 0;
    transform: translateY(-50%);   /* 縦軸をセンタリングする */  
    border: 5px solid transparent;
    border-left: 8px solid #fff;   /* 好みで色を変えてください */  
}

/* =================================================
PLAN
==================================================*/
h3 {
	padding: 4px;
	  width: 100%;
	text-align: center;
	  background-image: linear-gradient(0deg, rgba(170, 136, 57, 1) 10%, rgba(241, 240, 220, 1) 90%);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 600;
  font-style: normal;
    margin-bottom: 40px;
}

h3 p {
	border: 1px solid #fff;
	color: var(--mfj-brown);
	text-shadow: 1px 1px 0 rgba(255,255,255,.2);
	font-size: 1.5em;
    padding: 5px;
}

h3 span {
	display: block;
	font-size: 0.5em;
    margin-bottom: -6px;
}

h3 + p {
	text-align: center;
	margin-bottom: 40px;
}
.sec-plan article {
	margin-bottom: 100px;
}

.plan {
	display: flex;
    justify-content: space-around;
}
.plan.reverse {
  flex-direction: row-reverse;
}

.plan .item {
	width: 47%;
}
.item._img img {
    height: 27vw;
    overflow: hidden;
}
article + div:nth-child(2) {
	margin-top: 80px
}

.item._text .car-info {
	font-size: 0.8em;
	margin-bottom: 2em
}
h4 {
	color: var(--mfj-yellow);
	font-weight: 800;
	font-size: 1.6em;
	margin-bottom: 15px
}

.plan-box {
	display: flex;
	justify-content: space-between
}

.plan-box div.plan-list {
	width: 47%
}

.plan.reverse {
	margin-top: 80px;
}
.plan-box div.plan-list p:first-child, 
.plan-box div.plan-list p:first-child {
	border-left: 7px solid var(--mfj-white);
    border-bottom: 1px solid var(--mfj-white);
    padding-left: 8px;
}
.plan-list dl {
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
    width: 100%;
    margin: 15px auto 5px;
}
.plan-list dl dd,
.plan-list dl dt {
	margin-bottom: 10px
}
#chevrole  .plan-list dl dd,
#audi  .plan-list dl dd {
	width: calc(100% - 66px);
  color: var(--mfj-gold);
  font-size: 1.5em;
  font-weight: 600;
  border-bottom: 1px dotted #333;

  display: flex;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
}

#chevrole  .plan-list dl dd > span,
#audi  .plan-list dl dd > span {
  font-size: 15px;
  font-weight: 400;
  color: var(--mfj-white);
  text-decoration-line:line-through;
}
.plan-list dl dt {
	width: 66px;
  border-bottom: 1px dotted #333
}

.btn-book {
	background-color: #fff;
	width: fit-content;
	padding: 0.6em 2.3em;
	margin: 0 auto;
	font-weight: 600;
	font-size: 0.9em;
	border-radius: 50vh;
	color: var(--mfj-base)
}

.chash-back {
	background-color: var(--mfj-gold);
	text-align: center;
	width: max-content;
	padding: 1em;
	margin: 0 auto 15px;
}





/* =================================================
footer
==================================================*/
footer {
	background-color: var(--mfj-white);
	color: var(--mfj-base);
	text-align: center;
	font-size: 0.7em;
    margin-bottom: -8px;
}
.footer-nav {
	display: flex;
}
.footer-nav{
	display: flex;
  width: 100%;
}

.box{
  overflow: hidden;
  position: relative;
  width: 100%;
  cursor: pointer;
}

.box-bg._about{
  background: url('../img/about.jpg') center center / cover no-repeat;
}
.box-bg._contact{
  background: url('../img/contact.jpg') center center / cover no-repeat;
}
.box-bg{
  width: 100%;
  height: 350px;
  position: relative;
  z-index: 0;
  transition: .3s ease-in-out;
}

.box-bg:hover{
  transform: scale(1.1);
}

.box-bg::before{
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 70%);
  content: "";
  height: 100%;
  position: absolute;
	left: 0;
  width: 100%;
  z-index: -1;
}

.box-text{
  position: absolute;
  pointer-events: none;
    position: absolute;
    width: max-content;
    top: 50%;
    left: 50%;
	transform: translate(-50%,-50%)
}


.box-text p{
  color: #fff;
    border: 1px solid;
    padding: 1em 3em;
  font-size: 17px;
}


small {
	display: block;
	padding: 25px 0;
}



/* =================================================

コンテンツ幅767px以下の表示はここからです

==================================================*/
@media screen and (max-width:767px){
	.wrapper {
		padding: 6vw 5vw 20vw;
	}

	.sp_block {
		display: block;
	}

	.sp_none {
		display: none;
	}

	.page-title {
		margin-bottom: 8vw;
	}
	
	.scroll_down-wrap{
		right: -12px;
    top: 61%;
	}
	.scroll_down a {
    	font-size: 10px;
	}
	.left-floating-txt {
		font-size: 10px;
		left: 4px;
	}
	
	
	/*MV*/
	
	.slick__bg01 {
		background-image: url("../img/mv-sp_01.jpg") ;
	}
	.slick__bg02 {
		background-image: url("../img/mv-sp_02.jpg") ;
	}
	.mv-txt{
		top: 100px;
		left: 10%;
		transform: translate(0, 0%);
	}
	.mv-txt h1 { 
		-ms-writing-mode: tb-rl;
		writing-mode: vertical-rl;
		text-orientation: upright; 
	}
	
	/* =================================================
	header〜nav
	==================================================*/
	
	

/* =================================================
	LINE UP
	==================================================*/

/* PC（769px以上）：シボレー / アウディ / 自転車 を横3列に並べる */
#sec-lineup ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
}

#sec-lineup ul li {
	flex: 0 0 30%;
	max-width: 30%;
}

#sec-lineup ul li img {
	width: 100%;
	height: auto;
	object-fit: cover;
	display: block;
}

/* スマホ（768px以下）：縦1列に並べる */
@media screen and (max-width: 768px) {
	#sec-lineup ul {
		display: block;
	}

	#sec-lineup ul li {
		width: 100%;
		max-width: none;
		margin-bottom: 30px;
	}
}	

/* =================================================
	PLAN
	==================================================*/
.plan {
	flex-direction: column;
}

.item._text .car-info {
	width:  min(80%, 450px);
	margin: 0 auto 2em;
}

/* =================================================
	foorer
	==================================================*/
.footer-nav {
	flex-direction: column;
}
