@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
*/

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

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

/*834px以下*/
@media screen and (max-width: 834px){
 /*非表示*/
.dis-non {display: none;}
}

/*------------------------------------------------------------
　モバイルカスタマイズ480px以下
------------------------------------------------------------*/
@media screen and (max-width: 480px){
/*H2サイズ変更*/
.article h2 {font-size: 0.9em!important;}
/*非表示*/
.dis-non {display: none;}
}

/*------------------------------------------------------------
　モバイルカスタマイズ640px以下
------------------------------------------------------------*/
@media screen and (max-width: 640px){
/*メイン（アピール）画像の変更*/
.appeal {background-image: url(https://sample.kireit.biz/wp-content/uploads/2023/08/main-smp1-mobi.png);}
#appeal {height: 130vw!important;}

}

/*------------------------------------------------------------
　基本カスタマイズ
------------------------------------------------------------*/
.m0 {margin: 0px;}
.p20 {padding: 20px;}


/*------------------------------------------------------------
　追加カスタマイズ （追従バナー）
------------------------------------------------------------*/
/*メニューをページ側面に固定*/
.fixed-menu {position: fixed;
             bottom: 120px;
             right: 0px;
	         width: 220px;
             z-index: 100;
	         background-color: rgba( 255, 255, 255, 0.5 );}
/*メニューを縦並びにする*/
.fixed-menu p {padding: 5px 2px;
	           margin: 5px;
	           width:200px;}

@media screen and (max-width:640px){
/*メニューをページ下部に固定*/
.fixed-menu {position: fixed;
             bottom: 0px;
             left: 0;
             width: 100%;
             text-align: center;
             z-index: 98;
	         background-color: rgba( 0, 0, 0, 0.6 );}
/*メニューを横並びにする*/
.fixed-menu p {display: inline-block;
	           padding: 5px 0px;
	           margin: 5px;
	           vertical-align: middle;
	           width:45%;}
}

/*------------------------------------------------------------
　追加カスタマイズ（コンテンツ）
------------------------------------------------------------*/
.main{
    background-color: #f4f4f4;
	border-color: #f4f4f4;
}

/*コンテンツ余白調整*/
/*#content {padding: 0px;}
#main {padding: 0px;}*/

/*アピールエリアの余白調整*/
#appeal {
  height: 32vw;
}

/*topページタイトル非表示*/
.front-top-page #main .entry-title{
  display: none;
}
/*go-to-topの位置修正*/
.go-to-top {bottom: 50px;}

/*グリッドエリアの作成*/
.grid-container{display: grid; /*グリッド*/
	grid-template-columns: 350px 300px 300px; /*カラム3列*/
	grid-gap: 10px; /*グリッドの隙間幅*/
	justify-content: center; /*コンテナを中央*/
}
.grid-container div:nth-child(1) {grid-row: 1/2; grid-column: 1/2;} 
.grid-container div:nth-child(2) {grid-row: 1/2; grid-column: 2/3;} /*2番目div要素を縦1～2,横2～3で作成*/
.grid-container div:nth-child(3) {grid-row: 1/2; grid-column: 3/4;}

/*グリッドアイテムを中央に配置*/
.item-center {
  display: grid;
  justify-items: center;
  align-items: center;
}

/*グローバルメニューの固定*/
.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10;
    animation: slideDown 0.3s ease-out; /* 上からスッと出すアニメーション */
}
@keyframes slideDown {
  from {
    transform: translateY(-100%); /* 一回上に隠してから */
  }
  to {
    transform: translateY(0); /* 定位置に戻る */
  }
}


/*バックカラー*/
.bk-gray0 {background-color: #f5f5f5;}

/*マウスオーバー半透明*/
.tomei img,a:hover {opacity: 0.7;} 

/*hrを点線にする*/
hr.dott  {
border-top: 2px dotted #a9a9a9;
border-right: none;
border-bottom: none;
border-left: none; 
}



/*dlスタイル変更*/
.dl-style01 dt,dd {padding:20px 10px 20px 10px;}

/* H2修正 */
h2.font-serif {font-family: serif;
	margin: 60px 0 30px;
	padding: 3px 18px;
	color: #000000;
	font-size: 2.2em;
	font-weight: bold;}

h2.back-img1 {background: url('/wp-content/uploads/2023/06/about.png') left center / contain no-repeat!important;}
h2.back-img2 {background: url('/wp-content/uploads/2023/06/service.png') left center / contain no-repeat!important;}
h2.back-img3 {background: url('/wp-content/uploads/2023/06/greeting.png') left center / contain no-repeat!important;}

/*背景イメージ*/
.haikei-1 {background: url('/wp-content/uploads/2023/06/area.png') right center / contain no-repeat;}

/*===バックカラー===*/
.bk-gray0 {background-color: #f5f5f5;}
.bk-gray1 {background-color: #696969;}
.bk-white {background-color: #fff;}
.bk-black {background-color: #000000;}

/*画像に文字のせ*/
div.ontext {
  position: relative;
}
.ontext img {
  width: 100%; /* divの幅に対する割合 */
}
.ontext p {
  color: #fff;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: rgba(0,0,0,0.5); /*背景：白色半透明*/ 
  padding: 10px 30px 10px 30px;
}

/*括弧*/
.kakko {
	padding: 15px;
	position: relative;
        text-align: center;
}
.kakko::before, .kakko::after {
	content: '';
	width: 25px;
	height: 25px;
	position: absolute;
}
.kakko::before {
	border-left: solid 2px #000000;
	border-top: solid 2px #000000;
	top: 0;
	left: 0;
}
.kakko::after {
	border-right: solid 2px #000000;
	border-bottom: solid 2px #000000;
	bottom: 0;
	right: 0;
}

/*枠*/
.waku-0       {width: 500px;
               display: inline-block;}
@media 
only screen and (max-width:640px) {.waku-0 {width: 100%;}}

/*リンク線を消す*/
a {text-decoration: none;}
a:hover {color : #dbebc4;}

/*------------------------------------------------------------
　追加カスタマイズ（コンタクトフォーム）
------------------------------------------------------------*/
/* 必須マーク */
.must { background: #FF1A00; }
/* 任意マーク */
.free  {background: #999; }

.must,.free {
	color: #FFF;
	border-radius: 3px;
	font-size: 12px;
	margin-right: 10px;
	padding: 5px 10px;
	letter-spacing: 0.2em;
}

/*フォーム入力項目*/
.wpcf7 input,
.wpcf7 textarea  {
	 width: 90%;
	 padding: 8px 15px;
	 margin-right: 10px;
	 margin-top: 10px;
	 border: 1px solid #ddd;
	 border-radius: 3px;
}

/* 送信ボタン */
input.sub-btn {
	width: 300px;
	height: 60px;
	background: #F90;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	letter-spacing: 0.2em;
	border: 1px solid #ffae13;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	-ms-transition: 0.3s;
	transition: 0.3s;	
}

/* 送信ボタンホバー */
input.sub-btn:hover{
	background: #FFF;
	color: #F90;  
}

/*------------------------------------------------------------
　追加カスタマイズ（モバイル OR PC）
------------------------------------------------------------*/
/*　PC用　*/
.at-mobile {display: none;}
/*　モバイル用　*/
@media screen and (max-width:640px) {
.at-pc {display: none;}
.at-mobile {display: inherit;}
}

/*　PC用画像　*/
.gazo-mobile img {display: none;}
/*　モバイル用画像　*/
@media screen and (max-width:640px) {
.gazo-pc img {display: none;}
.gazo-mobile img {display: inherit;}
}


