@charset "utf-8";
/* CSS Document */
/* CSSリセットは ress.cssを使用 */


/* ----- ルート設定 ------------------------------------- */
:root {
	--color_main: #004097;
	/* メインカラー */
	--color_sub: #f0f9ff;
	/* サブカラー */
	--color_accent: #ff0000;
	/* アクセントカラー */
	--color_text: #333333;
	/* 文字色 */
	--color_bg: #ffffff;
	/* 背景色 */
	--gradient_main: linear-gradient(135deg, #007bff 0%, #051d35 100%);
	--gradient_dark: linear-gradient(135deg, #004097 0%, #051d35 100%);
	/* コンテナの共通幅 */
	--content_width_responsive: clamp(320px, 80vw, 1000px);
}



/* ----- 基本設定 ------------------------------------- */
body {
	font-size: 1.6em;
	/* bodyのフォントサイズを1.6em（16px）に設定 */
	font-family: "Yu Gothic medium", YuGothic, "Hiragino Sans", Meiryo, "sans-serif";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: var(--color_text);
}

/* ルートの文字サイズを10pxに設定 */
html {
	font-size: 62.5%;
	/* 1rem = 10px */
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
}

a:link,
a:visited,
a:hover,
a:active {
	color: var(--color_main);
}

ul {
	list-style: none;
}

/* グラデーション文字 */
.gradientTxt {
	background: var(--gradient_main);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	width: fit-content;
}

h3>span.gradientTxt {
	margin-inline: auto;
}

.gradientBgMain {
	background: var(--gradient_main);
}

.gradientBgDark {
	background: var(--gradient_dark);
}


#hide {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100vh;
}

.hideShowContents {
	display: none;
	flex: 1;
}

#hide .hideShowContents {
	display: flex;
	align-items: center;
	justify-content: center;
	order: 2;
	font-size: 1.5em;
}

#hide header {
	order: 1;
}

#hide main {
	order: 3;
	display: none;
}

#hide footer {
	order: 4;
}

.hideShowContents+main {
	display: none;
}

/* YouTubeのiframeに対する指定 */
iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"] {
	width: 100%;
	max-width: 100%;
	/* 親要素からはみ出すのを防止 */
	height: auto;
	aspect-ratio: 16 / 9;
	/* 16:9の比率を維持 */
	display: block;
}

/* ----- END/基本設定 ------------------------------------- */


header {
	position: relative;
}

header::before,
header::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

header::before {
	background-image: url(../images/header_left.jpg);
	/* ▼ メインの指定（対応している方をブラウザが自動選択） */
	background-image: -webkit-image-set(url("../images/header_left.webp") type("image/webp"),
			url("../images/header_left.jpg") type("image/jpeg"));
	background-image: image-set(url("../images/header_left.webp") type("image/webp"),
			url("../images/header_left.jpg") type("image/jpeg"));
	background-repeat: no-repeat;
	background-position: left top;
	background-size: contain;
}

header::after {
	background-image: url(../images/header_right.jpg);
	/* ▼ メインの指定（対応している方をブラウザが自動選択） */
	background-image: -webkit-image-set(url("../images/header_right.webp") type("image/webp"),
			url("../images/header_right.jpg") type("image/jpeg"));
	background-image: image-set(url("../images/header_right.webp") type("image/webp"),
			url("../images/header_right.jpg") type("image/jpeg"));
	background-repeat: no-repeat;
	background-position: right top;
	background-size: contain;
}

.header_main {
	min-height: 380px;
	width: var(--content_width_responsive);
	margin-inline: auto;
	padding: 4rem 0;
}

.header_main>*:not(.gradientTxt) {
	text-shadow: 4px 0px 2px rgba(255, 255, 255, 0.8);
}

h3 {
	text-align: center;
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 2em;
}

.enTitle {
	display: block;
	font-size: 3em;
	margin-bottom: 0;
	line-height: 1.2;
	/* ▼ Google FontsのOswaldを適用 */
	font-family: "Oswald", sans-serif;
	font-weight: 700;
	/* ★必ず700を指定（読み込んだ太さに合わせるため） */
	/* 小文字で書いても自動で大文字にする */
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.header_sitename {
	font-size: 6em;
	font-weight: bold;
	letter-spacing: 0;
	line-height: 1;
}

.header_title {
	font-size: 1.2em;
	font-weight: bold;
	letter-spacing: 0;
	line-height: 1;
	color: var(--color_main);
}

.header_title::before {
	content: '';
	display: block;
	width: 10%;
	height: 4px;
	margin: .8em 0;
	background: var(--gradient_main);
}

.header_info {
	margin-top: 1em;
	font-size: .95em;
}

.header_info>h2 {
	font-size: inherit;
	margin-bottom: 0.5em;
	line-height: 1;
}

.header_setumei {
	margin-top: 1em;
	line-height: 1.4;
	font-weight: bold;
}

main {
	background-color: var(--color_sub);
	padding: 4rem 0;
}


.products_container,
.products_Subitem {
	display: flex;
	flex-direction: column;
	gap: 4rem;
	width: var(--content_width_responsive);
	margin: 0 auto;
}

.products_Subitem {
	gap: 2rem;
}

.products_Subitem .products_text_main {
	font-size: 0.8em;
}

.products_container section {
	margin: 0;
	padding: 1.6rem;
	background-color: #fff;
	box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
}

.products_Subitem section {
	background-color: transparent;
	box-shadow: none;
	padding: 0 0 1.8em;
	border-bottom: 1px dotted var(--color_main);
}

.products_item {
	display: grid;
	grid-template-columns: 1fr 336px;
	gap: 4rem;
}


a.products_link {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	text-decoration: none;
	color: #ffffff;
	font-size: 18px;
	border-radius: 5px;
	width: 200px;
	height: 40px;
	font-weight: bold;
	background: var(--gradient_main);
	border-bottom: 4px solid #000;
	transition: 0.3s;
	box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.4);
}


