/* ======================================
   岩見沢市ファミリー・サポート・センター
   純粋HTML/CSS版 スタイルシート
   ====================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* CSS Variables */
:root {
  --pink: #fedcdc;
  --pink-dark: #f788ac;
  --green: #cddfba;
  --green-dark: #77de79;
  --yellow: #f0e4b4;
  --peach: #ebcab6;
  --orange: #f9a242;
  --brown: #97866a;
  --bg-beige: #FDFDF7;
  --white: #ffffff;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', 'M PLUS Rounded 1c', sans-serif;
  color: var(--brown);
  line-height: 1.8;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
}

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

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

/* ======================================
   フラッグバナー
   ====================================== */
.flag-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  height: 40px;
}

.flag-banner svg {
  width: 100%;
  height: 40px;
}

/* ======================================
   ナビゲーション
   ====================================== */
.navbar {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 900;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border-bottom: 1px solid var(--pink);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mascot {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-content {
  display: flex;
  flex-direction: column;
}

.logo-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--pink-dark);
  letter-spacing: 0.05em;
}

.logo-tagline:hover {
  color: var(--orange);
}

.logo-text {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--brown);
  letter-spacing: -0.025em;
}

.logo:hover .logo-text {
  color: var(--pink-dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-menu a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--brown);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.nav-menu a:hover {
  color: var(--pink-dark);
  background: rgba(254, 220, 220, 0.3);
}

.nav-flower {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ドロップダウンメニュー */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border: 1px solid var(--pink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
  list-style: none;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--brown);
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
  background: rgba(254, 220, 220, 0.3);
  color: var(--pink-dark);
}

.nav-link.active {
  color: var(--pink-dark);
}

/* モバイルメニューボタン */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  z-index: 1001;
  position: relative;
  min-width: 44px;
  min-height: 44px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
}

.mobile-menu-content {
  padding: 1.5rem;
}

.mobile-menu-section {
  margin-bottom: 1.5rem;
}

.mobile-menu-section h3 {
  font-size: 1rem;
  color: var(--pink-dark);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pink);
}

.mobile-menu-section ul {
  list-style: none;
}

.mobile-menu-section li {
  margin-bottom: 0.5rem;
}

.mobile-menu-section a {
  display: block;
  padding: 0.5rem 0;
  color: var(--brown);
  font-size: 0.9rem;
}

.mobile-menu-section a:hover {
  color: var(--pink-dark);
}

body.menu-open {
  overflow: hidden;
}

/* モバイルナビゲーション（768px以下でハンバーガーメニュー表示） */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: #ffffff;
    z-index: 9999;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu.open {
    display: block;
  }
  
  .mobile-menu-close {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    margin: 1rem 1rem 0 auto;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brown);
    font-size: 1rem;
    padding: 0.5rem;
    -webkit-tap-highlight-color: transparent;
  }
  
  .mobile-menu-close .close-icon {
    font-size: 1.5rem;
    line-height: 1;
  }
  
  .mobile-menu-close .close-text {
    font-size: 0.8rem;
  }
  
  .mobile-menu-content {
    padding: 1rem 1.5rem 2rem;
  }
  
  .logo-mascot {
    width: 45px;
    height: 45px;
  }
  
  .logo-text {
    font-size: 0.9rem;
  }
  
  .logo-tagline {
    font-size: 0.6rem;
  }
}

/* さらに小さいスマホ */
@media (max-width: 480px) {
  .logo-mascot {
    width: 38px;
    height: 38px;
  }
  
  .logo-text {
    font-size: 0.8rem;
  }
  
  .logo-tagline {
    font-size: 0.55rem;
  }
}

/* ======================================
   ヒーローセクション
   ====================================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  padding-top: 128px;
  overflow: visible;
  z-index: 10;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #fce7e7 0%, #e8f5e9 50%, #fff9e6 100%);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 雲の装飾 */
.cloud {
  position: absolute;
  z-index: 20;
  pointer-events: none;
}

.cloud-top-left {
  left: 1rem;
  top: 128px;
  width: 192px;
}

