@charset "UTF-8";

/*ベーススタイル (共通設定) */
html {
    font-family: 'Courier New', Courier, monospace;
    overflow-x: hidden; 
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Serif JP', serif; 
    font-weight: 400;
}

/* レスポンシブ対応 */
img {
    max-width: 100%;
    height: auto;
    display: block; 
}

/* リンクの基本設定 */
a {
    text-decoration: none;
    color: inherit;
    transition: .3s;
}

/* 枠組みの設定 */
.wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px; 
    box-sizing: border-box;
}

.container {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

/*フォント設定  */
/* ヘッダー、セクションタイトル */
header, .logo, .header_menu, .title, .sec-title, .title-bar, .hero_title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
}

/* 説明文、リード文 */
p, .description, .product-lead, .order-lead, .contact-lead {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
}

.hero_lead, .point h3, .point p, .point-list {
    font-family: 'BIZ UDPGothic', sans-serif;
}
.hero_lead { font-weight: 700; }

/* ヘッダー*/
header {
    padding: 27px 0;
}
.logo {
    font-size: 20px;
}
.logo span {
    color: darkgreen;
}


.header_menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.header_menu li {
    margin-left: 3px;
}
.header_menu li a {
    color: darkgreen;
}
.header_menu li a:hover{
    color: plum;
}
.header_menu li:not(:last-child)::after {
    content: "/";
    color: darkgreen;
    margin-left: 5px;
    margin-right: 5px;
}

/*トップページメインビジュアル */
#hero {
    position: relative;
    background-image: url(./images/main.jpg);
    background-position: center 20%;
    background-size: cover;
    height: 600px;
    min-height: 600px;
    display: flex;
    margin-bottom: 80px;
}
#hero::before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    position: absolute;
    top: 0; left: 0;
    opacity: 0.2;
    z-index: 1;
}
.hero_inner {
    z-index: 2;
    position: relative;
    color: #ffffff;
}
.hero_title {
    font-size: 36px;
    padding-left: 140px;
    padding-top: 80px;
    line-height: 1.5;
}
.hero_lead {
    font-size: 24px;
    padding-left: 140px;
    padding-top: 150px;
}

/*農業について (Concept)*/
.title-bar {
    position: relative;
    display: inline-block;
    padding-left: 12px;
    line-height: 1.2;
    text-align: left;
}
.title-bar::before {
    content: "";
    position: absolute;
    left: 0; top: 55%;
    transform: translateY(-50%);
    width: 4px; height: 1.2em;
    background: #114928;
}
.section-title-wrapper { text-align: center; }

.title {
    font-size: 26px;
    color: black;
    margin-bottom: 50px;
    text-align: center;
}
.description {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 50px;
    text-align: center;
}

/* 農場の写真 */
.farm-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 43px;
    max-width: 1280px;
    margin: 24px auto;
}
.farm-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.img-wrap {
    position: relative;
    overflow: hidden;
}
.img-wrap::before {
    content: '';
    width: 100%; height: 100%;
    background-color: #ffffff;
    position: absolute; top: 0; left: 0;
    opacity: 0.2; z-index: 1;
}

/* こだわり */
.farm-points {
    max-width: 1280px;
    margin: 60px auto;
    height: 400px;
    position: relative;
    padding: 32px 40px;
    background-image: url("./images/米手で持ち上げ.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "p1 p2"
        "p3 list";
    gap: 40px;
}
.farm-points::before {
    content: "";
    position: absolute; inset: 0;
    background: rgba(255, 255, 255, .50);
    z-index: 1;
}
.farm-points > * {
    position: relative;
    z-index: 2;
}
.p1 { grid-area: p1; margin-left: 200px; margin-top: 60px; text-align: center; }
.p2 { grid-area: p2; margin-right: 200px; margin-top: 60px; text-align: center; }
.p3 { grid-area: p3; margin-left: 200px; margin-top: 50px; text-align: center; }

#plist {
    grid-area: list;
    padding-left: 0;
    margin: 0;
    position: relative;
    z-index: 3;
    justify-self: start;
    align-self: start;
    width: fit-content;
    text-align: left;
    line-height: 1.7;
    transform: translate(50px, 70px);
}
.point h3 { font-size: 20px; color: black; margin: 0 0 10px; }
.point p { font-size: 16px; line-height: 1.8; color: black; margin: 0; }

