/*!
Theme Name: Ogawa-Tankyu
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ogawa-tankyu
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Ogawa-Tankyu is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

/* Loading Overlay (animated by GSAP) */
#top-loading {
	z-index: 999;
	background: #fff;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	opacity: 1;
}

/* Base Styles with rem */
html {
	scroll-behavior: smooth;
	font-size: 16px;
	/* Base font size for rem calculations */
}

body {
	margin: 0;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 1rem;
	/* 16px */
	line-height: 1.6;
	color: #39383A;
	font-style: normal;
	position: relative;
}

/* Visually Hidden - for accessibility and SEO */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

div#page {
	overflow-x: hidden;
}

.inner {
	margin: 1rem;
	/* 16px */
}

.button-main {
	display: inline-block;
	padding: 1rem 3rem;
	line-height: 1.5;
	position: relative;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	text-align: center;
	vertical-align: middle;
	letter-spacing: 0.1em;
}

.button-main p {
	font-weight: 700;
	font-size: 1.125rem;
}

.button-main span {
	position: absolute;
	top: calc(50% - .5em);
	right: 1rem;
}

.button-main.square {
	border-radius: 4px;
}

.button-main.round {
	border-radius: 100px;
}

.button-main.darkblue {
	background-color: #3b8fc6;
	color: #fff;
}

.button-main.darkblue:hover {
	background-color: #fff;
	color: #3b8fc6;
	box-shadow: inset 0 0 0 2px #3b8fc6;
}

.button-main.white {
	background-color: #fff;
	color: #3b8fc6;
}

.button-main.white:hover {
	background-color: #3b8fc6;
	color: #fff;
	box-shadow: inset 0 0 0 2px #fff;
}

.border-main {
	width: 80%;
	margin: 0 auto;
	border-top: 0.5px solid #e3e3e3;
}

.border-wide {
	width: 100%;
	margin: 12px auto;
	border-top: 0.5px solid #e3e3e3;
}

.border-news {
	width: 100%;
	border-top: 2px solid hsl(210, 23%, 95%);
}

/* Fukidashi Start*/
.fukidashi span {
	color: #fff;
	position: relative;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 1.2px;
	display: inline-block;
}

.fukidashi span::before,
.fukidashi span::after {
	content: "";
	display: inline-block;
	background: #fff;
	width: 1px;
	position: absolute;
}

.fukidashi span::before {
	left: 0;
}

.fukidashi span::after {
	right: 0;
}

@media screen and (min-width: 768px) {
	.fukidashi span {
		padding: 0 30px;
	}

	.fukidashi span::before,
	.fukidashi span::after {
		height: 50px;
		bottom: -20px;
	}

	.fukidashi span::before {
		transform: rotate(-30deg);
	}

	.fukidashi span::after {
		transform: rotate(30deg);
	}
}

@media screen and (max-width: 767px) {
	.fukidashi span {
		display: inline-block;
		padding: 0 20px;
	}

	.fukidashi span::before,
	.fukidashi span::after {
		height: 60px;
		bottom: -5px;
	}

	.fukidashi span::before {
		transform: rotate(-20deg);
	}

	.fukidashi span::after {
		transform: rotate(20deg);
	}
}

/* Fukidashi End */
/* Font & Space
	 ========================================================================== */
.font-kurenaido {
	font-family: "Zen Kurenaido", sans-serif;
}

