@charset "utf-8";

/* page-01 */

.entry-text {
  display: flex;
  justify-content: center;
  color:  var(--kiyota-blue-4);
  margin-bottom: 5rem;
  text-align: left;
}

.entry-btn a {
  margin: auto;
  padding: 0.7rem;
  width: 20rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--kiyota-gray-1);
  border-radius: 2em;
  color: #fff;
  text-decoration: none;
  font-size: var(--kiyota-fs-xl);
}

.list-dl .dl-inner dt {
  padding: 0;
  width: 12rem;
}

.list-dl .dl-inner dd {
  padding: 0;
  width: calc(100% - 14rem);
}

.list-dl .salary {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 2rem;
}

.list-dl .salary li {
  white-space: nowrap;
}

/* ===== 給与欄の整形 ===== */
.pay {
  display: grid;
  grid-template-columns: auto 1fr;  /* ラベルは最長に自動で合わせ、金額は残り全幅 */
  column-gap: 1em;                  /* 項目名と金額の間隔（元の全角スペース相当） */
  row-gap: 0.2em;
}

/* 金額側：折り返し可能 */
.pay__value {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

/* 諸手当：途中で改行させず、入らなければ塊ごと折り返す */
.pay__note {
  white-space: nowrap;
}

.message-right {
  display: block;
  border-bottom: 0.1rem solid var(--kiyota-gray-2);
}

.message-right::after {
  content: "";
  display: block;
  clear: both;
}

.message-right__photo {
  float: right;
  width: 25%;
  margin: 0 0 1em 2em;
}

.message-right__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.message-bottom {
  display: block;
}

.message-bottom__text {
  margin-bottom: 1em;
}

.photo-block-left {
  display: flex;
  align-items: flex-start;
  gap: 2em;
}

.message-bottom__photo {
  width: 40%;
  flex-shrink: 0;
}

.message-bottom__photo img {
  width: 100%;
  height: auto;
  display: block;
}




@media screen and (max-width: 540px) {
.list-dl .dl-inner dt {
  width: 100%;
}

.list-dl .dl-inner dd {
  padding: 0.5rem 0 0 1em;
  width: 100%;
}

.message-right {
  display: flex;
  flex-direction: column-reverse;
}
.message-right__photo {
  float: none;
  width: 100%;
  max-width: 19rem;
  margin: auto;
}


.photo-block-left {
  display: flex;
  flex-direction: column-reverse;
  gap: 0;
}
.message-bottom__photo {
  width: 100%;
  margin-top: 1em;
  margin-bottom: 0;
  max-width: 25rem;
  margin: auto;
  }
}

@media screen and (max-width: 425px) {


.entry-text br {
  display: none;
}
}

@media (hover: hover) {
.entry-btn a {
  transition: background-color .3s ease;
}

.entry-btn a:hover {
  background-color: var(--kiyota-blue-1);
  opacity: 1;
}
}


