@charset "utf-8";
/* CSS Document */

body {
  margin: 0px;
}
a:link {
  text-decoration: none;
  color: #333333;
}
a:visited {
  text-decoration: none;
  color: #333333;
}
iframe {
  margin: 0px;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
}

a:hover {
  text-decoration: underline;
  color: #333333;
}
hr {
  margin: 0px;
}
img {
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
}
.px14 {
  font-size: 14px;
  line-height: 1.5em;
}

.16pxbold {
  font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
  font-size: 16px;
  font-weight: bold;
}

.16pxboldred {
  font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
  font-size: 16px;
  font-weight: bold;
  color: #ff0000;
}
.10pxcopy {
  font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
  font-size: 10px;
  color: #666666;
}

input {
  font-size: 14px;
}

select {
  font-size: 14px;
}

td {
  font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
  font-size: 14px;
  color: #333333;
}
form {
  margin: 0px;
}
h1 {
  font-size: 16px;
  font-weight: bold;
  color: #333333;
}
.contents {
  line-height: 1.5em;
  font-size: 14px;
}

/*管理メニュー*/

#manage {
  margin: 0;
  padding: 0;
}

#manage table {
  margin: 0;
  padding: 0;
  border: 1px solid #999;
  border-collapse: collapse;
  width: 100%;
}

#manage th {
  padding: 5px;
  color: #fff;
  font-weight: bold;
  background-color: #999;
}

#manage td {
  border: 1px solid #999;
  padding: 8px;
  text-align: center;
}

.td-itiran-image {
  max-width: 110px;
  height: 100px;
  max-height: 100px;
  overflow-wrap: break-word;
  text-align: center;
}

#itiran-img {
  width: auto;
  max-width: 110px;
  max-height: 100px;
}

.detail-img {
  max-height: 300px;
}

/* 他のtdより優先度が高くなるようにする */
.detail-table td {
  font-size: 16px !important; /* ← 他より強制的に上書きしたいときは !important を使う */
}

.modal {
  padding: 80px 0;
}

.modal__images {
  position: relative;
  display: inline-block;
}

/* モーダルを開くボタン */

.modal__images .modal__image {
  display: inline-block;
  transition: opacity 0.6s;
}

.rp_plus {
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 32px;
  height: 32px;
  background-color: rgba(110, 110, 110, 0.5);
  border-radius: 100%;
}

.rp_plus:hover {
  cursor: pointer;
  background-color: rgba(110, 110, 110);
}

.rp_img {
  display: flex;
  align-items: center;
  width: 60%;
  height: 100%;
}

.modal__images .modal__image:hover {
  opacity: 0.6;
}

.modal__images .modal__trigger {
  cursor: pointer;
}

.modal__images .modal__image:nth-child(3n - 1),
.modal__images .modal__image:nth-child(3n) {
  margin-left: 32px;
}

.modal__images .modal__image:nth-child(n + 4) {
  margin-top: 32px;
}

.modal__images .modal__image:before {
  /* display: block; */
  padding-top: calc((2 / 3) * 100%);
  max-width: 700px;
  /* padding-top: 100%; */
  content: "";
}

.modal__images .modal__image img {
  /* position: absolute;
  top: 0;
  left: 0; */
  /* width: 100%; */
  height: 100%;
  max-width: 700px;
  object-fit: cover;
  object-position: center top;
}

/* モーダル本体 */
.modal__wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  z-index: 20;
  width: 100%;
  height: 100%;
}

.modal__layer {
  height: 100%;
  background: rgba(50, 50, 50, 0.85);
  cursor: pointer;
}

.modal__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-y: scroll;
  width: min(calc(100% - 40px), 700px);
  max-height: calc(100% - 40px);
}

/* モーダルを閉じるボタン */
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(50, 50, 50, 1);
  cursor: pointer;
  transition: opacity 0.6s;
}

.modal__close:hover {
  opacity: 0.6;
}

.modal__close:before,
.modal__close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 1px;
  background: #fff;
  content: "";
}

.modal__close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__content .modal__image img {
  width: 100%;
}

.top-right-link {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 999;
  background: #ec35ca;
  color: white !important; /* ← 強制的に白にする */
  padding: 5px 10px;
  text-decoration: none;
  border-radius: 5px;
}

.lbl-check-box,
.lbl-radio-box {
  cursor: pointer;
}

.presave-td {
  max-width: 655px;
  overflow-wrap: break-word;
}

.breadcrumb_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center; /* 上下の位置も揃える場合 */
}

.user_itiran_csv a {
  text-decoration: none;
  color: #FFFFFF; /* お好みで */
  background: #ec35ca;
  padding: 5px;
  border-radius: 5px;
}