/*
Theme Name: Few Inc. Original
Description: 株式会社Few オリジナルテーマ
*/

:root {
  --color-black: #111111;
  --color-white: #ffffff;
  --color-gray: #f9f9f9;
  --font-main: 'Noto Sans JP', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-black);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.6;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  padding: 20px 0; /* ロゴが大きくなる分、上下の余白を少し調整 */
  border-bottom: 1px solid #eeeeee;
  background-color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-logo img {
  height: 100px; /* ▼変更：40pxから2.5倍の100pxに拡大 */
  display: block;
}

/* Hero Section */
.hero-section {
  padding: 180px 0; /* 上下余白を大幅に広げる */
  text-align: center;
  background-color: var(--color-white);
}
.hero-title {
  font-size: 3.5rem; /* 文字を大きく */
  font-weight: 700;
  letter-spacing: 0.15em;
  margin: 0;
  line-height: 1.4;
}

/* Business Section */
.business-section {
  padding: 100px 0;
  background-color: var(--color-gray);
}
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 60px;
}
.business-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 30px;
  padding-bottom: 30px; /* スクロールバー用の余白 */
  scroll-snap-type: x mandatory; /* カードごとにピタッと止める機能 */
  -webkit-overflow-scrolling: touch; /* スマホでの慣性スクロールを滑らかに */
}

/* スクロールバーのオリジナルデザイン（Webkit系ブラウザ用） */
.business-grid::-webkit-scrollbar {
  height: 6px;
}
.business-grid::-webkit-scrollbar-track {
  background: #eeeeee;
  border-radius: 3px;
}
.business-grid::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 3px;
}
.business-grid::-webkit-scrollbar-thumb:hover {
  background: var(--color-black);
}

.business-card {
  flex: 0 0 340px; /* PC表示時のカード幅を固定 */
  scroll-snap-align: start; /* スクロールが止まる位置をカードの先頭に合わせる */
  background: var(--color-white);
  padding: 40px 32px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.business-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 0;
  border-bottom: 2px solid var(--color-black);
  padding-bottom: 12px;
  margin-bottom: 24px;
  display: inline-block;
}
.business-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0;
}
.business-detail {
  font-size: 0.85rem;
  color: #666;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dotted #cccccc;
  line-height: 1.6;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: var(--color-white);
}
.about-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid #eeeeee;
}
.about-row {
  display: flex;
  padding: 24px 0;
  border-bottom: 1px solid #eeeeee;
}
.about-row dt {
  width: 30%;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.6;
}
.about-row dd {
  width: 70%;
  margin: 0;
  color: #444;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background-color: var(--color-gray);
  text-align: center;
}
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 50px 40px;
  border-radius: 8px;
  border: 1px solid #eeeeee;
}
.contact-message {
  margin-bottom: 24px;
}
.contact-email {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-black);
  border-bottom: 2px solid var(--color-black);
  padding-bottom: 4px;
  margin-bottom: 30px;
  transition: opacity 0.3s ease;
}
.contact-email:hover {
  opacity: 0.6;
}
.contact-note {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  background-color: var(--color-white);
  border-top: 1px solid #eeeeee;
}

/* --- Responsive (スマホ対応) --- */
@media (max-width: 768px) {
  .site-logo img {
    height: 60px; /* ▼追加：スマホではロゴが大きすぎないように調整 */
  }
  .hero-section {
    padding: 80px 0;
  }
.hero-title { 
    font-size: 1.6rem; /* 1行に収まるギリギリのサイズに調整 */
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .hero-text {
    font-size: 1rem;
  }
  .business-section {
    padding: 80px 0;
  }
　.business-grid { 
    gap: 16px;
    padding-bottom: 24px;
  }
  .business-card {
    flex: 0 0 85%; /* 画面幅の85%にして、右側に次のカードをチラ見せする */
    padding: 30px 24px;
  }
	.about-section {
    padding: 80px 0;
  }
  .about-row {
    flex-direction: column;
    padding: 16px 0;
  }
  .about-row dt {
    width: 100%;
    margin-bottom: 8px;
  }
  .about-row dd {
    width: 100%;
  }
.contact-section {
    padding: 80px 0;
  }
  .contact-inner {
    padding: 40px 20px;
  }
  .contact-email {
    font-size: 1.25rem;
  }
}
/* -----------------------------------
   Hamburger Menu & Global Navigation
------------------------------------ */
html {
  scroll-behavior: smooth; /* スムーススクロールを有効化 */
}

/* ボタンの装飾 */
.hamburger {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 101; /* メニューより上に配置 */
  padding: 0;
  outline: none;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--color-black);
  position: absolute;
  left: 8px;
  transition: all 0.3s ease;
}
.hamburger span:nth-child(1) { top: 12px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 30px; }

/* メニュー展開時の「×」印アニメーション */
.hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* フルスクリーンメニューの装飾 */
.global-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.global-nav.is-active {
  opacity: 1;
  visibility: visible;
}
.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.nav-list li {
  margin-bottom: 40px;
}
.nav-list a {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-black);
  position: relative;
}
/* リンクホバー時の下線アニメーション */
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-black);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}
.nav-list a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}