@charset "UTF-8";

.p-greetingV2,
.p-greetingV2 * {
    box-sizing: border-box;
}

.p-greetingV2 {
    position: relative;
    overflow: hidden;
    padding: 54px 0 43px;
    background:
        radial-gradient(ellipse at 68% 17%,rgba(255,255,255,.94) 0 25%,rgba(230,246,255,.7) 46%,transparent 68%),
        linear-gradient(180deg,#eff9ff 0%,#f8fcff 58%,#eef9ff 100%);
    color: #063777;
    font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
}

.p-greetingV2::after {
    position: absolute;
    inset: 39% 0 0;
    z-index: 0;
    background: #fff5c7;
    clip-path: polygon(0 0,100% 28%,100% 100%,0 100%);
    content: "";
    pointer-events: none;
}

.p-greetingV2__inner {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px),1120px);
    margin: 0 auto;
}

.p-greetingV2__local {
    position: relative;
    min-height: 486px;
}

.p-greetingV2__localTitle {
    position: relative;
    display: flex;
    width: 52%;
    align-items: baseline;
    justify-content: center;
    margin: 24px 0 0;
    color: #082f68;
    font-size: clamp(3.2rem,2.7vw,4rem);
    font-weight: 900;
    letter-spacing: .03em;
    line-height: 1.25;
    text-align: center;
}

.p-greetingV2__localTitle span {
    display: inline-block;
    margin-left: .14em;
    color: #ec1717;
    font-size: 1.22em;
}

.p-greetingV2__localGrid {
    margin-top: 27px;
}

.p-greetingV2__localCopy {
    width: min(52%,700px);
    padding-left: 0;
    text-align: center;
}

.p-greetingV2__area {
    margin: 0;
    color: #073777;
    font-size: clamp(3.6rem,3.2vw,4.6rem);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.34;
}

.p-greetingV2__areaPc {
    display: block;
}

.p-greetingV2__areaLine {
    display: inline-block;
    white-space: nowrap;
}

.p-greetingV2__areaPc mark {
    padding: 0 .1em .03em;
    background: linear-gradient(transparent 73%,#ffef66 73% 94%,transparent 94%);
    color: inherit;
}

.p-greetingV2__areaPc b {
    margin-left: .12em;
    font-size: .55em;
    vertical-align: .2em;
}

.p-greetingV2__areaSp {
    display: none;
}

.p-greetingV2__quick {
    position: relative;
    left: auto;
    display: flex;
    width: 100%;
    min-height: 104px;
    align-items: center;
    justify-content: center;
    margin: 46px 0 0;
    padding: 16px 24px;
    border: 1px solid rgba(27,106,176,.08);
    border-radius: 17px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 6px 22px rgba(37,95,137,.08);
    transform: none;
}

.p-greetingV2__quickText {
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: center;
    gap: .25em;
    line-height: 1.28;
    white-space: nowrap;
}

.p-greetingV2__quickText small,
.p-greetingV2__quickText b {
    display: inline;
}

.p-greetingV2__quickText small {
    color: #082f68;
    font-size: clamp(2.1rem,1.85vw,2.45rem);
    font-weight: 800;
    white-space: nowrap;
}

.p-greetingV2__quickText small strong {
    color: #ec1717;
    font-size: 1.2em;
    font-weight: 900;
}

.p-greetingV2__quickText b {
    position: relative;
    color: #082f68;
    font-size: clamp(2.1rem,1.85vw,2.45rem);
    font-weight: 900;
    white-space: nowrap;
}

.p-greetingV2__quickText b::after {
    position: absolute;
    right: 0;
    bottom: -.08em;
    left: 0;
    z-index: -1;
    height: .26em;
    background: #ffea35;
    content: "";
}

.p-greetingV2__map {
    position: absolute;
    top: -46px;
    right: 12%;
    width: clamp(300px,25vw,370px);
    height: 520px;
    margin: 0;
}

.p-greetingV2__map::before {
    position: absolute;
    inset: -12px -24px -8px;
    z-index: -1;
    border-radius: 48% 48% 44% 50%;
    background: rgba(255,255,255,.46);
    content: "";
}

.p-greetingV2__map img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p-greetingV2__message {
    position: relative;
    min-height: 408px;
    margin-top: 0;
    padding: 26px 56px 0;
    overflow: visible;
    background: transparent;
}

.p-greetingV2__message::before {
    display: none;
}

.p-greetingV2__messageTitle {
    position: relative;
    z-index: 2;
    width: max-content;
    margin: 0 auto;
    padding-bottom: 13px;
    color: #063777;
    font-size: clamp(3.5rem,3.15vw,4.8rem);
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1.2;
    text-align: center;
}

.p-greetingV2__messageTitle::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #0b4b96;
    content: "";
}

