@charset "utf-8";
/* 共通 */
html {
    font-size: 100%;
}
body {
    color: #696a6a;
}
video {
    width: 100%;
}

.wrapper {
    max-width: 1200px;
    margin:0 auto;
}

img {
    width: 100%;
}
a {
    cursor: pointer;
}
a:hover {
    opacity: .9;
}
.fixed-bg {
    position: relative;
    height: 200px;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
}
.bg-1 {
    z-index: 1;
    background-image: url(../img/bg-chem.png);
}

/* scroll fadein */
.scrollanime {
    opacity:  0;
}
.fadeInDown {
    animation-name: fadeInDown;
    animation-duration: 2s;
    animation-fill-mode:forwards;
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
    } 100% {
        opacity: 1;
        transform: translate(0); 
    }
}


/* loading */
#loadinsg, #loading * {
    box-sizing: border-box;
}
#loading {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(225deg, #2CD8D5 0%, #C5C1FF 56%, #FFBAC3 100%);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
}

#loading .square {
    position: absolute;
    z-index: 999;
    width: 20px;
    height: 20px;
    animation-duration: 1000ms;
    border: 3px solid #fff;
    opacity: 0.7;
    margin-right: auto;
    margin-left: auto;
    animation-iteration-count: infinite;
}
#loading .square:nth-child(1) {
    animation-name: animation-1;
    animation-delay: 500ms;
}
#loading .square:nth-child(2) {
    animation-name: animation-2;
    animation-delay: 0ms;
}
#loading .square:nth-child(3) {
    animation-name: animation-3;
    animation-delay: 500ms;
}
#loading .square:nth-child(4) {
    animation-name: animation-4;
    animation-delay: 0ms;
}
@keyframes animation-1 {
    50% {
        transform: translate(150%,150%)scale(2,2);
        
    }
}
@keyframes animation-2 {
    50% {
        transform: translate(-150%,150%)scale(2,2);
    }
}
@keyframes animation-3 {
    50% {
        transform: translate(-150%,-150%)scale(2,2);
    }
}
@keyframes animation-4 {
    50% {
        transform: translate(150%,-150%)scale(2,2);
    }
}

/* header */
#header {
    display: flex;
    width: 100%;
    height: 100px;
    position: fixed;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #fff;
    z-index: 10;
    margin-bottom: 10px;
    padding-right: 20px;
    background-image: linear-gradient(225deg, #2CD8D5 0%, #C5C1FF 56%, #FFBAC3 100%);
}
#header .logo {
    margin: 15px 30px;
    width: 220px;
    height: 70px;
}
#sns {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
    justify-content: right;
    color: #fff;
    text-shadow: 0 0 4px #fff;
    font-size: 1.5rem;
}
#sns li {
    margin-right: 30px;
}
#sns li:hover {
    text-shadow: 0 0 2px #fff;
    scale: 1.2;
    transition: all .5s;
}
#nav-1 {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    font-family: 'Shrikhand', cursive;
    font-weight: bold;
}
#nav-1 li {
    color: #fff;
    text-shadow: 0 0 2px #fff;
    font-size: 1.5rem;
    margin-right: 30px;
    padding-bottom: 3px;
}
#nav-1 li:hover {
    position: relative;
    color: #fff;
    text-shadow: 0 0 4px #fff;
    scale: 1.2;
    transition: all .5s;
}
#nav-1 li:nth-child(1):hover::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    border-bottom: 3px solid #FFBAC3;
    transform: translateX(-50%);
    animation: border-display-2 1s linear forwards;
}
#nav-1 li:nth-child(2):hover::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    border-bottom: 3px solid #2CD8D5;
    transform: translateX(-50%);
    animation: border-display-2 1s linear forwards;
}
#nav-1 li:nth-child(3):hover::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    border-bottom: 3px solid #C5C1FF;
    transform: translateX(-50%);
    animation: border-display-2 1s linear forwards;
}
#nav-1 li:nth-child(4):hover::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    border-bottom: 3px solid #FFBAC3;
    transform: translateX(-50%);
    animation: border-display-2 1s linear forwards;
}
@keyframes border-display-2 {
    0% {
        width: 0;
    }
    100% {
        width: 100px;
    }
}
.hamburger {
    display: none;
    top: -100%;
}
#mask {
    display: none;
}

