:root {
    --blue: rgb(0, 45, 170);
    --gray: rgb(220, 221, 221);
    --skyblue: rgb(46, 167, 224);
}

.left {
    text-align-last: left;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}

/* --------------------------------------------------------------------------
ページ全体
   -------------------------------------------------------------------------- */
#pg-main {
    display: block;
    width: 100%;
    margin: 20px auto 0;
}

#pg-main.container {
    max-width: 1140px;
}

#pg-main .container {
    max-width: none;
    padding-top: 0;
    padding-bottom: 0;
}

.special-date-wrap {
    width: 100%;
    max-width: 450px;
    margin: 20px auto 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 5px;
    &.-winter {
        border: 3px solid #aa44a4;
    }
    &.-summer {
        border: 3px solid #ff6501;
    }
    .title {
        display: inline-block;
        width: 100%;
        font-size: 14px;
        font-weight: bold;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2px 0px;
        border-radius: 25px;
        margin: 5px auto;
        &.-winter {
            background: #aa44a4;
        }
        &.-summer {
            background: #ff6501;
        }
    }
    .date {
        width: 100%;
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        align-items: flex-end;
        font-size: 13px;
        line-height: 1.4;
        font-weight: bold;
        margin: 0 0 5px;
        letter-spacing: -1px;
        &.-winter {
            color: #aa44a4;
        }
        &.-summer {
            color: #ff6501;
        }
        .large {
            font-size: 28px;
            padding: 0;
            line-height: 1;
            letter-spacing: -1.5px;
        }
        .middle {
            font-size: 24px;
            padding: 0;
            line-height: 1;
            letter-spacing: -1px;
        }
    }
    .txt {
        font-weight: bold;
        font-size: 12px;
        line-height: 1.2;
        padding: 0;
        margin: 5px 0 0;
        text-align: left;
        letter-spacing: -1.5px;
        &.-winter {
            color: #aa44a4;
        }
        &.-summer {
            color: #ff6501;
        }
    }
}
#search-result ul li p {
    font-size: 16px;
}
#search-result ul li p.address1,
#search-result ul li p.address2 {
    display: inline-block;
}

h2.jissi {
    position: relative;
}
h2.jissi::before {
    display: block;
    content: "";
    position: absolute;
    top: 10%; /* 縦軸をセンタリングする */
    bottom: 10%; /* 縦軸をセンタリングする */
    left: 10px;
    border: 3px solid white;
}

.text-line-right {
    display: flex;
    align-items: center;
    font-size: x-large;
    font-weight: 600;
    color: #3d689b;
}

.text-line-right:after {
    content: "";
    flex-grow: 1;
    height: 2px;
    display: block;
    margin-bottom: 8px;
}

.text-line-right:after {
    margin-left: 0.4em;
    background: #3d689b;
}
.a1 {
    font-weight: 600;
}
.a2 {
    width: 100%;
    font-size: clamp(0.219rem, -0.124rem + 3.43vw, 1.375rem);
    border-bottom: 4px dotted black;
    margin-top: 20px;
    margin-bottom: 60px;
}
.a3 {
    font-size: clamp(1.5rem, 0.786rem + 3.048vw, 2.5rem);
}

.special-wrap {
    width: 100%;
    margin: 0 auto;
    font-size: min(3.2vw, 1.8rem);
    text-align: center;
}
.special-title {
    font-size: min(5.2vw, 3rem);
    font-weight: 700;
    color: white;
    padding: 2% 0;
    &.-winter {
        background: #aa44a4;
    }
    &.-summer {
        background: #ff6501;
    }
}
.-red {
    color: red;
}
@media screen and (min-width: 576px) {
    .special-date-wrap {
        width: 90%;
        max-width: 650px;
        margin: 30px auto 0;
        padding: 10px 15px;
        .title {
            font-size: 24px;
            padding: 0 0 1px;
        }
        .date {
            font-size: 22px;
            line-height: 1.6;
            letter-spacing: 0;
            .large {
                font-size: 36px;
                padding: 0;
                line-height: 1.1;
            }
            .middle {
                font-size: 30px;
                line-height: 1.3;
                letter-spacing: 0;
                letter-spacing: 0;
            }
        }
        .txt {
            font-size: 16px;
            line-height: 1.2;
            letter-spacing: 0;
        }
    }
}

@media screen and (min-width: 768px) {
    #pg-main {
        margin-top: 30px;
    }
    .special-date-wrap {
        justify-content: flex-start;
        .title {
            display: inline-block;
            width: 90px;
            font-size: 24px;
            padding: 0 0 1px;
            margin: 0 auto;
            margin-right: 10px;
        }
        .date {
            width: auto;
            font-size: 24px;
            line-height: 1.6;
            margin: 0 0 10px;
            justify-content: flex-start;
            letter-spacing: 0;
            .large {
                font-size: 38px;
                padding: 0;
                line-height: 1.1;
                letter-spacing: 0;
            }
            .middle {
                font-size: 30px;
                padding: 0;
                line-height: 1.3;
                letter-spacing: 0;
            }
        }
        .txt {
            font-size: 20px;
            line-height: 1.2;
            margin: 10px 0 0;
            letter-spacing: 0;
        }
    }
}
@media screen and (min-width: 1200px) {
    .special-date-wrap {
        width: 85%;
        max-width: 950px;
        .title {
            width: 120px;
            font-size: 36px;
            margin-right: 20px;
        }
        .date {
            font-size: 28px;
            .large {
                font-size: 64px;
            }
            .middle {
                font-size: 50px;
                line-height: 1.3;
            }
        }
        .txt {
            font-size: 22px;
        }
    }
}
