/* フレッシュトイレクリーナー サイトスタイルシート */

/* ======== 基本設定 ======== */
:root {
    --primary-color: #66c2a5; /* ミント */
    --primary-dark: #338a76;
    --primary-light: #a3e0cf;
    --secondary-color: #2d4e68; /* ネイビー */
    --secondary-dark: #1a2e3e;
    --secondary-light: #4a6a84;
    --accent-color: #ff8c5a;
    --light-gray: #f5f7f9;
    --medium-gray: #e1e5e9;
    --dark-gray: #4f5b66;
    --text-color: #2a3642;
    --white: #ffffff;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --section-spacing: 80px;
}

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

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul, ol {
    list-style-position: inside;
    padding-left: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--secondary-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

section {
    padding: var(--section-spacing) 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.875rem;
}

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

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

.btn-tertiary {
    background-color: var(--medium-gray);
    color: var(--dark-gray);
}

.btn-tertiary:hover {
    background-color: var(--dark-gray);
    color: var(--white);
}

.required {
    color: #e74c3c;
}

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

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

.logo img {
    max-height: 50px;
    width: auto;
}

nav ul {
    display: flex;
    gap: 25px;
    list-style-type: none;
    padding: 0;
}

nav ul li a {
    color: var(--secondary-dark);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.date-time {
    font-size: 0.85rem;
    color: var(--dark-gray);
    text-align: right;
}

/* ======== ヒーローセクション ======== */
.hero {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
    min-height: 500px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    margin-bottom: 20px;
    color: var(--secondary-dark);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--secondary-light);
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* ======== 特徴セクション ======== */
.features {
    background-color: var(--white);
    text-align: center;
}

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

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

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

.feature-icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    color: var(--primary-dark);
    width: 30px;
    height: 30px;
}

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

.feature-item p {
    color: var(--dark-gray);
}

/* ======== 最新の投稿セクション ======== */
.latest-posts {
    background-color: var(--light-gray);
    text-align: center;
}

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

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

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.post-image {
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.post-content p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

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

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

.view-all {
    margin-top: 40px;
}

/* ======== アンケートセクション ======== */
.poll-section {
    background-color: var(--white);
    text-align: center;
}

.poll-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.poll-container h3 {
    margin-bottom: 25px;
    color: var(--secondary-dark);
}

.poll-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-align: left;
}

.poll-option input {
    margin-right: 15px;
    cursor: pointer;
}

.poll-option label {
    cursor: pointer;
}

.poll-submit {
    margin-top: 20px;
}

.poll-results h4 {
    margin-bottom: 20px;
    color: var(--secondary-dark);
}

.result-bar {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    text-align: left;
}

.bar-label {
    width: 120px;
    font-weight: 600;
}

.bar-container {
    flex: 1;
    display: flex;
    align-items: center;
}

.bar {
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.bar-percent {
    margin-left: 10px;
    font-weight: 600;
    color: var(--primary-dark);
}

.poll-note {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* ======== お客様の声セクション ======== */
.testimonials {
    background-color: var(--light-gray);
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 10px;
    margin: 40px -10px 0;
    scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.testimonial {
    min-width: 300px;
    max-width: 400px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    position: relative;
    padding-top: 20px;
    margin-bottom: 20px;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 4rem;
    color: var(--primary-light);
    line-height: 1;
    font-family: serif;
}

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

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

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* ======== フッター ======== */
footer {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.footer-content h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links ul,
.footer-legal ul {
    list-style-type: none;
    padding: 0;
}

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

.footer-links a,
.footer-legal a {
    color: var(--medium-gray);
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--medium-gray);
}

.footer-contact svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.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: var(--transition);
}

.social-icons a svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

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

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

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

/* ======== Cookie同意バナー ======== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary-dark);
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

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

.cookie-content p {
    color: var(--white);
    margin: 0;
    flex: 1 1 300px;
}

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

.cookie-content a {
    color: var(--primary-light);
    margin-left: 10px;
}

.cookie-content a:hover {
    text-decoration: underline;
}

/* ======== ページバナー ======== */
.page-banner {
    background-color: var(--secondary-light);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.page-banner h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* ======== ブログレイアウト ======== */
.blog-content {
    background-color: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-post {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.blog-post .post-image {
    height: 100%;
}

.blog-post .post-image img {
    height: 100%;
    object-fit: cover;
}

.blog-post .post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.post-date {
    display: flex;
    align-items: center;
}

.post-category {
    display: flex;
    align-items: center;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 600;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
    height: max-content;
}

.sidebar-widget {
    margin-bottom: 40px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.search-form {
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--dark-gray);
}

.search-form button:hover {
    color: var(--primary-color);
}

.categories-widget ul {
    list-style-type: none;
    padding: 0;
}

.categories-widget li {
    margin-bottom: 10px;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 10px;
}

.categories-widget a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

.categories-widget a:hover {
    color: var(--primary-color);
}

.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post {
    display: flex;
    gap: 15px;
}

.recent-post-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.recent-post-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.recent-post-content a {
    color: var(--text-color);
}

.recent-post-content a:hover {
    color: var(--primary-color);
}

.recent-post-content .post-date {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    background-color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    transition: var(--transition);
}

.tags a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ======== 製品ページ ======== */
.products-intro {
    text-align: center;
    background-color: var(--white);
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.product-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.product-feature svg {
    color: var(--primary-color);
}

.product-lineup {
    background-color: var(--light-gray);
}

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

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

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

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    z-index: 1;
}

.bestseller {
    background-color: #f1c40f;
}

.new {
    background-color: #e74c3c;
}

.eco {
    background-color: #27ae60;
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

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

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    color: #f1c40f;
}

.reviews-count {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.product-info p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.product-size {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--secondary-light);
}

.product-price {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-dark);
}

.product-btn {
    margin-top: auto;
}

.how-to-use {
    background-color: var(--white);
    text-align: center;
}

.usage-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    position: relative;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.step-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.customer-reviews {
    background-color: var(--light-gray);
}

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

.review-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.review-rating {
    display: flex;
    color: #f1c40f;
}

.review-date {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.review-text {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-color);
}

.review-product {
    color: var(--dark-gray);
    font-size: 0.9rem;
    border-top: 1px solid var(--medium-gray);
    padding-top: 15px;
}

.faq-section {
    background-color: var(--white);
}

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

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

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

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

.faq-toggle svg {
    transition: var(--transition);
}

.faq-item.active .faq-toggle svg {
    transform: rotate(45deg);
}

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

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

/* ======== お問い合わせページ ======== */
.contact-info-section {
    background-color: var(--white);
}

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

.contact-info-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon svg {
    color: var(--primary-dark);
}

.contact-info-item h3 {
    margin-bottom: 15px;
}

.contact-info-item p {
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.contact-form-section {
    background-color: var(--light-gray);
}

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

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    margin-bottom: 10px;
}

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

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

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 194, 165, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
}

.form-submit {
    text-align: center;
}

.submit-btn {
    min-width: 200px;
}

.map-section {
    background-color: var(--white);
}

.map-container {
    margin-top: 40px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    position: relative;
    height: 400px;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.map-overlay p {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* ======== モーダル ======== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.modal-icon svg {
    color: var(--primary-dark);
}

.modal-content h2 {
    margin-bottom: 15px;
}

.modal-btn {
    margin-top: 20px;
}

/* ======== 会社概要ページ ======== */
.about-intro {
    background-color: var(--white);
}

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

.about-text h2 {
    margin-bottom: 20px;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.mission-vision {
    background-color: var(--light-gray);
}

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

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

.mission-box .icon,
.vision-box .icon,
.values-box .icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.mission-box .icon svg,
.vision-box .icon svg,
.values-box .icon svg {
    color: var(--primary-dark);
}

.values-box ul {
    list-style-type: none;
    padding: 0;
}

.values-box li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.values-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.team-section {
    background-color: var(--white);
    text-align: center;
}

.team-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

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

.team-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.team-card h3 {
    margin: 20px 0 5px;
}

.team-card p {
    padding: 0 20px;
    margin-bottom: 15px;
}

.team-card p:nth-of-type(1) {
    color: var(--primary-dark);
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.company-history {
    background-color: var(--light-gray);
}

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

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

.timeline-item {
    position: relative;
    padding-left: 70px;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: 19px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid var(--primary-color);
}

.timeline-date {
    position: absolute;
    left: 50px;
    top: 0;
    font-weight: 700;
    color: var(--primary-dark);
}

.timeline-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: var(--box-shadow);
    margin-top: 30px;
}

.timeline-content h3 {
    margin-bottom: 10px;
}

.sustainability-section {
    background-color: var(--white);
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.sustainability-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.sustainability-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.sustainability-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.sustainability-list li svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.certifications {
    background-color: var(--light-gray);
    text-align: center;
}

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

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

.certification-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 20px;
}

/* ======== ブログ投稿ページ ======== */
.blog-post-content {
    padding: 60px 0;
    background-color: var(--white);
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-header h1 {
    margin-bottom: 20px;
}

.post-header .post-meta {
    justify-content: center;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

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

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

.post-body {
    max-width: 800px;
    margin: 0 auto;
}

.post-body h2 {
    margin-top: 40px;
}

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

.post-body ul, 
.post-body ol {
    margin-bottom: 20px;
}

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

.post-image-content {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image-content img {
    width: 100%;
}

.image-caption {
    background-color: var(--light-gray);
    padding: 10px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin: 0;
}

.post-tip {
    background-color: var(--primary-light);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 30px 0;
}

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

.post-product-recommendation {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 40px 0;
}

.product-recommendation-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    align-items: center;
}

.product-recommendation-content img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 30px 0;
}

.post-tags h3 {
    margin: 0;
}

.post-tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.post-tags li {
    margin: 0;
}

.post-tags a {
    background-color: var(--light-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-gray);
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.post-share h3 {
    margin-bottom: 15px;
}

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

.social-share-buttons a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    color: var(--white);
    transition: var(--transition);
}

.facebook-share {
    background-color: #3b5999;
}

.twitter-share {
    background-color: #55acee;
}

.line-share {
    background-color: #00c300;
}

.email-share {
    background-color: #7f7f7f;
}

.social-share-buttons a:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    color: var(--white);
}

.related-posts {
    margin: 60px 0;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

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

.related-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-post h4 {
    padding: 15px 15px 5px;
}

.related-post p {
    padding: 0 15px 15px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.post-comments {
    margin: 60px 0;
}

.post-comments h3 {
    margin-bottom: 30px;
}

.comments-list {
    margin-bottom: 40px;
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-header h4 {
    margin: 0;
}

.comment-date {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.reply-btn {
    background-color: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    font-weight: 600;
    margin-top: 10px;
}

.reply-btn:hover {
    text-decoration: underline;
}

.comment-form h3 {
    margin-bottom: 20px;
}

/* ======== レスポンシブデザイン ======== */
@media (max-width: 1024px) {
    :root {
        --section-spacing: 60px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        min-height: 400px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
        margin-top: 50px;
    }
    
    .about-content,
    .sustainability-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image,
    .sustainability-image {
        order: -1;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 50px;
    }
    
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .date-time {
        text-align: center;
    }
    
    .hero .container {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid,
    .usage-steps {
        grid-template-columns: 1fr;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .product-recommendation-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .comment {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .feature-grid,
    .contact-info-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .social-share-buttons {
        flex-direction: column;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
}
