/* ===============================
    変数
=============================== */
:root {
	--white: #fff;
	--black: #000;
	--gray1: #333333;
	--gray2: #666666;
	--gray3: #999999;
	--gray4: #c6c6c6;
	--gray5: #e6e6e6;
	--gray6: #f4f4f4;
	--red1: #ce0707;
	--red2: #e40d0d;
	--red3: #ff363b;
	--purple: #663399;
	--blue1: #0047ff;
	--blue2: #00bcd4;
	--blue3: #4ecdf9;
	--emerald: #5bc8ac;
	--green: #10b501;
	--yellow1: #ffca00;
	--yellow2: #ffae00;
	--yellow3: #ff9c00;

	--main-color: #2291db;

	--text-white-color: #fff;
	--text-black-color: #000;
	--text-black-color-2: #1a1a1a;
	--text-prime-color: var(--main-color);

	--bg-prime-color: var(--main-color);

	--boder-color-gray-color: #ddd;
	--boder-color-gray-color-2: #ccc;
	--boder-color-prime-color: var(--main-color);
}

/* ===============================
    リセット & ベース
=============================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	position: relative;
}

body {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 100vh;
	max-height: 100%;
}

.wrapper {
	width: 100%;
	min-height: 100vh;
	position: relative;
	display: flex;
	flex-direction: column;
	--bg-color: #eee;
	--pattern-color: #ebebeb;
	--pattern-size: 17px;
	background-image: linear-gradient(45deg, transparent 8.5px, var(--pattern-color) 8.5px, var(--pattern-color) 17px, transparent 17px), linear-gradient(-45deg, transparent 8.5px, var(--pattern-color) 8.5px, var(--pattern-color) 17px, transparent 17px);
	background-size: 34px var(--pattern-size);
	background-color: var(--bg-color);
}

ul {
	display: flex;
	gap: 20px;
}

li {
	list-style: none;
}

a {
	text-decoration: none;
	color: var(--text-black-color);
	transition: color 0.2s cubic-bezier(0, 0.45, 0.45, 1);
}

/* ::selection {
    color: #fff;
    background-color: var(--bg-prime-color);
} */

/* ::-webkit-scrollbar {
	width: 10px;
	height: 5px;
	border-radius: 20px;
}

::-webkit-scrollbar-thumb {
	background-color: var(--gray4);
	border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--gray3);
} */

/* ===============================
    font
=============================== */
@font-face {
	font-family: "Anton";
	src: url("../fonts/Anton-Regular.ttf") format("truetype");
}

@font-face {
	font-family: "StackSansNotch";
	src: url("../fonts/StackSansNotch-VariableFont_wght.ttf") format("truetype");
}

/* ===============================
    汎用
=============================== */
.text-blue {
	color: var(--text-prime-color);
}

.vertical-line {
	border-right: 1px solid var(--boder-color-gray-color);
	width: 1px;
	height: 80%;
}

.horizontal-line {
	border-bottom: 1px solid var(--boder-color-gray-color);
	width: 100%;
	height: 1px;
}

.sns-btn {
	transition: background-color 0.2s cubic-bezier(0, 0.45, 0.45, 1);
}

/* ホバー可能なデバイスでのみ適用される */
@media (any-hover: hover) {
	.sns-x:hover {
		background-color: #375e85;
	}

	.sns-youtube:hover {
		background-color: #ff0033;
	}
}

@media (max-width: 767px) {
	.vertical-line {
		display: none;
	}
}

/* ===============================
    アニメーション
=============================== */
.blink-animation {
	animation-name: blink;
	animation-duration: 1s;
	animation-timing-function: step-end;
	animation-iteration-count: infinite;
}

