﻿/*
Theme Name: imuziok-theme
Theme URI: 
Description: イムジオック公式サイトWordPressテーマ
Author: imuziok
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: imuziok-theme
*/

html {
    font-size: 62.5%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-size: 16px;
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', "新ゴ M", "Shin Go Medium", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #666666;
    font-weight: normal;
    letter-spacing: 0.03em;
}





.wrapper {
    overflow-x: hidden;
    width: 100%;
}

/* clearfix removed, unnecessary with Flexbox */
.pc-none {
    display: none;
}

iframe {
    width: 100%;
    display: block;
}

h1 {
    margin: 0;
}

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

article,
aside,
figure,
figcaption,
footer,
header,
nav,
section {
    display: block;
}



.fadeIn {
    opacity: 0.1;
    transform: translate(0px, 100px);
    transition: all 800ms;
}

.fadeIn.scrollin {
    opacity: 1;
    transform: translate(0px, 0px);
}

.delay02 {
    transition-delay: 0.2s;
}

.delay04 {
    transition-delay: 0.4s;
}





/* hum menu */
#logo img {
    max-width: 180px;
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

#logo {
    /* float: left; removed */
    padding: 0;
}

.hum-menu {
    display: none;
}

/* #global-menu removed */


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#global-menu ul {
    list-style: none;
    margin: 0;
    display: flex;
    /* Added flex */
}

/* #global-menu li removed */

#global-menu li a {
    color: #ffffff;
    display: block;
    padding: 26px 8px;
    font-size: 16px;
    font-weight: normal;
    text-decoration: none;
    line-height: 1;
    position: relative;
    /* specific constraint from original */
}

#global-menu li {
    position: relative;
}

/* #global-menu .menu-parent removed */

/* submenu-toggle removed */

#global-menu .submenu-parent i {
    transition: transform 0.3s;
    font-size: 12px;
    margin-left: 5px;
}

#global-menu .has-submenu.open .submenu-parent i {
    transform: rotate(180deg);
}

#global-menu .submenu {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #eee6d6;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    z-index: 10001;
}

#global-menu .submenu li a {
    color: #2b2b2b;
    padding: 10px 16px;
    font-size: 14px;
}

#global-menu .submenu li a:hover {
    background: #f7f6f2;
}

#global-menu .has-submenu.open .submenu {
    display: block;
}

#global-menu li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    /* Adjust based on padding */
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #bf9a0e;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

#global-menu li a:hover {
    text-decoration: none;
    opacity: 1;
}

#global-menu li a:hover::after {
    transform: scaleX(1);
}

a {
    display: block;
    color: #bf9a0e;
    text-decoration: underline;
}









/* grid */
@media(min-width:1200px) {
    .container {
        max-width: 1200px;
    }
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* header */
#header {
    background-color: transparent;
    position: fixed;
    z-index: 10000;
    top: 0;
    width: 100%;
    padding: 0 15px;
    padding-right: 0;
}

#header.fixed {
    background-color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

#header img.header-logo {
    display: block;
}

#header img.fixed-logo {
    display: none;
}

#header.fixed img.header-logo {
    display: none;
}

#header.fixed img.fixed-logo {
    display: block;
}

#header.fixed #global-menu li a {
    color: #2b2b2b;
}

/* #header.fixed #global-menu .submenu-toggle removed */

/* #header.fixed #global-menu li:last-child {
    background-color: #bf9a0e;
}

#header.fixed #global-menu li:last-child a {
    color: #FFF;
} */

/* hero */
#hero {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

.hero {
    position: relative;
}

.video-box {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}

.video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.hero-overlay::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    background-image: radial-gradient(#111 30%, transparent 31%), radial-gradient(#111 30%, transparent 31%);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
}



.hero-text {
    z-index: 1;
    position: absolute;
    top: auto;
    bottom: 25%;
    left: 6%;
    width: 100%;
}

.hero-text h2 {
    font-size: 80px;
    font-weight: bold;
    line-height: 1.4;
    padding: 0 15px;
    text-align: left;
    color: #fff;
    /* Animation Initial State */
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.hero-text h2.appear {
    opacity: 1;
    transform: translateY(0);
}

.hero-text h2 span {
    font-size: 24px;
    margin-top: 10px;
    letter-spacing: 0.1em;
    font-weight: bold;
    line-height: 1.4;
    display: block;
}

.hero-services span {
    display: inline;
    margin-top: 0;
}

.hero-text h2 span .service-item {
    display: inline-block;
}

.hero-text h2 span .service-divider {
    display: inline-block;
}




/* top */
.home #main-content h2 {
    text-align: center;
    font-size: 36px;
    color: #bf9a0e;
    margin-bottom: 1.8em;
}



.home #main-content h2 span {
    text-align: center;
    font-size: 16px;
    display: block;
}