@media (min-width: 768px) {
  .cloud-top-left {
    left: 3rem;
    width: 288px;
  }
}

@media (min-width: 1024px) {
  .cloud-top-left {
    width: 320px;
  }
}

.cloud-top-left svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.cloud-bottom-right {
  right: 1rem;
  bottom: 160px;
  width: 25%;
  z-index: 20;
}

@media (min-width: 768px) {
  .cloud-bottom-right {
    right: 2rem;
  }
}

.cloud-bottom-right svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.cloud-border-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 10;
}

.cloud-border-bottom svg {
  width: 100%;
  height: 128px;
  display: block;
}

/* ヒーローテキスト */
.hero-text-container {
  position: absolute;
  bottom: 20%;
  left: 0;
  z-index: 10;
  width: 100%;
  padding: 0 2rem;
}

@media (min-width: 768px) {
  .hero-text-container {
    padding: 0 4rem;
  }
}

@media (min-width: 1024px) {
  .hero-text-container {
    padding: 0 6rem;
  }
}

.hero-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-text-wrapper {
    width: 40%;
  }
}

.hero-text-line {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  white-space: nowrap;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .hero-text-line {
    font-size: 3rem;
    padding: 1.25rem 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-text-line {
    font-size: 3.75rem;
  }
}

/* ヒーローマスコット */
.hero-mascot {
  position: absolute;
  right: 5%;
  bottom: 15%;
  z-index: 25;
  pointer-events: none;
}

.hero-mascot img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
  animation: float 3s ease-in-out infinite;
}

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

@media (min-width: 768px) {
  .hero-mascot img {
    width: 280px;
  }
}

@media (min-width: 1024px) {
  .hero-mascot img {
    width: 350px;
  }
  
  .hero-mascot {
    right: 10%;
    bottom: 20%;
  }
}

/* 装飾の四角 */
.square {
  position: absolute;
  z-index: 20;
}

/* スマホ専用の四角（PCでは非表示） */
.square-mobile-only {
  display: none;
}

/* ======================================
   セクション共通
   ====================================== */
.section {
  padding: 5rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 5rem 2rem;
  }
}

.section.bg-beige {
  background: var(--bg-beige);
}

.section-title {
  text-align: center;
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 1rem;
  position: relative;
}

@media (min-width: 480px) {
  .section-title {
    font-size: 1.4rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--pink-dark), var(--orange));
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--brown);
  opacity: 0.8;
  margin-bottom: 3rem;
}

/* ======================================
   センターとは
   ====================================== */
.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.8;
}

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

.highlight-box {
  padding: 1.5rem;
  background: rgba(254, 220, 220, 0.3);
  border-radius: 1rem;
  border-left: 4px solid var(--pink-dark);
}

.pink-text {
  color: var(--pink-dark);
  font-weight: 700;
}

.green-text {
  color: var(--green-dark);
  font-weight: 700;
}

.about-diagram {
  position: relative;
}

.diagram-glow {
  position: absolute;
  inset: -1rem;
  background: linear-gradient(to top right, var(--pink), var(--yellow));
  border-radius: 9999px;
  opacity: 0.5;
  filter: blur(48px);
}

.diagram-card {
  position: relative;
  background: white;
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
  border: 1px solid var(--pink);
  text-align: center;
}

.diagram-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.diagram-title {
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 1rem;
}

.triangle-diagram {
  position: relative;
  width: 256px;
  height: 224px;
  margin: 1rem auto 0;
}

.node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.node-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.node-left {
  bottom: 0;
  left: 0;
}

.node-right {
  bottom: 0;
  right: 0;
}

.node-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-circle.yellow {
  background: var(--yellow);
  border: 2px solid var(--orange);
}

.node-circle.pink {
  background: var(--pink);
  border: 2px solid var(--pink-dark);
}

.node-circle.green {
  background: var(--green);
  border: 2px solid var(--green-dark);
}

.node-label {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--brown);
  margin-top: 0.25rem;
}


/* ======================================
   利用シーン
   ====================================== */
