/*!
Theme Name: QuickGamely
Author: Vicky Bhandari
Author URI: https://quickgamely.com
Theme URI:  https://quickgamely.com/themes/quickgamely/
Description: A high-performance, accessibility-ready multi-purpose theme designed for speed and versatility. Whether you are building a gaming hub, a technical portfolio, or a personal blog, this theme offers a lightweight framework with full keyboard navigation support. Features include a sleek off-canvas mobile drawer, customizable accent colors, and a clean, typography-focused design that ensures your content stands out across all devices.
Version: 1.0.4.2.4
Tested up to: 6.9
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: quickgamely
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.

quickgamely 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.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

:root {
	--color-background: #faf9f5;
	--color-text-main: #1c1917;
	--color-text-light: #78716c;
	--color-accent: #b8860b;
	--color-border: #e7e5e4;
	--color-white: #ffffff;

	--font-heading: 'Inter', serif;
	--font-body: 'Inter', sans-serif;

	--spacing-small: 1rem;
	--spacing-medium: 2rem;
	--spacing-large: 4rem;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--color-text-main);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: var(--font-heading);
	font-weight: 400;
	color: var(--color-text-main);
	margin-bottom: 0.5em;
}

h1 {
	font-size: 3rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

h2 {
	font-size: 2.25rem;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

h3 {
	font-size: 1.75rem;
	line-height: 1.4;
}

h4 {
	font-size: 1.5rem;
	line-height: 1.4;
}

h5 {
	font-size: 1.25rem;
	line-height: 1.4;
}

h6 {
	font-size: 1rem;
	line-height: 1.5;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-family: var(--font-body);
	font-weight: 500;
}

p {
	margin-bottom: var(--spacing-medium);
	color: var(--color-text-light);
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--color-background);
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color 0.3s ease;
}

a:visited {
	color: var(--color-accent);
}

a:hover,
a:focus,
a:active {
	color: var(--color-text-main);
}

a:focus {
	outline: 2px solid #b8860b;
	outline-offset: 2px;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site-header {
	border-bottom: 1px solid var(--color-border);
	background: var(--color-white);
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.site-header .header-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.site-header .site-branding {
	min-width: 0;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.header-search {
	position: relative;
	justify-self: end;
}

.header-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--color-text-main);
	box-shadow: none;
}

.header-search-toggle:hover {
	color: var(--color-accent);
}

.header-search-toggle .search-close-icon {
	display: none;
	font-size: 1.1rem;
	line-height: 1;
}

.header-search.is-open .header-search-toggle .search-open-icon {
	display: none;
}

.header-search.is-open .header-search-toggle .search-close-icon {
	display: inline-block;
}

.header-search-form {
	position: absolute;
	top: calc(100% + 0.5rem);
	right: 0;
	width: min(90vw, 320px);
	padding: 0.5rem;
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	z-index: 1001;
}

.header-search.is-open .header-search-form {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.header-search-field-wrap {
	position: relative;
}

.header-search-icon {
	position: absolute;
	top: 50%;
	left: 0.9rem;
	transform: translateY(-50%);
	color: var(--color-text-light);
	line-height: 1;
	pointer-events: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.header-search-form .header-search-input {
	display: block;
	width: 100%;
	height: 42px;
	padding: 0 2.7rem 0 2.8rem;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	background: var(--color-white);
	line-height: 42px;
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
}

.header-search-submit {
	position: absolute;
	top: 50%;
	right: 0.6rem;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-text-light);
}

.header-search-submit:hover {
	color: var(--color-accent);
}

.header-search-form .header-search-input:focus {
	outline: none;
	border-color: var(--color-accent);
	box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.15);
}

.header-search-form .header-search-input::-webkit-search-decoration,
.header-search-form .header-search-input::-webkit-search-cancel-button,
.header-search-form .header-search-input::-webkit-search-results-button,
.header-search-form .header-search-input::-webkit-search-results-decoration {
	-webkit-appearance: none;
}

.site-title {
	margin: 0;
	padding: 0;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
}

.site-title a {
	color: var(--color-text-main);
	text-decoration: none;
}

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

.site-description {
	margin: 0.25rem 0 0 0;
	padding: 0;
	font-size: 0.875rem;
	color: var(--color-text-light);
	font-style: italic;
}

.main-navigation {
	margin-left: auto;
	display: flex;
	align-items: center;
	width: auto;
}

@media (max-width: 991px) {
	.site-header .header-inner {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		gap: 0.75rem;
	}

	.site-header .site-branding,
	.site-header .main-navigation {
		width: 100%;
	}

	.site-header .site-branding {
		grid-column: 1 / -1;
	}

	.main-navigation {
		justify-self: stretch;
		grid-column: 1 / 2;
	}

	.header-search {
		grid-column: 2 / 3;
		align-self: center;
	}
}

/* Base Primary Menu Styling */
.main-menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-menu-list a {
	display: block;
	text-decoration: none;
	color: var(--qg-text-primary);
	font-weight: 500;
	text-transform: uppercase;
	font-size: 14px;
	padding: 5px 20px 5px 20px !important;
	transition: color 0.3s ease;
	border-bottom: 1px solid var(--color-border);
}

