body {
  margin: 0;
  min-height: 100vh;
  position: relative;
}

* {
  box-sizing: border-box;
}

p {
  font-size: 16px;
  letter-spacing: 0.3em;
  line-height: 1.8em;
  font-family: '筑紫A丸ゴシック',sans-serif;
  font-weight: lighter;
}

.sp_br {
  display: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

.content {
  height: 50vh;
}

.center {
  text-align: center;
  margin: 210px 0;
}

.section {
  margin-bottom: 100px;
}

.home-content {
  background: url(../img/sora.png);
  background-size: contain;
  background-repeat: no-repeat;
}

.info_area {
    height: 110px;
    background: #3a7cce;
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
}
.info_area_inn {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    line-height: 72px;
}
.info_area_inn h3 {
    font-family: 'Avenir','Osaka';
    color: #fff;
}

.logo1 img {
  padding-left: 15px;
  width: 90%;
  padding-top: 20px;
}

.about-title {
  padding-bottom: 50px;
  padding-left: 30px;
}

.logo1 {
  margin-top: 9px;
  line-height: 70px;
}

.bg {
  background: url(../img/bgimg.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
  text-align: center;
}

.bg img {
  position: relative;
  top: 45%;
  max-width: 820px;
  width: 100%;
}

.gheader {
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 70px;
  z-index: 10;
  max-width: 100%;
  transform: translateY(-100%);
  transition: .5s;
}
.gheader.active {
  transform: translateY(0);
}
.gheader_typeB {
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 70px;
  z-index: 10;
  max-width: 100%;
}

.gnav li {
  display: inline-block;
  margin-right: 10px;
  font-weight: bold;
}

.gnav a {
  color: #fff;
  text-decoration: none;
  font-family: 'Avenir','Osaka';
  font-weight: lighter;
}

.gnav ul {
  margin: 0;
}
.gnav ul :last-child {
  margin-left: 20px;
}

.aboutbox a {
  display: block;
  margin: 50px auto;
}
.textbox {
  width: 480px;
}
.textbox p {
  font-size: 16px;
  font-weight: 200;
  padding-right: 25px;
  padding-left: 25px;
}

.minbox {
  background: lightgray;
  width: 200px;
  height: 100px;
  display: inline-block;
}

.flex2 {
  display: flex;
  justify-content: space-between;
}
.flex2_n {
  display: flex;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
}
.flex2_n p {
  margin-left: auto;
  margin-right: auto;
}

.box3 {
  margin-top: 20px;
  display: flex;
}

.product-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.product-box a  {
  width: 31%;
}

.product-box img {
  width: 100%;
  vertical-align: bottom;
}
.product-box img:hover {
  opacity: 0.7;
}

.about-img {
  width: 51%;
}

.img-s {
  width: 31%;
  display: inline-block;
  margin-bottom: 10px;
}

.wrap {
  margin-top: 30px;
}

.ue {
  display: inline-block;
}

.section_title {
  position: relative;
  top: -20px;
  margin: 0 auto;
}
.section_title img {
  max-width: 500px;
  width: 100%;
}

.section_title01 {
  padding-left: 30px;
}

/* プロフアイコン */

.proficon_btn {
  width: 100%;
  padding: 0 20px;
  max-width: 430px;
}

.proficon {
  position: relative;
  top: 150px;
  padding-left: 25px;
  max-width: 400px;
}

.box00 {
  padding: 0 45px;
}

.flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

#about {
  padding-top: 100px;
}

#product {
  padding-top: 100px;
}

#product p {
  padding: 20px 0;
  margin-bottom: 30px;
}

#contact {
  padding-top: 100px;
}

#contact p {
  padding: 0 0 20px 0;
}

.contact-box {
  text-align: center;
  background: url(../img/kiiro.png);
  background-size: cover;
  background-position: center;
  height: 560px;
  border-radius: 10px;
  width: 92%;
  margin: 0 auto;
  display: table;
}

.inner {
  display: table-cell;
  vertical-align: middle;
}
.inner_img02 {
  margin-top: 3%;
  margin-bottom: 3%;
  max-width: 600px;
  width: 90%;
}

.btn_link {
  display: flex;
  max-width: 600px;
  height: 80px;
  margin: 3% auto;
}
.btn_link a {
  font-family: '筑紫A丸ゴシック',sans-serif;
  font-size: 2.5em;
  font-weight: bold;
  color: #fff;
  letter-spacing: normal;
  border: 1px solid #fff;
  width: 600px;
  height: auto;
  text-decoration: none;
  color: #fff;
  margin: 0;
  line-height: 80px;
}
.btn_link a:hover {
  background-color: #fff;
  color: #f8d656;
}

