@charset "utf-8";

/* ==========================
  初期設定
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  word-wrap: break-word;
}

img {
  width: 100%;
  vertical-align: bottom;
}

/* レイアウト設定 */
.inner {
  width: min(800px, 100%);
  margin: 80px auto;
}

.js-details {
  border: 1px solid #ccc;
}

.js-summary::-webkit-details-marker {
  display: none;
}

.js-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background-color: #eee;
  font-weight: bold;
  cursor: pointer;
}

.js-summary .icon {
  position: relative;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.js-summary .icon::before,
.js-summary .icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background-color: #222;
  transform: translate(-50%, -50%);
}

.js-summary .icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s ease;
}

.js-details[open] .js-summary .icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.js-content {
  background-color: #fff;
  overflow: hidden;
  transition: height 0.4s ease-out;
}

.js-content_inner {
  padding: 24px;
}
