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

:root {
  --midori: #1e3a2f;
  --midori-dark: #0d1f17;
  --midori-mid: #2a5240;
  --kin: #c4a030;
  --kin-light: #dcc060;
  --beni: #7d1c2c;
  --kinari: #f5f0e8;
  --hakuji: #faf7f2;
  --sumi: #1a1a18;
  --usuzumi: #4a4a46;
  --sabiiro: #8a7a6a;
  --byakudan: #c8b89a;
  --byakudan-light: #e4ddd0;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, sans-serif;
  line-height: 1.8;
  color: var(--sumi);
  background-color: var(--kinari);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif JP', 'Hiragino Mincho Pro', 'HGS明朝E', 'MS PMincho', serif;
  letter-spacing: 0.06em;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  background-color: var(--midori-dark);
  color: var(--hakuji);
  padding: 0.75rem 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 2px solid var(--kin);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo h1 {
  font-family: 'Noto Serif JP', 'Hiragino Mincho Pro', serif;
  font-size: 1.85rem;
  color: var(--kin);
  font-weight: 700;
  letter-spacing: 0.2em;
}

.nav-logo h1::before {
  content: '◇';
  font-size: 0.55rem;
  vertical-align: middle;
  margin-right: 0.6rem;
  color: var(--kin-light);
  opacity: 0.7;
}

.nav-logo h1::after {
  content: '◇';
  font-size: 0.55rem;
  vertical-align: middle;
  margin-left: 0.6rem;
  color: var(--kin-light);
  opacity: 0.7;
}

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

.nav-menu a {
  color: var(--byakudan-light);
  text-decoration: none;
  font-weight: 400;
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-bottom-color 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: var(--kin);
  border-bottom-color: var(--kin);
  outline: none;
  background: transparent;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--kin);
  color: var(--kin);
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  transition: background-color 0.3s ease;
}

.nav-toggle:hover,
.nav-toggle:focus {
  background-color: rgba(196, 160, 48, 0.15);
  outline: none;
}

.nav-toggle .hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--kin);
  margin: 4px 0;
  transition: 0.3s;
}

.nav-toggle.active .hamburger:nth-child(1) {
  transform: rotate(-45deg) translate(-4px, 5px);
}

.nav-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
  transform: rotate(45deg) translate(-4px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  background-color: var(--midori-dark);
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(196, 160, 48, 0.04) 48px,
      rgba(196, 160, 48, 0.04) 49px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 48px,
      rgba(196, 160, 48, 0.04) 48px,
      rgba(196, 160, 48, 0.04) 49px
    );
  color: var(--hakuji);
  padding: 120px 0 90px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 31, 23, 0.65) 0%, rgba(30, 58, 47, 0.35) 100%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-family: 'Noto Serif JP', 'Hiragino Mincho Pro', serif;
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--kin);
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-family: 'Noto Serif JP', 'Hiragino Mincho Pro', serif;
  font-size: 1.2rem;
  color: var(--byakudan-light);
  letter-spacing: 0.25em;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0;
}

.hero-subtitle::before {
  content: '';
  flex: 0 0 30px;
  height: 1px;
  background: var(--kin);
  opacity: 0.6;
}

.hero-subtitle::after {
  content: '';
  flex: 0 0 30px;
  height: 1px;
  background: var(--kin);
  opacity: 0.6;
}

.hero-description {
  font-size: 0.97rem;
  margin-bottom: 2rem;
  line-height: 2;
  color: #c0d0bc;
  border-left: 2px solid var(--kin);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

.hero-cta {
  background: transparent;
  color: var(--kin);
  padding: 0.75rem 2.5rem;
  border: 1px solid var(--kin);
  font-family: 'Noto Serif JP', serif;
  font-size: 0.97rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.15em;
  position: relative;
  display: inline-block;
}

.hero-cta::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: -3px;
  bottom: -3px;
  border: 1px solid rgba(196, 160, 48, 0.35);
  pointer-events: none;
  transition: all 0.3s ease;
}

