.page-template-about_company_test .outline_download {
  padding: 30px;
  background-color: #f3f6fb;
  max-width: 700px;
  margin: 60px auto 0;
}

.page-template-about_company_test .outline_download .wrap_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-template-about_company_test .outline_download .wrap_box .txt_area {
  width: 76%;
}

.page-template-about_company_test .outline_download .wrap_box .img_area {
  width: 19%;
}

.page-template-about_company_test #company.section .outline_download .title-header {
  text-align: left;
  font-size: 20px;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px solid #33a947;
}

.page-template-about_company_test .outline_download .fz-1518 {
  font-size: 16px;
  margin-bottom: 2.5em;
}

.page-template-about_company_test .outline_download .wrap_box .txt_area a {
  display: flex;
  font-size: 16px;
  color: #33a947;
  align-items: center;
}

.page-template-about_company_test .outline_download .wrap_box .txt_area a img {
  width: 25px;
  height: 30px;
  margin-right: 1em;
}

.page-template-about_company_test .outline_download .wrap_box .arrow-circle.arrow {
  padding-right: 2em;
}

@media (max-width:767px) {
  .page-template-about_company_test .outline_download {
    padding: 30px 20px 40px;
    margin-top: 40px;
  }

  .page-template-about_company_test #company.section .outline_download .title-header {
    text-align: center;
    margin-bottom: 14px;
  }

  .page-template-about_company_test .outline_download .fz-1518 {
    font-size: 15px;
    margin-bottom: 1em;
  }

  .page-template-about_company_test .outline_download .wrap_box {
    flex-direction: column;
  }

  .page-template-about_company_test .outline_download .wrap_box .txt_area {
    width: 100%;
    max-width: 540px;
  }

  .page-template-about_company_test .outline_download .wrap_box .txt_area img.sp {
    width: 48%;
    margin: 0 auto 2em;
  }

  .page-template-about_company_test .outline_download .wrap_box .txt_area a {
    justify-content: center;
    font-size: 15px;
  }
}


/* office_sample only: append to the end of css/add-style.css. */
/* Existing common.js and style.css provide the current-menu color. */

.page-template-about_office_sample .section-inner .content-wrapper-900,
.page-template-about_office_sample .section-inner-vw .content-wrapper-900 {
  margin-right: auto;
  transition: max-width .4s;
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner .content-wrapper-900,
  .page-template-about_office_sample .section-inner-vw .content-wrapper-900 {
    max-width:1200px;
    min-width: 900px;
    width: 100%;
  }
}

.page-template-about_office_sample .section-inner .img-w286 li,
.page-template-about_office_sample .section-inner-vw .img-w286 li {
  margin-left: 0;
  margin-top: 0;
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner .img-w210,
  .page-template-about_office_sample .section-inner .img-w260,
  .page-template-about_office_sample .section-inner .img-w266,
  .page-template-about_office_sample .section-inner .img-w286,
  .page-template-about_office_sample .section-inner .img-w384,
  .page-template-about_office_sample .section-inner .img-w440,
  .page-template-about_office_sample .section-inner-vw .img-w210,
  .page-template-about_office_sample .section-inner-vw .img-w260,
  .page-template-about_office_sample .section-inner-vw .img-w266,
  .page-template-about_office_sample .section-inner-vw .img-w286,
  .page-template-about_office_sample .section-inner-vw .img-w384,
  .page-template-about_office_sample .section-inner-vw .img-w440 {
    grid-column-gap: 24px;
    justify-content: center;
  }
}

.page-template-about_office_sample .section-inner .img-w384 li,
.page-template-about_office_sample .section-inner-vw .img-w384 li {
  aspect-ratio: 440/293;
  width: 100%;
}

.page-template-about_office_sample .section-inner .img-w440 li,
.page-template-about_office_sample .section-inner-vw .img-w440 li {
  aspect-ratio: 440/293;
  width: 100%;
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner .side-contents,
  .page-template-about_office_sample .section-inner-vw .side-contents {
    background-color:hsla(0,0%,100%,.75);
    opacity: 1;
    padding: 1em;
    transition: opacity .4s;
    width: 235px;
  }
}

.page-template-about_office_sample .side-contents-vw {
  height: 0;
  overflow: hidden;
  padding: 0;
}

