@media (max-width: 1050px){

/*-------------------------------------------------
header
-------------------------------------------------*/
.header {
  color: #102942;
  padding: 10px 0;
}

.header-contents {
  width: 80%;
}

.header-logo a img {
  width: 100px;
}

.header-right {
  display: none;
}

.menu-contents {
  display: block;
  align-items: center;
  width: 80%;
  height: 100%;
  align-items: center;
  margin: 0 auto;
  padding: 15px 0;
}

.menu-contents li {
  margin-top: 20px;
  border-bottom: 1px solid #102942;
}

.menu-contents li a {
  display: block;
  padding: 5px 0;
}

.header-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-angle-double-right {
  padding-right: 20px;
  color: #102942;
}

/*---メニュー開閉ボタン---*/
.menu-btn{
  display:block;
  z-index: 2;
  width:50px;
  text-align: center;
  justify-content: center;
  align-items: center;
  color: #102942;
  font-size: 13px;
  cursor: pointer;
}

.menu{
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-logo a img {
  width: 100px;
  padding: 10px 0;
}

#overlay {
  height: 50vh;
  width: 50vw;
  z-index: 2;
  visibility: hidden;
  position: fixed;
}
/* #overlay.active {

} */
#overlay ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
  padding-left: 0;
  list-style-type: none;
}
#overlay ul li {
  padding: 1em;
}
#overlay ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5em;
}

/*---ボーダーばつ---*/

.openbtn6{
  position: relative;
  cursor: pointer;
  width: 50px;
  height:50px;
  border-radius: 5px;
  z-index: 20;
}

.openbtn6 p {
  position: absolute;
  bottom: 0px;
   left: 6px;
   transform: translateX(0%);
}

.openbtn6 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    top: 0;
    left: 10px;
    height: 3px;
    border-radius: 2px;
    /* background: #3e3a39; */
    background: #102942;
  }


.openbtn6 span:nth-of-type(1) {
  top:5px; 
    width: 65%;
}

.openbtn6 span:nth-of-type(2) {
  top:13px;
    width: 55%;
}

.openbtn6 span:nth-of-type(3) {
  top:21px;
    width: 35%;
}


/*activeクラスが付与されると線が回転して×になる*/

.openbtn6.active span:nth-of-type(1) {
    top: 10px;
    left: 15px;
    transform: translateY(6px) rotate(-135deg);
    width: 40%;
    background:#3e3a39;;
}

.openbtn6.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn6.active span:nth-of-type(3){
    top: 21px;
    left: 15px;
    transform: translateY(-6px) rotate(135deg);
    width: 40%;
    background:#3e3a39;;
}

.openbtn6.active p{
    color:#102942;;
}

/*-----------------------------------------------------
全体
-----------------------------------------------------*/

body {
  font-size: 16px;
}

h1 {
  font-size: 20px;
}

.section-title h1 {
  font-size: 20px;
}

.section-title-white h1 {
  font-size: 20px;
}

.container {
  max-width: 80%;
  width: 80%;
  padding: 100px 0;
}

.service-container {
  padding: 100px 0;
}
/* 
.phone-br-none {
  display: none;
} */

.tablet-br-none {
  display: none;
}


/*-----------------------------------------------------
top-wrapper
-----------------------------------------------------*/

.top-img img {
  max-width: 100%;
  width: 100%;
}

.top-container {
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
  padding: 100px 0 100px 0;
}

.top-contents { 
  font-size: 40px;
  position: initial;
  top: initial;
  left: initial;
  transform: initial;
  padding-bottom: 30px;
}

.top-contents h1 { 
 letter-spacing: 5px;
 text-align: center;
}

.top-title {
  text-indent: initial;
  line-height: initial;
  padding-left: initial;
}


/*-----------------------------------------------------
top-profile
-----------------------------------------------------*/

.top-profile-contents {
  display: block;
  padding-top:initial;
}

.top-profile-img {
  width: 100%;
  height: 400px;
  margin: 0 auto;
}

.top-profile-img img {
  width:80%;
  height: 350px;
  right: initial;
  left: 0;
  object-position: 0px 0px;
}

.img-profile {
  display: none;
}

.phone-profile {
  display: block;
}

.box {
  width: 60%;
  right: 0;
  left: initial;
  height:500px;
}

.top-profile-text {
  width: 100%;
  max-width: 100%;
  padding-top: 100px;
  margin: 0 auto;
}

.top-profile-center h1 {
  font-size:20px;
  padding-bottom: 20px;
}

.top-profile-center p {
  padding: initial;
  line-height: 2;
}

