@charset "utf-8";

/* 全体 */

html{
	margin:0 auto;
	padding:0;
	scroll-behavior: smooth;
        scroll-padding-top: 280px !important;
}

body{
	margin:0 auto !important;
	padding:0;
	font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Segoe UI', YuGothic, 'Yu Gothic Medium', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	width: 100%;
	    background-color: #808080 !important;
	    font-size: 20px !important;
    color: #FFF;
    line-height: 1.8em !important;
}

a {
	text-decoration: none !important;
	color: #FFF !important;
}

li{
	list-style: none;
}

h3 {
    font-size: 1em !important;
    text-align: left;
	margin: 10px auto;
}
h4 {
    color: #FFF;
}

p {
    color: #FFF;
}

/* header */

#header {
        margin: 0 auto;
    padding: 0;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    width: 100%;
    background-color: #808080;
    position: fixed;
    z-index: 9999;
    overflow: hidden;
    max-width: 1125px;
    left: 0;
    right: 0;
}

h1 {
	margin: 0 auto;
	padding: 0;
	    display: table;
	width: 100%;
	color: #FFF;
	    height: 160px;
}

.h_logo{
        max-width: 720px;
    display: table-cell;
}

.h_logo img{
        max-width: 720px;
	width:100%;
}

ul.h_bn {
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    display: table-cell;
	text-align: left;
	width: 33.33333%;
	padding-left: 10px;
	padding-top: 16px;
	
}

ul.h_bn li {
    display: inline-block;
	margin: 0px 5px;
    margin-top: 10px;
}

.cb-gheader {
  position: fixed;
  top: 0; 
  display: none; 
}

.h_menu_bn{
	float: left;
	    margin-right: 20px;
    margin-top: 5px;
}

.togmenu {
    display: none;
}

.menubtn {
	background-image:url(../../../wp-content/uploads/menu_bn.png);
        background-position: top right;
    background-repeat: no-repeat;
    background-size: 46px;
    max-width: 46px;
    height: auto;
    top: 60px;
    position: relative;
    display: table-cell;
    width: 46px;
    right: 35px;
    cursor: pointer;
    cursor: hand;
}

.menubtn.cl_bn {
	background-image:url(../../../wp-content/uploads/close.png);
	    background-position: top right;
    background-repeat: no-repeat;
    background-size: 46px;
    max-width: 46px;
    height: auto;
    top: 60px;
    position: relative;
    display: table-cell;
    width: 46px;
    right: 35px;
    cursor: pointer;
    cursor: hand;
}

.menubtn img {
    
	width: 100%;
	max-width: 50px;
}

/* nav */

nav#menu ul {
        margin: 0 auto;
    padding: 0;
    margin-top: 125px;
    position: fixed;
    width: 100%;
    max-width: 1125px;
    background-color: rgb(128 128 128);
    z-index: 999;
    left: 0;
    right: 0;
}

nav#menu ul li {
            width: 100%;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
    display: block;
    margin: 0 auto;
    padding: 0;
}

nav#menu ul li:first-child {
    border-top: 1px solid #eaeaea;
}

nav#menu ul li a {
   padding: 5px;
    display: block;
    line-height: 2em;
	padding-left: 15px;
	color: #FFF;
}

nav#menu ul li a:hover {
       background-color: rgba(128, 128, 128, 0.5);
}

/* slider */
.n2-ss-align.n2-ss-align-visible {
    overflow: visible;
    margin: 0 !important;
}

.n2-ss-slider-controls.n2-ss-slider-controls-below {
    padding: 10px;
    padding-bottom: 20px;
}

/* main */

#main {
    padding-top: 113px;
    width: 100%;
    padding-bottom: 20px;
    text-align: center;
    min-height: 200vh;
    background-color: #808080;
    max-width: 1125px;
    margin: 0 auto;
}

/* contents */

section {
    width: 100%;
    margin: 0px auto;
	padding-bottom: 50px;
}

section h2 {
	        text-align: center;
    margin: 0;
    background-color: #666666;
    height: 110px;
    padding: 5px 0;
}

section h2 img {
    width: 100%;
    max-width: 490px;
}

.fadeInUp {
  transition: 1s;
	    display: grid;
}

.fadeInUp2 {
  transition: 1s;
	    display: grid;
}
.con_in {
    width: 90%;
    margin: 10px auto;
}

/* company */

#company{
background-image: url(../../../wp-content/uploads/bg.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 112vh;
	height: 100%;
    padding: 0;
    vertical-align: top;
    display: block;
}

#company .con_in {
    padding: 20px 0;
}

