/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --primary-color: #d4a574;
    --secondary-color: #f5e6d3;
    --accent-color: #8b7355;
    --text-dark: #3a3a3a;
    --text-light: #666666;
    --background-light: #faf8f5;
    --white: #ffffff;
}

body {
    font-family: 'Noto Serif JP', serif;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--background-light);
}

/* ナビゲーション */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    transition: none; /* ←スマホ用に上書きされる */
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ハンバーガーボタン（PCでは非表示） */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?q=80&w=2560');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(207,169,103,0.4);
}
.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 2rem;
}
.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}
.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* セクション共通 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

/* 紹介セクション */
.intro-section {
    padding: 5rem 0;
    background-color: var(--white);
}
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--background-light);
    border-radius: 20px;
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 製品ページ */
.products-section {
    padding: 5rem 0;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}
.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.page-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}
.product-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-image {
    height: 300px;
    background-color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    color: var(--text-dark);
}
.product-description {
    padding: 0 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}
.product-price {
    padding: 1rem 1.5rem;
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
}
.product-button {
    display: block;
    margin: 0 1.5rem 1.5rem;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}
.product-button:hover {
    background-color: var(--accent-color);
}
.features-detail {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 3rem;
}
.features-detail h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.feature-item h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.feature-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 購入ページ */
.purchase-section {
    padding: 5rem 0;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}
.purchase-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}
.product-selection h2,
.cart-summary h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}
.product-options {
    display: grid;
    gap: 2rem;
}
.product-option {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.product-option img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}
.product-option h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
}
.product-option .price {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}
.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.qty-btn {
    width: 35px;
    height: 35px;
    border: 2px solid var(--primary-color);
    background-color: white;
    color: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}
.qty-btn:hover {
    background-color: var(--primary-color);
    color: white;
}
.quantity {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.5rem;
    font-size: 1rem;
}
.cart-summary {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}
.cart-items {
    margin-bottom: 2rem;
    min-height: 100px;
}
.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 2rem;
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}
.cart-item:last-child {
    border-bottom: none;
}
.cart-total {
    border-top: 2px solid #eee;
    padding-top: 1.5rem;
    margin-bottom: 2rem;
}
.subtotal,
.shipping,
.total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
}
.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}
.checkout-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.checkout-btn:hover {
    background-color: var(--accent-color);
}
.checkout-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* 会社概要ページ */
.company-section {
    padding: 5rem 0;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}
.company-info {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}
.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table th {
    text-align: left;
    padding: 1.5rem;
    width: 200px;
    background-color: var(--secondary-color);
    font-weight: 400;
    color: var(--text-dark);
}
.info-table td {
    padding: 1.5rem;
    color: var(--text-dark);
}
.info-table tr {
    border-bottom: 1px solid #eee;
}
.info-table tr:last-child {
    border-bottom: none;
}
.info-table ul {
    list-style: none;
    padding-left: 0;
}
.info-table li {
    padding: 0.3rem 0;
}
.info-table li:before {
    content: "・";
    margin-right: 0.5rem;
}
.mission-section {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}
.mission-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}
.mission-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

/* お問い合わせページ */
.contact-section {
    padding: 5rem 0;
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}
.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}
.required {
    color: #e74c3c;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Serif JP', serif;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-note {
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Noto Serif JP', serif;
}
.submit-btn:hover {
    background-color: var(--accent-color);
}
.contact-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}
.contact-info h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
}
.info-item {
    margin-bottom: 2rem;
}
.info-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}
.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}
.info-item a:hover {
    text-decoration: underline;
}
.response-time {
    padding-top: 1rem;
    border-top: 1px solid #eee;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* フッター */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    animation: fadeIn 1s ease-out;
}
.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s both;
}
.fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s both;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    /* ナビゲーション関連 */
    .nav-container {
        padding: 1rem;
    }
    
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1002;
    }
    
    .hamburger .bar {
        width: 25px;
        height: 3px;
        background-color: var(--text-dark);
        transition: 0.3s;
        display: block;
    }
    
    .nav-menu {
        display: flex;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;
        transition: left 0.3s ease;
        z-index: 1001;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        transform-origin: center;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        transform-origin: center;
    }
    
    /* カートアイコン */
    .cart-icon {
        display: none;
    }
    
    /* その他のレスポンシブ調整 */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features {
        gap: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .purchase-container {
        grid-template-columns: 1fr;
    }
    
    .product-option {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }
    
    .product-option img {
        width: 80px;
        height: 80px;
    }
    
    .product-option h3 {
        font-size: 1rem;
    }
    
    .product-option .price,
    .quantity-selector {
        grid-column: 2;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .info-table th {
        display: block;
        width: 100%;
        background-color: transparent;
        padding: 0.5rem 0;
        font-weight: 700;
    }
    
    .info-table td {
        display: block;
        padding: 0 0 1rem 0;
    }
}

/* =========================
   Solutions Section ONLY
   ========================= */

/* セクション全体 */
.solutions-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}


/* ===== Intro（カード上の説明） ===== */
.solutions-intro {
    max-width: 860px;
    margin: 0 auto 4rem;
    text-align: center;
}

.solutions-intro-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 50px;
}

.solutions-intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

.solutions-intro-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.9;
}

/* ===== Cards Grid ===== */
/* Cards：2列 × 2行 */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem; /* 余白は少し広めのほうが上品 */
}

/* ===== Card ===== */
.solution-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    min-height: 560px;
}

.solution-card:hover {
    transform: translateY(-5px);
}

/* ===== Card Head ===== */
.solution-head {
    padding: 2rem 1.8rem 1.5rem;
    background-color: var(--secondary-color);
}

.solution-head h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.solution-sub {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Card Body ===== */
.solution-body {
    padding: 1.6rem 1.8rem 1.8rem;
    flex: 1;
    display: grid;
    gap: 1.2rem;
}

.solution-block {
    background-color: var(--background-light);
    border-radius: 15px;
    padding: 1.2rem;
}

.solution-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.8rem;
}

.solution-block ul {
    padding-left: 1.2rem;
}

.solution-block li {
    margin: 0.4rem 0;
    color: var(--text-dark);
}

.solution-block li::marker {
    color: var(--primary-color);
}

/* ===== CTA（カード下に1つ） ===== */
.solutions-cta {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.solutions-cta-title {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.solutions-cta-text {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.solutions-cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.solutions-cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ===== Responsive ===== */
/* タブレット：2列 */
/* タブレット以下：1列 */
@media (max-width: 768px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}


/* スマホ：1列 */
@media (max-width: 768px) {
    .solutions-section {
        padding: 4rem 0;
    }

    .solutions-intro {
        margin-bottom: 3rem;
        padding: 0 1rem;
    }

    .solutions-intro-title {
        font-size: 2rem;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solution-card {
        min-height: auto;
    }

    .solution-head h3 {
        font-size: 1.35rem;
    }

    .solutions-cta {
        margin-top: 3rem;
        padding: 2.5rem 1.5rem;
    }

    .solutions-cta-title {
        font-size: 1.4rem;
    }

    .solutions-cta-button {
        width: 100%;
        text-align: center;
    }
}