.top-profile-center {
    padding: 0px;
}

/*-----------------------------------------------------
btn
-----------------------------------------------------*/

.main-btn a {
  margin-top: 40px;
}


/*-----------------------------------------------------
service-wrapper 
-----------------------------------------------------*/
.service-img {
  width: 90%;
}

.service-img img {
  width: 100%;
  height: 500px;
}

.service-item {
  width: 50%;
  right:10px;
  padding:30px;
}

.service-text {
  margin-bottom: 20px;
}

.service-text h1 {
  font-size: 16px;
}

.service-text p {
  font-size: 13px;
}

/*-----------------------------------------------------
works-wrapper 
-----------------------------------------------------*/

.works-contents {
  display: flex;
  justify-content: space-between;
}

.works-img {
  width: 49%;
  height: 200px;
  margin-bottom: 10px;
  margin-right: initial;
}

.works-img a {
  height: 200px;
}

.works-img a img {
  height: 200px;  
}


/*-----------------------------------------------------
movie
-----------------------------------------------------*/

.movie-contents {
  padding-top: 40px;
}

.movie-contents h1 {
  font-size: 16px;
}

.movie-contents h2 {
  font-size: 16px;
  margin-bottom: 10px;
}


/*-----------------------------------------------------
photo
-----------------------------------------------------*/
.photo-img img {
  height: 400px;
}


/*-----------------------------------------------------
sub-page全体
-----------------------------------------------------*/

.sub-page-title {
  height: 370px;
}

.sub-box {
  height: 200px;
  top: 110px;
  left: 0px;
}

.sub-box2 {
  height: 200px;
  top:90px;
}
.sub-top-title {
  height: 200px;
}

.sub-top-title h1 {
  font-size: 28px;
}


/*-----------------------------------------------------
profile
-----------------------------------------------------*/

.profile-contents {
  display: none;
}

.profile-tablet-contents {
  display: block;
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

.profile-tablet-img {
  position: relative;
  width: 50%;
}

.profile-tablet-img img {
  width: 90%;
  height: 400px;
  object-fit: cover;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9;

}

.profile-tablet-img .box {
  right: initial;
  height: 480px;
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  z-index: 8;
}

.profile-tablet-item h1 {
  font-size: 20px;
}

.profile-question h1 {
  font-size: 20px;
}

.profile-tablet-text {
  width: 50%;
  padding: 0 10px 0 60px;
}
.profile-tablet-item h1 {
  font-size: 16px;
  padding-bottom: initial;
}
.profile-tablet-item {
  padding-bottom: 10px;
}

.profile-bottom {
  padding-top: 100px;
}

/*-----------------------------------------------------
news-item
-----------------------------------------------------*/

.news-item {
  border-bottom: 0.1px solid #102942;
  padding: 0 5px 5px 5px;
  margin-bottom: 40px;
}

.news-item p {
  font-size: 13px;
}

.news-item h1 {
  padding-left: initial;
  padding-top: 10px;
  font-size: 16px;
}

.news-item a {
  display: block;
}

/*-----------------------------------------------------
news-page
-----------------------------------------------------*/

.newspage h1 {
  padding-bottom: 20px;
}





}

@media (max-width: 768px){
/*-------------------------------------------------
header
-------------------------------------------------*/
.header {
  color: #102942;
  padding: 5px 0;
}

.header-contents {
   width: 95%;
  max-width: 95%;
}

.header-logo a img {
  width: 80px;
}

.header-right {
  display: none;
}

.menu-contents {
  display: block;
  align-items: center;
  width: 95%;
  max-width: 95%;
  height: 100%;
  align-items: center;
  margin: 0 auto;
  padding: 10px 0;
}

.menu-contents li {
  margin-top: 20px;
  border-bottom: 1px solid #102942;
}

.menu-contents li a {
  display: block;
  padding: 5px 0;
}

.header-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fa-angle-double-right {
  padding-right: 20px;
  color: #102942;
}

/*---メニュー開閉ボタン---*/
.menu-btn{
  display:block;
  z-index: 2;
  width:50px;
  text-align: center;
  justify-content: center;
  align-items: center;
  color: #102942;
  font-size: 13px;
  cursor: pointer;
}

.menu{
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-logo a img {
  width: 80px;
  padding: 10px 0;
}

#overlay {
  height: 50vh;
  width: 50vw;
  z-index: 2;
  visibility: hidden;
  position: fixed;
}
/* #overlay.active {

} */
#overlay ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  height: 100vh;
  padding-left: 0;
  list-style-type: none;
}
#overlay ul li {
  padding: 1em;
}
#overlay ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5em;
}

