@charset "UTF-8";

/* 要素リセット */
body{
    margin: 0;
    padding: 0;
    font-size: 75%;
    font-family: 'BIZ UDPGothic','メイリオ' ,Meiryo, 'ヒラギノ角ゴ Pro W3' , 'Hiragino Kaku Gothic Pro' , 'ＭＳ Ｐゴシック' , 'Osaka' ,sans-serif;
    color: #252525; /* 標準文字色 */
    background-image : url(bg_2Ma.png);
    background-position:left top;
    background-repeat: repeat;
}

/* Safari用ハック 文字サイズ調整 */
/*\*/
html:first-child body{
    /*font-size: 70%;*/
    font-size: 1.1rem;
}
/* end */

img{
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

/*--------------------------------------------------------
  レイアウト設定
--------------------------------------------------------*/
#hpb-container{
    /*width: 970px;*/
    width: 100%;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    position: relative;
    background-color: #f7f3ee;
}

#hpb-header{
    background-image : url(headerBg_2Ma.png);
    background-position:center top;
    background-repeat:repeat-x;
    width: 100%;
}

#hpb-header::after{
    content: ".";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}

#hpb-footer{
    clear: both;
    /*width: 940px;*/
    width: 100%;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    padding-top: 30px;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
}

#hpb-footer::after{
    content: ".";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}

#hpb-inner
{
}

.hpb-layoutset-01 #hpb-inner{
    /*margin-top: 365px;*/
    margin-top: 65px;
}

.hpb-layoutset-02 #hpb-inner{
    /*margin-top: 60px;*/
    margin-top: 120px;
}

#hpb-wrapper{
    /*width: 700px;
    float: right;
    margin-right: 15px;*/
    width:1100px;
    margin:80px auto;
}

.hpb-layoutset-01 #hpb-wrapper{
    /*background-image : url(fBg_2Ma.png);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;*/
}

.hpb-layoutset-02 #hpb-wrapper{
    width: 100%;
    max-width: 1100px;
}

#hpb-title
{
}

.hpb-layoutset-01 #hpb-title{
    position: absolute;
    top: 147px;
    /*left: 12px;*/
    left: 0px;
    width:100%;
}

#hpb-main
{
}

.hpb-layoutset-01 #hpb-main
{
}

.hpb-layoutset-02 #hpb-main{
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 20px;
}

#hpb-aside
{
}

.hpb-layoutset-01 #hpb-aside{
    width: 225px;
    float: left;
    margin-left: 15px;
    display:none;
}

.hpb-layoutset-02 #hpb-aside{
    width: 225px;
    float: left;
    margin-left: 15px;
    display: none;
}

/* バナー */

#banner
{
}

/* ナビゲーション */

#hpb-nav{
    position: absolute;
    top: 103px;
    left: 0;
    margin: 0 auto;
    /*width: 970px;*/
    width: 100%;
    height:60px;
    overflow: hidden;
    background-image : url(mainmenu_2Ma_01.png);
    background-position: center top;
    background-repeat: repeat-x;
}

.hpb-layoutset-01 #hpb-nav
{
}

.hpb-layoutset-02 #hpb-nav
{
}

/*--------------------------------------------------------
  デザイン設定
--------------------------------------------------------*/
/* 背景設定 */

.hpb-layoutset-01
{
}

.hpb-layoutset-02
{
}

/* コンテンツ配置領域 */
/* トップページメインイメージ */

.hpb-layoutset-01 #hpb-title h2{
    width: 946px;
    height: 323px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
    background-image : url(top_mainimg_2Ma_01.png);
    background-repeat: no-repeat;
    text-align: left;
    text-indent: -9999px;
    overflow: hidden;
}

/*--------------------------------------------------------
  共通パーツデザイン設定
--------------------------------------------------------*/

.hpb-layoutset-01 #toppage{
	/*padding-top:30px;*/
}

/* ナビゲーション */

#hpb-nav ul{
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    list-style-type: none;
    overflow: hidden;
    text-align: center;
}

#hpb-nav ul::after{
    content: ".";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}

#hpb-nav li{
    display: inline;
    height: 59px;
    line-height: 59px;
    padding-top: 0;
    padding-right: 30px;
    padding-bottom: 0;
    padding-left: 0;
    font-weight:bold;
}

#hpb-nav li a
{
}

#hpb-nav li span.ja{
    /*display: none;*/
}

#hpb-nav li span.en{
    text-transform: uppercase;
    display:none;
}

#hpb-nav a:link{
    color: #2b3e01;
    text-decoration: none;
}
#hpb-nav a:visited{
    color: #2b3e01;
    text-decoration: none;
}
#hpb-nav a:hover{
    color: #488000;
    text-decoration: none;
}
#hpb-nav a:active{
    color: #488000;
    text-decoration: none;
}

