@charset "UTF-8";

/*!
Theme Name: risk-megane-co-child
Template:   cocoon-master
Version:    1.1.0
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px) {
  /*必要ならばここにコードを書く*/
}

/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
  /*必要ならばここにコードを書く*/
}


.column-pv {
    display: none;
}

/************************************
** グローバルメニュー
************************************/
.navi-in > ul {
  justify-content: flex-end;
}

#navi .navi-in a:hover {
    background-color: rgba(255,255,255,0.0);
}
.navi-in a::after { border-bottom: 2px solid #ab003a; }
.navi-in a:hover::after { color: #ab003a; }

.fixed-header {
  box-shadow: 0 0 15px 5px rgb(0 0 0 / 10%);
  animation: slide_down_menu 0.5s ease !important;
}

/* スクロールしてもサブメニューを表示させる*/
.fixed-header .has-sub, .fixed-header .navi-in .sub-menu{
	display:block;
}

/************************************
** ヘッダーモバイルボタン
************************************/
@media screen and (max-width: 769px) {
  /* メニュー の文字を表示させない　*/
  .navi-menu-icon {
    font-size: 25px;
    padding-top: 5px;
  }

  .mobile-menu-buttons .menu-caption {
    display: none;
  }

  /*スライドインメニューを右から*/
  .navi-menu-content {
    left: auto;
    right: 0;
    transform: translateX(101%);
  }
}
/************************************
** header
************************************/



/************************************
** 見出し 
************************************/

.content-bottom-in {
    width: 1256px;
}

.content-bottom {
    background: #eee;
    margin: 1em 0 0;
    padding: 2em 0 0;
}

.content-bottom .section-title {
    margin-top: 12px;
    padding-bottom: 40px;
    font-size: 2em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    background: none;
    color: #000;
}

/************************************
** contact form 7 
************************************/

.inquiry-table {
    border-collapse: collapse;
    text-align: left;
    width: 100%;
    line-height: 1.8;
    margin-bottom: 20px;
}

.inquiry-table th {
    background-color: #242a5e;
    color: #fff;
    border: 1px solid #e6e6e6;
    padding: 20px;
}

.inquiry-table .lang-en {
    font-size: 14px;
    line-height: 1.2;
}

span.haveto {
    padding: 10px;
    color: #ffcc00;
}
.haveto { display: none;}

.inquiry-table td {
    background-color: #fff;
    border: 1px solid #e6e6e6;
    padding: 20px;
}

.inquiry-table td .caption {
    line-height: 1.2;
    font-size: 14px;
    margin-top: 10px;
}

.submit-box {
    text-align: center;
    border: 1px solid #e6e6e6;
    padding: 30px;
}

.box-inner-1 {
    padding: 30px 0;
}

.submit {
    width: 50%;
    margin: 0 auto;
}

input[type=submit] {
    padding: 20px;
    font-size: 20px;
    background-color: #242a5e;
    color: #fff;
    transition: 0.5s all;
}

input[type=submit]:hover {
    background-color: #fff;
    border: 1px solid #444;
    color: #444;
}

@media screen and (max-width:1256px) {
	.wpcf7 { margin: 0 5%; }
}

@media screen and (max-width:767px) {
	.wpcf7 { margin: 0 5%; }
	.submit-box {
      text-align: left;
      padding: 30px 5% 0;
	}
	.inquiry-table th, .inquiry-table td {
		padding: 10px;
	}
	.submit { width: 100%; }
}


/************************************
** #sec_footer_before
************************************/

.cats_list {
	margin: 0;
	background: #f3f3f3;
	padding: 60px 0 30px;
	display: flex;
}

.cats_list_inner {
	width: auto;
	margin: 0 auto;
	box-sizing: border-box;
	clear: both;
}

.cats_list .box {
	background: #fff;
	border: 1px solid #eee;
	border-top-color: #795548;
	width: 380px;
	float: left;
	margin: 0 0 30px 30px;
	box-sizing: border-box;
}

.cats_list .box:nth-child(3n + 1) {
	margin-left: 0;
	clear: both;
}

.box_ttl {
	font-size: 18px;
	font-weight: 700;
	color: #777;
	border-bottom: 1px solid #eee;
	padding: 24px;
	position: relative;
}

.box_ttl > a {
	color: inherit;
	padding: 24px;
	margin: -24px;
	display: block;
	text-decoration: none;
}

.box_ttl > a:before {
	content: "";
	width: 6px;
	height: 6px;
	display: block;
	border-right: 3px solid #252a5e;
	border-bottom: 3px solid #252a5e;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 26px;
	margin: auto 0;
	transform: rotate(-45deg);
}
.box_ttl > a:after {
	content: "";
	width: 58px;
	height: 100%;
	display: block;
	border-left: 1px solid #eee;
	position: absolute;
	top: 0;
	right: 0;
}

@media screen and (max-width: 769px) {
	#content-bottom { display: none; }
}


/************************************
** mobile時の投稿一覧のデザイン
************************************/

@media screen and (max-width: 480px) {
	span.cat-label.cat-label-3 { display: none; }
}




/************************************
** footer-widgets
************************************/

/* カテゴリーの子カテゴリー　のpaddingを調整*/
.footer-widgets .sub-menu a {
    padding: 0;
    padding-left: 1em;
}

/* フッター　事業内容一覧の2行目の高さを強制的調整*/
#nav_menu-3 { margin-top: 72px; }
#nav_menu-6 { margin-top: 36px;}
#nav_menu-9 { margin-top: 36px;}

/* フッター　事業内容一覧のhover時に、赤の下線を表示*/
#footer .sub-menu .menu-item a::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 0;
  transition: all 0.5s ease-out;
  border-bottom: 2px solid currentColor;
  display: block;
}
#footer .sub-menu .menu-item a:hover::after {
  width: 100%;
  border-bottom: 2px solid currentColor;
}
#footer .sub-menu .menu-item a::after {
  border-bottom: 2px solid #ab003a;
}
#footer .sub-menu .menu-item a:hover::after { 
  color: #ab003a; 
}



/************************************
** トップへ戻るボタン
************************************/

.go-to-top-button {
  width: 60px;
  height: 60px;
  border-radius: 0px;
  font-size: 30px;
}

/************************************
** 特定のカテゴリーページのh1非常時
************************************/
.category-3 .archive-title,
.category-8 .archive-title,
.category-1 .archive-title,
.category-4 .archive-title,
.category-104 .archive-title,
.category-143 .archive-title
{ display: none; }

/* 20210909 - カテゴリーページのh2サイズを小さくする */
.category .cat-h2 {
    font-size: 1.25em;
}

/* 20210915 - 記事h2のスタイル変更 */
.article h2 {
	border-width: 0px 0 4px 0;
    border-color: #C30041;
}
.article h2 > span::after {
    display: none;
}

.article h3 {
    border-width: 3px 0 3px 0px;
    border-color: #c30041;
}