/*---ボーダーばつ---*/

.openbtn6{
  position: relative;
  cursor: pointer;
  width: 50px;
  height:50px;
  border-radius: 5px;
  z-index: 20;
}

.openbtn6 p {
  position: absolute;
  bottom: 5px;
   left: 6px;
   transform: translateX(0%);
}

.openbtn6 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    top: 0;
    left: 10px;
    height: 3px;
    border-radius: 2px;
    /* background: #3e3a39; */
    background: #102942;
  }


.openbtn6 span:nth-of-type(1) {
  top:5px; 
    width: 65%;
}

.openbtn6 span:nth-of-type(2) {
  top:13px;
    width: 55%;
}

.openbtn6 span:nth-of-type(3) {
  top:21px;
    width: 35%;
}


/*activeクラスが付与されると線が回転して×になる*/

.openbtn6.active span:nth-of-type(1) {
    top: 10px;
    left: 15px;
    transform: translateY(6px) rotate(-135deg);
    width: 40%;
    background:#3e3a39;;
}

.openbtn6.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn6.active span:nth-of-type(3){
    top: 21px;
    left: 15px;
    transform: translateY(-6px) rotate(135deg);
    width: 40%;
    background:#3e3a39;;
}

.openbtn6.active p{
    color:#102942;;
}

/*-----------------------------------------------------
全体
-----------------------------------------------------*/

body {
  font-size: 13px;
}

h1 {
  font-size: 18px;
}

.section-title {
  padding-bottom: 40px;
}
.section-title h1 {
  font-size: 24px;
}

.section-title-white h1 {
  font-size: 24px;
}

.title-border {
  height:18px;
  margin: 15px auto 0 auto;
}

.white-border {
  height:18px;
  margin: 15px auto 0 auto;
}

.container {
  max-width: 95%;
  width: 95%;
  padding: 100px 0;
}

.service-container {
  padding: 100px 0;
}

.phone-br-none {
  display: none;
}
/*-----------------------------------------------------
btn
-----------------------------------------------------*/

.main-btn a {
 margin-top: 40px;
}

.center-btn a {
  margin: 60px auto 0 auto;
}

.white-btn a {
  margin: 40px auto 0 auto;
}

.top-profile-text .main-btn  a {
  margin-left: auto;
}

/*-----------------------------------------------------
top-wrapper
-----------------------------------------------------*/

.top-img {
  text-align: right;
}

.top-img img {
  max-width: 100%;
   width: 100%;
   height: 300px;
  text-align: right;
}

.top-container {
  max-width: 95%;
  width: 95%;
  margin: 0 auto;
  padding: 130px 0 100px 0;
}

.top-contents { 
  font-size: 40px;
  position: initial;
  top: initial;
  left: initial;
  transform: initial;
  padding-bottom: 30px;
}

.top-contents h1 { 
 letter-spacing: 5px;
 text-align: center;
}

.top-title {
  text-indent: initial;
  line-height: initial;
  padding-left: initial;
}

/*-----------------------------------------------------
top-profile
-----------------------------------------------------*/

.top-profile-contents {
  display: block;
  padding-top:initial;
}

.top-profile-img {
  width: 100%;
  height: 350px;
}

.top-profile-img img {
  width: 90%;
  height: 250px;
  right: 0;
  left: initial;
  object-fit: cover;
  object-position: 0px 0px;
}

.img-profile {
  display: none;
}

.phone-profile {
  display: block;
}

.box {
  width: 60%;
  height: 300px;
  position: absolute;
  left: 0;
  z-index: 1;
}

.top-profile-text {
  width: 100%;
  padding-top: 60px;
}

.top-profile-center h1 {
  font-size:16px;
  padding-bottom: 20px;
}

.top-profile-center p {
  padding: initial;
  line-height: 2;
}

.top-profile-center {
    padding: 0px;
}

/*-----------------------------------------------------
service-wrapper 
-----------------------------------------------------*/

.service-contents {
  display: block;
}

.service-img {
  width: 100%;
  margin: 0 auto;
}

.service-img img {
  width: 100%;
  height: 300px;
  vertical-align:top;
}

.service-item {
  width: 100%;
  position:initial;
   top: initial;
   right: initial;
   transform: initial;
   margin: 0 auto;
  padding: 40px 20px;
  background-color: #f2f2f2;
}

.service-text {
  margin-bottom: 40px;
}

.service-text h1 {
  padding-bottom: 5px;
  font-size: 16px;
 
}

.service-text p {
  font-size: 13px;
}