.home #main-content {
    margin-top: 100vh;
    background-color: #FFF;
}

.home-concept {
    background-image: url(img/bg01.jpg);
    background-size: cover;
    background-attachment: fixed;
    padding-top: 80px;
    padding-bottom: 80px;
}

.home-concept .text-box {
    text-align: center;
    line-height: 1.4;
    font-size: 16px;
    line-height: 2;
    margin-bottom: 60px;
    padding: 60px 40px;
    color: #333;
    color: #333;
    background-color: #fff;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Expanded/Truncated Logic */
.text-content {
    /* line-height is 1.4em. 5 lines = 1.4 * 5 = 7em. Add a bit of buffer. */
    max-height: 12.5em;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease-out;
}

.text-content.expanded {
    max-height: 2000px;
}

.text-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4em;
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 70%);
    pointer-events: none;
    transition: opacity 0.3s;
}

.text-content.expanded::after {
    opacity: 0;
    pointer-events: none;
}

.btn-area {
    margin-top: 20px;
    text-align: center;
}

.read-more-btn {
    display: inline-block;
    background-color: #bf9a0e;
    color: #fff;
    border: 1px solid #bf9a0e;
    padding: 8px 30px;
    /* Reduced padding */
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    /* Reduced font size */
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
}

.read-more-btn:hover {
    background-color: #fff;
    color: #bf9a0e;
}

.text-box p {
    margin-bottom: 1.4em;
}

.home-service {
    background: linear-gradient(180deg, #ffffff 0%, #f7f6f2 100%);
    padding: 140px 0;
}

.home-service .section-head {
    text-align: left;
    margin-bottom: 50px;
}

.home-service .section-head h2 {
    text-align: left;
    font-size: 36px;
    margin-bottom: 12px;
}

.home-service .section-head p {
    font-size: 16px;
    color: #555;
    letter-spacing: 0.04em;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.service-card {
    background: #fff;
    border: 1px solid #eee6d6;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.service-card a {
    text-decoration: none;
    color: inherit;
}

.service-card-media {
    position: relative;
    overflow: hidden;
}

.service-card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(191, 154, 14, 0.95);
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.service-card-body {
    padding: 24px;
}

.service-card-body h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1f1f1f;
}

.service-card-body p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #bf9a0e;
    font-weight: 700;
}

.service-card-link::after {
    content: "\f061";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
}

.service-card:hover img {
    transform: scale(1.06);
}









/* Decorative Icon for FAQ */










/* Home FAQ (Modern) */
.home-faq {
    padding: 140px 0;
    background-color: #fff;
}

.faq-grid {
    display: block;
}

.faq-content {
    background: #fff;
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.faq-content h2 {
    font-size: 34px;
    margin-bottom: 14px;
}

.faq-lead {
    color: #555;
    line-height: 1.9;
    margin-bottom: 30px;
}

.faq-cards {
    display: grid;
    gap: 16px;
    margin-bottom: 30px;
    text-align: left;
}

.faq-card {
    background: #fff;
    border: 1px solid #eee6d6;
    padding: 18px 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.faq-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #1f1f1f;
}

.faq-card p {
    margin: 0;
    color: #555;
    line-height: 1.8;
}





.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    border: 1px solid #bf9a0e;
    color: #bf9a0e;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: #bf9a0e;
    color: #fff;
}

.home-news {
    padding: 100px 0 55px;
    background-color: #f7f7f6;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news-left {
    width: 30%;
    text-align: center;
}

.news-right {
    width: 70%;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 45px 30px;
    padding: 45px 30px;
    background-color: #FFF;
    margin-bottom: 45px;
}




/* Shared FAQ Styles */
.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-q {
    font-weight: bold;
    color: #bf9a0e;
    margin-bottom: 10px;
    font-size: 18px;
}

.faq-q::before {
    content: 'Q. ';
}

.faq-a {
    padding-left: 20px;
}

.faq-a::before {
    content: 'A. ';
    font-weight: bold;
}

.news-list li {
    padding: 0;
    border-bottom: 1px solid #eee;
    /* Thinner border */
}

/* Removed specific first-child padding as it's now 0 globally */

.news-left a {
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 6px;
    border-bottom: 1px solid #bf9a0e;
    display: inline-block;
    margin: 0 auto;
}

.news-left a i {
    padding-right: 8px;
}

.news-list p {
    color: #bf9a0e;
}

.news-list h3 {
    font-weight: bold;
    font-size: 18px;
}

.news-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 12px;
    border: 1px solid transparent;
}

.news-item:hover {
    background-color: #fff;
    /* White background to pop */
    transform: translateY(-5px);
    /* Lift up effect */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    border-color: #f0ecdf;
    /* Subtle border on hover */
}

