@charset "UTF-8";

/* montserrat-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/montserrat/montserrat-v31-latin-500.woff2') format('woff2');
}

.base {
  padding-block: clamp(6rem, 4rem + 6.25vw, 12rem);
}

.w-120 {
  max-width: calc(1200px + clamp(1.6rem, -0.533rem + 6.667vw, 8rem) * 2);
}

.wp-caption {
  width: 100% !important;
}

.mediaSlider .button-next {
  background: url(../img/icon/slider-arw-right.svg) no-repeat center / contain;
}

.mediaSlider .button-prev {
  background: url(../img/icon/slider-arw-left.svg) no-repeat center / contain;
}

.mediaSlider .button-next::after {
  content: "";
}

.mediaSlider .button-prev::after {
  content: "";
}

.media-list-item .media-content {
  padding: clamp(1rem, -0.933rem + 6.042vw, 6.8rem) clamp(1.5rem, -0.433rem + 6.042vw, 7.3rem) clamp(2rem, 0.233rem + 5.521vw, 7.3rem);
}

.media-list-item .media-desc {
  margin: clamp(2rem, 1.667rem + 1.042vw, 3rem) auto clamp(3rem, 2.333rem + 2.083vw, 5rem);
}

.post-list {
  gap: 2rem;
}

.post-list-item a {
  height: 100%;
}

.post-list-item .post-content {
  padding: 0.8rem clamp(1.2rem, 0.767rem + 1.354vw, 2.5rem) 2rem;
}

.top .main-ttl {
  margin: 0 auto 4rem;
  /* line-height: 1.5; */
}

.top .main-ttl.font-en {
  line-height: 1;
}

:where(.top) .service {
  padding-block: clamp(6rem, 4rem + 6.25vw, 12rem);
  margin-top: clamp(4rem, 2.667rem + 4.167vw, 8rem);
}

.service-info__anchor .tab-button {
  box-sizing: border-box;
}

.top .works .main-ttl .ttl-caps {
  margin-bottom: 1.5rem;
}

:where(.top) .works .mediaSlider {
  margin-block: clamp(4rem, 3.333rem + 2.083vw, 6rem);
}



:where(.top) .event,
:where(.top) .news {
  margin-top: clamp(4rem, 2.667rem + 4.167vw, 8rem);
}

:where(.top) .event .main-ttl {
  margin-bottom: 5rem;
}

:where(.top) .column .btn a {
  min-width: 25rem;
}

:where(.top) .column .button-prev,
:where(.top) .column .button-next {
  display: flex;
  border: 1px solid #f1f3f5;
  top: calc(100% - clamp(4.4rem, 3.129rem + 3.972vw, 7.2rem) + 2rem);
}

:where(.top) .column .navSlider .button-next {
  right: calc(50% - 3.6rem);
  -webkit-transform: translate(50%, -50%);
  transform: translate(50%, -50%);
}

:where(.top) .column .navSlider .button-prev {
  left: calc(50% - 3.6rem);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* :where(.top) .column .button-prev::after,
:where(.top) .column .button-next::after {
  content: "";
} */

:where(.top) .column .navSlider {
  padding-bottom: calc(clamp(4.4rem, 3.129rem + 3.972vw, 7.2rem) + 4rem);
}

/* :where(.top) .column .navSlider .button-next {
  background: url(../img/icon/slider-arw-right.svg) no-repeat center / contain;
}

:where(.top) .column .navSlider .button-prev {
  background: url(../img/icon/slider-arw-left.svg) no-repeat center / contain;
} */

:where(.top) .column .card-list-item .card-content {
  padding: clamp(1.5rem, 1.167rem + 1.042vw, 2.5rem) clamp(1.5rem, 1.167rem + 1.042vw, 2.5rem) clamp(2rem, 1.5rem + 1.563vw, 3.5rem);
}

.service-info__content {
  max-width: calc(1285px + clamp(1.6rem, -0.533rem + 6.667vw, 8rem) * 2);
}

.service-info__anchor .tab-button span {
  letter-spacing: calc(40 * 0.001em);
}

.service-info__anchor .tab-button {
  padding-block: clamp(1.2rem, 0.933rem + 0.833vw, 2rem);
  padding-right: 0;
  /* padding-right: clamp(1.2rem, 0.933rem + 0.833vw, 2rem); */
  padding-left: clamp(1.7rem, 1.367rem + 1.042vw, 2.7rem);
  border-left-width: 3px;
}

.service-info__frame {
  padding: clamp(1.5rem, 0.667rem + 2.604vw, 4rem);
  /* padding-bottom: 0; */
}

.service-info__section .cards-container {
  /* margin-top: 2rem; */
  margin-bottom: 0;
}

.service-info__section .cards-container+.cards-container {
  margin-top: 2rem;
}

.service-info__section .btns:has(*) {
  margin-top: 4rem;
}

:where(.top) .event .navSlider {
  padding: clamp(4rem, 3.333rem + 2.083vw, 6rem);
}

:where(.instagram) #sb_instagram {
  padding-bottom: 0 !important;
}

:where(.instagram) #sb_instagram #sbi_images {
  padding: 0;
}

:where(.top) .youtube .feed-wrapper {
  width: 100%;
  padding: 0 3rem;
  overflow: hidden;
  position: relative;
}


