@charset "UTF-8";
	
/*
Theme Name: WordPress for HUBERT
Author: 株式会社ヒューバート
Author URI: https://hubert.co.jp
Description: 
Version: 202109


〈主な構成内容〉
・Googleスコア モバイル「91」、PC「98」、WPRocketでキャッシュ後、モバイル「92」、PC「99」 ※2019/09/15時点
・WEBフォントは重くなるので不採用
・WP Rocket＆Imagify使用を想定
・無限スクロールとぺージナビ
・Scriptはページ下部へ
・wowとanimate.css削除、javascriptでfade-in対応（スマホもOK）

*/


/*------------------------------------------------------------
	リセット
------------------------------------------------------------*/

* {
	box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,a, abbr, acronym, address, big, cite, code,del, dfn, em, figure, font, img, ins, kbd, q, s, samp,small, strike, strong, sub, sup, tt, var,b, u, i, center,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
	font-weight: 300;
    vertical-align: baseline;
    background: transparent;
}

html {
	font-size: 62.5%;
	height:100%;
	-webkit-text-size-adjust:100%; /*iPhone 文字サイズ調整*/
	overflow-x: hidden; /*横スクロール非表示*/
} 

body {
	width: 100%;
	height:100%;
	font:300 1.3rem/2 "游ゴシック","Yu Gothic", YuGothic, "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	color: #1c1c1c;
}





/* remember to define focus styles! */
:focus {
    outline: 0;
}

i {
	font-style: normal;
}
 
/* remember to highlight inserts somehow! */
ins {
    text-decoration: none;
}

del {
    text-decoration: line-through;
}

address {
	font-style:normal;
}

/* 二乗等の上付き文字 */
sup {
    vertical-align: super;
    font-size: smaller;
}

main {
	display: block; /*IE11対応*/
}

/*------------------------------------------------------------
	LINK
------------------------------------------------------------*/

a:link {
	color: #3D2F29;
	text-decoration: none;
}

a:visited {
	color: #3D2F29;
	text-decoration: none;
}

a:hover {
	color: #3A4B78;
	text-decoration: underline;
}

a:active {
	color: #3A4B78;
}

a:focus { 
	outline:none;
}

/*------------------------------------------------------------
	汎用スタイル
------------------------------------------------------------*/





@media only screen and (min-width: 481px) {br.sp {
		display: none;
	}}



/* リスト */
ol, ul {
    list-style: none;
}

/* 画像 */
img {
	max-width: 100%;
	height: auto;
	display:block;/*画像の下の余白を消す*/
}

/* 太字・注意書き */












/*------------------------------------------------------------
	フォント
------------------------------------------------------------*/





/*------------------------------------------------------------
	アニメーション
------------------------------------------------------------*/



/*------------------------------------------------------------
	背景画像 Webp対応
------------------------------------------------------------*/

/* WebP未対応のブラウザ用のスタイル */

/* WebP対応のブラウザ用のスタイル */



/*------------------------------------------------------------
	テキストの寄せ
------------------------------------------------------------*/




/* float */



/* テーブル */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*------------------------------------------------------------
	フォームのデザイン
------------------------------------------------------------*/

/*iOS スタイル削除*/
input[type="button"],
input[type="text"],
input[type="submit"],
input[type="email"],
input[type="number"],
textarea  {
	max-width: 100%;
	background: #f1f1f1;
	border-radius: 0;
	padding: 7px 5px;
	border: 1px solid #ddd;
	-webkit-appearance: none;
	appearance: none;
}

/*項目のカラー（通常時）*/
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
textarea {
  background: #f3f3f3;
  border: 1px solid #f3f3f3; /*フォーカス時と同じ太さに*/
}

/*項目のカラー（選択時）*/
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
textarea:focus {
	background: #f9e7ed;
	border: 1px solid #CE245F;
}

/*プルダウンデザイン変更*/


 



/* 元々のチェックボックス（非表示） */
input[type="checkbox"]{
    display: none;
}

/* チェックボックスの代わりを成すラベル */
input[type="checkbox"] + span {
	display: inline-block;
	cursor: pointer;
	position: relative;
	padding: 0 10px 0 35px;
}


/* ラベルの左に表示させる正方形のボックス□ */
input[type="checkbox"] + span::before{
    content: "";
    position: absolute;
    display: block;
    background-color: #FFF;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    left: 0;
    top: 50%;
    border: 1px solid #bbb;
}

/* チェックが入った時のレ点 */
input[type="checkbox"]:checked + span::after{
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 18px;
    height: 9px;
    margin-top: -6px;
    top: 50%;
    left: 3px;
    transform: rotate(-45deg);
    border-bottom: 3px solid;
    border-left: 3px solid;
    border-color:  #CE245F;
}


/*------------------------------------------------------------
	マージン
------------------------------------------------------------*/




















/*------------------------------------------------------------
	IE11以上 Skype電話番号横の「FREE」を削除
------------------------------------------------------------*/





/*------------------------------------------------------------
	ベースライン
------------------------------------------------------------*/

