/* ===== 会社説明 ===== */
.company-visual {
  width: 100%;
  margin-top: 82px; 
  position: relative;
}

@media (max-width: 882px) {
  .company-visual {
    margin-top: 71px;
  }
}

.company-visual img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.companySwiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.companySwiper .swiper-slide {
  position: relative;
  overflow: hidden;
}

.img-text {
  position: relative;
  width: 100%;
  display: block;
}

.img-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  z-index: 1;
}

.text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(0, -50%);
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  z-index: 2;
}

.companySwiper .swiper-slide .text > * {
  opacity: 0;
  transform: translate3d(15px, 0, 0);
  transition:
    opacity 3s cubic-bezier(.22,1,.36,1),
    transform 3s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}

.companySwiper .swiper-slide-active .text > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.companySwiper .swiper-slide.is-out .text > * {
  opacity: 0;
  transform: translate3d(15px, 0, 0);
}

.top {
  font-size: clamp(16px, 2vw, 20px);
  font-weight:400;
  margin: 10px;
}

.text h1 {
  font-size: clamp(28px, 8.5vw, 45px);
  font-weight:600;
  margin: 5px;
}

.end {
  font-size: clamp(16px, 2vw, 18px);
  font-weight:400;
  padding-right: 25px;
}

.sp-br1 {
  display: none;
}

@media (max-width: 641px) {
  .sp-br1 {
    display: inline;
  }
}

/* 左右ボタン */
.company-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 20px;
  height: 140px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 0;
}

.company-prev {
  left: 0;
}

.company-next {
  right: 0;
}

.company-prev::before,
.company-next::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 140px;
  background: rgba(255,255,255,0.35);
  transform: translate(-50%, -50%);
}

.company-prev::after,
.company-next::after {
  position: absolute;
  left: 50%;
  top: 50%;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
}

.company-prev::after {
  content: "PREV";
  transform: translate(-50%, -50%) rotate(-90deg);
}

.company-next::after {
  content: "NEXT";
  transform: translate(-50%, -50%) rotate(90deg);
}

/* ページネーション */
.companySwiper .swiper-pagination {
  bottom: 18px !important;
}

.companySwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  opacity: 1;
}

.companySwiper .swiper-pagination-bullet-active {
  background: #fff;
}


/* ===== hero周辺 ===== */

.hero {
  background: #FFFFFF;
  padding-top : 10px;
  padding-bottom : 100px;
}

.hero-swiper {
  overflow: hidden;
}

.hero-swiper .swiper-slide {
  width: min(375px, calc(100% - 5px));
  min-width: 300px;
  flex-shrink: 0;
  opacity: 0.45;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (max-width: 470px) {
  .hero-swiper .swiper-slide {
    width: min(375px, calc(100% - 180px));
    min-width: 280px;
  }
}

.hero-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.hero-swiper .swiper-slide-prev,
.hero-swiper .swiper-slide-next {
  opacity: 0.2;
}

.square-banner {
  display: block;
  aspect-ratio: 1/ 1;
  border-radius: 12px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .square-banner {
    border-radius: 0;
  }
}

.square-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ナビ */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-nav {
    width: 30px;
    height: 100px;
    background: none;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
  }
}

.hero-prev {
  left: 5px;
}

.hero-next {
  right: 5px;
}


/* ドット */
.hero-dots.swiper-pagination {
  position: static;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-dots .swiper-pagination-bullet {
  width: 24px;
  height: 7px;
  border-radius: 999px;
  background: rgba(0,0,0,0.2);
  opacity: 1;
  margin: 0 !important;
  transition: all 0.4s ease;
}

.hero-dots .swiper-pagination-bullet-active {
  width: 60px;
  background: #111;
}


@media (max-width: 768px) {
.hero-dots .swiper-pagination-bullet {
  width: 15px;
  height: 5px;
}

.hero-dots .swiper-pagination-bullet-active {
  width: 35px;
}
}


/* ===== 商品を見るボタン ===== */

.btn-top {
  align-items: center;
  text-align: center;
  margin-top: -75px;
}

.btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 1rem;
  color: #fff !important;
  width: 200px;
  background-image: url("/images/a.jpg");
  background-repeat: repeat-x;
  background-size: auto 83.55px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

@media (max-width: 500px) {
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    width: 100px;
  }
}

.btn:hover {
  background-color: #0017ad;
  background-image: url("/images/a.jpg");
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.btn--shine {
  position: relative;
  overflow: hidden;
}
.btn--shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
}
.btn--shine:hover::before {
  left: 125%;
  transition: left 0.8s ease;
}



/* ===== トップカード ===== */

.container-top-card {
   padding: 0 0.5rem;
}

.top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 330px);
  justify-content: center;
  gap: 1rem;
}