/*top*/
#top {
    width: 100%;
    height: 100vh;
    position: relative;
}
#top .top-text {
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: 2;
}
#top video {
    width: 100%;
    height: 100vh;
    z-index: 1;
    object-fit: cover;
}
#top .top-text .greeting {
    width: 60%;
    font-size: 3rem;
    text-shadow: 1px 2px #90a8d6, -1px 1px 3px #90a8d6;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -60%);
    line-height: 1.5;
}
#top .top-text .greeting span {
    position: absolute;
    left: 20%;
}
#top .top-text .chatchfrase {
    font-size: 2rem;
    color: #fff;
    font-family: 'Josefin Slab', serif;
    font-weight: bold;
    position: absolute;
    top: 68%;
    left: 50%;
    text-shadow: 2px 2px #89bbad;
}
#top .top-text .scrolldown {
    position: absolute;
    bottom: 0;
    left: 5%;
    animation: arrow 1s ease-in-out infinite;
}
@keyframes arrow {
    0% {
        bottom: 6%;
    }
    50% {
        bottom: 8%;
    }
    100% {
        bottom: 6%;
    }
}
.scrolldown span {
    position: absolute;
    font-family: 'Josefin Slab', serif;
    left: -25px;
    bottom: 10px;
    color: #696a6a;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}
.scrolldown::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: -6px;
    width: 1px;
    height: 20px;
    background: #696a6a;
    transform: skewX(-31deg);
}
.scrolldown::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 1px;
    height: 58px;
    background: #696a6a;
}

/* about */
#about {
    width: 100%;
    margin-top: 80px;
}
#about .sec-title {
    font-size: 2rem;
    margin: 10px;
    padding-bottom: 10px;
    position: relative;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    text-shadow: -3px 3px 4px #FFBAC3, 2px 2px 4px #ffbac3;
}
#about .flex {
    display: flex;
    justify-content: space-between;
    margin: 30px 10px;
}
#about img {
    width: 30%;
    height: 260px;
    object-fit: cover;
    border-radius: 40% 70% 50% 30%/50%;
}
#about .about-text {
    width: 60%;
    font-family: sans-serif;
}
#about .about-text p {
    line-height: 1.7;
    margin-top: 50px;
}
#about .btn {
    font-size: 2rem;
    display: block;
    text-align: center;
    margin-left: auto;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    text-shadow: 3px 3px 4px #ccc, -2px -2px 4px #ccc, -3px 3px 4px #ccc;
    padding: 9px;
    border-radius: 100vh;
    box-shadow: 3px 3px 10px #f2f2f2, -3px -3px 10px #ededed;
    width: 200px;
    margin-bottom: 30px;
}
#about .btn:hover {
    background: -webkit-linear-gradient(225deg, #2CD8D5 0%, #C5C1FF 50%, #FFBAC3 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
    box-shadow: inset 3px 3px 8px #f2f2f2, inset -3px -3px 8px #ededed;
    text-shadow: none;
    transition: all .5s;
}

/* service */
#service {
    width: 100%;
    margin-top: 80px;
}
#service .sec-title {
    font-size: 2rem;
    margin: 10px;
    padding-bottom: 10px;
    position: relative;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    text-shadow: -2px -2px 4px #C5C1FF, 3px 3px 4px #c5c1ff;
}
#service .service-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin: 60px 0;
}
#service .service-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    width: 60%;
    margin: 0 auto;
    padding-bottom: 60px;
}
.service-item h3 {
    text-align: center;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 20px 0;
}
.service-item p {
    font-family: sans-serif;
    line-height: 1.7;
}
#service .btn {
    font-size: 2rem;
    display: block;
    text-align: center;
    margin: 0 auto;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    text-shadow: 3px 3px 4px #ccc, -2px -2px 4px #ccc, -3px 3px 4px #ccc;
    padding: 5px;
    border-radius: 100vh;
    box-shadow: 3px 3px 10px #f2f2f2, -3px -3px 10px #ededed;
    width: 200px;
    margin-bottom: 30px;
}
#service .btn:hover {
    background: -webkit-linear-gradient(225deg, #2CD8D5 0%, #C5C1FF 50%, #FFBAC3 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
    box-shadow: inset 3px 3px 8px #f2f2f2, inset -3px -3px 8px #ededed;
    text-shadow: none;
    transition: all .5s;
}

