#wpadminbar {
    display: none !important;
}

html {
    margin-top: 0 !important;
}
.sp-only{
    display: none;
}
@media screen and (max-width:767px) {
.sp-only{
    display: block;
}
}
/* =========================================================
   UEDA TOP
========================================================= */
.ueda-top {
    overflow: hidden;
    background: #fff;
    color: #fff;
    font-family: "Noto Serif JP", serif;
}

.ueda-history__en,
.ueda-number__label,
.ueda-number__value {
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
}

/* =========================================================
   HEADER
========================================================= */
.p-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 72px;
    margin: 0;
    background: transparent;
}

.p-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: none;
    height: 100%;
    padding: 0 28px;
}

.p-header__logov2 {
    position: relative;
    z-index: 2;
    display: block;
    flex-shrink: 0;
    width: 150px;
    height: auto;
}

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

/* 通常PCヘッダー：中央ナビ */
.p-header__nav-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.p-header .p-nav {
    margin: 0;
}

.p-header .p-nav__lists {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 52px);
    margin: 0;
    padding: 0;
}

.p-header .p-nav__list {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.p-header .p-nav__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: .06em;
    text-decoration: none;
    transition: opacity .3s ease, color .3s ease;
}

.p-header .p-nav__link:hover {
    opacity: .65;
}

.p-header .p-nav__link.is-recruit {
    width: auto;
    padding: 10px 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #fff;
}

/* 通常PCヘッダー：右端お問い合わせ */
.p-header__contact {
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.p-header__contact .p-nav__link.is-contact {
    min-width: 126px;
    padding: 12px 22px;
    border: 0;
    border-radius: 100px;
    background: #263f64;
    color: #fff;
    font-size: 15px;
    letter-spacing: .06em;
    gap: 20px;
    justify-content: space-around;
    font-family: "Noto Sans JP", sans-serif;
    height: 46px;
}

.p-header__contact .p-nav__link.is-contact::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-radius: 50%;
    background: #fff;
}

/* =========================================================
   RECRUIT HEADER
========================================================= */
.p-header.is-recruit {
    position: fixed;
    height: 100px;
    margin-top: 59px;
    background: none;
}

.p-header.is-recruit.is-scroll {
    margin-top: 0;
    background: #fefefe;
}

.p-header.is-recruit .p-header__inner {
    justify-content: space-between;
    max-width: 1765px;
    margin: 0 auto;
    padding: 0 40px;
}

.p-header.is-recruit .p-header__nav {
    margin-left: auto;
}

.p-header.is-recruit .p-nav__lists {
    gap: 10px;
}

.p-header.is-recruit .p-nav__link {
    color: #333;
    font-size: 14px;
}

.p-header.is-recruit .p-nav__link.is-recruit {
    color: #333;
}

@media screen and (min-width: 1200px) {
    .p-header.is-recruit .p-nav__lists {
        gap: 50px;
    }

    .p-header.is-recruit .p-nav__link {
        font-size: 22px;
    }
}

/* =========================================================
   HEADER SCROLL
========================================================= */
.p-header.is-scroll:not(.is-recruit) {
    position: fixed;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.p-header.is-scroll:not(.is-recruit) .p-nav__link {
    color: #222;
}

.p-header.is-scroll:not(.is-recruit) .p-nav__link.is-recruit {
    color: #222;
}

.p-header.is-scroll:not(.is-recruit) .p-header__contact .p-nav__link.is-contact {
    color: #fff;
}

/* =========================================================
   HAMBURGER
========================================================= */
.p-header__icon {
    position: relative;
    width: 40px;
    height: 26px;
}

.p-header__bar {
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
}

.p-header__bar:nth-of-type(1) {
    top: 0;
    animation: btn-bar01 .75s forwards;
}

.p-header__bar:nth-of-type(2) {
    top: 50%;
    opacity: 1;
    transform: translateY(-50%);
    transition: all .25s .25s;
}

.p-header__bar:nth-of-type(3) {
    top: 24px;
    animation: btn-bar03 .75s forwards;
}

.p-header__icon.is-open .p-header__bar:nth-of-type(1) {
    animation: active-btn-bar01 .75s forwards;
}

.p-header__icon.is-open .p-header__bar:nth-of-type(2) {
    opacity: 0;
}

.p-header__icon.is-open .p-header__bar:nth-of-type(3) {
    animation: active-btn-bar03 .75s forwards;
}

@keyframes btn-bar01 {
    0% {
        transform: translateY(12px) rotate(45deg);
    }
    50% {
        transform: translateY(12px) rotate(0);
    }
    100% {
        transform: translateY(0) rotate(0);
    }
}

@keyframes btn-bar03 {
    0% {
        transform: translateY(-12px) rotate(-45deg);
    }
    50% {
        transform: translateY(-12px) rotate(0);
    }
    100% {
        transform: translateY(0) rotate(0);
    }
}

@keyframes active-btn-bar01 {
    0% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(12px) rotate(0);
    }
    100% {
        transform: translateY(12px) rotate(45deg);
    }
}

@keyframes active-btn-bar03 {
    0% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-12px) rotate(0);
    }
    100% {
        transform: translateY(-12px) rotate(-45deg);
    }
}

/* =========================================================
   DRAWER
========================================================= */
.p-drawer {
    position: fixed;
    top: -100vh;
    left: 0;
    z-index: 90;
    width: 100%;
    height: 100vh;
    background: #263f64;
    transition: top .3s ease;
}

.p-drawer.is-open {
    top: 0;
}

.p-drawer__inner {
    width: 100%;
    max-width: none;
    padding: 105px 24px 40px;
}

.p-drawer-nav {
    width: 100%;
}

