/* 共通のスタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #fff;
}

/* top.html用のコンテナ */
.top-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

/* index.html用のコンテナ */
.index-container {
  display: flex;
  min-height: 100vh;
  position: relative;
  width: 100%;
}

/* サイドバーのスタイル */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 88px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: 1px 0 0 rgba(0, 0, 0, 0.08);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  gap: 8px;
}

.logo {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-toggle {
  display: none;
}

.menu-button {
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color 0.2s ease;
}

.menu-toggle:checked ~ .menu-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-toggle:checked + .menu-button {
  background: rgba(0, 0, 0, 0.06);
}

.menu-toggle:checked + .menu-button .menu-icon {
  background-image: url('images/list_active.svg');
}

.menu-icon {
  width: 32px;
  height: 30px;
  background: url('images/list.svg') no-repeat center center;
  background-size: contain;
  transition: background-image 0.2s ease;
}

.menu-icon.info-icon {
  background-image: url('images/info.svg');
}

.menu-button:hover .menu-icon {
  background-image: url('images/list_active.svg');
}

.menu-button:hover .menu-icon.info-icon {
  background-image: url('images/info_active.svg');
}

.menu-button:hover, .menu-button:focus {
  background: rgba(0, 0, 0, 0.06);
}

.menu-button:active .menu-icon {
  background-image: url('images/list_active.svg');
}

.menu-button:active .menu-icon.info-icon {
  background-image: url('images/info_active.svg');
}

.menu-label {
  font-size: 11px;
  font-weight: 600;
  color: #707978;
  display: block;
  text-align: center;
  margin-top: 4px;
}

/* メインコンテンツのスタイル */
.main-content {
  margin-left: 88px;
  width: calc(100% - 88px);
  max-width: 1280px;
  padding: 32px;
  overflow-x: hidden;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  left: 44px; /* サイドバーの幅の半分を左に移動 */
}

/* メインビジュアルのスタイル */
.mainvisual {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.mainvisual-container {
  position: relative;
  width: 100%;
  height: auto;
  background-color: #FAFAFA;
  border-radius: 16px;
  overflow: hidden;
}

.mainvisual-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 32px 0 32px;
}

.mainvisual-text {
  max-width: 644px;
  margin-bottom: 32px;
}

.mainvisual-text .label {
  display: block;
  color: #999;
  font-size: 14px;
  margin-bottom: 8px;
}

.mainvisual-text h2 {
  color: #000;
  font-size: 24px;
  margin-bottom: 16px;
}

.mainvisual-text p {
  color: rgba(0, 0, 0, 0.91);
  font-size: 16px;
  line-height: 1.5;
}

.mainvisual-image {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.03);
}

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

.highlight-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 264px;
  border: 4px solid rgba(71, 172, 240, 0.12);
  border-radius: 8px;
  pointer-events: none;
}

/* 機能紹介セクションのスタイル */
.features {
  max-width: 1280px;
  margin: 80px auto 0;
}

.features-title {
  margin-bottom: 32px;
}

.features-title h3 {
  color: #000;
  font-size: 24px;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 24px;
  width: 100%;
}

.feature-card {
  display: flex;
  gap: 24px;
  padding: 0px;
  background-color: #fff;
  border-radius: 8px;
  transition: transform 0.2s ease;
  height: 100%;
}

