@charset "UTF-8";

.tg_acc {
  border-bottom: 3px solid #000e66;
  margin-bottom: 10px;
}
	
.tg_acc summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px;
  font-weight: 700;
  font-size: 2rem;
  color: #111;
  cursor: pointer;
  list-style: none; 
}

.tg_acc summary::-webkit-details-marker {
  display: none;
}

.tg_acc summary::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-bottom: 3px solid #e8465b;
  border-right: 3px solid #e8465b;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.tg_acc[open] summary::after {
  transform: rotate(225deg);
}

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
  
  .tg_acc::details-content {
    height: 0;
    overflow: hidden;
    content-visibility: auto;
    transition: height 0.3s ease-in-out, content-visibility 0.3s ease-in-out;
    transition-behavior: allow-discrete;
  }

  .tg_acc[open]::details-content {
    height: auto;
  }
}

.tg_acc p {
  margin: 0;
  padding: 0 8px 24px 8px;
  color: #444;
  line-height: 1.6;
}
@media only screen and (min-width: 959px) {
.p-image {
    display: flex;
    gap: 20px;
    align-items: center;
}

.p-image figure {
    margin: 0;
    max-width: 50%;
}

figure .p-link-list {
    margin: auto;
}
}
@media only screen and (max-width: 959px) {
figure:first-child {
    margin: 0 0 0.5em;
}
}