.usecase-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .usecase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .usecase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.usecase-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid rgba(254, 220, 220, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usecase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.usecase-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(254, 220, 220, 0.5), var(--white));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.usecase-icon.purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), var(--white));
}

.usecase-icon.orange {
  background: linear-gradient(135deg, rgba(249, 162, 66, 0.15), var(--white));
}

.usecase-icon.red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), var(--white));
}

.usecase-icon.amber {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), var(--white));
}

.usecase-icon.blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), var(--white));
}

.usecase-icon.green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), var(--white));
}

.usecase-card p {
  font-weight: 500;
  line-height: 1.6;
}

/* サービスカード */
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid rgba(254, 220, 220, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(254, 220, 220, 0.5), var(--white));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.service-icon.orange {
  background: linear-gradient(135deg, rgba(249, 162, 66, 0.15), var(--white));
}

.service-icon.green {
  background: linear-gradient(135deg, rgba(119, 222, 121, 0.15), var(--white));
}

.service-icon.pink {
  background: linear-gradient(135deg, rgba(247, 136, 172, 0.15), var(--white));
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--brown);
  line-height: 1.6;
}

/* サブページ共通 */
.page-header {
  padding-top: 160px;
  padding-bottom: 3rem;
  background: linear-gradient(135deg, rgba(254, 220, 220, 0.3), rgba(205, 223, 186, 0.2));
  text-align: center;
}

.page-header h1 {
  font-size: 2rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
}

.page-header p {
  color: var(--brown);
  opacity: 0.8;
}

.breadcrumb {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: var(--pink-dark);
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--brown);
  opacity: 0.5;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.page-content h2 {
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--pink-dark);
}

.page-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.page-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.content-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--pink);
  margin-bottom: 2rem;
}

.content-card h3 {
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 1rem;
}

/* 目次カード */
.toc-card {
  background: rgba(254, 220, 220, 0.3);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 0.5rem;
}

