﻿@charset "UTF-8";

:root {
  --navy: #073477;
  --navy-dark: #062b65;
  --blue: #0b438b;
  --light-blue: #f2f6fc;
  --border: #95a4b8;
  --navy-mid: #176188;
  --navy-light: #abc0df;
  --gray-bg: #f7f7f7;
  --hero-bg: #f2f6fc;
  --red: #d80e18;
  --text: #1a1a1a;
  --side-pad: 3.8vw;
  --header-height: clamp(64px, 5.6vw, 78px);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  min-width: 320px;

  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;

  color: #111;
  background: #fff;

  font-size: clamp(12px, 1.17vw, 16px);
  line-height: 1.75;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =========================================================
   HEADER
========================================================= */

.header {
  width: 100%;
  min-height: var(--header-height);

  position: relative;
  z-index: 100;

  display: flex;
  align-items: center;

  background: #fff;

  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.025);
}

.header-inner {
  width: 100%;
  min-height: var(--header-height);

  padding-inline: clamp(16px, 2.2vw, 32px);

  display: flex;
  align-items: stretch;
  justify-content: space-between;

  /*gap: clamp(18px, 2.2vw, 32px);*/
}

/* =========================================================
   HEADER LEFT
========================================================= */

.header-left {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: clamp(24px, 3vw, 44px);
}

/* =========================================================
   HEADER LOGO
========================================================= */

.logo {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: clamp(8px, 0.9vw, 13px);

  flex: 0 0 auto;

  white-space: nowrap;
}

.logo-en {
  width: clamp(125px, 13.5vw, 185px);

  display: flex;
  align-items: center;

  flex: 0 0 auto;
}

.logo-en img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
}

.logo-jp {
  display: inline-block;

  font-size: clamp(12px, 1.15vw, 16px);
  line-height: 1;

  font-weight: 700;

  color: #111;

  white-space: nowrap;
}

/* =========================================================
   HEADER NAV
========================================================= */

.header-nav {
  height: var(--header-height);

  display: flex;
  align-items: center;

  gap: clamp(20px, 2.2vw, 32px);
}

.header-nav a {
  height: 100%;

  position: relative;

  display: flex;
  align-items: center;

  padding-inline: 2px;

  font-size: clamp(11px, 1vw, 14px);
  font-weight: 600;

  white-space: nowrap;

  transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--navy);
}

.header-nav a.active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;

  bottom: clamp(10px, 1vw, 14px);

  height: 2px;

  background: var(--navy);
}

/* =========================================================
   HEADER RIGHT
========================================================= */

.header-right {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(7px, 0.8vw, 12px);
  flex: 0 0 auto;
}

  
.phone {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-icon {
  width: clamp(19px, 1.8vw, 26px);
  height: clamp(19px, 1.8vw, 26px);

  position: relative;

  flex: 0 0 auto;
}

.phone-icon .icon {
  fill: var(--navy);
}

.phone-number {
  font-size: clamp(14px, 1.9vw, 27px);
  line-height: 1;

  font-weight: 700;

  color: var(--navy);

  white-space: nowrap;
}

.header-time {
  margin-left: clamp(4px, 0.5vw, 8px);
  font-size: clamp(10px, 0.72vw, 14px);
  line-height: 1.55;
  color: #333;
  white-space: nowrap;
}

/* ===================== Breadcrumb ===================== */
.breadcrumb {
  padding: 14px 20px 0;
  font-size: 12px;
  color: #556;
  max-width: 1230px;
  width: 100%;
  margin: 0 auto;
  display: none;
}

.breadcrumb .wrap {
  padding: 0;
  max-width: 1200px;
}

.breadcrumb a {
  color: #556;
}

.breadcrumb .sep {
  margin: 0 6px;
  color: #99a;
}

/* ===================== Product Section ===================== */
.product-section {
  padding: 30px 0 40px;
}

.hero {
  background: linear-gradient(
    to left,
    #f9f6f7 0%,
    #f9f6f7 42%,
    rgba(249, 246, 247, 0.55) 72%,
    rgba(249, 246, 247, 0.15) 100%
  );
  padding: 28px 20px 34px;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1 1 50%;
  min-width: 0;
  text-align: left;
}

.hero-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  margin: 0 auto;
}

/* ===================== Category index (top) page ===================== */
.page-title-band {
  background: var(--hero-bg);
  padding: 30px 20px;
}

.page-title-band h1 {
  max-width: 1024px;
  margin: 0 auto;
  font-size: 26px;
  color: var(--navy);
}

