* {
  box-sizing: border-box;
}

:root {
  --product-inner-max: 978px;
}

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

body {
  color: #222222;
  font-family: "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  overflow-x: hidden;
}

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

.ss-page {
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
}

.hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.hero-image {
  width: 100%;
  height: auto;
}

.quick-nav {
  width: min(1400px, calc(100% - 34px));
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.quick-nav a {
  position: relative;
  height: 49px;
  border-radius: 5px;
  background: #3697e2;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 42px 0 10px;
}
/* 
.quick-nav a::before {
  content: "";
  position: absolute;
  right: 9px;
  width: 28px;
  height: 27px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
} */

/* 左から3個までは下向き矢印 */
.quick-nav a:nth-child(-n+3)::after {
  content: "";
  position: absolute;
  right: 18px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #ffffff;
  border-bottom: 0;
}


.quick-nav a::after {
  content: "";
  position: absolute;
  right: 18px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #ffffff;
}


.quick-nav a:hover {
  color: #222;
  background: #9FD1F6;
}

.about-wrap {
  width: min(1400px, calc(100% - 34px));
  margin: 40px auto 0;
  background: #EEF8FF;
  padding:100px 20px;
}

.section-header {
  margin: 0;
}



.products-header-wrap {
  width: min(1158px, calc(100% - 34px));
  margin: 100px auto 0;
}

.products > .featured-product,
.products > .product-grid {
  max-width: var(--product-inner-max);
  margin-left: auto;
  margin-right: auto;
}



.section-header.section-header-left_no-margin {
  margin-left: 0;
}

.section-en {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #3697e2;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-en::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url("../../img/circle_en.png") no-repeat center / contain;
  flex: 0 0 22px;
  transform: translateY(1px);
}

.section-header h1 {
  margin: 10px 0 16px 0;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 2px;
  color: #222;
}

.about-wrap > .section-header,
.about-wrap > .about-lead {
  max-width: 1158px;
  margin: 0 auto;
}

.about-lead {
  margin: 18px 0 30px;
  font-size: 20px;
  line-height: 1.9;
  color: #2f2f2f;
}

.about-diagram {
  max-width: 1158px;
  margin: 0 auto;
}

.panel-block h3 {
  margin: 0;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1.4px;
}

.problem-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.problem-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  border-radius: 5px;
}

.problem-card p {
  margin: 12px 0 0;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}

.industry-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.industry-grid span {
  display: grid;
  place-items: center;
  min-height: 92px;
  background: #f2f2f2;
  border: 1px solid #d7d7d7;
  font-size: 18px;
  font-weight: bold;
}

.about-arrow {
  margin: 18px auto 18px;
}

/* @media (max-width: 768px) {
  .about-arrow {
    width: 4%;
  }
} */


.about-image-problem {
  margin-top: 31px;
}


.about-image-problem img,.shift-image img {
  width: 100%;
}

.shift-image {
  margin-bottom: 72px;
}

.benefit-grid {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  padding: 6px 8px 0;
}

.benefit-card img {
  width: 120px;
  margin: 0 auto;
}

.benefit-card h4 {
  margin: 12px 0 10px;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: #3697e2;
}

.benefit-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-card li {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.benefit-card li::before {
  content: "★";
  color: #ffd343;
  position: absolute;
  left: 0;
}

.work-style {
  width: 191px;
  height: 42px;
  margin: 14px auto 0;
  border-radius: 5px;
  background: #ffd343;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: bold;
}

.contact-cta, .contact-cta_tour {
  text-align: center;
}

.contact-cta p, .contact-cta_tour p {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
}

.main-cta, .main-cta_tour {
  position: relative;
  margin: 11px auto 0;
  width: 318px;
  height: 59px;
  border: none;
  border-radius: 50px;
  background: #cc0000;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
}

.main-cta:focus, .main-cta_tour:focus {
  outline: none;
}

.main-cta_tour {
  background: #3697e2;
  width: 431px;
  justify-content: center;
  padding: 0 48px 0 20px;
  margin-bottom: 100px;
}

.main-cta::after, .main-cta_tour::after {
  content: "";
  position: absolute;
  right: 20px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #ffffff;
}


/* 商品情報見出しとボーダー左端を揃える（共通幅 1158px） */
.products {
  width: min(1158px, calc(100% - 34px));
  margin: 0 auto 0;
}

.products-subtitle {
  margin: 34px 0 40px;
  width: 100%;
  position: relative;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #222;
  letter-spacing: 1.4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-bottom: 20px;
  background-image: repeating-linear-gradient(
    to right,
    #9FD1F6 0 5px,
    transparent 5px 10px
  );
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 2px;
}

.products-subtitle::before,
.products-subtitle::after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url("../../img/circle.png") no-repeat center / contain;
  flex: 0 0 30px;
  align-self: center;
  transform: translateY(10%);
}