.font-kaku {
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.font-maru {
	font-family: "Zen Maru Gothic", serif;
	font-weight: 400;
	font-style: normal;
}

.font-bold {
	font-weight: 700;
}

.font-lightblue {
	color: #c9e4f4;
}

.font-midblue {
	color: #6eb4de;
}

.font-darkblue {
	color: #3b8fc6;
}

.section-common {
	position: relative;
	width: 100%;
	margin: 0;
	scroll-margin-top: 60px;
}

.ta-center {
	text-align: center;
}

/* Section Titles
	 ========================================================================== */
.section-title {
	font-family: "Zen Maru Gothic", serif;
	display: flex;
	letter-spacing: 2px;
}

.section-title-vertical {
	flex-direction: column;
	align-items: center;
	margin-bottom: 40px;
}

.section-title-horizontal {
	flex-direction: row;
	align-items: center;
	margin-bottom: 20px;
}

.section-title-vertical img {
	width: 50px;
	height: auto;
	margin-bottom: 8px;
}

.section-title-horizontal img {
	width: 32px;
	height: auto;
	margin-right: 8px;
}

.section-maintitle {
	font-size: 1.75rem;
	font-weight: 500;
}

.section-title-vertical .section-maintitle {
	color: #fff;
}

.section-title-vertical.black .section-maintitle {
	color: #39383A;
}

.section-title-horizontal .section-maintitle {
	margin-right: 8px;
}

.section-subtitle {
	font-size: 1.125rem;
}

.section-title-vertical .section-subtitle {
	align-items: center;
	display: flex;
	justify-content: center;
	color: #fff;
}

.section-title-vertical.black .section-subtitle {
	color: #39383A;
}

.section-title-vertical .section-subtitle::before,
.section-title-vertical .section-subtitle::after {
	background-color: #fff;
	border-radius: 5px;
	content: "";
	height: 1px;
	width: 40px;
}

.section-title-vertical.black .section-subtitle::before,
.section-title-vertical.black .section-subtitle::after {
	background-color: #39383A;
}

.section-title-vertical .section-subtitle::before {
	margin-right: 15px;
}

.section-title-vertical .section-subtitle::after {
	margin-left: 15px;
}

/* Header
	 ========================================================================== */

/* Sections
	 ========================================================================== */
.heroheader-bg::after {
	content: '';
	height: 60px;
	width: 100%;
	background-image: linear-gradient(0deg, rgba(255, 255, 255, 1) 20%, rgba(255, 255, 255, 0));
	z-index: 5;
	display: inline-block;
	position: absolute;
	bottom: -5px;
}

.heroheader-bg {
	width: 100%;
	height: 80vh;
	min-height: 500px;
	z-index: 4;
	background-image: url(assets/img/heroheader-min.jpeg);
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	position: relative;
}

.heroheader-box {
	margin-bottom: 120px;
	position: relative;
	z-index: 6;
}

.heroheader-title {
	font-size: 2.25rem;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 4px;
	position: relative;
	top: -80px;
	margin: 0;
	margin-bottom: -80px;
}

.typing-text {
	display: inline-block;
}

.typing-text .char {
	display: inline-block;
	opacity: 0;
}

.heroheader-text {
	margin-top: 20px;
	line-height: 1.7;
	font-size: 1.125rem;
	font-weight: 400;
}

/* Sections News
	 ========================================================================== */
#section-news {
	padding-bottom: 220px;
	position: relative;
	z-index: 1;
	scroll-margin-top: 60px;
}



.meta-containers {
	display: flex;
	align-content: stretch;
	margin-bottom: 16px;
}

.meta-containers p {
	margin-right: 20px;
}

.meta-containers .post-categories {
	display: flex;
	flex-direction: column;
}

.post-categories>*:not(:first-child) {
	margin-top: 8px;
}



.news-items {
	padding: 12px;
	margin-left: -12px;
	margin-right: -12px;
	border-radius: 8px;
	transition: background-color 0.2s ease;
}

.news-items:hover {
	background-color: rgba(59, 143, 198, 0.05);
}

a.news-title {
	text-decoration: none;
	display: block;
	padding-bottom: 4px;
	min-height: auto;
	width: 100%;
}

a.news-title>h3,
a.news-title>h2 {
	font-size: 1.125rem;
	font-weight: 700;
	color: #39383A;
	/* 2行に制限 */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.6;
	/* 1行でも2行分の高さを確保 (1.125rem * 1.6 * 2) */
	min-height: calc(1.125rem * 1.6 * 2);
}

/* ピン留め記事のスタイル */
.news-items.news-sticky {
	background-color: rgba(59, 143, 198, 0.08);
	border-radius: 8px;
	padding: 12px;
	margin-left: -12px;
	margin-right: -12px;
}

