/* Conceptページ専用スタイル */

/* ページ全体の背景 */
.concept-page {
    background-image: url('../img/background-pattern.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.concept-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(250, 243, 232, 0.85);
    z-index: 0;
}

.concept-page>* {
    position: relative;
    z-index: 1;
}

/* ページヒーロー */
.page-hero-concept {
    background: linear-gradient(135deg, #F5E5A8 0%, #FBD864 100%);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.concept-flags-decoration {
    position: absolute;
    top: -20px;
    left: 50px;
    width: 350px;
    height: auto;
    transform: rotate(-15deg);
    opacity: 0.9;
}

.page-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title-concept {
    font-family: 'Borel', cursive;
    font-size: 56px;
    color: #5C4A3C;
    margin: 0;
    font-weight: normal;
    letter-spacing: 3px;
    line-height: 1.4;
}

/* コンテンツセクション */
.content-section {
    padding: 100px 20px;
}

.content-section.alt {
    background-color: rgba(255, 255, 255, 0.3);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 60px;
    align-items: center;
}

.content-container.reverse {
    grid-template-columns: 55% 45%;
}

.content-text {
    padding: 30px;
}

.section-title {
    font-family: 'Borel', cursive;
    font-size: 28px;
    color: white;
    margin-bottom: 30px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5),
        1px 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.8;
}

.section-title.centered {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.section-text {
    font-size: 16px;
    color: #5C4A3C;
    line-height: 2.2;
    margin-bottom: 20px;
    text-align: justify;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px 20px;
    border-radius: 10px;
}

.content-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.content-image img:hover {
    transform: scale(1.05);
}

/* セクション3（テキストのみ） */
.content-container-single {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-text-wide {
    max-width: 900px;
    margin: 0 auto;
}

/* TOPへ戻るセクション */
.back-to-top-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    gap: 0;
}

.back-button {
    display: inline-block;
    background-color: #FBD864;
    padding: 12px 50px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.back-button span {
    font-family: 'Borel', cursive;
    font-size: 22px;
    color: #5C4A3C;
    letter-spacing: 2px;
}

.airplane-icon-small {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin-left: -25px;
    filter: brightness(0.6) contrast(1.2);
    animation: fly 3s ease-in-out infinite;
}

/* 既存のコード... */

.view-more-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
}

/* ↓↓↓ ここから下に追加 ↓↓↓ */

/* コンセプトセクション - ページタイトル */
.concept-hero {
    text-align: center;
    padding: 60px 20px 40px;
}

.concept-page-title {
    font-family: 'Borel', cursive;
    font-size: 40px;
    color: #5C4A3C;
    font-weight: bold;
    letter-spacing: 2px;
}

/* コンテンツレイアウト */
.concept-content {
    padding: 60px 20px;
}

.concept-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.concept-image {
    flex: 0 0 400px;
}

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

.concept-text-box {
    flex: 1;
}

.concept-heading {
    font-size: 28px;
    color: #5C4A3C;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

.concept-text {
    font-size: 16px;
    line-height: 2;
    color: #5C4A3C;
    margin-bottom: 20px;
}

/* ヘッダーのリンクスタイル */
.site-title a {
    color: #5C4A3C;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.site-title a:hover {
    opacity: 0.7;
}

/* 中央配置コンテンツ */
.concept-content-center {
    padding: 80px 20px;
    text-align: center;
}

.concept-center-box {
    max-width: 1270px;
    /* 800px → 1000px に変更 */
    margin: 0 auto;
    padding: 0 40px;
    /* 左右に余白を追加 */
}

.concept-heading-center {
    font-size: 28px;
    color: #5C4A3C;
    margin-bottom: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

.concept-text-center {
    font-size: 16px;
    line-height: 2;
    color: #5C4A3C;
    text-align: left;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-title-concept {
        font-size: 32px;
    }

    .concept-flags-decoration {
        width: 200px;
        left: 20px;
    }

    .content-container,
    .content-container.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 22px;
    }

    .section-title.centered {
        font-size: 24px;
    }

    .section-text {
        font-size: 14px;
        line-height: 1.9;
    }

    .content-text {
        padding: 15px;
    }
}

/* Page Topボタン */
.page-top-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin-top: 0;
    margin-bottom: 70px;
}

.page-top-button {
    display: inline-block;
    background-color: #FBD864;
    padding: 12px 60px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.page-top-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.page-top-button span {
    font-family: 'Borel', cursive;
    font-size: 22px;
    color: #5C4A3C;
    letter-spacing: 2px;
}

.page-top-wrapper .airplane-icon {
    width: 120px;
    height: auto;
    object-fit: contain;
    margin-left: -30px;
    filter: brightness(0.6) contrast(1.2);
    z-index: 2;
    animation: fly 3s ease-in-out infinite;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .recipe-header {
        position: static;
        margin-bottom: 20px;
    }

    .recipe-details {
        grid-template-columns: 1fr;
    }
}

.wave-divider {
    width: 100%;
    height: 80px;
    /* ← 高さがないと見えません */
    overflow: hidden;
    margin: 60px 0;
    /* レシピ間に余白 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.wave-svg {
    width: 130%;
    /* 動きを分かりやすくするため幅を広めに */
    height: 80px;
    animation: waveMove 4s ease-in-out infinite;
    opacity: 0;
    animation: fadeIn 1.2s ease forwards, waveMove 4s ease-in-out infinite;
}

.wave-svg path {
    stroke: white;
    /* 白い手書き風線 */
    stroke-width: 5;
    /* 少し太めで見えやすい */
    fill: none;
    stroke-linecap: round;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.15));
    /* やさしい影 */
}

/* フェードイン */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 左右にふんわり揺れるアニメーション */
@keyframes waveMove {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-50px);
    }

    100% {
        transform: translateX(0);
    }
}


/* フッター */
.footer {
    background: linear-gradient(180deg, #F5E5A8 0%, #FBD864 100%);
    padding: 60px 20px 30px;
    border-top: 3px solid #7DB88E;
}

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

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(92, 74, 60, 0.2);
    margin-bottom: 30px;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    font-family: 'Borel', cursive;
    font-size: 48px;
    color: #5C4A3C;
    margin-bottom: 10px;
    font-weight: normal;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 16px;
    color: #5C4A3C;
    font-style: italic;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-heading {
    font-family: 'Borel', cursive;
    font-size: 20px;
    color: #5C4A3C;
    margin-bottom: 5px;
    font-weight: normal;
}

.footer-email {
    font-size: 14px;
    color: #5C4A3C;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: #7DB88E;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-link {
    display: block;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    padding: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.social-link:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-notice {
    font-size: 12px;
    color: #5C4A3C;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-copyright {
    font-size: 13px;
    color: #5C4A3C;
    font-weight: bold;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        align-items: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-logo {
        font-size: 36px;
    }

    .social-icons {
        justify-content: center;
    }
}