@media (min-width: 992px) {
  .page-template-about_office_sample .side-contents-vw {
    background-color:hsla(0,0%,100%,.75);
    height: -moz-fit-content;
    height: fit-content;
    left: 2%;
    opacity: 1;
    overflow: visible;
    padding: 1em;
    position: sticky;
    top: 110px;
    transition: .4s;
    width: -moz-fit-content;
    width: fit-content;
  }
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner-vw {
    max-width:1200px;
    padding-bottom: 100px;
    padding-left: 260px;
    transition: .4s;
    width: 95vw;
  }
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner,
  .page-template-about_office_sample .section-inner-vw {
    max-width: inherit;
    width: 96.875%;
  }
}

.page-template-about_office_sample .section-inner .content-wrapper-900,
.page-template-about_office_sample .section-inner-vw .content-wrapper-900 {
  margin-right: auto;
  -webkit-transition: max-width 0.4s;
  transition: max-width 0.4s;
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner .content-wrapper-900,
  .page-template-about_office_sample .section-inner-vw .content-wrapper-900 {
    min-width: 900px;
    max-width: 1200px;
    width: 100%;
  }
}

.page-template-about_office_sample .section-inner .img-w286,
.page-template-about_office_sample .section-inner-vw .img-w286 {
  grid-column-gap: 1em;
}

.page-template-about_office_sample .section-inner .img-w286 li,
.page-template-about_office_sample .section-inner-vw .img-w286 li {
  margin-top: 0;
  margin-left: 0;
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner .img-w286 li,
  .page-template-about_office_sample .section-inner-vw .img-w286 li {
    max-width: 286px;
    width: 23.8333333333%;
  }
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner .img-w210,
  .page-template-about_office_sample .section-inner .img-w286,
  .page-template-about_office_sample .section-inner .img-w260,
  .page-template-about_office_sample .section-inner .img-w266,
  .page-template-about_office_sample .section-inner .img-w440,
  .page-template-about_office_sample .section-inner .img-w384,
  .page-template-about_office_sample .section-inner-vw .img-w210,
  .page-template-about_office_sample .section-inner-vw .img-w286,
  .page-template-about_office_sample .section-inner-vw .img-w260,
  .page-template-about_office_sample .section-inner-vw .img-w266,
  .page-template-about_office_sample .section-inner-vw .img-w440,
  .page-template-about_office_sample .section-inner-vw .img-w384 {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    grid-column-gap: 24px;
  }
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner .img-w440 li,
  .page-template-about_office_sample .section-inner-vw .img-w440 li {
    width: 440px !important;
  }
}

.page-template-about_office_sample .section-inner .img-w384 li,
.page-template-about_office_sample .section-inner-vw .img-w384 li {
  width: 100%;
  aspect-ratio: 440/293;
}

@media (min-width: 768px) {
  .page-template-about_office_sample .section-inner .img-w384 li,
  .page-template-about_office_sample .section-inner-vw .img-w384 li {
    width: 31%;
  }
}

.page-template-about_office_sample .section-inner .img-w440 li,
.page-template-about_office_sample .section-inner-vw .img-w440 li {
  width: 100%;
  aspect-ratio: 440/293;
}

@media (min-width: 768px) {
  .page-template-about_office_sample .section-inner .img-w440 li,
  .page-template-about_office_sample .section-inner-vw .img-w440 li {
    width: 48% !important;
  }
}

.page-template-about_office_sample .section-inner .side-contents,
.page-template-about_office_sample .section-inner-vw .side-contents {
  padding: 0;
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner .side-contents,
  .page-template-about_office_sample .section-inner-vw .side-contents {
    background-color: rgba(255, 255, 255, 0.75);
    padding: 1em;
    width: 235px;
    opacity: 1;
    -webkit-transition: opacity 0.4s;
    transition: opacity 0.4s;
  }
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner .side-contents.hidden,
  .page-template-about_office_sample .section-inner-vw .side-contents.hidden {
    opacity: 0;
  }
}

.page-template-about_office_sample .side-contents-vw {
  padding: 0;
  height: 0;
  overflow: hidden;
}

@media (min-width: 992px) {
  .page-template-about_office_sample .side-contents-vw {
    overflow: visible;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 1em;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    position: sticky;
    top: 110px;
    left: 2%;
    opacity: 1;
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }
}