/* works */
#works {
    margin: 0 auto;
    padding-bottom: 100px;
    width: 95%;
}
#works .sec-title {
    font-size: 2rem;
    margin: 10px;
    padding-bottom: 10px;
    position: relative;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    text-shadow: 3px 3px 4px #2CD8D5, -2px -2px 4px #2cd8d5;
}
#works .slider {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 80px
}
#works .slider li {
    height: 50vh;
    width: 43vw;
}
#works .slider li:first-child, #works .slider li:nth-child(2) {
    padding-bottom: 100px;
}
#works .slider li:nth-child(2), #works .slider li:nth-child(4) {
    padding-right: 50px;
}
#works .slider li img {
    width:100%;
    height: 100%;
    object-fit: cover;
}
#works .slider li p {
    text-align: center;
    margin-top: 20px;
    font-family: sans-serif;
}
#works .btn {
    font-size: 2rem;
    display: block;
    text-align: center;
    margin: 0 auto;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    text-shadow: 3px 3px 4px #ccc, -2px -2px 4px #ccc, -3px 3px 4px #ccc;
    padding: 5px;
    border-radius: 100vh;
    box-shadow: 3px 3px 10px #f2f2f2, -3px -3px 10px #ededed;
    width: 200px;
    margin-bottom: 30px;
}
#works .btn:hover {
    background: -webkit-linear-gradient(225deg, #2CD8D5 0%, #C5C1FF 50%, #FFBAC3 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
    box-shadow: inset 3px 3px 8px #f2f2f2, inset -3px -3px 8px #ededed;
    text-shadow: none;
    transition: all .5s;
}


/* contact */
#contact {
    height: auto;
    right: 0;
}
#contact .sec-title {
    font-size: 2rem;
    margin: 50px 10px 10px 10px;
    padding-bottom: 10px;
    position: relative;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    text-shadow: 3px 3px 4px #2CD8D5, -2px -2px 4px #C5C1FF, -3px 3px 4px #FFBAC3;
}
#contact p {
    width: 70%;
    line-height: 1.5;
    margin:0 auto;
    font-size: 1rem;
    padding-top: 50px;
    padding-bottom: 50px;
}
#contact p span {
    font-size: 1.25rem;
    background: -webkit-linear-gradient(225deg, #2CD8D5 0%, #C5C1FF 60%, #FFBAC3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
}
#contact p .mail {
    font-size: 1.25rem;
    padding: 5px;
    font-family: sans-serif;
    color: #696a6a;
}

#contact .sns-voice{ 
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
}
#contact .sns-voice li {
    margin-right: 20px;
    font-size: 1.35rem;
}
#contact .sns-voice li:last-child {
    margin-right: 0;
}
#contact .btn {
    font-size: 2rem;
    display: block;
    text-align: center;
    margin: 0 auto;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    text-shadow: 3px 3px 4px #2CD8D5, -2px -2px 4px #C5C1FF, -3px 3px 4px #FFBAC3;
    padding: 5px;
    border-radius: 100vh;
    box-shadow: 3px 3px 10px #f2f2f2, -3px -3px 10px #ededed;
    width: 200px;
    margin-bottom: 30px;
}
#contact .btn:hover {
    background: -webkit-linear-gradient(225deg, #2CD8D5 0%, #C5C1FF 50%, #FFBAC3 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
    box-shadow: inset 3px 3px 8px #f2f2f2, inset -3px -3px 8px #ededed;
    text-shadow: none;
    transition: all .5s;
}



#footer {
    background-image: linear-gradient(125deg, #ffbac3 0%, #c5c1ff 56%,#2cd8d5 100%);
    width: 100%;
    height: 100px;
    text-align: center;
    display: table;
    color: #fff;
    margin-top: 20px;
    font-family: 'Shrikhand', cursive;
    text-shadow: 0 0 6px #fff;
}
#footer p {
    display: table-cell;
    vertical-align: middle;
}

/* about.html */
#about-detail {
    width:100%;
    height: auto;
    padding-top: 100px;
    background-image: url(../img/bg-chem.png);
}

