/******************************* */
@media (max-width: 750px) {
    html {
        margin-top: 0 !important;
    }

    img {
        max-width: 100%;
    }

    .ib {
        width: 100%;
        max-width: 100%;
    }

    .sp_content {
        display: block !important;
    }

    .pc_content {
        display: none !important;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: block;
        background: #fff;
        z-index: 999;
        min-height: 70px;
    }

    header .ib {
        padding: 13px 0;
    }

    header .ib h1 {
        margin: 0;
        width: 62%;
        margin: 5px auto;
        max-width: 230px;
    }

    header .ib h1 a {
        display: block;
    }

    header .ib h1 img {
        width: 100%;
    }

    header .ib nav {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        background: #e4edf0;
        z-index: 2;
        padding: 30px;
        width: 100%;
    }

    header .ib nav a {
        font-size: 18px;
        padding: 15px 0;
        display: block;
    }

    header .ib nav a:nth-child(8) {
        margin-top: 5px;
    }

    header .ib nav a.sp_content {
        font-size: 12px;
        font-family: source-han-sans-japanese, sans-serif;
        padding: 5px 0;
    }

    header .ib nav a em {
        display: inline-block;
    }

    header .ib nav a span {
        display: block;
        font-size: 10px;
        color: #8194a8;
        margin-top: 1px;
        font-family: source-han-sans-japanese, sans-serif;
        font-weight: 400;
        letter-spacing: 0.04rem;
    }

    header .ib .sp_nav {
        width: 33px;
        height: 6px;
        display: block;
        position: absolute;
        right: 20px;
        top: 28px;
        cursor: pointerz;
        z-index: 9;
        transition: 0.3s ease;
    }

    header .ib .sp_nav.open {
        width: 28px;
    }

    header .ib .sp_nav.open:before {
        transform: rotate(45deg);
        top: 1px;
    }

    header .ib .sp_nav.open:after {
        transform: rotate(-45deg);
        bottom: 4px;
    }

    header .ib .sp_nav:before {
        content: "";
        display: block;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: #3e3a39;
        height: 1px;
        transition: 0.3s ease;
    }

    header .ib .sp_nav:after {
        content: "";
        display: block;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        background: #3e3a39;
        height: 1px;
        transition: 0.3s ease;
    }

    .topimg {
        
      
    background-image: url('/static/upload/image/20250114/1736823834384933.png');
    background-position: 50% 50%; /* 背景居中 */
    background-repeat: no-repeat;
    background-size: cover; /* 图片裁剪以覆盖整个容器 */
    height: auto; /* 高度自动适应 */
    aspect-ratio: 3000 / 1140; /* 根据图片比例自动调整容器高度 */
    }
}

    .topimg .ib {
       padding: 30px 0; /* 减少上下内边距 */
    width: 100%; /* 占满容器宽度 */
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box; /* 确保 padding 不影响宽度 */
    }



 






    article h2 {
        font-size: 22px;
        margin: 30px 0;
    }

    article h2 span {
        font-size: 14px;
        line-height: 2;
    }

    article h3 {
        font-size: 21px;
        letter-spacing: 0.05rem;
    }

    article h3 span {
        font-size: 14px;
        letter-spacing: 0.05rem;
        margin-top: 6px;
    }

    article p {
        font-size: 14px;
        letter-spacing: 0.05rem;
    }

    article .intro .ib {
        padding: 30px 15px;
    }

    article .intro .ib p {
        margin-top: -15px;
    }

    article section.partner_doctor .ib {
        padding: 30px 15px 5px;
    }

    article section.partner_doctor .ib a.btn {
        width: 150px;
    }

    article section.partner_doctor .ib .d_box {
        width: 100%;
        padding: 0 30px;
        margin-bottom: 40px;
    }

    article section.partner_doctor .ib .d_box .box {
        width: 44%;
        margin-bottom: 15px;
    }

    article section.partner_doctor .ib .d_box .box div {
        font-size: 16px;
    }

    article section.partner_doctor .ib .d_box .box div i {
        font-size: 13px;
    }

    article section.partner_doctor .ib .d_box .box div span {
        font-size: 11px;
    }

    article section.partner_doctor .ib .d_box .box .img {
        height: auto;
    }

    .topimg.partner {
        height: auto;
        background: url(../image/img3.png) 50% 0 no-repeat;
        background-size: 200%;
    }

    .topimg.partner .ib {
        padding: 60px 20px;
    }

    .topimg .ib h3 {
        font-size: 19px;
    }

    .topimg .ib p {
        font-size: 14px;
        letter-spacing: 0;
    }

    article .doctors .ib {
        padding: 40px 25px 0;
    }

    article .doctors .ib .d_box {
        padding: 15px 0;
        margin: 40px auto 15px;
    }

    article .doctors .ib .d_box p {
        font-size: 12px;
    }

    article .doctors .ib .d_box p span {
        font-size: 12px;
    }

    article .doctors .ib .d_box img {
        max-width: 230px;
        margin: 25px auto 15px;
    }

    article .doctors .ib .d_box nav {
        margin-bottom: 10px;
    }

    article .doctors .ib .d_box nav a {
        width: 50%;
        padding-left: 30px;
        font-size: 16px;
        padding-right: 0;
        margin-bottom: 20px;
        min-width: 50%;
    }

    article .doctors .ib .d_box nav a:before {
        font-size: 24px;
        left: 4px;
        top: 0;
    }

    article .doctors .ib .d_box nav a i {
        font-size: 13px;
    }

    article .doctors .ib .d_box nav a span {
        font-size: 11px;
    }

    article .doctors .ib .d_con .d_detail {
        padding: 50px 0 30px;
    }

    article .doctors .ib .d_con .d_detail .l {
        width: 100%;
        text-align: center;
    }

    article .doctors .ib .d_con .d_detail .l p {
        margin-bottom: 30px;
    }

    article .doctors .ib .d_con .d_detail .l img {
        max-width: 200px;
    }

    article .doctors .ib .d_con .d_detail .r {
        width: 100%;
    }

    article .doctors .ib .d_con .d_detail .r p {
        font-size: 14px;
        letter-spacing: 0.03rem;
    }

    article .doctors .ib .d_con .d_detail .r p span {
        font-size: 12px;
    }

    .topimg.about .ib {
        padding-top: 150px;
    }

    article .kodawari .ib {
        padding: 20px 0px;
    }

    article .kodawari .ib h4 {
        font-size: 15.5px;
    }

    article .kodawari .ib .k_con {
        margin-top: 30px;
    }

    article .kodawari .ib .k_con .k_box {
        margin-bottom: 40px;
    }

    article .kodawari .ib p {
        font-size: 14px;
        line-height: 1.9;
    }

    article .osusume .ib {
        padding: 30px 40px;
    }

    article .osusume .ib .list div {
        width: 100%;
    }

    article .osusume .ib .list div span {
        font-size: 14px;
        position: relative;
        padding-left: 26px;
        margin-bottom: 10px;
        line-height: 1.8;
    }

    article .osusume .ib .list div span:before {
        left: 0;
        position: absolute;
        top: -2px;
        transform: scale(0.86);
    }

    .topimg.column {
        background: url(../image/column_sp.png) calc(100% + 50px) 54% no-repeat;
        background-size: auto 150%;
    }

    .topimg.column .ib {
        padding-top: 130px;
    }

    article section.column .ib {
        padding: 20px 15px 40px;
    }

    article section.column .ib h3 {
        font-size: 20px;
        left: 0.07rem;
    }

    article section.column .ib h3 i {
        font-size: 15px;
    }

    article section.column .ib h3 span {
        font-size: 13px;
        line-height: 1.5;
    }

    article section.column .ib .col_con .col_box {
        margin-bottom: 30px;
    }

    article section.column .ib .col_con .col_box p {
        font-size: 14px;
    }

    article section.column .ib .col_con .col_box h4 {
        font-size: 18px;
    }

    article section.column .ib .col_con .col_box .remark {
        font-size: 19px;
        margin: 40px auto 30px;
    }

    .topimg.basiccare {
        background: url(../image/img6_wide.png) 50% 50%;
        background-size: cover;
    }

    article .basiccare .ib {
        padding: 20px 25px;
    }

    article .basiccare .ib h3 {
        font-size: 23px;
    }

    article .basiccare .ib .remark {
        font-size: 20px;
        line-height: 1.6;
        margin: 30px auto;
    }

    article .basiccare .ib .pr_con {
        margin-top: 50px;
        padding: 40px 0 0;
    }

    article .basiccare .ib .pr_con .box {
        width: 100%;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    article .basiccare .ib .pr_con .box:nth-child(3) .sp img {
        top: -25%;
    }

    article .basiccare .ib .pr_con .box .sp {
        overflow: hidden;
    }

    article .basiccare .ib .pr_con .box .sp:nth-child(1) {
        width: 40%;
    }

    article .basiccare .ib .pr_con .box .sp:nth-child(2) {
        width: 60%;
    }

    article .basiccare .ib .pr_con .box .sp img {
        max-width: 120%;
        margin: 0 auto;
        display: block;
        position: relative;
        left: -10%;
        top: -5%;
    }

    article .basiccare .ib .pr_con .box div {
        font-size: 22px;
    }

    article .basiccare .ib .pr_con .box div span {
        font-size: 19px;
    }

    article .basiccare .ib .pr_con .box p {
        font-size: 14px;
        margin-top: 5px;
        line-height: 1.8;
    }

    article .basiccare .ib .pr_con .box a.btn {
        max-width: 140px;
    }

    article .shohou .ib {
        padding: 20px 25px;
    }

    article .shohou .ib h3 {
        font-size: 15px;
        padding: 7px 3px;
    }

    article .shohou .ib .d_f {
        padding: 0 10px;
        align-items: flex-start;
    }

    article .shohou .ib .d_f img {
        margin: 0 20px !important;
    }

    article .shohou .ib .d_f img:nth-child(2) {
        top: 0;
        margin-bottom: 15px !important;
    }

    article .shohou .ib .remark {
        font-size: 20px;
        width: 100%;
    }

    article .shohou .ib .d_select {
        padding: 15px 15px 5px;
    }

    article .shohou .ib .d_select .tit {
        font-size: 14px;
        width: 100%;
        font-weight: 500;
        font-family: "Times New Roman", serif;
        text-align: center;
        margin-bottom: 20px;
    }

    article .shohou .ib .d_select div .kuroda {
        max-width: 70%;
        display: block;
        margin: 25px auto;
    }

    article .shohou .ib .d_select div .emp {
        font-size: 16px;
        text-align: center;
        display: table;
        margin: 5px auto;
    }

    article .shohou .ib .d_select div i {
        font-size: 19.6px;
        display: block;
        width: 100%;
    }

    article .shohou .ib .d_select div p {
        font-size: 15px;
        letter-spacing: 0;
    }

    article .shohou .ib .m_con {
        width: 100%;
        margin-bottom: 0;
    }

    article .shohou .ib .m_con div {
        width: 100%;
    }

    article .shohou .ib .m_con div h4 {
        font-size: 15px;
    }

    article .shohou .ib .m_con div p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 20px;
    }

    article .shohou .ib .m_con div p i {
        margin-top: 20px;
    }

    article .product {
        margin-top: 72px;
    }

    article .product .ib {
        padding: 0 25px;
    }

    article .product .ib .p_detail .l {
        height: 360px;
    }

    article .product .ib .p_detail .r h3 {
        margin-top: 40px;
        font-size: 22px;
    }

    article .product .ib .p_detail .r h3 span {
        font-size: 15px;
    }

    article .product .ib .p_detail .r h4 {
        font-size: 18px;
    }

    article .product .ib .p_detail .r h4 br {
        display: none;
    }

    article .product .ib .p_detail .r p {
        letter-spacing: 0.03rem;
    }

    article .product .ib .d_f {
        margin: 30px 0;
        padding-left: 0;
    }

    article .product .ib .d_f img:nth-child(2) {
        margin-top: 30px;
        margin-left: -25px;
        width: calc(100% + 50px);
        max-width: calc(100% + 50px);
    }

    article .product .ib .faq_con {
        padding-bottom: 40px;
    }

    article .product .ib .faq_con .box {
        padding: 0;
    }

    article .product .ib .faq_con .box:before {
        right: 0;
        top: 0;
    }

    article .product .ib .faq_con .box h4 {
        font-size: 14px;
    }

    article .product .ib .faq_con .box div {
        font-size: 13px;
    }

    article .product .ib .faq_con .box div br {
        display: none;
    }

    article .product .ib .faq_con .box div p.d_f {
        margin: 0;
        border-top: 1px solid #ccc;
    }

    article .product .ib .faq_con .box div p.d_f i {
        width: 100%;
        padding: 10px 0;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        border-bottom: 1px solid #ccc;
    }

    article .product .ib .faq_con .box div p.d_f i:nth-child(4) {
        border-bottom: none;
    }

    article .product .ib .faq_con .box div p.d_f i:nth-child(4) u:nth-child(2) {
        padding: 0 6px;
        padding-top: 20px;
    }

    article .product .ib .faq_con .box div p.d_f i u {
        width: 50%;
    }

    article .product .ib .faq_con .box div p.d_f i u:nth-child(2) {
        padding: 0 23px;
    }

    article .voice {
        position: relative;
    }

    article .voice:after {
        content: "※すべて個人的な感想です。";
        position: absolute;
        bottom: 30px;
        left: 25px;
        font-size: 10px;
        display: block;
        color: #3e3a39;
    }

    article .voice .ib {
        padding: 30px 25px;
    }

    article .voice .ib h3 {
        font-size: 18px;
        padding: 7px;
    }

    article .voice .ib h3 em {
        display: none;
    }

    article .voice .ib .d_f {
        margin: 0;
        padding-bottom: 30px;
    }

    article .voice .ib .d_f div {
        width: 100%;
        border: none;
        font-size: 14px;
        padding: 20px 0px;
        border-bottom: 1px solid #ccc;
    }

    article .voice .ib .d_f div:last-child {
        border-bottom: 1px solid #ccc;
    }

    .topimg.specialcare {
        background: url(../image/special_wide.png) 50% 50% no-repeat;
        background-size: cover;
    }

    article.special .basiccare.special .ib .remark {
        margin-top: -20px;
    }

    article.special .basiccare.special .ib .pr_con {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    article.special .basiccare.special .ib .pr_con .box {
        flex-direction: row;
    }

    article.special .basiccare.special .ib .pr_con .box div {
        font-size: 18px;
    }

    article.special .basiccare.special .ib .pr_con .box span {
        margin-top: 30px;
        width: 65%;
    }

    article.special .basiccare.special .ib .pr_con .box i {
        width: 35%;
        overflow: hidden;
    }

    article.special .basiccare.special .ib .pr_con .box i img {
        max-width: 118%;
        margin-left: -9%;
    }

    article.special .shohou .ib .tac {
        text-align: center;
    }

    article.special .shohou .ib .d_f {
        margin-top: 30px;
    }

    article.special .shohou .ib .d_f img:nth-child(2) {
        margin-top: 15px !important;
    }

    article.special .shohou .ib .d_select {
        margin-bottom: 45px;
    }

    article.special .shohou .ib .d_select .tit {
        margin-top: 20px;
    }

    article.special .shohou .ib h3 i {
        left: 0;
        bottom: -45px;
    }

    article.special .shohou .ib .m_con {
        margin-top: 60px;
    }

    article.special .shohou .ib .m_con div p {
        font-size: 14px;
    }

    article.special .column:before {
        height: 270px;
        background: url(../image/colum_sp2.png) calc(100% + 30px) 50%;
        background-size: 150%;
    }

    article.special .column .ib {
        padding-bottom: 20px;
    }

    article.special .column .ib h2 {
        font-size: 22px;
        color: #fff;
        margin: 80px 0 160px;
    }

    article.special .column .ib .col_con {
        margin-top: 40px;
    }

    article.special .column .ib .col_con .col_box h5 {
        font-size: 15px;
        margin-bottom: 10px !important;
    }

    article.special .column .ib .col_con .col_box p.b {
        font-weight: 400;
    }

    article .company {
        margin-top: 72px;
    }

    article .company .ib {
        padding: 20px 25px;
    }

    article .company .ib table {
        width: 100%;
        margin-top: 55px;
    }

    article .company .ib table tr th {
        font-size: 12px;
    }

    article .company .ib table tr td {
        font-size: 13px;
    }

    article .contact {
        margin-top: 72px;
    }

    article .contact .ib {
        padding: 20px 25px;
    }

    article .contact .ib .nf-form-content {
        margin-top: 60px;
    }

    article .contact .ib .nf-field-container {
        margin-bottom: 15px;
    }

    article .contact .ib input[type="button"] {
        margin: 0px auto 15px;
    }

    article .contact .ib table {
        width: 100%;
        margin-top: 50px;
    }

    article .contact .ib table tr th,
    article .contact .ib table tr td {
        display: block;
        width: 100%;
    }

    article .contact .ib table tr th {
        font-size: 13px;
        padding: 15px 0 7px;
    }

    article .contact .ib table tr th span.req {
        font-size: 11px;
    }

    article .contact .ib table tr td {
        padding: 6px 0;
    }

    article .contact .ib input[type="submit"] {
        font-size: 13px;
    }

    article .btm_bnr .ib {
        padding: 40px 0px;
    }

    article .btm_bnr .ib h3 {
        margin-top: 30px;
    }

    article .btm_bnr .ib .bnr1 {
        margin-bottom: 30px;
    }

    article .btm_bnr .ib .bnr1 span {
        top: 50%;
        font-size: 20px;
        transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
    }

    article .btm_bnr .ib .d_f {
        margin: 15px 0 30px;
    }

    article .btm_bnr .ib .d_f .box {
        width: 48%;
    }

    article .btm_bnr .ib .d_f .box span {
        font-size: 16px;
    }

    .shop_info {
        background: url(../image/bg1.png) 50% calc(50% + 0px) no-repeat;
        height: auto;
    }

    .shop_info .ib {
        padding: 10px 40px 15px;
    }

    .shop_info .ib .logo {
        max-width: 70%;
        margin-top: 20px;
    }

    .shop_info .ib .d_f {
        width: 100%;
        margin: 15px 0;
    }

    .shop_info .ib .d_f a.btn {
        width: 47%;
    }

    .shop_info .ib p {
        font-size: 15px;
        letter-spacing: 0.05rem;
    }

    .shop_info .ib p span {
        font-size: 12.2px;
    }

    footer .ib {
        padding: 15px 20px 25px 20px;
    }

    footer .ib img {
        width: 50%;
        margin: 25px auto;
    }

    footer .ib nav a {
        font-size: 12px;
        padding: 0 18px;
    }

    footer .ib nav a:nth-child(2):before {
        margin-right: 18px;
    }
}

