@charset "utf-8";

/* =====================キービジュアルここから===================== */
.key-visual{
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.key-visual video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* iPhone Safari対策 */
    filter: brightness(0.9) contrast(0.95);
    transform: translateZ(0);
    backface-visibility: hidden;
}

.key-visual h2{
    position: relative;
    z-index: 10;
    width: 300px;
    animation: logoAppear 1.5s ease-out forwards;
}
@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.85) translateY(-40px);
    }
    60% {
        transform: scale(1.05) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
.key-visual h2 img{
    max-width: 160%;
    filter: drop-shadow(0 6px 25px rgba(107, 87, 68, 0.5));
    margin-left: -131px;
}
.key-visual .scroll{
    position: absolute;
    left: 5.2%;
    bottom: 80px;
    color: #fff;
    transform: rotate(90deg);
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    z-index: 10;
    font-weight: 500;
}
.key-visual .scroll::after{
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, #fff, transparent);
    position: absolute;
    left: 120%;
    top: 50%;
    transform-origin: left;
    animation: scroll 1.5s ease-in infinite;
}
@keyframes scroll{
    0%{transform: scaleX(0); opacity: 1;}
    90%{transform: scaleX(1); opacity: 1;}
    100%{transform: scaleX(1); opacity: 0;}
}
/* =====================キービジュアルここまで===================== */

/* =====================カーソルエフェクト（足跡のみ）===================== */
.cursor-paw {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    font-size: 2rem;
    opacity: 0;
    transition: opacity 0.3s;
}
@keyframes pawFade {
    0% { opacity: 0.8; transform: scale(1) rotate(0deg); }
    100% { opacity: 0; transform: scale(0.5) rotate(20deg); }
}
/* =====================カーソルエフェクトここまで===================== */

/* =====================固定問い合わせボタン===================== */
.fixed-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(107, 87, 68, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 12px 35px rgba(107, 87, 68, 0.4);
}

/* 電話ボタン */
.phone-btn {
    background: linear-gradient(135deg, #8fbc8f 0%, #6b9d6b 100%);
}

.phone-btn i {
    font-size: 2.8rem;
    color: #fff;
    animation: phoneRing 2s ease-in-out infinite;
}

@keyframes phoneRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
    50% { transform: rotate(0deg); }
}

/* Instagramボタン */
.instagram-btn {
    background: linear-gradient(135deg, #e4405f 0%, #d63384 50%, #9b4dca 100%);
}

.instagram-btn i {
    font-size: 2.8rem;
    color: #fff;
}

/* minneボタン */
.minne-btn {
    background: linear-gradient(135deg, #f5a623 0%, #e68900 100%);
}

.minne-btn i {
    font-size: 2.8rem;
    color: #fff;
}

/* ツールチップ */
.contact-button::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 85px;
    background: rgba(107, 87, 68, 0.95);
    color: #fff;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 1.4rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.contact-button:hover::after {
    opacity: 1;
    visibility: visible;
    right: 95px;
}

/* スマホ版調整 */
@media (max-width: 768px) {
    .fixed-contact-btn {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .contact-button {
        width: 60px;
        height: 60px;
    }
    
    .phone-btn i,
    .instagram-btn i,
    .minne-btn i {
        font-size: 2.4rem;
    }
    
    /* スマホではツールチップを非表示 */
    .contact-button::after {
        display: none;
    }
}

@media (max-width: 520px) {
    .fixed-contact-btn {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .contact-button {
        width: 55px;
        height: 55px;
    }
    
    .phone-btn i,
    .instagram-btn i,
    .minne-btn i {
        font-size: 2.2rem;
    }
}
/* =====================固定問い合わせボタンここまで===================== */

/* =====================スライダーここから===================== */
.slider{
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 0 120px;
}
.slick01 li {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin: 0 15px;
    box-shadow: 0 8px 30px rgba(107, 87, 68, 0.2);
}
.slick01 li img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    filter: brightness(0.92) contrast(1.08) saturate(0.95);
    transform: scale(1.08);
    transition: transform 2.5s ease, filter 1.2s ease;
}
.slick01 li.slick-active img {
    transform: scale(1);
    filter: brightness(1) contrast(1) saturate(1);
}
.slide-caption {
    position: absolute;
    bottom: 10%;
    left: 7%;
    color: #fff;
    z-index: 10;
    max-width: 520px;
    opacity: 0;
    transform: translateY(35px);
    transition: all 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, rgba(107, 87, 68, 0.85), rgba(90, 64, 50, 0.75));
    padding: 28px 35px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.slick-active .slide-caption {
    opacity: 1;
    transform: translateY(0);
}
.slide-caption h3 {
    font-size: 2.6rem;
    font-weight: 500;
    margin-bottom: 0.6em;
    letter-spacing: 0.1em;
}
.slide-caption p {
    font-size: 1.55rem;
    font-weight: 300;
    line-height: 1.9;
}
.slick01 li::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(to top, rgba(90, 64, 50, 0.6), rgba(90, 64, 50, 0));
    pointer-events: none;
}
.slick-dots {
    bottom: 28px;
}
.slick-dots li button:before {
    font-size: 12px;
    color: #fff;
    opacity: 0.5;
    transition: all 0.3s ease;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: #fff;
    transform: scale(1.5);
}
/* =====================スライダーここまで===================== */

/* =====================メインコンテンツここから===================== */
.main-cont{
    padding: 120px 0;
    background: linear-gradient(180deg, #fdfcfa 0%, #f5f0ea 100%);
}
.main-cont-item{
    display: flex;
    align-items: flex-start;
    padding-top: 80px;
}
.main-cont-item:first-child{
    padding-top: 0;
}
.main-cont-item:nth-child(2){
    flex-direction: row-reverse;
}
.main-cont-text{
    width: 50%;
}
.main-cont-item:nth-child(1) .main-cont-text{
    padding-right: 5%;
}
.main-cont-item:nth-child(2) .main-cont-text{
    padding-left: 5%;
}
.main-cont-item img{
    width: 50%;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(107, 87, 68, 0.15);
}
/* =====================メインコンテンツここまで===================== */

/* =====================作品リストここから===================== */
.shop-list{
    padding: 120px 0;
    background: linear-gradient(135deg, #ebe3d8 0%, #e0d5c7 100%);
}
.works-intro{
    max-width: 820px;
    margin: 0 auto 75px;
    text-align: center;
    font-size: 1.7rem;
    line-height: 2.3;
    color: #5a4032;
    background: rgba(255, 255, 255, 0.5);
    padding: 35px 50px;
    border-radius: 12px;
}
.works-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 55px;
}
.shop-list-item {
    background: linear-gradient(180deg, #fdfcfa 0%, #f9f6f2 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(107, 87, 68, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(196, 181, 160, 0.3);
}
.shop-list-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 18px 45px rgba(107, 87, 68, 0.25);
}
.work-image {
    width: 100%;
    height: 340px;
    background: linear-gradient(135deg, #e4dace 0%, #c4b5a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b6f47;
    font-size: 1.5rem;
    overflow: hidden;
    position: relative;
}
.work-placeholder{
    position: relative;
    z-index: 2;
}
.work-image::before {
    content: '';
    position: absolute;
    font-size: 9rem;
    opacity: 0.12;
}
.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.shop-list-item:hover .work-image img {
    transform: scale(1.18);
}
.shop-list-item-text {
    padding: 38px 32px;
}
.shop-list-item-text h3 {
    font-size: 2.1rem;
    margin-bottom: 16px;
    font-weight: 500;
    color: #6b5744;
    position: relative;
    padding-left: 18px;
}
.shop-list-item-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 85%;
    background: linear-gradient(to bottom, #9d8672, #c4b5a0);
    border-radius: 3px;
}
.work-desc {
    font-size: 1.55rem;
    color: #7a6856;
    line-height: 2;
}
/* =====================作品リストここまで===================== */

/* =====================オーダーここから===================== */
.news{
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f0ea 0%, #ebe3d8 100%);
}
.order-intro{
    max-width: 820px;
    text-align: center;
    font-size: 1.7rem;
    line-height: 2.5;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(253, 249, 244, 0.7));
    padding: 55px 65px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(107, 87, 68, 0.12);
    border: 1px solid rgba(196, 181, 160, 0.3);
}
/* =====================オーダーここまで===================== */


/* ブレイクポイント768px（タブレット用） */
@media ( max-width:768px ){
    .main-cont{
        padding-bottom: 100px;
    }
    .main-cont-item,
    .main-cont-item:nth-child(2){
        flex-direction: column;
    }
    .main-cont-text{
        width: 85%;
        margin: 0 auto 40px;
    }
    .main-cont-item:nth-child(1) .main-cont-text,
    .main-cont-item:nth-child(2) .main-cont-text{
        padding: 0;
    }
    .main-cont-text h2{
        text-align: center;
    }
    .main-cont-item img,
    .main-cont-video{
        width: 100%;
    }
    .works-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media ( max-width: 520px ){
    .key-visual{
        height: 100vh;
    }
    .key-visual video{
        width: auto;
        height: 100vh;
        left: 50%;
        transform: translateX(-50%);
    }
    .key-visual h2{
        width: 220px;
    }
    .key-visual h2 img {
        max-width: 160%;
        filter: drop-shadow(0 6px 25px rgba(107, 87, 68, 0.5));
        margin-left: -76px;
    }
    .scroll{
        bottom: 65px;
        font-size: 1.1rem;
    }
    .slider{
        padding: 80px 0 95px;
    }
    .slick01 li{
        margin: 0 10px;
    }
    .slick01 li img{
        height: 380px;
    }
    .main-cont, .shop-list, .news{
        padding: 100px 0;
    }
    .order-intro{
        padding: 42px 32px;
    }
}

/* ブレイクポイント375px（小型スマホ用） */
@media ( max-width: 375px ){
    .key-visual h2{
        width: 180px;
    }
    .key-visual h2 img {
        max-width: 160%;
        margin-left: -60px;
    }
    .scroll{
        bottom: 50px;
        font-size: 1rem;
        left: 3%;
    }
    .main-copy{
        padding: 100px 0 80px;
    }
    .main-copy h1{
        font-size: 2.4rem;
        margin-bottom: 30px;
    }
    .main-copy p{
        font-size: 1.5rem;
        line-height: 2.1;
    }
    .slider{
        padding: 60px 0 80px;
    }
    .slick01 li{
        margin: 0 8px;
        border-radius: 12px;
    }
    .slick01 li img{
        height: 320px;
    }
    .slide-caption{
        bottom: 8%;
        left: 5%;
        max-width: 85%;
        padding: 20px 25px;
    }
    .slide-caption h3{
        font-size: 2rem;
        margin-bottom: 0.4em;
    }
    .slide-caption p{
        font-size: 1.3rem;
    }
    .main-cont h2{
        font-size: 3.6rem;
        margin-bottom: 30px;
    }
    .main-cont-text{
        width: 90%;
    }
    .main-cont-text p{
        font-size: 1.5rem;
        line-height: 2.2;
    }
    .main-cont, .shop-list, .news{
        padding: 80px 0;
    }
    .common-cont-title{
        font-size: 3.6rem;
        margin-bottom: 40px;
    }
    .works-intro{
        padding: 28px 35px;
        font-size: 1.5rem;
        margin-bottom: 60px;
    }
    .works-grid{
        gap: 35px;
    }
    .work-image{
        height: 280px;
    }
    .shop-list-item-text{
        padding: 30px 25px;
    }
    .shop-list-item-text h3{
        font-size: 1.9rem;
        margin-bottom: 12px;
    }
    .work-desc{
        font-size: 1.4rem;
    }
    .order-intro{
        padding: 35px 25px;
        font-size: 1.5rem;
        line-height: 2.3;
    }
    .fixed-contact-btn{
        bottom: 12px;
        right: 12px;
        gap: 8px;
    }
    .contact-button{
        width: 50px;
        height: 50px;
    }
    .phone-btn i,
    .instagram-btn i,
    .minne-btn i{
        font-size: 2rem;
    }
}


/* ネーム刺繍サービスセクション */
.name-embroidery-section {
    max-width: 900px;
    margin: 0 auto 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(253, 249, 244, 0.8));
    padding: 60px 70px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(107, 87, 68, 0.12);
    border: 1px solid rgba(196, 181, 160, 0.3);
}

.service-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: #6b5744;
    text-align: center;
    margin-bottom: 35px;
    letter-spacing: 0.08em;
}

.service-intro {
    font-size: 1.7rem;
    line-height: 2.4;
    color: #5a4032;
    text-align: center;
    margin-bottom: 50px;
}

.service-content h4 {
    font-size: 2rem;
    font-weight: 500;
    color: #6b5744;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid #9d8672;
}

.service-content p {
    font-size: 1.65rem;
    line-height: 2.4;
    color: #5a4032;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .name-embroidery-section {
        padding: 45px 40px;
        margin-bottom: 60px;
    }
    
    .service-title {
        font-size: 2.4rem;
        margin-bottom: 28px;
    }
    
    .service-intro {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }
    
    .service-content h4 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .service-content p {
        font-size: 1.5rem;
    }
}

@media (max-width: 375px) {
    .name-embroidery-section {
        padding: 35px 28px;
    }
    
    .service-title {
        font-size: 2.1rem;
    }
    
    .service-intro {
        font-size: 1.5rem;
    }
    
    .service-content h4 {
        font-size: 1.7rem;
    }
    
    .service-content p {
        font-size: 1.4rem;
    }
}

/* =============== ネーム刺繍案内ボタン（猫っぽいデザイン・大きめ） =============== */
/* top.cssに追記 */

.name-service-btn {
    position: absolute;
    top: 120px;
    left: 40px;
    z-index: 15;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: linear-gradient(135deg, rgba(228, 218, 206, 0.95), rgba(245, 235, 224, 0.9));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(157, 134, 114, 0.4);
    border-radius: 50px 50px 50px 8px; /* 猫の耳っぽい形 */
    color: #6b5744;
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(107, 87, 68, 0.2);
    transition: all 0.3s ease;
    animation: catBounce 2.5s ease-in-out infinite;
}

/* 猫耳の装飾（擬似要素） */
.name-service-btn::before,
.name-service-btn::after {
    content: '';
    position: absolute;
    top: -10px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, rgba(228, 218, 206, 0.95), rgba(245, 235, 224, 0.9));
    border: 2px solid rgba(157, 134, 114, 0.4);
    border-bottom: none;
    border-right: none;
}

