/*
Theme Name: AR Japan 2025
Description: A comprehensive Full Site Editing theme template with structured CSS organization. This theme leverages WordPress block patterns and global styles for maximum customization flexibility.
Version: 1.0.0
Author: AR Japan Ltd.
Author URI: https://yourwebsite.com
Theme URI: https://yourtheme.com
Text Domain: ar-japan-2025
Domain Path: /languages
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: full-site-editing, block-theme, wide-blocks, accessibility-ready, translation-ready, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, editor-style

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* ==========================================================================
   TABLE OF CONTENTS
   ========================================================================== */

/*
1. CSS Reset & Normalize
2. Typography & Fonts
3. Layout & Structure
4. WordPress Core Blocks
5. Block Patterns & Variations
6. Navigation & Menus
7. Forms & Inputs
8. Media & Images
9. Accessibility
10. Responsive Design
11. Print Styles
12. Custom Properties (CSS Variables)
13. Utility Classes
14. Original Classes
*/

/* ==========================================================================
   1. CSS RESET & NORMALIZE
   ========================================================================== */

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

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--wp--preset--font-family--system-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
	background-color: var(--wp--preset--color--background, #ffffff);
	color: var(--wp--preset--color--foreground, #000000);
}

/* Remove default margin from common elements */
h1, h2, h3, h4, h5, h6,
p, blockquote, figure,
ol, ul, li,
dl, dt, dd {
	margin: 0;
}

/* ==========================================================================
   2. TYPOGRAPHY & FONTS
   ========================================================================== */

/* Base Typography */
html {
	font-size: 16px;
}

body {
	line-height: var(--wp--custom--typography--line-height--body, 1.6);
	font-weight: var(--wp--preset--font-weight--normal, 400);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--wp--preset--font-family--heading, inherit);
	font-weight: var(--wp--preset--font-weight--bold, 700);
	line-height: var(--wp--custom--typography--line-height--heading, 1.2);
	letter-spacing: var(--wp--custom--typography--letter-spacing--heading, -0.02em);
}

h1 {
	font-size: var(--wp--preset--font-size--x-large, 2.5rem);
}

h2 {
	font-size: var(--wp--preset--font-size--large, 2rem);
}

h3 {
	font-size: var(--wp--preset--font-size--medium-large, 1.5rem);
}

h4 {
	font-size: var(--wp--preset--font-size--medium, 1.25rem);
}

h5 {
	font-size: var(--wp--preset--font-size--small, 1.125rem);
}

h6 {
	font-size: var(--wp--preset--font-size--x-small, 1rem);
}

/* Text Elements */
p {
	margin-bottom: var(--wp--preset--spacing--40, 1rem);
}

strong, b {
	font-weight: var(--wp--preset--font-weight--bold, 700);
}

em, i {
	font-style: italic;
}

small {
	font-size: var(--wp--preset--font-size--small, 0.875rem);
}

