@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;500;700&display=swap');

:root {
  /* Colors */
  --color-primary: #333333; /* 墨色 */
  --color-secondary: #555555;
  --color-bg: #FCFCFC; /* 極薄いグレー/白 */
  --color-surface: #FFFFFF;
  --color-accent: #95C0A4; /* くすんだミントグリーン（晴れやかさ） */
  --color-accent-light: #E3EFE8; /* アクセントの薄い色（背景等に使用） */
  --color-text-main: #2C2C2C;
  --color-text-muted: #666666;
  --color-border: #E0E0E0;

  /* Typography */
  --font-heading: 'Noto Serif JP', serif;
  --font-body: 'Noto Sans JP', sans-serif;

  /* Layout */
  --max-width: 1100px;
  --header-height: 80px;

  /* Transitions */
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-main);
  background-color: transparent;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* 共通コンテナ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 共通セクション */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 60px;
  position: relative;
  letter-spacing: 0.05em;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--color-accent);
}

/* 共通ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 40px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: #222;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #FFF;
  box-shadow: 0 4px 15px rgba(149, 192, 164, 0.3);
}

.btn-accent:hover {
  background-color: #7BAF8C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(149, 192, 164, 0.4);
}

/* 和柄背景ユーティリティ */
.bg-seigaiha {
  /* 青海波のような半透明の円弧パターン */
  background-image: 
    radial-gradient(circle at 100% 150%, transparent 20%, rgba(149, 192, 164, 0.03) 21%, rgba(149, 192, 164, 0.03) 34%, transparent 35%, transparent),
    radial-gradient(circle at 0% 150%, transparent 20%, rgba(149, 192, 164, 0.03) 21%, rgba(149, 192, 164, 0.03) 34%, transparent 35%, transparent);
  background-size: 100px 50px;
  background-position: 0 0, 50px 0;
}

/* 風景背景のレイヤー */
.landscape-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4; /* 透明度40%程度 */
  z-index: -1;
  pointer-events: none;
}

/* =========================================
   Header 
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background-color: transparent;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: color var(--transition-normal);
  position: relative;
}

.nav-link:not(.btn-header)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  background-color: var(--color-accent);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.nav-link:not(.btn-header):hover::after {
  width: 100%;
}

.btn-header {
  background-color: var(--color-primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  transition: all var(--transition-normal);
}

.btn-header:hover {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 10px rgba(149, 192, 164, 0.3);
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }
}

/* =========================================
   Hero 
========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: transparent;
}

.hero-bg-enso {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 80vh;
  height: 80vh;
  border: 40px solid rgba(51, 51, 51, 0.05);
  border-radius: 50%;
  z-index: 0;
  animation: rotateSlow 60s linear infinite;
}

.hero-bg-enso::after {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  right: -60px;
  bottom: -60px;
  border: 2px solid rgba(149, 192, 164, 0.3);
  border-radius: 50%;
}

@keyframes rotateSlow {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

.hero-container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--color-primary);
  margin-bottom: 30px;
  line-height: 1.4;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.title-line:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.6s;
  position: relative;
  padding-left: 20px;
}

.hero-subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: 4px;
  background-color: var(--color-accent);
}

.hero-action {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: 0.9s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-bg-enso {
    width: 300px;
    height: 300px;
    right: -100px;
  }
}

/* =========================================
   Concept 
========================================= */
.concept {
  background-color: var(--color-surface);
  position: relative;
}

.concept-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px;
  background: var(--color-bg);
  border-radius: 2px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

@media (min-width: 769px) {
  .concept-content {
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
}

.concept-profile {
  flex-shrink: 0;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--color-surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.concept-text-area {
  flex-grow: 1;
}

/* 四隅の和風な装飾 */
.concept-content::before,
.concept-content::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-accent);
}

.concept-content::before {
  top: 20px;
  left: 20px;
  border-right: none;
  border-bottom: none;
}

.concept-content::after {
  bottom: 20px;
  right: 20px;
  border-left: none;
  border-top: none;
}

.concept-text {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.concept-highlight {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.concept-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 2;
}

@media (max-width: 768px) {
  .concept-content {
    padding: 40px 20px;
  }
  .concept-highlight {
    font-size: 1.5rem;
  }
  .concept-desc {
    text-align: left;
  }
}

/* =========================================
   Services 
========================================= */
.services {
  background-color: transparent;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  background: var(--color-surface);
  padding: 40px 30px;
  border-radius: 4px;
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border-top: 4px solid var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-card.accent-card {
  border-top-color: var(--color-accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: rgba(51, 51, 51, 0.05);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accent-card .service-icon {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.service-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 30px;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   Footer 
========================================= */
.footer {
  background-color: var(--color-primary);
  color: #fff;
  padding: 80px 0 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 15px;
  letter-spacing: 0.1em;
}

.footer-desc {
  color: #ccc;
  line-height: 1.8;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links a {
  color: #ccc;
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: #888;
  font-size: 0.9rem;
}
