/* ブロックエディタ */

/* アコーディオンメニューのスタイル */
.wp-block-details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    font-size: 20px;
    border-bottom: 2px solid #DCDCDC;
}
@media (min-width: 961px){
  .wp-block-details summary {
    font-size: 24px;
}
}
.wp-block-details summary::-webkit-details-marker {
    display: none;
}
.wp-block-details summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 14px;
    height: 14px;
    margin-left: 10px;
    border-bottom: 2px solid #294C7A;
    border-right: 2px solid #294C7A;
    content: '';
    transition: transform .3s;
}
.wp-block-details[open] summary {
    margin-bottom: 20px;
}
.wp-block-details[open] summary::after {
    transform: rotate(225deg);
}
.wp-block-details > *:not(:first-child) {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 20px 20px 30px;
    transition: transform .5s, opacity .5s;
}
.wp-block-details[open] > *:not(:first-child) {
    transform: none;
    opacity: 1;
}
/* グループブロックの余白 */
.wp-block-group.has-background:not(.sustainability .wp-block-group.has-background) {
  padding: 30px;
}
@media (min-width: 961px){
.wp-block-group.has-background:not(.sustainability .wp-block-group.has-background) {
  padding: 40px;
}
}
/* カバーの余白 */
main .wp-block-cover{
  padding: 30px;
}
@media (min-width: 961px){
main .wp-block-cover{
padding: 40px;
}
}
/* ホバーのスタイル */
main.page a:hover:not(.wp-block-button a:hover){
  opacity: .75;
  transition: 0.2s;
}
/* 外部リンクのスタイル */
main.page a[href^="http"],
main.page a[href^="//"]{
  position: relative;
}
main.page a[href^="http"]:after,
main.page a[href^="//"]:after{
  content: "";
  display: inline-block;
  width: 15px;
  height: 10px;
  mask: url("../image/page/icon_otherSites.svg") no-repeat center center / contain;
  background-color: #294C7A;
  margin-left: 8px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
main.page a[href^="https://www.daieidenki.com/"]:after{
  margin: inherit;
  content: none;
}
/* 見出しのリンクのスタイル */
main.page h1 a, main.page h2 a, main.page h3 a, main.page h4 a, main.page h5 a{
text-decoration: none;
}
/* カラーパレット */
.has-bg-blue-background-color {
  background-color: #F1F7FA;
}
.has-bg-blue-color {
  color: #F1F7FA;
}
.has-bg-red-background-color {
  background-color: #DB0000;
}
.has-bg-red-color {
  color: #DB0000;
}
.has-green-background-color {
  background-color: #457C3B;
}
.has-green-color {
  color: #457C3B;
}
.has-light-green-background-color {
  background-color: #F2FAED;
}
.has-light-green-color {
  color: #F2FAED;
}
.has-blue-background-color {
  background-color: #294C7A;
}
.has-blue-color {
  color: #294C7A;
}
.has-light-blue-background-color {
  background-color: #EFF7FD;
}
.has-light-blue-color {
  color: #EFF7FD;
}
.has-orange-background-color {
  background-color: #F3A200;
}
.has-orange-color {
  color: #F3A200;
}
.has-yellow-background-color {
  background-color: #FFFCE6;
}
.has-yellow-color {
  color: #FFFCE6;
}


/* 固定ページ */

/* TOPページ */
.header-right-group a,.grouplink a {
  position: relative;
  display: inline-block;
  width: 94px;
  height: 17px;
}
@media (max-width: 960px){
  .header-right-group-sp a,.grouplink a {
  width: 110px;
  height: 20px;
}
}
.header-right-group_text, .grouplink_text {
  position: absolute;
  clip-path: inset(0 0 100% 0);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.header-right-group_mask, .grouplink_mask {
  display: block;
  width: 100%;
  height: 100%;
  mask-image: url('../image/shinrryogroup_logo.svg');
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-image: url('../image/shinrryogroup_logo.svg');
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  background-color: #fff;
}
header.header-toggle .header-right-group_mask, .menu-open .header-right-group_mask{
  background-color: #000;
}
/* works背景動画調整 */
@media (max-width: 767px){
  .works-bg {
    transform: scale(1.3);
    object-position: center calc(100% - -40px);
}
}
@media (min-width: 768px) and (max-width: 1024px) {
  .works-bg {
    object-fit: cover;
    transform: scale(1.3);
    object-position: center calc(100% - -30px);
}
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .works-bg {
    transform: scale(1.3);
    object-position: center calc(100% - -65px);
}
}
@media (min-width: 1201px) and (max-width: 1536px) {
  .works-bg {
    object-position: center calc(100% - -150px);
}
}
@media (min-width: 2000px){
  .works-bg {
    object-position: center calc(100% - -260px);
}
}
.works-inner {
  padding-bottom: 30px;
}
@media (min-width: 768px) and (max-width: 1536px) {
  .works-inner {
    padding-bottom: 60px;
  }
}
@media (min-width: 1536px) {
  .works-inner {
  padding-bottom: 70px;
}
}
/* works背景動画調整おわり */
.works-btn-wrapTop{
  text-align: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 767px){
.works-btn-wrapTop{
  top: 0;
  margin-right: 20px;
  margin-left: 20px;
}
}
@media (min-width: 768px) {
.works-btn-wrapTop a {
  max-width: 350px;
}
}
@media (min-width: 768px) {
  .works-innerBottom{
padding-bottom: 65px;
}
}

/* 企業情報 */
/* アンカーリンクボタン */
.category-list.company_category-list{
  row-gap: 30px;
  column-gap: 20px;
}
.category-list.company_category-list li{
  flex-basis: calc((100% - 20px) / 2);
}
@media (min-width: 768px){
.category-list.company_category-list li{
  flex-basis: calc((100% - 40px) / 3);
}
}
.category-list.company_category-list a{
display: inline-block;
padding-bottom: 6px;
width: 100%;
}
@media (min-width: 768px){
.category-list.company_category-list a{
padding-bottom: 10px;
}
}
.category-list.company_category-list a::after{
  position: absolute !important;
  right: 0;
  bottom: 1em;
}
@media (min-width: 768px){
.category-list.company_category-list a::after{
  right: 20px;
  bottom: 1.2em;
}
}
.category-list.company_category-list img{
  margin-bottom: 8px;
  height: 60px;
  object-fit: cover;
}
@media (min-width: 768px){
.category-list.company_category-list img{
  margin-bottom: 12px;
  height: 140px;
}
}
/* アンカーリンクボタンおわり */
main.page .font-large{
  font-size: 20px;
}
@media (min-width: 961px){
main.page .font-large{
  font-size: 24px;
}
}
main.page .font-medium{
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
  font-weight: 500;
}
@media (min-width: 961px){
main.page .font-medium{
  font-size: 18px;
}
}
@media (min-width: 961px){
main.company .col-table table td:first-child{
width: 20%;
}
}



/* 事業案内 */
@media (max-width: 781px){
main.page.works .is-layout-flex{
gap: 0;
margin-bottom: 20px;
}
}
@media (min-width: 782px) and (max-width: 1040px){
.works .wp-block-column img{
height: 300px;
object-fit: cover;
}
}
main.page.works .is-layout-flex .wp-block-image{
margin-bottom: 0;
}
@media (max-width: 781px){
main.page .is-layout-flex.colReverse{
flex-direction: column-reverse;
}
}
.works .wp-block-column-is-layout-flow{
width: 100%;
}

/* 施工実績 */
.case .category-list{
margin-top: 70px;
margin-bottom: 60px;
justify-content: center;
}
main .category-list a{
font-weight: 600;
}