/* Links */
a {
	color: var(--wp--preset--color--primary, #0073aa);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus {
	color: var(--wp--preset--color--secondary, #005177);
	text-decoration-thickness: 2px;
}

a:focus {
	outline: 2px solid var(--wp--preset--color--primary, #0073aa);
	outline-offset: 2px;
}

/* ==========================================================================
   3. LAYOUT & STRUCTURE
   ========================================================================== */

/* Site Container */
.wp-site-blocks {
	padding-top: var(--wp--custom--spacing--outer, 1rem);
	padding-bottom: var(--wp--custom--spacing--outer, 1rem);
}

/* Content Width */
.wp-block-group.has-global-padding {
	padding-right: var(--wp--custom--spacing--outer, 1rem);
	padding-left: var(--wp--custom--spacing--outer, 1rem);
}

/* Wide and Full Width */
.alignwide {
	max-width: var(--wp--custom--layout--wide-size, 1200px);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* ==========================================================================
   4. WORDPRESS CORE BLOCKS
   ========================================================================== */

/* Group Block */
.wp-block-group {
	box-sizing: border-box;
}

/* Columns Block */
.wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30, 2rem);
}

.wp-block-column {
	flex-basis: 0;
	flex-grow: 1;
}

/* Cover Block */
.wp-block-cover {
	position: relative;
	background-size: cover;
	background-position: center;
	min-height: 430px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wp-block-cover .wp-block-cover__inner-container {
	width: 100%;
	z-index: 1;
	color: #fff;
}

/* Image Block */
.wp-block-image {
	margin-bottom: var(--wp--preset--spacing--40, 1rem);
}

.wp-block-image img {
	height: auto;
	max-width: 100%;
	vertical-align: bottom;
}

.wp-block-image figcaption {
	margin-top: var(--wp--preset--spacing--20, 0.5rem);
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	color: var(--wp--preset--color--foreground-alt, #666);
	text-align: center;
}

/* Gallery Block */
.wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

/* Quote Block */
.wp-block-quote {
	border-left: 4px solid var(--wp--preset--color--primary, #0073aa);
	margin: var(--wp--preset--spacing--40, 1rem) 0;
	padding-left: var(--wp--preset--spacing--30, 1rem);
}

.wp-block-quote cite {
	font-size: var(--wp--preset--font-size--small, 0.875rem);
	font-style: italic;
	color: var(--wp--preset--color--foreground-alt, #666);
}

/* Pullquote Block */
.wp-block-pullquote {
	text-align: center;
	border: none;
	padding: var(--wp--preset--spacing--50, 2rem);
}

.wp-block-pullquote blockquote {
	font-size: var(--wp--preset--font-size--large, 1.5rem);
	font-style: italic;
	margin: 0;
}

/* Button Block */
.wp-block-button .wp-block-button__link {
	background: 	var(--wp--custom--gradient--dark, #d71037);
	border: none;
	border-radius: var(--wp--custom--border--radius, 8px);
	color: #fff;
	cursor: pointer;
	display: inline-block;
	font-size: 1rem;
	line-height: 1.2;
	padding: var(--wp--preset--spacing--30, 0.75rem) var(--wp--preset--spacing--50, 1rem);
	text-decoration: none;
	text-align: center;
	transition: all 0.2s ease;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
	background-color: var(--wp--preset--color--secondary, #005177);
	transform: translateY(-1px);
}

/* Separator Block */
.wp-block-separator {
  border: 0;
  height: 3px;
  width: 100px;
  margin: var(--wp--preset--spacing--50, 2rem) auto;
  background: var(--wp--custom--gradient--separator);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  display: block;
  border-radius: 9999px;
}

.wp-block-separator.is-style-wide {
	width: 100%;
}

.wp-block-separator.thin-gray {
	width: 100%;
	border: #ccc 1px solid;
	height: 0;
}

/* Table Block */
.wp-block-table {
	overflow-x: auto;
}

.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table td,
.wp-block-table th {
	border: 1px solid var(--wp--preset--color--foreground-alt, #ddd);
	padding: var(--wp--preset--spacing--20, 0.5rem);
	text-align: left;
}

.wp-block-table th {
	background-color: var(--wp--preset--color--tertiary, #f7f7f7);
	font-weight: var(--wp--preset--font-weight--bold, 700);
}

/* Grid Block */
	:where(.is-layout-grid) {
		gap: 1.5rem;
		padding: 3rem 1.5rem;
	}


/* ==========================================================================
   5. BLOCK PATTERNS & VARIATIONS
   ========================================================================== */

/* Custom Block Patterns Styles */
.has-background {
	padding: var(--wp--preset--spacing--40, 1rem);
}

.has-text-color a {
	color: inherit;
}

.cmn-border-box {
	border: 1px #ccc solid;
	border-radius: 8px;
	padding: 3rem 1.5rem;
	box-shadow: 0px 0px 15px -5px #cccccc;

}

.wp-block-group.cmn-grid3 {
	border: 1px #ccc solid;
	border-radius: 8px;
	padding: 1.5rem;
	gap: 1rem;
}

/* ==========================================================================
   6. NAVIGATION & MENUS
   ========================================================================== */

/* Navigation Block */
.wp-block-navigation {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-direction: row;
	--navigation-layout-wrap: wrap;
	--navigation-layout-justify: var(--navigation-layout-justification-setting, initial);
	--navigation-layout-align: initial;
}

.wp-block-navigation ul {
	background-color: inherit;
	color: inherit;
	display: flex;
	flex-direction: var(--navigation-layout-direction, initial);
	flex-wrap: var(--navigation-layout-wrap, wrap);
	justify-content: var(--navigation-layout-justify, initial);
	align-items: var(--navigation-layout-align, initial);
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 0;
	list-style: none;
}

.wp-block-navigation .wp-block-navigation-item {
	background-color: inherit;
	color: inherit;
	margin: 0;
}

.wp-block-navigation .wp-block-navigation-item a {
	background-color: inherit;
	color: inherit;
	display: block;
	padding: var(--wp--preset--spacing--20, 0.5rem);
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
}

/* ==========================================================================
   7. FORMS & INPUTS
   ========================================================================== */

/* Search Block */
.wp-block-search {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20, 0.5rem);
}

.wp-block-search .wp-block-search__input {
	border: 1px solid var(--wp--preset--color--foreground-alt, #ddd);
	border-radius: var(--wp--custom--border--radius, 4px);
	font-size: var(--wp--preset--font-size--medium, 1rem);
	line-height: 1.2;
	padding: var(--wp--preset--spacing--20, 0.5rem);
	flex-grow: 1;
	min-width: 200px;
}

.wp-block-search .wp-block-search__button {
	background-color: var(--wp--preset--color--primary, #0073aa);
	border: none;
	border-radius: var(--wp--custom--border--radius, 4px);
	color: #fff;
	cursor: pointer;
	font-size: var(--wp--preset--font-size--medium, 1rem);
	font-weight: var(--wp--preset--font-weight--medium, 500);
	padding: var(--wp--preset--spacing--20, 0.5rem) var(--wp--preset--spacing--30, 0.75rem);
}

/* Comment Form */
.wp-block-post-comments-form input,
.wp-block-post-comments-form textarea {
	border: 1px solid var(--wp--preset--color--foreground-alt, #ddd);
	border-radius: var(--wp--custom--border--radius, 4px);
	font-family: inherit;
	font-size: var(--wp--preset--font-size--medium, 1rem);
	line-height: 1.2;
	padding: var(--wp--preset--spacing--20, 0.5rem);
	width: 100%;
	max-width: 100%;
}

/* ==========================================================================
   8. MEDIA & IMAGES
   ========================================================================== */

/* Responsive Images */
img {
	height: auto;
	max-width: 100%;
}

/* Video Block */
.wp-block-video {
	text-align: center;
}

.wp-block-video video {
	max-width: 100%;
	height: auto;
}

/* Audio Block */
.wp-block-audio {
	margin: var(--wp--preset--spacing--40, 1rem) 0;
}

.wp-block-audio audio {
	width: 100%;
	min-width: 300px;
}

/* ==========================================================================
   9. ACCESSIBILITY
   ========================================================================== */

/* Screen Reader Text */
.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: var(--wp--preset--color--background, #ffffff);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--wp--preset--color--foreground, #000000);
	display: block;
	font-size: var(--wp--preset--font-size--medium, 1rem);
	font-weight: var(--wp--preset--font-weight--bold, 700);
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Focus Styles */
:focus {
	outline: 2px solid var(--wp--preset--color--primary, #0073aa);
	outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   10. RESPONSIVE DESIGN
   ========================================================================== */

/* Mobile First Approach */
@media (max-width: 599px) {
	.wp-block-columns {
		flex-direction: column;
	}
	
	.wp-block-column {
		flex-basis: auto;
	}
	
	.alignwide,
	.alignfull {
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
	}
}

/* Tablet */
@media (min-width: 600px) and (max-width: 1023px) {
	.wp-site-blocks {
		padding-top: var(--wp--custom--spacing--outer, 2rem);
		padding-bottom: var(--wp--custom--spacing--outer, 2rem);
	}
}

/* Desktop */
@media (min-width: 1024px) {
	.wp-site-blocks {
		padding-top: var(--wp--custom--spacing--outer, 3rem);
		padding-bottom: var(--wp--custom--spacing--outer, 3rem);
	}
	
	.wp-block-columns {
		gap: var(--wp--preset--spacing--50, 3rem);
	}
}

/* ==========================================================================
   11. PRINT STYLES
   ========================================================================== */

@media print {
	*,
	*::before,
	*::after {
		background: transparent !important;
		color: #000 !important;
		box-shadow: none !important;
		text-shadow: none !important;
	}
	
	a,
	a:visited {
		text-decoration: underline;
	}
	
	a[href]::after {
		content: " (" attr(href) ")";
	}
	
	blockquote {
		border: 1px solid #999;
		page-break-inside: avoid;
	}
	
	img {
		page-break-inside: avoid;
	}
	
	h1, h2, h3, h4, h5, h6 {
		page-break-after: avoid;
	}
}

/* ==========================================================================
   12. CUSTOM PROPERTIES (CSS VARIABLES)
   ========================================================================== */

:root {
	/* Custom spacing scale */
	--wp--custom--spacing--small: 0.5rem;
	--wp--custom--spacing--medium: 1rem;
	--wp--custom--spacing--large: 2rem;
	--wp--custom--spacing--x-large: 3rem;
	--wp--custom--spacing--outer: 1rem;
	
	/* Custom typography */
	--wp--custom--typography--line-height--body: 1.6;
	--wp--custom--typography--line-height--heading: 1.2;
	--wp--custom--typography--letter-spacing--heading: -0.02em;
	
	/* Custom layout */
	--wp--custom--layout--content-size: 800px;
	--wp--custom--layout--wide-size: 1200px;
	
	/* Custom borders */
	--wp--custom--border--radius: 8px;
	--wp--custom--border--width: 1px;
	
	/* Custom shadows */
	--wp--custom--shadow--light: 0 1px 3px rgba(0, 0, 0, 0.1);
	--wp--custom--shadow--medium: 0 4px 6px rgba(0, 0, 0, 0.1);
	--wp--custom--shadow--heavy: 0 10px 25px rgba(0, 0, 0, 0.15);

	/* Custom gradients */
	--wp--custom--gradient--dark: linear-gradient(135deg, #D71037, #374151);
	--wp--custom--gradient--light: linear-gradient(135deg, #F4F4F4, #EAF2FA);
	--wp--custom--gradient--cta: linear-gradient(135deg, #0f172a, #1e293b);
	--wp--custom--gradient--separator: linear-gradient(135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
}

/* ==========================================================================
   13. UTILITY CLASSES
   ========================================================================== */

/* Margin utilities */
.has-no-margin { margin: 0 !important; }
.has-small-margin { margin: var(--wp--custom--spacing--small) !important; }
.has-medium-margin { margin: var(--wp--custom--spacing--medium) !important; }
.has-large-margin { margin: var(--wp--custom--spacing--large) !important; }

/* Padding utilities */
.has-no-padding { padding: 0 !important; }
.has-small-padding { padding: var(--wp--custom--spacing--small) !important; }
.has-medium-padding { padding: var(--wp--custom--spacing--medium) !important; }
.has-large-padding { padding: var(--wp--custom--spacing--large) !important; }

/* Text alignment */
.has-text-align-left { text-align: left !important; }
.has-text-align-center { text-align: center !important; }
.has-text-align-right { text-align: right !important; }

/* Display utilities */
.is-hidden { display: none !important; }
.is-sr-only { @extend .screen-reader-text; }

/* Border utilities */
.has-border {
	border: var(--wp--custom--border--width) solid var(--wp--preset--color--foreground-alt, #ddd) !important;
}

.has-rounded-corners {
	border-radius: var(--wp--custom--border--radius) !important;
}

/* Shadow utilities */
.has-light-shadow { box-shadow: var(--wp--custom--shadow--light) !important; }
.has-medium-shadow { box-shadow: var(--wp--custom--shadow--medium) !important; }
.has-heavy-shadow { box-shadow: var(--wp--custom--shadow--heavy) !important; }


.category-border-color a {
	border-color: #ccc !important;
	background: #ebf2f9 !important;
	border-width: 1px !important;
}
.tag-border-color a {
	border-color: #d71037 !important;
	background: #fde7ec !important;
	border-width: 1px !important;
	padding: 0.25rem 0.5rem !important;
	color: #d71037;
}

ul.list-style-btn {
	list-style: none;
	display: flex;
	justify-content: space-evenly;
}
ul.list-style-btn li {
	background: var(--wp--custom--gradient--light, #f4f4f4);
	font-size: 0.75rem;
	border-radius: 9999px;
	border: 1px #ccc solid;
	padding: 0.25rem 0.5rem;
}

/* ==========================================================================
   14. ORIGINAL CLASSES
   ========================================================================== *//*- TOP Portfolio --*/
/* クエリーループのコンテナ */
#portfolio .wp-block-query .wp-block-post-template {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 1.5rem;
	align-items: stretch;
}

/* 各投稿アイテム */
#portfolio .wp-block-query .wp-block-post-template .wp-block-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

#portfolio .wp-block-query .wp-block-post-template .portfolio-wrap {
	margin-bottom: 0 !important;
}

/* アイキャッチ画像 */
#portfolio .wp-block-query .wp-block-post-featured-image {
    flex-shrink: 0; /* 縮まないようにする */
    height: 200px; /* 固定高さ */
    overflow: hidden;
}

#portfolio .wp-block-query .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* タイトル */
#portfolio .wp-block-query .wp-block-post-title {
    padding: 1rem 1rem 0.5rem;
    flex-shrink: 0;
    line-height: 1.4;
    min-height: 3em; /* 最小高さを設定 */
		color: #333;
}

/* 抜粋 */
.wp-block-query .wp-block-post-excerpt {
    padding: 0 1rem;
    flex-grow: 1; /* 余った空間を埋める */
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .wp-block-query .wp-block-post-template {
        grid-template-columns: 1fr;
    }
}

#portfolio .wp-block-query .wp-block-post-template li:hover {
	border: #9696fd 1px solid;
	box-shadow: 0px 0px 15px -5px #cccccc;
	border-radius: 10px;
}
/*-- End TOP Portfolio --*/

/*- TOP Feature --*/
.features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 60px;
        }
        
        .feature-box {
            background: white;
            border-radius: 16px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .feature-box:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        }
        
        .feature-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            transition: height 0.3s ease;
        }
        
        .feature-box:hover::before {
            height: 8px;
        }
        
        .feature-box.box1::before {
            background: linear-gradient(90deg, #d71037, #f87171);
        }
        
        .feature-box.box2::before {
            background: linear-gradient(90deg, #020381, #3b82f6);
        }
        
        .feature-box.box3::before {
            background: linear-gradient(90deg, #059669, #10b981);
        }
        
        .feature-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
            font-weight: bold;
        }
        
        .box1 .feature-icon {
            background: linear-gradient(135deg, #d71037, #b91c1c);
        }
        
        .box2 .feature-icon {
            background: linear-gradient(135deg, #020381, #1e40af);
        }
        
        .box3 .feature-icon {
            background: linear-gradient(135deg, #059669, #047857);
        }
        .feature-icon p {
					margin-bottom: 0!important;
        }
        .feature-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 16px;
            color: #1e293b;
        }
        
        .feature-description {
            font-size: 1rem;
            line-height: 1.6;
            color: #64748b;
            margin-bottom: 24px;
        }
        
        .feature-highlight {
            display: inline-block;
            padding: 8px 20px;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 600;
            color: white;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
.box1 .feature-highlight {
            background: #d71037;
        }
        
        .box2 .feature-highlight {
            background: #020381;
        }
        
        .box3 .feature-highlight {
            background: #059669;
				}
/*-- End TOP Portfolio --*/

/*- TOP CTA --*/
#cta {
	background: var(--wp--custom--gradient--cta, #1e293b);
background: linear-gradient(135deg, #3b82f6, #1e40af);
	color: #ffffff;
}
#cta::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 70vw;
            height: 70vw;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            z-index: 1;
        }
        
        #cta::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -15%;
            width: 40vw;
            height: 40vw;
            background: rgba(255,255,255,0.08);
            border-radius: 50%;
            z-index: 1;
        }

/*-- End TOP CTA --*/

/*-- TOP FAQ --*/
#faq {
	background: linear-gradient(180deg, #f8fafc, #f1f5f9);

	.gutenify-content-toggle-item-header {
		background: #cfe4f2;
	}
}
/*-- End TOP FAQ --*/

/*-- footer --*/
footer {
	background: linear-gradient(135deg, #0f172a, #1e293b);
	color: #fff;

	#main-footer {
		margin: 0 auto;
		background: none;
	}

	a {
		color: #ffffff;
	}
}
/*-- End footer --*/


/*-- web-site timeline --*/
:root {
            --timeline-primary-color: #667eea;
            --timeline-secondary-color: #764ba2;
            --timeline-accent-color: #f093fb;
            --timeline-text-dark: #2d3748;
            --timeline-text-light: #718096;
            --timeline-bg-light: #f7fafc;
            --timeline-white: #ffffff;
            --timeline-shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
            --timeline-shadow-md: 0 4px 6px rgba(0,0,0,0.1);
            --timeline-shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
            --timeline-shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
        }

        /* Timeline Container */
        .timeline {
            position: relative;
            max-width: 1080px;
            margin: 0 auto;
        }

        /* Timeline Line */
        .timeline::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
                left: 40px;
            transform: translateX(-50%);
            width: 4px;
            height: 100%;
            background: linear-gradient(to bottom, var(--timeline-primary-color), var(--timeline-secondary-color));
            border-radius: 2px;
        }

        /* Timeline Item */
        .timeline-item {
            position: relative;
            margin-bottom: 80px;
            width: 100%;
        }
        .timeline-item .timeline-content {
            margin-right: auto;
            margin-left: 60px;
            text-align: left;
        }
        /* Timeline Content */
        .timeline-content {
            position: relative;
            background: var(--timeline-white);
            padding: 40px;
            border-radius: 20px;
            box-shadow: var(--timeline-shadow-lg);
            width: calc(50% - 30px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid transparent;
        }

        .timeline-content:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: var(--timeline-shadow-xl);
            border-color: var(--timeline-primary-color);
        }

        /* Timeline Icon */
        .timeline-icon {
            position: absolute;
            top: 50%;
            left: 40px;
            transform: translate(-50%, -50%);
            width: 80px;
            height: 80px;


            background: var(--wp--custom--gradient--separator);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--timeline-shadow-md);
            transition: all 0.3s ease;
            z-index: 10;
        }

        .timeline-icon:hover {
            transform: translate(-50%, -50%) scale(1.1);
            box-shadow: var(--timeline-shadow-xl);
        }

        .timeline-icon svg {
            width: 32px;
            height: 32px;
            fill: var(--timeline-white);
        }

        /* Step Number */
        .step-number {
            position: absolute;
            top: -15px;
            right: -15px;
            width: 40px;
            height: 40px;
            background: var(--wp--custom--gradient--dark);
            color: var(--timeline-white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.1rem;
            box-shadow: var(--timeline-shadow-md);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        /* Content Text */
        .timeline-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--timeline-text-dark);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 15px;
        }
/*
        .timeline-item:nth-child(odd) .timeline-title {
            flex-direction: row-reverse;
        }
*/
        .timeline-description {
            font-size: 1.1rem;
            color: var(--timeline-text-light);
            line-height: 1.7;
        }

        /* Arrow */
            .timeline-item:nth-child(odd) .timeline-content,
            .timeline-item:nth-child(even) .timeline-content {
                width: calc(100% - 100px);
                margin-left: 100px;
                margin-right: 0;
                text-align: left;
            }


        /* Mobile Responsive */
        @media (max-width: 768px) {
            .section-title {
                font-size: 2rem;
            }

            .timeline::before {
                left: 40px;
            }

/*
            .timeline-item:nth-child(odd) .timeline-content,
            .timeline-item:nth-child(even) .timeline-content {
                width: calc(100% - 100px);
                margin-left: 100px;
                margin-right: 0;
                text-align: left;
            }
*/
            .timeline-icon {
                left: 40px;
                width: 60px;
                height: 60px;
            }

            .timeline-icon svg {
                width: 24px;
                height: 24px;
            }

            .timeline-arrow {
                display: none;
            }

            .timeline-title {
                flex-direction: row !important;
                font-size: 1.5rem;
            }

            .step-number {
                top: -10px;
                right: -10px;
                width: 30px;
                height: 30px;
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 40px 10px;
            }

            .timeline-content {
                padding: 25px;
            }

            .section-title {
                font-size: 1.8rem;
            }

            .timeline-title {
                font-size: 1.3rem;
            }

            .timeline-description {
                font-size: 1rem;
            }
        }

        /* WordPress Block Editor Compatibility */
        .wp-block-group {
            margin: 0;
        }

        .wp-block-columns {
            margin-bottom: 0;
        }

        /* Accessibility */
        @media (prefers-reduced-motion: reduce) {
            * {
                animation: none !important;
                transition: none !important;
            }
        }
/*-- End web-site timeline --*/

/*-- web-site fee --*/
.popular {
            border: 1px solid #d71037;
            box-shadow: 0 5px 5px #d7103722;
        }

        .popular::after {
            content: '満足度No.1';
            position: absolute;
            top: -1px;
            right: 30px;
            background: linear-gradient(45deg, #d71037, #e15672);
            color: white;
            padding: 8px 20px;
            border-radius: 0 0 15px 15px;
            font-size: 0.9rem;
            font-weight: 600;
        }
        .s-popular {
            background: linear-gradient(45deg, #d71037, #e15672);
            color: white;
            padding: 4px 8px;
            border-radius: 8px;
            font-size: 0.75rem;
            font-weight: 600;
        }
/*-- End web-site fee --*/

/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */