:root {
    --okinawa-blue: #0ea5e9;
    --okinawa-teal: #14b8a6;
    --okinawa-cyan: #06b6d4;
    --coral-orange: #fb923c;
    --coral-pink: #f472b6;
    --sand-beige: #fbbf24;
    --text-dark: rgb(27, 24, 24);
    --text-light: #6b7280;
    --bg-light: #f0fdff;
    --white: #ffffff;   
    --okinawa-gradient: linear-gradient(135deg, #0ea5e9 0%, #14b8a6 50%, #06b6d4 100%);
    --coral-gradient: linear-gradient(135deg, #fb923c 0%, #f472b6 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Mincho Pro', 'Noto Serif JP', 'Yu Mincho', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background-image: url('../images/ryukyu-pattern.png');
    background-repeat: repeat;
    background-size: auto;
    background-attachment: fixed;
}

/* 背景を見えるようにするための半透明設定 */
main, header, footer {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(2px);
}

main {
    padding-top: 70px;
}

/* Header Styles - トップページと同じ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    min-height: 70px;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-image {
    width: 45px;
    height: 45px;
    position: relative;
    transition: transform 0.3s ease;
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
}

.logo-image:hover {
    transform: scale(1.05) rotate(2deg);
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(14, 165, 233, 0.2));
    transition: filter 0.3s ease;
}

.logo-image:hover img {
    filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.company-name {
    font-family: 'Hiragino Mincho Pro', 'Noto Serif JP', 'Yu Mincho', 'Times New Roman', serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--okinawa-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.company-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: -2px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Navigation */
.global-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.global-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.global-nav a:hover {
    color: var(--okinawa-blue);
}

.global-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--okinawa-gradient);
    transition: width 0.3s ease;
}

.global-nav a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
    transition: all 0.3s ease;
    padding: 0.5rem;
    flex-shrink: 0;
}

.mobile-menu-btn.active {
    transform: rotate(90deg);
    color: var(--okinawa-blue);
}

/* パンクズナビ */
.breadcrumb span {
    color: var(--text-light);
}

.breadcrumb span:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.section {
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: left;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle2 {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-light);
    padding: 1rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--okinawa-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--okinawa-teal);
}

.breadcrumb span:not(:last-child) {
    color: var(--text-light);
}

/* Product Overview Styles - 修正版 */
.product-overview-content,
.product-overview2-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.product-overview-text,
.product-overview2-text {
    padding: 2rem 0;
}

.product-overview-text h3,
.product-overview2-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-overview-text p,
.product-overview2-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgb(31, 29, 29);
    margin-bottom: 1.5rem;
}

.product-overview-image,
.product-overview2-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 0;
    padding: 0;
    line-height: 0;
    display: block;
    width: 100%;
    position: relative;
}

.product-overview-image img,
.product-overview2-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
    border: none;
}

.product-overview-image:hover img,
.product-overview2-image:hover img {
    transform: scale(1.05);
}

.product-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(240, 253, 255, 0.5);
    border-radius: 10px;
    border-left: 4px solid var(--okinawa-blue);
}

.highlight-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.highlight-item span:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

.product-overview-link {
    display: inline-block;
    color: var(--okinawa-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.product-overview-link:hover {
    color: var(--okinawa-teal);
    border-bottom-color: var(--okinawa-teal);
}

/* 商品仕様セクション */
.product-overview-specs {
    background: var(--white);
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.spec-card {
    background: rgba(240, 253, 255, 0.3);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.spec-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    word-wrap: break-word;
}

.spec-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 40%;
    min-width: 80px;
}

.spec-table td:last-child {
    color: var(--text-light);
}

.spec-table tr:last-child td {
    border-bottom: none;
}

/* こだわりセクション */
.commitment {
    background: rgba(251, 146, 60, 0.05);
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.commitment-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.commitment-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.commitment-image {
    width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    line-height: 0;
}

.commitment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: top;
}

.commitment-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.commitment-item p {
    color: var(--text-light);
    line-height: 1.6;
    text-align: left;
}

/* ビジネス情報セクション */
.business-info {
    background: rgba(14, 165, 233, 0.05);
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.business-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.business-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.business-features ul {
    list-style: none;
    padding: 0;
}

.business-features li {
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 1.1srem;
}

.business-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    line-height: 0;
}

.business-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    vertical-align: top;
}

/* Contact CTA Section */
.contact-cta {
    background: var(--okinawa-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at 30% 80%, rgba(251, 146, 60, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 20%, rgba(244, 114, 182, 0.1) 0%, transparent 50%);
    animation: coral-float 20s ease-in-out infinite;
}

@keyframes coral-float {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(2%) rotate(1deg); }
}

.contact-cta .section-title {
    color: white;
}

.contact-cta .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.contact-btn.primary {
    background: var(--white);
    color: var(--okinawa-blue);
    box-shadow: var(--shadow-lg);
}

.contact-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, var(--white) 0%, #f0fdff 100%);
}

