@font-face {
  font-family: 'yugothic';
  src: url('/wp-content/themes/white/fonts/YuGothic-Medium.otf');
}

@font-face {
  font-family: 'yugothic_bold';
  src: url('/wp-content/themes/white/fonts/YuGothic-Bold.otf');
}

@font-face {
  font-family: 'Kyokasho';
  src: url('/wp-content/themes/white/fonts/Kyokasho.ttc');
}

body{
  font-size: 15px;
  margin: 0;
  font-family: 'yugothic';
}

.container{
  padding-top: 100px;
}

.margin90{
  width: 90%;
  margin: 0 auto;
}

.max1000{
  max-width: 1000px;
  margin: 0 auto;
}

.max800{
  max-width: 800px;
  margin: 0 auto;
}

.max600{
  max-width: 600px;
  margin: 0 auto;
}

.section{
  padding: 100px 0;
}

.title{
  font-size: 23px;
  font-family: 'yugothic_bold';
  text-align: center;
  margin: 0;
  letter-spacing: 0.1em;
}

.midashi{
  font-size: 23px;
  letter-spacing: 0.1em;
  font-family: 'yugothic_bold';
  position: relative;
  display: inline-block;
  margin: 0;
}

.midashi::before{
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translate(-50%,0);
  width: 50%;
  border-top: 1px solid #28282C;
}

.midashi_small{
  font-size: 15px;
  letter-spacing: 0.1em;
  font-weight: normal;
}

.midashi_small span{
  position: relative;
}

.midashi_small span::before{
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50%;
  border-top: 1px solid #28282C;
}

.page_top_wrapper{
  position: fixed;
  bottom: 50px;
  right: 5%;
  z-index: 10;
}

.page_top_wrapper:hover{
  cursor: pointer;
}

.page_top_arrow{
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #28282C;
  margin: 0 auto;
  position: relative;
}

.page_top_arrow::before,
.page_top_arrow::after{
  content: "";
  position: absolute;
  top: 13px;
  border-top: 3px solid #fff;
  width: 13px;
}

.page_top_arrow::before{
  right: 13px;
  transform: rotate(-45deg);
}

.page_top_arrow::after{
  left: 13px;
  transform: rotate(45deg);
}

.page_top_txt{
  margin: 5px 0 0;
  font-size: 13px;
  letter-spacing: 0.1em;
}


.header_wrapper{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(275,275,275,.8);
  box-shadow: 0 0 5px rgba(0,0,0,.16);
}

.header_inner{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 0;
}

.header_left_wrapper{
  margin: 0 auto 0 0;
}

.header_left_wrapper a{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
}

.header_left_logo_wrapper{
  width: 50px;
  height: 50px;
}

.header_left_logo_wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header_left_name_wrapper{
  letter-spacing: 0.2em;
  margin-left: 15px;
  font-weight: bold;
  font-family: 'Kyokasho';
  line-height: 1;
}

.header_left_name_wrapper span:first-child{
  font-size: 13px;
  display: block;
}

.header_left_name_wrapper span:last-child{
  font-size: 18px;
}

.header_center_wrapper{
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%,0);
}

.header_center_wrapper li{
  margin-right: 40px;
}

.header_center_wrapper li:last-child{
  margin-right: 0;
}

.header_center_wrapper li a{
  text-decoration: none;
  color: #000;
  letter-spacing: 0.1em;
  font-family: 'yugothic_bold';
}

.header_right_wrapper{
  width: 20px;
  height: 20px;
  margin: 0 0 0 auto;
}

.header_right_wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header_sp_menu_wrapper{
  display: none;
}

.header_sp_menu_list_wrapper{
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 90;
  transition: 0.5s;
}


footer{
  background: #28282C;
  padding: 70px 0 30px;
  box-sizing: border-box;
} 

.footer_wrapper{
  text-align: center;
  color: #fff;
}

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

.footer_logo_wrapper{
  width: 50px;
  height: 50px;
}

.footer_logo_wrapper img{
  width: 100%;
  height: 100%;
}

.footer_company_name{
  letter-spacing: 0.2em;
  margin-left: 15px;
  font-weight: bold;
  font-family: 'Kyokasho';
  line-height: 1;
  text-align: left;
}

.footer_company_name span:first-child{
  font-size: 13px;
  display: block;
}

.footer_company_name span:last-child{
  font-size: 18px;
}

.footer_instagram_wrapper{
  width: 30px;
  height: 30px;
  margin: 50px auto 30px;
}

.footer_instagram_wrapper img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer_copyright{
  font-size: 13px;
  letter-spacing: 0.1em;
  margin: 0;
}


.contact_form_item{
  margin-bottom: 30px;
}

.contact_form_item:last-child{
  margin-bottom: 0;
}

.contact_form_item_field_wrapper{
  margin-top: 10px;
}

.contact_form_item_field_wrapper input,
.contact_form_item_field_wrapper select{
  width: 100%;
  height: 40px;
  border: none;
  padding-left: 10px;
  padding-right: 10px;
  box-sizing: border-box;
  font-size: 15px;
  font-family: 'yugothic';
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  color: #000;
}

