/* 
 * NPO法人 Kizuna スタイルシート
 * Version: 2.2
 * Last Updated: 2025/05/26
 */

/* ===== 1. 基本設定 ===== */
:root {
  /* カラー変数 */
  --primary-color: #00bcd4;
  --primary-dark: #008ba3;
  --primary-light: #62efff;
  --secondary-color: #333;
  --text-color: #333;
  --text-color-title: #545454;
  --text-light: #666;
  --accent-color: #4dd0e1;
  --bg-color: #fff;
  --bg-light: #f7f7f7;
  --border-color: #e0e0e0;
  
  /* サイズと余白 */
  --container-width: 1200px;
  --section-spacing: 5rem;
  --header-height: 80px;
  
  /* アニメーション */
  --transition-speed: 0.3s;
  --fade-duration: 1s;
}

/* リセット */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ベース要素設定 */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--bg-color);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.4rem;
  color: var(--accent-color);
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-dark);
}

button {
  cursor: pointer;
}

/* ===== 2. 共通レイアウト ===== */
.content-wrapper {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
  margin-top: var(--header-height);
  scroll-margin-top: var(--header-height);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  font-weight: bold;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* ===== 3. ヘッダーとナビゲーション ===== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  z-index: 1100;
}

#site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#site-header.hero-header {
  background: transparent;
  box-shadow: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
}

.logo {
  z-index: 1200;
}

.logo-image {
  height: 30px;
  width: auto;
  transition: transform var(--transition-speed) ease;
}

.footer .logo-image {
  height: 40px;
  margin-bottom: 1.5rem;
}

.logo-image:hover {
  transform: scale(1.05);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-menu li {
  margin: 0 0.8rem;
  position: relative;
  white-space: nowrap;
}

.nav-menu a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-speed) ease;
  padding: 0.5rem 0;
  position: relative;
  display: block;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

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

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu.desktop-menu {
  display: flex;
}

.nav-menu.responsive-menu {
  display: none;
}

/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1200;
}

.menu-toggle .hamburger,
.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.menu-toggle .hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle .hamburger::before {
  top: -8px;
}

.menu-toggle .hamburger::after {
  top: 8px;
}

.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu.active {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1150;
  padding: 0;
  margin: 0;
}

.nav-menu.active li {
  margin: 0.8rem 0;
  width: 100%;
  text-align: center;
}

.nav-menu.active a {
  font-size: 1.2rem;
  padding: 1rem;
  display: block;
  width: 80%;
  margin: 0 auto;
  border-radius: 8px;
}

.nav-menu.active a:hover,
.nav-menu.active a.active {
  background-color: rgba(0, 188, 212, 0.1);
}

.nav-menu.active a::after {
  display: none;
}

/* ===== 4. ヒーローセクション ===== */
#hero {
  position: relative;
  margin-top: 0;
  padding-top: var(--header-height);
  box-sizing: border-box;
  min-height: auto;
  display: block;
}

.hero-container {
  display: flex;
  width: 100%;
  flex: 0 0 auto;
}

.hero-image-area {
  position: relative;
  overflow: hidden;
}

.image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--bg-color));
  z-index: 2;
}

.desktop-only-image,
.mobile-only-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-only-image {
  display: none;
}

.hero-text-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text-content h2 {
  font-size: 2.5rem;
  color: var(--text-color-title);
  margin-bottom: 0;
  font-weight: normal;
  letter-spacing: 2px;
}

.hero-text-content h1 {
  color: var(--text-color-title);
  font-size: 5rem;
  line-height: 1.1;
  margin-bottom: 2%;
  font-weight: bold;
  letter-spacing: 4px;
}

.hero-text-content p {
  color: var(--primary-color);
  font-size: 1.5rem;
}

/* ===== 5. はじめにセクション ===== */
section#introduction.section.intro {
  margin-top: 0;
  padding-top: 3rem;
}

.intro-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.intro-text {
  flex: 1;
}

.intro-image {
  flex: 1;
  display: flex;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.intro-image img:hover {
  transform: scale(1.03);
}

.intro-divider {
  width: 50px;
  margin: 1.5rem 0;
  border: none;
  border-top: 2px solid var(--accent-color);
}

.intro-author {
  margin-top: 1.5rem;
}

.intro-author .position {
  font-size: 1rem;
  color: var(--accent-color);
  margin-bottom: 0.1rem;
}

.intro-author .name {
  font-size: 1.2rem;
  color: var(--accent-color);
}

.intro-author .name-en {
  font-size: 0.8rem;
  color: var(--text-light);
  display: block;
  margin-top: 0.3rem;
}

/* ===== 6. ロゴへの想いセクション ===== */
.logo-explanation p {
  text-align: center;
  margin-bottom: 2rem;
}

.symbol-block {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.symbol-image {
  margin: 1rem auto 2rem;
  width: 120px;
  transition: transform 0.3s ease;
}

.symbol-image:hover {
  transform: scale(1.1);
}

.symbol-text {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

.sign-block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.sign-logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.sign-logo-image,
.sign-desc-image {
  width: 30%;
  transition: transform 0.3s ease;
}

.sign-logo-image:hover,
.sign-desc-image:hover {
  transform: scale(1.03);
}

/* ===== 7. 活動内容セクション ===== */
.activities {
  background: rgba(255, 255, 255, 0.98);
  color: var(--secondary-color);
  padding: 5rem 0;
}

.activities-objective,
.activities-target,
.activities-mission {
  margin-bottom: 3rem;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activities-objective:hover,
.activities-target:hover,
.activities-mission:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.activities h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--accent-color);
}

.activities-objective p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.icon-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.05rem;
}

.icon-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 1.2rem;
}

.mission-list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mission-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f8f8f8;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.mission-item:hover {
  transform: translateY(-7px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mission-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.mission-text {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--secondary-color);
  margin: 0;
  padding: 0 0.5rem;
}

/* ===== 8. 課題と対策セクション ===== */
.cs-block {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cs-title {
  flex: 0 0 25%;
}

.cs-title h3 {
  position: relative;
  padding-bottom: 0.5rem;
}

.cs-list {
  flex: 1;
}

.cs-list ol {
  counter-reset: item;
  list-style: none;
  padding-left: 0;
}

.cs-list ol li {
  counter-increment: item;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.cs-list ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
}

/* ===== 9. ネットワークセクション ===== */
.network p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.network img {
  display: block;
  max-width: 80%;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.network img:hover {
  transform: scale(1.02);
}

/* ===== 10. FAQセクション ===== */
.faq-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: space-between;
}

.faq-item.glassmorphism {
  flex: 0 0 calc(50% - 1rem);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(0, 188, 212, 0.15);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 188, 212, 0.25);
}

.faq-question h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.faq-question h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.faq-answer p {
  color: var(--text-color);
  line-height: 1.6;
}

/* ===== 11. お問い合わせセクション ===== */
.contact {
  background-color: var(--primary-color);
  text-align: center;
  padding-top: 3rem;
  margin-top: 0;
  color: white;
}

.contact .section-title {
  color: white;
}

.contact .section-title::after {
  background-color: white;
}

.contact p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.contact-button-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-color);
  color: var(--accent-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
  color: var(--bg-color);
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-button svg {
  transition: transform var(--transition-speed) ease;
}

.contact-button:hover svg {
  transform: translateX(4px);
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.contact-info .material-icons {
  font-size: 1.2rem;
  color: var(--primary-color);
}

.contact-info a {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.contact-info a:hover {
  color: var(--primary-color);
}

/* ===== 12. フッター ===== */
.footer {
  background: var(--bg-color);
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  color: #333;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
}

.footer-left {
  flex: 1.5;
}

.footer-center, 
.footer-right {
  flex: 1;
}

.footer-divider-vertical {
  width: 1px;
  align-self: stretch;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0 1.5rem;
  min-height: 150px;
  display: block;
}

.footer-divider-horizontal {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin-bottom: 1.2rem;
  display: none;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1rem;
}

.company-info p {
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.email-info {
  margin-top: 0.5rem;
}

.company-info a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
  padding: 0.2rem 0;
}

.company-info a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.company-info a:hover {
  color: var(--primary-color);
}

.company-info a:hover::after {
  width: 100%;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
  padding: 0.2rem 0;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.footer-nav a:hover {
  color: var(--primary-color);
}

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

.footer-bottom {
  margin-top: 1.5rem;
  width: 100%;
}

.footer-legal {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-divider-copyright {
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  padding: 0.5rem 0;
  letter-spacing: 0.5px;
}

/* ===== 13. 上に戻るボタン ===== */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#back-to-top .material-icons {
  font-size: 24px;
}

/* ===== 14. アニメーション ===== */
.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-slide-up 1s forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}

.delay-2 {
  animation-delay: 0.6s;
}

.delay-3 {
  animation-delay: 0.9s;
}

@keyframes fade-slide-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInSection {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--fade-duration) ease, transform var(--fade-duration) ease;
}

.fadeInSection.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 15. レスポンシブ対応 ===== */

/* デスクトップ (大) */
@media (min-width: 1024px) {
  .hero-container {
    flex-direction: row;
    height: calc(100vh - var(--header-height));
  }
  
  .hero-image-area {
    flex: 1.8;
    height: 100%;
  }
  
  .hero-text-area {
    flex: 1.2;
    padding: 1rem 1rem 1rem 4rem;
    text-align: left;
  }
}

/* タブレット & スモールデスクトップ */
@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }

  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .cs-block {
    flex-direction: column;
    gap: 1rem;
  }
  
  .sign-logo-container {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .sign-logo-image, 
  .sign-desc-image {
    width: 70%;
  }
  
  .network img {
    max-width: 90%;
  }
}

/* タブレット (中) */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-container {
    flex-direction: row;
    height: auto;
  }
  
  .hero-image-area {
    flex: 1.5;
    height: 450px;
  }
  
  .hero-text-area {
    flex: 1;
    padding: 1.5rem 2rem;
  }
}