.news-item::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f061";
    margin-right: 0;
    /* Remove unnecessary margin */
    position: absolute;
    right: 20px;
    /* Align with padding-right */
    bottom: 0;
    top: 50%;
    /* Center vertically */
    transform: translateY(-50%);
    color: #bf9a0e;
    transition: all 0.3s;
    /* Animate position */
    height: 1em;
    line-height: 1;
}

.news-item:hover::before {
    right: 10px;
    /* Move arrow slightly right on hover */
    color: #d4ac1d;
    /* Slightly darker gold */
}

/* Ensure meta container (Date + Tag) stays together or split them */
/* If using the structure <div class="news-meta"><p date><span tag></div> */
.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px;
    /* Fixed width for alignment */
}

.news-date {
    font-family: 'Oswald', sans-serif;
    color: #888;
    font-size: 14px;
    margin: 0;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f0ecdf;
    color: #555;
    font-size: 11px;
    border-radius: 20px;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

a.news-tag:hover {
    background-color: #bf9a0e;
    color: #fff;
}

.news-title {
    flex: 1;
    font-size: 16px;
    margin: 0;
    /* Ensure no default margin */
    line-height: 1.5;
    align-self: center;
    /* Force center alignment */
}

/* Responsive adjustment */
@media screen and (max-width: 768px) {
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-meta {
        width: 100%;
        min-width: auto;
    }
}

/* News Detail */
.news-detail {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0ecdf;
}

.news-detail-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.news-detail-header .news-date {
    color: #bf9a0e;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-detail-header h1 {
    font-size: 24px;
    line-height: 1.5;
    color: #2b2b2b;
}

.news-detail-body {
    margin-bottom: 60px;
}

.news-detail-body p {
    margin-bottom: 2em;
    line-height: 2;
    color: #444;
}

.news-back-btn {
    text-align: center;
}

.news-back-btn a {
    display: inline-block;
    padding: 15px 60px;
    background: #2b2b2b;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
}

.news-back-btn a:hover {
    background: #bf9a0e;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .news-detail {
        padding: 30px 20px;
    }

    .news-detail-header h1 {
        font-size: 20px;
    }
}


/* Pagination */
.pagination {
    margin-top: 60px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 5px;
    background: #fff;
    border: 1px solid #eee6d6;
    color: #2b2b2b;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.pagination .page-numbers:hover {
    background: #f7f6f2;
    border-color: #bf9a0e;
    color: #bf9a0e;
}

.pagination .page-numbers.current {
    background: #bf9a0e;
    border-color: #bf9a0e;
    color: #fff;
}

.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: #888;
}

/* Post Navigation (Single) */
.post-navigation {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.post-navigation .nav-links>div {
    flex: 1;
}

.post-navigation a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #eee6d6;
    color: #2b2b2b;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    border-radius: 8px;
    height: 100%;
}

.post-navigation .nav-previous a {
    justify-content: flex-start;
}

.post-navigation .nav-next a {
    justify-content: flex-end;
}

.post-navigation a i {
    color: #bf9a0e;
    font-size: 12px;
}

.post-navigation .nav-previous a i {
    margin-right: 12px;
}

.post-navigation .nav-next a i {
    margin-left: 12px;
}

.post-navigation a:hover {
    border-color: #bf9a0e;
    color: #bf9a0e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: #fcfbf9;
}

@media screen and (max-width: 768px) {
    .post-navigation .nav-links {
        flex-direction: column;
    }
}










/* aside */
.aside-contact {
    padding-top: 150px;
    /* Increased */
    padding-bottom: 150px;
    /* Increased */
    background-image: url(img/bg01.jpg);
    /* Textured background */
    background-size: cover;
    background-attachment: fixed;
    /* Parallax effect */
    background-position: center;
    color: #fff;
    position: relative;
}

aside h2 {
    text-align: center;
    font-size: 36px;
    color: #fff;
    /* White text */
    margin-bottom: 0.5em;
}

aside h2 span {
    text-align: center;
    font-size: 16px;
    display: block;
}





.aside-contact .fadeIn {
    /* Specific targeting for the button */
    display: inline-block;
    background-color: #fff;
    color: #bf9a0e;
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.aside-contact .fadeIn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.aside-contact i {
    padding-right: 10px;
}

/* Home Contact (Modern) */
.contact-modern {

    color: #1f1f1f;
}

.contact-modern .contact-card {
    display: block;
    text-align: center;
    background: #fff;
    border: none;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.contact-modern h2 {
    text-align: center;
    color: #bf9a0e;
    margin-bottom: 12px;
}

.contact-modern h2 span {
    color: #bf9a0e;
    text-align: center;
    display: block;
    font-size: 16px;
}

.contact-modern p {
    color: #555;
    line-height: 1.9;
}

.contact-points {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    /* Ensure wrapping on small screens */
    justify-content: center;
    align-items: center;
    gap: 20px;
    /* Increased gap for horizontal spacing */
}

.contact-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #3b362a;
}

.contact-points i {
    color: #bf9a0e;
}

.contact-card-action {
    text-align: center;
}

.contact-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #bf9a0e;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 16px 30px;
    border: 1px solid #bf9a0e;
    transition: all 0.3s;
}

