@charset "utf-8";

/* ==================================================
   トップページ デザイン強化 (top.css)

   既存の stylesheet20260209.css は変更せず、
   このファイルを後から読み込んで上書きする方式。
   戻したい場合は index.html の読み込み1行を外せばよい。
   ================================================== */

:root {
    --top-ink: #4a3a55;
    --top-ink-soft: #7b6a86;
    --top-radius: 20px;
    --top-shadow: 0 10px 34px rgba(120, 70, 140, .10);
    --top-shadow-hover: 0 18px 44px rgba(120, 70, 140, .18);
    --top-max: 1080px;
}

/* --------------------------------------------------
   セクション見出しの統一
   英字ラベル＋日本語＋中央のアクセント線
   -------------------------------------------------- */
.news_heading,
.merchandise_heading,
.philosophy_heading,
.company_box .company_heading {
    position: relative;
    font-family: "M PLUS 1p", sans-serif !important;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--text-dark-brown);
    text-align: center;
    padding-bottom: 18px;
    margin-bottom: 0;
}

.news_heading,
.merchandise_heading {
    font-size: clamp(1.5rem, 3.4vw, 2rem);
    margin: 0 0 36px;
}

/* 見出し下の中央アクセント */
.news_heading::after,
.merchandise_heading::after,
.philosophy_heading::after,
.company_box .company_heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 54px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent-pink), #ffb3d6);
}

/* 企業理念・会社情報は左寄せの見出しなのでアクセントも左に */
.philosophy_heading,
.company_box .company_heading {
    text-align: left;
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
}

.philosophy_heading::after,
.company_box .company_heading::after {
    left: 0;
    transform: none;
}

/* --------------------------------------------------
   セクションの余白リズム
   -------------------------------------------------- */
.news,
.merchandise-section,
.philosophy_box,
.company_box {
    max-width: var(--top-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.news {
    margin-top: 84px;
}

.merchandise-section,
.philosophy_box,
.company_box {
    margin-top: 96px !important;
}

/* --------------------------------------------------
   NEWS
   -------------------------------------------------- */
.news-list {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 10px;
}

.news_item {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 18px 24px !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .78) !important;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.news_item:hover {
    transform: translateY(-2px);
    background: #fff !important;
    box-shadow: var(--top-shadow);
}

.news_item .date {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--accent-pink);
    font-variant-numeric: tabular-nums;
}

.news_item .news_title {
    margin: 0;
    font-size: 15px;
    line-height: 1.75;
}

.news_item .news_title a {
    color: var(--top-ink);
    text-decoration: none;
    background-image: linear-gradient(var(--accent-pink), var(--accent-pink));
    background-size: 0 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size .3s ease, color .2s ease;
}

.news_item .news_title a:hover {
    color: var(--accent-pink);
    background-size: 100% 1px;
}

/* 本文つきのお知らせ（クリックで開閉） */
.news_item--wide {
    grid-column: 1 / -1;
}

.news_item .news_detail {
    flex: 1 1 auto;
    min-width: 0;
}

.news_item .news_detail>summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    margin: 0;
    padding-right: 28px;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 700;
    color: var(--top-ink);
    transition: color .2s ease;
}

.news_item .news_detail>summary::-webkit-details-marker {
    display: none;
}

.news_item .news_detail>summary::after {
    content: "";
    position: absolute;
    right: 6px;
    top: .55em;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--accent-pink);
    border-bottom: 2px solid var(--accent-pink);
    transform: rotate(45deg);
    transition: transform .25s ease;
}

.news_item .news_detail[open]>summary::after {
    transform: rotate(-135deg);
    top: .85em;
}

.news_item .news_detail>summary:hover {
    color: var(--accent-pink);
}

.news_body {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(120, 70, 140, .14);
    font-size: 14px;
    line-height: 1.9;
    color: var(--top-ink-soft);
}

.news_body p {
    margin: 0 0 1em;
}

.news_body p:last-child {
    margin-bottom: 0;
}

/* お知らせ内の項目リスト（受注期間・お届け予定など） */
.news_spec {
    margin: 16px 0;
    padding: 16px 18px;
    background: rgba(255, 82, 136, .055);
    border-radius: 12px;
    font-size: 14px;
}

.news_spec>div {
    display: flex;
    gap: 14px;
    padding: 5px 0;
}

.news_spec>div+div {
    border-top: 1px solid rgba(255, 82, 136, .14);
}

.news_spec dt {
    flex: 0 0 108px;
    font-weight: 700;
    color: var(--accent-pink);
}

.news_spec dd {
    margin: 0;
    font-weight: 700;
    color: var(--top-ink);
}

.news_body strong {
    color: var(--accent-pink);
    font-weight: 800;
}

.news_note-head {
    margin: 18px 0 4px !important;
    font-weight: 700;
    color: var(--top-ink);
}

.news_note {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.8;
}

.news_note li {
    padding-left: 1.2em;
    text-indent: -1.2em;
}

.news_note li::before {
    content: "\203B";
    color: rgba(255, 82, 136, .6);
}

.news_body-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.news_body-links a.is-primary {
    background: var(--accent-pink);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(255, 82, 136, .6);
}

.news_body-links a.is-primary:hover {
    background: #e8386f;
    color: #fff;
}

