/*
Theme Name: sega-k 
 */

/* ============================
	common
============================ */

#wrapper {
  min-width: 1040px;
  overflow: hidden;
}

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

.flex-start {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.ofi {
  font-family: "object-fit: cover;";
  -o-object-fit: cover;
  object-fit: cover;
}

.bold {
  font-weight: 700;
}
@media screen and (max-width: 1039px) {
  #wrapper {
    min-width: 0;
    overflow: hidden;
  }
  
}
@media screen and (max-width: 767px) {
  #wrapper {
    min-width: 0;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(30, 30, 30, 0.3);
  }
}

/* ============================
	sp-menu
============================ */
#sp-menu {
  box-sizing: border-box;
  position: absolute;
  transition: all 0.35s ease;
  top: 60px;
  left: 0;
  background-color: #f0edea;
  width: 100%;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
}

#sp-menu.opening {
  position: fixed;
  transition: all 0.35s ease;
  opacity: 1;
  pointer-events: auto;
  height: calc(100vh - 60px);
  z-index: 100;
}

#sp-menu .menu-item a {
  text-align: center;
  line-height: 1;
  display: block;
  width: 100%;
  padding: 15px 0;
  font-weight: 500;
}

#sp-menu .sub-menu {
  display: none;
  opacity: 0;
  transition: 0.35s all ease;
}

#sp-menu .sub-menu.opening {
  display: block;
  opacity: 1;
  transition: 0.35s all ease;
}

#sp-menu .sp-contact-box {
  margin: 30px 0 0;
}

#sp-menu .sp-contact-box a {
  box-sizing: border-box;
  display: block;
  background-color: #111;
  text-align: center;
  color: #fff;
  padding: 6px 0;
}

/* btn-hamburger */
#btn-hamburger {
  position: relative;
  top: 0;
  right: 0;
  background-color: #111;
  width: 60px;
  height: 60px;
  z-index: 1000;
  cursor: pointer;
}

#btn-hamburger .border {
  position: absolute;
  left: 15px;
  transition: opacity, transform 0.2s ease;
  background: #fff no-repeat left top;
  width: 30px;
  height: 2px;
  z-index: 1;
}

#btn-hamburger .border:first-child {
  top: 33%;
}

#btn-hamburger .border:nth-child(2) {
  transform: rotate(0);
  opacity: 1;
  top: 50%;
}

#btn-hamburger .border:nth-child(3) {
  top: 67%;
}

#btn-hamburger.opening .border:first-child {
  transform: rotate(45deg);
  top: 50%;
}

#btn-hamburger.opening .border:nth-child(2) {
  opacity: 0;
}

#btn-hamburger.opening .border:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}

/* ============================
	header
============================ */
#header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  
}

#header.h-fixed {
  position: fixed;
}

#header .h-inner {
  align-items: center;
  width: 100%;
  padding: 20px 20px;
  background: #f0ede7;
}
#header .img-box{
  max-width: 25rem;
}

#h-gnav-box.flex-start {
  align-items: center;
}

#h-gnav-box .menu-item + .menu-item {
  margin: 0 0 0 30px;
}
@media screen and (max-width: 1200px) {
  #h-gnav-box .menu-item + .menu-item {

  margin: 0 0 0 20px;
  }
}

#h-gnav-box .menu-item a {
  font-size: 1.4rem;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  letter-spacing: 0.2em;
}

#h-gnav-contact {
  margin-left: 30px;
}
@media screen and (max-width: 1200px) {
  #h-gnav-contact {
    margin-left: 20px;
  }
}
@media screen and (max-width: 1010px) {
  #h-gnav-contact {
    margin-left: 5px;
  }
}

