/* ベース設定 */
:root {
    --color-deep-green: #1A4D2E;
    --color-cream: #F7F3E9;
    --color-soft-brown: #D0B49F;
    --color-indigo: #264E70;
    --color-vermilion: #FF6B35;
    --font-serif-jp: 'Noto Serif JP', serif;
    --font-sans-jp: 'Noto Sans JP', sans-serif;
    --font-serif-en: 'Playfair Display', serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans-jp);
    color: #333;
    line-height: 1.6;
    background-color: var(--color-cream);
}

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

h1, h2, h3 {
    font-family: var(--font-serif-jp);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    position: relative;
    color: var(--color-deep-green);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--color-vermilion);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans-jp);
}

/* ヘッダーセクション */
.hero {
    height: 100vh;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 77, 46, 0.7);
}

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    transition: 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 1px;
    background-color: white;
    transition: 0.3s;
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 80px;
}

.jp-title {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.en-title {
    font-family: var(--font-serif-en);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-top: 20px;
    letter-spacing: 0.1em;
}

/* ビジョンセクション */
.vision-section {
    padding: 100px 0;
    background-color: white;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.vision-highlight {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-deep-green);
    margin-bottom: 30px;
    line-height: 1.8;
}

.vision-text {
    font-size: 1.1rem;
    line-height: 2;
}

/* 想いセクション */
.philosophy-section {
    padding: 100px 0;
    background-color: var(--color-cream);
    position: relative;
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('texture-bg.png');
    background-size: 200px;
    opacity: 0.07;
    pointer-events: none;
}

.philosophy-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.philosophy-image {
    flex: 1;
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.philosophy-content {
    flex: 1;
}

.philosophy-content .section-title {
    text-align: left;
}

.philosophy-content .section-title::after {
    margin-left: 0;
}

.philosophy-highlight {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-deep-green);
    margin-bottom: 20px;
    line-height: 1.8;
}

.philosophy-text {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 15px;
}

/* 取り組みセクション */
.approach-section {
    padding: 100px 0;
    background-color: white;
}

.approach-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.approach-card {
    flex: 1;
    background-color: var(--color-cream);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-vermilion);
    text-align: center;
}

.approach-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
    color: var(--color-deep-green);
}

.approach-card p {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* 製品紹介セクション */
.products-section {
    padding: 100px 0;
    background-color: var(--color-cream);
}

.product-container {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.product-image {
    flex: 1;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-content {
    flex: 1;
}

.product-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-deep-green);
}

.product-highlight {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-indigo);
}

.product-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-btn {
    background-color: var(--color-deep-green);
    color: white;
}

.product-btn:hover {
    background-color: #133a23;
}

.coming-soon-container {
    display: flex;
    gap: 60px;
    align-items: center;
    background-color: white;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.07);
}

.coming-soon-content {
    flex: 1.2;
}

.coming-soon-image {
    flex: 0.8;
}

.coming-soon-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.coming-soon-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-deep-green);
    display: flex;
    align-items: center;
    gap: 15px;
}

.coming-soon-badge {
    background-color: var(--color-vermilion);
    color: white;
    font-size: 0.9rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: var(--font-sans-jp);
    font-weight: 400;
}

.coming-soon-highlight {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--color-indigo);
}

.coming-soon-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.coming-soon-notify {
    display: flex;
    gap: 10px;
}

.notify-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-family: var(--font-sans-jp);
    font-size: 0.9rem;
}

.notify-btn {
    background-color: var(--color-vermilion);
    color: white;
    white-space: nowrap;
}

.notify-btn:hover {
    background-color: #e55a24;
}

/* メディアセクション */
.media-section {
    padding: 100px 0;
    background-color: white;
}

.media-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.media-card {
    flex: 1;
    padding: 40px;
    background-color: var(--color-cream);
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.media-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-deep-green);
}

.media-card p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.media-btn {
    background-color: var(--color-indigo);
    color: white;
}

.media-btn:hover {
    background-color: #1d3c57;
}

/* Notta公式アンバサダーセクション */
.ambassador-section {
    padding: 100px 0;
    background-color: var(--color-cream);
}

.ambassador-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.ambassador-content {
    flex: 1;
}

.ambassador-content .section-title {
    text-align: left;
}

.ambassador-content .section-title::after {
    margin-left: 0;
}

.ambassador-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.ambassador-image {
    flex: 1;
}

.ambassador-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* お問い合わせセクション */
.contact-section {
    padding: 100px 0;
    background-color: white;
}

.contact-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-sans-jp);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: var(--color-deep-green);
    color: white;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

.submit-btn:hover {
    background-color: #133a23;
}

/* フッター */
.footer {
    background-color: var(--color-deep-green);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-title {
    line-height: 1.4;
}

.jp-footer {
    font-family: var(--font-serif-jp);
    font-size: 1.2rem;
}

.en-footer {
    font-family: var(--font-serif-en);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: var(--color-vermilion);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .philosophy-container, .product-container, .coming-soon-container, .ambassador-container {
        flex-direction: column;
    }
    
    .philosophy-content, .ambassador-content {
        order: -1;
    }
    
    .philosophy-content .section-title, .ambassador-content .section-title {
        text-align: center;
    }
    
    .philosophy-content .section-title::after, .ambassador-content .section-title::after {
        margin: 15px auto 0;
    }
    
    .approach-cards, .media-grid {
        flex-direction: column;
    }
    
    .jp-title {
        font-size: 2.5rem;
    }
    
    .en-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .vision-highlight, .philosophy-highlight {
        font-size: 1.2rem;
    }
    
    .vision-text, .philosophy-text, .approach-card p, .product-description, .coming-soon-description {
        font-size: 0.95rem;
    }
    
    .product-title, .coming-soon-title {
        font-size: 1.5rem;
    }
    
    .coming-soon-notify {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.ambassador-content p:last-of-type {
    margin-bottom: 30px; /* ボタン前の余白を増やす */
}

.ambassador-content .media-btn {
    margin-top: 10px; /* ボタン自体の上部にも少し余白を追加 */
}
/* メールリンク用スタイル */
.contact-button-container {
    text-align: center;
    margin-top: 30px;
}

.contact-button-container .submit-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    background-color: var(--color-deep-green);
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-button-container .submit-btn:hover {
    background-color: #133a23;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
/* メールリンク用スタイル */
.contact-button-container {
    text-align: center;
    margin-top: 30px;
}

.contact-button-container .submit-btn {
    padding: 12px 24px;
    font-size: 1rem;
    background-color: var(--color-deep-green);
    color: white;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: 30px;
}

.contact-button-container .submit-btn:hover {
    background-color: #133a23;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-button-container .submit-btn {
    display: inline-block;
    width: auto;
    max-width: 250px;
}
.hero-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
.hero-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    word-break: keep-all; /* 単語の途中での改行を防ぐ */
    overflow-wrap: break-word; /* 長い単語は必要に応じて折り返す */
}
@media (max-width: 768px) {
    .hero-text {
        font-size: 0.9rem; /* 小さい画面では文字サイズを少し小さく */
        padding: 0 15px; /* 余白を追加 */
    }
}
.contact-button-container {
    text-align: center;
    margin: 30px auto;
    max-width: 300px; /* ボタンの最大幅を制限 */
}
.coming-soon-title {
    white-space: nowrap; /* タイトルを改行させない */
}

/* もしくは */
.coming-soon-title {
    word-break: keep-all; /* 単語の途中での改行を防ぐ */
}
/* PC表示ではタイトルを改行させない */
.coming-soon-title {
    white-space: nowrap;
}

/* モバイル表示では適切な場所で改行させる */
@media (max-width: 576px) {
    .coming-soon-title {
        font-size: 1.4rem; /* 文字サイズを少し小さく */
        white-space: normal; /* 通常の改行動作に戻す */
        word-break: keep-all; /* 単語の途中での改行を防ぐ */
    }
    
    /* Coming Soonバッジを調整 */
    .coming-soon-badge {
        display: inline-block;
        margin-top: 5px;
    }
}
.lang-switch {
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 5px;
    }
    
    .lang-switch {
        margin-top: 10px;
    }
}
/* ヘッダーサイズの調整 */
.hero {
    height: 80vh; /* 100vhから縮小 */
}

.hero-content {
    padding-top: 60px; /* パディングを減らす */
}

.jp-title {
    font-size: 3.2rem; /* わずかに小さく */
    margin-bottom: 5px; /* タイトル間のスペースを減らす */
}

.en-title {
    font-size: 1.8rem; /* わずかに小さく */
    margin-bottom: 20px; /* タグライン前のスペースを減らす */
}

.hero-text {
    font-size: 1.1rem; /* わずかに小さいテキスト */
    line-height: 1.7; /* 行間を詰める */
}

/* 言語切り替えリンクのスタイル */
.lang-switch {
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* モバイル対応調整 */
@media (max-width: 768px) {
    .hero {
        height: auto; /* モバイルでは高さを自動調整 */
        min-height: 70vh; /* 最低限の高さを確保 */
    }
    
    .jp-title {
        font-size: 2.5rem; /* モバイルではさらに小さく */
    }
    
    .en-title {
        font-size: 1.5rem; /* モバイルではさらに小さく */
    }
}
/* モバイルでのヘッダーナビゲーション調整 */
@media (max-width: 768px) {
    nav {
        background-color: rgba(26, 77, 46, 0.8); /* 透明度のある背景色を追加 */
        padding: 10px 0;
        position: relative;
        z-index: 10; /* テキストより前面に表示 */
    }
    
    .nav-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 15px; /* ナビゲーションとヘッダーテキストの間に余白を追加 */
    }
    
    .nav-links li {
        margin: 5px 10px;
    }
    
    .hero-content {
        padding-top: 80px; /* ナビゲーションの下に十分なスペースを確保 */
    }
    
    /* 言語切り替えボタンのスタイル調整 */
    .lang-switch {
        display: inline-block;
        margin-top: 10px;
    }
}
/* 薬草オンライン講座セクションのモバイル調整 */
@media (max-width: 768px) {
    .coming-soon-container {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .coming-soon-content {
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .coming-soon-image {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .coming-soon-notify {
        width: 100%;
        padding: 0 20px 20px;
        box-sizing: border-box;
    }
    
    .notify-input {
        width: 100%;
        margin-bottom: 10px;
        box-sizing: border-box;
    }
    
    .coming-soon-notify form {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
}