@charset "UTF-8";

html{
    scroll-behavior: smooth;
}

.c-header-menu__link{
    padding: 0 12.5px 6px;
    
}
.c-header-menu__item{
    font-size: clamp(10px, 15px, 15px);
    white-space: nowrap;
}

/* ==========================================================================
   NEW MAIN VISUAL (可変・PC右端固定・SP下配置)
   ========================================================================== */
   .main-visual-new {
    width: 100vw; /* 画面幅いっぱい */
    background-color: #ffffff;
    overflow: hidden;
    margin-bottom: 80px;
  }
  
  /* PC: CSS Gridで右端固定レイアウトを実現 */
  .mv-grid-container {
    align-items: center;
    position: relative;
    max-width: none;
    width: 100%;
  }
  
  /* テキストエリア（PC: 左側） */
  .mv-text-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start; /* 左寄せ */
    padding-left: 30px; /* 親サイトの1140pxパディングと合わせる */
  }
  
  /* コンテンツ内でのテキスト位置調整（親サイトの1140px幅に準拠した左端位置） */
  .mv-text-content {
    max-width: 1140px;
    margin-right: -100px; /* 写真と重なるようにネガティブマージン */
    position: relative;
    z-index: 5;
    padding: 80px 0;
  }
  
  /* テキスト：親サイトより20%大きく調整 */
  .mv-text-content h1 {
    font-size: 32px; /* 親サイトは32px、20%増で約38px */
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    top: 10px;
    display: inline;
    vertical-align: 10px;
  }

  span.large {
    font-size: 42px; 
  }

  span.va4 {
    vertical-align:4px; 
  }

  span.va8 {
    vertical-align:8px; 
  }
  
  .highlight-new {
    background-color: #f3be00; /* 淡いゴールドイエロー */
    padding: 5px 14px;
    display: inline-block;
    margin-bottom: 8px;
    width: 50vh;
    min-width: 536px;
  }
  
  .en-sub-new {
    font-size: 18px; /* これも20%大きく調整 */
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-left: 5px;
    letter-spacing:10px;
    text-shadow: 0 0 5px #FFF,0 0 5px #FFF,0 0 5px #FFF;
  }

  .en-sub-new span {
    color: #f3be00;
  }
  
  /* 写真エリア（PC: 右側・画面端固定） */
  .mv-photo-new {
    grid-column: 4;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 25vw; /* 左側のテキスト領域を確保（親サイト最大幅に合わせて調整） */
    z-index: 1;
    overflow: hidden;
  }
  
  .mv-photo-new img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画面端までトリミングして表示 */
  }
  
  .mv-photo-new img.img-pc {
    display: block;
  }

  .mv-photo-new img.img-sp {
    display: none;
  }

  .p-company-main{
    padding-bottom: 72px;

  }

  .p-company-sec{
    margin-bottom: 100px;
  } 

  /* 背景色 */  
.gray-bg {
    background-color: #f5f5f5;
    padding: 72px 20px;
  }

.yellow-bg {
    background-color: #fffcf0;
    padding: 72px 20px;
  }  


/* h2 */
.srs-h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    color: #333;
    letter-spacing : 3px;
  }
  
  .srs-h2::before,
  .srs-h2::after {
    content: '';
    display: inline-block;
    width: 47px;
    height: 42px;
  }

  .srs-h2::before {
    background-image: url(/assets/images/srs/h2-l.svg) ;
    background-repeat: no-repeat;
  }

  .srs-h2::after {
    background-image: url(/assets/images/srs/h2-r.svg) ;
    background-repeat: no-repeat;
  }

  .p-company-mess__img figcaption{
    justify-content:left;

}

  .p-company-mess__img figcaption.pt-0{
    padding-top: 0;
}

.p-company-list02 a:link {
    color: rgb(0, 0, 238) ;
    text-decoration:underline;
    }

.p-company-list02 a:visited {
        color:rgb(85, 26, 139);
        }    

/* white-card */
.white-card {
    background-color: #fff;
    padding: 30px;
    text-align: center;
  }

.white-card p{
    font-size: 17px;
    font-weight: 500;
}

.white-border-card {
    background-color: #fff;
    padding: 30px;
    text-align: left;
    border: #b5b5b5 1px solid;
  }

.white-border-card .p-works-blk__list li{
    font-size: 18px;
    font-weight: 500;
}