#h-gnav-contact a {
  display: block;
  box-sizing: border-box;
  background-color: #111;
  text-align: center;
  color: #fff;
  font-size: 1.5rem;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.16em;
  width: 200px;
  height: 49px;
  padding: 18px 0;
}
@media screen and (max-width: 1200px) {
  #h-gnav-box .menu-item a {
    font-size: 1.3rem;
  }  
}
@media screen and (max-width: 767px) {
  #header {
    margin: 0 auto;
    right: 0;
  }
  #header .img-box{
    max-width: 22rem;
  }
  

  #header .h-inner {
    padding: 0 0 0 1rem;
  }
}

/* ============================
	footer
============================ */
#footer .f-inner {
  /* padding: 80px 0; */
  background-color: #f0ede7;
  /* max-height: 60rem; */
}
#footer .content-width{
  display: flex;
  /* margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw); */
  max-width: 100%;
  max-height: 60rem;
  padding: 0;
}

#footer .f-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5.4rem;
  padding: 11rem 5rem 11rem 6rem;
  width: 41%;
  flex-grow: 1;
}
#footer .f-logo{
  display: flex;
  align-items: flex-end;
  gap: 30px;
}
#footer .f-logo .f-logo-info {
  max-width: 30rem;
}
#footer .f-logo .f-logo-zeh {
  width: 40px;
}
.footer__address{
  margin-top: 2rem;
  font-style:normal;
  font-size: 1.3rem;
  letter-spacing: 0.16em;
  text-align: left;
  font-family: "Sawarabi Gothic", sans-serif;
}
#footer .flex-start{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  column-gap: 3rem;
  width: 100%;
}
#footer .menu-item{
  text-align: left;
  padding-top: 3rem;
  font-size: 1.5rem;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;

}
#footer .menu-item:nth-child(n+3){
  padding-top: 1.7rem;
}
#footer .menu-item:nth-child(1){
  border-top: 1px solid #bfbcb5;
}
#footer .menu-item:nth-child(2){
  border-top: 1px solid #bfbcb5;
}
#footer .menu-item:last-child{
  grid-column: 2;
  font-size: 1.3rem;
}

.footer__contact{
  max-width: 101.9rem;
  max-width: 82rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20rem 0;
  text-align: center;
  flex-grow: 1;
  background: url(./img/common/footer_bg.jpg) no-repeat center / cover;
  aspect-ratio: 820 / 600;
  width: 59%;
}
.footer__contact .sec-ttl-box{
  margin-top: -6rem;

}
.footer__contact .sec-ttl{
  color: #fff;
}
.footer__contact .sec-ttl::before{
  left: 50%;
  transform: translateX(-50%);
}
.footer__contact .sec-btn{
  margin-top: 2rem;
}
#copyright{
  margin-top: 5rem;
}
#copyright p {
  text-align: center;
  font-size: 1.2rem;
  margin: 0;
}
@media screen and (max-width: 1200px) {
  #footer .f-content {
    padding: 8rem 3rem;
  }  
  #footer .flex-start{
    column-gap: 2rem;
  }
}

@media screen and (max-width: 1000px) {
  #footer .f-inner {
    padding: 0;
  }
  #footer .content-width{
    flex-direction: column-reverse;
    max-height: unset;
  }
  #footer .f-logo{
    margin-inline: auto;
  }
  #footer .f-logo a img{
    max-width: 25rem;
  }
  #footer .f-content{
    width: 100%;
    padding: 6rem 2rem 0;

  }
  #footer .flex-start{
    display: none;
  }

  .footer__contact{
    width: 100%;
    padding: 10rem;
    aspect-ratio: 2/1;
    max-width: unset;

  }
  .footer__contact .sec-btn{
    white-space: nowrap;
  }
  #copyright{
    margin-top: 0;
    margin-inline: auto;
  }
}

/* ============================
	mainvisual
============================ */
.mainvisual {
  width: 100%;
  height: auto;
  margin: 9rem 6rem 0;
  position: relative;

}
.mv-slider{
  position:absolute;
  z-index: -1;
}
/* スライド枠は固定・100% */
.mv-slider .slick-slide {
  width: 100%;
  overflow: hidden; /* 画像がはみ出ても枠内に収める */
  position: relative;
  /* opacity: 0;
  transition: opacity 1.5s linear;  */
  aspect-ratio: 1340/535;
  min-height: 53.5rem;

}