@media(max-width:325px) {
    header .ib nav {
        padding: 20px 20px;
    }

    header .ib nav a {
        padding: 12px 0;
    }

    .topimg {
        height: 335px;
    }

    article p {
        font-size: 13.6px;
    }

    article .kodawari .ib {
        padding: 20px 15px;
    }

    article .osusume .ib {
        padding: 30px 15px;
    }

    article section.column .ib .col_con .col_box h4 {
        padding: 15px 5px;
        font-size: 17px;
    }

    article section.column .ib .col_con .col_box .remark {
        font-size: 16px;
    }

    article .basiccare .ib {
        padding: 20px 15px;
    }

    article .basiccare .ib .pr_con .box p {
        font-size: 13.4px;
    }

    article .shohou .ib {
        padding: 20px 15px;
    }

    article .shohou .ib .d_select div i {
        font-size: 18px;
    }

    article .product .ib {
        padding: 0 15px;
    }

    article .product .ib .p_detail .r h3 span {
        font-size: 14px;
    }

    article .product .ib .faq_con .box div br {
        display: none;
    }

    article .company .ib {
        padding: 20px 15px;
    }

    article .company .ib table tr td {
        font-size: 12px;
    }

    .topimg.partner .ib {
        padding: 60px 15px;
    }

    .shop_info .ib {
        padding: 10px 15px 15px;
    }

    footer .ib {
        padding: 15px 10px 25px;
    }

    article .osusume .ib .list table th,
    article .osusume .ib .list table td{
        display: block;
        width: 100% !important;
    }
}

/*# sourceMappingURL=style_sp.css.map */