/* =====================================================
   RCX SALES - Main Stylesheet
   ===================================================== */

   /* ----- CSS Variables ----- */
   :root {
    --orange: #F15A24;
    --orange-light: #FF5A1F;
    --orange-dark: #C43500;
    --black: #1A1A1A;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray: #E0E0E0;
    --gray-mid: #999999;
    --beige: #FFF7E6;
    --font-en: 'Barlow Condensed', 'Barlow', sans-serif;
    --font-ja: 'Noto Sans JP', sans-serif;
    --max-width: 1200px;
    --header-h: 70px;
  }

  /* ----- Reset & Base ----- */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--font-ja);
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
    font-size: 15px;
  }
  img { max-width: 100%; height: auto; display: block; }
  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  button { cursor: pointer; border: none; background: none; font-family: inherit; }

  /* ----- Container ----- */
  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
  }

  /* ----- Common ----- */
  .section-label {
    font-family: "Special Gothic", sans-serif;
    font-size: 18px;
    color: var(--orange);
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    display: block;
  }
  .section-title-orange {
    font-family: "KoHo", sans-serif;
    font-size: 64px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 10px;
    text-transform: uppercase;
  }
  .section-title-black {
    font-family: var(--font-en);
    font-size: 64px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  .section-title-white {
    font-family: var(--font-en);
    font-size: 38px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  .body-text {
    font-size: 24px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
  }
  .body-text-white {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
  }
  .white-label { color: rgba(255,255,255,0.7); }

/* =====================================================
   HEADER
   ===================================================== */
   #header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray);
    height: 120px;
    transition: box-shadow 0.3s;
  }
  #header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12); }
  .header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
  .logo-icon {  object-fit: contain; }
  .logo-text-wrap { display: flex; flex-direction: column; line-height: 1; }
  .logo-rcx {
    font-family: var(--font-en);
    font-size: 22px;
    font-weight: 900;
    color: var(--orange);
    letter-spacing: 0.05em;
  }
  .logo-sales {
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.15em;
  }
  .header-nav { flex: 1; overflow: hidden; }
  .header-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
        justify-content: end;
  }
  .header-nav a {
    font-family: var(--font-en);
    font-size: 16px;
    color: #7D6A50;
    letter-spacing: 0.04em;
    padding: 4px 40px 4px 0px;
    transition: color 0.2s;
    white-space: nowrap;
        font-family: "Special Gothic", sans-serif;
  }
  .header-nav a:hover { color: var(--orange); }
  .btn-header-cta {
flex-shrink: 0;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-ja);
  font-size: 12px;
  padding: 5px 18px;
  white-space: nowrap;
  transition: background 0.2s;
  width: 145px;
  text-align: center;
  border-radius: 50px;
  font-size: 18px;
  letter-spacing: 0.1rem;
  }
  .btn-header-cta:hover { background: var(--orange-dark); }
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    flex-shrink: 0;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: 0.3s;
  }
  .menu-close,
  .menu-contact,
  .menu-logo,
  .menu-overlay { display: none; }

/* =====================================================
   FV
   ===================================================== */
   #fv{
    padding-top: 120px;
    max-width: 1300px;
    margin: auto;
  }
  .fv-swiper {
    width: 100%;
    overflow: hidden;
  }
  .fv-swiper .swiper-slide {
    width: 100%;
  }
  .fv-bg-img {
    width: 100%;
    height: auto;
    display: block;
  }
  .fv-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
  }
  .fv-swiper .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
  }

/* =====================================================
   NEWS
   ===================================================== */
   .news-section {
    padding: 60px 0 50px;
    background: #F0F0F0;
  }
  .news-container{
    padding:0 60px;
  }
  .section-header-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
  }
  .link-more {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
    letter-spacing: 0.05em;
    transition: color 0.2s;
  }
  .link-more:hover { color: var(--orange); }
  .news-list {
    background-color: #fff;
    display: flex;
    flex-direction: column; 
    padding: 60px 40px;
  }
  .news-item {
    padding: 18px 0;
  }
  .news-item:first-child {
    border-bottom: 1px solid var(--gray);
  }
  .news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
  }
  .news-date {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--gray-mid);
    letter-spacing: 0.05em;
  }
  .news-tag {
    font-size: 11px;
    background: var(--orange);
    color: var(--white);
    padding: 2px 8px;
    font-weight: 700;
  }
  .news-text { font-size: 14px; color: #333; line-height: 1.6; }

/* =====================================================
   MISSION
   ===================================================== */
   .mission-section{
    padding: 60px 100px;
  }

/* =====================================================
   VISION
   ===================================================== */


   #danger {
    padding: 60px 100px;
    margin: auto;
  }

