@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/*
 * Legacy Keni color-box compatibility.
 * Scope: the classes still used by existing posts after common-content removal.
 */
:where(.post_content, .entry-content) :where(.box_style_blue, .box_style_green) {
	margin-bottom: 30px;
	padding: 6px;
	background-repeat: repeat;
	background-size: 4px 4px;
	font-size: 14px;
}

:where(.post_content, .entry-content) :where(.box_style_blue, .box_style_green) .box_inner {
	padding: 15px;
}

:where(.post_content, .entry-content) :where(.box_style_blue, .box_style_green) .box_style_title {
	margin: -8px 0 5px -27px;
	color: #fff;
	line-height: 1.4;
}

:where(.post_content, .entry-content) .box_style_title span {
	position: relative;
	display: inline-block;
	padding: 5px 10px;
}

:where(.post_content, .entry-content) .box_style_title span::before {
	position: absolute;
	top: 100%;
	left: 0;
	width: 0;
	height: 0;
	border: 3px solid transparent;
	border-top-color: #d6d6d6;
	border-right-color: #d6d6d6;
	content: "";
}

:where(.post_content, .entry-content) .box_style_blue {
	background-image: linear-gradient(
		-45deg,
		#fff 25%,
		#0baedd 25%,
		#0baedd 50%,
		#fff 50%,
		#fff 75%,
		#0baedd 75%,
		#0baedd
	);
}

:where(.post_content, .entry-content) .box_style_blue .box_inner {
	background-color: #f8fdff;
}

:where(.post_content, .entry-content) .box_style_blue .box_style_title span {
	background-color: #0baedd;
}

:where(.post_content, .entry-content) .box_style_green {
	background-image: linear-gradient(
		-45deg,
		#fff 25%,
		#5bc130 25%,
		#5bc130 50%,
		#fff 50%,
		#fff 75%,
		#5bc130 75%,
		#5bc130
	);
}

:where(.post_content, .entry-content) .box_style_green .box_inner {
	background-color: #f9fff3;
}

:where(.post_content, .entry-content) .box_style_green .box_style_title span {
	background-color: #5bc130;
}

/*
 * Keep a hidden WordPress embed iframe out of the document flow until
 * wp-embed.js receives its height and removes the inline hidden style.
 */
body.single-post .post_content iframe.wp-embedded-content[style*="visibility: hidden"] {
	position: absolute !important;
}

/*
 * Editable homepage draft.
 * Scope every rule to the wrapper stored in the new draft page so existing
 * posts and pages retain their current presentation.
 */
.ahmad-homepage-draft {
	--ahmad-ivory: #f7f2e8;
	--ahmad-ivory-light: #fffdf8;
	--ahmad-green: #0d5138;
	--ahmad-green-dark: #073d2a;
	--ahmad-brown: #513126;
	--ahmad-line: #d9cbb8;
	color: #352b27;
}

.ahmad-homepage-draft .ahmad-home-section {
	box-sizing: border-box;
	padding: clamp(3.5rem, 7vw, 6.5rem) max(1.5rem, calc((100% - 1120px) / 2));
}

.ahmad-homepage-draft .ahmad-home-section > * {
	max-width: 1120px;
	margin-right: auto;
	margin-left: auto;
}

.ahmad-homepage-draft .ahmad-home-section-title {
	margin-bottom: 0.4em;
	color: var(--ahmad-brown);
	font-family: serif;
	font-size: clamp(1.8rem, 4vw, 2.75rem);
	line-height: 1.35;
}

.ahmad-homepage-draft .ahmad-home-section-lead {
	margin-bottom: 2.2rem;
	color: #6f5b51;
}

.ahmad-homepage-draft .ahmad-home-hero {
	width: auto;
	min-height: clamp(560px, 62vw, 700px) !important;
	max-width: none !important;
	margin-right: calc(50% - 50vw) !important;
	margin-left: calc(50% - 50vw) !important;
	padding-top: clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
	color: #fff;
}

.ahmad-homepage-draft .ahmad-home-hero .wp-block-cover__image-background {
	object-position: 50% 55%;
}

.ahmad-homepage-draft .ahmad-home-hero .wp-block-cover__inner-container {
	width: min(100%, 1000px);
	margin: 0 auto;
}

