/* リセットと基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', serif;
    background-color: transparent;
    color: #333333;
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: #666666;
    text-decoration: none;
}

a:hover {
    color: #333333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* 固定ヘッダー */
header#fixedHeader {
    position: fixed;
    top: -80px;
    left: 0;
    right: 0;
    background: rgba(0, 51, 102, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1005;
    transition: top 0.3s ease;
    padding: 15px 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header#fixedHeader.show {
    top: 0;
}

header#fixedHeader .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixed-logo {
    display: flex;
    align-items: center;
}

.fixed-logo img {
    height: 40px!important;
    width: auto;
}

.fixed-hamburger {
    display: flex !important;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    transition: all 0.3s ease;
}

.fixed-hamburger.active {
    transition: all 0.3s ease;
}

.fixed-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.fixed-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: white !important;
}

.fixed-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.fixed-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: white !important;
}

/* ロゴとハンバーのみを絶対位置で配置 */
.logo {
    position: fixed;
    top: 15px;
    left: 20px;
    z-index: 1001;
}

.nav {
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1004;
}

.logo img {
    height: 40px;
    width: auto;
}

.hamburger {
    display: flex !important;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: fixed;
    top: 15px;
    right: 20px;
    z-index: 1005;
    transition: all 0.3s ease;
}


@media (max-width: 768px) {
    .hamburger {
        width: 25px;
        height: 20px;
        top: 10px;
        right: 15px;
    }
    
    .hamburger.active {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1005;
    }
.fixed-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
    background: white !important;
}

.fixed-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
    background: white !important;
}
}

/* ナビゲーションメニュー */
.nav-menu {
    display: none !important;
    position: fixed;
    top: 15px;
    right: 550px;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 5px;
    z-index: 1004;
}

.nav-menu.active {
    display: flex !important;
    flex-direction: column;
}

.nav-menu li {
    margin: 2px 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ccc;
}

/* スマホ用nav-menu */
@media (max-width: 768px) {
    .nav-menu {
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 51, 102, 0.95);
        padding: 20px 15px 15px;
        border-radius: 0;
        transition: right 0.3s ease;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
    }
}

@media (min-width: 769px) {
    .hamburger.active {
        position: fixed;
        top: 20px;
        right: 520px;
        z-index: 1005;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px) !important;
        background: white !important;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0 !important;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px) !important;
        background: white !important;
    }
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
}



/* サイドバーを上から表示 */
nav .nav-menu {
    position: fixed;
    top: 0;
    right: -500px;
    width: 500px;
    height: 100vh;
    background: white;
    list-style: none;
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    padding: 20px 0;
    overflow-y: auto;
    justify-content: flex-start !important;
}

.nav-menu.active {
    right: 0;
}

@media (max-width: 500px) {
    .nav-menu {
        width: 100%;
        right: -100%;
    }
}

.nav-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px dotted #ccc;
    padding: 10px 0;
}

.nav-menu li:last-child {
    border-bottom: none;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.3rem;
    padding: 0 40px;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 250px;
}

.nav-menu a:hover {
    color: #4a90e2;
    transform: translateX(-5px);
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(1);
    transition: all 3s ease;
}

.slide1 {
    background: url(../images/slide01.jpg) center/cover no-repeat;
}

.slide2 {
    background: url(../images/slide02.jpg) center/cover no-repeat;
}

.slide3 {
    background: url(../images/bg_sky.jpg) center/cover no-repeat !important;
}

.slide.active {
    opacity: 1;
    transform: scale(1.3);
}


.slide-content {
    text-align: center;
    color: white !important;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    transform: scale(1) translateY(-100px);
    transition: transform 3s ease;
    margin-top: -15%;
}

.slide.active .slide-content {
    transform: scale(0.77) translateY(-100px); /* 1/1.3 ≈ 0.77 で親のズームを相殺 */
}

.catch-copy {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    color: white !important;
}

