@charset "utf-8";

.caseItemBox {
  margin-top: 40px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
}

.caseBlockBox section .caseItemBox:first-child {
    margin-top: 0;
}

img + .no-img {
    display: none;
}

/* ヘルパー・画像エリア */
.case-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
  padding: 20px;
  flex-direction: column;
  gap: 15px 0;
}

.case-image-wrap {
  width: 100%;
  text-align: center;
}

.case-label {
  margin-bottom: 8px;
  font-family: "Lora", serif;
  font-weight: 400;
  color: #665341;
  font-size: clamp(20.00px, calc(0.65vw + 17.57px), 30.00px);
  letter-spacing: 0.05em;
  line-height: 1.3em;
}

.case-img {
    position: relative;
    width: 100%;
    padding-top: 75%;
    background-color: #fff;
}

.case-img>img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin: auto;
}

/* プラス・マイナスボタンの作成 */
.case-toggle-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
}

/* ＋のデザイン */
.case-toggle-btn::before,
.case-toggle-btn::after {
  content: "";
  position: absolute;
  background-color: #665341;
  transition: transform 0.3s ease;
}

/* 横棒 */
.case-toggle-btn::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

/* 縦棒（開いているときは回転させて「ー」にする） */
.case-toggle-btn::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.caseItemBox.is-open .case-toggle-btn::after {
  transform: rotate(90deg);
}

/* 詳細コンテンツエリア（初期状態は閉じている） */
.case-body {
  display: none;
  padding: 0 20px 20px;
}

.case-title-area {
  margin-bottom: 20px;
  border-bottom: 1px solid #C1B9B2;
  padding-bottom: 10px;
}

.case-title {
  color: #665341;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(18.00px, calc(0.45vw + 16.30px), 25.00px);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:544px) {

    /* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
    /* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

.case-image-wrap {
  width: 49%;
}

.case-header {
  flex-direction: row;
}

    /* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

}

/* min-width: 768px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (min-width:768px) {

    /* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
    /* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

.case-header {
  padding: 30px;
}

.case-body {
  padding: 0 30px 30px;
}

    /* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

}

/* min-width: 768px ここまで */

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */