/* Reset and Base Styles */
:root {
  --primary-color: #ffbf00; /* Amber - Energetic */
  --secondary-color: #4cc9f0; /* Sky Blue - Fresh */
  --accent-color: #f72585; /* Pink - Pop */
  --text-color: #333333; /* Soft Black */
  --bg-color: #fafafa; /* Off-white */
  --white: #ffffff;
  --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  --border-radius: 20px;
  --font-main: "M PLUS Rounded 1c", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.8;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
  font-weight: 500; /* Rounded font looks better with a bit more weight */
  background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
  background-size: 20px 20px; /* Dot pattern */
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-tag {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: rotate(-2deg);
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-color);
  box-shadow: 0 4px 0 #e5ac00; /* 3D effect */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #e5ac00;
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #e5ac00;
}

.btn-secondary {
  background-color: var(--white);
  color: var(--text-color);
  border: 2px solid var(--text-color);
  box-shadow: 0 4px 0 var(--text-color);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--text-color);
  background-color: #f0f0f0;
}

.btn-secondary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--text-color);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  /* padding: 1rem 0; Removed padding here to let nav-link control spacing */
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px; /* Set fixed height for navbar */
}

.nav-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-img {
  height: 60px;
  width: auto;
}

.nav-brand h1 {
  font-size: 1.5rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1;
}

.village-text {
  color: #ff8c42; /* 優しめのオレンジ（さらに濃く） */
}

.brand-subtitle {
  font-size: 0.7rem;
  color: #888;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem; /* Reduced gap as padding increases */
  height: 100%; /* Full height */
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-weight: 700;
  color: #555;
  position: relative;
  font-size: 0.95rem;
  padding: 1.5rem 1rem; /* Increase clickable area */
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link-btn {
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(247, 37, 133, 0.3);
  white-space: nowrap; /* テキストの折り返しを防止 */
}

.nav-link-btn:hover {
  transform: scale(1.05);
  background: #d00060;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: 0.3s;
}

/* Video Controls */
.video-controls {
  position: absolute;
  top: 100px; /* Navbar height + spacing */
  right: 20px;
  z-index: 20;
  display: flex;
  flex-direction: column; /* Stack vertically */
  gap: 15px;
}

.video-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 10px;
}

.video-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
  border-color: var(--primary-color);
}

.video-btn svg {
  width: 24px;
  height: 24px;
}

.youtube-link:hover {
  color: #ff0000;
  border-color: #ff0000;
}

.mute-btn:hover {
  color: var(--secondary-color);
}

/* Animation for Mute Button Attention */
@keyframes pulse-attention {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 191, 0, 0.8);
    border-color: var(--primary-color);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
}

.mute-btn.attention {
  animation: pulse-attention 1s infinite;
  background: rgba(0, 0, 0, 0.8);
  border-color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh; /* Fallback */
  height: 100svh; /* Stable Viewport Height for mobile browsers */
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding-top: 80px; /* Space for navbar */
}

/* Video Background */
#video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

#video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw; /* 16:9 Aspect Ratio */
  min-height: 100vh;
  min-height: 100svh;
  min-width: 177.77vh; /* 16/9 * 100vh */
  min-width: 177.77svh;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for readability */
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 20px;
  z-index: 1;
}

.hero-subtitle-top {
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--primary-color);
  color: var(--text-color);
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Sections General */
.section {
  padding: 6rem 0;
}

/* Topics Section */
.topics {
  background-color: var(--white);
  border-radius: 40px 40px 0 0;
  margin-top: -40px; /* Overlap hero */
  position: relative;
  z-index: 10;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.topic-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 2px solid #f0f0f0;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-badge {
  position: absolute;
  top: 10px; /* さらに上に調整して角に合わせる */
  right: -30px; /* 位置微調整 */
  background: var(--accent-color);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  display: inline-flex; /* flexに変更して中央揃えを確実に */
  align-items: center;
  justify-content: center;
  background: #fff8e1;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  color: var(--primary-color); /* アイコン色をテーマカラーに */
}

.card-icon .material-icons-round {
  font-size: 3.5rem; /* アイコンフォントサイズを明示 */
}

.topic-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.topic-card p {
  color: #666;
  font-size: 0.95rem;
}

