:root {
    --primary-color: #005f73;
    --secondary-color: #f8f9fa;
    --accent-color: #94d2bd;
    --text-color: #343a40;
    --line-green: #06C755;
    --heading-font: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    --body-font: 'Helvetica Neue', 'Arial', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #005f73 0%, #0a9396 100%);
    --gradient-accent: linear-gradient(135deg, #94d2bd 0%, #e9d8a6 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0 2rem;
}

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

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

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

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

header nav ul li {
    margin-left: 2.5rem;
}

header nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s ease-in-out;
}

header nav a:hover,
header nav a.active {
    color: var(--accent-color);
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://www.nutrilite.jp/assets/images/step3_unit2.jpg') no-repeat center center/cover;
    color: #fff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 70px;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.7;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* 影を強調して文字の視認性を向上 */
    color: #ffffff; /* 純白の文字色を明示的に指定 */
    max-width: 900px;
    line-height: 1.2; /* 行間を調整して読みやすさを向上 */
    padding: 10px 20px; /* 文字周りに余白を追加 */
    background-color: rgba(0, 0, 0, 0.3); /* 半透明の背景を追加して文字を際立たせる */
    border-radius: 10px; /* 背景の角を丸くしてデザインを統一 */
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid var(--accent-color);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.btn:hover::before {
    transform: scaleX(1);
}

.btn:hover {
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.hero .btn:hover {
    color: #fff;
    border-color: #fff;
}

.hero .btn::before {
    background: rgba(255, 255, 255, 0.2);
}

.line-btn {
    background-color: var(--line-green);
    border-color: var(--line-green);
    color: #fff;
}

.line-btn::before {
    background: #fff;
}

.line-btn:hover {
    color: var(--line-green);
}

.line-btn i {
    margin-right: 8px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-20px);
    }
    60% {
        transform: translateX(-50%) translateY(-10px);
    }
}

main {
    padding: 2rem 0;
}

section {
    padding: 5rem 0;
}

h2 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

.two-cols { 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
}

.three-cols { 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
}

.card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid #dee2e6;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
}

.card > *:last-child {
    margin-top: auto;
}

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

.card h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.card h3 i {
    margin-right: 0.8rem;
    color: var(--accent-color);
}

.feature-item {
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
    transition: all 0.3s;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-item:hover::before {
    opacity: 0.1;
}

.feature-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    min-height: 3.5em;
    position: relative;
    z-index: 1;
}

.feature-item p {
    position: relative;
    z-index: 1;
}

.value-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.value-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 25px;
    text-align: center;
}

.catalog-cta {
    text-align: center;
    background: var(--gradient-primary);
    color: #fff;
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.catalog-cta::before {
    display: none;
}

.catalog-cta h3 {
    color: #fff;
    justify-content: center;
}

.catalog-cta h3 i {
    color: #fff;
}

.catalog-cta .btn {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.catalog-cta .btn::before {
    background: var(--gradient-accent);
}

.product-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--primary-color);
    padding: 8px 20px;
    margin: 0 5px 10px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--gradient-accent);
    color: var(--primary-color);
}

.product-category {
    margin-bottom: 0;
    text-align: center;
    overflow: hidden;
}

.product-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 10px;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 95, 115, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-category:hover .product-overlay {
    opacity: 1;
}

.product-category:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay .btn {
    background: #fff;
    color: var(--primary-color);
    border-color: #fff;
}

.product-category h3 {
    justify-content: center;
    font-size: 1.6rem;
}

/* Company Videos Section */
#company-videos .video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-container-wrapper {
    background: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.video-container-wrapper:hover {
    transform: translateY(-5px);
}

.video-container-wrapper h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 10px;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Blog Section */
.blog-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--secondary-color);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.blog-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.blog-image:hover img {
    transform: scale(1.02);
}

.blog-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.blog-content p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

li {
    margin-bottom: 0.75rem;
}

.guarantee-card {
    background: var(--gradient-primary);
    color: #fff;
    text-align: center;
}

.guarantee-card::before {
    display: none;
}

.guarantee-card h3, 
.guarantee-card i {
    color: #fff;
}

.contact-prompt {
    text-align: center;
    font-weight: 600;
    font-size: 1.25rem;
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

footer {
    background: var(--dark-color);
    color: #adb5bd;
    text-align: center;
    padding: 3rem 0;
}

footer p {
    font-size: 0.9rem;
}

footer p:first-child {
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Responsive */
@media(max-width: 992px) {
    #how-to-buy .grid {
        grid-template-columns: 1fr;
    }
    
    .blog-container {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 0.5rem;
    }

    header nav {
        width: 100%;
        overflow-x: auto;
        display: none;
    }
    
    header nav.active {
        display: block;
    }

    header nav ul {
        padding: 0.5rem 0;
        justify-content: flex-start;
        min-width: 600px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero {
    margin-top: 130px;
    height: auto; /* ★変更点1: 高さを固定から自動に変更 */
    min-height: calc(100vh - 130px); /* ★追加: ヘッダーを除いた画面の高さを最低限確保 */
    padding: 3rem 0; /* ★追加: 上下の余白を追加してバランスを調整 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .hero h2 {
    font-size: 1.9rem; /* ★変更点2: 文字サイズを少し小さく調整 */
    padding: 8px 15px;
}
    
    .hero p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2.2rem;
    }
    
    .feature-item h3 {
        min-height: auto;
    }
    
    .product-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
}

/* フッターのスタイル */
footer {
    background: var(--dark-color);
    color: #adb5bd;
    padding: 3rem 0 1rem;
}

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

.footer-logo img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.footer-links h3, .footer-legal h3, .footer-contact h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

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

.footer-links li, .footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-links a, .footer-legal a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #adb5bd;
    border-radius: 50%;
    transition: all 0.3s;
}

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

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

.footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-bottom p:first-child {
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.footer-contact p:nth-child(3) {
    color: #ffffff; /* お好きな色に変更してください */
    font-weight: bold; /* 太字にする場合 */
}

/* ============================================ */
/* Instagram Section Styles */
/* ============================================ */
#instagram {
    background-color: var(--secondary-color); /* 背景色を薄いグレーにして区別 */
}

.instagram-feed {
    display: grid;
    /* PCでは4列、画面サイズに応じて自動で列数を調整 */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.instagram-post {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    aspect-ratio: 1 / 1; /* 投稿を正方形に保つ */
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像が歪まないように調整 */
    transition: transform 0.4s ease;
}

/* マウスを乗せると画像が少し拡大するエフェクト */
.instagram-post:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0)); /* 下から上へのグラデーション */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* いいねとコメントを下に配置 */
    padding: 1rem;
    gap: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* マウスを乗せるとオーバーレイが表示される */
.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
}

.instagram-follow {
    text-align: center;
}

.instagram-follow .btn i {
    margin-right: 8px;
}

/* ============================================ */
/* Company Videos Section (チャンネルリンク仕様) */
/* ============================================ */

/* グリッドコンテナのスタイル */
.channel-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    /* margin-bottom: 3rem; これはHTMLのstyle属性で直接指定したので不要です */
}

/* 各チャンネルカードのスタイル */
.channel-link-card {
    background: var(--light-color); /* 背景色 */
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: all 0.3s ease;
    display: flex; /* flexboxでコンテンツを配置 */
    flex-direction: column; /* 縦方向に並べる */
    justify-content: space-between; /* コンテンツとボタンを上下に配置 */
    border: 1px solid #dee2e6;
}

.channel-link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.channel-link-card h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center; /* 中央寄せ */
}

.channel-link-card h3 i {
    margin-right: 0.8rem;
    color: #ff0000; /* YouTubeのアイコンカラー */
}

.channel-link-card p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    flex-grow: 1; /* 内容に応じて高さを柔軟にする */
}

/* ボタンのスタイルは既存の.btnを使用するため、ここでは追加で設定は不要 */
.channel-link-card .btn {
    margin-top: auto; /* ボタンをカードの下部に配置 */
}

/* モバイル対応 */
@media(max-width: 768px) {
    .channel-links-grid {
        grid-template-columns: 1fr; /* モバイルでは1列に */
    }
    .channel-link-card {
        padding: 2rem;
    }
    .channel-link-card h3 {
        font-size: 1.4rem;
    }
    .channel-link-card p {
        font-size: 0.95rem;
    }
}

/* ============================================ */
/* カード内のボタンをまとめるスタイル */
/* ============================================ */
.card-button-group {
    display: flex;
    flex-wrap: wrap; /* 画面幅が狭い時にボタンが折り返すようにする */
    gap: 0.75rem;    /* ボタン間の隙間を設ける */
    margin-top: 1.5rem; /* 上のリストとの間に余白を設ける */
}

/* card-button-group内のボタンのスタイル調整 */
.card-button-group .btn {
    margin-top: 0; /* .btnに元々ついている上マージンをリセット */
    flex-grow: 1;  /* ボタンが横に均等に広がるようにする（任意）*/
}

.card-button-group .btn i {
    margin-right: 8px; /* アイコンとテキストの間の余白 */
}

/* ============================================ */
/* 「Amwayについて」セクションのカードを強調 */
/* ============================================ */

/* セクション内のカード全体に適用 */
#about-amway .card {
    background: var(--gradient-primary); /* 青系のグラデーション背景を適用 */
    color: #ffffff; /* 文字色を白に変更 */
    border: none; /* 既存の枠線を削除 */
    box-shadow: 0 10px 30px rgba(0, 95, 115, 0.3); /* 影を少し濃くする */
}

/* カード内の見出し(h3)の文字色 */
#about-amway .card h3 {
    color: #ffffff;
}

/* 「6つの価値」のリストアイコンの色 */
#about-amway .card .value-list i {
    color: var(--accent-color); /* アクセントカラーで見やすく */
}

/* 「確かな実績」のブランド名(strongタグ)の色 */
#about-amway .card ul strong {
    color: var(--accent-color); /* アクセントカラーでブランド名を強調 */
    font-weight: 700;
}