.hero-cta:hover,
.hero-cta:focus {
  background: var(--kin);
  color: var(--midori-dark);
  outline: none;
}

.hero-image {
  text-align: center;
  animation: fadeInRight 1s ease-out;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid var(--kin);
  opacity: 0.35;
  pointer-events: none;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.55);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-title {
  font-family: 'Noto Serif JP', 'Hiragino Mincho Pro', serif;
  font-size: 2.1rem;
  text-align: center;
  margin-bottom: 0.3rem;
  color: var(--midori);
  letter-spacing: 0.18em;
  font-weight: 700;
  position: relative;
}

.section-title::before {
  content: '◆';
  display: block;
  color: var(--kin);
  font-size: 0.6rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.6em;
  opacity: 0.7;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--kin);
  margin: 0.8rem auto 0;
}

.section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--sabiiro);
  margin-bottom: 3.5rem;
  letter-spacing: 0.12em;
  font-family: 'Noto Serif JP', serif;
  margin-top: 0.6rem;
}

/* ========================================
   NEWS SECTION
   ======================================== */
.news {
  padding: 90px 0;
  background-color: var(--hakuji);
}

.news-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 1rem;
}

.news-list h3,
.instagram-section h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  color: var(--midori);
  margin-bottom: 1.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--kin);
  letter-spacing: 0.1em;
  font-weight: 700;
}

.news-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  background: var(--kinari);
  padding: 1.5rem;
  border-left: 3px solid var(--midori);
  border-bottom: 1px solid var(--byakudan);
  transition: border-left-color 0.3s ease;
}

.news-item:hover {
  border-left-color: var(--kin);
}

.news-item time {
  display: inline-block;
  color: var(--sabiiro);
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.news-item h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.02rem;
  color: var(--midori);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.news-item p {
  color: var(--usuzumi);
  line-height: 1.8;
  margin: 0;
  font-size: 0.92rem;
}

.instagram-section {
  background: var(--kinari);
  padding: 1.8rem;
  border: 1px solid var(--byakudan);
}

.instagram-embed {
  background: white;
  padding: 1rem;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--byakudan-light);
}

.instagram-follow {
  text-align: center;
}

.instagram-follow-btn {
  display: inline-block;
  background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
  color: white;
  padding: 0.6rem 1.5rem;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.instagram-follow-btn:hover {
  opacity: 0.85;
}

/* ========================================
   COMPANY SECTION
   ======================================== */
.company {
  padding: 90px 0;
  background: var(--kinari);
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 24px,
    rgba(196, 160, 48, 0.025) 24px,
    rgba(196, 160, 48, 0.025) 25px
  );
}

.company-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

.company-message {
  background: var(--hakuji);
  padding: 3rem;
  border: 1px solid var(--byakudan);
  position: relative;
}

.company-message::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: -6px;
  bottom: -6px;
  border: 1px solid var(--byakudan-light);
  pointer-events: none;
  z-index: -1;
}

.company-message h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.65rem;
  color: var(--midori);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.15em;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--byakudan);
  position: relative;
  font-weight: 700;
}

.company-message h3::after {
  content: '◆';
  position: absolute;
  bottom: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hakuji);
  padding: 0 0.6rem;
  color: var(--kin);
  font-size: 0.65rem;
}

/* CEO Profile Styles */
.ceo-profile {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.ceo-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--byakudan);
  box-shadow: 4px 4px 0 var(--byakudan-light);
  flex-shrink: 0;
  border-radius: 0;
}

.ceo-message-text {
  flex: 1;
}

.message-content p {
  margin-bottom: 1.5rem;
  line-height: 2;
  font-size: 0.97rem;
  color: var(--usuzumi);
}