/* モバイル */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }
  
  .section {
    margin-top: 0;
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .intro-container {
    flex-direction: column-reverse;
    gap: 2rem;
  }
  
  .intro-image img {
    aspect-ratio: 16/9;
  }
  
  .cs-block {
    padding: 1.5rem;
  }
  
  .icon-list {
    grid-template-columns: 1fr;
  }
  
  .mission-list {
    flex-direction: column;
    gap: 2rem;
  }
  
  .mission-item {
    width: 100%;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 188, 212, 0.2);
    padding-bottom: 2rem;
    margin-bottom: 0.5rem;
  }
  
  .mission-item:not(:last-child)::after {
    content: none;
  }

  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-left, 
  .footer-center, 
  .footer-right {
    width: 100%;
  }

  .footer-divider-vertical {
    display: none;
  }
  
  .footer-divider-horizontal {
    display: block;
    margin: 0.5rem 0 1rem;
  }

  .footer-bottom {
    margin-top: 1rem;
  }
  
  .footer-legal {
    padding: 0 1rem;
  }
  
  .copyright {
    font-size: 0.75rem;
    padding: 0.3rem 0;
  }

  .faq-items {
    flex-direction: column;
  }
  
  .faq-item.glassmorphism {
    flex: 0 0 100%;
    padding: 1.5rem;
  }

  .hero-text-content h2 {
    font-size: 2rem;
    letter-spacing: 0.5px;
  }

  .hero-text-content h1 {
    font-size: 4rem;
    letter-spacing: 2px;
  }
  
  .hero-text-content p {
    font-size: 1.2rem;
  }
    
  .hero-text-area {
    padding: 5rem 1.5rem;
  }
}

/* モバイルレイアウトとイメージ切替 */
@media (max-width: 767px), (min-width: 768px) and (min-height: 900px) and (orientation: portrait) {
  .hero-container {
    flex-direction: column;
  }
  
  .hero-image-area {
    height: 350px;
    width: 100%;
  }
  
  .desktop-only-image {
    display: none;
  }
  
  .mobile-only-image {
    display: block;
  }
  
  .hero-text-area {
    padding: 2rem 1.5rem;
  }
  
  .image-wrapper::after {
    width: 100%;
    height: 80px;
    top: auto;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--bg-color));
  }

  section#introduction.section.intro {
    padding-top: 1.5rem;
  }
}

/* スモールモバイル */
@media (max-width: 600px) {
  .mission-item {
    padding: 1.2rem 0.8rem;
  }
  
  .mission-number {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .mission-text {
    font-size: 1rem;
  }
}

/* 超小型デバイス */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .cs-list ol li {
    padding-left: 2.5rem;
  }
  
  .symbol-image {
    width: 80px;
  }
  
  .sign-logo-image, 
  .sign-desc-image {
    width: 70%;
  }

  .footer {
    padding: 1.5rem 1rem;
  }

  .faq-item.glassmorphism {
    padding: 1.2rem;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
  }
}

/* iPhone SE/小型デバイス向け最適化 */
@media (max-width: 375px) {
  :root {
    --header-height: 55px;
  }
  
  #site-header {
    height: var(--header-height);
  }

  .menu-toggle {
    transform: scale(0.9) translateY(-50%);
    right: 1.2rem;
  }
  
  .cs-block {
    padding: 1.2rem;
  }
  
  .cs-list ol li {
    padding-left: 2.2rem;
    margin-bottom: 1.2rem;
  }
  
  .cs-list ol li::before {
    font-size: 1.1rem;
  }
}