@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.1.1
*/

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

/*ヘッダー詰める*/
.entry-title,
.content {
padding: 0;
margin: 0;
}

.header-in {
   display: block;
	width:1160px;
}

.logo-image {
  display: inline-block;
	width:25%;
	padding:0.5em 1em;
}

.widget_text {
  display: inline-block;
	vertical-align: top;
	width:65%;
font-family: 'Century Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','モリサワ 新ゴ R','Droid Sans',メイリオ,sans-serif;
}

.header_logo_after {
  display: inline-block;
}

#main{
Padding: 0;
margin: 0;
background-color: transparent;
}

.logo-image * {
display: block;
margin: auto;
	float:left;
}

.entry-content{
	margin:0;
	padding:0;
}

.article-footer.entry-footer {
	display: none;
}

p{
	margin:1em 0;
}

.footer{
	margin-top:0;
}

/*タイトル、投稿日時、投稿者の非表示*/
.page .entry-title,
.page .date-tags,
.page .author-info{
  display: none;
}

/*hタグリセット*/
.article h1 {
    padding: 0;
    background: none;
}
.article h2 {
    padding: 0;
    background: none;
}
.article h3 {
    border: none;
    padding: 0;
}
.article h4 {
    border: none;
    padding: 0;
}
.article h5 {
    border: none;
    padding: 0;
}
.article h6 {
    border: none;
    padding: 0;
}

.article h2 {
     padding:0;
	margin:0 0 1em 0;
	font-size:40px;
	text-shadow: 3px 3px #d8d52f;
	font-style:italic;
}

.font1 {
	font-size:130%;
	font-weight:bold;
}

.font2 {
	font-size:230%;
	font-weight:bold;
}

.sfont{
	font-size:12px;
	font-weight:normal;
	margin:0.25em;
	text-shadow: 2px 3px transparent;
}

div .whatsnew hr{
	border:1px dotted #eeeeee;
}

div .whatsnew{
	border:5px solid #f3f3f3;
	padding:2em;
}

.tel{
	font-size:220%;
	font-weight:bold;
	line-height:100%;
}

a{
	text-decoration:none;
	color:#333333;
}

/*ボックス*/

contents{
  display: flex;
	justify-content:center;
  flex-wrap: wrap;
	padding:0 1em;
	margin:0 !important;
}

box3{
	width:1160px;
	padding:4em 0;
}

.boxin2 {
  display: flex;
	justify-content:center;
  flex-wrap: wrap;
}

.con {
  width:33.3%;
  padding: 0.75em 1.5em;
  margin-bottom: 0.5em ;
}

.con2 {
  width:66.7%;
  padding: 0.75em 1.5em;
  margin-bottom: 0.5em ;
}

.con3 {
  width:50%;
  padding: 0.75em 1.5em;
}

.con4 {
  width:100%;
  padding: 0.75em 1.5em;
}

.con5 {
  width:30%;
  padding: 1em 0 0 0;
}
.con5 p{
	margin:0.25em 0;
}
.con6 {
  width:70%;
  padding: 1em 0 0 0;
}

.conmenu {
  width:47%;
  padding: 1.5em 1.5em 0 1.5em;
	background-color:#ffffff;
	margin:0.5em;
}

.bunner {
  width:20%;
  padding: 1em;
  margin-bottom: 0.5em ;
}

.cover{
	background-color:#f9f9f9;
}

.cover2{
background: url('http://ihinseirisapporo.com/wp-content/uploads/2021/10/4250882_m.jpg') center center;
background-size:100%;
}

.cover2 {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;	
	position: relative;
z-index: 0;
	color:#ffffff;
	overflow : hidden;
}

.cover2::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
background: inherit;
/* 最背面へ */
z-index: -1;
	filter: brightness(70%) blur(7px);
}

.waku{
	background:rgba(0,0,0,0.4);
	width:800px !important;
	padding:1.5em 0 !important;
}

/*-----------メイン画像スライド-----------*/
.box {
  position   : relative;
  max-width  : 1920px;
  height     : 600px;
  margin     : auto;
  overflow   : hidden;
}

.box .bgImg {
  position   : absolute;
  top        : 0;
  left       : 0;
  bottom     : 0;
  right      : 0;
  opacity    : 0;
  animation  : bgAnime 15s infinite;   /* 4画像 × 各5s = 20s */
	filter: contrast(120%);
}