.featured-product {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.featured-product-saiwall {
  padding-bottom: 52px;
  border-bottom: 1px solid #dbdbdb;
}

.featured-media {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  height: auto;
}

.featured-media img {
  width: 100%;
  height: auto;
}

.featured-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  height: 24px;
  padding: 0 10px;
  border-radius: 5px;
  background: #f2d9d9;
  color: #555555;
  font-size: 14px;
  line-height: 24px;
}

.featured-body {
  padding-right: 8px;
}

.featured-kind {
  margin: 2px 0 0;
  font-size: 20px;
  font-weight: bold;
  color: #3697e2;
}

.featured-body h4 {
  margin: 8px 0 0;
  font-size: 34px;
  font-weight: bold;
  color: #3697e2;
}

.featured-copy {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.3;
}

.featured-note {
  margin: 21px 0 0;
  font-size: 15px;
  line-height: 1.4;
}

.code-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 94px 1fr;
  column-gap: 10px;
  align-items: center;
}

.code-row span {
  min-height: 30px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}

.code-row span:nth-child(1) {
  padding-left: 8px;
  border-left: 2px solid #3697e2;
  white-space: nowrap;
}

.netis-row {
  margin-top: 6px;
  display: inline-flex;
  align-items: stretch;
  font-size: 0;
  background: #efefef;
}

.netis-label {
  min-width: 100px;
  height: 30px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #3697e2;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
}

.netis-text {
  height: 30px;
  padding: 0 0 0 12px;
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #333333;
  font-size: 13px;
  white-space: nowrap;
}

.netis-code {
  height: 30px;
  padding: 0 12px 0 0;
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #2b8bd7;
  font-size: 13px;
  white-space: nowrap;
}

.action-row {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 213px 215px;
  gap: 8px;
}

.action-btn {
  position: relative;
  height: 41px;
  border-radius: 5px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  padding-left: 12px;
}

.action-btn::before {
  content: none;
}

.action-btn::after {
  content: "";
  position: absolute;
  right: 14px;
  width: 12px;
  height: 12px;
  background: url("../../img/arrow.png") no-repeat center / contain;
}

.action-btn-blue {
  background: #3697e2;
}

.action-btn-red {
  background: #ff7575;
}

.product-grid {
  margin-top: 53px;
  display: flex;
  flex-direction: column;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
}

.product-row-divider {
  grid-column: 1 / -1;
  height: 1px;
  margin-top: 52px;
  margin-bottom: 52px;
  background: #dbdbdb;
}

.product-card {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 5px;
  overflow: hidden;
  background: #e1e1e1;
}



.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-kind {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: #3697e2;
}

.product-card h4 {
  margin: 0;
  min-height: 2em;
  font-size: 26px;
  line-height: 1.6;
  font-weight: bold;
  color: #3697e2;
}

h4.product-card-title-low {
  min-height: 3.1em;
}

.product-summary {
  margin: 10px 0 0;
  min-height: 42px;
  font-size: 16px;
  font-weight: 600;
}

.product-detail {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #97c7ef;
  font-size: 15px;
  line-height: 1.8;
  min-height: 92px;
}

.featured-product-saiwall .product-detail {
  min-height: 0;
  height: auto;
}

.product-code-row {
  margin-top: 10px;
  margin-bottom: 30px;
  padding-left: 8px;
  border-left: 2px solid #36a2e8;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 4px 10px;
  align-items: start;
}

.product-code-row span {
  font-size: 13px;
  line-height: 1.4;
}

.product-code-row span:first-child {
  white-space: nowrap;
}

.product-note {
  font-size: 12px;
  color: #949494;
  margin :0;
}

.product-list {
  --col-gap: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--col-gap);
  position: relative;
}



.action-row-small {
  margin-top: auto;
  grid-template-columns: 147px 149px;
  gap: 4px;
  padding-top: 14px;
}

.sale-zone {
  margin-top: 100px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #ececec;
  padding: 100px 0;
}

.sale-zone > .product-grid,
.sale-zone > .contact-cta,
.sale-zone > .contact-cta_tour {
  width: min(var(--product-inner-max), calc(100% - 34px));
  margin-left: auto;
  margin-right: auto;
}

.sale-zone .products-subtitle {
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  width: min(1158px, calc(100% - 34px));
  color: #3697e2;
}

.sale-zone .product-grid {
  margin-top: 34px;
}

.action-btn-single {
  margin-top: auto;
  width: 100%;
  justify-content: flex-start;
  padding-left: 12px;
  padding-top: 0;
}

.sale-zone .contact-cta,
.sale-zone .contact-cta_tour {
  margin-top: 100px;
}

.tour {
  width: min(var(--product-inner-max), calc(100% - 34px));
  margin: 100px auto 0;
  padding-bottom: 68px;
}

.tour-lead {
  margin: 14px 0 53px;
  font-size: 16px;
}

.tour-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 49px;
}



