/* 
   クリスタルクリーン - スタイルシート
   革新的なトイレクリーナー製品のウェブサイト向け
   スムーズで未来的なレイアウト、ライトグラデーションブルー、クリスタルクリーンなビジュアルアイデンティティ
*/

/* ベース */
:root {
    --primary-color: #0096db;
    --primary-dark: #0077aa;
    --primary-light: #b3e0f2;
    --secondary-color: #00c4b4;
    --accent-color: #f5f9fc;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-grey: #f5f7fa;
    --bg-dark: #222222;
    --border-color: #e0e6ed;
    --border-radius: 8px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.6rem;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.primary-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    transform: translateY(-2px);
    color: var(--text-light);
    box-shadow: 0 6px 20px rgba(0, 150, 219, 0.2);
}

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

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

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

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.logo img {
    width: 5rem;
    height: 5rem;
    object-fit: cover;
    margin-right: 1rem;
    border-radius: 50%;
}

.logo span {
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    gap: 3rem;
}

nav a {
    color: var(--text-primary);
    font-weight: 500;
    padding: 1rem;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

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

/* フッター */
footer {
    background: linear-gradient(to right, #001a33, #003366);
    color: var(--text-light);
    padding: 6rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 4rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.footer-logo p {
    font-size: 2rem;
    font-weight: 700;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

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

.footer-column a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

address p {
    margin-bottom: 1rem;
    font-style: normal;
}

address a {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 2rem;
}

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

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

.copyright {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* クッキーバナー */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 15, 30, 0.95);
    padding: 2rem;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 120rem;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: var(--text-light);
}

.cookie-content p {
    flex: 1;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.4rem;
}

.cookie-btn.accept {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.cookie-btn.customize {
    background-color: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
}

.cookie-btn.reject {
    background-color: transparent;
    color: var(--text-light);
}

.cookie-more {
    margin-left: 1rem;
    color: var(--primary-light);
    text-decoration: underline;
    font-size: 1.4rem;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, rgba(0, 150, 219, 0.1), rgba(0, 196, 180, 0.1));
    padding: 12rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 5.6rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 2.2rem;
    color: var(--text-secondary);
    max-width: 70rem;
    margin: 0 auto 4rem;
}

/* 特長セクション */
.features {
    padding: 10rem 0;
    background-color: var(--bg-light);
}

.features h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
}

.feature-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 4rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card .icon {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    margin-bottom: 1.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* 最新の記事セクション */
.latest-posts {
    padding: 10rem 0;
    background-color: var(--bg-grey);
}

.latest-posts h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 4rem;
    margin-bottom: 5rem;
}

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-image {
    height: 20rem;
    overflow: hidden;
}

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

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

.post-content {
    padding: 2.5rem;
}

.post-content h3 {
    margin-bottom: 1.5rem;
}

.post-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    padding-right: 1.8rem;
}

.read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: var(--transition);
}

.read-more:hover::after {
    right: -5px;
}

.see-more {
    text-align: center;
}

/* 統計セクション */
.statistics {
    padding: 10rem 0;
    background-color: var(--bg-light);
}

.statistics h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.chart-container {
    max-width: 80rem;
    margin: 0 auto 2rem;
    height: 40rem;
}

.chart-description {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

/* CTAセクション */
.cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 8rem 0;
    text-align: center;
    color: var(--text-light);
}

.cta h2 {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta p {
    max-width: 70rem;
    margin: 0 auto 3rem;
}

.cta .btn {
    background-color: var(--text-light);
    color: var(--primary-color);
    font-weight: 700;
}

.cta .btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ページヘッダー共通 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 6rem 0;
    text-align: center;
}

.page-header h1 {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 会社概要ページ */
.about-intro {
    padding: 10rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 3rem;
}

.about-content h3 {
    margin-top: 4rem;
    margin-bottom: 1.5rem;
}

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

.values {
    padding: 10rem 0;
    background-color: var(--bg-grey);
}

.values h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 4rem;
}

.value-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 4rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.value-card .icon {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
}

.team {
    padding: 10rem 0;
}

.team h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 4rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 20rem;
    height: 20rem;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    box-shadow: var(--box-shadow);
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

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

.history {
    padding: 10rem 0;
    background-color: var(--bg-grey);
}

.history h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.timeline {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
}

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

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 6rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-dot {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    font-weight: 700;
    margin-top: -4rem;
}

.timeline-content {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 80%;
}

.timeline-content h3 {
    margin-bottom: 1rem;
}

/* 製品ページ */
.product-intro {
    padding: 6rem 0;
    text-align: center;
}

.product-intro .lead {
    max-width: 80rem;
    margin: 0 auto;
    font-size: 1.8rem;
    color: var(--text-secondary);
}

.product-range {
    padding: 5rem 0 10rem;
}

.product-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    margin-bottom: 8rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 4rem;
    box-shadow: var(--box-shadow);
}

.product-item:last-child {
    margin-bottom: 0;
}

.product-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-details h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.stars {
    color: #ffc107;
    font-size: 2rem;
    margin-right: 1rem;
}

.reviews {
    color: var(--text-secondary);
    font-size: 1.4rem;
}

