/*
Theme Name: Yoshimura Inline
Author: Yoshimura
Description: Self-contained theme with inline JavaScript - no external dependencies
Version: 4.0
*/

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0a1e;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-logo {
    text-align: left;
}

.logo-text {
    font-family: 'Sawarabi Mincho', serif;
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 0.2em;
    font-weight: 300;
}

/* ナビゲーション */
.main-navigation {
    float: right;
    margin-top: -30px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #fff;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* ヒーローセクション */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    display: none;
    transition: opacity 0.5s ease-in-out;
}

/* 最初のスライドはデフォルトで表示 */
.hero-slide:first-child {
    opacity: 1;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 30, 0.8) 0%,
        rgba(20, 20, 40, 0.6) 50%,
        rgba(10, 10, 30, 0.8) 100%
    );
    z-index: 2;
}

/* スライダーインジケーター */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ffeb3b;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    color: #fff;
}

.hero-title {
    font-family: 'Yuji Boku', 'Kaisei Tokumin', serif;
    font-size: 6rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    margin-bottom: 30px;
    color: #ffffff;
    text-shadow: 
        4px 4px 20px rgba(0, 0, 0, 0.9),
        2px 2px 10px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 255, 255, 0.3);
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    animation: fadeInTitle 1.5s ease-out;
}

.hero-subtitle {
    font-family: 'Yuji Boku', 'Kaisei Tokumin', serif;
    font-size: 3.5rem;
    letter-spacing: 0.6em;
    color: #ffeb3b;
    text-shadow: 
        3px 3px 15px rgba(0, 0, 0, 0.9),
        2px 2px 8px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 235, 59, 0.5);
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
    animation: fadeInSubtitle 1.5s ease-out 0.3s both;
}

@keyframes fadeInTitle {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSubtitle {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 波模様の境界線 */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 10;
    overflow: hidden;
}

.wave-divider::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%230a0a1e' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,138.7C672,149,768,203,864,218.7C960,235,1056,213,1152,197.3C1248,181,1344,171,1392,165.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 100px;
    animation: wave 30s linear infinite;
}

.wave-divider::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'%3E%3Cpath fill='%2316162c' fill-opacity='0.5' d='M0,224L48,208C96,192,192,160,288,165.3C384,171,480,213,576,224C672,235,768,213,864,186.7C960,160,1056,128,1152,133.3C1248,139,1344,181,1392,202.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    background-size: 1440px 100px;
    animation: wave 20s linear infinite reverse;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* コンセプトセクション */
.concept {
    background: linear-gradient(135deg, #0a0a1e 0%, #16162c 100%);
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.concept-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.concept-title {
    font-family: 'Yuji Boku', 'Kaisei Tokumin', serif;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 50px;
    letter-spacing: 0.2em;
}

.concept-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 2.5;
    letter-spacing: 0.15em;
    margin-bottom: 50px;
}

.concept-text p {
    margin: 15px 0;
}

/* こだわりセクション */
.kodawari {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    padding: 100px 20px;
    position: relative;
}

.section-title {
    font-family: 'Yuji Boku', 'Kaisei Tokumin', serif;
    font-size: 3.5rem;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: 0.3em;
    text-shadow: 
        3px 3px 15px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 255, 255, 0.2);
    animation: fadeIn 1s ease-out;
}

.section-subtitle {
    font-family: 'Klee One', 'Sawarabi Mincho', serif;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.1em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-out 0.2s both;
}

.kodawari-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 80px;
}

.kodawari-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    animation: slideUp 0.8s ease-out both;
}

.kodawari-item:nth-child(1) { animation-delay: 0.3s; }
.kodawari-item:nth-child(2) { animation-delay: 0.5s; }
.kodawari-item:nth-child(3) { animation-delay: 0.7s; }

.kodawari-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.kodawari-item:hover {
    transform: translateY(-10px);
}

.kodawari-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.kodawari-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.kodawari-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kodawari-item:hover .kodawari-image img {
    transform: scale(1.1);
}

.kodawari-image h3 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Yuji Mai', 'Kaisei Tokumin', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.4em;
    z-index: 2;
    text-shadow: 
        4px 4px 20px rgba(0, 0, 0, 0.9),
        2px 2px 10px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 235, 59, 0.3);
    -webkit-text-stroke: 1.5px rgba(255, 235, 59, 0.3);
    transition: all 0.3s ease;
}

.kodawari-item:hover h3 {
    transform: translateX(-50%) scale(1.1);
    text-shadow: 
        4px 4px 25px rgba(0, 0, 0, 0.9),
        2px 2px 15px rgba(0, 0, 0, 0.8),
        0 0 50px rgba(255, 235, 59, 0.5);
    -webkit-text-stroke: 2px rgba(255, 235, 59, 0.5);
}

/* 各アイテムの特別な色付け */
.kodawari-item:nth-child(1) h3 {
    color: #ff6b6b;
    text-shadow: 
        4px 4px 20px rgba(0, 0, 0, 0.9),
        2px 2px 10px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 107, 107, 0.5);
    -webkit-text-stroke: 1.5px rgba(255, 107, 107, 0.3);
}

.kodawari-item:nth-child(2) h3 {
    color: #ffd93d;
    text-shadow: 
        4px 4px 20px rgba(0, 0, 0, 0.9),
        2px 2px 10px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 217, 61, 0.5);
    -webkit-text-stroke: 1.5px rgba(255, 217, 61, 0.3);
}

.kodawari-item:nth-child(3) h3 {
    color: #6bcf7f;
    text-shadow: 
        4px 4px 20px rgba(0, 0, 0, 0.9),
        2px 2px 10px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(107, 207, 127, 0.5);
    -webkit-text-stroke: 1.5px rgba(107, 207, 127, 0.3);
}