/* フッター */
footer {
  background: url(../img/yamayama.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  height: 0;
  margin: 0;
  padding-bottom: 30%;
  bottom: 0;
  width: 100%;
  position: relative;
}

.footer_content {
  position: absolute;
  bottom: 10px;
  vertical-align: bottom;
  left: 50%;
  transform: translate(-50%, -50%);
}
footer img {
  width: 100%;
  min-width: 300px;
}
.copyright {
  margin-top: 10px;
  position: absolute;
  color: #fff;
}
.contact_text {
  font-size: 19px;
  font-family: '筑紫A丸ゴシック',sans-serif;
  font-weight: normal;
  margin-block-start: 0;
  margin-bottom: 0;
  color: #fff;
}
.contact_text a {
  color: #fff;
}
.contact_text2 {
  margin-top: 0;
  padding-top: 0;
}

/* プロダクトページ */
.pr_page_bgimg01 {
  background: url(../img/pr_p_img01.jpg);
}

.pr_page_bgimg02 {
  background: url(../img/p-bg.png);
}

.pr_page_bgimg03 {
  background: url(../img/oshikane02.jpg);
}

.pr_page_bgimg04 {
  background: url(../img/img_08.jpg);
}

.pr_page_bgimg05 {
  background: url(../img/1133920651957202.jpg);
}
.pr_page_bgimg {
  height: 790px;
  background-position: center;
  background-size: cover;
  position: relative;
  padding-top: 200px;
  margin-bottom: 70px;
}


.pr_page_box {
  margin-bottom: 250px;
}
.pr_page_box2 {
  margin-bottom: 0px;
}

.item01 {
  position: relative;
  top: 140px;
  object-fit: contain;
}

.item02 {
  position: absolute;
  padding-right: 15px;
  padding-left: 15px;
  top: 400px;
  right: 0;
  object-fit: contain;
  display: block;
}

.flex4 {
  display: flex;
  justify-content: space-between;
}

.text01 p {
  font-size: 16px;
  padding-left: 20px;
  padding-right: 20px;
  border-top: 2px dashed #333;
  border-bottom: 2px dashed #333;
  padding-top: 30px;
  padding-bottom: 30px;
}

.text01 {
  width: 70%;
  margin: 0 auto;
}

.imgitem-box {
  text-align: center;
}

.imgitem-box img {
  width: 30%;
}

/* コンタクト */
.top_spe {
  height: 130px;
}
.form-wrap {
  text-align: center;
  background: url(../img/kiiro.png);
  background-size: cover;
  background-position: center;
  max-width: 1070px;
  height: auto;
  border-radius: 10px;
  margin: 10px auto;

}

.form-inner {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 0;
  text-align: center;
}
form {
  width: 100%;
}

.form-inner h2 {
  font-family: '筑紫A丸ゴシック',sans-serif;
  color: #fff;
  font-size: 2.1em;
  margin-top: 0;
  margin-bottom: 20px;
}
.form-inner_info {
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 30px;
}
input,textarea {
  width: 600px;
  max-width: 100%;
  padding: 14px;
  margin-bottom: 45px;
  margin-right: 0;
  font-size: 1.3em;
  border-radius: 5px;
  border: none;
}
.dfgh {
  background: gray;
  width: 50%;
  height: 400px;
}
label {
  display: block;
  font-family: 'Avenir','Osaka';
  color: #333;
  font-size: 1.4em;
  padding-bottom: 10px;
}
input[type="submit"] {
  -webkit-appearance: none;
  width: 290px;
  height: 60px;
  background-color: orange;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}
.btn02 {
  margin-top: 100px;
}

.btn03 {
  width: 290px;
  height: 60px;
  background-color: orange;
  color: #fff;
  border-radius: 5px;
  display: inline-block;
  text-align: center;
  font-size: 1.3em;
  line-height: 60px;
  text-decoration: none;
  margin-top: 100px;
}

.error_info {
  font-family: sans-serif;
  color : red;
  font-size: 13px;
  text-align: right;
  margin-bottom: 0;
}

.formitem {
  padding: 30px 0 10px 0;
}

.formtitle h2 {
  margin: 100px 0;
}

form p {
  margin: 0;
}

.ce {
  text-align: left;
  max-width: 600px;
  width: 100%;
}
.ce p {
  font-family: sans-serif;
}

.errme {
  color: red;
  margin: 0;
  padding: 0;
  font-size: 0.8em;
}

/* ハンバーガーメニュー */
.menuButton {
  display: block;
  height: 70px;
  width: 70px;
  position: fixed;
  top: 0;
  right: 0;
  margin-right: 10px;
}

.menuButton div {
  height: 3px;
  width: 40px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
}

.menuButton div:nth-of-type(1) {
  transform: translate(-50%, -15px);
}

.menuButton div:nth-of-type(3) {
  transform: translate(-50%, 15px);
}

.menuButton.active div:nth-of-type(1) {
  transform: rotate(45deg) translate(-50%, 0);
  transform-origin: 0% 50%;
}

.menuButton.active div:nth-of-type(2) {
  opacity: 0;
}

.menuButton.active div:nth-of-type(3) {
  transform: rotate(-45deg) translate(-50%, 0);
  transform-origin: 0% 50%;
}

.menuButton {
  opacity: 0;
  visibility: hidden;
}

/* プロフページ */

.wrap1 img {
  object-fit: cover;
  width: 50%;
  border-radius: 10px;
}

.wrap1 {
  padding-top: 200px;
}

.wrap1 p {
  margin-left: 15px;
  margin-right: 15px;
}

.wrap1 h2 {
  margin-left: 40px;
}

.prof_txt :first-child {
  padding-left: 15px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.prof_txt :nth-child(2) {
  border-bottom: 2px dashed #333;
  padding-bottom: 15px;
}
.prof_txt h3 {
  font-family: sans-serif;
  font-size: 21px;
}

/* メディアクエリ */

@media screen and (max-width:767px){
  .pc_br {
    display: none;
  }
  .sp_br {
    display: block;
  }

  .product-box a {
    width: 50%;
  }

  .textbox p {
    padding-right: 10px;
    padding-left: 10px;
  }

  .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .logo1 img {
    width: 220px;
  }

  .box3 {
    flex-direction: column;
  }

  .about-img {
    width: 100%;
  }

  .img-s {
    width: 100%;
  }

  .flex2 {
    flex-direction: column-reverse;
  }
  .flex2_n {
    flex-direction: column;
  }

  .bg {
    width: 100%;
    height: 100vh;
  }

  .section {
    margin-bottom: 0;
  }
  .section_title {
    width: 90%;
    top: 0;
  }
  .section_title01 {
    padding: 0 15px;
  }

  .info_area_inn {
      flex-direction: column;
      justify-content: space-around;
      align-items: center;
      line-height: 22px;
  }
  .info_area_inn h3 {
      margin: 16px 0 8px 0;
  }

  #about {
    padding-top: 60px;
  }

  .btn_link a {
    font-size: 23px;
    height: 46px;
    width: 90%;
    line-height: 46px;
    margin: 0 auto;
  }
  .btn_link {
    height: auto;
  }

  footer {
    background: url(../img/yamayama_sp.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    height: 0;
    margin: 0;
    padding-bottom: 40%;
    bottom: 0;
    width: 100%;
    position: relative;
  }
  footer img {
    width: 100%;
  }

  .flex4  {
    flex-direction: column;
    text-align: center;
    position: absolute;
    top: -10px;
    margin: 0 auto;
  }
  .flex4 img {
    margin: 0 auto;
  }

  .wrap1 p {
    width: 90%;
  }

  .wrap1 img {
    width: 100%;
  }

  .text01 {
    width: 100%;
  }
  .text01 p {
    padding-left: 10px;
    padding-right: 10px;
  }

  .dfgh {
    width: 100%;
  }

  .textbox {
    width: 100%;
  }

  .gheader {
    width: 100%;
  }
  .gheader_typeB {
    width: 100%;
  }

  .item01 {
    width: 300px;
  }

  .item02 {
    width: 200px;
    text-align: center;
    top: 180px;
    position: relative;
  }

  .item02_p2 {
    width: 210px;
  }

  .item02_p3 {
    width: 280px;
  }

  .item02_p4 {
    width: 330px;
  }

  .imgitem-box img {
    width: 49%;
  }

  .proficon {
    width: 100%;
    padding: 0 20px;
  }

  .contact-box {
    width: 100%;
    height: 220px;
  }

  .pr_page_bgimg {
    height: 400px;
  }

  .pr_page_box {
    margin-bottom: 60px;
  }

  .pr_page_bgimg {
    margin-bottom: 25px;
  }

  .box00 {
    padding: 0 10px;
  }

  .form-inner {
    padding: 50px 10px;
  }

  .form-inner h2 {
    font-size: 28px;
  }

  .contact_text {
    font-size: 16px;
  }
  .contact_text a {
    font-size: 16px;
  }

}


.menu002 {
  opacity: 0;
  overflow: hidden;
  display: none;
}

.menu002 ul {
  padding-top: 110px;
  padding-inline-start: 0;
}

.menu002 li {
  font-weight: bold;
  list-style: none;
  padding-bottom: 7%;
}

.menu002 a {
  color: #fff;
  text-decoration: none;
  font-family: 'Avenir','Osaka';
  font-weight: lighter;
  font-size: 1.5em;
}

.menu002.active {
  background: url(../img/bgimg-midori.png);
  text-align: center;
  display: block;
  padding-bottom: 60px;
  position: fixed;
  width: 100%;
  z-index: 1;
  transition: 0.3s;
  opacity: 1;
}

.fadein {
    opacity : 0;
    transform : translate(0, 50px);
    transition:all 0.5s;
}
.fadein.scrollin {
    opacity : 1;
    transform : translate(0, 0);
}

@media screen and (max-width:899px){
  .gnav {
    opacity: 0;
    visibility: hidden;
  }

  .menuButton {
    opacity: 1;
    visibility: visible;
  }

  .bg img {
    width: 90%;
  }

  .form-inner_info {
    text-align: left;
  }

}

@media screen and (max-width:1199px){
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media screen and (max-width:321px){
  .imgitem-box img {
    width: 90%;
  }

  .item02_p4 {
    width: 100%;
  }
}

@media screen and (max-width:376px){
  .btn_link a{
    font-size: 21px;
    line-height: 41px;
    height: 41px;
  }
}

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

}
