/*
Theme Name: gfm-original
Theme URI: https://www.sougou-gfm.co.jp/
Author: takeshi sugawara
Version: 1.0
*/


/* 追加分 */
.wp-block-media-text,
.entry-body  {
    margin: 10px auto;
    padding: 1em 5px 1.5em;
}
.googlemaps iframe,
.googlemaps object,
.googlemaps embed {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

figure.wp-block-pullquote.is-style-solid-color.has-background {
    padding: 1em 0;
}
.wp-block-pullquote.is-style-solid-color blockquote p {
    font-size: 130%;
}

blockquote, blockquote.wp-block-quote:not(.is-large):not(.is-style-large) {
    border: 1px solid #eee;
    padding: 20px;
    width: 80%;
    margin: auto;
    text-align: center;
}

.fa_v5_css blockquote:before {
    content: "";
}
.fa_v5_css blockquote:after {
    content: "";
}

::marker {
    color: #337ab7;
}

.h2:nth-child(n + 2),h3:nth-child(n + 2) {
    margin-top: 2em;
}
.wp-block-media-text .wp-block-media-text__content {
    padding: 0 5px;
}

thead .has-text-align-center {
    background-color: #c6d9ea;
}

.wp-block-media-text__media {
    text-align: center;
}
.wp-block-media-text__media img {
    width: 80%;
}

.entry-body p.linkbtn a {
    display: inherit;
    text-align: center;
    margin: auto;
    width: 80%;
    padding: 20px;
    border: 2px solid #ccc;
    background-color: #1d5d9f;
    color: #ffffff;
    background-image: none;
}
.entry-body p.linkbtn a:hover {
    background-color: #ffffff;
    color: #1d5d9f;
    font-weight: bold;
}
.has-large-font-size {
    font-size: 2.25em;
    background-color: #f1f1f1;
    padding: 20px;
    margin: 0;
}

.mb10 { margin-bottom: 10px;}
.mb15 { margin-bottom: 15px;}
.mb20 { margin-bottom: 20px;}
.mb25 { margin-bottom: 25px;}
.mb30 { margin-bottom: 30px;}
.mb35 { margin-bottom: 35px;}
.mb40 { margin-bottom: 40px;}
.mb45 { margin-bottom: 45px;}
.mb50 { margin-bottom: 50px;}

.mt10 { margin-top: 10px;}
.mt15 { margin-top: 15px;}
.mt20 { margin-top: 20px;}
.mt25 { margin-top: 25px;}
.mt30 { margin-top: 30px;}
.mt35 { margin-top: 35px;}
.mt40 { margin-top: 40px;}
.mt45 { margin-top: 45px;}
.mt50 { margin-top: 50px;}

.ml10 { margin-left: 10px;}
.ml15 { margin-left: 15px;}
.ml20 { margin-left: 20px;}
.ml25 { margin-left: 25px;}
.ml30 { margin-left: 30px;}
.ml35 { margin-left: 35px;}
.ml40 { margin-left: 40px;}
.ml45 { margin-left: 45px;}
.ml50 { margin-left: 50px;}

.mr10 { margin-right: 10px;}
.mr15 { margin-right: 15px;}
.mr20 { margin-right: 20px;}
.mr25 { margin-right: 25px;}
.mr30 { margin-right: 30px;}
.mr35 { margin-right: 35px;}
.mr40 { margin-right: 40px;}
.mr45 { margin-right: 45px;}
.mr50 { margin-right: 50px;}

div.rule {
	width:100%;
	overflow:auto;
	height:200px;
	border:1px solid #ccc;
	margin:0 0 20px 0;
	padding:0 5px;
}

.wp-block-columns {
	margin-bottom: 0;
}

.normal_list li {
    padding-left: 1.5em;
    text-indent: -1.5em;
    list-style: none;
}
.list00 {
    width: 100%;
    list-style-type: none;
    float: left;
    margin: 0 0 20px 0;
}


.prBlock_icon {
    color: #1d5d9f;
}
.prBlock_icon_outer {
    border: 1px solid #1d5d9f;
    border-bottom: 3px solid #1d5d9f;
    border-right: 2px solid #1d5d9f;
    display: block;
    margin: 0 auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
}
.prBlock_icon_outer:hover {
    border-top: 3px solid #1d5d9f;
    border-bottom: 1px solid #1d5d9f;
    border-left: 2px solid #1d5d9f;
    border-right: 1px solid #1d5d9f;
    background-color: #f1f1f1;
}


input.wpcf7-form-control.wpcf7-submit.btn.btn-primary {
    width: 50%;
    height: 50px;
    font-size: 120%;
}
form.wpcf7-form.init p {
    margin-bottom: 10px;
}


@media (min-width: 782px) {
.wp-block-column {
    font-size: 95%;
    margin-left: 0;
}.wp-block-column:not(:first-child) {
    margin-left: 0;
}
}

.wp-block-button .wp-block-button__link {
    width: 93%;
}
/* リンクをボタンっぽくする */
.textwidget .wp-block-column a img {
    border-bottom: 3px solid #cccccc;
    border-radius: 5px;
}
.textwidget .wp-block-column a img:hover {
    border-top: 3px solid #cccccc;
    border-bottom: 0px solid #cccccc;
    opacity: 0.7;
}
.wp-block-button .wp-block-button__link {
    border-bottom: 3px solid #cccccc;
}
.wp-block-button .wp-block-button__link:hover {
    border-top: 2px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    opacity: 0.7;
}
div#text-8 {
    background-color: #337ab7;
    padding: 10px;
    padding-bottom: 0;
}