/* 全画像に scale 適用（切り替えで transition する） */
.mv-slider .slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}
.mv-slider .slick-current {
  opacity: 1;
}
.mv-slider {
  visibility: hidden;
}
.mv-slider.slick-initialized {
  visibility: visible;
}


#top-mv.mainvisual{
  aspect-ratio: 1340/535;
  min-height: 53.5rem;

}

#top-mv .mv-inner {
  aspect-ratio: 1340/535;
  position: absolute;
  bottom: 0;
}

#top-mv .mv-inner.flex-start {
  align-items: end;
  justify-content: space-between;
}
#top-mv #mv-ttl{
  color: #fff;
  font-size: 4.4rem;
  line-height: 1.3;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  padding-left: 6rem;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);

}
#top-mv .mv-txt{
  margin-top: 2.7rem;
  color: #fff;
  font-size: 1.5rem;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: 0.12em;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);


}
#top-mv .mv__pickup {
  content: "";
  position: absolute;
  bottom: 2rem;
  right: -6rem;
  transform: translateX(-50%);
  display: flex;
  border: 1px solid #fff;
  max-width: 29.4rem;
}

#top-mv .mv__pickup-ttl {
  color: #fff;
  border-right: 1px solid #fff;
  font-size: 1.2rem;
  padding: 1rem 1rem;
  white-space: nowrap;

}

#top-mv .mv__pickup-txt {
  color: #fff;
  font-size: 1.3rem;
  padding: 1rem 3rem 1rem 1rem;
  white-space: nowrap;
}
@media screen and (max-width: 1000px) {
  #top-mv .mv-inner {
    aspect-ratio: 1340/650;
    bottom: 4%;

  } 
  #top-mv #mv-ttl{
    padding-left: 2rem;
  }
}


@media screen and (max-width: 767px) {
  .mainvisual {
    margin: 60px 0 0;
    
  }
  #top-mv.mainvisual{
    min-height: 48rem;
    aspect-ratio: 375/480;

  }
  #top-mv .mv-inner {
    aspect-ratio: 375/480;
  }
  #top-mv #mv-ttl{
    font-size: 2.6rem;
    padding-left: 2rem;
    padding-bottom: 5rem;

  }
  #top-mv .mv-txt{
    margin-top: 2rem;
    font-size: 1.4rem;
    line-height: 1.8;
  }
  #top-mv .mv__pickup {
    content: "";
    position: absolute;
    bottom: 2rem;
    right: unset;
    left: 2rem;
    transform: translateX(0);
    display: flex;
    border: 1px solid #fff;
    max-width: 29.4rem;
  }
  
}

#page-mv .mv-inner{
  background: url(./img/kv/feature-kv.jpg) no-repeat center / cover;
  width: 100%;
  height: auto;
  aspect-ratio: 1340/287;
  object-fit: cover;
  position: relative;
}
.archive #page-mv .mv-inner{
  background: url(./img/kv/news-kv.jpg) no-repeat center / cover;
}
.single-post #page-mv .mv-inner{
  background: url(./img/kv/news-kv.jpg) no-repeat center / cover;
}
#news #page-mv .mv-inner{
  background: url(./img/kv/news-kv.jpg) no-repeat center / cover;
}
#feature #page-mv .mv-inner{
  background: url(./img/kv/feature-kv.jpg) no-repeat center / cover;
}
#company #page-mv .mv-inner{
  background: url(./img/kv/company-kv.jpg) no-repeat center / cover;
}
#contact #page-mv .mv-inner{
  background: url(./img/kv/contact-kv.jpg) no-repeat center / cover;
}
#privacy-policy #page-mv .mv-inner{
  background: url(./img/kv/privacypolicy-kv.jpg) no-repeat center / cover;
}
.post-type-archive-work #page-mv .mv-inner{
  background: url(./img/kv/work-kv.jpg) no-repeat center / cover;
}
.single-work #page-mv .mv-inner{
  background: url(./img/kv/work-kv.jpg) no-repeat center / cover;
}
.post-type-archive-voice #page-mv .mv-inner{
  background: url(./img/kv/voice-kv.jpg) no-repeat center / cover;
}
.single-voice #page-mv .mv-inner{
  background: url(./img/kv/voice-kv.jpg) no-repeat center / cover;
}