.top-card {
  background:#fff;
  padding:0.8rem;
  border-radius:12px;
  box-shadow:0 3px 12px rgba(0,0,0,.04);
  transition:all .3s ease;
  display:flex;
  flex-direction:column;
  gap: 0;
  height:350px;
  width:300px;
  margin: 0;
}

.top-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 0;
}


.top-card p {
  margin-top: 0;
}

@media (max-width: 706px) {

  .top-card p {
    font-size: 0.9rem;
  }


  .top-grid {
    grid-template-columns: repeat(auto-fill, 270px);
  }

  .top-card {
    height:325px;
    width:250px;
  }

}

@media (max-width: 586px) {


  .top-card h3 {
    font-size: 0.9rem;
  }

  .top-card p {
    font-size: 0.8rem;
  }


  .top-grid {
    grid-template-columns: repeat(auto-fill, 220px);
  }

  .top-card {
    height:280px;
    width:200px;
  }

  .top-card img {
    padding-top:10px;
  }

}

@media (max-width: 486px) {


  .top-card h3 {
    font-size: 0.9rem;
  }

  .top-card p {
    font-size: 0.65rem;
  }


  .top-grid {
    grid-template-columns: repeat(auto-fill, 185px);
  }

  .top-card {
    height:240px;
    width:165px;
  }

  .top-card img {
    padding-top:15px;
  }

}

@media (max-width: 418px) {

  .top-card h3 {
    font-size: 0.85rem;
  }

  .top-card p {
    display: none; 
  }

  .top-grid {
    grid-template-columns: repeat(auto-fill, 160px);
  }

  .top-card {
    height:180px;
    width:140px;
  }

  .top-card img {
    padding-top:20px;
  }

}

@media (max-width: 366px) {

  .top-card h3 {
    font-size: 0.75rem;
  }

  .top-grid {
    grid-template-columns: repeat(auto-fill, 150px);
  }

  .top-card {
    height:170px;
    width:130px;
  }

}



@media (max-width: 346px) {

  .top-card h3 {
    font-size: 0.7rem;
  }

  .top-grid {
    grid-template-columns: repeat(auto-fill, 140px);
  }

  .top-card {
    height:160px;
    width:120px;
  }

}


.top-card:hover {
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  transform:translateY(-3px);
}

/* ===== カタログ ===== */

#catalog .container{
  display: grid;
  grid-template-columns: repeat(3, 260px);
  gap: 40px;
  margin-top: 40px;
  justify-content: start;
}


.catalog-item{
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform .3s ease, opacity .3s ease;
}

.catalog-item:hover{
  transform: translateY(-4px);
}

.catalog-item.is-disabled:hover{
  transform: none;
}

.catalog{
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto 14px;
}

.catalog-item h3{
  margin: 0;
  font-size: 1.2rem;
}

@media (max-width: 885px){
  #catalog .container{
  grid-template-columns: repeat(2, 260px);
  }
}

@media (max-width: 605px){
  #catalog .container{
    grid-template-columns: 1fr;
    gap: 40px; 
  }
}

@import "https://use.fontawesome.com/releases/v5.13.0/css/all.css";



/* Amazonストア案内 */
.amazon-store a {
  text-decoration: none;
}


/* ===== Professional refresh: top page ===== */

body.home {
  --top-ink: #152033;
  --top-muted: #5c6a7d;
  --top-line: rgba(21, 32, 51, 0.12);
  --top-navy: #071c44;
  --top-blue: #0d3b91;
  --top-accent: #f3bd3a;
  --top-surface: #ffffff;
  --top-soft: #f4f7fb;
  background: var(--top-soft);
  background-image: none;
  color: var(--top-ink);
  overflow-x: hidden;
}

body.home .site-header {
  background: transparent !important;
  background-image: none !important;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition:
    transform 0.3s ease,
    background 0.22s ease,
    background-image 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    backdrop-filter 0.22s ease;
}

body.home .site-header.is-scrolled {
  background: #07142e !important;
  background-image: linear-gradient(135deg, #07142e, #09245a) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 42px rgba(5, 22, 55, 0.2);
  backdrop-filter: blur(16px);
}

body.home .header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  min-height: 72px;
  padding: 0.72rem clamp(18px, 3vw, 34px);
}

body.home .logo img {
  width: clamp(150px, 15vw, 188px);
  height: auto;
  display: block;
}

body.home .site-header:not(.is-scrolled) .logo img {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.36));
}

body.home .nav-desktop {
  position: relative;
  margin-left: auto;
  gap: clamp(18px, 2.2vw, 34px);
  font-size: 0.96rem;
  font-weight: 700;
  flex-wrap: nowrap;
  white-space: nowrap;
}

body.home .nav-desktop a {
  opacity: 0.92;
}

body.home .site-header:not(.is-scrolled) .nav-desktop a {
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.36),
    0 1px 2px rgba(0, 0, 0, 0.3);
}