.contact_form_item_field_wrapper textarea{
  width: 100%;
  height: 150px;
  border: none;
  padding: 10px;
  box-sizing: border-box;
  font-size: 15px;
  font-family: 'yugothic';
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.contact_require{
  color: red;
  margin-left: 10px;
}

.contact_form_submit_wrapper{
  margin-top: 50px;
}

.contact_form_submit_wrapper input{
  width: 100%;
  height: 55px;
  background: #28282C;
  color: #fff;
  border: none;
  font-size: 15px;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.contact_form_item p,
.contact_form_submit_wrapper p{
  margin: 0;
}

.wpcf7-spinner{
  display: none;
}

.contact_form_item_field_select_wrapper{
  position: relative;
}

.contact_form_item_field_select_wrapper::before,
.contact_form_item_field_select_wrapper::after{
  content: "";
  border-top: 2px solid #000;
  width: 10px;
  position: absolute;
  top: 20px;
  z-index: 1;
}

.contact_form_item_field_select_wrapper::before{
  transform: rotate(45deg);
  right: 16px;
}

.contact_form_item_field_select_wrapper::after{
  transform: rotate(-45deg);
  right: 10px;
}


.pagenation_wrapper{
  margin-top: 100px;
  display: flex;
  align-content: center;
  justify-content: center;
}

.page-numbers{
  border: 1px solid #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #000;
  box-sizing: border-box;
  margin-right: 25px;
}

.page-numbers:last-child{
  margin-right: 0;
}

.page-numbers.current{
  background: #000;
  color: #fff;
  font-weight: bold;
}

.page-numbers.dots{
  border: none;
}



@media(max-width: 1100px){

  .max1000{
    max-width: 90%;
  }

  .header_center_wrapper li{
    margin-right: 25px;
  }

}


@media(max-width: 1000px) and (orientation: portrait){

  .max800{
    max-width: 90%;
  }

  .header_sp_menu_wrapper{
    display: block;
  }

  .header_right_wrapper,
  .header_center_wrapper{
    display: none;
  }

  .header_inner{
    padding: 20px 0;
  }

  .header_menu_open{
    box-shadow: none;
    background: #fff;
  }

  .header_sp_menu_inner{
    display: flex;
    align-items: center;
  }

  .header_sp_menu_instagram_wrapper{
    width: 20px;
    height: 20px;
    margin: 0px 30px 0 0;
  }

  .header_sp_menu_instagram_wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header_sp_menu{
    width: 25px;
    height: 15px;
    position: relative;
  }

  .header_sp_menu:hover{
    cursor: pointer;
  }

  .header_sp_menubar{
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
  }

  .header_sp_menubar::before{
    content: "";
    position: absolute;
    top: 6px;
    width: 100%;
    border-top: 2px solid #000;
  }

  .header_sp_closebar::before,
  .header_sp_closebar::after{
    content: "";
    position: absolute;
    top: 5px;
    border-top: 2px solid #000;
    width: 100%;
  }

  .header_sp_closebar::before{
    left: 0;
    transform: rotate(30deg);
  }

  .header_sp_closebar::after{
    left: 0;
    transform: rotate(-30deg);
  }

  .header_sp_closebar{
    display: none;
  }

  .header_sp_menu_list{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .header_sp_menu_list li{
    margin-bottom: 50px;
  }

  .header_sp_menu_list li:last-child{
    margin-bottom: 0;
  }

  .header_sp_menu_list li a{
    text-decoration: none;
    color: #000;
    font-family: 'yugothic_bold';
    font-size: 25px;
  }

  .header_left_logo_wrapper{
    width: 40px;
    height: 40px;
  }

}


@media(max-width: 670px){

  body{
    font-size: 13px;
  }

  .container{
    padding-top: 65px;
  }

  .section{
    padding: 80px 0;
  }

  .title{
    font-size: 18px;
  }

  .midashi{
    font-size: 18px;
  }

  .midashi::before{
    bottom: -10px;
  }

  .midashi_small{
    font-size: 13px;
  }
  
  .max600{
    max-width: 90%;
  }

  .pagenation_wrapper{
    margin-top: 50px;
  }

  .page-numbers{
    width: 30px;
    height: 30px;
    margin-right: 20px;
  }

  .header_inner{
    padding: 15px 0;
  }

  .header_sp_menu_list li a{
    font-size: 18px;
  }

  .header_left_logo_wrapper{
    width: 35px;
    height: 35px;
  }

  .header_left_name_wrapper span:first-child{
    font-size: 12px;
  }

  .header_left_name_wrapper span:last-child{
    font-size: 15px;
  }

  .header_left_name_wrapper{
    margin-left: 10px;
  }

  footer{
    padding: 50px 0 15px;
  }

  .footer_logo_wrapper{
    width: 40px;
    height: 40px;
  }

  .footer_instagram_wrapper{
    width: 25px;
    height: 25px;
    margin: 30px auto 15px;
  }

  .footer_copyright{
    font-size: 12px;
  }

  .page_top_txt{
    font-size: 12px;
  }

  .contact_form_item{
    margin-bottom: 25px;
  }

  .contact_form_item_field_wrapper{
    margin-top: 5px;
  }

  .contact_form_item_field_wrapper input,
  .contact_form_item_field_wrapper select{
    font-size: 13px;
  }

  .contact_form_item_field_wrapper textarea{
    font-size: 13px;
  }

  .contact_form_submit_wrapper{
    margin-top: 30px;
  }

  .contact_form_submit_wrapper input{
    font-size: 13px;
    height: 50px;
  }

}