.contact-main-btn:hover {
    background: #fff;
    color: #bf9a0e;
}













/* footer */
footer {
    background-image: url(img/hero.jpg);
    background-size: cover;
    background-position: center bottom;
    position: relative;
    z-index: 10001;
}

#footer {
    width: 100%;
    padding-top: 200px;
    padding-bottom: 120px;
    background-color: rgba(0, 0, 0, 0.8);
}

#footer .footer-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.footer-menu ul li {
    width: 50%;
    margin-bottom: 10px;
    padding: 0 10px;
}

.footer-menu ul li a {
    color: #ffffff;
    text-decoration: none;
    text-align: left;
    display: inline-block;
    border-left: 1px dotted #efefef;
    padding: 0px 8px;
    box-sizing: border-box;
    position: relative;
}

.footer-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #bf9a0e;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.footer-menu ul li a:hover {
    color: #bf9a0e;
}

.footer-menu ul li a:hover::after {
    transform: scaleX(1);
}

#footer small {
    font-size: 14px;
    display: block;
    line-height: 1;
    letter-spacing: .3rem;
    color: #FFF;
    text-align: center;
}

.footer-l {
    color: #FFF;
    width: 33.3%;
}

.footer-l img {
    width: 240px;
    height: auto;
    margin-bottom: 15px;
}

.footer-l a {
    color: #FFF;
    text-decoration: underline;
    display: block;
}

.footer-c {
    padding-left: 15px;
    padding-right: 15px;
    width: 33.3%;
}

.footer-r {
    width: 33.3%;
}

.footer-r .footer-menu ul {
    display: block;
}

.footer-r .footer-menu li {
    width: 100%;
}

.footer-r a {
    display: block;
    color: #efefef;
    text-align: right;
    text-decoration: none;

}

/* ==================================== */
/* SP Styles (Merged from sp.css)       */
/* ==================================== */

@media screen and (max-width :1024px) {




    .pc-none {
        display: block;
    }

    .sp-none {
        display: none;
    }

    .hum-menu {
        display: block;
        position: fixed;
        top: 16px;
        right: 20px;
        /* float: none; removed as it's not needed with fixed/flex */
        z-index: 100000;
    }

    #global-menu nav {
        display: none;
    }

    #global-menu .open {
        display: block;
    }

    .menu-trigger,
    .menu-trigger span {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
    }

    .menu-trigger {
        position: static;
        width: 60px;
        height: 44px;
    }

    .menu-trigger span {
        position: absolute;
        left: 15%;
        width: 70%;
        height: 2px;
        background-color: #ffffff;
        border-radius: 0;
    }

    .menu-trigger span:nth-of-type(1) {
        top: 12px;
    }

    .menu-trigger span:nth-of-type(2) {
        top: 22px;
    }

    .menu-trigger span:nth-of-type(3) {
        bottom: 15px;
    }

    .menu-trigger.active span:nth-of-type(1) {
        -webkit-transform: translateY(10px) rotate(-45deg);
        transform: translateY(10px) rotate(-45deg);
    }

    .menu-trigger.active span:nth-of-type(2) {
        opacity: 0;
        height: 40px;
        top: -8px;
    }

    .menu-trigger.active span:nth-of-type(3) {
        -webkit-transform: translateY(-10px) rotate(45deg);
        transform: translateY(-10px) rotate(45deg);
    }

    #global-menu nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(20, 20, 20, 0.98);
        /* Deeper black */
        backdrop-filter: blur(10px);
        /* Frosted glass effect */
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        padding: 0;
        overflow-y: auto;
    }

    #global-menu nav.open {
        opacity: 1;
        visibility: visible;
        display: flex !important;
        /* Force flex to override .open { display: block } */
    }

    #global-menu nav ul {
        padding: 80px 20px;
        display: flex;
        flex-direction: column !important;
        /* Force vertical flow */
        gap: 20px;
        /* Increased gap */
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
    }

    #global-menu nav li {
        border-bottom: none;
        /* Removed border */
        width: 100%;
    }

    #global-menu li>a,
    #global-menu .submenu-parent {
        width: 100%;
        text-align: center;
        color: #fff;
        padding: 10px 0;
        /* Reduced padding due to larger gap */
        font-weight: normal;
        font-size: 16px;
        /* Larger font */
        letter-spacing: 0.1em;
        display: block;
        cursor: pointer;
        transition: color 0.3s;
    }

    #global-menu li a::after {
        bottom: 5px;
        /* Move underline further down from text */
    }

    #global-menu li>a:active,
    #global-menu .submenu-parent:active {
        color: #bf9a0e;
        transform: scale(0.98);
    }

    #global-menu .submenu-parent {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    #global-menu .submenu {
        position: static;
        width: 100%;
        border: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.08);
        /* Sophisticated subtle bg */
        border-radius: 12px;
        /* Soft layout */
        margin-top: 10px;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        /* Smooth easing */
        display: none !important;
    }

    #global-menu .has-submenu.open .submenu {
        max-height: 400px;
        padding: 12px 0;
        visibility: visible;
        opacity: 1;
        display: block !important;

    }

    #global-menu .submenu li a {
        color: #e0e0e0;
        padding: 16px 0;
        font-size: 16px;
        font-weight: normal;
        transition: all 0.2s ease;
    }

    #global-menu .submenu li a:active {
        background: rgba(255, 255, 255, 0.15);
        color: #fff;
    }

    #global-menu .submenu li:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        /* Very subtle divider */
    }



    #global-menu .submenu-parent i {
        color: #bf9a0e;
        font-size: 14px;
        margin-left: 0;
        /* Handled by gap */
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    #global-menu .has-submenu.open .submenu-parent i {
        transform: rotate(180deg);
    }

    #global-menu .has-submenu.open {
        background: transparent;
    }

    #header.fixed .menu-trigger span {
        background-color: #bf9a0e;
    }

    #header.fixed #global-menu li a {
        color: #ffffff;
    }



    .news-more {
        text-align: center;
    }

    .news-more a i {
        padding-right: 8px;
    }
}

