@charset "UTF-8";/* CSS変数の宣言 */
/* テンプレートで対応しきれないスタイルをこちらに記入します
ASのみ書き込み可能 *//* 3列-中央 */
@media only screen and (min-width : 768px) {
  .for-pc {display: inline !important;}
  .for-sp {display: none !important;}}

@media only screen and (max-width : 767.99px) {
  .for-pc {display: none !important;}
  .for-sp {display: inline !important;}}

[class^="list-design"], section.container {
  width:100%;
  max-width: 1280px;
  /*padding: 2rem 0;
  margin: 2rem auto;*/
  padding: 3rem 1rem;
  margin: 4rem auto;
}

h3 {
  padding-left:1rem;
  border-left: 8px solid var(--accentColor);
}

h3.other {
  border-left:none;
}

.line{
border-left-width: 20px;
border-left: 3px solid #000;
}


.list-design5.list-map  li{
  width:auto;
  min-width: calc(100% / 5);
  max-width:100%;
  padding: 0.5rem 1rem;

}
.list-design5.column-auto  li a{
  padding: 0.5rem 0rem;
}

/* ランダムピックアップ用 */
.special-contents {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: block;
}

.special-contents h3 {
border-left: 8px solid var(--accentColor);
}

#pickup{
  width: 100%;
  max-width: 1280px;
  margin: 1 auto;
  display: block;
}

#pickup{
  line-height: 1.7;
  padding: 0 2%;
  font-size: 1.7rem;
}

#image-container {
  margin: 1rem auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

#image-container a {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  border:1px solid #252525;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
 justify-content:space-between;
  margin: 1rem auto;
  position:relative;
}


#image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  border-color:var(--accentColor);
    row-gap:1rem;

}

#image-container p {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0%);
  width: calc(100% - 0rem);
  padding: 0.5rem;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  background: rgba(37, 37, 37, 0.8);
  border-radius: 7px;
  z-index: 2;
  text-align: center;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width:1280px) {
  #pickup {
    padding: 2rem 7%;
  }
  #image-container {
    display: flex;
    row-gap:1rem;
 }

#image-container p {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0%);
  width: calc(100% - 0rem);
  height:28px;
  padding: 0.3rem;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  background: rgba(37, 37, 37, 0.8);
  border-radius: 7px;
  z-index: 2;
  text-align: center;
}
}

/*
@media (max-width:999px) {
  #image-container a {
    width: calc(100% / 3);
    max-width: 180px;
  }
}
*/


@media (max-width:575px) {
  #image-container {
    display: flex;
    row-gap:1rem;
 }

#image-container a {
  width: 136px;
  height: 136px;
}

#image-container p {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0%);
  width: calc(100% - 0rem);
  height:28px;
  padding: 0.3rem;
  font-size: 14px;
  line-height: 1.2;
  color: #fff;
  background: rgba(37, 37, 37, 0.8);
  border-radius: 7px;
  z-index: 2;
  text-align: center;
}
/*
  #image-container a {
    width: 100%;
    max-width: 500px;
  }
*/

}

/*--------------------------------------------
 地図からさがす
--------------------------------------------*/

summary1 {
  display: grid;
  place-items: center;
  min-height: 80%;
  margin: 0.5rem 0.5rem 1.5rem;
  font-size: 1.2rem;
  color: #ffffff;
  text-decoration: none;
  vertical-align: middle;
  line-height: 1.5;
  background: var(--accentColor);
}
.list-design5.angle-circle a{/* 角丸：あり */
  border-radius: 12px;
}
.list-design5.inner-center a{/* コンテンツ中身の配置：中央 */
  text-align: center;
}
.list-design5.inner-left a{/* コンテンツ中身の配置：左 */
  text-align: left;
}

/*summary {
  display: grid;
  grid-template-columns:  1fr 24px;
  gap: 6px;
  align-items: center;
  padding: 6px 24px;
  font-size: 1.4rem;
  cursor: pointer;
  margin: 1.5rem;
}*/

/*↓閉タグなしのためコメントアウト*/
/*.summary. img{
  width: 100%;
  max-width: 320px;*/

  /*===============================
  ここから追記
  ===============================*/

summary {
  width:80%;
  font-size:1.5em;
  padding:1.5% 2%;
  border:solid 2px var(--accentColor);
  background: rgba(var(--accentColorRGB), 0.2);
  border-radius: 12px;
  margin-left:1em;
}

summary span {
  font-size:70%;
  padding-left:2rem;
}

details p {
  display: block;
  width:70%;
  margin:0 auto;
}

details p img {
  width:100%;
  object-fit: contain;
}
@media (max-width: 767px) {
  summary {
  width:100%;
  margin-left:auto;
  margin-right:auto;
  }
details p {
  display: block;
  width:95%;
  margin:0 auto;
}
}