/* 基本スタイル */
:root {
    --primary-color: #0099cc;
    --secondary-color: #005577;
    --accent-color: #00ccff;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-text: #222222;
    --background-color: #ffffff;
    --section-bg-color: #f9fcff;
    --border-color: #e1e8ed;
    --footer-bg-color: #00344d;
    --card-bg-color: #ffffff;
    --shadow-color: rgba(0, 153, 204, 0.1);
    --translucent-bg: rgba(255, 255, 255, 0.8);
    --translucent-primary: rgba(0, 153, 204, 0.1);
    --error-color: #ff3333;
    --success-color: #33cc66;
    --warning-color: #ffcc00;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

/* ダークテーマ */
body.dark-theme {
    --text-color: #e1e8ed;
    --dark-text: #ffffff;
    --background-color: #002233;
    --section-bg-color: #003344;
    --border-color: #004455;
    --card-bg-color: #003344;
    --footer-bg-color: #001122;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --translucent-bg: rgba(0, 34, 51, 0.8);
}

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

body {
    font-family: 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

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

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

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

/* ヘッダー */
header {
    background-color: var(--background-color);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

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

.logo img {
    height: 50px;
    object-fit: contain;
}

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

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

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

nav ul li a:hover::after {
    width: 100%;
}

.theme-switcher button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color var(--transition-speed);
}

.theme-switcher button:hover {
    background-color: var(--secondary-color);
}

/* ヒーローセクション */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 153, 204, 0.2), rgba(0, 85, 119, 0.3));
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color var(--transition-speed), transform var(--transition-speed);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* メインコンテンツ */
main {
    padding: 60px 0;
}

section {
    margin-bottom: 60px;
}

.features, .product-highlight, .blog-preview, .testimonials, .daily-pick {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 特徴セクション */
.feature-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    min-width: 300px;
    margin: 20px;
    padding: 30px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

/* 本日のおすすめセクション */
.daily-pick-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.daily-pick-item {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
    transition: transform var(--transition-speed);
}

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

.daily-pick-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.daily-pick-item h3 {
    padding: 15px 20px 5px;
    font-size: 1.3rem;
    color: var(--dark-text);
}

.daily-pick-item p {
    padding: 0 20px 15px;
}

.small-button {
    display: inline-block;
    margin: 0 20px 20px;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background-color var(--transition-speed);
}

.small-button:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

/* 製品ハイライトセクション */
.product-highlight {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-color: var(--section-bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.product-image {
    flex: 1;
    min-width: 300px;
}

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

.product-info {
    flex: 1;
    min-width: 300px;
    padding: 40px;
}

.product-info h2 {
    text-align: left;
    margin-bottom: 20px;
}

.product-info h2::after {
    left: 0;
    transform: none;
}

.product-info ul {
    margin: 20px 0;
    padding-left: 20px;
}

.product-info li {
    margin-bottom: 10px;
}

.secondary-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 500;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* ブログプレビューセクション */
.blog-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform var(--transition-speed);
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card h3 {
    padding: 15px 20px 5px;
    font-size: 1.3rem;
    color: var(--dark-text);
}

.blog-card p {
    padding: 0 20px 15px;
}

.blog-card a {
    display: inline-block;
    margin: 0 0 20px 20px;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
}

.blog-card a::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left var(--transition-speed);
}

.blog-card a:hover::after {
    margin-left: 10px;
}

.center {
    text-align: center;
    margin-top: 30px;
}

/* お客様の声セクション */
.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    padding: 30px;
    position: relative;
}

.testimonial::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--dark-text);
}

/* フッター */
footer {
    background-color: var(--footer-bg-color);
    color: var(--light-text);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

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

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

.footer-section a {
    color: var(--light-text);
    transition: color var(--transition-speed);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

.social-icons a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--light-text);
    margin: 0 10px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

/* Cookie同意 */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--translucent-bg);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 -5px 15px var(--shadow-color);
    z-index: 1000;
    display: none;
}

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

.cookie-buttons {
    margin: 15px 0;
}

.cookie-buttons button {
    padding: 8px 15px;
    margin: 0 5px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

#cookie-accept-all {
    background-color: var(--primary-color);
    color: var(--light-text);
}

#cookie-accept-all:hover {
    background-color: var(--secondary-color);
}

#cookie-customize, #cookie-decline {
    background-color: var(--background-color);
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

#cookie-customize:hover, #cookie-decline:hover {
    background-color: var(--section-bg-color);
}

/* ページバナー（下層ページ用） */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/12.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    position: relative;
}

