@charset "UTF-8";
/*
Theme Name: yzworks theme
Author: yzworks
*/
html {
  width: 100%;
  height: 100%;
}

@media (max-width: 1300px) and (min-width: 768px) {
  html {
    font-size: 16px;
    font-size: 1.2307692308vw;
  }
}
body {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "游ゴシック", YuGothic, Arial, Roboto, "Droid Sans", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  overflow-x: hidden;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  color: #707070;
  font-weight: 500;
  font-size: 1rem;
}
body.no_scroll {
  overflow: hidden;
  position: relative;
}

@media screen and (max-width: 767px) {
  body {
    font-size: 0.875rem;
  }
}
a {
  cursor: pointer;
  text-decoration: none;
  outline: none;
  color: #707070;
}

p {
  font-size: 1rem;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ---------------------------------
  layout
  ---------------------------------*/
.l-wrap {
  width: calc(100% - 5rem);
  max-width: 1110px;
  margin: 0 auto;
}

.l-main {
  padding-top: 100px;
  background-color: #e0e0e0;
  overflow: hidden;
}

@media screen and (max-width: 992px) {
  .l-main {
    padding-top: 80px;
  }
  body.home .l-main {
    padding-top: 0;
  }
}
@media screen and (max-width: 767px) {
  .l-wrap {
    width: calc(100% - 2rem);
    max-width: 1110px;
    margin: 0 auto;
  }
}
/* ---------------------------------
  utility
  ---------------------------------*/
.u-pc {
  display: block;
}

.u-sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .u-pc {
    display: none;
  }
  .u-sp {
    display: block;
  }
}
.u-center {
  text-align: center;
}

/* ---------------------------------
  header
  ---------------------------------*/
.l-header {
  width: 100%;
  height: 100px;
  transition: 0.3s ease;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #000;
}
.l-header .l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.l-header .l-header__logo {
  background-color: #bf0101;
  width: 25%;
  text-align: center;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-header .l-header__logo img {
  transition: 0.3s ease;
}
.l-header.is-scrolling {
  height: 70px;
  opacity: 0.8;
}
.l-header.is-scrolling .l-header__logo img {
  max-width: 70%;
}

.l-header__menu {
  padding-right: min(3.125vw, 3.75rem);
}

.l-header__links {
  display: flex;
  align-items: center;
  position: relative;
  gap: min(2.083vw, 40px);
  z-index: 9;
}
.l-header__links.u-sp {
  display: none;
}
.l-header__links li a {
  font-size: 1rem;
  position: relative;
  display: block;
  text-decoration: none;
  height: 100%;
  transition: 0.3s ease;
  color: #fff;
  position: relative;
  font-weight: 900;
}
.l-header__links li a::after {
  content: "";
  position: absolute;
  left: -4px;
  bottom: -2px;
  width: calc(100% + 8px);
  height: 1px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}
@media (hover: hover) {
  .l-header__links li a:hover::after {
    transform: scale(1, 1);
    transform-origin: left top;
  }
}

.l-header__contact {
  position: fixed;
  right: 0;
  top: 33%;
  display: flex;
  flex-direction: column;
}
.l-header__contact li {
  width: 50%;
  width: 50px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.l-header__contact li a {
  writing-mode: vertical-rl;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  transition: 0.3s ease;
}
.l-header__contact li a::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
  transition: 0.3s ease;
}
@media (hover: hover) {
  .l-header__contact li a:hover {
    opacity: 0.8;
  }
  .l-header__contact li a:hover::before {
    transform: rotate(90deg) rotateY(360deg);
  }
}
.l-header__contact li.item-access {
  background-color: #bf0101;
}
.l-header__contact li.item-access a::before {
  background: url("../img/icon_access.svg") no-repeat center/65%;
}
.l-header__contact li.item-contact {
  background-color: #890000;
}
.l-header__contact li.item-contact a::before {
  background: url("../img/icon_mail.svg") no-repeat center/85%;
}

.c-hamburger {
  display: none;
}

@media screen and (max-width: 992px) {
  .l-header {
    padding: 0;
    height: 80px;
  }
  .l-header .l-header__logo {
    width: 33.33%;
    z-index: 9999;
  }
  .l-header .l-header__logo a {
    padding: 10px;
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .l-header .l-header__logo img {
    width: 100%;
    max-width: 130px;
  }
  .l-header__menu {
    z-index: 999;
    width: 100%;
    background: #000;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    min-height: 600px;
    padding: 60px 0 0;
    transform: translateX(100%);
    transition: 0.3s ease;
  }
  .l-header__menu .l-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .l-header__menu .l-header__links {
    padding-bottom: 0;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 40px;
  }
  .l-header__menu .l-header__links li {
    width: 100%;
    text-align: center;
  }
  .l-header__menu .l-header__links li:not(:last-child) {
    margin-bottom: 10px;
  }
  .l-header__menu .l-header__links li a {
    padding: 14px 20px;
    flex-direction: column-reverse;
    display: inline-block;
    gap: 0;
    line-height: 1.2;
    font-size: clamp(16px, 4.1vw, 18px);
  }
  .l-header__menu .l-header__links li a::after {
    display: none;
  }
  .l-header__menu.is-active {
    transform: translateX(0);
  }
  .l-header__contact {
    position: absolute;
    right: 0;
    top: initial;
    bottom: 0;
    flex-direction: row;
    z-index: 99999;
    width: 100%;
  }
  .l-header__contact li {
    width: 50%;
    height: 64px;
  }
  .l-header__contact li a {
    writing-mode: initial;
    font-size: 1.625rem;
  }
  .l-header__contact li a::before {
    width: 30px;
    height: 30px;
    transform: none;
  }
  .c-hamburger {
    display: inline-block;
    transition: all 0.2s;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    z-index: 99999;
    display: block;
  }
  .c-hamburger span {
    display: inline-block;
    transition: all 0.2s;
    box-sizing: border-box;
    position: absolute;
    height: 1px;
    background-color: #fff;
    border-radius: 4px;
    width: 30px;
    left: 35px;
  }
  .c-hamburger span:nth-of-type(1) {
    top: 28px;
  }
  .c-hamburger span:nth-of-type(2) {
    top: 38px;
  }
  .c-hamburger span:nth-of-type(3) {
    top: 48px;
  }
  .c-hamburger.is-active span:nth-of-type(1) {
    transform: translateY(10px) rotate(-30deg);
  }
  .c-hamburger.is-active span:nth-of-type(2) {
    opacity: 0;
  }
  .c-hamburger.is-active span:nth-of-type(3) {
    transform: translateY(-10px) rotate(30deg);
  }
  body.home .l-header {
    background: none;
  }
}
/* ---------------------------------
  cta
  ---------------------------------*/
.p-cta {
  position: relative;
  background-color: #b20b0b;
  padding: 6.875rem 0 4.375rem;
}

.p-cta__block {
  background-color: #fff;
}

.p-cta__head {
  background-color: #000;
  position: relative;
  padding: 24px 0;
}
.p-cta__head .ceo__img {
  position: absolute;
  right: 6rem;
  bottom: 0;
}

.p-cta__ttl {
  display: flex;
  color: #fff;
  justify-content: center;
  align-items: center;
  font-size: 1.75rem;
  font-weight: 900;
  gap: 15px;
}
.p-cta__ttl .free {
  background-color: #b20b0b;
  border-radius: 8px;
  padding: 6px 18px;
}

.p-cta__body {
  padding: 20px 14px 30px;
}

.p-cta__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}
.p-cta__links li {
  width: 50%;
  max-width: 445px;
}
.p-cta__links li a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}
@media (hover: hover) {
  .p-cta__links li a:hover .icon {
    transform: rotateY(360deg);
  }
}
.p-cta__links li .text {
  font-size: 1.75rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.4;
}
.p-cta__links li .notice {
  font-size: 1rem;
  display: block;
  font-weight: 500;
}
.p-cta__links li .icon {
  min-width: 60px;
  transition: 0.3s ease;
}
.p-cta__links .item-line a {
  background-color: #139a3c;
  gap: 8px;
}
.p-cta__links .item-form a {
  background-color: #7c8d96;
  gap: 8px;
}

@media screen and (max-width: 767px) {
  .p-cta {
    padding: 70px 0 80px;
  }
  .p-cta__head {
    padding: 20px 0 0 20px;
  }
  .p-cta__head .ceo__img {
    width: 110px;
    right: 10px;
  }
  .p-cta__ttl {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 1.25rem;
    gap: 8px;
    width: calc(100% - 100px);
    padding-bottom: 10px;
    white-space: nowrap;
  }
  .p-cta__body p {
    font-size: 0.875rem;
  }
  .p-cta__links {
    flex-wrap: wrap;
    gap: 15px;
  }
  .p-cta__links li {
    width: 100%;
  }
  .p-cta__links li a {
    padding: 20px;
  }
  .p-cta__links li .text {
    font-size: 1.1875rem;
  }
  .p-cta__links li .notice {
    font-size: 0.6875rem;
  }
  .p-cta__links li .icon {
    width: 48px;
    min-width: 48px;
  }
  .p-cta__links .item-line a {
    gap: 8px;
  }
  .p-cta__links .item-form a {
    gap: 16px;
  }
  .p-cta__links .item-form .icon {
    width: 40px;
    min-width: 40px;
  }
}
/* ---------------------------------
  access
  ---------------------------------*/
.p-access {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  background-color: #ededed;
  position: relative;
  overflow: hidden;
}

.p-access__text {
  width: 100%;
  margin-top: 50px;
  padding: 0 20px 70px;
}
.p-access__text .c-text-en {
  text-align: right;
  transform: translateX(50px);
  margin-top: -30px;
}
.p-access__text .c-ttl-bg {
  margin-bottom: 50px;
  margin-top: -30px;
}
.p-access__text address {
  margin-bottom: 50px;
  line-height: 1.75;
}

.p-access__map {
  width: 50%;
}
.p-access__map iframe {
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 767px) {
  .p-access {
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 0 0;
  }
  .p-access__text {
    width: 100%;
    padding-bottom: 60px;
    color: #343434;
  }
  .p-access__text .c-text-en {
    margin: 0;
    text-align: left;
    transform: none;
    margin: 0 0 30px;
  }
  .p-access__text .c-ttl-bg {
    margin: 0 0 30px;
  }
  .p-access__text address {
    margin-bottom: 30px;
  }
  .p-access__map {
    width: 100%;
  }
  .p-access__map iframe {
    height: 400px;
  }
}
/* ---------------------------------
  footer
  ---------------------------------*/
.l-footer {
  background-color: #343434;
  padding: 50px 0 12px;
}
.l-footer .c-ttl-bg {
  text-align: center;
  margin-bottom: 40px;
}

.c-overview__block {
  max-width: 730px;
  margin: 50px auto 50px;
}
.c-overview__block dl {
  display: flex;
  align-items: stretch;
  font-size: clamp(14px, 0.83vw, 16px);
  line-height: 1.5;
  color: #fff;
  border-bottom: 1px solid #707070;
  padding: 4px 0;
}
.c-overview__block dl:first-child {
  border-top: 1px solid #707070;
}
.c-overview__block dl dt {
  width: 28%;
  font-weight: 500;
  padding-left: 30px;
}
.c-overview__block dl dd {
  width: 72%;
  font-weight: 500;
}