.toc-list a {
  color: var(--pink-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list a::before {
  content: "▶";
  font-size: 0.7rem;
  color: var(--pink);
}

.toc-list a:hover {
  text-decoration: underline;
}

/* 注意書き */
.note {
  color: #666;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* 情報ボックス */
.info-box {
  background: rgba(205, 223, 186, 0.3);
  border: 1px solid var(--green);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.info-box h3 {
  margin-top: 0;
  color: var(--brown);
}

.info-box ul {
  margin: 0;
  padding-left: 1.5rem;
}

.info-box li {
  margin-bottom: 0.5rem;
}

/* コンタクト情報 */
.contact-info {
  background: rgba(254, 220, 220, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.contact-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 1rem;
}

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

.contact-phone {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pink-dark);
}

/* ホームに戻るボタン */
.back-home {
  text-align: center;
  margin-top: 2rem;
}

.btn-back {
  display: inline-block;
  background: var(--pink);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

/* 目次サブリスト */
.toc-list-sub {
  list-style: none;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.toc-list-sub li {
  margin-bottom: 0.25rem;
}

.toc-list-sub a {
  font-size: 0.9rem;
}

.toc-list-sub a::before {
  content: "・";
  font-size: 0.8rem;
}

/* ステップ（利用方法） */
.step-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--pink);
}

.step-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--pink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* 会員の声 */
.voice-card {
  background: rgba(254, 220, 220, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.voice-card:last-child {
  margin-bottom: 0;
}

.voice-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--brown);
}

.voice-name {
  font-weight: 700;
  color: var(--pink-dark);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.voice-content p {
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.voice-content p:last-child {
  margin-bottom: 0;
}

/* 警告ボックス */
.warning-box {
  background: rgba(254, 200, 200, 0.3);
  border: 1px solid #e57373;
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.warning-box p {
  margin: 0.25rem 0;
  color: #c62828;
}

/* リンク矢印 */
.link-arrow {
  color: var(--pink-dark);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.link-arrow:hover {
  text-decoration: underline;
}

/* 注意リスト */
.caution-list {
  padding-left: 1.5rem;
}

.caution-list li {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.caution-list li:last-child {
  margin-bottom: 0;
}

/* サービスセクション */
.service-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--pink);
}

.service-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-section h3 {
  margin-top: 0;
}

.service-section ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.service-section li {
  margin-bottom: 0.25rem;
}

/* ダウンロードボタン */
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-download:hover {
  background: #7cb342;
}

.btn-download::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4'/%3E%3C/svg%3E");
  background-size: contain;
}

/* ハイライトテキスト */
.highlight-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown);
}

/* メンバー紹介 */
.member-title {
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.25rem;
}

.member-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

/* 実績リスト */
.record-list {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.record-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* 地図コンテナ */
.map-container {
  margin-top: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.map-container iframe {
  display: block;
}

/* Instagramリンク */
.instagram-link {
  margin-top: 1.5rem;
  text-align: center;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.25rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-instagram:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.instagram-preview {
  margin: 1.5rem 0;
  text-align: center;
}

.instagram-preview img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.instagram-preview img:hover {
  transform: scale(1.02);
}

/* Page Image Frame - Shadow Style */
.page-image-frame {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(151, 134, 106, 0.2);
}

.page-image-frame img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(151, 134, 106, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.download-list {
  list-style: none;
  padding: 0;
}

.download-list li {
  margin-bottom: 1rem;
}

.download-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(to right, var(--pink-dark), var(--orange));
  color: white;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.download-list a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(247, 136, 172, 0.3);
}

/* ======================================
   会員登録セクション
   ====================================== */
.registration-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.registration-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: var(--brown);
}

.registration-note {
  font-size: 1rem;
  color: var(--pink-dark);
  font-weight: 600;
  margin: 1.5rem 0;
}

.registration-button {
  display: inline-block;
  background: linear-gradient(to right, var(--pink-dark), var(--orange));
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(247, 136, 172, 0.3);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .registration-button {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 1rem auto 0;
    text-align: center;
  }
}

.registration-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 136, 172, 0.4);
}

/* ======================================
   利用方法セクション
   ====================================== */
.howto-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.howto-step {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 2px solid var(--pink);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.howto-step:not(:last-child) {
  margin-bottom: 1rem;
}


.howto-number {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.howto-content {
  flex: 1;
}

.howto-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.howto-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--brown);
}

/* 対象セクション追加スタイル */
.member-type {
  font-size: 1rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
}

.member-type:first-child {
  margin-top: 0;
}

.member-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--brown);
  margin-bottom: 1rem;
}

/* サービスリンク */
.service-link {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--pink-dark);
  font-weight: 600;
}

/* CTAセクション追加スタイル */
.cta-org {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem !important;
}

.cta-address {
  font-size: 1rem;
  margin-bottom: 1.5rem !important;
}

/* ======================================
   CTA セクション
   ====================================== */
.cta-section {
  padding: 5rem 1rem;
  background: linear-gradient(to right, var(--pink-dark), var(--orange));
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.cta-circle-1 {
  width: 256px;
  height: 256px;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}

.cta-circle-2 {
  width: 384px;
  height: 384px;
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

.cta-container h2 {
  font-size: 1.875rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-container h2 {
    font-size: 2.25rem;
  }
}

.cta-container p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  opacity: 0.9;
}

.cta-note {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255,255,255,0.3);
}

.cta-note p {
  margin-bottom: 0;
  font-weight: 700;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--brown);
  font-weight: 700;
  font-size: 1.25rem;
  padding: 1.5rem 2.5rem;
  border-radius: 9999px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  background: #f9fafb;
}

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: inline;
  }
}

/* ======================================
   利用方法
   ====================================== */
.steps-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.steps-line {
  display: none;
}

@media (min-width: 768px) {
  .steps-line {
    display: block;
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--pink);
  }
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.step-number {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--pink-dark), var(--orange));
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(247, 136, 172, 0.3);
}

.step-content {
  flex: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--pink);
}

.step-content h3 {
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--brown);
  line-height: 1.6;
}

/* ======================================
   料金
   ====================================== */
