/*
Theme Name: HY-handbook
Template: momentum
*/
body {
  -moz-osx-font-smoothing: grayscale;
}

.page .container {
   margin-top: 70px;
}

.nav>li>a {
    /* font-size: 16px; */
    font-size: 12px;
    padding: 25px 10px;
}


.child-menu .current_page_item>a {
    background: #fff;
    color: #000;
}

.child-menu a:hover {
    color: #cc0000;
}



ul.check li{
	list-style:none;
	padding-left:24px;
	position:relative;
	line-height: 200%;
}
ul.check li:before,
ul.check li:after{
	content:"";
	display:block;
	position:absolute;
	line-height: 200%;
}
ul.check li:before{
	width:20px;
	height:20px;
	border-radius:10px;
	background:#cc0000;
	left:0;top:6px;
}
ul.check li:after{
	border-left:2px solid #fff;
	border-bottom:2px solid #fff;
	width:8px;
	height:5px;
	-webkit-transform:rotate(-45deg);
	transform:rotate(-45deg);
	left:5px;
	top:11px;
}


p.mb1{
   margin-bottom: 1em;
}
p.mb2{
   margin-bottom: 2em;
}
p.mb3{
   margin-bottom: 3em;
}
p.mb4{
   margin-bottom: 4em;
}
p.mb5{
   margin-bottom: 7em;
}

.whatsnew {
width: 80%;
}

.hr, hr {
    background: none;
}

a:visited {
	text-decoration: underline;
}


input[type=text], input[type=password], input[type=email], textarea, input[type=tel] {
    background: #fff;
    border: 1px dotted rgba(158,158,158,1.00);
    display: block;
    width: 100%;
    outline: 0;
    padding: 15px 15px;
	 border-radius: 8px;
}

.searchform div:after {
    color: #ccc;
    line-height: 24px;
    font-size: 18px;
    content: "\f002";
    position: absolute;
    left: 10px;
    top: 15px;
    font-family: FontAwesome;
}

.themeform.searchform div input {
    font-size: 14px;
}

table tr, table th, table td { border: solid 1px #d3d3d3 !important; text-align: left !important;}
.entry table {
  border-radius: 0;
}
table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
  background-image: none;
}


/***** コンタクトフォーム *****/

.wpcf7 dd {
  box-sizing: border-box;
}
.wpcf7 dd .wpcf7-radio .wpcf7-list-item {
  display: block;
}
.wpcf7 .wpcf7-text,
.wpcf7 .wpcf7-select {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  background-color: #f7f7f7;
  border: 1px solid #f7f7f7;
  transition: 0.3s ease-out;
}
.wpcf7 .wpcf7-text:focus,
.wpcf7 .wpcf7-select:focus {
  background-color: #fff;
  border: 1px solid #fff;
  border-bottom: 1px solid #dddddd;
}
.wpcf7 .wpcf7-date,
.wpcf7 .wpcf7-number {
  box-sizing: border-box;
  padding: 10px;
  background-color: #f7f7f7;
  border: 1px solid #f7f7f7;
  transition: 0.3s ease-out;
}
.wpcf7 .wpcf7-date:focus,
.wpcf7 .wpcf7-number:focus {
  background-color: #fff;
  border: 1px solid #fff;
  border-bottom: 1px solid #dddddd;
}
.wpcf7 .wpcf7-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  background-color: #f7f7f7;
  border: 1px solid #f7f7f7;
  transition: 0.3s ease-out;
}
.wpcf7 .wpcf7-textarea:focus {
  background-color: #fff;
  border: 1px solid #fff;
  border-bottom: 1px solid #dddddd;
}
.wpcf7 .wpcf7-submit {
  display: block;
  width: 100%;
  margin: 40px auto;
  padding: 20px;
  background-color: #cc0000;
  border: none;
  text-align: center;
  font-size: 20px;
  color: #fff;
  border-radius: 8px;
  transition: 0.3s ease-out;
}
/* line 373, scss/style.scss */
.wpcf7 .wpcf7-submit:hover {
  cursor: pointer;
  opacity: 0.6;
}

