@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;600;700&display=swap');

/* --- デザインシステム（婦人服らしいやわらかい配色） --- */
:root {
  --color-primary: #4a3b32;     /* 深みと温かみのあるモカココアブラウン */
  --color-secondary: #d39e94;   /* 上品でやわらかいダスティピンク（婦人服の優しさ） */
  --color-accent: #e58d80;      /* 温かみのあるソフトコーラル（アクション、情熱） */
  --color-bg-light: #faf5f2;    /* ほんのりピンクがかった生成りベージュ */
  --color-bg-dark: #3a2e27;     /* フッター用のディープモカブラウン */
  --color-text-main: #3c3430;   /* 読みやすいソフトココアブラック */
  --color-text-muted: #82736c;  /* 補足用ウォームグレー */
  --color-border: #ede1db;      /* 優しい境界線 */
  
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- ベーススタイル --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: #ffffff;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* リンクとボタン */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* --- レイアウト構造 --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
}

section {
  padding: 100px 0;
  overflow: hidden;
}

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

/* セクションタイトル */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-primary);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--color-secondary);
}

.section-title p {
  font-size: 0.9rem;
  color: var(--color-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 5px;
}

/* --- ヘッダー --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  background-color: #ffffff;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-smooth);
}

header.scrolled .container {
  height: 70px;
}

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

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-primary);
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  margin-top: -2px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  padding: 5px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-secondary);
  transition: var(--transition-smooth);
}

nav a:hover {
  color: var(--color-secondary);
}

nav a:hover::after {
  width: 100%;
}

/* お問い合わせボタン（ナビ内） */
.nav-btn a {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-btn a:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
}

.nav-btn a::after {
  display: none;
}

/* スマホ用メニューボタン */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  margin-bottom: 5px;
  transition: var(--transition-smooth);
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

/* --- ヒーローセクション --- */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  color: #ffffff;
  background-color: var(--color-primary);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: brightness(0.9);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(58,46,39,0.85) 0%, rgba(58,46,39,0.4) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content {
  max-width: 700px;
}

.hero-tagline {
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--color-secondary);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-tagline::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: var(--color-secondary);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.4;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.hero p.hero-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #f3edea;
}

/* 汎用ボタン */
.btn-group {
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-secondary);
  color: #ffffff;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--color-accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --- 私たちの強み (Why Us) --- */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-card {
  background-color: #ffffff;
  padding: 50px 35px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.01);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(74,59,50,0.05);
  border-color: var(--color-secondary);
}

.why-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-secondary);
  font-weight: 700;
  opacity: 0.4;
  margin-bottom: 20px;
}

.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.why-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- サービス内容 (Services) --- */
.service-intro {
  text-align: center;
  max-width: 800px;
  margin: -20px auto 60px auto;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.service-image img {
  border-radius: 2px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.service-item {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 25px;
}

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

.service-item h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-item h3::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-secondary);
  border-radius: 50%;
}

.service-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  padding-left: 18px;
}

/* --- こだわりと技術 (Craftsmanship) --- */
.craft-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.craft-content h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 25px;
  line-height: 1.5;
}

.craft-content p {
  color: var(--color-text-main);
  font-size: 1rem;
  margin-bottom: 30px;
}

.craft-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.craft-tag {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 2px;
  color: var(--color-primary);
}

.craft-image img {
  border-radius: 2px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.04);
}

/* --- ご依頼の流れ (Flow) --- */
.flow-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
}

.flow-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 5%;
  width: 90%;
  height: 1px;
  background-color: var(--color-border);
  z-index: 1;
}

.flow-step {
  position: relative;
  z-index: 2;
  text-align: center;
}

.flow-icon {
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border: 2px solid var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-primary);
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  transition: var(--transition-smooth);
}

.flow-step:hover .flow-icon {
  background-color: var(--color-secondary);
  color: #ffffff;
  transform: scale(1.1);
}

.flow-step h3 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-weight: 600;
}

.flow-step p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- 会社概要 (Company) --- */
.company-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.company-history h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.company-history p {
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

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

.company-table tr {
  border-bottom: 1px solid var(--color-border);
}

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

.company-table th {
  text-align: left;
  padding: 20px 0;
  width: 30%;
  font-family: var(--font-serif);
  color: var(--color-primary);
  font-weight: 600;
}

.company-table td {
  padding: 20px 0;
  color: var(--color-text-main);
}

/* --- お問い合わせ (Contact) --- */
.contact-section {
  background-color: var(--color-primary);
  color: #ffffff;
  text-align: center;
}

.contact-section .section-title h2 {
  color: #ffffff;
}

.contact-section .section-title h2::after {
  background-color: var(--color-secondary);
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-wrapper p {
  font-size: 1.1rem;
  color: #f3edea;
  margin-bottom: 40px;
}

.contact-info-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 2px;
  margin-bottom: 30px;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.btn-tel {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 10px 0;
}

.btn-tel:hover {
  opacity: 0.8;
}

.btn-email {
  font-size: 1.2rem;
  font-weight: 500;
  color: #ffffff;
  border-bottom: 1px dashed var(--color-secondary);
  padding-bottom: 2px;
  margin-top: 5px;
}

.btn-email:hover {
  color: var(--color-secondary);
}

.tel-label {
  font-size: 0.85rem;
  color: #c7b6ae;
  letter-spacing: 0.05em;
}

/* --- フッター --- */
footer {
  background-color: var(--color-bg-dark);
  color: #c7b6ae;
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.03);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
  align-items: center;
}

.footer-logo .logo-main {
  color: #ffffff;
}

.footer-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.03);
  padding-top: 30px;
  text-align: center;
  font-size: 0.8rem;
}

/* --- アニメーション効果用クラス --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* --- レスポンシブ対応 --- */
@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.4rem;
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .craft-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .flow-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .flow-timeline::before {
    display: none;
  }
  
  .company-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

@media (max-width: 768px) {
  /* ナビゲーションのスマホ対応 */
  nav {
    position: fixed;
    top: 80px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    transition: var(--transition-smooth);
    z-index: 999;
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 60px 0;
    gap: 35px;
  }
  
  nav a {
    font-size: 1.2rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  /* スマホ時のメニューが開いている際のトグルアニメーション */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero {
    height: calc(100vh - 80px);
    margin-top: 80px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p.hero-desc {
    font-size: 1rem;
  }
  
  .btn-group {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  
  .footer-nav ul {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .company-table th, .company-table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }
  
  .company-table th {
    padding-bottom: 0;
  }
}
