.BodyMain {
    background: #fff;
    background: url("../images/back.jpg") 50% 0 no-repeat #fff;
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",HiraKakuPro-W3,"メイリオ",Meiryo,verdana,sans-serif;
}
@media print, screen and (min-width: 960px) {
    .BodyMain {
        margin: 0 auto 100px;
    }
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    .BodyMain {
        margin: 0 auto 95px;
    }
}
@media screen and (max-width: 519px) {
    .BodyMain {
        margin: 0 auto 55px;
    }
}
/* body */
body {
    font-size: 1.1rem;
    line-height: 2.3;
}
@media screen and (max-width: 519px) {
    body {
        /* for Android Chrome 40 upper */
        font-size: 1rem;
        line-height: 1.8;
    }
}

.title {
    max-height: 90px;
    margin: 15px 0 10px;
}

@media screen and (min-width: 520px) and (max-width: 959px) {
    .title {
        max-height: 70px;
    }
}

@media screen and (max-width: 519px) {
    .title {
        max-height: 55px;
        margin: 10px 0 5px;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}
header {
    background: rgba(245, 240, 250, 0.7);
    border-top: 3px solid #5d2083;
}
@media print, screen and (min-width: 960px) {
    header .container {
        max-width: 1200px;
    }
}

@media print, screen and (min-width: 520px) {
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
    }
    .container {
        width: 95%;
    }
}

h1 {
    font-size: 2rem;
    font-weight: normal;
    color: #5d2083;
    margin: 0 10px;
}
h2 {
    color: #d7667d;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #ffc0cb;
    padding-bottom: 15px;
    font-size: 1.8em;
}
h2.sub {
    clear: both;
    margin: 0 auto;
    padding: 15px 0;
    font-size: 140%;
    font-weight: normal;
    letter-spacing: 0.08em;
    line-height: 2;
    border-bottom: none;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.8);
}

@media screen and (min-width: 520px) and (max-width: 959px) {
    h1 {
        font-size: 1.3rem;
        margin: 0;
    }
}

@media screen and (max-width: 519px) {
    h1 {
        font-size: 1.3rem;
    }
    h2.sub {
        font-size: 120%;
        line-height: 1.8;
        text-align: left;
    }
}

ul {
    list-style: none;
}
.left {
    text-align: left;
}

.center {
    text-align: center;
}
.right {
    text-align: right;
}
.mini90 {
    font-size: 90%;
}
.mini {
    font-size: 80%;
}
.red {
    color: #d56271;
    font-weight: bold;
    font-size: 110%;
}
.waku {
    border: 1px solid #dcdcdc;
}
.ya {
    margin: 0 5px 4px 0;
    vertical-align: middle;
}
a {
    text-decoration: none;
    color: #000;
}
a:hover img {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}

@media screen and (min-width: 520px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}

@media print, screen and (min-width: 960px) {
    .pc-space {
        margin-left: 1.2rem;
    }
}

@media screen and (max-width: 959px) {
    .pc-br,
    .pc-hr {
        display: none !important;
    }
}

@media print, screen and (min-width: 960px) {
    .tablet-br,
    .sp-br,
    .tablet-sp-br,
    .tablet-space,
    .tablet-sp-hr {
        display: none !important;
    }
}

@media screen and (min-width: 520px) and (max-width: 959px) {
    .sp-br,
    .pc-space {
        display: none !important;
    }
}

@media screen and (max-width: 519px) {
    .pc-tablet-br,
    .tablet-br,
    .pc-space,
    .tablet-space,
    .pc-tablet-space {
        display: none !important;
    }
    .sp-left {
        text-align: left;
    }
}

.txtFlowerarrange {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    margin: 0.5rem 3rem;
}

@media print, screen and (min-width: 960px) {
    .txtFlowerarrange .imgW {
        margin: 0 0 0 2rem;
    }
}

@media screen and (min-width: 520px) and (max-width: 959px) {
    .txtFlowerarrange {
        display: block;
        margin: 1rem 1.25rem;
    }
}