.page-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 153, 204, 0.2), rgba(0, 85, 119, 0.3));
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-banner p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* 会社情報ページ */
.about-intro, .our-values, .team-section, .history-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.about-intro {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.value {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    text-align: center;
    padding: 30px 20px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform var(--transition-speed);
}

.value:hover {
    transform: translateY(-10px);
}

.value-icon {
    margin-bottom: 15px;
}

.value h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-member {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

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

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 15px 0;
    position: relative;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-year {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.timeline-content {
    width: 45%;
    padding: 20px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px var(--shadow-color);
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--dark-text);
}

/* ブログページ */
.blog-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.blog-main .blog-container {
    flex: 3;
    min-width: 300px;
    display: block;
}

.blog-sidebar {
    flex: 1;
    min-width: 250px;
}

.blog-post {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
}

.post-image {
    flex: 1;
    min-width: 250px;
}

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

.post-content {
    flex: 2;
    min-width: 300px;
    padding: 20px;
}

.post-content h2 {
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.post-content h2::after {
    display: none;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
    position: relative;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left var(--transition-speed);
}

.read-more:hover::after {
    margin-left: 10px;
}

.sidebar-widget {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.sidebar-widget h3 {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 10px;
}

.sidebar-widget ul li a {
    color: var(--text-color);
    transition: color var(--transition-speed);
}

.sidebar-widget ul li a:hover, .sidebar-widget ul li a.active {
    color: var(--primary-color);
}

.product-pick {
    text-align: center;
}

.product-pick img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.product-pick h4 {
    margin-bottom: 5px;
    color: var(--dark-text);
}

.product-pick p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* 製品ページ */
.products-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-button {
    padding: 8px 15px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.filter-button:hover, .filter-button.active {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    overflow: hidden;
    transition: transform var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 250px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details {
    padding: 20px;
    flex-grow: 1;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.product-rating {
    margin-bottom: 10px;
}

.stars {
    color: gold;
}

.review-count {
    font-size: 0.9rem;
    color: #666;
}

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

.product-features {
    margin: 0 0 20px 20px;
}

.product-features li {
    margin-bottom: 5px;
}

.product-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color var(--transition-speed);
}

.product-button:hover {
    background-color: var(--secondary-color);
}

.product-bundle {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--section-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
    margin-bottom: 50px;
}

.bundle-content {
    flex: 1;
    min-width: 300px;
    padding: 30px;
}

.bundle-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.bundle-content h2::after {
    left: 0;
    transform: none;
}

.bundle-content ul {
    margin: 20px 0;
    padding-left: 20px;
}

.bundle-content li {
    margin-bottom: 10px;
}

.bundle-price {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.bundle-price span {
    font-weight: 600;
    color: var(--primary-color);
}

.bundle-image {
    flex: 1;
    min-width: 300px;
}

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

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto 20px;
    position: relative;
}

.testimonial-slide {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.slider-controls {
    text-align: center;
}

.slider-controls button {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

.slider-controls button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    border-color: var(--primary-color);
}

/* お問い合わせページ */
.contact-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    flex: 0 0 50px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.info-content {
    flex: 1;
}

.info-content h3 {
    margin-bottom: 10px;
    color: var(--dark-text);
}

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

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

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

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--background-color);
    transition: border-color var(--transition-speed);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="tel"]:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

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

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-button {
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

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

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-directions {
    max-width: 800px;
    margin: 0 auto;
}

.map-directions h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
}

.map-directions ul {
    padding-left: 20px;
}

.map-directions li {
    margin-bottom: 10px;
}

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

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

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

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-text);
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed), padding var(--transition-speed);
    display: none;
}

.faq-answer p {
    margin-bottom: 15px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #888;
}

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

.modal-icon {
    margin-bottom: 20px;
}

.modal-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.modal-button:hover {
    background-color: var(--secondary-color);
}

/* ブログ投稿ページ */
.post-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.post-content {
    flex: 3;
    min-width: 300px;
}

.post-sidebar {
    flex: 1;
    min-width: 250px;
}

.post-header {
    margin-bottom: 30px;
}

.post-header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-body {
    margin-bottom: 30px;
}

.post-body h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    text-align: left;
}

.post-body h2::after {
    left: 0;
    transform: none;
    width: 40px;
}

.post-body h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--dark-text);
}

.post-body p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.post-body ul, .post-body ol {
    margin: 20px 0;
    padding-left: 20px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-image {
    margin: 30px 0;
    text-align: center;
}

.post-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.image-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.post-tip {
    background-color: var(--translucent-primary);
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-tip h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.recipe {
    background-color: var(--section-bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 20px 0;
}

.recipe h4 {
    margin: 10px 0;
    color: var(--dark-text);
}

.post-callout {
    background-color: var(--section-bg-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin: 30px 0 0;
    text-align: center;
}

.post-callout h3 {
    margin-top: 0;
    color: var(--dark-text);
}

.post-share {
    margin-bottom: 30px;
}

.post-share h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.share-buttons {
    display: flex;
    gap: 15px;
}

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--section-bg-color);
    border-radius: 50%;
    transition: background-color var(--transition-speed);
}

.share-buttons a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.post-navigation a {
    padding: 10px 0;
}

.prev-post span, .next-post span {
    transition: margin var(--transition-speed);
}

.prev-post:hover span {
    margin-right: 5px;
}

.next-post:hover span {
    margin-left: 5px;
}

.back-to-blog {
    font-weight: 500;
}

.sidebar-product {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sidebar-product img {
    width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
}

.sidebar-product-info {
    text-align: center;
}

.sidebar-product-info h4 {
    margin-bottom: 5px;
    color: var(--dark-text);
}

.sidebar-product-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* メディアクエリ */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hero {
        height: 60vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .feature-container, .blog-container {
        justify-content: center;
    }

    .product-highlight {
        flex-direction: column;
    }

    .product-image, .product-info {
        flex: auto;
    }

    .footer-section {
        flex: 100%;
        text-align: center;
        padding: 0 10px;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        justify-content: flex-start;
        padding-left: 70px;
    }

    .timeline-year {
        left: 30px;
        transform: none;
    }

    .timeline-content {
        width: 100%;
    }

    .post-navigation-links, .post-navigation-arrows {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }

    .cookie-buttons button {
        margin: 5px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 10px 20px;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .feature, .blog-card, .product-card {
        min-width: 100%;
    }
}