.p-drawer-nav__lists {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.p-drawer-nav__list {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.p-drawer-nav__link,
.p-drawer-nav__link.is-recruit,
.p-drawer-nav__link.is-contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    padding: 18px 4px;
    border: 0;
    border-radius: 0;
    background: none;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .06em;
    text-decoration: none;
}

.p-drawer-nav__link::after,
.p-drawer-nav__link.is-contact::after {
    content: "";
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-left: 15px;
    border: 0;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    border-radius: 0;
    background: none;
    transform: rotate(45deg);
}

.p-drawer.is-recruit .p-drawer__inner {
    padding: 120px 20px 40px;
}

/* =========================================================
   MV
========================================================= */
.ueda-mv {
    position: relative;
    width: 100%;
    height: min(900px, 100vh);
    min-height: 600px;
    overflow: hidden;
    background: #111;
}

.ueda-mv__media {
    position: absolute;
    inset: 0;
}

.ueda-mv__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ueda-mv__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .30) 42%, rgba(0, 0, 0, .15) 100%);
}

.ueda-mv__content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(1100px, calc(100% - 80px));
    text-align: center;
    transform: translate(-50%, -50%);
}

.ueda-mv__title {
    margin: 0;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(32px, 3.3vw, 54px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: .08em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.ueda-mv__title span {
    display: inline-block;
}

.ueda-mv__lead {
    margin: 25px 0 0;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    letter-spacing: .14em;
}

/* =========================================================
   MV RECRUIT
========================================================= */
.ueda-mv__recruit {
    position: absolute;
    right: 28px;
    bottom: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 340px;
    min-height: 76px;
    padding: 10px 18px 10px 12px;
    border-radius: 100px;
    background: #f36b0a;
    color: #fff;
    text-decoration: none;
    transition: transform .3s ease, background .3s ease;
}

.ueda-mv__recruit:hover {
    background: #de5c00;
    transform: translateY(-3px);
}

.ueda-mv__recruit-img {
    flex-shrink: 0;
    width: 120px;
    height: 60px;
    overflow: hidden;
    padding-left: 5%;
}

.ueda-mv__recruit-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ueda-mv__recruit-text {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.ueda-mv__recruit-arrow {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #263A5A;
}

/* =========================================================
   HISTORY
========================================================= */
.ueda-history {
    --history-bleed: max(40px, calc((100vw - 1120px) / 2));
    position: relative;
    padding: 50px 0 100px;
    background: #263A5A;
}

.ueda-history__inner {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: stretch;
    width: min(1120px, calc(100% - 80px));
    margin: 0 auto;
}

.ueda-history__copy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    min-height: 450px;
}

.ueda-history__en {
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .08em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-top: -65px;
}

.ueda-history__title {
    margin: 0;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(34px, 3.3vw, 48px);
    font-weight: 500;
    line-height: 1.75;
    letter-spacing: .12em;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.ueda-history__title span {
    display: block;
}
.ueda-history__title span:nth-child(2) {
    padding-left: 25px;
}

.ueda-history__image {
    width: calc(100% + var(--history-bleed));
    height: 450px;
    margin-right: calc(var(--history-bleed) * -1);
}

.ueda-history__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   NUMBERS
========================================================= */
.ueda-history__numbers {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(930px, calc(100% - 100px));
    margin: 46px auto -120px;
    border: 1px solid #263A5A;
    background: #f7f7f7;
}

.ueda-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    color: #263A5A;
    text-align: center;
}

.ueda-number + .ueda-number {
    border-left: 1px solid #263A5A;
}

.ueda-number__label {
    margin: 0 0 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    font-family: "Noto Sans JP", sans-serif;
}

.ueda-number__value {
    margin: 0;
    font-size: clamp(42px, 4vw, 58px);
    font-weight: 400;
    line-height: 1;
}

.ueda-number__value small {
    margin-left: 4px;
    font-size: 26px;
    vertical-align: super;
}

.ueda-number__text {
    margin: 14px 0 0;
    font-family: "Noto Serif JP", serif;
    font-size: 12px;
    letter-spacing: .04em;
}

/* =========================================================
   1200px以下
========================================================= */
@media screen and (max-width: 1199px) {
    .p-header__inner {
        padding: 0 20px;
    }

    .p-header__logov2 {
        width: 135px;
    }

    .p-header .p-nav__lists {
        gap: 22px;
    }

    .p-header .p-nav__link {
        font-size: 14px;
    }

    .p-header__contact .p-nav__link.is-contact {
        min-width: 112px;
        padding: 11px 16px;
        font-size: 12px;
        justify-content: space-around;
    }
}

/* =========================================================
   1050px以下
========================================================= */
@media screen and (max-width: 1050px) {
    .p-header__logov2 {
        width: 120px;
    }

    .p-header .p-nav__lists {
        gap: 15px;
    }

    .p-header .p-nav__link {
        font-size: 10px;
    }

    .p-header__contact .p-nav__link.is-contact {
        min-width: 100px;
        padding: 10px 13px;
    }
}

/* =========================================================
   1000px以下
========================================================= */
@media screen and (max-width: 1000px) {
    .ueda-mv {
        height: 560px;
    }

    .ueda-history__inner {
        grid-template-columns: 45% 55%;
        width: calc(100% - 50px);
    }

    .ueda-history__copy {
        gap: 30px;
    }
}

/* =========================================================
   SP
========================================================= */
@media screen and (max-width: 767.98px) {
    .p-header {
        height: 70px;
    }

    .p-header__inner {
        justify-content: space-between;
        padding: 0 18px;
    }

    .p-header__logov2 {
        width: 130px;
        height: auto;
    }

    .p-header__icon {
        z-index: 101;
        width: 34px;
        height: 24px;
    }

    .p-header__bar {
        height: 2px;
        background: #fff;
    }

    .p-header__bar:nth-of-type(3) {
        top: 22px;
    }

    .p-header.is-scroll:not(.is-recruit) .p-header__bar {
        background: #263f64;
    }

    .p-header.is-recruit {
        height: 70px;
        margin-top: 20px;
    }

    .p-header.is-recruit.is-scroll {
        margin-top: 0;
    }

    .p-header.is-recruit .p-header__inner {
        padding: 0 18px;
    }

    .p-header.is-recruit .p-header__bar {
        background: #333;
    }

    .p-drawer {
        top: -100vh;
    }

    .p-drawer.is-open,
    .p-drawer.is-recruit.is-open {
        top: 0;
    }

    .ueda-mv {
        height: 620px;
        min-height: 0;
    }

    .ueda-mv__video {
        object-position: center;
    }

    .ueda-mv__overlay {
        background: rgba(0, 0, 0, .38);
    }

    .ueda-mv__content {
        top: 46%;
        width: calc(100% - 40px);
    }

    .ueda-mv__title {
        font-size: 28px;
        line-height: 1.6;
    }

    .ueda-mv__lead {
        margin-top: 18px;
        font-size: 12px;
        line-height: 1.8;
    }

    .ueda-mv__recruit {
        right: 15px;
        bottom: 18px;
        width: calc(100% - 30px);
        min-height: 68px;
        padding: 8px 18px 8px 20px;
    }

    .ueda-mv__recruit-img {
        width: 74px;
        height: 52px;
        padding-left: 0;
    }

    .ueda-mv__recruit-text {
        font-size: 13px;
    }

    .ueda-history {
        --history-bleed: 18px;
        padding: 32px 0 75px;
        background: linear-gradient(to bottom, #273f65 0, #273f65 calc(100% - 55px), #d9d9d9 calc(100% - 55px), #d9d9d9 100%);
    }

    .ueda-history__inner {
        display: block;
        width: calc(100% - 36px);
        margin: 0 auto;
    }

    .ueda-history__copy {
        justify-content: center;
        gap: 30px;
        min-height: 300px;
        padding: 35px 20px;
    }

    .ueda-history__title {
        font-size: 31px;
        line-height: 1.65;
    }

    .ueda-history__en {
        font-size: 9px;
    }

    .ueda-history__image {
        width: calc(100% + var(--history-bleed));
        height: 340px;
        margin-right: calc(var(--history-bleed) * -1);
        margin-left: 0;
    }

    .ueda-history__numbers {
        width: calc(100% - 36px);
        margin: 35px auto -90px;
    }

    .ueda-number {
        min-height: 130px;
        padding: 10px 4px;
    }

    .ueda-number__label {
        margin-bottom: 10px;
        font-size: 8px;
    }

    .ueda-number__value {
        font-size: 30px;
    }

    .ueda-number__value small {
        font-size: 17px;
    }

    .ueda-number__text {
        margin-top: 10px;
        font-size: 8px;
    }
}

/* =========================================================
   ABOUT
========================================================= */
.ueda-about {
    position: relative;
    padding: 70px 0 65px;
    overflow: hidden;
    background: #d9d9d9;
    color: #263f64;
}

.ueda-about__inner {
    position: relative;
    width: min(1180px, calc(100% - 80px));
    margin: 0 auto;
}

/* =========================================================
   ABOUT 上段
========================================================= */

/* 左端から約50%幅。親幅には閉じ込めない */
.ueda-about__top-image {
    width: 50vw;
    aspect-ratio: 1.53 / 1;
    margin-left: calc(50% - 50vw);
}

.ueda-about__top-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 上写真とは独立して配置 */
.ueda-about__content {
    position: absolute;
    top: 42px;
    left: 56%;
    z-index: 2;
    width: 44%;
    padding-left: 25px;
}

.ueda-about__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 -50px 25px;
    padding: 5px 16px;
    background: #ed6808;
    color: #fff;
    font-family: serif;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .04em;
}

.ueda-about__title {
    margin: 0;
    color: #263f64;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(27px, 2.2vw, 34px);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: .06em;
}

.ueda-about__text {
    margin-top: 28px;
    color: #222;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: .02em;
}

.ueda-about__text p {
    margin: 0;
}

.ueda-about__text p + p {
    margin-top: 10px;
}

/* =========================================================
   ABOUT 下段
========================================================= */

/*
 * デザイン通り、
 * 左写真は中央寄りからスタート
 * 右写真だけ右端へ
 * 2枚の高さも揃えない
 */
.ueda-about__bottom {
    position: relative;
    left: 50%;
    display: grid;
    grid-template-columns: 18.5vw 24vw 1vw 56.5vw;
    align-items: start;
    width: 100vw;
    margin-top: 16px;
    margin-left: -50vw;
}

.ueda-about__sub-image {
    position: relative;
    z-index: 2;
    grid-column: 2;
    width: 100%;
    aspect-ratio: .73 / 1;
}

.ueda-about__main-image {
    position: relative;
    z-index: 2;
    grid-column: 4;
    width: 100%;
    aspect-ratio: 1.53 / 1;
}

.ueda-about__sub-image img,
.ueda-about__main-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   ABOUT 背景ロゴ
========================================================= */
.ueda-about__mark {
    position: absolute;
    left: calc(50% - 48vw);
    bottom: -8vw;
    z-index: 1;
    width: min(20vw, 350px);
    pointer-events: none;
}

.ueda-about__mark img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   ABOUT BUTTON
========================================================= */
.ueda-about__button {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.ueda-about__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 215px;
    height: 42px;
    padding: 0 17px 0 25px;
    border-radius: 100px;
    background: #ed6808;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .3s ease, transform .3s ease;
}

.ueda-about__link span {
    flex: 1;
    text-align: center;
}

.ueda-about__link i {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #263A5A;
}

.ueda-about__link:hover {
    background: #d85a00;
    transform: translateY(-2px);
}

/* =========================================================
   ABOUT 1000px以下
========================================================= */
@media screen and (max-width: 1000px) {
    .ueda-about {
        padding-top: 55px;
    }

    .ueda-about__inner {
        width: calc(100% - 50px);
    }

    .ueda-about__top-image {
        width: 50vw;
    }

    .ueda-about__content {
        top: 25px;
        left: 53%;
        width: 47%;
        padding-left: 20px;
    }

    .ueda-about__label {
        margin-bottom: 18px;
    }

    .ueda-about__title {
        font-size: 26px;
    }

    .ueda-about__text {
        margin-top: 20px;
        font-size: 10px;
        line-height: 1.9;
    }

    .ueda-about__bottom {
        grid-template-columns: 17vw 25vw 1.5vw 56.5vw;
        margin-top: 14px;
    }

    .ueda-about__mark {
        width: 29vw;
    }
}

/* =========================================================
   ABOUT SP
========================================================= */
@media screen and (max-width: 767.98px) {
    .ueda-about {
        padding: 120px 0 55px;
    }

    .ueda-about__inner {
        width: calc(100% - 36px);
    }

    /*
     * SPはPCのレイアウトを無理に縮めず、
     * 写真 → テキスト → 下段写真 の順にする
     */
    .ueda-about__top-image {
        width: calc(100% + 18px);
        aspect-ratio: 1.5 / 1;
        margin-left: -18px;
    }

    .ueda-about__content {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        padding: 38px 5px 45px;
    }

    .ueda-about__label {
        margin-bottom: 18px;
        padding: 5px 13px;
        font-size: 10px;
        margin-left: 0px;
    }

    .ueda-about__title {
        font-size: 25px;
        line-height: 1.65;
    }

    .ueda-about__text {
        margin-top: 25px;
        font-size: 11px;
        line-height: 2;
    }

    .ueda-about__text br {
        display: none;
    }

    /*
     * SPでも2枚の高さは揃えない。
     * 左を短く、右を大きくする。
     */
    .ueda-about__bottom {
        left: auto;
        display: grid;
        grid-template-columns: 38% 62%;
        gap: 10px;
        width: calc(100% + 18px);
        margin: 0 -18px 0 0;
    }

    .ueda-about__sub-image {
        grid-column: 1;
        width: 100%;
        aspect-ratio: .72 / 1;
    }

    .ueda-about__main-image {
        grid-column: 2;
        width: 100%;
        aspect-ratio: 1.15 / 1;
    }

    .ueda-about__mark {
        left: -18px;
        bottom: 15px;
        width: 210px;
    }

    .ueda-about__button {
        margin-top: 55px;
    }

    .ueda-about__link {
        width: 200px;
        height: 42px;
        font-size: 11px;
    }
}

/* =========================================================
   SERVICE
========================================================= */
.ueda-service {
    padding: 90px 0 70px;
    background: #F5F5F5;
    color: #111;
}

.ueda-service__inner {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

/* =========================================================
   SERVICE HEAD
========================================================= */
.ueda-service__head {
    display: grid;
    grid-template-columns: 32% 68%;
    align-items: start;
}


.ueda-service__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
    padding: 5px 17px;
    background: #ed6808;
    color: #fff;
    font-family: serif;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .04em;
}

.ueda-service__title {
    margin: 0;
    padding-left: 54px;
    color: #111;
    font-family: "Noto Serif JP", serif;
    font-size: 31px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .06em;
}

.ueda-service__head-right {
    padding-top: 55px;
    padding-left: 5px;
}

.ueda-service__catch {
    margin: 0;
    color: #111;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(22px, 2.1vw, 31px);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .05em;
}

.ueda-service__lead {
    margin: 27px 0 0;
    color: #111;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: .01em;
}

/* =========================================================
   SERVICE CARDS
========================================================= */
.ueda-service__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 70px;
}

.ueda-service-card {
    background: #273f65;
}

.ueda-service-card__image {
    width: 100%;
    aspect-ratio: 1.52 / 1;
    overflow: hidden;
}

.ueda-service-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ueda-service-card__body {
    min-height: 155px;
    padding: 28px 34px 24px;
    background: #273f65;
    color: #fff;
}

.ueda-service-card__title {
    margin: 0;
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .04em;
}

.ueda-service-card__text {
    margin: 18px 0 0;
    font-family: "Noto Serif JP", serif;
  font-size: 15px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: .02em;
}

/* =========================================================
   SERVICE NOTE
========================================================= */
.ueda-service__note {
    margin-top: 42px;
    text-align: center;
}

.ueda-service__note p {
    margin: 0;
    color: #111;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .02em;
}

/* =========================================================
   SERVICE BUTTON
========================================================= */
.ueda-service__button {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.ueda-service__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 42px;
    padding: 0 17px 0 25px;
    border-radius: 100px;
    background: #ed6808;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .3s ease, transform .3s ease;
}

.ueda-service__link span {
    flex: 1;
    text-align: center;
}

.ueda-service__link i {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #263A5A;
}

.ueda-service__link:hover {
    background: #d85a00;
    transform: translateY(-2px);
}

/* =========================================================
   SERVICE 1000px以下
========================================================= */
@media screen and (max-width: 1000px) {
    .ueda-service__inner {
        width: calc(100% - 50px);
    }

    .ueda-service__head {
        grid-template-columns: 34% 66%;
    }

    .ueda-service__title {
        padding-left: 35px;
        font-size: 28px;
    }

    .ueda-service__catch {
        font-size: 25px;
    }

    .ueda-service__lead {
        font-size: 10px;
    }

    .ueda-service__cards {
        gap: 16px;
        margin-top: 55px;
    }

    .ueda-service-card__body {
        min-height: 145px;
        padding: 24px 24px 20px;
    }

    .ueda-service-card__title {
        font-size: 19px;
    }

    .ueda-service-card__text {
        font-size: 10px;
    }
}

/* =========================================================
   SERVICE SP
========================================================= */
@media screen and (max-width: 767.98px) {
    .ueda-service {
        padding: 65px 0 55px;
    }

    .ueda-service__inner {
        width: calc(100% - 36px);
    }

    .ueda-service__head {
        display: block;
    }

    .ueda-service__head-left {
        padding-left: 0;
    }

    .ueda-service__label {
        margin-bottom: 16px;
        padding: 5px 14px;
        font-size: 10px;
    }

    .ueda-service__title {
        padding-left: 0;
        font-size: 28px;
    }

    .ueda-service__head-right {
        padding: 35px 0 0;
    }

    .ueda-service__catch {
        font-size: 23px;
        line-height: 1.65;
    }

    .ueda-service__lead {
        margin-top: 22px;
        font-size: 11px;
        line-height: 2;
    }

    .ueda-service__lead br {
        display: none;
    }

    .ueda-service__cards {
        display: block;
        margin-top: 45px;
    }

    .ueda-service-card + .ueda-service-card {
        margin-top: 24px;
    }

    .ueda-service-card__image {
        aspect-ratio: 1.55 / 1;
    }

    .ueda-service-card__body {
        min-height: auto;
        padding: 24px 25px 25px;
    }

    .ueda-service-card__title {
        font-size: 20px;
    }

    .ueda-service-card__text {
        margin-top: 14px;
        font-size: 11px;
        line-height: 1.9;
    }

    .ueda-service-card__text br {
        display: none;
    }

    .ueda-service__note {
        margin-top: 35px;
    }

    .ueda-service__note p {
        font-size: 10px;
        line-height: 1.9;
    }

    .ueda-service__button {
        margin-top: 25px;
    }

    .ueda-service__link {
        width: 200px;
        height: 42px;
        font-size: 11px;
    }
}

/* =========================================================
   RECRUIT
========================================================= */
.ueda-recruit {
    position: relative;
    padding: 20px 0 30px;
    overflow: hidden;
    background: #F5F5F5;
}

.ueda-recruit__inner {
    position: relative;
    display: grid;
    grid-template-columns: 49% 51%;
    width: 100%;
    min-height: 470px;
    overflow: visible;
}

/* =========================================================
   RECRUIT CONTENT
========================================================= */
.ueda-recruit__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 470px;
    padding: 45px 50px 45px max(70px, calc((100vw - 1100px) / 2));
    background: #263A5A;
    color: #fff;
}