#page-mv .content-width{
  max-width: 132rem;
}
#page-mv .page-ttl-box{
  content: "";
  position: absolute;
  bottom: 29%;
  left: 4.5%;
}
#page-mv .page-ttl{
  color: #fff;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: 4rem;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 1200px) {
  #page-mv .page-ttl{
    font-size: 3.2rem;
  }
}
@media screen and (max-width: 1100px) {
  #page-mv .mv-inner{
    aspect-ratio: 1000/300;
  }
}

@media screen and (max-width: 767px) {
  #page-mv .mv-inner{
    aspect-ratio: 375/180;
  }
  #page-mv .page-ttl{
    color: #fff;
    font-size: 2.8rem;
    
  }
}



/* ============================
	section
============================ */
.sec-inner {
  padding: 10rem 0;
}
.sec-inner.pb0{
  padding-bottom: 0;
}

.sec-ttl {
  font-size: 1.6rem;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  letter-spacing: 0.2em;
  position: relative;
  padding-top: 12.3rem;
  white-space: nowrap;
}
.sec-ttl::before{
  content: attr(data-en);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 7.4rem;
  font-family: "Inter", sans-serif;
  font-weight: 100;
  letter-spacing: 0.05em;
}
.sec-read{
  font-size: 2.8rem;
  line-height: 1.7857;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  letter-spacing: 0.05em;

}
.sec-txt{
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.12em;

}
.sec-btn a{
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 0.4rem 3rem;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.04em;
  border-radius: 4px;
}

.content-width {
  box-sizing: border-box;
  max-width: 126rem;
  padding: 0 20px;
  margin: 0 auto;
}

.content-box {
  margin: 50px 0 0;
}

@media screen and (max-width: 1000px) {
  .sec-inner {
    padding: 5rem 0;
  }  
  .content-width {
    width: 100%;
  }
  .sec-read{
    font-size: 2rem;
  }
  .sec-ttl {
    font-size: 1.4rem;
    padding-top: 8rem;
  }
  
  .sec-ttl::before{
    font-size: 5rem;
  }
  
}


/* ============================
	breadcrumb
============================ */
.breadcrumbs {
  padding: 8px 0;
  /* background: #000; */
  font-size: 1.2rem;
}

.breadcrumbs,
.breadcrumbs a,
.breadcrumbs span {
  /* color: #fff; */
}

/* ============================
	pagenavi
============================ */
.wp-pagenavi {
  clear: both;
  margin: 50px 0 0;
  font-size: 1.6rem;
  text-align: center;
}

.wp-pagenavi a,
.wp-pagenavi span {
  display: inline-block;
  width: 3em;
  height: 3em;
  margin: 0 0.5em;
  font-weight: bold;
  line-height: 3;
  color: #999;
  border: 2px solid #ccc;
  text-align: center;
  vertical-align: middle;
  transition: all 0.5s ease;
}

.wp-pagenavi a:hover,
.wp-pagenavi span {
  background: #000000;
  color: #fff;
  border-color: #000;
  opacity: 1;
  text-decoration: none;
}

.wp-pagenavi a:hover {
  transition: all 0.5s ease;
}

.wp-pagenavi .extend {
  width: 1em;
  color: #000;
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
}

.wp-pagenavi .extend::after {
  content: "…";
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
  position: relative;
  width: 3em;
  height: 3em;
  background: #fff;
  text-indent: -999999px;
  vertical-align: middle;
}

.wp-pagenavi .previouspostslink::after,
.wp-pagenavi .nextpostslink::after {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
}

