/*
 Theme Name:   OnePress Child
 Theme URI:    https://www.famethemes.com
 Description:  OnePress sample child theme
 Author:       FameThemes
 Author URI:   https://www.famethemes.com
 Template:     onepress
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */
:root {
  --accent: #987b9b;/*ボタンなどの赤*/
  --accent2: #e1d475;/*赤字にあたる黄色*/
  --accent_dark: #543d57;

  --back_dark: #000000cf;/*黒背景（透過）*/
  --back_white: #ffffff36;/*白背景（透過）*/
  --back_accent: #18011b;/*紫背景*/

  --txt_c_normal: #eee;/*濃地に載せるテキスト色*/
  --txt_c_reversal: #000;/*薄地に載せるテキスト色*/
  --txt_c_gray: #acadae;/*テキスト色グレー*/
  --txt_t_gray: #777;/*見出し色グレー*/
  --txt_t_gray2: #333;/*見出し色グレー*/

  --border_dark: #494747;/*黒背景用ボーダー*/

  --base: #64BFEC;/*水色*/
  --pale: #F1F8FE;/*薄い水色（背景用）*/
  --pale2: #cfe0ff;/*薄い水色（ボーダー・テキスト用）*/
  --dark: #1d83dd;/*濃い水色*/
  --gray: #98A6B5;
  --gray2: #707070;
  --pale_gray:#F0F3F5;
  --border_gray: #CDD6DD;

  --pfs_SS: 0.625rem;/*10px*/
  --pfs_SM: 0.75rem;/*12px*/
  --pfs_S: 0.875rem;/*14px*/
  --pfs: 1rem;/*16px*/
  --pfs_L: 1.125rem;/*18px*/

  --hfs: 1.5rem;/*24px*/
  --hfs_S: 1.375rem;/*22px*/
  --hfs_M: 2rem;/*32px*/
  --hfs_L: 2.25rem;/*36px*/
  --hfs_LL: 5rem;/*80px*/
	
  --back_img: url(../../../wp-content/themes/onepress-child/assets/images/back_mono.png);

}


@media screen and (min-width: 768px) {/* PC用*/
  .onlysp {
    display: none;
  }
}
body {
  background: #000;
}
.site {
  background: var(--back_img) bottom center no-repeat #000;
}
#comments,
#recent-comments-1,
#meta-1 {
    display: none;
}
.site-header, .is-transparent .site-header.header-fixed {
  background: var(--back_dark);
}
@media screen and (min-width: 768px) {/* PC用*/
  .section-parallax .parallax-bg img,
  #parallax-hero .parallax-bg img {
    top: -20%;
  }
}
.animated.flipInX::first-letter {
  color: var(--accent);
}
.c-bully__bullet:after,
.c-bully__bullet--active:before {
  border-width: 1px;
  border-radius: 4px;
  width: 20px;
}
  .c-bully {
    color: var(--txt_c_normal);
  }
@media screen and (max-width: 767px) {/* SP用*/
  .c-bully__bullet:after,
  .c-bully__bullet--active:before {
    width: 14px;
    border-radius: 3px;
  }
  /* .c-bully {
    color: #333;
  } */
}
.c-bully__title .jp,
.c-bully__title .description,
.c-bully__title .illbox {
  display: none;
}
body,
.jp,
.description,
h1,
h2,
h2.entry-title,
h3,
h4,
h5,
h5.section-subtitle,
h6,
.entry-header .entry-title,
button,
input,
select,
textarea,
.page .entry-title,
.page .wp-block-heading,
.blog .wp-block-heading,
.page .page-title,
.archive .page-title {
  font-family: "Noto Sans JP", sans-serif;
}
.hero-content-style1 p {
  font-style: normal;
  text-transform:none;
}
h5.section-subtitle {
  font-weight: normal;
}
span.js-rotating.morphext {
  line-height: 2rem;
}
body,
.onepress-menu a,
.onepress-menu ul li a,
.btn,
.wpcf7-form,
button,
input,
select,
textarea,
input[type=reset],
input[type=submit],
input[type=submit],
.pirate-forms-submit-button,
.contact-form div.wpforms-container-full .wpforms-form .wpforms-submit {
  font-size: 1rem;
}
.section-news .list-article-meta,
.archive .list-article-meta,
.blog .list-article-meta {
  font-size: var(--pfs_S);
}
a,
a img {
  transition: all .3s;
}
#secondary a,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--txt_c_normal);
}
a:focus,
a:hover,
#secondary a:hover  {
  color: var(--gray2);
  text-decoration: none;
}
.entry-content blockquote {
  background: var(--back_white);
  font-size: var(--pfs_L);
}
blockquote p {
  font-style: normal;
}