/* 斜めの境界 */
.ueda-recruit__content::after {
    content: "";
    position: absolute;
    top: 0;
    right: -85px;
    z-index: 2;
    width: 170px;
    height: 100%;
    background: #263A5A;
    clip-path: polygon(0 0, 100% 0, 50% 100%, 0 100%);
}

.ueda-recruit__label {
    position: absolute;
    top: -12px;
    left: max(70px, calc((100vw - 1200px) / 2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 5px 17px;
    background: #ed6808;
    color: #fff;
    font-family: serif;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .04em;
}

.ueda-recruit__title {
    margin: 0;
    font-family: "Noto Serif JP", serif;
    font-size: 31px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .06em;
}

.ueda-recruit__catch {
    margin: 45px 0 0 45px;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(27px, 2.3vw, 36px);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: .06em;
}

.ueda-recruit__text {
    margin: 30px 0 0 45px;
    font-family: "Noto Serif JP", serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 2.2;
    letter-spacing: .02em;
}

/* =========================================================
   RECRUIT BUTTON
========================================================= */
.ueda-recruit__button {
    margin: 40px 0 0 95px;
}

.ueda-recruit__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 225px;
    height: 43px;
    padding: 0 17px 0 25px;
    border-radius: 100px;
    background: #ed6808;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .3s ease, transform .3s ease;
}

.ueda-recruit__link span {
    flex: 1;
    text-align: center;
}

.ueda-recruit__link i {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #263A5A;
}

.ueda-recruit__link:hover {
    background: #d85a00;
    transform: translateY(-2px);
}

/* =========================================================
   RECRUIT IMAGE
========================================================= */
.ueda-recruit__image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    min-height: 470px;
}

