/* ========================================
   三和ホテルマネジメント - スタイルシート
   ======================================== */

/* リセット & ベース */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  color: #333;
  line-height: 1.8;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

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

ul {
  list-style: none;
}

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

/* ========================================
   ヘッダー
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-icon {
  height: 64px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #1a1a1a;
  white-space: nowrap;
}

.logo-sub {
  font-size: 10px;
  color: #888;
  text-align: justify;
  text-align-last: justify;
}

/* ヘッダー右側 */

/* 言語切替プルダウン */
.lang-switcher {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.lang-current:hover {
  border-color: #8b7355;
  color: #8b7355;
}

.lang-arrow-down {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  min-width: 160px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.25s ease;
  z-index: 1001;
  list-style: none;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 13px;
  font-family: inherit;
  color: #555;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-option:hover {
  background: #f9f6f2;
  color: #8b7355;
}

.lang-option.active {
  color: #8b7355;
  font-weight: 500;
}

.lang-dropdown li + li .lang-option {
  border-top: 1px solid #f0f0f0;
}

/* ナビゲーション */
.gnav-list {
  display: flex;
  gap: 32px;
}

.gnav-item > a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #333;
  padding: 8px 0;
  position: relative;
}

.gnav-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #8b7355;
  transition: width 0.3s ease;
}

.gnav-item > a:hover::after {
  width: 100%;
}

.gnav-item > a:hover {
  opacity: 1;
  color: #8b7355;
}

/* ドロップダウン */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
  border-radius: 4px;
  overflow: hidden;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 12px 20px;
  font-size: 13px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown li:last-child a {
  border-bottom: none;
}

.dropdown li a:hover {
  background: #f9f6f2;
  color: #8b7355;
  opacity: 1;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s ease;
}

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

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

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

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 8s ease;
}

.hero-slide.active .hero-bg {
  transform: scale(1.08);
}

.hero-bg-1 {
  background: url('../images/hero.jpg') center/cover no-repeat;
}

.hero-bg-2 {
  background: url('../images/hero2.jpg') center/cover no-repeat;
}

.hero-bg-3 {
  background: url('../images/hero3.jpg') center/cover no-repeat;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  color: #fff;
  padding: 0 20px;
}

.hero-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-catch {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 2;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #fff;
  color: #333;
  opacity: 1;
}

.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.indicator {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: #fff;
}

/* ========================================
   セクション共通
   ======================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #8b7355;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #1a1a1a;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #8b7355;
  margin: 20px auto 0;
}

/* ========================================
   ビジョンセクション
   ======================================== */
.vision-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.vision-text {
  flex: 1;
}

.vision-catch {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.8;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.vision-desc {
  font-size: 15px;
  line-height: 2;
  color: #555;
  margin-bottom: 32px;
}

.vision-image {
  flex: 1;
}

.vision-content--full {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vision-content--full .vision-catch {
  text-align: center;
}

.vision-content--full .vision-desc {
  text-align: left;
}

.vision-content--full .btn-more {
  justify-content: center;
}

/* ========================================
   事業内容セクション
   ======================================== */
.section-business {
  background: #f9f7f4;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.business-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.business-card-body {
  padding: 28px 24px;
}

.business-card-body h3 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #1a1a1a;
  letter-spacing: 0.03em;
}

.business-card-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ========================================
   サステナビリティセクション
   ======================================== */
.sustainability-content {
  display: flex;
  gap: 60px;
  align-items: center;
}

.sustainability-image {
  flex: 1;
}

.sustainability-text {
  flex: 1;
}

.sustainability-text > p {
  font-size: 15px;
  line-height: 2;
  color: #555;
  margin-bottom: 36px;
}

.sustainability-items {
  display: flex;
  gap: 24px;
}

.sustainability-item {
  flex: 1;
  text-align: center;
}

.sustainability-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #8b7355;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.sustainability-item h4 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.sustainability-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* ========================================
   ニュースセクション
   ======================================== */
.section-news {
  background: #f9f7f4;
}

.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e0dcd6;
  transition: opacity 0.3s ease;
}