#about-detail h2 {
    padding-bottom: 0;
}
#about-detail .sec-title {
    font-size: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 40px;
    position: relative;
    background-color: #fff;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    text-shadow: 3px 3px 4px #2CD8D5, -2px -2px 4px #c5c1ff, -3px 3px 4px #FFBAC3;
}
#about-detail .about-detail-flex {
    height: auto;
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 30px;
    padding-bottom: 100px;
    max-width: 1100px;
}
#about-detail .about-detail-flex .me {
    width: 30%;
    height: 260px;
    object-fit: cover;
    border-radius: 40% 70% 50% 30%/50%;
    margin-top: 100px;
    object-position: 50% 0%;
}
#about-detail .text-box {
    width: 60%;
    font-family: sans-serif;
}
#about-detail .text-box p {
    line-height: 1.7;
    margin-top: 50px;
    margin-bottom: 50px;
}
.history {
    font-size: 1.25rem;
    color: #696a6a;
    font-weight: bold;
}
.catchfrase {
    font-size: 1.5rem;
    background: -webkit-linear-gradient(225deg, #2CD8D5 0%, #c5c1ff 60%, #FFBAC3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
}
.charactor  {
    font-size: 1.25rem;
    color: #696a6a;
    font-weight: bold;
}
#about-detail .skill-title {
    max-width: 1200px;
    font-size: 2rem;
    background-color: #fff;
    font-family: 'Shrikhand', cursive;
    margin: 0 auto;
    padding-left: 30px;
    padding-bottom: 30px;
}
#about-detail .skill {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: #fff;
    padding: 30px;
}
#about-detail .skill li {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px dotted #696a6a;
}
#about-detail .skill li:last-child {
    margin-bottom: 50px;
}

#about-detail .skill-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-bottom: 20px;
    margin-left: 20px;
}
#about-detail .skill-p {
    font-family: sans-serif;
    text-align: end;
    vertical-align: middle;
    padding-top: 35px;
}

/* service.html */
#service-detail {
    padding-top: 100px;
}
#service-detail h2 {
    padding-bottom: 0;
}
#service-detail .sec-title {
    font-size: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    position: relative;
    color: #fff;
    text-shadow: 3px 3px 4px #2CD8D5, -2px -2px 4px #C5C1FF, -3px 3px 4px #FFBAC3;
    font-family: 'Shrikhand', cursive;
}
#service-detail h4 {
    margin: 20px 10px;
    position: relative;
    border-top: 3px solid #696a6a;
    padding-top: 1%;
    padding-left: 8%;
    padding-bottom: 20px;
    font-size: 2rem;
    font-style: italic;
    letter-spacing: .1em;
    color: #faffff;
    text-shadow: 1px 1px 8px #c5c1ff, -1px -1px 8px #ffbac3;
}
#service-detail h4 .third-title {
    color: #696a6a;
    margin: 10px 0;
    font-size: 1rem;
    font-style: normal;
    text-shadow: none;
}
#service-detail .circle-span {
    text-shadow: none;
    font-style: normal;
    position: absolute;
    top: -13px;
    left: 20px;
    display: inline-block;
    width: 52px;
    height: 50px;
    text-align: center;
    background-color: #2CD8D5;
}
#service-detail .circle-span::before, #service-detail .circle-span::after {
    position: absolute;
    content: '';
}
#service-detail .circle-span::before {
    right: -10px;
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #2CD8D5;
}
#service-detail .circle-span::after {
    top: 50%;
    left: 0;
    display: block;
    height: 50%;
    border: 1.6rem solid #2CD8D5;
    border-bottom-width: 12px;
    border-bottom-color: transparent;
    width: 52px;
}
.circle-text {
    position: relative;
    display: block;
    width: 55px;
    height: 55px;
    font-size: 0.6rem;
    z-index: 1;
    top: 30%;
    left: 0;
}
.circle-text-last {
    position: relative;
    display: block;
    width: 55px;
    height: 55px;
    font-size: 0.6rem;
    z-index: 1;
    top: 10%;
    left: 0;
}


