/* 現行サイトの追加CSS（nishinomiya-kazokushintaku.com / sp）
   現行は管理画面で足したCSSを埋め込みで配信している。
   テーマのCSSファイルには入っていないため、ここに写して読ませる。
   **手で書き足さないこと。** 追加CSSを取り出す.py が作る */
  .simplemap img{max-width:none !important;padding:0 !important;margin:0 !important}
  .staticmap{max-width:100% !important;height:auto !important}
  .staticmap img{max-width:100% !important;height:auto !important}
  .simplemap .simplemap-content{display:none}
@media ll and (prefers-reduced-motion:reduce){
  video.wp-block-cover__video-background.has-parallax{background-attachment:scroll}
}
@media ll and (min-width:600px){
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image{width:calc(33.33333% - .66667em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item{width:calc(33.33333% - .66667em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image{width:calc(25% - .75em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item{width:calc(25% - .75em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image{width:calc(20% - .8em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item{width:calc(20% - .8em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image{width:calc(16.66667% - .83333em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item{width:calc(16.66667% - .83333em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image{width:calc(14.28571% - .85714em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item{width:calc(14.28571% - .85714em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image{width:calc(12.5% - .875em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item{width:calc(12.5% - .875em);margin-right:1em}
  .blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n){margin-right:0}
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}
}
@media ll and (min-width:782px){
  .has-modal-open .admin-bar .is-menu-open .wp-block-navigation__responsive-dialog{margin-top:32px}
}
@media ll and (min-width:600px){
  ul.wp-block-rss.columns-2 li{width:calc(50% - 1em)}
  ul.wp-block-rss.columns-3 li{width:calc(33.33333% - 1em)}
  ul.wp-block-rss.columns-4 li{width:calc(25% - 1em)}
  ul.wp-block-rss.columns-5 li{width:calc(20% - 1em)}
  ul.wp-block-rss.columns-6 li{width:calc(16.66667% - 1em)}
}
@media all{
  div.wpcf7-aborted{border: 2px solid #ff0000}
  div.wpcf7-acceptance-missing{border: 2px solid #f7e700}
  .pc-switcher a{padding: 0.4em 8%; text-align: center; border: 1px solid #0059A8; border-left: none; color: #fff !important; font-weight: bold; text-decoration: none}
  .pc-switcher span{padding: 0.4em 8%; text-align: center; border: 1px solid #0059A8; border-left: none; color: #fff !important; font-weight: bold; text-decoration: none}
  .pc-switcher a{background-color: #0074DA; background-image: -moz-linear-gradient(#0074DA, #004A8D); background-image: -o-linear-gradient(#0074DA, #004A8D); background-image: -ms-linear-gradient(#0074DA, #004A8D); background-image: -webkit-gradient(linear, left top, left bottom, from(#0074DA), to(#004A8D)); background-image: -webkit-linear-gradient(#0074DA, #004A8D); background-image: linear-gradient(#0074DA, #004A8D)}
  .pc-switcher a:hover{background-color: #0059A8; background-image: -moz-linear-gradient(#0059A8, #004A8D); background-image: -o-linear-gradient(#0059A8, #004A8D); background-image: -ms-linear-gradient(#0059A8, #004A8D); background-image: -webkit-gradient(linear, left top, left bottom, from(#0059A8), to(#004A8D)); background-image: -webkit-linear-gradient(#0059A8, #004A8D); background-image: linear-gradient(#0059A8, #004A8D)}
  .pc-switcher span.active{background-color: #00305C}
  .pc-switcher a:first-child{border-left: 1px solid #0074DA; -webkit-border-radius: 2.4em 0 0 2.4em; -moz-border-radius: 2.4em 0 0 2.4em; border-radius: 2.4em 0 0 2.4em}
  .pc-switcher span:first-child{border-left: 1px solid #0074DA; -webkit-border-radius: 2.4em 0 0 2.4em; -moz-border-radius: 2.4em 0 0 2.4em; border-radius: 2.4em 0 0 2.4em}
  .pc-switcher a:last-child{-webkit-border-radius: 0 2.4em 2.4em 0; -moz-border-radius: 0 2.4em 2.4em 0; border-radius: 0 2.4em 2.4em 0}
  .pc-switcher span:last-child{-webkit-border-radius: 0 2.4em 2.4em 0; -moz-border-radius: 0 2.4em 2.4em 0; border-radius: 0 2.4em 2.4em 0}
  #sitemap_list{margin: 0; padding: 0}
  #sitemap_list li{padding: 0; margin: 1.5em 0; list-style-type: none}
  #sitemap_list li ul{margin: 1.5em 0 0 0; padding: 0}
  #sitemap_list li li{background: url(../images/simple2/ico_level_2.png) no-repeat 0 0.5em; margin: 0.7em 0 0.7em 30px; padding: 0 0 0 25px}
  #sitemap_list li a{background-color: #faf8f2; text-indent: 0; display: block; padding: 3px 5px 2px; border: solid 1px #cacaca}
  #sitemap_list li li a{background: none; display: inline; padding: 0; border: none}
  #sitemap_list .posts_in_category{margin-top: -1.5em}
  #sitemap_list li li .posts_in_category{position: absolute; margin: 0; padding-left: 10px}
  #sitemap_list .posts_in_category a{background: url(../images/simple2/ico_post_list.png) no-repeat center; text-indent: -9999px; display: block; width: 1.1em; height: 1.1em; border: solid 1px #ccc; margin-top: -1.5em; padding: 0; float: right; margin-right: 10px}
  #sitemap_list li li .posts_in_category a{margin: 0; float: none}
  span.wpcf7-not-valid-tip{color:#f00; font-size:1em; font-weight:normal; display:block}
}
  .pc-switcher{clear:both; text-align:center; margin:1.4em auto}
