html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: "メイリオ", Meiryo, "Hiragino Kaku Gothic Pro",
    "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", "Lucida Grande",
    "Lucida Sans Unicode", Arial, Verdana, sans-serif;
  color: #333333;
}

p {
  margin: 0;
}

section {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.hamburger-menu,
.is-sp,
.is-sp {
  display: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 55px;
  background-color: #e70012;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
}

.logo {
  padding-top: 22.5px;
}

.header__inner {
  max-width: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
}

.header__navgroup {
  display: flex;
  flex: none;
  margin: 0 120px 0 auto;
}

.header__navgroup > * + * {
  margin-left: 25px;
}

.header__navgroup img {
  margin-top: 5px;
  margin-right: 15px;
}

.header-insta {
  margin-top: 3px;
}

.header-line {
  margin-top: 2px;
  margin-left: 0;
}

.header__nav {
  font-size: 15px;
  color: white;
  line-height: 50px;
}

.header__info {
  font-size: 19px;
  line-height: 1;
  padding-top: 5px;
  text-align: right;
}

.header-border {
  border-left: 1px solid white;
  height: 45px;
  margin-top: 3px;
  font-weight: lighter;
  opacity: 0.3;
}

.border-01 {
  margin-left: 13px;
}

.mein-container {
  position: relative;
  max-width: 100%;
}

.fadein {
  opacity: 0;
  animation: fadein 1.2s ease forwards;
}
@keyframes fadein {
  100% {
    opacity: 1;
  }
}

/*以下遅延の指定*/
.txt02 {
  animation-delay: 0.5s;
}

.mein-title-box {
  position: absolute;
  top: 35%;
  left: 11%;
  color: white;
  font-style: italic;
  font-weight: bold;
}

.mein-title {
  font-size: 50px;
  transform: rotate(-3deg);
}

.mein-subtitle {
  font-size: 38px;
  margin-top: 20px;
  transform: rotate(-3deg);
}

#page_top {
  width: 60px;
  height: 60px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #e70012;
}

#page_top a {
  position: relative;
  display: block;
  text-decoration: none;
}

#page_top a::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f077";
  font-size: 20px;
  color: #fff;
  position: absolute;
  right: 0;
  left: 0;
  top: 20px;
  text-align: center;
}

a {
  text-decoration: none;
}

.fa-search,
.fa-building,
.fa-envelope,
.fa-check,
.fa-print,
.fa-file-alt {
  padding-right: 7px;
}

.fa-envelope {
  padding-right: 7px;
  padding-left: 7px;
  font-size: 17px;
}
.post-code {
  font-size: 14px;
}

.business_hours {
  font-size: 12px;
}

.car-select {
  position: relative;
}

.car-select-tag {
  position: absolute;
  top: -134px;
  left: 14.5%;
}

.main-img {
  margin-top: 53px;
}

.is-sp-text {
  display: none;
}

