/*
Theme Name: Lightning Child
Template: lightning
Version: 1.0.0
*/

/* ============ 共通 ============= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&display=swap');

/* デザイン用カラー */
:root {
  --ss-primary-color: #053e64;
  --ss-primary-color-translucent: #00689699;
  --ss-secondary-color: #006896;
}

/* ページ上部 */
.breadcrumb {
	display: none;
}

/* フッター */
footer aside {
	margin: 0 !important;
}

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

@media (max-width: 767px) {
	footer > .site-footer-content > .row {
		gap: 16px;
	}
}

/* ページヘッダー */
.page-header {
	height: 150px;
	color: #3a3a3a;
	background-color: #f5f5f5;
}

.page-header-title, h1.page-header-title {
	font-size: 3rem;
}

.page-header-title span {
	display: block;
}

.page-title-sub {
    margin-top: 4px;
    font-size: 1.25rem;
    color: #777;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.page-header {
		height: 130px;
	}
}

/* ========== TOPページ ========== */
body.home .site-body {
	padding: 0;
}

/* 見出し */
body.home h2 {
	letter-spacing: 0.08em;
}

/* ヒーローエリア */
.hero-section {
	height: 600px;
}

.hero-section > .wp-block-cover__inner-container {
	max-width: unset !important;
}

.hero-panel {
	background: var(--ss-primary-color-translucent);
	font-family: "Noto Serif JP", sans-serif;
	font-size: 3rem;
}

@media (max-width: 767px) {
	.hero-section {
		height: 320px;
		min-height: unset;
		display: flex;
        align-items: flex-end;
	}
	
	.hero-panel {
		width: 100%;
		max-width: unset;
		padding: 16px 0;
		text-align: center;
		font-size: 2rem;
	}
}

@media (min-width: 768px) {
	.hero-section > .wp-block-cover__inner-container {
		display: flex;
		justify-content: flex-start;
		align-items: center;
	}

	.hero-panel {
		margin-left: 0 !important;
		padding: 24px 60px;
	}
}

/* About Usセクション */
.top-about-us-section {
	margin: 60px 0 100px;
}

.top-about-us-contents {
	margin: 20px 0 0 !important;
	text-align: center;
}

.top-about-us-contents p {
	margin: 24px 0 0 !important;
}

