@import "variables.css";


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

textarea {
  resize: none;
}

a {
  text-decoration: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Microsoft YaHei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-body);
  background: var(--gradient-liquid);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  min-height: 100vh;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

html {
  font-size: 16.2px;
  scroll-behavior: smooth;
}

/* ナビゲーション */
header {
  font-family: Arial;
  background-color: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease-out, background-color 0.3s ease;
}

.header-hidden {
  transform: translateY(-100%);
}

nav {
  padding: 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 3rem;
  /* max-width: 1200px; */
  margin: 0 auto;
  height: var(--header-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 1001;
}

.nav-logo img {
  height: 45px;
  width: auto;
  max-width: 180px;
}

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

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-menu li a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--color-primary);
  background-color: rgba(236, 116, 32, 0.1);
}

html[data-lang="zh"] header {
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
}

html[data-lang="zh"] .nav-menu li a {
  font-weight: 500;
}



.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-white);
  margin-bottom: 0;
  padding: 0;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 4.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.4rem;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.content h2 {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 4rem;
  /* More breathing room */
  text-align: center;
  color: var(--color-secondary);
  position: relative;
  letter-spacing: -0.02em;
  /* Tighter tracking like SF Pro */
}

.content h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3.6px;
  background: var(--gradient-brand);
  margin: 1.5rem auto;
  /* More space */
  border-radius: 1.8px;
}

.content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  color: var(--text-main);
}

.content-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--glass-radius);
  margin: 2rem 0;
  box-shadow: var(--glass-shadow);
}

/* カードスタイル (Glassmorphism) */
.service-item,
.gallery-item {
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
  width: 100%;
}

.service-item:hover,
.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25);
}

/* サービスグリチE�E�E�E��E�E�E� */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.services-grid>a {
  display: flex;
  height: 100%;
}

.service-image {
  width: 135px;
  height: 135px;
  object-fit: cover;
  border-radius: 10.8px;
  flex-shrink: 0;
}

.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-item h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.service-item p {
  color: var(--text-light);
  margin: 0;
}

/* ギャラリーグリチE�E�E�E��E�E�E� */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  padding: 0;
  /* ギャラリーアイチE�E�E�E��E�E�E�はパディングなしで画像を大きく見せめE*/
  overflow: hidden;
}

.gallery-image {
  width: 100%;
  height: 225px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-caption {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
}

.gallery-caption h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--color-secondary);
}

.gallery-caption p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* お問ぁE�E�E�E��E�E�E�わせフォーム */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
}

.contact-info h2,
.contact-form h2 {
  font-size: 2.4rem;
  margin-bottom: 2rem;
  color: var(--color-secondary);
}

.contact-item h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(236, 116, 32, 0.2);
}

.submit-btn {
  background: var(--gradient-brand);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 15px rgba(236, 116, 32, 0.4);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(236, 116, 32, 0.6);
}

/* 言語選抁E- iOS Style Picker-like */
#lang-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 0.5rem 2rem 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background-color: rgba(118, 118, 128, 0.12);
  /* iOS Gray Fill */
  font-size: 13.5px;
  /* iOS Body size */
  margin-left: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23EC7420%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
}

/* フッター */
footer {
  background-color: var(--color-secondary);
  color: white;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

/* モバイルボトムナビゲーション */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--mobile-nav-height);
  background: var(--bg-glass-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: var(--glass-border);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1002;
  justify-content: space-around;
  align-items: center;
  padding-bottom: calc(env(safe-area-inset-bottom) + 10px);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-light);
  font-size: 9px;
  /* iOS tab label size */
  flex: 1;
  height: 100%;
  padding-top: 5px;
}

.mobile-nav-item.active {
  color: var(--color-primary);
}

.mobile-nav-icon {
  font-size: 21.6px;
  /* iOS standard icon size */
  margin-bottom: 4px;
}

/* Home Contact Section */
.home-contact-section {
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 6rem;
  /* Space for mobile nav */
}

.home-contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  border: var(--glass-border);
}

.home-contact-container h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.sns-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.sns-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: white;
  transition: transform 0.2s;
}

.sns-btn:active {
  transform: scale(0.96);
}

.sns-kakao {
  background-color: #fee500;
  color: #000000;
}

.sns-line {
  background-color: #06c755;
}

.home-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.home-contact-form input,
.home-contact-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  background: rgba(118, 118, 128, 0.12);
  /* iOS Gray Fill */
  border-radius: 10px;
  font-size: 14.4px;
  /* Prevent zoom on iOS */
  color: var(--text-main);
}

