/* ==========================================================================
   Custom modules.css
   https://corporate.murata.com/

   Published.2026.03.10

   Outline:
   1.Highlight Section Header
   1-1.Layout:Highlight Section Header
   1-2.Carousel highlight Section
   1-3.JavaScript Carousel Specific (JS動作関連)
   1-4.Media Queries (レスポンシブ対応)

   2.Renew NewsArea Section
   2-1.Media Queries (レスポンシブ対応)
   ========================================================================== */



/* ==========================================================================
   1.Highlight Section Header
   ========================================================================== */

.p-highlight-section__header {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

@media only print, screen and (max-width: 1199.9px) {
  .p-highlight-section__header {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 0;
  }
}

.p-highlight-section__title span {
  font-size: 4.4rem;
  margin-bottom: 2.5rem;
  display: block;
}

@media only print, screen and (min-width: 1200px) {
  .p-highlight-section__title span {
    font-size: 5.6rem;
    margin-bottom: 0;
    display: inline-block;
  }
}

/* ==========================================================================
   1-1.Layout:Highlight Section Header
   ========================================================================== */

.l-highlight {
  background: #f6f6f7;
}

.l-highlight_inner {
  margin: 0;
  padding: 4rem 0;
}

/* ==========================================================================
   1-2.Carousel highlight Section
   ========================================================================== */

.m-carousel-highlight {
  margin-bottom: 10px;
  overflow: hidden;
}

.m-carousel-highlight li {
  list-style: none;
}

.m-carousel-highlight_slider {
  margin: 0 auto;
  max-width: 1200px;
}

.m-carousel-highlight_control {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  max-width: 1200px;
}

.m-carousel-highlight_panel-list > div.m-carousel-slide-group {
  overflow: visible;
  position: relative;
}

.m-carousel-highlight_panel-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.m-carousel-highlight_panel-list > li,
.m-carousel-highlight_panel-list > div.m-carousel-slide-group {
  overflow: visible;
  position: relative;
}

.m-carousel-highlight_panel-list > li img {
  width: 100%;
}

.m-carousel-highlight_panel-list > li > a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  margin-right: 30px;
  box-shadow: 10px 6px 22px rgb(38 38 38 / 8%);
  background-color: #fff;
  padding-bottom: 25px;
  height: 100%;
}

.m-carousel-highlight_panel-list > li a:focus {
  outline: 1px solid #000;
  outline-offset: -1px;
}

.m-carousel-panel_image {
  overflow: hidden;
}