.ueda-recruit__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================================================
   RECRUIT 1000px以下
========================================================= */
@media screen and (max-width: 1000px) {
    .ueda-recruit__inner {
        grid-template-columns: 55% 45%;
        min-height: 430px;
    }

    .ueda-recruit__content {
        min-height: 430px;
        padding: 40px 80px 40px 40px;
    }

    .ueda-recruit__label {
        left: 40px;
    }

    .ueda-recruit__title {
        font-size: 28px;
    }

    .ueda-recruit__catch {
        margin-top: 35px;
        margin-left: 30px;
        font-size: 27px;
    }

    .ueda-recruit__text {
        margin-top: 25px;
        margin-left: 30px;
        font-size: 10px;
    }

    .ueda-recruit__button {
        margin-top: 30px;
        margin-left: 55px;
    }

    .ueda-recruit__image {
        min-height: 430px;
    }
}

/* =========================================================
   RECRUIT SP
========================================================= */
@media screen and (max-width: 767.98px) {
    .ueda-recruit {
        padding: 0;
        overflow: hidden;
    }

    .ueda-recruit__inner {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: 0;
        overflow: visible;
    }

    /* 写真を上 */
    .ueda-recruit__image {
        order: 1;
        width: 100%;
        height: 280px;
        min-height: 0;
    }

    .ueda-recruit__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* テキストを下 */
    .ueda-recruit__content {
        order: 2;
        position: relative;
        display: block;
        min-height: 0;
        padding: 55px 24px 50px;
        background: #273f65;
    }

    /* PC用の斜め境界は消す */
    .ueda-recruit__content::after {
        display: none;
    }

    /* Serviceラベル */
    .ueda-recruit__label {
        position: absolute;
        top: -11px;
        left: 24px;
        margin: 0;
        padding: 5px 14px;
        font-size: 10px;
    }

    .ueda-recruit__title {
        margin: 0;
        font-size: 28px;
        line-height: 1.5;
    }

    .ueda-recruit__catch {
        margin: 35px 0 0;
        font-size: 24px;
        line-height: 1.7;
    }

    .ueda-recruit__text {
        margin: 25px 0 0;
        font-size: 11px;
        line-height: 2;
    }

    .ueda-recruit__text br {
        display: none;
    }

    .ueda-recruit__button {
        margin: 35px 0 0;
    }

    .ueda-recruit__link {
        width: 200px;
        height: 42px;
        font-size: 11px;
    }
}


