@charset "UTF-8";
.accordion {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.accordion:first-of-type{
    margin-bottom: 60px;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
    padding-inline: 50px 35px;
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(18px, calc(18px + (32 - 18) * ((100vw - 375px) / (1920 - 375))), 32px);
  background: #f0f0f0;
    border: solid 2px #d3d3d3;
    height: 110px;
    letter-spacing: 0.1em;
    color: #2a2a2a;
}


/* 緑の丸ボタン */
.accordion-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #63c9c1;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}
.accordion-button:hover {
  background: #63c9c1;
}

/* ▶（右向き） */
.accordion-button::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%) rotate(-45deg); /* ▶ 通常時 */
  transform-origin: center;
  transition: transform 0.3s ease;
}

/* ▼（下向き） */
.accordion.open .accordion-button::before {
    left: 50%;
  transform: translate(-50%, -50%) rotate(45deg); /* ▼ 開いた時 */
}



.accordion.open .works-list {
  max-height: fit-content;
  padding-block: 60px;
}



.works-list p.note {
  font-size: 14px;
  color: #777;
  margin-top: 8px;
}



    .works-list__col {
      list-style: none;
      padding: 0;
      margin: 0;
      line-height: 25px;
    letter-spacing: 0.1em;
    font-size: clamp(12px, calc(12px + (16 - 12) * ((100vw - 375px) / (1920 - 375))), 16px);
    font-weight: 400;
    }

    .works-list__item::before {
      content: "・";
      margin-right: 4px;
    }

    .works-list__item {
      margin-bottom: 6px;
      
    }

    /* 初期は閉じる */
.works-list {
  max-width: 1090px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;

  /* ここから閉状態のための指定 */
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.accordion-title {
  display: inline-flex;
  align-items: center;
  gap: 25px; /* 文字との間隔 */
}

.accordion-icon {
  width: 50px; /* アイコンサイズ調整 */
  height: auto;
  vertical-align: middle;
}
/* SP1カラムはそのまま活かす */
@media (max-width: 768px) {
  .works-list { grid-template-columns: 1fr; gap: 0px;}
  .accordion-header{padding-inline: 10px;}
}
@media (max-width: 1200px){
    .works-list__col{padding-inline: 10px;}
}