/*固定ページヘッダー*/

@media only screen and (max-width: 600px) {
  #page_header {
    height: calc(35vh - 55px);
  }
}

/*改行*/
br.sp {
  display: none;
}

@media screen and (max-width: 750px) {
  br.sp {
    display: inline;
  }

  br.pc {
    display: none;
  }
}

/*フォント*/
body,
p,
a,
span,
.headline,
.rich_font,
.rich_font_type3,
.wpcf7-submit,
.gothic_font {
  font-family: "Sawarabi Mincho", Noto Sans CJK, sans-serif !important;
}

/*お知らせ一覧*/
@media screen and (max-width:750px) {
  #news_list .title {
    font-size: 12px;
  }
}

/*フッターロゴ*/
#footer_logo {
  margin: 0 0 5px 0;
}

/*フッター非表示*/
@media screen and (max-width: 750px) {
  #footer_menu {
    display: none;
  }
}

/*フッターメニュー縦並びに調整*/
@media (max-width: 750px) {
  #footer_menu li {
    display: block;
    margin: 10px 0;
    padding: 0;
    border-right: 0;
  }

  #footer_menu li:last-child {
    margin: 10px 0;
  }

  p#company_date {
    display: none;
  }
}

/*ウィジェットスマホでは非表示*/
@media only screen and (max-width: 750px) {
  .widget_content {
    display: none;
  }
}

/*お問い合わせ*/
.grecaptcha-badge {
  visibility: hidden;
}

/* ----------------------------------------------------------------------
 ヘッダー
---------------------------------------------------------------------- */
/*テーマ基本調整*/
#header,
#index_header_content,
#index_box_content,
#return_top,
#footer_banner,
#footer_top,
#footer_menu {
  display: none;
}

#contents_builder .cb_contents {
  width: auto;
  padding: 0;
}

#footer_top {
  padding: 0;
}

/*LP用ヘッダー*/
#header_blok {
  height: 120px;
  display: flex;
  border-bottom: 8px solid #036EB7;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background-color: #fff;
}

.top_content {
  margin-top: 120px;
}

.header01 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1200px;
  margin: 0 auto;
}

.header01 img {
  vertical-align: bottom;
  width: 100%;
}

.header10 {
  width: 38%;
}

.header20 {
  width: 52%;
}

#header-button ul {
  list-style: none;
  margin: 0;
  display: flex;
  justify-content: flex-end;
}

#header-button ul li {
  line-height: 0;
  padding-right: 0.5em;
}

#header-button ul li:last-of-type {
  padding-right: 0;
}

button.btn-img {
  background-color: transparent;
  border: none;
}

.btn-img img {
  transition: all 0.4s;
  height: 70px;
  width: auto;
}

.btn-img:hover img {
  opacity: 0.6;
}

.acecontact,
.thanks {
  margin-top: 210px;
}

@media (max-width: 1300px) {
  .header01 {
    width: 100%;
    box-sizing: border-box;
    padding: 0 2em;
  }
}

@media (max-width: 1200px) {
  #header_blok {
    height: 110px;
  }

  #page_header,
  .top_content {
    margin-top: 110px;
  }

  .acecontact,
  .thanks {
    margin-top: 200px;
  }

  .btn-img img {
    height: 62px;
  }

}

@media (max-width: 1050px) {
  #header_blok {
    height: 100px;
  }

  #page_header,
  .top_content {
    margin-top: 100px;
  }

  .acecontact,
  .thanks {
    margin-top: 190px;
  }

  .btn-img img {
    height: 55px;
  }
}

@media (max-width: 900px) {
  #header_blok {
    height: 80px;
  }

  #page_header,
  .top_content {
    margin-top: 80px;
  }

  .acecontact,
  .thanks {
    margin-top: 170px;
  }

  .btn-img img {
    height: 50px;
  }
}

@media (max-width: 800px) {
  #header_blok {
    height: 70px;
  }

  #page_header,
  .top_content {
    margin-top: 70px;
  }

  .acecontact,
  .thanks {
    margin-top: 160px;
  }

  .btn-img img {
    height: 45px;
  }
}

@media (max-width: 750px) {
  #header_blok {
    position: static;
    padding: 0 5em;
    height: 60px;
    width: auto;
    border-top: 3px solid #036EB7;
    border-bottom: none;
  }

  #page_header,
  .top_content {
    margin-top: 0;
  }

  .acecontact,
  .thanks {
    margin-top: 20px;
  }

  .header01 {
    padding: 0;
  }

  .header10 {
    width: auto;
  }

  .header20 {
    display: none;
  }

  .header10 img {
    height: auto;
  }
}