/*  mobile-m tablet   */
@media screen and (max-width : 768px) {

    /* Base Layout Improvements */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    section,
    .home-faq,
    .home-service,
    .home-concept {
        padding-top: 100px;
        padding-bottom: 100px;
    }

    /* Hero section should not have padding */
    section.hero {
        padding-top: 0;
        padding-bottom: 0;
    }

    h2 {
        margin-bottom: 40px;
    }

    p {
        line-height: 1.9;
        font-size: 15px;
    }


    .hero-text h2 {
        font-size: 48px;
    }

    .home-news .flex {
        display: block;
    }

    .news-left {
        width: 100%;
        margin-bottom: 45px;
    }

    .news-right {
        width: 100%;
    }

    .news-list {
        padding: 30px 15px;
    }

    .news-item {
        text-align: left;
    }

    .news-meta {
        justify-content: flex-start;
    }

    .news-title {
        text-align: left;
        align-self: flex-start;
        margin-left: 0;
        margin-right: 0;
    }

    .news-list h3 {
        font-weight: bold;
        font-size: 16px;
    }

    .home-concept .text-box {
        font-size: 16px;
    }

    .service-cards {
        grid-template-columns: 1fr;
        gap: 40px;
        /* Increase gap */
        padding: 0 15px;
        /* Ensure content isn't touching edges */
    }

    .service-card {
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        /* Softer shadow */
        opacity: 1 !important;
        /* Force visible in case animation fails */
        transform: none !important;
        /* Reset transform in case animation fails */
    }



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



    .contact-modern .contact-card {
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }

    .contact-modern h2 {
        font-size: 24px;
        text-align: center;
    }

    .contact-points {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 12px;
        margin: 20px 0;
    }

    .contact-card-action {
        text-align: left;
    }





    #footer .footer-flex {
        display: block;
    }

    .footer-l {
        width: 100%;
        margin-bottom: 45px;
        text-align: center;
    }

    .footer-l img {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-c {
        width: 100%;
        margin-bottom: 45px;
    }

    .footer-r {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 30px;
    }

    .footer-r .footer-menu ul li {
        width: 50%;
    }

    .footer-r .footer-menu ul {
        display: flex;
    }
}


/* mobile s */
@media screen and (max-width : 430px) {


    .home #main-content h2 {
        font-size: 24px;
    }

    .hero-text h2 {
        font-size: 32px;
    }

    .news-list h3 {
        font-size: 14px;
    }



    .home-concept .text-box {
        font-size: 13px;
    }





    .contact-main-btn {
        width: 100%;
    }

    .contact-modern .contact-card {
        padding: 30px 20px;
    }



    .footer-menu ul {
        display: block;
    }

    .footer-menu ul li {
        width: 100%;
    }

    .footer-r .footer-menu ul li {
        width: 100%;
    }

    .footer-r .footer-menu ul {
        display: block;
    }
}

@media screen and (max-width : 430px) {
    .hum-menu {
        top: 10px;
        right: 10px;
    }
}

/* Global Center Alignment for Aside Contact */
.aside-contact .contact-card-action {
    text-align: center;
}