.ahmad-homepage-draft .ahmad-home-hero-title {
	margin: 0 auto 1.2rem;
	color: #fff;
	font-family: serif;
	font-size: clamp(2.2rem, 6vw, 4.6rem);
	line-height: 1.28;
	letter-spacing: 0.04em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.ahmad-homepage-draft .ahmad-home-lead {
	margin-bottom: 2rem;
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 600;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.ahmad-homepage-draft .ahmad-home-image-placeholder {
	display: grid;
	min-height: 220px;
	margin-bottom: 1.5rem;
	place-items: center;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #6f5b51;
}

.ahmad-homepage-draft .ahmad-home-image-placeholder p {
	margin: 1rem;
	font-size: 0.9rem;
	font-weight: 600;
}

.ahmad-homepage-draft .ahmad-home-image-placeholder--card {
	min-height: 180px;
}

.ahmad-homepage-draft .ahmad-home-image-placeholder--square {
	min-height: 0;
	aspect-ratio: 1;
}

.ahmad-homepage-draft .ahmad-home-button .wp-block-button__link {
	min-width: 190px;
	padding: 0.75em 1.6em;
	border-radius: 999px;
	background: var(--ahmad-green);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.ahmad-homepage-draft .ahmad-home-button .wp-block-button__link:hover,
.ahmad-homepage-draft .ahmad-home-button .wp-block-button__link:focus-visible {
	background: var(--ahmad-green-dark);
	color: #fff;
}

.ahmad-homepage-draft .ahmad-home-hero-actions {
	gap: 1rem;
	justify-content: center;
	margin-top: 1.5rem;
}

.ahmad-homepage-draft .ahmad-home-hero-actions .wp-block-buttons {
	margin: 0;
}

.ahmad-homepage-draft .ahmad-home-hero-cta-pending,
.ahmad-homepage-draft .ahmad-home-hero-shop-button .wp-block-button__link {
	box-sizing: border-box;
	min-width: min(300px, 38vw);
	margin: 0;
	padding: 0.8em 1.8em;
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ahmad-homepage-draft .ahmad-home-hero-cta-pending {
	background: rgba(28, 21, 17, 0.42);
}

.ahmad-homepage-draft .ahmad-home-hero-cta-pending:hover {
	border-color: #fff;
	background: #fff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
	color: var(--ahmad-green-dark);
	text-shadow: none;
	transform: translateY(-2px);
}

.ahmad-homepage-draft .ahmad-home-hero-shop-button .wp-block-button__link {
	background: rgba(13, 81, 56, 0.94);
}

.ahmad-homepage-draft .ahmad-home-unconnected {
	display: table;
	min-width: 190px;
	margin: 1rem auto 0;
	padding: 0.7em 1.5em;
	border: 1px dashed #8b7b6f;
	border-radius: 999px;
	color: #66564d;
	font-size: 0.86rem;
	font-weight: 700;
	text-align: center;
}

.ahmad-homepage-draft .ahmad-home-story,
.ahmad-homepage-draft .ahmad-home-articles {
	background: var(--ahmad-ivory-light);
}

.ahmad-homepage-draft .ahmad-home-story h2 {
	color: var(--ahmad-brown);
	font-family: serif;
	font-size: clamp(1.8rem, 4vw, 2.7rem);
	line-height: 1.4;
}

.ahmad-homepage-draft .ahmad-home-entrypoints,
.ahmad-homepage-draft .ahmad-home-instagram {
	background: var(--ahmad-ivory);
}

.ahmad-homepage-draft .ahmad-home-card {
	padding: 1rem;
	border: 1px solid #ebe1d3;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(73, 52, 40, 0.06);
}

.ahmad-homepage-draft .ahmad-home-card h3 {
	color: var(--ahmad-brown);
	font-family: serif;
}

/* About values: supplied line icons on a consistent circular background. */
.page-id-6513 .ahmad-about-values .ahmad-about-value-icon {
	display: block;
	position: relative;
	width: 96px;
	height: 96px;
	margin: 0 auto 1.5rem;
	overflow: hidden;
	border-radius: 50%;
	background: var(--ahmad-brown);
}

.page-id-6513 .ahmad-about-values .ahmad-about-value-icon img {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 52px;
	height: 52px;
	object-fit: contain;
	border-radius: 0 !important;
	filter: brightness(0) invert(1);
	transform: translate(-50%, -50%);
}

.page-id-6513 .ahmad-about-values .ahmad-about-value-icon + h3 {
	margin: 0 0 1.5em;
}

.ahmad-homepage-draft .ahmad-home-services {
	background: #f0e8da;
}

.ahmad-homepage-draft .ahmad-home-service-row {
	margin-bottom: 0;
	gap: 0;
	border-top: 1px solid var(--ahmad-line);
}

.ahmad-homepage-draft .ahmad-home-service {
	padding: clamp(1.5rem, 4vw, 2.6rem);
}

.ahmad-homepage-draft .ahmad-home-service + .ahmad-home-service {
	border-left: 1px solid var(--ahmad-line);
}

.ahmad-homepage-draft .ahmad-home-service h3 {
	color: var(--ahmad-brown);
	font-family: serif;
}

/* Homepage service icons: editable Image blocks beside each service summary. */
.page-id-6410 .ahmad-home-services .ahmad-home-service-content {
	width: 100%;
}

.page-id-6410 .ahmad-home-services .ahmad-home-service-content > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: start;
	width: 100%;
	max-width: none;
}

.page-id-6410 .ahmad-home-services .ahmad-home-service-icon {
	width: 56px;
	max-width: 56px;
	margin: 0;
}

.page-id-6410 .ahmad-home-services .ahmad-home-service-icon img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 0 !important;
}

.page-id-6410 .ahmad-home-services .ahmad-home-service-copy,
.page-id-6410 .ahmad-home-services .ahmad-home-service-copy > .wp-block-group__inner-container {
	min-width: 0;
	width: 100%;
}

.page-id-6410 .ahmad-home-services .ahmad-home-service-copy > .wp-block-group__inner-container > :first-child {
	margin-top: 0;
}

.ahmad-homepage-draft .ahmad-home-article-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 10px;
}

/* Fixed-page photos; explicitly exclude Cover background images. */
body.page .post_content img[class*="wp-image-"]:not(.wp-block-cover__image-background) {
	border-radius: 10px !important;
}

.ahmad-homepage-draft .ahmad-home-instagram-handle {
	margin-top: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

@media (max-width: 781px) {
	.ahmad-homepage-draft .ahmad-home-section {
		padding: 3.5rem 1.25rem;
	}

	.ahmad-homepage-draft .ahmad-home-hero {
		min-height: 590px !important;
		padding: 4rem 1.25rem;
	}

	.ahmad-homepage-draft .ahmad-home-hero .wp-block-cover__image-background {
		object-position: 50% 52%;
	}

	.ahmad-homepage-draft .ahmad-home-hero-actions {
		flex-direction: column;
		gap: 0.8rem;
	}

	.ahmad-homepage-draft .ahmad-home-hero-cta-pending,
	.ahmad-homepage-draft .ahmad-home-hero-shop-button .wp-block-button__link {
		width: min(100%, 340px);
		min-width: 0;
	}

	.ahmad-homepage-draft .ahmad-home-card-grid,
	.ahmad-homepage-draft .ahmad-home-instagram-grid,
	.ahmad-homepage-draft .ahmad-home-service-row,
	.ahmad-homepage-draft .ahmad-home-split {
		gap: 1.25rem;
	}

	.page-id-6513 .ahmad-about-values .ahmad-about-value-icon {
		width: 82px;
		height: 82px;
		margin-bottom: 1.25rem;
	}

	.page-id-6513 .ahmad-about-values .ahmad-about-value-icon img {
		width: 44px;
		height: 44px;
	}

	.ahmad-homepage-draft .ahmad-home-service-row {
		border-top: 0;
	}

	.ahmad-homepage-draft .ahmad-home-service {
		border-top: 1px solid var(--ahmad-line);
	}

	.ahmad-homepage-draft .ahmad-home-service + .ahmad-home-service {
		border-left: 0;
	}

	.page-id-6410 .ahmad-home-services .ahmad-home-service-content > .wp-block-group__inner-container {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 1rem;
	}

	.page-id-6410 .ahmad-home-services .ahmad-home-service-icon,
	.page-id-6410 .ahmad-home-services .ahmad-home-service-icon img {
		width: 44px;
		height: 44px;
	}
}

@media (min-width: 782px) {
	.ahmad-homepage-draft .ahmad-home-mobile-break {
		display: none;
	}
}

/* Desktop header actions: keep the existing navigation unchanged at narrower widths. */
.ahmad-header-actions {
	display: none;
}

@media (min-width: 1320px) {
	.l-header .w-header:has(.ahmad-header-actions) {
		flex: 0 0 auto;
		margin-left: clamp(0.5rem, 1vw, 1rem);
	}

	.l-header .w-header:has(.ahmad-header-actions) .w-header__inner,
	.l-header .w-header:has(.ahmad-header-actions) .widget_custom_html {
		display: flex;
		align-items: center;
		margin: 0;
	}

	.ahmad-header-actions {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		white-space: nowrap;
	}

	.ahmad-header-actions a {
		text-decoration: none;
	}

	.ahmad-header-base {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		min-height: 44px;
		padding: 0.65rem 1.25rem;
		border: 1px solid #076b4d;
		border-radius: 999px;
		background: #076b4d;
		color: #fff;
		font-size: 14px;
		font-weight: 700;
		line-height: 1;
		transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	}

	.ahmad-header-base:hover,
	.ahmad-header-base:focus-visible {
		border-color: #05523b;
		background: #05523b;
		color: #fff;
		opacity: 1;
		transform: translateY(-1px);
	}

	.ahmad-header-base .icon-cart {
		font-size: 17px;
		line-height: 1;
	}

	.ahmad-header-instagram {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 10px;
		transition: background-color 0.2s ease, transform 0.2s ease;
	}

	.ahmad-header-instagram:hover,
	.ahmad-header-instagram:focus-visible {
		background: rgba(0, 0, 0, 0.05);
		opacity: 1;
		transform: translateY(-1px);
	}

	.ahmad-header-instagram .icon-instagram {
		background: radial-gradient(circle at 30% 107%, #fdf497 0 5%, #fdf497 5% 9%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
		font-size: 32px;
		line-height: 1;
	}

	.ahmad-header-actions a:focus-visible {
		outline: 2px solid currentColor;
		outline-offset: 3px;
	}
}

/* Mobile drawer actions: separate from the existing navigation list. */
@media (max-width: 959px) {
	#sp_menu_bottom .widget_custom_html {
		margin: 0;
	}

	#sp_menu_bottom .ahmad-sp-menu-actions {
		display: grid;
		gap: 0.65rem;
		padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
	}

	#sp_menu_bottom .ahmad-sp-menu-action {
		display: grid;
		grid-template-columns: 36px minmax(0, 1fr) 24px;
		align-items: center;
		gap: 0.75rem;
		width: 100%;
		min-height: 58px;
		padding: 0.7rem 1rem;
		border: 1px solid #076b4d;
		border-radius: 14px;
		background: #076b4d;
		color: #fff;
		font-size: 16px;
		font-weight: 700;
		line-height: 1.3;
		text-decoration: none;
		transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	}

	#sp_menu_bottom .ahmad-sp-menu-action:hover,
	#sp_menu_bottom .ahmad-sp-menu-action:focus-visible {
		border-color: #05523b;
		background: #05523b;
		color: #fff;
		opacity: 1;
	}

	#sp_menu_bottom .ahmad-sp-menu-action:active {
		transform: translateY(1px);
	}

	#sp_menu_bottom .ahmad-sp-menu-action:focus-visible {
		outline: 2px solid #fff;
		outline-offset: -4px;
	}

	#sp_menu_bottom .ahmad-sp-menu-action > i {
		font-size: 27px;
		line-height: 1;
		text-align: center;
	}

	#sp_menu_bottom .ahmad-sp-menu-action-label {
		min-width: 0;
		text-align: left;
	}

	#sp_menu_bottom .ahmad-sp-menu-action-arrow {
		font-size: 22px;
		font-weight: 400;
		line-height: 1;
		text-align: right;
	}
}