:where(.top) .instagram .btn-arw-right a,
:where(.top) .youtube .btn-arw-right a {
  padding: 0 3em 0 0;
}

:where(.top) .youtube .feed-wrapper .button-prev {
  background: url(../img/icon/slider-arw-left.svg) no-repeat center / contain;
  width: 1.6rem;
}


:where(.top) .youtube .feed-wrapper .button-next {
  background: url(../img/icon/slider-arw-right.svg) no-repeat center / contain;
  width: 1.6rem;
}

:where(.top) .youtube .feed-wrapper .button-next::after {
  content: "";
}

:where(.top) .youtube .feed-wrapper .button-prev::after {
  content: "";
}

.f-cta__contact {
  padding-top: 0;
}

.editor-area {
  padding-top: 4rem;
}

.editor-area .wp-block-heading:not(.js-acTrigger, .page-ttl, .card-ttl),
.editor-area h1:not(.js-acTrigger, .page-ttl, .card-ttl),
.editor-area h2:not(.js-acTrigger, .page-ttl, .card-ttl),
.editor-area h3:not(.js-acTrigger, .page-ttl, .card-ttl) {
  margin-bottom: 3rem;
}

.list-header {
  margin-top: clamp(4rem, 2.667rem + 4.167vw, 8rem);
}

.page-header .inner {
  max-width: calc(1280px + clamp(1.6rem, -0.533rem + 6.667vw, 8rem) * 2);
}

.aioseo-breadcrumbs {
  max-width: calc(1280px + clamp(1.6rem, -0.533rem + 6.667vw, 8rem) * 2);
}

.localnav {
  max-width: calc(1280px + clamp(1.6rem, -0.533rem + 6.667vw, 8rem) * 2);
}

.f-cta {
  padding-bottom: calc(4rem + clamp(4rem, 2.667rem + 4.167vw, 8rem));
}

.f-sitemap-main {
  gap: 2rem;
}

.f-sitemap-sub {
  margin-top: 1.4rem;
  margin-bottom: 0;
}

.main-footer .subnav__sns {
  margin-top: 4rem;
}

.f-subnav {
  margin-top: 2.5rem;
  padding: 1.2rem 0 9rem;
}

.fix-link a {
  border: 1px solid #ccc;
}

.js-drop-container.is-active {
  padding: 0 0 5.4rem;
}

.dropdown-content {
  margin-top: 4rem;
}

.nav-child-ttl {
  font-size: 1.8rem;
  margin: 0 0 3rem;
  padding: 0 1.2rem .4rem;
  line-height: 29px;
}

.nav-child {
  row-gap: 2rem;
}

.nav-child-item>a {
  border-radius: 3px;
  overflow: hidden;
}

.nav-child-item>a>span:first-of-type {
  padding: 1.5rem 1.5rem 1.5rem calc(1.5rem + 2.6rem + 1rem);
}

.nav-child-item>a>span:first-of-type::before {
  left: 1.5rem;
}

.nav-child-item>a>span:first-of-type::after {
  left: calc(1.5rem + 1.1rem);
}

.nav-child-item>a:hover>span:first-of-type::after {
  left: calc(1.5rem + 1.3rem);
}

.nav-child-item>a>span.nav-thumb {
  aspect-ratio: 280 / 150;
  max-height: 15rem;
  min-height: 8rem;
}

.card-type .nav-child-item>a>span.nav-thumb {
  aspect-ratio: 280 / 150;
}

.card-type .nav-child-item:not(:has(.nav-thumb))>a>span:first-of-type {
  width: 100%;
}

.nav-child-item>a>span.nav-thumb .label {
  font-size: 1.1rem;
}

.nav-modelhouse .nav-child-item>a>span.nav-thumb {
  width: 55%;
  aspect-ratio: 280 / 150;
  max-height: 15rem;
}

.nav-modelhouse .card-type .nav-child-item:has(.nav-thumb)>a>span:first-of-type {
  width: 45%;
}

.subnav_banner {
  gap: 1rem;
  margin: 4rem 0 0;
}

.subnav_banner li a {
  border-radius: 3px;
  overflow: hidden;
}

.f-cta__contact {
  border-top: none;
}

.cta-btns {
  gap: 3rem;
}

.cta-btns .c-btn a {
  justify-content: center;
  padding: 0.5em;
}

.cta-btns .c-btn a .icon {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  margin: 0 1em 0 0;
}

.cta-btns .c-btn a .cta-ttl {
  width: auto;
  max-width: calc(100% - (1em + clamp(4rem, 2.184rem + 5.674vw, 8rem)));
}

.card-thumb {
  margin-bottom: 0;
}

.card-list-item a,
.card-list-item .card-link-wrapper {
  height: 100%;
}

.card-list-item .card-ttl {
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  /* display: flex;
  align-items: center; */
}

.card-list-item .card-ttl:not(:has(> span)) {
  margin-top: 2rem;
}

.card-list-item .card-ttl span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 2rem calc(3rem + .5em) 2rem 0;
}

.card-list-item .card-desc {
  margin-top: 0;
}

.page-staff .card-list-item .card-ttl,
.page-craftsmen .card-list-item .card-ttl {
  margin-top: 2rem;
}

.page-staff .card-list-item .card-ttl,
.page-staff .card-list-item .card-desc,
.page-craftsmen .card-list-item .card-ttl,
.page-craftsmen .card-list-item .card-desc {
  text-align: center;
}