/*
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
*/
.feature-icon {
  width: 88px;
  height: 88px;
  background-color: #FAFAFA;
  border-radius: 16px;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-content h4 {
  color: #171717;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-content p {
  color: #2E2E2E;
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

/* レスポンシブスタイル */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
}

@media (max-width: 768px) {
  .sidebar {
    width: 64px;
  }

  .main-content {
    margin-left: 64px;
    width: calc(100% - 64px);
    padding: 16px;
  }

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

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .mainvisual-image {
    height: 300px;
  }

  .highlight-box {
    width: 240px;
    height: 200px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .feature-card {
    padding: 12px;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
  }
}

/* 表示設定の手引きセクション */
.display-settings-guide {
    max-width: 1280px;
    margin: 80px auto 120px;
}

.display-settings-guide .setting-title {
  margin-bottom: 32px;
}

.display-settings-guide .setting-title h3 {
  color: #000;
  font-size: 24px;
  font-weight: 600;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 24px;
  margin: 0 auto;
  padding: 0px;
}

.setting-card {
  background-color: #FAFAFA;
  border-radius: 16px;
  padding: 32px 32px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  position: relative;
}

.setting-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.setting-label {
  color: #999;
  font-size: 14px;
}

.setting-title {
  color: #171717;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.setting-description {
  color: #2E2E2E;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  min-height: 64px;
}

.setting-image {
  position: relative;
  width: 120%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  margin-top: auto;
  margin-left: -32px;
}

.setting-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.highlight-box {
  position: absolute;
  width: 96px;
  height: 80px;
  border: 2px solid #47ADF0;
  border-radius: 4px;
  background-color: rgba(47, 173, 240, 0.12);
}

/* 各カードのハイライトボックスの位置調整 */
.setting-card:nth-child(1) .highlight-box {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.setting-card:nth-child(2) .highlight-box {
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
}

.setting-card:nth-child(3) .highlight-box {
  bottom: 32px;
  right: 32px;
}

.setting-card:nth-child(4) .highlight-box {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.setting-card:nth-child(5) .highlight-box {
  top: 50%;
  right: 32px;
  transform: translateY(-50%);
}

.setting-card:nth-child(6) .highlight-box {
  bottom: 32px;
  right: 32px;
}

/* レスポンシブ対応 */
@media (max-width: 1064px) {
  .settings-grid {
    max-width: 100%;
    padding: 0 16px;
  }
}

@media (max-width: 1024px) {
  .settings-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
  }
  
  .setting-card {
    padding: 24px;
  }
  
  .setting-image {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .settings-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
  }
  
  .setting-card {
    padding: 20px;
  }
  
  .setting-image {
    height: 180px;
  }
  
  .setting-title {
    font-size: 16px;
  }
  
  .setting-description {
    font-size: 13px;
  }
  
  .setting-label {
    font-size: 12px;
  }
  
  /* ハイライトボックスの位置調整 */
  .setting-card:nth-child(1) .highlight-box,
  .setting-card:nth-child(2) .highlight-box,
  .setting-card:nth-child(3) .highlight-box,
  .setting-card:nth-child(4) .highlight-box,
  .setting-card:nth-child(5) .highlight-box,
  .setting-card:nth-child(6) .highlight-box {
    width: 80px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .setting-card {
    padding: 16px;
  }
  
  .setting-image {
    height: 160px;
  }
  
  .setting-content {
    gap: 6px;
  }
}

/* ギャラリーセクション */
.gallery {
  padding: 80px 0;
  background-color: #FFFFFF;
  overflow: hidden;
  width: 100%;
}

.gallery-container {
  max-width: 1480px;
  min-width: 1080px;
  margin: 0;
  text-align: center;
  padding-left: 32px;
}

.gallery-image {
  border-radius: 8px;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-header {
  margin-top: -64px;
  margin-bottom: 24px;
}

.gallery-label {
  display: block;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.4);
  margin-bottom: 8px;
}

.gallery-title {
  font-size: 48px;
  font-weight: bold;
  color: #354341;
  margin: 0;
}

.gallery-description {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.91);
  margin-bottom: 48px;
  margin-top: 24px;
}

.gallery-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #12A0A0;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 8px 36px rgba(12, 160, 160, 0.08),
              0 8px 18px rgba(12, 160, 160, 0.24);
  text-decoration: none;
}

.gallery-button:hover {
  background-color: #0F8A8A;
  color: #FFFFFF;
  text-decoration: none;
}

.button-label {
  margin-right: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .gallery {
    padding: 48px 0;
  }

  .gallery-title {
    font-size: 32px;
  }

  .gallery-description {
    font-size: 14px;
  }

  .gallery-image {
    margin-bottom: 32px;
  }
}

/* ロゴのスタイル */
.logo-container {
  position: fixed;
  top: 32px;
  left: 30px;
  z-index: 1000;
}

.logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.logo-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #354341;
}

.logo-circle:last-child {
  background-color: #54DDB8;
}

.logo-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #354341;
  letter-spacing: -0.5px;
}

/* メニューリスト */
.menu-list {
  position: fixed;
  top: 16px;
  left: 104px;
  width: 380px;
  height: calc(100vh - 32px);
  background: #FFFFFF;
  box-shadow: 0px 4px 20px rgba(0, 16, 16, 0.03), 0px 4px 10px rgba(0, 16, 16, 0.08);
  border-radius: 16px;
  z-index: 10;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, pointer-events 0.3s ease;
}

.menu-list.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-list:not(.active) {
  display: none;
}

.menu-list-container {
  padding: 24px 16px;
}

#karte-service-gallery-list {
  display: flex;
  flex-direction: column; /* 縦方向に並べる */
  gap: 8px; /* 要素間の隙間を8pxに設定 */
}

.menu-title {
  color: #354341;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-left: 8px;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-item {
  display: flex;
  gap: 14px;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.menu-item:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.menu-item-image {
  width: 120px;
  height: 132px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-item-text p {
  color: rgb(143 150 149);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.menu-item-text .title {
  color: #354341;
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
  font-feature-settings: "palt" 1;
  letter-spacing: .5px;
}

.menu-item-set {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8px;
  z-index: 9999;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .menu-list {
    left: 64px;
    width: 280px;
  }
  
  .menu-item-image {
    width: 70px;
    height: 77px;
  }
} 