/*
Theme Name:   Genesis Sasakiakemi
Theme URI:    https://example.com/
Description:  Genesis child theme for Sasaki Akemi personal website
Author:       Sasaki Akemi
Template:     genesis
Version:      1.0.0
Tags:         full-width, personal, feminine, bright
*/

/* ==========================================================================
   Variables & Reset
   ========================================================================== */

:root {
	--color-red:    #e83820;
	--color-blue:   #7dbce8;
	--color-yellow: #ffe207;
	--color-dark:   #333333;
	--color-mid:    #777777;
	--color-light:  #f5f5f5;
	--color-white:  #ffffff;
	--font-base:    'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
	--font-heading: 'Noto Serif JP', 'Georgia', serif;
	--max-width:    1100px;
	--radius:       4px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

body {
	font-family: var(--font-base);
	font-size: 1.6rem;
	line-height: 1.8;
	color: var(--color-dark);
	background-color: var(--color-white);
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--color-red);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--color-blue);
	opacity: 0.85;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 400;
	line-height: 1.4;
	color: var(--color-dark);
	margin: 0 0 1.6rem;
}

h1 { font-size: 3.6rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }

p {
	margin: 0 0 1.6rem;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 2.4rem;
}

.site-container {
	overflow: hidden;
}

/* Full-width template */
.page-template-page_full-width .content-sidebar-wrap,
.front-page .content-sidebar-wrap {
	max-width: 100%;
	padding: 0;
}

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

.site-header {
	background-color: rgba(255, 255, 255, 0.96);
	border-bottom: 3px solid var(--color-red);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1.2rem;
	padding-bottom: 1.2rem;
}

.title-area {
	flex-shrink: 0;
}

.site-title {
	font-family: var(--font-heading);
	font-size: 2.4rem;
	margin: 0;
}

.site-title a {
	color: var(--color-dark);
}

.site-title a:hover {
	color: var(--color-red);
}

.site-description {
	font-size: 1.2rem;
	color: var(--color-mid);
	margin: 0;
	letter-spacing: 0.05em;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav-primary {
	background-color: transparent;
}

.nav-primary .wrap {
	padding: 0;
}

.genesis-nav-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.genesis-nav-menu > .menu-item > a {
	display: block;
	padding: 0.8rem 1.6rem;
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--color-dark);
}

.genesis-nav-menu > .menu-item > a:hover,
.genesis-nav-menu > .menu-item.current-menu-item > a {
	color: var(--color-red);
	background-color: transparent;
}

/* Sub menus */
.genesis-nav-menu .sub-menu {
	position: absolute;
	background-color: var(--color-white);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	border-top: 2px solid var(--color-red);
	min-width: 18rem;
	list-style: none;
	margin: 0;
	padding: 0.8rem 0;
	z-index: 200;
	display: none;
}

.genesis-nav-menu .menu-item:hover > .sub-menu {
	display: block;
}

.genesis-nav-menu .sub-menu a {
	display: block;
	padding: 0.8rem 2rem;
	font-size: 1.4rem;
	color: var(--color-dark);
}

.genesis-nav-menu .sub-menu a:hover {
	color: var(--color-red);
	background-color: var(--color-light);
}

/* Hamburger toggle button */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	width: 4rem;
	height: 4rem;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.8rem;
	border-radius: var(--radius);
	flex-shrink: 0;
}

.nav-toggle-bar {
	display: block;
	width: 2.4rem;
	height: 2px;
	background-color: var(--color-dark);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.nav-toggle.is-active .nav-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero (Front Page Full-Width)
   ========================================================================== */

.hero-section {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.hero-section .hero-image {
	display: block;
	width: 100%;
	height: auto;
}
/*
.hero-section .hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(232, 56, 32, 0.18) 0%,
		rgba(0, 0, 0, 0.30) 60%,
		rgba(125, 188, 232, 0.15) 100%
	);
}
*/
.hero-section .hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	color: var(--color-white);
	padding: 2.4rem;
	max-width: 72rem;
}

.hero-section .hero-title {
	font-family: var(--font-heading);
	font-size: clamp(3.2rem, 6vw, 5.6rem);
	font-weight: 400;
	color: var(--color-white);
	margin-bottom: 1.6rem;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-section .hero-lead {
	font-size: clamp(1.6rem, 2.2vw, 2rem);
	margin-bottom: 3.2rem;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
	line-height: 1.7;
}

.hero-section .hero-scroll {
	display: inline-block;
	width: 3.2rem;
	height: 3.2rem;
	border-right: 2px solid var(--color-white);
	border-bottom: 2px solid var(--color-white);
	transform: rotate(45deg);
	animation: scrollBounce 1.6s infinite;
	opacity: 0.8;
}

@keyframes scrollBounce {
	0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.8; }
	50%       { transform: rotate(45deg) translateY(6px); opacity: 0.4; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn,
.button,
input[type="submit"],
button[type="submit"] {
	display: inline-block;
	padding: 1.2rem 3.2rem;
	font-family: var(--font-base);
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	border: 2px solid transparent;
	border-radius: var(--radius);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
	background-color: var(--color-red);
	color: var(--color-white);
	border-color: var(--color-red);
}

.btn-primary:hover {
	background-color: transparent;
	color: var(--color-red);
}

.btn-outline {
	background-color: transparent;
	color: var(--color-white);
	border-color: var(--color-white);
}

.btn-outline:hover {
	background-color: var(--color-white);
	color: var(--color-red);
}

/* ==========================================================================
   Front Page Sections
   ========================================================================== */

.front-page-section {
	padding: 8rem 0;
}

.front-page-section.section-light {
	background-color: var(--color-white);
}

.front-page-section.section-cream {
	background-color: #fdf8f4;
}

.front-page-section.section-blue {
	background-color: #eef6fd;
}

.section-header {
	text-align: center;
	margin-bottom: 5.6rem;
}

.section-header h2 {
	font-size: 3.2rem;
	position: relative;
	display: inline-block;
	padding-bottom: 1.6rem;
}

.section-header h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 4.8rem;
	height: 3px;
	background: linear-gradient(90deg, var(--color-red), var(--color-blue));
	border-radius: 2px;
}

.section-header p {
	color: var(--color-mid);
	font-size: 1.5rem;
	margin: 1.6rem auto 0;
	max-width: 56rem;
}

/* Card grid */
.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
	gap: 3.2rem;
}

.card {
	background-color: var(--color-white);
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.10);
}

