/*
Theme Name: manshitsu
Theme URI: 
Author: 
Author URI: 
Description: 満室御礼のサポートサイト
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: manshitsu
Tags: 
*/
html , body {
min-height: 100vh;
height: 100%;
}

#wrapper {
  height: auto;
  min-height: 100%;

}

body {
  margin: 0;
}

main{
	margin: 1em;
}

.wp-site-blocks,
.h_100{
	height: 100dvh!important;
}

/* ページネーション */
.pagination	{margin: 40px 0 30px;
	text-align: center}

.pagination {display: inline-block;
	margin: 0;
	padding: 0;
	list-style: none}

.pagination a,
.pagination .page-numbers
	{display: block;
		margin: 5px;
		padding: 10px 16px;
	border: solid 1px #cccccc;
	border-radius:50%;
	color: #000000;
	font-size: 14px;
	text-decoration: none}

.pagination a > span
	{background-color: #efefef}

.pagination a:hover	{background-color: #235190;
	color: #ffffff;}


.pagination .current{background-color: #235190;
	color: #ffffff;
}

.pagination:after	{content: "";
	display: block;
	clear: both}

.pagination a,.pagination span {float: left;
	width: auto}


/* 問い合わせボタン */


.wp-block-button__link:hover {
  color: #fff;
	background-color:#F72D31;
	transition: .4s 
}



/* パンくずリスト */

.wp-block-group.has-small-font-size.is-layout-flow.wp-block-group-is-layout-flow {
    margin: 0px 0px 0px auto;
}

.breadcrumbs{
	font-size: 0.8em;
}

.breadcrumbs > span > a{
    color:#2F83B8;
}

.breadcrumbs .fa{
	margin-right: 6px;
	color:#2F83B8;
}
.breadcrumbs span{
float: left;
width: auto	
}

.breadcrumbs > span:before {
  /* 各リンクの前に擬似クラスで区切り文字を追加 */
 font-family: "FontAwesome";
  content: "\f054";
  display:inline-block;
  font-size: 12px;
  margin: 0 5px;
}
 
.breadcrumbs > span:last-child:before {
  /* 最後の矢印だけを非表示 */
  display:none;
}
.breadcrumbs > span:first-child:before {
  /* HOMEアイコン前の矢印だけを非表示 */
  display:none;
}


/* メイン　タイトル */
:is(h1, h2, h3, h4, h5, h6).is-style-decoration-line{
	background-image: url("images/bk_h2.png");
	background-repeat: no-repeat;
	background-position: left bottom;
	height:auto;
	border-bottom: 2px dotted #235190;
	text-align: left;
	font-size: 1.7rem;
	line-height : 1.2;
	padding-left: 70px;
	padding-top: 15px;
	padding-bottom: 5px;
    width:100%;
}

/* メイン　リスト */
.mainContent{
	width:100%;	
	margin-left: 3em;
}

.mainContent ul li{
	text-align: left;
	margin-bottom: 10px;
	list-style-type:square;
	
}

.mainContent ul li::marker {
  color: #235190;
}

.mainContent ul li a{
	color:#2F83B8;
	text-decoration: none;
}


.mainContent ul li a:hover{
	color:#0D2A57;
}

/* 投稿日： 時計アイコン */
.wp-block-post-date.is-style-clock-icon::before {
  content: url(images/clock-regular.svg);
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  margin-right: 0.5em;
  font-size: 1.25em;
  opacity: 0.3;
}


/* 回答 */
.content{
	width: 100%;
}
.content h3{
	margin: 2rem 1rem 1rem 1rem;
	padding: 5px 0.5rem;
	border-left: 5px solid #2F9CC3	;
	text-align: left;
	background-color: #b7e2ed;
	
}

.content h4{
	margin: 2rem 2rem 1rem 2rem;
	padding: 3px 0.5rem;
	border-left: 10px solid #0D2A57	;
	text-align: left;

}

.content ul,ol{
	margin: 0px 5rem 0px 5rem;
}
.content p{
	margin: 0rem 3rem 2rem 3rem;
	line-height:1.75em;
}

.content img{
	margin: 5px auto;
	display: block;
	max-width: 850px;
}
@media screen and (max-width:600px) {
.content img{
	margin: 5px auto;
	display: block;
	max-width: 480px;
	width:80%
}
}


.toi img{
	width: 100%;
	max-width: 501px;
	display: block;
	margin: auto;

}


/* テーブル */
.content table {
    border-collapse:  collapse;     /* セルの線を重ねる */
	margin: 0px auto 10px auto;
	width: 90%;
	max-width: 900px;
}

.content th{
	background-color: #696969;
	color:#ffffff ;
	border: 1px solid #ddd;
	padding: 5px;
	width: auto;
}
.content td{
	background-color: #fff;
	border: 1px solid #ddd;
	padding: 5px;
	width: auto;
}

/* テーブル  アップデート用*/

table.up_ta {
    border-collapse:  collapse;     /* セルの線を重ねる */
	margin: 0px auto 10px auto;
	width: auto;
	max-width: 900px;
}

.up_ta th{
	background-color: #4c8abd;
	color:#ffffff ;
	border: 1px solid #ddd;
	padding: 2px;
	width: auto;
}
.up_ta td{
	background-color: #fff;
	border: 1px solid #ddd;
	padding: 2px;
	width: auto;
}

/* アップデート用 タイトル飾りライン*/
.up_l{
	border-bottom: 1px solid #235190;
	text-align: left;
	font-size: 1.7rem;
	line-height : 1.2;
	padding-left: 0.5em;
	padding-bottom: 5px;
    width:100%;
}

/*side content of the site */

/* サイドレイアウト */
aside{
    height: 100%;
}
@media screen and (max-width:780px) {
aside{
    display: none;
}
}

/* カテゴリリスト */

aside li a{
	color:#2F83B8;

}

aside li a:hover{
	color:#f18e8e!important;
    transition: all  0.3s ease;
}

aside li.current-menu-item{
    color: #F72D31!important;
    font-weight: bold;

}

@media screen and (min-width:781px) {

.mobile_menu{
	display: none!important;
}
}
@media screen and (max-width:780px) {
.mobile_menu{
    flex-wrap: nowrap !important;
	margin-bottom: 0px;
}
}

/*スライダーの矢印位置*/
.smb-spider-slider {
  overflow: visible;
}

.spider__arrow  {
  color: #0D2A57;
  bottom: 18px;
}
.op a img{
	transition: .3s ease-in-out;
	border: #acacac solid 2px;
}

.op a img:hover{
	border: #f18e8e solid 2px!important;
	filter: brightness(1.05)
}

/*全体にリンク*/
.column-link{
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
}

/*お問い合わせフォーム（左バナーより）*/
/* フォームタイトル */
:is(h1, h2, h3, h4, h5, h6).decoration-line{
	border-bottom: 2px dotted #235190;
	text-align: left;
	font-size: 1.7rem;
	line-height : 1.2;
	padding-left: 0.25rem;
	padding-bottom: 5px;
	margin-top: 1.5em;
    width:100%;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
	display: block;
	margin: 2.5em auto 1.5em auto;
background-color: #f5bf0e; 
color: white;
cursor: pointer;
border-radius: 10px;
width:80%;
transition: background-color 0.3s ease;
border: none;
font-size: 1em;
font-weight: bold;
}

.wpcf7-form input[type="submit"]:hover {
	background-color:#F72D31;
	transition: .4s 
}

/* フォーム */

.form_txt p{
	margin: 0rem auto 0.75rem!important;
	line-height:1.5em;
}

.form_txt img{
	margin: 0rem auto 1.5rem;
}

.form p {
	margin: auto 0em;

}
.contact_form_etc{
background-color: #ffffff; 
padding: 1.5em 0em;
border-radius: 10px;
margin: auto;
border: 1px solid #696969;
}

.contact_form{
background-color: #ffffff; 
padding: 1.5em 0em;
border-radius: 10px;
margin: auto;
border: 1px solid #235190;
}

.contact_form_etc p{
	clear: both;
	margin:auto 1.5em;
}

.contact_form p{
	margin:0;
}
.contact_form dl{
	margin: auto;
	width:90%;
	overflow:hidden;
	clear: both;

}

.contact_form dt{
	text-align: right;
	width: 25%;
	padding: 1em 0em;
	clear: both;
	float: left;
	font-weight : bold;
}

.contact_form dd{
	width: 70%;
	float: right;
	padding: 1em 0em;
}

.contact_form dl dt span.required, .contact_form dl dt span.optional {
    display: inline-block;
    float: left;
    font-weight: bold;
    padding: 3px 5px;
    border-radius: 3px;
}


p.text_cen{
	text-align: center;
}
.m_cen{
	margin: auto;
	display: block;
	text-align: center;
	width: 80%;
}

/* 640pixel start */
@media screen and (max-width: 937px){


.contact_form{
	width : 98%;
}
.contact_form dl{
	width : 92%;
}
.contact_form dl dt{
	width : auto;
	float : none;
	text-align : left;
	padding : 10px 0 5px;
	font-weight : bold;
}
.contact_form dl dd{
	width : auto;
	float : none;
	border-top : none;
	padding : 0px 0 13px 0px;
}
.contact_form dl dt span.required, .contact_form dl dt span.optional {
	margin-right: 0.5em;
}

}

/* インプットフィールドのスタイル */
.wpcf7-form textarea {
width: 100%;
padding: 10px;
border: 1px solid #cccccc; /* ライトグレー */
border-radius: 5px;
margin-bottom: 20px;
font-size: 16px;
padding: 0.5em;
}
/* テキストエリアのスタイル */
.wpcf7-form textarea {
height: 150px;
resize: vertical;
}

/* エラーメッセージと成功メッセージのスタイル */
.wpcf7-form .wpcf7-not-valid-tip {
color: red;
font-size: 14px;
}
.wpcf7-form .wpcf7-mail-sent-ok {
color: green;
font-size: 16px;
margin-bottom: 20px;
}
/* 必須フィールドのラベルスタイル */
.wpcf7-form span.required {
background-color: #F72D31; /* レッド */
color: #ffffff;
padding: 2px 5px;
border-radius: 3px;
margin-left: 10px;
font-size: 0.5em;
float: none;
}
/* 任意フィールドのラベルスタイル */
.wpcf7-form span.optional {
background-color: #a5a5a5; /* グレー */
color: #ffffff;
padding: 2px 5px;
border-radius: 3px;
margin-left: 10px;
font-size: 0.5em;
float: none;
}

.wpcf7-form input{
	border: 1px solid #D9D9D9;
	padding: 0.5em;
	border-radius: 5px;
	width: 100%;
	margin-bottom: 1em;
}

.wpcf7-form-control-wrap{
	width: 100%;
}

.wpcf7-form input:focus,.wpcf7-form textarea:focus {
	 outline: none; /* ブラウザのデフォルトの枠線を消す */
  background-color: #ffffff!important; /* 入力中の背景色を白色にする */
   box-shadow: 0 0 0 3px rgba(118, 211, 220, 0.5); /* 3px幅で薄いシアン色の光彩 */
}

/*送信後のメッセージ*/
.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450;
    text-align: center;
    clear: both;
	margin: 0.5em;
}

.chbox{
	margin-bottom: 1em;
	margin-top: 0px;
}

.chbox input,input.chbox{
	width: auto;
	float: left;
	margin-top: 0.3em;
	margin-bottom: 0em;
}

.chbox input span{
	float: left;

}

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

.pc{display: none;}
.tel{
	font-size:2em!important;
}
.mark_s{width:60px}
.mark_sp{flex-basis: 20%!important;} 
.tel_sp{flex-basis: 80%!important;} 
}