.p-greetingV2__messageGrid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(430px,470px);
    align-items: end;
    gap: 20px;
    margin-top: 20px;
}

.p-greetingV2__messageBody {
    align-self: start;
    padding: 0 0 34px;
    color: #111;
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.58;
}

.p-greetingV2__messageBody p {
    margin: 12px 0 0;
}

.p-greetingV2__messageBody .p-greetingV2__lead {
    margin: 0 0 24px;
    color: #073777;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.55;
}

.p-greetingV2__figure {
    position: relative;
    top: -24px;
    align-self: end;
    width: 320px;
    height: 320px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #edf3f8;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 12px 30px rgba(5,55,119,.1);
}

.p-greetingV2__figure img {
    position: absolute;
    z-index: 1;
    right: auto;
    bottom: 0;
    left: 50%;
    display: block;
    width: 88%;
    height: auto;
    max-width: none;
    max-height: 310px;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%);
}

@media (min-width: 768px) and (max-width: 1120px) {
    .p-greetingV2__inner {
        width: min(calc(100% - 40px),1120px);
    }

    .p-greetingV2__localTitle {
        width: 58%;
        margin-left: 0;
    }

    .p-greetingV2__localCopy {
        width: 58%;
        padding-left: 0;
    }

    .p-greetingV2__area {
        font-size: clamp(3.2rem,3.6vw,3.8rem);
        letter-spacing: -.01em;
    }

    .p-greetingV2__quick {
        left: auto;
        width: 100%;
        margin-left: 0;
        padding-left: 10px;
        transform: none;
    }

    .p-greetingV2__quickText small,
    .p-greetingV2__quickText b {
        font-size: clamp(1.9rem,2.15vw,2.35rem);
    }

    .p-greetingV2__map {
        right: 5%;
        width: 320px;
        height: 480px;
    }

    .p-greetingV2__message {
        padding-right: 36px;
        padding-left: 36px;
    }

    .p-greetingV2__messageGrid {
        grid-template-columns: minmax(0,1fr) 310px;
    }

    .p-greetingV2__messageBody {
        font-size: 1.42rem;
    }

    .p-greetingV2__messageBody .p-greetingV2__lead {
        font-size: 1.95rem;
    }
}