.is-transparent .no-scroll.site-header .onepress-menu > li > a:hover {
  opacity: .5;
}
.page-id-1535 .onepress-menu>li#menu-item-1537>a,
.page-id-2 .onepress-menu>li#menu-item-1538>a,
.section-contact .address-contact span{
  color: var(--accent);
}
.onepress-menu ul li a {
  color: var(--txt_c_normal);
  background: var(--back_dark);
}
.onepress-menu ul li a,
.onepress-menu ul {
  border-color: var(--border_dark);
  transition: all .3s;
}
/* .is-transparent .no-scroll.site-header .onepress-menu > li#menu-item-1251 > a::first-letter,
.is-transparent .no-scroll.site-header .onepress-menu > li#menu-item-32 > a::first-letter,
.onepress-menu>li#menu-item-1251>a::first-letter,
.onepress-menu>li#menu-item-32>a::first-letter {
  color: var(--accent);
} */
#nav-toggle span,
#nav-toggle span::before,
#nav-toggle span::after,
#nav-toggle.nav-is-visible span::before,
#nav-toggle.nav-is-visible span::after {
  background: var(--txt_c_normal);
}
.note strong {
  color: var(--accent2);
  font-weight: normal;
}
.note strong a {
  color: var(--accent2);
}
.note strong a:hover {
  text-decoration: underline;
  opacity: .5;
}

section#photographer {
  padding-bottom: 40px;
}
.illbox img {
  margin-top: 40px;
}
@media screen and (max-width: 767px) {/* SP用*/
  .illbox img {
    width: 42%;
  }
}
.videolightbox__heading .en {
  letter-spacing: 0.5rem;
  opacity: .1;
  font-weight: bold;
  font-size: var(--hfs_LL);
}
.videolightbox__heading .jp {
  margin-top: 16px;
}
.videolightbox__heading .jp::before {
  content: '建築カメラマン';
  text-transform: capitalize;
  font-size: var(--hfs);
  display: inline-block;
  margin-right: 16px;
}
#photographer .description {
  margin-top: 32px;
  font-size: var(--pfs);
}
#photographer .description p {
  width: 366px;
  max-width: 80%;
  text-align: left;
  margin: auto;
  line-height: 2;
  font-size: var(--pfs_S);
}
@media screen and (max-width: 767px) {/* SP用*/
  .section-parallax .parallax-bg img {
    min-height: unset;
    bottom: unset;
    top: 80px;
    min-width: 165%;
    left: unset;
    right: 0;
  }
}


a.midashi {
  margin-top: 16px;
  display: block;
}
dl.index ul p {
  display: none;
}
dl.index {
  text-align: left;
  font-size: var(--pfs);
  width: 420px;
  max-width: 80%;
  margin: auto;
  margin-bottom: 80px;
  border-bottom: 1px solid;
  border-top: 1px solid;
  border-color: var(--back_white);
  padding: 16px 0 8px 0;
}
dl.index dt {
  text-align: center;
  color: var(--accent_dark);
}
dl.index ul{
  list-style: none;
}
section#technic p {
  text-align: left;
  font-size: var(--pfs);
}
section#technic section {
  width: 800px;
  max-width: 90%;
  margin: auto;
}
section#technic figure {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 24px;
}
section#technic figure img {
  width: 49.7%;
}
section#technic figcaption {
  text-align: center;
  width: 100%;
  font-size: var(--pfs_S);
  margin-top: 8px;
}
section#technic figure.triple img {
  width: 33%;
}
#technic h3 {
  font-family: "Noto Serif JP", serif;
  border-top: 1px solid;
  border-bottom: 1px solid;
  padding: 16px 0;
  margin-bottom: 40px;
  letter-spacing: 13px;
}
#technic h4 {
  text-align: left;
  font-weight: normal;
  margin-top: 56px;
  margin-bottom: 32px;
}
section#technic 
#retouch figcaption {
  margin-bottom: 24px;
}