.topic-card.campaign {
  background: #fff8e1;
  border: 3px solid var(--primary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.topic-card.campaign:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(255, 191, 0, 0.2);
}

.topic-card.campaign::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shine 6s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(30deg);
  }
  20% {
    transform: translateX(100%) rotate(30deg);
  }
  100% {
    transform: translateX(100%) rotate(30deg);
  }
}

.topic-card.campaign .card-icon {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 10px rgba(255, 191, 0, 0.4);
}

.campaign-text strong {
  color: #ff5722;
  font-size: 1.3rem;
  display: block;
  margin-top: 5px;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
  background: linear-gradient(transparent 70%, #ffeb3b 70%);
}

/* About Section */
.about {
  background-color: #e0f7fa;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--white);
  border-radius: 0 0 50% 50%;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1;
}

.about-text .section-header {
  margin-bottom: 2rem;
  text-align: left;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 15px 15px 0 var(--primary-color);
  border: 4px solid var(--text-color);
  display: block;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background-color: #ddd;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-weight: 700;
  font-size: 1.5rem;
  box-shadow: 15px 15px 0 var(--primary-color); /* Offset shadow */
  border: 4px solid var(--text-color);
}

/* News Section */
.news {
  background-color: var(--white);
}

.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: flex-start;
  padding: 2rem;
  border-bottom: 2px dashed #eee;
  transition: background 0.3s;
  border-radius: 10px;
}

.news-date {
  background: var(--secondary-color);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 2rem;
  white-space: nowrap;
}

.news-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.news-content p {
  color: #666;
  font-size: 0.95rem;
}

/* Access Section */
.access {
  background-color: #fff8e1;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
}

.access-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.access-info h3 .en {
  display: block;
  font-size: 1rem;
  color: #888;
  font-weight: 500;
  margin-top: 5px;
}