.product-price {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.product-description {
    margin-bottom: 3rem;
}

.product-features {
    list-style: disc;
    padding-left: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.product-features li {
    margin-bottom: 1rem;
}

.product-comparison {
    padding: 5rem 0;
    background-color: var(--bg-grey);
}

.product-comparison h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.table-responsive {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-light);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1.5rem 2rem;
    text-align: center;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--accent-color);
}

.testimonials {
    padding: 10rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 6rem;
}

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

.testimonial {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 4rem;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 8rem;
    color: var(--primary-light);
    opacity: 0.3;
    line-height: 1;
    font-family: serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.testimonial-author p {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.rating {
    color: #ffc107;
}

.faq {
    padding: 10rem 0;
    background-color: var(--bg-grey);
}

.faq h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.accordion {
    max-width: 80rem;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 2rem;
    background-color: var(--bg-light);
    border: none;
    text-align: left;
    font-weight: 500;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    width: 1.5rem;
    height: 1.5rem;
    transform: rotate(180deg);
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(0);
}

.accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 2rem 2rem;
    max-height: 50rem;
}

/* ブログページ */
.blog-intro {
    padding: 6rem 0;
    text-align: center;
}

.blog-intro .lead {
    max-width: 80rem;
    margin: 0 auto;
    font-size: 1.8rem;
    color: var(--text-secondary);
}

.blog-featured {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.blog-featured h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 4rem;
    box-shadow: var(--box-shadow);
}

.featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.featured-content h3 {
    margin-bottom: 1rem;
}

.post-meta {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.blog-list {
    padding: 10rem 0;
    background-color: var(--bg-grey);
}

.blog-list h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.blog-categories {
    padding: 10rem 0;
    background-color: var(--bg-light);
}

.blog-categories h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 3rem;
}

.category-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
    display: block;
    color: var(--text-primary);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
}

.category-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.category-card h3 {
    margin-bottom: 1rem;
}

.category-card p {
    color: var(--text-secondary);
}

.blog-newsletter {
    padding: 10rem 0;
    background-color: var(--bg-grey);
}

.newsletter-box {
    max-width: 70rem;
    margin: 0 auto;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 5rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.newsletter-box h2 {
    margin-bottom: 2rem;
}

.newsletter-box p {
    margin-bottom: 3rem;
}

.newsletter-form .form-group {
    display: flex;
    margin-bottom: 2rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 1.2rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* お問い合わせページ */
.contact-intro {
    padding: 6rem 0;
    text-align: center;
}

.contact-intro .lead {
    max-width: 80rem;
    margin: 0 auto;
    font-size: 1.8rem;
    color: var(--text-secondary);
}

.contact-info {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.contact-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.contact-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.contact-card h3 {
    margin-bottom: 1.5rem;
}

.contact-form {
    padding: 10rem 0;
    background-color: var(--bg-grey);
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

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

.required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', sans-serif;
}

textarea {
    resize: vertical;
}

.form-actions {
    text-align: center;
    margin-top: 3rem;
}

.map {
    padding: 10rem 0;
    background-color: var(--bg-light);
}

.map h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.map-container {
    height: 40rem;
    margin-bottom: 4rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.map-instructions h3 {
    margin-bottom: 2rem;
}

.map-instructions ul {
    list-style: disc;
    padding-left: 2rem;
}

.map-instructions li {
    margin-bottom: 1rem;
}

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

.modal-content {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 4rem;
    max-width: 50rem;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

/* ブログ投稿ページ */
.blog-post {
    padding: 10rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 5rem;
}

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

.post-content {
    max-width: 80rem;
    margin: 0 auto 5rem;
}

.post-content h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.post-content ul,
.post-content ol {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.post-content li {
    margin-bottom: 1rem;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.post-tags span {
    font-weight: 500;
}

.post-tags a {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 5rem;
}

.post-share span {
    font-weight: 500;
}

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--bg-grey);
    color: var(--text-secondary);
}

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

.post-author {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 6rem;
    background-color: var(--bg-grey);
    padding: 3rem;
    border-radius: var(--border-radius);
}

.author-avatar {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-info h3 {
    margin-bottom: 1rem;
}

.author-info p {
    margin-bottom: 0;
}

.related-posts {
    margin-bottom: 6rem;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.post-comments {
    max-width: 80rem;
    margin: 0 auto;
}

.post-comments h2 {
    margin-bottom: 3rem;
}

.comments-section p {
    margin-bottom: 3rem;
}

.comment-form .form-group {
    margin-bottom: 2rem;
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    html {
        font-size: 56.25%; /* 1rem = 9px */
    }
}

@media (max-width: 992px) {
    html {
        font-size: 50%; /* 1rem = 8px */
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .footer-logo,
    .social-links {
        justify-content: center;
        align-items: center;
    }

    .about-grid,
    .featured-post,
    .product-item {
        grid-template-columns: 1fr;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 0;
        margin-left: 3rem;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .timeline-dot {
        left: 0;
    }
    
    .timeline-date {
        left: 3rem;
        transform: none;
    }
}

@media (max-width: 768px) {
    header {
        position: relative;
    }
    
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 2rem 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        margin-top: 2rem;
        gap: 1.5rem;
    }
    
    .hero {
        padding: 8rem 0;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .feature-cards,
    .values-grid,
    .team-grid,
    .posts-grid,
    .contact-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    .post-author {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        border-radius: var(--border-radius);
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form .btn {
        border-radius: var(--border-radius);
        width: 100%;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}