@media screen and (max-width: 519px) {
    .txtFlowerarrange {
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 1rem;
    }
}

.backcopy {
    background: url("../images/back_copy.png") 0 100% repeat-x;
    margin: 25px 0;
}
.backcopy h2 {
    float: left;
    text-align: left;
    font-size: 140%;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.8);
    margin: -20px 0 0;
    border-bottom: none;
    padding-bottom: 0;
}
.backcopy h2:first-letter {
    font-size: 150%;
    color: #5d2083;
    padding: 0 0.1rem 0 0.5rem;
}
.backcopy h2 span {
    font-size: 90%;
    padding-left: 2rem;
}
.backcopy::after {
    content: "";
    display: block;
    clear: both;
}

@media screen and (max-width: 519px) {
    .backcopy {
        height: 60px;
        margin: 30px 0 40px;
    }
    .backcopy h2 {
        margin: -40px 0 0;
        line-height: 1.5;
    }
    .backcopy h2:first-letter {
        font-size: 130%;
    }
    .backcopy h2 span {
        font-size: 70%;
        padding-left: 0;
    }
}

.hallImg {
    max-width: 410px;
    height: auto;
    border: 3px double #e6d7f0;
    margin-top: 15px;
}
.flowerarrange {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2rem 0;
}
.flowerarrange img {
    max-width: 230px;
    height: auto;
    border: 1px solid #ffc0cb;
    margin: 0 auto;
}
.creditcard {
    width: fit-content;
    margin: 1.2rem auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.creditcard img {
    vertical-align: middle;
}
.creditcard > div {
    margin: 0;
}

@media screen and (min-width: 520px) and (max-width: 959px) {
    .flowerarrange img {
        max-width: 220px;
        margin: 0.5rem auto;
    }
}

@media screen and (max-width: 519px) {
    .hallImg {
        max-width: 98%;
        margin-top: 5px;
    }
    .creditcard {
        align-items: center;
        justify-content: center;
    }
    .flowerarrange img {
        max-width: 200px;
        margin: 0.3rem auto;
    }
}

.notes {
    padding: 2rem 0 0;
}

@media (max-width: 959px) {
    .orderFlow .step {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }
}

@media (max-width: 519px) {
    .container {
        padding: 15px;
        margin: 15px auto;
    }
    header p {
        font-size: 0.8em;
    }
    h2 {
        font-size: 1.5em;
        margin-bottom: 20px;
    }
    .orderFlow .step {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }
    .orderFlow .stepNumber {
        font-size: 1.5em;
        margin-right: 0;
        margin-bottom: 0;
        width: auto;
    }
    .orderFlow .stepText {
        font-size: 1rem;
    }
    .orderer-info-complete .info-grid-complete {
        grid-template-columns: 1fr; 
    }
    .orderer-info-complete .info-item-complete {
        display: block; 
    }
    .orderer-info-complete .info-item-complete .label {
        text-align: left; 
        margin-bottom: 5px;
        padding: 8px 12px;
    }
    .orderer-info-complete .info-item-complete .value {
        width: calc(100% - 24px); 
        display: block;
        padding: 8px 12px;
        margin-bottom: 15px;
    }
    .orderer-info-complete .info-item-complete.full-width {
        grid-column: auto;
    }
    .orderer-info-complete .info-item-complete.full-width .label,
    .orderer-info-complete .info-item-complete.full-width .value {
        grid-column: auto;
    }

}
.introduction {
    padding: 10px;
}
.orderFlow {
    margin-bottom: 40px;
}
.orderFlow .step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background-color: #f8f4fb; 
    border: 1px solid #ffc0cb;
    border-radius: 8px;
    padding: 5px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.orderFlow .stepNumber {
    font-size: 1.3em;
    font-weight: bold;
    color: #d7667d;
    margin-right: 20px;
    flex-shrink: 0; 
    width: 90px; 
    text-align: center;
}
.orderFlow .stepText {
    font-size: 1.1em;
    flex-grow: 1; 
    padding-top: 7px;
}
.stepNext {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid #d7667d; /* 色を変えたいときはここを調整 */
  margin: 10px auto 20px; /* 中央寄せしたい場合 */
}
.start-button-container {
    text-align: center;
    margin-top: 50px;
    padding-top: 70px;
    border-top: 1px dashed #ffc0cb;
}
.start-order-button {
    width: fit-content;
    background-color: #d7667d;
    color: #fff;
    padding: 5px 40px;
    margin: 0 auto;
    border: none;
    border-radius: 10px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.start-order-button:hover {
    background-color: #ea9098;
    transform: translateY(-3px);
}
.start-order-button a {
    color: #fff;
}

@media screen and (min-width: 520px) and (max-width: 959px) {
    .orderFlow .stepNumber {
        width: auto; 
        margin-bottom: 0;
    }
    .orderFlow .stepText {
        margin-top: 0;
    }
}
@media screen and (max-width: 519px) {
    header h1 {
        font-size: 1.3em;
    }
    h2 {
        font-size: 1.3em;
    }
    .orderFlow .stepNumber {
        font-size: 1.3em;
    }
    .orderFlow .stepText {
        font-size: 1rem;
    }
    .start-order-button {
        font-size: 1em;
        padding: 10px 15px;
    }
    .orderFlow .stepText {
        padding-top: 0;
    }
}

.date {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem auto;
}
.need {
    color: #E74C3C;
    font-weight: bold;
}

@media screen and (max-width: 519px) {
    .sp-br {
        display: block;
    }
}

footer {
    border-top: 1px solid #dcdcdc;
    margin-top: 3rem;
}
.copyright {
    font-weight: normal;
}
@media screen and (min-width: 520px) {
    .copyright {
        font-size: 0.75rem;
        text-align: center;
    }
}
@media screen and (max-width: 519px) {
    .copyright {
        font-size: 0.7rem;
        text-align: center;
    }
}

#fix {
    border-top: 1px solid #5d2083;
    background: rgba(255, 255, 255, 0.7);
}
#fix {
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 1002;
}
@media print, screen and (min-width: 520px) {
    #fix .title {
        float: left;
        height: 60px;
    }
    #fix .tel {
        float: right;
        height: 40px;
        margin: 23px 0 0;
    }
    .sp-fix-freedial {
        display: none !important;
    }
}
@media screen and (max-width: 519px) {
    #fix .title,
    #fix .tel {
        display: none !important;
    }
    #fix .container {
        padding: 0;
        margin: 0 auto;
  }
    .sp-fix-freedial {
        width: 90%;
        text-align: center;
        margin: 10px auto;
    }
    .sp-fix-freedial img {
        width: 30px;
        margin: 0 8px 2px;
        vertical-align: middle;
    }
}
#page-top {
    position: fixed;
    z-index: 100;
    bottom: 105px;
    right: 8px;
}
#page-top a {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    position: relative;
    letter-spacing: 2px;
    display: block;
    width: 40px;
    height: 40px;
    background: #5d2083;
    border-radius: 50%;
}
#page-top a::after {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    margin-left: -6px;
    margin-top: -4px;
    top: 50%;
    width: 11px;
    height: 11px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}
@media screen and (min-width: 520px) and (max-width: 959px) {
    #page-top {
        bottom: 96px;
        right: 8px;
    }
    #page-top a {
        width: 44px;
        height: 44px;
    }
    #page-top a::after {
        width: 10px;
        height: 10px;
        margin-left: -6px;
        margin-top: -4px;
    }
}
@media screen and (max-width: 519px) {
    #page-top {
        bottom: 60px;
        right: 5px;
    }
    #page-top a {
        width: 40px;
        height: 40px;
    }
    #page-top a::after {
        width: 8px;
        height: 8px;
        margin-left: -5px;
        margin-top: -3px;
    }
}