/* 商品紹介 (Product) */
#product {
    max-width: 1280px;
    margin: 100px auto;
}
.badge-title { text-align: center; margin: 0 0 50px; }
.badge-title a {
    display: inline-block;
    background: #b79964;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 10px;
    font-weight: 700;
}
.badge-title a:hover {
    background: #6a4f1a;
    transform: translateY(1px);
}
.product-lead {
    text-align: center;
    color: #444;
    font-size: 23px;
    line-height: 1.9;
    margin: 8px auto 32px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}
.product-card img {
    max-width: 450px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin: 0 auto;
}
.product-card .note {
    font-size: 16px;
    color: #777;
    margin-top: 8px;
    text-align: center;
}

.polish-info { text-align: center; justify-self: center; }
.polish-info h3 { font-size: 24px; margin: 6px 0 10px; color: #333; }
.polish-info .small { font-size: 16px; color: #333; line-height: 1.5; }
.dot { padding-left: 1.2em; margin: 0 0 18px; color: #333; line-height: 1.5; list-style: none; }
.more {
    display: inline-block;
    color: #b79964;
    font-size: 20px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 生産者プロフィール */
.section-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 50px;
    color: #444;
}
.producer {
    background-image: url(images/freepik__expand__35819.png);
    background-size: cover; 
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding-bottom: 50px;
    margin-bottom: 30px;
}
.profile-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.profile-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.profile-text h3 {
    font-size: 26px;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 20px;
}
.profile-text h3 .furi {
    display: block;
    font-size: 17px;
    font-weight: normal;
    color: #555;
    margin-top: 5px;
}
.profile-text { font-size: 16px; line-height: 1.8; }
.profile-text .lead { font-size: 20px; font-weight: 500; margin-left: 20px; margin-bottom: 24px; }

/* プロフィール画像 */
.profile-img {
    flex-shrink: 0;
    width: 200px;
    height: 220px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transform: translate(-30px, 10px);
}
.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.profile-img::before {
    content: '';
    position: absolute; inset: 0;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
    pointer-events: none;
}

/* ご注文 (LINE) */
.order {
    position: relative;
    max-width: 1280px;
    margin: 0 auto; 
    padding: 50px 40px;
    text-align: center;
    overflow: hidden;
    background: url(images/米粒.jpg) center/cover no-repeat;
}
.order::after {
    content: '';
    position: absolute; inset: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 0;
}
.order > * { position: relative; z-index: 1; }

.sec-title { font-size: 26px; margin-bottom: 50px; }
.order-lead { font-size: 18px; color: #333; margin-bottom: 25px; line-height: 1.5; }

.order-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
/* ボタン */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 48px;
    padding: 0;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
    border: none;
}
.btn.line { background: #06c755; color: #ffffff; }
.btn.line:hover { background: #114928; }
.btn.ghost { background: #b79964; color: #333; border: 1px solid #ccc; }
.btn.ghost:hover { background: #6a4f1a; color: #fff; }

.order-card {
    max-width: 720px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
}
.mini-note { font-size: 18px; font-weight: bold; margin-bottom: 15px; }
.mini-note .note-small { font-size: 14px; font-weight: normal; color: #666; display: block; margin-top: 5px; }

#tpl {
    width: 100%; height: 300px;
    font-size: 18px;
    border: none; background: transparent;
    resize: none;
}
.mini { font-size: 14px; margin-top: 10px; }

/* よくある質問 (FAQ) & お問い合わせ */
.faq { max-width: 900px; margin: 100px auto; padding: 0 20px; }
.faq-item { border-bottom: 1px solid #ddd; padding: 15px 0; }
.faq-q { font-weight: 700; cursor: pointer; position: relative; padding-right: 30px; }
.faq-q::after { content: '＋'; position: absolute; right: 10px; top: 0; }
.faq-item.open .faq-q::after { content: '－'; }
.faq-a { display: none; padding: 10px 0 0 10px; color: #555; line-height: 1.8; }
.faq-item.open .faq-a { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* お問い合わせフォーム */
.contact {
    position: relative;
    width: 100%;
    background: url("images/農場背景.jpg") center/cover no-repeat;
    padding: 60px 0;
    text-align: center;
}
.contact::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(255, 255, 255, 0.4); z-index: 0;
}
.contact > * { position: relative; z-index: 1; width: 90%; max-width: 720px; margin: 0 auto; }

.contact-form {
    display: flex; flex-direction: column; gap: 5px;
    text-align: left;
}
.contact-form label { display: block; margin-bottom: 6px; font-weight: 600; }
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
}
#contact-mail { width: 100%; max-width: 200px; margin: 10px auto 0; }
.contact .mini {
    background: rgba(255, 255, 255, 0.85);
    padding: 12px; border-radius: 6px;
    text-align: center;
    font-size: 13px;
}

/* フッター */
.site-footer {
    background: #fff;
    padding: 60px 20px 20px;
    color: #333;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-col { width: 32%; }

.footer-brand-main { font-size: 24px; font-weight: bold; margin-bottom: 15px; }
.footer-rep { font-size: 16px; font-weight: bold; }
.footer-line-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 34px; padding: 0 14px; border-radius: 18px;
    background: #06c755; color: #fff; font-weight: 700;
    margin-top: 15px; width: 200px;
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.copyright { text-align: center; margin-top: 40px; font-size: 12px; color: #888; }


/* ゆめぴりかページ専用スタイル */

/* メインビジュアル */
.yume-hero {
    position: relative;
    height: 420px;
    background: url(images/ゆめmain.jpg) center/cover no-repeat;
    margin: 0 auto 28px;
    background-position: 50% 35%;
}
.award-card {
    position: absolute; inset: 0; margin: auto;
    width: 500px; height: 200px;
    display: grid; place-content: center; text-align: center;
    background: rgba(255,255,255,.30);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0,0,0,.10);
}
.award-h1 { font-size: 40px; color: #2b3a2f; margin: 10px 0 0 1px; }
.award-h1 .in { font-size: 24px; color: #2f5a37; }
.award-h2 { font-size: 35px; color: #2b3a2f; margin: 0 0 5px; }
.award-medal { font-size: 42px; color: #a41f1f; text-shadow: 0 1px 0 rgba(255,255,255,.85); margin-top: 10px;}

/* 商品紹介 */
.yume-grid {
    display: grid;
    grid-template-columns: 350px minmax(480px, 1fr) 350px;
    align-items: center;
    column-gap: 40px;
    max-width: 1280px;
    margin: 80px auto 60px;
}
.yume-photo {
    position: relative;
    width: 350px; height: 290px;
    overflow: hidden;
}
.yume-photo img { width: 100%; height: 100%; object-fit: cover; }
.yume-photo.left { justify-self: start; }
.yume-photo.right { justify-self: end; }
.yume-photo.left img { object-position: 60% 50%; }
.yume-photo.right img { object-position: 40% 50%; }

.yume-copy { text-align: center; justify-self: center; }
.yume-name { margin: 5px 0 12px; font-size: 30px; line-height: 1.6; }
.yume-name .name { color: #8b0000; font-weight: 700; }
.yume-name .unit { margin-left: .4em; font-size: .9em; }
.yume-name .price { margin-left: -0.7em; font-size: 1.2em; font-weight: 700; }
.yume-name .tax { margin-left: -1.3em; font-size: .8em; color: #555; }
.note-qty { font-size: 25px; margin: 8px 0 6px; }
.note-att { font-size: 16px; color: #666; margin: 0 0 14px; }
.yume-actions { display: flex; justify-content: center; gap: 12px; }
.yume-actions .btn { width: 180px; height: 36px; font-size: 16px; }

/* 味の特徴 */
.taste {
    position: relative;
    max-width: 1280px;
    margin: 60px auto 30px;
    padding: 16px 24px 22px;
    text-align: center;
}
.taste .taste-bg {
    position: absolute; left: 0; right: 0; top: 18px; height: 250px;
    background: url("images/ご飯背景改.jpg") no-repeat left center / cover;
    z-index: -1;
}
.taste-points {
    width: min(980px, 92%);
    margin: 2px auto 0;
    transform: translateX(50px);
    list-style: none;
    text-align: left;
}
.taste-points li {
    position: relative; padding-left: 28px; margin: 10px 0;
}
.taste-points li::before {
    content: ""; position: absolute; left: 8px; top: .10em;
    width: 12px; height: 18px;
    background: url("images/bullet_rice.png.png") no-repeat center / contain;
}

/* 料金・送料 */
.price {
    position: relative; max-width: 1280px; margin: 100px auto 60px;
    padding: 40px 24px; text-align: center;
}
.price-bg {
    position: absolute; inset: 0;
    background: url("images/ine.jpg") center/cover no-repeat;
    opacity: .75; z-index: 0;
}
.price .section-title { position: relative; z-index: 1; }
.price-figure { position: relative; z-index: 1; display: inline-block; }
.price-note {
    margin-top: 12px; font-size: 14px; color: #222; display: inline-block;
    background: rgba(255,255,255,.78); padding: 8px 14px; border-radius: 6px;
}
.faq-link { margin: 100px 0 50px; text-align: center; }
.faq-button {
    display: inline-block; background-color: #b9935a; color: #fff;
    font-size: 24px; font-weight: 600; padding: 10px 28px; border-radius: 8px;
}
.faq-button:hover { background-color: #a6814e; transform: translateY(-2px); }

.sp-br { display: none; }
.sp-break { display: none; }


/* スマホ・タブレット対応 */
@media screen and (max-width: 960px) {

    /* --- 全体レイアウト --- */
    .wrapper, .container { padding: 0 16px; }

    /* --- ヘッダー --- */
    header { width: 100vw; margin-left: calc(50% - 50vw); text-align: center; }
    .header_menu { flex-direction: column; align-items: center; gap: 10px; }
    .header_menu li:not(:last-child)::after { display: none; } /* スラッシュ消す */
    .header_menu li { margin: 5px 0; }

    /* --- トップ --- */
    #hero {
        height: auto; min-height: 400px;
        flex-direction: column; justify-content: center; text-align: center;
    }
    .hero_title, .hero_lead { padding: 0 20px; text-align: center; }
    .hero_title { font-size: 22px; margin-bottom: 20px; }
    .hero_lead { font-size: 14px; }

    /* 農業について */
    .farm-images { grid-template-columns: 1fr; gap: 20px; }

    /* こだわりポイント */
    .farm-points {
        width: 100vw !important;
        position: relative !important; left: 50% !important; margin-left: -50vw !important;
        display: flex !important; flex-direction: column !important;
        align-items: center !important; height: auto !important;
        padding: 50px 20px !important;
        background-position: center center !important;
    }
    .farm-points .point {
        position: static !important; width: auto !important; max-width: 600px !important;
        margin: 0 auto 40px auto !important; text-align: center !important;
    }
    .farm-points .point h3 { font-size: 1.0rem !important; border: none !important; }
    #plist {
        padding: 0 !important; margin: 30px auto 0 !important;
        text-align: center !important; width: 100% !important;
        transform: none !important;
    }
    #plist li { display: block !important; margin-bottom: 10px !important; }

    /* 商品紹介 */
    .product-grid { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
    .product-card { width: 100%; max-width: 520px; }
    
    /* 精米指定エリア */
    .polish-info { padding: 30px 10px !important; margin-bottom: -70px !important; width: 100% !important; }
    .polish-info .dot { padding-left: 0 !important; text-align: center !important; }
    .polish-info .dot li { display: block !important; }

    /* 生産者プロフィール */
    .profile-content {
        flex-direction: column; align-items: center; gap: 15px !important;
    }
    .profile-img {
        order: -1; transform: none !important; margin: 0 auto 15px !important;
        width: 150px !important; height: auto !important; aspect-ratio: 2/3 !important;
    }
    .profile-img img { object-position: 85% 10% !important; }
    .profile-text { padding: 0 10px; text-align: center !important; }
    .profile-text .lead { margin: 10px 0 20px; font-size: 11.83px !important; }
    .producer { background-size: cover !important; height: auto !important; padding-bottom: 30px !important; }

    /* ご注文 */
    #order {
        width: 100vw !important; margin-left: -50vw !important; left: 50% !important;
        padding: 50px 0 !important; margin-top: 0 !important;
    }
    #order > * { width: 90% !important; max-width: 700px !important; margin-left: auto !important; margin-right: auto !important; }
    .order-actions { flex-direction: column; }
    .order-card { width: 100% !important; padding: 15px !important; }
    .order-card .mini-note { text-align: center !important; }

    /* お問い合わせ */
    #contact {
        width: 100vw !important; margin-left: -50vw !important; left: 50% !important;
        padding: 60px 0 !important;
    }
    .contact-form { width: 100% !important; }
    .contact .mini { width: 90% !important; }

    /* フッター */
    .footer-inner { flex-direction: column; align-items: center; gap: 25px; }
    .footer-col { width: 100%; text-align: center; }
    .footer-rep { display: block; text-align: center; }
    .site-footer { padding: 20px 20px 30px !important; }


    /* ゆめぴりかページ */

    /* メインビジュアル */
    .yume-hero {
        margin-left: -15px; margin-right: -15px; width: calc(100% + 30px);
        height: 400px; display: flex; align-items: center; justify-content: center;
        border-radius: 0;
    }
    .award-card {
        width: 100% !important; max-width: 100% !important;
        position: static; padding: 30px 0; border-radius: 0;
        background: rgba(255, 255, 255, 0.4); box-shadow: none;
    }
    .award-h1 { font-size: 22px; line-height: 1.4; }
    .award-h1 .in { display: inline-block; font-size: 15px; }
    .award-h2 { font-size: 17px; white-space: nowrap; margin: 5px 0; }
    .award-medal { font-size: 26px; margin-bottom: 0; }

    .yume-grid {
        grid-template-columns: 1fr; row-gap: 20px; justify-items: center;
    }
    .yume-photo {
        width: calc(100% + 30px) !important; /* 横いっぱい */
        margin-left: -15px !important; margin-right: -15px !important;
        height: auto;
        position: relative !important; /* 白い膜のためにrelative */
    }
    
    .yume-photo::before {
        content: "" !important; display: block !important;
        position: absolute; top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgba(255, 255, 255, 0.3); /* 白30% */
        z-index: 1; pointer-events: none;
    }

    .yume-copy { width: 100% !important; text-align: center !important; }
    .yume-name { display: block !important; width: 100%; margin-bottom: 15px; }
    
    .yume-name .name { font-size: 24px; font-weight: bold; }
    .yume-name .unit { font-size: 20px; margin-left: 5px; }
    .yume-name .unit::after {
        content: "\A"; white-space: pre; font-size: 0; line-height: 0; /* 改行 */
    }
    
    .yume-name .price {
        display: block !important; width: 100%; text-align: center;
        margin-top: -30px !important; /* ★ここが詰める設定 */
        font-size: 1.6em; line-height: 1 !important;
    }
    .yume-name .tax {
        display: block !important; text-align: center;
        margin-top: -30px !important; /* ★ここも詰める設定 */
        font-size: 18px; color: #666; line-height: 1 !important;
    }

    #taste {
        width: 100vw !important; margin-left: -50vw !important; left: 50% !important;
        height: auto !important; padding: 40px 20px !important;
        overflow: hidden;
    }
    .taste-bg {
        width: 100% !important; height: 100% !important; top: 0 !important;
        background-position: 12% 30% !important; /* 画像位置調整 */
    }
    .taste-points {
        width: 100% !important; text-align: left !important;
        transform: none !important; white-space: normal !important;
    }
    
    .sp-br { display: block !important; }
    .sp-break { display: block; line-height: 1.4; margin-top: 5px; }
}

/* 480px以下 */
@media screen and (max-width: 480px) {
    .hero_title { font-size: 20px !important; }
    .title, .sec-title, .section-title { font-size: 20px !important; }
    .description { font-size: 14px !important; }
    .btn { width: 100%; }
}

#order .sec-title {
    width: auto !important;      
    display: inline-block;        
    margin-left: auto;
    margin-right: auto;
    text-align: left;             
}


*, *::before, *::after {
    box-sizing: border-box !important;
}

@media screen and (max-width: 960px) {

    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        margin: 0 !important; padding: 0 !important;
    }

    header { width: 100% !important; text-align: center !important; padding: 15px 0 !important; }
    header .container {
        display: flex !important; flex-direction: column !important;
        align-items: center !important; width: 100% !important; padding: 0 !important;
    }
    .logo { margin: 0 auto 10px !important; width: 100% !important; text-align: center !important; display: block !important; }
    .header_menu {
        flex-direction: column !important; align-items: center !important;
        padding: 0 !important; margin: 0 auto !important; width: 100% !important;
    }
    .header_menu li { margin: 5px 0 !important; width: 100% !important; text-align: center !important; }
    .header_menu li:not(:last-child)::after { display: none !important; }

    .badge-title {
        text-align: center !important;
        margin: 0 auto 30px !important;
        width: 100% !important;
    }
    .badge-title a {
        display: inline-block !important;
        background: #b79964 !important;
        color: #ffffff !important;
        padding: 8px 15px !important;     
        font-size: 16px !important;       
        border-radius: 6px !important;    
        font-weight: 700 !important;
        text-decoration: none !important;
    }

    .product-grid { display: block !important; width: 100% !important; margin: 0 auto !important; }
    
    .product-card {
        display: block !important;
        width: 90% !important; max-width: 520px !important;
        margin: 0 auto 30px auto !important; padding: 0 !important;
    }

    .product-card img, .price-figure img {
        display: block !important;
        margin-left: auto !important; margin-right: auto !important;
        transform: none !important; max-width: 100% !important; width: 100% !important;
    }
    
    .product-lead {
        text-align: center !important;
        width: 90% !important;
        margin: 0 auto 20px !important;
        font-size: 14px !important;      
        line-height: 1.7 !important;     
    }

    .polish-info, .polish-info .more {
        text-align: center !important; margin: 0 auto !important; display: block !important;
    }
    .more {
        background: #b79964; color: #fff; padding: 10px 20px; border-radius: 8px;
        text-decoration: none; margin-top: 15px !important;
    }

    .farm-points, #order, #contact, #taste, .yume-hero {
        width: 100vw !important; position: relative !important;
        left: 50% !important; right: 50% !important;
        margin-left: -50vw !important; margin-right: -50vw !important;
    }

    #order, #contact { padding-top: 50px !important; padding-bottom: 50px !important; }
    #order .sec-title { display: table !important; margin: 0 auto 30px auto !important; width: auto !important; }
    
    #order > *, .order-card, .contact-form, #contact .mini, .farm-points .point {
        width: 90% !important; max-width: 600px !important;
        margin-left: auto !important; margin-right: auto !important;
    }

    .wrapper, .container { padding-left: 15px !important; padding-right: 15px !important; }
    .farm-points { display: flex !important; flex-direction: column !important; align-items: center !important; padding: 50px 15px !important; }
    #plist { margin: 30px auto 0 !important; transform: none !important; text-align: center !important; }
    
    .polish-info { width: 100% !important; text-align: center !important; margin-bottom: -50px !important; }

    .taste-points { transform: none !important; margin: 20px auto !important; width: 90% !important; }
    
    .yume-hero { height: 400px; display: flex; align-items: center; justify-content: center; }
    .award-card { width: 100% !important; position: static; background: rgba(255,255,255,0.4); box-shadow: none; border-radius: 0; }
    .yume-grid { grid-template-columns: 1fr; }
    .yume-photo::before { content: "" !important; display: block !important; position: absolute; inset: 0; background: rgba(255,255,255,0.3); z-index: 1; pointer-events: none; }
    .yume-name, .yume-name .price, .yume-name .tax { display: block !important; width: 100%; text-align: center; }
    .yume-name .price { margin-top: -30px !important; line-height: 1 !important; }
    .yume-name .tax { margin-top: -30px !important; }
    #taste { height: auto !important; overflow: hidden; padding: 40px 0 !important; }
    .taste-bg { width: 100% !important; height: 100% !important; top: 0 !important; background-position: 12% 30% !important; }

    .footer-inner { flex-direction: column; align-items: center; gap: 25px; }
    .footer-col { width: 100%; text-align: center; }
    .footer-rep { display: block; text-align: center; }

    .sp-br, .sp-break { display: block !important; }

    /* 売り切れ・販売停止中 */
.note-att {
    color: #cc0000 !important;      
    font-size: 18px !important;     
    font-weight: bold !important;   
    display: block !important;      
    text-align: center !important;  
    margin-top: 15px !important;   
    line-height: 1.5 !important;
}

/* LINEの案内文 */
    .order-lead {
        font-size: 14px !important;    
        line-height: 1.6 !important;   
    }

    /* プロフィール */
    .profile-text {
        font-size: 12px !important;    
        line-height: 1.8 !important;   
    }

    /* 売り切れの前の文章 */
    .product-card .note {
        font-size: 13px !important;     
        line-height: 1.6 !important;    
        display: block !important;
        text-align: center !important;
    }

    /* 精米指定の文章 */
    .polish-info .small {
        font-size: 14px !important;     
        line-height: 1.8 !important;    
        display: block !important;      
        width: 100% !important;
    }
}

.sp-text {
    display: none;
}

/* 960px以下 */
@media screen and (max-width: 960px) {
    .pc-text {
        display: none !important;   
    }
    .sp-text {
        display: block !important;  
        text-align: center !important; 
        line-height: 2.0 !important;   
    }
}

@media screen and (max-width: 960px) {
    
        .yume-grid {
        display: flex !important;       
        flex-direction: column !important;
        align-items: center !important;    
        width: 100% !important;
        gap: 30px !important;           
    }

        .yume-photo.left, 
    .yume-photo.right {
        display: block !important;
        width: 100% !important;        
        max-width: 500px !important;    
        margin: 0 auto !important;      
        
        position: relative !important; 
        transform: none !important;     
        float: none !important;
        left: auto !important;
        right: auto !important;
    }

        .yume-photo img {
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }

        .yume-copy {
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

        .yume-name {
        display: block !important;       
        width: 100% !important;
        text-align: center !important;   
        margin-bottom: 20px !important;
    }

        .yume-name .name, 
    .yume-name .unit {
        display: inline-block !important;
        float: none !important;
        text-align: center !important;
    }

        .yume-name .price,
    .yume-name .tax {
        display: block !important;       
        width: 100% !important;
        text-align: center !important;   
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
    }

    @media screen and (max-width: 960px) {
    
        .yume-name .price {
        margin-bottom: 0 !important;   
        padding-bottom: 0 !important;
        line-height: 1.0 !important;   
    }

        .yume-name .tax {
        margin-top: 5px !important;    
        padding-top: 0 !important;
        line-height: 1.0 !important;
    }
}

@media screen and (max-width: 960px) {
    .taste-points {
        padding-left: 5% !important;  
        padding-right: 5% !important;  
        width: 100% !important;        
        box-sizing: border-box !important;
        margin: 0 auto !important;
        font-size: 13px !important;
    }
}
}

