/* =========================================
   Variables & Base Settings
   ========================================= */
:root {
  /* Colors inspired by KUMAGA AYUMU Icon & Cafe Image */
  --primary: #8a5a44;
  /* Bear Hoodie Brown */
  --secondary: #77bfa3;
  /* Snowboard Green */
  --accent: #e07a5f;
  /* Sticker Red/Orange */
  --bg-color: #f4f1de;
  /* Warm white/cream */
  --bg-light: #ffffff;
  --text-main: #3d405b;
  /* Dark Blue-Grey for text */
  --text-muted: #6c757d;

  /* Layout */
  --header-height: 70px;
  --container-width: 1000px;
  --radius: 12px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-family: 'M PLUS Rounded 1c', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  font-size: 16px;
  line-height: 1.6;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 40px;
  letter-spacing: 2px;
  color: var(--primary);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-accent {
  background-color: var(--accent);
  color: white;
}

.text-white {
  color: #fff;
}

.text-white::after {
  background-color: #fff;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 5%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0;
  letter-spacing: 1px;
}

.global-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.global-nav a {
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.global-nav a:hover {
  color: var(--accent);
}

.nav-contact-btn {
  background-color: var(--primary);
  color: white !important;
  padding: 8px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-contact-btn:hover {
  background-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ハンバーガーメニュー (Mobile) */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

.hamburger.is-active span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--primary);
  z-index: 999;
  transition: 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu.is-active {
  right: 0;
}

.mobile-menu ul {
  text-align: center;
}

.mobile-menu li {
  margin: 20px 0;
}

.mobile-menu a {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('public/images/hero-bg.jpg.png');
  /* カフェ画像想定 */
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(244, 241, 222, 0.85) 0%, rgba(255, 255, 255, 0.6) 100%);
  z-index: -1;
}

.hero-content {
  padding: 0 20px;
  animation: fadeInUp 1s ease-out forwards;
}

.hero-icon-wrapper {
  margin-bottom: 20px;
}

.hero-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  margin: 0 auto;
}

.hero-catchphrase {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.4;
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.8);
}

.hero-catchphrase .highlight {
  color: var(--accent);
  font-size: 1.2em;
  display: inline-block;
  margin-bottom: 10px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--primary);
  animation: bounce 2s infinite;
}

.scroll-indicator .arrow {
  width: 2px;
  height: 40px;
  background-color: var(--primary);
  margin-top: 5px;
  position: relative;
}

.scroll-indicator .arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  transform: rotate(45deg);
}

/* =========================================
   Profile Section
   ========================================= */
.profile-inner {
  display: flex;
  align-items: center;
  gap: 50px;
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.profile-image-col {
  flex: 1;
}

.profile-guide-img {
  border-radius: var(--radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: rotate(-2deg);
  transition: var(--transition);
}

.profile-guide-img:hover {
  transform: rotate(0) scale(1.02);
}

.profile-text-col {
  flex: 1.2;
}

.profile-name {
  font-size: 2rem;
  color: var(--primary);
  margin: 0 0 5px;
}

.profile-title {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 20px;
}

.profile-desc {
  font-size: 1.05rem;
}

/* =========================================
   Works Section
   ========================================= */
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-top: -20px;
  margin-bottom: 40px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.work-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.work-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-color);
  overflow: hidden;
}

.work-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.work-card:hover .work-thumbnail img {
  transform: scale(1.05);
}

.work-thumbnail.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e9ecef;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.2rem;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(224, 122, 95, 0.9);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  padding-left: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
  transition: var(--transition);
}

.work-card:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
  opacity: 1;
}

.work-info {
  padding: 20px;
}

.work-title {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.work-category {
  margin: 0;
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 700;
}

/* =========================================
   Services Section
   ========================================= */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--secondary);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-name {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.service-price {
  font-weight: 700;
  color: var(--accent);
  background: #fff0f0;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 20px;
}

/* =========================================
   Contact Section
   ========================================= */
.contact {
  text-align: center;
}

.contact-desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 30px;
  transition: var(--transition);
}

.btn-x {
  background-color: #000;
  color: #fff;
  border: 2px solid #000;
}

.btn-x:hover {
  background-color: #333;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.x-icon {
  width: 24px;
  height: 24px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
  background-color: var(--text-main);
  color: white;
  text-align: center;
  padding: 30px 0;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-15px) translateX(-50%);
  }

  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

/* =========================================
   Responsive (Mobile)
   ========================================= */
.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .sp-br {
    display: block;
  }

  .global-nav {
    display: none;
    /* Mobile menu active */
  }

  .hamburger {
    display: block;
  }

  .hero-catchphrase {
    font-size: 1.5rem;
    /* ちょっと小さくして収まりを良くする */
  }

  .hero-catchphrase .highlight {
    font-size: 1.2em;
  }

  .hero-icon {
    width: 120px;
    height: 120px;
  }

  .profile-inner {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
  }

  .profile-image-col {
    order: -1;
  }

  .section-title {
    font-size: 1.8rem;
  }
}