/* Splash Screen */
#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #111;
    /* Main Color */
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease, transform 1.5s ease;
    /* Slower, smooth fade and move */
}

#splash-logo img {
    width: 200px;
    height: auto;
    opacity: 0;
    animation: splashLogoAnim 2s forwards;
}

/* Fade out and move up */
#splash.fadeout {
    opacity: 0;
    transform: translateY(-30%);
    /* Move up slightly while fading */
    pointer-events: none;
    /* CRITICAL: Allow clicks to pass through transparent overlay */
}

#splash.hidden {
    display: none;
}

@keyframes splashLogoAnim {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    40% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    70% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        /* Fade out logo completely before background moves */
        transform: scale(1.1);
    }
}

/* Subpage Hero */
.sub-hero {
    height: 60vh;
    min-height: 500px;
    background-image: url(img/hero.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 0;
    text-align: center;
    max-width: none;
}

.sub-hero.service-bg,
.sub-hero.kigurumi-bg {
    background-image: url(img/studio1.jpg);
}

.sub-hero.plush-bg {
    background-image: url(img/studio2.jpg);
}

.sub-hero.novelty-bg {
    background-image: url(img/service02.jpg);
}

.sub-hero.company-bg {
    background-image: url(img/bg01.jpg);
}

.sub-hero.faq-bg {
    background-image: url(img/flow_img.jpg);
}

.sub-hero.contact-bg,
.sub-hero.privacy-bg {
    background-image: url(img/hero.jpg);
}

.sub-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Lighter overlay */
    background-image: linear-gradient(45deg, rgba(191, 154, 14, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
    /* Gold tint */
    display: block;
    /* Restore display */
}



.sub-hero h1,
.sub-hero .sub-hero-title {
    position: relative;
    color: #fff;
    font-size: 42px;
    font-weight: bold;
    z-index: 1;
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    /* Revert font */
    padding-bottom: 0;
}

.sub-hero h1 span,
.sub-hero .sub-hero-title span {
    display: block;
    font-size: 16px;
    margin-top: 10px;
    font-weight: normal;
    letter-spacing: 0.1em;
    color: #fff;
    /* Revert color */
    font-family: 'Noto Sans JP', sans-serif;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background-color: transparent;
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    row-gap: 5px;
    justify-content: flex-end;
    /* Align right */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
    /* Space between items */
}

.breadcrumbs li {
    font-size: 14px;
    /* Slightly larger for readability */
    color: #666;
    display: flex;
    /* Centers text/icon if needed */
    align-items: center;
}

.breadcrumbs li::after {
    content: '>';
    margin-left: 10px;
    color: #ccc;
}

.breadcrumbs li:last-child::after {
    display: none;
}


.breadcrumbs li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs li a:hover {
    color: #bf9a0e;
}

/* Content Area General (Refactored) */
.page-content {
    padding: 60px 0 80px;
    background-color: #fff;
}

.page-content .container {
    max-width: 1000px;
    /* Slightly narrower for readability */
}

/* Page Lead (Elegant) */
.page-lead {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    line-height: 2.4;
    margin-bottom: 100px;
    color: #1f1f1f;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", "MS PMincho", "MS 明朝", serif;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 0;
}

.page-lead::before {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #bf9a0e;
    margin: 0 auto 40px;
}

.page-lead::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background-color: #bf9a0e;
    margin: 40px auto 0;
}

/* Feature List (Grid Layout) */
.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 0;
}

.feature-item {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #eee;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: #bf9a0e;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #fcf9ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #bf9a0e;
    font-size: 32px;
    position: relative;
}

.feature-num {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: #bf9a0e;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    opacity: 1;
}

.feature-text h3 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #bf9a0e;
    display: inline-block;
    padding-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

.feature-text p {
    font-size: 14px;
    text-align: left;
    color: #666;
    line-height: 1.8;
}

/* Service Page Cards - Refined adjustment if needed */




/* Updated Responsive for Features */
@media screen and (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
    }

    .page-lead {
        padding: 20px 0;
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 60px;
    }
}

/* FAQ Page */
.faq-box {
    background: #fff;
    border: none;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    padding: 40px 0;
    margin-bottom: 0;
    border-left: none;
    /* Remove colored bar */
}

.faq-box:hover {
    background: #fff;
    box-shadow: none;
    opacity: 0.7;
}

.faq-q {
    font-size: 20px;
    color: #282823;
}

.faq-q::before {
    background: transparent;
    color: #bf9a0e;
    font-size: 24px;
    font-style: italic;
    font-family: serif;
    font-weight: bold;
    width: auto;
    height: auto;
    border-radius: 0;
    margin-right: 10px;
}