.news-pin {
	display: inline-flex;
	align-items: center;
	color: #3b8fc6;
	font-size: 0.875rem;
	font-weight: 600;
	gap: 2px;
	margin-left: auto;
}

.news-pin .material-symbols-outlined {
	font-size: 1rem;
	transform: rotate(45deg);
}

.news-more {
	text-align: right;
	margin-top: 24px;
	padding-top: 16px;
}

.news-more>a {
	display: inline-flex;
	color: #3b8fc6;
	align-items: center;
	padding: 8px 16px;
	border-radius: 8px;
	transition: background-color 0.2s ease;
}

.news-more>a:hover {
	background-color: rgba(59, 143, 198, 0.1);
}

.news-more>a>p {
	margin-right: 8px;
	font-weight: 700;
}

/* Sections Services
	 ========================================================================== */
#section-services {
	background-color: #c9e4f4;
	padding-bottom: 180px;
}

#section-services::before {
	content: '';
	background: url('assets/img/bg-1.svg');
	background-repeat: no-repeat;
	width: 100%;
	height: 120px;
	position: absolute;
	left: 0;
	top: -100px;
}

.inner.inner-services {
	margin: 0;
	display: flex;
	flex-direction: column;
	position: relative;
}

/* Background elements that follow content height */
.services-bg {
	position: absolute;
	z-index: -1;
	width: 96vw;
	border-radius: 500px;
}

.services-bg-white {
	background-color: rgba(255, 255, 255, 0.7);
	right: 0;
	border-top-left-radius: 500px;
	border-bottom-left-radius: 500px;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.services-bg-blue {
	background-color: rgba(59, 143, 198, 0.7);
	left: 0;
	width: 92vw;
	border-top-right-radius: 500px;
	border-bottom-right-radius: 500px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.services-container p,
.services-container-sub p {
	font-size: 1.125rem;
}

.services-container {
	display: flex;
	flex-direction: column;
	width: 88%;
	margin: 0 0 140px;
	align-self: flex-end;
}

.services-container .services-items {
	width: 76%;
	margin-bottom: 40px;
	margin-right: 20px;
	align-self: flex-end;
}

.services-container.reverse .services-items:last-child {
	margin-right: 0;
	margin-left: 20px;
	align-self: flex-start;
}

.services-container .services-items:first-child {
	width: 80%;
	max-width: 450px;
	margin: 0 0 28px 20px;
	align-self: center;
}

.services-container .services-items img {
	border-radius: 8px;
}

.services-container:last-child .services-items img {
	box-shadow: 7px 7px 5px rgba(0, 0, 0, 0.1);
	border: 12px solid #FFF;
	border-radius: 1px;
	transform: rotateZ(6deg);
}

.services-container:last-child {
	color: #fff;
	align-self: flex-start;
}

h3.services-name {
	font-size: 1.75rem;
	margin-bottom: 12px;
	letter-spacing: 1.3px;
	font-family: "Zen Maru Gothic", serif;
	font-weight: 700;
}

.services-text {
	margin-bottom: 32px;
	line-height: 1.7;
}

.services-container-sub {
	display: flex;
	flex-direction: column;
}

.services-container-sub .services-items {
	margin-bottom: 60px;
	background-color: #EEF6FB;
	border-radius: 200px 200px 60px 60px;
	padding: 20px 20px 40px;
	position: relative;
}

.services-container-sub .services-items:first-child {
	margin-bottom: 120px;
}

.services-container-sub .services-items img {
	border-radius: 4px;
	margin-bottom: 20px;
}

.services-container-sub h3 {
	font-size: 1.5rem;
	text-align: center;
}

.fukidashi-prelabo {
	text-align: center;
	position: absolute;
	top: -60px;
	left: 0;
	right: 0;
}

.fukidashi-prelabo span {
	font-weight: 500;
	letter-spacing: 1.8px;
}

/* Sections About
	 ========================================================================== */
#section-curiosity {
	background-color: #6eb4de;
	padding-bottom: 160px;
}

#section-curiosity::before {
	content: '';
	background: url('assets/img/bg-2.svg');
	background-repeat: no-repeat;
	width: 100%;
	height: 120px;
	position: absolute;
	left: 0;
	top: -100px;
}

