@charset "utf-8";
/* CSS Document */

* {
    line-height: 1;
}

html {
    scroll-padding-top: 0px;
    scroll-behavior: smooth;
}

img {
    border: 0;
    vertical-align: top;
    object-fit: cover;
}


/*clearfix*/
.clearfix:after {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
    height: 0.1px;
    font-size: 0.1em;
    line-height: 0;
}

* html .clearfix {
    display: inline-block;
}

/* no ie mac \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

.clearfix {
    overflow: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {
    height: 1%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    word-wrap: break-word;
}

/*body*/

body {
    width: 100%;
    -webkit-text-size-adjust: 100%;
}


li {
    list-style-type: none;
}

a {
    text-decoration: none;
    transition: .5s;
}

a:hover {
    opacity: 0.75;
    transition: .5s;
}

/* basefont */
:root {
    --base-font: "Noto Sans JP", sans-serif;
    --title-font: "Zen Maru Gothic", sans-serif;
    --title-font2: "M PLUS Rounded 1c", sans-serif;
    --subtitle-font: "Josefin Sans", sans-serif;
    --number-font: "M PLUS Rounded 1c", sans-serif;

    --base-font-size: 16px;

    --base-weight0: 300;
    --base-weight: 400;
    --base-weight2: 500;
    --base-weight3: 600;

    --color-base: #3f332d;
    --color-main: #00bdd4;
    --color-sub: #00abb3;
    --color-sub2: #4fc4a9;
    --color-sub3: #ff8127;
    --color-sub4: #84cfd2;
    --color-back01: #fdfbfa;
    --color-back02: #e8f6f9;
    --color-back03: rgba(0, 189, 212, 0.1);
    --color-back04: rgba(249, 235, 33, 0.1);
}


.contents-box {
    font-family: var(--base-font);
    font-weight: var(--base-weight);
    font-size: var(--base-font-size);
    color: var(--color-base);
    clear: both;
    margin-right: auto;
    margin-left: auto;
    line-height: 1;
}

.contents-box p {
    font-family: var(--base-font);
    font-weight: var(--base-weight);
    font-size: var(--base-font-size);
    color: var(--color-base);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.contents-box p br.sp-view {
    display: none;
}

.contents-box a {
    color: var(--color-base);
    font-weight: var(--base-weight);
}

.contents-box p a {
    color: var(--color-base);
    font-weight: var(--base-weight);
}


/* animation_box */

.animation_box {
    transition: 1s ease;
    opacity: 0;
    transition-delay: .5s;
    transform: translate(0px, 0px);
}

.animation_box-left {
    transform: translateX(-100px);
}

.animation_box-right {
    transform: translateX(100px);
}

.animation_box-top {
    transform: translateY(100px);
}

.animation_box-bottom {
    transform: translateY(-100px);
}

.animation_box2 {
    transition-delay: 1s;
}

.animation_box3 {
    transition-delay: 1.5s;
}

.animation_box4 {
    transition-delay: 2s;
}

.animation_box.effect {
    opacity: 1;
    transform: translate(0px, 0px);
}



/*header*/


.header {
    width: 100%;
    z-index: 9999999;
    position: fixed;
    left: 0px;
    top: 0px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.header-left {
    padding-left: 20px;
    padding-top: 20px;
}

.header h1 img {
    height: 150px;
    width: auto;
    transition: .5s;
}

/*banner-digisma*/

#banner-digisma {
    display: flex;
    justify-content: flex-end;
    z-index: 99;
}

/*メニュー部分*/
nav {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    left: 0;
    text-align: center;
}

nav div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 50px 0px;
}

.contents-box nav h2 {
    width: 100%;
    text-align: center;
}

.contents-box nav h2 img {
    width: 300px;
    height: auto;
}

nav ul {
    width: 1060px;
    margin: 0px auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px 2%;
}

nav ul li {
    width: 32%;
}

nav ul li a {
    color: #FFF;
    font-weight: var(--base-weight);
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    width: 100%;
    padding: 15px 0px;
    display: block;
    border-style: solid;
    border-radius: 5px;
    border-color: var(--color-main);
    border-width: 1px;
    transition: .5s;
    text-align: center;
}