.news_body-links a {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 99px;
    background: rgba(255, 82, 136, .10);
    color: var(--accent-pink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.news_body-links a:hover {
    background: var(--accent-pink);
    color: #fff;
}

/* 過去のお知らせ（アーカイブ）への導線 */
.news_archive-link {
    max-width: 780px;
    margin: 22px auto 0;
    text-align: right;
    padding: 0 20px;
}

.news_archive-link a {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .78);
    color: var(--top-ink);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px -12px rgba(120, 70, 140, .5);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.news_archive-link a::after {
    content: " ›";
    color: var(--accent-pink);
}

.news_archive-link a:hover {
    background: var(--accent-pink);
    color: #fff;
    transform: translateY(-2px);
}

.news_archive-link a:hover::after {
    color: #fff;
}

@media (max-width: 767px) {
    .news_archive-link {
        text-align: center;
        padding: 0 14px;
    }
}

/* 偽アカウント警告バナー：NEWSの下に移したので上の余白を確保 */
.fake-account-banner-container {
    margin-top: 56px !important;
    margin-bottom: 8px !important;
}

@media (max-width: 767px) {
    .fake-account-banner-container {
        margin-top: 40px !important;
    }
}

/* --------------------------------------------------
   バナー
   -------------------------------------------------- */
.fixed-banner-container {
    max-width: var(--top-max) !important;
    gap: 24px !important;
    margin: 28px auto !important;
}

.banner-preview,
.banner-preview2 {
    display: block;
    border-radius: var(--top-radius);
    overflow: hidden;
    box-shadow: var(--top-shadow);
    transition: transform .3s ease, box-shadow .3s ease;
    line-height: 0;
}

.banner-preview:hover,
.banner-preview2:hover {
    transform: translateY(-5px);
    box-shadow: var(--top-shadow-hover);
}

.banner-preview img,
.banner-preview2 img {
    display: block;
    width: 100%;
    height: auto;
}

/* --------------------------------------------------
   商品情報（円アイコン）
   -------------------------------------------------- */
.merchandise_container {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 28px 22px !important;
    max-width: 940px;
    margin: 0 auto !important;
    padding: 0 !important;
    justify-items: center;
}

.md-item {
    width: 100%;
    max-width: 170px;
}

.md-item a {
    display: block;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(120, 70, 140, .10);
    transition: transform .3s cubic-bezier(.34, 1.4, .64, 1), box-shadow .3s ease;
}

.md-item a:hover {
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 16px 32px rgba(255, 82, 136, .24);
}

.md-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 50%;
}

/* --------------------------------------------------
   企業理念 / 会社情報
   -------------------------------------------------- */
.philosophy_box,
.company_box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 5vw, 64px);
    text-align: left !important;
}

.philosophy_text,
.company_text {
    flex: 1 1 340px;
    width: auto !important;
    max-width: 460px;
    text-align: left !important;
    line-height: 2.1;
}

.philosophy_text p,
.company_text p {
    margin-top: 22px;
    font-size: 15.5px;
    color: var(--top-ink);
}

.philosophy_img,
.company_img {
    flex: 1 1 380px;
    max-width: 520px;
}

.philosophy_img img,
.company_img img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--top-radius);
    box-shadow: var(--top-shadow);
    transition: transform .4s ease, box-shadow .4s ease;
}

.company_img a:hover img {
    transform: translateY(-4px);
    box-shadow: var(--top-shadow-hover);
}

/* --------------------------------------------------
   スクロールで浮き上がる演出

   非表示の指定は html.js-reveal-on が付いたときだけ効かせる。
   このクラスは JS が正常に動いた場合のみ付くため、
   JS が読み込まれない・エラーで止まった場合でも
   コンテンツが消えることはない。
   -------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
    html.js-reveal-on .js-reveal {
        opacity: 0;
        transform: translateY(22px);
        transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1);
    }

    html.js-reveal-on .js-reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------
   スマホ
   -------------------------------------------------- */
@media screen and (max-width: 768px) {

    .news {
        margin-top: 56px;
    }

    .merchandise-section,
    .philosophy_box,
    .company_box {
        margin-top: 64px !important;
    }

    .philosophy_box,
    .company_box {
        flex-direction: column;
        gap: 28px;
    }

    .philosophy_text,
    .company_text,
    .philosophy_img,
    .company_img {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }

    .news_item {
        flex-direction: column;
        gap: 6px;
        padding: 16px 18px !important;
    }

    .news_spec>div {
        flex-direction: column;
        gap: 2px;
    }

    .news_spec dt {
        flex: none;
        font-size: 12.5px;
    }

    .news_body-links a {
        width: 100%;
        text-align: center;
    }

    .fixed-banner-container {
        flex-direction: column;
        gap: 18px !important;
    }

    .merchandise_container {
        grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)) !important;
        gap: 18px 14px !important;
    }
}

/* ===============================================
   ヒーロースライダー：読み込み中のガタつき対策
   Slick初期化前（.slick-initialized が付く前）は
   1枚目だけを完成形に近いサイズで表示しておき、
   初期化完了と同時に通常のカルーセル表示へ切り替える。
   CDNの読み込みが遅い・失敗した場合でも
   「1枚のヒーロー画像＋リンク」として成立する。
   =============================================== */

/* 画像の縦横比を予約（スライダー画像は全て 1100x731） */
.hero-slider img {
    aspect-ratio: 1100 / 731;
}

/* 初期化前：2枚目以降は隠す（縦積みチラつきの防止） */
.hero-slider:not(.slick-initialized)>div:not(:first-child) {
    display: none;
}

/* 初期化前：1枚目をセンターモード完成形（幅70%×拡大1.15倍≒80.5%）に合わせる */
.hero-slider:not(.slick-initialized)>div:first-child {
    width: 80.5%;
    margin: 0 auto;
}

.hero-slider:not(.slick-initialized) img {
    border-radius: 20px;
}

@media screen and (max-width: 768px) {

    /* スマホは centerPadding 40px ×拡大1.1倍に合わせる */
    .hero-slider:not(.slick-initialized)>div:first-child {
        width: calc((100% - 80px) * 1.1);
        max-width: 100%;
    }
}
