

/* Base styles */
:root {
    --primary-color: #ba0c2f; /* New primary color: #ba0c2f (Red/Crimson) */
    --primary-color-darker: #8a0921; /* Darker shade for hover states */
    --primary-color-rgb: 186, 12, 47; /* RGB values for rgba() function */
    --text-color-dark: #333;
    --text-color-light: #666;
    --bg-light: #f3f3f3; /* Matching the lighter background of the provided footer image */
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --font-main: 'Noto Sans JP', sans-serif; /* Unified font to Noto Sans JP */
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    color: var(--text-color-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden; /* Prevent horizontal scroll for animations */
}

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

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

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

/* Utility classes for animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px); /* Increased initial translateY for more noticeable effect */
    transition: opacity 1s ease-out, transform 1s ease-out; /* Slower transition for emphasis */
}

.fade-in-section.active {
    opacity: 1;
    transform: translateY(0);
}


.image-links-wrapper {
    /* Flexboxを使って中の要素を横並びに */
    display: flex;
    
    /* 水平方向の中央揃え */
    justify-content: center;
    
    /* アイコン同士の間隔 */
    gap: 25px; 
    
    /* 上下の余白（お好みで調整） */
    margin-top: 20px;
}

.image-links-wrapper a {
    /* アニメーションをスムーズにするための設定 */
    transition: transform 0.2s ease-in-out;
}

.image-links-wrapper img {
    /* アイコンのサイズを指定 */
    width: 45px; 
    
    /* 縦横比を保つ */
    height: auto; 
    
    /* 画像がブロック要素として扱われるようにする */
    display: block;
}

/* マウスが乗った時のエフェクト */
.image-links-wrapper a:hover {
    /* 少し上に浮き上がるような動き */
    transform: translateY(-5px);
}

/* スマホ表示の調整（画面幅が768px以下の場合） */
@media screen and (max-width: 768px) {
    .image-links-wrapper {
        /* スマホでは少し間隔を狭める */
        gap: 20px;
    }
    
    .image-links-wrapper img {
        /* スマホでは少しアイコンを小さくする */
        width: 40px;
    }
}



/* ------------------------------------- */
/* Header Section */
/* ------------------------------------- */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

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

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

.header-logo img {
    height: 40px; /* Adjust as per Medinaturals logo size */
    width: auto;
    object-fit: contain;
    border-radius: 5px; /* Rounded corners for logo */
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header-nav li {
    margin-left: 30px;
}

.header-nav a {
    text-decoration: none;
    color: var(--text-color-dark);
    font-family: var(--font-main); /* Unified font */
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between icons */
}

.header-actions .search-toggle,
.header-actions .header-action-icon {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-color-dark);
    padding: 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%); /* ･ｰ･・ｼ･ｹ･ｱ｡ｼ･・｢･､･ｳ･・*/
}

.header-actions .header-action-icon {
    text-decoration: none; /* For the 'a' tags */
    display: flex; /* To center icon if it has padding */
    align-items: center;
    justify-content: center;
}

.header-actions .search-toggle:hover,
.header-actions .header-action-icon:hover {
    background-color: var(--bg-light);
    filter: grayscale(0%); /* ･ﾛ･ﾐ｡ｼ､ﾇ･ｫ･鬘ｼ､ﾋﾌ皃ｹ */
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color-dark);
    margin-left: 15px; /* Space from other icons */
}

@media (max-width: 768px) {
    .header-nav {
        display: none; /* Hide nav on small screens */
    }
    .mobile-menu-toggle {
        display: block; /* Show toggle button */
    }
    .header-nav.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px; /* Adjust based on header height */
        left: 0;
        width: 100%;
        background-color: var(--bg-white);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }
    .header-nav.mobile-active li {
        margin: 10px 0;
        text-align: center;
    }
}

/* ------------------------------------- */
/* Hero Slider Section (FV) */
/* ------------------------------------- */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px; /* Increased min-height for impact */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform: scale(1.05); /* Slight zoom for initial state */
    transition: transform 3s ease-out; /* Slow zoom-out effect */
}
.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Darker overlay for text readability */
    z-index: -1;
}

