@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ============================================
   ACE R&D Lab. ワイヤーフレーム
   全体幅: 1081px / 左ナビ: 305px / メイン: 776px
   ============================================ */

/* ------ Variables ------ */
:root {
  --color-bg:          #ffffff;
  --color-border:      #b0b0b0;
  --color-border-light:#e8e8e8;
  --color-placeholder: #d5d5d5;
  --color-text:        #333333;
  --color-muted:       #888888;
  --color-accent:      #c00000;
  --color-nav-bg:      #f5f5f5;
  --color-note:        #0066cc;
  --color-note-bg:     #eef5ff;
  --layout-max-width:  1081px;
  --layout-sidebar:    305px;
  --layout-main:       776px;
}

/* ------ Reset ------ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html{
  scroll-behavior: smooth;
}
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  color: var(--color-text);
  /* background: #f0f0f0; */
  font-size: 16px;
  line-height: 1.7;
}

h2,h3,h4,h5,p{
  text-align: start;
}
/* ============================================
   WIREFRAME ANNOTATIONS（ワイヤー注釈用・納品時削除）
   ============================================ */
.wf-banner {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
}

.wf-note {
  background: var(--color-note-bg);
  border-left: 3px solid var(--color-note);
  color: var(--color-note);
  font-size: 11px;
  padding: 6px 10px;
  margin: 8px 0;
  font-weight: 500;
  line-height: 1.5;
}
.wf-note::before { content: "📝 "; }

.wf-section-label {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}


/* ============================================
   LAYOUT - ページ全体
   ============================================ */
.l-page {
  background: var(--color-bg);
  min-height: 100vh;
  box-shadow: 0 0 30px rgba(0,0,0,.08);
}

.l-content {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  display: flex;
  gap: 0;
}


/* ============================================
   HEADER
   ============================================ */
.header {
  border-bottom: 1px solid var(--color-border);
  padding: 0 20px;
}

.header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-light);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-img {
  width: 140px;
  height: 36px;
  background: var(--color-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-muted);
  border: 1px dashed var(--color-border);
}

.header__utils {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--color-muted);
}
.header__utils a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 11px;
}

/* Global Navigation */
.gnav {
  display: flex;
  gap: 0;
}

.gnav__item {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  font-size: 12px;
  font-weight: 500;
  border-right: 1px solid var(--color-border-light);
  cursor: default;
  position: relative;
}
.gnav__item:first-child { border-left: 1px solid var(--color-border-light); }

.gnav__item--active {
  background: var(--color-nav-bg);
  font-weight: 700;
}
.gnav__item--active::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--color-accent);
}



/* ============================================
   PAGE TITLE
   ============================================ */
.page-title {
  background: var(--color-nav-bg);
  padding: 24px 20px;
  border-bottom: 1px solid var(--color-border);
}
.page-title__heading {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  max-width: 1080px;
  margin: 0 auto;
}
.page-title__sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
  margin-left: 8px;
}


/* ============================================
   SIDEBAR NAVIGATION（左ナビ 305px）
   ============================================ */
.sidebar {
  width: var(--layout-sidebar);
  min-width: var(--layout-sidebar);
  border-right: 1px solid var(--color-border-light);
  padding: 20px 0;
}

.sidebar__title {
  font-size: 12px;
  font-weight: 700;
  padding: 0 16px 10px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 4px;
}

.sidebar__list { list-style: none; }

.sidebar__link {
  display: block;
  padding: 9px 16px;
  font-size: 12px;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background .15s;
}
.sidebar__link:hover { background: var(--color-nav-bg); }

.sidebar__item--active .sidebar__link {
  background: var(--color-nav-bg);
  font-weight: 700;
  border-left: 3px solid var(--color-accent);
  padding-left: 13px;
}


/* ============================================
   MAIN CONTENT（メインエリア 776px）
   ============================================ */
.main {
  flex: 1;
  width: var(--layout-main);
  max-width: var(--layout-main);
  padding: 30px 30px 50px;
  min-width: 0;
}


/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-title {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-text);
  letter-spacing: 1px;
}
.section-title__sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-muted);
  margin-left: 6px;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 700;
  margin: 30px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--color-accent);
}


/* ============================================
   IMAGE PLACEHOLDER（ワイヤー用ダミー画像）
   ============================================ */
.placeholder {
  /* background: var(--color-placeholder); */
  /* border: 1px dashed var(--color-border); */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: 11px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.placeholder__cross {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.placeholder__cross::before,
.placeholder__cross::after {
  content: "";
  position: absolute;
  /* background: var(--color-border); */
  opacity: .3;
}
.placeholder__cross::before { top: 0; bottom: 0; left: 50%; width: 1px; }
.placeholder__cross::after  { left: 0; right: 0; top: 50%; height: 1px; }


/* ============================================
   HERO SECTION（セクション01）
   ============================================ */
.hero {
  margin-bottom: 30px;
}

.hero__image {
  width: 100%;
  height: auto;
  margin-bottom: 24px;
  border-radius: 2px;
  overflow: hidden;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-light);
}

.hero__text {
  font-size: 16px;
  line-height: 2.2;
}
.hero__text p { margin-bottom: 1em; }

.hero__sub-heading {
  font-size: 16px;
  font-weight: 700;
  margin: 28px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-light);
}