/* ----------------------------------------------------------------------
 背景無限スクロール
---------------------------------------------------------------------- */

/*
右から左へ
----------------------------*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

/*
IE11対策
----------------------------*/
_:-ms-lang(x)::-ms-backdrop,
.m_scroll {
  display: -ms-grid;
  overflow: hidden;
}

/*----------------------------*/

.m_scroll__wrap {
  display: flex;
  overflow: hidden;
}

ul.m_scroll__list {
  display: flex;
  list-style: none;
  margin: 0;
}

.m_scroll__list--left {
  animation: infinity-scroll-left 195s infinite linear 0.5s both;
}

li.m_scroll__item {
  line-height: 0;
}

.m_scroll__item,
.m_scroll__item img {
  width: 700px;
}

/*マウスオーバーで一時停止*/
/* .m_scroll__wrap:hover .m_scroll__list--left{
  animation-play-state: paused;
} */

/* ----------------------------------------------------------------------
 トップ画
---------------------------------------------------------------------- */
.top_content {
  position: relative;
  text-align: center;
}

.top_content img {
  vertical-align: bottom;
}

.top_content01 {
  width: 100%;
  height: 100%;
  position: absolute;
  margin: auto;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
}

.top_content01 img {
  height: 700px;
}

.sp_block {
  display: none;
}

@media (max-width: 1300px) {

  .top_content01 img {
    height: 600px;
  }

  .m_scroll__item,
  .m_scroll__item img {
    width: 600px;
  }
}

@media (max-width: 1200px) {

  .top_content01 img {
    height: 550px;
  }

  .m_scroll__item,
  .m_scroll__item img {
    width: 550px;
  }
}

@media (max-width: 1100px) {

  .top_content01 img {
    height: 500px;
  }

  .m_scroll__item,
  .m_scroll__item img {
    width: 500px;
  }
}

@media (max-width: 950px) {

  .top_content01 img {
    height: 450px;
  }

  .m_scroll__item,
  .m_scroll__item img {
    width: 450px;
  }
}

@media (max-width: 800px) {

  .top_content01 img {
    height: 400px;
  }

  .m_scroll__item,
  .m_scroll__item img {
    width: 400px;
  }
}

@media (max-width: 750px) {
  .pc_block {
    display: none;
  }

  .sp_block {
    display: block;
  }

  .top_content01 img {
    margin: 0px auto;
    height: 550px;
  }

  .m_scroll__item,
  .m_scroll__item img {
    width: 550px;
  }
}

/* ----------------------------------------------------------------------
 ブロック・見出し
---------------------------------------------------------------------- */
/*ブロック*/
#contents_builder {
  padding-bottom: 0;
}

.ace400_blok {
  padding: 5em 0;
}

.ace410_blok {
  width: 800px;
  margin: 0 auto;
}

.workblok .ace410_blok,
.contactblok .ace410_blok {
  width: 1000px;
}

.ace400_blok.pointblok,
.ace400_blok.workblok {
  background-color: #fff;
}

.ace400_blok.flowblok {
  background-color: #fffee6;
}

.ace400_blok.flowblok2 {
  background-color: rgba(255, 255, 132, 0.51);
}

.pointblok .flow_g1 img {
  display: block;
  margin: 0 auto;
  width: 700px;
}

#container .nemsp {
  display: none;
}

@media (max-width: 1151px) {
  .ace400_blok {
    padding: 4em 0;
  }

  .workblok .ace410_blok,
  .contactblok .ace410_blok,
  .ace410_blok {
    width: auto;
    margin: 0 6em;
  }
}

@media (max-width: 850px) {

  .workblok .ace410_blok,
  .contactblok .ace410_blok,
  .ace410_blok {
    margin: 0 2em;
  }

  .pointblok .flow_g1 img {
    width: auto;
  }
}

@media (max-width: 750px) {

  .workblok .ace410_blok,
  .contactblok .ace410_blok,
  .ace410_blok {
    margin: 0 1em;
  }

  #container #contents_builder {
    padding-bottom: 0;
  }

  #container .nempc {
    display: none;
  }

  #container .nemsp {
    display: block;
  }
}

/*見出し*/
.ace410_m01 {
  color: #000080;
  text-align: center;
  letter-spacing: 0.05em;
}

body h2.ace410_m1 {
  text-align: center;
  line-height: 1.6;
  font-size: 38px;
  margin: 0;
  padding: 0;
  font-family: "Sawarabi Mincho", Noto Sans CJK, sans-serif;
}

.workblok .ace410_m01 {
  color: rgb(229, 117, 0);
}