.greeting-intro {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--midori);
  text-align: center;
  padding: 1.2rem;
  background: rgba(196, 160, 48, 0.06);
  border-top: 2px solid var(--kin);
  border-bottom: 1px solid var(--byakudan);
}

.company-principles {
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--kinari);
  border: 1px solid var(--byakudan);
}

.company-principles h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  color: var(--midori);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.principle-item {
  background: var(--hakuji);
  padding: 1.8rem;
  border: 1px solid var(--byakudan);
  border-top: 3px solid var(--midori);
  transition: border-top-color 0.3s ease;
}

.principle-item:hover {
  border-top-color: var(--kin);
}

.principle-item h5 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  color: var(--midori);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.principle-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--midori);
  color: var(--kin);
  font-family: 'Noto Serif JP', serif;
  font-size: 0.85rem;
  flex-shrink: 0;
  font-weight: 700;
  border-radius: 0;
}

.principle-item p {
  line-height: 1.9;
  color: var(--usuzumi);
  margin: 0;
  font-size: 0.92rem;
}

.closing-message {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--midori);
  color: white;
  border-left: 3px solid var(--kin);
}

.closing-message p {
  color: #c0d0bc;
  margin-bottom: 1rem;
  font-size: 0.93rem;
  line-height: 1.9;
}

.signature {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: right;
}

.signature-company {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.88rem;
  color: var(--kin);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.06em;
}

/* Company Details Styles */
.company-details h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.55rem;
  color: var(--midori);
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.company-overview {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.company-data {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0;
  margin-bottom: 2rem;
  border: 1px solid var(--byakudan);
}

.company-data dt,
.company-data dd {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--byakudan);
  font-size: 0.93rem;
  margin: 0;
}

.company-data dt {
  font-weight: 600;
  color: var(--midori);
  background: rgba(30, 58, 47, 0.04);
  border-right: 1px solid var(--byakudan);
}

.company-data dd {
  color: var(--usuzumi);
}

.company-data dt:last-of-type,
.company-data dd:last-of-type {
  border-bottom: none;
}

.company-image {
  text-align: center;
}

.company-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--byakudan);
  box-shadow: 4px 4px 0 var(--byakudan-light);
  margin-bottom: 0.8rem;
}

.image-caption {
  font-size: 0.82rem;
  color: var(--sabiiro);
  font-style: normal;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
  padding: 90px 0;
  background-color: var(--hakuji);
}

.gallery-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 0.97rem;
  line-height: 2;
  color: var(--usuzumi);
}

/* Gallery Slider */
.gallery-slider {
  margin: 2rem 0 4rem;
}

.slider-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid var(--byakudan);
  box-shadow: 6px 6px 0 var(--byakudan-light);
}

.slider-wrapper {
  position: relative;
  height: 500px;
  background: var(--kinari);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(13, 31, 23, 0.92), transparent);
  color: white;
  padding: 2rem;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.12em;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 31, 23, 0.75);
  color: var(--kin);
  border: 1px solid var(--kin);
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.slider-btn:hover {
  background: rgba(30, 58, 47, 0.95);
  transform: translateY(-50%);
}

.slider-btn:focus {
  outline: 2px solid var(--kin);
  outline-offset: 2px;
}

.slider-btn.prev {
  left: 16px;
}

.slider-btn.next {
  right: 16px;
}

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.dot.active {
  background: var(--kin);
  border-color: var(--kin);
  width: 24px;
}

.dot:focus {
  outline: 2px solid var(--kin);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .slider-btn:hover { transform: translateY(-50%); }
  .dot:hover { transform: none; }
}

.gallery-features {
  background: var(--kinari);
  padding: 3rem;
  border: 1px solid var(--byakudan);
  position: relative;
}

.gallery-features::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: -6px;
  bottom: -6px;
  border: 1px solid var(--byakudan-light);
  pointer-events: none;
  z-index: -1;
}