/* =========================================================
   TOPICS
========================================================= */
.p-top-topics {
    padding: 90px 0 70px;
    margin: 0;
    background: #F5F5F5;
    color: #111;
}

.p-top-topics__inner {
    display: grid;
    grid-template-columns: 30% 70%;
    width: min(1200px, calc(100% - 80px));
    max-width: none;
    margin: 0 auto;
    padding: 0 0 70px;
    background: none;
    border-bottom: 1px solid #263A5A;
}

/* =========================================================
   TOPICS LEFT
========================================================= */
.p-top-topics__head {
    padding-left: 0;
}

.p-top-topics__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    margin: 0 0 10px;
    padding: 5px 15px;
    background: #ed6808;
    color: #fff;
    font-family: serif;
    font-size: 13px;
    line-height: 1;
    letter-spacing: .05em;
}

.p-top-topics__heading {
    margin: 0;
    padding-left: 65px;
    color: #111;
    font-family: "Noto Serif JP", serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .05em;
    text-align: left;
}

/* =========================================================
   TOPICS RIGHT
========================================================= */
.p-top-topics__content {
    padding-top: 35px;
}

.p-top-topics__lists {
    width: 100%;
}

.p-top-topics-list {
    position: relative;
    border-top: 1px solid #98A1BB;
    border-bottom: 0;
}

