.container {
  max-width: 790px;
}

.order-section {
  min-width: 0;
  text-align: left;
  line-height: 1.9;
  color: #475569;
  margin-top: 2rem;
}

.guide-page .order-block {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.guide-page .order-block--payment {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(15, 35, 70, .18);
}

.guide-page .order-block--payment > h2 {
  margin-top: 0;
}

h2 {
  color: #1e293b;
  font-size: 1.2rem;
  border-left: 4px solid #3b82f6;
  padding-left: .6rem;
  margin: 2rem 0 1rem; /* ← 上下バランス調整 */
}

ol {
  list-style: decimal;
  margin-left: 1.5rem;
}

li {
  margin-bottom: 1.3rem;
}

.order-type {
  font-weight: bold;
}

.guide-page .order-block > ol.order-method-list,
.guide-page .order-block > ol.payment-method-list {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  gap: .9rem;
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.guide-page .order-block > .order-method-list > li,
.guide-page .order-block > .payment-method-list > li {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
  padding: 1rem 1.25rem 1.08rem 5rem;
  background: #fff;
  border: 1px solid rgba(15, 35, 70, .12);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(15, 35, 70, .07);
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.guide-page .order-block > .order-method-list > li.is-open,
.guide-page .order-block > .payment-method-list > li.is-open {
  background: #fbfdff;
  border-color: rgba(13, 59, 145, .28);
  box-shadow: 0 14px 34px rgba(15, 35, 70, .1);
}

.guide-page .order-block > .order-method-list > li::before,
.guide-page .order-block > .payment-method-list > li::before {
  content: none;
  display: none;
}

.guide-page .order-method-list .order-type,
.guide-page .payment-method-list .order-type {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  box-sizing: border-box;
  padding: 0 2.5rem 0 0;
  appearance: none;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.4;
}

.guide-page .order-method-list .order-type::after,
.guide-page .payment-method-list .order-type::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1.45rem;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid rgba(13, 59, 145, .16);
  border-radius: 50%;
  background: rgba(248, 251, 255, .72);
  transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}

.guide-page .order-method-list .order-type::before,
.guide-page .payment-method-list .order-type::before {
  content: "";
  position: absolute;
  top: calc(1rem + 13px);
  right: calc(1.45rem + 15px);
  z-index: 1;
  width: 8px;
  height: 8px;
  border-right: 2px solid #0d3b91;
  border-bottom: 2px solid #0d3b91;
  transform: rotate(45deg);
  transition: transform .22s ease;
}

.guide-page .order-method-list .is-open .order-type::after,
.guide-page .payment-method-list .is-open .order-type::after {
  background: #eef5ff;
  border-color: rgba(13, 59, 145, .28);
}

.guide-page .order-method-list .is-open .order-type::before,
.guide-page .payment-method-list .is-open .order-type::before {
  transform: translateY(3px) rotate(225deg);
}

.guide-page .order-method-list .order-type:focus-visible,
.guide-page .payment-method-list .order-type:focus-visible {
  outline: 3px solid rgba(59, 130, 246, .35);
  outline-offset: 5px;
  border-radius: 4px;
}

.order-details {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows .3s ease, opacity .2s ease, visibility 0s linear .3s;
}

.order-details-inner {
  min-height: 0;
  overflow: hidden;
}

.is-open > .order-details {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition: grid-template-rows .3s ease, opacity .25s ease .05s, visibility 0s;
}

.order-details-inner::before {
  content: "";
  display: block;
  height: .75rem;
}

.order-icon {
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: #0d3b91;
  background: linear-gradient(180deg, #f8fbff, #eef5ff);
  border: 1px solid rgba(13, 59, 145, .18);
  border-radius: 10px;
}

.order-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.guide-page .order-method-list > li > p,
.guide-page .payment-method-list > li > p {
  margin-left: 0;
}

.order-section p {
  margin: 0.3rem 0 0.8rem 0; /* ← 左寄せに修正 */
}

th, td {
  font-size: 0.85rem;
}


.fee {
  background-color: transparent; 
  width: 100%; 
  max-width: 100%;
  box-sizing: border-box;
  border-collapse: collapse; 
}

.fee th, .fee td {
  padding: 0 5px; 
  text-align: left; 
  border: 1px solid #ddd; 
  background-color: transparent; 
}

.fee th {
  white-space: nowrap; /* 改行を防止 */
}

table.fee th, table.fee td {
  border-left: none; /* 左縦線なし */
  border-right: none; /* 右縦線なし */
}

table.fee tr {
  border-bottom: 1px solid #ddd; /* 横線を追加（行間の境界線） */
  vertical-align: top; /* ヘッダーの内容を上揃え */
}




.bank-account {
  width: min(100%, 520px);
  max-width: 520px;
  box-sizing: border-box;
  white-space: nowrap;
  border-collapse: collapse; 
}

.bank-account caption {
  font-size: 0.85rem;
  caption-side: top;
  text-align: left;  
}

.bank-account thead {
  font-weight: bold; 
}

.bank-account th, table.bank-account td {
  text-align: left; 
  border: 1px solid #ddd; 
  padding: 2px 6px; /* ここが効く */
}

a.blue-underline {
  color: #3b82f6 !important;
  text-decoration: underline !important;
}

a.blue-underline:hover {
  color: #1e40af !important;
}



.attention {
  font-size: 0.8rem;
}

.attention2 {
  font-size: 1rem;
}

.order-reply-note {
  display: block;
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px dashed rgba(13, 59, 145, .2);
  color: #334155;
  font-size: .9rem;
  line-height: 1.7;
}

.order-reply-caution {
  display: block;
  margin-top: .25rem;
  color: #64748b;
  font-size: .8rem;
}

.business-hours {
  display: grid;
  gap: .45rem;
  margin-top: .8rem;
}

.business-hours-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
  color: #475569;
  font-size: .88rem;
  line-height: 1.55;
}

.business-hours-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.7rem;
  padding: 0 .55rem;
  color: #0d3b91;
  background: #eef5ff;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
}

.order-confirmation {
  margin-top: 2.75rem;
  padding: 1.4rem 0 1.45rem;
  border-top: 1px solid rgba(15, 35, 70, .18);
  border-bottom: 1px solid rgba(15, 35, 70, .18);
}

.order-confirmation h2 {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  color: #1e293b;
  font-size: 1rem;
  letter-spacing: .04em;
}

.order-confirmation ul {
  display: grid;
  gap: .7rem;
  margin: 0;
  padding: 1rem 0 0 .75rem;
  list-style: none;
}

.order-confirmation li {
  display: grid;
  grid-template-columns: .75rem minmax(0, 1fr);
  align-items: start;
  gap: .7rem;
  margin: 0;
  padding-left: 0;
  color: #475569;
  font-size: .92rem;
  line-height: 1.7;
}

.order-confirmation li::before {
  content: "";
  position: static;
  width: .7rem;
  height: .7rem;
  margin-top: .5em;
  box-sizing: border-box;
  border: 1.5px solid #3b82f6;
  border-radius: 2px;
}




/* 📱 スマホ対応 */
@media (max-width: 646px) {

  .container {
    padding: 0 0.5rem;
  }
  .order-section {
    line-height: 1.8;
  }
  .guide-page .order-block--payment {
    margin-top: 2.4rem;
    padding-top: 2rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  ol {
    margin-left: 1rem;
    padding-right: 30px;
  }
  .guide-page .order-block > ol.order-method-list,
  .guide-page .order-block > ol.payment-method-list {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .guide-page .order-block > .order-method-list > li,
  .guide-page .order-block > .payment-method-list > li {
    padding: .85rem .95rem .9rem 4.25rem;
  }
  .guide-page .order-method-list .order-type::after,
  .guide-page .payment-method-list .order-type::after {
    top: .85rem;
    right: .8rem;
    width: 34px;
    height: 34px;
  }
  .guide-page .order-method-list .order-type::before,
  .guide-page .payment-method-list .order-type::before {
    top: calc(.85rem + 11px);
    right: calc(.8rem + 13px);
  }
  .order-icon {
    top: .85rem;
    left: .95rem;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .order-icon svg {
    width: 19px;
    height: 19px;
  }
  .guide-page .order-method-list .order-type,
  .guide-page .payment-method-list .order-type {
    min-height: 34px;
  }
  .guide-page .order-method-list > li > p,
  .guide-page .payment-method-list > li > p {
    margin-left: 0;
  }
  .order-section p {
    font-size: 0.95rem;
  }
 .bank-account caption {
   font-size: 0.75rem;
  }
  .guide-page .bank-account {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
  }
  th, td {
   font-size: 0.75rem;
  }
}

@media (max-width: 570px) {

  .container {
    padding: 0 0.35rem;
   letter-spacing: 0;
  }
  h2 {
    font-size: 1.0rem;
  }
  .order-type {
    font-size: 0.88rem;
    font-weight: bold;
  }
  ol {
    margin-left: 0.85rem;
    padding-inline-start: 25px;
    padding-right: 20px;
  }
  .guide-page .order-block > ol.order-method-list,
  .guide-page .order-block > ol.payment-method-list {
    margin-left: 0;
    padding-inline-start: 0;
    padding-right: 0;
  }
  .guide-page .order-block > .order-method-list > li,
  .guide-page .order-block > .payment-method-list > li {
    padding: .8rem .75rem .85rem 3.85rem;
    border-radius: 8px;
  }
  .guide-page .order-method-list .order-type,
  .guide-page .payment-method-list .order-type {
    padding-right: 2rem;
  }
  .guide-page .order-method-list .order-type::after,
  .guide-page .payment-method-list .order-type::after {
    top: .8rem;
    right: .55rem;
    width: 32px;
    height: 32px;
  }
  .guide-page .order-method-list .order-type::before,
  .guide-page .payment-method-list .order-type::before {
    top: calc(.8rem + 10px);
    right: calc(.55rem + 12px);
  }
  .guide-page .order-method-list .order-type,
  .guide-page .payment-method-list .order-type {
    font-size: .92rem;
  }
  .order-icon {
    top: .8rem;
    left: .75rem;
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }
  .order-icon svg {
    width: 18px;
    height: 18px;
  }
  .guide-page .order-method-list .order-type,
  .guide-page .payment-method-list .order-type {
    min-height: 32px;
  }
  .guide-page .order-method-list > li > p,
  .guide-page .payment-method-list > li > p {
    margin-left: 0;
  }
  .order-section p {
    font-size: 0.85rem;
  }
  .attention {
    font-size: 0.7rem !important;
  }
  .attention2 {
    font-size: 0.8rem;
  }
  .order-reply-note {
    font-size: .82rem;
  }
  .order-reply-caution {
    font-size: .72rem;
  }
  .business-hours-row {
    grid-template-columns: 4.8rem minmax(0, 1fr);
    gap: .55rem;
    font-size: .78rem;
  }
  .business-hours-label {
    padding: 0 .4rem;
    font-size: .68rem;
  }
  .order-confirmation {
    margin-top: 2.25rem;
    padding: 1.15rem .4rem 1.2rem;
    background: transparent;
    border: 0;
    border-top: 1px solid rgba(15, 35, 70, .18);
    border-bottom: 1px solid rgba(15, 35, 70, .18);
    border-radius: 0;
  }
  .order-confirmation h2 {
    margin-bottom: .9rem;
    font-size: .95rem;
    line-height: 1.5;
  }
  .order-confirmation ul {
    gap: .8rem;
  }
  .order-confirmation li {
    grid-template-columns: .75rem minmax(0, 1fr);
    gap: .65rem;
    padding-left: 0;
    font-size: .88rem;
    line-height: 1.7;
  }
  .br {
    display: block;  /* 改行 */
  }

}

@media (min-width: 569px) {

  .brr {
    display: block;  /* 改行 */
  }

}

@media (prefers-reduced-motion: reduce) {
  .guide-page .order-block > .order-method-list > li,
  .guide-page .order-block > .payment-method-list > li,
  .guide-page .order-method-list .order-type::after,
  .guide-page .payment-method-list .order-type::after,
  .order-details {
    transition: none;
  }
}
