/* 基本設定 */
:root {
    --primary-color: #1e88e5;
    --secondary-color: #0d47a1;
    --accent-color: #ff9800;
    --text-color: #333333;
    --light-text-color: #666666;
    --bg-color: #f8f9fa;
    --white-color: #ffffff;
    --border-color: #dddddd;
    --success-color: #4caf50;
    --error-color: #f44336;
    --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    --radius: 4px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

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

/* 共通要素 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.primary-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: rgba(30, 136, 229, 0.1);
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.danger-btn {
    background-color: var(--error-color);
    color: var(--white-color);
}

.danger-btn:hover {
    background-color: #d32f2f;
}

.cookie-btn {
    padding: 8px 15px;
    font-size: 14px;
    margin: 0 5px;
}

.icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    vertical-align: middle;
}

.required {
    color: var(--error-color);
}

/* ヘッダー */
header {
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 10px;
    border-radius: var(--radius);
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
    background-color: rgba(30, 136, 229, 0.1);
}

.cart-link {
    display: flex;
    align-items: center;
}

.cart-link .icon {
    margin-right: 5px;
}

/* ヒーロー */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/logo.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 特徴セクション */
.features {
    padding: 80px 0;
    background-color: var(--white-color);
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--text-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon .icon {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.feature-item h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--light-text-color);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 50px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    width: 200px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--light-text-color);
    font-size: 1.1rem;
}

.cta {
    text-align: center;
}

