/* DESIGNページ（design.html）用のCSS */
.top_contents {
  margin-top: 116px;
  background-color: #3b3a3b;

  .design_mv {
    position: relative;
  }
  .design_mv span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #fff;
    font-size: 12px;
  }

  .img_wrap {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    margin-top: -10%;
    margin-bottom: 60px;
    color: #fff;
  }
  .img_wrap > img,
  .img_wrap > .text_block {
    flex: 0 0 calc((100% - 40px) / 2);
    width: calc((100% - 40px) / 2);
    min-width: 0;
  }
  .img_wrap > .text_block .title {
    font-size: 32px;
    color: #bcb095;
    margin-bottom: 40px;
  }
  .img_wrap > .text_block .text {
    font-size: 22px;
  }
  .designer {
    display: flex;
    align-items: flex-start;
    gap: 40px;
  }
  .designer > img,
  .designer > .designer_img {
    flex: 0 0 calc((100% - 40px) / 2);
    width: calc((100% - 40px) / 2);
    min-width: 0;
  }
  .designer_img p {
    color: #fff;
    font-size: 20px;
    line-height: 1.8;
  }
  .designer_img img {
    margin-bottom: 40px;
  }
  .view_img {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-top: -8%;
  }
  .view_img > img {
    flex: 0 0 50%;
    width: 50%;
    min-width: 0;
  }
}

.material_item {
  background-image: url("../img/design/material_bg.png");
  background-size: cover;
  padding: 100px 0;
  .inner {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .inner > .text_block {
    flex: 0 0 auto;
  }
  .inner > .material_img {
    flex: 1 1 0;
    min-width: 0;
    height: auto;
  }
  .item_title {
    margin-bottom: 40px;
    font-size: 20px;
    line-height: 2;
    letter-spacing: 0.8em;
  }
  .item_text {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.3em;
  }
}

.view_item {
  background-image: url("../img/design/view_bg.png");
  background-size: cover;
  padding: 180px 0 90%;

  img {
    width: 80%;
    margin: 0 auto 60px; 
  }
}

.design_common {
  background-image: url("../img/design/common_bg.png");
  background-size: cover;
  padding: 180px 0;

  .common_title_img {
    width: min(60%, 600px);
    margin: 0 auto 60px;
  }
}
.design_common .common_title,
.landscape .common_title,
.design_common .common_text,
.landscape .common_text {
  color: #fff;
  line-height: 2;
  letter-spacing: 0.3em;
  text-align: center;
  margin-bottom: 60px;
}

.design_common .common_title,
.landscape .common_title {
  font-size: 22px;  
}
.design_common .common_text,
.landscape .common_text {
  font-size: 18px;
}

.landscape {
  background-image: url("../img/design/landscape_bg.png");
  background-size: cover;
  background-position: bottom;
  padding: 180px 0 70%;

  .landscape_title {
    width: min(65%, 600px);
    margin: 0 auto 60px;
  }
  .landscape_parse {
    margin-bottom: 60px;
  }
  ul {
    display: flex;
    gap: 20px;
  }
  ul li {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 0;
    min-width: 0;
    background-color:#262425;
    padding: 20px;
    font-size: 12px;
    color: #fff;
  }
  ul li span {
    font-size: 18px;
    color: #bcb095;
  }
}

.green {
  background-image: url("../img/design/green_bg.png");
  background-size: cover;
  padding: 180px 0;
  .inner > .title,
  .inner > .text {
    text-align: center;
    font-size: 20px;
    margin-bottom: 40px;
  }
  .uni_bell_logo {
    margin-bottom: 80px;
  }
  .tree {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
  }
  .item1 {
    flex: 0 0 50%;
    width: 50%;
    min-width: 0;
  }
  .tree .text_block img {
    margin-bottom: 40px;
  }
  .tree .text_block p {
    line-height: 1.8;
    font-size: 18px;
  }
  .tree .text_block p span {
    display: block;
    font-family: "Tinos", serif;
    margin-bottom: 20px;
    font-size: 26px;
  } 
}

.green_item {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 80px;
  .item {
    min-width: 0;
  }
  .item img {
    margin-bottom: 20px;
  }
  .item p {
    line-height: 1.8;
    font-size: 18px;
    text-align: center;
  }
  .item p span {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    text-align: left;
  }
}

.uni_link {
  margin: 0 auto;
  width: min(400px, 80%);
  display: block;
  transition: opacity 0.6s ease;
}

.uni_link:hover {
  opacity: 0.7;
}

.note {
  font-size: 12px;
  margin-top: 20px;
}


@media (max-width: 768px) {
  .top_contents{
    margin-top: 65px;
  }
  .top_contents .img_wrap {
    flex-direction: column;
    margin-top: 0;
  }
  .top_contents .img_wrap > img, .top_contents .img_wrap > .text_block,
  .top_contents .designer > img, .top_contents .designer > .designer_img {
    width: 100%;
  }
  .material_item .item_title,
  .top_contents .img_wrap > .text_block .title {
    font-size: 22px;
    letter-spacing: 0.2em;
  }
  .material_item .item_text,
  .top_contents .img_wrap > .text_block .text,
  .top_contents .designer_img p {
    letter-spacing: 0.1em;
    font-size: 14px;
  }
  .top_contents .designer {
    flex-direction: column;
  }
  .view_item {
    padding: 80px 0 111%;
  }
  .design_common,
  .green {
    padding: 80px 0;
  }
  .design_common .common_title, .landscape .common_title,
  .green .inner > .title {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .green .inner > .text {
    font-size: 16px;
  }
  .green_item {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 20px;
  }
  .green_item .item p {
    font-size: 16px;
  }
  .green_item .item p span {
    font-size: 14px;
  }
  .design_common .common_text, .landscape .common_text {
    font-size: 14px;
  }
  .landscape {
    padding: 80px 0 144%;
  }
  .landscape ul {
    flex-direction: column;
  }
  .landscape ul li {
    padding: 14px;
  }
  .landscape ul li span {
    font-size: 16px;
  }
  .green .tree {
    flex-direction: column;
  }
  .green .tree .text_block p span{
    font-size: 22px;
  }
  .green .tree .text_block p {
    font-size: 14px;
  }
}