nav ul:nth-child(3) li a {
    color: #FFF;
    border-color: var(--color-main);
    background-color: var(--color-main);
}

nav ul li a:hover {
    background-color: var(--color-sub4);
    border-color: var(--color-sub4);
    opacity: 1;
}

nav ul:nth-child(3) li a:hover {
    border-color: var(--color-sub4);
    background-color: var(--color-sub4);
}


/*開閉ボタン*/
#nav_toggle {
    display: fixed;
    width: 80px;
    height: 80px;
    top: 0px;
    right: 0px;
    z-index: 10000000;
    background-color: var(--color-main);
    padding: 26px 20px;
    position: relative;
    cursor: pointer;
    border-radius: 0px 0px 0px 12px;

}

#nav_toggle div {
    position: relative;
}

#nav_toggle span {
    display: block;
    height: 1px;
    background: #FFF;
    position: absolute;
    width: 100%;
    left: 0;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
}

#nav_toggle span:nth-child(1) {
    top: 0px;
}

#nav_toggle span:nth-child(2) {
    top: 12px;
}

#nav_toggle span:nth-child(3) {
    top: 24px;
}

/*開閉ボタンopen時*/
.open #nav_toggle span:nth-child(1) {
    top: 12px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
}

.open #nav_toggle span:nth-child(2) {
    width: 0;
    left: 50%;
}

.open #nav_toggle span:nth-child(3) {
    top: 12px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

/* main-img */

.main-img {
    width: 94%;
    position: relative;
    padding-top: 50px;
    margin-bottom: 40px;
}

.main-img .box-img {
    position: relative;
}

.main-img .box-img::after {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    display: block;
    width: 260px;
    height: 150px;
    background-color: #FFF;
    border-radius: 0px 0px 25px 0px;
}

.main-img .box-img img {
    border-radius: 15px;
}

.main-img .box-text {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    padding-right: 5%;
}

.main-img .box-text .inner {
    display: inline-block;
    background-color: #e0f3f7;
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
    min-width: 400px;
}

.main-img h2,
.main-img h3 {
    font-family: var(--title-font);
    font-weight: var(--base-weight0);
    padding: 10px 30px;
}

.main-img h2 {
    color: var(--color-main);
    font-size: 50px;
    letter-spacing: 0.25em;
    line-height: 1.3;
}

.main-img h3 {
    font-size: 20px;
    color: #FFF;
    letter-spacing: 0.2em;
    line-height: 1.2;
    background-color: var(--color-main);
}

/* contents */

.contents {
    width: 100%;
}

.contents img {
    width: 100%;
    height: auto;
}

.maincontents-inner {
    width: 100%;
    position: relative;
    padding-top: 150px
}

.maincontents-inner::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    display: block;
    background-image: url("../images/line-contents.svg");
    background-position: left top;
    background-repeat: repeat-x;
    background-size: auto 100%;
    width: 100%;
    height: 80px;
}

.maincontents-inner > section:not(:last-child) {
    margin-bottom: 100px;
}

.maincontents-inner > section > div:not(:last-child) {
    margin-bottom: 80px;
}

.maincontents-inner > section > div > div:not(:last-child) {
    margin-bottom: 40px;
}

/* lay */

.lay img {
    width: 100%;
    height: auto;
}

.lay p {
    line-height: 2.2;
    letter-spacing: 0.05em;
    font-weight: var(--base-weight);
}

.lay p span {
    color: var(--color-main);
}

.lay .text-center {
    text-align: center;
}