.p-top-topics-list:last-child {
    border-bottom: 1px solid #98A1BB;
}

.p-top-topics-list::before {
    display: none;
}

.p-top-topics-list__link {
    display: grid;
    grid-template-columns: 180px 1fr 20px;
    align-items: center;
    gap: 20px;
    min-height: 82px;
    padding: 0 14px 0 10px;
    color: #111;
    font-family: "Noto Serif JP", serif;
    text-decoration: none;
    transition: opacity .3s ease;
}

.p-top-topics-list__link:hover {
    opacity: .55;
}

.p-top-topics-list__date {
    display: block;
    width: auto;
    padding: 0;
    color: #111;
    font-family: "Noto Serif JP", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .08em;
}

.p-top-topics-list__ttl {
    display: block;
    width: 100%;
    margin: 0;
    overflow: visible;
    color: #111;
    font-family: "Noto Serif JP", serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: .04em;
    text-overflow: initial;
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
}

.p-top-topics-list__dot {
    display: block;
    width: 10px;
    height: 10px;
    margin-left: auto;
    border-radius: 50%;
    background: #263f64;
}

/* =========================================================
   TOPICS BUTTON
========================================================= */
.p-top-topics__btn-inner {
    display: flex;
    justify-content: flex-start;
    margin-top: 75px;
    padding-left: 52px;
}

.p-top-topics__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 46px;
    padding: 0 18px 0 28px;
    border-radius: 100px;
    background: #ed6808;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .3s ease, transform .3s ease;
}

.p-top-topics__btn span {
    flex: 1;
    text-align: center;
}

.p-top-topics__btn i {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #263A5A;
}

.p-top-topics__btn:hover {
    background: #d85a00;
    transform: translateY(-2px);
}

/* =========================================================
   TOPICS 1000px以下
========================================================= */
@media screen and (max-width: 1000px) {
    .p-top-topics__inner {
        grid-template-columns: 32% 68%;
        width: calc(100% - 50px);
    }

    .p-top-topics__heading {
        padding-left: 35px;
        font-size: 31px;
    }

    .p-top-topics-list__link {
        grid-template-columns: 150px 1fr 20px;
    }

    .p-top-topics-list__date {
        font-size: 19px;
    }

    .p-top-topics-list__ttl {
        font-size: 15px;
    }

    .p-top-topics__btn-inner {
        padding-left: 25px;
    }
}

/* =========================================================
   TOPICS SP
========================================================= */
@media screen and (max-width: 767.98px) {
    .p-top-topics {
        padding: 60px 0 50px;
    }

    .p-top-topics__inner {
        display: block;
        width: calc(100% - 36px);
        padding-bottom: 50px;
    }

    .p-top-topics__head {
        margin-bottom: 40px;
    }

    .p-top-topics__label {
        min-width: 75px;
        margin-bottom: 15px;
        padding: 5px 13px;
        font-size: 10px;
    }

    .p-top-topics__heading {
        padding-left: 0;
        font-size: 28px;
    }

    .p-top-topics__content {
        padding-top: 0;
    }

    .p-top-topics-list__link {
        display: grid;
        grid-template-columns: 1fr 15px;
        gap: 8px 15px;
        min-height: 0;
        padding: 20px 5px;
    }

    .p-top-topics-list__date {
        grid-column: 1;
        font-size: 15px;
        line-height: 1.4;
    }

    .p-top-topics-list__ttl {
        grid-column: 1;
        font-size: 13px;
        line-height: 1.7;
    }

    .p-top-topics-list__dot {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
        width: 8px;
        height: 8px;
    }

    .p-top-topics__btn-inner {
        justify-content: center;
        margin-top: 35px;
        padding-left: 0;
    }

    .p-top-topics__btn {
        width: 200px;
        height: 42px;
        font-size: 11px;
    }
}

/* =========================================================
   INSTAGRAM
========================================================= */
.p-instagram {
    padding: 55px 0 65px;
    background: #F5F5F5;
    color: #111;
}

.p-instagram__inner {
    width: min(1240px, calc(100% - 80px));
    max-width: none;
    margin: 0 auto;
    padding: 0 0 80px;
    border-bottom: 1px solid #263A5A;
}

.p-instagram__head {
    display: flex;
    align-items: baseline;
    gap: 90px;
    padding-left: 42px;
}

.p-instagram__heading {
    margin: 0;
    color: #111;
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .05em;
    text-transform: none;
}

.p-instagram__lead {
    margin: 0;
    color: #111;
    font-family: "Noto Serif JP", serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: .02em;
}

/* Instagram Feed */
.p-instagram__feeds {
    margin-top: 38px;
}

/*
 * Smash Balloon Instagram Feed
 * 4列をデザイン優先で固定
 */
.p-instagram__feeds #sb_instagram {
    padding-bottom: 0 !important;
}

.p-instagram__feeds #sbi_images {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    padding: 0 !important;
}

.p-instagram__feeds .sbi_item {
    width: 100% !important;
    height: 300px !important;
    padding: 0 !important;
}

.p-instagram__feeds .sbi_photo_wrap {
    width: 100%;
    height: 100%;
}