address {
  font-style: normal;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.btn-map {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--text-color);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-map:hover {
  background: #555;
  transform: translateY(-2px);
}

.access-map iframe {
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact / Footer Section */
.contact-box {
  background: linear-gradient(
    135deg,
    #06c755 0%,
    #05b34c 100%
  ); /* LINE Color */
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 40px;
  margin-bottom: 2rem; /* Reduced margin */
  box-shadow: 0 20px 40px rgba(6, 199, 85, 0.3);
}

.contact-box h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: white;
}

.contact-box p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.btn-line {
  background: white;
  color: #06c755;
  padding: 0.8rem 2rem; /* パディング調整 */
  font-size: 1.1rem; /* フォントサイズ微調整 */
  border-radius: 50px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center; /* 中央揃え */
  gap: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  width: 100%; /* モバイル向けに幅を確保 */
  max-width: 400px; /* 最大幅設定 */
  line-height: 1.2; /* 行間調整 */
  text-align: left; /* テキスト左揃え（複数行時用） */
}

.btn-icon-img {
  width: 60px; /* さらにサイズ拡大 */
  height: 60px; /* さらにサイズ拡大 */
  min-width: 60px; /* 縮小防止 */
  border-radius: 50%;
  object-fit: cover;
}

.btn-line:hover {
  transform: scale(1.05);
}

/* Sponsor Section */
.sponsor {
  padding: 0 0 6rem;
}

.sponsor-box {
  text-align: center;
  background: #fff;
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 4px solid #f0f0f0;
  max-width: 600px;
  margin: 0 auto;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sponsor-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.sponsor-box::before {
  content: "RECOMMEND";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--text-color);
  padding: 0.2rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 0 0 10px 10px;
}

.sponsor-link {
  display: block;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.sponsor-link:hover {
  opacity: 0.8;
}

.sponsor-logo img {
  width: 100%;
  height: auto;
  max-width: 200px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.sticker-info {
  font-size: 1.2rem !important;
  color: var(--text-color);
  background: #fff8e1;
  display: inline-block;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-weight: 800;
  border: 2px dashed var(--primary-color);
  box-shadow: 0 4px 0 #e5ac00;
  transition: transform 0.2s ease;
  white-space: nowrap; /* 改行防止 */
}

.sponsor-box:hover .sticker-info {
  transform: scale(1.05);
}

.footer {
  text-align: center;
  padding: 2rem 0;
  border-top: 1px solid #eee;
  background: white;
  /* position: relative; Removed */
}

.footer .container {
  /* position: relative; Removed */
}

/* ... existing styles ... */

/* Footer Right removed as it is now inline */

.footer-logo {
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  align-items: center; /* アイコンとテキストの垂直方向の整列 */
}

.footer-links a {
  color: #666;
  font-size: 0.9rem;
  font-weight: 700;
}

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

.footer-icon-link img {
  height: 40px; /* テキストとのバランス調整 */
  width: auto;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.footer-icon-link:hover img {
  transform: scale(1.1);
}

.copyright {
  color: #999;
  font-size: 0.8rem;
}

/* Floating LINE Button */
.floating-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  animation: float 3s ease-in-out infinite;
  cursor: pointer;
}

.floating-btn a {
  display: block; /* フレックス解除 */
  width: 80px;
  height: 80px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

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

.main-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 3px solid white; /* 白枠追加で視認性向上 */
}

.sub-icon {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 35px; /* サブアイコンのサイズ */
  height: 35px;
  background: white;
  border-radius: 8px; /* LINEアイコンっぽく */
  padding: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  object-fit: contain;
}

.floating-btn a:hover {
  transform: scale(1.1);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Tablet / Small Desktop Adjustments */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 15px;
  }
  .nav-brand {
    gap: 10px;
  }
  .nav-brand h1 {
    font-size: 1.2rem;
  }
  .brand-subtitle {
    font-size: 0.6rem;
  }
  .nav-logo-img {
    height: 45px;
  }
  .nav-menu {
    gap: 0.5rem;
  }
  .nav-link {
    padding: 1.5rem 0.5rem;
    font-size: 0.85rem;
  }
  .nav-link-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  /* About Section Button Adjustment for Tablet */
  .about-cta {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem !important; /* 強制的に隙間を空ける */
  }
  .about-text .btn-primary,
  .about-text .btn-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0 0 1rem 0; /* 下マージンで確実に隙間を作る */
  }
  .about-text .btn-secondary {
    margin-bottom: 0; /* 最後のボタンはマージンなし */
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px; /* Adjusted to match new navbar height */
    flex-direction: column;
    background: white;
    width: 100%;
    padding: 2rem 0;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    height: auto; /* Reset height for mobile */
  }

  .sticker-info {
    font-size: 1rem !important; /* スマホでは少し小さく */
    padding: 0.8rem 1.5rem;
    white-space: normal; /* スマホでは必要に応じて改行を許可 */
    word-break: keep-all; /* 単語の途中での改行を防ぐ */
  }

  .nav-item {
    height: auto; /* Reset height for mobile */
    width: 100%;
    display: block;
  }

  .nav-link {
    height: auto; /* Reset height for mobile */
    display: block;
    padding: 1rem 0;
    width: 100%;
  }

  .nav-link-btn {
    margin: 1rem auto;
    display: inline-block;
    width: 80%;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .nav-logo-img {
    height: 40px; /* スマホでは少し小さく */
  }

  .nav-brand {
    gap: 10px;
  }

  .hero-content {
    padding-top: 60px; /* Prevent overlap with top-right icons */
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }

  .btn-line {
    padding: 0.8rem 1.5rem; /* スマホ用にパディング微調整 */
    font-size: 1rem;
  }

  .about-content {
    flex-direction: column;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
  }

  .news-date {
    margin-bottom: 0.5rem;
  }

  .about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap; /* 画面幅が狭いときに折り返す */
  }

  /* About Section Mobile Adjustments */
  .about-text .section-header {
    text-align: center; /* SP端末では中央揃え */
  }

  .about-text .section-header h2 {
    font-size: 1.8rem; /* SP端末で見出しサイズ調整 */
  }

  .about-text p {
    font-size: 1rem; /* SP端末でテキストサイズ調整 */
    text-align: left; /* 本文は左揃えを維持 */
  }

  .about-cta {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* ボタン間の間隔を広めに確保 */
  }

  .about-text .btn-primary,
  .about-text .btn-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0; /* マージンをリセット */
  }

  .about-content {
    gap: 2rem; /* SP端末でgapを縮小 */
  }

  .image-placeholder {
    height: 300px; /* SP端末で画像プレースホルダーの高さ調整 */
  }

  /* Mobile adjustments for floating button */
  .floating-btn {
    bottom: 20px;
    right: 20px;
  }

  .floating-btn a {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  /* スマホではサブアイコンを少し小さく */
  .sub-icon {
    width: 24px;
    height: 24px;
    bottom: -2px;
    right: -2px;
  }
}
