@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

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

:root {
	--webgsss-color-mojiiro: #444444;
	--webgsss-color-shiro: #ffffff;
	--webgsss-color-kuro: #333333;
	--webgsss-color-haiiro: #bbbbbb;
	--webgsss-color-kiken: #FF0066;
	--webgsss-color-main1: #0e7db4;
	--webgsss-color-main1usui: #E5FBFF;
	--webgsss-color-main1koi: #084b6c;
}
html {scroll-behavior: smooth;}
.center{text-align: center;margin: 0 auto;}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
.pc_only{display:block;}
.sp_only{display:none;}
#editor .pc_only{display:block !important;}
#editor .sp_only{display:block !important;}

/************************************
** モバイルフッターボタングラデカラー
************************************/
.mobile-footer-menu-buttons li{
	background-color: var(--webgsss-color-main1);
	border: none;box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}
.mobile-menu-buttons .menu-icon{display:none;}
.mobile-menu-buttons .menu-caption{font-weight:bold;color:#fff;opacity:1;}
.mobile-menu-buttons .menu-caption .tel1{font-size:3vw;}
.mobile-menu-buttons .menu-caption .tel2{font-size:5vw;}
/************************************
** ナビメニューコンテンツ（スマホで開いたときの左側のメニュー）
************************************/
.navi-menu-content{
	background-image: radial-gradient(circle at 50% 50%, #fff 0%, #fff 25%, #f0f0f0 25%, #f0f0f0 50%);
	background-size: 4px 4px; /* ドットの間隔を変更 */
}
.navi-menu-content .navi-menu-close-button{
	background-color:#000;
	color:#fff;
	font-weight:normal;
}
.navi-menu-content ul.menu-drawer{
	margin-top: 2em;
}
.navi-menu-content ul.menu-drawer li{
	border-bottom:1px solid #000;
}



/************************************
** LPランディングページ横幅いっぱい
************************************/

/**上下のセクションをピッタリとくっつけるための処理**/
@media screen and (max-width: 1023px){
	#content{overflow: hidden;}
	.content{margin: 5px 0 0 0 !important;}
	.entry-content{margin:0 !important;}
	.footer{margin:0 !important;}
	.article{margin:0 !important;}
	.main{padding:0 !important;}
	.main{padding:0 0.5em !important;}
}


/**左右横幅いっぱいにするための処理**/
.lp_box{
	margin: 0 calc((100% - 100vw) / 2) 0 calc((100% - 100vw) / 2) !important;
	padding: 0 calc(50vw - 50% ) 0 calc(50vw - 50% ) !important;
	width: 100vw;
	overflow: hidden;
	box-sizing:border-box;
	border:0 !important;
}
/*1023px以下*/
@media screen and (max-width: 1023px){
	.lp_box{
		margin: 0 calc((100% - 100vw) / 2) 0 calc((100% - 100vw) / 2) !important;
		padding: 2em calc(52vw - 50% ) 2em calc(52vw - 50% ) !important;
		width: 100vw;
		overflow: hidden;
		box-sizing:border-box;
		border:0 !important;
		border-radius: 0 !important;
	}
}

.lp_box_midashi{}
.lp_box_midashi h2{
	background-color:transparent;
	border-bottom:2px solid #fff;
	text-align:center;
	font-size:2.5em;
	color:#fff;
	margin:0;
	padding:0.5em;

}
/************************************
** フォームとテーブルのデザイン
************************************/
form u.hissu {
	font-size:10px;
	text-decoration:none;
	display: inline-block;
	margin: 0 1em 0 1em;
	padding: .4em;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	background-color: #bf0000;
	border: 1px solid #bf0000;
}
form u.nini {
	font-size:10px;
	text-decoration:none;
	display: inline-block;
	margin: 0 1em 0 1em;
	padding: .4em;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	background-color: #999;
	border: 1px solid #999;
}
form u.kotei {
	font-size:10px;
	text-decoration:none;
	display: inline-block;
	margin: 0 1em 0 1em;
	padding: .4em;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	background-color: #333;
	border: 1px solid #333;
}
/* チェック・ラジオを一行ごとに */
.wpcf7-form-control .wpcf7-list-item{
	display:block;
}

/* 禁止マーク */
input:disabled {
    cursor: not-allowed;
}
label.disabled {
    cursor: not-allowed;color:#999;
}
/* 郵便番号 */
input[name="your_name"]{width:30%;}
input[name="your_name_furigana"]{width:30%;}
input[name="your_denwa"]{width:40%;}
input[name="your_email"]{width:60%;}
input[name="zip"]{width:20%;}
input[name="pref"]{width:30%;}
input[name="city"]{width:30%;}
input[name="addr"]{width:30%;}
input[name="addr2"]{width:100%;}
@media screen and (max-width: 1023px){
	input[name="your_name"]{width:70%;}
	input[name="your_name_furigana"]{width:70%;}
	input[name="your_denwa"]{width:90%;}
	input[name="your_email"]{width:90%;}
	input[name="zip"]{width:50%;}
	input[name="pref"]{width:90%;}
	input[name="city"]{width:90%;}
	input[name="addr"]{width:90%;}
	input[name="addr2"]{width:100%;}
}
/* フォームオブジェクト */
input[type="submit"] {
    display:block;
    background-color: #bf0000;
    color:#fff;
    font-weight:bold;
    text-align:center;
    margin: 0 auto;
    width: 80%;
	font-size:1.5em;
}
input {border: 1px solid #808080 !important;margin:4px 0;}
textarea {border: 1px solid #808080 !important;margin:2px 0;}
input:focus {background-color: #e0ffff;border: 1px solid #000 !important;}
textarea:focus {background-color: #e0ffff;border: 1px solid #000 !important;}
input:focus[type="submit"] {background-color: #0000ff;}


/************************************
** テーブルのデザイン
************************************/
.table{
	font-size:0.9em;
	  border-collapse: collapse;
}
.table .tr{
  display: table;
  width: 100%;

  border-collapse: collapse;
  border-spacing: 0;
}
@media screen and (max-width: 767px) {
  .table .tr{
    display: block;
    width:100%;
  }
}
.table .tr .td{
  display: table-cell;
  border: 1px solid #e5e5e5;
  padding: 8px 13px;
  vertical-align:top;

  border-collapse: collapse;
  border-spacing: 0;
}
@media screen and (max-width: 767px) {
  .table .tr .td{
    display: block;
    width:100%;
  }
}
.table .label{
	background    : #fcfcfc;
	width:30%;
}
.table .input{
	width:70%;
}

.table .tr .td:nth-child(2){
width:70%;
}
@media screen and (max-width: 767px) {
  .table .tr .td:nth-child(2){
    display: block;
    width:100%;
  }
}
/************************************
** 画像リンクホバーアクション
************************************/
a img{
  width: 100%;
  transition-duration: 0.5s;
}
a:hover img{
  box-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  transform: translateY(-1px);
  transition-duration: 0.5s;
}

/************************************
** 見出し
************************************/
.article h2{
  border-bottom: solid 3px #cce4ff;
  position: relative;
  top:0;left:0;
  background-color:transparent;
  font-size:120%;
  margin-top:0;
  padding:0.25em;
}
.article h2:after{
  position: absolute;
  left: 0px;bottom: -3px;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  width: 20%;
}

@media screen and (max-width:768px){
	.article h2{}
}
.article h3{

}
@media screen and (max-width:768px){
	.article h3{}
}

.article h4{

}
@media screen and (max-width:768px){
	.article h4{}
}


.article h5{color:#00f;}
.article h6{color:#00f;}


/************************************
** 事務所テーブル
************************************/
.table_jimusyo table{width:100% !important;}
.table_jimusyo table tbody{width:100% !important;}
.table_jimusyo table tr{width:100% !important;}

.table_jimusyo table td:nth-child(1){width:6em;}

/************************************
** アニメーション 文字に左からアンダーラインを引く
************************************/
/* アニメーション前のスタイル */
.marker-under {
  display: inline;
  position: relative;
  background-image: linear-gradient(90deg, #ffff66, #ffff66); /* 単色の場合は同じ色、グラデーションの場合は別々の色 */
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 0 30%; /* '30%'の部分にマーカーの太さを記入 */
  transition: all 2s ease-in-out; /* マーカーを引く速度を調整 */
  font-weight: bold; /* ついでに太字にしたい場合 */
}
/* アニメーション発火時 */
.marker-under.inview {
  background-size: 100% 30%; /* '30%'の部分は上で設定した太さに合わせる */
}


/* サイドバーデザイン */
#sidebar .widget-sidebar{
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 1em;
  border: 1px solid #ccc;
  background: #f9f9f9;
}
#sidebar .widget-sidebar-title,
#sidebar .widget-sidebar-scroll-title{
  border-bottom: solid 3px #cce4ff;
  position: relative;
  top:0;left:0;
  background-color:transparent;
  font-size:90%;
  margin-top:0;
}
#sidebar .widget-sidebar-title:after,
#sidebar .widget-sidebar-scroll-title:after{
  position: absolute;
  left: 0px;bottom: -3px;
  content: " ";
  display: block;
  border-bottom: solid 3px #5472cd;
  width: 20%;
}
#sidebar ul{
	list-style: none;
	margin:0;
	padding:0;
}
#sidebar li{
	list-style: none;
	margin:0;
	padding:0;
}
#sidebar .widget_links ul li a{
font-size:110%;
	display:block;
	text-align:center;
	background: #eee;
}
#sidebar .widget_links ul li a img{
	display:block;
}

/* 吹き出し */
.fukidashi h2{
  margin:2em 0;
  padding:0;
  background-color:#fff;
}
.fukidashi .speech-balloon{
  font-size:1.5vw;
}
@media screen and (max-width: 1023px){
  .fukidashi h2{
    font-size:5vw;
  }
  .fukidashi .speech-balloon{
    font-size:3vw;
  }
}

/* 目立たせ */
.medatase1-1{
  margin: 2em 0 0.2em 0 !important;
  padding:0;
  font-size:2.5vw;
}
.medatase1-2{
  margin: 0.2em 0 2em 0 !important;
  padding:0;
  font-size:1.5vw;
}
@media screen and (max-width: 1023px){
  .medatase1-1{
    font-size:5.5vw;
  }
  .medatase1-2{
    font-size:3.7vw;
  }
}

.medatase2{
  font-size:2.5vw;
}
@media screen and (max-width: 1023px){
  .medatase2{
    font-size:5.5vw;
  }
}

.medatase3{
  font-size:2vw;
}
@media screen and (max-width: 1023px){
  .medatase3{
    font-size:3.5vw;
  }
}

.medatase4 strong{
  font-size:2.2vw;
}
@media screen and (max-width: 1023px){
  .medatase4 strong{
    font-size:5.5vw;
  }
}



/************************************
** モバイル お電話お待ちしております
************************************/
ul.mobile-menu-buttons{
	line-height: 1.4em;
	font-size:1em !important;
	min-height: 50px;
}

ul.mobile-menu-buttons li.menu-button{
	line-height: 1.4em;
	font-size:1em !important;
	min-height: 50px;
	background: linear-gradient(60deg , #0c70a2, #0e7db4);
}

ul.mobile-menu-buttons li.menu-button .menu-icon{
	display:block;
	line-height: 1.4em;
	font-size:1em !important;
	color:#fff !important;
	min-height: 25px;
	font-weight:normal;
}
ul.mobile-menu-buttons li.menu-button .menu-caption{
	display:block;
	line-height: 1.4em;
	font-size:1em !important;
	color:#fff !important;
	min-height: 25px;
	font-weight:normal;
}
#navi-menu-content{
	background:#0e7db4;
}
#navi-menu-content a{
	color:#fff !important;
}
#navi-menu-content li{
	background-color: transparent;
	box-shadow:none;
}



/*1023px以下*/
@media screen and (max-width: 1023px){
	/*モバイルユーザビリティの問題が検出されたとき*/
	.nt-warning{font-size:16px !important;line-height:1.2em !important;}
	.date-tags{font-size:16px !important;line-height:1.2em !important;}
	.btn-l{font-size:16px !important;line-height:1.2em !important;}
	.entry-category, .post-date, .post-update, .post-author, .amp-back{font-size:16px !important;line-height:1.2em !important;}

	.pc_only{display:none !important;}
	.sp_only{display:block !important;}
}
/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

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