/* =====================================================
   OUR PRODUCTS
   ===================================================== */
   .products-section {
    padding: 80px 0;
    background: var(--beige);
  }
  .products-title{
    font-size: 24px;
    color: #595757;
    font-weight: 500;
    margin-bottom: 20px;
  }
  .products-lead {
    font-size: 14px;
    color: #595757;
    margin-bottom: 48px;
    line-height: 2.5;
    font-weight: 500;
  }

  .products-swiper {
    overflow: hidden;
    padding-bottom: 50px;
  }
  .products-swiper .swiper-slide {
    height: auto;
  }
  .products-pagination.swiper-pagination-bullets {
    bottom: 0;
  }
  .products-pagination .swiper-pagination-bullet {
    background: #595757;
    opacity: 0.3;
  }
  .products-pagination .swiper-pagination-bullet-active {
    background: var(--orange);
    opacity: 1;
  }
  .product-card {
    background: var(--white);
    max-width: 400px;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
  }
  .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  }
  .product-body{
    padding: 0 20px 40px;
  }
  .product-name{
    color: #595757;
    font-size: 24px;
  }
  .product-img-area{
    height: 330px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .product-img-area img{
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }
  .swiper-slide:nth-child(2) .product-img-area img{
    width: 220px;
  }
  .product-num{
    color: var(--orange);
    font-family: koto;
    font-weight: bold;
    font-size: 62px;
    position: relative;
    width: 100%;
    display: block;
    text-align: right;
    margin-top: -60px;
  }
  .product-num:after{
    display: inline-block;
    content: "";
    height: 10px;
    background-color: #fff;
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
  }
  .product-desc{
    border-top: 1px solid #595757;
    color: #595757;
    font-size: 18px;
    position: relative;
    top: -20px;
  }
  .btn-product-main{
    border-radius: 58px;
    background-color: #F15A24;
    color: #fff;
    display: block;
    font-size: 20px;
    max-width: 350px;
    height: 58px;
    line-height: 58px;
    text-align: center;
  }
  .btn-product-sub {
    border: 3px solid;
    border-radius: 58px;
    background-color: #fff;
    color: #F15A24;
    display: block;
    font-size: 18px;
    margin-top: 20px;
    max-width: 350px;
    height: 58px;
    line-height: 58px;
    text-align: center;
  }

  .certification-section {
    padding: 0px 0 180px;

  }
/* =====================================================
   COMPANY
   ===================================================== */
   .company-section {
    padding: 60px 100px;
    margin: auto;
  }


/* =====================================================
   CONTACT
   ===================================================== */
   .contact-section {
    padding: 80px 0;
  }
  .contact-img{
    max-width: 800px;
        width: 100%;
  }
  .contact-sub { font-size: 13px; color: var(--gray-mid); margin-bottom: 40px; }
  .contact-form { max-width: 800px; }
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
  }
  .form-group { margin-bottom: 20px; }
  .form-group label {
    display: block;
    font-size: 13px; font-weight: 700;
    color: var(--black); margin-bottom: 8px;
  }
  .required {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    font-size: 10px; font-weight: 700;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
  }
  .optional {
    display: inline-block;
    background: var(--gray);
    color: var(--gray-mid);
    font-size: 10px; font-weight: 700;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: middle;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #CCC;
    background: var(--white);
    font-family: var(--font-ja);
    font-size: 14px; color: var(--black);
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { border-color: var(--orange); }
  .form-group textarea { resize: vertical; }
  .privacy-box {
    background: var(--white);
    border: 1px solid var(--gray);
    padding: 16px;
    margin-bottom: 12px;
    max-height: 100px;
    overflow-y: auto;
  }
  .privacy-box p { font-size: 12px; color: #666; line-height: 1.7; }
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400 !important;
  }
  .checkbox-label input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--orange);
    flex-shrink: 0;
  }
  .form-submit-row { margin-top: 32px; }
  .btn-submit {
    background: var(--orange);
    color: var(--white);
    font-family: var(--font-ja);
    font-size: 16px; font-weight: 700;
    padding: 16px 64px;
    cursor: pointer;
    transition: background 0.2s;
    border: none;
  }
  .btn-submit:hover { background: var(--orange-dark); }

/* =====================================================
   FOOTER
   ===================================================== */
   .footer { background: var(--orange); }
   .footer-inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .footer-left { flex: 0 0 220px; }
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }
  .footer-logo-icon {
    width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
  }
  .footer-logo-text { display: flex; flex-direction: column; line-height: 1; }
  .footer-rcx {
    font-family: var(--font-en);
    font-size: 26px; font-weight: 900;
    color: var(--white); letter-spacing: 0.05em;
  }
  .footer-sales {
    font-family: var(--font-en);
    font-size: 12px; font-weight: 700;
    color: rgba(255,255,255,0.8); letter-spacing: 0.2em;
  }
  .footer-address { font-size: 12px; color: rgba(255,255,255,0.8); line-height: 1.7; }
  .footer-nav {
    flex: 1;
    display: flex;
    gap: 40px;
  }
  .footer-nav-col h4 {
    font-family: var(--font-en);
    font-size: 13px; font-weight: 700;
    color: var(--white); letter-spacing: 0.1em;
    margin-bottom: 14px;
    padding-bottom: 8px;
  }
  .footer-nav-col ul { display: flex; flex-direction: column; gap: 8px; }
  .footer-nav-col a {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s;
  }
  .footer-nav-col a:hover { color: var(--white); }
  .footer-nav-col--inline ul { flex-direction: row; gap: 20px; }
  .footer-sns {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .sns-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px; font-weight: 700;
    transition: background 0.2s;
    border-radius: 2px;
  }
  .sns-btn:hover { background: rgba(255,255,255,0.4); }
  .footer-copy-bar {
    background: rgba(0,0,0,0.2);
    text-align: center;
    padding: 12px;
  }
  .footer-copy-bar p {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.05em;
  }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
   .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
        .sp {
          display: none;
        }
