@charset "utf-8";

/* html */
html {
  scroll-behavior: smooth;
}

/* br */
.sp-br {
  display: none;
}

@media screen and (max-width: 768px) {
  .sp-br {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .pc-br {
    display: none;
  }
}

/* body */
body {
  font-family: "Noto Sans", "Noto Sans JP", sans-serif;
  opacity: 0;
  transition: opacity 0.5s ease;
  color: #2b2b2b;
}

body.is-loaded {
  opacity: 1;
}

/* header */
header {
  position: fixed;
  z-index: 1000;
  background-color: #2b2b2b;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.35);
  width: min(1200px, 92%);
  width: 100%;
}

@media screen and (max-width: 1200px) {
  header {
    top: 0px;
    background: rgba(0, 0, 0, 0.35);
    width: 100%;
  }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 40px;
}

@media screen and (max-width: 1200px) {
  .header-inner {
    padding: 0;
  }
}

:root {
  --header-h: 76px;
}

@media screen and (max-width: 1200px) {
  .header-inner {
    height: var(--header-h);
  }

  :root {
    --header-h: 55px;
  }
}

.site-logo {
  height: 36px;
  width: auto;
  display: block;
}

@media screen and (max-width: 1200px) {
  .site-logo {
    height: 28px;
    padding-left: 10px;
  }
}

.gnav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1200px) {
  .gnav {
    padding: 0px;
  }
}

.pc-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  color: white;
  letter-spacing: 0.06em;
}

@media screen and (max-width: 1200px) {
  .pc-menu {
    display: none;
  }
}

.pc-menu>li {
  position: relative;
  width: fit-content;
  flex: 0 0 auto;
  align-items: stretch;
  display: flex;
}

.pc-menu>li>a {
  display: flex;
  height: 100%;
  text-decoration: none;
  align-items: center;
}

/* header-cta */
.header-cta {
  align-items: center;
  display: flex;
  gap: 14px;
}

@media screen and (max-width: 1200px) {
  .header-cta {
    display: none;
  }
}

.is-primary {
  background: #bd3936;
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.is-primary:hover {
  filter: brightness(0.85);
}

@media screen and (max-width: 1200px) {
  .is-primary {
    padding: 10px 20px;
    font-size: 12px;
  }
}

@media screen and (max-width: 1200px) {
  .is-insta {
    margin: 5px;
  }
}

.insta-image {
  width: 34px;
}

@media screen and (max-width: 1200px) {
  .insta-image {
    display: none;
  }
}

/* ja-en切り替えボタン */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.lang-switch a {
  color: #fff;
  text-decoration: none;
}

.lang-switch a+a::before {
  content: "|";
  margin-right: 6px;
}

.pc-lang {
  display: flex;
}

.sp-lang {
  display: none;
}

@media (max-width: 1200px) {
  .pc-lang {
    display: none;
  }

  .sp-lang {
    display: flex;
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
  }

  .header-inner {
    position: relative;
  }
}

/* トップへ戻る */
.top-btn {
  display: none;
}

@media screen and (max-width: 1200px) {
  .top-btn {
    display: block;
    width: 35px;
  }
}

body.is-drawer-open .fv-cta {
  opacity: 0;
  pointer-events: none;
  /* クリックも無効 */
  transition: opacity 0.2s ease;
}

/* 階層メニュー */
.has-sub {
  position: relative;
}

.sub-menu {
  position: absolute;
  top: calc(100% + 0px);
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  min-width: 160px;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 999;
}

.pc-menu>li {
  position: relative;
}

.pc-menu>li>a {
  height: var(--header-h);
  display: flex;
  align-items: center;
}

.sub-menu>li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.promax-sub-menu {
  background-color: #c56a54;
}

.jimny-sub-menu {
  background-color: #4f5a35;
}

.molding-sub-menu {
  background-color: #707070;
}

.sub-menu li a {
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  line-height: 1;
  white-space: nowrap;
  color: white;
  justify-content: center;
}

.hamburger-menu {
  display: none;
}

.has-sub:hover .sub-menu {
  display: block;
}

/* SP：ハンバーガーを出して、メニューは一旦隠す */
@media (max-width: 1200px) {
  .gnav-toggle {
    display: inline-flex;
    width: 55px;
    height: 55px;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background-color: #2b2b2b;
  }

  .gnav-toggle .bar {
    position: absolute;
    width: 28px;
    height: 2px;
    background: #fff;
    transition:
      transform 0.4s ease,
      opacity 0.4s ease;
  }

  /* 三 */
  .gnav-toggle .bar:nth-of-type(1) {
    transform: translateY(-9px);
  }

  .gnav-toggle .bar:nth-of-type(2) {
    transform: translateY(0);
  }

  .gnav-toggle .bar:nth-of-type(3) {
    transform: translateY(9px);
  }

  /*×  */
  .gnav-toggle.is-open .bar:nth-of-type(1) {
    transform: translateY(0) rotate(45deg);
  }

  .gnav-toggle.is-open .bar:nth-of-type(2) {
    opacity: 0;
  }

  .gnav-toggle.is-open .bar:nth-of-type(3) {
    transform: translateY(0) rotate(-45deg);
  }
}

/* ドロワーメニュー */
.drawer {
  position: fixed;
  height: calc(100dvh - var(--header-h));
  top: var(--header-h);
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1200;
  overflow: auto;
  /* ←はみ出す時スクロール */
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.6s ease;
}

.drawer.is-open {
  transform: translateX(0);
}

.nav-promax {
  background-color: #c56a54;
  padding: 28px;
}

.nav-jimny {
  background-color: #a1af82;
  padding: 28px;
}

.nav-promax a,
.nav-jimny a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.promax-logo-black {
  width: 200px;
}

.jimny-logo-black {
  width: 130px;
}

.nav-promax-image {
  width: 150px;
}

.nav-jimny-image {
  width: 130px;
}

.menu {
  border-bottom: 1px dotted #707070;
}

.menu:last-child {
  border-bottom: none;
}

.menu a {
  display: flex;
  justify-content: space-between;
  padding: 16.5px 40px;
}

.menu:last-child {
  color: #a73e3e;
}

@media screen and (min-width: 1200px) {
  .drawer {
    display: none;
  }
}

/* fv */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fv {
  height: 100svh;
  position: relative;
}

.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(82, 82, 82, 0.05);
  z-index: 1;
}