.contact-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.contact-btn.secondary:hover {
    background: white;
    color: var(--okinawa-blue);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.7;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .container { 
        max-width: 100%;
        padding: 0 2rem; 
    }
    
    .header-container {
        max-width: 100%;
    }
}

@media (max-width: 1024px) {
    .container { 
        padding: 0 1.5rem; 
    }
    
    .header-container {
        padding: 0.75rem 1.5rem;
    }
    
    .hero-content h1 { 
        font-size: 2.8rem; 
    }
    
    .commitment-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .product-overview-content,
    .product-overview2-content,
    .business-grid {
        gap: 2rem;
    }

.product-overview-image img,
.product-overview2-image img,
.product-overview2-image video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
    border: none;
}

.product-overview-image:hover img,
.product-overview2-image:hover img,
.product-overview2-image:hover video {
    transform: scale(1.05);
}
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .specs-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .product-overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .product-overview2-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        grid-template-areas: 
            "image"
            "text";
    }
    
    .product-overview2-content .product-overview2-image {
        grid-area: image;
    }
    
    .product-overview2-content .product-overview2-text {
        grid-area: text;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    main, header {
        background-color: rgba(255, 255, 255, 0.75);
    }

    footer {
        background: var(--text-dark);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .header-container { 
        padding: 0.5rem 1rem; 
    }
    
    .logo-text .company-name { 
        font-size: 1.2rem; 
    }
    
    .logo-text .company-tagline {
        font-size: 0.7rem;
    }

    /* ナビゲーションを縦並びに */
    .global-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(12px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .global-nav.mobile-active { 
        left: 0; 
    }
    
    .global-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .mobile-menu-btn { 
        display: block; 
    }

    /* ヒーロー */
    .hero-content h1 { 
        font-size: 2.2rem; 
    }
    
    .hero-content p { 
        font-size: 1.1rem; 
    }
    
    .hero-section {
        height: 60vh;
        min-height: 350px;
    }

    /* プロダクトオーバービューをレスポンシブに */
    .product-overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        grid-template-areas: 
            "image"
            "text";
    }
    
    .product-overview-content .product-overview-image {
        grid-area: image;
    }
    
    .product-overview-content .product-overview-text {
        grid-area: text;
    }
    
    .product-overview-text,
    .product-overview2-text {
        padding: 1rem 0;
    }

    /* 仕様グリッド */
    .specs-grid { 
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .commitment-grid { 
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* 見出し調整 */
    .section-title { 
        font-size: 1.8rem; 
    }
    
    .section-subtitle { 
        font-size: 1rem; 
        margin-bottom: 2rem; 
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .header-container {
        padding: 0.5rem 0.75rem;
    }
    
    .logo-text .company-name {
        font-size: 1rem;
    }
    
    .logo-text .company-tagline {
        font-size: 0.65rem;
    }
    
    .logo-image {
        width: 35px;
        height: 35px;
    }
    
    .hero-section {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-content h1 { 
        font-size: 1.8rem; 
    }
    
    .hero-content p { 
        font-size: 1rem; 
    }
    
    .section-title { 
        font-size: 1.5rem; 
    }
    
    .section-subtitle { 
        font-size: 0.9rem; 
    }
    
    .contact-btn { 
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .product-overview-text h3,
    .product-overview2-text h3 {
        font-size: 1.4rem;
    }
    
    .product-overview-text p,
    .product-overview2-text p {
        font-size: 1rem;
    }
    
    .spec-card,
    .commitment-item {
        padding: 1.5rem;
    }
    
    .spec-table td {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .commitment-image {
        height: 150px;
    }
    
    .product-overview-image img,
    .product-overview2-image img {
        height: 250px;
    }
}

/* 超小さいスクリーン対応 */
@media (max-width: 360px) {
    .header-container {
        padding: 0.5rem;
    }
    
    .logo-text .company-name {
        font-size: 0.9rem;
    }
    
    .logo-text .company-tagline {
        font-size: 0.6rem;
    }
    
    .logo-image {
        width: 30px;
        height: 30px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .contact-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .spec-card,
    .commitment-item {
        padding: 1rem;
    }
}

/* 横向きモバイル対応 */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        min-height: 400px;
    }
    
    .section {
        padding: 2rem 0;
    }
}