@charset "utf-8";


/* ====================================================
   Base
==================================================== */

/* Font */

:root{

  --font-body: "Zen Old Mincho", sans-serif;

}

h1,
h2,
h3,
h4,
.title{
  font-family: var(--font-title);
  font-weight:900;
}

body{
  font-family: var(--font-body);
  font-weight:500;
  line-height:1.9;
}

strong{
  font-weight:900;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
}

a:hover{
  opacity: 0.5;
}

#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

#footer {
  margin-top: auto;
}

/* ====================================================
   Link
==================================================== */
.linkBtn a{
  display: inline-block;
  transition: .3s;
}

.pageBtn a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 2px solid #000;
  box-sizing: border-box;
  text-decoration: none;
  color: #000;
}

.pageBtn a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 15px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #000;
}

/* ====================================================
   product
==================================================== */

.productLoop {
  width: 100%;
  overflow: hidden;
}

.productLoopTrack {
  display: flex;
  width: max-content;
  will-change: transform;
}

.productLoopTrack.is-ready {
  animation: product-loop 60s linear infinite;
}

.productLoopGroup {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 30px;
  padding-right: 30px;
}

.productLoopGroup img {
  display: block;
  width: auto;
  height: 150px;
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .productLoopTrack {
    animation: none;
  }

}

/* animation */

@keyframes product-loop {

  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }

}

/* reCAPTCHA */
.grecaptcha-badge{
  z-index: 9999 !important;
}


/* ==============================================================================
   SP（ベース）
============================================================================== */
main{
  
}

#header{
  width:95%;
  margin:0 auto;
  padding:20px 0;
  box-sizing:border-box;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

.headerLogo{
  width:calc(100% - 65px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}

.headerLogoTop{
  display:flex;
  align-items:center;
  gap:25px;
}

#header h1{
  width:180px;
  margin:0;
  flex-shrink:0;
}

#header h1 img{
  display:block;
  width:100%;
  height:auto;
}

.headerJfsmLogo{
  display:block;
  width:45px;
  height:auto;
  flex-shrink:0;
}

.headerJfsmLink{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 32px 5px 10px;
  box-sizing:border-box;
  background: #fff;
  border:1px solid #d8b9a1;

  color:#000;
  font-size:1.3rem;
  line-height:1;
  letter-spacing:.03em;
  text-decoration:none;
  white-space:nowrap;
}

.headerJfsmLink::after{
  content:"";
  position:absolute;
  top:50%;
  right:12px;

  width:0;
  height:0;

  border-top:4px solid transparent;
  border-bottom:4px solid transparent;
  border-left:6px solid #000;

  transform:translateY(-50%);
}

#headerInner{
  display:flex;
  align-items:center;
  padding-top:5px;
}

.pcNav{
  display: none;
}

/* ハンバーガー（70×22の枠） */
.hamburger {
  position: relative;
  width: 50px;
  height: 22px;
  cursor: pointer;
  z-index: 10001;
}