.p-instagram__feeds .sbi_photo {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Follow / Load more が出ている場合は非表示 */
.p-instagram__feeds #sbi_load,
.p-instagram__feeds .sbi_follow_btn {
    display: none !important;
}


/* =========================================================
   CONTACT / ACCESS
========================================================= */
.p-top-contact-access {
    padding: 0 0 75px;
    background: #F5F5F5;
    color: #111;
}

.p-top-contact-access__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(1100px, calc(100% - 120px));
    margin: 0 auto;
}

.p-top-contact,
.p-top-access {
    position: relative;
    min-height: 390px;
    padding-top: 30px;
}

.p-top-contact {
    padding-right: 75px;
}

.p-top-access {
    padding-left: 75px;
    border-left: 1px solid #263A5A;
}

.p-top-contact-access__heading {
    margin: 0;
    color: #111;
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .05em;
    text-align: center;
}


/* =========================================================
   CONTACT
========================================================= */
.p-top-contact__info {
    width: fit-content;
    margin: 68px auto 0;
}

.p-top-contact__info p {
    display: flex;
    align-items: baseline;
    margin: 0;
    color: #111;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .05em;
}

.p-top-contact__info p + p {
    margin-top: 15px;
}

.p-top-contact__info a {
    color: inherit;
    text-decoration: none;
}

.p-top-contact__button {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.p-top-contact__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 285px;
    height: 46px;
    padding: 0 18px 0 28px;
    border-radius: 100px;
    background: #ed6808;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .3s ease, transform .3s ease;
}

.p-top-contact__link span {
    flex: 1;
    text-align: center;
}

.p-top-contact__link i {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #263A5A;
}

.p-top-contact__link:hover {
    background: #d85a00;
    transform: translateY(-2px);
}


/* =========================================================
   ACCESS
========================================================= */
.p-top-access__map {
    width: 100%;
    height: 245px;
    margin-top: 58px;
    overflow: hidden;
    background: #aaa;
}

.p-top-access__map iframe {
    display: block;
    width: 100%;
    height: 100%;
}


/* =========================================================
   INSTAGRAM / CONTACT / ACCESS 1000px以下
========================================================= */
@media screen and (max-width: 1000px) {
    .p-instagram__inner {
        width: calc(100% - 50px);
    }

    .p-instagram__head {
        gap: 55px;
        padding-left: 20px;
    }

    .p-instagram__heading {
        font-size: 31px;
    }

    .p-instagram__lead {
        font-size: 10px;
    }

    .p-instagram__feeds #sbi_images {
        gap: 12px !important;
    }

    .p-top-contact-access__inner {
        width: calc(100% - 70px);
    }

    .p-top-contact {
        padding-right: 45px;
    }

    .p-top-access {
        padding-left: 45px;
    }

    .p-top-contact__info p {
        font-size: 20px;
    }
    .p-instagram__feeds .sbi_item {
        height: 200px !important;
    }
}


/* =========================================================
   INSTAGRAM SP
========================================================= */
@media screen and (max-width: 767.98px) {
    .p-instagram {
        padding: 50px 0 45px;
    }

    .p-instagram__inner {
        width: calc(100% - 36px);
        padding-bottom: 55px;
    }

    .p-instagram__head {
        display: block;
        padding-left: 0;
    }

    .p-instagram__heading {
        font-size: 28px;
    }

    .p-instagram__lead {
        margin-top: 15px;
        font-size: 10px;
        line-height: 1.8;
    }

    .p-instagram__feeds {
        margin-top: 30px;
    }

    .p-instagram__feeds #sbi_images {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }


    /* =====================================================
       CONTACT / ACCESS SP
    ====================================================== */
    .p-top-contact-access {
        padding-bottom: 55px;
    }

    .p-top-contact-access__inner {
        display: block;
        width: calc(100% - 36px);
    }

    .p-top-contact,
    .p-top-access {
        min-height: 0;
        padding: 50px 0;
    }

    .p-top-contact {
        padding-top: 45px;
        padding-right: 0;
    }

    .p-top-access {
        padding-left: 0;
        border-top: 1px solid #263A5A;
        border-left: 0;
    }

    .p-top-contact-access__heading {
        font-size: 28px;
    }

    .p-top-contact__info {
        margin-top: 40px;
    }

    .p-top-contact__info p {
        font-size: 20px;
    }

    .p-top-contact__info p + p {
        margin-top: 10px;
    }

    .p-top-contact__button {
        margin-top: 40px;
    }

    .p-top-contact__link {
        width: 250px;
        height: 44px;
        font-size: 12px;
    }

    .p-top-access__map {
        height: 240px;
        margin-top: 40px;
    }
}
/* =========================================================
   FOOTER OVERRIDE
========================================================= */

.p-footer {
    position: relative;
    min-height: 430px;
    margin: 0;
    padding: 35px 0 25px;
    overflow: visible;
    background: #263f64;
    color: #fff;
    font-family: "Noto Serif JP", serif;
}

.p-footer__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}


.p-footer__bg img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.p-footer__inner {
    position: relative;
    z-index: 3;
    display: block;
    width: min(1180px, calc(100% - 80px));
    max-width: none;
    margin: 0 auto;
    padding: 0;
}

/* =========================================================
   FOOTER NAV
========================================================= */

.p-footer .p-footer-nav {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.p-footer .p-footer-nav__lists {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    margin: 0;
    padding: 0;
}

.p-footer .p-footer-nav__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-footer .p-footer-nav__link {
    display: inline-block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .05em;
    text-decoration: none;
    transition: opacity .3s ease;
}

.p-footer .p-footer-nav__link:hover {
    opacity: .6;
}

/* =========================================================
   FOOTER MAIN
========================================================= */

.p-footer__main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 300px;
    padding-top: 30px;
}

/* =========================================================
   COMPANY
========================================================= */

.p-footer__company {
    display: flex;
    align-items: center;
    gap: 55px;
    padding-left: 25px;
}

.p-footer__logo {
    display: block;
    flex-shrink: 0;
    width: 165px;
    height: auto;
    margin: 0;
}

.p-footer__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.p-footer__company-info {
    padding-top: 5px;
}