@media (min-width: 992px) {
  .page-template-about_office_sample .side-contents-vw.hidden {
    opacity: 0;
  }
}

@media (min-width: 1440px) {
  .page-template-about_office_sample .side-contents-vw {
    left: 7%;
  }
}

@media (min-width: 1920px) {
  .page-template-about_office_sample .side-contents-vw {
    left: 5%;
  }
}

.page-template-about_office_sample .side-contents-vw .sidemenu-item {
  font-size: 1.8rem;
}

.page-template-about_office_sample .section-inner-vw {
  padding-bottom: 50px;
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner-vw {
    padding-bottom: 100px;
    padding-left: 260px;
    width: 95vw;
    max-width: 1200px;
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }
}

@media (min-width: 1440px) {
  .page-template-about_office_sample .section-inner-vw {
    padding-left: 240px;
  }
}

@media (min-width: 1600px) {
  .page-template-about_office_sample .section-inner-vw {
    padding-left: 190px;
  }
}

@media (min-width: 1780px) {
  .page-template-about_office_sample .section-inner-vw {
    padding-left: 120px;
  }
}

@media (min-width: 1880px) {
  .page-template-about_office_sample .section-inner-vw {
    padding-left: 60px;
  }
}

@media (min-width: 1920px) {
  .page-template-about_office_sample .section-inner-vw {
    padding-left: 0;
  }
}

@media (min-width: 992px) {
  .page-template-about_office_sample .section-inner-vw .content-wrapper-900 {
    max-width: inherit;
    min-width: inherit;
  }
}

.page-template-about_office_sample .section-inner-vw .img-w210 li {
  aspect-ratio: 210/140;
  max-width: 210px;
  width: 48.5%;
}

@media (min-width: 768px) {
  .page-template-about_office_sample .section-inner-vw .img-w210 li {
    width: 22.2% !important;
  }
}

.page-template-about_office_sample .section-inner-vw .img-w286 li {
  aspect-ratio: 286/191;
  width: 100%;
}

@media (min-width: 768px) {
  .page-template-about_office_sample .section-inner-vw .img-w286 li {
    max-width: 286px;
    width: 31% !important;
  }
}



/* 確認用URLは取得時404。bodyに page-template-background_sample が付く前提です。 */
/* 本番と同じHTML構造・共通CSS/JSの読み込みが必要です。 */
/* background_sample only: append to the end of css/add-style.css. */
/* Existing common.js and style.css provide the current-menu color. */

@media (min-width: 992px) {
  .page-template-background_sample .section-inner,
  .page-template-background_sample .section-inner-vw {
    max-width: inherit;
    width: 96.875%;
  }
}

.page-template-background_sample .section-inner .content-wrapper-900,
.page-template-background_sample .section-inner-vw .content-wrapper-900 {
  margin-right: auto;
  -webkit-transition: max-width 0.4s;
  transition: max-width 0.4s;
}

@media (min-width: 992px) {
  .page-template-background_sample .section-inner .content-wrapper-900,
  .page-template-background_sample .section-inner-vw .content-wrapper-900 {
    min-width: 900px;
    max-width: 1200px;
    width: 100%;
  }
}

.page-template-background_sample .section-inner .side-contents,
.page-template-background_sample .section-inner-vw .side-contents {
  padding: 0;
}

@media (min-width: 992px) {
  .page-template-background_sample .section-inner .side-contents,
  .page-template-background_sample .section-inner-vw .side-contents {
    background-color: rgba(255, 255, 255, 0.75);
    padding: 1em;
    width: 235px;
    opacity: 1;
    -webkit-transition: opacity 0.4s;
    transition: opacity 0.4s;
  }
}

@media (min-width: 992px) {
  .page-template-background_sample .section-inner .side-contents.hidden,
  .page-template-background_sample .section-inner-vw .side-contents.hidden {
    opacity: 0;
  }
}

.page-template-background_sample .side-contents-vw {
  padding: 0;
  height: 0;
  overflow: hidden;
}

@media (min-width: 992px) {
  .page-template-background_sample .side-contents-vw {
    overflow: visible;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    background-color: rgba(255, 255, 255, 0.75);
    padding: 1em;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    position: sticky;
    top: 110px;
    left: 2%;
    opacity: 1;
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }
}