.page-staff .card-list-item .tags,
.page-craftsmen .card-list-item .tags {
  justify-content: center;
}

.subnav {
  margin-top: 6rem !important;
  row-gap: 3rem;
  column-gap: 4rem;
}

.subnav-area .btn a {
  min-width: 100%;
  text-decoration: none !important;
  padding: 2rem 3em 2rem 0;
}

.subnav-area .btn a::before,
.subnav-area .btn a::after {
  top: 50%;
}

.wp-block-columns.is-style-column-line {
  padding-bottom: 6rem;
  margin-block: 6rem;
  gap: 6rem;
}

.wp-block-table table {
  border-right: none;
  border-left: none;
}

.wp-block-table.is-style-contrast table {
  border-left: 1px solid #CCCCCC;
}

.wp-block-table.is-style-contrast tbody tr:nth-of-type(even) {
  background-color: #f1f3f5;
}

.wp-block-table.is-style-contrast td {
  border-right: 1px solid #ccc;
}

.editor-area .wp-block-buttons>.wp-block-button.is-style-arrow-left .wp-block-button__link[target=_blank]::after {
  right: auto;
  left: 0.8rem;
}

.editor-area ul:not(.card-list, .select-list, .schedule-content, .schedule-child, .system-content) {
  padding-left: 0;
}

/* .editor-area ol:not(.card-list,.select-list,.schedule-content,.schedule-child,.system-content) {
	padding-left: 2.5em;
} */
.editor-area ul.has-background {
  padding-left: 4%;
}

.editor-area ol.has-background {
  padding-left: calc(4% + 1.5em);
}

.cards-container.is-style-profile {
  padding-bottom: 6rem;
  margin-block: 0;
}

.cards-container.is-style-profile+.is-style-profile {
  padding-top: 6rem;
}

.faq-container .cards-container.is-style-staff:has(.card-image) .card-content {
  padding-bottom: 4rem;
}

.faq-container .faq-content {
  padding-top: 3rem;
}

.faq-container .card-content .wp-block-heading.is-style-subttl {
  margin-top: 4rem;
}

/* .card-list-item .card-ttl span::before,
.card-list-item .card-ttl span::after {
  top: 0;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.card-list-item .card-ttl span::after {
  top: 1.1rem;
}

.card-list-item a[target=_blank] .card-ttl span::after {
  top: 0.7rem;
} */

/* .wrapper {
  overflow: hidden;
} */

/* .nav-child-ttl {
  font-size: 1.6rem;
} */

/* .nav-child-item > a {
  font-size: 1.4rem;
} */

/* .nav-child-item > a > span:first-of-type {
  padding: 1.5rem 1.5rem 1.5rem 3.5em;
} */

/* .nav-child-item > a > span:first-of-type::after {
  left: 1.52em;
}

.nav-child-item > a:hover > span:first-of-type::after {
  left: 1.7em;
} */

/* .story-type .nav-child-item > a > span span {
  display: block;
}

.story-type .nav-child-item > a > span:first-child span:first-child {
  min-height: 5.6rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
} */

/* :where(.top) .about .img picture,
:where(.top) .about .img img {
  transform: translateX(6%);
} */

/* :where(.top) .instagram .insta-feed {
  width: 100%;
  margin: 0 auto;
} */

/* .subnav-area .btn a {
  padding: 1em 3em 2.5rem 0;
}

.subnav-area .btn a::before,
.subnav-area .btn a::after {
  top: 45%;
} */

/* hgroup .story-btns-ttl .font-lilita,
.story-ttl-box .story-btns-ttl .font-lilita {
  font-weight: 400;
}

hgroup .story-btns-ttl .font-caveat,
.story-ttl-box .story-btns-ttl .font-caveat {
  margin: 0 0 0 0.5rem;
  transform: translateY(-0.5rem) rotate(-8deg);
} */

/* .column .card-thumb .label {
  font-size: 2rem;
  text-transform: capitalize;
} */

/* .localnav-item a {
  color: #aaa;
}

.localnav-item.is-current a {
  color: #333;
} */

/* .entry-btn {
  width: 90%;
  max-width: 36rem;
}

.entry-btn input[type="submit"] {
  border: 1px solid #333;
  background-color: #333;
  border-radius: 4px;
  color: #fff;
  padding: 2.5rem 3em 2.5rem 1.5rem;
}

.entry-btn:hover input[type="submit"] {
  background-color: #fff;
  color: #333;
}

.entry-btn::before,
.entry-btn::after {
  z-index: 2;
}

.entry-btn::before {
  background-color: #fff;
  right: 1.5rem;
}

.entry-btn::after {
  background-color: #333;
  right: 2.6rem;
}

.entry-btn:hover::before {
  background-color: #333;
}

.entry-btn:hover::after {
  background-color: #fff;
  right: 2.3rem;
} */

.sprite.header-logo>span {
  /* background-image: url(../img/logo-mark.png);
  background-size: auto 100%;
  background-position: left center; */
}

