/* CSS Document */

body{	min-width:1150px;}

#wrapper {
  min-width: 1150px;
  margin: 0 auto;
}
.inner {
  margin: 0 auto;
  width: 1150px;
}
img{
  max-width: 100%;
  height: auto;
}


header {
}
header h1 {
}
header h2 {
}

header nav#gnav1 a,
header nav#gnav2 a{
  text-decoration: none;
  font-size: 1.3rem;
}
header .logo{
  position: fixed;
  background: #000;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
header .logo label{
  line-height: 1em;
}
header .logo:hover,
header .logo label:hover{
  cursor: pointer;
}
header .logo .popmenu {
  position: fixed;
  height: 0;
  width: 0;
  overflow: hidden;
  top: 55px;
  left: 55px;
  background: rgba(220,220,220,.95);
  cursor: auto;
  box-sizing: border-box;
  transition: all .4s;
  display: flex;
}
header .logo input {
  display: none;
}
header .logo input:checked ~ .popmenu {
  padding: 80px;
  height: calc(100% - 60px);
  width: calc(100% - 60px);
}
header .logo .popmenu .close{
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3em;
  line-height: 1em;
}
header .logo .popmenu ul{
  width: 240px;
  margin: 0 20px;
}
header .logo .popmenu ul li:first-of-type{
  margin: 0;
  min-height: 50px;
}
header .logo .popmenu ul li{
  margin: 15px 10px;
}
header .logo .popmenu ul li h3{
  font-size: 2rem;
  font-weight: normal;
}

nav#gnav1{
  height: 50px;
  width: calc(100% - 50px);
  min-width: 1240px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 50px;
  z-index: 99;
  background: #fff;
}
nav#gnav1 h2{
  line-height: 1em;
  margin-left: 50px;
}
nav#gnav1 ul{
  display: flex;
  line-height: 1em;
  margin-left: 30px
}
nav#gnav1 ul li{
  margin: 0 15px;
}
nav#gnav1 ul.info{
  position: absolute;
  top: 15px;
  right: 10px;
}
nav#gnav1 ul.info li{
  margin: 0 5px;
  line-height: 1.3em;
}
nav#gnav1 ul.info li:not(:last-of-type)  a{
  display: block;
  background: #000;
  line-height: 1em;
  letter-spacing: 3px;
  color: #fff;
  padding: 5px 15px 0;
  height: 22px;
  box-sizing: border-box;
}
nav#gnav2{
  width: 50px;
  height: calc(100% - 50px);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  z-index: 99;
  top: 50px;
  background: #fff;
}
nav#gnav2 h2{
  margin-top: 50px;
}
nav#gnav2 ul{
  display: flex;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  margin-top: 30px;
}
nav#gnav2 ul li{
  margin: 15px 0;
}


.breadcrumbs{
}
.breadcrumbs ul {
}
.breadcrumbs li {
}
.breadcrumbs li a {
}
.breadcrumbs li:not(:first-of-type):before{
  content: '>';
  margin: 0 5px; 
}


main{
  padding: 50px 0 0 50px;
}
main .bg{
  position: relative;
  background: url("../img/bg1.jpg");
  padding: 100px 0;
  margin-top: 100px;
}
main #fv{
  position: relative;
  height: calc(90vh - 50px);
  min-height: 400px;
}
main #fv div {
  line-height: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  width: calc(100% - 200px);
  height: calc(100% - 120px);
}
main #fv div p{
  height: 100%;
  width: 100%;
}
main #fv div p img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
main #fv div p::before{
  content: '';
  width: 100%;
  height: 100%;
  background: rgba(000,000,000,.4);
  position: absolute;
}
main #fv h1{
  position: absolute;
  top: 50px;
  left: 70px;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 8px;
  line-height: 1.2em;
  height: 540px;
}
main #fv h1 span{
  font-size: 1.6rem;
  margin-top: 40px;
  display: inline-block;
}
main #fv h2{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 4%;
}

main #lead{
  text-align: center;
  padding: 80px 0;
}
main #lead h2{
  font-size: 2.4rem;
  margin: 30px 0;
  letter-spacing: 4px;
  line-height: 1.4em;
}

main h2.titleRL{
  font-weight: 600;
  font-size: 1.8rem;
  white-space: nowrap;
  letter-spacing: 4px;
  position: relative;
  margin-bottom: 80px;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  display: inline-block;
}
main h2.titleTB{
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 4px;
  position: relative;
  margin-bottom: 80px;
  text-align: center;
}
main h2.titleRL:after,
main h2.titleTB:after {
  position: absolute;
  content: '';
  height: 50px;
  bottom: -60px;
  /*left: 50%;*/
  /*transform: translateX(-50%);*/
  border-left: 1px solid #000;
  left: 0; right: 0;
  margin: auto;
  width: 1px;
}