.name-service-btn::before {
    left: 25px;
    transform: rotate(45deg);
    border-radius: 4px 0 0 0;
}

.name-service-btn::after {
    right: 25px;
    transform: rotate(45deg);
    border-radius: 4px 0 0 0;
}

/* ゆらゆら揺れるアニメーション */
@keyframes catBounce {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-8px) rotate(-2deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-5px) rotate(2deg);
    }
}

.name-service-btn:hover {
    background: linear-gradient(135deg, rgba(228, 218, 206, 1), rgba(245, 235, 224, 0.98));
    box-shadow: 0 8px 25px rgba(107, 87, 68, 0.3);
    transform: translateY(-3px) scale(1.05);
    animation: none; /* ホバー時はアニメーション停止 */
}

.btn-icon {
    font-size: 2.2rem;
    animation: pawWiggle 1.5s ease-in-out infinite;
}

/* 肉球アイコンが小さく揺れる */
@keyframes pawWiggle {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-15deg) scale(1.1);
    }
    75% {
        transform: rotate(15deg) scale(1.1);
    }
}

.btn-text {
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

/* タブレット */
@media (max-width: 768px) {
    .name-service-btn {
        top: 100px;
        left: 30px;
        padding: 16px 32px;
        font-size: 1.5rem;
    }
    
    .btn-icon {
        font-size: 2rem;
    }
    
    .name-service-btn::before,
    .name-service-btn::after {
        width: 18px;
        height: 18px;
        top: -9px;
    }
    
    .name-service-btn::before {
        left: 22px;
    }
    
    .name-service-btn::after {
        right: 22px;
    }
}

/* スマホ */
@media (max-width: 520px) {
    .name-service-btn {
        top: 90px;
        left: 20px;
        padding: 14px 28px;
        font-size: 1.4rem;
        gap: 10px;
    }
    
    .btn-icon {
        font-size: 1.8rem;
    }
    
    .name-service-btn::before,
    .name-service-btn::after {
        width: 16px;
        height: 16px;
        top: -8px;
    }
    
    .name-service-btn::before {
        left: 18px;
    }
    
    .name-service-btn::after {
        right: 18px;
    }
    
    @keyframes catBounce {
        0%, 100% {
            transform: translateY(0) rotate(0deg);
        }
        50% {
            transform: translateY(-6px) rotate(0deg);
        }
    }
}

/* 小型スマホ */
@media (max-width: 375px) {
    .name-service-btn {
        top: 85px;
        left: 15px;
        padding: 12px 24px;
        font-size: 1.3rem;
    }
    
    .btn-icon {
        font-size: 1.7rem;
    }
    
    .btn-text {
        font-size: 1.3rem;
    }
    
    .name-service-btn::before,
    .name-service-btn::after {
        width: 14px;
        height: 14px;
        top: -7px;
    }
    
    .name-service-btn::before {
        left: 15px;
    }
    
    .name-service-btn::after {
        right: 15px;
    }
}