main{
    background-image: url(../img/top_kv_tritop.webp);
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: top left;
}
.wrap_object{
    background-image: url(../img/bg_gold.webp);
}
section.gallery .padding-inner h1{
	margin:10% auto 5%;
}
section.gallery .wrap_box .box{
    display: flex;
    gap:5%;
    flex-direction: row;
    margin: 0 0 5%;
    padding: 5%;
    background-color: #f1f1f1;
}
section.gallery .wrap_box .box:nth-child(even){
    flex-direction: row-reverse;
}
.wrap_img {
  aspect-ratio: 3 / 2;  
  width: 100%; 
  overflow: hidden;
    flex: 1;
}

.wrap_img img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
    flex: 1;
}
.description{
    flex: 1;
    text-align: left;
}
.description p.ttl{
    font-size: 2.2rem;
    color: #A21014;
    border-bottom: solid 3px #A21014;
    margin-bottom: 2rem;
    padding-bottom: .5rem;
}
.description p.date,
.description p.created{
    text-align: right;
    font-size: smaller;
}
.description p.date span,
.description p.created span{
    color: brown;
    font-weight: bold;
    letter-spacing: 2px;
}
.description p.created a{
	display:inline
}
.created a{
	color:brown;
	border-bottom:dotted 1px brown
}
.description p.comment{
    margin-top: 3rem;
}

@media screen and (max-width: 768px){
    
.wrap_img {
    margin-bottom: 5%;
}
section.gallery .wrap_box .box,
section.gallery .wrap_box .box:nth-child(even){
    flex-direction: column;
}

section.gallery .wrap_box .box{
    margin-top: 20%;
}
}

/***************/

.wrap_caution {
    text-align: center;
    border:solid #8C7425 1px;
    background-color: rgba(140,116,37,.1);
    margin-bottom: 5%;
}
.wrap_caution .accordion-checkbox {
    display: none;
}

.wrap_caution .accordion-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #8C7425;
    color: #fff;
    cursor: pointer;
    user-select: none;
    padding: 2rem 0;
}

.wrap_caution .accordion-toggle .arrow {
    display: inline-block;
    margin-left: 20px;
    transition: transform 0.3s ease;
    position: relative;
    font-size: 1.2rem;
}
.wrap_caution .accordion-toggle .arrow:before{
    content: "";
    border:solid 1px #fff;
    width: 30px;
    height: 30px;
    position: absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.accordion-inner {
    padding: 2rem; 
    text-align: left;
}
.wrap_caution .accordion-checkbox:checked + .accordion-toggle + .accordion-content {
    max-height: 300px; 
}

.wrap_caution .accordion-checkbox:checked + .accordion-toggle .arrow {
    transform: rotate(180deg);
}
