@charset "UTF-8";

/* ============================================
   セイモリファーム - スタイルシート
   石垣島のパイナップル農園
   カラーテーマ: ナチュラル木目調
============================================ */

/* Variables - 木目調のナチュラルカラースキーム */
:root {
    --color-primary: #8D6E63;
    /* ナチュラルブラウン */
    --color-primary-light: #BCAAA4;
    /* 明るいブラウン */
    --color-primary-dark: #5D4037;
    /* 濃いブラウン */
    --color-sea: #8BC34A;
    /* パイナップルの葉のグリーン */
    --color-sea-light: #AED581;
    /* 明るいグリーン */
    --color-sea-dark: #689F38;
    /* 深いグリーン */
    --color-accent: #FF7043;
    /* 南国のオレンジ */
    --color-accent-light: #FF8A65;
    --color-accent-hover: #E64A19;
    --color-yellow: #FFD54F;
    /* パイナップルの黄色 */
    --color-green: #66BB6A;
    /* 自然の緑 */
    --color-text: #3E2723;
    /* ダークブラウン */
    --color-text-light: #6D4C41;
    --color-bg: #FAF8F5;
    /* オフホワイト（木目を引き立てる） */
    --color-white: #FFFFFF;
    --color-wood: #D7CCC8;
    /* 木目のベースカラー */

    --font-heading: 'Zen Maru Gothic', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    --shadow-card: 0 4px 15px rgba(93, 64, 55, 0.1);
    --shadow-floating: 0 8px 25px rgba(93, 64, 55, 0.18);

    --border-radius: 12px;
    --border-radius-large: 20px;

    /* グラデーション */
    --gradient-sky: linear-gradient(135deg, #BCAAA4 0%, #8D6E63 50%, #5D4037 100%);
    --gradient-sea: linear-gradient(135deg, #AED581 0%, #8BC34A 50%, #689F38 100%);
    --gradient-sunset: linear-gradient(135deg, #FF7043 0%, #FF8A65 100%);
    --gradient-wood: linear-gradient(135deg, #EFEBE9 0%, #D7CCC8 100%);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    background-image: url('../images/wood-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-blend-mode: overlay;
    color: var(--color-text);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.85;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border-radius: var(--border-radius);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-accent {
    color: var(--color-accent);
}

.text-sea {
    color: var(--color-sea);
}

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

.mt-4 {
    margin-top: 1.5rem;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================
   Buttons
============================================ */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.btn--primary {
    background: var(--gradient-sea);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(0, 172, 193, 0.35);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 172, 193, 0.45);
}

.btn--accent {
    background: var(--gradient-sunset);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.35);
}

.btn--accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.45);
}

.btn--secondary {
    background: var(--gradient-sky);
    color: var(--color-white);
}

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

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

.btn--hero {
    font-size: 1.1rem;
    padding: 1rem 3rem;
}

/* ============================================
   Header
============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 2px 15px rgba(2, 136, 209, 0.08);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    padding: 0 5%;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.header__logo-icon {
    font-size: 1.8rem;
}

.header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-sea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header__logo-sub {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    -webkit-text-fill-color: var(--color-text-light);
}

/* Hamburger Menu */
.header__menu-checkbox {
    display: none;
}

.header__menu-btn {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 102;
    margin-left: auto;
}

.header__menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary-dark);
    border-radius: 3px;
    transition: all 0.3s;
}

.header__menu-btn span:nth-of-type(1) {
    top: 0;
}

.header__menu-btn span:nth-of-type(2) {
    top: 10px;
}

.header__menu-btn span:nth-of-type(3) {
    bottom: 0;
}

.header__menu-checkbox:checked+.header__menu-btn span:nth-of-type(1) {
    transform: translateY(10px) rotate(45deg);
}

.header__menu-checkbox:checked+.header__menu-btn span:nth-of-type(2) {
    opacity: 0;
}

