@charset "UTF-8";

/* --------------------------------
変数定義
-------------------------------- */
:root {
    /* カラー */
    --color-primary: #82AAAA;
    --color-secondary: #B3D0D7;
    --color-bg: #F0F0F0;
    --color-accent: #D7D3B3;
    --color-text: #333;
    --color-text-light: #877C7C;
    --color-white: #fff;

    /* レイアウト */
    --width-content: 1200px;
    --space-unit: 15px;
}


/* --------------------------------
共通設定
-------------------------------- */
html {
    font-size: 100%;
    scrollbar-gutter: stable;
}

body {
    font-family: "Zen Maru Gothic", sans-serif;
    overflow-x: hidden;
    color: var(--color-text);
    background-color: var(--color-bg);
    width: 100%; 
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

a {
    text-decoration: none;
}

.block {
    display: block;
}


/* --------------------------------
レイアウト
-------------------------------- */
.wrapper {
    width: var(--width-content);
    margin: 0 auto;
    position: relative;
    padding: 0 var(--space-unit);
    box-sizing: border-box;
}

.flex-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --------------------------------
共有コンポーネント
-------------------------------- */
/* フォント */
.font-en {
    font-family: "Marcellus", serif;
    font-weight: 400;
    font-style: normal;
}

.font-serif {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
}

/* 見出し */
.page-ttl {
    text-align: center;
    padding:180px 0 40px;
    background-color: var(--color-secondary);
    overflow: hidden;
}

.page-ttl-inner {
    display: inline-block;
    position: relative;
    padding: 0 40px;
}

.page-ttl h2 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    color: var(--color-bg);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    letter-spacing: 0.05em;
}

.page-ttl-img {
    position: absolute;
    z-index: 1;
    top: 10%;
    right: -25px;
    transform: translateY(-40%);
    width: 100px;
    pointer-events: none;
}

.page-ttl-img img {
    width: 100%;
    height: auto;
}

.page-ttl-sub {
    text-align: left;
    padding:180px 0 49px;
    background-color: var(--color-secondary);
    overflow: hidden;
}

.page-ttl-sub h2 {
    position: relative;
    font-size: 2.5rem;
    color: var(--color-bg);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    letter-spacing: 0.05em;
}

.sec-ttl {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 2.5rem;
    color: var(--color-text-light);
    padding-bottom: 70px;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 1);
}

.sec-ttl::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: var(--color-text-light); 
    margin-left: 15px;
}

.sub-sec-ttl {
    padding-bottom: 15px;
}

/* セクション上下余白 */
.sec {
    padding-top: 200px;
    padding-bottom: 100px;
}

.sub-sec {
    padding: 100px 0;
}

/* ボタン */
.btn {
    display: inline-block;
    color: var(--color-text-light);
    background-color: transparent; 
    border: none;
    min-width: 424px;
    padding: 15px 0;
    text-align: center;
    position: relative;
    text-decoration: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 100%;
    height: 100%;
    background-color: var(--color-accent);
    border-radius: 8px;
    z-index: -1;
    pointer-events: none;
}

.btn, 
.btn::before {
    transition: all 0.3s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-text-light);
    border-radius: 8px;
    background-color: transparent;
    z-index: -1;
    pointer-events: none;
}

.btn:hover {
    transform: translate(2.5px, 2.5px);
}

.btn:hover::before {
    top: 0;
    left: 0;
}


/* 
----------------------------------------------------------------
ホーム
---------------------------------------------------------------- */

/* ヘッダー
------------------------------- */
.header {
    backdrop-filter: blur(15px); 
    height: auto;
    padding: 20px 30px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.4);
}

.header ul.flex-content {
    margin: 0;
    padding: 0;
    width: 100%;
}

.header-logo img {
    width: 200px;
    margin: 0;
}

.header-nav {
    gap: 50px;
}

.header-link {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    font-size: 1.125rem;
}

.header-link a {
    position: relative;
    display: inline-block;
    color: var(--color-text); 
    transition: color 0.5s;
}

.header-link a::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    border-bottom: 6px solid var(--color-text-light);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: none;
    transition: all 0.5s ease;
    opacity: 0;
    transform: translateX(-50%) rotateY(0deg);
}

.header-link a:hover {
    color: var(--color-text-light);
}

.header-link a:hover::after {
    opacity: 1;
    transform: translateX(-50%) rotateY(360deg);
}

.header-icon {
    font-family: none;
    font-size: 1.75rem;
    gap: 15px;
}

.header-icon a {
    transition: all 0.5s ease;
}

.header-icon a:hover {
    color: var(--color-text-light);
}

.header-sp-control {
    display: none;
}
.drawer-menu {
    display: none;
}


/* mv
------------------------------- */
.mv {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden; 
    color: var(--color-white);
}

.mv-slider,
.mv-slider .slick-list,
.mv-slider .slick-track,
.mv-slide-item {
    height: 100% !important;
}

.mv-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mv-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 30%);
}

.mv-logo, .mv-ttl, .mv-scroll {
    position: absolute;
    pointer-events: auto;
}

.mv-logo {
    position: absolute;
    width: 120px;
    bottom: 45px;
    left: 65px;
}

