
 Theme Name:   OnePress Child
 Theme URI:    https://www.famethemes.com
 Description:  OnePress sample child theme
 Author:       FameThemes
 Author URI:   https://www.famethemes.com
 Template:     onepress
 Version:      2.2.5
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */
/*大文字解除*/
.page-header .entry-title, .page-header .page-title {
    text-transform: none;
}
[data-class="wpcf7cf_group"], .wpcf7cf_remove, .wpcf7cf_add {
    display: none;
    text-transform: none;
}
.entry-content .inquiry tr, .entry-content table {
    text-transform: none;
}
/*スムーズスクロール*/
html { scroll-behavior: smooth;}
/*font変更*/
/*.break, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, blockquote, pre {
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}
body, button, input, select, textarea {
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}
.sidebar .widget .widget-title {
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}
.onepress-menu a {
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", HGS明朝E, メイリオ, Meiryo, serif;
}*/
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 {
    color: #000;
}
body, button, input, select, textarea {
    font-size: 16px;
}
.sidebar .widget .widget-title {
	font-size: 17px
}
.sidebar .widget a {
    color: #000;
}
dl, dt, dd {
	margin-bottom: 0;
}
/*h1サイズ変更*/
h1 {
  font-size: 1.5rem;
}
h2 {
	border-bottom: solid 1px black;
}
/*リンク下線非表示*/
a:hover {
    text-decoration: none;
}
h3{
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
  margin-top: 1em;
  font-size: 25px;
  text-align: center;
}
/*コード表示*/
pre{
  white-space: pre-wrap;
  word-wrap: break-word;
}
/*recaptcha非表示*/
.grecaptcha-badge {
  visibility: hidden;
}
/* 詳細ボックス */
.box1 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #ff941f;
    font-size: .9em;
}
.box1 .box-title {
    position: absolute;
    display: inline-block;
    top: -30px;
    left: -3px;
    padding: 2px 9px;
    height: 30px;
    line-height: 25px;
    font-size: 1em;
    background: #ff941f;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}
.box1 p {
    font-weight:700;
    font-size: .9em;
    margin: 0; 
    padding: 0;
}
table tr th {
text-transform:none;
}
.text-left{
	display: inline-block;
	text-align: left;
}
.margin-bottom{
	margin-bottom: 50px;
}
.bg-red {
  background: #BF0000;
  color: #FFF;
}
.bg-black {
  background: #454545;
  color: #FFF;
}
.center {
	text-align: center;
}
.center > p {
	display: inline-block;
	text-align: left;
}
/*ギャラリータイトルテキスト*/
.wp-caption-text, .entry-thumbnail-caption, .cycle-caption {
    font-style: normal;
    line-height: 1.5;
    font-size: 15px;
    margin: 10px auto 15px auto;
}
/*ページタイトル中央寄せ*/
.page-header .entry-title, .page-header .page-title {
    text-align: center;
}
/*woocommerce設定*/
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: #FF0000;
    font-weight: bold;
    font-size: 2.0em;
}
.woocommerce-price-suffix{
	font-weight: bold;
}
.woocommerce ul.products li.product .woocommerce-loop-category__title, .woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
    padding: .5em 0;
    margin: 0;
    font-size: 0.95em;
}
.woocommerce ul.products li.product .price {
    color: #FF0000;
    font-size: 1.2em;
    font-weight: bold;
}
.woocommerce-price-suffix {
	color: #000;
	font-size: 0.7em;
}
.desc table th {
    position: relative;
    text-align: left;
    width: 30%;
    background-color: #004363;
    color: white;
    text-align: center;
    padding: 10px 0;
}
.woocommerce .woocommerce-ordering, .woocommerce .woocommerce-result-count {
    display: none;
}
.note {
	color:#fff;
	background-color:#bf0000;
	padding: 5px 0;
	text-align: center;
}
.h2_wrap {
  display: block;
  text-align: left;
  border-bottom: 2px solid #333333;
}
.grid-2col {
  display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto;
    -ms-grid-columns: 1fr 2fr;
    grid-template-columns: 1fr 2fr;
    column-gap: 15px;
    margin-bottom: 30px;
}
.grid-3col {
	display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto;
	-ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
    justify-items: center;
    margin: 0 auto;
}
.grid-3col > div > div {
	padding: 0 10px;
}
.grid-4col {
	display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto;
	  -ms-grid-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
}
.grid-4col > div > div {
	padding: 0 10px;
}
.grid-list {
	display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto;
	-ms-grid-columns: 1fr 1fr 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 15px;
}
.grid-list > div {
	width:100%;
}
.grid-list2 {
  display: -ms-grid;
    display: grid;
    -ms-grid-rows: auto;
    -ms-grid-columns: 2fr 1fr;
    grid-template-columns: 2fr 1fr;
    column-gap: 15px;
    margin-bottom: 30px;
}
.box {
	text-align: center;
	border: solid 1px #777;
  margin-bottom: 15px;
}
.box > div > p {
	text-align: left;
}
.box:hover {
  opacity: .8;
  transform: scale(1.02);
}
.box,
.box::before,
.box::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
/*タイトル非表示*/
.page-id-17 .entry-title{
    display: none;
}
/*目次*/
.rtoc-mokuji-content.frame2::before, .rtoc-mokuji-content.frame3, .rtoc-mokuji-content.frame4, .rtoc-mokuji-content.frame5 {
    margin: 50px auto!important;
}
/*ボタンアニメーション*/
.btn-list {
  position: relative;
  z-index: 2;
  background-color: #fff;
  border: 2px solid #03c5eb;
  color: #03c5eb;
  font-size: 17px;
  line-height: 50px;
  overflow: hidden;
  margin-bottom: 15px;
  display: block;
  text-align: center;
}
.btn-list:hover {
  color: #fff;
  background: #03c5eb;
  font-weight: bold;
}
.btn-list:hover::after {
  background: #03c5eb;
  -webkit-transform: scale(1);
  transform: scale(1);
}
.btn-list,
.btn-list::before,
.btn-list::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.btn-sbsc {
  position: relative;
  z-index: 2;
  background-color: #81d742;
  border: 2px solid #81d742;
  color: #fff;
  font-size: 17px;
  line-height: 30px;
  overflow: hidden;
  display: block;
  padding: 10px 20px;
  text-align: center;
  width: 80%;
  margin: 30px auto;
  width: 80%;
}
.btn-sbsc,
.btn-sbsc::before,
.btn-sbsc::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.btn-sbsc:hover {
  color: #81d742;
  background: #fff;
  padding: 10px 30px;
  font-weight: bold;
  width: 85%;

}

