/**
 * COUXU Theme Custom Overrides
 *
 * このファイルはSCSSで構築された既存スタイルを上書きするためのものです
 * 元のSCSSファイルには影響を与えません
 *
 * 作成日: 2025-05-17
 */

/* ===== 全体共通の上書き ===== */
body {
  @media screen and (max-width: 768px) {
    font-size: 1.6rem;
  }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  @media screen and (max-width: 768px) {
    width: 90%;
  }
}

.group-flex {
  align-items: start;
}

.btn-header {
  width: fit-content;
  max-width: none;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* News item horizontal layout */
.new {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.new .thumb {
  flex: 0 0 124px;
  width: 124px;
  height: 82px;
  overflow: hidden;
  border: 1px solid #eee;
}
.new .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Benefits list grid */
.main section.sec-benefits{
  padding:4em 0 6rem;
  @media screen and (max-width:768px){
    padding:0em 0;
  }
}


.list-benefits{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
}
.benefit-item{
  flex:1 1 calc(33.333% - 2rem);
  background:#fff;
  border:1px solid #eee;
  border-radius:4px;
  padding:2rem;
  box-shadow:0 1px 4px rgba(0,0,0,0.05);
  display:flex;
  flex-direction:column;
  gap:1.2rem;
}
@media screen and (max-width:768px){
  .benefit-item{flex:1 1 calc(50% - 1rem);}
}
.benefit-item .thumb {
  width: 80%;
  margin: 0 auto;
}
.benefit-item .thumb img{width:100%;height:auto;object-fit:cover;}
.benefit-item h3{font-size:1.8rem;font-weight:600;line-height:1.4;text-align:center;}
.benefit-item p{font-size:1.5rem;line-height:1.6;}

/* Contact form styles */
.contact-form-wrapper{
  max-width:800px;
  margin:0 auto 4rem;
}
.contact-form .form-group{margin-bottom:2rem;}
.contact-form .form-row{display:flex;gap:2rem;flex-wrap:wrap;}
.contact-form .form-row .form-group{flex:1 1 48%;}
.contact-form .form-label{font-weight:600;margin-bottom:0.6rem;font-size:1.6rem;color:#333;}
.contact-form label{display:block;font-size:1.6rem;color:#333;margin-bottom:0.6rem;cursor:pointer;}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="file"],
.contact-form textarea{
  width:100%;
  padding:1rem 1.2rem;
  font-size:1.6rem;
  border:1px solid #ccc;
  border-radius:4px;
  background:#fff;
  transition:border .2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus{outline:none;border-color:#F5B400;}
.contact-form textarea{min-height:160px;resize:vertical;}
.contact-form input[type="radio"]{margin-right:0.4rem;}
.btn-submit{
  display:inline-block;
  padding:2rem 4rem;
  background:#000000;
  color:#fff;
  border:none;
  border-radius:4px;
  font-weight:600;
  font-size:1.6rem;
  cursor:pointer;
  transition:background .3s ease;
  width:100%;
  text-align:center;
}
.btn-submit:hover{background:#494949;}
@media screen and (max-width:768px){
  .contact-form .form-row{flex-direction:column;gap:1.6rem;}
  .contact-form .form-row .form-group{flex:1 1 100%;}
}

/* CTA list on contact page */
.sec-contact-cta{
  padding:4rem 0;
}
.cta-list{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
  justify-content:center;
}
.cta-item{
  flex:1 1 calc(50% - 2rem);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem;
  border:1px solid #eee;
  border-radius:6px;
  background:#fff;
  transition:box-shadow .3s ease;
}
.cta-item:hover{box-shadow:0 4px 12px rgba(0,0,0,0.08);}
.cta-item img{max-width:100%;height:auto;object-fit:contain;}
@media screen and (max-width:768px){
  .cta-item{flex:1 1 100%;}
}

/* Features list for Sekai Connect */
.sec_sekai_features{
  padding:4rem 0;
}
.feature-list{
  display:flex;
  flex-direction:column;
  gap:6rem;
}
.feature-item .content{
  display:flex;
  align-items:center;
  gap:4rem;
}
.feature-item .text{flex:1;}
.feature-item .img{flex:0 0 40%;}
.feature-item .number p{font-size:3.6rem;font-weight:700;color:#F5B400;margin-bottom:0.5rem;}
.feature-item h3{font-size:2.2rem;font-weight:600;margin-bottom:1rem;line-height:1.4;}
.feature-item p{font-size:1.6rem;line-height:1.7;}
@media screen and (max-width:768px){
  .feature-item .content{flex-direction:column;}
  .feature-item .img{width:100%;}
}

/* ===== ヘッダー関連の上書き ===== */
.header-nav {
  transition: all 0.3s ease;

  > ul {
    display: flex;
    gap: 1.5rem;

    > li {
      > a {
        position: relative;
        font-size: 1.6rem;
        font-weight: 400;
        color: #333;
        padding: 0.8rem 0.5rem;
        transition: all 0.3s ease;
      }

      &.has-dropdown {
        position: relative;

        .dropdown-menu {
          position: absolute;
          top: 100%;
          left: 0;
          min-width: 200px;
          background-color: #ffffff;
          box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
          padding: 10px 0;
          display: none;
          z-index: 1000;

          li {
            display: block;
            width: 100%;
            margin: 0;

            a {
              display: block;
              padding: 10px 20px;
              text-align: left;
              color: #333;
              transition: background-color 0.3s ease;

              &:hover {
                background-color: #f0f0f0;
              }
            }
          }
        }
        &:hover .dropdown-menu {
          display: block;
        }
      }
      &.has-mega .mega-menu {
        padding: 0.5rem 2rem 0.5rem;
        width: 280px;
      }
    }
  }

  @media (max-width: 768px) {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background-color: #ffffff;
    padding: 0;
    overflow-y: auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    
    /* メニュートグルボタンのスタイル */
    .menu-toggle {
      position: absolute;
      top: 0;
      right: 0;
      width: 50px;
      height: 50px;
      background-color: transparent;
      border: none;
      cursor: pointer;
      z-index: 5;
      display: block;
  
      
      /* 開いた状態のマイナスアイコン */
      &.active::after {
        transform: translate(-50%, -50%) rotate(0);
      }
    }
    
    /* メニュー本体のスタイル */
    > ul {
      flex-direction: column;
      gap: 0;
      padding: 15px 0;
      margin-top: 60px;
      width: 100%;
      > li {
        border-bottom: 1px solid #eee;
        position: relative;
        width: 100%;

        > a {
          display: block;
          padding: 15px 20px;
          font-size: 16px;
          transition: background-color 0.2s ease;
          
          &:hover, &:active {
            background-color: #f5f5f5;
          }
        }
        
        /* 開いた時の矢印 */
        &.has-dropdown.open::after,
        &.has-mega.open::after {
          transform: rotate(-135deg);
          top: 22px;
        }

        /* ドロップダウンメニュー */
        &.has-dropdown {
          .dropdown-menu {
            position: static;
            display: none;
            padding: 0;
            box-shadow: none;
            background-color: #f9f9f9;
            border-top: 1px solid #eee;
            
            li {
              a {
                padding: 12px 20px 12px 35px;
                font-size: 15px;
                color: #dddddd;
                border-bottom: 1px solid #eee;
                display: block;
                position: relative;
                
                &::before {
                  content: '';
                  position: absolute;
                  left: 20px;
                  top: 19px;
                  width: 6px;
                  height: 6px;
                  border-radius: 50%;
                  background-color: #ddd;
                }
                
                &:hover, &:active {
                  background-color: #f0f0f0;
                  
                  &::before {
                    background-color: #999;
                  }
                }
              }
              
              &:last-child a {
                border-bottom: none;
              }
            }
          }
          
          &.open .dropdown-menu {
            display: block;
            animation: fadeInDown 0.3s ease forwards;
          }
        }
        
        /* メガメニュー対応 */
        &.has-mega {
          .mega-menu {
            position: static;
            display: none;
            width: 100%;
            padding: 0;
            background-color: #f9f9f9;
            box-shadow: none;
            border-top: 1px solid #eee;
            width: 90%;
            margin: 0 auto;
            
            .mega-inner {
              display: flex;
              flex-direction: column;
              padding: 15px 20px;
              
              .mega-title {
                font-size: 15px;
                font-weight: 600;
                margin-bottom: 10px;
                color: #333;
              }
              
              ul {
                li {
                  margin-bottom: 8px;
                  
                  a {
                    display: block;
                    padding: 8px 0 8px 15px;
                    font-size: 14px;
                    color: #dddddd;
                    position: relative;
                    
                    &::before {
                      content: '';
                      position: absolute;
                      left: 0;
                      top: 14px;
                      width: 6px;
                      height: 6px;
                      border-radius: 50%;
                      background-color: #ddd;
                    }
                    
                    &:hover, &:active {
                      color: #111;
                      
                      &::before {
                        background-color: #999;
                      }
                    }
                  }
                }
              }
              
              .mega-image {
                margin-top: 15px;
                width: 100%;
                
                img {
                  width: 100%;
                  height: auto;
                  border-radius: 8px;
                }
              }
            }
          }
          
          &.open .mega-menu {
            display: block;
            animation: fadeInDown 0.3s ease forwards;
          }
        }
      }
    }
    
    /* メニュー開閉時のアニメーション */
    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
}

@media (max-width: 768px) {
  .menu-trigger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;

    span {
      display: block;
      width: 100%;
      height: 2px;
      background-color: #333;
      border-radius: 2px;
      transition: all 0.3s ease;
    }
  }

  .mobile-menu-open {
    .menu-trigger {
      span {
        &:nth-child(1) {
          transform: translateY(9px) rotate(45deg);
        }
        &:nth-child(2) {
          opacity: 0;
        }
        &:nth-child(3) {
          transform: translateY(-9px) rotate(-45deg);
        }
      }
    }
    .header-nav {
      right: 0;
    }
    .mobile-menu-overlay {
      opacity: 1;
    }
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
}

.header.scrolled {
  @media (max-width: 768px) {
    .group-content {
      padding: 1.8rem 2rem;
    }
  }
}

/* ===== フッター関連の上書き ===== */

/* ===== メインビジュアル関連の上書き ===== */
.sec-main.service {
  padding-top: 48px;
  @media (max-width: 768px) {
    padding-bottom: 0px;
  }
}

.sec-top .group-content {
    height: 100vh;
    max-height: 833px;
    @media (max-width: 768px) {
      max-height: 380px;
      margin-top: 20%;
    }
}

/* .sec-service .group-content .group {
  max-width: unset;
} */

.sec-top.top-page .group-content {
  justify-content: center;
  margin-bottom: -4%;
  .group-text-image {
    text-align: left;
    p {
      font-size: 6rem;
      letter-spacing: 0.02em;
      text-shadow: unset;
      margin: 0.2em 0;
      line-height: 1.2;

      @media (max-width: 768px) {
        font-size: calc(4.5rem + 1vw);
        margin: 0.1em 0;
      }
      @media (max-width: 768px) {
        font-size: calc(3rem + 1vw);
        line-height: 1.3;
        text-align: left;
        flex-wrap: wrap;
        justify-content: center;
      }
      &:nth-child(2) .img-text {
        @media (max-width: 1080px) {

        }
      }
    }
    .img {
      display: flex;
      align-items: center;
      display: none;
    }
    .img-text {
      /* display: inline-block;
      font-weight: 700;
      font-size: 6rem;
      background-image: linear-gradient(90deg, rgba(0, 225, 255, 1) 0%, rgba(255, 0, 153, 1) 50%, rgba(255, 191, 0, 1) 100%); 
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      text-shadow: 0 0 1px rgba(255, 255, 255, 0.2);

      @media (max-width: 1080px) {
        font-size: calc(4.5rem + 1vw);
      } */
      @media (max-width: 768px) {
        font-size: calc(3rem + 1vw);
        display: inline-block;
        /* background-image: linear-gradient(90deg, rgba(56, 231, 255, 1) 0%, rgba(255, 62, 178, 1) 50%, rgba(255, 206, 59, 1) 100%); */
      }
    }
  }
  .btn-header {
    margin-top: 4rem;
    transition: transform 0.3s ease;
    @media (max-width: 768px) {
      margin-top: 3rem;
    }
  }
  .text {
    line-height: 1.8;
    max-width: 36em;
    text-align: center;
  }
}

/* ===== ホームページ特有の上書き ===== */

@media (max-width: 480px) {
  .title-toppage-main {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ===== サービスページ関連の上書き ===== */
html body {
  .main {
    @media (max-width: 768px) {
      margin-top: 5rem;
    }
    &.h-sidebar {
      @media screen and (max-width: 768px) {
        width: 100%;
      }
      .group-section-main {
        padding-bottom: 80px;
        @media (max-width: 768px) {
          padding-bottom: 0px;
        }
        .item-case-study {
          padding: 2rem;
          &:hover {
            padding: 2rem;
            opacity: 0.8;
          }
        }
        .item-faq .content {
          max-width: 100%;
        }
        .item-column .content {
          gap: 0;
          .title p {
            margin-bottom: 6px;
            font-size: 1.8rem;
          }
        }
  
        &.entertainment {
          @media (max-width: 768px) {
            section.section-main {
              padding: 12% 4% 0;
            }
          }
          &.entame-ec {
            @media (max-width: 768px) {
              section.section-main {
                padding: 12% 4% 0;
              }
            }
          }
          padding-bottom: 0;
          .social-icons {
            display: flex;
            gap: 2rem;
            
            a {
              display: flex;
              flex-direction: column;
              align-items: center;
              text-decoration: none;
              color: #333;
              transition: all 0.3s ease;
              
              &:hover {
                transform: translateY(-3px);
                /* color intentionally removed to allow platform-specific hover colors */
              }
              
              i {
                font-size: 2rem;
                margin-bottom: 0.5rem;
              }
              
              span {
                font-size: 0.8rem;
                color: #666;
              }
            }
          }
          .list, ul.list {
            gap: 1rem;
            &.flex {
              display: flex;
              flex-direction: column;
            }
          .list.list-scroll {
            flex-direction: row;
          }
            
            .item {
              display: flex;
              align-items: flex-start;
              gap: 2rem;
              padding: 2rem;
              background-color: #f8f9fa;
              border-radius: 8px;
              box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
              transition: all 0.3s ease;
  
              .item-icon {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 6rem;
                height: 6rem;
                min-width: 6rem;
                background-color: #f0f4ff;
                border-radius: 50%;
                color: #3a7bd5;
                i {
                  font-size: 2.4rem;
                }
                @media screen and (max-width: 768px) {
                  margin-bottom: 1.5rem;
                }
              }
              .item-content {
                flex: 1;
              }
              .title p {
                font-size: 2rem;
                font-weight: 600;
                color: #333;
                @media screen and (max-width: 768px) {
                  font-size: 1.8rem;
                }
              }
              .group-txt p {
                font-size: 1.5rem;
                line-height: 1.6;
              }
              @media screen and (max-width: 768px) {
                flex-direction: column;
                padding: 1.6rem;
              }
            }
            &.list-scroll .item {
               border: none;
               max-width: 280px;
               width: inherit;
               &.ic {
                align-items: center;
               }
            }
          }
          .item-column .image {
            max-width: fit-content;
            width: 140px;
          }
        }
      }
      .side-bar .list a i {
        font-size: 12px;
        color: #333;
        display: inline-block;
        width: auto;
        height: auto;
        line-height: 0;
      }
    }
  
    &.full-width {
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      padding: 0;
  
      .group-section-main {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px 64px;
      }
      .section-main {
        margin-bottom: 60px;
        .wrap {
          max-width: 1200px;
          margin: 0 auto;
        }
      }
      .group-column {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
        &.faq-list {
          grid-template-columns: 1fr;
        }
        @media (max-width: 768px) {
          grid-template-columns: 1fr;
        }
      }
      .item-column {
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        overflow: hidden;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
  
        .content {
          padding: 20px;
          flex: 1;
          display: flex;
          flex-direction: column;
        }
        .title {
          text-align: center;
          margin-bottom: 15px;
          p {
            font-size: 18px;
            font-weight: 600;
            color: #333;
          }
        }
        .text p {
          font-size: 14px;
          line-height: 1.6;
          color: #666;
        }
      }
      .item-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 60px;
        height: 60px;
        margin: 20px auto 10px;
        border-radius: 50%;
        background: #fff;
        color: #fff;
        i {
          font-size: 24px;
        }
      }
    }

    .sec-main {
      @media (max-width: 768px) {
        width: 90%;
        margin: 0 auto;
      }
      .container .content {
        @media (max-width: 768px) {
          padding: 0;
        }
        .content-title {
          h2 {
            font-size: 5rem;
            font-weight: 400;
            letter-spacing: 0.02em;
            position: relative;
            display: inline-block;
            margin-bottom: 0.2em;
            img {
              width: 100%;
              height: 40px;
              object-fit: contain;
            }
  
            &::after {
              content: '';
              position: absolute;
              bottom: -20px;
              left: 0;
              width: 40%;
              height: 0.05em;
              background-image: linear-gradient(90deg, rgba(0, 225, 255, 1) 0%, rgba(255, 0, 153, 1) 60%);
            }
            @media (max-width: 480px) {
              font-size: 3rem;
            }
          }
          p {
            font-size: 1.8rem;
            font-weight: 700;
            margin-top: 0.8em;
          }
        }
        .content-body {
          align-items: center;
          justify-content: center;
          .content-body__left {
            h3 {
              font-size: 4rem;
              font-weight: 700;
              line-height: 1.4;
              position: relative;
              display: inline-block;
              @media (max-width: 728px) {
                font-size: 2.8rem;
                line-height: 1.6;
              }
            }
            .group-txt p {
              font-size: 1.6rem;
              line-height: 1.8;
              font-weight: 400;
              margin-bottom: 2em;
              letter-spacing: 0.01em;
              max-width: none;
            }
            .group-btn .btn-header {
              transition: all 0.3s ease;
              box-shadow: 0 6px 12px rgba(225, 228, 255, 0.4);
              background-color: rgba(255, 255, 255, 0.9);
              max-width: none;
              width: fit-content;
              padding: 18px 24px;
  
            }
            .logo {
              img {
                transition: transform 0.3s ease;
                width: 180px;
              }
            }
          }
          .content-body__right {
            img {
              transition: transform 0.3s ease;
            }
          }
        }
      }
    }
    .sec-main-page {
      @media (max-width: 768px) {
        margin: 0px 0 10rem;
      }
      &.sec-main-detail {
        .container .content {
          @media (max-width: 768px) {
            flex-direction: column;
          }
        }
        @media (max-width: 768px) {
          margin-top: 4%;
        }
      }
    }
    @media (max-width: 768px) {
     .sec-news, .sec-journal ,.sec-case, .sec-recruit {
      margin-top: 16%;
     }
    }
  }
}


/* ===== ブログ・記事ページ関連の上書き ===== */

/* ===== セカイコネクトページのスタイル ===== */
.service-features {
  margin: 3rem 0;
  padding: 1.5rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);

  h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid #333;
  }

  @media screen and (max-width: 768px) {
    padding: 1.2rem;
  }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;

  li {
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    transition: all 0.3s ease;

    p {
      margin: 0;
      font-size: 1.2rem;
      line-height: 1.6;
      @media screen and (max-width: 768px) {
        font-size: 1.1rem;
      }
    }
  }
}

.feature-title {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  @media screen and (max-width: 768px) {
    font-size: 1.3rem;
  }
}
.service-features .feature-title {
 color: #E95098;
}


.success-stories {
  margin: 3rem 0;
  h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid #E67944;
  }
  @media screen and (max-width: 768px) {
    padding: 1.2rem;
  }
}

.case-item {
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;

  .case-company {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
    @media screen and (max-width: 768px) {
      font-size: 1.3rem;
    }
  }

  .case-result {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #dddddd;
    @media screen and (max-width: 768px) {
      font-size: 1.1rem;
    }
  }
}

.stats-block {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f5f8ff;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);

  h4 {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .stats-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0;
    margin: 0;
    list-style: none;

    li {
      width: 48%;
      text-align: center;
      margin-bottom: 1rem;
      padding: 1rem 0.5rem;
      background-color: #fff;
      border-radius: 6px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);

      .stat-number {
        display: block;
        font-size: 1.8rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 0.3rem;
        @media screen and (max-width: 768px) {
          font-size: 1.6rem;
        }
      }
      .stat-label {
        font-size: 0.9rem;
        color: #666;
      }
      @media screen and (max-width: 768px) {
        width: 100%;
        margin-bottom: 0.8rem;
      }
    }
  }
  @media screen and (max-width: 768px) {
    padding: 1.2rem;
  }
}


/* ===== タブレット対応 ===== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
}

.sec-company-info {
  padding: 0;
}

.section-service-main {
  margin-top: 0;
  margin-bottom: 0;
  gap: 0;
  .group-grid {
    margin-top: 0;
    @media screen and (max-width: 768px) {
      grid-template-columns: repeat(1, 1fr);
    }
  }
}

.sec-up-foot {
  margin: 50px auto;
  padding: 0 15px;

  .contact-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: all 0.3s ease;

    &:hover {
      transform: none;
      box-shadow: none;
    }
    @media (max-width: 768px) {
      flex-direction: column;
      padding: 20px;
    }
  }

  .cta-content {
    flex: 1;
    min-width: 280px;
    @media (max-width: 768px) {
      width: 100%;
    }
  }

  .cta-button {
    margin-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;

    .btn-header {
      transition: all 0.3s ease;
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      margin: 0;
      @media (max-width: 768px) {
        width: 100%;
        max-width: 100%;
      }
    }
    @media (max-width: 768px) {
      width: 100%;
      margin-left: 0;
      margin-top: 0px;
    }
  }

  .title p {
    font-weight: 600;
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    @media (max-width: 768px) {
      font-size: 18px;
      text-align: center;
    }
  }

  .features {
    margin-top: 15px;
    ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 15px 30px;
      @media (max-width: 768px) {
        flex-direction: column;
      }
    }
    li {
      display: flex;
      align-items: center;
      font-size: 14px;
      i {
        color: #3a7bd5;
        margin-right: 8px;
      }
      @media (max-width: 768px) {
        width: 100%;
        font-size: 13px;
      }
    }
  }
}

.recruit-features {
  margin-top: 20px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 8px;

  h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
  }

  .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;

    li {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
      font-size: 14px;
      i {
        color: #3a7bd5;
        margin-right: 10px;
        font-size: 16px;
        width: 20px;
        text-align: center;
      }
    }
    .feature-title {
      font-weight: 400;
      color: #dddddd;
    }
  }
}

.recruit-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;

  .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    min-width: 100px;
    @media (max-width: 768px) {
      min-width: 80px;
    }

    .stat-number {
      font-size: 24px;
      font-weight: 700;
      color: #3a7bd5;
      margin-bottom: 5px;
    }
    .stat-label {
      font-size: 12px;
      color: #666;
    }
  }
  @media (max-width: 768px) {
    justify-content: center;
  }
}

/* Coming Soon Display */
.coming-soon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 50px 0;
  text-align: center;
  background-color: #f9f9f9;
  border-radius: 5px;
  margin: 20px 0;
}

.coming-soon p {
  font-size: 18px;
  color: #888;
  font-weight: 400;
}

.list-item-toppage .coming-soon {
  min-height: 200px;
  margin: 0;
}

.main.h-sidebar .group-section-main.entertainment .list.list-scroll {
   flex-direction: row;
   gap: 0rem;
}

.main .sec-main .container .content .iframe-container {
    width: 1200px;
    padding: 40px;
    background-color: #fff;
    margin: 0 auto;
    @media (max-width: 768px) {
      width: 100%;
      padding: 20px;
    }
}

.sec-main.service .container .content .content-body .content-body__left .group-btn .btn-header {
  max-width: unset;
}

/* ===== 会社概要ページのスタイル改善 ===== */
.sec-company-info {
  margin-bottom: 64px;
}

.sec-company-info .container {
  max-width: 1000px;
  margin: 0 auto;
}

.sec-company-info .company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sec-company-info .company-table th,
.sec-company-info .company-table td {
  padding: 20px 30px;
  font-size: 16px;
  text-align: left;
  border-bottom: 1px solid #f6f6f6;
}

.sec-company-info .company-table th {
  width: 25%;
  font-weight: 600;
  color: #333;
  border-right: 1px solid #f6f6f6;
  background-color: rgba(255, 255, 255, 0.7);
}

.sec-company-info .company-table td {
  color: #333;
  line-height: 1.6;
  background-color: rgba(255, 255, 255, 0.7);
}

.sec-company-info .company-table tr:last-child th,
.sec-company-info .company-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .sec-company-info {
    margin-bottom: 40px;
  }
  
  .sec-company-info .company-table th,
  .sec-company-info .company-table td {
    padding: 15px;
    font-size: 14px;
  }
  
  .sec-company-info .company-table th {
    width: 35%;
  }
}

@media (max-width: 480px) {
  .sec-company-info .company-table {
    border-radius: 6px;
  }
  
  .sec-company-info .company-table th,
  .sec-company-info .company-table td {
    padding: 12px 15px;
    font-size: 13px;
  }
  
  .sec-company-info .company-table th {
    width: 40%;
  }
}

/* 採用までの流れ - 横スクロール */
.section-main .list.list-scroll {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 0;
  scrollbar-width: thin;
  scrollbar-color: #282828 #f0f0f0;
}

.section-main .list.list-scroll::-webkit-scrollbar {
  height: 8px;
}

.section-main .list.list-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.section-main .list.list-scroll::-webkit-scrollbar-thumb {
  background-color: #333;
  border-radius: 10px;
}

.section-main .list.list-scroll .item {
  min-width: 280px;
  max-width: 280px;
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  gap: 1rem;
  align-items: flex-start;
}

.section-main .list.list-scroll .item.ic {
  min-width: 60px;
  max-width: 60px;
  background: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.section-main .list.list-scroll .item.ic img {
  width: 24px;
  height: auto;
}

.section-main .list.list-scroll .item .title {
  margin-top: 15px;
  margin-bottom: 10px;
}

.section-main .list.list-scroll .item .title p {
  font-size: 1.6rem;
  font-weight: 600;
}

/* サービスページのステップ表示用のスタイル */
.step-badge {
  border-radius: 25px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(from 150deg at 51.81% 56.03%, #000 0deg, #666 360deg);
  /* background-image: radial-gradient(at 15% 20%, #353535 0%, rgba(56, 231, 255, 0) 60%), radial-gradient(at 85% 15%, #4c4c4c 0%, rgba(255, 206, 59, 0) 55%), radial-gradient(at 60% 60%, #1b1b1b 0%, rgba(255, 62, 178, 0) 55%), radial-gradient(at 20% 90%, #777777 0%, rgba(0, 40, 255, 0) 65%); */
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.section-main .list.list-scroll .item .img {
  text-align: center;
}

.section-main .list.list-scroll .item .group-txt p {
  font-size: 1.4rem;
  color: #555;
}

@media (max-width: 768px) {
  .section-main .list.list-scroll .item {
    min-width: 240px;
    max-width: 240px;
  }
  
  .section-main .list.list-scroll .item.ic {
    min-width: 40px;
    max-width: 40px;
  }
}

/* FAQセクションのスタイル改善 */

.section-main.sec-main-ft .title-main {
  text-align: center;
}

.section-main.sec-main-ft .group-column.faq-list {
  max-width: 900px;
  margin: 0 auto 40px;
}

.section-main.sec-main-ft .item-faq .group-q .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-main.sec-main-ft .item-faq .group-q .mask {
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}

.section-main.sec-main-ft .item-faq .group-q .mask p {
  color: #fff;
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

/* FAQアコーディオンの新しいスタイル */
.section-main.sec-main-ft .item-faq {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  background-color: #fff;
}

/* 質問部分 */
.section-main.sec-main-ft .item-faq .group-q {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.section-main.sec-main-ft .item-faq .group-q .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-main.sec-main-ft .item-faq .group-q .group {
  display: flex;
  align-items: center;
  padding: 0 !important;
}

.section-main.sec-main-ft .item-faq .group-q .mask p {
  color: #fff;
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

.section-main.sec-main-ft .item-faq .group-q .arr {
  background-color: #f0f0f0;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.section-main.sec-main-ft .item-faq .group-q .arr img {
  width: 14px;
  height: auto;
  transition: transform 0.3s ease;
}

.section-main.sec-main-ft .item-faq.active .group-q .arr img {
  transform: rotate(180deg);
}

/* 回答部分 */
.section-main.sec-main-ft .item-faq .group-a {
  position: relative;
  transition: none !important;
}

.section-main.sec-main-ft .item-faq .group-a .content {
  position: relative;
  padding-left: 47px;
}

.section-main.sec-main-ft .item-faq .group-a .mask {
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  position: absolute;
  left: 0;
  top: 0;
}

.section-main.sec-main-ft .item-faq .group-a .mask p {
  color: #fff;
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

.section-main.sec-main-ft .item-faq .group-a .text p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.section-main.sec-main-ft .faq-contact {
  text-align: center;
  margin-top: 40px;
}

.section-main.sec-main-ft .faq-contact p {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
}

.section-main.sec-main-ft .recruit-cta-container {
  margin: 0 auto;
}

.section-main.sec-main-ft .recruit-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}


@media (max-width: 768px) {
  .section-main.sec-main-ft .recruit-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .section-main.sec-main-ft {
    padding: 0;
  }
  
  .section-main.sec-main-ft .item-faq {
    padding: 15px;
  }
  
  .section-main.sec-main-ft .item-faq .group-q {
    padding: 15px;
  }
  
  .section-main.sec-main-ft .item-faq .group-a {
    padding: 0 15px 15px 62px;
  }
  
  .section-main.sec-main-ft .item-faq .group-a .mask {
    left: 0px;
  }
}

.main.h-sidebar .group-section-main.entertainment .list.entame {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 3.2rem;
  .item {
    align-items: normal;
  }
}

.main.h-sidebar .group-section-main.entertainment .list.list-scroll .item .group-txt,
.section-main .list.list-scroll .item .title,
.main.h-sidebar .group-section-main.entertainment .list.list-scroll .item .title {
  margin-top: 0;
  margin-bottom: 0;
}

.sec-service .group-content .group .list .item:not(:nth-child(6)) {
  @media (max-width: 768px) {
    min-height: 100px;
  }
  .image {
    img {
      height: 25px;
      width: fit-content;
      object-fit: contain;
      @media (max-width: 768px) {
        height: 3.2vw;
      }
    }
  }
}

.sec-service .group-content .group .list .item:nth-child(6) {
  @media (max-width: 768px) {
    min-height: 100px;
  }
  .image {
    img {
      height: 90px;
      width: fit-content;
      object-fit: contain;
      @media (max-width: 768px) {
        height: 90px;
      }
    }
  }
}

.header-nav ul li.has-mega .mega-menu li a img {
  width: 40px;
  height: 40px;
}

.header-nav ul li.has-mega .mega-menu {
  top: calc(100% + 10px);
  width: 320px;
  padding-top: 0;
  border-radius: 12px;
}

.header-nav ul li.has-mega:hover .mega-menu {
  visibility: visible;
  opacity: 1;
}

/* メガメニューとナビの間の隙間をカバーする透明な領域 */
.header-nav ul li.has-mega::after {
  content: '';
  position: absolute;
  height: 0; /* remove transparent overlay */
  width: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.main.h-sidebar .side-bar .list a {
  white-space: nowrap;
}

.main.h-sidebar .side-bar .list a.btn-sidebar {
  margin-left: -15px;
}

/* .sec-news .group-content .title-toppage-main {
    width: 350px;
} */

.sec-news .group-content .list-news {
    max-width: unset;
    margin-top: 0;
    max-width: 1100px;
}

.main.h-sidebar .group-section-main .item-faq .group-a {
  transition: none;
}

@media (max-width: 768px) {
    .main .sec-main-page .container .content .content-page .list.list-case {
        display: flex;
        flex-direction: column;
    }
}

.main .sec-main-page .container .content .content-page .list .item .title .name {
  white-space: nowrap;
  padding: 2px 12px;
  border-radius: 24px;
}

@media (max-width: 768px) {
  .sec-main .container .content {
      padding-top: 0px;
  }


.sec-main .container .content .content-title h2 {
  img {
    height: 30px;
  }
}

.main .sec-main .container .content .content-body .content-body__left h3 {
  font-size: 4rem;
  br {
    display: none;
  }
}


.sec-main .container .content .content-body .content-body__left .group-txt p {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.main.h-sidebar .group-section-main.entertainment .sec-main-ft {
  margin-bottom: 0rem;
}


.sec-recruit .group-content .left .group .title p {
    font-size: 1.6rem;
}
}

.mobile-menu-overlay {
 background: unset;
}



/* Social media brand colors on hover */

/* Highlight total follower count */
.entertainment .sns-follow {
  font-size: 1.4rem; /* larger than default body text */
  font-weight: 700;
  color: #0071bc; /* Couxu accent color */
}
.entertainment .sns-follow span {
  color: #333; /* label darker */
  margin-right: 4px;
  font-weight: 600;
}

.entertainment .social {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.entertainment .social-icons a:hover i.bi-youtube { color: #FF0000; } /* YouTube Red */
.entertainment .social-icons a:hover i.bi-instagram { color: #C13584; } /* Instagram Magenta */
.entertainment .social-icons a:hover i.bi-facebook { color: #1877F2; } /* Facebook Blue */
.entertainment .social-icons a:hover i.bi-tiktok { color: #69C9D0; } /* TikTok Cyan */

/* ===== Mega Menu full-width ===== */
.header-nav ul li.has-mega {
  position: relative;
  padding-bottom: 10px;
}

.header-nav ul li.has-mega .mega-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% + 10px);
  width: 100vw;
  max-width: none;
  border-radius: 0;
  padding: 20px 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 999;
}

.header-nav ul li.has-mega:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

.header-nav ul li.has-mega .mega-menu .mega-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav ul li.has-mega .mega-menu .mega-list li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  color: #333;
  font-size: 1.4rem;
  transition: transform 0.2s ease;
  span {
    display: none;
  }
}

.header-nav ul li.has-mega .mega-menu .mega-list li a img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.header-nav ul li.has-mega .mega-menu .mega-list li a:hover {
  transform: translateY(-4px);
}

/* Mobile: mega menu always visible */
@media (max-width: 768px) {
  .header-nav > ul > li.has-mega .mega-menu {
    position: static;
    width: 100%;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 10px 0;
  }
  .header-nav ul li.has-mega .mega-menu .mega-list {
    flex-wrap: wrap;
    gap: 20px;
  }
  .header-nav ul li.has-mega .mega-menu .mega-list li a img {
    width: 48px;
    height: 48px;
  }
}

.main .sec-hr .container .content .content-body.hr-book {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 採用CTAボタンの固定表示 */
.recruit-cta-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    padding: 15px 0;
}

/* 監視用センチネル要素 */
.cta-sentinel {
    pointer-events: none;
    position: relative;
    width: 100%;
}

/* フッター上のスペーサー */
.cta-footer-spacer {
    height: 80px; /* CTA高さ + 余白 */
    width: 100%;
    display: block;
    margin-bottom: 20px; /* 少し余白を追加 */
}

.recruit-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.recruit-cta-buttons .item {
  display: inline-block;
  text-align: center;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 30px;
  min-width: 200px;
  text-decoration: none;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.recruit-cta-buttons .item:first-child {
  background: linear-gradient(90deg, #00D4FF 0%, #00AEFF 100%);
  color: #fff;
  border: none;
}

.recruit-cta-buttons .item:last-child {
  background: #fff;
  color: #333;
}

.recruit-cta-buttons .item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

@media (max-width: 767px) {
    .recruit-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-footer-spacer {
        height: 140px; /* モバイルでは2段になるため高さ調整 */
    }
}

.list-item-toppage .item-journal .image img{
  width: 100%;
}

.list-item-toppage .item-journal .content {
  padding: 0 2.4rem 2.4rem;
  width: 100%;
}

.footer .group-content .above .list-group .group-link a {
  font-size: 1.4rem;
  font-weight: bold;
}

.footer .group-content .above .list-group .group-link a.sub {
  font-weight: normal;
  padding-left: 4px;
}

.sec-news .group-content .title-toppage-main {
  min-width: 320px;
  gap: 2.4rem;
  @media screen and (max-width: 768px) {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
  }
}

.main.h-sidebar .group-section-main .section-main .wrap {
    max-width: 1200px;
}

.main.h-sidebar .group-section-main .section-main.sec_academy_03 .title-main {
  margin-left: 0rem;
  margin-bottom: 4rem;
}

.main.h-sidebar .group-section-main .section-main.sec_academy_03 .wrap .img-sec_academy {
  margin: 40px 0;
}

.sec-main.service.sec_academy .container .content .btn a {
  background-color: #222;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 14px;
  max-width: 30rem;
  @media (max-width: 768px) {
    max-width: unset;
    width: auto;
  }
}

.sec-main.service.sec_academy .container .content .btn {
  margin-right: 0;
  @media (max-width: 768px) {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}

.sec-main.service.sec_academy {
  padding: 10rem 0 5rem;
}

.main.h-sidebar .group-section-main .item-faq,.main .sec-faq2 .container .content .group-column .item-faq {
  padding: 0;
  gap: 0;
}

.main.h-sidebar .group-section-main .item-faq .group-q,.main .sec-faq2 .container .content .group-column .item-faq .group-q {
  padding: 2.8rem 4rem;
  @media (max-width: 768px) {
    padding: 2.8rem 2rem;
  }
}

.main.h-sidebar .group-section-main .item-faq .group-a,.main .sec-faq2 .container .content .group-column .item-faq .group-a {
  padding: 0rem 4rem 2.8rem;
  @media (max-width: 768px) {
    padding: 0rem 2rem 2.8rem;
  }
}

.main.h-sidebar .group-section-main .item-faq .group-q:hover,.main .sec-faq2 .container .content .group-column .item-faq .group-q:hover {
  cursor: pointer;
}

main .sec-faq2 .container .content .group-column .item-faq .group-q .arr {
  width: 31px;
  height: -moz-fit-content;
  height: fit-content;
  padding: 3px 0;
  background-color: #000;
  border-radius: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

main .sec-faq2 .container .content .group-column .item-faq.active .group-q .arr img {
  transform: rotate(180deg);
}
main .sec-faq2 .container .content .group-column .item-faq .group-q .arr img {
  transition: all 0.5s;
}

.main.h-sidebar .group-section-main .section-main.sec_sekai_features {
  margin-top: 4rem;
}

.main.h-sidebar .group-section-main .section-main.sec_sekai_features .feature-list {
  margin-top: 4rem;
}

.main.h-sidebar .group-section-main .section-main.sec_sekai_features .feature-item .text h3 {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main.h-sidebar .group-section-main .section-main.sec_sekai_features .feature-item .text .number {
  font-size:3.6rem;
  font-weight:700;
  color:#454545;
  font-family: 'Roboto', sans-serif;
}

@media (max-width: 768px) {
.main.h-sidebar .group-section-main .section-main.goal {
  margin-top: 6rem;
  padding: 0 3rem 4rem;
}
.main.h-sidebar .group-section-main .section-main.goal .group {
  padding: 2rem 3rem 5rem;
}
.main.h-sidebar .group-section-main .section-main.goal .service-img {
  right: 0;
}
}

.main.h-sidebar .group-section-main .section-main.sec_alliance_02 .group-column {
  &.gap54 {
    @media screen and (max-width: 768px) {
      gap: 2rem;
    }
  }
  .group-flex.v2.box-image {
    padding: 4rem;
    @media (max-width: 768px) {
      padding: 2rem;
    }
    .item {
      gap: 1rem;
      .image {
        max-width: 240px;
      }
    }
  }
}

.main.h-sidebar .group-section-main.entertainment .section-main.sec_entertainment_02 .group-grid.i423.box-image {
    .item {
      gap: 1rem;
      .img {
        max-width: 240px;
      }
    }
}

.main.h-sidebar .group-section-main.entertainment .entertainment-feature .img img{
    height: 188px;
    object-fit: cover;
}

.main.h-sidebar .group-section-main .section-main.sec_academy_07.circle-box .container {
  @media (max-width: 768px) {
    padding-top: 0%;
  }
}

.main.h-sidebar .group-section-main .section-main.sec_academy_06.point-box {
  @media (max-width: 768px) {
    padding-top: 10%;
  }
}

@media (max-width: 768px) {
  .main.h-sidebar .group-section-main .section-main.sec_academy_03.carique {
    padding: 5rem 0rem 5rem;
    margin-top: 3rem;
  }
}

.main.h-sidebar.sekai-connect .group-section-main.entertainment .group-grid.i423 .img img {
  object-fit: contain;
  width: 240px;
}

@media (max-width: 768px) {
  .main.h-sidebar.sekai-connect .group-section-main .section-main.sec_academy_06.sec_sekai_01 .group-grid.i423.gap54 {
    margin-top: 6%;
    padding-bottom: 8%;
  }
  .main.h-sidebar.sekai-connect .group-section-main .section-main.sec_academy_07 {
    padding-bottom: 6%;
  }  
  .main.h-sidebar.sekai-connect .group-section-main .section-main.sec_sekai_features {
    padding: 0;
  }
  .main.h-sidebar.sekai-connect .group-section-main .title-main {
    gap: 0.5rem;
  }
  .main.h-sidebar.sekai-connect .group-section-main .section-main.sec_academy_06:not(.m10) {
    padding-top: 18%;
  }
}