/* .inview {
  opacity: 0;
  transition: all 0.5s ease-in-out;
}

.inview.is-show {
  opacity: 1;
}

.fadeInup {
  opacity: 0;
  transform: translateY(-50%);
  transition: all 0.5s ease-in-out;
}

.fadeInup.is-show {
  opacity: 1;
  transform: translateY(0%);
}
.insta-feed #sb_instagram .sbi_photo_wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.insta-feed #sb_instagram .sbi_photo {
  position: relative;
  height: 100% !important;
}
.insta-feed #sb_instagram svg:not(:root).svg-inline--fa {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  color: #ccc;
}
.insta-feed #sb_instagram .sbi_photo img {
  height: 100%;
} */
/* ------------------------------------- */
/* 高橋追記 */
/* ------------------------------------- */

.editor-area .wp-block-column.has-check {
  padding-left: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.editor-area .wp-block-column.has-check::before,
.editor-area ul:not(.card-list, .select-list, .schedule-content, .schedule-child, .system-content).check-list li::before {
  content: "";
  display: block;
  width: 35px;
  height: 35px;
  position: absolute;
  top: 50%;
  left: 25px;
  transform: translateY(-50%);
  background: url(../img/icon-check.png) no-repeat center left/ contain;
}

.editor-area .check-list {
  padding-left: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.editor-area .check-list li {
  width: 100%;
  background-color: #f1f3f5;
  padding: 1em 1em 1em 80px !important;
  margin-bottom: 0;
  display: grid;
  align-items: center;
}

.editor-area .ptn__story-movie .has-font-story-en-font-family {
  /* text-transform: capitalize; */
}

/* .story-ttl .font-en {
  background: url(../img/text-100story.png) no-repeat left 0.5em center/auto 100%;
} */

.editor-area .wp-block-list.is-style-tag {
  /* padding-left: 0; */
}

.editor-area .wp-block-list.is-style-tag li {
  /* color: #333; */
}

.editor-area ul.subnav {
  /* padding-left: 0; */
}

/* .cards-container.is-style-numbered .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
} */

.cards-container.is-style-numbered .card-image {
  /* aspect-ratio: 3 / 2; */
}

/* .service-info__frame {
  width: 100%;
} */

.editor-area .wp-block-table table.has-fixed-layout {
  /* table-layout: fixed; */
}

.wp-block-table:not(:has(thead)) td:first-of-type {
  /* width: 20%; */
}

/* ボタン矢印左 */
.editor-area .wp-block-buttons>.wp-block-button.is-style-arrow-left .wp-block-button__link::after {
  /* left: 1.1rem;
  clip-path: polygon(100% 0, 100% 100%, 0% 50%); */
}

.editor-area .wp-block-buttons>.wp-block-button.is-style-arrow-left .wp-block-button__link:hover::after {
  /* left: 0.9rem; */
}

/* .nav-child-item > a > span.nav-thumb .label {
  text-transform: capitalize;
}

.nav-child-item > a > span.nav-thumb .label.shop {
  background-color: #f5a900;
}

.editor-area .cards-container-wrapper .wp-block-heading {
  margin-bottom: 1.5em;
}

.editor-area h2.wp-block-heading.has-text-align-center.has-font-story-en-font-family {
  letter-spacing: 0.15em;
}

.editor-area > figure.wp-block-image.is-style-cregit {
  width: max-content;
  max-width: 100%;
}

.editor-area figure.wp-block-image.is-style-cregit figcaption {
  margin-top: -2em;
  position: relative;
  z-index: 5;
}

.editor-area figure.wp-block-image.is-style-cregit figcaption em {
  display: block;
  margin-bottom: 1.25em;
  margin-right: 0.5em;
  text-align: right;
  color: #fff;
  font-style: normal;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 -1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.15em;
} */

/* 塗りつぶしボタンのセンター寄せ */
/* .editor-area .wp-block-buttons > .wp-block-button:not([class*="is-style-arrow-"]) .wp-block-button__link {
  justify-content: center;
} */

/* footer順番入れ替えない */
/* .f-sitemap-main:nth-child(3) > li {
  order: inherit !important;
} */

/* リード文がない時用 */
/* .page-header .page-ttl {
  flex-shrink: 0;
  flex-grow: 1;
} */

/* イベント　開催日 */
/* .event_postdate {
  line-height: 1.5;
  display: flex;
  gap: 5px;
} */

/* .event_postdate::before {
  content: "開催日：";
  display: inline-block;
  flex-shrink: 0;
} */

/* SEOプラグインのパンくずスタイル */
/* .aioseo-breadcrumbs {
  width: 100%;
  max-width: calc(1120px + clamp(1.6rem, -0.533rem + 6.667vw, 8rem) * 2);
  padding-inline: clamp(1.6rem, -0.533rem + 6.667vw, 8rem);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.aioseo-breadcrumb {
  font-size: clamp(1.2rem, 1.109rem + 0.284vw, 1.4rem);
  font-weight: 500;
  margin: 0 0.6em 0 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  color: #333;
  line-height: 1.5;
}

.aioseo-breadcrumb:not(:last-of-type)::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 0.1rem;
  margin: 0 0 0 0.6em;
  background-color: #333;
  line-height: 1;
} */

/* ページネーション */
/* .pagination .page-numbers.prev::after,
.pagination .page-numbers.next::after {
  width: 1rem;
  height: 1rem;
}

.pagination .page-numbers.next::after {
  transform: translateX(-0.2em) rotate(45deg);
}

.pagination .page-numbers.prev::after {
  transform: translateX(0.2em) rotate(-135deg);
}

.pagination .page-numbers.current,
.pagination .page-numbers.back {
  background-color: #333;
  opacity: 1 !important;
}

.pagination .page-numbers.dots {
  background-color: transparent;
  color: #333 !important;
} */

/* プラグインで自動挿入されるpictureタグによる崩れ調整 */
/* .card-image picture {
  height: 100%;
}

.card-thumb picture {
  height: 100%;
} */

/* single */
/* .editor-area .article-header .tags {
  margin-bottom: 1em;
}

.editor-area .article-header {
  margin-bottom: 2em;
  border-bottom: 1px solid;
}

.text-block_youtube-wrapper {
  width: 100%;
  aspect-ratio: 1280 / 720;
}

.wp-block-embed {
  margin-bottom: 2em;
}

.wp-block-embed .wp-element-caption {
  margin-bottom: 1em;
  margin-top: 1em;
  font-size: 1.3rem;
  text-align: center;
  font-weight: 400;
  color: rgba(51, 51, 51, 0.8);
}

.editor-area > section > iframe[src*="youtube.com/embed/"] {
  height: auto;
  aspect-ratio: 16/9;
} */

/* スケジュールブロック　*/
/* .editor-area .schedule-wrapper,
.editor-area .system-wrapper {
  margin-top: 2rem;
}

.editor-area .wp-block-lazyblock-schejule:last-of-type .schedule-item:last-of-type::after {
  content: none;
}

.editor-area .build-price-item div p {
  margin-bottom: 0;
}

.system-container:last-of-type .system-item::after {
  display: block;
}

.wp-block-lazyblock-system-block:last-of-type .system-container:last-of-type .system-item:last-of-type::after {
  display: none;
} */

/* 3カラムリスト */
/* .swiper-slide.card-list-item {
  height: auto;
} */
/* 3カラムリスト aタグなしの時用*/
/* .card-list-item .card-link-wrapper {
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-direction: column;
  color: #333;
  text-decoration: none !important;
  overflow: hidden;
} */

/* 3カラムリスト センター寄せ */
/* .card-list .is-center-aligned {
  text-align: center;
}

.card-list .is-center-aligned .tags {
  justify-content: center;
}

.single-hito-staff .article-header {
  border: none;
}

.single-hito-staff .article-header h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 1em;
}

.single-hito-staff .article-header h1 span {
  display: inline-block;
  font-size: 0.6em;
  margin-bottom: 0.2em;
}

.single .localnav-area {
  flex-grow: 1;
} */

/* project用 */
/* .project-lead-text {
  padding-right: 60px;
}

.project-lead-thum {
  display: grid;
  gap: 1em;
  margin-block: 3em;
}

.project-lead-text {
  text-align: center;
}

.project-lead-text::after {
  content: "";
  display: block;
  background: url(../img/sprite/project-apple.png) no-repeat center right / contain;
  width: 25%;
  padding-bottom: 10%;
  margin: 1em auto;
}

.project-list {
  display: grid;
  gap: 3em;
  margin-bottom: 3em;
  margin-top: 6em;
}

.project-list-item {
  text-decoration: none !important;
  display: flex;
  flex-direction: column;

  padding-bottom: 3em;
  border-bottom: 1px solid #cccccc;
}

.project-list-item .pj-content .tags {
  margin-bottom: 0.75em;
}

.project-list-item .p_data {
  font-weight: 600;
  font-size: 1.1em;
}

.project-list-item .pj-thumb {
  overflow: hidden;
}

.project-list-item .pj-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-list-item .btns {
  justify-content: flex-start;
}

.project-list-item .btns a {
  text-decoration: none !important;
} */

/* テーブル調整　is-style-history */
/* .wp-block-table.is-style-history table {
  min-width: 100%;
}

.wp-block-table.is-style-history tr:nth-of-type(2n) td:first-of-type {
  background-color: #fff;
}

.wp-block-table.is-style-history tbody td em {
  padding: 0;
}

.wp-block-table.is-style-history tbody td em::before {
  top: 0.6em;
  transform: unset;
}

.wp-block-table.is-style-history tbody td:first-of-type {
  width: 15%;
  padding: 2rem 2rem;
}

.wp-block-table.is-style-history tbody td:first-of-type::before {
  top: calc(2rem + 0.3em);
}

.wp-block-table.is-style-history tbody tr:not(:first-of-type):not(:last-of-type) td:first-of-type::after {
  content: none;
}

.wp-block-table.is-style-history tbody tr:first-of-type td:first-of-type::after {
  height: calc(100% - 3rem);
  top: unset;
  bottom: 0;
}

.wp-block-table.is-style-history tbody tr:last-of-type td:first-of-type::after {
  display: block;
  height: 3rem;
  top: 0;
}

.wp-block-table.is-style-history tbody tr:not(:first-of-type):not(:last-of-type) td:first-of-type {
  border-right: 1px solid #333;
} */

/* 番号リスト調整 */
/* .editor-area ol:not(.card-list, .select-list, .schedule-content, .schedule-child, .system-content) {
  padding-left: 2.5em;
} */

/* グループ化されていない要素から本文エリアが始まるとき（終わる時）の余白 */
/* .page-default.editor-area > *:first-child:not(.wp-block-group) {
  margin-top: clamp(4rem, 2.667rem + 4.167vw, 8rem);
}

.page-default.editor-area > *:last-child:not(.wp-block-group) {
  margin-bottom: clamp(4rem, 2.667rem + 4.167vw, 8rem);
} */

/* 連番ブロックの番号を自動で付与するようにしました */
/* .cards-container-wrapper {
  counter-reset: card-number;
}

.cards-container-wrapper .cards-container {
  counter-increment: card-number;
}

.cards-container-wrapper .cards-container .card-number::after {
  display: block;
  content: "0" counter(card-number);
} */

/* プロフィールブロックのマージン調整 */
/* .cards-container.is-style-profile + .is-style-profile {
  margin-top: 0;
} */

/* .editor-area p {
  line-height: 2.2;
}

.editor-area p:not(.has-background, .card-desc) {
  padding-top: 0;
}

.single-hito-staff .editor-area .wp-block-image {
  margin-top: 5rem;
} */

/* デフォルトのgapが狭いので調整 */
/* .editor-area .wp-block-columns {
  gap: clamp(2.4rem, 1.527rem + 2.727vw, 4.8rem);
} */

/* カラムのスタイルに「下線あり」を作りました　is-style-column-line */
/* .editor-area .wp-block-columns.is-style-column-line {
  padding-bottom: 3em;
  border-bottom: 1px solid #ccc;
  margin-bottom: 3em;
}

.editor-area .is-layout-flex {
  align-items: inherit;
}

.editor-area .is-layout-flex.are-vertically-aligned-center {
  align-items: center;
}

.editor-area .is-layout-flex.are-vertically-aligned-bottom {
  align-items: flex-end;
} */

/* リストのスタイルに「タグリスト」を作りました　is-style-tag */

/* .editor-area .wp-block-list.is-style-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin: 0.75em 0;
}

.editor-area .wp-block-list.is-style-tag li {
  padding-left: 0;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.25em 0.75em;
  margin: 0;
  background-color: #f1f3f5;
  color: #404040;
  border-radius: 2px;
}

.editor-area .wp-block-list.is-style-tag li::before {
  content: none;
} */

/* h2のmargin広めに設定 */
/* .editor-area h2:not(:first-child):not(.js-acTrigger, .page-ttl) {
  margin-top: 3em;
  margin-bottom: 1em;
} */

/* 見出しのline-height */
/* .editor-area h1,
.editor-area h2,
.editor-area h3 {
  line-height: 1.5;
} */

/* 見出しブロック is-style-subttl */
/* .editor-area .wp-block-heading.is-style-subttl {
  text-align: left !important;
  align-items: center;
  padding-left: 1.25em;
  gap: 1em;
  line-height: 1.65 !important;
}

.editor-area .wp-block-heading.is-style-subttl::before {
  top: 0.7em;
}

.editor-area .wp-block-heading.is-style-subttl span {
  padding: 0;
}

.editor-area .wp-block-heading.is-style-subttl::after {
  width: 1em;
  flex-grow: 1;
  position: relative;
  top: unset;
  right: unset;
  margin-top: 0.1em;
}

.btn.link-archive {
  padding-top: 5em;
}

.btn.link-archive a {
  text-decoration: none !important;
} */

/* 画像ブロック */

/* .editor-area .wp-block-image.is-style-cregit {
  width: max-content !important;
}
.editor-area .wp-block-columns .wp-block-image.is-style-cregit {
  width: 100% !important;
}
.editor-area .wp-block-image.is-style-cregit img {
  width: 100%;
}

.editor-area > .wp-block-image {
  margin-block: clamp(2.4rem, 1.527rem + 2.727vw, 4.8rem);
}

.editor-area .wp-block-columns {
  margin-block: clamp(2.4rem, 1.527rem + 2.727vw, 4.8rem);
}

.single-page-header hgroup.inner {
  flex-direction: column;
  align-items: stretch;
  gap: 0.5em;
}

.single-page-header .page-ttl {
  text-align: left !important;
} */

@media (max-width: 781px) {
  /* .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
  }

  .wp-block-columns:not(.is-not-stacked-on-mobile) {
    flex-wrap: wrap;
  } */
}

@media screen and (min-width: 480px) {
  /* ------------------------------------- */
  /* contents */
  /* ------------------------------------- */

  /* .project-lead-thum {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  } */
  :where(.top) .column .btn {
    margin: 2em 0 0 auto !important;
  }


  :where(.top) .column .navSlider {
    /* padding-top: calc(clamp(4.4rem, 3.129rem + 3.972vw, 7.2rem) + 4rem); */
    overflow: visible;
    padding-bottom: clamp(6rem, 4rem + 6.25vw, 12rem);
  }

  :where(.top) .column .button-prev,
  :where(.top) .column .button-next {
    top: -9rem;
  }

  :where(.top) .column .navSlider .button-next {
    right: calc(25rem + 5.4rem + 2rem);
    -webkit-transform: none;
    transform: none;
  }

  :where(.top) .column .navSlider .button-prev {
    right: calc(25rem + 5.4rem + 2rem + 1.5rem + 5.4rem);
    -webkit-transform: none;
    transform: none;
    left: auto;
  }

  .service-info__anchor .tab-button {
    width: calc((100% - 1.5rem) / 2);
  }
}

@media screen and (min-width: 768px) {

  /* ------------------------------------- */
  /* contents */
  /* ------------------------------------- */
  :where(.top) .event .slider-container {
    padding-top: 11rem;
  }

  :where(.top) .event .btn {
    top: clamp(6rem, 4rem + 6.25vw, 12rem);
  }
  :where(.top) .event .navSlider .button-next,
  :where(.top) .event .navSlider .button-prev {
    top: -11rem;
  }

  :where(.top) .works::before {
    height: 60rem;
  }

  :where(.top) .works::after {
    background: linear-gradient(180deg, rgba(51, 51, 51, 0.3) 0%, rgba(51, 51, 51, 0.7) 60rem, white 60rem, white 100%);
  }

  :where(.top) .news .post-list-item .post-ttl {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    white-space: normal;
  }

  :where(.top) .youtube .feed-wrapper {
    padding: 0 5rem;
    width: calc(100% + 10rem);
    transform: translateX(-5rem);
  }

  :where(.top) .youtube .feed-wrapper .button-prev {
    background: url(../img/icon/slider-arw-left.svg) no-repeat center / contain;
    left: -1rem;
  }


  :where(.top) .youtube .feed-wrapper .button-next {
    background: url(../img/icon/slider-arw-right.svg) no-repeat center / contain;
    right: -1rem;
  }


  :where(.top) .column .btn {
    margin: 1em 0 0 auto !important;
  }

  :where(.top) .column .navSlider {
    padding-top: 5.4rem;
  }

  :where(.top) .column .button-prev,
  :where(.top) .column .button-next {
    top: -2rem;
  }

  :where(.top) .column .navSlider .button-next {
    right: clamp(1.6rem, -0.533rem + 6.667vw, 8rem);
  }

  :where(.top) .column .navSlider .button-prev {
    right: calc(clamp(1.6rem, -0.533rem + 6.667vw, 8rem) + 1.5rem + 5.4rem);
  }

  .service-info__anchor_inner {
    justify-content: space-between;
  }

  .service-info__anchor .tab-button {
    width: calc((100% - 3rem) / 3);
  }

  .editor-area {
    padding-top: 6rem;
  }

  .add {
    margin-top: 2rem;
  }

  .add span {
    display: inline-block;
  }

  .add span:last-of-type {
    margin: 0 0 0 1rem;
  }

  .cta-btns .c-btn {
    width: calc((100% - 3rem)/2);
  }

  .cta-btns .c-btn a .cta-ttl {
    font-size: 1.9rem;
  }

  .card-list {
    -webkit-column-gap: 3rem;
    -moz-column-gap: 3rem;
    column-gap: 3rem;
  }

  .card-list-item {
    width: calc((100% - 3rem) / 2);
  }

  /* project */

  /* .project-lead-text {
    text-align: left;
    padding-right: 30%;
    position: relative;
  }

  .project-lead-text::after {
    position: absolute;
    width: 30%;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
  }

  .project-list-item {
    flex-direction: row-reverse;
    gap: 5%;
  }

  .project-list-item .pj-thumb {
    width: 30%;
  }

  .project-list-item .pj-content {
    width: 65%;
  } */

  .editor-area .check-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .faq-container {
    padding-block: 6.5rem;
  }

  .faq-container .is-style-staff .card-content {
    padding-block: 0;
  }

  .faq-container .cards-container.is-style-staff:has(.card-image) .card-image {
    width: 18rem;
  }

  .faq-container .cards-container.is-style-staff:has(.card-image) .card-content {
    width: calc(100% - 18rem);
    padding-bottom: 0;
  }
}

@media screen and (min-width: 960px) {
  /* .service-info__anchor .tab-button {
    width: calc((100% - 3rem) / 3);
  } */


  :where(.top) .column .navSlider {
    padding-top: 0;
  }

  :where(.top) .column .button-prev,
  :where(.top) .column .button-next {
    top: -9rem;
  }

  :where(.top) .column .navSlider .button-next {
    right: calc(25rem + 3rem + clamp(1.6rem, -0.533rem + 6.667vw, 8rem));
  }

  :where(.top) .column .navSlider .button-prev {
    right: calc(25rem + 3rem + 5.4rem + 2rem + clamp(1.6rem, -0.533rem + 6.667vw, 8rem));
  }



  .cta-btns .c-btn a {
    padding: .75em 1em .75em;
  }

  .cta-btns .c-btn a .cta-ttl {
    font-size: clamp(2.2rem, .4rem + 1.875vw, 2.8rem);
  }

  .card-list {
    -webkit-column-gap: 3rem;
    -moz-column-gap: 3rem;
    column-gap: 3rem;
  }

  .card-list-item {
    width: calc((100% - 6rem) / 3);
  }
}

@media screen and (min-width: 1025px) {
  /* ------------------------------------- */
  /* contents */
  /* ------------------------------------- */

  .subnav_banner li {
    width: calc(50% - 0.5rem);
  }

  .cta-btns {
    gap: 4rem;
  }

  .cta-btns .c-btn {
    width: calc((100% - 4rem) / 2);
  }

  .cta-btns .c-btn a {
    padding: 2em 1em;
  }

  .f-subnav {
    padding: 2.4rem 0;
  }

  .card-content {
    padding-block: 5.5rem;
  }

  .is-style-staff .card-content {
    padding-block: 6.5rem;
  }

  .faq-container {
    padding: 6.5rem 8rem;
  }

  .faq-container .cards-container.is-style-staff:has(.card-image) .card-content {
    padding: 0 0 0 6rem;
  }


  .service-info__anchor .tab-button {
    width: calc((100% - 4rem) / 3);
    /* width: calc((100% - 20rem) / 3); */
    gap: 2rem;
  }

  /* :where(.top) .event .btn {
    top: clamp(6rem, 4rem + 6.25vw, 12rem);
  }

  :where(.top) .event .slider-container {
    margin: 3rem 0 0 auto;
  } */

  :where(.top) .youtube .feed-wrapper {
    padding: 0 8rem;
    width: calc(100% + 16rem);
    transform: translateX(-8rem);
  }

  :where(.top) .youtube .feed-wrapper .button-prev {
    left: 0;
    width: 3.2rem;
  }

  :where(.top) .youtube .feed-wrapper .button-next {
    width: 3.2rem;
    right: 0;
  }

  /* .js-drop-container {
    width: 102vw;
  } */
  /*
  :where(.top) .about .img picture,
  :where(.top) .about .img img {
    transform: translateX(0);
  } */

  .cards-container.is-style-numbered .card-image {
    /* aspect-ratio: 1/1; */
  }

  /* .subnav {
    gap: 2.5rem 4rem;
  } */

  /* .page-visual .eyecatch.movie {
    max-width: 1120px;
  }

  .page-header .inner {
    flex-wrap: nowrap;
  }

  .page-header .page-ttl {
    width: 45%;
  }

  .single .page-header .page-ttl {
    width: 45%;
  }

  .page-header .lead {
    width: auto;
    text-align: left;
  }

  .single-page-header .sub-ttl {
    width: 100%;
  } */
}

@media screen and (min-width: 1120px) {
  .js-drop-container {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 1rem 5vw 5rem;
  }

  .nav-menu-item:has(.js-dropdown):hover .js-drop-container {
    transform: translateX(calc(-50% + 2.4rem));
  }

  .nav-child {
    gap: 1rem;
  }

  .nav-child.card-type {
    gap: 2rem;
  }

  .card-type .nav-child-item {
    width: calc((100% - 6rem) / 4);
  }

  .nav-company .nav-child-item {
    width: calc((100% - 1rem)/2);
  }

  .nav-company .card-type .nav-child-item {
    width: calc((100% - 2rem)/2);
  }

  .nav-child-ttl {
    font-size: 1.6rem;
    margin: 0 0 2.4rem;
  }

  .card-type .nav-child-item>a>span.nav-thumb {
    aspect-ratio: 280 / 120;
    max-height: 12rem;
  }

  .nav-company .dropdown-content:nth-of-type(3) {
    margin-top: 2.5rem;
  }

  .nav-modelhouse .nav-child-item>a>span.nav-thumb {
    width: 100%;
    aspect-ratio: 280 / 150;
    max-height: 15rem;
  }

  .nav-modelhouse .card-type .nav-child-item:has(.nav-thumb)>a>span:first-of-type {
    width: 100%;
  }

  .service-info__grid {
    grid-template-columns: 38.5rem auto;
  }

  .service-info__anchor {
    width: calc(100% - 2rem);
    overflow: visible;
  }

  .service-info__anchor .tab-button {
    width: 100%;
  }

  .service-info__anchor .tab-button.is-active {
    width: calc(100% + 2rem);
  }

  .service-info__anchor .tab-button span {
    /* font-size: clamp(1.5rem, -0.6rem + 1.875vw, 1.8rem); */
    font-size: clamp(1.5rem, 0.616rem + 0.789vw, 1.8rem);
    max-width: calc(100% - 6rem);
  }

  .subnav_banner {
    margin: 3rem 0 0;
  }

  .breadcrumbs-area {
    padding-top: 2.5rem;
    margin-bottom: 5.5rem;
  }

  .localnav-area {
    padding-top: 3rem;
    padding-bottom: 1.8rem;
  }

  .editor-area {
    padding-top: 6rem;
  }

  .editor-area h2:not(:first-child):not(.js-acTrigger, .page-ttl) {
    /* margin-top: 14rem; */
    margin-top: clamp(4rem, 2.667rem + 4.167vw, 8rem);
    margin-bottom: 3rem;
  }

  /* .wrapper {
    overflow: initial;
  }
  .nav-child-ttl {
    margin-bottom: 2.4rem;
  }

  .nav-search .dropdown-content {
    width: calc((100% - 10rem) / 4);
  } */
}

@media screen and (min-width: 1280px) {
  .service-info__anchor .tab-button span {
    max-width: calc(100% - 8rem);
  }

  :where(.top) .column .navSlider .button-next {
    right: calc(((100% - (1120px + clamp(1.6rem, -0.533rem + 6.667vw, 8rem) * 2)) / 2) + 25rem + 3rem + clamp(1.6rem, -0.533rem + 6.667vw, 8rem));
  }

  :where(.top) .column .navSlider .button-prev {
    right: calc(((100% - (1120px + clamp(1.6rem, -0.533rem + 6.667vw, 8rem) * 2)) / 2) + 25rem + 3rem + 5.4rem + 2rem + clamp(1.6rem, -0.533rem + 6.667vw, 8rem));
  }

}

@media (orientation: landscape) and (max-width: 767px) {
  /* デバイスが横向き、画面の横幅が 767px 以下の場合の記述 */
}