.about-container {
	background-color: #fff;
	border-radius: 44px;
	padding: 20px;
	margin-top: 80px;
	margin-bottom: 60px;
	position: relative;
}

.about-note {
	background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%),
		/* 点線1の色 */
		linear-gradient(180deg, #ccc 1px, transparent 1px);
	/* 点線2の色と太さ */
	background-size: 8px 100%,
		/* 点線1のサイズ */
		100% 2.8em;
	/* 点線2のサイズ */
	line-height: 2.8em;
	/* 文字の高さ */
	padding-bottom: 1px;
	/* 最終行の下にも罫線を引く */
	margin: 12px 8px 16px;
}

.about-note p {
	font-size: 1.15rem;
}

/* .about-container::before{
	content: '';
	display: inline-block;
	width: 100px;
	height: 51.8px;
	background: url('assets/img/orca-tricorne.png') no-repeat;
	background-size: contain;
	margin-right: 8px;
    position: absolute;
    right: -16px;
    top: 120px;
	transform: rotate(15deg);
	z-index:2;
} */
.about-container .about-items-img img {
	position: relative;
	top: -80px;
	border-radius: 28px;
	width: 92%;
	margin: 0 auto -80px;
}

.inner.inner-explanation {
	margin: 0 auto 140px;
	display: flex;
	flex-direction: column;
	position: relative;
}

.inner.inner-explanation::before {
	content: "";
	width: 98vw;
	height: 300px;
	background-color: rgba(255, 255, 255, 0.92);
	position: absolute;
	bottom: -42px;
	left: 0;
	z-index: -7;
	border-top-right-radius: 200px;
	border-bottom-right-radius: 200px;
}

.inner.inner-explanation::after {
	content: "";
	width: 80vw;
	height: 320px;
	background-color: #3b8fc6;
	position: absolute;
	bottom: -16px;
	right: 0;
	z-index: -8;
	border-top-left-radius: 200px;
	border-bottom-left-radius: 200px;
}

.fukidashi.explanation-orca {
	transform: rotate(7deg);
}

.fukidashi.explanation-orca span::before,
.fukidashi.explanation-orca span::after {
	background: transparent;
}

.explanation-items img {
	height: 200px;
	transform: rotate(-5deg);
	margin-bottom: 12px;
}

.explanation-items:first-child {
	margin-left: 16px;
	margin-bottom: 80px;
	position: relative;
}

.introduction-box {
	position: absolute;
	left: 140px;
	bottom: 48px;
	color: #fff;
}

.explanation-items:last-child {
	display: flex;
	justify-content: center;
	align-items: center;
}

.introduction-position {
	font-size: 1.125rem;
}

.introduction-name {
	font-size: 1.5rem;
}

.formula-left {
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size: 1.75rem;
	font-weight: 900;
	color: #fff;
	letter-spacing: 24px;
	background-color: #3b8fc6;
	padding: 36px 8px 20px;
	border-radius: 4px;
}

.formula-middle {
	font-size: 1.5rem;
	font-weight: 900;
	margin: 0 20px;
}

.formula-right {
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: 4px;
}

.inquiry-container {
	display: flex;
	flex-direction: column;
}

.inquiry-items {
	background-color: rgba(255, 255, 255, 0.8);
	width: 300px;
	height: 300px;
	padding: 20px;
	margin: 0 auto 120px;
	border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
	position: relative;
	display: flex;
	flex-direction: column;
	animation: fluidrotate-a 30s ease 0s infinite;
	/*アニメーションの設定*/
}

.inquiry-items::after {
	content: "";
	background-color: rgba(255, 255, 255, 0.8);
	display: inline-block;
	width: 300px;
	height: 300px;
	border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
	z-index: -1;
	position: absolute;
	top: 0;
	animation: fluidrotate-a 20s ease 0s infinite;
	/*アニメーションの設定*/
}