/* ============================================
   STRENGTH COMPARISON（セクション02）
   ============================================ */
.compare {
  display: flex;
  gap: 16px;
  margin: 20px 0;
}

.compare__box {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 18px;
  text-align: center;
}
.compare__box h4 {
  font-size: 16px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border-light);
}
.compare__box p {
  font-size: 14px;
  line-height: 1.8;
}

.compare__box--highlight {
  border-color: var(--color-accent);
  background: #fff8f8;
}

.compare__plus {
  flex: 0;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

/* Development Flow */
.dev-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 24px 0;
  justify-content: center;
}

.dev-flow__step {
  background: var(--color-nav-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  min-width: 130px;
}

.dev-flow__arrow {
  font-size: 20px;
  color: var(--color-border);
  padding: 0 8px;
}


/* ============================================
   MEASUREMENT TECHNOLOGY（セクション03）
   ============================================ */
.measurement-list {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.measurement-card {
  flex: 1;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 16px;
}

.measurement-card__image {
  width: 100%;
  height: 130px;
  margin-bottom: 10px;
  border-radius: 2px;
}

.measurement-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.measurement-card__desc {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.6;
}

.measurement-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  padding-top: 16px;
}

/* ============================================
   PRODUCT CARDS（セクション04）
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.product-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.product-card__image { height: 180px; }

.product-card__body { padding: 14px 16px; }

.product-card__title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-card__desc {
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* Full-width variant */
.product-card--full {
  grid-column: 1 / -1;
}
.product-card--full .product-card__inner {
  display: flex;
}
.product-card--full .product-card__image {
  width: 50%;
  min-height: 200px;
}
.product-card--full .product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.universalharness{
  margin-top: 16px;
  display: flex;
  justify-content: center;
}
.universalharness .content{
  width: 90%;
} 
.universalharness .content img{
  width: 100%;
  display: block;
  margin: 0 auto;
} 


/* Stat callout (inside product cards) */
.stat-row {
  display: flex;
  gap: 16px;
  margin: 20px 0;
}

.stat-box {
  flex: 1;
  background: var(--color-nav-bg);
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
}
.stat-box__number {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
}
.stat-box__label {
  font-size: 10px;
  color: var(--color-muted);
  margin-top: 4px;
}

/* Inline stat */
.inline-stat__number {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
}
.inline-stat__label {
  font-size: 11px;
  color: var(--color-muted);
  display: block;
}
.placeholder__cross img {
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto;
}

/* ============================================
   LOAD TESTING SECTION（セクション05）
   ============================================ */
.load-test {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.load-test__col { flex: 1; }

.load-test__image { height: 280px; }

.load-test img{
  /* height: 100%; */
  /* width: auto; */
  object-fit: contain;
}

.load-test__caption {
  font-size: 12px;
  line-height: 1.8;
  margin-top: 12px;
}


/* ============================================
   RELATED LINKS（セクション06）
   ============================================ */
.related-links {
  display: flex;
  gap: 16px;
  margin: 20px 0;
}

.related-link-card {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
}

.related-link-card__thumb {
  height: 60px;
  margin-bottom: 10px;
}

.related-link-card__title {
  font-size: 12px;
  font-weight: 700;
}

.related-link-card__arrow {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 4px;
}


/* ============================================
   NOTE BLOCK（注釈ブロック）
   ============================================ */
.note-block {
  background: #fafafa;
  border: 1px solid var(--color-border-light);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.8;
  border-radius: 2px;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #333;
  color: #aaa;
  padding: 24px 20px;
  font-size: 11px;
  text-align: center;
  border-top: 3px solid var(--color-accent);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer__links a {
  color: #aaa;
  text-decoration: none;
  font-size: 11px;
}


/* ============================================
   RESPONSIVE（SP対応 〜767px）
   ============================================ */
@media (max-width: 768px) {
  .l-content              { flex-direction: column; }

  .sidebar                { width: 100%; min-width: 100%; border-right: none; border-bottom: 1px solid var(--color-border-light); padding: 12px 0; }
  .sidebar__list          { display: flex; flex-wrap: wrap; gap: 0; }
  .sidebar__link          { padding: 6px 12px; font-size: 11px; border-bottom: none; white-space: nowrap; }

  .main                   { width: 100%; max-width: 100%; padding: 20px 16px 40px; }

  .compare,
  .product-grid,
  .measurement-list,
  .stat-row,
  .load-test,
  .related-links          { flex-direction: column; grid-template-columns: 1fr; }

  .product-card--full .product-card__inner { flex-direction: column; }
  .product-card--full .product-card__image { width: 100%; }

  .gnav                   { flex-wrap: wrap; }
  .gnav__item             { flex: none; width: 33.33%; }

  .dev-flow               { flex-direction: column; }
  .dev-flow__arrow        { transform: rotate(90deg); }
  .dev-flow__step { width: 80%;}

  .header__utils          { display: none; }
  
  .measurement-list {
    flex-direction: column;
    gap: 16px;
  }

  .measurement-card__image {
    height: 220px;  /* PC時の130px → SP時は220pxに拡大 */
  }

  h2,h3,h4,h5,p{
    text-align: center;
  }

  
}

@media (max-width: 530px) {
  .product-card__desc,
  .note-block{
    text-align: start;
  }

 
}