@media screen and (max-width: 750px) {
  body h2.ace410_m1 {
    font-size: 22px;
    margin: -10px 0 10px 0;
  }

  .ace400_blok.pointblok h2.ace410_m1 {
    font-size: 20px;
  }
}

/* ----------------------------------------------------------------------
 見積り事例
---------------------------------------------------------------------- */
/* .workblok h2.ace410_m1 {
  background-color: #f6ae54;
  font-weight: bold;
  padding: 5px 0 3px;
  color: #4e454a;
  border-radius: 25px;
  margin-bottom: 1em;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
} */

ul.workul {
  margin: 0;
  list-style: none;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
}

li.workli {
  width: 50%;
  box-sizing: border-box;
  padding: 1.1em 0.7em;
}

.work_g1 img {
  vertical-align: bottom;
  width: 100%;
}

@media (max-width: 750px) {
  ul.workul {
    flex-direction: column;
  }

  li.workli {
    width: auto;
    padding: 1em 0 0;
  }
}

/* ----------------------------------------------------------------------
 コンタクト
---------------------------------------------------------------------- */
.ace400_blok.contactblok {
  background-color: #fffee6;
}

.contact {
  text-align: center;
  letter-spacing: .05em;
  padding: 24px 0 32px;
  border: 4px solid #000080;
  border-radius: 16px;
  background: #fff url(/wp-content/uploads/anshin-kaitai-footer-image-test-03.png) right bottom no-repeat;
}

ul.contact_tag {
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3px;
}

li.contact_tagli {
  color: #fff;
  background-color: #000080;
  line-height: 2;
  font-weight: 500;
  padding: 0 5px;
}

#container h3.contact_m1 {
  color: #000080;
  font-size: 22px;
  line-height: 1.5;
  padding: 0;
  margin-top: 30px !important;
}

p.contact_t1 {
  line-height: 2;
  color: #222;
}

.contact_box {
  display: flex;
  width: 650px;
  margin: 0 auto;
}

.contact_item {
  box-sizing: border-box;
  padding: 1em;
  flex: 1;
}

.contact_item img {
  transition: all 0.4s;
}

.contact_item:hover img {
  opacity: 0.7;
}

@media (max-width: 1151px) {
  .contact {
    font-size: 12px;
    background-size: auto 250px;
  }

  #container h3.contact_m1 {
    font-size: 20px;
  }

  .contact_box {
    width: 580px;
  }
}

@media (max-width: 1050px) {
  .contact {
    font-size: 11px;
    background-size: auto 230px;
  }

  #container h3.contact_m1 {
    font-size: 18px;
  }

  .contact_box {
    width: 500px;
  }
}

@media (max-width: 950px) {
  .contact {
    font-size: 10px;
    background-size: auto 200px;
  }

  #container h3.contact_m1 {
    font-size: 16px;
  }

  .contact_box {
    width: 430px;
  }
}

@media (max-width: 750px) {
  .contact {
    background: #fff;
    border-radius: 8px;
    padding: 1.2em 0.8em 0.5em;
    text-align: left;
  }

  ul.contact_tag {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  li.contact_tagli {
    font-size: 10px;
  }


  .contact_box {
    width: auto;
  }

  .contact_item {
    padding: 0em 0 1em;
  }

  #container h3.contact_m1 {
    font-size: 16px;
    margin-top: 1em !important;
  }

  p.contact_t1 {
    font-size: 12px;
    margin-bottom: 1em;
  }

}

/* ----------------------------------------------------------------------
 フッターバー
---------------------------------------------------------------------- */
@media (min-width: 750px) {
  #acebar {
    display: none !important;
  }
}

@media (max-width: 750px) {
  #body {
    /* padding-bottom: 55px; */
    background: #f0f0f0;
  }

  body.home {
    background: #f0f0f0 !important;
  }

  #acebar {
    position: fixed;
    right: 0px;
    bottom: 0px;
    z-index: 999;
    width: 100%;
    opacity: 0;
    transition: all;
    transition-duration: 1s;
    transform: translateY(20%) translateX(0%);
  }

  #acebar.active {
    transform: translateY(0%) translateX(0);
    opacity: 1;
    transition-duration: 1s;
  }

  ul.acebar {
    margin: 0;
    list-style: none;
    background: transparent;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
    text-align: center;
    width: 100%;
    z-index: 9998;
    line-height: 1.5;
    height: auto;
  }

  .acebar_item {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    box-sizing: border-box;
  }

  .acebar a {
    display: block;
  }

  .acebar a img {
    vertical-align: bottom;
  }

  #footer {
    background: #f0f0f0;
  }
}