.tf-wall{
    background-color: #CFE5EB;
}

.tf-wall-box{
    display:flex;
    flex-wrap:wrap;
    max-width:1280px;
    margin:auto;
    padding: 0;
}
.tf-wall-box-l{
    width: 46%;
    margin:2%;
    flex-grow: 1;
}
.tf-wall-box-mini-p p{
    font-size: 35px;
    text-align: center;
    font-weight: bold;
}
.tf-wall-box-r{
    width: 46%;
    margin:2%;
    flex-grow: 1;
}

.tf-wall-box-mini-box{
    width: 100%;
    display:flex;
    flex-wrap:wrap;
    max-width:1280px;
    margin:auto;
    padding: 0;
}
.tf-wall-box-mini-logo{
    width: 20%;
    margin:0%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.tf-wall-box-mini-p{
    width: 80%;
    margin:0%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* =======================================================
  レスポンシブル設定
======================================================= */
@media screen and (max-width: 568px) {
	
	/*--------------------------------------------------------
	  レイアウト設定
	--------------------------------------------------------*/
	#hpb-container{
		width: 100%;
	}
	
	#hpb-footer{
		width: 100%;
		padding-top: 0px;
	}
	
	.hpb-layoutset-01 #hpb-inner{
		margin-top: 0px;
	}
	.hpb-layoutset-02 #hpb-inner{
		margin-top: 0px;
	}
	
	#hpb-wrapper{
		width: 100%;
		float: none;
		margin-right: 0px;
        margin-top:0;
	}
	.hpb-layoutset-01 #hpb-wrapper{
		background-image: none;
	}
	
	.hpb-layoutset-01 #hpb-title{
		position: relative;
		top: 0px;
		left: 0px;
	}
		
	.hpb-layoutset-01 #hpb-main{
		padding-top: 0px;
        width: 100%;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 20px;
	}
	.hpb-layoutset-02 #hpb-main{
		padding-left: 0px;
		width: 96%;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 20px;
	}
	
	.hpb-layoutset-01 #hpb-aside{
		float: none;
		margin-left: 0px;
		max-width: 96%;
		margin-right: auto;
		margin-left: auto;
		padding-bottom: 20px;
	}
	.hpb-layoutset-02 #hpb-aside{
		float: none;
		margin-left: 0px;
		max-width: 96%;
		margin-right: auto;
		margin-left: auto;
		padding-bottom: 20px;
	}
		
	/* ナビゲーション */
	
	#hpb-nav{
		position: relative;
		top: 0px;
		width: 100%;
		height: auto;
		background-image: none;
		background-color: #FFFFFF;
		border-top-color: #F1EDED;
		border-top-style: solid;
		border-top-width: 1px;
		border-bottom-color: #F1EDED;
		border-bottom-style: solid;
		border-bottom-width: 1px;
	}
	
	.hpb-layoutset-02 #hpb-nav{
		margin-bottom: 20px;
	}
	
	/*--------------------------------------------------------
		デザイン設定
	--------------------------------------------------------*/
	/* コンテンツ配置領域 */
	/* トップページメインイメージ */
	
	.hpb-layoutset-01 #hpb-title h2{
		width: 100%;
		height: 200px;
		background-size: contain;
	}
	
	/*--------------------------------------------------------
		共通パーツデザイン設定
	--------------------------------------------------------*/
	
	.hpb-layoutset-01 #toppage{
		background-image : url(fBg_2Ma.png);
    background-position: center top;
    background-repeat: no-repeat;
		padding-top: 30px;
	}
	
	/* ナビゲーション */
	#hpb-nav ul{
		padding-left: 0px;
		display: none;
	}
	
	#hpb-nav ul.toggled-on{
		display: block;
	}
	
	#hpb-nav li{
		display: block;
		height: auto;
		line-height: 1.4;
		padding-right: 0px;
		border-top-color: #2b3e01;
		border-top-style: solid;
		border-top-width: 1px;
	}
	
	#hpb-nav li a{
		display: block;
		padding-top: 10px;
		padding-right: 10px;
		padding-bottom: 10px;
		padding-left: 10px;
	}
	
    .tf-wall-box-l{
        width: 96%;
        margin:2%;
    }
    .tf-wall-box-r{
        width: 90%;
        margin:5%;
    }

    .tf-wall-box-mini-p p {
       font-size: 25px;
    }

    .tf-wall-box-l {
       display: flex;
       flex-direction: column;
    }
    .tf-wall-box-l img {
       order: 2;
    }
  .tf-wall-box-l h2 {
       order: 1;
    }

    .tf-wall-box-l h2{
        font-size:23px;
    }
 
}