main .mailform{
  width: 800px;
  margin: auto;
}
main .mailform dl{
  display: flex;
  margin-bottom: 20px;
}
main .mailform dl dt{
  width: 180px;
  text-align: right;
  margin-right: 20px;
}
main .mailform dl dd{
  width: 540px;
}
main .mailform dl dd input,
main .mailform dl dd textarea{
  width: 100%;
}
main .mailform .p-name{
  width: 300px;
}
main .mailform .p-postal-code{
  width: 120px;
}
main .mailform .wpcf7-tel{
  width: 200px;
}
main .mailform .submit{
  text-align: center;
  margin-top: 40px;
}
main .mailform .submit input{
  padding: 10px 40px;
  border-radius: 50px;
}
main .mailform .screen-reader-response{
  display: none;
}
main .mailform .wpcf7-not-valid-tip{
  display: inline-block;
  color: #f00;
}
main .mailform .wpcf7-validation-errors{
  color: #f00;
  margin: 10px 0;
  line-height: 1.4em;
  text-align: center;
}
main .mailform .wpcf7-mail-sent-ok{
  color: #fff;
  margin: 10px 0;
  line-height: 1.4em;
  text-align: center;
  background: #333;
  padding: 20px;
}
main .mailform .wpcf7-mail-sent-ok{
  color: #fff;
  margin: 10px 0;
  line-height: 1.4em;
  text-align: center;
  background: #333;
  padding: 20px;
}
main .mailform .cf7-calculated-name{
  display: inline;
}
main .mailform .horide_stamp select,
main .mailform .hoshiimo_stamp select,
main .mailform .field_total input{
  width: 80px;
  text-align: right;
  padding: 3px;
}
main .mailform .field_total input{
  border: none;
  padding: 0;
  font-size: 2rem;
  vertical-align: baseline;
}


footer{
  position: relative;
  padding-left: 50px;
}
.bnLink{
  background: url("../img/bg1.jpg");
  text-align: center;
  padding: 20px 50px 20px 100px;
  position: relative;
}
.bnLink dl{
  padding: 50px 0;
}
.bnLink dl:after{
  content: '';
  position: relative;
  display: block;
  width: 85%;
  max-width: 1000px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -50px;
  border-bottom: 1px dashed #999;
}
.bnLink dl:last-of-type:after{
  content: none;
}
.bnLink dl dt{
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 4px;
  position: relative;
  margin-bottom: 80px;
}
.bnLink dl dt:after{
  position: absolute;
  content: '';
  height: 50px;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 1px solid #000;
}
.bnLink dl dd ul{
  display: flex;
  justify-content: center;
}
.bnLink dl dd ul li{
  position: relative;
  margin: 5px;
  overflow: hidden;
  line-height: 0;
}
.bnLink dl dd ul li h3{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 100%;
}
.bnLink dl dd ul li h3 img{
  height: 50px;
}
.bnLink dl dd ul li a{
  display: block;
}
.bnLink dl dd ul li a:hover:before{
  background: rgba(000,000,000,.75);
  transition: all .4s;
}
.bnLink dl dd ul li a:before{
  content: '';
  position: absolute;
  background: rgba(000,000,000,.5);
  width: 100%;
  height: 100%;
  transition: all .4s;
}
.bnLink dl dd ul li a:after{
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  border: 1px solid #ccc;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
}
.bnLink dl.column3 dd ul li{
  max-width: 400px;
}
.bnLink dl.column2 dd ul li{
  max-width: 604px;
}
.bnLink ul.info{
  display: flex;
  justify-content: center;
  border: 1px dashed #999;
  border-width: 1px 0;
  padding: 20px;
  width: 85%;
  max-width: 1000px;
  margin: 30px auto;
}
.bnLink ul.info li{
  margin: 0 10px;
}
.bnLink ul.info li a{
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-decoration: none;
  border: 1px solid #666;
  padding: 12px 40px;
  line-height: 1em;
}
.bnLink ul.info li a:hover{
  background: #000;
  color: #fff;
}
.bnLink ul.info li img{
  vertical-align: middle;
}