.l-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.c-copyLight {
  text-align: center;
  font-size: 0.625rem;
  color: #fff;
  font-weight: 500;
}

@media screen and (max-width: 767px) {
  .l-footer {
    padding: 40px 0 20px;
  }
  .l-footer .c-ttl-bg {
    margin-bottom: 60px;
  }
  .c-overview__block {
    margin: 0 auto 70px;
  }
  .c-overview__block dl {
    font-size: 0.875rem;
    line-height: 1.66;
  }
  .c-overview__block dl dt {
    width: 40%;
    padding-left: 15px;
  }
  .c-overview__block dl dd {
    width: 60%;
  }
  .l-footer__links {
    flex-wrap: wrap;
    gap: 20px;
  }
}
/* ------ title ------ */
.c-ttl {
  font-size: 2.125rem;
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 50px;
  color: #fff;
}

.c-text-en {
  font-size: min(9.375vw, 180px);
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.16);
  line-height: 1.3;
}

.c-ttl-bg,
.c-ttl-bg-2,
.c-ttl-bg-center {
  font-size: 2.125rem;
  font-weight: 900;
  color: #fff;
}
.c-ttl-bg span,
.c-ttl-bg-2 span,
.c-ttl-bg-center span {
  background-color: #000;
  padding: 0 10px;
}

.c-ttl-bg-center {
  width: fit-content;
  margin: 0 auto;
}

.c-ttl-bg {
  animation: clip-text 0.5s ease-in-out forwards;
  opacity: 0;
}
.c-ttl-bg.is-scrolling {
  opacity: 1;
}
.c-ttl-bg.is-scrolling span {
  position: relative;
}
.c-ttl-bg.is-scrolling span::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #bf0101;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  animation: clip-cover 0.5s ease-in-out forwards;
}

@keyframes clip-text {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes clip-cover {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 100%);
  }
}
.c-ttl-link {
  font-size: 2.125rem;
  font-weight: 900;
}
.c-ttl-link a {
  background-color: #000;
  padding: 0 10px;
  color: #fff;
  display: inline-block;
  position: relative;
}
.c-ttl-link a::before {
  content: "";
  display: inline-block;
  width: 70px;
  height: 100%;
  background-color: #fff;
  position: absolute;
  left: 100%;
  top: 0;
}
.c-ttl-link a::after {
  content: "";
  display: inline-block;
  width: 70px;
  height: 100%;
  background: url("img/icon_arrow_b.svg") no-repeat center center/40px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 100%;
  top: 0;
  transition: 0.3s ease;
}
@media (hover: hover) {
  .c-ttl-link a:hover::after {
    transform: translateX(5px);
  }
}

.c-ttl-mark {
  font-size: 3rem;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  color: #000;
  margin-bottom: 30px;
}
.c-ttl-mark::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 30px;
  min-width: 30px;
  background-color: #bf0101;
}

.c-ttl-sub {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 30px;
}
.c-ttl-sub span {
  display: inline-block;
  padding: 0 10px;
  background: linear-gradient(transparent 50%, #2ed954 50%);
}

@media screen and (max-width: 767px) {
  .c-ttl {
    font-size: 1.375rem;
    margin-bottom: 30px;
  }
  .c-text-en {
    font-size: 4.5rem;
  }
  .c-ttl-bg {
    font-size: 1.375rem;
    text-align: center;
  }
  .c-ttl-link {
    font-size: 1.375rem;
  }
  .c-ttl-link a::before {
    width: 50px;
  }
  .c-ttl-link a::after {
    width: 50px;
    height: 100%;
    background: url("img/icon_arrow_b.svg") no-repeat center center/28px 9px;
  }
  .c-ttl-mark {
    font-size: 2.25rem;
    gap: 20px;
    margin-bottom: 20px;
  }
  .c-ttl-mark::before {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }
}
/* ------ btn ------ */
.c-btn {
  background-color: #bf0101;
  border-radius: 44px;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  width: 100%;
  max-width: 436px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
  transition: 0.3s ease;
}
@media (hover: hover) {
  .c-btn:hover {
    background-color: #761010;
  }
}

.c-btn-arrow {
  background-color: #bf0101;
  border-radius: 44px;
  color: #fff;
  font-size: 1.1875rem;
  font-weight: 700;
  padding: 20px 20px 20px 50px;
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
  gap: 12px;
  transition: 0.3s ease;
}
.c-btn-arrow .en {
  font-size: 0.8125rem;
  font-style: italic;
  display: block;
  letter-spacing: 0.1em;
}
.c-btn-arrow::after {
  content: "";
  display: inline-block;
  width: 38px;
  height: 10px;
  background: url("img/icon_arrow_btn.svg") no-repeat top right/100%;
  transition: 0.3s ease;
  padding-bottom: 18px;
}
@media (hover: hover) {
  .c-btn-arrow:hover {
    background-color: #761010;
  }
  .c-btn-arrow:hover::after {
    transform: translateX(10px);
  }
}

.c-btn-wh {
  border-radius: 44px;
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  width: 100%;
  max-width: 274px;
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  text-align: center;
  transition: 0.3s ease;
  background-color: #fff;
  border: 1px solid #707070;
  color: #707070;
}
.c-btn-wh span {
  transition: 0.3s ease;
}
@media (hover: hover) {
  .c-btn-wh:hover span {
    transform: rotateX(360deg);
  }
}

@media screen and (max-width: 767px) {
  .c-btn {
    font-size: 0.75rem;
    max-width: 150px;
    height: 40px;
  }
  .c-btn-arrow {
    font-size: 0.875rem;
    padding: 12px 12px 12px 30px;
    max-width: 280px;
    gap: 12px;
  }
  .c-btn-arrow .en {
    font-size: 0.625rem;
  }
  .c-btn-arrow::after {
    width: 28px;
    height: 8px;
    padding-bottom: 10px;
  }
  .c-btn-wh {
    font-size: 1.125rem;
    max-width: 152px;
    height: 50px;
  }
}
/* ------ swiper btn ------ */
.swiper-button-next,
.swiper-button-prev {
  width: 4.375rem;
  height: 4.375rem;
  background-color: #fff;
  border: 1px solid #707070;
  opacity: 1;
  border-radius: 50%;
  color: #707070;
  margin-top: 0;
  opacity: 1;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  display: block;
  font-size: 1.75rem;
  transition: 0.3s ease;
}

.swiper-button-next:after {
  content: "→";
}

.swiper-button-prev:after {
  content: "←";
  margin-left: 4px;
}

@media (hover: hover) {
  .swiper-button-prev:hover::after {
    transform: translateX(-10px);
  }
}

@media (hover: hover) {
  .swiper-button-next:hover::after {
    transform: translateX(10px);
  }
}

/* --- breadcrumb ---*/
.c-breadcrumb {
  width: calc(100% - 32px);
  max-width: 1110px;
  margin: 0 auto;
  padding-bottom: 10px;
}

.c-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
}
.c-breadcrumb__list li:not(:last-of-type)::after {
  content: "/";
  margin: 0 10px;
}
.c-breadcrumb__list li,
.c-breadcrumb__list a {
  font-size: 0.875rem;
}

/* --- Search & Filter ---*/
.p-case-taglist {
  margin-bottom: 60px;
}
.p-case-taglist dl {
  display: flex;
  gap: 30px;
}
.p-case-taglist dl:not(:last-child) {
  margin-bottom: 10px;
}
.p-case-taglist dl dt {
  width: 15%;
  font-size: 1.25rem;
}
.p-case-taglist dl dd {
  width: 85%;
}
.p-case-taglist dl dd .c-taglist {
  margin-top: 0;
  gap: 12px;
}
.p-case-taglist dl dd .c-taglist li {
  border: none;
  background-color: #fff;
}
.p-case-taglist dl dd .c-taglist li a {
  transition: 0.3s ease;
}
.p-case-taglist dl dd .c-taglist li a:hover {
  opacity: 0.7;
}

.searchandfilter {
  background-color: #fff;
  padding: 40px;
  margin-bottom: 100px;
  border-radius: 40px;
  text-align: center;
}
.searchandfilter ul li:not(:has(> label), :last-child) {
  border-bottom: dashed 1px #707070;
}
.searchandfilter ul li {
  display: flex;
  align-items: center;
}
.searchandfilter ul li h4 {
  margin: 15px 20px 15px 0;
  width: 130px;
  text-align: left;
  font-weight: bold;
}
.searchandfilter ul li ul {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}
.searchandfilter ul li ul li {
  padding-right: 10px;
  margin: 4px 0;
}
.searchandfilter ul input[type=radio],
.searchandfilter ul input[type=checkbox] {
  opacity: 0;
  position: absolute; /* ラジオボタンを非表示にする */
}
.searchandfilter ul label {
  display: block;
  height: fit-content;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 2px 12px;
  color: #fff;
  border-radius: 14px;
  color: #707070;
  border: 1px solid #cccccc;
  cursor: pointer;
}
.searchandfilter ul label:hover {
  background-color: #cbcbcb; /* マウスオーバー時の背景色を指定する */
}
.searchandfilter ul label:has(input[type=radio]:checked) {
  background: #bf0101; /* マウス選択時の背景色を指定する */
  color: #ffffff; /* マウス選択時のフォント色を指定する */
}
.searchandfilter ul label:has(input[type=checkbox]:checked) {
  background: #717171; /* マウス選択時の背景色を指定する */
  color: #ffffff; /* マウス選択時のフォント色を指定する */
}
.searchandfilter ul > li:last-child {
  display: flex;
  justify-content: center;
  border-bottom: none;
}
.searchandfilter ul > li:last-child input[type=submit] {
  width: auto;
  height: auto;
  margin-top: 20px;
  padding: 8px 30px;
  background-color: #000;
  border-radius: 9999px;
  color: #fff;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .searchandfilter {
    padding: 20px;
  }
  .searchandfilter ul li {
    align-items: center;
    flex-direction: column;
  }
  .searchandfilter ul li h4 {
    font-size: 0.875rem;
    margin-right: 0;
    width: 100%;
    text-align: center;
  }
  .searchandfilter ul li ul {
    justify-content: center;
    flex-wrap: wrap;
  }
  .searchandfilter ul label {
    font-size: 0.75rem;
    margin-bottom: 5px;
  }
}
/* --- instagram ---*/
#insta {
  width: clamp(240px, 100%, 1280px);
  margin: 50px auto;
}
#insta a {
  text-decoration: none;
}
#insta ul {
  box-sizing: border-box;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-bottom: 40px;
}
#insta ul li {
  list-style: none;
  box-sizing: border-box;
  width: 48%;
  margin-bottom: 1.25rem;
  aspect-ratio: 1/1;
  position: relative;
}
#insta ul li .captionTxt {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 16px;
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.75);
  color: #fff;
  opacity: 0;
}
#insta ul li .like_count {
  font-size: 12px;
  line-height: 2;
  display: block;
  text-align: right;
}
#insta ul li .like_count::before {
  content: "♥";
  color: #d4245f;
  font-size: 14px;
  vertical-align: middle;
  padding-right: 0.25em;
}
#insta ul li:hover .captionTxt {
  transition: 0.5s opacity, 0.25s filter;
  opacity: 1;
}
#insta ul li img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 600px) {
  #insta ul li {
    width: 32%;
  }
}
@media screen and (min-width: 1025px) {
  #insta ul li {
    width: 23.5%;
  }
}
.loadbg {
  background-color: #000;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ---------------------------------
  top mv
  ---------------------------------*/
.sp-video {
  display: block;
}

.pc-video {
  display: none;
}

@media screen and (min-width: 768px) {
  .sp-video {
    display: none;
  }
  .pc-video {
    display: block;
  }
}
.p-top-mv {
  width: 100%;
  position: relative;
  background-color: #000;
}

.p-top-mv__side {
  font-size: 0.875rem;
  position: absolute;
  left: 30px;
  top: 42%;
  color: #fff;
  writing-mode: vertical-rl;
  transform: scale(-1, -1);
  letter-spacing: 0.1em;
}

.p-top-mv__img {
  width: 75%;
  margin: 0 0 0 auto;
}
.p-top-mv__img video,
.p-top-mv__img img {
  object-fit: cover;
  width: 100%;
  height: 800px;
}

.p-top-mv__ttl {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: absolute;
  top: 55%;
  left: calc((100% - 69.375rem) / 2);
  transform: translateY(-50%);
  z-index: 9;
  gap: 30px;
}
.p-top-mv__ttl .lg {
  font-size: 4.5rem;
  line-height: 1.2;
}
.p-top-mv__ttl .md {
  font-size: 2.125rem;
}
.p-top-mv__ttl .sm {
  font-weight: 500;
  max-width: 70%;
}

.text-item {
  opacity: 0;
}
.text-item.is-active {
  opacity: 1;
  display: inline-block;
  position: relative;
  animation: clip-text 0.5s ease-in-out forwards;
}
.text-item.is-active::before {
  content: "";
  display: block;
  background: #bf0101;
  position: absolute;
  inset: 0;
  animation: clip-cover 0.5s ease-in-out forwards;
  animation-delay: 0.5s;
}

@keyframes clip-text {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}
@keyframes clip-cover {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 0 0 100%);
  }
}
.p-top-mv__scroll {
  position: absolute;
  bottom: -130px;
  left: 49%;
  height: 260px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.p-top-mv__scroll span {
  font-family: "Roboto", sans-serif;
  color: #eee;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  font-size: 0.875rem;
  display: inline-block;
  margin-right: 4px;
}
.p-top-mv__scroll::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #eee;
  animation: circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
}
.p-top-mv__scroll::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 260px;
  background: #eee;
}