.products_text {
	display: grid;
	grid-template-rows: auto auto 1fr auto;
}

.products_text>h4 {
	font-size: 2em;
	font-weight: bold;
	margin-bottom: 0.1em;
}

.products_Subitem h4 {
	font-size: 1.4em;
}

.products_text>h4+p {
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 1em;
}

.products_Subitem h4+p {
	font-weight: bold;
}

.products_text_main {
	flex: 1;
	margin-bottom: 1em;

}

a.products_link:hover {
	box-shadow: 0 0 rgba(0, 0, 0, 0.4);
	border-bottom-width: 2px;
	transform: translateY(2px);
}

.catalog_download {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	margin-top: .5em;
	align-items: flex-start;
}

.products_Subitem .catalog_download {
	flex-direction: row;
	align-items: center;
	font-size: 0.9em;
}

.products_Subitem .catalog_download p {
	margin-right: 1em;
}

.catalog_download a {
	position: relative;
	display: flex;
	align-items: center;
	font-weight: bold;
	font-size: 1em;
	transition: top 0.3s;
}

.catalog_download a:hover {
	position: relative;
	top: 2px;
	color: #007bff;
}


.catalog_download a>span.file {
	font-size: 0.85em;
}

.icon-download {
	width: 30px;
	height: auto;
    flex-shrink: 0;
    display: inline-block;
	margin-right: 0.5em;
}

.company_container {
	width: var(--content_width_responsive);
	margin: 8rem auto;
}


.company_contents {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-end;
	gap: 4rem;
	margin-top: 2rem;
}

.company_text_container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 50%;
}

.company_text {
	font-weight: bold;
}

dl.company_info {
	display: grid;
	/* 行と行の間、dtとddの間の隙間を調整 */
	grid-template-columns: 5em 1fr;
	/* 縦の隙間（次の項目との間） */
	row-gap: 8px;
	/* 横の隙間（dtとddの間） */
	column-gap: 12px;
	font-size: .95em;
	line-height: 1.4;
	margin-top: 1em;
}

dl.company_info>dt {
	font-weight: bold;
	/* 1列目に配置（省略可能ですが明示すると安全） */
	grid-column: 1;
	color: var(--color_main);
}

dl.company_info>dd {
	margin: 0;
	/* 2列目に配置（省略可能ですが明示すると安全） */
	grid-column: 2;
}

.company_img {
	width: 50%;
}


.footer_copyright {
	text-align: center;
	font-size: 0.8em;
	color: #fff;
	padding: 1rem 0;
	letter-spacing: 0.15em;
}

.formLink {
	margin: 3rem 0;
	text-align: center;
}

a.formLinkButton {
	display: inline-block;
	position: relative;
	margin: 1rem 0;
	padding: 0.5em 2em;
	font-size: 1.4em;
	font-weight: bold;
	background: var(--gradient_main);
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	transition: top 0.3s;
}

a.formLinkButton:hover {
	top: 2px;
	opacity: 0.8;
}

/* ---------------------------------------------------------------------------- */
/* 〜768pxタブレット・スマホ共用 ------------------------------------------------ */
/* ---------------------------------------------------------------------------- */
@media screen and (max-width:768px) {

	header::before,
	header::after {
		content: none;
	}

	header {
		background-image: url(../images/header_mobile.jpg);
		/* ▼ メインの指定（対応している方をブラウザが自動選択） */
		background-image: -webkit-image-set(url("../images/header_mobile.webp") type("image/webp"),
				url("../images/header_left.jpg") type("image/jpeg"));
		background-image: image-set(url("../images/header_mobile.webp") type("image/webp"),
				url("../images/header_left.jpg") type("image/jpeg"));
		background-repeat: no-repeat;
		background-position: center top;
		background-size: contain;
	}

	.header_sitename {
		font-size: 2em;
	}

	.header_sitename>br {
		display: none;
	}

	.header_main {
		min-height: inherit;
		width: 80%;
	}

	.products_item {
		grid-template-columns: 1fr;
	}

	.products_img iframe {
		width: 100%;
	}

	.products_Subitem .catalog_download {
		flex-direction: column;
		align-items: flex-start;
	}

	.company_container {
		margin-bottom: 2rem;
	}

	.company_contents {
		flex-direction: column;
		align-items: center;
	}

	.company_contents>div {
		width: 100%
	}

}