@charset "UTF-8";

/* Basic Reset & Font */
#room30 {
  font-family: "Noto Sans JP", "Noto Sans", sans-serif;
  color: #333;
  line-height: 1.6;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  /* for SP */
}

/* Sidebar Spacer (Desktop) */
@media (min-width: 1200px) {
  .sidebar-space {
    width: 190px;
    /* Adjust based on navbar width */
    flex-shrink: 0;
  }

  .main-content {
    flex: 1;
    padding: 0;
    max-width: 100%;
  }
}

@media (max-width: 1023px) {
  .sidebar-space {
    display: none;
  }

  .main-content {
    width: 100%;
    padding: 0 20px 20px;
  }


  .logo-left {
    max-width: 400px;
  }

}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scroll Animation */
.scroll_up {
  transition: 1s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}

.scroll_up.on,
.scroll_up.initial_on {
  transform: translateY(0);
  opacity: 1;
}

/* ==================================
   HEADER SECTION
   ================================== */
.section-header {
  margin-bottom: 110px;
}

/* Replaces .header-visual */
.header-visual {
  position: relative;
  margin-bottom: 40px;
}

.header-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.logo-overlay {
  position: absolute;
  z-index: 2;
}

.logo-left {
  top: 6%;
  left: 6%;
  width: 48%;
  /* Adjust size as needed to match design */
  max-width: 500px;
}

.logo-right {
  top: 7%;
  right: 6%;
  width: 22%;
  /* Adjust size as needed */
  max-width: 250px;
}

.header-lead {
  font-size: 1rem;
  margin-top: 20px;
}

.header-lead strong {
  font-size: 1.3rem;
}

/* Improved Typography */
.text-reading {
  line-height: 2.0;
  letter-spacing: 0.1em;
  font-feature-settings: "palt";
  text-align: justify;
}

/* ==================================
   MOOD BOARD
   ================================== */
.section-mood {
  margin-bottom: 110px;
}

.mood-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mood-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.mood-item {
  position: relative;
  overflow: hidden;
}

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

/* Specific Widths based on visual design */

/* ROW 1 */
.item-1 {
  width: 33%;
}

.item-2 {
  width: 12%;
}

.item-3 {
  width: 20%;
}

.item-4 {
  width: 35%;
}

/* ROW 2 */
.item-5 {
  width: 16%;
}

.item-6 {
  width: 34%;
}

.item-7 {
  width: 34%;
}

.col-stack {
  width: 16%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.col-stack .mood-item {
  height: calc(50% - 5px);
  /* Split height evenly minus gap */
}

/* ROW 3 */
.item-10 {
  width: 32%;
}

.item-11 {
  width: 20%;
}

.item-12 {
  width: 16%;
}

.item-13 {
  width: 32%;
}

/* ==================================
   GRADATION SECTION
   ================================== */
.section-gradation {
  margin-bottom: 130px;
}

.gradation-title {
  margin-bottom: 30px;
  max-width: 300px;
  /* Adjust as needed */
}

.gradation-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 90px;
  flex-wrap: wrap;
  align-items: flex-start;
  /* Align top */
  gap: 2rem;
}

.gradation-text {
  flex: 2;
}

.gradation-list {
  flex: 1;
}

.gradation-list img {
  max-width: 240px;
  height: auto;
}

.gradation-imgs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

/* ==================================
   THEME SECTION
   ================================== */
.section-theme {
  margin-bottom: 150px;
}

.theme-hero {
  margin-bottom: 40px;
}

.theme-header {
  margin-bottom: 80px;
}

.theme-header img {
  max-width: 100%;
  height: 35px;
  margin-bottom: 20px;
}

.collage-grid {
  display: grid;
  grid-template-columns: 40% 55%;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 20px;
}

/* Layout mimicking design:
   Row 1: Image Left (Tall), Image Right (Small), Image Right (Small) -> Wait, grid is tricky.
   Let's try:
   Left Col: 1 Tall Image
   Right Col: 2 Stacked Images
*/
/* Collage Grid Layout (Free Position) */
.collage-grid {
  position: relative;
  margin-bottom: 110px;
  /* Ensure container has height based on C-1 or min-height */
}