.gallery-features h3 {
  font-family: 'Noto Serif JP', serif;
  text-align: center;
  font-size: 1.45rem;
  color: var(--midori);
  margin-bottom: 2rem;
  letter-spacing: 0.15em;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--byakudan);
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--hakuji);
  border: 1px solid var(--byakudan);
  transition: border-color 0.3s ease;
}

.feature-item:hover {
  border-color: var(--kin);
}

.feature-icon {
  font-size: 0;
  display: block;
  margin-bottom: 1rem;
}

/* 家紋風漢字アイコン */
.wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 2px solid var(--midori);
  border-radius: 50%;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  color: var(--midori);
  margin-bottom: 1rem;
  background: var(--hakuji);
  position: relative;
  font-weight: 700;
}

.wa-icon::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(30, 58, 47, 0.18);
}

.feature-item h4 {
  font-family: 'Noto Serif JP', serif;
  color: var(--midori);
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.feature-item p {
  color: var(--usuzumi);
  line-height: 1.7;
  font-size: 0.88rem;
}

/* ========================================
   KIMONO SHOWCASE SECTION
   ======================================== */
.kimono-showcase {
  padding: 90px 0;
  background: var(--kinari);
}

.kimono-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* ========================================
   ACCESS SECTION
   ======================================== */
.access {
  padding: 90px 0;
  background-color: var(--hakuji);
}

.access-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.access-info h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.45rem;
  color: var(--midori);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--kin);
  padding-bottom: 0.6rem;
  font-weight: 700;
}

.store-info {
  font-style: normal;
  line-height: 1.9;
}

.store-info p {
  margin-bottom: 0.8rem;
  font-size: 0.97rem;
  color: var(--usuzumi);
}

.store-info strong {
  color: var(--midori);
  font-weight: 600;
}

.store-info a {
  color: var(--midori);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted var(--midori);
}

.store-info a:hover,
.store-info a:focus {
  color: var(--kin);
  border-bottom-color: var(--kin);
}

.map-placeholder {
  background-color: var(--kinari);
  height: 300px;
  border: 1px solid var(--byakudan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sabiiro);
  font-size: 1rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  padding: 90px 0;
  background: var(--kinari);
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 24px,
    rgba(196, 160, 48, 0.025) 24px,
    rgba(196, 160, 48, 0.025) 25px
  );
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.contact-form {
  background-color: var(--hakuji);
  padding: 2rem;
  border: 1px solid var(--byakudan);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--midori);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.required {
  color: var(--beni);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--byakudan);
  background: white;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--kin);
  box-shadow: 0 0 0 2px rgba(196, 160, 48, 0.1);
}

.field-description {
  font-size: 0.85rem;
  color: var(--sabiiro);
  margin-top: 0.3rem;
}

.error-message {
  color: var(--beni);
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: block;
}

.submit-btn {
  background: var(--midori);
  color: var(--kin);
  padding: 0.9rem 2rem;
  border: 1px solid var(--midori);
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  letter-spacing: 0.1em;
  border-radius: 0;
}

.submit-btn:hover,
.submit-btn:focus {
  background: var(--kin);
  color: var(--midori-dark);
  border-color: var(--kin);
  outline: none;
}

.contact-info-main,
.contact-access {
  background-color: var(--hakuji);
  padding: 2.5rem;
  border: 1px solid var(--byakudan);
  position: relative;
}

.contact-info-main::after,
.contact-access::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: -4px;
  bottom: -4px;
  border: 1px solid var(--byakudan-light);
  pointer-events: none;
  z-index: -1;
}

.contact-info-main h3,
.contact-access h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.25rem;
  color: var(--midori);
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.12em;
  border-bottom: 1px solid var(--byakudan);
  padding-bottom: 0.8rem;
  font-weight: 700;
}

.contact-phone {
  text-align: center;
  margin: 2rem 0;
}