.pricecard {
    width: 100%;
    border-collapse: collapse;
    position: relative;
}
.pricecard tr {
    background-color: #ededed;
    text-align: center
}
.pricecard tr:nth-child(odd) {
    background-color: #fff;
}
.pricecard tr th {
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    padding: 20px 10px;
    border: 2px solid #fff;
    border-radius: 5px;
    position: relative;
}
.pricecard tr th:nth-child(2) {
    background-color: #C5C1FF;
    width: 26%;
}
.pricecard tr th:nth-child(3) {
    background-color: #ffbac3;
    width: 35%;
}
.pricecard tr th:nth-child(4) {
    background-color: #2CD8D5;
    width: 26%;
}
.pricecard tr th h3 {
    font-size: 2rem;
    text-shadow: 0 0 4px #fff;
    margin: 10px 0;
    padding-top: 15px;
}
.pricecard-border-1 {
    padding-bottom: 5px;
    border-bottom: 2px solid #496da5;
    margin-bottom: 10px;
}
.pricecard-border-2 {
    padding-bottom: 5px;
    border-bottom: 2px solid #c64f6c;
}
.pricecard-border-3 {
    padding-bottom: 5px;
    border-bottom: 2px solid #218465;
    margin-bottom: 10px;
}
.pricecard tr th h3 .money {
    font-size: 1rem;
    text-shadow: none;
    margin: 20px 10px;
}
.pricecard tr th ul {
    color: #fff;
    font-weight: lighter;
    font-size: 1.15rem;
    text-shadow: none;
    padding: 20px 5px 50px 5px;
    text-align: left;
    line-height: 1.4;
}
.pricecard tr th ul li::before {
    content: '\02667';
    text-shadow: 0 0 3px #fff;
}
.pricecard tr th p {
    color: #fff;
    font-weight: lighter;
    font-size: 1.15rem;
    text-shadow: none;
    margin: 25px 5px;
}
.pricecard tr th p span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 4px #f05f8d;
    line-height: 1.7;
}
.pricecard tr th:nth-child(2) a, .pricecard tr th:nth-child(4) a {
    font-size: 1.5rem;
    display: block;
    text-align: center;
    margin: 0 auto;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    opacity: .8;
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 100vh;   
    width: 150px;
    text-shadow: none;
    position: absolute;
    bottom: 20px;
    left: 25%;
}
.pricecard tr th:nth-child(2) a:hover, .pricecard tr th:nth-child(4) a:hover {
    text-shadow: 0 0 4px #fff;
    transition: .5s;
    scale: 1.2;
}
.pricecard tr th:nth-child(3) a {
    font-size: 1.5rem;
    display: block;
    text-align: center;
    margin: 0 auto;
    font-family: 'Shrikhand', cursive;
    color: #fff;
    opacity: .8;
    padding: 5px;
    border: 1px solid #eee;
    border-radius: 100vh;   
    width: 150px;
    text-shadow: none;
    position:absolute;
    bottom: 20px;
    left: 33%;
}
.pricecard tr th:nth-child(3) a:hover { 
    text-shadow: 0 0 4px #fff;
    transition: .5s;
    scale: 1.2;
}
.pricecard tr td {
    border: 2px solid #fff;
    border-radius: 5px;
    padding:  20px 10px;
}

