/* ===== リセット ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Hiragino Mincho ProN", serif;
}

body {
  background: #fff;
  color: #111;
  line-height: 1.6;
  overflow-x: hidden;
}

.top-bar {
  height: 15px;
  background: #111;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 850;
  pointer-events: none;
}

/* ===== 言語切替 ===== */
.lang-switch {
  position: fixed;
  top: 92px;
  right: 20px;
  z-index: 999;
  display: flex;
  gap: 2px;
  padding: 6px 8px;
  background: rgba(13, 13, 13, 0.72);
  border: 1px solid rgba(201, 169, 110, 0.55);
  border-radius: 2px;
  backdrop-filter: blur(3px);
}

.lang-switch button {
  background: transparent;
  border: none;
  color: #d8c49b;
  margin-left: 0;
  padding: 4px 8px 5px;
  font-size: 12px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lang-switch .active {
  color: #fff;
  border-bottom-color: #c9a96e;
}

.lang-switch button:hover {
  color: #fff;
}

/* ===== ヘッダー ===== */
header {
  background: #f5f2ea;
  color: #111;
  padding: 0;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 15px;
  z-index: 900;
  height: 80px; /* ヘッダーの高さを固定 */
  overflow: visible;
}

.header-container {
  width: min(92%, 1200px);
  margin: auto;
  display: flex;
  justify-content: center; /* 中央揃えに変更 */
  align-items: center;
  height: 100%;
  gap: 60px; /* 要素間のスペースを確保 */
}

.brand {
  position: relative;
  transform: translateY(5px); /* 上端を黒帯に揃えつつ、下端はヘッダーラインをまたがせる */
  z-index: 10;
}

.logo {
  width: 120px;
  height: 120px;
  background: url('../images/logo.PNG') center/contain no-repeat;
  background-color: #f5f2ea;
  border: 1px solid #ddd;
  border-radius: 50%;
  padding: 5px;
}

.brand-name {
  display: none;
}

nav {
  position: relative;
  z-index: 1;
}

.nav-left ul {
  justify-content: flex-end;
}

.nav-right ul {
  justify-content: flex-start;
}

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

nav li {
  margin-left: 0;
}

nav a {
  color: #111;
  text-decoration: none;
  position: relative;
  font-size: 16px;
}

nav a:hover {
  color: #c9a96e;
}

/* ===== HERO ===== */
.hero {
  background: #f5f2ea;
  text-align: center;
  padding: 120px 20px;
}

.hero-logo {
  width: 350px;
  height: 350px;
  margin: auto;
  background: url('../images/logo.PNG') center/contain no-repeat;
}

.hero h1 {
  margin-top: 20px;
  font-size: 32px;
  letter-spacing: 2px;
}

.hero p {
  margin-top: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

/* ===== セクション共通 ===== */
section {
  padding: 72px 8%;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 2px;
  background: #c9a96e;
  display: block;
  margin: 10px auto;
}

/* ===== ABOUT ===== */
.about {
  background: transparent;
  position: relative;
  color: #fff;
  padding: 0;
  min-height: 800px;
}

.about .section-title {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  margin: 0;
  font-size: 48px;
  text-align: center;
}

.about .section-title::after {
  content: "";
  width: 60px;
  height: 2px;
  background: #c9a96e;
  display: block;
  margin: 10px auto;
}

.about-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
}

.about-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.about-text {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 380px;
  background: rgba(0,0,0,0.75);
  padding: 40px;
}

.about-text h3 {
  font-size: 24px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #ddd;
}

/* ===== BUSINESS ===== */
.business {
  background: #fff;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.business-card {
  background: #fff;
  padding: 25px;
  border: 1px solid #eee;
  transition: 0.3s;
  min-height: 220px;
}

.business-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.business-card h4 {
  margin-bottom: 0;
  color: #c9a96e;
  line-height: 1.7;
  font-size: 18px;
}

.business-card p {
  margin-top: 10px;
  color: #4a4a4a;
  line-height: 1.75;
  font-size: 14px;
}

.business-note {
  margin-top: 22px;
  text-align: center;
  color: #555;
  font-size: 14px;
}

.business-images {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.business-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #e8e1d2;
}

/* ===== COMPANY ===== */
.company {
  background: #f9f9f9;
}

.company-info {
  max-width: 980px;
  margin: 0 auto;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-item {
  padding: 22px;
  background: #fff;
  border: 1px solid #ece4d4;
}

.info-item h5 {
  font-size: 17px;
  color: #c9a96e;
  margin-bottom: 8px;
}

.info-item p {
  color: #333;
  line-height: 1.75;
  word-break: break-word;
}

/* ===== CONTACT ===== */
.contact {
  background: #111;
  color: #fff;
  text-align: center;
}

.contact strong {
  color: #c9a96e;
}

/* ===== FOOTER ===== */
footer {
  background: #000;
  color: #ccc;
  padding-top: 50px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: auto;
  gap: 40px;
}

.footer-col {
  flex: 1 1 260px;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #222;
  margin-top: 30px;
}

/* ===== 言語表示 ===== */
[lang]:not(html) {
  display: none !important;
}

[lang]:not(html).active {
  display: block !important;
}

a[lang].active,
span[lang].active,
strong[lang].active {
  display: inline !important;
}

li[lang].active,
h1[lang].active,
h2[lang].active,
h3[lang].active,
h4[lang].active,
h5[lang].active,
p[lang].active {
  display: block !important;
}

/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
  section {
    padding: 64px 6%;
  }

  .hero {
    padding: 100px 18px;
  }

  .hero h1 {
    font-size: 28px;
  }

  nav li {
    margin-left: 8px;
  }
}

@media (max-width: 768px) {
  .lang-switch {
    top: auto;
    bottom: 16px;
    right: 12px;
    z-index: 1000;
    padding: 5px 6px;
  }

  .lang-switch button {
    font-size: 11px;
    padding: 3px 6px 4px;
  }

  .header-container {
    width: 94%;
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .logo {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 12px;
    max-width: 160px;
    white-space: normal;
  }

  nav {
    width: 100%;
  }

  nav ul {
    gap: 10px;
    justify-content: flex-start;
  }

  nav li {
    margin-left: 0;
  }

  nav a {
    font-size: 14px;
  }

  .hero {
    padding: 84px 14px;
  }

  .hero-logo {
    width: 160px;
    height: 160px;
  }

  .hero h1 {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .hero p {
    font-size: 14px;
  }

  section {
    padding: 54px 5%;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 38px;
  }

  .about-content,
  .footer-container {
    flex-direction: column;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .business-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .business-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .business-card {
    min-height: auto;
    padding: 20px;
  }

  .business-card h4 {
    font-size: 17px;
  }

  .business-card p,
  .business-note {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .lang-switch {
    right: 8px;
    bottom: 10px;
    padding: 4px 5px;
  }

  .lang-switch button {
    font-size: 10px;
    padding: 3px 5px 4px;
  }

  .brand {
    gap: 8px;
  }

  .logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 11px;
    max-width: 140px;
  }

  nav a {
    font-size: 13px;
  }

  .hero {
    padding: 72px 12px;
  }

  .hero-logo {
    width: 130px;
    height: 130px;
  }

  .hero h1 {
    font-size: 21px;
  }

  .section-title {
    font-size: 21px;
  }

  .business-card {
    padding: 16px;
  }

  .business-images {
    grid-template-columns: 1fr;
  }
}