@keyframes blink {
	0% {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}

.move-animation {
	animation-name: move;
	animation-duration: 1s;
	animation-timing-function: step-end;
	animation-iteration-count: infinite;
}

@keyframes move {
	0% {
		translate: 0px;
	}

	50% {
		translate: 10px;
	}

	100% {
		translate: 0;
	}
}

/* ===============================
    header
=============================== */
header {
	width: 100%;
	padding: 15px 20px;
	font-weight: bold;
	position: fixed;
	z-index: 10;
}

.header-container {
	width: 100%;
	max-width: 1200px;
	margin: auto;
	display: flex;
	background-color: transparent;
}

header .logo-content {
	font-family: "StackSansNotch", Arial, Meiryo, sans-serif;
	display: flex;
	align-items: center;
	font-size: 2rem;
	background-color: #fff;
	border-radius: 5px;
	padding: 5px 15px;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

.link-contents {
	display: flex;
	align-items: center;
	gap: 15px;
	background-color: #fff;
	border-radius: 5px;
	padding: 5px 15px;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
	margin-left: 50px;
	letter-spacing: 1px;
	white-space: nowrap;
}

/* ホバー可能なデバイスでのみ適用される */
@media (any-hover: hover) {
	header a:hover {
		color: var(--text-prime-color);
	}
}

@media (max-width: 767px) {
	.header-container {
		max-width: 100%;
		align-items: center;
		flex-direction: column;
		background-color: #fff;
		border-radius: 5px;
		box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
	}

	header .logo-content {
		background: transparent;
		box-shadow: none;
	}

	header .link-contents {
		width: 100%;
		justify-content: center;
		flex-wrap: wrap;
		background: transparent;
		margin-left: 0;
		box-shadow: none;
	}
}

/* ===============================
    main
=============================== */
main {
	width: 100%;
	height: 100%;
	flex-grow: 1;
	padding: 40px 45px;
	margin-top: 90px;
}

.main-container {
	width: 100%;
	max-width: 1100px;
	height: 100%;
	margin: auto;
}

.main-container article {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.copyright-notice {
	caption-side: bottom;
	background-color: #fff;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
	padding: 30px 40px;
	margin-top: 20px;
}

.copyright-notice small,
.copyright-notice p {
	font-size: 0.8rem;
}

article .contents-header {
	width: 100%;
	display: flex;
	gap: 10px;
	justify-content: space-between;
	padding: 0 50px;
	font-weight: bold;
}

.contents-header .app-infos {
	width: 100%;
	word-break: keep-all;
}

.contents-header .app-infos p {
	width: fit-content;
	font-size: 0.9rem;
}

.contents-header .app-infos h1 {
	width: fit-content;
	border-bottom: 3px solid var(--boder-color-prime-color);
}

.contents-header img {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	max-width: 384px;
	max-height: 216px;
	width: 100%;
	height: 100%;
	background-color: #fff;
	border: 1px solid var(--boder-color-gray-color-2);
}

.contents {
	width: 100%;
	height: 100%;
	background-color: #fff;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
	padding: 30px 40px;
}

@media (max-width: 767px) {
	article .contents-header {
		flex-direction: column-reverse;
		align-items: center;
	}

	.contents-header .app-infos {
		width: fit-content;
	}

	/* .contents-header .app-infos h1 {
		font-size: 1.2rem;
	} */
}

/* ===============================
    footer
=============================== */
footer {
	width: 100%;
	padding: 50px;
	background-color: var(--bg-prime-color);
	color: var(--text-white-color);
	font-weight: bold;
}

footer .text-blue {
	color: #fff;
}

.footer-container {
	width: 100%;
	max-width: 1200px;
	display: flex;
	justify-content: space-between;
	background-color: transparent;
	gap: 20px;
	margin: 0 auto;
}

.site-info {
	display: grid;
	grid-row: 3;
}

.site-info {
	font-size: small;
}

.sns-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	width: 100%;
	max-width: 500px;
	align-self: flex-end;
}

.sns-links p {
	margin: 0 auto;
}

.sns-links ul {
	width: 100%;
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(auto-fit, minmax(min(12.125rem, 100%), 1fr));
	align-items: center;
	gap: 2rem;
}

a.sns-btn {
	margin: 0 auto;
	max-width: 260px;
	min-width: 200px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1.1rem 1.65rem;
	border-radius: 10px;
	background-color: var(--text-black-color-2);
	color: #fff;
}

a.sns-btn::before {
	content: "";
	margin-right: auto;
}

a.sns-btn::after {
	content: "";
	width: 8px;
	height: 8px;
	margin-left: auto;
	--arrow-width: 2px;
	border-top: var(--arrow-width) solid var(--text-white-color);
	border-right: var(--arrow-width) solid var(--text-white-color);
	transform: rotate(45deg);
}

footer .logo-content {
	font-family: "StackSansNotch", Arial, Meiryo, sans-serif;
	display: flex;
	align-items: center;
	font-size: 2.5rem;
	color: var(--text-black-color-2);
}

/* ホバー可能なデバイスでのみ適用される */
@media (any-hover: hover) {
	a.sns-btn:hover::after {
		animation-name: move;
		animation-duration: 1s;
		animation-timing-function: ease-in-out;
		animation-iteration-count: infinite;
	}
}

@media (max-width: 767px) {
	.footer-container {
		justify-content: center;
		flex-wrap: wrap;
	}
}