.caution {
    margin: 60px 5px 80px 5px;
    line-height: 1.5;
}
.caution li::before {
    content: "\02747";
    text-shadow: 0 0 1px #e59900;
}
.price-flex {
    font-size: 1.5rem;
    margin-bottom: 80px;
}
.price-flex span {
    margin: 10px 0 10px 30px;
}
.price-flex span::after {
    content: '';
    display: block;
    height: 4px;
    background-image: linear-gradient(to right, transparent, #2cd8d5, #c5c1ff, #ffbac3,transparent);
}
.price-flex ul {
    display: flex;
    width: 90%;
    font-size: 1.15rem;
    margin: 0 auto;
    border-bottom: 1px dotted #696a6a;
}
.price-flex ul :nth-child(2),.price-flex ul :nth-child(3),.price-flex ul :nth-child(6),.price-flex ul :nth-child(7),.price-flex ul :nth-child(9),.price-flex ul :nth-child(10) {
    margin-bottom: 20px;
}
.price-flex ul .price-title{
    margin: 20px 0;
    width: 30%;
    line-height: 36.8px;
}
.price-flex ul .price-how-page {
    margin: 20px 0;
    width: 10%;
    line-height: 36.8px;
}
.price-flex ul .how-much {
    margin: 20px 0;
    width: 20%;
    line-height: 36.8px;
}
.price-flex ul p {
    width: 40%;
    font-size: 1rem;
    margin: 20px 0;
}

.flow {
    padding-left: 120px;
    position: relative;
    margin: 50px 0 100px 0;
}
.flow::before {
   content: '';
   width: 15px;
   height: 100%;
   background: #eee;
   margin-left: -8px;
   display: block;
   position: absolute;
   top: 0;
   left: 120px; 
}
.flow > li {
    position: relative;
}
.flow >li:not(:last-child) {
    margin-bottom: 8vh;
}
.flow > li .icon {
    font-size: 1rem;
    color: #fff;
    background: #89bbad;
    border-radius: 5px;
    background: -moz-linear-gradient(45deg, #2CD8D5 0%, #c5c1ff 50%, #ffbac3 100%);
    background: -webkit-linear-gradient(45deg, #2CD8D5 0%, #c5c1ff 50%, #ffbac3 100%);
    background: linear-gradient(45deg, #2CD8D5 0%, #C5C1FF 50%, #ffbac3 100%);
    padding: 8px 20px;
    display: block;
    position: absolute;
    top: 4px;
    left: -120px;
    z-index: 1;
}
.flow > li .icon::after {
    content: '';
    border-style: solid;
    border-width: 5px 0 5px 10px;
    border-color: transparent transparent transparent #ffbac3;
    position: absolute;
    top: 50%;
    left: 100%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.flow > li dl {
    width: 90%;
    padding-left: 70px;
    position: relative;
}
.flow > li dl::before, .flow >li dl::after {
    content: '';
    display: block;
    position: absolute;
    top: 15px;
}
.flow > li dl::before {
    width: 7px;
    height: 7px;
    margin-top: -3px;
    background: #696a6a;
    border-radius: 50%;
    left: -4px;
}
.flow > li dl::after {
    width: 50px;
    border-bottom: 3px dotted #696a6a;
    position: absolute;
    left: 5px;
}
.flow > li dl dt {
    font-size: 20px;
    font-weight: 600;
    color: #faffff;
    text-shadow: 1px 1px 4px #2CD8D5, -1px -1px 4px #c5c1ff ;
    margin-bottom: 1vh;
}

/* works.html */
#works-detail {
    padding-top: 100px;
}
#works-detail .sec-title {
    font-size: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    color: #fff;
    text-shadow: 3px 3px 4px #2CD8D5, -2px -2px 4px #c5c1ff, -3px 3px 4px #FFBAC3;
    font-family: 'Shrikhand', cursive;
}
#works-detail .third-title {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Shrikhand', cursive;
    text-align: center;
    margin: 30px;
    color: #fff;
    text-shadow: -1px -1px 4px #2CD8D5, -2px 2px 4px #c5c1ff;
    position: relative;
}
#works-detail .third-title::before, #works-detail .third-title::after {
    position: absolute;
    top: calc(50% - 3px);
    width: 180px;
    height: 6px;
    content: '';
    border-top: 1px solid #696a6a;
    border-bottom: 1px solid #696a6a;
}
#works-detail .third-title::before {
    left: 25%;
}
#works-detail .third-title::after {
    right: 25%;
}
#works-detail .site-flex {
    display: flex;
    justify-content: space-between;
    margin: 200px 0 290px 0;
}
.door-wrap {
    position: relative;
    width: 50%;
   
}
.door-back,.door-front-1,.door-front-2,.door-front-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.door-front-1, .door-front-2, .door-front-3 {
    z-index: 1;
    transition: 2s;
    transform: translate(-50%, -50%);
    transform-origin: right;
}
.door-wrap p {
    position: absolute;
    bottom: -210px;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 2px dotted #c5c1ff;
    line-height: 1.4;
}
.logo-bunner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 50px;
    justify-items: center;
}
.exhibition-1 {
    text-align: center;
}
.exhibition-1:last-child {
    padding-bottom: 80px;
}
.exhibition-1 p::after {
    content: '';
    display: block;
    width: 150px;
    height: 2px;
    border-bottom: 2px dotted #FFBAC3;
    margin: 0 auto;
    padding-top: 4px;
}
.meishi {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 50px;
}
.revers img {
    width: 50%;
}
.revers {
    display: flex;
}
.exhibition-2:last-child {
    padding-bottom: 80px;
}
.exhibition-2 p {
    text-align: center;
    line-height: 1.4;
    padding-top: 10px;
}
.exhibition-2 p::after {
    content: '';
    display: block;
    width: 150px;
    height: 2px;
    border-bottom: 2px dotted #FFBAC3;
    margin: 0 auto;
    padding-top: 4px;
}


