/*
Theme Name: Lightning Child
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.6.0
*/

/* COMMON */
body {
  font-family: Century Gothic, "Noto Sans JP", Arial, sans-serif;
  color: #333;
  line-height: 2 !important;
}
h1 {
	font-size: 5rem;
}
h1.entry-title {
  font-size: 2rem;
}
h2 {
  margin-top: 1em !important;
  margin-bottom: 0px !important;
  border: none;
  text-align: center;
  font-size: 3.75rem;
  font-weight: 100;
}
h2 span {
	display: block;
  line-height: normal;
	font-size: 1rem;
}
h3 {
  margin-top: 1em !important;
  margin-bottom: 0px !important;
  padding-bottom: 0px;
  border: none;
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
}
h3::after {
	border: none;
}
.h3-en {
	display: block;
	text-align: center;
}
.ourworks-column3 .h3-en {
	border-bottom: 5px solid #555;
    border-radius: 0px;
}
h4 {
	background: none;
	font-size: 1.2rem;
	border-bottom: 5px solid #555;
  border-radius: 0px;
}
.wp-block-table td, .wp-block-table th {
	padding: 1em;
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=url], select, textarea {
	border: none;
	background-color: #f1f1f1;
}
.breadcrumb {
	display: none;
}
:root {
	--vk-mobile-nav-menu-btn-bg-src: url("/teamiwakiri/wp-content/themes/lightning/_g3/inc/vk-mobile-nav/package/images/vk-menu-btn-white.svg");
}
.border-blur-red {
	margin: 50px auto !important;
	line-height: 1;
}

.btn-primary {
	background: none !important;
	border: none !important;
	color: #333;
}
.btn-primary:hover {
	color: #666;
}
.next-prev .vk_post_imgOuter_singleTermLabel {
	background-color: #000;
}
.main-section {
    padding-bottom: 60px;
}
ul.page-numbers li span.page-numbers.current {
	background: #222;
}
/* HEADER */
.header_scrolled .site-header {
    background: rgba(0, 0, 0, 0.7);
}
.site-header {
    background: rgba(0, 0, 0, 1.0);
}
.site-header-logo img {
    filter: invert(100%);
}
.global-nav-list>li:before {
    display: none;
}
/* FOOTER */
.site-footer {
	padding: 30px 0px;
    background: #000;
}
.site-footer a,
.site-footer .nav li a, nav li a{
	color: #fff;
}
.site-footer-copyright {
	color: #fff;
}
.site-footer .footer-logo {
	filter: invert(100%);	
}
/* METASLIDER */
.slides li {
    margin: 0 calc(50% - 50vw) !important;
    width: 100vw !important;
}
/* BUTTON */
.wp-block-button {
    margin: 20px !important;
    border: 1px solid #000;
    border-radius: unset;
}
.wp-block-button a {
    padding: 10px 100px;
    background: #fff !important;
    color: #000;
}
.wp-block-button a:hover {
    color: #666;
}

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


.topicks.wp-block-latest-posts li {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    border: none !important;
	flex-wrap: wrap-reverse;
    max-width: 600px;
    margin: auto;
    font-size: 14px;
	padding: 5px;
	border-bottom: 1px solid #ccc !important;
}
.topicks.wp-block-latest-posts li a.wp-block-latest-posts__post-title {
	pointer-events: none;
	width: 100%;
}
.topicks.wp-block-latest-posts li a.wp-block-latest-posts__post-title.addlink {
	pointer-events: auto;
}
.vk_post_title_new {
	display: none;
}
.vk_post_title.media-title a {
	pointer-events: none;
	font-size: 14px !important;
	font-weight: 100 !important;
}
.vk_post_btnOuter.text-right {
	display: none;
}
.vk_post-btn-display.media .vk_post_body {
	padding-bottom: 0px;
}
.vk_post_date.media-date.published {
	text-align: right;
}
.vk_post.media{
	border-bottom: none;
}
.portfolio.wp-block-latest-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 1%;
}
.portfolio.wp-block-latest-posts li {
    position: relative;
    padding: 0;
    border: none !important;
}
.portfolio.wp-block-latest-posts li a {
    position: absolute;
    left: 0;
    top: 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.8);
}
.portfolio.wp-block-latest-posts li a:hover {
    text-decoration: none !important;
}