.main-concept {
    font-size: clamp(1.2rem, 3vw, 1.8rem)!important;
    max-width: 800px;
    margin: 0 auto;
    color: white !important;
}

.main-concept:first-of-type {
    font-size: clamp(3rem, 8vw, 4rem)!important;
    font-weight: 700;
    margin-bottom: 30px;
    color: white !important;
}

/* セクション共通 */
section {
    padding: 30px 0;
}

/* E工房セクション */
.about {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/bg_sky.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.about-item {
    text-align: center;
    background: white;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    text-decoration: none;
    display: block;
}

.about-item:hover {
    transform: translateY(-5px);
}

.about-item img {
    width: 100%;
    height: auto;
    display: block;
}

.about-item.about-item-vertical img {
    width: 100%;
    height: 141px !important;
    object-fit: cover;
}

.about-item .category-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    margin: 5px 10px 3px;
}

.about-item .item-title {
    font-size: 0.95rem;
    font-weight: 400;
    color: #fff;
    background-color: #194775;
    margin: 0;
    line-height: 1.4;
    text-align: center;
    padding: 5px;
}

/* ヒーローセクションのパディングをゼロに */
.hero {
    padding: 0;
}

/* コンセプトセクションの上部パディングを調整 */
#concept {
    padding-top: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
}

.section-title {
    font-size: 1.8rem!important;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin: 0 auto 15px auto!important;
    position: relative;
    color: white;
    display: block;
    text-align: center;
    background: url(../images/gb_headline.jpg) center / cover no-repeat;
    padding: 0 20px;
    margin-bottom: 20px;
    text-align: center;
}

.concept-subtext {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
    padding: 5px 0;
    display: block;
}

