/* ===========================================
   About Page Styles
   =========================================== */

.p-aboutPage {
    padding: 0;
}


/* ===========================================
   About Intro Section
   =========================================== */

.p-aboutIntro {
    padding: clamp(40px, 3vw, 80px) 0;
}

.p-aboutIntro__container {
    width: 80%;
    margin: 0 auto;
}

.p-aboutIntro__title {
    font-size: clamp(32px, 2.5vw, 48px);
    font-weight: 700;
    color: #526456;
    text-align: center;
    margin-bottom: clamp(36px, 2.8vw, 72px);
}

.p-aboutIntro__content {
    font-size: clamp(16px, 1.25vw, 32px);
    color: #526456;
    line-height: 2;
    margin-bottom: clamp(40px, 3vw, 60px);
    text-align: center;
}


/* ===========================================
   About Intro Images Section
   =========================================== */

.p-aboutIntroImages {
    margin-bottom: clamp(40px, 3vw, 80px);
}

.p-aboutIntroImages__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin: 0;
    width: 100%;
}

.p-aboutIntroImages__item {
    overflow: hidden;
}

.p-aboutIntroImages__item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 2 / 1;
}


/* ===========================================
   About Strength Section
   =========================================== */

.p-aboutStrength {
    position: relative;
    background-color: #F2F8EF;
    padding: clamp(60px, 4.7vw, 120px) clamp(100px, 7.8vw, 200px) clamp(80px, 6vw, 120px) clamp(100px, 7.8vw, 200px);
    overflow: hidden;
    border-top-left-radius: 1000px clamp(200px, 15.6vw, 400px);
    border-top-right-radius: 1000px clamp(200px, 15.6vw, 400px);
    margin-left: clamp(-100px, -7.8vw, -200px);
    margin-right: clamp(-100px, -7.8vw, -200px);
}

.p-aboutStrength__container {
    width: 60%;
    min-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.p-aboutStrength__icon {
    position: absolute;
    top: clamp(-20px, -1.5vw, -30px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    margin-bottom: clamp(24px, 2vw, 40px);
}

.p-aboutStrength__icon img {
    width: clamp(80px, 6.2vw, 160px);
    height: auto;
}

.p-aboutStrength__title {
    font-size: clamp(24px, 2vw, 40px);
    font-weight: 700;
    color: #5A5A5A;
    text-align: center;
    margin-bottom: clamp(60px, 4.7vw, 100px);
}

.p-aboutStrength__wrapper {
    background: #ffffff;
    border-radius: clamp(24px, 1.9vw, 36px);
    padding: clamp(32px, 2.5vw, 48px);
}

.p-aboutStrength__item {
    padding: 0;
    margin-bottom: clamp(80px, 6.2vw, 160px);
}

.p-aboutStrength__item:first-child {
    padding-top: 0;
}

.p-aboutStrength__item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.p-aboutStrength__itemHeader {
    display: flex;
    align-items: center;
    gap: clamp(16px, 1.2vw, 24px);
    margin-bottom: clamp(24px, 2vw, 32px);
}

.p-aboutStrength__itemHeader--center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 1.2vw, 24px);
    margin-bottom: clamp(24px, 2vw, 32px);
}

.p-aboutStrength__itemTitleWrapper {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1vw, 16px);
}

.p-aboutStrength__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    white-space: nowrap;
    width: clamp(60px, 4.7vw, 100px);
    height: clamp(60px, 4.7vw, 100px);
    border-radius: 50%;
    background: #4A6B4A;
    padding: 0;
    gap: clamp(4px, 0.3vw, 8px);
    box-sizing: border-box;
}

.p-aboutStrength__badgeText {
    font-size: clamp(12px, 0.93vw, 20px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    flex-shrink: 0;
}

.p-aboutStrength__badgeNumber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(20px, 1.56vw, 40px);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    flex-shrink: 0;
}


/* 左上の小さい円（円の外側、左上に1pxほど離れた位置） */