body.home .nav-desktop a::after {
  height: 3px;
  border-radius: 999px;
  background: var(--top-accent);
}

body.home .nav-desktop a:hover,
body.home .nav-desktop a.active {
  opacity: 1;
}

body.home .menu-toggle span {
  width: 30px;
  height: 2px;
  border-radius: 999px;
}

body.home .site-header:not(.is-scrolled) .menu-toggle span {
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.36);
}

body.home .company-visual {
  min-height: clamp(560px, 64vw, 680px);
  margin-top: 0;
  background: var(--top-navy);
  overflow: hidden;
}

body.home .company-visual::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(112px, 14vw, 180px);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.66) 0%,
    rgba(0, 0, 0, 0.34) 50%,
    rgba(3, 12, 30, 0) 100%
  );
  pointer-events: none;
}

body.home .companySwiper,
body.home .companySwiper .swiper-wrapper,
body.home .companySwiper .swiper-slide,
body.home .img-text {
  min-height: inherit;
}

body.home .companySwiper .swiper-wrapper,
body.home .hero-swiper .swiper-wrapper {
  display: flex;
}

body.home .companySwiper .swiper-slide {
  flex: 0 0 100%;
}

body.home .company-visual img {
  height: clamp(560px, 64vw, 680px);
  min-height: inherit;
  object-position: center center;
  filter: saturate(0.96) contrast(1.04);
  transform: scale(1.02);
}

body.home .companySwiper .company-slide-history img {
  object-position: 72% center;
}

body.home .img-text::before {
  background:
    linear-gradient(90deg, rgba(5, 16, 38, 0.7) 0%, rgba(5, 16, 38, 0.46) 38%, rgba(5, 16, 38, 0.12) 72%),
    linear-gradient(0deg, rgba(5, 16, 38, 0.12), transparent 42%);
}

body.home .companySwiper .company-slide-history .img-text::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(2, 8, 20, 0.54) 36%, rgba(5, 16, 38, 0.14) 68%),
    linear-gradient(0deg, rgba(5, 16, 38, 0.12), transparent 42%);
}

body.home .text {
  top: calc(50% + var(--hero-scroll-shift, 0px));
  left: clamp(22px, calc(20.52vw - 80.8px), 16.667vw);
  width: min(820px, calc(100% - 44px));
  text-shadow: none;
}

@media (min-width: 2100px) {
  body.home .text {
    left: 16.667vw;
  }
}

body.home .companySwiper .swiper-slide:first-child .text > *,
body.home .companySwiper .swiper-slide-active .text > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.home .top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

body.home .top::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--top-accent);
  box-shadow: 0 0 0 5px rgba(243, 189, 58, 0.18);
}

body.home .text h1 {
  margin: 0;
  max-width: 780px;
  color: #fff;
  font-size: clamp(2.6rem, 4.6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

body.home .end {
  max-width: 760px;
  margin: 24px 0 0;
  padding-right: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.95;
  word-break: keep-all;
  overflow-wrap: normal;
}

body.home .company-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 34px;
}

body.home .company-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

body.home .company-actions a:first-child {
  background: var(--top-accent);
  color: #111827;
  box-shadow: 0 18px 38px rgba(243, 189, 58, 0.28);
}

body.home .company-actions a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.home .company-actions a:hover {
  transform: translateY(-2px);
}

body.home .company-nav {
  height: 170px;
}

body.home .company-prev {
  left: 0;
}

body.home .company-next {
  right: 0;
}

body.home .company-prev::before,
body.home .company-next::before {
  background: rgba(255, 255, 255, 0.28);
}

body.home .company-prev::after,
body.home .company-next::after {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

body.home .companySwiper .swiper-pagination {
  bottom: 30px !important;
}

body.home .companySwiper .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

body.home .companySwiper .swiper-pagination-bullet-active {
  width: 58px;
  background: var(--top-accent);
}

body.home .hero {
  position: relative;
  z-index: 2;
  margin-top: -74px;
  padding: 0 0 clamp(68px, 8vw, 104px);
  background:
    linear-gradient(180deg, transparent 0 74px, var(--top-soft) 74px 100%);
}

body.home .hero-swiper {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 58px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 30px 80px rgba(15, 31, 58, 0.16);
  backdrop-filter: blur(18px);
}

body.home .hero-swiper .swiper-slide {
  width: min(390px, calc(100vw - 64px));
  min-width: 280px;
  opacity: 0.34;
  transform: scale(0.88);
}

body.home .hero-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

body.home .hero-swiper:not(.swiper-initialized) .swiper-slide:first-child {
  opacity: 1;
  transform: scale(1);
}

body.home .hero-swiper .swiper-slide-prev,
body.home .hero-swiper .swiper-slide-next {
  opacity: 0.5;
}

body.home .square-banner {
  border-radius: 18px;
  border: 1px solid rgba(21, 32, 51, 0.1);
  background: #fff;
  box-shadow: 0 22px 48px rgba(21, 32, 51, 0.13);
}

body.home .square-banner img {
  transition: transform 0.5s ease;
}

body.home .square-banner:hover img {
  transform: scale(1.025);
}

body.home .hero-nav {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(21, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.5);
  color: var(--top-blue);
  box-shadow: 0 14px 30px rgba(21, 32, 51, 0.16);
}


body.home .hero-dots.swiper-pagination {
  margin-top: 26px;
}

body.home .hero-dots .swiper-pagination-bullet {
  background: rgba(13, 59, 145, 0.2);
}

body.home .hero-dots .swiper-pagination-bullet-active {
  background: var(--top-blue);
}

body.home .btn-top {
  margin-top: -44px;
  position: relative;
  z-index: 3;
}

body.home .btn {
  width: auto;
  min-width: 210px;
  padding: 0.86rem 2.3rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--top-blue), #071c44);
  background-image: linear-gradient(135deg, var(--top-blue), #071c44);
  box-shadow: 0 16px 32px rgba(7, 28, 68, 0.22);
}

body.home .section {
  padding: clamp(58px, 8vw, 98px) 0;
  background: var(--top-soft);
}

body.home .container {
  max-width: 1160px;
  text-align: left;
}

body.home .sec-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 34px;
  color: var(--top-ink);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  letter-spacing: 0;
}

body.home .sec-title::before {
  content: "";
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: var(--top-accent);
}

body.home .top-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.home .top-card {
  width: auto;
  height: auto;
  min-height: 392px;
  padding: 16px;
  border: 1px solid var(--top-line);
  border-radius: 12px;
  background: var(--top-surface);
  box-shadow: 0 18px 46px rgba(21, 32, 51, 0.08);
  gap: 12px;
}

body.home .top-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  padding: 0;
  margin: 0;
  border-radius: 8px;
  object-fit: cover;
  background: #eef2f7;
}

