@charset "UTF-8"; /* CSS Document */ //ブレイクポイントを指定------ここから $xl: 1399px; $lg: 1199px; $md: 991px; $sm: 767px; $xs: 575px; @mixin xl { @media screen and (max-width: ($xl)) { @content; } } @mixin lg { @media screen and (max-width: ($lg)) { @content; } } @mixin md { @media screen and (max-width: ($md)) { @content; } } @mixin sm { @media screen and (max-width: ($sm)) { @content; } } @mixin xs { @media screen and (max-width: ($xs)) { @content; } } //ブレイクポイントを指定------ここまで $removal-color: #e8527c; $oxygen-color: #3ca0f1; .removal-color { color: $removal-color; } .oxygen-color { color: $oxygen-color; } .link-box { background-color: #fff; border: solid 1px $removal-color; border-radius: 20px; color: $removal-color; font-size: 15px; font-size: 1.5rem; font-weight: bold; padding: 0.7rem 2em 0.7rem 4em; margin: 1rem auto; display: inline-block; margin-bottom: 6rem; transition: 0.3s; @include md { margin-bottom: 3rem; } &::after { font-family: "Font Awesome 5 Free"; content: "\f054"; font-weight: 900; margin-left: 3em; } &:hover { color: #fff; background-color: $removal-color; } } /* ----------mainimage-area---------- */ #mainimage-area { position: relative; .top-img { img { width: 100%; height: 100%; } &::after { display:inline; position: absolute; content: ""; background-image: url("../img/copy.svg"); background-repeat: no-repeat; background-size: contain; margin: 0 auto; height: 530px; width: 390px; top: 50%; right: 14%; transform: translateY(-50%); -webkit-transform:translateY(-50%); transition: 0.3s; @include xl { height: 480px; width: 340px; } @include lg { height: 410px; width: 290px; right: 15%; } @include md { height: 300px; width: 220px; right: 13%; } @include sm { height: 250px; width: 200px; right: 11%; } @include xs { height: 170px; width: 130px; } } } .decorate { img { position: absolute; &:first-child { top: 5%; left: 6%; width: 90px; @include md { left: 4%; width: 70px; } @include xs { left: 3%; width: 50px; } } &:last-child { bottom: 4%; right: 6%; width: 80px; @include md { right: 4%; width: 60px; } @include xs { right: 3%; width: 45px; } } } } } /* ----------recommend---------- */ #recommend { background-image: url("../img/recommend-bg2.jpg"); background-size: cover; background-position: center; margin-top: 110px; margin-bottom: 100px; position: relative; @include xs { margin-bottom: 80px; } @include xs { margin-top: 80px; margin-bottom: 70px; } h1 { font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"; font-size: 44px; font-size: 4.4rem; position: absolute; top: -2.5rem; left: 0; right: 0; margin: 0 auto; text-align: center; @include md { font-size: 40px; font-size: 4rem; } @include sm { font-size: 35px; font-size: 3.5rem; } @include xs { font-size: 30px; font-size: 3rem; top: -2rem; } } p { text-align: center; &:nth-of-type(1) { font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"; font-size: 25px; font-size: 2.5rem; padding-top: 6rem; @include md { padding-top: 5rem; } @include sm { font-size: 20px; font-size: 2rem; padding-top: 4rem; } } &:nth-of-type(2) { font-size: 16px; font-size: 1.6rem; margin-top: 2rem; @include xs { text-align: justify; font-size: 14px; font-size: 1.4rem; padding: 0 1rem; } } } } .benefits { margin: 0 auto; width: 60%; text-align: center; @include md { width: 70%; } @include sm { width: 85%; } @include xs { width: 95%; } dl { display: block; background-color: #fff; box-shadow: 2px 2px 5px rgba(0,0,0,0.2); font-size: 25px; font-size: 2.5rem; @include md { font-size: 22px; font-size: 2.2rem; } @include sm { font-size: 20px; font-size: 2rem; } @include xs { font-size: 18px; font-size: 1.8rem; } dt { background: rgb(239,134,163); background: linear-gradient(90deg, rgba(239,134,163,1) 0%, rgba(118,188,245,1) 100%); color: #fff; font-weight: bold; padding: 1rem 0; @include xs { padding: 0.5rem 0; } } dd { color: $removal-color; font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"; line-height: 1.7; padding: 2rem 0; @include md { line-height: 1.5; } @include sm { padding: 1.5rem 0; } @include xs { padding: 1rem 0; } span { font-weight: 900; } } } } /* ----------menu---------- */ #menu { position: relative; overflow-x: hidden; h2 { margin-bottom: 11rem; @include lg { margin-bottom: 10rem; } } .oxygen { background-color: #ebf5fe; } } #menu .removal { position: relative; background-color: #fdeef2; margin-bottom: 25rem; @include xs { margin-bottom: 20rem; } .h3-line { width: calc(100vw - 50vw); margin: 0 -19%; border-bottom: solid 1px $removal-color; @include sm { width: inherit; margin: auto; } h3 { border-bottom: solid 1px $removal-color; position: relative; margin-bottom: 2px; padding-left: 100px; width: calc(100vw - 50px); @include sm { padding-left: 0; width: inherit; } } } ul { color: #4d4d4d; li { margin: 1rem 0; @include lg { margin: 0.5rem 0; } &::before { content: "●"; color: $removal-color ; margin-right: 5px; } } } .bubble img { margin-top: -9rem; margin-left: -6rem; padding-right: 6rem; @include lg { margin-top: -8rem; margin-left: -4rem; padding-right: 4rem; } @include md { margin-left: -2rem; padding-right: 2rem; } @include sm { margin-left: 0; } } .img-01 { position: relative; z-index: 111; img { margin-top: -50px; max-width: 90%; margin-bottom: 2rem; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); @include sm { max-width: 70%; } @include xs { max-width: 80%; } } } .img-02 { position: relative; img { max-width: 70%; margin-bottom: -5rem; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); @include sm { max-width: 55%; margin-bottom: 11rem; } @include xs { max-width: 70%; margin-bottom: 8rem; } } } } #menu .oxygen { position: relative; background-color: #ebf5fe; h3 { color: $oxygen-color; border-bottom: solid 1px $oxygen-color; position: relative; margin-bottom: 2px; padding-bottom: 3px; width: 110%; @include sm { padding-left: 0; width: inherit; } &::before { content: ""; display: block; position: absolute; width: 125%; margin: 0 0 0 -25%; border-bottom: solid 1px #3ca0f1; bottom: 2px; left: 0; @include sm { width: 100%; margin: 0; } } } ul { color: #4d4d4d; li { margin: 1rem 0; @include lg { margin: 0.5rem 0; } &::before { content: "●"; color: $oxygen-color ; margin-right: 5px; } } } .bubble img { margin-top: -9rem; @include lg { margin-top: -8rem; } @include sm { margin-top: 5rem; } @include xs { margin-top: 3rem; } } .img-03 { position: relative; z-index: 111; img { margin-top: -50px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); @include sm { width: 80%; } } } .link-box { color: $oxygen-color; border: solid 1px $oxygen-color; &:hover { background-color: $oxygen-color; color: #fff; } } } #menu .decorate { img { position: absolute; &:first-child { top: 0; left: 5%; width: 90px; @include lg { left: 4%; width: 80px; } @include md { left: 2%; width: 70px; } @include xs { left: 3%; width: 50px; } } &:last-child { top: 46%; right: 5%; width: 120px; @include lg { top: 45%; right: 4%; width: 110px; } @include md { top: 44%; right: 4%; width: 100px; } @include sm { top: 51%; right: 4%; width: 90px; } @include xs { top: 54%; right: 3%; width: 80px; } } } } /* ----------message---------- */ #message { padding: 10rem 0; position: relative; @include lg { padding: 8rem 0; } @include md { padding: 6rem 0; } @include sm { padding: 4rem 0; } p { font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif"; text-align: center; font-size: 25px; font-size: 2.5rem; color: $removal-color; line-height: 1.7em; @include sm { font-size: 22px; font-size: 2.2rem; line-height: 1.7em; } @include xs { font-size: 20px; font-size: 2rem; line-height: 1.7em; } } .decorate { img { position: absolute; &:first-child { top: -5%; left: 5%; width: 125px; @include lg { top: -5%; left: 4%; width: 100px; } @include md { left: 2%; width: 80px; } @include sm { left: 1%; width: 60px; } @include xs { width: 50px; } } &:last-child { bottom: -5%; right: 5%; width: 125px; @include lg { bottom: -5%; right: 4%; width: 100px; } @include md { right: 4%; width: 80px; } @include sm { right: 4%; width: 60px; } @include xs { right: 3%; width: 50px; } } } } }