|
2369 | 2369 | transform: translateY(0) rotate(-45deg); |
2370 | 2370 | } |
2371 | 2371 |
|
2372 | | - @media (max-width: 980px) { |
| 2372 | + @media (max-width: 1180px) { |
2373 | 2373 | .nav-toggle { |
2374 | 2374 | display: inline-flex; |
2375 | 2375 | } |
|
2487 | 2487 | } |
2488 | 2488 |
|
2489 | 2489 | /* Show mobile menu structure only on mobile */ |
2490 | | - @media (min-width: 981px) { |
| 2490 | + @media (min-width: 1181px) { |
2491 | 2491 | .nav-toggle { |
2492 | 2492 | display: none; |
2493 | 2493 | } |
|
2640 | 2640 | box-shadow: 0 10px 44px rgba(0, 0, 0, 0.35); |
2641 | 2641 | } |
2642 | 2642 |
|
| 2643 | + .nav-content { |
| 2644 | + max-width: 1200px; |
| 2645 | + padding: 0 2rem; |
| 2646 | + gap: clamp(12px, 1.8vw, 24px); |
| 2647 | + } |
| 2648 | + |
| 2649 | + .nav-actions { |
| 2650 | + flex: 1 1 auto; |
| 2651 | + justify-content: flex-end; |
| 2652 | + gap: clamp(12px, 1.5vw, 24px); |
| 2653 | + } |
| 2654 | + |
| 2655 | + .nav-links { |
| 2656 | + gap: clamp(8px, 1.1vw, 20px); |
| 2657 | + } |
| 2658 | + |
2643 | 2659 | .nav-logo { |
2644 | 2660 | color: var(--c1); |
| 2661 | + flex: 0 0 auto; |
2645 | 2662 | } |
2646 | 2663 |
|
2647 | 2664 | .nav-logo-img { |
|
2654 | 2671 | .nav-links a { |
2655 | 2672 | color: var(--text-2); |
2656 | 2673 | font-weight: 650; |
2657 | | - padding: 10px 10px; |
| 2674 | + padding: 9px clamp(6px, 0.8vw, 10px); |
2658 | 2675 | border-radius: 12px; |
2659 | 2676 | border: 1px solid transparent; |
2660 | 2677 | } |
|
2674 | 2691 | align-items: center; |
2675 | 2692 | justify-content: center; |
2676 | 2693 | gap: 8px; |
2677 | | - padding: 10px 14px; |
| 2694 | + padding: 10px clamp(11px, 1vw, 14px); |
2678 | 2695 | border-radius: 14px; |
2679 | 2696 | background: rgba(34, 211, 238, 0.1); |
2680 | 2697 | border: 1px solid rgba(34, 211, 238, 0.22); |
2681 | 2698 | color: var(--text); |
2682 | 2699 | text-decoration: none; |
2683 | 2700 | font-weight: 750; |
| 2701 | + white-space: nowrap; |
2684 | 2702 | transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease; |
2685 | 2703 | } |
2686 | 2704 |
|
| 2705 | + .nav-cta span { |
| 2706 | + white-space: nowrap; |
| 2707 | + } |
| 2708 | + |
2687 | 2709 | .nav-cta-icon { |
2688 | 2710 | width: 16px; |
2689 | 2711 | height: 16px; |
|
2696 | 2718 | border-color: rgba(168, 85, 247, 0.28); |
2697 | 2719 | } |
2698 | 2720 |
|
| 2721 | + .language-trigger { |
| 2722 | + min-width: 104px; |
| 2723 | + padding: 8px 10px; |
| 2724 | + } |
| 2725 | + |
| 2726 | + @media (max-width: 1420px) { |
| 2727 | + .nav-content { |
| 2728 | + max-width: 1200px; |
| 2729 | + padding: 0 2rem; |
| 2730 | + } |
| 2731 | + |
| 2732 | + .nav-actions { |
| 2733 | + gap: 10px; |
| 2734 | + } |
| 2735 | + |
| 2736 | + .nav-links { |
| 2737 | + gap: 6px; |
| 2738 | + } |
| 2739 | + |
| 2740 | + .nav-links a { |
| 2741 | + padding: 8px 6px; |
| 2742 | + font-size: 0.96rem; |
| 2743 | + } |
| 2744 | + |
| 2745 | + .language-trigger { |
| 2746 | + min-width: 96px; |
| 2747 | + } |
| 2748 | + |
| 2749 | + .nav-cta { |
| 2750 | + padding: 9px 11px; |
| 2751 | + font-size: 0.96rem; |
| 2752 | + } |
| 2753 | + } |
| 2754 | + |
2699 | 2755 | .hero { |
2700 | 2756 | padding: 120px 0 70px; |
2701 | 2757 | text-align: left; |
2702 | 2758 | align-items: center; |
| 2759 | + --hero-max-width: 1320px; |
| 2760 | + --hero-panel-width: 560px; |
| 2761 | + } |
| 2762 | + |
| 2763 | + .hero .container { |
| 2764 | + max-width: var(--hero-max-width); |
2703 | 2765 | } |
2704 | 2766 |
|
2705 | 2767 | .hero-content { |
2706 | 2768 | display: flex; |
2707 | 2769 | flex-direction: column; |
2708 | 2770 | align-items: center; |
2709 | 2771 | text-align: center; |
| 2772 | + width: 100%; |
| 2773 | + max-width: 720px; |
2710 | 2774 | } |
2711 | 2775 |
|
2712 | 2776 | .hero-grid { |
2713 | 2777 | display: grid; |
2714 | | - grid-template-columns: 1.15fr 0.85fr; |
2715 | | - gap: 40px; |
| 2778 | + grid-template-columns: minmax(0, 1fr) auto; |
| 2779 | + gap: clamp(28px, 3vw, 40px); |
2716 | 2780 | align-items: center; |
2717 | 2781 | } |
2718 | 2782 |
|
|
2743 | 2807 |
|
2744 | 2808 | html[lang="en-US"] .hero-title { |
2745 | 2809 | line-height: 1.16; |
| 2810 | + font-size: clamp(2.35rem, 4.9vw, 4.2rem); |
| 2811 | + } |
| 2812 | + |
| 2813 | + html[lang="ja-JP"] .hero-title { |
| 2814 | + font-size: clamp(2.75rem, 6.6vw, 5.4rem); |
2746 | 2815 | } |
2747 | 2816 |
|
2748 | 2817 | .hero-subtitle { |
|
2794 | 2863 | } |
2795 | 2864 |
|
2796 | 2865 | .hero-panel { |
| 2866 | + width: min(100%, var(--hero-panel-width)); |
| 2867 | + justify-self: end; |
2797 | 2868 | opacity: 0; |
2798 | 2869 | transform: translateY(18px); |
2799 | 2870 | animation: fadeInUp 1s ease-out 0.45s forwards; |
2800 | 2871 | } |
2801 | 2872 |
|
| 2873 | + @media (max-width: 1280px) { |
| 2874 | + .hero { |
| 2875 | + min-height: auto; |
| 2876 | + } |
| 2877 | + |
| 2878 | + .hero-grid { |
| 2879 | + grid-template-columns: 1fr; |
| 2880 | + } |
| 2881 | + |
| 2882 | + .hero-panel { |
| 2883 | + width: 100%; |
| 2884 | + justify-self: stretch; |
| 2885 | + } |
| 2886 | + } |
| 2887 | + |
2802 | 2888 | .panel { |
2803 | 2889 | position: relative; |
2804 | 2890 | border-radius: var(--r-lg); |
|
2860 | 2946 | font-size: 0.98rem; |
2861 | 2947 | } |
2862 | 2948 |
|
| 2949 | + @media (min-width: 1200px) { |
| 2950 | + html[lang="en-US"] .hero-motto { |
| 2951 | + white-space: nowrap; |
| 2952 | + } |
| 2953 | + |
| 2954 | + html[lang="en-US"] .panel-body { |
| 2955 | + white-space: nowrap; |
| 2956 | + font-size: 0.94rem; |
| 2957 | + } |
| 2958 | + } |
| 2959 | + |
2863 | 2960 | .panel-metrics { |
2864 | 2961 | display: grid; |
2865 | 2962 | grid-template-columns: repeat(3, minmax(0, 1fr)); |
|
0 commit comments