body.home .top-card h3 {
  margin: 2px 0 0;
  color: var(--top-ink);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.45;
}

body.home .top-card p {
  margin: 0;
  color: var(--top-muted);
  font-size: 0.94rem;
  line-height: 1.8;
}

body.home .top-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(21, 32, 51, 0.13);
}

body.home #catalog {
  padding-top: 0;
}

body.home #catalog .container {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 320px));
  justify-content: center;
  gap: 28px;
  margin-top: 0;
  text-align: center;
}

body.home .catalog-item {
  padding: 24px 20px;
  border: 1px solid var(--top-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(21, 32, 51, 0.07);
}

body.home .catalog {
  max-width: 210px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(21, 32, 51, 0.1);
}

body.home .catalog-item h3 {
  color: var(--top-ink);
  font-size: 1.05rem;
  font-weight: 800;
}

body.home .site-footer {
  background: #07142e;
  background-image: linear-gradient(135deg, #07142e, #09245a);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

body.home .footer-main {
  padding-top: 42px;
}

body.home .footer-copy {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 882px) {
  body.home .company-visual {
    margin-top: 0;
  }

  body.home .header-inner {
    min-height: 72px;
  }

  body.home .company-prev {
    left: 0;
  }

  body.home .company-next {
    right: 0;
  }

  body.home .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .top-card {
    min-height: 350px;
  }
}

@media (max-width: 640px) {
  body.home .company-visual,
  body.home .company-visual img {
    min-height: 580px;
    height: 580px;
  }

  body.home .companySwiper .company-slide-history img {
    object-position: 80% center;
  }

  body.home .text {
    top: calc(50% + 20px + var(--hero-scroll-shift, 0px));
  }

  body.home .img-text::before {
    background:
      linear-gradient(90deg, rgba(5, 16, 38, 0.7), rgba(5, 16, 38, 0.38)),
      linear-gradient(0deg, rgba(5, 16, 38, 0.1), transparent 38%);
  }

  body.home .companySwiper .company-slide-history .img-text::before {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.8), rgba(2, 8, 20, 0.48) 48%, rgba(5, 16, 38, 0.12) 78%),
      linear-gradient(0deg, rgba(5, 16, 38, 0.1), transparent 38%);
  }

  body.home .text h1 {
    font-size: clamp(2.05rem, 10.2vw, 2.95rem);
    line-height: 1.14;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  body.home .end {
    max-width: min(100%, 520px);
    font-size: 0.96rem;
    line-height: 1.9;
  }

  body.home .company-actions {
    width: min(100%, 350px);
    margin: 24px auto 0;
  }

  body.home .company-actions a {
    width: 100%;
  }

  body.home .hero {
    margin-top: -54px;
    background: linear-gradient(180deg, transparent 0 54px, var(--top-soft) 54px 100%);
  }

  body.home .hero-swiper {
    width: calc(100% - 24px);
    padding: 14px 0 44px;
    border-radius: 16px;
  }

  body.home .hero-swiper .swiper-slide {
    width: min(330px, calc(100vw - 54px));
    min-width: 260px;
  }

  body.home .hero-nav {
    width: 36px;
    height: 72px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
  }

  body.home .btn-top {
    margin-top: -32px;
  }

  body.home .btn {
    min-width: 180px;
  }

  body.home .container {
    padding: 0 18px;
  }

  body.home .top-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.home .top-card {
    min-height: 0;
  }

  body.home .top-card p {
    display: block;
    font-size: 0.9rem;
  }

  body.home #catalog .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  body.home .text {
    left: 22px;
  }
}

@media (max-width: 420px) {
  body.home .logo img {
    width: 150px;
  }

  body.home .company-visual,
  body.home .company-visual img {
    min-height: 580px;
    height: 580px;
  }

  body.home .text {
    width: calc(100% - 38px);
  }

  body.home .top {
    font-size: 0.74rem;
  }

  body.home .text h1 {
    font-size: clamp(1.82rem, 9.4vw, 2.22rem);
    line-height: 1.16;
  }

  body.home .company-nav {
    display: none;
  }
}


/* ===== Catalog section: homepage CTA ===== */

body.home .catalog-section {
  position: relative;
  padding: clamp(46px, 6vw, 76px) 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(13, 42, 92, 0.92), rgba(25, 86, 174, 0.84)),
    url("/images/home/home.jpg") center / cover;
  color: #fff;
}