.main-menu-list a:hover {
	color: var(--color-accent);
	background: #f8f9fa;
}

.main-menu-list ul {
	list-style: none;
	padding-left: 15px;
	display: block;
}

.main-menu-list ul a {
	border-bottom: none;
	padding: 8px 15px;
	opacity: 0.8;
}

/* Default Mobile Slide-in Configuration */
.mobile-menu-drawer {
	position: fixed;
	top: 0;
	left: 0;
	width: 300px;
	max-width: 85%;
	height: 100vh;
	z-index: 1050;
	overflow-y: auto;
	transform: translateX(-100%);
	transition: transform 0.3s ease-in-out;
	box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.menu-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1040;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#mobile-menu-toggle:checked~.mobile-menu-drawer {
	transform: translateX(0);
}

#mobile-menu-toggle:checked~.menu-backdrop {
	opacity: 1;
	visibility: visible;
}

.close-icon {
	display: none;
}

#mobile-menu-toggle:checked~.menu-toggle .hamburger-icon {
	display: none;
}

#mobile-menu-toggle:checked~.menu-toggle .close-icon {
	display: block;
}

/* Desktop Menu Styles */
@media screen and (min-width: 992px) {

	/* lg breakpoint */
	.mobile-menu-drawer {
		position: static;
		width: auto;
		max-width: none;
		height: auto;
		background: transparent !important;
		box-shadow: none !important;
		overflow-y: visible;
		display: flex;
		align-items: center;
		transform: none;
	}

	.main-menu-list {
		display: flex;
		align-items: center;
	}

	.main-menu-list a {

		border-bottom: none;
	}

	.main-menu-list a:hover {
		background: transparent;
	}

	.main-menu-list ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		background: var(--color-white);
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
		z-index: 99999;
		padding: 10px 0;
		min-width: 200px;
	}

	.main-menu-list li {
		position: relative;
	}

	.main-menu-list li:hover>ul {
		display: block;
	}

	.main-menu-list ul a {
		padding: 10px 20px;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.post-thumbnail {
	margin-bottom: var(--spacing-small);
	overflow: hidden;
	border-radius: 10px 10px 0px 0px;

}

.post-thumbnail img {
	width: 100%;
	object-fit: cover;
	aspect-ratio: 4/3;
	transition: transform 0.5s ease;
	border-radius: 10px;
}

.post-thumbnail img:hover {
	border-radius: 10px;
}

.card:hover .post-thumbnail img {
	transform: scale(1.05);
	border-radius: 10px 10px 0px 0px;
}

.entry-content p {
	font-size: 0.95rem;
	line-height: 1.6;
	margin-bottom: 1rem;
	color: var(--color-text-light);
}

/* Sticky post highlight (WP core class) */
.sticky {
	outline: 2px solid var(--color-accent);
	outline-offset: 4px;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comments-area {
	margin-top: var(--spacing-large);
	padding-top: var(--spacing-large);
	border-top: 1px solid var(--color-border);
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-body {
	margin-bottom: var(--spacing-medium);
}

.comment-meta {
	font-size: 0.85rem;
	color: var(--color-text-light);
	margin-bottom: 0.5em;
}

.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 var(--spacing-medium);
	padding: var(--spacing-medium);
	background: var(--color-white);
	border: 1px solid var(--color-border);
}

.widget-title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	margin-bottom: var(--spacing-small);
	color: var(--color-text-main);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.widget select {
	max-width: 100%;
}

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

.widget ul li {
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
	border-bottom: 1px solid var(--color-border);
}

.widget ul li:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	background: var(--color-white);
	border-top: 1px solid var(--color-border);
	padding: 2rem 0;
	text-align: center;
}

.footer-branding {
	margin-bottom: var(--spacing-medium);
}

.footer-title {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	margin: 0;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.footer-copyright {
	color: var(--color-text-light);
	font-size: 0.85rem;
	letter-spacing: 0.05em;
}

.footer-copyright a {
	color: var(--color-text-main);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s ease;
}

.footer-copyright a:hover {
	color: var(--color-accent);
	border-color: var(--color-accent);
}

/* --------------------------------------
=========================================
	PLUS AREA
=========================================
-----------------------------------------*/

body {
    font-family: "Noto Sans JP", sans-serif !important;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 16px !important;
}

.product-subset__table th {
    background-color: #EEE;
    border: 1px solid #AAA;
    padding: 10px;
    font-size: 16px;
    vertical-align: middle;
}

.product-subset__table td {
    border: 1px solid #AAA;
    font-size: 16px;
    padding: 10px;
    vertical-align: middle;
}

.product-subset__price br {
    display: none;
}

.product-subset__price {
    color: #d21a1a;
    font-weight: bold;
    font-size: 1.4em;
}

.product-subset__price--yen {
    font-size: 60%;
    font-weight: bold;
}

td.product-subset__td-order br {
    display: none;
}

.product-subset__submit-button {
    width: 100%;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    padding: 10px;
}

.inyou {
    position: relative;
    padding: 0;
    border: 1px solid #AAA;
    margin-bottom: 30px;
}

.inyou p {
    margin: 0 !important;
    /* position: absolute; */
    padding: 10px;
    line-height: 2;
    top: 3px;
    left: 10px;
    background: #eeeeee;
    border-radius: 0;
    font-weight: bold;
    color: #333;
}

.inyou ul {
    padding: 20px;
    border-top: 1px solid #AAA;
    margin-bottom: 0 !important;
}

.inyou ul li {
    list-style: none;
    margin-bottom: 10px;
    font-size: 16px;
}

.inyou ul li:last-child {
    margin: 0;
}
table.about th {
    border: 1px solid #AAA;
    width: 200px;
    padding: 10px;
    font-size: 1em;
    background-color: #EEE;
}

table.about td {
    border: 1px solid #AAA;
    padding: 10px;
    font-size: 1em;
}

.page-entry-title-box h1 {
    font-size: 30px;
}

.bs-blog-post.single img {
    margin-bottom: 20px;
}

p.tel_number:before {
    content: "\f095";
    font-family: 'FontAwesome';
    margin-right: 10px;
}

p.address:before {
    content: "\f041";
    font-family: 'FontAwesome';
    margin-right: 12px;
}

.textwidget.custom-html-widget p {
    font-weight: bold;
    font-size: 18px;
}

p.product-price {
    color: #d21a1a;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
    text-align: left !important;
    margin-bottom: 0;
}

h2.entry-title {
    text-align: left;
}

.blog-post {
    border: 2px solid #DDD;
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
}

article .blog-post .image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto!important;
}

h3.widget-title {border-bottom: 2px solid #333;padding: 0 10px 10px;}

.single.single-left-sidebar #comments, .single.single-left-sidebar .content, .single.single-left-sidebar div.title, .single.single-right-sidebar #comments, .single.single-right-sidebar .content, .single.single-right-sidebar div.title {
    width: 100% !important;
}

h1.entry-title {
    border-bottom: 2px dotted #8378c7;
    padding: 10px 0 20px;
}

.copyrights span {
    display: none;
}

.hd-bar .side-menu ul li a {
    font-size: 16px;
}

p.btn_detail {
    width: 100%;
    text-align: center;
    margin: 10px 0 0;
}

p.btn_detail a {
    border: 1px solid #AAA;
    background-color: #8378c7;
    padding: 10px 20px;
    border-radius: 10px;
    color: #FFF;
    text-decoration: none;
    width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 1em;
    line-height: 1.5;
}

p.btn_detail a:hover {
    opacity: 0.8;
}

.bs-blog-post .bs-blog-thumb img {
    border-radius: 10px;
    border: none;
    margin: 0 auto 0;
    display: table;
}

.reviewList ul li {
    list-style: none;
    margin-bottom: 20px;
    border: 4px solid #EEE;
    padding: 20px !important;
}

.reviewList ul li p {
    margin: 0;
}

p.review_text {
    margin-bottom: 0;
}

p.review_star i {margin-right: 2px;color: #ffa400;}

.entry-content h2 {
    font-size: 1.5em !important;
    border-bottom: 2px solid var(--elementic-primary-color);
    padding: 0 10px 10px;
    border-bottom: 1px solid #8378c7;
}

dl.faq_area {
    border: 2px solid #DDDD;
    padding: 10px 20px 20px !important;
    margin-bottom: 20px !important;
    border-radius: 10px;
}

dl.faq_area dt:before {
    content: "Q.";
    color: #d51a1a;
    font-size: 30px;
    margin-right: 7px;
}

dl.faq_area dt {
    margin: 0 0 10px;
    border-bottom: 1px dotted #CCC;
    padding-bottom: 10px;
    line-height: 2;
}

dl.faq_area dd {
    margin: 0;
    line-height: 2;
}

dl.faq_area dd:before {
    content: "A.";
    font-weight: bold;
    font-size: 30px;
    color: #1a7dd5;
    margin-right: 7px;
}

ul.bta_area li {
    list-style: none;
    padding: 5px 0;
}

ul.bta_area {
    margin: 0 !important;
    padding: 0 !important;
}

.site-title {
    margin-top: 0 !important;
}

.single-entry-summary h2 {
    font-size: 1.5em;
    border-bottom: 2px solid #fd0707;
    padding: 0 10px 10px;
    margin-bottom: 20px;
}

table.product-subset__table {
    margin: 0 0 30px;
}

table.point th {
    background-color: #e1cc96;
    border: 1px solid #AAA;
    padding: 10px;
    width: 150px;
}

table.point td {
    border: 1px solid #AAA;
    padding: 10px;
    background-color: #FFF;
}

ul.review li {
    border: 4px solid #DDD;
    border-radius: 10px;
    margin: 0 0 20px;
    padding: 20px;
    list-style: none;
    background-color: #FFF;
}

ul.review {
    margin: 0;
    padding: 0;
}

table.point {
    margin-bottom: 30px;
}

p.review_name {
    font-weight: bold;
    font-size: 1.2em;
}

.news-thumb img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
    display: table;
}

table.contact th {
    background-color: #EEE;
    border: 1px solid #AAA;
    padding: 10px;
    width: 200px;
}

table.contact td {
    background-color: #FFF;
    border: 1px solid #AAA;
    padding: 10px;
}

table.contact {
    margin-bottom: 20px;
}

.entry-content dl dt {
    font-weight: bold;
    line-height: 2;
}

.entry-content dl dd {
    padding: 20px;
    margin: 0 0 20px;
}

nav.navigation.post-navigation {
    display: none;
}

ul.review p {
    margin: 0 0 10px !important;
}

.box {
    border: 1px solid #AAA;
    padding: 10px;
    background-color: #f3f3f3;
    padding: 20px;
    border-radius: 8px;
}

.box p {
    margin: 0;
}

.box h2 {
    margin: 0 0 20px;
}

ul.kanren {
    display: flex;
    flex-flow: row wrap;
    margin: 0 !important;
    padding: 0 !important;
}

ul.kanren li {
    width: 25%;
    list-style: none;
    padding: 10px !important;
}

ul.kanren li a {
    border: 1px solid #AAA;
    padding: 10px;
    border-radius: 10px;
    display: block;
    text-decoration: none;
    box-shadow: 0 0 5px #CCC;
    background-color: #FFF;
}

.kanren li p {
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
}

ul.kanren li a:hover {
    opacity: 0.8;
}

.select-wrapper-2 {
    display: flex;
    position:relative;
    width: 100%;
    max-width: 360px;
    margin: 0 0 0 auto;
    }


.select-wrapper-2 select {
    margin-right: 10px;
    font-size: 20px;
    border-radius: 4px;
    border: 1px solid #333;
    outline: none;
    font-weight: bold;
    cursor: pointer;
    appearance: none;
    padding: 10px 30px 10px 10px;
    position:relative;
    width: 80px !important;
    height: auto;
    min-width: initial;
}

.select-wrapper-2::after {
  content: "\f0d7"; /* Font Awesome 4.7 ä¸‹å‘ãçŸ¢å° */
  font-family: FontAwesome;
  position: absolute;
  left: 60px; /* ãƒœã‚¿ãƒ³ã®å¹…ã«åˆã‚ã›ã¦èª¿æ•´ */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #333;
  font-size: 16px;
}

.select-wrapper-2 button {
    flex: 1;
    font-weight: bold;
    font-size: 20px;
    border-radius: 4px;
    padding: 10px;
    border: 1px solid #333;
    appearance: none;
    cursor: pointer;
}

.select-wrapper-2 button:hover {
    background-color: #8378c7;
    color: #FFF;
}

/* ãƒ©ã‚¸ã‚ªãƒœã‚¿ãƒ³ã‚’ãƒªã‚»ãƒƒãƒˆ */
input[type="radio"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #999;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  transition: border 0.2s, background 0.2s;
}

/* ãƒã‚§ãƒƒã‚¯ã•ã‚ŒãŸã¨ã */
input[type="radio"]:checked {
  border-color: #333;
  background-color: #333;
}

/* ãƒã‚§ãƒƒã‚¯ãƒžãƒ¼ã‚¯ç”¨ã®æ“¬ä¼¼è¦ç´  */
input[type="radio"]:checked::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ãƒ©ãƒ™ãƒ«å…¨ä½“ã‚’ã‚¯ãƒªãƒƒã‚¯å¯èƒ½ã« */
label {
  cursor: pointer;
  user-select: none;
}

.product-subset__form ul li {
    list-style: none;
    display: flex;
    border: 2px solid #d0d0d0;
    padding: 10px !important;
    border-radius: 10px;
    margin-bottom: 10px;
    line-height: 2;
    align-items: center;
    background-color: #EEE;
}

.product-subset__form ul {
    padding: 0 !important;
    margin: 0 !important;
}

form.product-subset__form ul li input {
    position: relative;
    border-color: #333 !important;
    background-color: #FFF !important;
}

.product-subset__form button {
    font-size: 20px;
    padding: 16px;
    border-radius: 8px;
    margin: 0 0 0 auto;
    display: table;
    appearance: none;
    cursor: pointer;
    height: auto;
    background-color: #8378c7;
    color: #FFF;
}

.product-subset__form ul li label {
    flex: 1;
    font-weight: bold;
    font-size: 20px;
}

table.guide th {
    width: 130px!important;
    border: 1px solid #AAA!important;
    background-color: #EEE;
    padding: 10px;
    text-align: left;
}

table.guide td {
    border: 1px solid #AAA!important;
    background-color: #FFF;
    padding: 10px;
}

form.product-subset__form {
    margin-bottom: 30px;
}

form.product-subset__form ul li label span {
    font-size: 16px;
    font-weight: normal;
}

.select-wrapper-2 p {
    margin: 0 !important;
}

body {
  counter-reset: faq-counter;
} 
/* 各 faq_area の dt が番号を増やす */
.faq_area dt {
  counter-increment: faq-counter;
}
/* dt に Q◯ を付与 */
.faq_area dt::before {
  content: "Q" counter(faq-counter) "."!important;
  font-weight: bold;
}

.super_visor {
    background-color: #FFF;
    margin: 0 0 30px !important;
    border: 1px solid #AAA;
}

.super_visor h2 {border: none !important;background-color: #eeeeee;margin: 0 !important;padding: 10px !important;border-bottom: 1px solid #AAA !important;font-size: 20px !important;}

.super_visor dl {
    padding: 0 0 15px;
    margin: 0 0 15px !important;
    display: flex;
    flex-flow: row wrap;
    border: none;
    border-bottom: 1px solid #DDD;
}

.super_visor dl dt {
    width: 130px;
    margin-right: 20px;
    line-height: 2;
}

.super_visor dl dd {
    flex: 1;
    margin: 0;
    line-height: 2;
    padding: 0;
}

.super_visor dl dt span {
    background-color: #48caf0;
    display: block;
    text-align: center;
    border-radius: 6px;
    color: #FFF;
    line-height: 2;
    font-size: 16px;
}

.super_visor article {
    padding: 20px;
}

.super_visor dl:last-child {
    border: none;
    margin: 0;
    padding: 0;
}

ul.faq_list li {
    list-style: none;
    border: 1px solid #AAA;
    border-radius: 10px !important;
    background-color: #FFF;
    padding: 15px;
    margin: 0 0 20px;
}

ul.faq_list {
    margin: 0;
    padding: 0;
}

ul.faq_list li p {
    margin: 0 !important;
}

ul.faq_list li h4 {
    font-weight: 600;
    font-size: 20px;
    color: #1ab2c5;
    border-bottom: 1px dashed;
    padding: 10px 0 20px;
    margin-bottom: 20px;
    line-height: 1.5;
}

p.review_star {
    margin: 0 10px 0 0 !important;
}

p.review_name {
    margin: 0 !important;
    font-size: 18px;
}

.kanren li p {
    text-align: center;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 10px 0 0 !important;
}

.bs-blog-post .small h2 {
    font-weight: 600;
    font-size: 1.5em;
    border-left: 5px solid #1ab2c5;
    padding: 8px;
    margin: 20px 0 20px;
}

.select-wrapper-1 select {
    width: 100%;
    padding: 10px 30px 10px 10px;
    font-size: 20px;
    font-weight: bold;
    position:relative;
    border-radius: 4px;
    appearance: none;
    border: 1px solid #333;
    border-radius: 4px;
    appearance: none;
    background: #fff;
    outline: none;
    cursor: pointer;
    line-height: 2;
}

.select-wrapper-1 {
    margin-bottom: 10px;
    position: relative;
}

.select-wrapper-1::after {
  content: "\f0d7"; /* Font Awesome 4.7 下向き矢印 */
  font-family: FontAwesome;
  position: absolute;
  right: 10px; /* ボタンの幅に合わせて調整 */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #333;
  font-size: 16px;
}

ul.kanren img {
    width: 100%;
}

.box ul {
    margin: 0;
}

.el-footer-main {
    display: none!important;
}

img.attachment-full {
    width: 100%;
    height: auto;
    margin-top: 30px;
}

.column_review_area_outer {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.column_review_area {
    width: 49%;
}

.column_review_area_outer p.btn {
    width: 80%;
    margin: 0 auto;
}

.column_review_area {
    box-sizing: border-box;
    padding: 20px;
    margin: 0 0 0;
    background-color: #FFF;
    border: 1px solid #AAA;
    border-radius: 6px;
}

.column_review_meta h3 {
    width: 100%;
    padding: 0 0 15px;
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 1px solid #CCC;
}

.column_review_meta {
    display: flex;
    flex-flow: row wrap;
    margin-bottom: 0;
}

.column_review_meta figure {
    width: 60px;
    margin-right: 10px;
    margin: 0 20px 0 0;
}

.column_review_meta figure i {
    display: table;
    padding: 15px;
    margin: 0 auto;
    font-size: 30px;
    font-weight: normal;
    color: #FFF;
    border: 1px solid #CCC;
    border-radius: 6px;
}

.column_review_meta p {
    margin-bottom: 0!important;
    font-size: 16px;
    line-height: 28px!important;
}

.good i {
    background-color: #e58b8b;
}

.bad i {
    background-color: #8bade5;
}

i.fa.fa-star {
    color: #FFC100!important;
    background-color: initial!important;
}

.column_review_area h2 {
    font-size: 1.2em !important;
    width: 100%;
    padding: 0 0 10px;
    margin: 0 0 10px;
}

.column_review_meta p br {
    display: none;
}

ul.faq_list li {
    list-style: none;
    border: 2px solid #DDD;
    padding: 20px;
    border-radius: 6px;
    background-color: #FFF;
    line-height: 1.5;
    margin-bottom: 20px;
}

ul.faq_list {
    margin: 0;
    padding: 0;
}

ul.faq_list li p {
    margin: 0;
}

ul.faq_list li h4 {
    font-weight: bold;
    font-size: 20px;
    border-bottom: 4px dotted #00b0c6;
    padding: 0 0 10px;
    margin-bottom: 10px;
}

ul.faq_list li h4:first-letter {
    color: #00b0c6;
    font-size: 30px;
    margin-right: 5px;
}

ul.faq_list li h3 {
    font-size: 18px !important;
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 20px 0;
    border-bottom: 1px dotted #333333;
    padding-bottom: 20px !important;
    color: #0795bf;
}

h1.title.single {
    border-bottom: 5px dotted #48caf0;
    padding: 0 0 10px;
    margin: 20px 0 0;
}

.mg-blog-post-box h2 {
    /* margin: 30px 0 20px !important; */
    border-left: 7px solid #48caf0;
    font-size: 24px;
    padding: 10px 10px;
}

.site_info {
    margin: 0 0 30px;
}

span.post-form {
    display: none;
}

header.entry-header {
    margin: 0 !important;
}

@media (max-width: 768px) {
.product-subset__submit-button {
    font-size: 16px;
}
.product-subset__table th {
    font-size: 16px;
}
.product-subset__table td {
    font-size: 16px;
}
.product-subset__unit-price {
    font-size: 12px;
}
.bs-blog-post .small {
    padding: 0;
}
.inyou ul {
    margin: 0 !important;
    width: 100% !important;
}

div#post-wrapper {
    padding: 0;
}
h1.entry-title {
    font-size: 24px;
}
}

@media (max-width: 480px) {
.img-fluid {
    width: 100%;
    max-width: 300px !important;
    margin: 0 auto;
    display: table;
}
table.about tr {
    display: block;
    width: 100%;
}

table.about th {
    display: block;
    width: 100%;
    font-size: 16px;
    border: none;
    border-right: 1px solid #AAA;
    border-bottom: 1px solid #AAA;
}

table.about td {
    display: block;
    width: 100%;
    font-size: 16px;
    border: none;
    border-right: 1px solid #AAA;
    border-bottom: 1px solid #AAA;
}

table.about {
    border-top: 1px solid #AAA;
    border-left: 1px solid #AAA;
}
.page-area {
    padding: 20px 0;
}
#sidebar {
    display: block;
    max-width: 100%;
    clear: both;
}
article.blog-article {
    clear: none;
    padding-right: 0!important;
}
.col-md-9 {
    padding-right: 0 !important;
}
ul.kanren li {
    width: 100%;
}
table.point th {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #AAA;
    border-right: 1px solid #AAA;
}

table.point tr {
    display: block;
    width: 100%;
}

table.point td {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #AAA;
    border-right: 1px solid #AAA;
}
.column_review_area {
    width: 100%;
    margin: 0 0 20px !important;
}
table.point {
    border-top: 1px solid #AAA;
    border-left: 1px solid #AAA;
}
.super_visor dl {
    display: block;
}
.bs-blog-post {
	padding: 10px;
}
.bs-blog-category {
    margin-top: 0;
    margin-bottom: 10px; 
}
.mainfeatured {
    padding: 0;
}
.bs-blog-post.single .bs-header .title {
    display: block;
    line-height: 1.2;
    margin: 0 0 10px;
}
#content {
	padding-top: 20px;
	padding-bottom: 20px;
}
.column_review_area {
    box-sizing: border-box;
    padding: 20px;
    margin: 0 0 0;
    background-color: #FFF;
    border: 1px solid #AAA;
    border-radius: 6px;
}
.bs-blog-post .bs-blog-thumb img {
    margin: 0 auto 10px;
}
}

/* --------------------------------------
=========================================
	PLUS AREA
=========================================
-----------------------------------------*/