@media (min-width: 992px) {
  .page-template-background_sample .side-contents-vw.hidden {
    opacity: 0;
  }
}

@media (min-width: 1440px) {
  .page-template-background_sample .side-contents-vw {
    left: 7%;
  }
}

@media (min-width: 1920px) {
  .page-template-background_sample .side-contents-vw {
    left: 5%;
  }
}

.page-template-background_sample .side-contents-vw .sidemenu-item {
  font-size: 1.8rem;
}

.page-template-background_sample .section-inner-vw {
  padding-bottom: 50px;
}

@media (min-width: 992px) {
  .page-template-background_sample .section-inner-vw {
    padding-bottom: 100px;
    padding-left: 260px;
    width: 95vw;
    max-width: 1200px;
    -webkit-transition: 0.4s;
    transition: 0.4s;
  }
}

@media (min-width: 1440px) {
  .page-template-background_sample .section-inner-vw {
    padding-left: 240px;
  }
}

@media (min-width: 1600px) {
  .page-template-background_sample .section-inner-vw {
    padding-left: 190px;
  }
}

@media (min-width: 1780px) {
  .page-template-background_sample .section-inner-vw {
    padding-left: 120px;
  }
}

@media (min-width: 1880px) {
  .page-template-background_sample .section-inner-vw {
    padding-left: 60px;
  }
}

@media (min-width: 1920px) {
  .page-template-background_sample .section-inner-vw {
    padding-left: 0;
  }
}

@media (min-width: 992px) {
  .page-template-background_sample .section-inner-vw .content-wrapper-900 {
    max-width: inherit;
    min-width: inherit;
  }
}

/* スクロール位置に応じた current クラスは既存の common.js が付与します。 */
.page-template-background_sample .sidemenu-item.current::before {
  background-color: #33A947;
}

.page-template-background_sample .sidemenu-item.current .sidemenu-item__link {
  color: #33A947;
}

/* history_sample only: append to the end of css/add-style.css. */
/* Existing common.js and style.css provide the current-menu color. */

body.page-template-history_sample #footer,
body.page-template-history_sample .bottom-information {
  position: relative;
  z-index: 10;
}

body.page-template-history_sample .first_view {
  height: 100vh;
  position: relative;
  z-index: 10;
}

body.page-template-history_sample .first_view .main-lead {
  bottom: 0;
  height: -moz-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: -50px;
  width: -moz-fit-content;
  width: fit-content;
}

@media (min-width: 992px) {
  body.page-template-history_sample .first_view .main-lead {
    top:-100px;
  }
}

body.page-template-history_sample .first_view .main-lead .header-lead,
body.page-template-history_sample .first_view .main-lead .since {
  text-shadow: 0 0 12px #333;
}

body.page-template-history_sample .first_view .main-lead .since {
  color: #fff;
  font-size: 2rem;
  text-align: center;
}

@media (min-width: 992px) {
  body.page-template-history_sample .first_view .main-lead .since {
    font-size:3rem;
  }
}

body.page-template-history_sample .first_view .scroll {
  bottom: 0;
  color: #fff;
  font-size: 1.5rem;
  height: 68px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: fit-content;
}

@media (min-width: 992px) {
  body.page-template-history_sample .first_view .scroll {
    font-size:1.8rem;
    height: 125px;
  }
}