.portfolio.wp-block-latest-posts.wp-block-latest-posts__list li {
    width: 32.3333%;
}
.wp-block-latest-posts__post-title {
    margin-left: 10px;
}
.wp-block-latest-posts__list time {
    line-height: 2.6;
	width: 100%;
}
.wp-block-latest-posts__featured-image.alignleft {
    margin-right: 0 !important;
}
.wp-block-latest-posts__featured-image img {
    width: 100%;
}
.wp-block-latest-posts__featured-image {
    float: unset !important;
}

.vk-mobile-nav-menu-btn {
	top: 16px;
    border: unset;
    background: var(--vk-mobile-nav-menu-btn-bg-src) center 50% no-repeat rgba(255, 255, 255, 0);
}
.mobile-menu-low {
    visibility: hidden;
}
.mobile-menu-low-list {
    display: none;
    width: 100%;
    margin: 0 !important;
    padding: 10px 20px;
    list-style: none;
    background: #990100;
    line-height: 1.6;
}
.mobile-menu-low-list li a {
    display: block;
    padding: 5px;
    color: #fff;
}
.mobile-menu-low-list li a:hover {
    opacity: 0.6;
}
.mobile-menu-low-list-indent {
    margin-left: 20px;
}
.global-nav-list>li.menu-item-has-children::after {
}
.global-nav-list .sub-menu li a {
	color: #fff;
}
.vk-menu-acc .sub-menu li {
	background: #fff;
}

