@charset "utf-8";
/* CSS Document */

#top_title_area {
  text-align: center;
  min-height: 270px;
  padding: 1em 0;
  background: url(../../../../uploads/pttl_bg.gif) no-repeat center bottom;
  background-size: 100%;
  width: unset;
}
#top_title_area::before {
  opacity: 0;
}
#top_title_area .c-pageTitle__subTitle {
  font-style: normal;
  display: block;
  margin: 0.5em 0 0;
  font-size: 1.2rem;
  color: var(--color_link);
}
#before_footer_widget {
  margin-top: 4em;
}
.post_content > .wp-block-group {
  padding-top: 4em;
  padding-bottom: 4em;
}
.post_content > .wp-block-group + .wp-block-group {
  padding-top: 0;
}
.post_content .wp-block-group.alignfull.has-background {
  padding-top: 4em !important;
  padding-bottom: 4em;
  margin-bottom: 0;
}
.post_content > .wp-block-group.alignfull.has-background + .wp-block-group {
  padding-top: 4em;
}
.page .post_content iframe {
  width: 100%;
  min-height: 350px;
}
.single #content .post_content figure {
  border-radius: 0;
}
.post_content td, .post_content th {
  padding: 1em 0.75em;
  border-right: none;
  border-bottom: none;
}
.single span.p-breadcrumb__text {
  display: block;
}
#content figure.wp-block-image {
  border-radius: 10px;
  overflow: hidden;
}
#content figure.wp-block-table {
  width: 100%;
  border: solid 1px #dadada !important;
  overflow: unset;
  border-left: none !important;
  border-top: none !important;
}
.swell-block-capbox .cap_box_ttl {
  border-radius: 15px 15px 0 0;
  background-color: #eeeef3;
  color: var(--color_text);
  font-weight: bold;
  font-size: 1.2rem;
}
.swell-block-capbox .cap_box_content {
  border-radius: 0 0 15px 15px;
  border: solid 1px #eeeef3;
}
#content .swell-block-capbox .cap_box_content h5 {
  color: var(--color_text);
}
/* .post_content .case {
  border: solid 1px var(--color_main);
  border-radius: 15px;
  padding: 1em;
}
.post_content .case h4 {
  margin: 0.5em;
} */
.post_content .read p {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color_text);
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-color: var(--color_link);
  text-decoration-thickness: 1px;
}
.post_content .read {
  padding-top: 6em;
}
.post_content  .wp-block-group + .read {
  padding-top: 3em;
}
.post_content .plink {
  padding-top: 0;
  padding-bottom: 0;
}
#content #qa .swell-block-accordion__label strong {
  padding: 11px 13px 15px;
}
.page #content.l-content {
  padding-top: 0;
}
[class*=is-style-btn_].line a span, [class*=is-style-btn_].tel a {
  background: url(../../../../uploads/icon_line.svg) no-repeat left center;
  background-size: 30px;
  min-width: 320px;
  padding-left: 40px;
}
[class*=is-style-btn_].tel a {
  background: var(--color_link);
}
.post_content .has-swl-pale-04-background-color {
    background-color: #fff8e6 !important;
}
#content .post_content .three .swell-block-column h3 {
    margin: 0.75em 0 0.5em;
    font-size: 1.5rem;
}
.post_content .ttl p {
  color: var(--color_main);
}
.post_content .swell-block-faq {
  font-size: 105%;
}
.category-works .p-termNavigation {
  display: none;
}
h1.c-pageTitle {
  border: none !important;
  text-shadow: none;
  font-size: 2.6rem;
  /* margin-top: 80px; */
  /* text-align: left; */
  font-weight: 800;
  color: var(--color_main);
  text-shadow: -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff, -2px 0 0 #fff, 2px 0 0 #fff, 0 -2px 0 #fff, 0 2px 0 #fff;
}
.cat-works .is-style-balloon_box, .cat-works  .is-style-balloon_box2 {
  width: 100%;
  font-weight: bold;
  font-size: 130%;
}
.cat-works .is-style-balloon_box2 {
  background: var(--color_link);
  color: #fff;
}
.post_content .wp-block-table td, .post_content .wp-block-table th {
    border-color: #ccc;
}
.cat-works .c-postTitle__date {
  display: none;
}
@media all and (min-width: 960px) {
  #top_title_area img {
    opacity: 0.2;
  }
  #breadcrumb {
    box-shadow: none;
    max-width: calc(var(--container_size, 0px) + var(--swl-pad_container, 0px) * 2);
    padding-left: var(--swl-pad_container, 0);
    padding-right: var(--swl-pad_container, 0);
    display: none;
  }
  /* #fix_header {
    display: none;
  } */
  /* .single #content h1 {
    font-size: 1.8rem;
    margin: 1.5rem 0 0;
  } */
  .c-filterLayer.-texture-dot::after {
    display: none;
  }
  /* .single #content .url {
    margin: 0.5em 0 1em 3px;
    font-size: 1.2rem;
  }
  .l-topTitleArea.c-filterLayer::before, .c-filterLayer.-texture-dot::after {
    display: none;
  }
  .l-topTitleArea__body {
    text-shadow: none;
    max-width: var(--container_size);
    margin: auto;
  } */
  h1.c-pageTitle span {
    text-align: left;
    border: none !important;
    float: none !important;
  }
  #breadcrumb {
    border-bottom: solid 1px #d0eafd !important;
    max-width: unset;
  }
  .page .post_content .swell-block-step__title {
    color: var(--color_main);
  }
  .page .post_content .swell-block-step__item {
    /* padding-bottom: 1em; */
  }
  /* .page .post_content dl {
		overflow: hidden;
		margin: 1em 0;
	}
	.page .post_content dl dt, .page .post_content dl dd {
		float: left;
	}
	.page .post_content dl dt {
		width: 9em;
    font-weight: normal;
	}
	.page .post_content dl dd {
    width: calc(100% - 10em);
  } */
  #content .post_content h2 {
    /* color: #fff;
    background: #3540a4;
    font-size: 2rem !important;
    margin: 2em -10px 1em;
    border-radius: 10px;
    padding: 0.3em 0.6em 0.4em; */
  }
  .single #content .post_content h2 {
        font-size: 2rem;
  }
  #content .post_content h3 {
    margin: 2em 0 1em;
  }
  #content .post_content h3::before {
    content: "●";
    color: var(--color_link);
    position: relative;
    display: unset;
    font-size: 1rem;
    top: -0.4rem;
    padding: 0 0.5em;
  }
  #content .post_content h4 {
    font-size: 1.5rem;
    margin-bottom: 1em;
  }
  .archive .p-termContent {
    margin-top: 0;
  }
  #content .post_content .date .smf-placeholder {
    display: inline-block;
  }
  #content .post_content .date .smf-item__controls .smf-placeholder:nth-child(1) {
    display: block;
    width: 15em;
    margin-bottom: 0.5em;
  }
}
#content .post_content .date .smf-item__controls .smf-placeholder {
  margin-bottom: 0.5em;
}


  /* chrome safari opera */
  @media screen and (-webkit-min-device-pixel-ratio: 0) {
  }
  /* chrome opera */
  @media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: .001dpcm) {
  }
  /* Firefox */
  @-moz-document url-prefix() {
  }

@media all and (min-width: 768px) and (max-width: 959px) {
}

/* 端数が大きくならないように固定 */
.wp-block-gallery.has-nested-images{
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* 好みで */
}

.wp-block-gallery.has-nested-images figure.wp-block-image{
  flex-grow: 0; /* ←これが重要（伸びない） */
  flex-shrink: 0;
  flex-basis: calc((100% - 16px * 2) / 2); /* 3列 */
  margin: 0;
}

/* 画像を同じ比率でトリミングして揃える（不要なら下2つは消してOK） */
.wp-block-gallery.has-nested-images figure.wp-block-image a,
.wp-block-gallery.has-nested-images figure.wp-block-image img{
  width: 100%;
  aspect-ratio: 4 / 3; /* ここ変えれば比率変更可（例: 1/1, 16/9） */
  object-fit: cover;
  display: block;
}

/* タブレット：2列 */
@media (max-width: 900px){
  .wp-block-gallery.has-nested-images figure.wp-block-image{
    flex-basis: calc((100% - 16px) / 2);
  }
}

/* スマホ：1列 */
@media (max-width: 520px){
  .wp-block-gallery.has-nested-images figure.wp-block-image{
    flex-basis: 100%;
  }
}