h3 a {
    background-image: url(../../../images/bg_navi_arrow.png);
    background-repeat: no-repeat;
    background-size: 8px;
    padding-left: 15px;
    background-position: 0px;
}
h3 a:hover {
    color: #ff0000;
}

.entry-body p a {
    background-image: url(../../../images/bg_navi_arrow.png);
    background-repeat: no-repeat;
    background-size: 8px;
    padding-left: 15px;
    background-position: 4px;
}

h1.media-heading.entry-title a:link {
    text-decoration: underline;
}
h1.media-heading.entry-title a:hover {
    color: #ff0000;
}
a.pdf {
    background-image: url(../../../images/pdficon_small.png);
    background-repeat: no-repeat;
    background-size: 8px;
    padding-left: 15px;
    background-position: 0px;
}

@media screen and (max-width: 650px){
div.rule {
	padding:0 0px;
    margin-top: 10px;
}
div.rule ol {
	margin-left: 20px;
}


.row .col-md-12 {
    padding-left: 0px;
    padding-right: 1px;
}
.row .col-md-12 .alignleft {
    padding: 0;
    margin: 0;
}
.row .col-md-12 .alignleft p {
    padding: 0;
    margin: 0;
}
/*
.row .col-md-12 .alignleft p.clear img {
    border: 1px solid #ccc;
    background-color: #fff;
}
*/
}

@media screen and (max-width: 650px) {
.container.sectionBox.copySection.text-center {
    padding-bottom: 80px;
}
}


@media (min-width: 769px){
.entry-body {
    width: 750px;
}

}
@media (min-width: 992px){
.entry-body {
    width: 970px;
}
ul.gMenu {
    font-size: 97%;
    margin-top: 10px;
}
}

@media (min-width: 1200px){
.entry-body {
    width: 1170px;
}
}
p {
    margin-left: 1em;
}


/* IE対応 */
@media all and (-ms-high-contrast: none) {

.wp-block-media-text .wp-block-media-text__media {
    float: left;
    width: 20%;
    clear: both;
    margin-bottom: 50px;
}
.wp-block-media-text__content {
    float: right;
    width: 80%;
}
}






/* スマホボトムナビゲーション */