.fv-slider {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.fv-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  inset: 0;
  opacity: 0;
  animation: fvFade 16s infinite;
}

.fv-image:nth-child(1) {
  animation-delay: 0s;
}

.fv-image:nth-child(2) {
  animation-delay: 4s;
}

.fv-image:nth-child(3) {
  animation-delay: 8s;
}

.fv-image:nth-child(4) {
  animation-delay: 12s;
}

@keyframes fvFade {
  0% {
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  25% {
    opacity: 1;
  }

  31% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.fv-slider.is-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .fv-slider.is-pc {
    display: none;
  }

  .fv-slider.is-sp {
    display: block;
  }
}

/* sp-cta */
.sp-cta {
  display: none;
}

@media screen and (max-width: 1200px) {
  .sp-cta {
    position: fixed;
    align-items: center;
    display: flex;
    right: 14px;
    bottom: 14px;
    z-index: 2000;
  }

  .is-primary {
    padding: 0 20px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(167, 62, 62, 0.8);
    color: white;
    font-size: 12px;
    border-radius: 0px;
  }
}

.is-primary:hover {
  filter: brightness(0.85);
}

@media screen and (max-width: 1200px) {
  .is-insta {
    margin: 5px;
  }
}

.insta-image {
  width: 34px;
}

@media screen and (max-width: 1200px) {
  .insta-image {
    display: none;
  }
}

.top-btn {
  display: none;
}

@media screen and (max-width: 1200px) {
  .top-btn {
    display: block;
    width: 50px;
  }
}

body.is-drawer-open .fv-cta {
  opacity: 0;
  pointer-events: none;
  /* クリックも無効 */
  transition: opacity 0.2s ease;
}

/* title */
.en {
  color: #942818;
  font-weight: bolder;
  font-size: 44px;
}

@media screen and (max-width: 768px) {
  .en {
    font-size: 24px;
  }
}

.ja {
  color: #942818;
  font-weight: bolder;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .ja {
    font-size: 14px;
  }
}


h2 {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media screen and (max-width: 768px) {
  h2 {
    gap: 2px;
  }
}

/* padding-box */
.padding-box {
  padding: 120px 32px;
}

@media screen and (max-width: 768px) {
  .padding-box {
    padding: 56px 16px;
  }
}

.cooperation_text {
  font-weight: bold;
}

/* お知らせ */
.news-link {
  color: white;
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-link {
  display: flex;
  gap: 20px;
  text-decoration: none;
  color: white;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .news-link {
    gap: 10px;
    font-size: 13px;
  }
}

.news-date {
  width: 100px;
}

@media screen and (max-width: 768px) {
  .news-date {
    width: 80px;
  }
}

.news-text {
  flex: 1;
}

/* ブログ */
.title_blog {
  text-align: center;
}

.blog-list {
  max-width: 1400px;
  /* ここで全体の横幅を制限（ここが効く） */
  margin: 40px auto 0;
  /* 中央寄せ */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 120px;
}

@media screen and (max-width: 1200px) {
  .blog-list {
    gap: 60px;
  }
}

@media screen and (max-width: 768px) {
  .blog-list {
    display: flex;
    flex-direction: column;
    max-width: 80%;
    margin: 20px auto;
    gap: 20px;
  }
}

.blog-item {
  display: block;
  text-decoration: none;
  color: #333;
}

.blog-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  /* 写真の見え方 */
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* トリミングして枠に収める */
  display: block;
  aspect-ratio: 16 / 9;
}

.blog-text {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
}

/* closing */
.closing {
  position: relative;
  height: calc(100svh - var(--header-h));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.closing-image {
  width: 100%;
  height: calc(100svh - var(--header-h));
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 43, 43, 0.5);
  z-index: 1;
}

.closing-logo-box {
  text-align: center;
  margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
  .closing-logo-box {
    margin-bottom: 12px;
  }
}

.closing-logo {
  width: 60%;
}

@media screen and (max-width: 768px) {
  .closing-logo {
    width: 80%;
  }
}

.closing-title {
  font-size: 32px;
  font-weight: bold;
  color: white;
}

.closing-box {
  position: absolute;
  z-index: 500;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.closing-text {
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
  color: white;
  margin: 0 auto;
  line-height: 2.4rem;
  text-align: center;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .closing-text {
    line-height: 1.6rem;
    font-size: 14px;
  }
}

/* footer */
footer {
  background-color: black;
  padding: 60px 0;
  display: grid;
  gap: 28px;
}

@media screen and (max-width: 768px) {
  footer {
    padding: 30px 0;
    gap: 16px;
    font-size: 14px;
  }
}

.footer-logo {
  background-color: #fff;
  text-align: center;
  padding: 10px 0;
}

@media screen and (max-width: 768px) {
  .footer-logo {
    padding: 5px 0;
  }
}

.footer-logo img {
  width: 220px;
  height: auto;
}

@media screen and (max-width: 768px) {
  .footer-logo img {
    width: 180px;
    height: auto;
  }
}

.footer-cta {
  text-align: center;
}

.footer-contact-btn {
  color: white;
  background-color: #942818;
  padding: 18px 40px;
  display: inline-flex;
  justify-content: center;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .footer-contact-btn {
    padding: 9px 20px;
  }
}

.footer-contact-btn:hover {
  background-color: #852416;
}

.footer-nav {
  color: white;
}

.footer-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .footer-nav-list {
    display: grid;
    gap: 8px;
    text-align: center;
  }
}

.footer-nav-list li:not(:last-child) {
  border-right: 1px solid white;
}

@media screen and (max-width: 768px) {
  .footer-nav-list li:not(:last-child) {
    border-right: none;
  }
}

.footer-nav-list a {
  padding: 0 14px;
  line-height: 1.2;
  text-decoration: none;
}

.footer-nav-list:first-child {
  margin-bottom: 12px;
}

@media screen and (max-width: 768px) {
  .footer-nav-list:first-child {
    margin-bottom: 8px;
  }
}

.footer-nav-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-information {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .footer-information {
    display: grid;
    justify-content: flex-start;
    max-width: 200px;
    margin: 0 auto;
  }
}

.information {
  color: white;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .information {
    display: grid;
    gap: 4px;
    text-align: left;
  }
}

.information span {
  margin-right: 12px;
}

@media screen and (max-width: 768px) {
  .information span {
    margin-right: 0px;
  }
}

@media screen and (max-width: 768px) {
  .sns {
    margin: 16px auto 0;
  }
}

.sns-icon {
  width: 26px;
}

.sns a:not(:last-child) {
  margin-right: 4px;
}

.copyright {
  text-align: center;
  color: #aaa;
}

/* js
   /* スクロールしたら出てくる * / */

.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.js-reveal.is-show {
  opacity: 1;
  transform: translateY(0);
}