.p-aboutStrength__badge::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(clamp(60px, 4.7vw, 100px) * 0.2);
    height: calc(clamp(60px, 4.7vw, 100px) * 0.2);
    border-radius: 50%;
    background: #F2F8EF;
    z-index: -1;
}

.p-aboutStrength__line {
    flex: 1;
    height: 2px;
    background: #45703F;
}

.p-aboutStrength__itemTitle {
    font-size: clamp(24px, 1.8vw, 44px);
    font-weight: 700;
    color: #45703F;
    white-space: nowrap;
}

.p-aboutStrength__itemContent {
    display: flex;
    gap: clamp(24px, 2vw, 32px);
    margin-bottom: clamp(24px, 2vw, 32px);
}

.p-aboutStrength__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.25vw, 26px);
}

.p-aboutStrength__right {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.25vw, 24px);
}

.p-aboutStrength__right p {
    font-size: clamp(14px, 1.1vw, 16px);
    color: #707070;
    line-height: 2;
}

.p-aboutStrength__itemImage {
    border-radius: clamp(20px, 1.56vw, 40px);
    overflow: hidden;
}

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

.p-aboutStrength__itemImages--double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 1vw, 16px);
}

.p-aboutStrength__itemText {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1vw, 16px);
    margin: clamp(16px, 1.25vw, 26px) 0;
}

.p-aboutStrength__itemText p {
    font-size: clamp(14px, 1.1vw, 16px);
    color: #707070;
    line-height: 2;
}

.p-aboutStrength__itemImages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 1.2vw, 24px);
}

.p-aboutStrength__itemThumb {
    border-radius: clamp(20px, 1.56vw, 40px);
    overflow: hidden;
}

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

.p-aboutStrength__services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(12px, 1vw, 16px);
    margin-top: clamp(24px, 2vw, 32px);
}

.p-aboutStrength__serviceBtn {
    background: #F2F8EF;
    color: #566E48;
    padding: clamp(12px, 1vw, 16px) clamp(24px, 1.9vw, 32px);
    border-radius: clamp(20px, 1.56vw, 40px);
    font-size: clamp(24px, 1.8vw, 44px);
    font-weight: 500;
    text-decoration: none;
}

.p-aboutStrength__itemContent--beauty {
    display: flex;
    gap: clamp(24px, 2vw, 32px);
    margin-bottom: clamp(24px, 2vw, 32px);
}

.p-aboutStrength__beautyItem {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 0.78vw, 18px);
}

.p-aboutStrength__beautyItem .p-aboutStrength__itemImage {
    border-radius: clamp(20px, 1.56vw, 40px);
}

.p-aboutStrength__beautyItem p {
    font-size: clamp(14px, 1.1vw, 16px);
    color: #5A5A5A;
    line-height: 1.8;
}

.p-aboutStrength__message {
    margin: clamp(24px, 2vw, 32px) 0;
    padding: clamp(16px, 1.25vw, 26px);
    border-radius: clamp(60px, 4.68vw, 100px);
    border: 2px solid #566E48;
}

.p-aboutStrength__message p {
    font-size: clamp(20px, 1.56vw, 40px);
    color: #566E48;
    line-height: 1.8;
    text-align: center;
}

.p-aboutStrength__menuBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 1.5vw, 24px) clamp(32px, 3vw, 48px);
    background: #4A6B4A;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: clamp(60px, 4.68vw, 100px);
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    padding-right: clamp(80px, 6vw, 100px) !important;
    overflow: visible;
    margin: 0 auto;
    width: fit-content;
}


/* 矢印の横線部分 */

.p-aboutStrength__menuBtn::after {
    content: '';
    position: absolute;
    right: clamp(25px, 2.5vw, 35px);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(25px, 2vw, 50px);
    height: 2px;
    border-radius: 9999px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}


/* 矢印の斜め線部分 */

.p-aboutStrength__menuBtn::before {
    content: '';
    position: absolute;
    right: clamp(25px, 2.5vw, 35px);
    top: calc(50% - clamp(6px, 0.5vw, 11px));
    width: clamp(11px, 1vw, 22px);
    height: clamp(11px, 1vw, 22px);
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(45deg);
    transition: all 0.3s ease;
    background: transparent;
}