/* NAVI */
.global-nav {
    xmargin: 0 calc(50% - 50vw);
}
.global-nav-name {
    font-weight: 100;
}
.global-nav--layout--float-right .global-nav-list {
    max-width: 1140px;
    margin: 0 auto;
	height: 100%;
}
.global-nav-list>li .global-nav-name {
    font-size: 18px;
    color: #fff;
}
.global-nav-list .menu-item a {
	position: relative;
}
.global-nav-list .menu-item a:hover::after {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}
.global-nav-list .menu-item a::after {
	content: "";
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.menu-item-has-children strong::after {
    content: ">";
    display: inline-block;
    margin-left: 10px;
    transform: rotate(90deg) scalex(0.7);
}
.global-nav-list .sub-menu li a {
    font-size: 16px;
}
.global-nav-list ul li a {
}
.global-nav-list .sub-menu li a:hover {
}

/* TOPICK */
.vk_post_imgOuter.media-img {
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #000;
    background-position: center;
}
.vk_post_imgOuter.media-img a {
    height: 100%;
    display: block;
    text-align: center;
    background: #000;
}
.vk_post .vk_post_imgOuter:before {
    padding-top: 172px;
}
.vk_post_imgOuter_img.wp-post-image {
    height: 100%;
    width: auto;
}
.vk_post_excerpt.media-text,
.vk_post .vk_post_btn {
    font-size: 16px !important;
}

/* HOME */
.text-width {
	max-width: 800px;
	margin: auto;
}

/* ORGANIZATION */
.organization figure {
	margin: 3px auto !important;
}
.organization .logo {
	margin: 0 auto 30px !important;
}
.wp-block-separator {
	margin: 20px auto !important;
}
.organization .wp-block-columns {
	align-items: center !important;
}
.organization iframe {
	width: 100%;
}
.organization .office figure {
	margin: 80px auto !important;
}

/* OURWORKS */
.ourworks {
}
.ourworks-columns .wp-block-image img {
	max-height: 18vw !important;
    width: auto;
}
.ourworks-group {
	border: 1px solid #ccc;
    padding: 0px 30px 30px;
    border-radius: 3px;
}
.wp-block-columns.ourworks-column.ourworks-column-link {
    background-image: url(/teamiwakiri/wp-content/uploads/2025/06/ourworks-border01.png);
    background-repeat: no-repeat;
    background-position: center;
}
.wp-block-column.ourworks-columns {
    margin-top: 20px;
}
.ourworks-column.ourworks-column-category {
    flex-wrap: wrap !important;
    border: 3px solid #F00;
    padding: 20px;
    margin: 0;
}
.ourworks-columns-ad,
.ourworks-columns-sd {
    background: #fff;
}
.ourworks-columns-iw {
    border: 3px solid #F00;
    margin-top: -2px !important;
    border-top: #fff solid 3px;
    padding-top: 21px;
}
.ourworks-columns-inner {
    border: 1px solid #ccc;
    padding: 0px 30px 30px;
    border-radius: 3px;
    background: #fff;
}
.ourworks-columns-bif,
.ourworks-columns-ffe {
    background: #fff;
}
.ourworks-columns-ffe {
    border: 1px solid #ff8f00;
}
.ffe-manufacturer {
    border: 1px solid #ff8f00; 
}
.ffe-manufacturer p,
.ffe-manufacturer   figure {
    padding: 20px;
}
/* PORTFOLIO */
.post-thumbnail {
    height: 100%;
}
.post-thumbnail a {
	height: 100%;
    display: block;
    text-align: center;
    background: #000;
}
.post-thumbnail img {
    height: 100%;
    width: auto;
	object-fit: cover;
}
.post-category {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}
.portfolio-box .post-category {
	line-height: 1.2;
}
.portfolio-box li {
	overflow: hidden;
    aspect-ratio: 5 / 3 auto;
}
.portfolio-modal {
	
}
.portfolio-modal-title {
	width: 100%;
	padding-bottom: 10px;
}
.portfolio-modal-text {
	width: 100%;
}
.portfolio-modal p {
	margin-block-end: 0 !important;
	padding-left: 20px;
}
.portfolio-modal p span {
	display: inline-block;
	margin-left: -20px;
	font-weight: 700;
}
.portfolio-modal-type {
	display: inline-block;
	margin-top: 10px;
	margin-right: 10px;
	padding: 8px !important;
	border: 1px solid #333;
}
.js-image {
	aspect-ratio: 5 / 3;
    width: 12%;
    height: auto;
    overflow: hidden;
	position: relative;
}
.js-image img {
	width: 150%;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.portfolio-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1%;
  padding-left: 1%;
  list-style: none;
}
.portfolio-box li {
  width: 32.3333%;
  position: relative;
  padding: 0;
  border: none !important;
}
.portfolio-box li a:hover {
	color: #333;
	cursor: pointer;
}
.post-category {
  position: absolute;
  left: 0;
  top: 0;
  padding: 5px;
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}



/* RECRUIT */

h1.recruit-title {
	margin: 0 calc(50% - 50vw) 3rem;
    width: 100vw;
    font-size: 5rem;
    background-image: url(/teamiwakiri/wp-content/uploads/2025/05/recruit-head.jpg);
    color: #fff;
    min-height: 330px;
    background-size: cover;
    background-position: center;
	line-height: 330px;
}
h1.recruit-title span {
	display: block;
	margin: auto;
	padding: 0 15px 0 15px;
}

.recruit-table {
    color: #333;
}
.recruit-table tr td:first-child {
    width: 20%;
	background: #f9f9f9;
    font-weight: 700;
}
.recruit-table tr td {
    border: none;
    font-size: 16px !important;
    border-bottom: 1px solid #eee;
}
.recruit-table h2 {
	border-bottom: 1px solid #ccc;
    padding-bottom: 0.2em;
    margin-bottom: 0.5em !important;
}
.wp-block-ub-tabbed-content-tabs-title .wp-block-ub-tabbed-content-tab-title-wrap {
    border: none;
    border-radius: unset;
}
.wp-block-ub-tabbed-content-tabs-title .wp-block-ub-tabbed-content-tab-title-wrap.active {
    background: #111;
    color: #fff;
    font-weight: 700;
}
.wp-block-ub-tabbed-content:not(.wp-block-ub-tabbed-content-pills):not(.wp-block-ub-tabbed-content-underline) .wp-block-ub-tabbed-content-tabs-content {
	border: none;
	border-top: 1px solid #d3d3d3;
}

/* CONTACT */
.main-section--col--two {
	float: none;
	margin: 0 auto;
}

.submit {
	text-align: center;
}
.submit input {
    padding: 0.5em 5em;
    border-radius: unset;
    background: #fff;
    border: 1px solid #333;
    color: #333;
	font-family: Century Gothic, "Noto Serif JP", Arial, serif;
	-webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
.submit:hover input,
.submit input[type=submit]:not(:disabled):hover {
	background: #333;
	color: #fff;
}
.required {
	display: inline-block;
    background: #333;
    color: #fff;
    padding: 0 10px;
    margin: 10px 10px;
    font-size: 12px;
}

.wpcf7 form.sent .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output{
	background: #efefef;
    padding: 20px;	
	border: none !important;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	border: none;
}
.wpcf7-spinner {
	display: block;
	margin: 10px auto;
}

@media screen and (max-width: 1199px) {
    .latestArticles-content {
        height: -webkit-fill-available;
    }
}
@media (min-width: 992px) {
	/*メインセクション*/
	.main-section--col--two {
	    width: 80%;
	}
	/*サイドバー*/
    .sub-section,
	.sideSection--col--two {
	    width: calc(20% - 3em);
	}
}
body .vk-mobile-nav {
	padding: 65px 10px 45px;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #000;
    border-bottom: #fff;
}
body .vk-mobile-nav-menu-btn {
}
body .vk-mobile-nav-menu-btn.menu-open {
    border: unset;
}
body .vk-mobile-nav nav>ul {
}
body .vk-mobile-nav .widget_nav_menu ul li a, .vk-mobile-nav nav ul li a {
    color: #fff;
}
body .mobile-nav-lower {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 30px 10px;
    text-align: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
    line-height: 2.4rem;
}
.page_top_btn {
    z-index: 10;
}
.pc-none {
    display: none;
}
.content-list ul {
    display: flex; list-style: none; gap:1%; padding: 20px; flex-wrap: nowrap;
}
.js-image {
    cursor: pointer;
}

@media screen and (max-width: 1280px) {
.global-nav-list>li .global-nav-name {
    font-size: 1.4vw;
	}	
}

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


}
@media screen and (max-width: 991.98px) {
    h2 {
        font-size: 10vw;
    }
    .pc-none {
        display: block;
    }
    #block-22 {
        margin: 0 !important
    }
    .banner a {
        margin-bottom: 0px;
    }
    .twitter-timeline-pc {
        display: block;
    }
    .sp-none {
        display: none;
    }
    .impactfactor {
        display: none;
    }
    .home .impactfactor {
        display: block;
    }
    .site-header-logo {
        margin-left: 0px !important;
        padding-top: 1rem !important;
        text-align: left;
        line-height: 2.2rem;
        font-size: 2rem;
        font-weight: 700;
    }
    .site-header-logo span {
        display: block;
        margin-bottom: 5px !important;
        padding-left: 20px;
    }
    .site-header-logo span.site-header-logo-description {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        text-align: left;
        font-size: 1rem;
    }
    .mobile-nav-btn-right .vk-mobile-nav-menu-btn, .vk-mobile-nav-menu-btn.position-right {
        right: 15px;
        top: 15px;
    }
    .footer-logo {
        width: 90%;
        margin: 30px auto;
    }
    .footer-logo p {
        padding: 0 !important;
        border: none !important;
        font-size: 2rem;
    }
    .footer-search-sp {
        display: block;
        width: 300px;
        margin: 0 auto 1.5rem;
    }
    .footer-search-pc {
        display: none;
    }
    .twitter-timeline {
        padding-left: 0px;
    }
    .twitter-timeline-wrapper {
        display: none;
    }
    .site-body-container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    .sub-section {
        width: 100%;
    }
    .sub-section aside {
    }
    .sub-section aside figure {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0px;
        margin-left: 0px !important;
        padding: 0;
        border: 1px solid #e7e7e7;
        text-align: center;
    }
    .sub-section aside figure img {
        margin: 0 auto;
    }
    .sub-section aside .atcs-book,
    .sub-section aside .atcs-impactfactor {
        border: unset;
    }
    .sub-section aside .atcs-impactfactor {
        margin-bottom: 10px;
    }
    .publicationFee-table-sp {
        display: block;
        margin-bottom: 20px;
    }
    .publicationFee-table-sp td {
        font-size: 1.2rem;
    }
    .publicationFee-table-pc {
        display: none;
    }
    .editorialBoard-table td {
      display: block;
      width: 100% !important;
      height: auto !important;
      font-size: 1.2rem;
    }
  	.latestArticles-content {
  		min-height: 500px;	
  	}
    .portfolio.wp-block-latest-posts.wp-block-latest-posts__list li {
        width: 48.99999%;
    }
    .js-image {
        cursor: pointer;
    }
	.js-image img {
		position: unset;
		transform: unset;
	}
    .portfolio-box li {
      width: 49.4999%;
    }
	.modal__container {
		padding: 20px 0px 0px;	
	}
	.content-list ul {
		padding: 20px 0px 0px;	
	}
  	.ourworks-column {
  		flex-wrap: wrap !important;
  	}
  	.ourworks-columns {
  		flex-basis: auto !important;
  		width: 100% !important;
  	}
    .ourworks-columns-bif {
         order: 2;
    }
    .ourworks-columns-iw {
         order: 1;
    }
    .ourworks-columns-ffe {
         order: 3;
    }
	.ourworks-columns .wp-block-image img {
		max-height: none !important;
		height: auto !important;
		width: 100%;
	}
    .ourworks-column.ourworks-column-category {
        border-bottom: none;
    }
    .ourworks-columns-iw {
        border-top: none;
    }
    .wp-block-columns.ourworks-column.ourworks-column-link {
        background-image: url(/teamiwakiri/wp-content/uploads/2025/06/ourworks-border02.png);
        background-repeat: repeat-y;
    }
    .ourworks-column-category {
        background-image: url(/teamiwakiri/wp-content/uploads/2025/06/ourworks-border03.png) !important;
        background-position: top !important;
    }
    .ffe-manufacturer {
        width: 100%;
    }
    .ffe-manufacturer-blank {
        display: none;
    }
	.recruit-table tr td {
		display: block !important;
		width: 100% !important;
	}
}
@media screen and (max-width: 780.999px) {
	.organization .salutation {
		display: flex;
		flex-wrap: wrap;
	}
	.organization .salutation figure {
		width: 48%;
		text-align: center;
	}
	.organization .office figure {
		margin: 10px auto !important;
	}
    .topicks.wp-block-latest-posts li {
        flex-wrap: wrap-reverse;
    }
    .wp-block-latest-posts__list time {

        width: 100%;
    }
}
@media screen and (max-width: 640px) {
	h1 {
		font-size: 4rem;
	}
    .site-header-logo span {
        font-size: 6.6vw;
    }
    .site-header-logo span.site-header-logo-description {
        font-size: 0.9rem;
    }
	h1.recruit-title {
		background-image: url(/teamiwakiri/wp-content/uploads/2025/05/recruit-head_sp.jpg);
	}
    .content-list ul {
        flex-wrap: wrap;
    }
    .js-image {
        width: 100%;
        cursor: unset;
		aspect-ratio: auto;
    }
    .content-item {
        display: none;
    }
}


@media (min-width: 576px) {
	h1.recruit-title span {
		max-width: 540px;
	}
}
@media (min-width: 768px) {
	h1.recruit-title span {
		max-width: 720px;
	}
}
@media (min-width: 992px) {
	h1.recruit-title span {
		max-width: 960px;
	}
}
@media (min-width: 1200px) {
	h1.recruit-title span {
		max-width: 1140px;
	}
}
@media (max-width: 640px) {
	h1.recruit-title {
		font-size: 4rem;
	}
}