.category-grid {
  max-width: 1024px;
  margin: 0 auto;
  padding: 30px 20px 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.category-card {
  flex: 1 1 calc(33.333% - 14px);
  min-width: 260px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.category-card .card-image {
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  padding: 16px;
}

.category-card .card-image img {
  max-height: 150px;
  width: auto;
  margin: 0 auto;
}

.category-card .card-body {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-card .card-brand {
  height: 18px;
  width: auto;
  margin-bottom: 8px;
}

.category-card h2 {
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 6px;
}

.category-card p {
  font-size: 13px;
  color: #555;
  margin: 0 0 14px;
  flex: 1;
}

.category-card .card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

.brand-logo {
  height: clamp(28px, 4vw, 45px);
  width: auto;
  max-width: none;
  margin-bottom: clamp(10px, 0.5vw, 16px);
}

.piranha-brand-logo {
  height: clamp(24px, 3.5vw, 38px);
  width: auto;
}

.product-title {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 0;
  font-size: clamp(25px, 5vw, 65px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: clamp(1px, 0.25vw, 4px);
  color: var(--navy);
}

.ga-bucket-title {
  flex-wrap: nowrap;
  font-size: clamp(25px, 4.5vw, 55px);
}

.breaker-title {
  flex-wrap: nowrap;
  font-size: clamp(25px, 4vw, 55px);
}

.product-title .z-logo {
  height: 1.25em;
  width: auto;
}

.product-title .badge {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--navy);
  padding: 0 0.25em;
  margin-left: 0.3em;
  white-space: nowrap;
  position: relative;
  top: 0;
}

.product-title .type-label {
  font-size: 0.7em;
  white-space: nowrap;
}

.product-sub {
  margin-top: clamp(8px, 0.85vw, 12px);
  font-size: clamp(17px, 2.4vw, 28px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--navy);
}

.icon-single {
  width: clamp(64px, 7vw, 88px);
  height: clamp(64px, 7vw, 88px);
}

.icon-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.icon-row img {
  width: clamp(64px, 7vw, 88px);
  height: clamp(64px, 7vw, 88px);
}

.dual-logo {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 16px);
  margin-bottom: 10px;
  height: clamp(28px, 4vw, 45px);
}

.dual-logo img {
  height: clamp(30px, 4vw, 50px);
  width: auto;
}

/* ===================== Table ===================== */
.table-wrap {
  max-width: 1240px;
  margin: 24px auto 0;
  padding: 0 20px;
  overflow-x: auto;
}

table.spec-table {
  width: 100%;
  min-width: 460px;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: center;
  font-size: clamp(10px, 1.03vw, 14px);
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--navy);
  height: clamp(22px, 2.65vw, 36px);
  padding: clamp(3px, 0.36vw, 5px) clamp(5px, 0.58vw, 8px);
  text-align: center;
  white-space: nowrap;
}

.spec-table thead tr.head-row th {
  background: var(--navy-light);
  color: #222;
  font-weight: 700;
}

.spec-table thead tr.head-row th:first-child {
  background: var(--navy);
  color: #fff;
}

.spec-table thead tr.unit-row td,
.spec-table thead tr.unit-row th {
  background: var(--gray-bg);
  color: #444;
  font-weight: 400;
}

.spec-table tbody th.row-head {
  background: var(--navy-mid);
  color: #fff;
  font-weight: 700;
}

.spec-table tbody td {
  background: #fff;
  color: #222;
}

.spec-table tbody tr.group-row th {
  background: var(--navy);
  color: #fff;
}

.spec-table tbody tr.group-row td {
  background: var(--navy-light);
  color: #223;
  font-weight: 700;
}

.spec-table tbody tr.screw-row td:nth-child(3) {
  border-right: none;
}

.spec-table tbody tr.screw-row td:nth-child(4),
.spec-table tbody tr.screw-row td:nth-child(5) {
  border-left: none;
  border-right: none;
}

.spec-table tbody tr.screw-row td:nth-child(6) {
  border-left: none;
}

.spec-table .screw-label {
  font-weight: 700;
}

.spec-table td span,
.spec-table th span {
  display: inline;
}

/* ===================== warning ===================== */
.spec-warning {
  width: calc(100% - 40px);
  max-width: 1240px;
  margin: clamp(20px, 2.35vw, 32px) auto 0;
  padding: clamp(8px, 0.88vw, 12px) clamp(14px, 1.45vw, 20px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.45vw, 20px);
  border: 1.5px solid var(--navy);
  border-radius: clamp(8px, 0.95vw, 13px);
  font-size: clamp(11px, 1.25vw, 17px);
  line-height: 1.6;
  color: #4e4e4e;
}

.warning-circle {
  width: clamp(34px, 3.8vw, 52px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  flex: 0 0 auto;
}

.warning-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =========================================================
   FOOTER MAIN
========================================================= */

.footer-main {
  width: 100%;

  padding: clamp(20px, 2vw, 30px) 0;

  background: var(--navy);

  color: #fff;
}

.footer-inner {
  width: 100%;

  padding-inline: clamp(18px, 2.7vw, 40px);
}

.footer-grid {
  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(0, 0.9fr)
    minmax(0, 0.95fr)
    minmax(0, 1.2fr);

  align-items: stretch;
}

.footer-item {
  min-width: 0;
  padding: 0 clamp(15px, 1.5vw, 24px);
  border-right: 1px solid rgba(255, 255, 255, 0.32);
}

.footer-item:first-child {
  padding-left: 0;
}

.footer-item:last-child {
  padding-right: 0;
  border-right: none;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: clamp(7px, 0.65vw, 10px);
  margin: 0 0 clamp(8px, 0.9vw, 13px);
  font-size: clamp(12px, 1.15vw, 16px);
  line-height: 1.35;
  font-weight: 800;
  white-space: nowrap;
}

.footer-icon-space {
  width: clamp(19px, 1.8vw, 26px);
  height: clamp(19px, 1.8vw, 26px);

  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;
}

.footer-icon-space img {
  width: 100%;
  height: 100%;

  object-fit: contain;
}

.footer-text {
  margin-left: clamp(26px, 2.45vw, 36px);

  font-size: clamp(10px, 0.88vw, 12px);
  line-height: 1.7;
}

.footer-text strong {
  font-size: clamp(10px, 0.98vw, 13px);
}

.footer-hours {
  margin-left: clamp(26px, 2.45vw, 36px);

  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.4;

  font-weight: 700;
}

.footer-catalog-content {
  display: flex;
  align-items: flex-end;
  justify-content: left;
  gap: 12px;
}

.footer-btn {
  min-width: max-content;
  padding: clamp(5px, 0.45vw, 7px) clamp(9px, 0.8vw, 13px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 3px;
  font-size: clamp(10px, 0.82vw, 11px);
  line-height: 1.4;
  font-weight: 700;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.footer-btn:hover {
  color: var(--navy);
  background: #fff;
}

/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
  width: 100%;

  background: #fff;
}

.footer-bottom-inner {
  width: 100%;

  min-height: clamp(62px, 5.3vw, 76px);

  padding: clamp(10px, 1vw, 14px) clamp(16px, 1.8vw, 28px);

  display: flex;
  align-items: center;

  gap: clamp(26px, 3vw, 44px);
}

.footer-logo {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: clamp(8px, 0.8vw, 12px);

  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}

.footer-logo-en {
  width: clamp(125px, 13vw, 180px);

  display: flex;
  align-items: center;

  flex: 0 0 auto;
}

.footer-logo-en img {
  width: 100%;
  height: auto;

  object-fit: contain;
}

.footer-logo-jp {
  font-size: clamp(11px, 1.05vw, 15px);
  line-height: 1;

  font-weight: 700;

  color: #111;

  white-space: nowrap;
}

.footer-nav {
  display: flex;
  align-items: center;

  gap: clamp(8px, 0.9vw, 13px);

  font-size: clamp(10px, 0.9vw, 13px);

  white-space: nowrap;
}

.footer-nav a {
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--navy);
}

/* ===================== Responsive ===================== */
/* =========================================================
   LARGE TABLET
   1100px
========================================================= */
@media (max-width: 1100px) {
  /*.header-inner {
    gap: 16px;
  }*/

  .header-left {
    gap: 24px;
  }

  .logo-en {
    width: clamp(120px, 14vw, 155px);
  }

  .logo-jp {
    font-size: 13px;
  }

  .header-nav {
    gap: 20px;
  }

  .phone-number {
    font-size: clamp(14px, 2.1vw, 23px);
  }
  
  .footer-grid {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);
  }

  .footer-item {
    padding: 18px 24px;

    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .footer-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }

  .footer-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .footer-item:first-child {
    padding-left: 24px;
  }

  .footer-item:last-child {
    padding-right: 24px;
  }

  .footer-text,
  .footer-hours {
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .header-inner {
    padding-inline: 18px;
  }

  .logo-en {
    width: 130px;
  }

  .logo-jp {
    font-size: 12px;
  }

  .header-left {
    gap: 18px;
  }

  .header-nav {
    gap: 15px;
  }

  .header-nav a {
    font-size: 11px;
  }

  .phone-number {
    font-size: 14px;
  }
}

/* =========================================================
   MOBILE
   680px
========================================================= */
@media (max-width: 680px) {
  :root {
    --side-pad: 20px;
  }

  .header {
    min-height: auto;
  }

  .header-inner {
    min-height: auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      auto;
    grid-template-rows:
      auto
      auto;
    column-gap: 12px;
  }

  .header-left {
    min-width: 0;
    display: contents;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding: 12px 0 9px;
    gap: 7px;
  }

  .logo-en {
    width: clamp(105px, 30vw, 130px);
  }

  .logo-jp {
    font-size: clamp(10px, 2.9vw, 12px);
  }

  .header-right {
    grid-column: 2;
    grid-row: 1;
    padding: 12px 0 9px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .phone-icon {
    width: 14px;
    height: 14px;
  }

  .phone-number {
    font-size: 14px;
  }
  
  .header-time {
    margin-left: 0;
  }

  .header-nav {
    grid-column: 1 / -1;
    grid-row: 2;

    width: 100%;
    height: 39px;

    display: flex;
    align-items: stretch;

    gap: 0;

    border-top: 1px solid #edf0f4;
  }

  .header-nav a {
    height: 39px;
    flex: 0 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    font-size: 12px;
  }


  .header-nav a.active::after {
    bottom: 0;
    height: 2px;
  }
  
  .hero-inner {
    flex-direction: column;
    align-items: stretch;
  }
  
  .product-title {
    font-size: clamp(38px, 6vw, 55px);
  }

  .hero-image {
    width: 100%;
    margin-top: 20px;
  }
  
  .hero-image img {
    max-width: 100%;
    max-height: 350px;
  }
  
  .brand-logo {
    height: clamp(30px, 5vw, 45px);
  }
  
  .dual-logo {
    gap: 3px;
  }
  
  .ga-bucket-title,
  .breaker-title {
    flex-wrap: nowrap;
    font-size: clamp(30px, 6vw, 55px);
  }
  
  .product-sub {
    font-size: clamp(15px, 4vw, 28px);
  }
  
  .spec-table td span,
  .spec-table th span {
    display: block;
  }
  
  .footer-main {
    padding: 10px 0;
  }

  .footer-inner {
    padding-inline: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-item,
  .footer-item:first-child,
  .footer-item:nth-last-child(-n + 2),
  .footer-item:last-child {
    min-height: auto;

    padding: 20px 0;

    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  }

  .footer-item:nth-child(odd) {
    border-right: none;
  }

  .footer-item:last-child {
    border-bottom: none;
  }

  .footer-heading {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .footer-icon-space {
    width: 23px;
    height: 23px;
  }

  .footer-text {
    margin-left: 31px;

    font-size: 11px;
    line-height: 1.8;
  }

  .footer-hours {
    margin-left: 31px;
    font-size: 18px;
  }

  .footer-catalog-content {
    align-items: center;
  }

  .footer-btn {
    font-size: 10px;
    padding: 7px 12px;
  }

  .footer-bottom-inner {
    min-height: auto;

    padding: 15px 16px;

    flex-wrap: wrap;

    gap: 12px 24px;
  }

  .footer-logo {
    gap: 7px;
  }

  .footer-logo-en {
    width: clamp(105px, 30vw, 130px);
  }

  .footer-logo-jp {
    font-size: clamp(10px, 2.9vw, 12px);
  }

  .footer-nav {
    flex-basis: 100%;
    padding-top: 2px;
    font-size: 11px;
  }
}


/* =========================================================
   SMALL MOBILE
   440px
========================================================= */
@media (max-width: 440px) {
  .header-inner {
    padding-inline: 13px;
    column-gap: 7px;
  }

  .logo {
    gap: 5px;
  }

  .logo-en {
    width: clamp(92px, 27vw, 112px);
  }

  .logo-jp {
    font-size: 10px;
  }

  .header-right {
    gap: 3px;
  }

  .phone-number {
    font-size: 12px;
  }

  .header-nav {
    height: 37px;
  }

  .header-nav a {
    height: 37px;

    padding-inline: 14px;

    font-size: 11px;
  }

  
  .footer-catalog-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-text,
  .footer-hours {
    margin-left: 30px;
  }

  .footer-btn {
    margin-left: 30px;
  }

  .footer-bottom-inner {
    padding: 14px 13px;
  }

  .footer-logo {
    gap: 5px;
  }

  .footer-logo-en {
    width: clamp(92px, 27vw, 112px);
  }

  .footer-logo-jp {
    font-size: 10px;
  }

  .footer-nav {
    gap: 9px;
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .logo-en {
    width: 88px;
  }

  .logo-jp {
    font-size: 10px;
  }

  .phone-number {
    font-size: 12px;
  }
  
  .footer-logo-en {
    width: 88px;
  }

  .footer-logo-jp {
    font-size: 10px;
  }
}