/* denso color */
.has-denso-red-color {color: #dc0032}
.has-denso-red-background-color {background-color: #dc0032}
.has-crafting-blue-color {color: #b9d7eb}
.has-crafting-blue-background-color {background-color: #b9d7eb}
.has-white-color {color: #fff}
.has-white-background-color {background-color: #fff}
.has-black-color {color: #000000}
.has-black-background-color {background-color: #000000}
.has-gray1-color {color: #5a5a5a}
.has-gray1-background-color {background-color: #5a5a5a}
.has-gray2-color {color: #828282}
.has-gray2-background-color {background-color: #828282}
.has-gray3-color {color: #b4b4b4}
.has-gray3-background-color {background-color: #b4b4b4}
.has-gray4-color {color: #d2d2d2}
.has-gray4-background-color {background-color: #d2d2d2}
.has-gray5-color {color: #ebebeb}
.has-gray5-background-color {background-color: #ebebeb}
.has-deep-red-color {color: #781423}
.has-deep-red-background-color {background-color: #781423}
.has-dark-red-color {color: #9b0028}
.has-dark-red-background-color {background-color: #9b0028}
.has-dark-pink-color {color: #e65587}
.has-dark-pink-background-color {background-color: #e65587}
.has-pink-color {color: #f08caf}
.has-pink-background-color {background-color: #f08caf}
.has-light-pink-color {color: #f0b4c8}
.has-light-pink-background-color {background-color: #f0b4c8}
.has-deep-blue-color {color: #002d3c}
.has-deep-blue-background-color {background-color: #002d3c}
.has-dark-blue-color {color: #054b69}
.has-dark-blue-background-color {background-color: #054b69}
.has-medium-blue-color {color: #0078a5}
.has-medium-blue-background-color {background-color: #0078a5}
.has-blue-color {color: #0091be}
.has-blue-background-color {background-color: #0091be}
.has-bright-blue-color {color: #5ac3e6}
.has-bright-blue-background-color {background-color: #5ac3e6}
.has-dark-purple-color {color: #5a2d82}
.has-dark-purple-background-color {background-color: #5a2d82}
.has-purple-color {color: #8246af}
.has-purple-background-color {background-color: #8246af}
.has-light-purple-color {color: #a57dc8}
.has-light-purple-background-color {background-color: #a57dc8}
.has-dark-green-color {color: #146937}
.has-dark-green-background-color {background-color: #146937}
.has-green-color {color: #1e9146}
.has-green-background-color {background-color: #1e9146}
.has-light-green-color {color: #69b964}
.has-light-green-background-color {background-color: #69b964}
.has-dark-yellow-color {color: #f0a000}
.has-dark-yellow-background-color {background-color: #f0a000}
.has-yellow-color {color: #fab932}
.has-yellow-background-color {background-color: #fab932}
.has-light-yellow-color {color: #ffcd78}
.has-light-yellow-background-color {background-color: #ffcd78}

/* DENSO CSS fix (pixel lack of icon) */

.header-nav-item.header-nav-item-btn {
  padding-left: 1px !important;
}

/* footer logo */
#footer .footer-content .col-item .logo-img path {
  fill: #dc0032;
}

/* DENSO ARC Logo */

.denso-arc, #footer .footer-content .col-item .logo-img img.denso-arc {
  width: 180px;
  height: 60px;
  max-height: 60px;
  padding-right: 16px !important;
}

@media screen and (max-width:959px) {
  .denso-arc, #footer .footer-content .col-item .logo-img img.denso-arc {
    width: 90px;
    height: 30px;
    padding-right: 8px !important;
  }
}

/* header alert link */
.header-alert-link {
  position: absolute;
  top: 18px;
  right: 300px;
  text-align: right;
  color: #dc0032;
}

/* site subsite name */

header a .subsite_name {
  padding-left: 18px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}

@media screen and (max-width:959px) {
  header a .subsite_name {
    padding-left: 12px;
    font-size: 1.1rem;
  }
}

/* height for scrollable table */

main .height300 {
  max-height: 300px !important;
}

main .height400 {
  max-height: 400px !important;
}

main .height500 {
  max-height: 500px !important;
}

/* scrollable table */

.is-scroll-on-pc table tbody th, .is-scroll-on-mobile table tbody th {
  position: sticky;
  left: 0;
}

/* adjust for wp block table */

.wp-block-table table td {
  border: none;
}

.wp-block-table figcaption {
  margin-inline-start: 1em;
  margin-inline-end: 1em;
  text-align: left;
}

.wp-block-flexible-table-block-table {
  margin-bottom: 2em;
}

.wp-block-flexible-table-block-table th {
  font-weight: 700;
}

.wp-block-flexible-table-block-table td {
  font-weight: 300;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th,
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
  border-color: #d2d2d2;
}

/* style default */

.editor-styles-wrapper ul {
  list-style: none;
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-size: 1.125rem;
}

.editor-styles-wrapper ul.is-style-none,
.editor-styles-wrapper ul.is-style-arrow,
.editor-styles-wrapper ul.is-style-checked,
.editor-styles-wrapper ul.is-style-crossed,
.editor-styles-wrapper ul.is-style-connected,
.editor-styles-wrapper ul.is-style-dashed,
.editor-styles-wrapper ul.is-style-disc,
.editor-styles-wrapper ul.is-style-starred
{
  padding-left: 2rem;
}

ul.is-style-disc {
  list-style: disc;
}

.editor-styles-wrapper ol {
  font-weight: 300;
  font-size: 1.125rem;
  list-style: decimal;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}


.editor-styles-wrapper blockquote {
  position: relative;
  margin: 2rem 0;
  padding: 1rem 1rem 0.01rem 1rem;
  border-left: 5px solid #B4B4B4;
  border-radius: 2px;
}

.editor-styles-wrapper pre {
  font-weight: 300;
}

.editor-styles-wrapper figcaption {
  font-weight: 300;
  font-size: 0.7rem;
  color: #5A5A5A;
  text-align: left;
}

.editor-styles-wrapper .wp-block-table figcaption, .editor-styles-wrapper .wp-block-flexible-table-block-table figcaption {
  margin-top: 1em;
  font-size: 1rem;
}

.editor-styles-wrapper strong,
.editor-styles-wrapper b {
  font-weight: bold;
}

.editor-styles-wrapper .wp-block-image {
  margin-bottom: 2rem;
}

.editor-styles-wrapper code {
  padding: 2em;
  background-color: #ebebeb;
  margin-bottom: 2em;
}

.editor-styles-wrapper .wp-element-caption {
  font-size: 1rem;
}

/* [is-style] page tab ui */

.editor-styles-wrapper ul.is-style-tab-selecter {
  padding-left: 0;
  margin-bottom: 2rem;
}

.editor-styles-wrapper .tab-activated {
  background-color: #b5cade;
  font-weight: bold;
}

/* [is-style] image */

.is-style-image-hover img:hover, a > img:hover {
  z-index: 2;
  transform: scale(1.05,1.05);
  transition: transform .2s ease-out,-webkit-transform .2s ease-out;
}

.is-style-image-border {
  border: solid 1px #d2d2d2;
}

/* -- for additional class */
.wp-block-media-text.with-image-border .wp-block-media-text__media img {
  border: solid 1px #d2d2d2;
}

/* [is-style] button */

.is-style-big-button p {
  margin: 0;
}
.is-style-big-button a {
  border-bottom: 1px solid #dc0032 !important;
}
.is-style-big-button a:before, .is-style-big-button a:after {
  content: none !important;
}

/* [is-style] frame */

/*  - strong */

.is-style-frame-strong {
  background-color: #ebebeb;
  padding: 0.25rem 1rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
}

.is-style-frame-strong h5 {
	font-weight: bold;
  margin: 0.5rem 0 1rem 0;
}

.is-style-frame-strong p {
  margin: 0 0 0.25rem 0;
}

/*  - warning */

.is-style-frame-warning {
  background-color: #fff3e0;
  padding: 0.25rem 1rem;
  margin-bottom: 1.5rem;
}

.is-style-frame-warning h5 {
  color: #f0a000;
	font-weight: bold;
  margin: 0;
}

.is-style-frame-warning h5::before {
  font-family: "Font Awesome 5 Free";
	font-weight: 900;
  font-size: 1.5rem;
  content: "\f06a";
  padding-right: 0.5rem;
  position: relative;
  top: 0.125rem;
}

.is-style-frame-warning p {
  margin: 0 0 0.25rem 0;
}

.is-style-group-fullwide {
  margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.is-style-group-fullwide > div .is-style-group-fullwide > p, .is-style-group-fullwide > img {
  display: block;
	width: 100%;
	height: auto;
}

/* slider for top page */

.front-page-slider {
  padding-top: 0 !important;
}

.front-page-slider .controler {
  z-index: 10;
  /* display: none !important; */
}

.front-page-slider .btn-prev, .front-page-slider .btn-next {
  background-color: rgba(255,255,255,0.33) !important;
}

/* news list for top page & archive */

.mod-link-news-3to1 {
  margin-bottom: 0 !important;
}

.news-archive-link {
  position: absolute;
  top: 80px;
  width: 100%;
  text-align: right;
}

.mod-link-news-3to1 .img .bg-wrap {
  padding-top: 60%;
}

@media screen and (max-width:959px) {
  /* fix original */
  .mod-link-news-3to1 .swiper-wrapper {
    display: initial;
  }

  .news-archive-link {
    top: 26px;
  }
}

.mod-list-date a {
  display: block !important; /* remove date p */
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}
.mod-list-date a .txt-date {
  margin-top: 0em !important;
  margin-bottom: 0 !important;
}

/* pn search form for top page */

@media screen and (min-width:960px) {
  main .pn-search-form {
    position: relative;
    z-index: 11;
    height: 0;
  }
  main .pn-search-form .wp-block-group__inner-container {
    position: relative;
    top: -132px;
    background: #fff;
    padding: 2em;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .3);
  }

  main .pn-search-form ul li a {
    margin-right: 1em;
  }

}

@media screen and (max-width:959px) {
  main .pn-search-form .is-nowrap.wp-block-group {
    display: block;
  }
  main .pn-search-form select {
    margin-bottom: 1em;
  }
  main .pn-search-form .is-style-big-button a {
    width: 100%;
  }
}

.pn-search-form h4 {
  margin-top: 0;
}

.pn-search-form .is-style-big-button a {
  margin: 0;
  padding: 0.5em;
  white-space: nowrap;
}

.pn-search-form select:disabled {
  color: #bbb;
}

/* glonavi submenu */

.menu-item ul.sub-menu {
  display: none;
}

.menu-item:hover ul.sub-menu {
  position: absolute;
  display: block;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .3);
  padding: 1.8rem 1em 0 1em;
}

.menu-item:hover ul.sub-menu li {
  padding: 0;
  margin: 0;
}

.menu-item:hover ul.sub-menu li a {
  padding-top: 1px;
  /* disable `.mod-link-arrow` text style */
  font-weight: inherit !important;
  font-size: 1rem !important;
}

.menu-item:hover ul.sub-menu li a:after {
  display: none;
}

@media screen and (max-width:959px) {
  .menu-item:hover ul.sub-menu {
    display: none;
  }
}

.wp-block-media-text .wp-block-media-text__content {
  align-self: flex-start;
}

/* amdenso image header / [is-style] image title */

.temp-4th .img-mainvisual {
  height: 570px;
}
@media screen and (max-width: 478px) {
  .temp-4th .img-mainvisual {
      height: 250px;
  }
}
@media screen and (min-width: 479px) and (max-width: 959px) {
  .temp-4th .img-mainvisual {
      height: 530px;
  }
}

main .is-style-image-title {
  position: relative;
  top: -200px;
  overflow: visible;
  height: 10px;
}
@media screen and (max-width:959px) {
  main .is-style-image-title {
    top: -90px;
  }
}

/* youtube fullwidth */

.wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
}

.wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/* adjust image margin */
.wp-block-media-text.is-stacked-on-mobile {
  grid-gap: 1em;
}

.wp-block-media-text .wp-block-media-text__content {
  padding: 0 0 0 8%;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  padding: 0 8% 0 0;
}

@media screen and (max-width:959px) {
  .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    padding: 0;
  }
}

/* number field */
/* Chrome, Safari, Edge */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* body iframe */
.body-iframe {
  width: 100%;
  height: 0;
}

/* revision */
.rvy_view_revision {
  display: none !important;
}