html {
  scroll-behavior: smooth;

  min-height: 2000px;
}
/*
#post-985 .wp-block-columns {
    display: inherit;
}
*/
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column:not(:first-child) {
    margin-left: var(--wp--style--block-gap,0em);
}
#post-985 .wp-block-columns .wp-block-column:nth-child(2n) {
    margin-left: 0;
}
#page-top {
	z-index: 100;
    position:fixed;
    bottom: 0px;
	width: 100%;
	margin: auto;
	background-color: #f1f1f1;
    border-top: 1px solid #333333;
}
#page-top a#b-tel {
    background:url(../../../images/b-tel.png) no-repeat;
	background-position: 50% 40%;
}
#page-top a#b-home {
    background:url(../../../images/b-home.png) no-repeat;
	background-position: 50% 40%;
}
#page-top a#b-mail {
    background:url(../../../images/b-mail.png) no-repeat;
	background-position: 50% 40%;
}
#page-top a#b-top {
    background:url(../../../images/b-top.png) no-repeat;
	background-position: 50% 40%;
}

#page-top a {
	background-position: 50% 40%;
    width: 33.3333%;
    height:50px;
    display: block;
    text-indent:-9999px;
	float: left;
	margin: 10px 0;
	border-right: 1px solid #333333;
}
#page-top a:last-child {
	border-right: 0;
}

#page-top a:hover {
    opacity:0.6;
    filter:alpha(opacity=60);
}

@media screen and (min-width: 769px) {
    p#header-sp {
    display: none;
}
p#page-top {
    z-index: 100;
    position: fixed;
    bottom: 20px;
    width: auto;
    margin: auto;
    background-color: #f1f1f1;
    border-top: 1px solid #333333;
    display: initial;
    right: 0;
    bottom: 0px;
}

p#page-top a {
    width: 60px;
    height: 60px;
    display: block;
    text-indent: -9999px;
    margin: -1px 0;
    border: 1px solid #333333;
    background-position: 50% 40%;
    float: left;
}
}

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

p#header-sp {
    position: fixed;
    right: 40px;
    z-index: 2100;
    display: flex;
}
p#header-sp a#h-tel,
p#header-sp a#h-mail {
    margin-top: 5px;
    border: 1px solid #333;
    padding: 0px 3px;
    background-color: #f1f1f1;
	margin-right: 2px;
	width: 34px;
    height: 34px;
}
}


.siteHeadContainer li#menu-item-1658 {
    background-color: #cf2e2e;
    border-bottom: 3px solid #cccccc;
}
.siteHeadContainer li#menu-item-1658:hover,
.siteHeadContainer li#menu-item-2882:hover {
    border: 0px solid #cccccc;
    border-top: 3px solid #cccccc;
}
.siteHeadContainer li#menu-item-1658 a .gMenu_name,
.siteHeadContainer li#menu-item-2882 a .gMenu_name {
    color: #ffffff;
}
.form-control,
.wpcf7-url {
    background-color: #f1f1f1;
    border: 0;
    height: 40px;
}


/* youtubeサイズ調整 */
.wp-block-embed__wrapper {
    position: relative;
    max-width: 500px!important;
    margin: auto;
}

/*  test   */


/* 20221024　追加  */
span.entry-meta_items.entry-meta_updated {
    display: none;
}
i.fas.fa-envelope.font_icon.prBlock_icon {
    color: #ff0000;
}
.freedial {
    background-image: url(../../../images/freedial.png);
    background-repeat: no-repeat;
    background-size: 35px;
    background-position: 4px;
    color: #ffffff;
    padding: 5px 5px 5px 40px;
    margin-left: 0px;
}

/* 20230414　追加 */
@media (min-width: 992px){
ul.gMenu {
    font-size: 97%;
    margin-top: 20px;
}
ul.gMenu>li {
    position: relative;
    float: left;
}
li#menu-item-2046 {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 80%;
}
li#menu-item-2046 a {
    padding: 0 10px;
    background-color: #f1f1f1;
}
}
.siteHeadContainer li#menu-item-2882 {
    background-color: #1d5d9f;
    border-bottom: 3px solid #cccccc;
    margin-right: 2px;
}


/* 20240520　追加 */
.carousel-inner {
    max-width: 1300px;
    margin: auto;
}
.mini-content-1 .btn-ghost {
    margin-bottom: 2em;
}