.mv-ttl {
    position: absolute;
    line-height: 1.5;
    font-size: 3rem;
    bottom: 45px;
    left: 220px;
    white-space: nowrap;
}

.mv-scroll {
    position: absolute;
    font-size: 1.125rem;
    bottom: 45px;
    right: 65px;
    writing-mode: vertical-rl; 
    text-orientation: mixed;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mv-scroll::after {
    content: '';
    width: 1px;
    height: 60px;
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.mv-scroll::after {
    animation: line-slide 2s infinite;
}

@keyframes line-slide {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}


/* セクション01 カテゴリー
------------------------------- */
/* カテゴリーメニュー */
.category-ac-nav {
    display: flex;
    gap: 20px;
    padding-bottom: 50px;
}

.category-nav-item {
    position: relative;
    flex: 1;
    height: 430px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.category-nav-item:hover {
    flex: 3;
}

.accordion-nav:has(.category-nav-item:hover)
.category-nav-item:not(:hover) {
    flex: 0.7; 
}

.category-nav-item:nth-child(1) {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.1)),url(../img/sec01-01.webp);
}

.category-nav-item:nth-child(2) {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.1)),url(../img/sec01-02.webp);
}

.category-ttl {
    position: relative;
    z-index: 2;
    padding: 35px 35px;
    color: var(--color-white);
}

.category-ja-txt {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-bottom: 10px;
}

.category-en-txt {
    display: block;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
}

.category-main-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.category-sub-menu {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 35px;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20; 
}

.category-nav-item:hover .category-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.category-sub-menu ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.category-sub-menu a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
    opacity: 0.8;
    transition: opacity 0.3s;
    gap: 10px; 
}

.category-sub-menu a:hover {
    opacity: 1;
}

.category-sub-menu a span {
    position: relative;
    padding-bottom: 5px;
    background-image: linear-gradient(var(--color-white), var(--color-white));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s ease;
}

.category-sub-menu a:hover span {
    background-size: 100% 1px;
}

.category-sub-menu a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--color-white);
    border-right: 1px solid var(--color-white);
    transform: rotate(45deg);
    opacity: 0;
    margin-left: -10px; 
    transition: all 0.3s ease;
}

.category-sub-menu a:hover::after {
    opacity: 1;
    margin-left: 0;
}

.toggle-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 30; 
}

.toggle-icon::before,
.toggle-icon::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background-color: var(--color-white);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.toggle-icon::after {
    transform: rotate(90deg);
}

.category-nav-item:hover .toggle-icon {
    background-color: var(--color-white);
    border-color: var(--color-white);
}

.category-nav-item:hover .toggle-icon::before {
    background-color: #242E43;
    transform: rotate(180deg);
}

.category-nav-item:hover .toggle-icon::after {
    background-color: #242E43;
    transform: rotate(270deg) scale(0);
}


/* オーダーガイド */
.guide-ttl {
    font-size: 1.5rem;
    color: var(--color-primary);
    padding-bottom: 20px;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 1);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.guide-card {
    background-color: var(--color-bg);
    border-radius: 8px;
    padding: 35px 20px;
    text-align: center;
    box-shadow: 0px 5px 15px 3px rgba(124, 128, 135, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px 5px rgba(124, 128, 135, 0.35);
}

.card-icon {
    width: 75px;
    height: 75px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 2rem;
}

.step-num {
    font-size: 1.125rem;
    color: var(--color-primary);
    padding-bottom: 5px;
}

.step-ttl {
    font-size: 1.125rem;
    color: var(--color-primary);
    padding-bottom: 25px;
    border-bottom: 1px solid #D9D6D6;
}

.step-txt {
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: center;
    padding-top: 25px;
}


/* セクション02 スライド
------------------------------- */
.sec-02 {
    padding: 45px 0;
    position: relative;
    overflow: hidden;
}

.crt-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: rgba(0, 0, 0, 0.6);
    background-image: radial-gradient(
        ellipse at center, 
        rgba(25, 25, 30, 0.6) 0%,
        rgba(15, 15, 20, 0.6) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.crt-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="2.5" numOctaves="4" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    background-size: 180px 180px;
    mix-blend-mode: difference;
}

.crt-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        0deg, 
        rgba(255, 255, 255, 0.25),
        rgba(255, 255, 255, 0.25) 1px,
        transparent 1px, 
        transparent 3px
    );
    mix-blend-mode: difference;
}

.sec02-slideshow {
    position: relative;
    z-index: 1;
}

.sec02-slideshow img {
    width: 300px;
    height: auto;
    margin: 0 10px;
    border-radius: 8px;
}


/* セクション03 メッセージ
------------------------------- */
.msg-content {
    width: calc((var(--width-content) - var(--space-unit)) * 0.73);
    max-width: 100%;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 1);
}

.msg-ttl {
    font-size: 1.875rem;
    padding-bottom: 35px;
}

.msg-txt {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.125rem;
    text-align: left;
    padding-bottom: 50px;
    margin: 0 auto;
    max-width: 100%;
    line-height: 1.5;
}

.msg-img {
    width: 150px;
    margin-right: 75px;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    transform-origin: center center;
}