body.home .catalog-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 27, 62, 0.72), rgba(14, 55, 128, 0.34)),
    radial-gradient(circle at 76% 18%, rgba(243, 189, 58, 0.2), transparent 32%);
  pointer-events: none;
}

body.home .catalog-layout {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(24px, 4vw, 34px) !important;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto !important;
  text-align: left !important;
}

body.home .catalog-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--top-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.home .catalog-kicker::before {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--top-accent);
}

body.home .catalog-heading {
  margin: 0;
  max-width: 760px;
  color: #fff;
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

body.home .catalog-lead p:not(.catalog-kicker) {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.96rem;
  line-height: 1.85;
}

body.home .catalog-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px clamp(24px, 4vw, 42px);
  align-items: end;
}

body.home .catalog-kicker,
body.home .catalog-heading,
body.home .catalog-lead p:not(.catalog-kicker) {
  grid-column: 1;
}

body.home .catalog-lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-column: 2;
  grid-row: 2 / 4;
  margin-top: 0;
}

body.home .catalog-lead-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

body.home .catalog-lead-actions a:first-child {
  background: var(--top-accent);
  color: #111827;
}

body.home .catalog-lead-actions a:last-child {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

body.home .catalog-lead-actions a:hover {
  transform: translateY(-2px);
}

body.home .catalog-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: min(980px, 100%);
  margin: 0 auto;
}

body.home .catalog-section .catalog-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 410px) minmax(0, 1fr);
  min-height: 324px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(203, 214, 226, 0.86);
  border-radius: 14px;
  background: #fff;
  color: var(--top-ink);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.34);
  text-align: left;
  backdrop-filter: blur(14px);
}

body.home .catalog-section .catalog-item::after {
  content: "";
  position: absolute;
  inset: 14px auto 14px 14px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--top-accent), #1658b8);
}

body.home .catalog-section .catalog-item:hover {
  transform: translateY(-6px);
}

body.home .catalog-section .catalog-item--soon:hover {
  transform: none;
}

body.home .catalog-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 296px;
  height: 100%;
  border-radius: 8px;
  border: 0;
  background: transparent;
  overflow: visible;
}

body.home .catalog-visual::before {
  content: none;
}

body.home .catalog-section .catalog {
  width: auto;
  max-width: min(78%, 268px);
  max-height: 278px;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.32);
  transform: none;
}

body.home .catalog-status {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #071c44;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.home .catalog-item--soon .catalog-status {
  background: #667085;
}

body.home .catalog-body {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 18px 22px 18px 28px;
  text-align: center;
}