@keyframes circlemove {
  0% {
    bottom: 250px;
  }
  100% {
    bottom: -5px;
  }
}
@keyframes cirlemovehide {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-top-mv {
    padding-top: 0;
    height: 100svh;
  }
  .p-top-mv__side {
    display: none;
  }
  .p-top-mv__img {
    width: 100%;
    height: 100%;
  }
  .p-top-mv__img img {
    height: 100%;
  }
  .p-top-mv__ttl {
    top: 58%;
    left: 0;
    transform: translateY(-50%);
    gap: 30px;
    width: 100%;
    padding: 0 16px;
  }
  .p-top-mv__ttl .lg {
    font-size: 3.125rem;
    line-height: 1.45;
  }
  .p-top-mv__ttl .md {
    font-size: 1.375rem;
  }
  .p-top-mv__ttl .sm {
    letter-spacing: 0;
    max-width: 100%;
  }
  .p-top-mv__scroll {
    height: 160px;
    bottom: -60px;
    left: 44%;
  }
  .p-top-mv__scroll::after {
    height: 160px;
  }
  @keyframes circlemove {
    0% {
      bottom: 150px;
    }
    100% {
      bottom: -5px;
    }
  }
}
/* ---------------------------------
  top about
  ---------------------------------*/
.p-top-about {
  background-color: #343434;
  position: relative;
}
.p-top-about .c-text-en {
  transform: translateY(-72px);
}

.p-top-about__block {
  display: flex;
  justify-content: center;
  position: relative;
}

.p-top-about__img {
  position: absolute;
}

.p-top-about__text {
  width: calc(100% - 24px);
  max-width: min(42vw, 730px);
  margin: 0 auto;
  color: #fff;
  position: relative;
}
.p-top-about__text .c-btn-arrow {
  margin-top: 4.375rem;
}
.p-top-about__text p {
  line-height: 1.5;
}
.p-top-about__text p:not(:last-child) {
  margin-bottom: 20px;
}

/* --- about block 1  ---*/
.p-top-about__block.block1 {
  padding-top: 1.25rem;
  margin-bottom: 13.125rem;
}
.p-top-about__block.block1 .p-top-about__img {
  width: 24.5%;
}
.p-top-about__block.block1 .p-top-about__img:first-of-type {
  left: 0;
  top: -60px;
}
.p-top-about__block.block1 .p-top-about__img:first-of-type figure:nth-child(2) {
  width: 86%;
  transform: translate(32%, -18%);
}
.p-top-about__block.block1 .p-top-about__img:last-child {
  top: 8.75rem;
  right: 0;
}
.p-top-about__block.block2 {
  margin-bottom: 10.625rem;
}
.p-top-about__block.block2 .p-top-about__img {
  width: 28%;
  right: 0;
  bottom: 0;
}
.p-top-about__block.block3 {
  padding-bottom: 10.625rem;
}
.p-top-about__block.block3 .p-top-about__img:first-of-type {
  width: 28%;
  bottom: 90px;
  left: 0;
}
.p-top-about__block.block3 .p-top-about__img:last-child {
  width: 26%;
  right: 0;
  bottom: 0;
}

@media screen and (max-width: 1200px) {
  .p-top-about__block.block1 {
    margin-bottom: 140px;
  }
  .p-top-about__block.block1 .p-top-about__img {
    width: 22%;
  }
  .p-top-about__block.block1 .p-top-about__img:first-of-type figure:nth-child(2) {
    width: 84%;
    transform: translate(32%, -18%);
  }
  .p-top-about__block.block1 .p-top-about__img:last-child {
    top: 12.5rem;
  }
  .p-top-about__block.block2 {
    margin-bottom: 160px;
  }
  .p-top-about__block.block3 {
    padding-bottom: 160px;
  }
  .p-top-about__block.block3 .p-top-about__img:first-of-type {
    width: 26%;
    bottom: 140px;
  }
}
@media screen and (max-width: 767px) {
  .p-top-about {
    padding-top: 120px;
  }
  .p-top-about .c-text-en {
    transform: none;
  }
  .p-top-about__block {
    flex-direction: column;
  }
  .p-top-about__img {
    position: static;
  }
  .p-top-about__text {
    max-width: 730px;
  }
  .p-top-about__text .c-ttl {
    margin-bottom: 30px;
  }
  .p-top-about__text .c-btn-arrow {
    margin-top: 3.75rem;
  }
  /* --- about block 1  ---*/
  .p-top-about__block.block1 {
    margin-bottom: 70px;
  }
  .p-top-about__block.block1 .p-top-about__img {
    width: 100%;
  }
  .p-top-about__block.block1 .p-top-about__img:first-of-type {
    margin-bottom: 40px;
  }
  .p-top-about__block.block1 .p-top-about__img:first-of-type figure:nth-child(1) {
    width: 62%;
  }
  .p-top-about__block.block1 .p-top-about__img:first-of-type figure:nth-child(2) {
    width: 52%;
    transform: none;
    margin: -50px 0 0 auto;
  }
  .p-top-about__block.block1 .p-top-about__img:last-child {
    width: 56%;
    margin: 60px 0 0 auto;
  }
  .p-top-about__block.block2 {
    margin-bottom: 40px;
  }
  .p-top-about__block.block2 .p-top-about__img {
    width: 75%;
    margin: 100px 0 0 auto;
  }
  .p-top-about__block.block3 {
    padding-bottom: 80px;
  }
  .p-top-about__block.block3 .p-top-about__img:first-of-type {
    width: 63%;
    margin-bottom: 70px;
  }
  .p-top-about__block.block3 .p-top-about__img:last-child {
    width: 85%;
    margin: 100px 0 0 auto;
  }
}
/* ---------------------------------
  top customize
  ---------------------------------*/
.p-top-customize {
  padding-bottom: 80px;
  background-color: #e0e0e0;
}
.p-top-customize .c-ttl-bg {
  margin-bottom: 35px;
}

.p-top-customize__point {
  display: flex;
  margin-top: 35px;
}
.p-top-customize__point .c-text-en {
  text-align: left;
}

.p-customize__ttl {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 24px;
}
.p-customize__ttl .en {
  font-size: 3.375rem;
  font-family: "Roboto", sans-serif;
  font-style: italic;
  letter-spacing: 0.1em;
}
.p-customize__ttl .jp {
  font-size: 1.375rem;
}

.p-top-customize__block {
  background-color: #000;
  position: relative;
  width: 25%;
  overflow: hidden;
}
.p-top-customize__block .c-btn-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.p-top-customize__block .item-img {
  position: relative;
}
.p-top-customize__block .item-img::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 0.3s ease;
}
.p-top-customize__block .item-text {
  color: #fff;
  transition: 0.3s ease-out;
  padding: 20px 20px 35px;
  margin-top: -60px;
  position: relative;
}
.p-top-customize__block .item-text p {
  font-size: 0.875rem;
  line-height: 1.42;
}
.p-top-customize__block .c-btn {
  opacity: 0;
  transition: 0.3s ease;
  transition-delay: 0.1s;
  max-width: 220px;
  margin: 0 auto;
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
}
@media (hover: hover) {
  .p-top-customize__block:hover .item-img::after {
    opacity: 1;
  }
  .p-top-customize__block:hover .item-text {
    transform: translateY(calc(-100% + 100px));
  }
  .p-top-customize__block:hover .c-btn {
    opacity: 1;
  }
}
.p-top-customize__block:nth-child(2) .p-customize__ttl {
  min-height: 110px;
}
.p-top-customize__block:nth-child(2) .p-customize__ttl .en {
  font-size: 2.125rem;
}
.p-top-customize__block:nth-child(2) .p-customize__ttl .jp {
  font-size: 1.375rem;
}