.faq-a {
    padding-left: 45px;
    /* Alignment */
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 0;
    border-radius: 0;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-bottom: 25px;
    font-weight: bold;
    color: #282823;
    font-size: 15px;
}

.contact-label-flex {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.required-badge {
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
}

.optional-badge {
    background: #999;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea,
.contact-form .wpcf7-form-control {
    width: 100%;
    display: block;
    margin-top: 8px;
    margin-bottom: 0;
    background: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 20px;
    box-sizing: border-box;
}

.contact-form br {
    display: none;
}

.contact-form button,
.contact-form .wpcf7-submit {
    background-color: #bf9a0e;
    color: #fff;
    border: 1px solid #bf9a0e;
    border-radius: 0;
    padding: 20px 80px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    width: auto;
    display: block;
    margin: 20px auto 0;
}

.contact-form button:hover,
.contact-form .wpcf7-submit:hover {
    background-color: #fff;
    color: #bf9a0e;
    transform: none;
    opacity: 1;
}

/* Company Table */


/* Company Page Modern Layout */
.company-page {
    background: linear-gradient(180deg, #ffffff 0%, #f7f6f2 100%);
    position: relative;
}

.company-page .container {
    position: relative;
    z-index: 1;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-weight: 700;
    color: #bf9a0e;
    margin-bottom: 10px;
}

.company-intro {
    margin-bottom: 70px;
    text-align: center;
}

.company-intro-text h2 {
    font-size: 34px;
    color: #1f1f1f;
    line-height: 1.5;
    margin-bottom: 20px;
}

.company-intro-text .page-lead {
    margin-bottom: 0;
}

.company-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.company-feature {
    background: #fff;
    border: 1px solid #eee6d6;
    padding: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.company-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #bf9a0e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 18px;
}

.company-feature h2,
.company-feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.company-feature p {
    color: #555;
    line-height: 1.9;
}

.company-info-grid {
    margin-bottom: 70px;
}

.company-details,
.company-services,
.profile-card {
    background: #fff;
    border: 1px solid #eee6d6;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.company-details h2,
.company-details h3,
.company-services h2,
.company-services h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.company-dl {
    margin: 0;
}

.company-dl-row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #eee6d6;
}

.company-dl-row:last-child {
    border-bottom: none;
}

.company-dl dt {
    font-weight: 700;
    color: #1f1f1f;
}

.company-dl dd {
    margin: 0;
    color: #444;
    line-height: 1.8;
}

.company-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0 0 20px;
}

.company-tags li {
    background: #f2efe7;
    color: #3b362a;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.company-services-note {
    color: #555;
    line-height: 1.9;
}











.profile-card {
    display: grid;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.profile-header h2,
.profile-header h3 {
    margin: 6px 0 10px;
    font-size: 24px;
}



.profile-body p {
    margin-bottom: 20px;
    line-height: 1.8;
}



.profile-body p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1024px) {
    .company-intro {
        grid-template-columns: 1fr;
    }

    .company-info-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .company-dl-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }



    .profile-card {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width : 768px) {
    .sub-hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .sub-hero h1,
    .sub-hero .sub-hero-title {
        font-size: 32px;
    }

    .breadcrumbs {
        padding: 10px 15px 5px;
        text-align: left;
    }

    .page-content {
        padding-top: 40px !important;
    }

    .breadcrumbs ul {
        justify-content: flex-start;
    }

    .feature-item {
        flex-direction: column;
        gap: 20px;
    }

    .feature-item:nth-child(even) {
        flex-direction: column;
    }






}

/* Floating Contact Banner */
#floating-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s;
}

#floating-contact.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#floating-contact a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #bf9a0e;
    /* Main Gold */
    color: #fff;
    text-decoration: none;
    padding: 20px 10px;
    width: 60px;
    border-radius: 0;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

#floating-contact a:hover {
    background-color: #fff;
    color: #bf9a0e;
    transform: translateX(-5px);
}



#floating-contact i {
    font-size: 24px;
    margin-bottom: 10px;
}

#floating-contact span {
    writing-mode: vertical-rl;
    /* Vertical Text */
    text-orientation: upright;
    font-size: 14px;
    letter-spacing: 0.2em;
    font-weight: bold;
}

@media screen and (max-width : 768px) {
    #floating-contact {
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        right: 0;
        left: 0;
    }

    #floating-contact a {
        flex-direction: row;
        width: 100%;
        height: 60px;
        border-radius: 0;
        writing-mode: horizontal-tb;
        /* Horizontal on mobile */
    }

    #floating-contact span {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        margin-left: 10px;
        margin-bottom: 0;
    }

    #floating-contact i {
        margin-bottom: 0;
    }
}

/* Process Flow (Accordion Timeline) */
.process-flow {
    padding-bottom: 120px;
    background: #fdfcf9;
    padding-top: 80px;
}