/* sp */
@media (max-width: 980px) {
    body {
        width: 100%;
    }
    #header {
        width: 100%;
        height: 60px;
        object-fit: cover;
        object-position: 80% 0;
    }
    #header .logo {
        margin: 0 10px;
        width: 150px;
        height: 60px;
    }
    #sns {
        display: none;
    }

    #nav-1 {
        margin-top: 20vh;
        flex-direction: column;
        text-align: center;
    }
    #nav-1 li {
        font-size: 1.5rem;
        margin-right: 0;
        margin-bottom: 30px;
    }
    #nav-li:last-child {
        margin-right: 0;
    }
    .header-menu {
        width: 100%;
        height: 100%;
        background-image: linear-gradient(225deg, #2CD8D5 0%, #C5C1FF 56%, #FFBAC3 100%);
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        opacity: 0;
        transition: .5s;
        z-index: 30;
    }
    .open .header-menu {
        right: 0;
        opacity: 1;
    }
    .hamburger {
        display: block;
        width: 60px;
        height: 60px;
        cursor: pointer;
        position: fixed;
        top: 10px;
        right: 5px;
        transition: .5s;
        z-index: 30;
    }
    .hamburger span {
        width: 40px;
        height: 2px;
        background-color: #fff;
        border-radius: 4px;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        transition: .5s;
        opacity: 0.8;
    }
    .hamburger span:nth-child(1) {
        top: 8px;
    }
    .hamburger span:nth-child(2) {
        top: 20px;
    }
    .hamburger span:nth-child(3) {
        top: 32px;
    }
    .open .hamburger span {
        background-color: #fff;
        opacity: 0.8;
    }
    .open .hamburger span:nth-child(1) {
        transform: translateY(12px) rotate(-495deg);
    }
    .open .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .open .hamburger span:nth-child(3) {
        transform: translateY(-12px) rotate(495deg);
    }
    #mask {
        display: none;
        transition: .5s;
    }
    .open #mask {
        width: 100%;
        height: 100%;
        background-image: linear-gradient(-225deg, #2CD8D5 0%, #C5C1FF 56%, #FFBAC3 100%);
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 20;
    }

    
    /* top */
    #top .top-text {
        width: 100%;
        height: 700px;
        vertical-align: middle;
    }
    #top .top-text .greeting {
        font-size: 2rem;
        width: 80%;
    }
    #top .top-text .greeting span {
        left: 15%;
    }
    #top .top-text .chatchfrase {
        top: 66%;
        left: 42%;
        font-size: 1.5rem;
        text-align: center;
    }
    #top video {
        width: 100%;
        height: 700px;
        object-fit: cover;
    }
    
    .fixed-bg {
        height: 100px;
    }
    
    .wrapper {
        margin: 10px;
    }
    
    /* about */
    #about {
        margin-top: 30px;
    }
    #about .flex {
        flex-direction: column;
        align-items: center;
    }
    #about img {
        width: 70%;
    }
    #about .about-text {
        width: 90%;
    }
    #about .btn {
        margin: 0 auto;
    }

    /* service */
    #service .service-3 {
        display: flex;
        flex-direction: column;
        width: 80%;
        margin: 0 auto;
        padding-top: 40px;
        padding-bottom: 50px;
    }
    #service .service-2 {
        width: 80%;
    }
    .service-item h3:last-child, .service-item h3:nth-child(4) {
        font-size: 1rem;
    }
    
    /* works */
    #works .slider {
        display: flex;
        flex-direction: column;
    }
    #works .slider li {
        width: 95%;
        padding-bottom: auto;
    }
    #works .slider li:nth-child(3) {
        padding-bottom: 80px;
    }
    #works .slider li:nth-child(2), #works .slider li:nth-child(4) {
        padding-right: 0;
    }
    #works .shapes-2 {
        top: 195%;
        left: 22%;
        width: 160px;
        height: 80px;
        transform: rotate(45deg);
    }
    
    /* contact */
    #contact .btn {
        font-size: 1.25rem;
    }
    #contact .shapes-3 {
        display: none;
    }
    #contact .shapes-4 {
        display: none;
    }
    /* footer */
    #footer {
        height: 60px;
    }

    /* about.html */