.news-item:first-child {
  border-top: 1px solid #e0dcd6;
}

.news-item:hover {
  opacity: 0.7;
}

.news-date {
  font-size: 13px;
  color: #888;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.news-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 12px;
  border: 1px solid #8b7355;
  color: #8b7355;
  border-radius: 2px;
  white-space: nowrap;
}

.news-title {
  font-size: 14px;
  color: #333;
}

/* ========================================
   会社概要セクション
   ======================================== */
.company-table-wrap {
  max-width: 800px;
  margin: 0 auto 40px;
}

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

.company-table th,
.company-table td {
  padding: 20px 24px;
  border-bottom: 1px solid #e8e4de;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 160px;
  font-weight: 500;
  color: #1a1a1a;
  background: #faf8f5;
  letter-spacing: 0.03em;
}

.company-table td {
  color: #555;
  line-height: 1.8;
}

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

/* ========================================
   お問い合わせセクション
   ======================================== */
.section-contact {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #fff;
  text-align: center;
}

.section-contact .section-label {
  color: rgba(255, 255, 255, 0.7);
}

.section-contact .section-title {
  color: #fff;
}

.section-contact .section-title::after {
  background: rgba(255, 255, 255, 0.5);
}

.contact-content p {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 32px;
  opacity: 0.9;
}

/* ========================================
   ボタン
   ======================================== */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #8b7355;
  letter-spacing: 0.05em;
  transition: gap 0.3s ease;
}

.btn-more:hover {
  gap: 14px;
  opacity: 1;
}

.btn-more .arrow {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: #8b7355;
  position: relative;
}

.btn-more .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #8b7355;
  border-right: 1px solid #8b7355;
  transform: rotate(45deg);
}

.btn-primary {
  display: inline-block;
  padding: 16px 48px;
  background: #8b7355;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #a08968;
  opacity: 1;
}

/* ========================================
   プレースホルダー画像
   ======================================== */
.placeholder-image {
  background: linear-gradient(135deg, #e8e4de 0%, #d4cec4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.vision-img {
  width: 100%;
  height: 360px;
  border-radius: 4px;
}

.business-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.business-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sustainability-img {
  width: 100%;
  height: 320px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

/* ========================================
   フッター
   ======================================== */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 60px 0 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid #333;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-icon {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo .logo-main {
  color: #fff;
  font-size: 14px;
}

.footer-logo .logo-sub {
  color: #888;
}

.footer-nav {
  display: flex;
  gap: 48px;
}

.footer-nav-col h4 {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-nav-col li {
  margin-bottom: 10px;
}

.footer-nav-col a {
  font-size: 13px;
  color: #999;
  transition: color 0.3s ease;
}

.footer-nav-col a:hover {
  color: #fff;
  opacity: 1;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.copyright {
  font-size: 11px;
  color: #666;
  letter-spacing: 0.05em;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .gnav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    padding: 100px 40px 40px;
    transition: right 0.4s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
  }

  .gnav.active {
    right: 0;
  }

  .gnav-list {
    flex-direction: column;
    gap: 0;
  }

  .gnav-item > a {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 16px;
  }

  .dropdown li a {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
  }

  .header-inner {
    height: 64px;
    padding: 0 16px;
  }

  .logo-main {
    font-size: 11px;
  }

  .logo-icon {
    height: 48px;
  }

  .lang-current {
    padding: 4px 8px;
    font-size: 11px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .vision-content {
    flex-direction: column;
    gap: 32px;
  }

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

  .business-img {
    height: 180px;
  }

  .sustainability-content {
    flex-direction: column;
    gap: 32px;
  }

  .sustainability-items {
    flex-direction: column;
    gap: 20px;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .news-title {
    width: 100%;
  }

  .company-table th {
    width: 100px;
    padding: 16px 12px;
    font-size: 13px;
  }

  .company-table td {
    padding: 16px 12px;
    font-size: 13px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 28px;
  }

  .hero-catch {
    letter-spacing: 0.1em;
  }
}

/* オーバーレイ（モバイルメニュー用） */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

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

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