@media (max-width: 767px) {
    .p-greetingV2 {
        padding: 40px 0 64px;
        background:
            radial-gradient(circle at 84% 18%,rgba(207,238,255,.9) 0 7%,transparent 7.2%),
            linear-gradient(180deg,#f5fbff 0%,#fff 36%,#fffcef 100%);
    }

    .p-greetingV2::after {
        inset: 43% 0 0;
        clip-path: polygon(0 0,100% 14%,100% 100%,0 100%);
    }

    .p-greetingV2__inner {
        width: min(calc(100% - 22px),520px);
    }

    .p-greetingV2__local {
        min-height: 0;
    }

    .p-greetingV2__localTitle {
        display: block;
        width: auto;
        margin: 0;
        font-size: 2.9rem;
        text-align: center;
    }

    .p-greetingV2__localTitle span {
        margin-left: 0;
        font-size: 1em;
    }

    .p-greetingV2__localGrid {
        display: flex;
        gap: 0;
        margin-top: 18px;
        flex-direction: column;
    }

    .p-greetingV2__localCopy {
        display: contents;
        width: auto;
        padding: 0;
    }

    .p-greetingV2__area {
        position: relative;
        z-index: 1;
        display: flex;
        width: calc(100% - 18px);
        min-height: 50px;
        order: 1;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 8px 12px;
        background: linear-gradient(100deg,#126dc7 0%,#06418f 100%);
        box-shadow: 0 5px 0 rgba(0,40,99,.12);
        color: #ffea00;
        font-size: 2.2rem;
        line-height: 1.2;
        text-align: center;
    }

    .p-greetingV2__area::after {
        position: absolute;
        top: 0;
        right: -17px;
        width: 18px;
        height: 100%;
        background: #06418f;
        clip-path: polygon(0 0,100% 50%,0 100%);
        content: "";
    }

    .p-greetingV2__areaPc {
        display: none;
    }

    .p-greetingV2__areaSp {
        display: block;
    }

    .p-greetingV2__areaSp > span {
        margin-left: .25em;
        font-size: .68em;
    }

    .p-greetingV2__map {
        position: relative;
        top: auto;
        right: auto;
        width: 74%;
        height: auto;
        order: 2;
        margin: 16px auto 0;
    }

    .p-greetingV2__map::before {
        display: none;
    }

    .p-greetingV2__map img {
        width: 100%;
        height: 275px;
        object-fit: contain;
    }

    .p-greetingV2__quick {
        left: auto;
        display: block;
        width: auto;
        min-height: 0;
        order: 3;
        margin: 14px 0 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        text-align: center;
        transform: none;
    }

    .p-greetingV2__quickText {
        display: block;
        white-space: normal;
    }

    .p-greetingV2__quickText small,
    .p-greetingV2__quickText b {
        display: block;
    }

    .p-greetingV2__quickText small {
        margin-bottom: 3px;
        color: #f0161d;
        font-size: 1.74rem;
        white-space: normal;
    }

    .p-greetingV2__quickText small strong {
        color: inherit;
        font-size: 1em;
    }

    .p-greetingV2__quickText b {
        color: #f0161d;
        font-size: 3rem;
        line-height: 1.22;
        white-space: normal;
        text-shadow: 0 2px 0 #fff;
    }

    .p-greetingV2__quickText b::after {
        display: none;
    }

    .p-greetingV2__message {
        min-height: 0;
        margin-top: 34px;
        padding: 30px 20px 0;
        border-radius: 14px;
    }

    .p-greetingV2__messageTitle {
        padding: 0;
        font-size: 3.2rem;
        letter-spacing: .09em;
    }

    .p-greetingV2__messageTitle::after {
        display: none;
    }

    .p-greetingV2__messageGrid {
        display: flex;
        gap: 0;
        margin-top: 18px;
        flex-direction: column;
    }

    .p-greetingV2__messageBody {
        display: contents;
        color: #092f67;
        font-size: 1.48rem;
        font-weight: 600;
        line-height: 1.72;
    }

    .p-greetingV2__messageBody .p-greetingV2__lead {
        order: 1;
        margin: 0;
        color: #06418f;
        font-size: 1.75rem;
        line-height: 1.55;
        text-align: center;
    }

    .p-greetingV2__messageBody .p-greetingV2__lead br {
        display: none;
    }

    .p-greetingV2__figure {
        width: 240px;
        height: 240px;
        order: 2;
        align-self: center;
        margin-top: 18px;
        top: -10px;
    }

    .p-greetingV2__figure img {
        right: auto;
        left: 50%;
        bottom: 0;
        width: 86%;
        max-height: 230px;
        transform: translateX(-50%);
    }

    .p-greetingV2__messageBody > p:not(.p-greetingV2__lead) {
        order: 3;
        margin: 16px 0 0;
    }

    .p-greetingV2__messageBody > p:last-child {
        padding-bottom: 28px;
    }
}

@media (max-width: 359px) {
    .p-greetingV2__localTitle {
        font-size: 2.6rem;
    }

    .p-greetingV2__area {
        font-size: 1.95rem;
    }

    .p-greetingV2__quickText b {
        font-size: 2.65rem;
    }

    .p-greetingV2__map img {
        height: 245px;
    }

    .p-greetingV2__message {
        padding-right: 16px;
        padding-left: 16px;
    }
}
