/* ===== レスポンシブデザイン ===== */

@media (max-width: 1024px) {
  .hero {
    padding: 0 30px;
    height: auto;
  }
  
  .heroMainTitle {
    font-size: 72px;
  }
  
  .seminarSectionInner,
  .messageSectionInner,
  .aboutSectionInner,
  .mediaSectionInner,
  .qaSectionInner {
    padding-left: 30px;
    padding-right: 30px;
  }
  
  .messageContainer {
    flex-direction: column;
    gap: 40px;
  }
  
  .messageProfile {
    width: 100%;
    height: auto;
  }
  
  .aboutSectionInner {
    flex-direction: column;
    gap: 40px;
    padding: 0 16px;
  }
  
  .aboutImageSection {
    width: 100%;
    height: 250px;
    overflow: hidden;
  }
  
  .aboutImageSection img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .aboutContent {
    align-items: flex-start;
  }
  
  .mediaGrid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .headerInner {
    padding: 0 20px;
  }
  
  .scheduleSection,
  .seminarSection {
    margin-top: 60px;
  }
  
  .seminarSectionInner {
    padding: 0 16px;
    margin-bottom: 40px;
  }
  
  .seminarSectionInner .sectionHeader {
    margin-bottom: 24px;
  }
  
  .seminarSectionInner .sectionTitle {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 5%;
    margin: 0 0 8px 0;
  }
  
  .seminarCards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    background: rgba(255,255,255,0.1);
    border-left: 6px solid #173EA9;
    border-radius: 12px;
    padding: 24px 27px;
    align-items: stretch;
    box-sizing: border-box;
    margin-bottom: 24px;
  }
  
  .seminarCard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
  }
  
  .seminarLabel {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 5%;
    color: #fff;
    margin-bottom: 0;
  }
  
  .seminarDate {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 5%;
    color: #fff;
    margin-bottom: 0;
  }
  
  .seminarPlace {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 5%;
    color: #fff;
    margin-bottom: 0;
  }
  
  .seminarBtn {
    background: #173EA9;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 auto;
    margin-top: 24px;
    width: 100%;
    justify-content: center;
  }
  
  .btnArrow {
    width: 24px;
    height: 24px;
    margin-left: 4px;
  }
  
  .hero {
    height: 100vh;
    min-height: 500px;
  }
  
  .heroContent {
    padding: 0 20px;
    text-align: left;
  }
  
  .heroLogos {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
    align-items: flex-start;
    justify-content: flex-start;
  }
  
  .heroMainContent {
    gap: 20px;
    align-items: flex-start;
    text-align: left;
  }
  
  .heroSubtitle {
    font-size: 20px;
    line-height: 1.4;
    text-align: left;
  }
  
  .heroMainTitle {
    font-size: 28px;
    line-height: 1.3;
    text-align: left;
  }
  
  .profileImageContainer,
  .profileInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  
  .profileInfo {
    position: static !important;
    right: auto !important;
    bottom: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}

/* ===== Header Responsive ===== */
@media (max-width: 768px) {
  .header {
    padding: 0 20px;
  }
  
  .nav {
    display: none;
  }
  
  .headerCta {
    display: none;
  }
  
  .headerInner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 16px;
    width: 100%;
  }
  
  .logoArea {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .hamburger-btn {
    display: block !important;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: static;
  }
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000102;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu {
  width: 100vw;
  max-width: 390px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 34px;
  padding-bottom: 34px;
  position: relative;
}

.mobile-menu-logo {
  margin-bottom: 64px;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.mobile-menu-nav a {
  color: #DDDDDD;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 6px 8px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.mobile-menu-close {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

@media (min-width: 768px) {
  .footer-root {
    background: #000102;
    padding: 60px 180px;
    display: flex;
    flex-direction: column;
    gap: 34px;
    align-items: stretch;
  }
  .footer-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-contact-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1em;
    color: #fff;
    text-align: left;
    margin-bottom: 0;
  }
  .footer-sub {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: left;
    margin-bottom: 0;
  }
  .footer-logo-info-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }
  .footer-logo-img {
    width: 162px;
    height: 66px;
    display: block;
    margin: 0;
  }
  .footer-info-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .footer-info-org,
  .footer-info-mail {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: left;
    margin-bottom: 0;
  }
  .footer-copyright {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin-top: 0;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .footer-root {
    background: #000102;
    padding: 60px 20px 72px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .footer-inner {
    padding: 0 20px;
  }
  
  .footer-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1em;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
  }
  
  .footer-sub {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
  }
  
  .footer-logo-img {
    width: 128px;
    height: 52px;
    display: block;
    margin: 0 auto 8px auto;
  }
  
  .footer-info-org,
  .footer-info-mail {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin-bottom: 4px;
  }
  
  .footer-copyright {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin-top: 16px;
    opacity: 1;
  }
  
  .footer-contact-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1em;
    color: #fff;
    text-align: center;
    margin-bottom: 8px;
  }
}

@media (max-width: 768px) {
  .heroMainContent {
    align-items: flex-start;
    text-align: left;
  }
  
  .heroMainTitle {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .aboutSection {
    display: flex;
    flex-direction: row;
    gap: 23px;
    padding: 0;
    background: #0B1B3B;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    width: 100vw;
    margin: 0;
    position: relative;
    overflow: visible;
  }
  
  .aboutSectionInner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 180px;
    display: flex;
    flex-direction: row;
    gap: 23px;
    align-items: center;
    justify-content: center;
    min-height: 350px;
  }
  
  .aboutImageSection {
    width: 480px;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .aboutImageSection img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }
  
  .aboutTextSection {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
  }
  
  .aboutSectionTitle {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 5%;
    color: #fff;
    margin: 0;
    text-align: left;
  }
  
  .aboutSectionUnderline {
    width: 33px;
    height: 4px;
    background: #C6BA94;
    margin-top: 8px;
    margin-bottom: 0;
    display: block;
  }
  
  .aboutSectionText {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5em;
    letter-spacing: 5%;
    color: #fff;
    margin: 0;
    text-align: left;
  }
}
