@charset "utf-8";

body {
  background-color: #FAFAFA;
}

button {
  touch-action: manipulation;
  /* ダブルタップズーム防止 */
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  /* 改行を防止 */
  border: 0;
}

div#main {
  padding-top: 6rem;
  width: 100%;
}

.sec-ttl {
  font-size: 2rem;
  margin: 2rem 0;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  color: #5F4C2D;
}

.cont-ttl {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.0rem;
  color: #5F4C2D;
  word-break: break-all;
  overflow-wrap: break-word;
}

.cont-list-info {
  align-items: center;
}

.cont-list-info div {
  margin-bottom: 0.5rem;
}

.cont-list-info div .colon {
  margin: 0 0.5rem;
}

.colon {
  text-align: center;
}

.value {
  text-align: right;
}

.label,
.colon,
.value {
  align-self: start;
  /* 個別に上揃えを設定 */
}

.cont-list-info span {
  font-size: 1.0rem;
  font-weight: bold;
  word-break: break-all;
  overflow-wrap: break-word;
  vertical-align: top;
}

section {
  max-width: 700px;
  margin: 0 auto;
}

.widecol section {
  max-width: 1000px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.main-cont {
  position: relative;
}

.main-cont:nth-of-type(n+2) {
  margin-top: 2rem;
}

.sec-container {
  background: #F2F0EC;
  padding: 2rem 2.5rem;
  position: relative;
  border: 1px solid #FFDC72;
}

.btn-normal {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.btn-normal.contact {
  text-align: center;
  margin-top: 1rem;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.btn-normal button {
  color: #fff;
  background: #000;
  width: 100%;
  height: 3rem;
  max-width: 330px;
  font-size: 1.0rem;
  font-weight: bold;
  border-radius: 3px;
}

.btn-normal.contact a {
  color: #fff;
  background: #000;
  width: 100%;
  max-width: 200px;
  font-size: 1.0rem;
  font-weight: bold;
  border-radius: 3px;
  padding: 0.75rem 0;
}

.btn-normal button::before {
  content: "";
  position: absolute;
  background: url(../img/img_login.png);
  background-size: cover;
  width: 16px;
  height: 38px;
  left: 4px;
  top: 50%;
  transform: translate(0px, -50%);
}

.btn-normal button::after {
  content: "";
  position: absolute;
  background: url(../img/img_login.png);
  background-size: cover;
  width: 16px;
  height: 38px;
  right: 4px;
  top: 50%;
  transform: scale(-1.0) translate(0px, 50%);
}

.btn-normal.contact a::before {
  content: "";
  position: absolute;
  background: url(../img/img_login.png);
  background-size: cover;
  width: 16px;
  height: 38px;
  left: 4px;
  top: 50%;
  transform: translate(0px, -50%);
}

.btn-normal.contact a::after {
  content: "";
  position: absolute;
  background: url(../img/img_login.png);
  background-size: cover;
  width: 16px;
  height: 38px;
  right: 4px;
  top: 50%;
  transform: scale(-1.0) translate(0px, 50%);
}


.cont-list-order {
  background: #FAFAFA;
  padding: 1.25rem;
}

.cont-list-order:nth-of-type(n+2) {
  margin-top: 1rem;
}

.order-info {
  display: grid;
  grid-template-columns: 0.45fr auto;
  gap: 1rem 1rem;
  align-items: center;
}

.order-info .label {
  font-weight: bold;
  white-space: nowrap;
}

.order-info .value {
  text-align: left;
}

.total {
  display: flex;
  margin-top: 20px;
}

.txt-total {
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: auto;
  word-break: break-all;
  overflow-wrap: break-word;
}

.order.sub .txt-total {
  font-size: 1.0rem;
}

.txt-total.sub {
  font-size: 1.3rem;
}

.amount .txt-total {
  white-space: nowrap;
}

.item-cont {
  display: grid;
  grid-template-columns: 0.59fr auto;
  gap: 1rem 1rem;
  align-items: flex-start;
}

.item-pic,
.item-txt {
  align-self: start;
}

.item-txt p {
  font-size: 1.0rem;
  word-break: break-all;
  overflow-wrap: break-word;
}

.item-txt.small p {
  font-size: 1.0rem;
}

.item-txt p:first-child {
  font-weight: bold;
}

.item-txt.small p:first-child {
  font-weight: normal;
}

.item-pic img {
  width: 100%;
  height: auto;
  max-width: 70px;
  min-width: 50px;
}

.txt-container {
  text-align: center;
}

.txt-container p {
  font-size: 1rem;
}

.txt-min {
  font-size: 0.8rem;
  margin-top: 8px;
}

.btnL-container {
  margin: 4.5rem auto;
}

.btnL {
  margin-bottom: 2.5rem;
}

.btnL button {
  font-weight: bold;
  height: 3rem;
  border: solid 3px #000;
  text-align: center;
  display: block;
  width: 40%;
  margin: 0 auto;
  border-radius: 3px;
  color: #333;
  font-size: 0.8rem;
}

.btnL.btn-black button {
  width: 50%;
}


.btnL button:nth-of-type(2) {
  margin-top: 2rem;
}

.btnL button::before {
  content: "";
  position: absolute;
  background: url(../img/btn_bg.png);
  background-size: cover;
  width: 16px;
  height: 38px;
  left: 4px;
  top: 50%;
  transform: translate(0px, -50%);
}

.btnL button::after {
  content: "";
  position: absolute;
  background: url(../img/btn_bg.png);
  background-size: cover;
  width: 16px;
  height: 38px;
  right: 4px;
  top: 50%;
  transform: scale(-1.0) translate(0px, 50%);
}

.input-field input {
  width: 100%;
  height: 3rem;
  border: none;
  border-radius: 3px;
  padding: 0 0.5rem;
  margin-top: 2.5rem;
}

.input-field input::placeholder {
  font-size: 1rem;
  font-weight: bold;
  color: #999999;
}

.txt-and-link {
  text-align: center;
  margin-top: 3rem;
}

.txt-and-link p {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.txt-and-link a {
  font-weight: bold;
  color: #2066BC;
  font-size: 1rem;
  display: inline-block;
  border-bottom: 1px solid;
  line-height: 20px;
}

.corner {
  position: absolute;
  width: 32px;
  height: 34px;
  background-size: cover;
  background-repeat: no-repeat;
}

.corner.top-left {
  top: -2px;
  left: -1px;
  transform: rotate(0deg);
  background-image: url('../img/bg_corner.png');
}

.corner.top-right {
  top: -2px;
  right: -1px;
  transform: rotate(90deg);
  background-image: url('../img/bg_corner.png');
}

.corner.bottom-left {
  bottom: -2px;
  left: -1px;
  transform: rotate(-90deg);
  background-image: url('../img/bg_corner.png');
}

.corner.bottom-right {
  bottom: -2px;
  right: -1px;
  transform: rotate(180deg);
  background-image: url('../img/bg_corner.png');
}

.txt-caution h4 {
  font-size: 1.3rem;
  font-weight: bold;
}

.btn-normal button:disabled {
  background-color: #666;
  color: white;
  cursor: not-allowed;
}

.btnL.btn-black button:disabled {
  background-color: #666;
  color: white;
  cursor: not-allowed;
  border: solid 3px #666;
}

.display-email {
  margin-right: 1rem;
  word-break: break-all;
  overflow-wrap: break-word;
}


button.toggle-email-visibility {
  vertical-align: top;
  position: absolute;
  top: 0;
  right: -17px;
}

button.toggle-email-visibility img {
  vertical-align: middle;
  width: 1.5rem;
}

.card-subtxt {
  text-align: center;
  margin: 0rem 0 0.5rem;
  font-size: 1rem;
}

@media screen and (max-width:768px) {
  section {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

}

@media screen and (max-width: 640px) {
  html {
    font-size: 12px;
    /* 小さい画面では全体を縮小 */
  }

  .main-cont:nth-of-type(n+2) {
    margin-top: 1.0rem;
  }

  .sec-ttl {
    margin: 1rem 0;
  }

  .item-pic img {
    width: 100%;
    height: auto;
    max-width: 50px;
    min-width: 30px;
  }

  .btnL button {
    border: solid 2px #000;
  }

  .btn-normal button {
    /* max-width: 160px; */
  }

  .btn-normal button::before {
    width: 11px;
    height: 26px;
  }

  .btn-normal button::after {
    width: 11px;
    height: 26px;
  }

  .btnL button::before {
    width: 11px;
    height: 27px;
  }

  .btnL button::after {
    width: 11px;
    height: 27px;
  }

  .btn-normal {
    margin-top: 1.5rem;
  }

  .btn-normal.contact a::after {
    width: 13px;
    height: 33px;
  }

  .btn-normal.contact a::before {
    width: 13px;
    height: 33px;
  }

    .input-field input {
    font-size: 16px;
  }

}

@media screen and (max-width: 430px) {
    .btn-normal button {
    max-width: 180px; 
  }
}

.label-id {
  display: inline-block;
  white-space: nowrap;
}

.cont-list-info th,
.cont-list-info td {
  font-size: 1.0rem;
  font-weight: bold;
  word-break: break-all;
  overflow-wrap: break-word;
  vertical-align: top;
  text-align: left;
}

.cont-list-info {
  border-collapse: separate;
  border-spacing: 0 12px; /* ← 横方向0, 縦方向12pxの余白 */
}

@media screen and (max-width: 640px) {
.cont-list-info {
    border-collapse: separate;
    border-spacing: 0 2px;
}
}

th.label {
  display: inline-block;
  width: 106px;
  white-space: nowrap;
}

.cont-list-info tr .colon {
  width: 0.8rem;
}

@media screen and (max-width: 640px) {
  .label-id {
    line-height: 1rem;
  }

  th.label {
    display: inline-block;
    width: 65px;
    white-space: nowrap;
  }
}

.label.min {
  font-size: 0.68rem !important;
}

.label .min {
  font-size: 0.68rem !important;
}

.mail-d {
  display: inline-block;
  align-items: center;
  vertical-align: top;
}

.m-0auto {
  margin: 0 auto;
}

.label-w {
  width: auto !important;
}
