/* ===========================
   RESET & BASE
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body { 
   font-family:"Noto Sans JP","Segoe UI",sans-serif; 
   background:#f0f2f5; 
   color:#000; 
   line-height:1.7; 
   padding:20px; }


/* ===========================
   CONTAINER
   =========================== */
.center-wrapper{
  max-width: 1800px;
  background-color: #f5f5f5;
  padding: 30px 30px;
  display: flex;
  justify-content: center;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
}

/* ===========================
   HEADINGS
   =========================== */
.main-heading,
.grubber-section {
    background-color: #003366; 
    width: 100%;/* blue background for both */
    margin-top: 10px;
    margin-bottom: 10px;
}
.main-heading{
  color: #ffffff;
  font-size: 4.5rem; 
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 0;
  width: 100%;
}

/* ===========================
   GRUBBER SECTION
   =========================== */
.grubber-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 0;
}

.grubber-text {
  color: #ffffff;
  font-weight: 600;
  font-size: 2.2rem;
}

.patent-info {
  text-align: left;
}

.patent-info p {
  color: #ffffff;
  font-size: 1.8rem;
  line-height: 1.4;
}

/* ===========================
   PRODUCT IMAGE
   =========================== */
.product-section {
  margin-top: 30px;
  text-align: center;
}

.product-image {
  width: 100%;
  height: 750px;
  border-radius: 8px;
  margin-bottom: 30px;
}

/* ===========================
   MATERIAL INFO
   =========================== */
.material-info {
  color: #004b8d;
  margin-top: 30px;
  width:100%;
  font-size: 2.2rem;
  text-align: left;
  font-weight: 600;
  white-space: normal;
}

.material-mobile-break{
  display: inline;
}
/* ===========================
   GAUGE SIZE SECTION REFINED
   =========================== */