.lay1000 {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.lay1060 {
    width: 1060px;
    margin-left: auto;
    margin-right: auto;
}

.lay1100 {
    width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.lay1160 {
    width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.lay-80 {
    width: 80%;
    max-width: 1250px;
    margin-left: auto;
    margin-right: auto;
}

.lay-85 {
    width: 85%;
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
}

.lay-90 {
    width: 90%;
    max-width: 1720px;
    margin-left: auto;
    margin-right: auto;
}

/* box-title-page01 */

.maincontents-inner > section > div.box-title-page01 {
    text-align: center;
    margin-bottom: 45px;
}

.box-title-page01 h2 {
    font-family: var(--base-font);
    font-weight: var(--base-weight0);
    color: var(--color-main);
    font-size: 18px;
    line-height: 0.8;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
}

.box-title-page01 h3 {
    font-family: var(--title-font);
    font-weight: var(--base-weight0);
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 0.15em;
}

.box-title-page01 h4 {
    font-family: var(--title-font);
    font-weight: var(--base-weight);
    color: var(--color-main);
    font-size: 24px;
    line-height: 1.8;
    letter-spacing: 0.25em;
    padding-top: 30px;
}

/* box-title-page02 */

.maincontents-inner > section > div.box-title-page02 {
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.box-title-page02::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 40%;
    display: block;
    width: 100%;
    height: 1px;
    border-bottom-style: solid;
    border-color: #b0b0b0;
    border-width: 1px;
}

.box-title-page02 .inner {
    display: inline-block;
    position: relative;
    background-color: #FFF;
    padding: 10px 30px;
    min-width: 1100px;
}

.box-title-page02 .inner::before,
.box-title-page02 .inner::after {
    content: "";
    position: absolute;
    top: 0px;
    display: block;
    background-repeat: no-repeat;
    background-size: auto 120px;
    width: 50px;
    height: 100%;
}

.box-title-page02 .inner::before {
    left: 0px;
    background-image: url("../../common/images/icon-title01a.svg");
    background-position: left center;
}

.box-title-page02 .inner::after {
    right: 0px;
    background-image: url("../../common/images/icon-title01b.svg");
    background-position: right center;
}

.box-title-page02 h2 {
    font-family: var(--title-font);
    font-weight: var(--base-weight0);
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.box-title-page02 h3 {
    font-family: var(--base-font);
    font-weight: var(--base-weight0);
    color: var(--color-main);
    font-size: 18px;
    line-height: 0.8;
    letter-spacing: 0.3em;
}

/* box-title-page03 */

.box-title-page03 {
    font-family: var(--title-font);
    font-weight: var(--base-weight);
    color: var(--color-main);
    font-size: 26px;
    line-height: 1.4;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 35px;
}

/* box-title-page04 */

.box-title-page04 {
    font-family: var(--title-font);
    font-weight: var(--base-weight);
    color: #FFF;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0.1em;
    background-color: var(--color-main);
    padding: 10px 20px;
    width: 500px;
    border-radius: 10px;
    margin: 0px auto;
    margin-bottom: 30px;
    text-align: center;
    margin-top: 60px;
}

.box-title-page04:first-child {
    margin-top: 0px;
}

.box-title-page04 span {
    font-size: 22px;
}


/* layout-concept */

.layout-concept .box-img img {
    border-radius: 30px;
}

/* layout-blue */

.layout-blue {
    width: 100%;
    background-color: var(--color-back03);
    padding: 70px 0px;
}

/* layout-bluebox */

.layout-bluebox .box {
    background-color: #FFF;
    padding: 60px 100px 70px;
    border-radius: 20px;
}

.layout-bluebox .box:not(:last-child) {
    margin-bottom: 50px;
}

/* layout-bluelinebox */

.layout-bluelinebox .box {
    border-style: solid;
    border-color: var(--color-main);
    border-width: 2px;
    border-radius: 25px;
    padding: 40px 100px;
}


/* layout-contents01 */

.layout-contents01 {
    border-style: solid;
    border-color: var(--color-main);
    border-width: 2px;
    text-align: center;
    padding: 0px 50px 50px;
    background-color: #FFF;
    border-radius: 35px;
}

.layout-contents01 h3 {
    font-weight: var(--base-weight);
    font-size: 27px;
    color: #FFF;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-align: center;
    background-color: var(--color-main);
    min-width: 460px;
    padding: 12px 20px 15px;
    border-radius: 0px 0px 15px 15px;
    display: inline-block;
    margin-bottom: 40px;
}

/* layout-caselist */

.layout-caselist {
    background-color: #FFF;
    padding: 40px 60px;
    border-radius: 40px;
}

.layout-caselist .inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0px 30px;
}

.layout-caselist ul li {
    font-family: var(--title-font);
    font-weight: var(--base-weight);
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-align: left;
}

.layout-caselist ul li:not(:last-child) {
    margin-bottom: 10px;
}

.layout-caselist h6 {
    font-family: var(--title-font);
    font-weight: var(--base-weight2);
    color: var(--color-main);
    font-size: 26px;
    line-height: 1.4;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
    text-align: center;
}

/* layout-flow */

.layout-flow {
    text-align: center;
}

.layout-flow .box {
    position: relative;
}

.layout-flow .box:not(:last-child) {
    margin-bottom: 70px;
}

.layout-flow .box::after {
    content: "";
    position: absolute;
    left: 0px;
    bottom: 0px;
    display: block;
    background-image: url("../../common/images/arrow.svg");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 100%;
    height: 30px;
    margin-bottom: -55px;
}

.layout-flow .box:last-child::after {
    display: none;
}

.layout-flow .box .inner {
    border-style: solid;
    border-color: var(--color-main);
    border-width: 2px;
    border-radius: 30px;
    overflow: hidden;
}

.layout-flow .box:nth-child(even) .inner {
    border-color: var(--color-sub4);
}

.layout-flow .box-title {
    background-color: var(--color-main);
    padding: 25px 0px;
}

.layout-flow .box:nth-child(even) .box-title {
    background-color: var(--color-sub4);
}

.layout-flow .box-text {
    padding: 25px 0px;
}

.layout-flow h5 {
    font-family: var(--title-font);
    font-weight: var(--base-weight2);
    color: #FFF;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 0.2em;
    position: relative;
    padding-top: 35px;
}

.layout-flow h5::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    display: block;
    width: 100%;
    font-size: 20px;
}

.layout-flow .box:nth-child(1) h5::before {
    content: "STEP 1";
}

.layout-flow .box:nth-child(2) h5::before {
    content: "STEP 2";
}

.layout-flow .box:nth-child(3) h5::before {
    content: "STEP 3";
}

.layout-flow .box:nth-child(4) h5::before {
    content: "STEP 4";
}

.layout-flow .box:nth-child(5) h5::before {
    content: "STEP 5";
}

.layout-flow .box:nth-child(6) h5::before {
    content: "STEP 6";
}

.layout-flow .box:nth-child(7) h5::before {
    content: "STEP 7";
}



/* contents-treatmentmenu */

.contents-treatmentmenu {
    text-align: center;
    width: 100%;
    padding: 80px 0px 80px;
    background-color: var(--color-back01);
}

.contents-treatmentmenu2 {
    background-color: var(--color-back02);
}

.maincontents-inner .contents-treatmentmenu .box-title,
.contents-treatmentmenu .box-title {
    margin-bottom: 45px;
}

.contents-treatmentmenu .box-title h2 {
    font-family: var(--base-font);
    font-weight: var(--base-weight0);
    color: var(--color-main);
    font-size: 18px;
    line-height: 0.8;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
}

.contents-treatmentmenu .box-title h3 {
    font-family: var(--title-font);
    font-weight: var(--base-weight0);
    font-size: 50px;
    line-height: 1.2;
    letter-spacing: 0.2em;
}

.contents-treatmentmenu .box-inner {
    width: 95%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px 1%;
}

.maincontents-inner .contents-treatmentmenu .box,
.contents-treatmentmenu .box {
    width: 19.2%;
    margin-bottom: 0px;
}

/* contents-treatmentmenu2 */

.contents-treatmentmenu2 .box-inner,
.contents-treatmentmenu2 .box-inner2 {
    width: 700px;
    gap: 20px 2%;
    justify-content: center;
}

.contents-treatmentmenu2 .box-inner2 {
    width: 1000px;
    padding-top: 20px;
}

.contents-treatmentmenu2 .box {
    width: 320px;
    text-align: left;
}

.contents-treatmentmenu2 .box a {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--color-main);
    padding: 25px 0px;
    padding-left: 98px;
    position: relative;
}

.contents-treatmentmenu2 .box a::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0px;
    display: block;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 65px;
    width: 100%;
    height: 100%;
}