@media screen and (max-width: 767px) {
  .p-top-customize {
    padding: 60px 0 120px;
  }
  .p-top-customize .c-text-en {
    font-size: 3.75rem;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
  }
  .p-top-customize__point {
    flex-wrap: wrap;
    margin-top: 50px;
  }
  .p-customize__ttl .en {
    font-size: 2.125rem;
  }
  .p-customize__ttl .jp {
    font-size: 1.125rem;
  }
  .p-top-customize__block {
    width: 50%;
  }
  .p-top-customize__block .item-img {
    height: 150px;
  }
  .p-top-customize__block .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .p-top-customize__block .item-text {
    padding: 0 0 24px;
    margin: -20px;
  }
  .p-top-customize__block .item-text p {
    display: none;
  }
  .p-top-customize__block .c-btn {
    display: none;
  }
  .p-top-customize__block:nth-child(2) .item-text {
    margin-top: -16px;
  }
  .p-top-customize__block:nth-child(2) .p-customize__ttl {
    min-height: 100%;
    line-height: 1.8;
  }
  .p-top-customize__block:nth-child(2) .p-customize__ttl .en {
    font-size: 1.5rem;
  }
  .p-top-customize__block:nth-child(2) .p-customize__ttl .jp {
    font-size: 1.125rem;
  }
  .c-btn-arrow {
    max-width: 320px;
    margin-top: 60px;
  }
}
/* ---------------------------------
  top usedcar
---------------------------------*/
.p-top-usedcar {
  background-color: #ffffff;
  padding: 100px 0;
}
.p-top-usedcar .c-text-en {
  transform: translateX(-30px);
}
.p-top-usedcar .c-ttl-bg {
  margin-bottom: 50px;
}
.p-top-usedcar__pickup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.p-top-usedcar__pickup .p-top-usedcar__meta {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-top: 20px;
}
.p-top-usedcar__featured {
  position: relative;
  border-bottom: dashed 1px #ccc;
  padding-bottom: 16px;
}
.p-top-usedcar__featured a {
  color: inherit;
  text-decoration: none;
}
.p-top-usedcar__featured .item-title {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
}
.p-top-usedcar__featured.is-empty {
  min-height: 420px;
}
.p-top-usedcar__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  margin-top: 56px;
}
.p-top-usedcar__small {
  border-bottom: dashed 1px #ccc;
  padding-bottom: 16px;
}
.p-top-usedcar__small a {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  color: inherit;
  text-decoration: none;
}
.p-top-usedcar__small .item-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.p-top-usedcar__small .item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-top-usedcar__small .item-title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 700;
}
.p-top-usedcar__small .p-usedcar-archive-card__price br {
  display: none;
}
.p-top-usedcar__small.is-empty {
  min-height: 160px;
}
.p-top-usedcar__btn {
  margin-top: 56px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-top-usedcar {
    padding: 70px 0;
  }
  .p-top-usedcar__pickup, .p-top-usedcar__list {
    grid-template-columns: 1fr;
  }
  .p-top-usedcar__featured.is-empty, .p-top-usedcar__small.is-empty {
    display: none;
  }
  .p-top-usedcar__small a {
    grid-template-columns: 120px 1fr;
    gap: 14px;
  }
}
/* ---------------------------------------------
  case
  --------------------------------------------- */
.p-top-case {
  background-color: #e0e0e0;
  padding: 60px 0 180px;
  overflow: hidden;
}
.p-top-case .c-text-en {
  transform: translateX(-30px);
  margin-bottom: 50px;
}
.p-top-case .c-ttl-link {
  margin-bottom: 40px;
}

.p-top-case-block {
  margin-top: 80px;
}

.p-top-case-slider {
  overflow: initial;
}
.p-top-case-slider .swiper-control__wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
  margin: 6.25rem auto 0;
}
.p-top-case-slider .swiper-control__wrap .c-btn {
  background-color: #fff;
  border: 1px solid #707070;
  color: #707070;
  max-width: 280px;
  text-align: center;
  margin: 0 auto 0 0;
}
.p-top-case-slider .swiper-control__wrap .swiper-button-prev,
.p-top-case-slider .swiper-control__wrap .swiper-button-next {
  position: static;
}
.p-top-case-slider .swiper-control__wrap .c-btn-wh {
  margin: 0 auto 0 0;
}

.p-top-case-slider__item .case__img {
  position: relative;
  overflow: hidden;
  margin-bottom: 10px;
}
.p-top-case-slider__item .case__img img {
  aspect-ratio: 350/230;
  object-fit: cover;
  transition: 0.3s ease;
}
.p-top-case-slider__item .date {
  font-size: 0.875rem;
  font-family: "Roboto", sans-serif;
  color: #707070;
}
.p-top-case-slider__item .case__ttl {
  font-size: 1.375rem;
  font-weight: 700;
  color: #707070;
}
.p-top-case-slider__item .desc {
  font-size: 1.6rem;
}
@media (hover: hover) {
  .p-top-case-slider__item a:hover .case__img img {
    transform: scale(1.2);
  }
}

.c-taglist {
  display: flex;
  align-items: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.c-taglist li {
  font-size: 0.875rem;
  font-weight: 700;
  padding: 2px 12px;
  color: #fff;
  border-radius: 14px;
  color: #707070;
  border: 1px solid #cccccc;
}
.c-taglist .cat1 {
  background-color: #bf0101 !important;
  color: #fff;
  border: none;
  transition: 0.3s ease;
}
.c-taglist .cat1 a {
  color: #fff;
}
.c-taglist .cat1:has(a):hover {
  background-color: #890000 !important;
}
.c-taglist .cat2 {
  background-color: #122f5d !important;
  color: #fff;
  border: none;
}
.c-taglist .cat2:has(a):hover {
  background-color: #0a1a35 !important;
}
.c-taglist .cat3 {
  background-color: #2c5034 !important;
  color: #fff;
  border: none;
}
.c-taglist .cat3:has(a):hover {
  background-color: #1b301f !important;
}
.c-taglist.case-category li {
  background-color: #cbcbcb;
  color: #fff;
  transition: 0.3s ease;
}
.c-taglist.case-category li a {
  color: #fff;
}
.c-taglist.case-category li:has(a):hover {
  background-color: #717171;
}

@media screen and (max-width: 767px) {
  .p-top-case {
    padding: 80px 0 100px;
  }
  .p-top-case .c-text-en {
    transform: none;
    margin-bottom: 20px;
    line-height: 1.1;
  }
  .p-top-case-block {
    margin-top: 60px;
  }
  .p-top-case-slider .swiper-control__wrap {
    margin-top: 50px;
  }
  .p-top-case-slider .swiper-control__wrap .swiper-button-prev,
  .p-top-case-slider .swiper-control__wrap .swiper-button-next {
    display: none;
  }
  .p-top-case-slider .swiper-control__wrap .c-btn-wh {
    margin: 0 auto;
  }
  .p-top-case-slider__item .date {
    margin-bottom: 10px;
  }
  .c-taglist {
    margin-top: 16px;
  }
  .c-taglist li {
    font-size: 0.75rem;
    padding: 2px 8px;
  }
}
/* ---------------------------------------------
  flow
  --------------------------------------------- */
.p-top-flow {
  padding-bottom: 120px;
  background-color: #fff;
}
.p-top-flow .c-text-en {
  margin-top: -60px;
  transform: translateX(-20px);
}
.p-top-flow .c-ttl-bg {
  margin-bottom: 30px;
}
.p-top-flow .l-wrap {
  max-width: 730px;
}

.p-top-flow-block {
  margin-top: 40px;
}
.p-top-flow-block .p-top-flow-block__item {
  display: flex;
  align-items: flex-start;
  gap: 34px;
}
.p-top-flow-block .p-top-flow-block__item .item__num {
  font-family: "Roboto", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #bf0101;
  text-align: center;
  background-color: #fff;
  padding-bottom: 5px;
  position: relative;
}
.p-top-flow-block .p-top-flow-block__item .item__num .icon {
  background-color: #bf0101;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-top-flow-block .p-top-flow-block__item .item__text {
  width: calc(100% - 100px);
}
.p-top-flow-block .p-top-flow-block__item .item__text .ttl {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #343434;
}
.p-top-flow-block .p-top-flow-block__item .item__text .wrap {
  background-color: #efefef;
  border-radius: 14px;
  padding: 24px;
}
.p-top-flow-block .p-top-flow-block__item:not(:last-child) {
  margin-bottom: 30px;
}
.p-top-flow-block .p-top-flow-block__item:not(:last-child) .item__num::after {
  content: "";
  display: block;
  width: 3px;
  height: 100%;
  margin: 0 auto;
  background-color: #707070;
  position: absolute;
  left: 50%;
  top: 100%;
}

@media screen and (max-width: 767px) {
  .p-top-flow {
    padding: 40px 0 120px;
  }
  .p-top-flow .c-text-en {
    margin-top: 0;
    transform: none;
    line-height: 1.1;
    margin-bottom: 30px;
  }
  .p-top-flow-block .p-top-flow-block__item {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
  .p-top-flow-block .p-top-flow-block__item .item__num {
    font-size: 0.875rem;
  }
  .p-top-flow-block .p-top-flow-block__item .item__num .icon {
    width: 75px;
    height: 75px;
  }
  .p-top-flow-block .p-top-flow-block__item .item__num .icon img {
    width: 44px;
  }
  .p-top-flow-block .p-top-flow-block__item .item__text {
    width: 100%;
  }
  .p-top-flow-block .p-top-flow-block__item .item__text .ttl {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 10px;
  }
  .p-top-flow-block .p-top-flow-block__item .item__text .wrap {
    padding: 24px;
  }
  .p-top-flow-block .p-top-flow-block__item .item__text .wrap p {
    font-size: 0.875rem;
    color: #343434;
  }
  .p-top-flow-block .p-top-flow-block__item:not(:last-child) {
    margin-bottom: 40px;
  }
  .p-top-flow-block .p-top-flow-block__item:not(:last-child) .item__num::after {
    display: none;
  }
}
/* ---------------------------------------------
  faq
  --------------------------------------------- */
.p-top-faq {
  background-color: #343434;
  padding-bottom: 8.75rem;
}
.p-top-faq .l-wrap {
  max-width: 730px;
}
.p-top-faq .c-ttl-bg {
  margin-bottom: 30px;
}
.p-top-faq .c-ttl-bg + p {
  color: #fff;
}

.p-top-faq__list {
  margin-top: 40px;
}
.p-top-faq__list .faq__item:not(:last-child) {
  margin-bottom: 20px;
}
.p-top-faq__list .faq__item {
  background-color: #fff;
}
.p-top-faq__list .faq__ttl {
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
  color: #2c5034;
  position: relative;
  cursor: pointer;
  transition: 0.3s ease;
}
.p-top-faq__list .faq__ttl::before {
  content: "Q";
  font-size: 1.875rem;
  width: 52px;
  min-width: 52px;
  height: 52px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #2c5034;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  transition: 0.3s ease;
}
.p-top-faq__list .faq__ttl::after {
  content: "+";
  font-size: 1.8125rem;
  line-height: 1;
  margin-right: 10px;
  position: absolute;
  top: 2rem;
  right: 10px;
  color: #2c5034;
}
.p-top-faq__list .faq__ttl.is-open {
  background-color: #2c5034;
  color: #fff;
}
.p-top-faq__list .faq__ttl.is-open::before {
  background-color: #fff;
  color: #2c5034;
}
.p-top-faq__list .faq__ttl.is-open::after {
  content: "−";
  color: #fff;
}
.p-top-faq__list .faq__answer {
  display: none;
  padding: 40px 20px;
}

@media screen and (max-width: 767px) {
  .p-top-faq {
    padding: 40px 0 120px;
  }
  .p-top-faq .c-text-en {
    margin-bottom: 40px;
  }
  .p-top-faq__list .faq__item:not(:last-child) {
    margin-bottom: 14px;
  }
  .p-top-faq__list .faq__ttl {
    font-size: 0.875rem;
    gap: 12px;
    padding: 16px 40px 16px 10px;
  }
  .p-top-faq__list .faq__ttl::before {
    font-size: 1.25rem;
    width: 34px;
    min-width: 34px;
    height: 34px;
  }
  .p-top-faq__list .faq__ttl::after {
    font-size: 1.625rem;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
  }
  .p-top-faq__list .faq__answer {
    display: none;
    padding: 20px 14px;
    color: #343434;
  }
  .p-top-faq__list .faq__answer p {
    font-size: 0.875rem;
  }
}
/* ---------------------------------------------
  blog
  --------------------------------------------- */
.p-top-blog-sns {
  background-color: #e0e0e0;
  padding: 40px 0 100px;
  overflow: hidden;
}
.p-top-blog-sns .c-text-en {
  transform: translateX(-20px);
  margin-bottom: 30px;
}

.p-top-blog {
  position: relative;
  margin-top: 0.625rem;
}
.p-top-blog .c-ttl-link {
  margin-bottom: 70px;
}

.p-pick-slider__container {
  position: relative;
}
.p-pick-slider__container .swiper-button-next,
.p-pick-slider__container .swiper-button-prev {
  background-color: rgba(255, 255, 255, 0.6);
  top: calc(50% - 35px);
}
.p-pick-slider__container .swiper-button-next {
  right: -2.1875rem;
}
.p-pick-slider__container .swiper-button-prev {
  left: -2.1875rem;
}
.p-pick-slider__container .swiper-pagination {
  bottom: -50px;
}
.p-pick-slider__container .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  margin: 0 6px;
}
.p-pick-slider__container .swiper-pagination-bullet-active {
  background-color: #bf0101;
}

/* --- pick common ---- */
.p-blog-ceo__block {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 20px;
  width: 50%;
  margin: 0 0 0 auto;
  position: absolute;
  top: -8px;
  right: 20px;
}
.p-blog-ceo__block .item-text {
  max-width: 350px;
  background-color: #fff;
  position: relative;
  border-radius: 14px;
  padding: 12px 20px;
  margin-top: 30px;
}
.p-blog-ceo__block .item-text::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: 48px;
  background-color: #fff;
  clip-path: polygon(100% 4%, 0 36%, 0 100%);
  position: absolute;
  top: 20px;
  right: -50px;
}