body.home .catalog-meta {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(13, 59, 145, 0.08);
  color: var(--top-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

body.home .catalog-section .catalog-item h3 {
  margin: 0;
  color: var(--top-ink);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
}

body.home .catalog-body p {
  margin: 0;
  color: var(--top-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

body.home .catalog-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  margin: 8px auto 0;
  padding: 0 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--top-blue), #1558b7);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(13, 59, 145, 0.28);
}

body.home .catalog-link--disabled {
  background: #eef2f7;
  color: #667085;
}

@media (max-width: 900px) {
  body.home .catalog-layout {
    grid-template-columns: 1fr !important;
  }

  body.home .catalog-lead {
    grid-template-columns: 1fr;
  }

  body.home .catalog-lead-actions,
  body.home .catalog-kicker,
  body.home .catalog-heading,
  body.home .catalog-lead p:not(.catalog-kicker) {
    grid-column: 1;
    grid-row: auto;
  }

  body.home .catalog-lead-actions {
    margin-top: 8px;
  }

  body.home .catalog-cards {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  body.home .catalog-section {
    padding: 46px 0 52px;
  }

  body.home .catalog-lead-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .catalog-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  body.home .catalog-section .catalog-item {
    grid-template-columns: clamp(154px, 39vw, 180px) minmax(0, 1fr);
    min-height: 0;
    padding: 10px;
  }

  body.home .catalog-section .catalog-item::after {
    inset: 10px auto 10px 10px;
    width: 4px;
  }

  body.home .catalog-visual {
    min-height: 190px;
  }

  body.home .catalog-section .catalog {
    max-width: clamp(128px, 31vw, 148px);
    max-height: 190px;
  }

  body.home .catalog-body {
    gap: 7px;
    padding: 4px 4px 4px 14px;
    text-align: center;
  }

  body.home .catalog-body p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  body.home .catalog-meta {
    min-height: 22px;
    padding: 0 8px;
    font-size: 0.62rem;
  }

  body.home .catalog-section .catalog-item h3 {
    font-size: 1.06rem;
  }

  body.home .catalog-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  body.home .catalog-lead-actions a {
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.88rem;
  }
}


/* ===== Amazon store section: homepage CTA ===== */

body.home .amazon-store {
  position: relative;
  margin: 0;
  padding: clamp(46px, 6vw, 76px) 0;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  color: var(--top-ink);
}

body.home .amazon-store::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(13, 59, 145, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 247, 251, 0.88));
  pointer-events: none;
}

body.home .amazon-layout {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: clamp(24px, 4vw, 34px) !important;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto !important;
  text-align: left !important;
}

body.home .amazon-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px clamp(24px, 4vw, 42px);
  align-items: end;
}

body.home .amazon-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  grid-column: 1;
  margin: 0;
  color: var(--top-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.home .amazon-kicker::before {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: var(--top-accent);
}

body.home .amazon-heading {
  grid-column: 1;
  max-width: 760px;
  margin: 0;
  color: var(--top-ink);
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

body.home .amazon-lead p:not(.amazon-kicker) {
  grid-column: 1;
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--top-muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

body.home .amazon-note a {
  color: var(--top-blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

body.home .amazon-lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  grid-column: 2;
  grid-row: 2 / 5;
  margin-top: 0;
}

body.home .amazon-lead-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

body.home .amazon-lead-actions a:first-child {
  background: linear-gradient(135deg, var(--top-blue), #1558b7);
  color: #fff;
  box-shadow: 0 14px 30px rgba(13, 59, 145, 0.22);
}

body.home .amazon-lead-actions a:last-child {
  border: 1px solid rgba(13, 59, 145, 0.24);
  color: var(--top-blue);
  background: rgba(255, 255, 255, 0.72);
}

body.home .amazon-lead-actions a:hover {
  transform: translateY(-2px);
}

body.home .amazon-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: min(980px, 100%);
  margin: 0 auto;
}

body.home .amazon-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 410px) minmax(0, 1fr);
  min-height: 288px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(203, 214, 226, 0.86);
  border-radius: 14px;
  background: #fff;
  color: var(--top-ink);
  box-shadow: 0 24px 70px rgba(21, 32, 51, 0.12);
  text-align: left;
  backdrop-filter: blur(14px);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

body.home .amazon-item::after {
  content: "";
  position: absolute;
  inset: 14px auto 14px 14px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--top-accent), #1658b8);
}

body.home .amazon-item:hover {
  transform: translateY(-6px);
}

body.home .amazon-visual {
  display: grid;
  place-items: center;
  min-height: 260px;
  height: 100%;
  border-radius: 8px;
  border: 1px solid rgba(203, 214, 226, 0.78);
  background:
    radial-gradient(circle at 50% 44%, rgba(243, 189, 58, 0.16), transparent 44%),
    #fff;
  overflow: hidden;
}

body.home .amazon-visual img {
  width: min(58%, 220px);
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(21, 32, 51, 0.16));
}

body.home .amazon-body {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 18px 22px 18px 28px;
  text-align: center;
}

body.home .amazon-meta {
  display: inline-flex;
  width: fit-content;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(13, 59, 145, 0.08);
  color: var(--top-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

body.home .amazon-body h3 {
  margin: 0;
  color: var(--top-ink);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
}

body.home .amazon-body p {
  margin: 0;
  color: var(--top-muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

body.home .amazon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  margin: 8px auto 0;
  padding: 0 20px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--top-blue), #1558b7);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(13, 59, 145, 0.28);
}

@media (max-width: 900px) {
  body.home .amazon-lead {
    grid-template-columns: 1fr;
  }

  body.home .amazon-lead-actions,
  body.home .amazon-kicker,
  body.home .amazon-heading,
  body.home .amazon-lead p:not(.amazon-kicker) {
    grid-column: 1;
    grid-row: auto;
  }

  body.home .amazon-lead-actions {
    margin-top: 8px;
  }

  body.home .amazon-cards {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  body.home .amazon-store {
    padding: 46px 0 52px;
  }

  body.home .amazon-lead-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .amazon-cards {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  body.home .amazon-item {
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 0;
    padding: 10px;
  }

  body.home .amazon-item::after {
    inset: 10px auto 10px 10px;
    width: 4px;
  }

  body.home .amazon-visual {
    min-height: 150px;
  }

  body.home .amazon-visual img {
    width: 88px;
    max-height: 88px;
  }

  body.home .amazon-body {
    gap: 7px;
    padding: 4px 4px 4px 14px;
  }

  body.home .amazon-body h3 {
    font-size: 1.02rem;
  }

  body.home .amazon-body p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  body.home .amazon-meta {
    min-height: 22px;
    padding: 0 8px;
    font-size: 0.62rem;
  }

  body.home .amazon-link {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  body.home .amazon-lead-actions a {
    min-height: 44px;
    padding: 0 10px;
    font-size: 0.88rem;
  }
}


/* ===== Amazon store section: slim notice bar ===== */

body.home .amazon-store {
  padding: clamp(34px, 5vw, 54px) 0;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  color: var(--top-ink);
}

body.home .amazon-store::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 86% 12%, rgba(13, 59, 145, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 247, 251, 0.82));
  pointer-events: none;
}

body.home .amazon-bar {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center;
  gap: clamp(18px, 4vw, 38px);
  max-width: 1100px;
  margin: 0 auto !important;
  padding: clamp(18px, 3vw, 28px) clamp(20px, 4vw, 38px);
  border: 1px solid rgba(21, 32, 51, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(21, 32, 51, 0.1);
  text-align: left !important;
  overflow: hidden;
}

body.home .amazon-bar::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--top-accent), #1658b8);
}

body.home .amazon-bar-copy {
  min-width: 0;
  padding-left: 8px;
}

body.home .amazon-bar .amazon-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--top-blue);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: none;
}

body.home .amazon-bar .amazon-kicker::before {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--top-accent);
}