h1 {
	font-size:3.2rem;
}

h2 {
	font-size:2.6rem;
}






h5 {
	font-size:1.4rem;
}

h6 {
	font-size:1.3rem;
}

/*------------------------------------------------------------
	汎用テキスト
------------------------------------------------------------*/










/*------------------------------------------------------------
	ヘッダー
------------------------------------------------------------*/

header {
	background: rgba(0,0,0,0.8);
	width:100%;
	height:60px;
	margin-bottom:20px;
	position:fixed;
	/*またはabsoluteで非固定*/
	top:0;
	z-index:100;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}


























@media only screen and (min-width: 813px) {header {
		height: 120px;
	}}



/*------------------------------------------------------------
	グランドメニュー
------------------------------------------------------------*/







/*------------------------------------------------------------
	ドロワーメニュー
------------------------------------------------------------*/

#wrapper {
	/* 	overflow: hidden; */
	width: 100%;
}


















/*アロー*/

  














/*------------------------------------------------------------
	コンテンツ：レイアウト
------------------------------------------------------------*/

.container {
	width:100%;
}

.container .contents {
	width:100%;
	margin:0 auto;
	padding: 30px 5vw;
	position:relative;
}

.container .contents p:not(:last-child) {
	margin-bottom: 5px;
}

@media only screen and (min-width: 813px) {.container .contents {
		padding: 60px 30px 60px;
	}
	
	.container .contents p:not(:last-child) {
		margin-bottom: 10px;
	}}



/*------------------------------------------------------------
	RESPONSIVE GRID（flex-box）
------------------------------------------------------------*/

.flex-box {
	display:flex;
	flex-wrap:wrap;
	display: -webkit-flex; /*古いブラウザ用*/
	-webkit-flex-wrap: wrap;/*古いブラウザ用*/
}

/*テンプレ用 仮設定*/


.fullwidth,
.one-half,
.one-third,
.one-third-left,
.one-third-right,
.two-third-left,
.two-third-right,
.two-fifth-left,
.two-fifth-right,
.three-fifth-left,
.three-fifth-right {
	width:100%;
}







@media only screen and (min-width: 813px) {.one-half {
		width:47.5%;
		margin-right:5%;
	}
	
	.one-third,
	.one-third-left,
	.one-third-right {
		width:30%;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	.one-third,
	.one-third-left,
	.two-third-left,
	.two-fifth-left,
	.three-fifth-left {
		margin-right:5%;
	}
	
	.one-half:nth-child(2n),
	.one-third:nth-child(3n),
	.one-fourth:nth-child(4n),
	.one-fifth:nth-child(5n),
	.one-sixth:nth-child(6n) {
		margin-right:0;
	}}


/*------------------------------------------------------------
	2カラム（サイドナビ有り）
------------------------------------------------------------*/







/*------------------------------------------------------------
	レスポンシブ動画（YouTube埋め込み）
------------------------------------------------------------*/






/*------------------------------------------------------------
	パンくず
------------------------------------------------------------*/

















/*------------------------------------------------------------
	フッター
------------------------------------------------------------*/

footer {
	width:100%;
}






/*------------------------------------------------------------
	フッターフロート
------------------------------------------------------------*/











/*------------------------------------------------------------
	横スクロールコンテンツ
------------------------------------------------------------*/



/*横スクロールするラップ全体の設定*/


/*横スクロールするアイテム単体の設定*/






/*------------------------------------------------------------
	ページトップへ
------------------------------------------------------------*/

p#page-top a {
	font-size: 2rem;
	font-weight: bold;
	text-align: center;
	color: #fff;
}



/*------------------------------------------------------------
	ボタン
------------------------------------------------------------*/

a.button,
a.button::before,
a.button::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .2s;
  transition: all .2s;
}

a.button {
	display: block;
	width: 240px;
	max-width: 100%;
	line-height: 42px;
	text-align: center;
	text-decoration: none !important;
	color: #fff;
	position: relative;
	z-index: 2;
	border: 1px solid #52B8FF;
	overflow: hidden;
}


a.button:hover {
  color: #fff!important;
  text-decoration: none;
}

a.button:before {
	content: "";
	font-family: "Font Awesome 5 Pro";
	font-weight: 300;
	position: absolute;
	right: 20px;
}


a.button:hover:before {
	right: 17px;
}

a.button::after {
	display: block;
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
	top: 0;
	left: -100%;
}


a.button:hover::after {
  left: 0;
}

a.button:hover {
	border: 1px solid #344C76;
}


/*戻るボタン*/








@media only screen and (min-width: 813px) {a.button {
		width: 320px;
		line-height: 80px;
	}
	
	a.button:before {
		margin-top: -38px;
	}}



/*------------------------------------------------------------
	Ajax Pagination and Infinite Scroll
------------------------------------------------------------*/



















/*LOADING中のイメージを中央に配置*/



/*------------------------------------------------------------
	WP-pagenavi
------------------------------------------------------------*/













/*------------------------------------------------------------
	並び替え
------------------------------------------------------------*/