/* カード内のボタンのスタイルを調整 */
#about-amway .card .btn {
    background-color: #ffffff; /* ボタンの背景を白に */
    color: var(--primary-color); /* ボタンの文字色をテーマカラーに */
    border-color: #ffffff;
}

/* ボタンのホバーエフェクトを調整 */
#about-amway .card .btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

/* カード上部のアクセントラインは不要なので非表示に */
#about-amway .card::before {
    display: none;
}

/* ============================================ */
/* ショッピングサイトへのCTAカードのスタイル */
/* ============================================ */
.shopping-site-cta {
    text-align: center;
    /* カタログCTAとは別のアクセントカラーグラデーションを使用 */
    background: var(--gradient-accent);
    color: var(--primary-color);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin: 3rem 0; /* 上下のカードとの間に余白を設ける */
    border: none;
}

.shopping-site-cta::before {
    display: none; /* .cardのデフォルトの線は非表示に */
}

.shopping-site-cta h3 {
    color: var(--primary-color);
    justify-content: center;
}

.shopping-site-cta h3 i {
    color: var(--primary-color);
}

.shopping-site-cta .btn {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ホバー時のスタイル */
.shopping-site-cta .btn:hover {
    background: #fff;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ============================================ */
/* テキスト内リンクのスタイル */
/* ============================================ */
.text-link {
    color: var(--primary-color); /* サイトのテーマカラーを使用 */
    font-weight: 600;            /* 少し太字にする */
    text-decoration: underline;  /* 下線をつける */
    text-decoration-thickness: 1px; /* 下線を少し細めに */
    text-underline-offset: 3px;     /* テキストと下線の間隔を調整 */
    transition: color 0.3s ease;    /* 色の変化を滑らかに */
}

.text-link:hover {
    color: var(--accent-color); /* マウスを乗せたらアクセントカラーに変化 */
}

/* ============================================ */
/* 連絡先情報カード内のテキストリンクのスタイル */
/* ============================================ */
.contact-details p a {
    color: inherit; /* 親要素の文字色(黒)を継承する */
    text-decoration: none; /* 下線をなくす */
    transition: color 0.3s ease;
}

/* マウスを乗せた時に色を変えて、クリックできることを示す */
.contact-details p a:hover {
    color: var(--primary-color); /* テーマカラーに変化 */
    text-decoration: underline; /* マウスホバー時のみ下線を表示 */
}

/* ============================================ */
/* セカンダリボタンのスタイル */
/* ============================================ */
.btn-secondary {
    background: transparent; /* 背景を透明に */
    color: var(--primary-color); /* 文字色をテーマカラーに */
    border: 2px solid var(--accent-color); /* 枠線をアクセントカラーに */
}

/* セカンダリボタンのホバーエフェクト */
.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

/* ホバー時の::before擬似要素は不要なのでリセット */
.btn-secondary::before {
    display: none;
}


/* ============================================ */
/* モバイルメニューの横スクロール示唆アニメーション */
/* ============================================ */

/* アニメーション本体の定義 (左に30px動いて戻る) */
@keyframes peek-a-boo-scroll {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-30px);
  }
  100% {
    transform: translateX(0);
  }
}

/* アニメーションを適用するためのクラス */
.animate-scroll-indicator {
  /* peek-a-boo-scrollという名前のアニメーションを適用 */
  animation-name: peek-a-boo-scroll;
  /* アニメーションの時間 */
  animation-duration: 0.8s;
  /* メニューが開いてから少し遅れて開始 */
  animation-delay: 0.3s;
  /* アニメーションの動き方（滑らかに） */
  animation-timing-function: ease-in-out;
}

/* ================================================= */
/* モバイルメニュー 横スクロール示唆テキストのスタイル */
/* ================================================= */

/* テキストをフェードイン・アウトさせるアニメーション */
@keyframes fade-in-out {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* is-scrollableクラスが付いたnav要素にテキストを追加 */
header nav.is-scrollable::after {
  content: 'スワイプできます →'; /* 表示したいテキスト */
  position: absolute;
  top: 50%;
  right: 10px; /* 右端からの位置 */
  transform: translateY(-50%);
  background-color: rgba(0, 95, 115, 0.8); /* 背景色 */
  color: #fff; /* 文字色 */
  font-size: 12px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 5px;
  pointer-events: none; /* テキストの下のメニューを操作できるようにする */
  
  /* アニメーションを適用して、2回点滅するように見せる */
  animation-name: fade-in-out;
  animation-duration: 1.5s; /* 1.5秒かけてアニメーション */
  animation-iteration-count: 2; /* 2回繰り返す */
  animation-timing-function: ease-in-out;
}

/* ================================== */
/* フッターのLINE連絡先リンクを白くする */
/* ================================== */
.line-contact-link {
  color: #ffffff; /* 文字色を白に指定 */
  font-weight: 600; /* 少し太字にして目立たせる */
}

/* マウスを乗せた時の色はアクセントカラーのままにする */
.line-contact-link:hover {
  color: var(--accent-color);
}