/* アニメーション定義 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* メニューセクション */
.menu-title {
    font-family: 'Yuji Boku', 'Kaisei Tokumin', serif;
    font-size: 3rem;
    text-align: center;
    color: #f5dc00;
    margin: 40px 0 10px;
    letter-spacing: 0.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
}

.menu-btn {
    display: block;
    margin: 0 auto 60px;
    background: transparent;
    color: #f5dc00;
    border: 2px solid rgba(245, 220, 0, 0.5);
    padding: 15px 60px;
    font-size: 1rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: fit-content;
}

.menu-btn:hover {
    border-color: #f5dc00;
    background: rgba(245, 245, 220, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245, 245, 220, 0.2);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-item {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.menu-item:hover img {
    transform: scale(1.1);
}

.menu-item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
    color: #fff;
    padding: 30px 15px 15px;
    text-align: center;
}

.menu-item-info h5 {
    font-family: 'Klee One', 'Noto Sans JP', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.menu-price {
    font-size: 1.3rem;
    color: #ffeb3b;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* お持ち帰り・求人セクション */
.takeout,
.recruit {
    position: relative;
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.takeout-bg,
.recruit-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.takeout-bg img,
.recruit-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.takeout-content,
.recruit-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.takeout-content h2,
.recruit-content h2 {
    font-family: 'Yuji Boku', 'Kaisei Tokumin', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
    letter-spacing: 0.15em;
    font-weight: 400;
}

.takeout-content p,
.recruit-content p {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.takeout-btn,
.recruit-btn {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 50px;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.takeout-btn:hover,
.recruit-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* レスポンシブ対応 - ヒーローセクション */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 0.2em;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    }
    
    .hero-subtitle {
        font-size: 2rem;
        letter-spacing: 0.4em;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.15em;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        letter-spacing: 0.3em;
    }
}

/* 店舗案内セクション */
.store {
    background: #1a1a2e;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.store-content {
    padding: 80px 60px;
    color: #fff;
}

.store-attention {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.attention-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff6b6b;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    background: rgba(255, 107, 107, 0.1);
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.store-content h2 {
    font-family: 'Yuji Boku', 'Kaisei Tokumin', serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    letter-spacing: 0.15em;
    font-weight: 400;
}

.store-info h3 {
    font-size: 1rem;
    margin-top: 30px;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

.business-hours {
    margin-left: 20px;
}

.business-hours p {
    font-size: 0.9rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.7);
    margin: 8px 0;
}

.store-btn {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 50px;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 40px;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.store-map {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.store-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* フッター */
.footer {
    background: #0a0a1e;
    padding: 50px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo span {
    font-family: 'Sawarabi Mincho', serif;
    font-size: 24px;
    color: #fff;
    letter-spacing: 0.2em;
}

/* SNS Section */
.footer-sns {
    margin: 40px 0;
    text-align: center;
}

.sns-title {
    font-family: 'Klee One', 'Noto Sans JP', sans-serif;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.sns-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sns-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.sns-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: transparent;
}

.sns-button svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Individual SNS brand colors on hover */
.sns-button.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}

.sns-button.twitter:hover {
    background: #000000;
    color: #fff;
}

.sns-button.facebook:hover {
    background: #1877f2;
    color: #fff;
}

.sns-button.line:hover {
    background: #00c300;
    color: #fff;
}

.sns-button.youtube:hover {
    background: #ff0000;
    color: #fff;
}

.sns-button.threads:hover {
    background: #000000;
    color: #fff;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

/* スクロールアニメーション */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* セクション別のアニメーション調整 */
.concept.fade-in-up {
    transition-duration: 1s;
}

.concept-title.fade-in-up {
    transition-duration: 1.2s;
    transform: translateY(40px);
}

.concept-text p.fade-in-up {
    transition-duration: 0.8s;
    transition-delay: 0.1s;
}

.kodawari.fade-in-up {
    transition-duration: 1s;
}

.section-title.fade-in-up {
    transition-duration: 1.2s;
    transform: translateY(40px);
}

.section-subtitle.fade-in-up {
    transition-duration: 1s;
    transition-delay: 0.2s;
}

.kodawari-item.fade-in-up {
    transition-duration: 0.8s;
}

.menu-title.fade-in-up,
.menu-subtitle.fade-in-up,
.menu-btn.fade-in-up {
    transition-duration: 0.6s;
}

.menu-item.fade-in-up {
    transition-duration: 0.7s;
}

.takeout.fade-in-up,
.recruit.fade-in-up {
    transition-duration: 1.2s;
    transform: translateY(50px);
}

.takeout.fade-in-up.animated,
.recruit.fade-in-up.animated {
    transform: translateY(0);
}

.takeout-content h2.fade-in-up,
.recruit-content h2.fade-in-up {
    transition-duration: 1s;
    transform: translateY(30px);
}

.takeout-content p.fade-in-up,
.recruit-content p.fade-in-up {
    transition-duration: 0.8s;
    transition-delay: 0.2s;
}

.takeout-btn.fade-in-up,
.recruit-btn.fade-in-up {
    transition-duration: 0.6s;
    transition-delay: 0.4s;
}

.store.fade-in-up {
    transition-duration: 1s;
}

.store h2.fade-in-up,
.store-info h3.fade-in-up {
    transition-duration: 0.8s;
}

.store-info p.fade-in-up,
.business-hours.fade-in-up {
    transition-duration: 0.6s;
    transition-delay: 0.1s;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }
    
    .main-navigation {
        float: none;
        margin-top: 10px;
    }
    
    .nav-menu {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .kodawari-grid,
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .store {
        grid-template-columns: 1fr;
    }
    
    .store-content {
        padding: 40px 20px;
    }
}