/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 55px; /* ヘッダーの実際の高さに調整 */
    padding-bottom: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
}

.nav-secondary {
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h2 {
    font-family: 'Playfair Display', serif;
    color: #d4a574;
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: #d4a574;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a574;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* PCでのみ上下に分けて表示 */
@media (min-width: 769px) {
    .header {
        display: flex;
        flex-direction: column;
    }
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 3;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #d4a574;
    margin-bottom: 1rem;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-location {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: inline-block;
    background: #d4a574;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.8s both;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.cta-button:hover {
    background: #c19a6b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 165, 116, 0.4);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.floating-elements {
    position: relative;
    width: 200px;
    height: 200px;
}

.floating-elements i {
    position: absolute;
    color: #d4a574;
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.floating-elements i:nth-child(1) {
    top: 20px;
    left: 50px;
    animation-delay: 0s;
}

.floating-elements i:nth-child(2) {
    top: 80px;
    right: 30px;
    animation-delay: 1s;
}

.floating-elements i:nth-child(3) {
    bottom: 40px;
    left: 80px;
    animation-delay: 2s;
}

/* セクション共通スタイル */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #d4a574;
}

/* サロンについて */
.story {
    padding: 5rem 0;
    background: #fafafa;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h3 {
    font-family: 'Playfair Display', serif;
    color: #d4a574;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.story-text h3:first-child {
    margin-top: 0;
}

.story-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #666;
}

.story-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
}

.story-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.story-img-1 {
    bottom: 60px;
    right: 30px;
    z-index: 1;
    transform: rotate(-5deg) translate(-10px, -10px) !important;
}

.story-img-2 {
    top: 100px;
    left: 120px;
    z-index: 2;
    transform: rotate(3deg) !important;
}

/* サービス */
.details {
    padding: 5rem 0;
    background: white;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.detail-card {
    background: #fafafa;
    padding: 0;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    overflow: hidden;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.detail-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.detail-card:hover .service-img {
    transform: scale(1.1);
}

.detail-icon {
    font-size: 2.5rem;
    color: #d4a574;
    margin: 1.5rem 0 1rem;
}

.detail-card h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.detail-card p {
    color: #666;
    margin-bottom: 0.5rem;
    padding: 0 1rem 1rem;
}

/* 料金セクション */
.price-section {
    text-align: center;
    background: #fafafa;
    padding: 3rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.price-section h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.price-section p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.price-button {
    display: inline-block;
    background: #d4a574;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.price-button:hover {
    background: #c19a6b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 165, 116, 0.3);
}

/* ギャラリー */
.gallery {
    padding: 5rem 0;
    background: #fafafa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    height: 250px;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 2rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin: 0;
}

/* お問い合わせ */
.rsvp {
    padding: 5rem 0;
    background: white;
}

.rsvp-description {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* LINE連絡セクション */
.line-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    background: #fafafa;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.line-info h3 {
    font-family: 'Playfair Display', serif;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.line-info p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.line-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
}

.feature-item i {
    color: #d4a574;
    font-size: 1.2rem;
    width: 20px;
}

.line-qr {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #00c300 0%, #00a000 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 20px rgba(0, 195, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.qr-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.qr-link:hover {
    transform: scale(1.05);
}

.qr-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.3s ease;
    display: block;
}

.qr-link:hover .qr-image {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.qr-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

.qr-placeholder p {
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.qr-placeholder small {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* フッター */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-text h3 {
    font-family: 'Playfair Display', serif;
    color: #d4a574;
    margin-bottom: 1rem;
    text-align: center;
}

.footer-text p {
    margin: 0.5rem 0;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .header {
        display: block;
    }
    
    .nav-container {
        padding: 0 1rem;
        justify-content: space-between; /* スマホではロゴとナビゲーションを両端に配置 */
    }
    
    .mobile-nav {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1002; /* ナビゲーションメニューより上に配置 */
    }
    
    .mobile-hamburger {
        display: flex;
        position: relative;
        z-index: 1002; /* ナビゲーションメニューより上に配置 */
    }
    
    .mobile-nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        display: flex;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
        height: 100vh;
        justify-content: center;
        z-index: 1001;
    }
    
    .mobile-nav-menu.active {
        left: 0;
    }
    
    .mobile-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -3px);
    }
    
    .footer-nav {
        display: none; /* スマホでは非表示 */
    }
    
    body {
        padding-top: 50px; /* スマホではヘッダーが小さくなるため調整 */
        padding-bottom: 0; /* スマホでは下部パディングを削除 */
    }
    
    .footer-nav .nav-container {
        padding: 0 1rem;
    }
    
    .footer-nav .nav-menu {
        position: fixed;
        left: -100%;
        bottom: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
        height: 100vh;
        justify-content: center;
    }
    
    .footer-nav .nav-menu.active {
        left: 0;
    }
    
    .footer-nav .hamburger {
        display: flex;
    }
    
    .footer-nav .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(4px, -3px);
    }
    
    .footer-nav .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .footer-nav .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
        height: 100vh;
        justify-content: center;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(4px, -3px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
    }
    
    .hero-text {
        text-align: center;
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
    }
    
    .hero-location {
        text-align: center;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .story-img {
        max-width: 300px;
        height: 300px;
    }
    
    .story-img-1 {
        bottom: 30%;
        right: 35%;
        transform: rotate(-3deg) translate(-5px, -5px) scale(1.02) !important;
    }
    
    .story-img-2 {
        top: 120px;
        left: 90px;
        transform: rotate(5deg) translate(5px, 5px) scale(1.02) !important;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .line-contact {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .price-section {
        padding: 2rem;
    }
    
    .qr-placeholder {
        width: 150px;
        height: 150px;
        font-size: 2rem;
    }
    
    .qr-image {
        width: 150px;
        height: 150px;
    }
    
    .qr-placeholder p {
        font-size: 0.9rem;
    }
    
    .qr-placeholder small {
        font-size: 0.7rem;
    }
    
    .gallery-item {
        height: 200px;
    }
    
    .detail-image {
        height: 150px;
    }
    
    .detail-card:nth-child(2) .service-img {
        object-position: center 80%; /* 微調整: 70% (上寄り) 〜 90% (下寄り) */
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 3;
    }
    
    .hero-text {
        text-align: center;
        width: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-description {
        text-align: center;
    }
    
    .hero-location {
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .line-contact {
        padding: 1.5rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .story-img {
        max-width: 250px;
        height: 250px;
    }
    
    .story-img-1 {
        bottom: 40%;
        right: 25%;
        transform: rotate(-3deg) translate(-5px, -5px) scale(1.02) !important;
    }
    
    .story-img-2 {
        top: 120px;
        left: 90px;
        z-index: 3;
        transform: rotate(5deg) translate(5px, 5px) scale(1.02) !important;
    }
    
    .qr-placeholder {
        width: 120px;
        height: 120px;
        font-size: 1.5rem;
    }
    
    .qr-image {
        width: 120px;
        height: 120px;
    }
    
    .qr-placeholder p {
        font-size: 0.8rem;
    }
    
    .qr-placeholder small {
        font-size: 0.6rem;
    }
    
    .gallery-item {
        height: 180px;
    }
    
    .detail-image {
        height: 120px;
    }
    
    .detail-card:nth-child(2) .service-img {
        object-position: center 80%; /* 微調整: 70% (上寄り) 〜 90% (下寄り) */
    }
    
    .gallery-overlay {
        padding: 1rem 0.5rem 0.5rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
    }
}

/* 画像のフェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 画像の最適化 */
img {
    max-width: 100%;
    height: auto;
}

/* 画像の読み込み中のスタイル */
img:not(.loaded) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* フッターナビゲーション */
.footer-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgb(0 0 0 / 25%);
    backdrop-filter: blur(35px);
    z-index: 1000;
    border-top: 2px solid #d4a574;
    padding: 1rem 0;
    display: none; /* デフォルトで非表示 */
    box-shadow: 0 -5px 20px rgba(212, 165, 116, 0.2);
}

.footer-nav .nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    padding: 0;
}

.footer-nav .nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1.5rem;
}

.footer-nav .nav-menu a:hover {
    color: #d4a574;
    background: rgba(212, 165, 116, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.3);
}

.footer-nav .nav-menu a::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a574, #c19a6b);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.footer-nav .nav-menu a:hover::after {
    width: 80%;
}

/* PCでのみフッターナビゲーションを表示 */
@media (min-width: 769px) {
    .footer-nav {
        display: block;
    }
    
    body {
        padding-bottom: 100px; /* 装飾されたフッターナビゲーションの高さに合わせて調整 */
    }
    
    .mobile-nav {
        display: none; /* PCでは非表示 */
    }
}

/* スマホ用ナビゲーション */
.mobile-nav {
    display: none; /* デフォルトで非表示 */
}

.mobile-nav-menu {
    display: none; /* デフォルトで非表示 */
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: #d4a574;
}

.mobile-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.mobile-hamburger:hover {
    background-color: rgba(212, 165, 116, 0.1);
}

.mobile-hamburger span {
    width: 20px;
    height: 2px;
    background: #333;
    margin: 2px 0;
    transition: 0.3s;
    display: block;
}

/* スマホでのみ右上ナビゲーションを表示 */
@media (max-width: 768px) {
    .header {
        display: block;
    }
    
    .nav-container {
        padding: 0 1rem;
        justify-content: space-between; /* スマホではロゴとナビゲーションを両端に配置 */
    }
    
    .mobile-nav {
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1002; /* ナビゲーションメニューより上に配置 */
    }
    
    .mobile-hamburger {
        display: flex;
        position: relative;
        z-index: 1002; /* ナビゲーションメニューより上に配置 */
    }
    
    .mobile-nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        display: flex;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
        height: 100vh;
        justify-content: center;
        z-index: 1001;
    }
    
    .mobile-nav-menu.active {
        left: 0;
    }
    
    .mobile-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -3px);
    }
    
    .footer-nav {
        display: none; /* スマホでは非表示 */
    }
    
    body {
        padding-bottom: 0; /* スマホでは下部パディングを削除 */
    }
    
    .footer-nav .nav-container {
        padding: 0 1rem;
    }
    
    .footer-nav .nav-menu {
        position: fixed;
        left: -100%;
        bottom: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
        height: 100vh;
        justify-content: center;
    }
    
    .footer-nav .nav-menu.active {
        left: 0;
    }
    
    .footer-nav .hamburger {
        display: flex;
    }
    
    .footer-nav .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(4px, -3px);
    }
    
    .footer-nav .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .footer-nav .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
} 