.gauge-size-section {
  display: flex;
  justify-content: flex-start; /* changed from space-between */
  align-items: stretch;
  gap: 20px; /* reduce gap as needed */
  margin-top: 30px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* LEFT COLUMN */
.gauge-heading {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
}
.left-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* first image top, second image bottom */
  flex: 1;
  max-width: 400px; /* controls image width */
}
.gauge-image{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.gauge-image:last-child{
  margin-bottom: 0;
}
.gauge-image img {
  width: 100%; /* stretches to column width */
  height: 240px; /* fixed height */
  object-fit: contain;
  border-radius: 5px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.gauge-image p {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: 8px;
}

/* RIGHT COLUMN */
.right-column table {
  margin-top: 70px;
  margin-bottom: 10px;
  border-collapse: collapse;
  font-size: 1.6rem;
}

/* Table headers and cells */
.right-column th, 
.right-column td {
  border: 1px solid black;
  padding: 13px 13px;
  text-align: center;
  vertical-align: middle;
  font-weight: 500;
  background-color: #fff; /* remove any inherited grey */
}

.right-column th {
  background-color: #f7d708;
  font-weight: bold;
}

/* Note below table */
.table-note {
  text-align: right;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 30px; /* keep spacing */
}

/* =======================
   MERRY-GO-ROUND (RESPONSIVE)
   =========================== */
.merry-go-round {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* spreads items evenly from left to right */
  align-items: center;
  gap: 20px; /* optional, helps small spacing between rows if wrapping */
  margin: 0 20px;
}

.center-heading {
  margin-top: 30px;
  width: 100%;
  text-align: center;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.color-wheel {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100px; /* keeps size consistent */
}

.color-wheel img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid #ccc;
  object-fit: contain;
}

.color-wheel p {
  margin-top: 5px;
  font-size: 1.5rem;
  font-weight: 500;
}

.color-desc {
  width: 100%;
  text-align: center;
  margin-top: 15px;
  font-size: 1.8rem;
  font-weight: 400;
}

/* ===========================
   FOUR IMAGES ROW
   =========================== */
.four-images-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.four-image-item {
  text-align: center;
}

.four-image-item img {
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 8px;
}

.four-image-item p {
  font-size: 1.8rem;
  font-weight: 400;
}

/* ===========================
   CONTACT SECTION
   =========================== */
h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.contact-section {
  text-align: center;
  margin-top: 60px;
  padding: 30px 20px;
  font-size: 1.8rem;
  background-color: #f9f9f9;
  border-top: 2px solid #ccc;
  font-weight: 450;
}

.contact-section a {
  color: #000;
  font-size: 1.8rem;
  text-decoration: none;
  font-weight: 450;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* ===========================
   FOOTER
   =========================== */
.message {
  text-align: center;
  margin-top: 20px;
  padding: 20px 0;
  background-color: #003366;
  color: white;
  overflow: hidden;
  display: block;
  clear: both;
}

.message p {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.6;
}

/* =========================
   FULL-WIDTH SINGLE COLUMN
   ========================= */
body#scissorgaugecoverIndex #main {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide sidebars or left nav if present */
body#scissorgaugecoverIndex #side,
body#scissorgaugecoverIndex .sidebar,
body#scissorgaugecoverIndex .l-side,
body#scissorgaugecoverIndex .navSide,
body#scissorgaugecoverIndex #left {
  display: none !important;
}

/* Make inner containers full width */
body#scissorgaugecoverIndex #main .content,
body#scissorgaugecoverIndex #main .contents,
body#scissorgaugecoverIndex #main .container,
body#scissorgaugecoverIndex #main .l-content,
body#scissorgaugecoverIndex #main .row,
body#scissorgaugecoverIndex #main .grid {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  display: block !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

/* Constrain .og-page-full like before */
body#scissorgaugecoverIndex #main .og-page-full {
  width: 100%;
  max-width: min(96vw, 1400px);
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* =========================
   PRODUCT / PROCESS IMAGE SIZING
   ========================= */
body#scissorgaugecoverIndex img.four-images-row,
body#scissorgaugecoverIndex .gauge-image {
  width: 100% !important;
  max-width: 560px !important;
  max-height: 300px !important;
  object-fit: contain !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}


/* ===========================
   RESPONSIVE DESIGN
/* ===========================
   RESPONSIVE DESIGN FIXED
   =========================== */
@media (max-width: 1024px) {
    /* Main heading smaller, one line */
    .main-heading {
        font-size: 2.5rem;
        text-align: center;
    }

    /* Grubber section: left text and patent details side by side */
    .grubber-section {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
    }
    .grubber-text {
        font-size: 1.8rem;
    }
    .patent-info p {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    /* Product image height reduced */
    .product-image {
        height: 500px;
    }

    /* Material info smaller, single line */
    .material-info {
        font-size: 1.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Gauge size section: left images stacked, table smaller */
    .gauge-size-section {
        flex-direction: column;
        gap: 20px;
    }
    .left-column .gauge-image img {
        height: 250px;
    }
    .right-column table {
        font-size: 1.2rem;
    }

    /* Merry-go-round: center heading smaller */
    .center-heading {
        font-size: 1.8rem;
    }
    .merry-go-round {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 15px;
    }
    .color-wheel img {
        width: 100px;
        height: 100px;
    }
    .color-desc {
        text-align: left;
        font-size: 1.5rem;
    }

    /* Four images row: two columns */
    .four-images-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .four-image-item img {
        height: auto;
    }

    /* Contact section smaller */
    .contact-section h2 {
        font-size: 2rem;
    }
    .contact-section p, .contact-section a {
        font-size: 1.4rem;
    }
    .message p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .main-heading {
        font-size: 2rem;
    }
    .grubber-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .grubber-text {
        font-size: 1.6rem;
    }
    .patent-info p {
        font-size: 1.2rem;
    }
    .product-image {
        height: 400px;
    }
    .material-info {
        font-size: 1.4rem;
    }

    /* Left images stacked */
    .left-column .gauge-image img {
        height: 200px;
    }
    .right-column table {
        font-size: 1rem;
    }

    .center-heading {
        font-size: 1.5rem;
    }
    .color-wheel img {
        width: 80px;
        height: 80px;
    }
    .color-desc {
        font-size: 1.3rem;
        text-align: left;
    }

    .four-images-row {
        grid-template-columns: 1fr;
    }
    .four-image-item img {
        height: auto;
    }

    .contact-section h2 {
        font-size: 1.8rem;
    }
    .contact-section p, .contact-section a {
        font-size: 1.2rem;
    }
    .message p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 1.6rem;
    }
    .grubber-section{
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;
      gap:5px;
    }
    .grubber-text {
        font-size: 1rem;
    }
    .patent-info p {
        font-size: 0.8rem;
    }
    .product-image {
        height: 300px;
    }
    .material-info {
        font-size: 1.4rem;
        text-align: left;
    }
    .material-mobile-break{
      font-size: 1.2rem;
      display: block;
    }
    .gauge-heading{
      font-size: 1.4rem;
    }

    /* Gauge images stacked one by one, table small */
    .gauge-size-section {
        font-size: 1.3rem;
        flex-direction: column;
    }
    .left-column .gauge-image img {
        height: 200px;
        width : 100%;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .gauge-image p{
      font-size: 1rem;
    }
    .right-column table {
        font-size: 0.7rem;
        width: 100%;
        display: block;
        overflow-x: auto;
    }
.table-note{
  font-size: 1rem;
}
    .center-heading {
        font-size: 1.4rem;
    }
    .merry-go-round {
        justify-content: flex-start;
    }
    .color-wheel img {
        width: 100px;
        height: 100px;
    }
    .color-desc {
        font-size: 1.3rem;
        text-align: left;
    }

    /* Four images stacked */
    .four-images-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .four-image-item img {
        height: auto;
    }
    .four-image-item p{
      font-size: 0.9rem;
    }

    /* Contact section smaller */
    .contact-section h2 {
        font-size: 1.5rem;
    }
    .contact-section p, .contact-section a {
        font-size: 1.1rem;
    }
    .message p {
        font-size: 1.1rem;
    }
}