.wpcf7 .btn-confirm-submit {
	text-align: center;
	float: none;
	clear: both;
}
.wpcf7 .btn-confirm-submit input {
    display: inline-block;
    width: 45%;
    margin: 40px 10px;
    padding: 20px;
    background-color: #cc0000;
    border: none;
    text-align: center;
    font-size: 20px;
    color: #fff;
    border-radius: 8px;
    transition: 0.3s ease-out;
	cursor: pointer;
}
#privacy .privacy{
	margin-top: 100px;
}
#privacy .privacy p{
	text-align: center;
}
#privacy .wpcf7 .privacy p span{
	color: #000;
}
#privacy .privacy .heading{
	font-weight: bold;
	text-align: center;
}
#privacy .privacy dl{
    height: auto;
    overflow: auto;
    border: 1px solid #ccc;
    padding: 1em;
	display: block;
}
#privacy .privacy dt{
	border: none;
	display: block;
	width: 100%;
	background: none;
    padding: 0;
}
#privacy .privacy dd{
	border: none;
	padding-left: 2em;
	display: block;
	width: 100%;
	padding-top: 0;
}
#privacy .privacy .wpcf7-form-control-wrap.agree{
	text-align: center;
	display: block;
}

@media screen and (min-width: 768px) {
  .wpcf7 dl {
    display: table;
    width: 100%;
    border-top: 1px solid #EFEFEF;
    margin-bottom: 0;
  }
  .wpcf7 dl:last-of-type {
    border-bottom: 1px solid #EFEFEF;
  }
  .wpcf7 dt {
    display: table-cell;
    width: 35%;
    margin-bottom: 0;
    background-color: #f7f7f7;
    padding: 20px;
  }
  .wpcf7 dt .label {
    position: absolute;
    right: 20px;
    margin-right: 0;
  }
  .wpcf7 dd {
    display: table-cell;
    width: 65%;
    padding: 20px;
  }
  .wpcf7 .wpcf7-text {
    padding: 10px;
  }
}
.required-contactform7 {
    padding: 3px 5px;
    background: #cc0000;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
    font-size: small;
}
.required-contactform72 {
    padding: 3px 5px;
    background: #94cec4;
    color: #fff;
    border-radius: 3px;
    margin-right: 5px;
    font-size: small;
}
.check-column span.wpcf7-list-item {
	display: block;
}
.wpcf7 .check-wrapper{
  margin-bottom: 20px;
}
.wpcf7 .check-wrapper br{
  display: none;
}
.wpcf7 .check-wrapper .note{
  padding-left: 2em;
  display: block;
  margin-top: -0.5em;
  color: #444444;
}
.wpcf7 .check-wrapper .note a{
  text-decoration: underline;
}
.wpcf7 .check-wrapper .lead{
  color: #444444;
}
.wpcf7 .check-wrapper .wpcf7-form-control-wrap{
  display: inline-block;
}
.wpcf7 .check-wrapper .required-contactform7{
  font-weight: bold;
  vertical-align: top;
  margin-top: 2px;
  margin-left: 5px;
  display: inline-block;
  line-height: 1;
}
.wpcf7-form-control-wrap{
  line-height: 1.3;
  margin-bottom: 0.2em;
}
/*span.wpcf7-list-item {display: block;}*/

@media screen and (max-width: 768px) {
  .wpcf7 .btn-confirm-submit input[type=submit],
  .wpcf7 .btn-confirm-submit input[type=button] {
    width: 40%;
  }
	#privacy .privacy {
    margin-top: 50px;
    text-align: left;
	  width: calc(100% - 30px);
    margin: 50px auto;
}

}


/** blogページ調整 **/
.blog-category-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}
.blog-category-list .cat-item a{
  font-size: 1rem;
  line-height: 1;
  padding: 4px 1em;
  color: #ffffff;
  background: #cb0000;
  margin: .2em;
  border-radius: .5rem;
  transition-duration: .3s;
  box-sizing: border-box;
  border: 1px solid #cb0000;
  display: inline-block;
}
.blog-category-list .cat-item.active a{
  background: #fff;
  color: #cb0000;
}
.blog-category-list .cat-item a:hover{
  background: rgba(203,0,0,0.3);
  color: #cb0000;
}

#blog-page .content,
#archive-page .content{
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 50px;
}
.post-list-3c .post{
  width: 100%;
  position: relative;
  border-bottom: 1px solid #e5e5e5;
  margin: 0 5px;
  padding: 10px 0;
}
.post-list-3c .post-row:first-child .post:first-child{
  border-top: 1px solid #e5e5e5;
}
.post-list-3c .post .post-inner{
  display: flex;
  align-items: flex-start;
}
.post-list-3c .post-inner .post-thumbnail{
  width: auto;
}
.post-list-3c .post-inner .post-thumbnail img{
  width: 130px;
  height: auto;
}
.post-list-3c .post-thumb-category{
  position: absolute;
  right: 0;
  top: 15px;
}
.post-list-3c .post-thumb-category a{
  background: #cb0000;
  color: #fff;
  border-radius: 3px;
  padding: 0.2em 0.5em;
  display: inline-block;
}
.post-list-3c .post-inner .post-byline{
  margin-bottom: 0;
}