.p-aboutStrength__menuBtn:hover {
    background: #3a5a3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 107, 74, 0.3);
}


/* ホバー時のアニメーション */

.p-aboutStrength__menuBtn:hover::before {
    transform: translateX(3px) rotate(45deg);
}

.p-aboutStrength__menuBtn:hover::after {
    transform: translateX(3px) translateY(-50%);
}


/* ===========================================
   About Facility Section
   =========================================== */

.p-aboutFacility {
    position: relative;
    background: #ffffff;
    padding: clamp(60px, 4.7vw, 120px) 0;
    overflow: visible;
}

.p-aboutFacility::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(190%, 150vw, 300%);
    height: clamp(560px, 43vw, 1100px);
    background-color: #ffffff;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.p-aboutFacility__container {
    width: 60%;
    min-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.p-aboutFacility__title {
    font-size: clamp(24px, 2vw, 40px);
    font-weight: 700;
    color: #5A5A5A;
    text-align: center;
    margin-bottom: clamp(60px, 4.7vw, 80px);
}

.p-aboutFacility__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 2vw, 40px);
    margin-bottom: clamp(40px, 3vw, 60px);
}

.p-aboutFacility__item {
    position: relative;
}

.p-aboutFacility__image {
    border-radius: clamp(16px, 1.3vw, 24px);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: relative;
}

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