.service-text:last-child {
  margin-bottom: initial;
}

/*-----------------------------------------------------
works-wrapper 
-----------------------------------------------------*/

.works-contents {
  display: block;
}

.works-img {
  width: 100%;
  height: 200px;
  margin-bottom: 5px;
  margin-right: initial;
}

.works-img:nth-child(3n) {
  margin-right: initial;
}

.works-img a {
  height: 200px;
}

.works-img a img {
  height: 200px;  
}


/*-----------------------------------------------------
movie
-----------------------------------------------------*/

.embedbox{
	width: 100%;
}

.movie-contents {
  padding-top: 40px;
}

.movie-contents h1 {
  font-size: 16px;
}

.movie-contents h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.movie-contents p {
  line-height: 2;
}

.works-btn {
    padding-top: 40px;
}

/*-----------------------------------------------------
photo
-----------------------------------------------------*/

.photo-img img {
  width: 100%;
  height: 210px;
}


/*-----------------------------------------------------
news-item
-----------------------------------------------------*/

.news-item h1 {
  padding-left: initial;
  padding-top: 10px;
}

.news-item a {
  display: block;
}

.top-news-wrapper .main-btn {
  margin-top: 20px;
}

/*-----------------------------------------------------
sub-page全体
-----------------------------------------------------*/

.sub-page-title {
  height: 230px;
}

.box-main {
  width: 95%;
}

.sub-box {
  height: 150px;
  width: 95%;
  top: 80px;
}

.sub-box2 {
  height: 150px;
  width: 95%;
  top: 60px;
}
.sub-top-title {
  height: 150px;
}

.sub-top-title h1 {
  font-size: 20px;
}

/*-----------------------------------------------------
profile
-----------------------------------------------------*/

.profile-contents {
  display: block;
}

.profile-tablet-contents {
  display: none;
}

.profile-item p {
  font-size: 16px;
}

.profile-item h1 {
  font-size: 12px;
  padding: initial;
  padding-bottom: initial;
}

.profile-item {
  padding-bottom: 10px;
}

.profile-bottom {
  padding-top: 40px;
}

.profile-question {
  padding-bottom: 40px;
}

.profile-question h1 {
  font-size: 16px;
  margin-bottom: 10px;
}

/*-----------------------------------------------------
company-wrapper
-----------------------------------------------------*/
tbody {
  display: inline-block;
  width: 100%;
}
.kaisha th {
  border-bottom:initial;
  padding: 10px;
  font-size: 13px;
  width: 100%;
  max-width: 100%;
}

.kaisha td {
  padding: 0px 10px 10px 10px;
  font-size: 13px;
  margin-bottom: 10px;
  width: 100%;
  max-width: 100%;
}

.kaisha,
.kaisha tr,
.kaisha td,
.kaisha th {
  display:block;
  width: 100%;
  max-width: 100%;
}
.kaisha th {
  width: 100%;
  max-width: 100%;
  text-align: left;
}

/*-----------------------------------------------------
footer
-----------------------------------------------------*/

.footer h1 {
  font-size: 16px;
  padding: 30px 0;
}

.footer p {
  font-size: 12px;
  padding-bottom: 10px
}

.footer-logo img {
  width:30%;
}

.snsbtniti {
  max-width: 200px;
}

/*-------------------------------------------------
contact-wrapper
-------------------------------------------------*/

.contact-top h1 {
  font-size: 40px;
  text-align: center;
}

.contact-top p {
 text-align: center;
 padding-top: 30px;
}

.contactform {
  width: 90%;
  margin: 0px auto 0 auto;
}

.contactform p {
  padding: 4px 0;
}

input {
  width: 100%;
  padding: 10px 10px;
  margin-bottom: 15px;
  border: 1px solid #102942;
}

textarea {
  width: 100%;
  margin: 5px 0;
  padding: 10px 10px;
}

.wpcf7-form-control {
  background-color: #fff;
  color: #565656;
}

.hidden-fields-container {
  margin: 0 auto;
  text-align: center;
}
.contactform p .wpcf7-submit {
  background-color: #102942;
  border-radius: 10px;
  color: #fff;
}

.wpcf7-submit:hover {
  cursor: pointer;
  opacity: 0.7;
}
}


@media (max-width: 450px){

  
/*-----------------------------------------------------
全体
-----------------------------------------------------*/

body {
  font-size: 12px;
}

h1 {
  font-size: 16px;
}


.container {
  width: 95%;
  max-width: 95%;
  padding: 60px 0;
}

.service-container {
  width: 95%;
  max-width: 95%;
}


}