@media screen and (min-width:561px) {

.pc{display:block;}

}

  /*TOPへ移動する　リンクの形状*/

.page_top{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    border-radius: 50%;
  }
  .page_top a{
    position: relative;
    display: block;
    color: #980238;
    text-decoration: none;
    transition:all 0.3s;
  }
  .page_top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f139';
    font-size: 44px;
    position: absolute;
    margin: auto;
  }
  
  .page_top a:hover{
    color: #777;
  }
  
  /*リンクを右下に固定*/
  .page_top {
    position: fixed;
    right: 10px;
    bottom:10px;
    z-index: 2;
      /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);

  }
  
  /*　上に上がる動き　*/
  
  .page_top.UpMove{
    animation: UpAnime 0.5s forwards;
  }
  @keyframes UpAnime{
    from {
      opacity: 0;
    transform: translateY(100px);
    }
    to {
      opacity: 1;
    transform: translateY(0);
    }
  }
  
  /*　下に下がる動き　*/
  
  .page_top.DownMove{
    animation: DownAnime 0.5s forwards;
  }
  @keyframes DownAnime{
    from {
      opacity: 1;
    transform: translateY(0);
    }
    to {
      opacity: 1;
    transform: translateY(100px);
    }
  }

  .scroll_box {
	width: auto;
	max-width: 900px;
    height: 300px;
    padding: 20px 10px;
    /* 縦スクロールの設定 */
    overflow-y: scroll;
	box-sizing: border-box;
	border: solid #e8e8e8 1px;
	border-radius: 10px;
	margin: auto;
}