.box .src1 {
background:url(http://first-garage.com/wp-content/uploads/2021/12/header.png) center center;
	background-repeat:no-repeat;
  animation-delay  : 0s;
	background-color: rgba(0,0,0,0.2);
	background-blend-mode: darken;
	background-size:cover;
}

.box .src2 {
background:url(http://first-garage.com/wp-content/uploads/2021/11/4756633_m.jpg) top right;
	background-repeat:no-repeat;
  animation-delay  : 5s;
	background-color: rgba(0,0,0,0.2);
	background-blend-mode: darken;
}

.box .src3 {
background:url(http://first-garage.com/wp-content/uploads/2021/11/126315_m.jpg) center center;
	background-repeat:no-repeat;
  animation-delay  : 10s;
	background-color: rgba(0,0,0,0.2);
	background-blend-mode: darken;
}

@keyframes bgAnime {
   0% { opacity: 0; }
   8% { opacity: 1; }
  33% { opacity: 1; }
  41% { opacity: 0; }
 100% { opacity: 0; }
}

.box .boxString{
  position   : absolute;
  display    : inline-block;
  padding    : 0;
  top        : 50%;                               /* 中央寄せ */
  left       : 50%;
  transform  : translate(-50%,-50%);
  z-index    : 11;
	width:100%;
	color:#ffffff;
	text-align:center;
}

.menu1,
.menu2
{
position: relative;
overflow: hidden;
width: 100%;
height: 200px;
	letter-spacing: 0.1em;
	background: #000;
	padding:0.75em 0 0 0;
	margin-bottom:1em;
}

.menu-text{
  position: absolute;
	text-align:center;
  pointer-events: none;
z-index: 101;
}

.menu-text p{
  color: #fff;
  font-size: 13px;
}

.menu1:after,
.menu2:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    transition: all .3s ease-out;
	filter: brightness(80%);
}
.menu1:after{
background: url('http://first-garage.com/wp-content/uploads/2021/11/4756633_m.jpg') top center;
background-size:100%;
}
.menu2:after{
background: url('http://first-garage.com/wp-content/uploads/2021/11/126315_m.jpg') left center;
background-size:100%;
}

.menu1:hover:after,
.menu2:hover:after {
  opacity: 0.7;
  transform: scale(1.2, 1.2);
}

.menu1 a,
.menu2 a
{
position: relative;
display: flex;
align-items: center;
justify-content: center;
z-index: 200;
height: 100%;
width:100%;
text-decoration: none;
color: #fff;
}

/*-----------ボタン-----------*/
.btn-flat-logo, .wpcf7 input[type="submit"] {
  position: relative;
  display: inline-block;
  padding: 1em 1.5em;
  text-decoration: none;
	background-color:#000000;
  transition: .4s;
	margin:0;
	color:#d8d52f;
	min-width:250px;
	font-weight:bold;
	border:1px solid #ffffff;
	font-size:100%;
}

.btn-flat-logo:hover, .wpcf7-submit:hover{
	opacity:0.7;
	color:#ffffff;
}

.btn-flat-logo2 {
  position: relative;
  display: inline-block;
  padding: 0.5em 1.5em;
  text-decoration: none;
	background-color:#1cb0b1;
  transition: .4s;
	margin:0;
	color:#ffffff;
	min-width:200px;
}

/*-----------テーブル-----------*/

.article table{
	margin:0;
}

.container table tr{
  background-color: transparent;
}

.company th{
 text-align:left;
 padding:0.5em 1.5em;
	border:1px solid #cccccc;
	font-weight:normal;
	background-color: #eeeeee;
	font-size:100%;
}

.company td{
 text-align:left;
 padding:0.5em 1.5em;
	border:1px solid #cccccc;
	font-weight:normal;
	background-color: #fff;
	font-size:100%;
}

@media(max-width:500px){
.company th,.company td {
 display:block!important;
 width:100%!important;
 border-top:none!important;
 -webkit-box-sizing:border-box!important;
 -moz-box-sizing:border-box!important;
 box-sizing:border-box!important;
}
.company tr:first-child th{
 border-top:1px solid #d7d7d7!important;
}
}

/*------------メールフォーム------------*/

@media(max-width:500px){
.inquiry th,.inquiry td {
 display:block!important;
 width:100%!important;
 border-top:none!important;
 -webkit-box-sizing:border-box!important;
 -moz-box-sizing:border-box!important;
 box-sizing:border-box!important;
}
.inquiry tr:first-child th{
 border-top:1px solid #d7d7d7!important;
}

/* 必須・任意のサイズ調整 */	
.inquiry .haveto,.inquiry .any {	
font-size:10px;
}}
/*見出し欄*/
.inquiry th{
 text-align:left;
 padding:0.75em 2em;
 border:solid 1px transparent;
	font-weight:normal;
	background-color: transparent;
	font-size:100%;
}
/*通常欄*/
.inquiry td{
 border:solid 1px transparent;
	padding:0.75em 1.5em;
	background-color: transparent;
	font-size:100%;
}

/*必須の調整*/
.haveto{
 font-size:80%;
 padding:5px;
 background:#ff9393;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}

/*任意の調整*/
.any{
 font-size:80%;
 padding:5px;
 background:#93c9ff;
 color:#fff;
 border-radius:2px;
 margin-right:5px;
 position:relative;
 bottom:1px;
}
span.wpcf7-list-item {
display: block!important;
}

.timeline-box {
border: none;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1024px以下*/
@media screen and (max-width: 1024px){
  /*必要ならばここにコードを書く*/
.header-in {
   display: block;
	width:100%;
}
.box {
  height     : 400px;
}
.article h2 {
	font-size:30px;
}
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
.logo-image {
	width:100%;
}
.widget_text {
	display:none;
}
.waku{
	width:90% !important;
	padding:1.5em !important;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
.font2 {
	font-size:150%;
	font-weight:bold;
}
.con, .con2, .con3, .con4 {
  width:100%;
}
.conmenu {
  width:100%;
	margin:0.5em 0;
}
.bunner {
  width:45%;
  padding: 0 0.25em;
  margin-bottom: 0.5em ;
}

}