footer #ft{
  position: relative;
  background: url("../img/ft_bg.jpg") no-repeat center center;
  background-size: cover;
  height: 980px;
}
footer #ft ul.logo{
  position: absolute;
  top: 150px;
  left: 0;
  right: 0;
  text-align: center;
}
footer #ft ul.logo li{
  display: inline-block;
  vertical-align: top;
  margin: 0 40px
}
footer #ft address {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-style: normal;
  letter-spacing: 2px;
}
footer #ft address ul{
  margin-bottom: 40px
}
footer #ft address ul li{
  display: inline-block;
  margin: 0 10px;
}
footer small {
  font-size: 1.1rem;
}


#topBtn {
  position:fixed;
  display:block;
  width:60px;
  height:60px;
  border-radius:30px;
  background:rgba(0,0,0,0.5);
  color:#fff;
  text-align:center;
  font-size:11px;
  box-sizing:border-box;
  margin:10px;
  bottom:10px;
  right:10px;
}
#topBtn:before {
  content:'Top';
  position:absolute;
  text-align:center;
  width:100%;
  top:15px;
  left:0;
}
#topBtn:hover {
  opacity:0.7;
  cursor: pointer;
}




@media screen and (max-width: 480px) {

  body { min-width: initial;}
  img { max-width: 100%;}
  #wrapper { min-width: 0;}
  .inner { width: auto;}
  
  
  header {
  }
  nav#gnav1{
    min-width: auto;
  }
  nav#gnav1 h2 {
    margin-left: 20px;
    display: flex;
    align-items: center;
  }
  nav#gnav1 h2 span.sp{
    margin-left: 15px;
    white-space: nowrap;
    font-size: 1.3rem;
  }
  nav#gnav1 ul{
    display: none;
  }
  nav#gnav2{
    display: none;
  }
  
  header .logo input:checked ~ .popmenu {
    padding: 40px 10px;
    width: calc(100% - 10px);
  }
  header .logo .popmenu {
    left: 5px;
    display: block;
  }
  header .logo .popmenu ul {
    width: auto;
    margin: 0 20px 40px;
  }
  header .logo .popmenu ul li {
    margin: 10px;
  }
  header .logo .popmenu ul li:first-of-type {
    min-height: auto;
  }
  
  
  main{
    padding-left: 0;
  }
  main .bg{
    padding: 50px 0;
    margin-top: 50px;
  }
  main #fv {
    height: calc(80vh - 50px);
  }
  main #fv h1 {
    width: 10%;
    left: 25px;
  }
  main #fv p {
    height: 80vh;
    object-fit: cover;
    font-family: 'object-fit: cover;';
  }
  main #fv div {
    width: calc(100% - 100px);
    height: calc(100% - 0px);
  }
  main #fv h2 {
    width: 10%;
  }
  
  
  
  main #lead {
    padding: 40px 10px;
  }
  main #lead h2 {
    letter-spacing: 2px;
    line-height: 1.6em;
  }
  
  
  main .mailform{
    width: auto;
    margin: 20px;
  }
  main .mailform dl{
    display: block;
  }
  main .mailform dl dt{
    background: #eee;
    padding: 5px 10px;
    line-height: 1.4em;
    width: auto;
    text-align: left;
    margin-right: 0;
  }
  main .mailform dl dd{
    margin: 10px;
    width: auto;
  }

  
  .bnLink {
    padding: 20px;
  }
  .bnLink dl {
    padding: 40px 0;
  }
  .bnLink dl:after {
    bottom: -40px;
  }
  .bnLink dl dt {
    margin-bottom: 70px;
  }
  .bnLink dl dt:after {
    height: 40px;
    bottom: -50px;
  }
  .bnLink dl dd ul {
    display: block;
  }
  .bnLink dl dd ul li a {
    height: 100px;
  }
  .bnLink dl dd ul li h3 img {
    height: 45px;
  }
  .bnLink ul.info {
    display: block;
    padding: 10px 0;
    width: auto;
    margin: 0 auto 30px;
  }
  .bnLink ul.info li {
    margin: 10px;
  }
  .bnLink ul.info li a{
    display: inline-block;
  }  
  
  footer {
    padding-left: 0;
  }

  footer #ft address {
    bottom: 10px;
  }
  footer #ft address ul li a{
    color: #fff;
  }
  footer #ft {
    height: 500px;
  }
  footer #ft ul.logo {
    top: 50px;
  }
  footer #ft address ul {
    margin-bottom: 20px;
  }
  footer #ft address ul li {
    margin: 0 5px;
  }
  footer small {
    font-size: 1.0rem;
  }
  
  
}