body.home .amazon-bar-title {
  margin: 0;
  color: var(--top-muted);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
}

body.home .amazon-bar-text,
body.home .amazon-bar-note {
  margin: 8px 0 0;
  color: var(--top-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

body.home .amazon-bar-note {
  margin-top: 4px;
  font-size: 0.88rem;
}

body.home .amazon-bar-note a {
  color: var(--top-blue);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

body.home .amazon-bar-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

body.home .amazon-bar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 0 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--top-blue), #1558b7);
  color: #fff;
  font-size: 1.16rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(13, 59, 145, 0.22);
  white-space: nowrap;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

body.home .amazon-bar-button::after {
  content: "→";
  color: var(--top-accent);
  font-weight: 900;
}

body.home .amazon-bar-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(13, 59, 145, 0.28);
}

@media (max-width: 760px) {
  body.home .amazon-store {
    padding: 32px 0 42px;
  }

  body.home .amazon-bar {
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 20px 18px 18px;
  }

  body.home .amazon-bar::before {
    inset: 0 18px auto;
    width: auto;
    height: 4px;
    border-radius: 0 0 999px 999px;
  }

  body.home .amazon-bar-copy {
    padding-left: 0;
  }

  body.home .amazon-bar-title {
    font-size: 0.88rem;
  }

  body.home .amazon-bar .amazon-kicker {
    font-size: 1.18rem;
  }

  body.home .amazon-bar-text,
  body.home .amazon-bar-note {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  body.home .amazon-bar-action,
  body.home .amazon-bar-button {
    width: 100%;
  }
}


/* ===== Overlap cleanup ===== */

body.home .company-visual {
  margin-top: 0;
}

body.home .hero {
  margin-top: 0;
  padding: clamp(34px, 5vw, 58px) 0 clamp(34px, 5vw, 58px);
  background: var(--top-soft);
}

body.home .hero-swiper {
  margin-top: 0;
}

body.home .btn-top {
  margin-top: 0;
  margin-bottom: clamp(28px, 5vw, 48px);
}

body.home .amazon-store {
  margin: 0;
}

body.home #catalog.catalog-section {
  margin-top: -74px;
  padding-top: clamp(112px, 10vw, 146px);
  scroll-margin-top: 72px;
}

@media (max-width: 882px) {
  body.home .company-visual {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  body.home .hero {
    margin-top: 0;
    padding: 28px 0 38px;
    background: var(--top-soft);
  }

  body.home .btn-top {
    margin-top: 0;
    margin-bottom: 34px;
  }

  body.home .amazon-store {
    margin: 0;
  }

body.home #catalog.catalog-section {
    margin-top: -46px;
    padding-top: 88px;
  }
}


/* ===== ホーム：ヘッダー商品検索 ===== */

body.home .home-header-search {
  flex: 0 1 320px;
  width: clamp(220px, 18vw, 320px);
  margin-left: auto;
  margin-right: clamp(14px, 1.5vw, 24px);
}

body.home .home-header-search + .nav-desktop {
  margin-left: 0;
}

body.home .home-search-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 42px;
  overflow: hidden;
  background: rgba(4, 17, 42, .58);
  border: 1px solid rgba(255, 255, 255, .64);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  backdrop-filter: blur(10px);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

body.home .home-search-form:focus-within {
  background: rgba(4, 17, 42, .78);
  border-color: rgba(255, 255, 255, .95);
  box-shadow: 0 0 0 3px rgba(243, 189, 58, .24), 0 10px 28px rgba(0, 0, 0, .18);
}

body.home .home-search-input {
  min-width: 0;
  width: 100%;
  padding: 0 14px;
  color: #fff !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  font: inherit;
  font-size: .88rem;
}

body.home .home-search-input::placeholder {
  color: rgba(255, 255, 255, .72);
}

body.home .home-search-input::-webkit-search-cancel-button {
  filter: invert(1);
}

body.home .home-search-submit,
body.home .home-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 0;
  cursor: pointer;
}