.wp-pagenavi .previouspostslink::after {
  transform: rotate(225deg);
}

.wp-pagenavi .nextpostslink::after {
  transform: rotate(45deg);
}

.wp-pagenavi .previouspostslink:hover::after,
.wp-pagenavi .nextpostslink:hover::after {
  border-color: #fff;
}

.result_count {
  margin-bottom: 15px;
  text-align: center;
  font-size: 1.4rem;
  color: #999;
}

/* ============================
	post parts
============================ */
.post-date {
  font-size: 1.5rem;
  min-width: 70px;
}

.post-cats {
  line-height: 1;
  /* margin: 0 0 0 20px; */
}

.post-cats.flex-start {
  justify-content: flex-start;
  align-items: center;
}

.post-cat {
  display: block;
  color: #949089;
  font-size: 1.5rem;
  font-family: "Sawarabi Gothic", sans-serif;
  border-radius: 2px;
  width: 120px;
  /* text-align: center; */
}

.post-cat + .post-cat {
  margin: 0 0 0 10px;
}

.post-cat:link {
  color: #fff;
  color: #949089;

}

.post-cat:visited {
  color: #fff;
  color: #949089;

}

/* ============================
	news list
============================ */
.news-item {
  padding: 2rem 0;
  border-top: 1px solid #1e1e1e;
  display: grid;
  grid-template-columns: 10rem 1fr 25rem;
  gap: 3rem;

}