body.page-template-history_sample .first_view .scroll:before {
  animation-delay: .5s;
  animation-direction: normal;
  animation-duration: 3s;
  animation-fill-mode: backwards;
  animation-iteration-count: infinite;
  animation-name: scrollAnim;
  animation-timing-function: ease;
  background-color: #fff;
  bottom: 0;
  content: "";
  height: 70%;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

@media (min-width: 992px) {
  body.page-template-history_sample .first_view .scroll:before {
    height:80%;
  }
}

body.page-template-history_sample .first_view .anniversary {
  margin: auto;
  width: 131px;
}

@media (min-width: 992px) {
  body.page-template-history_sample .first_view .anniversary {
    width:262px;
  }
}

body.page-template-history_sample .first_view .header-lead {
  color: #fff;
  font-size: 4rem;
  line-height: 1.25;
  text-align: center;
}

@media (min-width: 992px) {
  body.page-template-history_sample .first_view .header-lead {
    font-size:5rem;
  }
}

body.page-template-history_sample .history-contents {
  margin: 50px auto;
  padding: 0 15px;
  position: relative;
  width: 100%;
  z-index: 1;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents {
    margin:100px auto;
    max-width: 1230px;
  }
}

body.page-template-history_sample .history-contents:before {
  background-image: url(/wp-content/themes/fukuyamacorp/img/history/history_line.png);
  background-repeat: repeat-y;
  content: "";
  height: 100%;
  left: 40px;
  position: absolute;
  top: 0;
  width: 10px;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents:before {
    bottom:0;
    left: 0;
    margin: auto;
    right: 0;
  }
}

body.page-template-history_sample .history-contents .history-list {
  font-size: 1.5rem;
  line-height: 1.75;
  padding-left: 100px;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list {
    font-size:1.8rem;
    padding-left: 0;
  }
}

body.page-template-history_sample .history-contents .history-list .date-line {
  color: #33a947;
  font-size: 2rem;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list .date-line {
    font-size:3rem;
  }
}

body.page-template-history_sample .history-contents .history-list .sentence {
  color: #fff;
}

body.page-template-history_sample .history-contents .history-list li {
  width: 100%;
}

body.page-template-history_sample .history-contents .history-list li:not(:first-child) {
  margin-top: 45px;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:not(:first-child) {
    margin-top:100px;
  }
}

body.page-template-history_sample .history-contents .history-list li .image {
  margin-top: .5em;
  width: 255px;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li .image {
    width:300px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li .image.w226 {
    width: 226px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li .image.w475 {
    width: 475px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li .image.w310 {
    width: 310px;
  }
}

body.page-template-history_sample .history-contents .history-list li.left {
  float: none;
}

body.page-template-history_sample .history-contents .history-list li.left .list-boxwrap {
  position: relative;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li.left .list-boxwrap {
    margin-right:auto;
    width: 470px;
  }
}

body.page-template-history_sample .history-contents .history-list li.left .list-boxwrap:before {
  background-color: #fff;
  content: "";
  height: 1px;
  left: -58px;
  position: absolute;
  top: 1.1em;
  width: 50px;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li.left .list-boxwrap:before {
    left:inherit;
    right: -110px;
    top: 1.35em;
    width: 100px;
  }
}

body.page-template-history_sample .history-contents .history-list li.right {
  float: none;
}

body.page-template-history_sample .history-contents .history-list li.right .list-boxwrap {
  position: relative;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li.right .list-boxwrap {
    margin-left:auto;
    width: 470px;
  }
}

body.page-template-history_sample .history-contents .history-list li.right .list-boxwrap:before {
  background-color: #fff;
  content: "";
  height: 1px;
  left: -58px;
  position: absolute;
  top: 1.1em;
  width: 50px;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li.right .list-boxwrap:before {
    left:-110px;
    top: 1.35em;
    width: 100px;
  }
}

body.page-template-history_sample .history-contents .history-list li .mt-20-pc {
  margin-top: 20px;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li .mt-20-pc {
    margin-top:20px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(2) {
    margin-top: -200px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(3) {
    margin-top: -15px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(4) {
    margin-top: -365px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(5),
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(6) {
    margin-top: 80px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(7) {
    margin-top: -100px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(8) {
    margin-top: -130px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(9) {
    margin-top: -100px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(10) {
    margin-top: -400px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(11) {
    margin-top: 85px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(12) {
    margin-top: -300px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(13) {
    margin-top: 80px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(14) {
    margin-top: -130px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li:nth-of-type(15) {
    margin-top: 135px;
  }
}

body.page-template-history_sample .switch_images {
  position: fixed;
  top: 50px;
  width: 100%;
}

@media (min-width: 992px) {
  body.page-template-history_sample .switch_images {
    top:100px;
  }
}

body.page-template-history_sample .switch_images li {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

body.page-template-history_sample .switch_images li .screen_first,
body.page-template-history_sample .switch_images li .screen_image01,
body.page-template-history_sample .switch_images li .screen_image02,
body.page-template-history_sample .switch_images li .screen_image03 {
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  opacity: 0;
  position: relative;
  transition: opacity .8s;
  width: 100%;
}

body.page-template-history_sample .switch_images li .screen_first.active,
body.page-template-history_sample .switch_images li .screen_image01.active,
body.page-template-history_sample .switch_images li .screen_image02.active,
body.page-template-history_sample .switch_images li .screen_image03.active {
  opacity: 1;
}

body.page-template-history_sample .switch_images li .screen_image01:after,
body.page-template-history_sample .switch_images li .screen_image02:after,
body.page-template-history_sample .switch_images li .screen_image03:after {
  background-color: rgba(51,51,51,.8);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

body.page-template-history_sample .switch_images li .screen_first {
  background-image: url(/wp-content/themes/fukuyamacorp/img/history/history_mv_sp.png);
}

@media (min-width: 992px) {
  body.page-template-history_sample .switch_images li .screen_first {
    background-image:url(/wp-content/themes/fukuyamacorp/img/history/history_mv_pc.png);
  }
}

body.page-template-history_sample .switch_images li .screen_image01 {
  background-image: url(/wp-content/themes/fukuyamacorp/img/history/history01_sp.png);
}

@media (min-width: 992px) {
  body.page-template-history_sample .switch_images li .screen_image01 {
    background-image:url(/wp-content/themes/fukuyamacorp/img/history/history01_pc.png);
  }
}

body.page-template-history_sample .switch_images li .screen_image02 {
  background-image: url(/wp-content/themes/fukuyamacorp/img/history/history02_sp.png);
}

@media (min-width: 992px) {
  body.page-template-history_sample .switch_images li .screen_image02 {
    background-image:url(/wp-content/themes/fukuyamacorp/img/history/history02_pc.png);
  }
}

body.page-template-history_sample .switch_images li .screen_image03 {
  background-image: url(/wp-content/themes/fukuyamacorp/img/history/history03_sp.png);
}

@media (min-width: 992px) {
  body.page-template-history_sample .switch_images li .screen_image03 {
    background-image:url(/wp-content/themes/fukuyamacorp/img/history/history03_pc.png);
  }
}

body.page-template-history_sample .next-content {
  background-color: #fff;
  padding: 45px 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  body.page-template-history_sample .next-content {
    padding:95px 24px;
  }
}

body.page-template-history_sample .next-content h2 {
  font-size: 3rem;
  line-height: 1.33;
  text-align: center;
}

@media (min-width: 992px) {
  body.page-template-history_sample .next-content h2 {
    font-size:4rem;
  }
}

body.page-template-history_sample .next-content .sentence {
  font-size: 1.5rem;
  line-height: 1.75;
  margin: 13px auto 0;
  text-align: center;
  width: 100%;
}

@media (min-width: 768px) {
  body.page-template-history_sample .next-content .sentence {
    font-size:2rem;
    margin: 21px auto 0;
    max-width: 550px;
  }
}

body.page-template-history_sample .history-contents .fadeInUp {
  animation: none;
}

body.page-template-history_sample .history-contents .history-list li.right.invisible .list-boxwrap:before {
  left: -8px;
  width: 0;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li.right.invisible .list-boxwrap:before {
    left:-20px;
    width: 1px;
  }
}

body.page-template-history_sample .history-contents .history-list li.right.visible .list-boxwrap:before {
  left: -58px;
  transition: all .8s cubic-bezier(.17,.84,.44,1);
  width: 50px;
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li.right.visible .list-boxwrap:before {
    left:-110px;
    width: 100px;
  }
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li.left.invisible .list-boxwrap:before {
    right: -20px;
    width: 1px;
  }
}

body.page-template-history_sample .history-contents .history-list li.left.visible .list-boxwrap:before {
  transition: all .8s cubic-bezier(.17,.84,.44,1);
}

@media (min-width: 992px) {
  body.page-template-history_sample .history-contents .history-list li.left.visible .list-boxwrap:before {
    right:-110px;
    width: 100px;
  }
}

/* 東京事務所 H¹O浜松町 Google Map */
#office .map-wrapper #gm_tokyo_h1o {
  width: 100%;
  height: 225px;
}

@media screen and (min-width: 768px) {
  #office .map-wrapper #gm_tokyo_h1o {
    width: 300px;
    height: 200px;
  }
}