.p-footer__ttl {
    margin: 0;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .05em;
}
.p-footer__ttl b{
    font-family: "Noto Sans JP", sans-serif;
    font-size: 22px;
}

.p-footer__address {
    display: block;
    margin: 24px 0 0;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: .02em;
}

.p-footer__address span {
    display: block;
}

.p-footer__address a {
    color: inherit;
    text-decoration: none;
}

/* =========================================================
   FOOTER MESSAGE
   背景写真に対して絶対配置
========================================================= */

.p-footer__main {
    position: relative;
}

/* 日本語4列 */
.p-footer__message-ja {
    position: absolute;
    top: 105px;
    right: 55px;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 33px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: .05em;
}

.p-footer__message-ja span {
    display: block;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

/* 英字は日本語とは別位置 */
.p-footer__message-en {
    position: absolute;
    top: 250px;
    right: 175px;
    margin: 0;
    color: #fff;
    font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: .02em;
    writing-mode: horizontal-tb;
    white-space: nowrap;
}

/*
 * 親自体はレイアウトに参加させない
 */
.p-footer__message {
    position: static;
    display: block;
    margin: 0;
    padding: 0;
}

/* =========================================================
   COPYRIGHT
========================================================= */

.p-footer__copyright {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-family: serif;
    font-size: 11px;
    line-height: 1;
    letter-spacing: .02em;
    text-align: center;
    margin-top: 80px;
}

/* =========================================================
   TO TOP
========================================================= */

.p-footer__totop {
    position: absolute;
    top: 0;
    right: 55px;
    transform: translateY(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: #263A5A;
    color: #fff;
}

/* TOP文字は円のど真ん中 */
.p-footer__totop span {
    display: block;
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: serif;
    font-size: 14px;
    line-height: 1;
    letter-spacing: .04em;
    margin-top: 10px;
}

/* ●だけ独立配置 */
.p-footer__totop i {
    position: absolute;
    top: 13px;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: 0;
    border-radius: 50%;
    background: #fff;
    transform: translateX(-50%);
}

@media screen and (max-width: 767.98px) {
    .p-footer__totop {
        right: 18px;
        width: 54px;
        height: 54px;
    }

    .p-footer__totop i {
        top: 9px;
        width: 4px;
        height: 4px;
    }
}


/* =========================================================
   FOOTER 1000px以下
========================================================= */

@media screen and (max-width: 1000px) {
    .p-footer__inner {
        width: calc(100% - 50px);
    }

    .p-footer .p-footer-nav__lists {
        gap: 28px;
    }

    .p-footer__company {
        gap: 35px;
        padding-left: 0;
    }

    .p-footer__logo {
        width: 135px;
    }

    .p-footer__message {
        margin-right: 35px;
    }

    .p-footer__message-ja {
        gap: 9px;
        font-size: 22px;
    }

    .p-footer__totop {
        right: 25px;
    }
}

/* =========================================================
   FOOTER SP
========================================================= */

@media screen and (max-width: 767.98px) {
    .p-footer {
        min-height: 0;
        padding: 55px 0 25px;
    }

    .p-footer__bg::before {
        background: rgba(38, 63, 100, .85);
    }

    .p-footer__bg img {
        width: 100%;
        opacity: .45;
    }

    .p-footer__inner {
        display: block;
        width: calc(100% - 36px);
        margin: 0 auto;
    }

    .p-footer .p-footer-nav {
        padding: 0;
        border: 0;
    }

    .p-footer .p-footer-nav__lists {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        border-top: 1px solid rgba(255, 255, 255, .25);
    }

    .p-footer .p-footer-nav__list {
        border-bottom: 1px solid rgba(255, 255, 255, .25);
    }

    .p-footer .p-footer-nav__list:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, .25);
    }

    .p-footer .p-footer-nav__link {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 52px;
        padding: 0 15px;
        color: #fff;
        font-size: 12px;
    }

    .p-footer .p-footer-nav__link::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 14px;
        width: 5px;
        height: 5px;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
        transform: translateY(-50%) rotate(45deg);
    }

    .p-footer__main {
        display: block;
        min-height: 0;
        padding: 45px 0 35px;
    }

    .p-footer__company {
        display: block;
        padding: 0;
        text-align: center;
    }

    .p-footer__logo {
        width: 120px;
        margin: 0 auto;
    }

    .p-footer__company-info {
        margin-top: 25px;
        padding: 0;
    }

    .p-footer__ttl {
        font-size: 16px;
    }

    .p-footer__address {
        margin-top: 18px;
        font-size: 12px;
        line-height: 1.9;
    }

    .p-footer__message {
        justify-content: center;
        gap: 17px;
        margin: 45px 0 0;
    }

    .p-footer__message-en {
        font-size: 7px;
    }

    .p-footer__message-ja {
        gap: 8px;
        font-size: 19px;
    }

    .p-footer__copyright {
        font-size: 8px;
        margin-top: 0;
    }

    .p-footer__totop {
        top: -27px;
        right: 18px;
        width: 54px;
        height: 54px;
    }
}

@media screen and (max-width: 767.98px) {

    .p-footer__message {
        position: relative;
        display: block;
        margin: 35px auto 0;
        padding: 0;
        min-height: 210px;
        max-width: 160px;
    }

    /* 日本語4列 */
    .p-footer__message-ja {
        position: absolute;
        top: 0;
        right: 8px;

        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        gap: 7px;

        margin: 0;

        color: #fff;
        font-family: "Noto Serif JP", serif;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: .04em;
    }

    .p-footer__message-ja span {
        display: block;
        writing-mode: vertical-rl;
        text-orientation: upright;
    }

    /* 英字は日本語と別で左下 */
    .p-footer__message-en {
        position: absolute;
        top: 120px;
        left: 8px;
        right: auto;
        margin: 0;
        color: #fff;
        font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
        font-size: 8px;
        font-weight: 400;
        line-height: 1.35;
        letter-spacing: .02em;

        writing-mode: horizontal-tb;
        white-space: nowrap;
    }
}