.company_info {
    border-top: 1px solid #FFF;
    padding-top: 30px;
    margin-top: 70px;
	    line-height: 2em;
}

p.yellow{
	color:#faec21;
	font-size: 1.5em;
}

/* bd */

#bd {
    text-align: left;
}

#bd .con_in img {
    width: 100%;
    max-width: 1015px;
}

#bd h3 {
    color: #FFF;
}

#bd h4 span{
font-size: 2em;
    padding-right: 5px;
    vertical-align: sub;
}

/* info */
#info {
    text-align: left;	
}
p.info_more {
    text-align: right;
}

p.info_more span {
    color: #faec21;
    font-size: 0.8em;
}

p.back_bn {
       text-align: center;
    padding: 15px;
    border: 1px solid #666;
    width: 20%;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 3px 2px 4px rgba(0,0,0,0.35);
    color: #000;
    text-shadow: 3px 2px 4px rgba(84, 6, 15, 0.2);
}

p.back_bn a{
	display: block;
}

.info_box {
    border-bottom: 1px solid #FFF;
	    margin-top: 10px;
}

.info_box h4 {
    font-size: 1.2em !important;
    font-weight: bold;
	    margin: 5px 0;
}

p.info_date {
    margin: 0;
    padding: 0;
}

.info_box p {
    margin: 10px 0;
}

.info-page {
    padding-top: 60px;
}

/* contact */

#contact {
	    padding-bottom: 100px;
}
.form {
    width: 100%;
    margin: 20px auto;
}

#contact table {
    width: 100%;
    margin: 0 auto;
    text-align: left;
    background-color: #FFF;
	    border-collapse: collapse;
}

#contact table th {
    font-weight: normal;
    width: 20%;
}

#contact table th, td {
    border: 1px solid #979797;
	padding: 0px 10px;
}

#contact table p {
    color: #000;
}

#contact input, textarea {
    padding: 20px !important;
    border: 0 !important;
    width: 88% !important;
    line-height: 1.5em;
	    font-size: 1em;
}

#contact input, textarea:focus {
    outline: none;
}

#contact input[type="checkbox"] {
    width: 15px !important;
}

#contact input.wpcf7-form-control.has-spinner.wpcf7-submit {
    margin-top: 20px;
    width: 20% !important;
    border-radius: 50px;
    font-size: 1.2em;
    border: 1px solid #979797 !important;
    color: #0071ba;
    letter-spacing: 1.2em;
    text-align: center;
    letter-spacing: 1em;
    padding: 10px !important;
    text-indent: 1em;
    cursor: pointer;
	    margin-left: 60px;
}

#contact.form img {
    width: 100%;
    max-width: 840px;
}

#contact a img {
    width: 100%;
    max-width: 840px;
}

/* footer */
div#footer {
            border-collapse: collapse;
    border-spacing: 0;
    position: fixed;
    bottom: -300px;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 1125px;
    width: 100%;
    transition: 1s;
    -webkit-transition: 1s;
    background-color: #808080;
    text-align: center;
    color: #FFF;
    border-top: 1px solid #FFF;
    padding-bottom: 20px;
}

#footer table {
    display: none;
}

div#footer table td img {
	       width: 101%;
    max-width: 375px;
    vertical-align: bottom;
    margin-bottom: -2px;
    margin-left: -1px;
}

#footer table td a{
	display: block;
}

img.f_line {
    margin: 0 -1px;
    position: relative;
    left: 0px;
}

p.copy {
    font-size: 12px;
    padding: 5px;
    margin: 0 auto;
}

/* topへ戻るボタン */
#top_scroll{ 
    position: relative; 
    z-index: 100; 
    margin: 0; 
    padding: 0; 
}
 
#page-top{
       display: block;
    position: relative;
    z-index: 9999;
    bottom: -250px;
    right: 55px;
    padding: 0;
    transition: 1s;
    -webkit-transition: 1s;
    text-align: center;
    text-decoration: none;
    float: right;
	    bottom: 20px !important;
}
#page-top::before,
#page-top::after{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

#page-top::before{
	    width: 30px;
    height: 30px;
    background: rgb(158 158 158 / 60%);
	border-radius: 8px;		/* CSS3草案 */
	-webkit-border-radius: 8px;	/* Safari,Google Chrome用 */
	-moz-border-radius: 8px;	/* Firefox用 */
}

#page-top::after{
           left: 9px;
    width: 10px;
    height: 10px;
    border-top: 1px solid #FFF;
    border-right: 1px solid #FFF;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 3px;
	cursor: pointer;
cursor: hand;
}
 
#page-top:hover{ 
    transform: translateY(-10px);
}
 
#top_scroll:hover{
    background: #fff;
}