.msg-img img {
    transform: rotate(15deg);
}

.msg-img.floating {
    animation: floating 3s ease-in-out infinite;
}
@keyframes floating {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1) translateY(-15px);
    }
}


/* セクション04 よくある質問
------------------------------- */
.sec-04 {
    padding: 100px 0 200px;
}

#faq {
    scroll-margin-top: 130px;
}

#faq > .wrapper > .flex-content {
    flex-direction: row-reverse;
}

.faq-content {
    width: calc((var(--width-content) - var(--space-unit)) * 0.73);
    max-width: 100%;
}

.faq-ttl {
    font-size: 1.875rem;
    padding-bottom: 35px;
}

.faq-list {
    padding-bottom: 50px;
}

details.faq-item {
    padding-bottom: 10px;
}

.faq-q {
    display: flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
    padding: 15px 15px;
    transition: background-color 0.3s ease;
}

.faq-q:hover {
    background-color: rgba(130, 170, 170, 0.1);
    border-radius: 8px;
}

.faq-q::-webkit-details-marker {
    display: none;
}

.icon-q {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: var(--color-primary);
    color: var(--color-bg);
    font-weight: 500;
    border-radius: 4px;
    margin-right: 25px;
    flex-shrink: 0;
}

.q-txt {
    flex: 1;
    font-size: 1.125rem;
}

.toggle-arrow {
    width: 12px;
    height: 12px;
    border-right: 2.5px solid var(--color-primary);
    border-bottom: 2.5px solid var(--color-primary);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-item.is-open .toggle-arrow {
    transform: rotate(-135deg);
}

.faq-a {
    padding: 0;
}

.a-inner {
    display: flex;
    align-items: flex-start;
    padding: 20px 15px;
}

.icon-a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1.5px solid var(--color-primary);
    color: var(--color-primary);
    font-weight: 500;
    background-color: var(--color-bg);
    border-radius: 4px;
    margin-right: 25px;
    flex-shrink: 0;
}

.a-txt {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.faq-btn {
    display: flex;
    gap: 20px;
}

.faq-img {
    width: 150px;
    margin-left: 45px;
    opacity: 0;
    transform: scale(0.5) translateY(20px);
    transform-origin: center center;
}

.faq-img img {
    transform: rotate(-15deg);
}

.faq-img.floating {
    animation: floating 3s ease-in-out infinite;
}


/* 
----------------------------------------------------------------
カスタムオーダー
---------------------------------------------------------------- */
.full-layout-container {
    display: grid;
    grid-template-columns: 1fr minmax(0, 1200px) 1fr;
    padding: 70px 0 150px;
}

.menu-main-content {
    grid-column: 2;
}

/* セクション01 カスタムリンク
------------------------------- */
#custom-flower,
#custom-stone,
#custom-color,
#custom-bottle {
    scroll-margin-top: 130px;
}

.custom-link-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 0;
}

.custom-link-item {
    flex: 1;
    position: relative;
    height: 400px;
    overflow: hidden;
    display: block;
}

.custom-link-img {
    width: 100%;
    height: 100%;
}

.custom-link-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.custom-link-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.custom-link-txt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: var(--color-white);
    width: 100%;
    height: 1.5em;
    pointer-events: none;
}

