.p-support-section {
    margin: 0 auto 50px;
}
.p-support-product__model, .p-meta__label, .p-support-product__desc, .c-download__title, .c-download__line, .p-support-list li, .c-download__note, c-download__note, .c-pdf-notice__text, .c-download__meta, .p-meta__value  {
    font-size: 16px;
}
.p-support-heading {
    font-size: 26px;
}
.so-panel {
    margin-bottom: 0!important;
}

/* ヘッダー画像調整 */
.product-header__image {
  width: 40%;
  height: 337px;
  position: relative;
}

.product-header__image img {
  width: 100%;
  height: auto;
}

.product-header {
    height: auto !important;
    aspect-ratio: 1450 / 535 !important;
    padding: 0 !important;
    background-image: url("http://www.carinasystem.co.jp/wp-content/themes/genesis_tcd103-child/images/header/21@2x.png") !important;
    color: #fff !important;
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: top !important;
}
html body.admin-bar.single-service div.product-header {
    margin-top: 100px !important;
    min-height: 640px !important;
}
.product-header__inner {
  width: 100% !important;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

html body.single-service div.product-header__inner {
    transform: translateY(-200px) translateX(-30px) !important;
    margin-top: 0 !important;
}


/* スマホ対応 */
@media (max-width: 800px) {
html body.single-service div.product-header__inner {
    transform: translateY(-350px) translateX(0px) !important;
    margin-top: 0 !important;
}
}

.product-header__texts {
  position: absolute !important;
  width: 100%;
  max-width: 100% !important;
  z-index: 50;
  margin-left: 90px!important;
}
.p-support-tabs__inner a:hover {
  color: #00468c!important;
  text-decoration: underline;
}

html body.single-service .product-header__catch1 {
  font-size: clamp(28px, 3.2vw, 35px) !important;
  margin-bottom: 10px;
  font-weight: 600;
  text-shadow: none;
  color: #333;
  filter: none;
  text-align: left !important;
  transition: none !important;
  animation: none !important;
      letter-spacing: 5px;
}

.product-header__catch2 {
  font-size: 20px;
  color: #000;
  font-weight: 600;
}

.product-header__title {
  font-size: 35px;
  font-weight: 600;
  color: #000;
}

.product-header__subtitle {
  font-size: 16px;
  margin: 0;
  color: #000;
}

.product-header,
.product-header * {
  writing-mode: horizontal-tb !important;
  -webkit-writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  transform: none !important;
  rotate: none !important;
}

.product-entry, .single-service .site-main, .single-service .product-entry {
    margin-top: -400px;
}


html body.single-service div.product-content {
    background: transparent !important;
    margin-top: 100px !important;
}

/* スマホ対応 */
@media (max-width: 800px) {
html body.single-service div.product-content {
    margin-top: -350px !important;
}
}

/* スマホ対応 */
@media (max-width: 800px) {
  .panel-widget-style {
    max-width: 100%!important;
    width: 100%!important;
  }

  .product-header {
    height: auto !important;
    aspect-ratio: auto !important;
    min-height: 400px !important;
  }
  
  .product-header__texts {
    position: relative !important;
    top: auto !important;
    transform: none !important;
    max-width: 100%;
    margin: 50px 0 16px 0 !important;
    padding: 20px;
  }
  .panel-widget-style {
    max-width: 100%!important;
    width: 100%!important;
  }

  /* ★ ここに追加 ★ */
  html body.admin-bar.single-service div.product-header {
    margin-top: 50px !important;
    min-height: 600px !important;
  }

  .product-header {
    height: auto !important;
    aspect-ratio: auto !important;
    min-height: 400px !important;
  }
  

.product-entry, .single-service .site-main, .single-service .product-entry {
    margin-top: -300px;
}
}


  @media screen and (max-width: 800px) {
    html body.single-service .product-header__texts {
        margin-top: 320px !important;
      }
    }
  .product-header__image {
    height: auto;
  }
  
  .product-header__image img {
    max-width: 159px;
    width: 100%;
    margin-top: 138px;
  }

  .product-header__catch1 {
    font-size: clamp(26px, 5vw, 40px) !important;
  }

  .product-header__catch2 {
    font-size: 10px;
  }

  .product-header__title {
    font-size: 20px;
  }

  .product-header__subtitle {
    font-size: 10px;
  }

  .product-header {
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }
  
  .product-header__image {
    width: 40%;
  }
  
  .product-header {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .p-support-tabs__item {
    font-size: 16px;
  }
  
  .product-content {
    margin: 0 0 50px;
  }

/* スマホ時:サポートタブを2列表示 */
@media screen and (max-width: 767px){
  .p-support-tabs__inner{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }

  .p-support-tabs__inner br{
    display: none;
  }

  .p-support-tabs__item{
    display: block;
  }
}

.p-support-product__image img {
    border: none;
}

.p-meta__value {
    text-align: right;
    display: inline-block;
    width: 80%;
}