.car-select-inner,
.inventory-car-select-inner {
  background-color: white;
  padding: 15px;
  max-width: 1030px;
  width: 100%;
  box-shadow: 0 10px 15px 0 rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.car-select-inner {
  position: absolute;
  top: -100px;
  left: 14.5%;
}

.car-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.car-icon {
  width: calc(100% / 8);
  display: inline-block;
  text-align: center;
  height: 70px;
  vertical-align: top;
  padding: 5px 0;
}

.car-icon:hover {
  background-color: #e8e8e8;
}

.car-icon p {
  font-size: 10px;
  margin: 0;
}

.car-icon a {
  color: black;
}

h1 {
  text-align: center;
  line-height: 120px;
  letter-spacing: 1.5px;
  font-size: 23px;
}

.sub-page {
  height: 120px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.back-inventory {
  background-image: url("img/back-inventory.png");
}

.back-about {
  background-image: url("img/back-about.png");
}

.back-contact {
  background-image: url("img/back-contact.png");
}

.merit-container {
  margin-top: 160px;
}

.merit-inner,
.recommend-inner,
.detail-box {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.detail-tbl {
  width: calc(50% - 30px / 2);
}

.detail-tbl table {
  width: 100%;
}

.merit-box {
  border-left: 1px solid #e6e6e6;
  padding: 20px 0;
  width: calc(100% / 3);
  box-sizing: border-box;
  text-align: center;
}

.border-none {
  border: none;
}

.merit-title {
  font-size: 18px;
  font-weight: bold;
  padding: 7px 0 12px 0;
}

.merit-text {
  padding: 20px;
  font-size: 13px;
  padding: 0 30px 10px 30px;
  line-height: 1.8;
}

.recommend-container {
  background-color: #f8f8f8;
  padding: 60px 0 90px 0;
  margin-top: 120px;
  position: relative;
  max-width: 100%;
}

.new-container {
  margin-top: 70px;
  position: relative;
  max-width: 100%;
}

.recommend-box {
  width: 100%;
}

.car-info {
  background-color: white;
  box-shadow: 20px 40px 60px rgb(0 0 0 / 20%);
  width: calc(24% - 80px / 4);
  padding: 10px;
}

.car-info-img {
  width: 100%;
  height: 146.734px;
  overflow: hidden;
}

.car-info a {
  width: 220px;
  color: black;
}

.car-info:hover img {
  transform: scale(1.1, 1.1);
  transition: 1s all;
}

.car-info:hover {
  box-shadow: 20px 40px 60px rgb(0 0 0 / 0%);
  transition: all 1s;
}

.td-left,
.td-right {
  border: none;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 6px 0;
}

.black {
  color: black;
  font-size: 14.5px;
}

.td-right {
  text-align: right;
}

.car-info-bottom {
  border-top: 1.5px solid#e8e8e8;
}

.more-btn {
  text-align: center;
  margin: 90px 0;
}

.fa-chevron-right {
  padding-left: 15px;
}

footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 20px 0 40px 0;
  width: 100%;
}

.sp-car-info {
  display: none;
}

.inventory-heading {
  margin: 50px 10px 10px 10px;
  font-size: 20px;
 letter-spacing: 3px;
}

.inventory-heading img {
  vertical-align: bottom;
  margin-right: 7px;
}

.item-list {
  padding: 0;
  margin: 0 10px;
}

.item-list a {
  color: #3f3f3f;
  display: block;
}

.item-list-box {
  margin-bottom: 20px;
}

.item-list-box:hover {
  opacity: 0.6;
}

.row-1 li {
  padding-top: 10px;
  display: inline-block;
  padding-left: 10px;
  font-size: 15px;
}

.tags {
  list-style: none;
  margin: 0;
  display: inline-block;
  vertical-align: bottom;
}

.name {
  margin: 0;
  width: 295px;
  display: inline-block;
}

.item-row,
.row-2 {
  padding: 0;
  font-size: 0;
}

.row-2 li {
  display: inline-block;
  font-size: 14px;
  border: 1px solid #ddd;
  border-left: none;
  text-align: center;
  height: 107.7px;
  vertical-align: middle;
  line-height: 7.5;
  box-sizing: border-box;
}

.row-1 {
  padding: 0;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

.item-row li {
  display: table-cell;
  background-color: #3f3f3f;
  color: white;
  padding: 5px 0;
  font-size: 10px;
  font-weight: normal;
  text-align: center;
  display: inline-block;
}

.img {
  width: 16%;
}

.price {
  width: 16.1%;
  border-left: 1px solid white;
  box-sizing: border-box;
}

.year {
  width: 8.2%;
  border-left: 1px solid white;
  box-sizing: border-box;
}

.maker,
.body,
.inspection,
.loading,
.running {
  width: 9.7%;
  border-left: 1px solid white;
  box-sizing: border-box;
}

.contact-number {
  width: 11.2%;
  border-left: 1px solid white;
  box-sizing: border-box;
}

.num {
  font-size: 19px !important;
  letter-spacing: 1.5px;
  color: #e70012;
}

.even {
  background-color: #f8f8f8;
}

table {
  border-collapse: collapse;
}

td {
  border: solid 1px #ddd;
}

.text {
  text-align: center;
  margin: 45px 15px 60px 15px;
  line-height: 1.8;
  letter-spacing: 2px;
}

.company-container,
.inquiry-container,
.inventory-container {
  margin: 150px auto 80px auto;
}

.inquiry-box {
  border: 1px solid #999999;
  display: inline-block;
  max-width: 400px;
  width: 100%;
  height: 200px;
  background-color: #f5f5f5;
  padding: 30px;
  margin: 0 15px;
  vertical-align: top;
}

.inquiry-inner {
  text-align: center;
}

.mail {
  margin-top: 46px;
}

.border {
  border-bottom: 1px solid #999999;
  margin: 15px 0;
}

.line-add p {
  display: inline-block;
  vertical-align: middle;
  margin-right: 20px;
  margin-top: 10px;
}

.line-id {
  margin-top: 7px !important;
}

.red {
  color: #e70012;
  font-size: 14px;
}

.red-marker {
  color: #e70012;
  border-bottom: 1px solid #e70012;
}

.overview-table {
  font-size: 15px;
  max-width: 980px;
  width: 92%;
  margin: 0 auto;
}

.overview-table th,
.overview-table td {
  border: 1px solid #ddd;
  padding: 15px;
  letter-spacing: 1px;
  font-weight: normal;
}

.overview-table th {
  background: #f5f5f5;
  position: relative;
  text-align: left;
  width: 35%;
}

.google-map {
  text-align: center;
  margin-top: 30px;
}

button:hover {
  border: 2px solid #976f11;
  color: #976f11;
}

.confirm-two-btn {
  text-align: center;
}

.back-btn-box,
.submit-btn-box {
  display: inline-block;
  margin: 70px 0 0 0;
}

dt {
  font-weight: bold;
}

dd {
  margin: 10px 30px;
}

.detail-table-container {
  margin-top: 60px;
}

.datail-imgs {
  display: inline-block;
}

.datail-imgs {
  max-width: 334px;
  width: 100%;
  height: 432px;
  overflow-y: scroll;
  margin: 0;
  padding-left: 10px;
}

.datail-imgs li {
  display: inline-block;
  width: 32%;
}

.detail-table-container td {
  border: none;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 4px 0 4px 5px;
}

.detail-table {
  margin-right: 20px;
}

.detail-table-container tr:nth-child(odd) td {
  background: #f8f8f8;
}

.details-remarks {
  background-color: #f8f8f8;
}

.details-remarks p {
  display: inline-block;
  font-size: 14px;
  vertical-align: top;
  margin: 5px 0;
}

.details-remarks-title {
  width: 22.7%;
  padding-left: 5px;
}

.details-remarks-text {
  width: 75%;
}

.details-btn {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 120px;                   /*（20210627）fix */
  text-align: center;
}

.details-btn button,
input[type="button" i] {
  width: 170px;
  height: 50px;
  font-size: 15px;
  lletter-spacing: 1px;
  background-color: #3f3f3f;
  color: white;
  margin: 50px 5px 10px 5px;              /*（20210627）fix */
  border-radius: 2px;
  cursor: pointer;
  border: none;
}

input[type="button" i] {
  border: none;
}

label,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

.error-form {
  border: 1px solid #fb9a93 !important;
}

.error {
  color: #e30;
  margin-top: 5px;
}

button[type="submit"][disabled] {
  opacity: 0.5;
  cursor: default;
}

.sns img {
  margin: 10px;
}

.top-back-title {
  line-height: 1;
  font-family: "Oswald", sans-serif;
  font-size: 120px;
  font-weight: 700;
  color: #a9a9a9;
  position: absolute;
  opacity: 0.1;
}

.top-flont-title {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 20px auto;
  padding-left: 15px;
  box-sizing: border-box;
}

.top-flont-title span {
  font-size: 18px;
  font-weight: normal;
  margin-left: 15px;
}

.recommend {
  top: -65px;
  left: 2%;
}

.new {
  top: -140px;
  right: 2%;
}

.item_img {
  width: 25%;
  padding: 0;
}

.item-tbl img {
  vertical-align: bottom;
}

.item-tbl p {
  font-size: 14px;
  padding-top: 2px;
}

.item_model p {
  font-size: 13px;
  padding-top: 2.5px;
}

.item_number,
.item_maker,
.item_model,
.item_body,
.item_nenshiki,
.item_shaken {
  width: 12.5%;
}

.row2 td {
  padding: 5px 10px;
}

.row1 {
  padding: 15px 10px 5px 10px;
      letter-spacing: 3px;
}

.td-left,
.gray {
  color: #666666;
  font-size: 11px !important;
}

.gray {
  padding-bottom: 1px;
}

.step {
  list-style-type: none;
  display: table;
  max-width: 950px;
  width: 100%;
  padding: 0;
  margin: 0 auto 50px auto;
  overflow: hidden;
}

.step span {
  display: block;
  font-weight: bold;
}

.step li {
  display: table-cell;
  position: relative;
  background: #e6e6e6;
  padding: 3px 0;
  color: #fff;
  width: 33.33%;
  text-align: center;
}

.step li:last-child {
  padding-right: 1em;
}

.step li:last-child:before,
.step li:last-child:after {
  display: none;
}

.step li:before,
.step li:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  margin: auto;
}
.step li:before {
  top: -15px;
  right: -1em;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 40px 0 40px 1em;
  z-index: 10;
}
.step li:after {
  top: -15px;
  right: -0.8em;
  border-style: solid;
  border-color: transparent transparent transparent #e6e6e6;
  border-width: 40px 0 40px 1em;
  z-index: 10;
}

.step li.is-current {
  background: #e70012;
}

.step li.is-current:after {
  border-color: transparent transparent transparent #e70012;
}

.policy {
  height: 300px;
  overflow: scroll;
  background: #f8f8f8;
  padding: 15px 20px;
  font-size: 14px;
  margin: 0;
}

.inquiry-container {
  margin-bottom: 80px;
}

input[type="submit"],
input[type="text"],
select,
textarea,
button {
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  border: none;
}

.form-table {
  margin: 0 auto;
  width: 100%;
  max-width: 950px;
  font-size: 15px;
}

input[type="text"],
textarea {
  background: #f8f8f8;
  display: block;
  font-size: 16px;
  padding: 12px 15px;
  width: 95%;
  transition: 0.8s;
  border-radius: 0;
}

input[type="text"]:focus,
textarea:focus {
  background: #e9f5fb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

textarea[name="content"] {
  display: inline-block;
  height: 200px;
}

input::placeholder,
textarea::placeholder {
  color: #ccc;
}

::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1;
}

::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #ccc;
  opacity: 1;
}

.form-table th {
  vertical-align: top;
}

.form-table th,
.form-table td {
  border: 1px solid #d7d7d7;
  padding: 15px;
  font-weight: normal;
  background-color: white;
  margin: 0 auto;
  box-sizing: border-box;
}

.form-table th {
  background: #e6e6e6;
  position: relative;
  text-align: left;
  width: 300px;
}

.form-table span {
  color: #b8292d;
  border: 1px solid #b8292d;
  background: white;
  padding: 2px;
  font-size: 13px;
  margin-left: 10px;
}

.comfirm-btn-box {
  text-align: center;
  margin: 70px 0;
}

button {
  width: 320px;
  height: 60px;
  font-size: 17px;
  background: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 30px;
  border: 2px solid #e70012;
  color: #e70012;
}

.confirm-two-btn {
  text-align: center;
}

.back-btn-box button {
  background: #e6e6e6;
}

.back-btn-box,
.submit-btn-box {
  display: inline-block;
  margin: 70px 10px 0 10px;
}

.thanks-heading {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  color: #3f3f3f;
  margin: 80px auto 20px auto;
}

.thanks-text {
  text-align: center;
  margin-bottom: 80px;
}

.wrapper {
  overflow-x: hidden;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.container {
  margin: 140px auto 30px auto;
  max-width: 1000px;
  width: 100%;
}

.detail-img,
.sub-img {
  display: inline-block;
  box-sizing: border-box;
}

.detail-img{
  width: 65.4%;
}

.detail-img img{
  width: 100%;
}

.sub-img {
  width: 34%;
  overflow: scroll;
  height: 491px;                /*（20210628）fix 436px → 491px */
  vertical-align: top;          /*（20210628）add */
}

.sub-img li {
  width: 32%;
  display: inline-block;
}

.sub-img img {
  cursor: pointer;
}

/* ▼ add YAMO 20210629 ▼ */

.detail-img{
	position: relative;
}
.detail-img a{
	position: absolute;
	top: calc(50% - 8px);
	width: 0;
	height: 0;
	border-top: 15px solid transparent;
	border-bottom: 15px solid transparent;
}
.detail-img a.prev{
	left: 15px;
	border-right: 15px solid #fff;
}
.detail-img a.next{
	right: 15px;
	border-left: 15px solid #fff;
}
ul.sub-img{
	padding: 2px;
}
ul.sub-img img.active{
	outline: 2px solid #e70012;
	box-sizing: border-box;
}

/* ▲ add YAMO 20210629 ▲ */



/* ▼（20230321）add marukin ▼  */
.section_img_btm .container{ margin-bottom: 14px; }

.section_360camera{ margin-top: 0; }

#ul_camera360{ display: flex; }
#ul_camera360 li{ margin-right: 15px; }
#ul_camera360 li:last-child{ margin-right: 0; }
#ul_camera360 li a{ display: block; padding: 5px 15px 5px 40px; background: #515656; border-radius: 15px; font-size: 12px; color: #fff;
  background-image: url(/img/cameraicon.png);
  background-repeat: no-repeat;
  background-position: 16px center;
  background-size: 16px auto;
}
/* ▲（20230321）add marukin ▲  */