.wrapper {
    margin: 0 auto;
    padding: 10px;
}
#about-detail {
   padding-top: 60px;
}
#about-detail .sec-title {
    max-width: 800px;
    padding-left: 20px;
    background-color: #fff;
}
#about-detail .sec-title::before {
    left: 80px;
}

#about-detail .about-detail-flex {
    flex-direction: column;
}
#about-detail .about-detail-flex .me {
    width: 80%;
    margin: 0 auto;
}
#about-detail .text-box {
    width: 100%;
    padding: 0 20px;
}
#about-detail .text-box p {
    line-height: 1.7;
    margin-top: 50px;
    margin-bottom: 50px;
}
#about-detail .skill {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: #fff;
}
#about-detail .skill li {
    flex-direction: column;
    align-items: center;
    border-bottom: none;
}
#about-detail .skill li:last-child {
    margin-bottom: 20px;
}
#about-detail .skill-img {
    object-fit: cover;
}
#about-detail .skill-p {
    text-align: center;
    padding-top: 10px;
}

/* service.html */
#service-detail {
    padding-top: 60px;
}
#service-detail .sec-title {
    font-size: 2rem;
}
#service-detail h4 {
    padding-top: 3%;
    padding-left: 17%;
    font-size: 1.5rem;
}
#service-detail h4 .third-title {
    font-size: .865rem;
}
.pricecard tr th {
    font-size: 1rem;
}
.caution {
    font-size: .815rem;
}
.price-flex {
    font-size: 1.25rem;
}
.pricecard tr th:nth-child(2), .pricecard tr th:nth-child(4) {
    width: 29%;
}
.pricecard tr th:nth-child(3) {
    width: 37%;
}
.pricecard tr th h3 {
    font-size: 1rem;
}
.pricecard tr th:nth-child(3) h3 {
    margin-top: 30px;
}
.pricecard tr th h3 .money {
    font-size: 0.74rem;
    margin: 20px 0;
}
.pricecard tr th ul {
    font-size: 0.74rem;

}
.pricecard tr th p {
    font-size: 0.74rem;
    margin-top: 60px;
}
.pricecard tr th p span {
    font-size: 1rem;
}
.pricecard tr th:nth-child(2) a, .pricecard tr th:nth-child(4) a {
    font-size: 1.15rem;
    left: 2%;
    width: 120px;
}
.pricecard tr th:nth-child(3) a {
    font-size: 1.15rem;
    width: 120px;
    left: 12%;
}
.pricecard tr td {
    font-size: 0.3rem;
    padding: 10px 5px;
}

.price-flex {
    font-size: 1.15rem;
}
.price-flex ul {
    font-size: 0.71rem;
}
.price-flex ul p {
    font-size: 0.71rem;
}
.price-flex ul .price-title, .price-flex ul .price-how-page, .price-flex ul .how-much, .price-flex ul p {
    margin: 8px 0;
}
.flow > li .icon {
    font-size: 0.865rem;
    padding:  4px 10px;
    left: -92px;
}
.flow > li dl dt {
    font-size: 1.15rem;
}
.flow > li dl dd {
    font-size: 0.9rem;
}
.logo-bunner {
    grid-template-columns: 1fr 1fr;
}
.meishi {
    grid-template-columns: 1fr 1fr;
}

/* works.html */
#works-detail {
    padding-top: 60px;
}
#works-detail .sec-title {
    font-size: 2rem;
}
#works-detail .third-title {
    font-size: 1.25rem;
}
#works-detail .third-title::before {
    left: 0;
    width: 140px;
}
#works-detail .third-title::after {
    right: 0;
    width: 140px;
}
#works-detail .site-flex {
    flex-direction: column;
    margin-bottom: 950px;
    padding-bottom: 80px;
}
.door-wrap:nth-child(1) {
    position: absolute;
    width: 70%;
    top: 50%;
    left: 14%;
}
.door-wrap:nth-child(2) {
    position: absolute;
    width: 70%;
    top: 103%;
    left: 14%;
}
.door-wrap:nth-child(3) {
    position: absolute;
    width: 70%;
    top: 157%;
    left: 14%;
}


}