.process-flow .section-title {
    margin-bottom: 80px;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    font-family: 'Noto Sans JP', sans-serif;
    color: #282823;
}

.process-flow .section-title span {
    display: block;
    font-size: 16px;
    color: #bf9a0e;
    margin-top: 10px;
    font-weight: normal;
    letter-spacing: 0.1em;
}

.flow-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 20px;
}

/* Connecting Line */
.flow-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 45px;
    width: 2px;
    height: 100%;
    background: #e0d0a0;
    z-index: 0;
}

.flow-item {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
    display: flex;
    gap: 30px;
    border-bottom: none;
    position: relative;
    z-index: 1;
}

.flow-item:last-child {
    margin-bottom: 0;
}

/* Step Marker */
.flow-step-marker {
    flex-shrink: 0;
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #bf9a0e;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 0 0 5px #fff;
    /* White border effect around circle */
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.step-num {
    font-family: 'Oswald', sans-serif;
    color: #bf9a0e;
    font-weight: bold;
    font-size: 14px;
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Flow Content Box (Accordion Trigger) */
.flow-content {
    flex: 1;
    background: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0ecdf;
    position: relative;
    transition: all 0.3s;
    cursor: pointer;
}

/* Arrow Pointer */
.flow-content::before {
    content: '';
    position: absolute;
    top: 25px;
    left: -8px;
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
    border-left: 1px solid #f0ecdf;
    border-bottom: 1px solid #f0ecdf;
    transition: background 0.3s;
}

.flow-item:hover .flow-content {
    border-color: #bf9a0e;
}

.flow-item.open .flow-content {
    border-color: #bf9a0e;
    box-shadow: 0 10px 25px rgba(191, 154, 14, 0.15);
}

.flow-item.open .flow-content::before {
    border-color: #bf9a0e;
}

.flow-title {
    font-size: 18px;
    margin-bottom: 0;
    color: #282823;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Accordion Icon */
.flow-toggle-icon {
    flex-shrink: 0;
    font-size: 16px;
    color: #bf9a0e;
    transition: transform 0.3s;
    margin-left: 15px;
}

.flow-item.open .flow-toggle-icon {
    transform: rotate(180deg);
    color: #bf9a0e;
}

/* Hidden Text */
.flow-text {
    display: none;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px dashed #dedede;
    animation: flowSlideDown 0.3s ease;
}

.flow-item.open .flow-text {
    display: block;
}

@keyframes flowSlideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flow-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 10px;
}

.flow-text p:last-child {
    margin-bottom: 0;
}

.flow-text a {
    color: #bf9a0e;
    text-decoration: underline;
}

.flow-img-gallery p {
    color: #bf9a0e;
    grid-column: 1 / -1;
    text-align: left;
}

.flow-img-single p {
    color: #bf9a0e;
    text-align: left;
}


@media screen and (max-width: 768px) {
    .flow-list {
        padding-left: 0;
    }

    .flow-list::before {
        left: 24px;
    }

    .flow-item {
        gap: 15px;
        margin-bottom: 20px;
    }

    .step-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .flow-list::before {
        left: 20px;
    }

    .flow-content {
        padding: 15px 20px;
    }

    .flow-title {
        font-size: 16px;
    }

    .flow-content::before {
        top: 20px;
        /* Adjust for smaller icon/padding */
    }

    .sp-none {
        display: none !important;
    }

    .faq-content {
        padding: 40px 20px;
    }

    .faq-q {
        font-size: 16px;
    }

    .pc-none {
        display: block;
    }

    .faq-lead {
        margin-bottom: 20px;
    }

    .company-feature-grid {
        grid-template-columns: 1fr;
    }

    .hero-text {
        left: 0;
        bottom: 50%;
        transform: translateY(50%);
        text-align: center;
        padding: 0 15px;
    }

    .hero-text h2 {
        text-align: center;
    }

    .hero-text h2 span .service-item {
        display: block;
        margin-top: 5px;
    }

    .hero-text h2 span .service-divider {
        display: none;
    }

    .faq-q,
    .faq-a {
        display: flex;
        align-items: baseline;
    }

    .faq-q::before,
    .faq-a::before {
        flex-shrink: 0;
        position: static !important;
        /* Force into flow */
        margin-right: 10px;
    }
}

/* Flow Images */
.flow-img-gallery {
    display: grid;
    gap: 10px;
    margin-top: 15px;
}

.flow-img-gallery.two-col {
    grid-template-columns: 1fr 1fr;
}

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

.flow-img-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.flow-img-single {
    margin-top: 15px;
    text-align: center;
}

.flow-img-single img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 800px;
    /* Increased height limit */
    object-fit: contain;
}

@media (max-width: 768px) {

    .flow-img-gallery.two-col,
    .flow-img-gallery.three-col {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }
}