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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Arial', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
}

/* ホームセクション */
.home-section {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #f5f5dc 0%, #fffef0 100%);
  position: relative;
}

/* ノート風の背景 */
.home-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      transparent,
      transparent 39px,
      #d4a5a5 39px,
      #d4a5a5 40px
    );
  pointer-events: none;
  opacity: 0.3;
}

/* 左側の赤い余白線 */
.home-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 80px;
  width: 2px;
  height: 100%;
  background-color: #ff6b6b;
  opacity: 0.5;
  pointer-events: none;
}

/* ノートコンテナ */
.notebook-container {
  position: relative;
  width: 90%;
  max-width: 800px;
  height: auto;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 30px;
}

/* 手書きラッパー */
.handwriting-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
}

/* テキストオーバーレイ */
.text-overlay {
  font-family: 'Klee One', 'Yusei Magic', cursive;
  font-size: 70px;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.05em;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

/* マーカーハイライト背景 */
.text-overlay::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 0%;
  height: 65%;
  background: linear-gradient(to right,
    rgba(230, 57, 70, 0.5) 0%,
    rgba(240, 113, 103, 0.4) 50%,
    rgba(230, 57, 70, 0.5) 100%);
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-5deg);
  animation: marker-highlight 1.2s ease-out forwards;
  box-shadow: 
    0 2px 8px rgba(230, 57, 70, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.3),
    inset 0 -1px 2px rgba(0, 0, 0, 0.1);
}

/* マーカーのテクスチャ */
.text-overlay::after {
  content: '';
  position: absolute;
  top: 20%;
  left: 15%;
  width: 0%;
  height: 65%;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(255, 200, 200, 0.15) 2px,
      rgba(255, 200, 200, 0.15) 3px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(230, 57, 70, 0.03) 3px,
      rgba(230, 57, 70, 0.03) 4px
    );
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-5deg);
  animation: marker-highlight 1.2s ease-out forwards;
  pointer-events: none;
}

@keyframes marker-highlight {
  0% {
    width: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    width: 65%;
    opacity: 1;
  }
}

/* 各文字 */
.char {
  display: inline-block;
}

/* マーカーペンの先端 */
.marker-tip {
  position: absolute;
  width: 25px;
  height: 12px;
  opacity: 0;
  animation: marker-move 1.2s ease-out forwards;
  z-index: 10;
  background: linear-gradient(to bottom,
    #e63946 0%,
    #f07167 30%,
    #f07167 70%,
    #e63946 100%);
  border-radius: 2px;
  transform-origin: center;
  box-shadow: 
    0 2px 5px rgba(230, 57, 70, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 1px rgba(0, 0, 0, 0.1);
}

/* マーカーの先端（斜めカット） */
.marker-tip::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to bottom,
    rgba(240, 113, 103, 0.8) 0%,
    rgba(240, 113, 103, 0.4) 100%);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
  filter: blur(1px);
}

/* マーカーの光沢 */
.marker-tip::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 5%;
  width: 55%;
  height: 45%;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%);
  border-radius: 1px;
}

@keyframes marker-move {
  0% {
    opacity: 1;
    left: 15%;
    top: 45%;
    transform: rotate(-15deg);
  }
  10% {
    transform: rotate(-10deg);
  }
  20% {
    left: 25%;
    top: 47%;
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(-5deg);
  }
  40% {
    left: 35%;
    top: 48%;
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(-2deg);
  }
  60% {
    left: 48%;
    top: 47%;
    transform: rotate(-4deg);
  }
  70% {
    transform: rotate(-6deg);
  }
  80% {
    left: 62%;
    top: 46%;
    transform: rotate(-8deg);
  }
  90% {
    left: 75%;
    top: 45%;
    transform: rotate(-10deg);
  }
  100% {
    opacity: 0;
    left: 80%;
    top: 45%;
    transform: rotate(-12deg);
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .notebook-container {
    width: 90%;
    padding: 40px 25px;
  }
  
  .text-overlay {
    font-size: 60px;
    gap: 10px;
  }
  
  .marker-tip {
    width: 26px;
    height: 12px;
  }
  
  .home-section::after {
    left: 50px;
  }
}

@media (max-width: 480px) {
  .text-overlay {
    font-size: 65px;
    gap: 10px;
  }
  
  .notebook-container {
    padding: 40px 25px;
  }
  
  .marker-tip {
    width: 28px;
    height: 13px;
  }
  
  .home-section::after {
    left: 50px;
  }
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 50px;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-logo {
  font-family: 'Klee One', 'Noto Sans JP', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #e63946;
  text-decoration: none;
  position: relative;
  padding: 12px 20px;
  background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
  border-radius: 3px;
  box-shadow: 
    0 2px 5px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  transform: rotate(-2deg);
  animation: floatIn 1.5s ease-out forwards, floatUpDown 3s ease-in-out 1.5s infinite;
}

@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(-50px) rotate(-2deg) scale(0.8);
  }
  60% {
    transform: translateY(5px) rotate(-2deg) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotate(-2deg) scale(1);
  }
}