.top-about-us-contents p:first-child {
    display: inline;
	font-size: clamp(1.5rem, 6.5vw, 2.5rem);
	background: linear-gradient(transparent 70%, #0099ff75 30%);
	background-repeat: no-repeat;
    background-size: 0%;
    animation: underLine 1.5s ease 2.5s forwards;
}

@keyframes underLine {
    100% {
        background-size: 100%;
    }
}

.top-about-us-buttons {
	margin: 32px 0 0 !important;
}

@media (max-width: 767px) {
	.top-about-us-section {
		margin: 36px 0 50px;
	}
}

/* Servicesセクション */
.top-services-section {
	margin: 60px 0 100px !important;
}

.top-services-card-container {
	margin: 36px 0 0 !important;
	padding: 0 20px;
	display: flex;
	justify-content: center;
}

.top-services-card {
	width: 100%;
	max-width: 1110px;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.top-services-thumbnail {
	flex: 0 0 33% !important;
}

.top-services-contents-wrapper {
	flex: 1;
}

.top-services-contents {
	max-width: 640px;
	padding: 0 16px;
}

.top-services-contents > p {
	margin: 8px 0 0 !important;
}

.top-services-buttons > div {
	margin: 24px 0 0 !important;
	justify-content: space-around !important;
}

.top-services-buttons > div > div {
	width: 45% !important;
}

@media (max-width: 767px) {
	.top-services-section {
		margin: 36px 0 50px !important;
	}
	
	.top-services-card-container {
		margin-top: 20px !important;
	}

	.top-services-card {
		max-width: 480px;
		flex-direction: column;
	}
	
	.top-services-thumbnail {
		width: 60%;
	}
	
	.top-services-contents {
		padding: 8px 16px 24px;
	}
	
	.top-services-buttons > div {
		margin: 16px 0 0 !important;
		flex-direction: column;
		justify-content: center !important;
		gap: 12px;
	}
	
	.top-services-buttons > div > div {
		width: 80% !important;
	}
}

@media (min-width: 768px) {
	.top-services-card {
		flex-direction: row;
	}
}

/* Partnersセクション */
.top-partners-section {
	margin: 60px 0 100px !important;
}

.wp-block-uagb-image-gallery {
	margin-top: 16px !important;
}

.slick-list.draggable {
	pointer-events: none;
}

@media (max-width: 767px) {
	.top-partners-section {
		margin: 36px 0 50px !important;
	}
}

/* Newsセクション */
.top-news-section {
	margin: 60px 0 100px !important;
}

.wp-block-uagb-tabs {
	margin-top: 16px !important;
}

.news-ul {
	min-height: 175px;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.news-ul > p {
	padding-top: 20px;
	text-align: center;
}

.news-col {
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #ddd;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
}

.news-col:first-child {
	border-top: 1px solid #ddd;
}

.news-meta {
	display: flex;
	flex-direction: row;
	flex-shrink: 0;
	align-items: center;
	gap: 12px;
}

.news-date {
	min-width: 128px;
	white-space: nowrap;
	color: #3A3A3A;
}

.news-category {
	min-width: 128px;
	height: 32px;
	padding: 6px 12px;
	display: flex;
    justify-content: center;
	align-items: center;
	font-size: 0.8rem;
	color: #fff;
	background: #666;
}

.news-content {
	flex: 1;
}

.news-title {
	color: #005aaa;
	line-height: 1.5;
	text-decoration: none;
}

.news-title:hover {
	text-decoration: underline;
}

.top-news-buttons {
	margin-top: 20px !important;
}

@media (max-width: 767px) {
	.top-news-section {
		margin: 36px 0 50px !important;
	}

	.news-col {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	
	.news-meta {
		gap: 12px;
	}
}

/* Columnsセクション */
.top-columns-section {
	margin: 60px 0 100px !important;
}

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

.note-list-col {
	margin: 0;
}

.note-list-card {
	width: 100%;
	height: 100%;
	border: solid 1px #ddd;
	border-radius: 8px;
	overflow: hidden;

	.note-list-wrapper {
		text-decoration: none;
	}

	.note-list-thumbnail {
		margin: 0;

		img {
			width: 100%;
			height: 100%;
		}
	}

	.note-list-contents {
		padding: 8px 12px 16px;
	}

	.note-list-date {
		display: block;
		font-size: 0.9rem;
		color: #9a9a9a;
	}

	.note-list-title {
		margin: 8px 0 0 0;
		padding: 0;
		border: none;
		font-size: 1rem;
		line-height: 1.25;
	}

	.note-list-title::after {
		content: none;
	}
}

.top-columns-buttons {
	margin-top: 24px !important;
}

@media (max-width: 767px) {
	.top-columns-section {
		margin: 36px 0 50px !important;
	}

	.note-list-ul {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.note-list-ul > li:nth-child(n + 4) {
		display: none;
	}

	.top-columns-buttons > div {
		justify-content: flex-end !important;
	}
}

/* ========== Servicesページ ========== */
.services-cards-container {
	margin-top: 16px;
	display: flex;
	flex-direction: row;
	justify-self: center;
	gap: 40px;
}

.services-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.services-card-contents {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.services-card-texts > p {
	margin: 8px 0 0;
}

.services-card-buttons {
	margin-top: 12px !important;
}

@media (max-width: 767px) {
	.services-cards-container {
		flex-direction: column;
	}
}

/* ========== Serviceページ ========== */
.service-intro-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
}

.service-intro-container > figure {
	flex: 0 0 33% !important;
}

.service-intro-contents {
	flex: 1;
}

.service-intro-problems {
	margin: 20px 0 0 !important;
}

.service-intro-problems ul {
	margin: 10px 0 0 !important;
}

.service-intro-problems li {
	margin: 16px 12px !important;
}

.service-advantages-container {
	display: flex;
	flex-direction: row;
	gap: 64px;
}

.service-advantage {
	flex: 1;
}

.service-advantage > figure {
	width: 80%;
	max-width: 240px;
}

.service-advantage > p {
	padding-top: 24px;
	border-top: solid 1px #bbb;
}

.service-steps-container {
	margin: 36px 0 0 0;
	display: flex;
	flex-direction: row;
}


.service-steps-item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
}

.service-steps-arrow {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.service-steps-item > p {
	margin-top: 16px;
	text-align: center;
	font-size: 1.1rem;
	font-weight: bold;
}

.service-step-chip {
	width: 120px;
	height: 32px;
	border-radius: 16px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background: #555;
	color: #fff;
}

.service-contact-button {
	margin: 12px 0 0 !important;
}

@media (max-width: 767px) {
	.service-intro-container > figure {
		display: none;
	}
	
	.service-advantages-container {
		flex-direction: column;
		gap: 16px;
	}
	
	.service-advantage > figure {
		width: 200px;
	}
	
	.service-advantage > p {
		padding-top: 16px;
	}
	
	.service-steps-container {
		margin: 20px 0 0 0;
		flex-direction: column;
		gap: 4px;
	}
	
	.service-steps-item > p {
		margin-top: 8px;
	}
	
	.service-step-chip {
		width: 200px;
	}
	
	.service-steps-arrow > span > svg {
		transform: rotate(90deg) !important;
	}
}

/* ========== Contactページ ========== */
.contact-text {
	max-width: 720px;
	margin: 0 auto 24px;
}

.wpcf7 {
	max-width: 720px;
    margin: 0 auto;
}

.wpcf7-submit {
	display: block;
	width: 200px;
	margin: 0 auto;
}

.wpcf7-spinner {
	display: block !important;
	margin: 10px auto !important;
}

/* ========== 投稿記事 ========== */
.entry-meta-item-updated, .entry-meta-item-author {
	display: none;
}

.next-prev {
	display: none;
}