/* コンセプトセクション */
.concept {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/bg_sky.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* E工房セクション */
.about {
    background-color: #ffffff;
}

.about .section-header {
    background: url('../images/bg_sky.jpg') center/cover no-repeat;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.about .section-header .about-content {
    color: white !important;
}

.about .section-header .about-content p {
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.e-kobo-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.about-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

.about-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.e-kobo-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 30px auto;
    display: block;
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.thumbnail {
    width: 200px;
    height: 150px;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.thumbnail.noimage {
    background-color: #f5f5f5;
}

.company-name {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.company .section-header {
    background: url('../images/gb_headline.jpg') center/cover no-repeat;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.company {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/bg_sky.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.company-info {
    text-align: center;
    margin: 0 auto;
}

.company-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 全セクションに背景色を設定 */
section:not(.hero) {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.policy-description {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto 30px auto;
}

.policy-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}


/* conceptとcompanyセクションは例外 */
.concept, .company {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('bg_sky.jpg') !important;
}

.concept-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.concept-content p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.catch-copy {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

.main-concept {
    font-size: 1.4rem;
    color: #555;
}

.definition {
    font-size: 1.1rem;
    color: #666;
}

.aging-beauty {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

/* 会社概要 */
.about {
    background-color: #f8f8f8;
}

.about-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.company-info p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.company-info strong {
    font-weight: 700;
}

.qualifications h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.qualifications ul {
    list-style: none;
}

.qualifications li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    padding-left: 20px;
    position: relative;
}

.qualifications li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #666;
}

/* ポリシーセクション */
.policy {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/bg_sky.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.policy-list {
    max-width: 600px;
    margin: 0 auto;
    padding: 5px 0;
}

.policy-item {
    margin-bottom: 8px;
    text-align: left;
}

.policy-item p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.policy-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-right: 20px;
    min-width: 40px;
}


/* ブランドラインナップ */
.brand {
    background-color: #f8f8f8;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.brand-item {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.brand-item:hover {
    transform: translateY(-5px);
}

.brand-item h3 {
    font-size: 1.3rem;
    margin-top: 20px;
    font-weight: 700;
}

/* 実績カテゴリー */
.works {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/bg_sky.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.two-column-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
}

.sidebar {
    flex: 0 0 270px;
}

.sidebar-content {
    background: white;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.sidebar-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.sidebar-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.sidebar-image {
    text-align: center;
    margin-top: 10px;
}

.sidebar-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.material-categories {
    margin-top: 20px;
}

.material-item {
    margin-bottom: 15px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.material-item:hover {
    transform: translateY(-5px);
}

.material-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 8px;
}

.material-item .no-image {
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 8px;
}

.material-item p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

.works-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.category-item {
    text-align: center;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item img {
    width: 100%;
    height: auto;
    display: block;
}

.category-item.category-item-vertical img {
    width: 100%;
    height: 100px !important;
    object-fit: cover;
}

.category-item h3 {
    font-size: 1rem;
    font-weight: 700;
}

/* 特集セクション */
.special {
    background-color: #ffffff;
}

.special-section {
    margin-bottom: 60px;
}

.special-section:last-child {
    margin-bottom: 0;
}

.special .section-header {
    text-align: center;
}


.special .section-header .section-title {
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.special-section > p {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: #666;
}

.aging-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.aging-item {
    text-align: center;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.aging-item:hover {
    transform: translateY(-5px);
}

.aging-item img {
    width: 100%;
    height: auto;
    display: block;
}

.aging-item.aging-item-vertical img {
    width: 100%;
    height: 100px !important;
    object-fit: cover;
}

.aging-item p {
    font-size: 1rem;
    font-weight: 700;
}

.innovation-items,
.process-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

@media (min-width: 769px) {
    .process-items {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
    
    .works-categories {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
    }
}

.innovation-item,
.process-item {
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 150px;
}

.innovation-item:hover,
.process-item:hover {
    transform: translateY(-5px);
}

.innovation-item img,
.process-item img {
    width: 100%;
    height: auto;
    display: block;
}

.innovation-item p,
.process-item p {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Before & After */
.before-after-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.before-after-item {
    text-align: center;
    background: white;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
}

.before-after-item:hover {
    transform: translateY(-5px);
}

.before-after-item p {
    text-align: center;
    font-size: 1.1rem;
    margin-top: 15px;
}

.garden-link {
    display: block;
    text-decoration: none;
    margin-top: 15px;
}

.garden-link img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.garden-link:hover img {
    transform: scale(1.05);
}

/* Craftsman */
.craftsman-content {
    text-align: center;
}

.carousel-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
}

.carousel-slide {
    flex: 0 0 auto;
    width: 180px;
    height: 120px;
    margin-right: 15px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-975px); /* 5枚分 × (180px + 15px) */
    }
}

.craftsman-content p {
    font-size: 1.1rem;
    color: #666;
}

/* パンくずナビゲーション */
nav.breadcrumb-nav,
nav.breadcrumb {
    background: #c5c8cb !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid #a3a6a8 !important;
}

nav.breadcrumb-nav .container,
nav.breadcrumb .breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb,
.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.breadcrumb-item {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #6c757d;
    font-size: 16px;
}

.breadcrumb-current {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

/* その他 */
.others {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/bg_sky.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* スマホ対応 */
@media (max-width: 768px) {
    body {
        margin: 0;
        padding: 0;
    }
    
    .pc-only {
        display: none;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    /* ヒーローセクションは例外 */
    .hero {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    main {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    /* ヘッダー */
    .logo {
        top: 10px;
        left: 15px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .nav {
        top: 10px;
        right: 15px;
    }
    
        
    /* 固定ヘッダー */
    .fixed-logo {
        top: 10px;
        left: 15px;
    }
    
    .fixed-logo img {
        height: 25px!important;
    }
    
    .fixed-hamburger {
        width: 25px;
        height: 20px;
        top: 10px;
        right: 15px;
    }
    
    .fixed-hamburger.active {
        top: 15px;
        right: 15px;
    }
    
        
    /* ヒーローセクション */
    .hero {
        margin-top: 0;
        padding: 0;
    }
    
    .catch-copy {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .main-concept {
        font-size: 1.2rem;
    }
    
    /* E工房セクション */
    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
        margin-top: 20px;
    }
    
    .about-item {
        min-height: 150px;
    }
    
    .about-item h3 {
        font-size: 0.9rem;
        margin: 10px 5px;
    }
    
    /* 2カラムレイアウト */
    .two-column-layout {
        flex-direction: column !important;
    }
    
    .main-content {
        width: 100% !important;
    }
    
    .sidebar {
        width: 100% !important;
        margin-top: 30px;
    }
    
    /* Works/Typeセクション以降のコンテナ調整 */
    .works .container,
    .special .container,
    .process .container,
    .before-after .container,
    .craftsman .container {
        padding: 0 15px;
    }
    
    /* section-headerの調整 */
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 1.4rem !important;
        padding: 5px !important;
    }
    
    /* Works/Type */
    .works-categories {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    /* Before & After */
    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* カルーセル */
    .carousel-container {
        max-width: 100%;
    }
    
    .carousel-slide {
        width: 150px;
        height: 100px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-800px); /* 5枚分 × (150px + 10px) */
        }
    }
    
    /* Materialカテゴリー */
    .material-item {
        margin-bottom: 10px;
    }
    
    .material-item .no-image {
        height: 80px;
    }
    
    .material-item p {
        font-size: 0.8rem;
    }
    
    /* Aging Beauty */
    .aging-items {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .aging-item {
        min-height: 120px;
    }
    
    .aging-item p {
        font-size: 0.9rem;
    }
    
    /* Garden Innovation */
    .innovation-items {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .innovation-item {
        min-height: 150px;
    }
    
    .innovation-item p {
        font-size: 0.9rem;
    }
    
    /* Process */
    .process-items {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .process-item {
        min-height: 150px;
    }
    
    .process-item p {
        font-size: 0.9rem;
    }
    
    /* Craftsman */
    .craftsman-content {
        padding: 0 10px;
    }
    
    .carousel-container {
        margin: 0 auto 20px auto;
    }
    
    .craftsman-content p {
        font-size: 1rem;
    }
    
    /* ポリシー */
    .policy-list {
        padding: 0 10px;
    }
    
    .policy-item {
        margin-bottom: 8px;
    }
    
    .policy-item p {
        font-size: 1rem;
    }
    
    /* カテゴリーアイテム */
    .category-item.category-item-vertical img {
        height: auto !important;
    }
    
    /* Agingアイテム */
    .aging-item.aging-item-vertical img {
        height: auto !important;
    }
    
    /* フォームセクション */
    .form-section h2 {
        font-size: 1.4rem !important;
    }
    
    /* 保証カード */
    .warranty-card {
        padding: 15px !important;
        margin: 10px 0 !important;
    }
    
    /* プロジェクト名 */
    h1.project-name {
        font-size: 1.3rem !important;
    }
    
    /* ナビメニュー */
    nav .nav-menu {
        width: 100% !important;
        right: -100% !important;
    }
    
    nav .nav-menu.active {
        right: 0 !important;
    }
    
    /* 会社概要 */
    .company-info {
        padding: 0 10px;
    }
    
    .company-info p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* コンセプト */
    .concept-subtext {
        font-size: .9rem !important;
        line-height: 1.6 !important;
    }
}

.others-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.other-item {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.other-item:hover {
    transform: translateY(-5px);
}

.other-item h3 {
    font-size: 1.3rem;
    margin: 15px 0 10px;
    font-weight: 700;
}

.other-item p {
    color: #666;
    font-size: 1rem;
}

/* No-imageプレースホルダー */
.no-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
                 linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
                 linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
                 linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    display: flex;
}

.no-image::before {
    content: 'No Image';
    font-size: 1rem;
}

/* ページ上部へ戻るボタン */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(0, 51, 102, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: rgba(0, 51, 102, 1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* カテゴリー詳細ページ */
.category-detail {
    padding: 60px 0;
    background: white;
}

.project-title {
    text-align: center;
    margin-bottom: 30px;
}

.project-name {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.project-owner {
    font-size: 1.2rem;
    color: #666;
}

.main-image {
    margin-bottom: 40px;
    text-align: center;
}

.main-image img {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.main-image .no-image {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    background: #f5f5f5;
    margin: 0 auto;
    display: block;
}

.related-projects {
    margin-bottom: 60px;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

/* 関連プロジェクトのスタイルは下の方で定義 */

.detail-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 769px) {
    .detail-columns {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-left,
.detail-right {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.detail-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
}

.detail-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* 施工事例詳細ページ */
.project-title {
    margin-bottom: 30px;
}

.project-name {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.project-owner {
    font-size: 1.2rem;
    color: #666;
}

.main-slider {
    margin-bottom: 30px;
    width: 100%;
}

.main-slider img {
    width: 100%;
    height: auto;
    display: block;
}

.main-slider .no-image {
    width: 100%;
    aspect-ratio: 16/9;
}

.detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 40px;
    max-width: 600px;
}

@media (min-width: 769px) {
    .detail-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        max-width: 850px;
    }
}

.detail-thumb {
    cursor: pointer;
}
.detail-thumb img{
    width: 100%;
    aspect-ratio: 16/9;
    transition: opacity 0.3s ease;
}
.detail-thumb .no-image {
    width: 100%;
    aspect-ratio: 16/9;
    transition: opacity 0.3s ease;
}

.detail-thumb:hover .no-image {
    opacity: 0.8;
}

.detail-content-single {
    margin-bottom: 40px;
}

.detail-section {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

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

/* Material詳細ページ */
.material-detail {
    padding: 80px 0;
    background: #333;
}

.material-detail .section-header {
    margin-bottom: 40px;
}

.material-detail .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.material-main-image {
    margin-bottom: 40px;
}

.material-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.material-main-image .no-image {
    width: 100%;
    aspect-ratio: 16/9;
}

.material-description {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.material-description p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* フッター */
.footer {
    background: #333;
    color: white;
    padding: 30px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 40px;
}

.footer-info {
    flex: 1;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-info p {
    margin: 5px 0;
    font-size: 0.9rem;
}

.footer-phone {
    font-weight: bold;
    font-size: 1.1rem !important;
    color: #ffffff !important;
    margin-top: 10px !important;
}

.footer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #999;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* レスポンシブ */

@media (max-width: 768px) {
    .hero {
        margin-top: 70px;
    }
    
    .catch-copy {
        font-size: 1.8rem;
    }
    
    .main-concept {
        font-size: 1.2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-content p{
		font-size: .9rem!important;
    }
    .brand-grid,
    .works-categories,
    .others-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-list {
        grid-template-columns: 1fr;
    }
    
    .aging-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .innovation-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-items {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
	.slide-content {
	    margin-top: -8%!important;
	}
    .catch-copy {
        font-size: 1.5rem;
        margin-bottom: 10px !important;
    }
    
    .main-concept {
        font-size: 0.9rem;
    }
    
    .main-concept:first-of-type {
        font-size: 1.5rem !important;
        margin-bottom: 15px !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .policy-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .policy-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .brand-item,
    .category-item,
    .other-item {
        padding: 20px;
    }
    
    .aging-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 25px 0;
    }
	.company .section-header img {
	    width: 150px!important;
	}
	.e-kobo-logo{
		max-width: 160px!important;
	}
}

/* 固定ヘッダー用スタイル */
header#fixedHeader {
    position: fixed;
    top: -80px;
    left: 0;
    right: 0;
    background: rgba(0, 51, 102, 0.7);
    backdrop-filter: blur(10px);
    z-index: 1005;
    transition: top 0.3s ease;
    padding: 15px 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fixed-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fixed-header.show {
    transform: translateY(0);
}

.fixed-logo {
    height: 40px!important;
}

.fixed-logo img {
    height: 100%;
    width: auto;
}

.fixed-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fixed-header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu-logo {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.nav-menu-logo-img {
    max-width: 120px;
    height: auto;
    border-radius: 4px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.fixed-consult-btn {
    background-color: #d2b48c;
    color: #194775;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.fixed-consult-btn:hover {
    background-color: #f0f0f0;
}

/* 関連プロジェクト */
.related-projects {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.related-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.related-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

@media (min-width: 769px) {
    .related-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }
}

.related-thumb {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-thumb:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.thumb-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.thumb-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-image .no-image {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
}

.thumb-info {
    padding: 15px;
    background: white;
}

.thumb-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.thumb-info .area {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 2px 0;
    text-align: center;
}

.thumb-info .client {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
}

.customer-voice {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #d2b48c;
}

.customer-voice h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.customer-voice p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    white-space: pre-wrap;
}

.materials-used h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
}

.materials-used p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    white-space: pre-wrap;
}

/* 会社概要ページ用スタイル */

/* 会社情報セクション */
.company-info {
    padding: 10px 0;
    background: white;
}

.company-logo {
    text-align: center;
    margin-bottom: 30px;
}

.company-logo img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.info-table {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

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

.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    font-weight: 600;
    color: #194775;
}

.info-label i {
    color: #d2b48c;
}

.info-value {
    flex: 1;
    color: #333;
}

.map-link,
.phone-link,
.email-link {
    color: #194775;
    text-decoration: none;
    margin-left: 10px;
}

.map-link:hover,
.phone-link:hover,
.email-link:hover {
    text-decoration: underline;
}

.president-section {
    padding: 60px 0;
}

.president-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.two-column-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.president-photo-column {
    flex: 0 0 35%;
    max-width: 300px;
}

.president-info-column {
    flex: 0 0 65%;
}

.access-info-column {
    flex: 0 0 30%;
}

.map-column {
    flex: 0 0 70%;
}

/* メイン画像セクション */
.garden-main-image {
    padding: 40px 0;
    background: white;
}

.main-image-container {
    text-align: center;
}

.main-image-container img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* zoen.php用スタイル */

.works-main-title {
    color: #333 !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.concept-description {
    color: #333 !important;
    line-height: 1.6;
}

.point-description {
    color: #333 !important;
    line-height: 1.6;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.works-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.works-item {
    text-align: center;
}

.works-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.works-item:hover img {
    transform: scale(1.05);
}

.works-caption {
    margin-top: 10px;
    font-weight: 500;
    color: #333;
}

.concept-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.points-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.point-number-column {
    flex: 0 0 80px;
}

.point-content-column {
    flex: 1;
}

.point-icon-column {
    flex: 0 0 60px;
}

.management-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.benefit-image-column {
    flex: 0 0 30%;
}

.benefit-content-column {
    flex: 0 0 70%;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.schedule-image-column {
    flex: 0 0 50%;
}

.schedule-description-column {
    flex: 0 0 50%;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .point-number-column,
    .point-content-column,
    .point-icon-column,
    .benefit-image-column,
    .benefit-content-column,
    .schedule-image-column,
    .schedule-description-column {
        flex: 1 1 100%;
    }
}

.president-photo {
    text-align: center;
}

.president-photo img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.president-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #194775;
    margin-bottom: 20px;
}

.president-message p {
    line-height: 2;
    color: #333;
}

.president-section .container,
.access-section .container,
.warranty-section .container {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

.company-info .row,
.president-section .row,
.access-section .row,
.warranty-section .row {
    justify-content: center;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.access-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.warranty-card {
    background: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.access-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.access-item i {
    color: #d2b48c;
    font-size: 1.2rem;
    margin-top: 5px;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
}

.map-container iframe {
    width: 100% !important;
    max-width: 100%;
}

.warranty-intro {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

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

.warranty-table th,
.warranty-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.warranty-table th {
    background-color: #194775;
    color: white;
}

.category-header {
    background-color: #2c5282 !important;
}

.period-highlight {
    font-weight: 700;
    color: #d2b48c;
}

.period-special {
    font-weight: 700;
    color: #194775;
}

.disclaimer {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff3cd;
    border-radius: 4px;
}

.disclaimer-title {
    font-weight: 700;
    color: #856404;
    margin-bottom: 15px;
}

.disclaimer-list {
    margin: 0;
    padding-left: 20px;
}

.disclaimer-list li {
    margin-bottom: 10px;
    color: #856404;
}

/* 植栽造園ページ用スタイル */
.ekobo-works-section {
    padding: 60px 0;
    background-color: #194775;
}

.works-main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
}

.innovation-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.innovation-item:hover {
    transform: translateY(-5px);
}

.innovation-item img {
    width: 100%;
    height: auto;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.innovation-item p {
    margin-top: 15px;
    font-size: 1rem;
    color: #333;
    text-align: center;
    font-weight: 500;
}

.concept-main-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.concept-highlight {
    color: #d2b48c;
}

.concept-symbol {
    color: #333;
    margin: 0 15px;
}

.concept-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.concept-description {
    line-height: 2;
    color: #333;
    font-size: 0.95rem;
}

.five-points {
    padding: 60px 0;
    background-color: #194775;
}

.section-subtitle {
    color: #333;
    margin-top: 10px;
}

.point-item {
    margin-bottom: 40px;
}

.point-number-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d2b48c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.point-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.point-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.point-description {
    color: #333;
    line-height: 1.8;
}

.point-icon {
    font-size: 3rem;
    color: #d2b48c;
    text-align: center;
}

.garden-management {
    padding: 60px 0;
    background-color: #194775;
}

.management-lead {
    font-size: 1.1rem;
    line-height: 2;
    color: #333;
    text-align: center;
}

.benefits-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.benefit-image img {
    width: 100%;
    border-radius: 8px;
}

.benefit-description {
    line-height: 2;
    color: #333;
}

.benefit-point {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.benefit-point-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #194775;
    margin-bottom: 10px;
}

.benefit-point-description {
    color: #555;
    line-height: 1.8;
}

.schedule-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.schedule-image img {
    width: 100%;
    border-radius: 8px;
}

.schedule-text {
    line-height: 2;
    color: #333;
}

.btn-cta {
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-cta.btn-primary {
    background-color: #d2b48c;
    color: white;
    border: none;
}

.btn-cta.btn-primary:hover {
    background-color: #c0a080;
}

.btn-cta.btn-outl.fixed-hamburger.active {
        background-color: transparent;
    }
    
    /* スマホ時の見積もりボタン */
    .fixed-consult-btn {
        padding: 6px 12px;
        font-size: 12px;
        border-radius: 3px;
        max-width: 120px;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    header#fixedHeader .container {
        padding: 0 10px;
    }

.btn-cta.btn-outline-primary {
    background-color: transparent;
    color: #194775;
    border: 2px solid #194775;
}

.btn-cta.btn-outline-primary:hover {
    background-color: #194775;
    color: white;
}

.cta-note {
    margin-top: 15px;
    color: white;
    font-size: 0.9rem;
}

/* カテゴリオーバーレイ */
.image-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-title {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    padding: 20px;
}

.main-image .no-image {
    position: relative;
    background: #f0f0f0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image .no-image .category-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* カテゴリヒーローセクション */
.category-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #194775 0%, #2c5f8d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../images/bg_sky.jpg) center/cover no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.category-hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    padding: 0 20px;
}

.category-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
}

.category-hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
}


/* アクティブなサムネイルのスタイル */
.detail-thumb.active {
    border: 3px solid #007bff;
    opacity: 1;
}

.detail-thumb {
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-thumb:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* 画像コメント表示 */
.image-comment {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
}

.image-comment:empty {
    display: none;
}

/* 施工過程詳細ページ */
.process-detail .section-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    margin: 0;
}

.process-intro {
    text-align: center;
    margin-bottom: 50px;
    padding: 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.process-intro p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.process-content {
    max-width: 900px;
    margin: 0 auto;
}

.process-item {
    margin-bottom: 50px;
    background: white;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.process-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #194775;
    padding: 20px;
    margin: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid #007bff;
}

.process-image {
    width: 100%;
    height: auto;
    display: block;
}

.process-item:has(.process-image + .process-image) .process-image:first-child {
    margin-bottom: 10px;
}

.back-button-container {
    text-align: center;
    margin-top: 60px;
}

.back-button {
    display: inline-block;
    padding: 15px 30px;
    background: #007bff;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
}

.back-button:hover {
    background: transparent;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .process-detail {
        padding: 40px 0;
    }
    
    .process-detail .section-title {
        font-size: 1.5rem;
    }
    
    .process-item {
        margin-bottom: 30px;
    }
    
    .process-subtitle {
        font-size: 1.1rem;
        padding: 15px;
    }
}

/* 施工過程サムネイルリンク */
.process-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.process-item a img {
    display: block;
    width: 100%;
    height: auto;
}

.process-item a p {
    margin: 0;
    padding: 10px 5px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: 600;
    color: #333;
}

/* innovation-itemリンクスタイル */
.innovation-item a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.innovation-item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.innovation-item a img {
    display: block;
    width: 100%;
    height: auto;
}

.innovation-item a p {
    margin: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-weight: 600;
    color: #333;
}

/* 代表事例リンクボタン */
.representative-link {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
}

.representative-link .btn-primary {
    background: #007bff;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #007bff;
    display: inline-block;
}

.representative-link .btn-primary:hover {
    background: transparent;
    color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* 画像拡大モーダル */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    height: auto;
    display: block;
    margin: 0 auto;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover {
    color: #bbb;
}

.modal-caption {
    margin-top: 20px;
    color: white;
}

.modal-caption h4 {
    margin: 0;
    font-size: 1.2rem;
}

.image-only-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.image-only-item:hover {
    transform: scale(1.05);
}

.image-only-item img {
    transition: box-shadow 0.3s ease;
}

.image-only-item:hover img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ギャラリーグリッド */
.image-only-gallery .gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 20px !important;
}

@media (min-width: 769px) {
    .image-only-gallery .gallery-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

.image-only-gallery .gallery-item {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    overflow: hidden !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    cursor: pointer !important;
}

.image-only-gallery .gallery-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15) !important;
}

.image-only-gallery .gallery-item .thumb-image {
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
}

.image-only-gallery .gallery-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    cursor: pointer !important;
}

.image-only-gallery .gallery-item .thumb-info {
    padding: 15px !important;
    background: white !important;
}

.image-only-gallery .gallery-item .thumb-info h4 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.4 !important;
}

.gallery-title {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.image-only-gallery {
    margin-bottom: 40px;
}

/* Aging Beauty 詳細ページ */
.aging-detail-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.aging-detail-section .page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.description-section {
    text-align: center;
    margin-bottom: 50px;
}

.description-section p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.before-after-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
}

.arrow-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0;
}

.before-section, .after-section {
    text-align: center;
}

.section-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.image-container {
    position: relative;
}

.main-image, .after-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-comment {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    text-align: left;
}

.image-comment p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.arrow-content {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.arrow-icon {
    font-size: 3rem;
    color: #28a745;
    font-weight: bolder;
}

.years-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid #28a745;
}

.after-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.after-image-item {
    text-align: center;
}

.back-button-section {
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .aging-detail-section {
        padding: 40px 0;
    }
    
    .aging-detail-section .page-title {
        font-size: 2rem;
    }
    
    .before-after-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .after-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .arrow-icon {
        font-size: 2rem;
    }
    
    .years-text {
        font-size: 1.2rem;
    }
}

.gallery-link:hover img {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.others {
    background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95)), url('../images/bg_sky.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