@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

.header-logo::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 15px;
  background: rgba(255, 235, 59, 0.3);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header-logo:hover {
  color: #e63946;
  transform: rotate(0deg) translateY(-3px);
  box-shadow: 
    0 5px 15px rgba(230, 57, 70, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  animation: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: transform 0.3s ease;
}

.hamburger:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background: #e63946;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.nav-link {
  font-family: 'Noto Sans JP', 'Arial', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #5d4037;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: #e63946;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #e63946;
  transform: translateY(-2px);
}

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

/* セクション共通スタイル */
.section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 80px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.section-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 装飾的な形状 */
.decorative-shape {
  position: absolute;
  border-radius: 50% 40% 60% 50%;
  opacity: 0.3;
  z-index: 1;
}

.shape-pink-top {
  width: 250px;
  height: 200px;
  background: linear-gradient(135deg, #ffccd5 0%, #ffe5ec 100%);
  top: 5%;
  left: 8%;
}

.shape-red-left {
  width: 200px;
  height: 180px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 100%);
  top: 40%;
  left: 5%;
  opacity: 0.2;
}

.shape-orange-bottom {
  width: 280px;
  height: 220px;
  background: linear-gradient(135deg, #ffa07a 0%, #ffb997 100%);
  bottom: 10%;
  right: 8%;
  opacity: 0.3;
}

.shape-red-top {
  width: 180px;
  height: 160px;
  background: linear-gradient(135deg, #e63946 0%, #f07167 100%);
  top: 8%;
  right: 10%;
  opacity: 0.2;
}

.shape-orange-right {
  width: 200px;
  height: 180px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  bottom: 15%;
  right: 5%;
  opacity: 0.25;
}

.shape-pink-left {
  width: 220px;
  height: 200px;
  background: linear-gradient(135deg, #ffc8dd 0%, #ffd6e7 100%);
  top: 20%;
  left: 5%;
}

.shape-yellow-bottom-right {
  width: 240px;
  height: 200px;
  background: linear-gradient(135deg, #fcbf49 0%, #ffd97d 100%);
  bottom: 10%;
  right: 8%;
  opacity: 0.3;
}

.shape-green-left {
  width: 200px;
  height: 180px;
  background: linear-gradient(135deg, #b8e6d5 0%, #d4f1e8 100%);
  top: 40%;
  left: 5%;
}

.shape-yellow-bottom {
  width: 280px;
  height: 220px;
  background: linear-gradient(135deg, #fff9c4 0%, #fffde7 100%);
  bottom: 10%;
  right: 8%;
}

.shape-green-top {
  width: 180px;
  height: 160px;
  background: linear-gradient(135deg, #c8e6c9 0%, #e8f5e9 100%);
  top: 8%;
  right: 10%;
}

.shape-yellow-right {
  width: 200px;
  height: 180px;
  background: linear-gradient(135deg, #fff59d 0%, #ffffb3 100%);
  bottom: 15%;
  right: 5%;
}

/* 私たちについてセクション */
.about-section {
  background: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #5d4037;
  display: block;
  margin-bottom: 15px;
}

.section-title {
  font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #e63946;
  position: relative;
  display: inline-block;
  margin: 0;
}

.red-dotted {
  border-bottom: 4px dotted #e63946;
  padding-bottom: 10px;
}

.green-dotted {
  border-bottom: 4px dotted #4caf50;
  padding-bottom: 10px;
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: space-between;
}

.about-text-card {
  flex: 1;
  background: white;
  padding: 50px 40px;
  border-radius: 60% 40% 50% 60% / 50% 60% 40% 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: 500px;
}

.about-text-card p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #5d4037;
  margin-bottom: 30px;
}

.learn-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background: #e63946;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-size: 15px;
  transition: all 0.3s ease;
  border: 2px solid #e63946;
}

.learn-more-btn:hover {
  background: white;
  color: #e63946;
}

.btn-icon {
  width: 20px;
  height: 20px;
  background: white;
  color: #e63946;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.about-image {
  flex: 1;
  max-width: 500px;
}

.image-placeholder {
  width: 100%;
  height: 350px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-radius: 50% 40% 60% 50% / 60% 50% 40% 60%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* サービスセクション */
.services-section {
  background: #ffffff;
  padding: 120px 20px;
}

.info-circles {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.info-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.info-circle:hover {
  transform: scale(1.05);
}

.red-circle {
  background: linear-gradient(135deg, #e63946 0%, #f07167 100%);
  color: white;
}

.orange-circle {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  color: white;
}

.coral-circle {
  background: linear-gradient(135deg, #f77f00 0%, #fcbf49 100%);
  color: white;
}

.green-circle {
  background: linear-gradient(135deg, #4caf50 0%, #81c784 100%);
  color: white;
}

.blue-circle {
  background: linear-gradient(135deg, #03a9f4 0%, #4fc3f7 100%);
  color: white;
}

.circle-content {
  text-align: center;
  padding: 30px;
}

.circle-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.age-text {
  font-size: 24px;
  font-weight: 700;
  margin: 10px 0;
}

.age-number {
  font-size: 42px;
  font-weight: 900;
}

.age-sub {
  font-size: 14px;
  margin-top: 5px;
}

.check-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.check-list li {
  font-size: 18px;
  font-weight: 600;
  margin: 12px 0;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 60px rgba(230, 57, 70, 0.2);
}

.card-image-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
}

.card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #5d4037;
  padding: 20px 25px 10px;
  margin: 0;
}

.card-description {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: #666;
  padding: 0 25px 25px;
  margin: 0;
}

/* 会社概要セクション */
.company-section {
  background: #ffffff;
  padding: 100px 20px;
}

.wave-divider {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 1;
}

.top-wave {
  top: 0;
  background: linear-gradient(to bottom, #3e2723 0%, #3e2723 50%, transparent 50%);
  clip-path: ellipse(100% 100% at 50% 0%);
}

.bottom-wave {
  bottom: 0;
  background: linear-gradient(to top, #fffef7 0%, #fffef7 50%, transparent 50%);
  clip-path: ellipse(100% 100% at 50% 100%);
}

.company-section .section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 36px;
  display: block;
  width: 100%;
}

.company-info-card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  padding: 50px 60px;
}

.company-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.company-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
}

.company-table tbody tr:last-child {
  border-bottom: none;
}

.company-table th,
.company-table td {
  padding: 20px 15px;
  text-align: center;
  vertical-align: middle;
}

.company-table td {
  text-align: center;
}

.company-table th {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #e63946;
  width: 30%;
  background: #fff5f5;
}

.company-table td {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: #333;
  line-height: 1.8;
}

.contact-link {
  color: #e63946;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #f07167;
  text-decoration: underline;
}

.note {
  font-size: 13px;
  color: #999;
}

/* お問い合わせセクション */
.contact-section {
  background: #ffffff;
  padding: 120px 20px;
}

.contact-section .section-title {
  text-align: center;
  margin-bottom: 20px;
  display: block;
  width: 100%;
}

.contact-intro {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto 60px;
  background: white;
  padding: 50px 60px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  text-align: center;
}

.required {
  color: #e63946;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: #333;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  background: #fafafa;
  text-align: center;
}

.form-group textarea {
  text-align: left;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e63946;
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(230, 57, 70, 0.15);
}

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

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.submit-button {
  padding: 15px 60px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #e63946 0%, #f07167 100%);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.contact-info-bottom {
  text-align: center;
  padding: 40px 20px;
  background: #fff5f5;
  border-radius: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-note {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.phone-contact {
  font-size: 24px;
  font-weight: 700;
  margin: 15px 0;
}

.phone-contact a {
  color: #e63946;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-contact a:hover {
  color: #f07167;
}

.business-hours {
  font-size: 14px;
  color: #999;
  margin-top: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  html {
    font-size: 18px;
  }
  
  body {
    font-size: 18px;
  }
  
  .header {
    padding: 18px 25px;
  }
  
  .header-container {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
  }
  
  .header-logo {
    font-size: 22px;
    padding: 12px 20px;
  }
  
  .hamburger {
    display: flex;
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 1002;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 60px 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 1000;
  }
  
  .nav.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 20px;
    padding: 15px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .section {
    padding: 100px 25px 80px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .section-label {
    font-size: 15px;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text-card {
    max-width: 100%;
    padding: 35px 30px;
  }
  
  .about-text-card p {
    font-size: 16px;
    line-height: 1.9;
  }
  
  .learn-more-btn {
    padding: 14px 30px;
    font-size: 16px;
  }
  
  .info-circles {
    gap: 35px;
    flex-direction: column;
    align-items: center;
  }
  
  .info-circle {
    width: 240px;
    height: 240px;
  }
  
  .info-circle h3 {
    font-size: 18px;
  }
  
  .age-text {
    font-size: 24px;
  }
  
  .age-sub {
    font-size: 15px;
  }
  
  .check-list li {
    font-size: 16px;
  }
  
  .service-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-card {
    padding: 30px 25px;
  }
  
  .card-title {
    font-size: 20px;
  }
  
  .card-description {
    font-size: 15px;
    line-height: 1.8;
  }
  
  .company-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .company-info-card {
    padding: 40px 30px;
  }
  
  .company-table th,
  .company-table td {
    padding: 18px 12px;
    font-size: 15px;
  }
  
  .contact-form {
    padding: 40px 30px;
  }
  
  .form-group label {
    font-size: 15px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 14px 16px;
  }
  
  .submit-button {
    font-size: 17px;
    padding: 16px 40px;
  }
  
  .phone-contact {
    font-size: 26px;
  }
  
  .contact-note,
  .business-hours {
    font-size: 15px;
  }
  
  .footer-brand {
    font-size: 22px;
  }
  
  .footer-tagline {
    font-size: 14px;
  }
  
  .footer-nav-link {
    font-size: 15px;
  }
  
  .decorative-shape {
    opacity: 0.2;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 17px;
  }
  
  body {
    font-size: 17px;
  }
  
  .header {
    padding: 15px 20px;
  }
  
  .header-logo {
    font-size: 22px;
    padding: 12px 20px;
  }
  
  .hamburger {
    top: 18px;
    right: 20px;
  }
  
  .nav {
    right: -260px;
    width: 260px;
    padding: 60px 25px;
  }
  
  .nav-link {
    font-size: 16px;
  }
  
  .section {
    padding: 90px 25px 70px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .section-label {
    font-size: 16px;
  }
  
  .about-text-card {
    padding: 35px 30px;
  }
  
  .about-text-card p {
    font-size: 17px;
    line-height: 2;
  }
  
  .learn-more-btn {
    padding: 14px 30px;
    font-size: 17px;
  }
  
  .info-circle {
    width: 260px;
    height: 260px;
  }
  
  .info-circle h3 {
    font-size: 19px;
  }
  
  .age-text {
    font-size: 26px;
  }
  
  .age-sub {
    font-size: 16px;
  }
  
  .check-list li {
    font-size: 17px;
  }
  
  .service-card {
    padding: 30px 25px;
  }
  
  .card-title {
    font-size: 21px;
  }
  
  .card-description {
    font-size: 16px;
    line-height: 1.9;
  }
  
  .company-info-card {
    padding: 35px 30px;
  }
  
  .company-table th,
  .company-table td {
    padding: 18px 15px;
    font-size: 16px;
  }
  
  .company-table th {
    width: 35%;
  }
  
  .contact-form {
    padding: 35px 30px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-group label {
    font-size: 16px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 17px;
    padding: 15px 18px;
  }
  
  .submit-button {
    font-size: 18px;
    padding: 16px 40px;
  }
  
  .phone-contact {
    font-size: 28px;
  }
  
  .contact-note,
  .business-hours {
    font-size: 14px;
  }
  
  .footer-brand {
    font-size: 20px;
  }
  
  .footer-tagline {
    font-size: 13px;
  }
  
  .footer-nav-link {
    font-size: 14px;
  }
}

/* フッター */
.footer {
  background: #f8f8f8;
  padding: 60px 20px 30px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-section {
  text-align: center;
}

.footer-brand {
  font-family: 'Klee One', 'Yusei Magic', cursive;
  font-size: 36px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 10px 0;
}

.footer-tagline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #666;
  margin: 0;
  letter-spacing: 1px;
}

.footer-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: #5d4037;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #e63946;
  transition: width 0.3s ease;
}

.footer-nav-link:hover {
  color: #2c3e50;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #999;
  margin: 0;
  letter-spacing: 0.5px;
}

/* フッター レスポンシブ */
@media (max-width: 768px) {
  .footer {
    padding: 50px 20px 25px;
  }
  
  .footer-content {
    gap: 30px;
  }
  
  .footer-brand {
    font-size: 28px;
  }
  
  .footer-nav {
    gap: 20px;
  }
  
  .footer-nav-link {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 20px 20px;
  }
  
  .footer-brand {
    font-size: 24px;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-nav-link::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .company-info-card {
    padding: 25px 20px;
  }
  
  .company-table th {
    font-size: 13px;
  }
  
  .company-table td {
    font-size: 13px;
  }
  
  .contact-form {
    padding: 25px 20px;
  }
  
  .submit-button {
    width: 100%;
    padding: 15px 30px;
  }
}

/* スクロールアニメーション */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* 各要素ごとの個別アニメーション */
.section-title.animate-on-scroll {
  transform: translateY(30px) scale(0.95);
}

.section-title.animate-on-scroll.animated {
  transform: translateY(0) scale(1);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.info-circle.animate-on-scroll {
  transform: translateY(80px) scale(0.8);
  opacity: 0;
}

.info-circle.animate-on-scroll.animated {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.service-card.animate-on-scroll {
  transform: translateY(60px) rotateX(10deg);
  opacity: 0;
}

.service-card.animate-on-scroll.animated {
  transform: translateY(0) rotateX(0deg);
  opacity: 1;
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.about-text-card.animate-on-scroll {
  transform: translateX(-80px);
  opacity: 0;
}

.about-text-card.animate-on-scroll.animated {
  transform: translateX(0);
  opacity: 1;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.about-image.animate-on-scroll {
  transform: translateX(80px);
  opacity: 0;
}

.about-image.animate-on-scroll.animated {
  transform: translateX(0);
  opacity: 1;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.company-info-card.animate-on-scroll {
  transform: translateY(60px) scale(0.9);
  opacity: 0;
}

.company-info-card.animate-on-scroll.animated {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.contact-form.animate-on-scroll {
  transform: translateY(70px);
  opacity: 0;
}

.contact-form.animate-on-scroll.animated {
  transform: translateY(0);
  opacity: 1;
  transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}

/* ホバー時のアニメーション強化 */
.service-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 60px rgba(230, 57, 70, 0.2);
}

.info-circle {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.info-circle:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.learn-more-btn {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.learn-more-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.nav-link {
  transition: color 0.3s ease, transform 0.3s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
}

.submit-button {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

/* 装飾形状のアニメーション */
.decorative-shape {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-15px) rotate(2deg);
  }
  50% {
    transform: translateY(-10px) rotate(-2deg);
  }
  75% {
    transform: translateY(-20px) rotate(1deg);
  }
}

/* テーブル行のホバーアニメーション */
.company-table tbody tr {
  transition: background 0.3s ease, transform 0.2s ease;
}

.company-table tbody tr:hover {
  background: #fff9f9;
  transform: translateX(5px);
}
