@charset 'UTF-8';
/*----------- ALEG -----------*/
@media screen and (max-width: 1024px) {
  .line-up-container .content-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {

  /*----------- トップページ -----------*/
  .btn a {
    padding: 15px 70px;
  }

  .line-up .line-up-container .r-right {
    right: -40px;
  }
  
  /* topics */
.top-topics-wrapper .bnrs{
  gap:10px;
}

.top-topics-wrapper .bnrs .bnr{
  width: calc((100% - 10px) / 2)
}

  .top-news-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .news-list {
    margin-bottom: 25px;
  }

  .top-about-us {
    height: auto;
  }

  body.top .top-btn {
    display: flex;
    justify-content: center;
  }

  section.top-img-box {
    padding: 15px 0;
  }

  .swiper-slide {
    width: 100% !important;
  }

  /*----------- ALEG -----------*/
  .content h2 {
    font-size: 22px !important;
  }

  /*----------- 取り扱いメーカー -----------*/
  section.maker-top.wave-bg {
    margin-top: 100px;
  }

  .maker-container .content-wrapper .content {
    height: auto;
    position: relative;
    margin-bottom: 20px;
  }

  .maker-container .content-wrapper .content h2 {
    height: auto;
    margin-bottom: 0;
  }

  .maker-container .content-wrapper .content .maker-btn {
    position: static;
    margin-top: 20px;
  }

  .maker-container .maker-btn a {
    padding: 0;
  }

  .maker-container .content-wrapper {
    grid-template-columns: 1fr;
  }

  .makers-logo {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 40px auto;
  }

  /*----------- ブランド詳細1----------*/
  .re-plate img {
    width: 100%;
  }

  /*----------- ブランド詳細2----------*/
  .brand-second .cat-ttl {
    border: none !important;
  }

  .brand-second .cat-ttl span {
    min-width: 100%;
    justify-content: center;
    padding: 10px 20px;
    font-size: 24px;
  }

  .brand-second .img-bnr {
    width: 100%;
    margin-top: 20px;
  }

  .brand-second .btns {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .brand-second .btns a {
    padding: 15px 20px;
  }

  .brand-second .flex-box .text {
    width: 100%;
  }

  .brand-second .flex-box .img {
    width: 100%;
  }

  .brand-second .LED-type .flex-box .type {
    width: 100%;
    margin-bottom: 20px;
  }

  .brand-second .lineup-menu .flex-box {
    margin: 0 auto 60px;
    ;
    width: 100%;
  }

  .brand-second .lineup-menu .flex-box a {
    width: 45%;
    padding: 8px 0;
    margin: 8px;
    font-size: 13px;
  }

  .brand-second .r-right {
    width: 8px;
    height: 8px;
  }

  .brand-second h3 {
    font-size: 20px;
  }

  .brand-second h4 {
    font-size: 18px;
  }

  .brand-second .table-wrap,
  .img-wrap {
    overflow-x: scroll;
  }

  .brand-second table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
  }

  .brand-second .img-wrap .flex-box {
    width: 100%;
    min-width: 1200px;
  }

  .brand-second .option .grid-box {
    grid-template-columns: 1fr !important;
  }

  .table-wrap {
    overflow: auto;
  }

  .d-table-title .table-wrap table {
    width: 1000px;
  }

  .kakomi .tab {
    padding: 0 20px;
    margin-right: 9px;
    margin-bottom: 10px;
  }

  .pdf-wrapper div {
    margin: 15px 0;
  }

  /*----------- 会社概要  -----------*/
  .about-us td {
    width: 100%;
    height: auto;
  }

  .attempt .page-width {
    padding-bottom: 75px !important;
  }

  .attempt .title {
    width: 100%;
  }

  section.attempt:after {
    font-size: 150px;
    bottom: -40px;
  }

  .attempt .page-width {
    padding-bottom: 70px;
  }

  .about-us table {
    width: 100%;
  }

  /*----------- 会社概要 En -----------*/
  .products-lamp .flex-box {
    flex-wrap: wrap;
  }

  .prodImg {
    width: 100%;
  }

  .prodText {
    width: 100%;
  }

  /*----------- コンタクトフォーム -----------*/
  .form-flex {
    align-items: flex-start;
    flex-direction: column;
  }

  /*----------- リニューアルプレート -----------*/
  .page-template-aleg-product .re-plate {
    flex-direction: column;
  }
}

@media screen and (max-width: 599px) {

  /*----------- トップページ -----------*/
  .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 10px !important;
  }

  .slider img {
    width: 100%;
  }

  .swiper {
    margin-top: 0 !important;
  }

  .date,
  .news-tag,
  .top-news-title {
    display: block;
    margin-bottom: 8px;
  }

  .news-tag {
    width: auto;
    margin-right: 0;
    display: inline-block;
  }

  .top-p-flex .flex-item {
    width: 100%;
  }

  .top-p-flex {
    flex-direction: column;
    gap: 30px;
  }

  .top-products .flex-item.item1 img {
    width: 200px;
  }

  .flex-item.item2 img {
    width: 350px;
  }

  .top-manufacturer .brand-box {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 5px;
  }

  .swiper-slide.mobile {
    width: 100% !important;
  }

  /*----------- ALEG -----------*/
  .navbar {
    width: 100%;
  }

  .line-up-container .content-wrapper {
    grid-template-columns: 1fr;
  }

  .megamenu {
    width: 65%;
  }

  .dropdown .dropbtn {
    width: 150px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .megamenu-column {
    grid-template-columns: 1fr;
  }

  .line-up-top {
    margin-top: 100px;
  }

  /*----------- 製品一覧ページ -----------*/
  .page-template-aleg-product .d-table tr td:first-child {
    width: 105px;
  }

  .fluorescent-tube.page-template-aleg-product .d-table tr td:first-child {
    width: 220px;
  }

  /*----------- お知らせ -----------*/
  .news-container {
    padding: 20px 15px;
  }

  .news-list .news-flex {
    flex-direction: column;
  }

  .news-wrapper {
    margin-left: 0px;
  }

  .news-list .sidebar {
    margin-top: 30px;
  }

  /*----------- 会社概要 -----------*/
  .attempt h3:before {
    left: 0;
  }

  .attempt .title {
    padding: 10px 10px 10px 35px;
  }

  .attempt .content {
    margin: 0;
    padding: 20px;
  }

  .attempt .item {
    margin: 25px 0;
  }

  .item p {
    padding-bottom: 10px;
  }

  section.attempt:after {
    font-size: 25px;
    bottom: -37px;
    right: 0;
    left: 0px;
  }

  .about-us table,
  .about-us thead,
  .about-us tbody,
  .about-us th,
  .about-us td,
  .about-us tr {
    display: block;
  }

  .about-us thead tr {
    display: none;
  }

  .about-us td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
    background-color: #f2f2f2;
  }

  iframe {
    width: 100%;
  }

  /*----------- 404 -----------*/
  .not-found {
    margin: 60px 0;
  }

  .error404 footer,
  .error404 section.contact-banner {
    position: static;
  }
}