.section-news .entry-excerpt p {
  line-height: 1.3;
}
.section-news .list-article-meta {
  margin-bottom: 0;
}
#news h2.entry-title {
  font-size: 20px;
  line-height: 1.2;
}
.entry-excerpt {
  font-size: var(--pfs_S);
}
.date {
  margin-bottom: 0;
  font-size: var(--pfs_S);
}
.list-article-meta a:hover {
  text-decoration: none;
  opacity: .5;
}


#contact h2 {
  color: var(--accent);
}
#contact .col-sm-6 {
  max-width: 100%;
  flex: unset;
  -webkit-box-flex: unset;
  margin: auto;
}
.address-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
@media screen and (max-width: 767px) {/* SP用*/
  .section-contact .address-contact {
    width: 100%;
  }
}
.section-contact .address-contact:not(:last-child) {
  margin-right: 16px;
}
.section-contact .address-contact .address-content {
  font-style: normal;
}
.wpcf7-form dl {
  display: flex;
}
@media screen and (min-width: 960px) {/* PC用*/
  #contact .col-sm-6 {
    max-width: 60%;
  }
  body[class*="contact-"] .wpcf7 {
    max-width: 60%;
    margin: auto;
  }
}
.wpcf7-form {
  text-transform: unset;
}

.wpcf7-form dt {
  width: 40%;
}
.wpcf7-form dd {
  width: 60%;
  margin-right: 0;
}
textarea:not(.editor-post-title__input),
input[type=date],
input[type=datetime],
input[type=datetime-local],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week] {
  background: #fff;
  border: 1px solid var(--border_gray);
  box-shadow: none;
}
select {
  width: 100%;
  border-color: var(--border_gray);
}
input[type="radio"] {
  position: relative;
  width: 32px;
  height: 32px;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--border_gray);
  border-radius: 50%;
  margin-left: 0;
}
input[type="checkbox"] {
  position: relative;
  width: 32px;
  height: 32px;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid var(--border_gray);
}
input[type="checkbox"]:checked:before,
input[type="radio"]:checked:before {
  position: absolute;
  top: 6px;
  left: 11px;
  transform: rotate(50deg);
  width: 7px;
  height: 13px;
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  content: '';
}
/*丸いデザインにしたいときはこっち
input[type="radio"]:checked:before {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--base);
  content: '';
}
*/
.wpcf7-list-item {
  margin: 0;
}
.wpcf7-not-valid-tip {
  color: var(--accent);
  letter-spacing: normal;
}
.form_box > p {
  text-align: center;
  font-weight: normal;
  color: var(--txt_c_reversal);
  margin-bottom: 24px;
  letter-spacing: normal;
}
.form_box a {
  color: var(--txt_c_reversal);
  text-decoration: underline;
  transition: all .3s;
}
.form_box a:hover {
  text-decoration: none;
  opacity: .6;
}
.formbtn_box {
  display: flex;
  justify-content: center;
}
.formbtn_box span {
  display: block;
  margin: 16px;
  position: relative;
  box-sizing: unset;
  min-width: 150px;
}
.formbtn_box input {
  width: 100%;
  box-shadow: none;
  border-radius: unset;
  transition: all .3s;
  padding: 16px 0;
  border: 1px solid;
}
.formbtn_box span:first-child input {
  background: #fff;
  color: #000;
  position: relative;
  transition: all .3s;
}
.formbtn_box input[type="submit"] {
  background: #000;
}
.formbtn_box span:last-child::after {
  content: '';
  display: block;
  width: 51px;
  height: 13px;
  border-bottom: 1px solid;
  border-right: 1px solid;
  transform: skewX(28deg);
  position: absolute;
  right: 14px;
  bottom: 13px;
  transition: all .3s;
  color: var(--txt_c_normal);
}
span.wpcf7-spinner {
  display: none;
}
.formbtn_box input:hover {
  border: 1px solid;
}
.formbtn_box span:last-child:hover::after {
  right: 9px;
}
#contact.section-meta,
body[class*="contact-"] .entry-content {
  clip-path: polygon(0 0, 100% 9%, 100% 100%, 0% 100%);
  padding: 160px 0;
  max-width: 100%;
  width: 973px;
  margin: 0 auto 0;
  background: var(--back_img) center no-repeat #fff;
  background-attachment: fixed;
  color: var(--txt_t_gray2);
}
body.contact-thanks .entry-content p {
  padding: 20px 10%;
  color: var(--txt_t_gray2);
}
body.contact-thanks .page h2.wp-block-heading {
  color: var(--txt_t_gray2);
  padding: 0 10%;
}