/* 製品情報セクション */
.about-products {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.about-products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.about-products p {
    margin-bottom: 20px;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quality-guarantee,
.company-history {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: var(--white-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.quality-guarantee h3,
.company-history h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.quality-guarantee ul {
    list-style: none;
}

.quality-guarantee ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.quality-guarantee ul li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

/* 商品セクション */
.products {
    padding: 80px 0;
    background-color: var(--white-color);
}

.products h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

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

.product-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: var(--white-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.product-info h3 a {
    color: var(--text-color);
}

.product-info h3 a:hover {
    color: var(--primary-color);
}

.product-description {
    color: var(--light-text-color);
    margin-bottom: 15px;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* 興味深い事実セクション */
.interesting-facts {
    padding: 60px 0;
    background-color: #e8f5e9;
}

.interesting-facts h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.interesting-facts h3 {
    margin: 25px 0 15px;
    font-size: 1.4rem;
    color: var(--secondary-color);
}

.interesting-facts ul {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
}

.interesting-facts li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.article-overview {
    list-style-type: square;
    color: var(--secondary-color);
}

.article-overview li {
    margin-bottom: 8px;
}

/* フッター */
footer {
    background-color: #1a237e;
    color: var(--white-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-links h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--white-color);
    opacity: 0.8;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact .icon {
    margin-right: 10px;
    fill: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.social-links .icon {
    width: 20px;
    height: 20px;
    fill: var(--white-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Cookieの同意 */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--white-color);
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.cookie-content p {
    margin-bottom: 15px;
    flex: 1 0 100%;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.cookie-more-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

.cookie-more-info a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 製品詳細ページ */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--light-text-color);
}

.breadcrumb a {
    color: var(--primary-color);
}

.product-detail {
    padding: 60px 0;
    background-color: var(--white-color);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-gallery {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-availability {
    color: var(--success-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.product-description {
    margin-bottom: 30px;
}

.product-description p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.product-description h3 {
    margin: 25px 0 10px;
    color: var(--secondary-color);
}

.product-description ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.product-description ul li {
    margin-bottom: 8px;
}

.quantity {
    margin-bottom: 20px;
}

.quantity-control {
    display: flex;
    align-items: center;
    max-width: 150px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: none;
    font-size: 1.2rem;
    cursor: pointer;
}

.quantity input {
    width: 60px;
    height: 40px;
    border: 1px solid var(--border-color);
    text-align: center;
    font-size: 1rem;
    margin: 0 -1px;
}

.product-tabs {
    margin-bottom: 60px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 20px;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--text-color);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

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

.specs-table th, 
.specs-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    font-weight: 500;
    width: 30%;
    background-color: rgba(30, 136, 229, 0.05);
}

.related-products h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    text-align: center;
}

/* Aboutページ */
.page-header {
    background-color: #e8f5e9;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.about-story {
    padding: 60px 0;
    background-color: var(--white-color);
}

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

.about-text h2 {
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.our-mission {
    padding: 80px 0;
    background-color: #e8f5e9;
}

.our-mission h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

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

.mission-item {
    padding: 30px;
    background-color: var(--white-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.mission-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-icon .icon {
    width: 30px;
    height: 30px;
    fill: var(--primary-color);
}

.mission-item h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.team {
    padding: 80px 0;
    background-color: var(--white-color);
}

.team h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.team-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.team-member {
    text-align: center;
    padding: 30px;
    background-color: #f5f5f5;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 5px solid var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.team-member p {
    margin-bottom: 10px;
    color: var(--light-text-color);
}

.team-member .social-links {
    justify-content: center;
    margin-top: 15px;
}

.team-member .social-links a {
    background-color: var(--primary-color);
}

.about-stats {
    padding: 80px 0;
    background-color: #e8f5e9;
}

.about-stats h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background-color: var(--white-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    color: var(--light-text-color);
}

.testimonials {
    padding: 80px 0;
    background-color: var(--white-color);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

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

.testimonial-card {
    padding: 30px;
    background-color: #f5f5f5;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-card:before {
    content: """;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(30, 136, 229, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
}

.testimonial-author {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-name {
    font-weight: bold;
    color: var(--secondary-color);
}

.author-title {
    color: var(--light-text-color);
    font-size: 0.9rem;
}

/* コンタクトページ */
.contact-info {
    padding: 60px 0;
    background-color: var(--white-color);
}

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

.contact-card {
    padding: 30px;
    background-color: #f5f5f5;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon .icon {
    width: 40px;
    height: 40px;
    fill: var(--primary-color);
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.contact-card p {
    margin-bottom: 5px;
    color: var(--light-text-color);
}

.contact-card .social-links {
    justify-content: center;
    margin-top: 15px;
}

.contact-form {
    padding: 60px 0;
    background-color: #e8f5e9;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.form-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white-color);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-field {
    flex: 1 0 250px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, 
select, 
textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, 
select:focus, 
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.2);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
}

.checkbox-wrapper input {
    width: auto;
    margin-right: 10px;
}

.checkbox-wrapper label {
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.faq {
    padding: 60px 0;
    background-color: var(--white-color);
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: #f5f5f5;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #e8f5e9;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

/* カートページ */
.cart-content {
    padding: 60px 0;
    background-color: var(--white-color);
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 0;
}

.empty-cart-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-cart-icon .icon {
    width: 50px;
    height: 50px;
    fill: var(--primary-color);
}

.cart-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: bold;
}

.cart-item {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr 0.5fr;
    padding: 20px 0;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.cart-product {
    display: flex;
    align-items: center;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.cart-product-info h3 {
    margin-bottom: 5px;
}

.cart-quantity {
    display: flex;
    align-items: center;
}

.cart-quantity-input {
    width: 60px;
    text-align: center;
    margin: 0 10px;
}

.cart-remove button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--error-color);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.cart-summary {
    background-color: #f5f5f5;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

.cart-summary h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--border-color);
}

.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.checkout-actions {
    margin-top: 30px;
}

.checkout-actions .btn {
    width: 100%;
}

.cart-recommendations {
    padding: 60px 0;
    background-color: #e8f5e9;
}

.cart-recommendations h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--secondary-color);
}

/* チェックアウトページ */
.checkout-steps {
    max-width: 900px;
    margin: 0 auto;
}

.checkout-step {
    margin-bottom: 30px;
    background-color: var(--white-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.checkout-step-header {
    padding: 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid var(--border-color);
}

.checkout-step-header h2 {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 1.4rem;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1rem;
}

.checkout-step-content {
    padding: 30px;
}

.order-summary h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.order-item-info {
    display: flex;
    align-items: center;
}

.order-item-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.order-item-details h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.order-item-quantity {
    font-size: 0.9rem;
    color: var(--light-text-color);
}

.order-item-price {
    font-weight: bold;
}

.order-totals {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.order-total {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 2px solid var(--border-color);
    color: var(--secondary-color);
}

.order-actions {
    margin-top: 20px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

/* 注文完了ページ */
.success-content {
    padding: 80px 0;
    background-color: var(--white-color);
}

.success-message {
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
    padding: 40px;
    background-color: #e8f5e9;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon .icon {
    width: 60px;
    height: 60px;
    fill: var(--white-color);
}

.success-message h1 {
    margin-bottom: 20px;
    color: var(--success-color);
}

.success-details {
    margin: 30px 0;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .product-content {
        grid-template-columns: 1fr;
    }
    
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
    }
    
    .stat-item {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .cart-header {
        display: none;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cart-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .success-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    form {
        padding: 20px;
    }
}
