/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
body, html {
	font-size: 100%;
}

body :is(.is-layout-flow,.is-layout-constrained)>:is(h2,h3) {
	margin: 0
}

#menu-sp_global-menu {
	font-size: 1.2rem;
	letter-spacing: 0.08em;
}

#menu-sp_global-menu span {
	margin-left: 0.5rem;
	font-size: 0.6rem;
	letter-spacing: 0.05em;
}

.sp_global-menu-button a {
	padding-top: 1.2rem;
	padding-bottom: 1.2rem;
	font-size: 1.2rem;
	letter-spacing: 0.08em;
}

.sp_global-menu-button a::after {
  content: "お問い合わせ";
	margin-left: 0.5rem;
	font-size: 0.6rem;
	letter-spacing: 0.05em;
}

.page-header {
	display:none;
}

.main-section {
	margin-bottom: 0;
}

.fa-home:before {
    content: none !important;
}

.fa-fw {
	display: none;
}

.breadcrumb {
  background-color: #d9e3fc;
	border-top: 0px;
	border-bottom: 0px;
}

.breadcrumb-list {
	color: #4C4E51;
}

.breadcrumb-list__item a {
	position: relative;
  z-index: 1;
	color: #4C4E51;
	text-decoration: none;
}

.breadcrumb-list__item a::before {
  background: #f79257;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
  z-index: -1;
}

.breadcrumb-list__item a:hover {
  color: #fff;
}

.breadcrumb-list__item a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.vk-mobile-nav {
	padding: 45px 25px;
}

.vk-mobile-nav nav ul {
	border-top: none;
}

.vk-mobile-nav nav ul li a {
	border-bottom: none;
}

.vk-mobile-nav-menu-btn {
	top: 13px;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 0;
}

.vk-mobile-nav-menu-btn.menu-open {
	border: none;
}

.vk-mobile-nav-menu-outer.wp-block-button__link {
	padding: calc(0.667em + 2px) calc(5em + 2px);
}

.site-body {
    padding: 3rem 0 0;
}

h2 {
	border-top: none;
  border-bottom: none;
	margin-bottom: 0;
	padding: 0;
}

h2.home-ttl {
	font-size: clamp(1.87rem, calc(1.7rem + 0.7vw), 2.5rem);
}

h2.works-ttl {
	font-size: 1.1rem;
}

h2.ttl {
	font-size: clamp(1rem, calc(1rem + 0.7vw), 1.5rem);
}

h3.ltg-slide-text-title {
  font-size: clamp(1.87rem, calc(1.7rem + 0.7vw), 2.5rem);
}

.ltg-slide-text-title+.ltg-slide-text-caption {
    margin-top: 1rem;
    margin-bottom: 1.2rem;
}

.ltg-slide-text-caption {
  font-size: clamp(0.88rem, calc(0.65rem + 0.45vw), 1rem);
}

h3 {
  font-size: 1.1rem;
	padding: 0;
  border-bottom: none;
}

h3:where(:not(.wp-block-post-title)):after  {
  border-bottom: none;
}

.wp-block-query {
	padding: 1rem 1rem;
	border: solid 1px #92959B;
	border-radius: 5px;
}

.wp-block-button.is-style-outline .wp-block-button__link {
	padding-top: 1.2em;
	padding-bottom: 1.2em;
}

.wp-block-post-template a {
	position: relative;
  z-index: 1;
	color: #4C4E51;
	text-decoration: none;
}

.wp-block-post-template a::before {
  background: #f79257;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
  z-index: -1;
}

.wp-block-post-template a:hover {
  color: #fff;
}

.wp-block-post-template a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.entry-meta-item-author {
	display: none;
}

.footer-nav {
	border-bottom: none;
}

.footer-nav-list li {
	border-right: none;
}

.footer-nav-list li:nth-child(1){
	border-left: none;
}

.site-footer {
	border-top: none;
}

.site-footer a {
	position: relative;
	z-index: 1;
	color: #4C4E51;
	text-decoration: none;
}

.site-footer a::before {
  background: #f79257;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
  z-index: -1;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer a:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.site-footer-copyright {
	padding-bottom: 100px;
}

.site-footer-copyright p:nth-child(2) {
    display: none;
}

/* 投稿日・更新日を非表示にする */
.single-creation .entry-meta,
.single-creation .entry-header {
    display: none !important;
}

/* カスタム投稿 'creation' のアーカイブページではタイトルとサムネイル以外を消す */
.post-type-archive-creation .published,
.post-type-archive-creation .entry-meta_items_date,
.post-type-archive-creation .card-text,
.post-type-archive-creation .text-right {
    display: none !important;
}

.post-type-archive-creation .card-title {
	font-size: 1rem;
	border-bottom: 0px; 
}

/* 特定のタクソノミー 'creation-category' の一覧ページではタイトルとサムネイル以外を非表示 */
.tax-creation-category .published, 
.tax-creation-category .entry-meta_items_date,
.tax-creation-category .card-text,
.tax-creation-category .text-right {
    display: none !important;
}

.tax-creation-category .card-title {
	font-size: 1rem;
	border-bottom: 0px; 
}

.card {
	border: none;
	border-radius: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card a {
  display: block;
  text-decoration: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.card:hover .card-title {
  color: #92959b;
}

.vk_post_imgOuter {
	border-bottom: none;
}

.works-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.works-tab {
  position: relative;
  list-style-type: none;
  margin: 8px 16px;
  font-size: 1rem;
  cursor: pointer;
  color: #4C4E51;
  transition: color 0.3s ease;
  z-index: 1;
}

.works-tab:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -16px;
  color: #92959B;
}

.works-tab::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #f79257;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
  z-index: -1;
}

.works-tab:hover {
  color: #fff;
}

.works-tab:hover::before {
  transform-origin: left top;
  transform: scale(1, 1);
}

.works-tab.is-active {
  border-bottom: solid 1px #f79257;
}

.works-group {
  display: none;
}

.works-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.works-card {
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.works-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.works-card a {
  text-decoration: none;
  color: #4C4E51;
  display: block;
}

.works-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.works-thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.works-title {
  transition: color 0.3s ease;
  padding: 1.25rem;
  padding-bottom: 65px;
}

.works-card:hover .works-title {
  color: #92959b;
}

.works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.works-card figure {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.works-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1200px) {
	.site-body {
		padding: 3.5rem 0 1rem;
	}
}

@media (min-width: 992px) {
	.site-body {
		padding: 3rem 0 1rem;
	}
}

@media (min-width: 768px) {
	.site-body {
		padding: 2.5rem 0 1rem;
	}	
	.onlySP {
		display: none !important;
	}
}

@media (max-width: 767.98px) {
	.footer-nav-list li {
		border-bottom: none;
	}
	.onlyPC {
		display: none !important;
	}
  .works-tab {
    font-size: 0.8rem;
  }
	.works-list {
    grid-template-columns: 1fr;
	}
}