.slide-content-wrapper {
    position: absolute;
    bottom: 10%; /* Positioned from bottom */
    left: 5%; /* Positioned from left */
    text-align: left;
    max-width: 600px;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out 0.5s, transform 0.8s ease-out 0.5s;
}
.hero-slide.active .slide-content-wrapper {
    opacity: 1;
    transform: translateY(0);
}

.slide-headline {
    font-size: 3.5em; /* Larger headline for jump ratio */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 900; /* Extra bold for impact */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.slide-subheadline {
    font-size: 1.8em; /* Larger subheadline */
    margin-bottom: 30px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slide-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 18px 40px; /* Larger padding for buttons */
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.4em; /* Larger font size for buttons */
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); /* Enhanced shadow */
}

.slide-cta-button:hover {
    background-color: var(--primary-color-darker);
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Slider Navigation */
.slider-nav-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 2;
    padding: 0 20px;
}
.slider-arrow {
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 2em;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.slider-arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}
.dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-slider-section {
        height: 60vh;
        min-height: 350px;
    }
    .slide-content-wrapper {
        bottom: 5%;
        left: 5%;
        right: 5%;
        max-width: none;
        text-align: center;
    }
    .slide-headline {
        font-size: 2em;
    }
    .slide-subheadline {
        font-size: 1.2em;
    }
    .slide-cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
}
@media (max-width: 480px) {
    .slide-headline {
        font-size: 1.6em;
    }
    .slide-subheadline {
        font-size: 1em;
    }
}

/* ------------------------------------- */
/* Section common styles */
/* ------------------------------------- */
.section-padding {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2em; /* Increased for jump ratio */
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-description {
    font-size: 1.2em;
    color: var(--text-color-light);
    max-width: 800px;
    margin: 0 auto;
}

/* ------------------------------------- */
/* Article Card Styles */
/* ------------------------------------- */
.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Enhanced shadow for layering */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Initial state for animation */
    transform: translateY(20px); /* Initial state for animation */
}
.article-card.active {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s; /* Stagger animation for cards */
}


.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); /* Even more enhanced shadow on hover */
}

.article-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.article-card:hover .article-image-wrapper img {
    transform: scale(1.08);
}

.article-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-category {
    display: inline-block;
    background-color: #fce7e7; /* Lighter version of primary for category tag */
    color: var(--primary-color);
    font-size: 0.85em;
    padding: 6px 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-weight: 500;
}

