html {
  overflow: auto;
}

body {
  overflow: auto;
}

html.no-scroll,
body.no-scroll {
  overflow: hidden;
}

p {
  color: white;
  font-size: 19px;
  white-space: pre-line;
  margin: 0px;
}

.header {
  position: fixed;
  top: 0;
  width: 100%;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.menu-icon span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px 0;
  transition: 0.4s;
}

.menu {
  display: none;
}

.menu-toggle:checked ~ .menu {
  display: block;
}

#BackGroundImage {
  position: fixed;
  width: 1vh;
  height: auto;
  z-index: 100;
}

#desktopMenuList {
  padding: 0px;
  margin: 0px;
  justify-items: start;
}

#menuIcon {
  width: 100%;
  height: auto;
}

#mainDiv {
  display: block;
}

#mainDiv.hidden {
  display: none;
}

#subDiv {
  display: block;
}

#subDiv.hidden {
  display: none;
}

.iconBox {
  display: block;
  justify-content: start;
  margin-top: 10px;
  margin-bottom: 10px;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1.8s;
}

.loading.hide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  display: none;
}

/* ベーススタイル */
body {
  margin: 0;
  padding: 0;
  font-family: "Yu Mincho", "Hiragino Mincho Pro", serif;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

#BackGroundImage {
  margin: 0;
  padding: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  color: #ffffff;
  background: none center;
  filter: opacity(40);
}

/* 中央揃えのコンテナ */
.container {
  z-index: 100;
  margin: 0;
  padding: 20px;
  padding-left: 220px;
  background-color: #5a5a5a;
  background-image: none;
  border: 1px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container.hidden {
  display: none;
}

#overlay {
  margin: 0;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0);
  pointer-events: all; /* ユーザー操作を遮断 */
  display: flex;
  justify-content: center;
  align-items: center;
}

#overlay.hidden {
  display: none;
}

#Black {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  color: #000000;
  background: rgba(0, 0, 0, 255);
  display: flex;
  justify-content: center;
  align-items: center;
}

#Black.hidden {
  display: none;
}

#TitleImage {
  height: 100%;
  width: auto;
}

#ContentTitle_Image {
  width: 100%;
  height: auto;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 0.4s ease-out;
  margin-bottom: 40px;
}

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

.luxury-button {
  background-color: #ffffff;
  color: #111111;
  border: 2px solid #111111;
  padding: 12px 28px;
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  border-radius: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.luxury-button:hover {
  background-color: #111111;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.luxury-button:active {
  transform: scale(0.98);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.loadSpan {
  display: flex;
  padding: 1rem;
  margin-top: -20px;
  font-size: 14px;
  color: #615e85;
  text-align: center;
  align-items: center;
  transition: opacity 1.8s;
}

.hamburger {
  display: none;
  font-size: 2rem;
  padding: 1rem;
  background: #333;
  color: white;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 200px;
  left: 0;
  width: 100%;
  background: #444;
  color: white;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu li {
  padding: 1rem;
  border-bottom: 1px solid #555;
}

.desktop-menu {
  position: absolute;
  display: none;
  width: 200px;
  height: 100%;
}

ul.ilist {
  display: block;
  list-style: none;
  margin: 0px;
  padding: 0;
  padding-inline-start: 0px;
}

ul.ilist li {
  display: block;
  margin-bottom: 40px;
}

ul.ilist li.left {
  display: block;
  margin-bottom: 60px;
  margin-left: 0px;
  margin-right: 0px;
  justify-content: flex-start;
}

ul.ilist li.right {
  display: block;
  margin-bottom: 60px;
  margin-left: 0px;
  margin-right: 0px;
  justify-content: flex-end;
}

ul.ilist img {
  max-width: 80%;
  width: auto;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 40px;
  object-fit: contain;
}

ul.ilist.left img {
  max-width: 80%;
  width: auto;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 40px;
  text-align: left;
  object-fit: contain;
}

ul.ilist.right img {
  max-width: 80%;
  width: auto;
  height: auto;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 40px;
  text-align: right;
  object-fit: contain;
}

.captions {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 100px;
}

.captions.left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: right;
  margin-bottom: 100px;
}

.captions.right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  margin-bottom: 100px;
}

.captions p {
  margin: 5px 0;
  font-size: 26px;
  color: #ffffff;
}

.clamp-box {
  max-height: 60px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.clamp-box.expanded {
  max-height: none;
}

/* スマホ表示 */
@media (max-width: 1280px) {
  .container {
    width: 100%;
    margin: 0px auto;
    padding: 0px;
    text-align: center;
    background-color: #261d32;
    background-image: none;
    border: 0px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .hamburger {
    display: block;
    position: fixed;
    text-align: center;
    font-size: 32px;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    z-index: 1000;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #444;
    color: white;
    transition: right 0.3s ease;
    padding-top: 60px;
  }

  .mobile-menu.active {
    display: block;
    position: sticky;
    background-color: #00000055;
    z-index: 1000;
    margin-top: 0px;
    padding-top: 90px;
    padding-bottom: 20px;
    left: 0;
  }

  ul.ilist {
    list-style: none;
    padding: 0;
  }

  ul.ilist li {
    align-items: center;
    margin-bottom: 20px;
  }

  ul.ilist img {
    max-height: 400px;
    max-width: 420px;
    width: auto;
    height: auto;
    margin-right: 15px;
  }

  .captions {
    justify-content: flex-start;
  }

  .captions p {
    margin: 5px 0;
    font-size: 14px;
  }
}

/* PC表示 */
@media (min-width: 1280px) {
  .container {
    max-width: 800px;
    margin: 0px auto;
    padding: 0px;
    background-color: #261d32;
    background-image: none;
    border: 0px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .desktop-menu {
    text-align: left;
    display: flex;
    position: fixed;
    padding: 10px;
    margin-left: -270px;
    background-color: #000000;
    border: 0px solid #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
  }

  .hamburger,
  .mobile-menu {
    display: none;
  }
}