.custom-txt-en,
.custom-txt-ja {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-txt-en {
    font-size: 1.5rem;
    opacity: 1;
    transform: translateY(0);
}

.custom-txt-ja {
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(10px);
}

.custom-link-item:hover .custom-link-img img {
    transform: scale(1.1);
    filter: blur(5px);
}

.custom-link-item:hover .custom-link-img::after {
    background-color: rgba(0, 0, 0, 0.5);
}

.custom-link-item:hover .custom-txt-en {
    opacity: 0;
    transform: translateY(-10px);
}

.custom-link-item:hover .custom-txt-ja {
    opacity: 1;
    transform: translateY(0);
}


/* セクション02 カスタムメニュー
------------------------------- */

.menu-list {
    padding-top: 100px;
}

.sec-ttl-txt {
    font-size: 1.125rem;
    padding-bottom: 35px;
    color: var(--color-text-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    text-align: start;
    gap: 100px 75px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.menu-grid > a:nth-child(3n+1) .menu-item.fade-in {
    transition-delay: 0s;
}

.menu-grid > a:nth-child(3n+2) .menu-item.fade-in {
    transition-delay: 0.2s;
}

.menu-grid > a:nth-child(3n+3) .menu-item.fade-in {
    transition-delay: 0.4s;
}

.menu-item-img {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--color-bg);
}

.menu-item-img img {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-item:hover .menu-item-img img {
    transform: scale(1.1);
}

.menu-ttl {
    font-size: 1.5rem;
    font-weight: 500;
}

.menu-txt {
    color: var(--color-text-light);
    line-height: 1.5;
}

.menu-amount {
    font-size: 1.125rem;
}


/* サイドバー
------------------------------- */
.sidebar-drawer,
.sp-filter-control {
    display: none;
}

.menu-container {
    grid-column: 1;
    justify-self: center;
    align-self: start;
}

.sidebar-sticky-content {
    position: sticky;
    top: 150px;
    width: 210px;
    height: fit-content;
}

.menu-sidebar {
    flex-shrink: 0;
}

.sidebar-ttl {
    font-size: 1.5rem;
    color: var(--color-primary);
    padding-bottom: 15px;
    text-align: center;
}

.side-nav-header {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
}

.side-nav-header:hover {
    color: var(--color-primary);
}

.side-main-icon {
    margin-right: 10px;
    color: var(--color-accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.side-nav-item.active .side-main-icon {
    opacity: 1;
}

.side-nav-header span {
    font-size: 1.125rem;
    letter-spacing: 0.05em;
}

.side-toggle-icon {
    margin-left: auto;
    width: 12px;
    height: 12px;
    position: relative;
}

.side-toggle-icon::before,
.side-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-text-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s, opacity 0.3s;
}

.side-toggle-icon::before {
    width: 100%;
    height: 1px;
}

.side-toggle-icon::after {
    width: 1px;
    height: 100%;
}

.side-nav-item.active .side-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.side-sub-menu {
    display: none;
    padding-left: 30px;
    padding-top: 10px;
}

.side-nav-item.active .side-sub-menu {
    display: block;
}

.side-sub-menu li {
    font-size: 0.9375rem;
    padding-bottom: 15px;
}

.side-sub-menu a {
    color: var(--color-text-light);
    transition: color 0.3s;
}

.side-sub-menu a:hover {
    color: var(--color-primary);
}


/* オーダーガイド
------------------------------- */
.guide-sidebar-container {
    grid-column: 3;
    justify-self: center;
    align-self: stretch;
}

.order-guide-sticky {
    position: sticky;
    top: 150px;
    width: 280px;
    z-index: 100;
    height: fit-content;
}

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

.guide-header {
    width: 100%;
    background-color: var(--color-accent);
    border-radius: 8px;
    padding: 20px;
    font-size: 1.125rem;
    color: var(--color-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

.guide-header:hover {
    background-color: #CEC9A5;
}

.guide-icon {
    position: relative;
    width: 12px;
    height: 12px;
}

.guide-icon::before,
.guide-icon::after {
    content: "";
    position: absolute;
    background-color: var(--color-text-light);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s, opacity 0.3s;
}

.guide-icon::before {
    width: 100%;
    height: 2px;
}

.guide-icon::after {
    width: 2px;
    height: 100%;
}

.guide-header.is-active .guide-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.guide-body {
    display: none;
}

.guide-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.guide-step-card {
    background-color: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.step-header {
    background-color: var(--color-accent);
    padding: 15px;
    font-weight: 500;
    color: var(--color-text-light);
}

.step-content {
    padding: 15px;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--color-text-light);
    background-color: var(--color-bg);
}

.sp-order-controls,
.sp-guide-overlay {
    display: none;
}


/* 
----------------------------------------------------------------
バースシリーズ
---------------------------------------------------------------- */
/* セクション01 カスタムリンク
------------------------------- */
#birth-flower,
#birth-stone,
#birth-zodiac {
    scroll-margin-top: 130px;
}

.birth-link-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
}


/* 
----------------------------------------------------------------
アバウト
---------------------------------------------------------------- */
/* アバウトリンク
------------------------------- */
.abt-link {
    padding: 30px 0;
    font-size: 1.5rem;
    color: var(--color-text)
}

.abt-link li {
    justify-content: center;
    gap: 75px;
    transition: all .3s;
}

.abt-link a span {
    padding-bottom: 5px;
    background-image: linear-gradient(var(--color-primary), var(--color-primary));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s ease, color 0.3s ease;
}

.abt-link a:hover span {
    color: var(--color-primary);
    background-size: 100% 1px;
}


/* セクション01：ブランド
------------------------------- */
#brand {
    scroll-margin-top: 100px;
}

.brand {
    background-image: url(../img/abt-sec01.webp);
    background-size: cover;
    min-height: 830px;
}

.brand h2 {
    color: var(--color-bg);
    padding: 150px 0;
    text-shadow: none;
}

.brand h2::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background-color: var(--color-bg); 
    margin-left: 15px;
}

.brand-txt {
    width: 50%;
    margin-left: auto;
    box-sizing: border-box;
    color: var(--color-bg);
    line-height: 1.5;
}

.brand-txt h3 {
    font-size: 1.875rem;
    font-weight: 700;
    padding-bottom: 30px;
}

.brand-txt p {
    font-size: 1.125rem;
}


/* セクション02 コンセプト
------------------------------- */
#concept {
    scroll-margin-top: 100px;
}

.concept-item {
    display: flex;
    align-items: stretch;
    min-height: 500px;
    text-shadow: 0px 0px 10px rgba(255, 255, 255, 1);
}

.concept-item:nth-child(even) {
    flex-direction: row-reverse;
}

.concept-img-part,
.concept-txt-part {
    width: 50%;
    position: relative;
}

.concept-img-bg {
    background-color: var(--color-secondary);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px;
}

.concept-img-inner {
    background-color: var(--color-white);
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.concept-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.concept-label {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 1.125rem;
    color: var(--color-white);
    opacity: 0.8;
}

.concept-item:nth-child(even) .concept-label {
    right: auto;
    left: 20px;
}

.concept-txt-part {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.concept-num {
    display: block;
    font-size: 1.5rem;
    color: var(--color-text-light);
    padding-bottom: 30px;
}

.concept-item-ttl {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 30px;
}

.concept-item-ttl img {
    margin: 0;
}

.concept-item-ttl h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
}

.concept-item-txt {
    line-height: 1.7;
    color: var(--color-text-light);
    text-align: justify;
}


/* セクション03 カンパニー
------------------------------- */
#company {
    scroll-margin-top: 100px;
}

.company {
    padding: 100px 0 200px;
}

.company-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.company-sub-ttl {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 35px;
}

.company-list {
    border-top: 1px solid #ccc;
}

.company-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding: 35px 0;
}