/* C-1: Left large image (Anchor) */
.collage-item.c-1 {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* C-2: Top right */
.collage-item.c-2 {
  position: absolute;
  top: 5%;
  right: 25%;
  width: 32%;
  z-index: 2;
}

/* C-3: Bottom right */
.collage-item.c-3 {
  position: absolute;
  bottom: 5%;
  right: 90px;
  width: 37%;
  z-index: 3;
}

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

.slide-text {
  font-size: 0.95rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.theme-slider {
  margin: 0 auto;
  max-width: 1360px;
  padding: 0 20px;
}

/* PC: Alternating Layout */
@media (min-width: 769px) {
  .theme-slider li {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 5%;
    margin-bottom: 110px;
  }

  .theme-slider li:nth-child(odd) {
    flex-direction: row-reverse;
  }

  .theme-slider li:nth-child(even) .slide-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  .theme-slider li img {
    width: 55%;
  }

  .slide-text {
    width: 45%;
    padding: 0;
  }
}

@media (max-width: 1024px) {
  .logo-left {
    max-width: 380px;
  }
}

@media (max-width: 1200px) {
  .header-visual {
    margin-top: 60px;
  }
}

@media (max-width: 1300px) {
  .theme-slider li img {
    width: 50%;
  }
}


/* ロゴ配置変更ポイント */
@media (max-width: 830px) {

  .logo-overlay {
    position: static;
  }

  .logo-left {
    margin: 20px 0;
  }

}


/* SP: Simple Slider with Snap */
@media (max-width: 768px) {

  .collage-grid {
    display: grid;
    grid-template-columns: 43% 53%;
    grid-template-rows: auto auto;
  }

  .collage-item.c-2 {
    position: absolute;
    top: 5%;
    right: 19%;
    width: 34%;
    z-index: 2;
  }

  .collage-item.c-3 {
    position: absolute;
    bottom: 8%;
    right: 0px;
    width: 39%;
    z-index: 3;
  }

  .theme-slider {
    padding: 0;
  }

  .slider-container {
    position: relative;
    padding-bottom: 30px;
    /* Space for dots */
  }

  .theme-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    /* Remove gap for full width snap */
    padding-bottom: 0;
    margin-right: 0;
    padding-right: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
  }

  .theme-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .theme-slider li {
    flex: 0 0 100%;
    /* Full width for "page turn" feel */
    scroll-snap-align: center;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 5px;
    /* Tiny padding to prevent edge touching */
    box-sizing: border-box;
  }

  .theme-slider li img {
    width: 100%;
    aspect-ratio: 4/3;
  }

  .slide-text {
    width: 100%;
    font-size: 0.85rem;
  }

  /* Pagination Dots */
  .slider-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }

  .pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .pagination-dot.active {
    background-color: #333;
  }
}

/* Ensure text flows after the tallest visible relative element, 
   but since c-2/c-3 are absolute, they don't affect flow.
   If C-1 is shorter than the stack, we have an issue.
   We assume C-1 is the 'main' tall height. 
   Or we can use a min-height on grid.
*/

.collage-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* Left small, Right wide */
  gap: 20px;
  margin-top: 20px;
  align-items: end;
}

.theme-desc-bottom {
  margin-top: 20px;
  font-size: 0.9rem;
  text-align: right;
}

/* SP Adjustments */
@media (max-width: 768px) {
  .gradation-content {
    flex-direction: column;
  }

  .collage-row {
    grid-template-columns: 1fr;
  }

  .collage-grid {
    gap: 10px;
  }

}



@media (max-width: 450px) {


  .logo-left {
    max-width: 270px;
  }

  .logo-right {
    max-width: 230px;
  }

  .text-reading br {
    display: none;
  }

}

/* ==================================
   CONCEPT MOVIE BUTTON
   ================================== */
#room30 .content {
  max-width: 1360px;
  width: 100%;
  margin: 50px auto;
  padding: 0px 20px;
}

#room30 .content .moviebtn {
  color: #000;
  width: 100%;
  background-color: #fff;
  display: block;
  padding: 20px 0px;
  margin: 120px auto;
  text-align: center;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  text-decoration: none;
  letter-spacing: 3px;
  font-size: 35px;
  font-weight: 500;
  font-family: "Work Sans", serif;
  position: relative;
  transition: 0.3s ease-in-out;
}

#room30 .moviebtn::after {
  position: absolute;
  top: 1px;
  right: 59px;
  bottom: 0px;
  margin: auto;
  content: "";
  vertical-align: middle;
  transition: 0.3s;
  background-image: url(img/yazi.svg);
  background-repeat: no-repeat;
  width: 80px;
  height: 37px;
}

#room30 .moviebtn:hover::after {
  right: 33px;
}

@media (max-width: 1500px) {
  #room30 .content {
    max-width: 990px;
  }
}

@media (max-width: 1200px) {
  #room30 .content .moviebtn {
    margin: 60px auto;
  }
}

@media (max-width: 768px) {
  #room30 .content {
    margin: 20px auto;
  }

  #room30 .content .moviebtn {
    text-align: left;
    padding-left: 20px;
  }

  #room30 .moviebtn::after {
    right: 20px;
  }

  #room30 .moviebtn:hover::after {
    right: 15px;
  }
}

@media (max-width: 580px) {
  #room30 .moviebtn::after {
    width: 42px;
    height: 29px;
  }

  #room30 .content {
    padding: 0px 0;
  }
}


@media (max-width: 430px) {
  #room30 .content .moviebtn {
    font-size: 23px;
  }

  #room30 .moviebtn::after {
    top: 13px;
    width: 30px;
    height: 27px;
  }
}


@media (max-width: 380px) {

  #room30 .moviebtn::after {
    display: none;
  }
}