@charset "utf-8";
/* CSS Document */
*{
	margin: 0;
	
}
body{
	border-top: 3px solid orangered;
  line-height: 1.8;
}
main{
margin: 180px auto 0;	
}
.wrap{
width: 75%;
max-width: 1200px;
margin: auto;	
}
header{
position: absolute;	
width: 100%;
max-width: 1200px;	
margin: auto;
padding-bottom: 10px;		
}
.page-top {
  text-align: center;
  margin-bottom: 80px;
}
.page-top img {
  width: 100%;
  max-width: 1200px;
}

@media (min-width: 800px) {
	.mobile{display: none}	
	.logo{width: 100%}
header{
display: flex;	
position: absolute;	
width: 100%;
max-width: 1200px;	
right: 0;
left: 0;
padding-bottom: 10px;	
align-items: center;
justify-content: space-between;
}	

.tel{	
  color: orange;
  font-size: 1.5em;
  margin: 10px 15px;
  text-align: right;
  font-weight: bold;}
.header_right{
  margin: 20px;
  align-items: flex-end;
}
ul{
display: flex;
margin: 0 auto;
padding: 0;
width: 100%;
text-align: center;
}
ul li{
min-width: 100px;
padding: 10px;
}
ul li a{
display: block;
width: 100%;
padding: 0 auto;
text-decoration: none;
color: #555;
font-weight: bold;
}
nav li:not(:last-child){
border-right:2px solid #ddd;
}
ul li.current a{
color: orange;
}

.sp-only{
  display: none;}

  .footer-extra {
  display: flex;
  align-items: center;
  justify-content: end;
}  
	}

@media (max-width: 799px) {
.pc{display: none}
main{width: 100%;
	margin: 90px auto 0;}
header.top{
width: 100%;
max-width: 1200px;	
margin: 0;
padding-bottom: 10px;		
}	
.logo{width: 50%;
	min-width: 200px;
	  padding: 10px 0 0 10px;
}
.title{
text-align: center;}	
	.wrap{width: auto}
	.mofooter{
		position: fixed;
		bottom: 1.5vh;
		text-align: center;
			}
	.siryo{
		position: fixed;
		top: 12vh;
		right: 0;
			}
		.menusita{
		position: fixed;
		top: 12vh;
		right: 0;
		width: 20%;
			}

  .page-top {
margin-bottom: 0;
  }
/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position:absolute;
	z-index: -1;
	opacity: 0;/*はじめは透過0*/
    /*ナビの位置と形状*/
	top:0;
	right: 0;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:orange;
    /*動き*/
	transition: all 0.3s;
}

/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive{
	opacity: 1;
	z-index:999;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    display: none;
    /*ナビゲーション天地中央揃え*/
    position: relative;
    z-index: 999;
    top:30%;
}

#g-nav.panelactive ul {
    display: block;
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
	font-size: 0.7em;
	white-space: nowrap
}

#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	font-size: 1.5em;
}
.line li a{
	color: #35CB24;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	font-size: 1.5em;
}
/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:absolute;
    z-index: 9999;/*ボタンを最前面に*/
	top:20px;
	right: 3%;
	cursor: pointer;
    width: 50px;
    height:50px;
	border-radius: 5px;
	background-color: orange;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 2px;
    border-radius: 5px;
	background-color: #fff;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:13px;	
}

.openbtn span:nth-of-type(2) {
	top:19px;
}

.openbtn span:nth-of-type(3) {
	top:25px;
}


.openbtn span:nth-of-type(3)::after {
  content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top:5px;
  left:-3px;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase;
}
	
.openbtn.active span:nth-of-type(1) {
    top: 14px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 26px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
	}
.openbtn.active span:nth-of-type(3)::after {
  content:"Close";/*3つ目の要素のafterにClose表示を指定*/
    transform: translateY(0) rotate(-45deg);
  top:5px;
	left:4px;}
	
.footer_pc{
	display: none;	
}
.mail-btn{
display: none;}	
}

/* ===== フッター ===== */
.footer {
  background: #eee;
}

/* 上段 */
.footer-top {
  display: flex;
  justify-content: space-between;
  padding: 50px;
  max-width: 1200px;
  margin: auto;
}

/* 左 */
.footer-left {
  width: 45%;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.footer-logo img{
  width: 80%;
}
.logo-text {
  font-size: 80px;
}

.company-name {
  font-size: 40px;
}

.footer-info p {
  margin: 0 0px 10px;
  color: #555;
}

/* 右 */
.footer-right {
  width: 50%;
}

/* バナー（PC） */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.banner-grid img{
width: 100%;
}
.banner {
  text-align: center;
}
  .banner_fuji {
    padding: 8%;
	width: 100%;
	margin: auto;
	background-color: #fff;
  }

/* 下部 */
.footer-extra {
  display: flex;
  align-items: center;
}

.extra-text p {
  margin-bottom: 8px;
}

.group-logo img{
  width: 80%;
  margin: 10%;
}

/* ナビ */
.footer-nav {
  background: orange;
  padding: 20px 0;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.footer-nav li {
  list-style: none;
}

.footer-nav a {
  color: #333;
}

/* コピー */
.footer-copy {
  text-align: center;
  padding: 20px;
  background-color: orange;
}

/* =========================
   ▼ SP対応
========================= */
@media screen and (max-width: 799px) {

  .footer-top {
    flex-direction: column;
    padding: 30px 20px;
	text-align: center;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  /* ロゴ縮小 */
  .footer-logo {
	display: inline-block;
    text-align: center;
  }
.footer-logo img{
  width: 100%;
}
  .company-name {
    font-size: 24px;
  }

  /* バナー縦並び */
  .banner-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
	margin-top: 20px;
  }

  .banner {
    padding: 10px 0;
	width: 90%;
	margin: auto;
  }
  .banner_fuji {
    margin: 10px 0;
    padding: 8%;
	width: 90%;
	margin: auto;
	background-color: #fff;
  }

  /* 下部 */
  .footer-extra {
	width: 90%;
	margin: auto;
justify-content: center;
text-align: left;}

  /* ナビ消す */
  .footer-nav {
    display: none;
  }
  .sp-only{
  display: inline;}
  .pc-only{
  display: none;}
}