/* =====================================================
   RESPONSIVE
   ===================================================== */
   @media (max-width: 1024px) {
    .header-nav {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0;
      right: -75%;
      width: 75%;
      height: 100vh;
      background: rgba(255, 255, 255, 0.95);
      padding: 60px 40px 40px;
      z-index: 1001;
      transition: right 0.3s ease;
      border-radius: 20px 0 0 0;
    }
    .header-nav.open {
      right: 0;
    }
    .menu-close {
      display: block;
      position: absolute;
      top: 20px;
      right: 20px;
      background: none;
      border: none;
      font-size: 32px;
      color: #595757;
      cursor: pointer;
      line-height: 1;
      z-index: 1;
    }
    .header-nav ul {
      flex-direction: column;
      gap: 0;
    }
    .header-nav a {
      display: block;
      padding: 14px 0;
      font-size: 18px;
      color: #595757;
      font-weight: 500;
      letter-spacing: 0.08em;
    }
    .menu-contact {
      display: inline-block;
      background: var(--orange);
      color: #fff;
      text-align: center;
      padding: 14px 40px;
      border-radius: 50px;
      font-size: 16px;
      font-weight: 600;
      letter-spacing: 0.1em;
      margin-top: 24px;
      max-width: 200px;
    }
    .menu-logo {
      display: block;
      width: 100px;
      margin-top: auto;
      margin-left: auto;
      margin-right: auto;
    }
    .menu-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      z-index: 1000;
    }
    .menu-overlay.active {
      display: block;
    }
    .hamburger { display: flex; }
    .fv-stopping { font-size: 52px; }
    .fv-fires { font-size: 72px; }
    .cert-cards { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { flex-wrap: wrap; }
  }
  @media (max-width: 768px) {
    .sp{
      display: block;
    }
    .pc{
      display: none;
    }
    .container { padding: 0 20px; }
    .fv-stopping { font-size: 38px; }
    .fv-fires { font-size: 54px; }
    .fv-battery-box { font-size: 14px; }
    .fv-product-img { width: 150px; }
    .mission-inner, .vision-inner, .philosophy-inner,
    .rcx-inner, .technology-inner, .use-cases-inner { flex-direction: column; }
    .mission-text, .vision-text, .philosophy-text,
    .rcx-left, .technology-left, .use-cases-left { flex: none; width: 100%; }
    .products-swiper {
      overflow: visible;
      padding-bottom: 0;
    }
    .products-swiper .swiper-wrapper {
      flex-direction: column;
      gap: 24px;
    }
    .products-swiper .swiper-slide {
      width: 100% !important;
    }
    .products-swiper .swiper-pagination {
      display: none;
    }
    .product-card {
      max-width: 100%;
    }
    .cert-cards { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-nav { flex-wrap: wrap; gap: 24px; }
    .social-issues-content { padding: 24px; }
    .section-title-orange, .section-title-black, .section-title-white { font-size: 28px; }
    .company-table { font-size: 12px; }
    .company-table th { width: 80px; }
.mission-section {
  padding: 60px 0px 0;
}
.philosophy-section{
      margin-top: -210px;
}
#danger {
        padding: 60px 40px 0;
          margin: auto;
          margin-bottom: -50px;
          position: relative;
}
.company-section{
  padding: 60px 40px;
}
.btn-header-cta{
  display: none;
}
.hamburger {
  margin-left: auto;
}
     #header {
      height: 75px;
      border-bottom: none;
     }
     .header-inner {
      padding: 0 16px;
     }
         .logo-icon{
          width: 50px;
         }
                 .news-list{
                  padding: 20px;
                 }
        .news-container{
          padding: 0 20px;
        }
 .footer-logo-icon{
  margin: 40px 0 0 auto;
  width: 100px;
 }
 .footer-inner {
  flex-direction: column;
 }
 .footer-left {
  display: contents;
 }
 .footer-logo {
  order: -1;
 }
 .footer-address {
  order: 99;
  text-align: center;
  margin-top: 20px;
 }
 #fv{
      padding-top: 70px;
 }
      }