.phone-number {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--midori);
  text-decoration: none;
  padding: 0.75rem 1.8rem;
  border: 1px solid var(--midori);
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.phone-number:hover {
  background: var(--midori);
  color: var(--kin);
}

.phone-icon {
  margin-right: 0.4rem;
}

.contact-details {
  text-align: center;
}

.contact-details p {
  margin-bottom: 0.8rem;
  line-height: 1.8;
  color: var(--usuzumi);
  font-size: 0.92rem;
}

.contact-message {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(30, 58, 47, 0.04);
  border-left: 2px solid var(--kin);
  text-align: left;
  font-size: 0.88rem;
}

.contact-access address {
  font-style: normal;
  line-height: 2;
  color: var(--usuzumi);
}

.contact-access p {
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
}

.access-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--hakuji);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.5rem 1.5rem;
  background: var(--midori);
  border: 1px solid var(--midori);
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.access-link:hover {
  background: var(--kin);
  border-color: var(--kin);
  color: var(--midori-dark);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--midori-dark);
  color: var(--hakuji);
  padding: 3rem 0 1rem;
  border-top: 3px solid var(--kin);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(196, 160, 48, 0.25);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-info h3 {
  font-family: 'Noto Serif JP', serif;
  color: var(--kin);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.footer-info address {
  font-style: normal;
  line-height: 2;
  color: var(--byakudan);
  font-size: 0.88rem;
}

.footer-links nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links nav a {
  color: var(--byakudan);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  transition: color 0.25s ease, border-left-color 0.25s ease;
  padding-left: 0.8rem;
  border-left: 1px solid var(--sabiiro);
}

.footer-links nav a:hover,
.footer-links nav a:focus {
  color: var(--kin);
  border-left-color: var(--kin);
}

.footer-bottom {
  border-top: 1px solid rgba(196, 160, 48, 0.18);
  padding-top: 1rem;
  text-align: center;
  color: var(--sabiiro);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

/* ========================================
   QUIZ SECTION
   ======================================== */
.learning-quiz {
  padding: 80px 0;
  background-color: var(--hakuji);
}

.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quiz-start {
  background: var(--kinari);
  padding: 3rem;
  border: 1px solid var(--byakudan);
}

.quiz-start p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: var(--usuzumi);
  line-height: 1.9;
}

.quiz-start-btn {
  background: var(--midori);
  color: var(--kin);
  padding: 0.85rem 3rem;
  border: 1px solid var(--midori);
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.12em;
  border-radius: 0;
}

.quiz-start-btn:hover,
.quiz-start-btn:focus {
  background: var(--kin);
  color: var(--midori-dark);
  border-color: var(--kin);
  outline: none;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ========================================
   RESPONSIVE - DESKTOP (769px+)
   ======================================== */
@media (min-width: 769px) {
  .nav-toggle { display: none; }

  .nav-menu {
    display: flex;
    position: static;
    flex-direction: row;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    transform: none;
    gap: 0.2rem;
  }

  .nav-menu li { border-bottom: none; text-align: left; }

  .nav-menu a {
    display: inline-block;
    font-size: 0.88rem;
    padding: 0.3rem 0.65rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .nav-menu { gap: 0.1rem; }
  .nav-menu a { padding: 0.3rem 0.5rem; font-size: 0.83rem; }
}

/* ========================================
   RESPONSIVE - TABLET (max 1024px)
   ======================================== */
@media (max-width: 1024px) {
  .news-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-container { grid-template-columns: 1fr; gap: 2rem; }
  .company-content { grid-template-columns: 1fr; gap: 2rem; }
  .access-content { grid-template-columns: 1fr; gap: 2rem; }
  .contact-content { grid-template-columns: 1fr; gap: 2rem; }
  .footer-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .principles-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
  .company-overview { grid-template-columns: 1fr; gap: 2rem; }
  .phone-number { font-size: 1.5rem; }
}

/* ========================================
   RESPONSIVE - MOBILE (max 768px)
   ======================================== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background-color: var(--midori-dark);
    border-top: 1px solid var(--kin);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
  }

  .nav-menu.active { transform: translateX(0); }

  .nav-menu li {
    text-align: center;
    border-bottom: 1px solid rgba(196, 160, 48, 0.15);
  }

  .nav-menu li:last-child { border-bottom: none; }

  .nav-menu a {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border-bottom: none;
  }

  .nav-menu a:hover,
  .nav-menu a:focus {
    background-color: rgba(196, 160, 48, 0.1);
    color: var(--kin);
  }

  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-content { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-description { text-align: left; }
  .hero-title { font-size: 2.3rem; }
  .hero-subtitle { font-size: 1.05rem; justify-content: center; }
  .hero-image::before { display: none; }

  .section-title { font-size: 1.85rem; }
  .section-subtitle { font-size: 0.9rem; }

  .company-message { padding: 2rem 1.5rem; }
  .company-message::after { display: none; }
  .principles-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .company-overview { grid-template-columns: 1fr; }

  .company-data {
    grid-template-columns: 1fr;
  }

  .company-data dt,
  .company-data dd {
    border-right: none;
  }

  .company-data dt {
    padding-bottom: 0.2rem;
    border-bottom: none;
  }

  .company-data dd {
    padding-top: 0.2rem;
    border-bottom: 1px solid var(--byakudan);
  }

  .ceo-profile { flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; }
  .ceo-photo { width: 120px; height: 120px; }

  .gallery-features { padding: 1.5rem; }
  .gallery-features::after { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .contact-info-main::after, .contact-access::after { display: none; }

  .footer-content { text-align: left; }
  .footer-links nav ul { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
  .footer-links nav a { border-left: none; padding-left: 0; border-bottom: 1px dotted var(--sabiiro); padding-bottom: 2px; }

  .quiz-start { padding: 1.5rem; }
  .quiz-start-btn { display: block; margin: 0 auto; }
}

/* ========================================
   RESPONSIVE - SMALL MOBILE (max 480px)
   ======================================== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-container { padding: 0 16px; }
  .nav-logo h1 { font-size: 1.55rem; }

  .hero { padding: 100px 0 50px; }
  .hero-container { padding: 0 16px; }
  .hero-title { font-size: 1.95rem; line-height: 1.35; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-description { font-size: 0.88rem; margin-bottom: 1.5rem; }
  .hero-cta { padding: 0.7rem 1.8rem; font-size: 0.92rem; min-width: 180px; margin: 1.5rem auto 0; display: block; text-align: center; }

  .section-title { font-size: 1.65rem; }
  .section-subtitle { font-size: 0.88rem; margin-bottom: 2rem; }

  .company-message { padding: 1.5rem 1rem; }
  .company-principles { padding: 1rem; margin: 1.5rem 0; }
  .principle-item { padding: 1.2rem; }
  .closing-message { padding: 1rem; }
  .ceo-photo { width: 100px; height: 100px; }

  .features-grid { grid-template-columns: 1fr; }
  .gallery-features { padding: 1.2rem; }
  .slider-wrapper { height: 260px; }
  .slider-btn { width: 36px; height: 36px; font-size: 1.1rem; }
  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }
  .slide-caption { padding: 0.8rem; font-size: 0.88rem; }

  .news-item { padding: 1rem; }
  .instagram-section { padding: 1rem; }
  .instagram-embed { min-height: 260px; }

  body { font-size: 16px; }

  .quiz-start { padding: 1.2rem; }
  .quiz-start-btn { font-size: 0.97rem; padding: 0.75rem 2rem; width: 100%; max-width: 240px; display: block; margin: 0 auto; }

  .footer { padding: 2rem 0 1rem; }
  .footer-info h3 { font-size: 1.15rem; }
  .footer-info address { font-size: 0.82rem; }
}
