@charset "utf-8";
/* CSS Document */
.tss_wrap{overflow: inherit;}

.grm_body{
  background-image: url("../img/lowerhead_bg.jpg"),url("../img/bg.jpg");
  background-position: top center,top center;
  background-repeat: repeat-x,repeat;
  background-size:contain;
}

.grm_lowerbody{
  padding-top:12px;
}

.grm_header{
  position: sticky;
  background-color: rgba(255,255,252,0.8);
  top: 0;
  width: 100%;
  height:6vw;
  min-height: 110px;
  z-index:100;
}
.grm_headersp{display:none;}
.grm_header div.grm_headerwrap{
  display: flex;
  max-width: 1820px;
  width: calc(100% - 32px);
  margin: auto;
  padding-top: 30px;
  align-items: center;
}
.grm_header div.grm_headerwrap>.grm_navitop{
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.grm_lowerheader{
  margin-top:12px;
}
.grm_lowerheader h2{
  color:#935B34;
  font-size:2.25em;
  font-weight:bold;
  text-align:center;
}
.grm_lowerheader ul{
  display:flex;
  justify-content: center;
  gap:12px;
  padding:16px 0;
}
.grm_lowerheader ul li{
  display:flex;
  justify-content: center;
  align-items: center;
  padding:12px 1.5em 8px;
  min-width:180px;
  background-color:#935B34;
  color:#FFF;
  font-weight:bold;
  font-size:1.25em;
  border-radius:8px;
  box-shadow: 0px 8px 0px 0px #683B1C;
}
.grm_logo{
  max-width: 550px;
  width: 28%;
  padding-right: 2%;
}
.grm_logo img{max-width: 100%;}

.grm_body h1{text-align: center;}
.grm_body h1 img{max-width: 100%;}

.grm_contents{
  max-width: 1200px;
  width: calc(100% - 32px);
  margin:40px auto;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.grm_cmngsoon{
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 10px solid #d18e4a;
  min-height: 440px;
  width:100%;
}

.grm_cmngsoon p{
  max-width: 378px;
  width: 64%;
}
.grm_cmngsoon p img{max-width: 100%;}

.grm_headerwrap>.grm_navitop{width: 70%;}
.grm_headerwrap>.grm_navitop>li>a{
  display: flex;
  justify-content: center;
  align-items: center;
  background: #FFF;
  border-radius: 8px;
  max-width: 200px;
  width: 100%;
  padding: 12px 8px;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.39);
}

.grm_headerwrap>.grm_navitop>li>a:hover{
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.39);
}

.grm_headerwrap>.grm_navitop>li:nth-of-type(2)>a:hover,
.grm_headerwrap>.grm_navitop>li:nth-of-type(5)>a:hover{
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.39);
  cursor: default;
}

.grm_headerwrap>.grm_navitop>li img{
  max-width: 100%;
}
.grm_headerwrap>.grm_navitop>li{
  margin: 0 4px;
  position: relative;
}

.grm_headerwrap>.grm_navitop > li:nth-of-type(2) ul,
.grm_headerwrap>.grm_navitop > li:nth-of-type(5) ul{
  position: absolute;
  top: 40px;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  transition: all .2s ease;
  box-shadow: 2px 2px 0px rgba(0, 0, 0, 0.39);
}

.grm_headerwrap>.grm_navitop > li:nth-of-type(2):hover ul,
.grm_headerwrap>.grm_navitop > li:nth-of-type(5):hover ul{
  top: 40px;
  visibility: visible;
  opacity: 1;
  background-color: #FFF;
  border-radius: 0 0 8px 8px;
  padding:8px 0;
}

.grm_headerwrap>.grm_navitop > li:nth-of-type(2) ul li,
.grm_headerwrap>.grm_navitop > li:nth-of-type(5) ul li{
  padding:0 8px;
}

.grm_headerwrap>.grm_navitop li:nth-of-type(2) li a,
.grm_headerwrap>.grm_navitop li:nth-of-type(5) li a{
  display: block;
  padding: 8px 0;
  position: relative;
}


.grm_headerwrap>.grm_navitop li:nth-of-type(2) li a::after,
.grm_headerwrap>.grm_navitop li:nth-of-type(2) a::after,
.grm_headerwrap>.grm_navitop li:nth-of-type(5) li a::after,
.grm_headerwrap>.grm_navitop li:nth-of-type(5) a::after{
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #f08a1c;
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: center top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
  transition: transform 0.3s;   /*変形の時間*/
}
.grm_headerwrap>.grm_navitop>li:last-of-type>a{
  background-color: #CC2525;
}

.grm_headerwrap>.grm_navitop>li>a:hover{
  background: #f2b959;
}

.grm_headerwrap>.grm_navitop>li:nth-of-type(2)>a:hover,
.grm_headerwrap>.grm_navitop>li:nth-of-type(5)>a:hover{
  background: #fff;
}

