@charset "UTF-8";

/**********************************************/
/********** DESIGN Section ********************/
/**********************************************/
#design,
#web,
#video,
#ci {
  scroll-margin-top: 120px;
}

.design_section,.web_section,.video_section,.ci_section {
  background-color: var(--White);
}

.read-area {
  background-color: var(--Lightgray);
  padding: 50px 0;
}

.read {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.desc {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.8;
}

.desc-link {
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
}

.label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-weight: 700;
}

.title-block {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.number {
  font-size: 6.5rem;
  font-weight: 600;
  line-height: 0.8;
}

.title-inner {
  display: flex;
  flex-direction: column;
}

.title-en {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0;
}

#ci .title-en {
  font-size: 3.5rem;
  margin-bottom: 4px;
}

.title-tag {
  font-size: 1.3rem;
  font-weight: 700;
}

.title-icon {
  width: 80px;
  height: 80px;
}

.title-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.body .text {
  width: 55%;
}

.body p {
  font-weight: 700;
  line-height: 1.9;
}

.content_fx {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: 55px;
}

.content_fx h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.illust {
  width: 315px;
  margin-bottom: 60px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 80%;
}

.tags li {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 2px 14px;
  border-radius: 999px;
  background-color: var(--Black);
  color: var(--White);
}

.illust-circle {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background-color: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #555;
}

.more-btn {
  display: none;
}

@media screen and (max-width: 768px) {
  .main {
    gap: 40px;
    padding-top: 60px;
    flex-direction: column;
  }

  .heading {
    gap: 10px;
    margin-bottom: 30px;
  }

  .title-block {
    gap: 10px;
  }

  .number {
    font-size: 4.2rem;
  }

  .title-en {
    font-size: 1.8rem;
  }

  #ci .title-en {
    font-size: 1.4rem;
    margin-bottom: 0;
  }

  .title-tag {
    font-size: 0.9rem;
  }

  .title-icon {
    width: 55px;
    height: 55px;
  }

  .content_fx h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
  }

  .body .text {
    width: 100%;
  }

  .body p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 10px;
  }

  .right {
    width: 100%;
  }

  .illust-circle {
    width: 280px;
    height: 280px;
  }

  .body {
    position: relative;
  }

  .js-text {
    max-height: 7em;
    overflow: hidden;
    position: relative;
  }

  .js-text::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.5em;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  }

  .content_fx {
    flex-direction: column;
    margin-bottom: 0;
    gap: 24px;
  }

  .illust {
    width: 80%;
    margin: 0 auto 24px;
  }

  .more-btn {
    display: block;
    margin-left: auto;
    margin-top: 8px;
    margin-bottom: 30px;
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 999px;
    border: 1px solid #ccc;
    background: #fff;
  }

  .js-text.is-open {
    max-height: none;
  }

  .js-text.is-open::after {
    display: none;
  }

  .tags {
    width: 100%;
  }
}



/**********************************************/
/**********WORKS Section***********************/
/**********************************************/
.works_section {
  padding: 0;
}

.works_section .wrapper {
  background-color: var(--Lightgray);
  border-radius: 20px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.works-header {
  text-align: center;
  margin-bottom: 40px;
}

.works-header h2 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.works-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #666;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.works-card {
  background-color: var(--White);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.works-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.works-card a {
  display: block;
  text-decoration: none;
  color: var(--Black);
  height: 100%;
}

.works-image {
  width: 100%;
  height: 235px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 16px 0px 16px;
}

.works-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.works-card:hover .works-image img {
  transform: scale(1.05);
}

.works-content {
  padding: 10px 16px;
}

.works-date {
  display: block;
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 4px;
  font-weight: 500;
}

.works-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 8px;
  min-height: 3.2em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.works-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.works-tag {
  font-size: 0.7rem;
  color: #666;
  padding: 4px 12px;
  background-color: #f5f5f5;
  border-radius: 12px;
  font-weight: 500;
}

.works_section .more-button-wrapper {
  text-align: center;
}


@media screen and (max-width: 1024px) {
  .works-grid {
    padding: 0 16px;
  }
}

@media screen and (max-width: 768px) {
  .works_section .wrapper {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .works-header {
    margin-bottom: 4px;
  }
  .works-header h2 {
    font-size: 2.2rem;
    margin-bottom: 4px;
  }
  .works-subtitle {
    font-size: 1rem;
  }
  .works-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 16px;
  }
  .works-date {
    font-size: 0.7rem;
  }
  .works-title {
    font-size: 0.85rem;
  }
  .works-content {
    padding: 8px 10px;
  }
  .works-image {
    padding: 8px 10px 0px 10px;
  }
}

/**********************************************/
/********** FLOW Section **********************/
/**********************************************/
.flow_section {
  background-color: var(--Lightgray);
  padding: 80px 0 100px;
}

.flow_section .inner {
  max-width: 1040px;
  margin: 0 auto;
}

.flow-header {
  text-align: center;
  margin-bottom: 40px;
}

.flow-header h2 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1;
}

.flow-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #666;
}

.flow-intro {
  text-align: center;
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 50px;
}

.flow_list {
  border-bottom: 1px solid var(--Black);
  margin-bottom: 20px;
}

.flow_item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-top: 1px solid var(--Black);
}

.flow_item img {
  width: 150px;
}

.flow_item:last-child {
  border-bottom: none;
}

.flow-icon {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.flow_item .text h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.flow_item .text p {
  line-height: 1.9;
  font-weight: 500;
}

.flow-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: #666;
  text-align: right;
}

/* SP 調整 */
@media screen and (max-width: 768px) {
  .flow_section {
    padding: 60px 0 70px;
  }

  .flow-header {
    margin-bottom: 0;
  }

  .flow-header h2 {
    font-size: 2.2rem;
  }

  .flow-card {
    padding: 28px 0px 24px;
    border-radius: 12px;
  }

  .flow-intro {
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 32px;
  }

  .flow_item {
    align-items: flex-start;
    flex-direction: row;
    gap: 16px;
    padding: 18px 0;
  }

  .flow_item img {
    width: 100px;
  }

  .flow-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
  }

  .flow-icon img {
    width: 30px;
    height: 30px;
  }

  .flow_item .text p {
    font-size: 0.85rem;
  }

  .flow-note {
    text-align: left;
    margin-top: 16px;
  }
}