.article-title {
    font-size: 1.5em;
    color: var(--text-color-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.article-excerpt {
    font-size: 0.95em;
    color: var(--text-color-light);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 20px;
}

.article-read-more {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.article-read-more:hover {
    transform: translateX(5px);
}

.article-read-more svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.article-read-more:hover svg {
    transform: translateX(3px);
}

/* ------------------------------------- */
/* View All Button */
/* ------------------------------------- */
.section-footer-cta {
    text-align: center;
    margin-top: 60px;
}

.view-all-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none; /* Ensure no default button border */
    cursor: pointer;
}

.view-all-button:hover {
    background-color: var(--primary-color-darker);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
        color: #fff;
}

/* ------------------------------------- */
/* Category Tabs Section (Updated for layout fix) */
/* ------------------------------------- */
.category-tabs-section {
    background-color: var(--bg-white);
    padding-bottom: 80px;
}

.category-tabs-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.category-tab {
    background-color: transparent;
    border: none;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: 500;
    color: var(--text-color-light);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.category-tab:hover {
    color: var(--text-color-dark);
    background-color: #f0f0f0;
    border-radius: 5px;
}

.category-tab.active {
    color: var(--primary-color);
    font-weight: 700;
}

.category-tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    width: calc(100% - 20px);
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.category-content-container {
    /* Removed position: relative; and min-height as child elements now contribute to flow */
    /* Height will be determined by the active .category-articles-wrapper */
}

.category-articles-wrapper {
    display: none; /* Hidden by default */
    /* Removed animation: fadeInContent; as article-card has its own animation */
    /* Removed position: absolute; to fix layout collapse */
    /* Removed width: 100%; top: 0; left: 0; */
}

.category-articles-wrapper.active {
    display: grid; /* Display as grid when active */
}

/* Removed @keyframes fadeInContent as it's no longer directly applied to wrapper */

@media (max-width: 768px) {
    .category-tabs-wrapper {
        flex-wrap: wrap;
        justify-content: flex-start;
        border-bottom: none;
        padding-bottom: 0;
    }
    .category-tab {
        flex: 1 1 auto;
        padding: 10px 15px;
        font-size: 1em;
    }
    .category-tab.active::after {
        bottom: -3px;
    }
}

/* ------------------------------------- */
/* Athlete / Expert Section (Carousel) */
/* ------------------------------------- */
.athlete-expert-section {
    background-color: var(--bg-light);
    padding-top: 100px; /* Adjusted padding-top as requested */
}

.athlete-expert-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.athlete-expert-carousel {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
}

.athlete-expert-carousel::-webkit-scrollbar {
    height: 8px;
}

.athlete-expert-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.athlete-expert-carousel::-webkit-scrollbar-track {
    background: #eee;
}

.athlete-expert-card {
    flex: 0 0 350px;
    margin-right: 30px;
    scroll-snap-align: start;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.athlete-expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.athlete-expert-card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

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

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

.athlete-expert-name {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 10px;
}

.athlete-expert-role {
    font-size: 1.1em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.athlete-expert-bio {
    font-size: 0.95em;
    color: var(--text-color-light);
    margin-bottom: 25px;
    padding: 0 20px;
}

.athlete-expert-card-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    transition: transform 0.3s ease;
}
.athlete-expert-card-link:hover {
    transform: translateX(5px);
}
.athlete-expert-card-link svg {
    vertical-align: middle;
    margin-left: 5px;
}


.carousel-nav-buttons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.carousel-nav-button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin: 0 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5em;
    line-height: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav-button:hover {
    background-color: var(--primary-color-darker);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .athlete-expert-card {
        flex: 0 0 90%;
        margin-right: 20px;
    }
    .athlete-expert-carousel {
        padding: 0 10px 20px 10px;
    }
}

/* ------------------------------------- */
/* Brand Story Section */
/* ------------------------------------- */
.brand-story-section {
    background-color: var(--bg-white);
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.03);
}

.brand-story-content {
    max-width: 900px;
    margin: 0 auto;
}

.brand-story-content p {
    font-size: 1.15em;
    color: var(--text-color-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.brand-story-cta {
    display: inline-block;
    background-color: #4CAF50; /* Green for natural/wellness feel */
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.brand-story-cta:hover {
    background-color: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------- */
/* Gemini QA Section (New) */
/* ------------------------------------- */
.gemini-qa-section {
    background-color: var(--bg-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.qa-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#cbdQuestionInput {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1.1em;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#cbdQuestionInput:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.25);
}

.qa-container .primary-button { /* Apply primary button style to QA button */
    align-self: center; /* Center the button */
    width: fit-content; /* Adjust width to content */
}

.response-area {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-height: 50px;
    line-height: 1.8;
    color: var(--text-color-dark);
    white-space: pre-wrap; /* Preserve whitespace and line breaks from LLM response */
    word-break: break-word; /* Prevent overflow */
}
#geminiAnswer p {
    margin: 0; /* Remove default paragraph margin */
}
#geminiLoading {
    text-align: center;
    color: var(--primary-color);
    font-weight: 500;
}

/* ------------------------------------- */
/* Product Lineup Section (Hidden) */
/* ------------------------------------- */
.product-lineup-section {
    display: none; /* Temporarily hidden as per request */
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}

.product-lineup-content {
    max-width: 800px;
    margin: 0 auto;
}

.product-lineup-content .section-title {
    color: #fff;
}
.product-lineup-content .section-title::after {
    background-color: #fff;
}

.product-lineup-content p {
    font-size: 1.2em;
    margin-bottom: 40px;
    line-height: 1.7;
}

.product-lineup-cta {
    display: inline-block;
    background-color: #fff;
    color: var(--primary-color);
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.4em;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.product-lineup-cta:hover {
    background-color: #e0e0e0;
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ------------------------------------- */
/* Newsletter Section (Hidden) */
/* ------------------------------------- */
.newsletter-section {
    display: none; /* Temporarily hidden as per request */
    background-color: var(--bg-white);
    text-align: center;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.newsletter-form input[type="email"] {
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1em;
    width: 350px;
    max-width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.25);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-form button:hover {
    background-color: var(--primary-color-darker);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ------------------------------------- */
/* Social Media Follow Section */
/* ------------------------------------- */
.social-follow-section {
    background-color: var(--primary-color); /* Use primary color for impact */
    color: #fff;
    text-align: center;
}
.social-follow-section .section-title,
.social-follow-section .section-description {
    color: #fff;
}
.social-follow-section .section-title::after {
    background-color: #fff;
}
.social-icons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
}
.social-icon-link {
    font-size: 3em; /* Large icons for impact */
    color: rgba(255, 255, 255, 0.8); /* Slightly transparent white */
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icon-link:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.1);
}


/* ------------------------------------- */
/* Footer Section */
/* ------------------------------------- */
.site-footer {
    background-color: #f3f3f3; /* Matching the provided footer image background */
    color: #333; /* Darker text for footer */
    padding: 50px 0 20px; /* Adjusted padding-bottom for copyright */
    font-size: 14px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
    max-width: 28%; /* To allow better distribution for 4 columns */
}

.footer-col h4 {
    font-size: 1.1em;
    color: #333; /* Matching provided image font color */
    margin-bottom: 15px; /* Adjusted margin */
    padding-bottom: 5px;
    border-bottom: 1px solid #CFCFCF; /* Lighter, subtle border */
    font-weight: 500; /* Noto Sans JP default weights */
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 8px; /* Slightly reduced margin */
}

.footer-col ul li a {
    color: #666; /* Matching provided image font color for links */
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-address-info {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

.footer-socials-placeholder { /* This was a placeholder for previous social links */
    margin-top: 20px;
}
.footer-socials-placeholder a {
    display: inline-block;
    margin-right: 15px;
    font-size: 24px;
    color: #888; /* Softer color for icons */
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-socials-placeholder a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px; /* Adjusted margin */
    padding-top: 15px;
    border-top: 1px solid #e0e0e0; /* Lighter border for flat design */
    color: #666; /* Matching provided image font color */
    font-size: 0.85em;
}

@media (max-width: 992px) { /* Adjust column width for tablets */
    .footer-col {
        max-width: 48%; /* Two columns per row */
    }
}

@media (max-width: 768px) {
    .footer-col {
        flex: 1 1 100%; /* Stack columns on small screens */
        text-align: left; /* Align text left as per original design for lists */
        max-width: 100%;
    }
    .footer-col h4 {
        text-align: left;
        border-bottom: 1px solid #CFCFCF;
        padding-bottom: 5px;
    }
    .footer-col ul {
        display: block; /* Stack list items vertically */
        text-align: left;
    }
    .footer-col ul li {
        margin-bottom: 8px;
    }
    .social-icons { /* Adjust for mobile layout */
        flex-wrap: wrap;
        gap: 15px;
    }
    .social-icon-link {
        font-size: 2.5em;
    }
}

























/* -------------------------------- */
/* ｴ?ﾜ･ｹ･ｿ･､･・ﾊﾀ隍ﾛ､ﾉ､ﾎ CSS ､?ﾞ､爍ﾋ */
/* -------------------------------- */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #eaeaea;
  position: relative;
}
.header-wrapper {
  max-width: 1200px;
  margin-left: 0 ;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img {
  width: 240px;
  height: auto;
padding:0 30px
}
.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li + li {
  margin-left: 24px;
}
.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.main-nav a:hover {
  color: #000;
}

/* -------------------------------- */
/* ･ﾏ･?ﾐ｡ｼ･ｬ｡ｼ･皈ﾋ･蝪ｼﾍﾑ･ｹ･ｿ･､･・*/
/* -------------------------------- */
.nav-toggle {
  display: none;
}
.hamburger-menu {
  display: none;         /* ･ﾇ･ﾕ･ｩ･・ﾈ､ﾇ､ﾏﾈ?ｽｼｨ */
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 28px;
  height: 24px;
}
.hamburger-menu span {
  display: block;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: 0.3s;
}

/* -------------------------------- */
/* 768px ｰﾊｲｼ､ﾇﾀﾚ､・ﾘ､ｨ */
/* -------------------------------- */
@media (max-width: 768px) {
  /* ･ﾊ･ﾓ､?｣､ｹ */
        
  .header-wrapper {
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .main-nav ul {
    flex-direction: column;
    padding: 16px;
  }
  .main-nav li + li {
    margin: 12px 0 0 0;
  }

  /* ･ﾏ･?ﾐ｡ｼ･ｬ｡ｼ､?ｽｼｨ */
  .hamburger-menu {
    display: flex;
  }
        
.hamburger-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 28px;
  height: 24px;
  gap: 5px;
  z-index: 1000;
}
        
        

.hamburger-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #000;
  transition: 0.3s ease;
}

.menu-toggle .hamburger,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  background-color: #000;  /* ､ﾏ､ﾃ､ｭ､熙ｷ､ｿｿｧ､ﾋ､ｹ､・*/
  height: 3px;
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle .hamburger {
  position: relative;
  width: 28px;
  height: 3px;
}
.menu-toggle .hamburger::before {
  content: '';
  top: -8px;
}
.menu-toggle .hamburger::after {
  content: '';
  top: 8px;
}

  /* ･ﾁ･ｧ･ﾃ･ｯ､ｬﾆ?､ﾃ､ｿ､鬣ﾊ･ﾓ､?ｽｼｨ */
  .nav-toggle:checked + .hamburger-menu + .main-nav {
    display: block;
  }
}

.footer {
    background-color: #f9f8f8;
    padding: 40px 20px;
    font-family: sans-serif;
    color: #333;
  }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* ｾ・ﾋ4･ｫ･鬣・*/
    gap: 24px;
  }

  .footer-column h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #5e4b51;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-column li {
    margin-bottom: 8px;
  }

  .footer-column a {
    color: #333;
    text-decoration: none;
    font-size:1.3rem;
  }

  .footer-column a:hover {
    text-decoration: underline;
  }

  .footer-column p {
    font-size:1.3rem;
    line-height: 1.6;
    margin: 0;
  }

  @media screen and (max-width: 767px) {
    .footer-inner {
      grid-template-columns: 1fr; /* ･ｹ･ﾞ･ﾛ､ﾇ､ﾏ1･ｫ･鬣・*/
    }

    .footer-column {
      margin-bottom: 32px;
    }

    .footer-column h4 {
      font-size: 1.5rem;
      padding-bottom: 5px;
      margin-bottom: 16px;
    }

    .footer-column a,
    .footer-column p {
      font-size:1.3rem;
      line-height: 1.7;
    }
  }

/* ----------------------------- */
/* kv
/* ----------------------------- */
.kv-wrapper{
  display: flex;
  width: 100%;
  margin: 78px 0 60px 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.kv-left-img-sp{
  display: none;
}

.kv-left-img img{
  height: 41.8vw;
  object-fit: cover;
}

.kv-left{
  /* position: relative; */
  width: 64.3%;
  /* padding-top: 40%;  */
}

.kv-r-top-img img{
        height: 20.9vw;
                object-fit: cover;
  width: 100%;
}

.kv-right{
  width: 35.7%;
}

.kv-r-bottom-img img{
        height: 20.9vw;
        object-fit: cover;
}

/* ----------------------------- */
/* section-Professional
/* ----------------------------- */
.section-wrapper{
  width: 100%;
  box-sizing: border-box;
}

.section-title{
  margin-bottom: 20px;
}

.Professional-left{
  width: 50%;
  padding: 5.6vw;
  background-image: url(../images/wp-fv/RSHO-Professional.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
  min-height: 700px;
}

.flex-content-professional{
  display: flex;
  align-items: center;
}

.Professional-right{
  width: 50%;
  padding: 5.6vw;
  box-sizing: border-box;
}

.section-text{
  margin-bottom: 40px;
}

.btn-a{
  display: inline-block;
  color: #fff;
  background-color: #19232d;
  border: 1px solid #19232d;
  padding: 15px 30px;
  border-radius: 50px;
  line-height: 1;
  transition: .3s;
}

.btn-a:hover{
  background-color: #ff4800;
  border-color: #ff4800;
  transition: .3s;
}


/* ----------------------------- */
/* section-performance
/* ----------------------------- */
.bg-full-image{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 8.4vw 13.9vw;
  width: 100%;
  box-sizing: border-box;
}

.Performance{
  background-image: url(../images/Hemp-MEds-performance.jpg);
}

.section-inner{
  max-width: 400px;
}

/* ----------------------------- */
/* section-article
/* ----------------------------- */
.article{
  margin: 60px auto;
  max-width: 1200px;
}

.article-list{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
}

.article-item{
  width: 30%;
  margin-bottom: 40px;
}

.article-img{
  position: relative;
  width:100%;
  padding-top:100%; 
  margin-bottom: 20px;
}

.article-img img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-categories {
  width: fit-content;
  font-size: 1.2rem;
  background-color: #000;
  padding: 5px;
}

.article-categories a{
  color: #fff;
}

.article-title{
  margin: 20px 0;
  color: #000;
  font-size: 2.2rem;
}

.article-date{
  border-top: 1px solid #666667;
  display: block;
  padding-top: 5px;
  color: #666667;
  }

.btn-b{
  display: block;
  width: fit-content;
  color: #19232d;
  background-color: transparent;
  border: 1px solid #19232d;
  padding: 15px 30px;
  border-radius: 50px;
  margin: 0 auto;
}

.btn-b:hover{
  color: #fff;
  background-color: #ff4800;
  border: 1px solid #ff4800;
  padding: 15px 30px;
  border-radius: 50px;
  transition: .3s;
}
/* ----------------------------- */
/* //section-article
/* ----------------------------- */



/* ----------------------------- */
/* section-Discover
/* ----------------------------- */
.Discover{
  background-image: url(../images/banner-website-hempmeds-discover-new-hempmeds.jpg);
}


/* ----------------------------- */
/* section-Howfar
/* ----------------------------- */
.Howfar{
  background-image: url(../images/featured-three.jpg);
}


/* ----------------------------- */
/* section-contact
/* ----------------------------- */
.flex-content-contact{
  display: flex;
}

.contact-left, .contact-right{
  width: 50%;
}

.contact-left{
background-color: #19232d;
padding: 100px 80px;
box-sizing: border-box;
}

.contact-right{
  background-image: url(../images/home-hm-newsletter-image-scaled.jpg);
  width: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-text{
  font-size: 28px;
  color: #fff;
  max-width: 480px;
  margin-bottom: 80px;
}

.btn-c{
  display: inline-block;
  color: #fff;
  background-color: transparent;
  border: 1px solid #fff;
  padding: 15px 30px;
  border-radius: 50px;
  line-height: 1;
  transition: .3s;
}

.btn-c:hover{
  background-color: #37419b;
  border-color: #37419b;
  transition: .3s;
}


/* ----------------------------- */
/* sns
/* ----------------------------- */
.social-media-container{
  text-align: center;
  padding: 20px 0;
}

.social-media-container p{
  font-size: 2.8rem;
  margin-top: 60px;
        margin-bottom: 20px
}

.social-media-list{
        max-width: 200px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 auto;
        margin-bottom: 60px;
}

.social-media-item img{
  width: auto;
  height: 40px;
  margin-bottom: 10px;
}

.social-media-item{
        text-align: center;
  color: #000;
  font-size: 18px;
  line-height: 1;
  font-weight: 500
}

.social-media-item:hover {
  color: #ff4800;
  transition: .3s;
}.social-media-item:hover>img{
  transform: scale(1.1);
  transition: .3s;
}




/* ----------------------------- */
/* professional
/* ----------------------------- */
.professional-1-bg{
  background-image: url(../images/wp-fv/hemp-oil-rsho-professional-1.jpeg);
  }
  
.professional-2-bg{
    background-image: url(../images/wp-fv/real-scientific-hemp-oil-1.jpeg);
  }
  
.professional-2{
/*
    background-color: #b6d2d7;
*/
    background-color: #ffcbbb;;
  }
  
.professional-3{
    background-image: url(../images/professional-3-bg.jpeg);
  }
  
.professional-3-text{
    color: #fff;
  }
  
.content-inner{
    max-width: 400px;
  }


/* ----------------------------- */
/* performance
/* ----------------------------- */
.performance-1-bg{
  background-image: url(../images/wp-fv/rsho-performance-1.jpeg);
}

.performance-2{
  background-image: url(../images/wp-fv/rsho-performance-2.jpeg);
}

.performance-1{
  background-color: #b6d2d7;
}

.Performance-1-text{
  margin-bottom: 20px;
}

.Performance-1-text:last-child{
  margin-bottom: 0;
}

.performance-2 p{
  color: #19232D;
}



@media screen and (max-width:1000px){
/* .bg1{
  background-image: url(../images/main-kv01.png);
}

.bg2{
  background-image: url(../images/main-kv02.jpg);
}

.bg3{
  background-image: url(../images/main-kv03.jpg);
} */
/* ----------------------------- */
/* kv
/* ----------------------------- */
  .kv-wrapper{
    display: block;
  }

  .kv-left-img-sp{
    display: block;
  }

  .kv-left-img{
    display: none;
  }

  /* .kv-left-img-sp img{
    height: 0;
  } */

  .kv-left{
    width: 100%;
    /* padding-top: 62.5%; */
  }

  .kv-right{
    display: flex;
    width: 100%;
    max-width: 1000px;
          position: relative;
  }

  .kv-right a{
    position: relative;
    width: 100%;
  }

  .kv-r-top-img img{
          height: 100%;
          position: absolute;
  }
        
        .kv-r-bottom-img img{
                height: 100%;
        }

/* ----------------------------- */
/* section-Contact
/* ----------------------------- */
.contact-left{
  padding: 40px;
}
/* ----------------------------- */
/* //section-Contact
/* ----------------------------- */
}



@media screen and (max-width:780px){
/* ----------------------------- */
/* section-Professional
/* ----------------------------- */
  .flex-content-professional{
    display: block;
  }

  .Professional-right{
    width: 100%;
    padding: 6.7vw;
    box-sizing: border-box;
  }

  .Professional-left{
    position: relative;
    width: 100%;
    padding-top: 100%;
    min-height: 0;
  }

  .Professional-left-img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

/* ----------------------------- */
/* section-Contact
/* ----------------------------- */
.flex-content-contact{
  display: block;
}

  .contact-right{
    display: none;
  }

  .contact-left{
    width: 100%;
  }
  
}


@media screen and (max-width:650px){
  .article-list{
    display: block;
  }

  .article-item{
    width: 100%;
  }
}


@media screen and (max-width:600px){
/* ----------------------------- */
/* kv
/* ----------------------------- */
.kv-right{
  display: block;
}

.kv-r-top-img{
  position: static;
  width: 100%;
  max-width: 600px;
}
        
        .kv-r-top-img img{
                position: static;
        }

.bg-full-image{
  padding: 6.7vw;
}
/* ----------------------------- */
/* //kv
/* ----------------------------- */


/* ----------------------------- */
/* kv
/* ----------------------------- */
.article-d-title{
  font-size: 3.6rem;
}

.article-d-sub-title{
  font-size: 2.8rem;
}

.topic-title{
  font-size: 2.2rem;
}
        
.social-media-container p{
  font-size: 2.2rem;
        margin-top: 40px;
        margin-bottom: 0;
}
        
}

















        