.white-border-card .p-works-blk__list li::before{
    color: #f3be00;
}


.mt-10{
    margin-top: 10px;
}

.mt-20{
    margin-top: 20px;
}

.mt-30{
    margin-top: 30px;
}

.mt-40{
    margin-top: 40px;
}

.mt-50{
    margin-top: 50px;
}


  
  /* ==========================================================================
     SP版
     ========================================================================== */
  @media (max-width: 900px) {
    /* PCのGrid設定を解除し、Flexboxに変更（SPは縦並び） */
    .mv-grid-container {
      display: flex;
      flex-direction: column-reverse; /* 上に写真、下に文字 */
      width: 100%;
    }

    .main-visual-new{
        margin-bottom: 0px;
    }
  
    /* 写真（SP: 上） */
    
    .mv-photo-new {
      display: block;
      position: relative;
      grid-column: auto;
      width: 100vw;
      height: 40vh; /* SPでの写真高さを設定 */
      left: 0;
      margin-bottom: -20px;
    }
  
    /* テキスト（SP: 下） */
    .mv-text-wrapper {
      grid-column: auto;
      display: block;
      padding: 0 20px;
      max-width: 100%;
      width: 100%;
      
    }
  
    .mv-text-content {
      max-width: 100%;
      margin-right: 0;
      padding: 0 0 0px 0;
    }
  
    .mv-text-content h1 {
      font-size: 20px; /* SP用にサイズを調整 */
    }

    span.large {
        font-size: 28px; 
      }
      
    .highlight-new {
    padding: 3px 10px;
    display: inline-block;
    margin-bottom: 8px;
    width: 100%;
    min-width: 100%;
  }

  span.va4 {
    vertical-align:3px; 
  }

  span.va8 {
    vertical-align:6px; 
  }  

  .en-sub-new {
    font-size: 14px; /* これも20%大きく調整 */
    letter-spacing: 0.15em;
    margin-left: 0;
    letter-spacing:7px;
    margin-top: -6px;
  }
  
    .mv-photo-new img {
      border-radius: 0;
    }

    .mv-photo-new img.img-pc {
        display: none;
      }
    
    .mv-photo-new img.img-sp {
        display: block;
      }

    /* 背景色 */  
.p-company-main,.gray-bg,.yellow-bg {
    padding: 52px 0;
  }

  .p-company-sec{
    margin-bottom: 60px;
  } 

    /* h2 */
.srs-h2 {
    font-size: 22px;
    margin-bottom: 16px;
    gap: 30px;
  }
  
  .srs-h2::before,
  .srs-h2::after {
    width: 37px;
    height: 32px;
  }

  .p-company-mess__img figcaption{
    padding-top: 6pt;
}

.p-company-mess__img figcaption span{
    font-size: 12px;
}

.p-company-mess__img figcaption b{
    font-size: 18px;
}

  .p-company-mess__img figcaption.pt-0{
    padding-top: 0;
}

/* white-card */
.white-card {
    padding: 20px;
  }

.white-card p{
    font-size: 15px;
}

.white-border-card {
    padding: 20px;
  }

  h3.p-works-blk__ttl{
    margin-bottom: 8px;
}

  .white-border-card .p-works-blk__list li{
    font-size: 14px;
    margin-top: 2px;
}

.white-border-card .p-works-blk__list li::before{
    color: #f3be00;
}  

.p-works-case__mainimg img.w260{
    max-width: 260px;
}
  }

/* fotter */
  @media(min-width: 768px){
    .l-footer{
        padding:0 var(--gutter) 34px;
    }
    .l-footer__inner{
        display:grid;
        justify-content:space-between;
        grid-template:"logo r-logo" auto "logo menu" auto "logo copyright" auto/auto auto;
        padding-top:42px;
    }
    
    .r-footer__logo{
    align-self:auto;
    grid-area:r-logo;
    text-align: right;
    margin-bottom: 10px;
    }
    
    .l-footer__menu{
    grid-area:menu;
    padding:0 2px 0 0;
    }
    
    .l-footer__copyright{
        grid-area:copyright;
        padding-top:10px;
        font-size:12px;
        text-align:right;
        }
    }
    
@media(max-width: 767.98px){
    .l-footer__logo{
        width:240px;
        margin-inline:auto;
    }
}