.contents-treatmentmenu2 .box-inner .box:nth-child(1) a::before {
    background-image: url("../../common/images/icon-link01.svg");
}

.contents-treatmentmenu2 .box-inner .box:nth-child(2) a::before {
    background-image: url("../../common/images/icon-link02.svg");
}

.contents-treatmentmenu2 .box-inner .box:nth-child(3) a::before {
    background-image: url("../../common/images/icon-link03.svg");
}

.contents-treatmentmenu2 .box-inner .box:nth-child(4) a::before {
    background-image: url("../../common/images/icon-link04.svg");
}

.contents-treatmentmenu2 .box-inner2 .box:nth-child(1) a::before {
    background-image: url("../../common/images/icon-link05.svg");
}

.contents-treatmentmenu2 .box-inner2 .box:nth-child(2) a::before {
    background-image: url("../../common/images/icon-link06.svg");
}

.contents-treatmentmenu2 .box-inner2 .box:nth-child(3) a::before {
    background-image: url("../../common/images/icon-link07.svg");
}

.contents-treatmentmenu2 .box-inner2 .box:nth-child(4) a::before {
    background-image: url("../../common/images/icon-link08.svg");
}

.contents-treatmentmenu2 .box-inner2 .box:nth-child(5) a::before {
    background-image: url("../../common/images/icon-link09.svg");
}