.header__menu-checkbox:checked+.header__menu-btn span:nth-of-type(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--gradient-sky);
    padding-top: 80px;
    transition: right 0.3s ease;
    z-index: 101;
}

.header__menu-checkbox:checked~.header__nav {
    right: 0;
}

.header__nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header__nav-item {
    margin-bottom: 1.5rem;
}

.header__nav-item a {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.header__nav-item--btn {
    margin-top: 1rem;
}

.header__nav-item--btn a {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    display: block;
}

/* PC Menu */
@media screen and (min-width: 769px) {
    .header__menu-btn {
        display: none;
    }

    .header__nav {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        padding: 0;
    }

    .header__nav-list {
        flex-direction: row;
    }

    .header__nav-item {
        margin: 0 0 0 1.5rem;
    }

    .header__nav-item a {
        color: var(--color-primary-dark);
        font-size: 1rem;
    }

    .header__nav-item--btn {
        margin: 0 0 0 1.5rem;
    }

    .header__nav-item--btn a {
        background: var(--gradient-sunset);
        color: var(--color-white);
    }
}

/* ============================================
   Hero
============================================ */
.hero {
    position: relative;
    height: 85vh;
    max-height: 750px;
    margin-top: 65px;
    overflow: hidden;
}

.hero__image {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.hero__image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top,
            rgba(1, 87, 155, 0.75) 0%,
            rgba(0, 172, 193, 0.4) 40%,
            transparent 100%);
}

.hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem 3.5rem;
    color: var(--color-white);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    text-align: center;
    z-index: 2;
}

.hero__badge {
    display: inline-block;
    background: var(--gradient-sunset);
    color: var(--color-white);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

.hero__title {
    font-size: 1.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.hero__subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0.95;
}

/* ============================================
   Section Base
============================================ */
.section {
    padding: 4rem 0;
}

.section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section__title {
    font-size: 1.9rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section__title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--gradient-sea);
    margin: 0.6rem auto 0;
    border-radius: 2px;
}

.section__subtitle {
    font-family: var(--font-heading);
    color: var(--color-sea);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

/* ============================================
   About Section
============================================ */
.section--about {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg) 100%);
}

.about-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.about-card__image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.about-card__content {
    padding: 2rem;
}

.about-card__title {
    font-size: 1.4rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-card__text {
    font-size: 1rem;
    line-height: 2;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px) {
    .about-card {
        display: flex;
        align-items: stretch;
    }

    .about-card__image {
        flex: 0 0 45%;
    }

    .about-card__image img {
        height: 100%;
        border-radius: var(--border-radius-large) 0 0 var(--border-radius-large);
    }

    .about-card__content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
    }
}

/* ============================================
   Feature Cards (こだわりポイント)
============================================ */
.section--features {
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.95) 0%, rgba(215, 204, 200, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.section--features::before {
    content: '🍍';
    position: absolute;
    bottom: -50px;
    right: -30px;
    font-size: 180px;
    opacity: 0.06;
    transform: rotate(-15deg);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--color-sea);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-floating);
}

.feature-card__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-card__icon {
    font-size: 3rem;
    margin-bottom: 0;
    line-height: 1;
}

.feature-card__title {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 0;
    font-weight: 700;
}

.feature-card__text {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

@media screen and (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* ============================================
   Product Section
============================================ */
.section--products {
    background: linear-gradient(180deg, rgba(215, 204, 200, 0.4) 0%, rgba(250, 248, 245, 0.95) 100%);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-floating);
}

.product-card__image {
    position: relative;
    overflow: hidden;
}

.product-card__image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.05);
}

.product-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

.product-card__content {
    padding: 1.5rem;
}

.product-card__title {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.product-card__desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.product-card__price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-sea-dark);
}

.product-card__price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-text-light);
}