.m-carousel-panel_image img {
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.m-carousel-panel_title {
  padding: 15px;
  text-align: left;
  font-size: 1.6rem;
  text-decoration: underline;
  line-height: 1.5;
}

.m-carousel-panel_title .c-icon._text-img img,
.m-carousel-panel_title .c-icon._text-img svg {
  height: 1.4rem;
}

.m-carousel-highlight_panel-list > li a:hover .m-carousel-panel_image img {
  transform: scale(1.03);
}

.m-carousel-highlight_panel-list > li a:hover .m-carousel-panel_title {
  color: #c01;
}

.m-carousel-highlight_panel-list > li > a::after {
  position: absolute;
  bottom: 5px;
  right: 45px;
  display: inline-block;
  margin-top: -0.5em;
  color: #ea002a;
  font-weight: 400;
  font-size: 3.5rem;
  font-family: icons;
  font-style: normal;
  font-feature-settings: normal;
  font-variant: normal;
  line-height: 1;
  text-transform: none;
  text-decoration: none !important;
  content: "\ea5b";
  pointer-events: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fallback for non-JS/non-carousel environments */
.m-carousel-highlight:not(.carousel) .m-carousel-highlight_panel-list {
  display: flex;
  flex-wrap: wrap;
  width: 100% !important;
  transform: none !important;
  margin: 0;
  padding: 0;
}

.m-carousel-highlight:not(.carousel) .m-carousel-highlight_panel-list::before {
  content: none;
}

.m-carousel-highlight:not(.carousel) .m-carousel-highlight_panel-list > li {
  position: relative;
  top: auto;
  left: auto;
  display: block;
  width: 50%;
  margin-bottom: 20px;
  padding-right: 15px;
}

.m-carousel-highlight:not(.carousel) .m-carousel-highlight_panel-list > li:not(:first-child) {
  display: block;
}

/* --- GridMode ON Panel 1-4 --- */
.m-carousel-highlight.carousel-grid-mode .m-carousel-highlight_panel-list > li {
  display: block !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  padding-top: 0 !important;
}
.m-carousel-highlight.carousel-grid-mode .m-carousel-highlight_panel-list::before {
  content: none;
}

.carousel-grid-mode .js-carousel_panel-list {
  flex-wrap: nowrap;
  width: auto !important;
  transform: none !important;
}

.carousel-grid-mode .js-carousel_panel-list > li {
  width: calc((100% - 48px) / 4) !important;
  flex-shrink: 0;
}
.m-carousel-highlight.carousel-grid-mode .js-carousel_panel-list > li:nth-child(n + 5) {
  display: none;
}

.m-carousel-highlight_control-wrap {
  padding: 0 15px;
}

.m-carousel-highlight_nav {
  align-items: center;
  display: flex;
  margin-left: 15px;
}

.m-carousel-highlight_nav > li + li {
  margin-left: 5px;
}

.m-carousel-highlight_button {
  margin-left: 15px;
}

.m-carousel-highlight_prev,
.m-carousel-highlight_next,
.m-carousel-highlight_pause,
.m-carousel-highlight_play {
  display: block;
  font-size: 0;
  height: 28px;
  width: 28px;
}

.m-carousel-highlight_prev,
.m-carousel-highlight_next {
  position: relative;
  background-color: rgba(0, 0, 0, 0);
  border: 0;
}

.m-carousel-highlight_prev::after,
.m-carousel-highlight_next::after {
  border-bottom: 2px solid #525b5c;
  border-left-width: 0;
  border-right: 2px solid #525b5c;
  border-top-width: 0;
  content: "";
  height: 12px;
  position: absolute;
  top: 50%;
  width: 12px;
  transform: translateY(-50%) rotate(135deg);
}

.m-carousel-highlight_prev::after {
  left: 12px;
}

.m-carousel-highlight_next::after {
  right: 12px;
  transform: translateY(-50%) rotate(-45deg);
}

.m-carousel-highlight_pause,
.m-carousel-highlight_play {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 0;
  position: relative;
}

.m-carousel-highlight_pause::before,
.m-carousel-highlight_pause::after {
  background-color: #222;
  content: "";
  display: block;
  height: 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
}

.m-carousel-highlight_pause::before {
  left: 8px;
}

.m-carousel-highlight_pause::after {
  right: 8px;
}

.m-carousel-highlight_play::before {
  border-bottom: 6px solid rgba(0, 0, 0, 0);
  border-left: 6px solid #222;
  border-top: 6px solid rgba(0, 0, 0, 0);
  content: "";
  display: block;
  left: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.l-highlight button {
  cursor: pointer;
}

/* ==========================================================================
   1-3.JavaScript Carousel Specific (JS動作関連)
   ========================================================================== */

.js-carousel_panel-list {
  display: flex;
}

.js-carousel_panel-list > li.is-hide,
.js-carousel_panel-list > div.is-hide {
  display: none;
}

.js-carousel_panel-list > li img,
.js-carousel_panel-list > div img {
  pointer-events: none;
}

.js-carousel_panel-list.is-active {
  user-select: none;
}

.js-carousel_panel-list.is-active > li,
.js-carousel_panel-list.is-active > div {
  flex-basis: auto;
}

.js-carousel_pause:not(.is-active),
.js-carousel_play:not(.is-active) {
  display: none;
}

.js-carousel-highlight:not(.carousel) {
  padding-bottom: 0;
  margin-bottom: 0;
}

.js-carousel-highlight:not(.carousel) .js-carousel_control {
  display: none;
}

.carousel.is-animation .js-carousel_panel-list {
  transition: transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel:not(.is-built) .js-carousel_control {
  display: none;
}

/* Counter & Indicator */
.carousel_counter {
  align-items: center;
  display: flex;
}

.carousel_number.current {
  font-size: 2rem;
  margin-right: 5px;
}

.carousel_number.max {
  margin-left: 5px;
}

.carousel_indicator {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-left: 15px;
  position: relative;
  width: 100px;
}

.carousel_indicator::before,
.carousel_indicator::after {
  border-top: 0 solid #ea002a;
  content: "";
  display: block;
  left: 0;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  transform-origin: left top;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100px;
  z-index: 1;
}

.carousel_indicator::before {
  transform: scale(0, 1);
}

.is-grow .carousel_indicator::before {
  border-top-width: 4px;
  transform: scale(1, 1);
}

.is-shrink .carousel_indicator::after {
  border-top-width: 4px;
  transform: scale(0, 1);
}

.carousel_indicator > li {
  flex-basis: 100%;
  font-size: 0;
  position: relative;
}

.carousel_indicator > li::before,
.carousel_indicator > li::after {
  content: "";
  display: block;
  width: 100%;
}

.carousel_indicator > li::before {
  border-top: 1px solid #525b5c;
}

.carousel_indicator > li::after {
  border-top: 4px solid #ea002a;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  transform-origin: left top;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.carousel_indicator > li > span {
  position: absolute;
  top: 50%;
}

.carousel_indicator > li[aria-current]::after {
  transform: scale(1, 1);
}

.carousel_indicator > li[aria-current] ~ li::after {
  transform: scale(0, 1);
}

.carousel_indicator > li.is-hide {
  display: none;
}

.is-grow .carousel_indicator > li:not(:first-child)::after,
.is-shrink .carousel_indicator > li:not(:first-child)::after {
  border-top-width: 0;
}

/* ==========================================================================
   1-4.Media Queries (レスポンシブ対応)
   ========================================================================== */

/* SP/TB (768px以下) のスタイリング */
@media print, screen and (max-width: 768px) {
  .m-carousel-highlight_panel-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 30px);
    margin: 0 auto;
  }

  .m-carousel-highlight:not(.carousel) .m-carousel-highlight_panel-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    padding: 15px;
  }

  .m-carousel-highlight_panel-list > li {
    width: auto !important;
  }

  .m-carousel-highlight:not(.carousel) .m-carousel-highlight_panel-list > li {
    width: 100% !important;
    padding: 0;
    margin-bottom: 0;
  }

  .m-carousel-highlight_panel-list > div.m-carousel-slide-group {
    padding: 0;
  }

  .m-carousel-highlight_panel-list > div.m-carousel-slide-group > ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
  }

  .m-carousel-highlight_panel-list > div.m-carousel-slide-group > ul > li {
    width: 100% !important;
    flex-shrink: 0;
    display: flex;
    background-color: #fff;
  }

  .m-carousel-highlight_panel-list > div.m-carousel-slide-group > ul > li > a {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding-bottom: 25px;
  }

  .m-carousel-highlight:not(.carousel) .m-carousel-highlight_panel-list > li > a {
    margin-right: 0;
  }

  .m-carousel-highlight_panel-list > div.m-carousel-slide-group > ul > li > a > .m-carousel-panel_title,
  .m-carousel-highlight:not(.carousel) .m-carousel-highlight_panel-list > li > a > .m-carousel-panel_title {
    padding: 10px;
    font-size: 1.4rem;
  }

  .m-carousel-highlight_panel-list > div.m-carousel-slide-group > ul > li > a > .m-carousel-panel_title .c-icon._text-img img,
  .m-carousel-highlight_panel-list > div.m-carousel-slide-group > ul > li > a > .m-carousel-panel_title .c-icon._text-img svg {
    height: 1.3rem;
  }

  .m-carousel-highlight_panel-list > div.m-carousel-slide-group > ul > li > a::after {
    position: absolute;
    bottom: 0px;
    right: 8px;
    display: inline-block;
    margin-top: -0.5em;
    color: #ea002a;
    font-weight: 400;
    font-size: 3.5rem;
    font-family: icons;
    font-style: normal;
    font-feature-settings: normal;
    font-variant: normal;
    line-height: 1;
    text-transform: none;
    text-decoration: none !important;
    content: "\ea5b";
    pointer-events: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .m-carousel-highlight:not(.carousel) .m-carousel-highlight_panel-list > li > a::after {
    bottom: 0;
    right: 8px;
  }
}

@media print, screen and (min-width: 769px) {
  .m-carousel-highlight_slider {
    width: 100%;
    flex-shrink: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  .m-carousel-highlight_control-wrap {
    width: 100%;
    padding: 0 15px;
  }

  .m-carousel-highlight_panel-list > div.m-carousel-slide-group {
    display: none !important;
  }

  .m-carousel-highlight_panel-list ul {
    display: flex;
    flex-wrap: nowrap;
    min-width: 100%;
    width: auto !important;
  }

  .m-carousel-highlight_panel-list > li {
    flex-shrink: 0;
    flex-grow: 0;
  }

  /* Fallback for non-JS (PC) */
  .m-carousel-highlight:not(.carousel) .m-carousel-highlight_panel-list > li {
    width: 25%;
    padding-right: 0;
    margin-bottom: 30px;
  }

  .m-carousel-highlight .carousel_indicator {
    width: 200px;
  }

  .m-carousel-highlight .carousel_indicator::before,
  .m-carousel-highlight .carousel_indicator::after {
    width: 200px;
  }

  .m-carousel-highlight_nav {
    margin-left: 40px;
  }

  .m-carousel-highlight_nav > li + li {
    margin-left: 30px;
  }

  .m-carousel-highlight_button {
    margin-left: 40px;
  }

  .m-carousel-highlight_control {
    justify-content: flex-end;
  }
}

@media print, screen and (min-width: 769px) and (max-width: 1199.9px) {
  .m-carousel-highlight_panel-list {
    padding-left: 15px;
  }
}

/* ==========================================================================
   2.Renew NewsArea Section
   ========================================================================== */

.l-newsarea,
.l-newsarea .p-top-info-group {
    background-color: transparent;
}
.l-newsarea .p-top-info-group__inner .l-row {
    flex-direction: column;
}
.l-newsarea .p-top-info-group__inner .l-row>.l-col._m3,
.l-newsarea .p-top-info-group__inner .l-row>.l-col._m9 {
    width: 100%;
}
.l-newsarea .p-top-info-group__inner .l-row>.l-col._m9 {
    padding-top: 1.0rem;
}
.l-newsarea .p-top-headding {
    margin-bottom: 0;
}
.l-newsarea .p-top-headding__text {
    padding-bottom: 0;
}
.l-newsarea .p-top-headding__text:before {
    content: none;
}
.l-newsarea .p-top-headding__text span {
    font-size: 4.4rem;
    font-weight: 400;
    margin-bottom: 0;
    display: inline-block;
}
.l-newsarea .c-filter-tab__btn,
.l-newsarea .c-filter-tab__btns {
    justify-content: space-between;
    gap: 8px;
}

/* ==========================================================================
   2-1.Media Queries (レスポンシブ対応)
   ========================================================================== */

/* PC (1200px以上) のスタイリング */
@media only print, screen and (min-width: 1200px) {
    .l-newsarea {
        background-size: auto;
    }
    .l-newsarea .p-top-headding__text span {
        font-size: 5.6rem;
    }
}

/* PC (1025px以上) のスタイリング */
@media only print, screen and (min-width: 1025px) {
    .l-newsarea .c-filter-tab__header {
        padding-bottom: 5rem;
    }
}

/* TB=PC (768px以上) のスタイリング */
/* 背景画像はQASのItemIDなので本番用のものに必ず差し替えること */
@media only print, screen and (min-width: 768px) {
    .l-newsarea {
        background-image: url(-/media/6FF2E6FF379B4C84AFE6A7E4FCC5A282.ashx);
        background-repeat: no-repeat;
        background-size: 120px;
        background-position: top right;
    }
    .l-newsarea .c-filter-tab__btn {
        padding: 0;
        width: 100%;
    }
    .l-newsarea .c-news__item .c-news__link {
        display: flex;
    }
    .l-newsarea .c-news__item .c-news__link .c-news__date {
        margin-right: 32px;
    }
    .l-newsarea .c-news__item .c-news__link .c-tag {
        min-width: 124px;
        margin-right: 32px;
    }
}

/* SP/TB (767.9px以下) のスタイリング */
@media only print, screen and (max-width: 767.9px) {
    .l-newsarea .c-filter-tab__btns {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 8px;
    }
    .l-newsarea .c-filter-tab__btn {
        gap: 0;
        padding: 0;
    }
    .l-newsarea .c-filter-tab__btn>button[aria-selected=true]:after {
        content: none;
    }
    .l-newsarea .c-news__item .c-news__link .c-tag {
        min-width: 124px;
    }
}

