@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* PCサイズ以上でヘッダーを常に画面上部に固定 */
@media screen and (min-width: 960px) {
  #header {
    position: fixed; /* ヘッダーを画面に固定 */
    top: 0;          /* 画面の上端に固定 */
    width: 100%;     /* 幅を画面いっぱいに */
    z-index: 999;    /* 他の要素より手前に表示 */
    background-color: #fff; /* 背景色を設定して下のコンテンツが透けないように */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 見栄えを良くするための影 */
  }

  /* 固定ヘッダーの高さ分、コンテンツに余白を追加 */
  body {
    padding-top: 80px; /* ヘッダーの高さに合わせて調整してください */
  }
}

/* ログイン時にヘッダーの位置をアドミンバーの下に調整 */
.customize-support #header {
  top: 32px; /* PCでのアドミンバーの高さ */
}

.admin-bar #header {
  top: 32px; /* PCでのアドミンバーの高さ */
}

.p-articleFoot {
	display: none;
}

.c-shareBtns__item {
    color: #4887a8!important;
}

.c-categoryList:before, .icon-folder:before, .c-postTimes__posted:before {
	content: none;
}


/* カード型はここから */
.p-postList.-type-card .p-postList__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* カード型ここまで */

/* リスト型はここから */
.p-postList.-type-list .p-postList__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
/* リスト型ここまで */

/* テキスト型はここから */
.p-postList.-type-simple .p-postList__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}
/* テキスト型ここまで */





/*ContactForm7カスタマイズ*/
table.CF7_table{
	width:100%;
	margin:0 auto;
	border: 3px solid #e5e5e5;
}

table.CF7_table tr{
	border-top: 1px solid #e5e5e5;
}

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

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

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

/*「必須」文字*/
.CF7_req{
	font-size:.9em;
	padding: 5px;
	background: #4887a8;
	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:#ebedf5;/*ブルーグレー*/
	}
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:100%;
  display: flex;
	}
	.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:#4887a8;
	border:0;
	color:#fff;
	font-size:1.2em;
	font-weight:bold;
	margin:0 auto;
	width: 100%;
	border-radius: 3px;
	padding: 8px;
}

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

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


.CF7_tbody{
  width: 100%;
}

input[type=text], textarea, input[type="email"]{
  width: 100%;
  border-radius: 4px;
}




.l-sidebar table.CF7_table{
  width:100%;
  display: flex;
}

.l-sidebar .CF7_table tr, .l-sidebar  .CF7_table td, .l-sidebar .CF7_table th{
  display: block;
  width: 100%;
  line-height:2.5em;
}

.l-sidebar .CF7_table th{
  background-color:#ebedf5;
}