@keyframes fluidrotate-a {

	0%,
	100% {
		border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
	}

	7% {
		border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;
	}

	14% {
		border-radius: 61% 39% 67% 33%/70% 50% 50% 30%;
	}

	28% {
		border-radius: 54% 46% 38% 62%/49% 70% 30% 51%;
	}

	35% {
		border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;
	}

	42% {
		border-radius: 61% 39% 55% 45%/61% 38% 62% 39%;
	}

	56% {
		border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;
	}

	62% {
		border-radius: 61% 39% 67% 33%/70% 50% 50% 30%;
	}

	76% {
		border-radius: 50% 50% 34% 66%/56% 68% 32% 44%;
	}

	88% {
		border-radius: 46% 54% 50% 50%/35% 61% 39% 65%;
	}
}

.inquiry-items:nth-child(2) {
	animation: fluidrotate-b 30s ease 0s infinite;
	/*アニメーションの設定*/
}

.inquiry-items:nth-child(2)::after {
	animation: fluidrotate-b 20s ease 0s infinite;
	/*アニメーションの設定*/
}

@keyframes fluidrotate-b {

	0%,
	100% {
		border-radius: 46% 54% 50% 50%/35% 61% 39% 65%;
	}

	11% {
		border-radius: 50% 50% 34% 66%/56% 68% 32% 44%;
	}

	30% {
		border-radius: 61% 39% 67% 33%/70% 50% 50% 30%;
	}

	44% {
		border-radius: 61% 39% 55% 45%/61% 38% 62% 39%;
	}

	53% {
		border-radius: 54% 46% 38% 62%/49% 70% 30% 51%;
	}

	71% {
		border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;
	}

	86% {
		border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
	}
}

.inquiry-items::before {
	position: absolute;
	z-index: -8;
	color: rgba(255, 255, 255, 0.4);
	font-size: 3.0rem;
	font-weight: 900;
	letter-spacing: 8px;
}

.inquiry-items:first-child::before {
	content: "Idea";
	top: -76px;
	left: 20px;
}

.inquiry-items:nth-child(2)::before {
	content: "Challenge";
	top: -82px;
	right: -32px;
}

.inquiry-items:last-child::before {
	content: "Teamwork";
	top: -82px;
	left: -12px;
}

.inquiry-items img {
	height: 150px;
	margin: -40px auto 12px;
}

.inquiry-items p {
	text-align: center;
}

.inquiry-title {
	font-size: 1.75rem;
	font-weight: 700;
	margin-bottom: 8px;
}

.inquiry-text {
	font-size: 1.125rem;
}

/* Sections Policy
	 ========================================================================== */
#section-policy {
	background-color: #c9e4f4;
	padding-bottom: 260px;
	padding-top: 20px;
}

#section-policy::before {
	content: '';
	background: url('assets/img/bg-1.svg');
	background-repeat: no-repeat;
	width: 100%;
	height: 120px;
	position: absolute;
	left: 0;
	top: -100px;
}

.policy-container {
	display: flex;
	flex-direction: column;
}

.policy-items {
	background-color: rgba(255, 255, 255, 0.6);
	margin-top: 80px;
	margin-bottom: 20px;
	padding: 1.5rem;
	position: relative;
}

.policy-items::before {
	position: absolute;
	top: -80px;
	left: 20px;
	z-index: 1;
	color: #fff;
	font-size: 5.0rem;
	font-weight: 900;
	letter-spacing: 8px;
}

.policy-items:first-child::before {
	content: "01";
}

.policy-items:nth-child(2)::before {
	content: "02";
}

.policy-items:last-child::before {
	content: "03";
}

.policy-items::after {
	position: absolute;
	top: -32px;
	right: 20px;
	z-index: 1;
	color: #fff;
	font-size: 2.25rem;
	font-weight: 700;
}

.policy-items:first-child::after {
	content: "Mission";
}

.policy-items:nth-child(2)::after {
	content: "Vision";
}

.policy-items:last-child::after {
	content: "Value";
}

.policy-items h3 {
	font-size: 1.75rem;
	margin-bottom: 8px;
}

.policy-items p {
	text-align: center;
	font-size: 1.125rem;
	letter-spacing: 1.2px;
	margin-bottom: 20px;
}