.fa-fax:before {
  content: "\f3cd";
}
input.wpcf7-form-control.wpcf7-previous {
  line-height: 1;
}
body[class*="contact-"] .formbtn_box input[type="submit"] {
  border: none;
  margin: 0;
}
body[class*="contact-"] .formbtn_box span:last-child::after {
  bottom: 9px;
}
body[class*="contact-"] #primary {
  padding-bottom: 0;
}

.all-news {
  text-align: right;
  width: 100%;
}
.btn {
  border: none;
  box-shadow: none;
  position: relative;
  min-width: 220px;
  text-align: center;
  transition: all .3s;
  color: var(--txt_c_normal);
  font-size: var(--pfs_S);
}
.btn:hover {
  background: none;
  color: unset;
}
.btn::after {
  content: '';
  display: block;
  width: 51px;
  height: 13px;
  border-bottom: 1px solid;
  border-right: 1px solid;
  transform: skewX(28deg);
  position: absolute;
  right: 10px;
  bottom: 13px;
  transition: all .3s;
  color: var(--txt_c_normal);
}
.btn:hover::after {
  right: 0;
}



section#works,
section#news {
  background: #000;
  border-top: 1px solid var(--border_dark);
}
section#technic {
  background: var(--back_accent);
  border-top: 1px solid var(--border_dark);
}
.section-news .list-article,
.section-news .list-article:last-of-type {
  border: none;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.list-article-meta a  {
  color: var(--txt_c_normal);
}
.blog-entry.wow.slideInUp article {
  width: 50%;
  padding: 16px;
}
.blog-entry.wow.slideInUp {
  display: flex;
  flex-wrap: wrap;
}
.section-news .list-article-thumb img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 1px solid var(--border_dark);
}

.site-footer .btt a {
  border-radius: unset;
  transform: unset;
  -webkit-transform: unset;
  -moz-transform: unset;
  -ms-transform: unset;
  -o-transform: unset;
  height: 80px;
  line-height: 80px;
  clip-path: polygon(0 0, 100% 24%, 100% 100%, 0% 100%);
  top: -65px;
  width: 64px;
}
.site-footer .btt a i {
  transform: unset;
  -webkit-transform: unset;
  -moz-transform: unset;
  -ms-transform: unset;
  -o-transform: unset;
}
.fa-angle-double-up:before,
.fa-angles-up:before {
  content: "\f21d";
  font-size: 1rem;
}
.site-footer .btt a:hover {
  top: -70px;
}