.news-item:last-child{
  /* border-top: 1px solid #1e1e1e; */
  border-bottom: 1px solid #1e1e1e;
}
.news-item .post-wrap{
  display: contents;
}
.news-item .post-cat{
  font-family: "Sawarabi Gothic", sans-serif;
  color: #0d0d0c;
  background: #dfdbd2;
  width: 8rem;
  font-size: 1.4rem;
  font-weight: 400;
  text-align: center;
  padding: 0.5rem;
  border-radius: 2px;

}
.news-item .post-ttl {
  font-size: 1.5rem;
  font-family: "Sawarabi Gothic", sans-serif;
  font-weight: 400;
  margin: 0;
}
.news-item .post-day{
  text-align: right;
  white-space: nowrap;
  font-family: "Public Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;

}
@media screen and (max-width: 1200px) {
  .news-item .post-wrap{
    display: flex;
    gap: 2rem;
  }
  .news-item{
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
}

@media screen and (max-width: 767px) {
  .news-item{
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .news-item .post-wrap{
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .news-item .post-meta {
    width: 100%;
  }
  .news-item .post-ttl {
    margin-left: 0;
  }
}

/* ============================
	card list
============================ */
.card-list {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 3rem;
}

.card-item {
  /* width: 280px; */
  /* margin-top: 30px;
  margin-left: 80px; */
}

.card-item .post-thumb img {
  width: 100%;
}

.card-item .post-info {
  margin-top: 20px;
}

.card-item .post-ttl {
  font-size: 1.5rem;
  margin: 20px 0 0;
}

@media screen and (max-width: 767px) {
  .card-list {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    justify-content: unset;
  }
  
  .card-item {
    width: 100%;
  }
}

/* ============================
	work list
============================ */
.top-work__items{
  margin-top: 7.6rem;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 6rem;
}
.top-work__item{
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 下揃え */
  height: 100%; 

}
.top-work__img img{
  width: 100%;
  height: auto;
  aspect-ratio: 348/260;
  object-fit: cover;

}
.top-work__cat{
  font-size: 1.5rem;
  font-family: "Sawarabi Gothic", sans-serif;
  color: #949089;

}
.top-work__ttl{
  margin-top: 2.5rem;
  padding-right: 4.5rem;
  font-size: 1.5rem;
  font-family: "Sawarabi Gothic", sans-serif;
  line-height: 1.6;
  position: relative;
  min-height: 4.8rem;
}
.top-work__ttl::after{
  content: "";
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.4rem;
  background: url(./img/common/arrow.png) no-repeat center / contain;
}
@media screen and (max-width: 1000px) {
  .top-work__item{
    justify-content: flex-start;  
  }  
}
@media screen and (max-width: 767px) {
  .top-work__items{
    margin-top: 5rem;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
/* ============================
	voice list
============================ */
.top-voice__items{
  margin-top: 20.2rem;
  display: grid;
  gap: 6rem;
}
.top-voice__item{
  background: #fff;
  max-width: 38rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* 下揃え */
  height: 100%; 


}
.top-voice__cat{
  padding: 0.5rem 1rem 0.5rem 3rem;
  font-size: 1.5rem;
  letter-spacing: 0.26em;
  color: #000;
  font-family: "Sawarabi Gothic", sans-serif;
  display: flex;
  justify-content: space-between;

}
.top-voice__cat span{
  font-size: 1.4rem;
  color: #9a968f;
  font-family: "Public Sans", sans-serif;
  font-weight: 200;
  letter-spacing: 0.16em;
}
.top-voice__img img{
  width: 100%;
  height: auto;
  aspect-ratio: 380/400;
  object-fit: cover;

}
.top-voice__ttl{
  padding: 0 2.5rem;
  font-size: 1.5rem;
  font-family: "Sawarabi Gothic", sans-serif;
  line-height: calc(24/15);
  color: #000;
  min-height: 9.4rem;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .top-voice__items{
    margin-top: 12rem;
  }
  .top-voice__item{
    max-width: 33rem;
  }
  .top-voice__ttl{
    padding: 0 2rem;
  }
  
}


/* ============================
	contact form
============================ */
.contact-box .required {
  display: inline-block;
  background-color: #e21414;
  color: #fafafa;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  margin: 0 0 0 20px;
  padding: 4px 8px;
}

.contact-box input[type="text"],
.contact-box input[type="password"],
.contact-box input[type="email"],
.contact-box input[type="tel"],
.contact-box input[type="url"],
.contact-box input[type="number"],
.contact-box select,
.contact-box textarea {
  box-sizing: border-box;
}

.contact-box th {
  box-sizing: border-box;
  width: 25%;
}

.contact-box td {
  box-sizing: border-box;
  width: 75%;
}

.contact-box .your-email {
  box-sizing: border-box;
  width: 100%;
}

.contact-box .zip {
  width: 150px;
  box-sizing: border-box;
}

.contact-box .your-address {
  box-sizing: border-box;
  width: 100%;
}

.contact-box .your-content {
  width: 100%;
  box-sizing: border-box;
}

#consent-box {
  text-align: center;
}

#submit-box .wpcf7-response-output {
  text-align: center;
}

#btn-submit {
  width: 300px;
  position: relative;
  margin: 0 auto;
}

#btn-submit .wpcf7-submit {
  background-color: #111;
  color: #fff;
  line-height: 1;
  width: 300px;
  padding: 16px 0;
  display: block;
  text-align: center;
}

#btn-submit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 0 0 10px;
}

@media screen and (min-width: 768px) {
  .contact-box th {
    text-align: left;
  }
}

@media screen and (max-width: 767px) {
  .contact-box input[type="text"],
  .contact-box input[type="password"],
  .contact-box input[type="email"],
  .contact-box input[type="tel"],
  .contact-box input[type="url"],
  .contact-box input[type="number"],
  .contact-box select,
  .contact-box textarea {
    width: 100%;
  }

  .contact-box td,
  .contact-box th {
    display: block;
    width: 100%;
  }
}

/* ============================
	404
============================ */
#error-404 {	
}
#error-404 .sec-ttl {
	font-size: 2.2rem;
	padding: 0;
}
#error-404 .content-box p {
}

@media screen and (min-width: 1001px) {
  #sp-menu {
    display: none;
  }

  #btn-hamburger {
    display: none;
  }
}

@media screen and (max-width: 1000px) {
  #h-gnav-box {
    display: none;
  }
}