.p-pick-slider__item a {
  display: flex;
  background-color: #fff;
}
@media (hover: hover) {
  .p-pick-slider__item a:hover .pick__img img {
    transform: scale(1.2);
  }
}
.p-pick-slider__item .pick__img {
  position: relative;
  overflow: hidden;
  width: 40%;
}
.p-pick-slider__item .pick__img img {
  aspect-ratio: 445/296;
  object-fit: cover;
  transition: 0.3s ease;
}
.p-pick-slider__item .pick__text {
  padding: 24px 28px;
  width: 60%;
}
.p-pick-slider__item .pick__text .date {
  font-size: 0.875rem;
  font-family: "Roboto", sans-serif;
  color: #707070;
  font-weight: 900;
  margin-bottom: 10px;
}
.p-pick-slider__item .pick__text .blog__ttl {
  font-size: 1.75rem;
  font-weight: 700;
  color: #707070;
  line-height: 1.3;
}

.p-pick__container {
  margin-bottom: 7.5rem;
}

@media screen and (max-width: 767px) {
  .p-top-blog-sns .c-text-en {
    transform: none;
    margin-bottom: 10px;
    line-height: 1.1;
    font-size: 3.25rem;
  }
  .p-pick-slider__container .swiper-button-next,
  .p-pick-slider__container .swiper-button-prev {
    display: none !important;
  }
  .p-top-blog {
    margin-top: 0;
  }
  .p-top-blog .c-ttl-link {
    margin-bottom: 0;
  }
  .p-blog-ceo__block {
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 0;
    width: 100%;
    position: static;
    transform: translateY(-40px);
  }
  .p-blog-ceo__block .item-img {
    max-width: 120px;
    margin-right: 20px;
  }
  .p-blog-ceo__block .item-text {
    padding: 16px;
    margin-top: -20px;
  }
  .p-blog-ceo__block .item-text p {
    font-size: 0.875rem;
  }
  .p-blog-ceo__block .item-text::before {
    clip-path: polygon(100% 0, 0% 100%, 80% 100%);
    top: -48px;
    right: initial;
    left: 34%;
  }
  .p-pick-slider__item a {
    display: block;
  }
  .p-pick-slider__item .pick__img {
    width: 100%;
  }
  .p-pick-slider__item .pick__text {
    width: 100%;
  }
  .p-pick-slider__item .pick__text .blog__ttl {
    font-size: 1.25rem;
  }
  .p-pick__container {
    margin-bottom: 80px;
  }
}
/* --- blog list common ---- */
.p-blog__list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1.25rem 1.875rem;
}
.p-blog__list .item {
  width: calc(33.3333333333% - 1.25rem);
  display: flex;
  align-items: stretch;
}
.p-blog__list > a {
  display: block;
  background-color: #fff;
  overflow: hidden;
  transition: 0.3s ease;
}
@media (hover: hover) {
  .p-blog__list > a:hover .p-blog__img img {
    transform: scale(1.2);
  }
}
.p-blog__list > a .p-blog__img {
  overflow: hidden;
}
.p-blog__list > a .p-blog__img img {
  aspect-ratio: 350/233;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}
.p-blog__list > a .p-blog__text {
  padding: 14px;
}
.p-blog__list > a .date {
  font-size: 0.875rem;
  font-family: "Roboto", sans-serif;
  color: #707070;
  font-weight: 900;
}
.p-blog__list > a .ttl {
  font-size: 1.25rem;
  font-weight: 700;
  color: #707070;
}

.p-top-blog {
  margin-bottom: 100px;
}
.p-top-blog .c-btn-wh {
  margin: 80px auto 0;
}

@media screen and (max-width: 767px) {
  .p-new__container .c-ttl-mark {
    margin-bottom: 50px;
  }
  .p-blog__list {
    gap: 30px;
  }
  .p-blog__list .item {
    width: 100%;
  }
  .p-blog__list a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: none;
  }
  .p-blog__list a .p-blog__img {
    width: 50%;
  }
  .p-blog__list a .p-blog__text {
    padding: 0;
    width: 50%;
  }
  .p-blog__list a .date {
    font-size: 0.6875rem;
  }
  .p-blog__list a .ttl {
    font-size: 0.875rem;
  }
  .p-blog__list a .c-taglist {
    margin-top: 5px;
    gap: 5px;
  }
  .p-blog__list a .c-taglist li {
    font-size: 0.625rem;
  }
  .p-top-blog .c-btn-wh {
    margin: 60px auto 0;
  }
}
/* ---------------------------------------------
  Instagram
  --------------------------------------------- */
.p-top-ig .c-ttl-link {
  margin-bottom: 60px;
}
.p-top-ig .c-btn-wh {
  margin-top: 80px;
}

@media screen and (max-width: 767px) {
  .p-top-ig .c-btn-wh {
    margin-top: 40px;
  }
}
/*--------------------------------------------- */
/** 404 **/
.p-404__content {
  margin-top: 60px;
  margin-bottom: 160px;
}
.p-404__content a {
  text-decoration: underline;
}

/* ---------------------------------
 article common
  ---------------------------------*/
.c-article__head {
  margin-bottom: 20px;
}
.c-article__head .c-taglist {
  margin-bottom: 20px;
}
.c-article__head .c-article__ttl {
  font-size: 2.5rem;
  font-weight: 700;
  color: #343434;
  margin-bottom: 14px;
  letter-spacing: 0.08em;
}
.c-article__head .c-article__date {
  font-size: 1.25rem;
  font-family: "Roboto", sans-serif;
  color: #343434;
  letter-spacing: 0.08em;
}

.c-article__body > * {
  margin-bottom: 50px;
}
.c-article__body h2 {
  font-size: 1.875rem;
  line-height: 1.55;
  padding: 10px 12px;
  font-weight: 700;
  border-left: 10px solid #bf0101;
  border-bottom: 4px solid #d6d6d6;
  color: #343434;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
}
.c-article__body h3 {
  font-size: 1.625rem;
  font-weight: 700;
  color: #000;
}
.c-article__body .notice {
  color: #bf0101;
  font-weight: 700;
}
.c-article__body a {
  text-decoration: underline;
  color: #bf0101;
  display: inline-block;
}
.c-article__body a.ex::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 16px;
  mask-image: url("img/icon_ex.svg");
  mask-repeat: no-repeat;
  mask-size: 100%;
  mask-position: center;
  background-color: #bf0101;
  margin-left: 5px;
}
.c-article__body a[target=_blank]:not(.sns__container a)::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 16px;
  mask-image: url("img/icon_ex.svg");
  mask-repeat: no-repeat;
  mask-size: 100%;
  mask-position: center;
  background-color: #bf0101;
  margin-left: 5px;
}
.c-article__body img {
  width: 100%;
  max-width: 920px;
}
.c-article__body .tate img {
  max-width: 500px !important;
}
.c-article__body figure {
  text-align: center;
}
.c-article__body figcaption {
  text-align: center;
}
.c-article__body .box {
  background-color: #ededed;
  border: 1px dashed #707070;
  padding: 30px;
  max-width: 730px;
  margin-right: auto;
  margin-left: auto;
}
.c-article__body .list-box {
  max-width: 730px;
  margin-right: auto;
  margin-left: auto;
}
.c-article__body .list-ttl {
  background: #343434;
  border-radius: 10px 10px 0 0;
  color: #fff;
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 2;
  margin: 0;
  padding: 0.2em 1em;
  text-align: center;
  width: fit-content;
}
.c-article__body .list-contents {
  background-color: #fff;
  border: 2px solid #343434;
  border-radius: 0 10px 10px 10px;
  line-height: 2;
  margin: 0 0 1.5em;
  padding: 1.5em 1em;
}
.c-article__body .list-contents li {
  margin-top: 10px;
  margin-left: 20px;
  padding-left: 10px;
}
.c-article__body .list-contents li:first-of-type {
  margin-top: 0;
}
.c-article__body .list-contents li::marker {
  color: #343434;
}
.c-article__body ul.list-contents {
  list-style-type: disc;
}
.c-article__body ol.list-contents {
  list-style-type: decimal;
}

/* --- pagenation ----*/
.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 160px;
  gap: 12px;
  font-family: "Roboto", sans-serif;
}
.pagination .nav-links .dots {
  font-size: 1.25rem;
  display: inline-block;
  border: none;
  background: none;
  line-height: 1.5;
  letter-spacing: 0.1em;
  width: auto;
}
.pagination .nav-links .page-numbers:not(.dots) {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: 0.3s ease;
  border-radius: 50%;
  font-weight: 700;
  border: 1px solid #707070;
  background: rgba(255, 255, 255, 0.5);
}
.pagination .nav-links .page-numbers:not(.dots).current {
  background: #cbcbcb;
}
.pagination .nav-links .page-numbers:not(.dots).prev.page-numbers, .pagination .nav-links .page-numbers:not(.dots).next.page-numbers {
  width: auto;
  border-radius: 20px;
  padding: 0 20px;
}
.pagination .nav-links a.page-numbers:hover {
  opacity: 0.7;
}

