@charset "UTF-8";

/*!
Theme Name: Simplicity2 child
Template:   simplicity2
Version:    20161002
*/

/* Simplicity子テーマ用のスタイルを書く */
:root {
  --color-olive: #969c14; /* メインカラー */
}
#header {
  margin-top: 15px;
}
.wp-element-caption {
	font-size: 16px !important;
}
@media screen and (max-width: 770px) {
	.wp-element-caption {
	font-size: 12px !important;
}
}
main {
  overflow: hidden;
  padding: 0;
}
div#main {
  padding: 0;
  padding-top:4rem;
}
video {
  width: 100%;
}
#page-top {
	z-index: 999;
}
.grecaptcha-badge {
	z-index: 999;
}
#main,
#header-in,
#footer-in {
  width: auto;
  max-width: 1150px;
  margin-inline: auto;
  border: none;
}
#main {
  float: none;
  background-color: transparent;
}
#body-in {
  width: auto;
}

.wp-block-columns.is-layout-flex.wp-container-16.wp-block-columns-is-layout-flex {
  flex-wrap: nowrap !important;
}
.wp-block-columns.is-layout-flex.wp-container-20.wp-block-columns-is-layout-flex {
  flex-wrap: nowrap !important;
}
.wp-element-caption {
  font-size: 0.625rem;
}
.font-title {
  color: #555;
}
/*=== スペース ===*/
.spacer-md {
  height: 3.125rem !important;
}
.spacer-lg {
  height: 6.25rem !important;
}
/* ============ */

h2 {
  border-left: 1px solid var(--color-olive);
}
.article h2 {
  border-left: 1px solid var(--color-olive);
}
.article h3 {
  border-bottom: 5px solid rgba(150, 156, 20, 0.3);
}

/* 背景 */
.bg {
  position: relative;
}

.bg:after {
  position: absolute;
  content: "";
  background-color: rgba(150, 156, 20, 0.2);
  z-index: -10;
}
.bg-expand:after {
  width: 100vw;
/*   height: 95%; */
  height: 80%;
/*   top: -62px; */
  top: 0px;
  bottom: 0;
}
.bg-photographer:after {
  width: 100%;
  height: 100%;
  top: 0px;
  bottom: 0;
}
.bg_portrait:after,
.bg_familycouple:after {
  left: 120px;
}

.bg_artist:after {
  right: 120px;
}

.bg-expand .wp-block-group__inner-container {
  padding-block: 0.8rem;
}
.bg-photographer .wp-block-group__inner-container {
  padding: 0.8rem 1.3rem;
}
.bg-studio,
.bg-contact {
  padding-inline: 1rem;
}
.bg-studio > .wp-block-group__inner-container {
  display: grid;
  place-items: center;
}
.photographer_bg > figure {
  position: relative;
}
.photographer_bg > figure:after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: absolute;
  top: 2%;
  left: 2%;
  z-index: -1;
}
/* ============ */

/* TOPのみh1非表示 */
.home h1 {
  clip: rect(0 0 0 0);
  position: absolute;
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  margin: -1px;
  border: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
/* ============ */

#site-description {
  color: #000;
  font-size: 1rem !important;
  margin-left:auto;
  margin-right:auto;
}

#site-title {
margin-right:0;}

#header .alignleft {
  margin: 0;
}

.top-title-catchphrase {
  text-align: center;
}

.site-title-img {
  height: 40px;
}

.mv {
  position: relative;
  margin-block-end: 5rem;
}

.article h2 {
  margin: auto;
  font-size: 1.25rem;
  border: none;
}
.title-center {
  text-align: center;
}
.subtitle-studio {
  display: inline-block;
  margin: 0 !important;
}

/*==== コンタクトフォーム ==== */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
}
.wpcf7-list-item.has-free-text {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wpcf7-free-text {
  max-width: 10rem;
}
.wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-direction: column;
}
.contact,
.wpcf7 {
  max-width: 800px;
  margin: 0 auto;
}

.wpcf7-form-control.wpcf7-submit.has-spinner {
  display: block;
  margin: 0 auto;
  min-width: 150px;
  font-size: 16px;
}

.required {
  font-size: 0.8em;
  color: #cc0000;
  margin-left: 10px;
  display: inline-block;
}

/*==== foogallery ==== */
.fg-simple_portfolio .fg-caption-title {
  font-size: 0.625rem !important;
}
.foogallery.fg-dark .fg-item-inner {
  border: none !important;
  background-color: #fff !important;
}
.fg-simple_portfolio.fg-dark .fg-caption-title,
.fg-simple_portfolio.fg-dark .fg-caption-title a {
  color: #111 !important;
}
.foogallery.fg-dark.fg-shadow-outline .fg-item-inner {
  box-shadow: none !important;
}
.fg-simple_portfolio .fg-item {
  flex-basis: 40% !important;
  /* height: 200px !important; */
}
.fg-default.fg-center > .fg-item {
  width: 40% !important;
}
.fg-image {
  aspect-ratio: 9/16 !important;
  object-fit: cover;
}
.foogallery .fg-image-wrap {
  height: 200px !important;
}
#foogallery-gallery-34 .fg-image {
  width: 100% !important;
}
.fg-simple_portfolio .fg-image  {
  height:100% !important;
}

/*=== PC表示 ===*/
@media screen and (min-width: 700px) {
  .foogallery .fg-image-wrap {
    height: auto !important;
  }
  .fg-simple_portfolio .fg-item {
    height: 400px !important;
  }
  .fg-simple_portfolio .fg-caption-title {
    font-size: 1rem !important;
  }
}
@media screen and (min-width: 770px) {
  .fg-simple_portfolio .fg-item {
    flex-basis: 230px !important;
    height: auto !important;
  }
  .fg-default.fg-center > .fg-item {
    width: 230px !important;
  }
  #foogallery-gallery-23.fg-simple_portfolio .fg-item {
    height: auto !important;
  }

  
}



@media screen and (min-width: 770px) and (max-width: 1070px) {
  .fg-simple_portfolio {
    justify-content: flex-start !important;
  }
  .fg-default.fg-right {
    text-align: left !important;
  }

}

@media screen and (min-width: 1024px) {
  .entry-content {
    max-width: 100%;
  }
  .article h2 {
    margin: auto;
    font-size: 2rem;
  }
  .spacer-md {
    height: 15rem !important;
  }
  .spacer-lg {
    height: 12.5rem !important;
  }
  .top-title-catchphrase {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
  }
  #site-description {
    margin: 0;
    text-align: left;
    line-height: 2;
	margin-top: 5px;
  }

  .bg_portrait:after,
.bg_familycouple:after {
  right: -35px;
  left: auto;
}

.bg_artist:after {
  left: -35px;
  right: auto;
}
}
/*=== スマホ表示 ===*/
@media screen and (max-width: 770px) {
	#site-description {
		width: 91%;
		max-width: 360px;
		font-size: 0.9rem !important;
	}
}

#page-top{
  bottom: 50px;
}