/*
 Theme Name:   nakamura-hiroo
 Description:
 Author:       nakamura-hiroo
 Author URI:   https://nakamura-hiroo.jp/
 Template:     nishiki
 Version:      1.00
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');

.wp-child-theme-nakamura-hiroo *
{
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
}

.wp-child-theme-nakamura-hiroo h1,
.wp-child-theme-nakamura-hiroo h2
{
	font-family: "IwaUDGoDspPro-Eb", sans-serif;
	font-optical-sizing: auto;
	font-weight: 900;
	font-style: normal;
}

.wp-child-theme-nakamura-hiroo h3,
.wp-child-theme-nakamura-hiroo h4,
.wp-child-theme-nakamura-hiroo h5,
.wp-child-theme-nakamura-hiroo h6
{
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: 700;
	font-style: normal;
}

.wp-child-theme-nakamura-hiroo strong
{
	font-weight: 900;
}

#main-visual
{
	height: 50vw;
}

.image-m-bottom-normal
{
	margin-bottom: 20px;
}

.font-attract
{
	font-family: "IwaUDGoDspPro-Eb";
}

.gap-10
{
	gap: clamp(10px, 2vw, 20px);
}

.gap-20
{
	gap: clamp(20px, 4vw, 40px);
}

/* Posts */
.wp-block-latest-posts.is-grid li img
{
	width: 100%;
	object-fit: cover;
}

.wp-block-latest-posts.is-grid li
{
	line-height: 1.5;
	box-sizing: border-box;
	box-shadow: 2px 2px 30px #ccc;
	transition: all 300ms ease;
}

.wp-block-latest-posts.is-grid li:hover
{
	transform: scale(1.05);
}

.wp-block-latest-posts.is-grid a:has(img)
{
	display: block;
	margin: 0;
}

.wp-block-latest-posts.is-grid a
{
	font-size: 80%;
	display: inline-block;
	margin: 10px;
}

/* Social upload image links */
.hover a:hover
{
	transform: scale(1.05);
}

/* common box shadow */
.common-shadow
{
	box-shadow: 2px 2px 30px #ccc;
}

.common-scale
{
	transition: all 300ms ease;
}

.common-scale a:hover
{
	transform: scale(1.05);
}

/* Panel link */
a.panel-link
{
	display: block;
	box-sizing: border-box;
	background-color: #fff;
	max-width: 1400px;
	width:100%;
	text-decoration: none;
	position: relative;
	border: 0.6vw solid #000;
	padding: 0;
	margin: 0;
	box-shadow: 2px 2px 30px #ccc;
}

a.panel-link:hover
{
	transform: scale(1.02);
	color: white;
}

a.panel-link.actual
{
	height: 15vw;
	border-color: #0F345B;
}

a.panel-link.actual:hover
{
	background-color: #0F345B;
	color: white;
}

a.panel-link.actual div.panel-link-subtitle
{
	position: absolute;
	font-weight: 900;
	font-size: clamp(0px, 2.5vw, 50px);
	margin: 0;
	padding: 0;
	left: 8vw;
	top: 3vw;
	transform: translateY(-50%);
}

a.panel-link.actual div.panel-link-title
{
	position: absolute;
	font-family: "IwaUDGoDspPro-Eb";
	font-weight: 900;
	font-size: clamp(0px, 6vw, 100px);
	margin: 0;
	padding: 0;
	left: 8vw;
	top: 60%;
	transform: translateY(-50%);
	color: #0F345B;

	text-shadow:
			-2px -2px 0 #eeeeff,
			2px -2px 0 #eeeeff,
			-2px  2px 0 #eeeeff,
			2px  2px 0 #eeeeff,
			-2px  0   0 #eeeeff,
			2px  0   0 #eeeeff,
			0   -2px 0 #eeeeff,
			0    2px 0 #eeeeff;
}

a.panel-link.actual:hover div.panel-link-title
{
	color: white;
	text-shadow:
			-2px -2px 0 #505070,
			2px -2px 0 #505070,
			-2px  2px 0 #505070,
			2px  2px 0 #505070,
			-2px  0   0 #505070,
			2px  0   0 #505070,
			0   -2px 0 #505070,
			0    2px 0 #505070;
}

a.panel-link.manifest
{
	height: 22vw;
	max-height: 450px;
	border-color: #FF3333;
}

a.panel-link.manifest:hover
{
	background-color: #ff3333;
	color: white;
}

a.panel-link.manifest div.panel-link-subtitle
{
	position: absolute;
	font-weight: 900;
	font-size: clamp(0px, 2.5vw, 50px);
	margin: 0;
	padding: 0 10px;
	top: 75%;
	line-height: 1.5;
	width: 100%;
	text-align: center;
	color: #ff3333;
	transform: translateY(-50%);
}

a.panel-link.manifest div.panel-link-title
{
	position: absolute;
	font-family: "IwaUDGoDspPro-Eb";
	font-weight: 900;
	font-size: clamp(0px, 6vw, 100px);
	margin: 0;
	padding: 0;
	top: 35%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #ff3333;

	text-shadow:
			-2px -2px 0 #ffeeee,
			2px -2px 0 #ffeeee,
			-2px  2px 0 #ffeeee,
			2px  2px 0 #ffeeee,
			-2px  0   0 #ffeeee,
			2px  0   0 #ffeeee,
			0   -2px 0 #ffeeee,
			0    2px 0 #ffeeee;
}

a.panel-link.manifest:hover div.panel-link-title
{
	color: #ff3333;
	text-shadow:
			-2px -2px 0 #ffffff,
			2px -2px 0 #ffffff,
			-2px  2px 0 #ffffff,
			2px  2px 0 #ffffff,
			-2px  0   0 #ffffff,
			2px  0   0 #ffffff,
			0   -2px 0 #ffffff,
			0    2px 0 #ffffff;
}

a.panel-link.manifest:hover div.panel-link-subtitle
{
	color: white;
}

.hiroo-actual
{
}

/* Social links for footer. */
.social-links {
	background-color: white;
	border-radius: 40px;
	padding: 20px;
	display: flex;
	gap: 40px;
	justify-content: center;
	align-items: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom:20px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.social-links img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.social-links img:hover {
	transform: scale(1.1);
}

/* Table for data */
.wp-block-table.for-data > table
{
	width: 100%;
	display: table !important;
	table-layout: fixed;
	border: none;
}

.wp-block-table.for-data > table tr > td
{
	padding-top: 3px;
	padding-bottom: 3px;
	border: none;
	font-size: 100%;
	vertical-align: top;
}

.wp-block-table.for-data > table tr > td:first-child
{
	width: 7.5rem;
	font-weight: 700;
}

/* Social links for header. */
.header-social-links {
	width: 300px;
	position: absolute;
	z-index: 10;
	background-color: white;
	border-radius: 40px;
	padding: 20px;
	display: flex;
	gap: 20px;
	justify-content: center;
	align-items: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	margin-bottom: 20px;
	line-height: 1;

	top: 40px;
	right: 40px;
}

.header-social-links img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.header-social-links img:hover {
	transform: scale(1.1);
}

@media screen and (max-width: 768px) {
	.header-social-links {
		border-radius: 20px;
		width: 140px;
		height: 40px;
		gap: 10px;

		top: 10px;
		right: 10px;
	}

	.header-social-links img {
		width: 20px;
		height: 20px;
	}
}