.p-aboutFacility__label {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #ffffff;
    /* border: 1px solid #E0E0E0; */
    border-top-right-radius: clamp(24px, 1.8vw, 44px);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: clamp(12px, 0.94vw, 20px) clamp(16px, 1.25vw, 24px);
    font-size: clamp(20px, 1.56vw, 40px);
    color: #5F5F5F;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

.p-aboutFacility__note {
    font-size: clamp(14px, 1.1vw, 16px);
    color: #5A5A5A;
    text-align: center;
    line-height: 1.8;
}


/* ===========================================
   About Overview Section
   =========================================== */

.p-aboutOverview {
    position: relative;
    background: #65A373;
    padding: clamp(60px, 4.7vw, 120px) 0;
    overflow: visible;
}

.p-aboutOverview::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(190%, 150vw, 300%);
    height: clamp(560px, 43vw, 1100px);
    background-color: #65A373;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.p-aboutOverview__container {
    width: 60%;
    min-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.p-aboutOverview__info {
    background: #ffffff;
    border-radius: clamp(24px, 1.9vw, 36px);
    padding: clamp(40px, 3.1vw, 60px);
    padding-top: clamp(60px, 4.7vw, 80px);
    position: relative;
}

.p-aboutOverview__pin {
    position: absolute;
    top: clamp(-20px, -1.5vw, -30px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.p-aboutOverview__pin img {
    width: clamp(80px, 6.2vw, 160px);
    height: auto;
    display: block;
}

.p-aboutOverview__title {
    font-size: clamp(24px, 2vw, 40px);
    font-weight: 700;
    color: #65A373;
    text-align: center;
    margin-bottom: clamp(40px, 3.1vw, 60px);
    margin-top: 0;
}

.p-aboutOverview__row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: clamp(24px, 2vw, 32px);
    padding: clamp(20px, 1.6vw, 24px) 0;
    border-bottom: 1px solid #65A373;
}

.p-aboutOverview__row:last-of-type {
    border-bottom: none;
}

.p-aboutOverview__label {
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 700;
    color: #65A373;
}

.p-aboutOverview__value {
    font-size: clamp(14px, 1.1vw, 16px);
    color: #65A373;
    line-height: 1.8;
}

.p-aboutOverview__hoursBox {
    width: 100%;
    min-height: clamp(120px, 9.4vw, 200px);
    border: 1px solid #65A373;
    border-radius: clamp(8px, 0.6vw, 12px);
    border-top-right-radius: clamp(24px, 1.8vw, 44px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #65A373;
    font-size: clamp(14px, 1.1vw, 16px);
    background: #ffffff;
}


/* ===========================================
   About Access Section
   =========================================== */

.p-aboutAccess {
    position: relative;
    background: #ffffff;
    padding: clamp(60px, 4.7vw, 120px) clamp(100px, 7.8vw, 200px) clamp(60px, 4.7vw, 120px) clamp(100px, 7.8vw, 200px);
    overflow: hidden;
    border-top-left-radius: 1000px clamp(200px, 15.6vw, 400px);
    border-top-right-radius: 1000px clamp(200px, 15.6vw, 400px);
    margin-left: clamp(-100px, -7.8vw, -200px);
    margin-right: clamp(-100px, -7.8vw, -200px);
}

.p-aboutAccess__container {
    width: 80%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.p-aboutAccess__title {
    font-size: clamp(24px, 2vw, 40px);
    font-weight: 700;
    color: #5A5A5A;
    text-align: center;
    margin-bottom: clamp(40px, 3vw, 60px);
}

.p-aboutAccess__map {
    border-radius: clamp(16px, 1.3vw, 24px);
    overflow: hidden;
}

.p-aboutAccess__map iframe {
    width: 100%;
    height: clamp(400px, 31.25vw, 600px);
    display: block;
}


/* ===========================================
   Media Queries
   =========================================== */

@media (max-width: 960px) {
    .p-aboutIntro__container,
    .p-aboutStrength__container,
    .p-aboutFacility__container,
    .p-aboutOverview__container,
    .p-aboutAccess__container {
        width: 90%;
        min-width: auto;
    }
    .p-aboutFacility__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .p-aboutStrength__itemContent,
    .p-aboutStrength__itemContent--beauty {
        flex-direction: column;
    }
    .p-aboutStrength__itemHeader--center {
        flex-direction: column;
        align-items: center;
        gap: clamp(12px, 1vw, 16px);
    }
    .p-aboutStrength__itemTitleWrapper {
        flex-direction: column;
        align-items: center;
        gap: clamp(12px, 1vw, 16px);
    }
    .p-aboutOverview__row {
        grid-template-columns: 1fr;
        gap: clamp(12px, 1vw, 16px);
    }
    .p-aboutOverview__label {
        margin-bottom: clamp(8px, 0.6vw, 12px);
    }
}

@media (max-width: 450px) {
    .p-aboutStrength__container,
    .p-aboutFacility__container,
    .p-aboutOverview__container {
        min-width: auto;
    }
    .p-aboutFacility__grid {
        gap: clamp(16px, 1.25vw, 26px);
        margin-bottom: clamp(40px, 3vw, 60px);
        grid-template-columns: 1fr 1fr;
    }
    .p-aboutStrength__itemHeader,
    .p-aboutStrength__itemHeader--center {
        flex-direction: column;
        align-items: center;
    }
    .p-aboutStrength__itemHeader--center {
        justify-content: flex-start;
    }
    .p-aboutStrength__services {
        flex-direction: column;
    }
    .p-aboutStrength__serviceBtn {
        text-align: center;
    }
    .p-aboutStrength__menuBtn {
        padding-right: clamp(40px, 3vw, 64px);
    }
    /* 冒頭部 */
    .p-aboutIntro__title {
        font-size: clamp(28px, 2.1vw, 40px) !important;
        font-weight: 700;
        color: #526456;
        text-align: center;
        margin-bottom: clamp(22px, 1.71vw, 42px);
    }
    .p-aboutIntro__content {
        font-size: clamp(16px, 1.25vw, 32px);
        color: #526456;
        line-height: 2;
        margin-bottom: 0;
        text-align: left;
    }
    .p-aboutIntroImages__container {
        display: grid;
        grid-template-columns: auto !important;
        gap: 0;
        margin: 0;
        width: 100%;
    }
    .p-aboutStrength {
        position: relative;
        background-color: #F2F8EF;
        padding: clamp(36px, 2.8vw, 72px) 15px clamp(80px, 6vw, 120px) 15px !important;
        overflow: hidden;
        border-top-left-radius: clamp(40px, 3.1vw, 80px) !important;
        border-top-right-radius: clamp(40px, 3.1vw, 80px) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .p-aboutStrength__title {
        font-size: clamp(24px, 2vw, 40px);
        font-weight: 700;
        color: #5A5A5A;
        text-align: center;
        margin-bottom: clamp(32px, 2.5vw, 48px);
    }
    .p-aboutStrength__icon {
        position: absolute;
        top: clamp(-20px, -1.5vw, -30px);
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        margin-bottom: clamp(24px, 2vw, 40px);
    }
    .p-aboutStrength__item {
        padding: 0;
        margin-bottom: clamp(36px, 2.8vw, 72px);
    }
    .p-aboutStrength__itemTitle {
        font-size: clamp(22px, 1.71vw, 42px);
        font-weight: 700;
        color: #45703F;
        white-space: normal;
    }
    .p-aboutStrength__itemHeader {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: clamp(16px, 1.25vw, 32px);
    }
    .p-aboutStrength__itemHeader--center {
        flex-direction: column;
        align-items: center;
        gap: clamp(12px, 1vw, 16px);
    }
    .p-aboutStrength__itemTitleWrapper {
        flex-direction: column;
        align-items: center;
        gap: clamp(12px, 1vw, 16px);
    }
    .p-aboutStrength__itemContent {
        display: flex;
        gap: clamp(16px, 1.25vw, 26px);
        margin-bottom: clamp(24px, 2vw, 32px);
    }
    .p-aboutStrength__message {
        margin: clamp(24px, 2vw, 32px) 0;
        padding: clamp(16px, 1.25vw, 26px);
        border-radius: clamp(20px, 1.56vw, 40px);
        border: 2px solid #566E48;
    }
    .p-aboutStrength__message p {
        font-size: 20px;
        color: #566E48;
        line-height: 1.8;
        text-align: left;
    }
    .p-aboutStrength__menuBtn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px clamp(32px, 3vw, 48px);
        background: #4A6B4A;
        color: #FFFFFF;
        text-decoration: none;
        border-radius: clamp(60px, 4.68vw, 100px);
        font-size: clamp(16px, 1.2vw, 20px);
        font-weight: 600;
        transition: all 0.3s ease;
        white-space: nowrap;
        position: relative;
        padding-right: clamp(80px, 6vw, 100px) !important;
        overflow: visible;
        margin: 0 auto;
        width: fit-content;
    }
    /* 当院の設備 */
    .p-aboutFacility {
        position: relative;
        background: #ffffff;
        padding: clamp(22px, 1.71vw, 42px) 0 clamp(60px, 4.7vw, 120px);
        overflow: visible;
    }
    .p-aboutFacility__title {
        font-size: clamp(24px, 2vw, 40px);
        font-weight: 700;
        color: #5A5A5A;
        text-align: center;
        margin-bottom: clamp(22px, 1.71vw, 42px);
    }
    .p-aboutFacility__label {
        position: absolute;
        left: 0;
        bottom: 0;
        background: #ffffff;
        /* border: 1px solid #E0E0E0; */
        border-top-right-radius: 12px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 10px 14px 0 0;
        font-size: clamp(18px, 1.4vw, 32px);
        color: #5F5F5F;
        font-weight: 500;
        margin: 0;
        line-height: 1.2;
    }
    /* やわら接骨院の概要 */
    .p-aboutOverview {
        position: relative;
        background: #65A373;
        padding: 20px 0 clamp(60px, 4.7vw, 120px);
        overflow: visible;
    }
    .p-aboutOverview__info {
        background: #ffffff;
        border-radius: clamp(24px, 1.9vw, 36px);
        padding: 30px;
        padding-top: 40px;
        position: relative;
    }
    .p-aboutOverview__title {
        font-size: clamp(24px, 2vw, 40px);
        font-weight: 700;
        color: #65A373;
        text-align: center;
        margin-bottom: 16px;
        margin-top: 0;
    }
    .p-aboutOverview__row {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}