/* ===================================
   追加分css
   =================================== */

   .header {
    display: flex;
    align-items: center;
  }
  
  .news-empty {
    text-align: center;
  }
  
  .form-item-label {
    margin-bottom: 0;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .plan-select-contactttl label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    background: #fff;
    font-size: 0.95em;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
  }
  
  .btn-cta {
    border: none;
  }
  
  .wpcf7-spinner {
    display: block !important;
  }
  
  .work-detail-image img {
    aspect-ratio: 4 / 3;
  }

  .section-work{
    padding: 3.5rem 0 7rem;
  }

  .product-page{
    padding: 3.5rem 0 5rem;
  }

  .section-work-list .container-main{
    max-width: 100%;
    padding: 0;
  }

  .section-work-list .container-main .section-title,
  .section-work-list .container-main .section-subtitle,
  .section-work-list .container-main .work-more{
    max-width: 1200px;
    padding: 0 1.5rem;
  }

  .section-work-list .container-main .section-title{
    margin: 0 auto 1rem;
  }

  .section-work-list .container-main .section-subtitle{
    margin: 0 auto 3rem;
  }

  .section-work-list .container-main .work-more{
    margin: 2.5rem auto 0;
  }
  

  .main-content .section-work-single  .container-main,
  .main-content .section-news .container-main{
    max-width: 1000px;
  }

  .main-content .section-work .work-grid{
    max-width: 1400px;
    padding: 0 1.5rem;
  }
  
  
  .recruit-form {
    margin-top: 4rem;
  }
  
  .recruit-form-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .news-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2rem;
  }
  
  .news-detail-image {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2.5rem;
  }
  
  .news-detail-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  
  .news-detail-body {
    background: var(--card);
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
  }
  
  .news-detail-body h2,
  .work-detail-body h2 {
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--foreground);
    position: relative;
    margin-top: 4rem;
  }
  
  .news-detail-body h2:after,
  .work-detail-body h2:after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 1rem auto 0;
  }
  
  .news-detail-body h3,
  .work-detail-body h3 {
    margin-top: 3rem;
    padding: 0.5rem 1.25rem;
    background: var(--background-muted);
    border-left: 6px solid var(--primary);
    font-size: 1.25rem;
    color: var(--foreground);
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }
  
  .news-detail-body p {
    color: rgba(34, 47, 62, 0.8);
    line-height: 1.9;
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .news-detail-body p:last-child {
    margin-bottom: 0;
  }
  
  .news-detail-back {
    text-align: center;
    margin-top: 2.5rem;
  }
  
  .news-back-link {
    color: var(--primary);
    font-weight: 500;
    transition: opacity var(--transition);
  }
  
  .news-back-link:hover {
    opacity: 0.7;
    text-decoration: underline;
  }
  
  a.news-card {
    display: block;
    color: inherit;
    text-decoration: none;
  }
  
  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 12px;
    margin-top: 24px;
    text-align: center;
  }
  
  .pagenavi-conts a,
  .pagenavi-conts .page-numbers.current {
    display: inline-block;
    border: 1px solid var(--foreground);
    box-sizing: border-box;
    padding: 4px 12px;
  }
  
  .pagenavi-conts .page-numbers.current {
    font-weight: bold;
  }
  
  .news-section {
    width: 100%;
    max-width: 800px;
    margin: 5rem auto 0;
  }
  
  .news-section dl {
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
    border-bottom: 1px dotted #999;
    padding-bottom: 0.5rem;
  }
  
  .news-section dl dt {
    width: 6em;
    margin-right: 1rem;
  }
  
  .news-section dl dd {
    width: calc(100% - 7rem);
  }

  .work-card-image{
    aspect-ratio: 4 / 3;
  }
  
  .work-detail-imageconts {
    margin-bottom: 3rem;
  }
  
  .work-detail-image {
    overflow: hidden;
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .work-detail-image-track {
    display: flex;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }
  
  .work-detail-image-slide {
    flex: 0 0 100%;
    min-width: 0;
  }
  
  .work-detail-image-slide img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  .work-detail-imagelist ul {
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .work-detail-imagelist li {
    /* flex: 1 1 0; */
    min-width: 0;
    width: calc(100% / 3);
  }
  
  .work-detail-image-thumb {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    opacity: 0.65;
    transition:
      border-color 0.2s ease,
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  
  .work-detail-image-thumb:hover,
  .work-detail-image-thumb:focus-visible {
    opacity: 1;
    transform: translateY(-2px);
  }
  
  .work-detail-image-thumb:focus-visible {
    outline: 2px solid var(--cobalt-green);
    outline-offset: 3px;
  }
  
  .work-detail-image-thumb.is-active {
    border-color: var(--cobalt-green);
    opacity: 1;
  }
  
  .work-detail-image-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  
  .aligncenter {
    text-align: center;
    display: block;
    margin: 0 auto;
  }
  
  /* ===================================
     レスポンシブ
     =================================== */
  
  @media (max-width: 480px) {
    .breadcrumb {
      font-size: 0.75rem;
      line-height: 1rem;
      flex-wrap: wrap;
    }
  
    .news-detail-body h2,
    .work-detail-body h2 {
      font-size: 1.35rem;
      margin-top: 2.5em;
    }
  
    .news-detail-body h3,
    .work-detail-body h3 {
      font-size: 1.1rem;
      margin-top: 2rem;
      line-height: 1.65rem;
    }
  
    .news-section {
      margin-top: 3rem;
    }
  
    .news-section dl {
      flex-direction: column;
    }
  
    .news-section dl dt,
    .news-section dl dd {
      width: 100%;
      margin: 0;
    }

    .section-work{
      padding: 2.5rem 0 5rem;
    }

    .product-page{
      padding: 2.5rem 0 3rem;
    }
  
    .work-detail-imageconts,
    .work-detail-image {
      margin-bottom: 1rem;
    }
  }
  
  @media (min-width: 640px) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }
    
  }
  
  @media (min-width: 768px) {
    .news-detail-title {
      font-size: 1.875rem;
    }
  
    .news-detail-body {
      padding: 2.5rem;
    }
  
    .news-detail-body p {
      font-size: 1.125rem;
    }
  }
  
  @media (min-width: 1024px) {
    .footer-grid {
      grid-template-columns: 1.2fr 1fr 1fr 1fr;
    }
  }
  
  @media (prefers-reduced-motion: reduce) {
    .work-detail-image-track,
    .work-detail-image-thumb {
      transition: none;
    }
  }