/* グローバル変数 */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --background-color: #f9f9f9;
    --border-color: #ddd;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
}

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

ul {
    list-style: none;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

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

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

.btn:hover {
    background-color: #2980b9;
    color: white;
    transform: translateY(-2px);
}

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

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

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ヘッダー */
header {
    background-color: white;
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

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

.logo-container img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 50%;
}

.logo-container h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* ヒーローセクション */
.hero {
    display: flex;
    padding: 5rem 5%;
    background-color: var(--light-color);
    background-image: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(44, 62, 80, 0.1) 100%);
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.hero-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 90%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* 特徴セクション */
.features {
    padding: 5rem 5%;
    text-align: center;
}

.features h2 {
    margin-bottom: 3rem;
}

.features-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.feature-card {
    flex: 1;
    padding: 2rem;
    border-radius: 8px;
    background-color: white;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

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

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

.latest-posts h2 {
    margin-bottom: 3rem;
}

.posts-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

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

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

.post-content {
    padding: 1.5rem;
}

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

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

.view-all {
    margin-top: 2rem;
}

/* CTAセクション */
.cta {
    padding: 5rem 5%;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.cta .btn:hover {
    background-color: #c0392b;
}

/* フッター */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info {
    flex: 1;
    min-width: 250px;
}

.footer-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-links, .footer-policy, .footer-social {
    flex: 1;
    min-width: 150px;
}

.footer-links h3, .footer-policy h3, .footer-social h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul, .footer-policy ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links ul li a, .footer-policy ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links ul li a:hover, .footer-policy ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

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

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

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

.copyright p {
    color: rgba(255, 255, 255, 0.6);
}

/* Cookieバナー */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: white;
    padding: 1rem;
    z-index: 999;
    display: flex;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
}

.cookie-content p {
    margin-bottom: 1rem;
    text-align: center;
}

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

.cookie-content a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    font-size: 0.875rem;
}

.cookie-content a:hover {
    color: white;
}

/* ページヘッダー（サブページ用） */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 5%;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

/* サービスページスタイル */
.services-intro {
    padding: 5rem 5%;
}

.services-intro .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.image-container {
    flex: 1;
}

.text-container {
    flex: 1;
}

.services-grid {
    padding: 5rem 5%;
    background-color: var(--light-color);
    text-align: center;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.service-card {
    width: calc(33.333% - 2rem);
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.service-content {
    padding: 1.5rem;
}

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

.service-content ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.service-content ul li {
    margin-bottom: 0.5rem;
}

.price {
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 1rem;
}

.service-process {
    padding: 5rem 5%;
    text-align: center;
}

.process-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.warranty {
    padding: 5rem 5%;
    background-color: var(--light-color);
}

.warranty-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.warranty-content {
    flex: 1;
}

.warranty-image {
    flex: 1;
}

/* ブログページスタイル */
.blog-content {
    padding: 5rem 5%;
}

.blog-container {
    display: flex;
    gap: 3rem;
}

.blog-posts {
    flex: 2;
}

.blog-post {
    display: flex;
    margin-bottom: 3rem;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.post-image {
    flex: 1;
}

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

.post-content {
    flex: 2;
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #777;
    font-size: 0.875rem;
}

.blog-sidebar {
    flex: 1;
}

.sidebar-widget {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.search-form button {
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.categories-widget ul li {
    margin-bottom: 0.75rem;
}

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
}

.recent-posts-widget ul li {
    margin-bottom: 1rem;
}

.recent-posts-widget ul li a {
    display: flex;
    gap: 1rem;
}

.recent-posts-widget img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.recent-posts-widget h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.recent-posts-widget span {
    font-size: 0.75rem;
    color: #777;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-cloud a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-color);
}

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

/* 会社概要ページスタイル */
.about-intro {
    padding: 5rem 5%;
}

.mission-vision {
    padding: 5rem 5%;
    background-color: var(--light-color);
}

.mission-vision-container {
    display: flex;
    gap: 3rem;
}

.mission, .vision {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.our-values {
    padding: 5rem 5%;
    text-align: center;
}

.values-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.value-card {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.value-icon {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.our-team {
    padding: 5rem 5%;
    background-color: var(--light-color);
    text-align: center;
}

.team-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.team-member {
    width: calc(20% - 2rem);
    min-width: 200px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    padding-bottom: 1.5rem;
}

.team-member img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.team-member h3 {
    margin: 1rem 0 0.5rem;
    padding: 0 1rem;
}

.team-member p {
    padding: 0 1rem;
    margin-bottom: 0.5rem;
}

.company-history {
    padding: 5rem 5%;
    text-align: center;
}

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

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

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
}

.timeline-year {
    width: 30%;
    text-align: right;
    padding-right: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.timeline-content {
    width: 70%;
    text-align: left;
    padding-left: 2rem;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    left: -8px;
    top: 5px;
}

.certifications {
    padding: 5rem 5%;
    background-color: var(--light-color);
    text-align: center;
}

.certifications-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.certification-item {
    flex: 1;
    max-width: 300px;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.certification-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* お問い合わせページスタイル */
.contact-info {
    padding: 5rem 5%;
}

.contact-container {
    display: flex;
    gap: 3rem;
}

.contact-details {
    flex: 1;
}

.contact-item {
    display: flex;
    margin-bottom: 2rem;
}

.contact-icon {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.contact-text h3 {
    margin-bottom: 0.5rem;
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

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

.checkbox-group input {
    width: auto;
    margin-right: 0.5rem;
}

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

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

.map-section {
    padding: 5rem 5%;
    background-color: var(--light-color);
    text-align: center;
}

.map-container {
    margin-top: 2rem;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-section {
    padding: 5rem 5%;
    text-align: center;
}

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

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background-color: white;
    cursor: pointer;
}

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

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

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

.modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    padding: 3rem;
    margin: 10% auto;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #777;
}

.modal-icon {
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

/* ブログ投稿ページ */
.blog-post-single {
    max-width: 800px;
    margin: 5rem auto;
    padding: 0 5%;
}

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

.post-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.post-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.post-featured-image {
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.post-content h2 {
    margin: 2rem 0 1rem;
}

.post-content ul, .post-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.post-content ul {
    list-style-type: disc;
}

.post-content ol {
    list-style-type: decimal;
}

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

.post-tags {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.post-tags span {
    font-weight: 600;
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 0.875rem;
}

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

.related-posts {
    padding: 3rem 5%;
    background-color: var(--light-color);
    text-align: center;
}

.related-posts-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.related-post {
    flex: 1;
    max-width: 300px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.related-post h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
}

.related-post .btn-small {
    margin: 0 1rem 1rem;
}

/* 質問ボタン */
.question-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 90;
}

.question-button button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 24px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.question-button button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .team-member {
        width: calc(33.333% - 2rem);
    }
}

@media (max-width: 992px) {
    .hero, .services-intro .container, .warranty-container, .mission-vision-container, .contact-container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        padding-bottom: 2rem;
    }
    
    .service-card {
        width: calc(50% - 2rem);
    }
    
    .blog-container {
        flex-direction: column;
    }
    
    .blog-post {
        flex-direction: column;
    }
    
    .post-image {
        height: 300px;
    }
    
    .team-member {
        width: calc(50% - 2rem);
    }
    
    .timeline-year, .timeline-content {
        width: 50%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .features-container, .posts-container, .related-posts-container {
        flex-direction: column;
    }
    
    .service-card {
        width: 100%;
    }
    
    .footer-container {
        flex-direction: column;
    }
    
    nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .team-member {
        width: 100%;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year, .timeline-content {
        width: 100%;
        text-align: left;
        padding-left: 40px;
        padding-right: 0;
    }
    
    .timeline-content::before {
        left: 12px;
    }
    
    .certifications-container {
        flex-direction: column;
        align-items: center;
    }
}

/* 開いたナビゲーションメニューのスタイル */
body.menu-open nav {
    display: block;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1.5rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

body.menu-open nav ul {
    flex-direction: column;
}

body.menu-open nav ul li {
    margin: 0 0 1rem 0;
}

body.menu-open .mobile-menu-btn span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

body.menu-open .mobile-menu-btn span:nth-child(2) {
    opacity: 0;
}

body.menu-open .mobile-menu-btn span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}