.home-contact-form button {
  margin-top: 1rem;
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15.3px;
  font-weight: 600;
  cursor: pointer;
}

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

/* Tablet breakpoint - 2 column grid for services, mobile header */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Use mobile header on tablet */
  .nav-menu {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  #lang-select {
    margin-left: auto;
    margin-right: 1rem;
  }
}

@media (max-width: 768px) {
  /* === iOS-Style Mobile UI === */

  .nav-menu,
  .hamburger {
    display: none;
  }

  #lang-select {
    margin-left: auto;
    margin-right: 1rem;
  }

  .nav-container {
    justify-content: space-between;
    height: 60px;
  }

  .nav-logo img {
    height: 40px;
  }

  .mobile-nav {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* iOS-style content sections */
  .content {
    padding: 2rem 1rem 5rem;
  }

  .content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
  }

  /* iOS card-style sections */
  .kizuna-identity,
  .support-desk,
  .company-info,
  .recruitment-teaser,
  .services-overview {
    padding: 1.75rem 1.25rem;
    margin: 1.25rem 0;
  }

  /* iOS-style service items */
  .service-item {
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
  }

  .service-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .service-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .service-image {
    height: 160px;
    border-radius: 12px;
    margin-bottom: 1rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
    border-radius: 20px;
  }

  .services-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Mobile-specific utilities */
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .hero:not(.hero-page) .hero-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .content {
    padding: 2.5rem 1rem 3rem;
    /* Even more compact for small screens */
  }

  .content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}

/* ペ�Eジヒ�Eロー (index以外�Eペ�Eジ用) - iOS Style */
.hero.hero-page {
  height: 30vh;
  min-height: 320px;
  background: linear-gradient(135deg,
      rgba(236, 116, 32, 0.08) 0%,
      rgba(87, 56, 35, 0.05) 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3rem;
}

/* Subtle glow effect */
.hero-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at center,
      rgba(236, 116, 32, 0.12) 0%,
      transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-page .hero-content {
  padding: 0;
  max-width: 900px;
  width: 90%;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-page h1 {
  font-size: 4.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-main);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-page p {
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.5;
}

/* Indexペ�Eジのhero-content改喁E- Floating Glass Card */
.hero:not(.hero-page) .hero-content {
  width: 90%;
  max-width: 900px;
  padding: 3.5rem 3rem;
  background: none;
  /* backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px); */
  border-radius: 32px;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-10px) scale(1.01);
  }
}