.policy-items img {
	height: 110px;
	margin: 0 auto;
}

.representative-container {
	background-color: #fff;
	border-radius: 4px;
	padding: 28px 20px;
	margin-top: 60px;
}

.message-box {
	margin-bottom: 28px;
}

.message-title {
	font-size: 1.5rem;
	margin-bottom: 12px;
	text-align: left;
}

.message-text {
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.6;
}

.profile-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
}

.profile-items>img {
	margin-bottom: 16px;
}

.profile-name,
.profile-name-eng {
	text-align: center;
}

.profile-name-eng {
	letter-spacing: 1.1px;
	font-weight: 300;
}

.profile-name {
	margin-bottom: 12px;
	font-size: 1.75rem;
}

.profile-background {
	font-weight: 500;
	font-size: 1rem;
	line-height: 1.6;
}

/* Sections Contact
	 ========================================================================== */
#section-contact {
	background-color: #3b8fc6;
	padding-bottom: 80px;
}

#section-contact::before {
	content: '';
	background: url('assets/img/bg-3.svg');
	background-repeat: no-repeat;
	width: 100%;
	height: 120px;
	position: absolute;
	left: 0;
	top: -100px;
}

.contact-container {
	background-color: #fff;
	border-radius: 44px;
	padding: 40px 0 60px;
	position: relative;
}

.contact-orca {
	display: inline-block;
	width: 99px;
	height: 152px;
	background: url('assets/img/orca.png') no-repeat;
	background-size: contain;
	position: absolute;
	right: 20px;
	top: 60px;
	z-index: -1;
}

.form-box {
	padding: 12px 20px 0;
	max-width: 600px;
	margin: 0 auto;
}

.wpcf7-text,
.wpcf7-textarea {
	width: 100%;
	max-width: 600px;
	margin: 0 auto 20px;
	background-color: #f1f1f1;
	border: none;
	border-radius: 4px;
}

.wpcf7-textarea {
	margin-bottom: 40px;
}

.form-items-title {
	margin-bottom: 8px;
}

.form-submit {
	text-align: center;
}

.wpcf7-form-control.wpcf7-submit {
	border: 1px solid transparent;
	background: #3b8fc6;
	color: #ffffff;
	letter-spacing: 2px;
	border-radius: 4px;
	font-size: 1.4em;
	padding: 8px 24px 8px 28px;
	transition: all 0.3s ease;
	cursor: pointer;
}

.wpcf7-form-control.wpcf7-submit:hover {
	border: 1px solid #3b8fc6;
	background: #ffffff;
	color: #3b8fc6;
}

.wpcf7-spinner {
	position: absolute;
}

/* Footer
	 ========================================================================== */
#footer-main,
#footer-sub {
	background-color: #3b8fc6;
	color: #fff;
	position: relative;
}

#footer-sub::before {
	content: '';
	background: url('assets/img/bg-3.svg');
	background-repeat: no-repeat;
	width: 100%;
	height: 120px;
	position: absolute;
	left: 0;
	top: -100px;
	z-index: -1;
}

.footer-img img {
	width: 70%;
	max-width: 600px;
	margin: 0 auto 40px;
}

.footer-img img:last-child {
	width: 60%;
	max-width: 400px;
}

.footer-nav {
	margin-bottom: 80px;
}

.footer-nav ul {
	z-index: 3;
	position: relative;
	width: 200px;
	margin: 0 auto;
	padding-left: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	list-style: none;
}

.footer-nav ul li {
	margin-bottom: 12px;
}

.footer-nav ul li a {
	color: #fff;
	letter-spacing: 0.1em;
	padding: 0 24px;
	text-decoration: none;
	display: inline-block;
	white-space: nowrap;
	text-align: left;
	width: 100%;
}

.footer-info {
	text-align: center;
	font-size: 0.75rem;
	padding-bottom: 20px;
}

/* Navigation
	 ========================================================================== */
a {
	text-decoration: none;
}

ul,
li {
	list-style: none;
}

/* ヘッダー */
header#header-main {
	transition: background-color 0.4s ease;
}