.company-row dt {
    width: 40%;
    font-weight: 400;
    padding-left: 100px;
}

.company-row dd {
    width: 60%;
    color: var(--color-text-light);
}


/* 
----------------------------------------------------------------
お問い合わせ
---------------------------------------------------------------- */
/* セクション01 お問い合わせ
------------------------------- */
.contact-board {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 70px;
    margin: 0 auto;
    box-sizing: border-box;
}

.contact-ttl {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
}

.contact-lead {
    padding: 30px 0 70px;
    line-height: 1.7;
    color: var(--color-text-light);
}

.contact-form {
    margin: 0 auto;
}

.form-item {
    padding-bottom: 50px;
}

.form-label {
    display: flex;
    font-size: 1.125rem;
    align-items: center;
    padding-bottom: 15px;
    gap: 15px;
}

.badge {
    font-size: 0.9375rem;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 400;
}

.badge.required {
    color: var(--color-white);
    background-color: var(--color-primary);
}

.badge.optional {
    color: var(--color-primary);
    background-color: var(--color-white);
    border: 1px solid var(--color-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 20px 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: var(--color-white);
    font-size: 1rem;
    box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #bbb;
}

.form-textarea {
    height: 200px;
    resize: vertical;
}

.privacy-box {
    background-color: var(--color-secondary);
    padding: 25px;
    text-align: center;
    border-radius: 8px;
}

.privacy-box p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text);
}

.privacy-box a {
    transition: all .3s;
}

.privacy-box span {
    text-decoration: underline;
}

.privacy-box a:hover {
    color: var(--color-primary);
}

.privacy-agree {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 35px 0 50px;
}

#agree {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-text);
    background-color: var(--color-white);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    margin: 0;
    display: block;
}

#agree:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

#agree:checked::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-agree label {
    font-size: 1.125rem;
    cursor: pointer;
    color: var(--color-text);
    user-select: none;
}

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

.submit-btn {
    background-color: var(--color-secondary);
    color: var(--color-text);
    padding: 20px 80px;
    font-size: 1.125rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: var(--color-accent);
}

.privacy-agree .wpcf7-list-item label {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 15px;
    margin: 0;
}

.privacy-agree input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-spinner {
    margin: 0;
    width: 0;
}


/* 
----------------------------------------------------------------
ご利用ガイド
---------------------------------------------------------------- */
.user-guide-sec {
    padding: 100px 0;
}


/* サイドバー
------------------------------- */
.user-guide-sidebar {
    width: 275px;
    color: var(--color-text-light);
}

.user-guide-sidebar li {
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.user-guide-sidebar a {
    transition: all 0.3s ease;
}

.user-guide-sidebar a:hover {
    color: var(--color-primary);
}

.user-guide-sidebar .side-main-icon {
    margin-right: 5px;
    color: var(--color-accent);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
    display: inline-block;
}

.user-guide-sidebar li.is-current .side-main-icon {
    opacity: 1;
    transform: scale(1);
}

.user-guide-sidebar li.is-current .sub-nav-ttl {
    color: var(--color-primary);
    font-weight: 500;
}


/* セクション01 ご利用ガイド
------------------------------- */
.user-guide h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    padding-bottom: 15px;
}

.user-guide-item {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.user-guide-box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-margin-top: 130px;
}

.user-guide-txt {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 30px 30px 15px;
}

.user-guide-txt h3 {
    font-size: 1.125rem;
    font-weight: 500;
    padding-bottom: 15px;
}

.user-guide-txt p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    padding-bottom: 15px;
    line-height: 1.7;
}

.user-guide-txt a {
    color: var(--color-primary);
    text-decoration: underline;
    transition: all 0.3s;
}

.user-guide-txt a:hover {
    color: var(--color-accent);
}

.user-guide-txt ul,
.user-guide-txt ol {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    padding-bottom: 15px;
    padding-left: 0;
}

.user-guide-txt ul li {
    position: relative;
    padding-left: 1.5em;
}

.user-guide-txt ul li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--color-text-light);
    font-weight: bold;
}

.user-guide-txt ol {
    counter-reset: guide-counter;
}

.user-guide-txt ol li {
    position: relative;
    padding-left: 1.8em;
    counter-increment: guide-counter;
}

.user-guide-txt ol li::before {
    content: counter(guide-counter) ".";
    position: absolute;
    left: 0;
    color: var(--color-text-light);
}

.h3-space {
    padding-top: 30px;
}


