/*
 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:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */
/* ボタン */

a.cp_btn {
	display: block;
	width: 300px;
	padding: 0.6em;
	margin: auto;
	text-align: center;
	text-decoration: none;
	color: #a08a23;
	border: 2px solid #a08a23;
	border-radius: 3px;
	transition: .4s;
}
a.cp_btn:hover {
	background: #a08a23;
	color: #fff;
}

.btn-theme-primary-outline {
  background-color: transparent;
  background-image: none;
  border-color: #a08a23;
  color: #a08a23;
}
.btn-theme-primary-outline:hover {
  color: #FFF;
  background-color: #a08a23;
  border-color: #a08a23 !important;
}

.btn-theme-primary-outline:hover {
	  background-color: #a08a23;
	border-color: #a08a23 !important;align-content
}


/* サービス　写真横並び */
/* フレックスボックスの基本設定 等間隔（両端揃え）折返しあり */
[class^="flex-col"] {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* コンテンツ下のマージン */
.flex-child { margin-bottom: 10px; }

/* 各カラム毎のコンテンツと疑似要素の横幅 */
.flex-col2 .flex-child { width: calc( (100% - 30px) / 2 ); }

.flex-col3::after,
.flex-col3 .flex-child { width: calc( (100% - 20px) / 3 ); }

.flex-col4::before,
.flex-col4::after,
.flex-col4 .flex-child { width: calc( (100% - 30px) / 4 ); }
	
/* 最終行は両端揃えにしない */
.flex-col3::after,
.flex-col4::before,
.flex-col4::after { content: ""; }

.flex-col4::before { order: 1; }

/* レスポンシブ対応 */

/* 991px以下で4列 → 3列 */
@media screen and (max-width: 991px) {
	.flex-col4::after,
	.flex-col4 .flex-child { width: calc( (100% - 20px) / 3 ); }
}

/* 767px以下で4列・3列 → 2列 */
@media screen and (max-width: 767px) {
	.flex-col3 .flex-child,	
	.flex-col4 .flex-child { width: calc( (100% - 10px) / 2 ); }
}

/* 575px以下で全て1列 */
@media screen and (max-width: 575px) {
	.flex-col2 .flex-child,
	.flex-col3 .flex-child,
	.flex-col4 .flex-child { width: 100%; }
}

/*ここまで　画像＋文字並び */

/* p　上下余白あけ */
p.sev1 {
	line-height: 180%;
  font-size: 16px;
}

/* p　ボックス背景 */
.boxadm {
	  padding: 0.5em 1em;
    margin: 2em 0;
    color: #fff;
    background: #a08a23;/*背景色*/
}
 ? }
.boxadm p {
    margin: 0; 
    padding: 0;
}

/* p　ボックス背景　付箋 */
.boxfusen {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #a08a23;
    background: white;
    border-top: solid 5px #a08a23;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}
.boxfusen p {
    margin: 0; 
    padding: 0;
}


/* img　オンマウス　ホワイト */
a img:hover { opacity: 0.6; filter: brightness(100%); }


/* ナビエリア 文字 */
.onepress-menu a {
  color: #333333;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  zoom: 1;
  letter-spacing: 1px;
}

/* サブナビエリア */
.onepress-menu ul {
  min-width: 12em;
	width: 16em;
  border: 1px solid #e9e9e9;
  border-top: none;
}

/* ナビエリアサイズ　*/
.site-header {
  line-height: 75px;
  top: 32px;
  height: 90px;
  position: relative;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  -webkit-transition: all 1s ease-out;
  /* Safari */
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  box-shadow: 0 5px 10px 0 rgba(50, 50, 50, 0.06);
}
.site-header.header-fixed {
  top: 0px;
  left: 0px;
  position: fixed;
}
.site-header .custom-logo-transparent {
  display: none;
}

.followWrap {
 ?display: block;
  height: 90px;
}

/* PC・SPのみ改行する*/
@media screen and (min-width: 680px){   
  .pc { display:block; }
  .sp { display:none; }
}
@media screen and (max-width: 680px){   
  .pc { display:none; }
  .sp { display:block; }
}















/*------------------------------
	2.6 Table
------------------------------*/
table {
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid #ffffff;
  border-collapse: collapse;
  border-spacing: 0;
}

table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
  border: 1px solid #e9e9e9;
  line-height: 2;
  padding: 5px;
  vertical-align: middle;
}

table > thead > tr > th, table > thead > tr > td {
  border-bottom-width: 2px;
}

table th {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
}



/*------------------------------
	CF7
------------------------------*/

table.CF7_table{
	width:100%;
	margin:0 auto;
}

table.CF7_table tr{
	border-top: 0px solid #ffffff;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
	display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
	width:98%;
	line-height: 2;
  margin-bottom: 7px;
	margin-top: 7px;
}


.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #A08A23;
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.9em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#f8f5ee;
	}
}

/* レスポンシブ */
@media screen and (max-width: 768%){
	table.CF7_table{
	width:95%;
	}
	.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
	line-height:2.5em;
	}
	.CF7_table th{
	background-color:#ebedf5;
	}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#A08A23;
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
}

.CF7_btn{
	text-align:center;
	margin-top:20px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}


/* シンプル 枠（影） */
.kagebox2310 {
 margin: 1em auto;
 padding: 1em;
 width: 96%;
 background-color: #f8f3de; /* 背景色 */
 box-shadow: 0 0 1px 1px #f4edce; /* 影 */
}


/* クリック時の色変更 */
 a:hover {
    color: #777;
    text-decoration: underline;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0px rgba(2, 117, 216, .25);
}

a:focus, a:hover {
    color: #777;
    text-decoration: underline;
}