.grm_headerwrap>.grm_navitop>li:last-of-type>a:hover{background-color: #f08a1c;}
.grm_headerwrap>.grm_navitop li:nth-of-type(2) li a:hover::after,
.grm_headerwrap>.grm_navitop li:nth-of-type(5) li a:hover::after{
  transform: scale(0.5, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}

.grm_back{
  padding: 2em 0 6em;
  min-height: 188px;
  text-align: center;
}

.grm_back a{
  max-width: 200px;
  width: 100%;
  margin: auto;
}
.grm_back a img{max-width:100%;}


.grm_back a:hover{opacity: 0.7;}

/*-- ドロワーメニュー --*/
.grm_headspcontainer {
	inset: 0;
	overflow: auto;
  display:flex;
  position:relative;
}
.contents {
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* :::::: toggle button :::::: */
#drawer {
	display: none;
}
label {
	cursor: pointer;
  position:absolute;
}
.grm_headspopen {
	z-index: 2;
	top: 14px;
	right: 8px;
	width: 40px;
	height: 40px;
	border-radius: 48px;
	transition: background .6s, transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
  border:solid 3px #000;
}
.grm_headspopen::before,
.grm_headspopen::after {
	content: "";
}
.grm_headspopen span,
.grm_headspopen::before,
.grm_headspopen::after {
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: 30%;
	width: 40%;
	border-bottom: 3px solid #000;
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.grm_headspopen::before {
	transform: translateY(-8px);
}
.grm_headspopen::after {
	transform: translateY(8px);
}
.grm_headspclose {
	z-index: 1;
	inset: 0;
	pointer-events: none;
	transition: background .6s;
}
#drawer:checked + .grm_headspopen {
	border: solid 3px #000;
}
#drawer:checked + .grm_headspopen span {
	transform: scaleX(0);
}
#drawer:checked + .grm_headspopen::before {
	transform: rotate(135deg) scaleX(1.2);
  border-bottom: 3px solid #000;
}
#drawer:checked + .grm_headspopen::after {
	transform: rotate(-135deg) scaleX(1.2);
  border-bottom: 3px solid #000;
}
#drawer:checked ~ .grm_headspclose {
	pointer-events: auto;
	background: rgba(0,0,0,.3);
}

/* :::::: drawer menu :::::: */
.menu {
	z-index: 1;
	position: fixed;
	overflow: auto;
	top: 0;
	right: 0;
	width: 70%;
	height: 100%;
	margin: 0;
	padding: 16px;
	box-sizing: border-box;
	background: rgba(255,255,255,.95);
	transform: translateX(100%);
	transition: transform .6s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.menu h2 {
	color: white;
	font-family: "Ubuntu Condensed", sans-serif;
	font-weight: 400;
	letter-spacing: .1em;
	text-align: center;
}
.menu ul {
	margin: 0;
	padding: 0;
}
.menu li {
	line-height: 1.4;
}
.menu li:not(:first-child) {
	border-top: 1px solid rgba(255,255,255,.6);
}
.menu a {
	display: block;
	padding: 1em 2em;
	color: white;
	text-decoration: inherit;
	transition: background .6s;
}
#drawer:checked ~ .menu {
	transform: none;
}

.grm_body a{
  color:#3E85E2;
}

.grm_bnregular{
  margin: auto;
  padding: 64px 0;
  width: 72%;
  max-width: 500px;
}

.tss_gotop{
  right:10%;
}

/*-- 右部ボタン --*/
.grm_rightbtn{
  position:fixed;
  right:0;
  bottom: 40px;
  z-index:300;
}
.grm_rightbtn ul{
  display:flex;
  flex-direction:column;
  gap:8px;
}


@media screen and (min-width:801px) {
  .grm_body a:hover{text-decoration: none;}
  .grm_lowerheader ul li:hover{
    cursor: pointer;
    opacity:0.7;
  }
}

@media screen and (max-width:800px) {
  .grm_body{padding-bottom: calc(17.5vw + 32px);}
  .tss_comprehensiveHead{
    /*display:none;*/
  }
  .grm_contents{
    margin-top:24px;
  }
  .grm_header{display: none;}
  .grm_headersp{
    display:block;
    width:100%;
    background-color:#FFF;
    position:sticky;
    z-index:2;
    top:0;
    left:0;
    height:16vw;
  }
  .grm_headersp .grm_headspcontainer p{
    width: 100%;
    background-color: #FFF;
    padding:8px 20% 8px 0;
  }
  .grm_headersp .grm_headspcontainer p img{
    width:100%;
  }
  .grm_lowerheader h2{
    font-size:1.25em;
  }
  .grm_lowerheader ul li{
    font-size: 0.65em;
    min-width: inherit;
    width: 30%;
    padding: 0.5em 1em;
    line-height: 1.25;
    align-items: center;
  }
  
  /*-- 右部ボタン --*/
  .grm_rightbtn{
    position:fixed;
    right:0;
    bottom: 120px;
    z-index:300;
  }
  .grm_rightbtn ul{
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  
  .tss_gotop a{
    display:none;
  }
  
}

@media screen and (max-width:428px) {
  .grm_contents{
    width: 100%;
    margin-bottom: 0;
  }
}


/*-- 上書き --*/
.tss_footer{
  background-color: #CC2525 !important;
  display: block;
}
/* .tss_spbtmnavi{display: none;} */
@media screen and (max-width:428px) {
  #tss_gototop{
   bottom: 96px;
   z-index: 20;
  }
}