/*トップスライダー */
@media screen and (max-width: 414px) {
  .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 50px !important;
  }
}

@media screen and (max-width: 375px) {
  .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 0px !important;
  }
}

/*----------- ALEG -----------*/
@media screen and (max-width: 350px) {
  .line-up .btn a {
    padding: 15px 65px;
  }
}



  
/*----------- 260219 追加 -----------*/
@media screen and (max-width: 599px) {
  table.aleg-en tr td:first-child {
    width: 105px;
  }
  
  .aleg-en-section .medical-box {
    flex-flow: column nowrap;
    gap: 20px;
  }
  .aleg-en-section .medical-box .image {
    width: 100%;
  }
  
  .aleg-en-section .magnetron-items {
    gap: 40px 20px;
  }
  .aleg-en-section .magnetron-items > div {
    width: calc((100% - 20px * 1) / 2);
  }

  .aleg-en-section .utsuwa-box {
    flex-flow: column nowrap;
  }
  .aleg-en-section .utsuwa-box .image {
    width: 100%;
  }
  .aleg-en-section.utsuwa-products-nav h2 {
    width: 300px;
  }
  .aleg-en-section.utsuwa-products-nav ul {
    flex-flow: column nowrap;
    gap: 20px;
  }
  .aleg-en-section .utsuwa-items {
    gap: 40px 20px;
  }
  .aleg-en-section .utsuwa-items > div {
    width: calc((100% - 20px * 1) / 2);
  }
}

/*----------- 260318 追加 -----------*/
@media screen and (max-width: 599px) {
  .uva_insect_trap_lamps-btns {
    flex-flow: column nowrap;
    gap: 10px;
  }
  .uva_insect_trap_lamps-flex {
    flex-flow: column nowrap;
    gap: 20px;
  }
}