.hero:not(.hero-page) h1 {
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero:not(.hero-page) p {
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero-page {
    height: 10vh;
    min-height: 250px;
    padding-bottom: 2rem;
  }

  .hero-page h1 {
    font-size: 2.5rem;
  }

  .hero-page p {
    font-size: 1.1rem;
  }

  .hero:not(.hero-page) .hero-content {
    width: 95%;
    padding: 2.5rem 2rem;
  }
}

/* ===== Responsive Utilities ===== */

/* Desktop-only content */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* ===== New Styles for Restructured Website ===== */

/* CTA Button - iOS Style */
.cta-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1.1rem 2.8rem;
  background: var(--gradient-brand);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  /* Full pill shape */
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(236, 116, 32, 0.35),
    0 2px 4px rgba(236, 116, 32, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 30px rgba(236, 116, 32, 0.45),
    0 4px 8px rgba(236, 116, 32, 0.3);
  filter: brightness(1.05);
}

/* Detail More Button - iOS Arrow Link */
.detail-more-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 2rem;
  padding: 0;
  background: transparent;
  color: var(--color-primary);
  text-decoration: none;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.detail-more-btn::after {
  content: "→";
  margin-left: 0.5rem;
  font-size: 1.2rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-more-btn:hover {
  color: var(--color-primary-dark);
}

.detail-more-btn:hover::after {
  transform: translateX(5px);
}

/* Kizuna Identity Section */
.kizuna-identity {
  text-align: center;
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 4rem 3rem;
  margin: 2rem auto;
}

.kizuna-identity h3 {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

/* Support Desk Section */
.support-desk {
  text-align: center;
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 4rem 3rem;
  margin: 2rem auto;
}

.support-desk h3 {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 1.5rem;
}

.support-info {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

.support-info p {
  line-height: 1.8;
}

/* Company Info Section */
.company-info {
  text-align: center;
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 4rem 3rem;
  margin: 2rem auto 0;
}

.map-container {
  margin-top: 2rem;
  border-radius: var(--glass-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.map-container h3 {
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
  font-size: 1.5rem;
}

.map-container iframe {
  width: 100%;
  border-radius: var(--glass-radius);
}

/* Services Overview Section */
.services-overview {
  text-align: center;
  background: none;
  padding: 4rem 3rem;
  margin: 2rem auto;
}

.services-intro {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 3rem;
}

/* Recruitment Teaser Section */
.recruitment-teaser {
  text-align: center;
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 4rem 3rem;
  margin: 2rem auto;
}

/* ===== About Page Styles ===== */

/* CEO Greeting Section */
.ceo-greeting {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
}

.ceo-text h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.ceo-text h2::after {
  margin: 1rem 0;
}

.ceo-text p {
  line-height: 2;
  text-align: left;
}

.ceo-photo img {
  width: 100%;
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
}

/* Company Overview Table */
.company-overview {
  margin-bottom: 4rem;
}

.company-table {
  width: 100%;
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.company-table th {
  background: rgba(236, 116, 32, 0.1);
  color: var(--color-primary);
  font-weight: 600;
  width: 30%;
}

.company-table td {
  background: rgba(255, 255, 255, 0.5);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

/* ===== Services Page Styles ===== */

.services-intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 4rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
}

.service-detail.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-detail-content h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.service-detail-content h2::after {
  margin: 1rem 0;
}

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

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  line-height: 1.6;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.2rem;
}

.service-detail-image img {
  width: 100%;
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
}

/* ===== Career Page Styles ===== */

.career-content {
  max-width: 900px;
  margin: 0 auto;

}

.career-message {
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
  margin-bottom: 3rem;
}

.career-message p {
  line-height: 2;
  margin-bottom: 2rem;
}

.career-contact {
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  padding: 3rem;
  /* box-shadow: var(--glass-shadow); */
  text-align: center;
}

.career-email {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-primary);

}

.career-email a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.career-email .material-symbols-rounded {
  font-size: 1.5rem;
}

.career-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ===== Contact Page Styles ===== */

.contact-page {
  max-width: 900px;
  margin: 0 auto;
}

.contact-notice {
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  margin-bottom: 3rem;
}

.contact-notice h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-notice h2::after {
  display: none;
}

.contact-notice ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.contact-notice li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  line-height: 1.6;
}

.contact-notice li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.required-note {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.urgent-contact {
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 3rem;
  text-align: center;
  flex: 1;
}

.urgent-contact h3 {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.urgent-info {
  margin-top: 1.5rem;
}

.phone-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.phone-number .material-symbols-rounded {
  font-size: 2rem;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: var(--color-primary-dark);
}

.phone-link .material-symbols-rounded {
  font-size: 2rem;
  /* アイコンサイズ */
  line-height: 1;
  /* アイコンの縦位置を安定させる */
}

.contact-form-section {
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
  flex: 1;
}

.contact-form-section h2 {
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.contact-form-section h2::after {
  display: none;
}

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

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

.contact-form .required {
  color: var(--color-primary);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(236, 116, 32, 0.2);
}

.form-hint {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

/* ===== Responsive Styles for New Sections ===== */

@media (max-width: 768px) {
  /* === iOS-Style Mobile UI for All Pages === */

  /* CEO Greeting - iOS card style */
  .ceo-greeting {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
  }

  .ceo-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .ceo-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .ceo-photo img {
    border-radius: 16px;
    margin-top: 1rem;
  }

  /* Service Detail Pages - iOS list style */
  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
  }

  .service-detail.reverse .service-detail-image {
    order: -1;
  }

  .service-detail-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .service-detail-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .service-detail-image img {
    border-radius: 16px;
  }

  /* Company Table - iOS grouped list style */
  .company-table th,
  .company-table td {
    padding: 0.875rem;
    font-size: 0.9rem;
  }

  .company-table th {
    width: 38%;
    font-size: 0.85rem;
  }

  .company-table {
    border-radius: 16px;
  }

  /* Career, Contact sections - iOS card style */
  .career-message,
  .career-contact,
  .contact-notice,
  .urgent-contact,
  .contact-form-section {
    padding: 1.75rem 1.25rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
  }

  .career-message h2,
  .contact-notice h2,
  .urgent-contact h3,
  .contact-form-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }

  .career-message p,
  .contact-notice p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  /* iOS form inputs */
  .contact-form input,
  .contact-form textarea {
    border-radius: 12px;
    padding: 0.875rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
  }

  /* iOS buttons */
  .cta-button,
  .submit-btn {
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
  }

  /* Hero page adjustments */
  .hero-page {
    min-height: 200px;
    padding-bottom: 1.5rem;
  }

  .hero-page h1 {
    font-size: 2rem;
    font-weight: 700;
  }

  .hero-page p {
    font-size: 1rem;
  }

  /* Map container */
  .map-container iframe {
    border-radius: 16px;
    height: 300px;
  }
}

/* ===== Page Title Section (replaces hero-page) ===== */
.page-title-section {
  padding: 8rem 2rem 4rem;
  text-align: center;
  background: transparent;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ===== CEO Title Under Photo ===== */
.ceo-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-top: 1rem;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* ===== LiquidGlass Implementation ===== */
/* .content wrapper is transparent - only children get glass effect */
.content {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

/* Index page sections - these get the glass effect */
.kizuna-identity,
.support-desk,
.company-info,
.services-overview,
.recruitment-teaser {
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--glass-radius);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 2rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

/* Child sections in other pages also get glass */
.career-message,
.career-contact,
.contact-notice,
.urgent-contact,
.contact-form-section,
.company-overview,
.ceo-greeting,
.service-detail {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

/* CEO photo with iOS-style glass frame */
.ceo-photo {
  position: relative;
}

.ceo-photo img {
  width: 100%;
  max-width: 350px;
  border-radius: 24px;
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }

  .ceo-title {
    font-size: 1rem;
    margin-top: 0.75rem;
  }

  .kizuna-identity,
  .support-desk,
  .company-info,
  .services-overview,
  .recruitment-teaser,
  .career-message,
  .career-contact,
  .contact-notice,
  .urgent-contact,
  .contact-form-section,
  .company-overview,
  .ceo-greeting,
  .service-detail {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .ceo-photo img {
    max-width: 100%;
    padding: 8px;
    border-radius: 20px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.75rem;
  }

  /* iPhone App Folder Style for Services Overview */
  .services-overview .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    /* Vertical gap larger for text */
    padding: 10px;
  }

  .services-overview .service-item {
    background: transparent;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
    border-radius: 0;
  }

  .services-overview .service-image {
    width: 100%;
    max-width: 100px;
    /* Limit icon size */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 22%;
    /* iOS icon curvature */
    margin-bottom: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    height: auto;
  }

  .services-overview .service-content {
    padding: 0;
    width: 100%;
  }

  .services-overview .service-content h3 {
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.4em;
    /* Fixed height for 2 lines alignment */
  }

  .services-overview .service-content p {
    display: none;
  }
}

/* メチE�E�E�E��E�E�E�ュグラチE�E�E�E�Eション背景 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at 15% 50%,
      rgba(236, 116, 32, 0.15),
      transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(87, 56, 35, 0.1), transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(236, 116, 32, 0.1), transparent 40%),
    linear-gradient(135deg, #fdfbf7 0%, #fff 100%);
  background-size: 200% 200%;
  animation: gradientFlow 20s ease infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Contact Page Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  margin-top: 2rem;
  align-items: stretch;
}

.contact-left,
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Notice Section */
.contact-notice {
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  padding: 1.5rem;
  box-shadow: var(--glass-shadow);
}

.contact-notice h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-secondary);
}

.contact-notice ul {
  margin: 1rem 0;
  /* padding-left: 1.5rem; */
}

.contact-notice li {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-main);
}

.contact-notice .required-note {
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-notice p {
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Urgent Contact Section */
.urgent-contact {
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  padding: 1.5rem;
  box-shadow: var(--glass-shadow);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.urgent-contact h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.urgent-contact p {
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.urgent-info h3 {
  font-size: 1.3rem;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.phone-number {
  margin: 0;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: transform 0.2s ease;
}

.phone-link:hover {
  transform: scale(1.05);
}

.phone-link .material-symbols-rounded {
  font-size: 1.8rem;
}

/* Contact Form Section */
.contact-form-section {
  background: var(--bg-glass-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--glass-radius);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  flex: 1;
}

.contact-form-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--color-secondary);
}

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

.form-hint {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.required {
  color: var(--color-primary);
  font-weight: 700;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Contact Page Specific Width */
.contact-page {
  max-width: 1400px;
}