.fee-card {
  max-width: 900px;
  margin: 0 auto 2rem;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.fee-header {
  padding: 1rem 1.5rem;
  color: white;
}

.fee-header.orange {
  background: linear-gradient(to right, var(--orange), #fbbf24);
}

.fee-header.green {
  background: linear-gradient(to right, var(--green-dark), #86efac);
}

.fee-header h3 {
  font-size: 1.25rem;
  margin: 0;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
}

.fee-table th,
.fee-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
}

.fee-table th {
  background: #fafafa;
  font-weight: 600;
  color: var(--brown);
}

.fee-table td {
  color: var(--brown);
}

.fee-table.small th,
.fee-table.small td {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.fee-note {
  padding: 1rem 1.5rem;
  background: rgba(254, 220, 220, 0.2);
}

.fee-note.green-bg {
  background: rgba(205, 223, 186, 0.3);
}

.fee-note.yellow-bg {
  background: rgba(240, 228, 180, 0.3);
}

.fee-note p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.fee-content {
  padding: 1.5rem;
}

.fee-content h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: var(--brown);
  margin: 1.5rem 0 1rem;
}

.fee-content h4:first-child {
  margin-top: 0;
}

.check-icon {
  vertical-align: middle;
  margin-right: 0.25rem;
}

/* ======================================
   対象・営業時間
   ====================================== */
.info-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-title {
  font-size: 1.5rem;
  color: var(--brown);
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--pink-dark);
}

.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--pink);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.info-icon {
  flex-shrink: 0;
}

.info-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brown);
}

.info-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown);
}

.info-value.pink {
  color: var(--pink-dark);
}

.info-note {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0.5rem 0;
}

.info-text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0.75rem 0;
}

.info-warning {
  font-size: 0.875rem;
  color: var(--pink-dark);
  font-weight: 500;
}

.info-detail {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.6;
  margin: 0.75rem 0;
}

.info-highlight {
  font-size: 0.9rem;
  color: var(--orange);
  font-weight: 600;
}

/* 料金表 */
.price-card {
  padding: 1.5rem;
}

.price-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pink-dark);
  margin: 1rem 0 0.75rem 0;
}

.price-subtitle:first-child {
  margin-top: 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0 1rem 0;
  font-size: 0.9rem;
}

.price-table th,
.price-table td {
  padding: 0.75rem;
  text-align: left;
  border: 1px solid var(--pink);
}

.price-table th {
  background: var(--bg-pink);
  font-weight: 600;
  color: var(--brown);
}

.price-table td {
  background: white;
  color: var(--brown);
}

.price-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.price-note {
  font-size: 0.85rem;
  color: var(--pink-dark);
  margin: 0.5rem 0 1rem 0;
}

.price-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown);
  margin: 1rem 0 0.5rem 0;
}

.price-notes {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--pink);
}

.price-notes p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0.25rem 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .price-table {
    font-size: 0.75rem;
    border: 2px solid var(--pink);
    display: table;
    table-layout: fixed;
  }
  
  .price-table th,
  .price-table td {
    padding: 0.5rem 0.3rem;
    border: 1px solid var(--pink);
    word-break: break-word;
  }
  
  .price-card {
    padding: 1rem 0.75rem;
    overflow-x: auto;
  }
}

/* 地図 */
.map-container {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  background: #e5e7eb;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.address-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--pink);
}

.address-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 1rem;
}

.address-text {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.address-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pink-dark);
}

.pin-icon, .phone-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

/* ======================================
   お問い合わせ
   ====================================== */
.form-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border: 1px solid var(--pink);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--brown);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--pink-dark);
  box-shadow: 0 0 0 3px rgba(247, 136, 172, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-button {
  width: 100%;
  background: linear-gradient(to right, var(--pink-dark), var(--orange));
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(247, 136, 172, 0.3);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(to right, var(--pink-dark), var(--orange));
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 1rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(247, 136, 172, 0.3);
}

.required {
  color: var(--pink-dark);
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #06C755;
  color: white;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-top: 1rem;
}

.btn-line:hover {
  background-color: #05a847;
  transform: translateY(-2px);
}

.btn-line svg {
  flex-shrink: 0;
}

/* ======================================
   フッター
   ====================================== */
.footer {
  background: rgba(254, 220, 220, 0.5);
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-contact-info {
  flex: 1;
}

.footer-mascot img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,0.1));
}

