/* Responsive Design Media Queries */
/* Ensures minimum 16px body text on mobile and proper responsive layouts */

/* Mobile: 320px - 767px */
@media (max-width: 767px) {
  /* Base Typography - Minimum 16px for body text */
  body {
    font-size: 16px;
  }
  
  /* Container adjustments */
  .container {
    padding: 0 16px;
  }
  /* Hero Section - Mobile */
  .hero-section {
    min-height: 100vh;
    padding: 60px 0;
  }
  
  .hero-container {
    padding: 20px 16px;
  }
  
  .hero-headline {
    font-size: 32px;
    margin-bottom: 10px;
  }
  
  .hero-headline[lang="ja"] {
    font-size: 28px;
  }
  
  .hero-subheadline {
    font-size: 16px;
    margin-bottom: 6px;
  }
  
  .hero-subheadline[lang="ja"] {
    font-size: 15px;
  }
  
  .hero-cta {
    margin-top: 32px;
  }
  
  .cta-button {
    padding: 14px 32px;
    font-size: 16px;
    width: 100%;
    max-width: 320px;
  }
  
  /* Services Section - Mobile */
  .services-section {
    padding: 60px 0;
  }
  
  .section-heading {
    margin-bottom: 40px;
  }
  
  .section-heading h2 {
    font-size: 28px;
  }
  
  .section-heading h2[lang="ja"] {
    font-size: 26px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .service-card {
    padding: 32px 24px;
  }
  
  .service-title {
    font-size: 20px;
  }
  
  .service-title[lang="ja"] {
    font-size: 18px;
  }
  
  .service-description {
    font-size: 15px;
  }
  
  .service-description[lang="ja"] {
    font-size: 14px;
  }
  
  /* About Section - Mobile */
  .about-section {
    padding: 60px 0;
  }
  
  .about-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .about-image {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  
  .image-placeholder {
    width: 200px;
    height: 200px;
  }
  
  .image-placeholder svg {
    width: 80px;
    height: 80px;
  }
  
  .bio-paragraph p {
    font-size: 15px;
  }
  
  .bio-paragraph[lang="ja"] p {
    font-size: 14px;
  }
  
  .credentials h3 {
    font-size: 22px;
  }
  
  .credentials h3[lang="ja"] {
    font-size: 20px;
  }
  
  .credentials-list li span {
    font-size: 15px;
  }
  
  .credentials-list li span[lang="ja"] {
    font-size: 14px;
  }
}

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Hero Section - Tablet */
  .hero-headline {
    font-size: 40px;
  }
  
  .hero-headline[lang="ja"] {
    font-size: 36px;
  }
  
  .hero-subheadline {
    font-size: 18px;
  }
  
  .hero-subheadline[lang="ja"] {
    font-size: 17px;
  }
  
  .cta-button {
    padding: 15px 36px;
    font-size: 17px;
  }
  
  /* Services Section - Tablet */
  .services-section {
    padding: 70px 0;
  }
  
  .section-heading h2 {
    font-size: 32px;
  }
  
  .section-heading h2[lang="ja"] {
    font-size: 30px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  
  /* About Section - Tablet */
  .about-section {
    padding: 70px 0;
  }
  
  .about-content {
    gap: 40px;
  }
  
  .about-image {
    flex: 0 0 250px;
  }
  
  .image-placeholder {
    width: 250px;
    height: 250px;
  }
  
  .image-placeholder svg {
    width: 100px;
    height: 100px;
  }
}

/* Desktop: 1024px and above */
@media (min-width: 1024px) {
  /* Base Typography */
  body {
    font-size: 16px;
  }
  
  /* Container */
  .container {
    padding: 0 24px;
  }
  
  /* Hero Section - Desktop */
  .hero-headline {
    font-size: 48px;
  }
  
  .hero-headline[lang="ja"] {
    font-size: 42px;
  }
  
  .hero-subheadline {
    font-size: 20px;
  }
  
  .hero-subheadline[lang="ja"] {
    font-size: 18px;
  }
  
  .cta-button {
    padding: 16px 40px;
    font-size: 18px;
  }
  
  /* Services Section - Desktop */
  .services-section {
    padding: 80px 0;
  }
  
  .section-heading h2 {
    font-size: 36px;
  }
  
  .section-heading h2[lang="ja"] {
    font-size: 32px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  /* About Section - Desktop */
  .about-section {
    padding: 80px 0;
  }
  
  .about-content {
    flex-direction: row;
    gap: 60px;
  }
  
  .about-image {
    flex: 0 0 300px;
  }
  
  .image-placeholder {
    width: 300px;
    height: 300px;
  }
  
  /* Contact Section - Desktop */
  .contact-section {
    padding: 80px 0;
  }
  
  .contact-content {
    grid-template-columns: 2fr 1fr;
    gap: 60px;
  }
  
  .contact-form-wrapper {
    padding: 40px;
  }
  
  .contact-info {
    padding: 32px;
  }
  
  /* Footer - Desktop */
  .footer-section {
    padding: 60px 0 40px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* Contact Section - Mobile */
@media (max-width: 767px) {
  .contact-section {
    padding: 60px 0;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .contact-form-wrapper {
    padding: 24px;
  }
  
  .form-intro p {
    font-size: 15px;
  }
  
  .form-intro p[lang="ja"] {
    font-size: 14px;
  }
  
  .form-label {
    font-size: 15px;
  }
  
  .form-input {
    font-size: 16px;
    padding: 12px 14px;
  }
  
  .submit-button {
    font-size: 16px;
    padding: 14px 24px;
  }
  
  .contact-info {
    padding: 24px;
  }
  
  .contact-info h3 {
    font-size: 20px;
  }
  
  .contact-info h3[lang="ja"] {
    font-size: 18px;
  }
  
  .contact-method {
    padding: 16px 0;
  }
  
  .contact-icon {
    width: 44px;
    height: 44px;
  }
  
  .contact-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .contact-link {
    font-size: 15px;
    word-break: break-all;
  }
  
  .social-link {
    width: 44px;
    height: 44px;
  }
  
  .social-link svg {
    width: 20px;
    height: 20px;
  }
  
  .message-text p {
    font-size: 14px;
  }
  
  /* Footer - Mobile */
  .footer-section {
    padding: 48px 0 32px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-nav-title,
  .footer-social-title {
    font-size: 16px;
    margin-bottom: 16px;
  }
  
  .footer-nav-title[lang="ja"],
  .footer-social-title[lang="ja"] {
    font-size: 15px;
  }
  
  .footer-nav-list {
    gap: 10px;
  }
  
  .footer-link {
    font-size: 14px;
  }
  
  .footer-social-icons {
    gap: 12px;
  }
  
  .footer-social-link {
    width: 44px;
    height: 44px;
  }
  
  .footer-copyright {
    padding-top: 24px;
    margin-top: 8px;
  }
  
  .footer-copyright p {
    font-size: 13px;
  }
}

/* Contact Section - Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .contact-section {
    padding: 70px 0;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-wrapper {
    padding: 32px;
  }
  
  .contact-info {
    padding: 28px;
  }
  
  .contact-info h3 {
    font-size: 21px;
  }
  
  .contact-info h3[lang="ja"] {
    font-size: 19px;
  }
  
  /* Footer - Tablet */
  .footer-section {
    padding: 52px 0 36px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-nav-title,
  .footer-social-title {
    font-size: 17px;
  }
  
  .footer-nav-title[lang="ja"],
  .footer-social-title[lang="ja"] {
    font-size: 16px;
  }
  
  .footer-copyright {
    padding-top: 28px;
  }
}