.contents-treatmentmenu2 .box-inner2 .box a {
    background-color: var(--color-sub2);
}

.contents-treatmentmenu2 h4,
.contents-treatmentmenu2 h5 {
    font-family: var(--title-font);
    font-weight: var(--base-weight);
    color: #FFF;
    line-height: 1.2;
}

.contents-treatmentmenu2 h4 {
    font-size: 26px;
    letter-spacing: 0.2em;
}

.contents-treatmentmenu2 h5 {
    font-size: 13px;
    letter-spacing: 0.1em;
    padding-top: 8px;
}



/*pagetop_btn*/

.pagetop_btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 10;
}

.pagetop_btn a {
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    opacity: 1;
}

.pagetop_btn a:hover {
    opacity: 0.75;
}

.pagetop_btn img {
    height: 65px;
    width: auto;
}

/*pagetop_btn2*/

.pagetop_btn2 {
    position: fixed;
    top: 300px;
    right: 0px;
    z-index: 100;
}

.pagetop_btn2 img {
    height: 220px;
    width: auto;
}


/* banner-24 */

.banner-24 {
    position: fixed;
    right: 0px;
    top: 250px;
    z-index: 10000000;
}

.banner-24 h6:not(:last-child) {
    margin-bottom: 10px;
}

.banner-24 img {
    height: 150px;
    width: auto;
}

/*footer-link*/

.footer-link {
    width: 100%;
    text-align: center;
    padding: 10px 3px;
    background-color: #FFF;
    position: fixed;
    left: 0px;
    bottom: 0px;
    display: none;
}

.footer-link ul {
    display: flex;
    justify-content: center;
}

.footer-link ul li {
    width: 32%;
    margin: 0px 1%;
}

.footer-link a {
    display: block;
    background-color: var(--color-main);
    border-radius: 8px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-link ul li img {
    width: auto;
    height: 35px;
}




/*footer*/

footer {
    width: 100%;
    text-align: center;
}

/*footer-img*/

.footer-img {
    padding: 100px 0px;
}

.footer-img img {
    border-radius: 30px;
    width: 100%;
    height: auto;
}

/*footer-guide*/

.footer-guide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0px 70px;
    padding: 60px 0px;
}

.layout-time {
    width: 460px;
}

.layout-time img {
    width: 100%;
    height: auto;
}