@media (min-width: 768px) {
  .footer-mascot img {
    width: 140px;
  }
}

@media (min-width: 1024px) {
  .footer-mascot img {
    width: 160px;
  }
}

.footer-cloud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  pointer-events: none;
}

.footer-cloud svg {
  width: 100%;
  height: 80px;
}

.footer-square {
  position: absolute;
  z-index: 10;
  pointer-events: none;
}

/* フッター装飾の四角をより目立たせる */
.footer-square::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-column h4 {
  font-size: 1.1rem;
  color: var(--pink-dark);
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pink-dark);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--brown);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--pink-dark);
}

.footer-column p {
  font-size: 0.875rem;
  color: var(--brown);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-link {
  display: inline-block;
  color: var(--pink-dark);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pink-dark);
}

.footer-copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(151, 134, 106, 0.2);
}

.footer-copyright p {
  font-size: 0.875rem;
  color: var(--brown);
  opacity: 0.8;
}

/* ======================================
   スマホ用ヒーローセクション調整
   ====================================== */

/* スマホ表示（768px以下） */
@media (max-width: 767px) {
  /* キャッチコピーのサイズを縮小 - 背景画像が見えるように */
  .hero-text-line {
    font-size: 1.25rem;
    padding: 0.625rem 1.5rem;
    line-height: 1.4;
  }
  
  /* ヒーローテキストラッパーの余白調整 */
  .hero-text-wrapper {
    gap: 0.125rem;
  }
  
  /* 雲のz-indexを明示 - 四角より下 */
  .cloud {
    z-index: 15;
  }
  
  /* 左上の雲を縮小 */
  .cloud-top-left {
    width: 120px;
  }
  
  /* 右下の雲を縮小 */
  .cloud-bottom-right {
    width: 18%;
    bottom: 120px;
  }
  
  /* 下部の雲ボーダーを縮小 */
  .cloud-border-bottom svg {
    height: 80px;
  }
  
  /* 下部の雲ボーダー - 最下層 */
  .cloud-border-bottom {
    z-index: 10;
  }
  
  /* スマホでは上の四角を非表示（square-bottomクラスがないものだけ） */
  .square:not(.square-bottom) {
    display: none !important;
  }
  
  /* 下部の四角のみ表示（雲の上に配置） */
  .square.square-bottom {
    display: block !important;
    z-index: 100;
    width: 10px !important;
    height: 10px !important;
    margin-bottom: -16px;
  }
  
  /* スマホ専用の四角を表示 */
  .square-mobile-only {
    display: block !important;
  }
  
  /* フッターの雲を自然に表示 */
  .footer-cloud svg {
    height: 60px;
  }
  
  /* フッターの四角を縮小 */
  .footer-square {
    width: 10px !important;
    height: 10px !important;
  }
  
  /* ヒーローセクションの調整 */
  .hero-section {
    min-height: 65vh;
  }
}

/* さらに小さいスマホ（480px以下） */
@media (max-width: 480px) {
  .hero-text-line {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  
  /* 左上の雲をさらに縮小 */
  .cloud-top-left {
    width: 100px;
  }
  
  /* 右下の雲をさらに縮小 */
  .cloud-bottom-right {
    width: 15%;
    bottom: 100px;
  }
  
  /* 下部の雲ボーダーをさらに縮小 */
  .cloud-border-bottom svg {
    height: 60px;
  }
  
  /* 下部の四角を雲の上に配置（小さい画面用） */
  .square.square-bottom {
    width: 8px !important;
    height: 8px !important;
  }
  
  /* フッターの雲を自然に表示（小さい画面用） */
  .footer-cloud svg {
    height: 50px;
  }
  
  /* フッターの四角をさらに縮小 */
  .footer-square {
    width: 8px !important;
    height: 8px !important;
  }
}