.btn-theme-primary-outline {
  background-color: #1ab141;
  background-image: none;
  border-color: #1ab141;
  color: #FFF;
  font-size: 15px;
}
.btn-theme-primary-outline:hover {
  color: #1ab141;
  background-color: transparent;
  border-color: #1ab141;
}
/*footer*/
#footer-widgets {
    color: #ffffff;
}
table{
  border-collapse: collapse;
  width: 100%;
}
.tb01 th,
.tb01 td{
  padding: 10px;
  border: solid 1px #ccc;
  text-align:center;
  box-sizing:border-box;
}
.tb01 th {
  background: #1ab141;
  color: #fff;
  
}
/*YouTube埋め込み設定*/
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}
/*メディアクエリ*/
@media (min-width: 768px){
.pc { display:inline;
}
.sp { display:none;
}
}

@media (max-width: 768px) {
.pc { display:none;
}
.sp { display:inline;
}
h1 {
    font-size: 1.5rem;
}
.grid-list {
  -ms-grid-columns: auto;
  grid-template-columns: 1fr;
}
.grid-list2 {
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}
.btn-sbsc {
	width: 100%;
}
.grid-2col {
  -ms-grid-columns: auto;
    grid-template-columns: auto;
    width: auto;
    grid-gap: 20px;
}
.grid-3col {
	-ms-grid-columns: auto;
    grid-template-columns: auto;
    width: auto;
    grid-gap: 20px;
}
.grid-4col {
	-ms-grid-columns: auto;
    grid-template-columns: auto;
    grid-gap: 10px;
}
.profile{
    grid-template-columns: 1fr!important;
    text-align: center;
}
.center-left {
  text-align: center!important;
}
.col_3{
width: 33.33333%!important;
}
  .tb01 .head{
    display:none;
  }
  .tb01 {
    width: 100%;
  }
  .tb01 td,
  .tb01 th{
    display: block;
    width: 100%;
    border-bottom:none;
  }
  .tb01 td{
    padding: 0px 12px 0 0;
    display: block;
    width: 100%;
    line-height: 2.5;
    text-align:left;
  }
  .tb01 td:before{
    color: #fff;
    content: attr(data-label);
    font-weight: bold;
    padding: 0px 10px;
    display: inline;
    background-color: #2CA82C;
    margin-right: 10px;
    float: left;
  }
  .tb01 tr:last-child{
    border-bottom: solid 1px #ccc;
  }
}
@media screen and (max-width: 560px){
.sp {
    width: 100%!important;
}
.img-pc { display: none !important; }/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
.img-sp { display: block !important; margin: auto;}/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
.col_3 > div{
width: 33.33333%!important;
}
.col4{
    grid-template-columns: 1fr 1fr!important;
}
.col2{
    width: 100%!important;
}
.col2-82{
    width: 100%!important;
}
.col3{
    width: 100%!important;
}
}
/*カレンダーに残追加*/
div.numberInsteadOfSymbols:before {
    content: "残 ";
}
/*ブログプロフィール*/
.profile{
display: grid;
grid-template-columns:  20% 80%;
justify-content: center;
align-items: center;
grid-gap: .5rem;
margin: 20px 0px!important;
border: solid 1px #333333;
padding: 10px 20px;
}
.profile img{
border-radius: 50%;
}
.center-left {
  text-align: left;
}
.col_nav{
width: 100%;
display: flex;
display: -ms-flexbox; /* IE10 */
flex-wrap: wrap;
-ms-flex-wrap: wrap; /* IE10 */
justify-content: center;
}
.col_3{
width: 12.5%;
text-align: center;
font-size: 12px;
background: #191919;
border-right: solid 1px #fff;
border-bottom: solid 1px #fff;
}
.col_3 > div{
position: relative;
overflow: hidden
}
.col_3 > a {
  color: #fff;
  display: block;
  font-size: 12px;
  text-decoration: none;
  padding: 10px 0;
  transition: 0.5s;/* 変化にかかる時間 */
}
.col_3 a:hover {
  color: #191919;
  border-top: solid 1px #B01515;
  background-color: #E5E5E5;
}
.col4{
  display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 15px;
    margin: 20px auto;
}
.col2{
  display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
    margin: 20px auto;
    width: 70%;
}
.col2-82{
  display: grid;
    grid-template-columns: 80% 20%;
    grid-gap: 15px;
    margin: 20px auto;
    width: 70%;
}
.col2-sche{
  display: grid;
    grid-template-columns: 1fr 3fr;
    grid-gap: 30px 10px;
    margin: 20px auto;
    width: 100%;
}
.col3{
  display: grid;
    grid-template-columns: 1fr 1fr 10px;
    grid-gap: 5px;
    margin: 20px auto;
    width: 70%;
    align-items: center;
}
/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.img-pc { display: block !important; margin: auto; }
.img-sp { display: none !important; }

.col_nav > .current {
  color: #191919;
  background-color: #E5E5E5;
  font-size: 12px;
  cursor: pointer;
  border-top: solid 1px #B01515;
}
/*Woocomerce買い物ボタン*/
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt{
background-color: #1ab141!important;
}
.marker {
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: rgba(255, 228, 0, 0.4);
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none;
  font-weight: 600;
}
.marker-only {
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: rgba(255, 228, 0, 0.4);
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none;
}
.bold-c{
  text-align: center;
  font-weight: bold;
}
/*button{
  background:#191919;
  color:#fff;
  border:none;
  position:relative;
  height:30px;
  font-size:17px;
  padding:0 2em;
 margin: 1em auto;
  cursor:pointer;
  transition:800ms ease all;
  outline:none;
}
button:hover{
  background:#fff;
  color:#191919;
}
button:before,button:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #191919;
  transition:400ms ease all;
}
button:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
button:hover:before,button:hover:after{
  width:100%;
  transition:800ms ease all;
}