.page-header {
  border-color: var(--border_dark);
  background: none;
}
.page:not(.home) .entry-title,
.page:not(.home) .wp-block-heading,
.single .wp-block-heading,
.archive .page-title,
.entry-header .entry-title,
.gallery_box h3 {
  color: var(--txt_c_normal);
  font-family: "Noto Serif JP", serif;
}
.page:not(.home) .wp-block-heading,
.single .wp-block-heading {
  font-size: var(--hfs);
}
.entry-content,
.home a p {
  color: var(--txt_c_gray);
}
.section-news .list-article,
.archive .list-article,
.blog .list-article,
.section-news .list-article:last-of-type,
.archive .list-article:last-of-type,
.blog .list-article:last-of-type,
.right-sidebar .sidebar,
.widget_recent_entries ul li,
.site-content,
.entry-meta,
.entry-footer,
.right-sidebar .content-area {
  border-color: var(--border_dark);
}
#secondary a {
  color: var(--txt_c_normal);
}
.widget-title {
  color: var(--txt_t_gray);
}
.blog .page-header {
  border-bottom: none;
}
.blog h1.entry-title {
  color: var(--txt_c_normal);
}
.wp-block-separator {
  border-width: 1px;
  color: var(--border_dark);
  margin: 40px 0;
}

.home .n2-ss-slider .n2-ss-slider-controls-below,
.home .n2-ss-slider .n2-ss-slider-wrapper-inside .n2-ss-slider-controls {
  display: none;
}
@media screen and (min-width: 768px) {/* PC用*/
  .home .n2-section-smartslider {
    width: 50%;
  }
  .gallery_link {
    width: 50%;
  }
  .gallery_box:nth-child(odd) {
    flex-direction: row-reverse;
  }
}
#works.onepage-section:before {
  content: unset;
}
.gallery_box.shugo-jutaku {
  margin-top: 80px;
}
.gallery_box {
  display: flex;
  flex-wrap: wrap;
}
.gallery_link {
  padding: 4% 7% 2% 7%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.gallery_box h3 {
  text-align: center;
  line-height: 2rem;
}
.gallery_box h3::after {
  display: block;
  content: '';
  color: var(--txt_t_gray2);
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
}
.gallery_box.shugo-jutaku h3::after {
  content: 'HOUSING COMPLEX';
}
.gallery_box.shogyo-shisetsu h3::after {
  content: 'COMMERCIAL establishment';
}
.gallery_box.kokyo-shisetsu h3::after {
  content: 'Public facilities';
}
.gallery_box.iryo-shisetsu h3::after {
  content: 'Hospitals and nursing homes';
}
.gallery_box.residential h3::after {
  content: 'residence';
}
.gallery_box.others h3::after {
  content: 'Other facilities';
}
@media screen and (max-width: 767px) {/* SP用*/
  .gallery_box p {
    padding-bottom: 24px;
  }
  .gallery_box:not(:first-child) {
    margin-top: 48px;
  }
} 
.gallery_box .btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: var(--pfs_SS);
}
.pgc-rev-lb-b-item-title {
  display: none;
}
.pgcsimplygalleryblock-slider-title-wrap {
  display: none;
}
@media screen and (min-width: 768px) {/* PC用*/
  #works .gallery_box:nth-child(even) .btn {
    right: unset;
    left: 10px;
  }
  #works .gallery_box:nth-child(even) .btn::after {
    right: unset;
    left: 10px;
    border-right: unset;
    border-left: 1px solid;
    transform: skewX(328deg);
  }
  #works .gallery_box:nth-child(even) .btn:hover::after {
    left: 0;
  }
}


p.small_box {
  width: 660px;
  max-width: 90%;
  margin: 24px auto;
}
@media screen and (max-width: 767px) {/* SP用*/
  .wp-block-image.small_box img {
    width: 60%;
  }
  .wp-block-image.small_box {
    text-align: center;
  }
}

.page:not(.home) h5.wp-block-heading {
  font-size: var(--pfs_L);
}
.page:not(.home) h3.wp-block-heading,
.page:not(.home) h2.wp-block-heading {
  font-size: var(--hfs_S);
  border-top: 1px solid var(--border_dark);
  border-bottom: 1px solid var(--border_dark);
  padding: 16px 0;
  margin-top: 40px;
}
figcaption.wp-element-caption {
  display: none;
}
.breadcrumbs {
  display: none;
}
body.privacy main {
  width: 900px;
  max-width: 90%;
  margin: auto;
}
body.privacy main p {
  padding: 32px;
}