header#header-main.change-color {
	background-color: #fff;
}

.header__title {
	position: relative;
}

.header-logo,
.header-logo-white {
	width: 100%;
	height: auto;
	transition: opacity 0.4s ease;
}

.header-logo {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}

.header-logo-white {
	opacity: 1;
}

header#header-main.change-color .header-logo {
	opacity: 1;
}

header#header-main.change-color .header-logo-white {
	opacity: 0;
}

header#header-main.change-color .hamburger span {
	background-color: #39383A;
	transition: background-color 0.4s ease;
}

.header {
	width: 100%;
	height: 50px;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
}

.header-overlay {
	display: none;
}

.header-overlay.active {
	display: block;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.25);
	position: absolute;
	z-index: 0;
}

.header__inner {
	padding: 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: inherit;
	position: relative;
}

.header__title {
	width: 120px;
}

.header__nav {
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
	width: 100%;
	height: 100vh;
	transform: translateX(100%);
	background-color: #3b8fc6;
	transition: ease .4s;
}

.nav-items {
	position: absolute;
	top: 50%;
	left: 140px;
	transform: translate(-50%, -50%);
	padding: 0;
}

.nav-items__item a {
	color: #fff;
	width: 100%;
	display: block;
	text-align: left;
	font-size: 1.125rem;
	margin-bottom: 24px;
	position: relative;
	transition: opacity 0.2s ease;
}

.nav-items__item a::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #fff;
	transition: width 0.3s ease;
}

.nav-items__item a:hover::after {
	width: 100%;
}

.nav-items__item:last-child a {
	margin-bottom: 0;
}

/* ハンバーガーメニュー */
.header__hamburger {
	width: 48px;
	height: 100%;

}

.hamburger {
	background-color: transparent;
	border-color: transparent;
	z-index: 9999;
}

.hamburger span {
	width: 100%;
	height: 1px;
	background-color: #fff;
	position: relative;
	transition: ease .4s;
	display: block;
}

#js-hamburger-sub span {
	background-color: #39383A;
}

.hamburger span:nth-child(1) {
	top: 0;
}

.hamburger span:nth-child(2) {
	margin: 8px 0;
}

.hamburger span:nth-child(3) {
	top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
	transform: translateX(120px);
}

.hamburger.active span:nth-child(1) {
	top: 5px;
	transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;

}

.hamburger.active span:nth-child(3) {
	top: -13px;
	transform: rotate(-45deg);
}

/* Background
	 ========================================================================== */
#particles-js {
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.content-wrapper {
	z-index: 2;
	position: relative;
	width: 100%;
	height: 100%;
}

/* Article
	 ========================================================================== */
.article-background {
	margin-bottom: 200px;
	position: relative;
	padding: 20px 20px 120px;
	z-index: 0;
}

.article-frame {
	background-color: #fff;
	box-shadow: 3px 10px 30px 10px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	padding: 20px 20px 80px;
	max-width: 936px;
	margin: 80px auto 20px;
	position: relative;
}

.article-frame::before {
	content: '';
	display: inline-block;
	width: 70px;
	height: 120px;
	background: url('assets/img/orca.png') no-repeat;
	background-size: contain;
	margin-right: 8px;
	position: absolute;
	right: 20px;
	top: -62px;
	z-index: -1;
}

.post-header {
	display: flex;
	flex-direction: column;
	margin-bottom: 16px;
}

.page-header {
	display: flex;
}

.page-header img {
	width: 24px;
	height: 20px;
	margin-top: 4px;
}

.post-title {
	font-size: 1.25rem;
	font-weight: 500;
	margin-bottom: 12px;
}

.page-title {
	font-size: 1.25rem;
	margin-left: 12px;
}

.post-meta-container {
	display: flex;
	align-items: center;
	margin-bottom: 6px;
}

.post-time {
	color: #696969;
	font-size: 0.875rem;
	margin-right: 12px;
	margin-top: 2px;
}

.post-categories a {
	color: #3b8fc6;
	background-color: transparent;
	border: 1px solid #3b8fc6;
	border-radius: 100px;
	padding: 3px 12px 4px;
	margin-right: 8px;
	font-size: 0.875rem;
	transition: all 0.2s ease;
}

