#main {
  font-family: "Raleway", sans-serif;
}

div#content {
  padding-top: 130px;
}

.entry-flex {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  min-width: 300px;
  max-width: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px 20px;
}

.entry-thumb {
  flex: 0 0 auto;
  text-align: center;
}

.entry-thumb img {
  width: 120px;
  height: auto;
  margin: 0 auto;
}

.edit-link {
  display: none !important;
}

.entry-header {
  flex: 1;
  text-align: center !important;
  margin-left: 0;
  width: 100%;
}

.classic-alt .entry-header {
  text-align: center !important;
}

.posts-layout article {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.classic-alt .hentry {
  border-bottom: unset;
  margin-bottom: 10px;
}

/* --- 代理店会 特有の調整 --- */
.layout-type-a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.group-info {
  width: 100%;
  font-size: 22px;
  font-weight: bold;
}

.item-belongs, .item-position {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}

.layout-type-a .group-name {
  margin-left: 0;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* --- 代理店 特有の調整 --- */
.layout-type-b {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.item-rank {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  width: 100%;
}

.group-bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
  line-height: 1.3;
}

.item-agent-name {
  font-size: 30px;
  font-weight: bold;
  width: 100%;
  text-align: center;
  line-height: 1.2;
}

.item-delegate-wrapper {
  display: flex;
  align-items: baseline;
  justify-content: center;
  width: 100%;
}

.item-delegate-label {
  width: auto;
  margin-right: 15px;
  font-size: 18px;
  font-weight: bold;
}

.group-name {
  font-size: 30px;
  font-weight: bold;
  display: flex;
  justify-content: center;
}

.name-last {
  margin-right: 20px;
}

.group-name span {
  display: inline-block;
}

@media (min-width: 768px) and (max-width: 1024px) {
  div#content {
    padding-top: 10px;
    padding-bottom: unset;
  }
}

@media (max-width: 767px) {
  div#content {
    padding-top: 10px;
    padding-bottom: unset;
  }
}