/* 共通ライン */
.hamburger span {
  position: absolute;
  width: 50px; 
  height: 2px;
  background: #000;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

/* 3本線の位置 */
.hamburger span:nth-child(1) {
  top: 0; /* 上 */
}
.hamburger span:nth-child(2) {
  top: 50%; /* 中央 */
  transform: translateY(-50%);
}
.hamburger span:nth-child(3) {
  bottom: 0; /* 下 */
}

/* 「×」に変形 */
.hamburger.open span:nth-child(1) {
  top: 50%;
  transform: rotate(27deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  top: 50%;
  bottom: auto;
  transform: rotate(-27deg);
}

/* フルスクリーンオーバーレイ */
.nav-overlay {
  position:fixed;
  inset:0;

  background:#fff7f0;

  opacity:0;
  visibility:hidden;

  transition:
    opacity .5s ease,
    visibility .5s ease;

  display:flex;
  justify-content:center;
  align-items:center;
  z-index: 9999;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  text-align: center;
}

.overlay-logo {
  width:65%;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

ul.nav-links li{
  
  font-family:var(--font-title);
  font-weight:700;
}

ul.nav-links li a{
  font-size:1.6rem;
  color:#000;
}


.btnContact{
  font-size:1.6rem;
  font-family:var(--font-title);
  font-weight:700;
}

.btnContact a{
  padding:8px 25px;
  background:#b90000;
  color:#fff;
}



/* ====================================================
   footer
==================================================== */
#footer{
  margin-top: 100px;
  padding: 60px 0;
  width: 100%;
  background: #fff;
}

.footerInner{
  width:90%;
  margin: 0 auto;
}

/* -----------------------
   ロゴ・住所等
----------------------- */
.footerInfo{
  margin-bottom: 20px;
}

.footerInfo h2{
  width: 180px;
  margin: 0 auto 20px;
}

.footerInfo p{
  font-size: 1.5rem;
  text-align: center;
  }

/* -----------------------
   フッターメニュー
----------------------- */

.footerMenu{
  margin-bottom: 30px;
}

.footerMenu ul{
  border-top: 1px solid #ccc;
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.footerMenu ul li{
  text-align: center;
  border-bottom: 1px solid #ccc;
  padding: 15px 0;
}

.footerMenu p{
  font-size: 1.8rem;
  width: 100%;
}

.footerMenu p a{
  padding: 10px 0;
  background: #ac0000;
  color: #fff;
  width: 100%;
  display: block;
  text-align: center;
}

.footerRight .copy{
  font-size: 1.2rem;
  text-align: center;
}

/* ==============================================================================
   Tablet（768px〜）
============================================================================== */
@media screen and (min-width:768px){

.overlay-content{
  min-height: 100vh;
  justify-content: center;
}

.overlay-logo {
  width:30%;
}

/* ====================================================
   header
==================================================== */

#header{
  padding:25px 0;
  height: auto;
  align-items:center;
}

#header h1{
  width:245px;
  align-items:center;
}

.headerLogo{
  width:auto;
  flex-direction:row;
  align-items:center;
  gap:20px;
}

#headerInner{
  padding-top:0;
}

.hamburger {
  display: block;
}

.nav-overlay{
  display: block;
}

.pcNav{
  display: none;
}

/* ====================================================
   footer
==================================================== */
#footer{
  margin-top: 120px;
  padding: 50px 0;
}

.footerInner{
  width: 90%;
  margin: 0 auto;
}

/* -----------------------
   ロゴ・住所等
----------------------- */
.footerInfo{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;

  width: 100%;
  margin: 0 0 30px;
}

.footerInfo h2{
  width: 300px;
  margin: 0;
}

.footerInfo p{
  text-align: left;
  }

/* -----------------------
   フッターメニュー
----------------------- */
.footerRight{
  
}

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

.footerMenu ul{
  display: flex;
  border-top: none;
  font-size: 1.8rem;
  margin-bottom: 0;
}

.footerMenu ul li{
  margin-right: 30px;
  padding: 0;
  text-align: left;
  border-bottom: none;
}

.footerMenu p{
  font-size: 1.8rem;
  width: auto;
}

.footerMenu p a{
  padding: 5px 20px;
  background: #ac0000;
  color: #fff;
  box-sizing: border-box;
}

.footerRight .copy{
  font-size: 1.6rem;
  text-align: center;
}


}

/* ==============================================================================
   PC（1200px〜）
============================================================================== */
@media screen and (min-width:1200px){

#logo{
  max-width:50vw;
}

.productLoopGroup img {
  height: 250px;
}

/* ====================================================
   header
==================================================== */

.hamburger {
  display: none;
}

.nav-overlay{
  display: none;
}

.pcNav{
  display: block;
}

.pcNavInner{
  display: flex;
  align-items: center;
}

.pcNavInner ul{
  display:flex;
  flex-direction: row;
  gap: 0;
}

.pcNavInner ul li{
  font-size:1.4rem;
  margin-right:20px;
  font-family:var(--font-title);
  font-weight:700;
}

.pcNavInner ul li a{
  color:#000;
  transition:.3s;
}

.pcNavInner .btnContact{
  font-size:1.4rem;
  font-family:var(--font-title);
  font-weight:900;
}

.pcNavInner .btnContact a{
  padding:5px 20px;
  background:#ac0000;
  color:#fff;
}

/* ====================================================
   footer
==================================================== */
#footer{
  margin-top: 180px;
  padding: 60px 0;
}

.footerInner{
  display: flex;
  justify-content: space-between;
  align-items: end;
}


/* -----------------------
   ロゴ・住所等
----------------------- */
.footerInfo{
  display: block;
  align-items: normal;
  margin: 0;
  width: auto;
}

.footerInfo h2{
  margin-bottom: 10px;
}

/* -----------------------
   フッターメニュー
----------------------- */
.footerRight{
  
}

.footerMenu{
  margin-bottom: 30px;
}

.footerMenu ul{
  flex-direction: row;
  gap: 0;
}

.footerRight .copy{
  text-align: right;
}



}