.post-categories a:hover {
	background-color: #3b8fc6;
	color: #fff;
}

.post-content {
	white-space: normal;
	word-wrap: break-word;
}

.page-thumbnail img,
.post-thumbnail img {
	height: 100%;
	max-height: 500px;
	width: auto;
	margin: 0 auto;
}

.post-around {
	display: flex;
	justify-content: center;
	align-items: center;
}

.post-around>a {
	display: flex;
	align-items: center;
	color: #3b8fc6;
	margin: 32px 12px 16px;
}

/* News Page
	 ========================================================================== */
#page-news {
	margin-top: 100px;
}

/* 検索フォーム */
.news-search-box {
	margin-bottom: 32px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.news-search-form {
	display: flex;
	max-width: 400px;
	width: 100%;
	border: 2px solid #3b8fc6;
	border-radius: 100px;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}

.news-search-form:focus-within {
	box-shadow: 0 0 0 3px rgba(59, 143, 198, 0.2);
}

.news-search-input {
	flex: 1;
	padding: 12px 20px;
	border: none;
	font-size: 1rem;
	outline: none;
	background-color: transparent;
}

.news-search-input::placeholder {
	color: #aaa;
}

.news-search-button {
	padding: 12px 16px;
	background-color: #3b8fc6;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.news-search-button:hover {
	background-color: #2d7ab0;
}

.news-search-button .material-symbols-outlined {
	color: #fff;
	font-size: 1.25rem;
}

.news-search-result {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 16px;
	padding: 12px 16px;
	background-color: rgba(59, 143, 198, 0.08);
	border-radius: 8px;
}

.news-search-result p {
	margin: 0;
	color: #39383A;
}

.news-search-clear {
	color: #3b8fc6;
	font-size: 0.875rem;
	text-decoration: none;
	padding: 4px 12px;
	border: 1px solid #3b8fc6;
	border-radius: 100px;
	transition: all 0.2s ease;
}

.news-search-clear:hover {
	background-color: #3b8fc6;
	color: #fff;
}

.news-pagination {
	text-align: center;
	margin-top: 40px;
}

.news-pagination .page-numbers {
	padding: 8px 16px;
	color: #3b8fc6;
}

.news-pagination .page-numbers.current {
	background-color: #3b8fc6;
	border-radius: 2px;
	color: #ffffff;
}

/* Error
	 ========================================================================== */

#page-error {
	margin-top: 120px;
}

.section-error {
	min-height: 500px;
	display: flex;
	flex-direction: column;
}

.section-error img {
	width: 60%;
	margin: 0 auto 40px;
	max-width: 400px;
}

.section-error h1 {
	font-size: 1.125rem;
	text-align: center;
	margin-bottom: 20px;
}

.section-error p {
	font-size: 1.125rem;
	text-align: center;
}

/* Footer Privacy
	 ========================================================================== */
.footer-privacy {
	text-align: center;
	margin: 20px 0 8px;
	position: relative;
	z-index: 3;
}

.footer-privacy a {
	color: #fff;
	font-size: 0.875rem;
	text-decoration: none;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.footer-privacy a:hover {
	opacity: 1;
	text-decoration: underline;
}

/* Page Content (WordPress Blocks)
	 ========================================================================== */
.page-content {
	line-height: 1.8;
}

.page-content h2.wp-block-heading {
	font-size: 1.5rem;
	font-weight: 700;
	color: #3b8fc6;
	margin: 40px 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #3b8fc6;
}

.page-content h3.wp-block-heading {
	font-size: 1.25rem;
	font-weight: 600;
	color: #39383A;
	margin: 32px 0 16px;
	padding-left: 12px;
	border-left: 4px solid #3b8fc6;
}

.page-content p {
	margin-bottom: 16px;
	text-align: justify;
}

.page-content a {
	color: #3b8fc6;
	text-decoration: underline;
	transition: opacity 0.3s ease;
}

.page-content a:hover {
	opacity: 0.7;
}