/* 
----------------------------------------------------------------
特定商取引法に基づく表記
---------------------------------------------------------------- */
/* セクション01 リスト
------------------------------- */
.law-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ccc;
    padding: 25px 0;
}

.law-row dt {
    font-size: 1.125rem;
    font-weight: 400;
    padding-bottom: 10px;
}

.law-row dd {
    color: var(--color-text-light);
    line-height: 1.7;
}

.law-row dd ul {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    padding-left: 0;
}

.law-row dd ul li {
    position: relative;
    padding-left: 1.5em;
}

.law-row dd ul li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--color-text-light);
    font-weight: bold;
}


/* 
----------------------------------------------------------------
プライバシーポリシー
---------------------------------------------------------------- */
/* セクション01 リスト
------------------------------- */
.privacy p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    padding-bottom: 50px;
}

.privacy-list {
    border-top: 1px solid #ccc;
}

.privacy-row {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #ccc;
    padding: 50px 0;
}

.privacy-row dt {
    font-size: 1.5rem;
    font-weight: 500;
    padding-bottom: 20px;
}

.privacy-row dd {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.privacy-row dd ol {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    padding-left: 0;
}

.privacy-row dd ol {
    counter-reset: guide-counter;
}

.privacy-row dd ol li {
    position: relative;
    padding-left: 1.8em;
    counter-increment: guide-counter;
}

.privacy-row dd ol li::before {
    content: counter(guide-counter) ".";
    position: absolute;
    left: 0;
    color: var(--color-text-light);
}

.dd-space {
    padding-bottom: 15px;
}

.privacy-btn .btn {
    min-width: 300px;
}


/* -------------------------------
フッター
------------------------------- */
.footer {
    background-color: var(--color-secondary);
    padding-top: 100px;
    position: relative;
}

.footer::after {
    content: "";
    display: block;
    width: 100%;
    height: 135px;
    background-image: url('../img/footer-img.svg'); 
    background-repeat: repeat-x; 
    background-position: bottom center;
    background-size: contain;
    padding-bottom: 0;
}

.footer-top {
    padding-bottom: 100px;
    align-items: flex-start;
}

/* 上部左側：ロゴとSNS */
.footer-left {
    flex: 1;
    max-width: 255px;
}

.footer-logo img {
    width: 200px;
    height: auto;
    padding-bottom: 50px;
}

.footer-sns {
    padding: 0;
    gap: 25px;
}

.footer-sns a {
    font-size: 1.875rem;
    transition: all .3s;
}

.footer-sns a:hover {
    color: var(--color-primary);
}

/* 上部右側：サイトマップ */
.footer-right {
    flex: 2;
    max-width: 720px;
    align-items: flex-start;
    display: grid;
    grid-template-columns: 160px 160px 160px;
    gap: 35px 120px;
}

.column-ttl {
    font-size: 1.5rem;
    padding-bottom: 20px;
}

.column-ttl a {
    display: inline-block;
    transition: all .3s;
}

.column-ttl a span {
    padding-bottom: 5px;
    background-image: linear-gradient(var(--color-primary), var(--color-primary));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s ease, color 0.3s ease;
}

.column-ttl a:hover span {
    color: var(--color-primary);
    background-size: 100% 1px;
}

.column-nav li {
    padding-bottom: 15px;
}

.column-nav a {
    display: inline-flex;
    align-items: center;
    color: var(--color-text); 
    gap: 10px;
    transition: color 0.3s;
}

.column-nav a span {
    position: relative;
    padding-bottom: 5px;
    background-image: linear-gradient(var(--color-primary), var(--color-primary));
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s ease;
}

.column-nav a::after {
    content: '';
    width: 6px;
    height: 6px;
    border-top: 1px solid var(--color-primary);
    border-right: 1px solid var(--color-primary);
    transform: rotate(45deg);
    opacity: 0; 
    margin-left: -10px;
    transition: all 0.3s ease;
}

.column-nav a:hover {
    color: var(--color-primary);
}

.column-nav a:hover span {
    background-size: 100% 1px;
}

.column-nav a:hover::after {
    opacity: 1;
    margin-left: 0;
}

/* 下部 */
.footer-bottom {
    padding: 50px 0;
    color: var(--color-bg);
    border-top: 1px solid var(--color-bg);
}

.footer-info {
    align-content: space-between;
    gap: 20px;
}

.footer-info a {
    color: var(--color-bg); 
    transition: all .3s;
}

.footer-info a:hover {
    color: var(--color-primary);
}


/* --------------------------------
アニメーション関連
-------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px); 
    transition: all 0.8s ease;
}

.fade-in.is-active {
    opacity: 1;
    transform: translateY(0);
}

/* セクション03・04アニメーション */
@keyframes bloom-in {
    0% {
        opacity: 0;
        transform: scale(0.5) translateY(20px); 
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}
.bloom-appear {
    animation: bloom-in 1.5s ease-out forwards;
}
.floating-start {
    animation: floating 3s ease-in-out infinite;
}

/* バックグラウンドアニメーション */
.bg-flower { display: none; }

.home .bg-flower,
.page-about .bg-flower { display: block; }

.page-custom-flower .bg-flower-02,
.page-custom-flower .bg-flower-04,
.page-custom-stone .bg-flower-02,
.page-custom-stone .bg-flower-04,
.page-custom-color .bg-flower-02,
.page-custom-color .bg-flower-04,
.page-custom-bottle .bg-flower-02,
.page-custom-bottle .bg-flower-04,
.page-birth-flower .bg-flower-02,
.page-birth-flower .bg-flower-04,
.page-birth-stone .bg-flower-02,
.page-birth-stone .bg-flower-04,
.page-birth-zodiac .bg-flower-02,
.page-birth-zodiac .bg-flower-04 {
    display: block;
}

.page-contact .bg-animation,
.page-guide .bg-animation,
.page-privacy .bg-animation,
.page-law .bg-animation {
    display: none;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.bg-flower {
    position: absolute;
    width: 200px;
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    filter: blur(1.5px);
    transform-origin: center center;
    clip-path: circle(0% at 50% 50%);
    transition: all 0.3s ease-out;
}

.bg-flower-01 {
    width: 1000px;
    height: 1000px;
    top: 5%;
    left: -15%;
    background-image: url('../img/bg-flower01.webp');
}

.bg-flower-02 {
    width: 600px;
    height: 600px;
    top: 30%;
    right: -5%;
    background-image: url('../img/bg-flower02.webp');
}

.bg-flower-03 {
    width: 1000px;
    height: 1000px;
    top: 35%;
    left: -15%;
    background-image: url('../img/bg-flower03.webp');
}

.bg-flower-04 {
    width: 1100px;
    height: 1100px;
    top: 35%;
    right: -15%;
    background-image: url('../img/bg-flower04.webp');
}


/* --------------------------------
トップへ戻るボタン
-------------------------------- */
.pagetop {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 1000;
    display: inline-block;
    color: var(--color-text-light);
    font-size: 1.125rem;
    letter-spacing: 0.05em;
    border-top: 1px solid var(--color-text-light);
    padding-top: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, bottom 0.2s ease-out !important;
}

.pagetop.is-show {
    opacity: 1;
    visibility: visible;
}

.pagetop:hover {
    transform: translateY(-5px);
    opacity: 0.7;
}


/* --------------------------------
ローディングアニメーション
-------------------------------- */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    margin-bottom: 40px;
    opacity: 0;
    filter: blur(20px);
    animation: logoFadeIn 1.5s ease-out forwards;
    animation-delay: 0.3s;
}

.loading-logo img {
    width: 100px;
    height: auto;
}

@keyframes logoFadeIn {
    0% {
        opacity: 0;
        filter: blur(20px);
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        transform: scale(1);
    }
}

.loading-text {
    display: flex;
    gap: 8px;
    opacity: 0;
    animation: textShow 0.5s ease-out forwards;
    animation-delay: 1.8s;
}

.loading-text-words {
    display: inline-block;
    color: var(--color-white);
    font-family: 'Quattrocento Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    filter: blur(0px);
}

.loading-text-words:nth-child(1) {
    animation: blur-text 1.5s 2s infinite linear alternate;
}

.loading-text-words:nth-child(2) {
    animation: blur-text 1.5s 2.2s infinite linear alternate;
}

.loading-text-words:nth-child(3) {
    animation: blur-text 1.5s 2.4s infinite linear alternate;
}

.loading-text-words:nth-child(4) {
    animation: blur-text 1.5s 2.6s infinite linear alternate;
}

.loading-text-words:nth-child(5) {
    animation: blur-text 1.5s 2.8s infinite linear alternate;
}

.loading-text-words:nth-child(6) {
    animation: blur-text 1.5s 3s infinite linear alternate;
}

.loading-text-words:nth-child(7) {
    animation: blur-text 1.5s 3.2s infinite linear alternate;
}

.loading-screen.fade-out .loading-logo,
.loading-screen.fade-out .loading-text {
    opacity: 0;
    transition: opacity 0.5s ease;
}

@keyframes textShow {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes blur-text {
    0% {
        filter: blur(0px);
    }
    100% {
        filter: blur(4px);
    }
}


/* ロード後のアニメーション */
body.is-first-loading .header,
body.is-first-loading .mv-logo,
body.is-first-loading .mv-ttl,
body.is-first-loading .mv-scroll {
    opacity: 0;
    pointer-events: none;
}

body.is-first-loading .header {
    transform: translateY(-20px);
}

body.is-first-loading .mv-logo,
body.is-first-loading .mv-ttl,
body.is-first-loading .mv-scroll {
    transform: translateY(20px);
}

body.is-animating .header,
body.is-animating .mv-logo,
body.is-animating .mv-scroll {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-animating .header    { transition-delay: 3.5s; }
body.is-animating .mv-logo    { transition-delay: 0.3s; }
body.is-animating .mv-scroll  { transition-delay: 3.5s; }


/* 
----------------------------------------------------------------
注文ページ（woocommerce）
---------------------------------------------------------------- */
.product-flex-layout {
    display: flex;
    gap: 60px;
    margin-bottom: 80px;
}

.product-images {
    flex: 0 0 45%;
    max-width: 45%;
}

.flex-viewport {
    border-radius: 8px;
}

.woocommerce-product-gallery {
    margin: 0;
}

.woocommerce-product-gallery__wrapper {
    margin: 0;
}

.woocommerce-product-gallery__image {
    border-radius: 8px;
    overflow: hidden;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.flex-control-thumbs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    list-style: none;
    padding: 0;
}

.flex-control-thumbs li {
    flex: 1;
    max-width: 100px;
}

.flex-control-thumbs img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.flex-control-thumbs img:hover,
.flex-control-thumbs img.flex-active {
    opacity: 1;
    border-color: var(--color-text-light);
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 2.5rem;
    padding-bottom: 15px;
    color: var(--color-text-light);
    font-weight: 500;
}

.product-price {
    font-size: 1.125rem;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ddd;
}

.product-description {
    margin-bottom: 50px;
    line-height: 1.7;
    color: var(--color-text-light);
}

.product-cart-form {
    margin-top: 40px;
}

.variations_form {
    margin: 0;
}

.variations {
    margin-bottom: 43px;
    width: 100%;
}

.reset_variations {
    display: none !important;
}

.variations tbody {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px 25px;
}

.variations tr {
    display: flex;
    flex-direction: column;
}

.variations .label label {
    padding: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.variations label::before {
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    font-size: 1.1rem;
    padding-right: 8px;
}

.woo-variation-swatches.wvs-show-label .variations td .woo-selected-variation-item-name, .woo-variation-swatches.wvs-show-label .variations td label, .woo-variation-swatches.wvs-show-label .variations th .woo-selected-variation-item-name, .woo-variation-swatches.wvs-show-label .variations th label {
    margin: 0;
}

.variations label[for="pa_custom-flower-select"]::before {
    content: "\f4d8";
}

.variations label[for="pa_custom-stone-select"]::before {
    content: "\f3a5";
}

.variations label[for="pa_custom-bottle-select"]::before {
    content: "\f72f";
}

.variations label[for="pa_gift-select"]::before {
    content: "\f06b";
}

.variations label[for="pa_custom-color-select"]::before {
    content: "\f53f";
}

.variations label[for="pa_birth-flower-select"]::before {
    content: "\f4d8";
}

.variations label[for="pa_birth-stone-select"]::before {
    content: "\f3a5";
}

.variations label[for="pa_birth-zodiac-select"]::before {
    content: "\f005";
}

.variations .value {
    padding: 0;
    color: var(--color-text-light);
}

.variations select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: var(--color-bg);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.59L10.59 0L12 1.41l-6 6l-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    transition: border-color 0.3s ease;
}

.variations select:hover,
.variations select:focus {
    border-color: #999;
    outline: none;
}

.reset_variations {
    display: none;
}

.quantity {
    display: flex;
    padding-bottom: 64px;
    max-width: 100px;
}

.quantity label {
    font-weight: 500;
    font-size: 0.875rem;
    display: block;
}

.quantity .qty-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content
}

.quantity .input-text {
    width: 0px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 0.875rem;
    -moz-appearance: textfield;
}

.quantity .input-text::-webkit-outer-spin-button,
.quantity .input-text::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity .minus {
    width: 70px;
    height: 38px;
    color: var(--color-text-light);
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 23px 0 0 23px;
    background-color: var(--color-bg);
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.quantity .input-text {
    width: 30px !important;
    height: 38px;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
    border-radius: 0;
    text-align: center;
    font-size: 0.875rem;
}

.quantity .plus {
    width: 70px;
    height: 38px;
    color: var(--color-text-light);
    border: 1px solid #ddd;
    border-left: none;
    border-radius: 0 19px 19px 0;
    background-color: var(--color-bg);
    cursor: pointer;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.quantity .minus:hover,
.quantity .plus:hover {
    color: var(--color-text);
}

.stock {
    display: none !important;
}

.single_add_to_cart_button {
    width: 100%;
    padding: 20px 30px !important;
    background-color: var(--color-primary) !important;
    opacity: 1 !important;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.single_add_to_cart_button::before {
    content: "\f07a";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    padding-right: 8px;
}

.single_add_to_cart_button:hover {
    background-color: #5a8b84 !important;
}

.single_add_to_cart_button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.recommend-section {
    padding-top: 150px;
}

.recommend-section h2 {
    text-align: center;
    color: var(--color-text-light);
    font-size: 1.875rem;
    padding-bottom: 25px;
}

.recommend-section p {
    text-align: center;
    padding-bottom: 40px;
    font-size: 1.125rem;
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.recommend-grid-img {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}

.recommend-grid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.recommend-grid-img span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-white);
    font-size: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    text-align: center;
    pointer-events: none;
}

.recommend-grid-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.recommend-grid-img:hover img {
    transform: scale(1.1);
}

.recommend-grid-img:hover::after {
    opacity: 1;
}

.recommend-grid-img:hover span {
    opacity: 1;
}

body.birth-series-product .recommend-grid {
    grid-template-columns: repeat(4, 1fr);
}

.header-cart-link {
    position: relative;
    display: inline-block;
}

.cart-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background-color: var(--color-accent);
    border-radius: 50%;
    border: 2px solid var(--color-white);
}