@media screen and (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Owner Section
============================================ */
.section--owner {
    background: var(--color-white);
}

.owner-card {
    text-align: center;
}

.owner-card__image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 25px rgba(249, 168, 37, 0.25);
    border: 4px solid var(--color-primary-light);
}

.owner-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.owner-card__name {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.owner-card__role {
    font-size: 0.9rem;
    color: var(--color-sea);
    margin-bottom: 1.5rem;
}

.owner-card__message {
    font-size: 1rem;
    line-height: 2;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(215, 204, 200, 0.4) 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
}

.owner-card__message::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-sea-light);
    font-family: Georgia, serif;
    line-height: 1;
}

/* ============================================
   Contact Section
============================================ */
.section--contact {
    background: linear-gradient(135deg, rgba(141, 110, 99, 0.9), rgba(93, 64, 55, 0.85));
    color: var(--color-white);
}

.section--contact .section__title {
    color: var(--color-white);
}

.section--contact .section__title::after {
    background: var(--color-white);
}

.section--contact .section__subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info__item {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info__item span {
    font-weight: 700;
}

.contact-sns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-sns__link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.contact-sns__link:hover {
    transform: scale(1.1);
    background: var(--color-accent);
    color: var(--color-white);
}

/* ============================================
   Footer
============================================ */
.footer {
    background: linear-gradient(180deg, #01579B 0%, #002F6C 100%);
    color: var(--color-white);
    padding: 3rem 0 6rem;
    text-align: center;
}

.footer__logo {
    margin-bottom: 1.5rem;
}

.footer__logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-sea-light);
}

.footer__info {
    margin-bottom: 1.5rem;
}

.footer__info p {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
    .footer__links {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.footer__links a {
    display: block;
    width: 200px;
    padding: 0.8rem 0;
    font-size: 1rem;
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer__links a:hover {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    /* ホバー時のテキスト色を濃い茶色に */
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
}

.footer__copyright {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Floating Button */
.footer__bottom-nav {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
}

.footer__fixed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: var(--gradient-sunset);
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.3;
    text-align: center;
    box-shadow: var(--shadow-floating);
    border: 3px solid var(--color-white);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* ============================================
   Responsive - Desktop
============================================ */
@media screen and (min-width: 768px) {
    .container {
        width: 85%;
    }

    .hero {
        height: 550px;
    }

    .hero__content {
        padding: 4rem;
        background: radial-gradient(circle, rgba(1, 87, 155, 0.6) 0%, rgba(1, 87, 155, 0) 60%);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        bottom: auto;
        width: auto;
        max-width: 700px;
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero__subtitle {
        font-size: 1.2rem;
    }

    .section__title {
        font-size: 2.2rem;
    }
}

/* ============================================
   Product Page Specific
============================================ */
.page-header {
    background: var(--gradient-sky);
    padding: 8rem 0 3rem;
    text-align: center;
    color: var(--color-white);
    margin-top: 65px;
}

.page-header__title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header__subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

@media screen and (min-width: 768px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1024px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-detail-card {
    background: var(--color-white);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-floating);
}

.product-detail-card__image {
    position: relative;
    overflow: hidden;
}

.product-detail-card__image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s ease;
}

.product-detail-card:hover .product-detail-card__image img {
    transform: scale(1.05);
}

.product-detail-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.product-detail-card__content {
    padding: 1.5rem;
}

.product-detail-card__title {
    font-size: 1.3rem;
    color: var(--color-primary-dark);
    margin-bottom: 0.8rem;
}

.product-detail-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-detail-card__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-detail-card__price-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent);
}

.product-detail-card__price-unit {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.product-detail-card__btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 1rem;
    background: var(--gradient-sea);
    color: var(--color-white);
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.product-detail-card__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 172, 193, 0.4);
}

/* CTA Section */
.section--cta {
    background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 100%);
    text-align: center;
    padding: 4rem 0;
}

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

.cta-content__title {
    font-size: 1.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
}

.cta-content__text {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Wave decoration */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 50px;
}