.card-image {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.card-body {
	padding: 2.4rem;
}

.card-body h3 {
	font-size: 1.8rem;
	margin-bottom: 0.8rem;
}

.card-body p {
	font-size: 1.5rem;
	color: var(--color-mid);
	margin-bottom: 1.6rem;
}

/* Profile section */
.profile-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6.4rem;
	align-items: center;
}

.profile-section .profile-photo {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 4px 24px rgba(125, 188, 232, 0.30);
}

.profile-section .profile-text h2 {
	margin-bottom: 2.4rem;
}

.profile-accent {
	display: inline-block;
	padding: 0.4rem 1.2rem;
	background-color: var(--color-yellow);
	border-radius: var(--radius);
	font-size: 1.3rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	margin-bottom: 1.6rem;
}

/* ==========================================================================
   SNS Links
   ========================================================================== */

.sns-section {
	padding: 4rem 0;
	background-color: var(--color-white);
	text-align: center;
}

.sns-list {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sns-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 5.6rem;
	height: 5.6rem;
	border-radius: 50%;
	color: #fff;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.sns-link:hover {
	color: #fff;
	opacity: 0.85;
	transform: translateY(-4px);
}

.sns-link svg {
	width: 2.4rem;
	height: 2.4rem;
	fill: currentColor;
}

.sns-blogger   { background-color: #FF5722; }
.sns-youtube   { background-color: #FF0000; }
.sns-x         { background-color: #000000; }
.sns-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sns-tiktok    { background-color: #010101; }

/* ==========================================================================
   Blog / Archive
   ========================================================================== */

.content {
	max-width: 76rem;
	padding: 4.8rem 2.4rem;
	margin: 0 auto;
}

.entry {
	margin-bottom: 4.8rem;
	padding-bottom: 4.8rem;
	border-bottom: 1px solid #ebebeb;
}

.entry-header {
	margin-bottom: 2rem;
}

.entry-title {
	font-size: 2.4rem;
	margin-bottom: 0.8rem;
}

.entry-title a {
	color: var(--color-dark);
}

.entry-title a:hover {
	color: var(--color-red);
}

.entry-meta {
	font-size: 1.3rem;
	color: var(--color-mid);
}

.entry-meta a {
	color: var(--color-mid);
}

/* Category label */
.entry-categories a {
	display: inline-block;
	background-color: var(--color-blue);
	color: var(--color-white);
	font-size: 1.2rem;
	padding: 0.2rem 0.8rem;
	border-radius: var(--radius);
	margin-right: 0.4rem;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar .widget {
	margin-bottom: 3.2rem;
}

.sidebar .widget-title {
	font-size: 1.6rem;
	border-left: 4px solid var(--color-red);
	padding-left: 1.2rem;
	margin-bottom: 1.6rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	background-color: var(--color-dark);
	color: rgba(255, 255, 255, 0.75);
	padding: 6.4rem 0 3.2rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 4.8rem;
	margin-bottom: 4.8rem;
}

.footer-brand .site-title {
	font-size: 2rem;
	color: var(--color-white);
	margin-bottom: 0.8rem;
}

.footer-brand p {
	font-size: 1.4rem;
	line-height: 1.8;
}

.footer-widget h4 {
	color: var(--color-white);
	font-size: 1.5rem;
	margin-bottom: 1.6rem;
	position: relative;
	padding-bottom: 1rem;
}

.footer-widget h4::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 2.4rem;
	height: 2px;
	background-color: var(--color-yellow);
}

.footer-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-widget ul li {
	margin-bottom: 0.8rem;
	font-size: 1.4rem;
}

.footer-widget ul li a {
	color: rgba(255, 255, 255, 0.65);
}

.footer-widget ul li a:hover {
	color: var(--color-yellow);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 2.4rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1.3rem;
}

.footer-bottom p {
	margin: 0;
}

/* ==========================================================================
   Accent decorations
   ========================================================================== */

.accent-line {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-bottom: 4rem;
}

.accent-line::before,
.accent-line::after {
	content: '';
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--color-blue), transparent);
}

/* ==========================================================================
   Utility
   ========================================================================== */

.text-center { text-align: center; }
.text-red    { color: var(--color-red); }
.text-blue   { color: var(--color-blue); }
.bg-yellow   { background-color: var(--color-yellow); }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
	.profile-section {
		grid-template-columns: 1fr;
		gap: 3.2rem;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	h1 { font-size: 2.8rem; }
	h2 { font-size: 2.2rem; }

	.nav-toggle {
		display: flex;
	}

	.nav-primary {
		display: none;
		background-color: var(--color-white);
		border-top: 1px solid #ebebeb;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
	}

	.nav-primary.nav-open {
		display: block;
	}

	.genesis-nav-menu {
		flex-direction: column;
		width: 100%;
	}

	.genesis-nav-menu > .menu-item > a {
		padding: 1.2rem 2.4rem;
		border-bottom: 1px solid #ebebeb;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 3.2rem;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 1.2rem;
		text-align: center;
	}

	.front-page-section {
		padding: 5.6rem 0;
	}
}