.tour-btn {
  margin: 22px auto 0;
  width: 370px;
  height: 42px;
  border-radius: 5px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.16);
  background: #3697e2;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-info {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 24px;
  align-items: start;
}

.tour-info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  padding: 4px 0 6px;
}

.tour-info-table th,
.tour-info-table td {
  border: 0;
  font-size: 16px;
  line-height: 1.5;
  vertical-align: top;
}

.tour-info-table th {
  width: 100px;
  background: transparent;
  padding: 0 10px;
  vertical-align: top;
  white-space: nowrap;
}

.tour-info-table th span {
  height: 33px;
  background: #D7EEFF;
  color: #3697E2;
  text-align: center;
  font-weight: 500;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-info-table td {
  color: #2b2b2b;
  padding: 4px 0 4px 22px;
}


.tour-map {
  height: 320px;
}

.tour-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 1300px) {
  .quick-nav {
    gap: 6px;
  }

  .quick-nav a {
    font-size: 15px;
    height: 44px;
  }

  .about-wrap {
    width: calc(100% - 34px);
  }

  .tour {
    width: min(var(--product-inner-max), calc(100% - 34px));
  }

  .products {
    width: min(1158px, calc(100% - 34px));
  }

  .products-header-wrap {
    width: min(1158px, calc(100% - 34px));
  }


  .section-header h1 {
    font-size: 30px;
  }

  .about-lead {
    font-size: 16px;
  }

  .panel-block h3 {
    font-size: 22px;
  }


  .product-detail {
    font-size: 13px;
  }

  .benefit-card h4 {
    font-size: 26px;
  }

  .contact-cta p {
    font-size: 16px;
  }


  .products-subtitle {
    font-size: 24px;
  }

  .featured-body h4 {
    font-size: 28px;
  }

  .featured-kind,
  .featured-copy {
    font-size: 18px;
  }

  .featured-note {
    font-size: 15px;
  }

  .action-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 14px;
  } */

  .product-card,
  .product-media {
    width: 100%;
  }

  .product-media {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 980px) {
  .pc-only {
    display: none;
  }

  .product-card h4 {
    font-size: 24px;
  }

  .product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 106px 40px;
  }

  .product-row {
    display: contents;
  }

  .section-header.section-header-left {
    margin-left: 0;
  }

  .quick-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .problem-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tour-images,
  .tour-info {
    grid-template-columns: 1fr;
  }

  .tour-info-table {
    border-spacing: 0 8px;
  }

  .tour-info-table th,
  .tour-info-table td {
    font-size: 15px;
  }

  .tour-info-table td {
    padding-left: 14px;
  }

  
}

@media (max-width: 640px) {
  .featured-product {
    grid-template-columns: 1fr;
    max-width: 978px;
    gap: 0;
    padding: 10px;
  }

  .featured-media {
    height: auto;
    aspect-ratio: 517 / 306;
  }

  .featured-body {
    padding: 10px 0 0;
  }

  .featured-note {
    border-top: 1px dashed #97c7ef;
    padding-top: 10px;
    margin-top: 12px;
  }

  .industry-grid,
  .benefit-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .code-row {
    grid-template-columns: 86px 1fr;
    column-gap: 8px;
  }

  .code-row span {
    padding: 6px 0 !important;
    min-height: 0;
    font-size: 12px;
  }

  .code-row span:nth-child(1) {
    font-weight: bold;
    border-left: 2px solid #3697e2;
    padding-left: 8px !important;
  }



  .netis-row {
    display: grid;
    grid-template-columns: 86px 1fr;
    width: 100%;
  }

  .netis-label {
    min-width: 86px;
    font-size: 12px;
    grid-row: 1 / span 2;
    height: auto;
  }

  .netis-text,
  .netis-code {
    height: auto;
    font-size: 12px;
    padding: 0 8px;
    white-space: normal;
  }

  .netis-text {
    grid-column: 2 / 3;
  }

  .netis-code {
    grid-column: 2 / 3;
    margin-top: 2px;
    word-break: break-all;
  }

  .product-card h4 {
    min-height: 0;
  }

  .product-summary {
    min-height: 0;
  }

  .product-detail {
    min-height: 0;
    font-size: 14px;
  }

  .product-code-row {
    grid-template-columns: 72px 1fr;
    gap: 4px 8px;
  }

  .product-code-row span {
    font-size: 12px;
  }

  .action-row,
  .action-row-small {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .action-row-small {
    margin-top: 10px;
  }

  .action-btn {
    height: 38px;
    font-size: 15px;
  }

  .main-cta,
  .main-cta_tour,
  .tour-btn {
    width: 100%;
    max-width: 100%;
  }

  .main-cta::after,
  .main-cta_tour::after {
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 330px) {
  .quick-nav a,
  a.main-cta_tour {
   font-size: 12px;
  }
  a.main-cta{
    font-size: 14px;
  } 
}