@media screen and (max-width: 767px) {
  .c-article__head .c-article__ttl {
    font-size: 1.5rem;
  }
  .c-article__head .c-article__date {
    font-size: 1rem;
  }
  .c-article__body > * {
    margin-bottom: 30px;
  }
  .c-article__body h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  .c-article__body h3 {
    font-size: 1.375rem;
  }
  .c-article__body .notice {
    font-size: 1.25rem;
  }
  .c-article__body .box {
    padding: 16px;
  }
  /* pagenation */
  ul.page-numbers {
    margin-top: 34px;
  }
}
/* ---------------------------------
    CUSTOM CASE
  ---------------------------------*/
.p-customcase {
  background-color: #e0e0e0;
  padding: 20px 0 180px;
  overflow: hidden;
}
.p-customcase .c-text-en {
  margin-bottom: 20px;
  font-size: 5.9375rem;
  letter-spacing: 0.06em;
}
.p-customcase .c-ttl-bg {
  margin-bottom: 50px;
}

.p-customcase-other {
  border-top: 1px solid #707070;
  padding-top: 50px;
  margin-top: 130px;
}

.p-case-taglist {
  margin-bottom: 60px;
}
.p-case-taglist dl {
  display: flex;
  gap: 30px;
}
.p-case-taglist dl:not(:last-child) {
  margin-bottom: 10px;
}
.p-case-taglist dl dt {
  width: 15%;
  font-size: 1.25rem;
}
.p-case-taglist dl dd {
  width: 85%;
}
.p-case-taglist dl dd .c-taglist {
  margin-top: 0;
  gap: 12px;
}
.p-case-taglist dl dd .c-taglist li {
  border: none;
  background-color: #fff;
}
.p-case-taglist dl dd .c-taglist li a {
  transition: 0.3s ease;
}
.p-case-taglist dl dd .c-taglist li a:hover {
  opacity: 0.7;
}

.p-customcase__item {
  padding-bottom: 40px;
  border-bottom: 1px solid #c6c6c6;
  margin-bottom: 20px;
}
.p-customcase__item a {
  display: flex;
  gap: 32px;
}
@media (hover: hover) {
  .p-customcase__item a:hover .item-img img {
    transform: scale(1.2);
  }
}
.p-customcase__item .item-img {
  width: 32%;
  overflow: hidden;
}
.p-customcase__item .item-img img {
  aspect-ratio: 350/230;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}
.p-customcase__item .item-text {
  width: 68%;
}
.p-customcase__item .item-text .date {
  font-size: 1.25rem;
  font-family: "Roboto", sans-serif;
  color: #000;
  margin-bottom: 20px;
}
.p-customcase__item .item-text .ttl {
  font-size: 1.375rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}
.p-customcase__item .item-text .c-taglist li {
  font-size: 0.875rem;
  padding: 2px 8px;
}

@media screen and (max-width: 767px) {
  .p-customcase {
    padding: 20px 0 40px;
  }
  .p-customcase .c-text-en {
    font-size: 4.5rem;
    line-height: 1.1;
  }
  .p-customcase .c-ttl-bg {
    text-align: left;
  }
  .p-case-taglist {
    margin-bottom: 50px;
  }
  .p-case-taglist dl {
    gap: 14px;
  }
  .p-case-taglist dl dt {
    min-width: 120px;
    font-size: 0.875rem;
  }
  .p-case-taglist dl dd {
    width: 68%;
  }
  .p-case-taglist dl dd .c-taglist {
    gap: 8px;
  }
  .p-case-taglist dl dd .c-taglist li a {
    font-size: 0.625rem;
  }
  .p-customcase__item a {
    flex-wrap: wrap;
    gap: 10px;
  }
  .p-customcase__item .item-img {
    width: 100%;
  }
  .p-customcase__item .item-img img {
    aspect-ratio: 358/188;
  }
  .p-customcase__item .item-text {
    width: 100%;
  }
  .p-customcase__item .item-text .date {
    line-height: 1.2;
    font-size: 0.875rem;
    margin-bottom: 14px;
  }
  .p-customcase__item .item-text .ttl {
    margin-bottom: 14px;
  }
  .p-customcase__item .item-text .c-taglist li {
    font-size: 0.75rem;
  }
}
/* ---------------------------------
 customcase article
  ---------------------------------*/
.p-customcase-article .c-btn-wh {
  margin-top: 160px;
}

.p-customcase__memo {
  max-width: 920px;
  margin: 0 auto;
}
.p-customcase__memo .c-ttl-mark {
  font-size: 1.25rem;
  gap: 12px;
  margin-bottom: 10px;
}
.p-customcase__memo .c-ttl-mark::before {
  width: 20px;
  min-width: 20px;
  height: 20px;
}
.p-customcase__memo .p-memo__block {
  background-color: #fff;
  padding: 30px 24px;
  border-radius: 14px;
}
.p-customcase__memo .p-memo__block dl {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px dotted #707070;
  font-size: 1rem;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.p-customcase__memo .p-memo__block dl dt {
  padding-left: 24px;
  width: 200px;
}
.p-customcase__memo .p-memo__block dl dd {
  width: calc(100% - 200px);
}
.p-customcase__memo .p-memo__block dl a {
  color: #2c5034;
  display: inline-block;
  text-decoration: underline;
}
.p-customcase__memo .p-memo__block dl a::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 16px;
  background: url("img/icon_ex.svg") no-repeat top left/100%;
  margin-left: 5px;
}

@media screen and (max-width: 767px) {
  .p-customcase-article .c-btn-wh {
    margin-top: 50px;
  }
  .p-customcase__memo {
    margin-top: 40px;
  }
  .p-customcase__memo .p-memo__block {
    padding: 24px 16px;
  }
  .p-customcase__memo .p-memo__block dl {
    flex-wrap: wrap;
    padding-bottom: 8px;
    margin-bottom: 8px;
    gap: 8px;
  }
  .p-customcase__memo .p-memo__block dl dt {
    padding-left: 0;
    width: 100%;
  }
  .p-customcase__memo .p-memo__block dl dd {
    width: 100%;
    padding-left: 24px;
  }
}
/*============================
 パスワード保護
============================*/
input[name=post_password] {
  border: 1px solid #999;
  height: 60px;
  padding: 10px;
  margin-right: 10px;
  background: #f2f2f2;
  display: inline-block;
}

/* ---------------------------------
    BLOG
  ---------------------------------*/
.p-blog {
  background-color: #e0e0e0;
  padding: 20px 0 180px;
  overflow: hidden;
  position: relative;
}
.p-blog .c-text-en {
  margin-bottom: 20px;
  font-size: 5.9375rem;
  letter-spacing: 0.06em;
}
.p-blog .c-ttl-bg {
  margin-bottom: 50px;
}
.p-blog .l-wrap {
  position: relative;
}

/* ---- blog search ----*/
.p-blog-search {
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #707070;
  padding-top: 50px;
  margin-top: 130px;
  justify-content: space-between;
}
.p-blog-search .p-blog-search__block {
  width: 33.3333333333%;
}
.p-blog-search .p-blog-search__block .c-ttl-mark {
  font-size: 1.75rem;
  gap: 10px;
  margin-bottom: 10px;
}
.p-blog-search .p-blog-search__block .c-ttl-mark::before {
  width: 20px;
  min-width: 20px;
  height: 20px;
}
.p-blog-search .p-blog-search__block .c-taglist li,
.p-blog-search .p-blog-search__block .c-taglist a.tag-cloud-link {
  background-color: #fff;
}
.p-blog-search .p-blog-search__block .c-taglist a.tag-cloud-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 2px 12px;
  color: #fff;
  border-radius: 14px;
  color: #707070;
  border: 1px solid #cccccc;
}
.p-blog-search .p-blog-search__block .c-taglist a.tag-cloud-link::before {
  content: "#";
}
.p-blog-search .p-blog-search__block .search-box {
  border: 1px solid #707070;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}
.p-blog-search .p-blog-search__block .search-box .wp-block-search__inside-wrapper {
  padding: 25px 40px 25px 30px;
  background-color: #fff;
}
.p-blog-search .p-blog-search__block .search-box button {
  position: relative;
  left: 25px;
}
.p-blog-search .p-blog-search__block :where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
  border: none;
}
.p-blog-search .p-blog-search__block .wp-block-search__button svg {
  fill: #bf0101;
}
.p-blog-search .p-blog-search__block .archive-box {
  position: relative;
}
.p-blog-search .p-blog-search__block .archive-box::after {
  content: "";
  display: block;
  width: 16px;
  height: 8px;
  background-color: #bf0101;
  clip-path: polygon(100% 0, 0 0, 50% 100%);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  z-index: 1;
  pointer-events: none;
}
.p-blog-search .p-blog-search__block .archive-box select {
  border: 1px solid #707070;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  padding: 25px 30px;
  background-color: #fff;
  width: 100%;
}
.p-blog-search .p-blog-search__block:nth-child(3) {
  max-width: 350px;
}

/* ---- blog related ----*/
.p-blog-other {
  margin-top: 100px;
}
.p-blog-other .c-ttl-mark {
  font-size: 1.75rem;
}
.p-blog-other .c-ttl-mark::before {
  width: 20px;
  max-width: 20px;
  height: 20px;
}

@media screen and (max-width: 767px) {
  .p-blog {
    padding: 20px 0 100px;
  }
  .p-blog .c-text-en {
    font-size: 4.5rem;
    line-height: 1.1;
  }
  .p-blog .c-ttl-bg {
    text-align: left;
  }
  .p-blog .l-wrap {
    position: static;
  }
  .p-blog .p-blog-ceo__block {
    transform: none;
    margin-top: -180px;
    margin-bottom: 80px;
  }
  .p-blog .p-blog-ceo__block .item-img {
    max-width: 150px;
    margin-right: 0;
  }
  .p-blog-search {
    flex-wrap: wrap;
    gap: 40px;
  }
  .p-blog-search .p-blog-search__block {
    width: 100%;
  }
}
/* ---------------------------------
 blog article
  ---------------------------------*/
.p-blog-article .c-article__body {
  margin-bottom: 180px;
}

/* ---- sns ----*/
.sns__container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.sns__container .icon {
  width: 28px;
  transition: 0.3s ease;
  display: inline-block;
}
.sns__container .icon img {
  width: 100%;
}
.sns__container a {
  width: 20%;
  height: 45px;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #fff;
  gap: 10px;
  text-decoration: none;
}
@media (hover: hover) {
  .sns__container a:hover .icon {
    transform: rotateY(360deg);
  }
}

.sns__facebook {
  background: #3b5998;
}

.sns__x {
  background: #010000;
}

.sns__pinterest {
  background: #bd081c;
}

.sns__hatena {
  background: #00a4de;
}

.sns__line {
  background: #56b535;
}