body.home .home-search-submit {
  flex: 0 0 44px;
  color: #071c44;
  background: var(--top-accent);
  transition: filter .18s ease, transform .18s ease;
}

body.home .home-search-submit:hover,
body.home .home-search-submit:focus-visible {
  filter: brightness(1.08);
}

body.home .home-search-submit:active {
  transform: scale(.96);
}

body.home .home-search-submit svg,
body.home .home-search-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

body.home .home-search-toggle {
  display: none;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin-left: 14px;
  color: #fff;
  background: rgba(4, 17, 42, .38);
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 8px;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

body.home .home-search-toggle--desktop {
  position: absolute;
  top: 50%;
  right: calc(100% + clamp(12px, 1.2vw, 18px));
  margin: 0;
  color: #071c44;
  background: var(--top-accent);
  border-color: var(--top-accent);
  box-shadow: 0 7px 18px rgba(243, 189, 58, .3);
  transform: translateY(-50%);
}

body.home .home-search-toggle:hover,
body.home .home-search-toggle:focus-visible,
body.home .home-search-toggle[aria-expanded="true"] {
  color: #071c44;
  background: var(--top-accent);
  border-color: var(--top-accent);
}

@media (max-width: 1240px) {
  body.home .header-inner {
    position: relative;
  }

  body.home .home-header-search {
    position: absolute;
    z-index: 20;
    top: calc(100% + 8px);
    right: var(--home-search-right, clamp(18px, 3vw, 34px));
    left: var(--home-search-left, auto);
    width: min(420px, calc(100vw - 36px));
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, visibility 0s linear .2s, transform .2s ease;
  }

  body.home .home-header-search.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity .2s ease, visibility 0s, transform .2s ease;
  }

  body.home .home-search-form {
    height: 46px;
    background: #fff;
    border-color: rgba(7, 28, 68, .16);
    box-shadow: 0 16px 38px rgba(5, 22, 55, .22);
    backdrop-filter: none;
  }

  body.home .home-search-form:focus-within {
    background: #fff;
    border-color: rgba(13, 59, 145, .52);
  }

  body.home .home-search-input {
    color: #152033 !important;
    background: #fff !important;
  }

  body.home .home-search-input::placeholder {
    color: #718096;
  }

  body.home .home-search-input::-webkit-search-cancel-button {
    filter: none;
  }

  body.home .home-search-toggle--desktop {
    display: inline-flex;
  }
}

@media (max-width: 882px) {
  body.home .home-search-toggle--desktop {
    display: none;
  }

  body.home .home-search-toggle--mobile {
    display: inline-flex;
    margin-left: auto;
    color: #071c44;
    background: var(--top-accent);
    border-color: var(--top-accent);
    box-shadow: 0 7px 18px rgba(243, 189, 58, .3);
  }

  body.home .menu-toggle {
    margin-left: 10px;
  }

  body.home .home-header-search {
    top: calc(100% + 6px);
    right: 14px;
    left: 14px;
    width: auto;
  }
}

@media (max-width: 420px) {
  body.home .home-search-toggle {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    border-radius: 7px;
  }

  body.home .home-search-toggle svg {
    width: 19px;
    height: 19px;
  }
}