.layout-time .box-text {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.contents-box .layout-time p {
    font-size: 15px;
}

.layout-time p:nth-child(1) {
    color: var(--color-sub3);
}

.layout-time p:nth-child(2) {
    color: var(--color-sub2);
}

.footer-guide h2 {
    margin-bottom: 15px;
}

.footer-guide h2 img {
    height: 180px;
    width: auto;
}

.footer-guide h3,
.footer-guide h3 a {
    font-family: var(--number-font);
    font-weight: var(--base-weight);
    color: var(--color-main);
    line-height: 1.2;
    font-size: 45px;
}

.footer-guide h3 {
    display: inline-block;
    position: relative;
    padding-left: 35px;
}

.footer-guide h3::before {
    content: "";
    position: absolute;
    left: 0px;
    bottom: 8px;
    background-image: url("../images/tel-footer.svg");
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: 26px;
    height: 32px;
}

/* footer-map */

.footer-map {
    width: 100%;
    text-align: center;
}

.footer-map .box-text {
    background-color: var(--color-main);
    padding: 20px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0px 40px;
}

.footer-map h6 img {
    height: 30px;
    width: auto;
}

.footer-map p {
    color: #FFF;
    line-height: 1.2;
    padding: 10px 0px;
    padding-left: 40px;
    border-left-style: solid;
    border-color: #FFF;
    border-width: 1px;
    text-align: left;
}

.footer-map .map-box iframe {
    width: 100%;
    height: 450px;
}


/*footer*/

.footer p {
    font-size: 12px;
    color: #FFF;
    line-height: 1.2;
    font-weight: normal;
    padding: 20px 0px;
    background-color: var(--color-main);
}


/**
 * for SmartPhone
 */
@media screen and (min-width: 768px) {

    body {
        min-width: 1320px;
    }

    a[href^="tel:"] {
        pointer-events: none;
    }

}

@media screen and (max-width: 767px) {
    body {}

    /* basefont */
    :root {
        --base-font-size: 14px;
    }

    .contents-box p br.sp-view {
        display: inline-block;
    }


    /*header*/

    .header-left {
        padding-left: 10px;
        padding-top: 10px;
    }

    .header h1 img {
        height: 50px;
    }

    /*開閉ボタン*/
    #nav_toggle {
        width: 60px;
        height: 60px;
        padding: 22px 10px 0px;
        margin-right: 0px;
        margin-top: 0px;
    }

    #nav_toggle span:nth-child(1) {
        top: -2px;
    }

    #nav_toggle span:nth-child(2) {
        top: 7px;
    }

    #nav_toggle span:nth-child(3) {
        top: 16px;
    }

    /*開閉ボタンopen時*/
    .open #nav_toggle span:nth-child(1) {
        top: 7px;
    }

    .open #nav_toggle span:nth-child(3) {
        top: 7px;
    }


    #banner-digisma nav div h2 img {
        height: 120px;
        width: auto;
    }

    nav {
        height: 100%;
        overflow: auto;
    }

    nav div {
        width: 100%;
        padding-top: 60px;
        display: block;
    }

    nav ul {
        width: 88%;
        gap: 10px 2%;
    }

    nav ul:nth-child(2) {
        padding: 20px 0px;
    }

    nav ul:nth-child(3) {
        padding-bottom: 40px;
    }

    nav ul li {
        width: 48%;
    }

    nav ul li a {
        font-size: 15px;
    }

    nav ul li a {
        padding: 15px 0px;
        letter-spacing: 0.05em;
    }


    .nav-pc {
        display: none;
    }



    /* main-img */

    .main-img {
        padding-top: 15px;
        margin-bottom: 20px;
    }

    .main-img .box-img::after {
        width: 100px;
        height: 65px;
        border-radius: 0px 0px 12px 0px;
    }

    .main-img .box-img img {
        border-radius: 12px;
        height: auto;
        min-height: 200px;
    }

    .main-img .box-text {
        position: static;
        width: 100%;
        height: auto;
        padding-right: 0%;
        display: block;
    }

    .main-img .box-text .inner {
        display: block;
        border-radius: 12px;
        min-width: auto;
        margin-top: 15px;
    }

    .main-img h2,
    .main-img h3 {
        padding: 7px 20px;
    }

    .main-img h2 {
        font-size: 26px;
        letter-spacing: 0.15em;
    }

    .main-img h3 {
        font-size: 14px;
        letter-spacing: 0.1em;
    }

    /* contents */

    .contents img {
        width: 100%;
        height: auto;
    }

    .contents .box-img {
        text-align: center;
    }

    .contents .box-img img {
        max-width: 400px;
    }

    .maincontents-inner {
        padding-top: 80px
    }

    .maincontents-inner::before {
        height: 30px;
    }

    .maincontents-inner > section:not(:last-child) {
        margin-bottom: 70px;
    }

    .maincontents-inner > section > div:not(:last-child) {
        margin-bottom: 50px;
    }

    .maincontents-inner > section > div > div:not(:last-child) {
        margin-bottom: 35px;
    }

    /* lay */

    .lay1000,
    .lay1060,
    .lay1100,
    .lay1160,
    .lay-80,
    .lay-85,
    .lay-90 {
        width: 88%;
    }

    /* box-title-page01 */

    .maincontents-inner > section > div.box-title-page01 {
        margin-bottom: 30px;
    }

    .box-title-page01 h2 {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .box-title-page01 h3 {
        font-size: 22px;
        letter-spacing: 0.1em;
    }

    .box-title-page01 h4 {
        font-size: 16px;
        line-height: 1.6;
        letter-spacing: 0.1em;
        padding-top: 20px;
    }


    /* box-title-page02 */

    .maincontents-inner > section > div.box-title-page02 {
        margin-bottom: 30px;
    }

    .box-title-page02::before {
        content: "";
        position: absolute;
        left: 0px;
        top: 40%;
        display: block;
        width: 100%;
        height: 1px;
        border-bottom-style: solid;
        border-color: #b0b0b0;
        border-width: 1px;
    }

    .box-title-page02 .inner {
        padding: 5px 20px;
        min-width: 94%;
    }

    .box-title-page02 .inner::before,
    .box-title-page02 .inner::after {
        background-size: auto 50px;
        width: 30px;
    }

    .box-title-page02 h2 {
        font-size: 22px;
        letter-spacing: 0.1em;
        margin-bottom: 10px;
    }

    .box-title-page02 h3 {
        font-size: 12px;
        letter-spacing: 0.15em;
    }

    /* box-title-page03 */

    .box-title-page03 {
        font-size: 18px;
        letter-spacing: 0.1em;
        margin-bottom: 25px;
    }

    /* box-title-page04 */

    .box-title-page04 {
        font-size: 18px;
        letter-spacing: 0.05em;
        padding: 10px;
        width: 100%;
        border-radius: 8px;
        margin-bottom: 20px;
        margin-top: 50px;
    }

    .box-title-page04 span {
        font-size: 14px;
    }



    /* layout-concept */

    .layout-concept .box-img img {
        border-radius: 20px;
    }

    /* layout-contents01 */

    .layout-contents01 {
        padding: 0px 6% 30px;
    }

    .layout-contents01 h3 {
        font-size: 17px;
        letter-spacing: 0.05em;
        min-width: 80%;
        padding: 15px;
        border-radius: 0px 0px 15px 15px;
        margin-bottom: 27px;
    }

    .layout-contents01 p {
        text-align: left;
    }

    /* layout-blue */

    .layout-blue {
        padding: 40px 0px;
    }

    /* layout-bluebox */

    .layout-bluebox .box {
        padding: 30px 8% 30px;
    }

    .layout-bluebox .box:not(:last-child) {
        margin-bottom: 30px;
    }

    /* layout-bluelinebox */

    .layout-bluelinebox .box {
        border-radius: 20px;
        padding: 30px 8%;
    }

    /* layout-caselist */

    .layout-caselist {
        padding: 30px 8%;
        border-radius: 20px;
    }

    .layout-caselist .inner {
        flex-direction: column;
        gap: 10px 30px;
    }

    .layout-caselist ul li {
        font-size: 16px;
        text-indent: -16px;
        margin-left: 16px;
    }

    .layout-caselist h6 {
        font-size: 18px;
        line-height: 1.4;
        letter-spacing: 0.1em;
    }

    /* layout-flow */

    .layout-flow .box:not(:last-child) {
        margin-bottom: 50px;
    }

    .layout-flow .box::after {
        height: 20px;
        margin-bottom: -35px;
    }

    .layout-flow .box .inner {
        border-radius: 20px;
    }

    .layout-flow .box-title {
        padding: 15px 0px;
    }

    .layout-flow .box-text {
        padding: 15px 8%;
        text-align: left;
    }

    .layout-flow h5 {
        font-size: 20px;
        padding-top: 25px;
    }

    .layout-flow h5::before {
        font-size: 15px;
    }

    .layout-flow p br {
        display: none;
    }



    /* contents-treatmentmenu */

    .contents-treatmentmenu {
        padding: 50px 0px;
    }

    .maincontents-inner .contents-treatmentmenu .box-title,
    .contents-treatmentmenu .box-title {
        margin-bottom: 30px;
    }

    .contents-treatmentmenu .box-title h2 {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .contents-treatmentmenu .box-title h3 {
        font-size: 28px;
        letter-spacing: 0.15em;
    }

    .contents-treatmentmenu .box-inner {
        gap: 10px 3%;
    }

    .maincontents-inner .contents-treatmentmenu .box,
    .contents-treatmentmenu .box {
        width: 48.5%;
    }

    /* contents-treatmentmenu2 */

    .contents-treatmentmenu2 .box-inner,
    .contents-treatmentmenu2 .box-inner2 {
        width: 96%;
        gap: 10px 3%;
    }

    .contents-treatmentmenu2 .box {
        width: 48.5%;
        text-align: center;
    }

    .contents-treatmentmenu2 .box a {
        border-radius: 10px;
        padding: 70px 5px 10px;
    }

    .contents-treatmentmenu2 .box a::before {
        left: 0px;
        top: 10px;
        background-position: center top;
        background-size: auto 100%;
        width: 100%;
        height: 55px;
    }

    .contents-treatmentmenu2 h4 {
        font-size: 20px;
    }

    .contents-treatmentmenu2 h5 {
        font-size: 11px;
        padding-top: 5px;
        letter-spacing: 0em;
    }



    /*btn-top*/

    .pagetop_btn {
        bottom: 80px;
        right: 5px;
    }

    .pagetop_btn img {
        height: 50px;
    }



    /* banner-24 */

    .banner-24 {
        top: 0px;
        right: 70px;
    }

    .banner-24 img {
        height: 60px;
    }

    /*footer-img*/

    .footer-img {
        padding: 50px 0px;
    }

    .footer-img img {
        border-radius: 20px;
        min-height: 200px;
    }

    /*footer-guide*/

    .footer-guide {
        flex-direction: column;
        align-items: center;
        gap: 30px 70px;
        padding: 40px 8%;
    }

    .layout-time {
        width: 100%;
    }

    .layout-time .box-text {
        padding-top: 15px;
        justify-content: center;
        gap: 5px;
        text-align: center;
    }

    .footer-guide h2 img {
        height: 160px;
    }

    .footer-guide h3,
    .footer-guide h3 a {
        font-size: 38px;
    }

    .footer-guide h3 {
        padding-left: 30px;
    }

    .footer-guide h3::before {
        bottom: 8px;
        height: 25px;
    }


    /* footer-map */

    .footer-map .box-text {
        padding: 20px 0px 15px;
        gap: 0px 20px;
        flex-direction: column;
    }

    .footer-map h6 img {
        height: 20px;
        width: auto;
    }

    .footer-map p {
        padding: 10px 0px 0px;
        border-left-style: none;
        font-size: 14px;
        text-align: center;
        line-height: 1.6;
    }

    .footer-map .map-box iframe {
        height: 200px;
    }

    /*footer*/

    .footer p {
        font-size: 10px;
        padding: 20px 0px;
        /*        padding-bottom: 90px;*/
    }

    /*footer-link*/

    .footer-link {
        display: block;
    }


}
