@charset "utf-8";

@media screen and (max-width: 767px) {
  html {
    font-size: 10px;
  }

  body {
    min-width: 100%;

  }


  .l-mv {
    width: 100%;
    min-width: 100%;
    overflow: hidden;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  /* .wrap {
        padding: 0 20px;
    } */

  .gnav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 78%;
    max-width: 300px;
    height: 100vh;
    background: var(--brown-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    padding: 0 40px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 200;
  }

  .gnav-open {
    transform: translateX(0);
  }

  .nav-link-mobile {
    color: #efe6d6;
    align-items: flex-start;
  }

  .nav-jp-mobile {
    color: #9a8f76;
  }

  .menu-btn {
    display: block;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-full-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 4%;
        row-gap: 40px;

  }
.case-card{
  width: 48%;
}
.top__case-card{
  width: 100%;
}
  .form-two {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    gap: 30px;
  }

  .sec-head {
    margin-bottom: 16px;
  }



  /*header------------------------------------*/

  /* ヘッダー */
  .l-header {
    padding: 20px 0;
  }

  .l-header__logo {
    width: 17rem;
  }

  .l-header__nav {
    display: none;
    /* SP ではドロワーに置き換え */
  }

  .l-header__hamburger {
    display: flex;
  }

  /* ドロワー背景動画 — SPで表示・再生 */
  .l-drawer__bg {
    display: block;
  }

  /*main------------------------------------*/
  .l-main {
    margin-top: 80px;
  }

  .l-container-min {
    width: 100%;
  }

  .top__mv {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 80px;
    margin-bottom: 60px;
  }

  .top__mv-imgWrap:before {
    content: none;
  }

  .c-secTtl {
    font-size: 2.2rem;
  }

  .secTtl-sub {
    font-size: 1.6rem;
  }

  .top__service-name {
    font-size: 1.5rem;
  }

  .top__service {
    margin-bottom: 60px;
  }

  .top__mvCopy {
    position: inherit;
    width: 100%;
    margin-top: 2rem;
  }

  .top__mv-copyTxt {
    font-size: 2.4rem;
    margin-bottom: 1.4rem;
  }

  .top__case-more {
    position: inherit;
    top: inherit;
    right: inherit;
    text-align: right;
            margin-top: 40px;
        font-size: 1.6rem;
  }

  .contact-grid>div {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .top__serviceWrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .top__service-item {
    width: auto;
  }
.top__secTtl{
scroll-margin-top: 80px;
}
  .top__case {
    margin-bottom: 60px;
    
  }

  .case-title {
    margin-bottom: 6px;
    font-size: 1.5rem;
  }

  .case-tag{
    font-size: 1.2rem;
  }
  .case-desc,
  .case-modal__excerpt,
  .contact__txt {
    font-size: 1.4rem;
  }

  .case-modal__content {
    max-width: 90%;
    margin: 24% auto;
    padding: 6rem 4% 3rem;
  }

  .top__service-img {
    height: auto;
  }

  .noidea-copyWrap,
  .bubble-scene,
  .noidea-illust {
    width: 100%;
  }

  .ai-section {
    background-color: transparent;
  }

  .ai-photoWrap {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  .ai-photoWrap:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    display: block;
    background-color: #231815b0;
  }

  .ai-photoWrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
  }

  .ai-grid {
    position: relative;
  }

  .noidea-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .noidea-ttl,
  .ai__ttl {
    font-size: 2.4rem;
  }

  .noidea-txt {
    margin-top: 10px;
    font-size: 1.6rem;
  }

  .noidea-btn,
  .ai__txt {
    font-size: 1.6rem;
  }

  .ai__copy {
    margin-top: 1.6rem;
    font-size: 2rem;
    line-height: 1.4;
  }

  .ai__ttl {
    margin-bottom: 2rem;
  }

  .contact__subTtl {
    display: none;
  }

  .smf-form .smf-text-control__control,
  .smf-form .smf-textarea-control__control {
    padding: 1.6rem 0 !important;
  }

  .smf-item__label__text,
  .smf-action button.smf-button-control__control {
    font-size: 1.5rem;
  }

  .smf-form--letter+.smf-action {
    text-align: center !important;
  }

  .footer__nav-link {
    font-size: 1.6rem;
    line-height: 1.5;
    text-align: center;
  }

  .nav-jp-invert {
    font-size: 1.2rem;
  }

  .footer-mark img {
    width: 70%;
  }

  .footer-addr {
    font-size: 1.3rem;
  }

  .footer-badge img {
    width: 25%;
    display: block;
      min-width: 60px;
    margin: 0 auto;
  }

  .header__nav-jp {
    color: #231815;
  }

  .page-heading {
    font-size: 3.2rem;
    margin-top: 6px;
  }

  .pageTtl-label {
    font-size: 1.6rem;
  }

  .message-heading {
    font-size: 2.4rem;
  }
    .page-hero-grid {
                display: flex;
        flex-direction: column-reverse;
        gap: 4rem;
    }
  .page-copy {
    margin-top: 3.2rem;
  }
    .message-grid {
        grid-template-columns: 1fr;
    }
  .page-hero-lead {
    margin-top: 20px;
    font-size: 1.6rem;
  }

  .page-hero-txtWrap {
    width: 100%;
  }

  .about__feature {
    margin: 20px 0 50px;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  /* .about__feature{
      padding: 15px 4% 40px;
}
.about__feature-item:not(:last-of-type) {
    border-bottom: 1px solid #888;
    border-right: none;
      padding-bottom: 3rem;
}
.tc-icon img{
  width: 38%;
} */
  .about__feature-label {
    font-size: 1.2rem;
    min-width: auto;
    padding: 2px 6px;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    display: flex;
    min-width: 90%;
    line-height: 1.4;
  }

  .tc-icon img {
    width: 90%;
  }

  .about__feature-item {
    padding: 0 6%;
  }
      .message-body {
        padding: 32px 5%;
    }
  .message-profile{
        /* flex-direction: column; */
            align-items: baseline;
  }
  .signoff-role{
    font-size: 1.4rem;
  }
  .signoff-name{
    font-size: 2rem;
  }
.message-bio {
    font-size: 1.4rem;
}
.script-label{
      font-size: 1.4rem;
}
.block-heading{
      font-size: 3rem;
}
.dl-table {
    font-size: 1.5rem;
}
.dl-row{
      gap: 2rem;
    padding: 8px 0;
    grid-template-columns: 20% 1fr;
}
.info-grid{
  gap: 5rem;
}
.client-list {
    font-size: 1.4rem;
}
.copyright{
  font-size: 1.2rem;
}
.main-showcase{
  margin-top: 100px;
}
.filter-btn{
  
  font-size: 1.6rem;
  padding-right: 4%;
    margin-right: 4%;
}
.loadmore-btn{
  font-size: 1.4rem;
}
.alm-btn-wrap{
  margin: 50px 0 60px;
}
.case-thumb{
      margin-bottom: 6px;
}
.moreBtn-showcase{
      width: 30px;
    height: 30px;
}
.page-404{
      margin: 150px 0 120px;
}
}