/* ---- mokuji ----*/
#toc_container {
  max-width: 730px;
  margin: 0 auto;
  border: 1px dashed #707070 !important;
  border-radius: 14px;
  padding: 30px !important;
  background-color: #fff;
  margin-bottom: 70px !important;
}
#toc_container .toc_title {
  font-weight: 700;
  font-size: clamp(14px, 0.83vw, 16px);
  margin-bottom: 10px;
  color: #343434;
}
#toc_container .toc_list {
  list-style-type: decimal;
}
#toc_container .toc_list li .toc_number {
  color: #bd081c;
  font-weight: 500;
}
#toc_container .toc_list li a {
  color: #343434;
  font-size: clamp(14px, 0.83vw, 16px);
  line-height: 1.7;
  text-decoration: none;
}
#toc_container .toc_list li a:hover {
  text-decoration: underline;
}

/* ---- prev next ----*/
.c-prev-next-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #707070;
  border-bottom: 1px solid #707070;
  padding: 20px;
  margin-top: 80px;
}

.c-prev-next-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.c-prev-next-nav__item > a {
  position: relative;
  flex: 1 1 0%;
  display: flex;
  gap: 30px;
  text-decoration: none;
  padding: 0.88462rem;
  display: flex;
  align-items: center;
}

.c-prev-next-nav__item.c-prev-next-nav__item--next > a {
  flex-direction: row-reverse;
  border-left: 2px dotted #707070;
  padding-left: 30px;
  margin-left: 30px;
}

.c-prev-next-nav__item.c-prev-next-nav__item--prev > a {
  border-right: 2px dotted #707070;
  padding-right: 30px;
  margin-right: 30px;
}

.c-prev-next-nav__item-label {
  font-size: 1.25rem;
}

.c-prev-next-nav__item-title {
  position: relative;
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.76923;
}

.c-prev-next-nav__item {
  width: 42%;
}

.c-prev-next-nav__home {
  width: 16%;
  text-align: center;
}
.c-prev-next-nav__home a {
  font-size: 1.25rem;
  font-weight: 900;
}
.c-prev-next-nav__home a .icon {
  margin-right: 12px;
}

@media screen and (max-width: 767px) {
  .sns__container {
    gap: 10px;
  }
  .sns__container .text {
    display: none;
  }
  .toc_container {
    padding: 20px;
    margin-bottom: 50px;
  }
  .toc_container .toc_title {
    font-size: 1rem;
  }
  .toc_container .toc_list li {
    padding-left: 10px;
  }
  .toc_container .toc_list a {
    font-size: 0.875rem;
  }
  .c-prev-next-nav {
    padding: 10px 0;
  }
  .c-prev-next-nav__item > a {
    padding: 10px;
  }
  .c-prev-next-nav__item.c-prev-next-nav__item--next > a {
    padding-left: 24px;
    margin-left: 20px;
  }
  .c-prev-next-nav__item.c-prev-next-nav__item--prev > a {
    padding-right: 24px;
    margin-right: 20px;
  }
  .c-prev-next-nav__item-label {
    font-size: 1.25rem;
    font-weight: 900;
  }
  .c-prev-next-nav__item-title {
    display: none;
  }
  .c-prev-next-nav__item {
    width: auto;
    width: 30%;
  }
  .c-prev-next-nav__home {
    width: auto;
    width: 40%;
  }
  .c-prev-next-nav__home a .icon {
    margin-right: 6px;
    max-width: 27px;
  }
  .p-blog-other {
    margin-top: 60px;
  }
}
/* ---------------------------------
 CUSTOMIZE
  ---------------------------------*/
.l-main-customize {
  background: rgb(4, 23, 34);
  background: linear-gradient(145deg, rgba(4, 23, 34, 0.7) 0%, rgba(12, 15, 13, 0.7) 50%, rgba(28, 34, 6, 0.7) 100%);
}
.l-main-customize .c-breadcrumb li,
.l-main-customize .c-breadcrumb a {
  color: #fff;
}

.p-customize {
  padding: 20px 0 180px;
  overflow: hidden;
}
.p-customize .c-text-en {
  margin-bottom: 20px;
  font-size: 5.9375rem;
  letter-spacing: 0.06em;
}
.p-customize .c-ttl-bg {
  margin-bottom: 50px;
}
.p-customize .c-ttl-bg + p {
  color: #fff;
}

.p-customize__anchor {
  display: flex;
  align-items: center;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.16);
  margin-bottom: 130px;
  margin-top: 70px;
}
.p-customize__anchor li {
  height: 100%;
  width: 25%;
  border-right: 1px solid #fff;
}
.p-customize__anchor li:first-child {
  border-left: 1px solid #fff;
}
.p-customize__anchor a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  position: relative;
}
.p-customize__anchor a::before {
  content: "";
  display: block;
  width: 0;
  height: 100%;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.34;
  transition: 0.3s ease;
  z-index: 0;
}
.p-customize__anchor a .en {
  font-size: 2rem;
  font-family: "Roboto", sans-serif;
  font-style: italic;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 1;
}
.p-customize__anchor a .jp {
  font-size: 1.375rem;
  letter-spacing: 0.3em;
  position: relative;
  z-index: 1;
}
.p-customize__anchor a:hover::before {
  width: 100%;
}
.p-customize__anchor a.is-active::before {
  width: 100%;
}

.p-customize .notice {
  text-align: center;
  color: #fff;
}
.p-customize .p-customize__block {
  display: flex;
  background-color: #fff;
  margin-bottom: 80px;
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.45);
}
.p-customize .p-customize__block:last-of-type {
  margin-bottom: 50px;
}
.p-customize .p-customize__block .item-img {
  width: 40%;
  position: relative;
}
.p-customize .p-customize__block .item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-customize .p-customize__block .item-img .wrap-text {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding: 50px 40px;
  justify-content: space-between;
}
.p-customize .p-customize__block .item-img .wrap-text p {
  color: #fff;
}
.p-customize .p-customize__block .item-img .wrap-text .customize__ttl {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}
.p-customize .p-customize__block .item-img .wrap-text .customize__ttl .en {
  font-size: 5.625rem;
  font-family: "Roboto", sans-serif;
  font-style: italic;
  letter-spacing: 0.1em;
}
.p-customize .p-customize__block .item-img .wrap-text .customize__ttl .jp {
  font-size: 2.5rem;
}
.p-customize .p-customize__block .item-img .wrap-text .customize__ttl.ope .en {
  font-size: 3.375rem;
}
.p-customize .p-customize__block .item-detail {
  width: 60%;
  padding: 30px;
}
.p-customize .p-customize__block .item-detail .ttl {
  background-color: #000;
  color: #fff;
  font-size: 1.375rem;
  padding: 8px 30px;
  margin-bottom: 10px;
  font-weight: 700;
}
.p-customize .p-customize__block .item-detail .ttl:not(:first-of-type) {
  margin-top: 20px;
}
.p-customize .p-customize__block .item-detail ul {
  padding-left: 3.75rem;
}
.p-customize .p-customize__block .item-detail ul li {
  margin-bottom: 8px;
}
.p-customize .p-customize__block .item-detail ul li a {
  color: #2c5034;
  display: inline-block;
  background-image: linear-gradient(#2c5034, #2c5034);
  background-size: 100% 2px;
  background-position: right bottom;
  background-repeat: no-repeat;
  transition: all 0.3s;
}
.p-customize .p-customize__block .item-detail ul li a::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 16px;
  background: url("img/icon_ex.svg") no-repeat top left/100%;
  margin-left: 5px;
}
.p-customize .p-customize__block .item-detail ul li a:hover {
  background-size: 0 2px;
}

@media screen and (max-width: 767px) {
  .p-customize .c-text-en {
    font-size: 3.625rem;
    line-height: 1.1;
  }
  .p-customize .c-ttl-bg {
    margin-bottom: 20px;
    text-align: left;
  }
  .p-customize .c-ttl-bg + p {
    font-size: 0.875rem;
  }
  .p-customize__anchor {
    height: auto;
    margin-bottom: 80px;
    margin-top: 35px;
    flex-wrap: wrap;
  }
  .p-customize__anchor li {
    height: 100px;
    width: 50%;
  }
  .p-customize__anchor li:nth-child(1), .p-customize__anchor li:nth-child(2) {
    border-bottom: 1px solid #fff;
  }
  .p-customize__anchor li:first-child {
    border-left: none;
  }
  .p-customize__anchor li:nth-child(even) {
    border-right: none;
  }
  .p-customize__anchor a .en {
    font-size: 1.25rem;
  }
  .p-customize__anchor a .jp {
    font-size: 0.875rem;
  }
  .p-customize .notice {
    text-align: left;
  }
  .p-customize .p-customize__block {
    flex-wrap: wrap;
    margin-bottom: 100px;
  }
  .p-customize .p-customize__block:last-of-type {
    margin-bottom: 30px;
  }
  .p-customize .p-customize__block .item-img {
    width: 100%;
  }
  .p-customize .p-customize__block .item-img .wrap-text {
    padding: 16px;
  }
  .p-customize .p-customize__block .item-img .wrap-text p {
    font-size: 0.875rem;
  }
  .p-customize .p-customize__block .item-img .wrap-text .customize__ttl .en {
    font-size: 3.375rem;
  }
  .p-customize .p-customize__block .item-img .wrap-text .customize__ttl .jp {
    font-size: 1.875rem;
  }
  .p-customize .p-customize__block .item-img .wrap-text .customize__ttl.ope .en {
    font-size: 2.75rem;
  }
  .p-customize .p-customize__block .item-detail {
    width: 100%;
    padding: 24px 8px;
  }
  .p-customize .p-customize__block .item-detail ul {
    padding-left: 20px;
  }
}
/* ---------------------------------
    CONTACT
  ---------------------------------*/
.p-contact__text {
  margin-top: 40px;
}

.p-contact__block {
  width: 80%;
  margin: 60px auto 160px;
}

@media screen and (max-width: 767px) {
  .p-contact__block {
    width: 100%;
  }
}
.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}
.cf7__list dt {
  width: 35%;
  padding-top: 15px;
}
.cf7__list dd {
  width: 65%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #be1d1d;
}

.cf7__optional {
  background: #878d8e;
}

/* input・textarea */
.cf7__list dd input[type=text], .cf7__list dd input[type=tel], .cf7__list dd input[type=email] {
  width: 100%;
  padding: 15px 20px;
  background: #f4f4f4;
}
.cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #f4f4f4;
}

/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}
.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: "";
}
.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #f4f4f4;
  color: #a5a5a5;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}
.cf7__list dd .wpcf7-list-item:nth-child(n+2) {
  margin-top: 18px;
}
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* 縦並び（チェックボックス・ラジオボタン） */
/* マウスカーソル（チェックボックス・ラジオボタン） */
/* チェックボックス・ラジオボタン */
input[type=checkbox], input[type=radio] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[type=checkbox]:checked {
  border: 1px solid #000;
  background: #000;
}
input[type=checkbox]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
}
input[type=radio] {
  border-radius: 50%;
}
input[type=radio]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: "";
}

