/* ==========================================================================
   すし将 おせち2026 特設ページ - レスポンシブスタイル
   ========================================================================== */

/* タブレット表示 (768px以下) */
@media screen and (max-width: 768px) {
    
    /* 基本設定 */
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    /* ヘッダー */
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .logo-main {
        font-size: 2rem;
    }

    .logo-sub {
        font-size: 0.9rem;
    }

    .header-message p {
        font-size: 1rem;
    }

    /* ヒーローセクション */
    #hero {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .sub-title {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .image-placeholder {
        width: 100%;
        max-width: 350px;
        height: 250px;
    }

    /* セクション */
    .section-title {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* 三段重セクション */
    #osechi-tiers {
        padding: 80px 0;
    }

    .tier-section {
        margin-bottom: 60px;
    }

    .tier-section:nth-child(even) {
        margin: 60px -20px;
        padding: 40px 20px;
    }

    .tier-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .tier-content.reverse {
        direction: ltr;
    }

    .tier-title {
        font-size: 1.8rem;
    }

    .tier-title::before {
        display: none;
    }

    .item-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tier-section .image-placeholder {
        width: 100%;
        max-width: 300px;
        height: 220px;
    }

    /* 特徴セクション */
    #features {
        padding: 80px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    /* 問い合わせセクション */
    #contact {
        padding: 80px 0;
    }

    .contact-details {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* フッター */
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* スマートフォン表示 (480px以下) */
@media screen and (max-width: 480px) {
    
    /* 基本設定 */
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 10px;
    }

    /* ヘッダー */
    #header {
        padding: 15px 0;
    }

    .logo-main {
        font-size: 1.8rem;
    }

    .logo-sub {
        font-size: 0.8rem;
    }

    .header-message p {
        font-size: 0.9rem;
    }

    /* ヒーローセクション */
    #hero {
        padding: 40px 0;
    }

    .hero-content {
        gap: 30px;
    }

    .main-title {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .sub-title {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-text {
        padding: 0 10px;
    }

    .image-placeholder {
        width: 100%;
        height: 200px;
    }

    .image-placeholder i {
        font-size: 2rem;
    }

    .image-placeholder p {
        font-size: 1rem;
    }

    /* セクション */
    .section-title {
        font-size: 1.8rem;
    }

    .section-title::after {
        width: 60px;
        height: 2px;
    }

    .section-description {
        font-size: 1rem;
    }

    /* 三段重セクション */
    #osechi-tiers {
        padding: 60px 0;
    }

    .tier-section {
        margin-bottom: 50px;
        padding: 30px 0;
    }

    .tier-section:nth-child(even) {
        margin: 50px -15px;
        padding: 30px 15px;
        border-radius: 15px;
    }

    .tier-content {
        gap: 30px;
    }

    .tier-info {
        padding: 0 10px;
    }

    .tier-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .tier-concept {
        font-size: 1rem;
    }

    .item {
        padding: 10px 12px;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }

    .item i {
        margin-right: 0;
        font-size: 1.2rem;
    }

    .item span {
        font-size: 0.9rem;
    }

    .item-count {
        font-size: 0.9rem;
        text-align: center;
        margin-top: 10px;
    }

    .tier-section .image-placeholder {
        width: 100%;
        max-width: 280px;
        height: 180px;
    }

    /* 特徴セクション */
    #features {
        padding: 60px 0;
    }

    .features-grid {
        gap: 20px;
        margin-top: 40px;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* 問い合わせセクション */
    #contact {
        padding: 60px 0;
    }

    .contact-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .contact-item {
        max-width: 280px;
        padding: 12px 20px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .contact-item i {
        margin-right: 0;
        font-size: 1.1rem;
    }

    .contact-item span {
        font-size: 0.9rem;
    }

    /* フッター */
    #footer {
        padding: 30px 0;
    }

    .footer-logo h3 {
        font-size: 1.3rem;
    }

    .footer-logo p,
    .footer-info p {
        font-size: 0.8rem;
    }
}

/* 極小画面対応 (320px以下) */
@media screen and (max-width: 320px) {
    
    .container {
        padding: 0 8px;
    }

    .main-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .tier-title {
        font-size: 1.4rem;
    }

    .image-placeholder {
        height: 160px;
    }

    .tier-section .image-placeholder {
        height: 150px;
    }
}

/* 横向き表示対応 */
@media screen and (max-width: 768px) and (orientation: landscape) {
    
    #hero {
        padding: 30px 0;
    }

    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .main-title {
        font-size: 2rem;
    }

    .image-placeholder {
        height: 180px;
    }

    .tier-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        text-align: left;
    }

    .tier-section .image-placeholder {
        height: 200px;
    }
}

/* 高解像度ディスプレイ対応 */
@media screen and (-webkit-min-device-pixel-ratio: 2), 
       screen and (min-resolution: 192dpi) {
    
    .image-placeholder {
        border-width: 2px;
    }

    .section-title::after {
        height: 4px;
    }

    .tier-title::before {
        width: 8px;
    }
}

/* プリント用スタイル */
@media print {
    
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #header,
    #footer {
        display: none;
    }

    .hero-content,
    .tier-content,
    .features-grid {
        grid-template-columns: 1fr !important;
        page-break-inside: avoid;
    }

    .tier-section {
        page-break-inside: avoid;
        margin-bottom: 20pt;
    }

    .image-placeholder {
        border: 1pt solid #000 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100pt;
    }
}

/* アクセシビリティ対応 */
@media (prefers-reduced-motion: reduce) {
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }

    #hero,
    #contact {
        background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #2a2a2a 100%);
    }

    #osechi-tiers {
        background: #222;
    }

    .tier-section:nth-child(even) {
        background: linear-gradient(135deg, #2a2a2a 0%, #333 100%);
    }

    .section-title,
    .tier-title {
        color: #f4d03f;
    }

    .hero-description,
    .contact-description,
    .section-description {
        color: #ccc;
    }

    .item {
        background: rgba(244, 208, 63, 0.15);
        color: #e0e0e0;
    }

    .item span {
        color: #e0e0e0;
    }
}