/* チェックボックス */
/* ラジオボタン */
/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type=text]::placeholder, .cf7__list dd input[type=tel]::placeholder, .cf7__list dd input[type=email]::placeholder {
  color: #a5a5a5;
}
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}
.cf7__list dd input[type=text]::-ms-input-placeholder, .cf7__list dd input[type=tel]::-ms-input-placeholder, .cf7__list dd input[type=email]::-ms-input-placeholder {
  color: #a5a5a5;
}
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}
.cf7__list dd input[type=text]:-ms-input-placeholder, .cf7__list dd input[type=tel]:-ms-input-placeholder, .cf7__list dd input[type=email]:-ms-input-placeholder {
  color: #a5a5a5;
}
.cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}

/* Microsoft Edge */
/* Internet Explorer */
/* 送信ボタン */
.cf7__button {
  padding-left: 72px;
  text-align: center;
}

input[type=submit] {
  width: 260px;
  height: 60px;
  background: #000;
  color: #fff;
  transition: opacity 0.6s;
  text-align: center;
}
input[type=submit]:hover {
  opacity: 0.6;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {
  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }
  .cf7__list dd {
    width: 100%;
  }
  .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }
  .cf7__list dd .wpcf7-checkbox,
  .cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
  }
  /* 送信ボタン */
  input[type=submit] {
    width: 180px;
    height: 56px;
  }
}
/* ---------------------------------
  USED CAR Common
---------------------------------*/
.p-usedcar,
.p-usedcar-single {
  background-color: #e0e0e0;
  padding: 20px 0 180px;
  overflow: hidden;
  position: relative;
}
.p-usedcar .c-text-en,
.p-usedcar-single .c-text-en {
  margin-bottom: 20px;
  font-size: 95px;
  letter-spacing: 0.06em;
}
.p-usedcar .c-ttl-bg,
.p-usedcar-single .c-ttl-bg {
  margin-bottom: 50px;
}
.p-usedcar .l-wrap,
.p-usedcar-single .l-wrap {
  position: relative;
}

/* ---------------------------------
  USED CAR Archive
---------------------------------*/
.p-usedcar__list {
  display: grid;
  gap: 40px;
}

.p-usedcar-archive-card {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 36px;
  padding: 30px;
  background-color: #fff;
}
.p-usedcar-archive-card.is-sold .p-usedcar-archive-card__image img {
  opacity: 0.72;
}

.p-usedcar-archive-card__image {
  position: relative;
  overflow: visible;
}
.p-usedcar-archive-card__image a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.p-usedcar-archive-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.p-usedcar__sold {
  position: absolute;
  top: 14px;
  left: -34px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 36px;
  background: linear-gradient(135deg, #d60000 0%, #8f0000 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  transform: rotate(-22deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

.p-usedcar-archive-card__title {
  margin: 0 0 18px;
  font-size: 28px;
  line-height: 1.4;
}
.p-usedcar-archive-card__title a {
  color: inherit;
  text-decoration: none;
}

.p-usedcar-archive-card__price {
  margin-bottom: 22px;
  padding: 8px 20px;
  border: 2px solid #bf0101;
}
.p-usedcar-archive-card__price span {
  margin-right: 12px;
  font-weight: 700;
}
.p-usedcar-archive-card__price strong {
  color: #bf0101;
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
}
.p-usedcar-archive-card__price em {
  margin-left: 4px;
  color: #bf0101;
  font-style: normal;
  font-weight: 700;
}
.p-usedcar-archive-card__price p {
  margin: 10px 0 0;
  font-size: 12px;
}

.p-usedcar-archive-spec,
.p-usedcar-pickup-spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.p-usedcar-archive-spec {
  gap: 8px 8px;
}

.p-usedcar-pickup-spec {
  gap: 22px 8px;
}

.p-usedcar-archive-spec__item,
.p-usedcar-pickup-spec__item {
  text-align: center;
}

.p-usedcar-archive-spec__label,
.p-usedcar-pickup-spec__label {
  margin: 0 0 8px;
  padding: 5px 8px;
  background-color: #eee;
  border-radius: 4px;
  font-size: 14px;
}

.p-usedcar-pickup-spec__label {
  margin-bottom: 10px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.4;
}

.p-usedcar-archive-spec__value,
.p-usedcar-pickup-spec__value {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.p-usedcar-archive-card__btn {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: min(100%, 240px);
  min-height: 46px;
  margin-top: 18px;
  margin-left: auto;
  border-radius: 999px;
  background-color: #111 !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
@media (hover: hover) {
  .p-usedcar-archive-card__btn:hover {
    background-color: #bf0101 !important;
    transform: translateY(-2px);
  }
}

.p-usedcar-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.p-usedcar-filter a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 10px 18px;
  border: 1px solid #111;
  border-radius: 999px;
  background-color: #fff;
  color: #111;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
@media (hover: hover) {
  .p-usedcar-filter a:hover {
    background-color: #111;
    color: #fff;
    transform: translateY(-2px);
  }
}
.p-usedcar-filter a.is-active {
  background-color: #111;
  color: #fff;
}

.p-usedcar-count {
  margin: 0 0 24px;
  color: #707070;
  font-weight: 700;
}

.p-usedcar__featured {
  position: absolute;
  top: 14px;
  left: -34px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 36px;
  background: linear-gradient(135deg, #07d043 0%, #048029 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  transform: rotate(-22deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

/* ---------------------------------
  USED CAR Single
---------------------------------*/
.p-usedcar-single .c-ttl-mark {
  font-size: 2rem;
}

.p-usedcar-single__sold {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  background-color: #bf0101;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.p-usedcar-single__main {
  display: grid;
  grid-template-columns: 58% 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 80px;
}

.p-usedcar-single__side {
  display: grid;
  gap: 24px;
}

/* gallery */
.p-usedcar-gallery {
  display: grid;
  gap: 14px;
}

.p-usedcar-gallery__main,
.p-usedcar-gallery__main-btn,
.p-usedcar-gallery__thumb {
  background-color: #111;
}

.p-usedcar-gallery__main-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  overflow: hidden;
  cursor: zoom-in;
}
.p-usedcar-gallery__main-btn img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: contain;
  transition: transform 0.5s ease;
}
@media (hover: hover) {
  .p-usedcar-gallery__main-btn:hover img {
    transform: scale(1.03);
  }
}

.p-usedcar-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
}

.p-usedcar-gallery__thumb,
.p-usedcar-gallery__empty {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
}

.p-usedcar-gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
}
.p-usedcar-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-usedcar-gallery__thumb.is-active {
  border-color: #bf0101;
}

.p-usedcar-gallery__empty {
  background-color: #cfcfcf;
  border: 1px solid #b8b8b8;
}

/* lightbox */
.p-usedcar-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, background-color 0.35s ease, visibility 0.35s ease;
}
.p-usedcar-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.88);
}
.p-usedcar-lightbox.is-open .p-usedcar-lightbox__img {
  transform: scale(1);
  opacity: 1;
}

.p-usedcar-lightbox__img {
  display: block;
  max-width: min(100%, 1200px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.p-usedcar-lightbox__close {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: #fff;
  color: #111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

body.is-lightbox-open {
  overflow: hidden;
}

/* price */
.p-usedcar-price {
  background-color: #fff;
  border: 2px solid #bf0101;
}

.p-usedcar-price__main {
  padding: 28px;
}

.p-usedcar-price__label {
  margin: 0 0 10px;
  font-weight: 700;
}
.p-usedcar-price__label span {
  margin-left: 8px;
  font-size: 12px;
  color: #707070;
  font-weight: 400;
}

.p-usedcar-price__num {
  margin: 0;
  color: #bf0101;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}
.p-usedcar-price__num span {
  margin-left: 4px;
  font-size: 20px;
}

.p-usedcar-price__note {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
}

.p-usedcar-price__sub {
  border-top: 1px solid #ddd;
  padding: 18px 28px;
}

.p-usedcar-price__vehicle {
  margin: 0;
  font-weight: 700;
}
.p-usedcar-price__vehicle span {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: #707070;
  font-weight: 400;
}

/* LINE */
.p-usedcar-line-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: min(100%, 320px);
  min-height: 64px;
  margin-inline: auto;
  margin-bottom: 21px;
  padding: 16px 20px;
  box-sizing: border-box;
  border-radius: 999px;
  background-color: #06c755;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.p-usedcar-line-btn img {
  width: 24px;
  height: auto;
  flex-shrink: 0;
}
@media (hover: hover) {
  .p-usedcar-line-btn:hover {
    background-color: #05b14b;
    transform: translateY(-2px);
  }
}

/* spec table */
.p-usedcar-section {
  margin-top: 80px;
}

.p-usedcar-spec {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  background-color: #fff;
}
.p-usedcar-spec div {
  display: grid;
  grid-template-columns: 42% 58%;
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.p-usedcar-spec dt,
.p-usedcar-spec dd {
  margin: 0;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.6;
}
.p-usedcar-spec dt {
  background-color: #f2f2f2;
  font-weight: 700;
}
.p-usedcar-spec dd {
  background-color: #fff;
}

/* comment */
.p-usedcar-comment {
  margin-top: 24px;
  padding: 30px;
  background-color: #fff;
  line-height: 1.9;
}
.p-usedcar-comment h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
}
.p-usedcar-comment p {
  margin: 0;
}

/* ---------------------------------
  SP
---------------------------------*/
@media screen and (max-width: 767px) {
  .p-usedcar,
  .p-usedcar-single {
    padding: 20px 0 100px;
  }
  .p-usedcar .c-text-en,
  .p-usedcar-single .c-text-en {
    font-size: 72px;
    line-height: 1.1;
  }
  .p-usedcar .c-ttl-bg,
  .p-usedcar-single .c-ttl-bg {
    text-align: left;
  }
  .p-usedcar .l-wrap,
  .p-usedcar-single .l-wrap {
    position: static;
  }
  .p-usedcar-archive-card,
  .p-usedcar-single__main {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .p-usedcar-archive-card {
    padding: 20px;
  }
  .p-usedcar-single__main {
    gap: 24px;
    margin-bottom: 60px;
  }
  .p-usedcar-archive-card__title {
    font-size: 22px;
  }
  .p-usedcar-archive-card__price strong {
    font-size: 34px;
  }
  .p-usedcar-archive-spec,
  .p-usedcar-pickup-spec {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-usedcar-archive-spec__value,
  .p-usedcar-pickup-spec__value {
    font-size: 20px;
  }
  .p-usedcar-pickup-spec {
    gap: 18px 8px;
  }
  .p-usedcar-pickup-spec__label {
    font-size: 15px;
  }
  .p-usedcar-archive-card__btn {
    width: 100%;
  }
  .p-usedcar-price__num {
    font-size: 44px;
  }
  .p-usedcar-gallery__thumbs {
    grid-template-columns: repeat(5, 1fr);
  }
  .p-usedcar-lightbox {
    padding: 16px;
  }
  .p-usedcar-lightbox__close {
    top: 12px;
    right: 12px;
  }
  .p-usedcar-spec {
    grid-template-columns: 1fr;
  }
  .p-usedcar-spec div {
    grid-template-columns: 40% 60%;
  }
  .p-usedcar-spec dt,
  .p-usedcar-spec dd {
    padding: 12px;
    font-size: 13px;
  }
  .p-usedcar-section {
    margin-top: 60px;
  }
  .p-usedcar-comment {
    padding: 22px;
  }
}/*# sourceMappingURL=style.css.map */