@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; } } //ブレイクポイントを指定------ここまで footer .footer-box { margin-top: -20rem; @include sm { margin-top: 0; } } .topslider{ margin-top: 14rem; padding: 0; @include sm { margin-top: 10rem; } } .slick-slide img { width: 100%; } //slide---------------------------------ここまで #preface{ background: #EBFBFD; position: relative; margin-top: -4rem; @include sm { margin-top: -2rem; } &::before{ content: ""; background: url(../img/preface-parts.svg); background-repeat: no-repeat; background-size: cover; background-position: center top; display: block; width: 100%; height: 120px; position: absolute; top: -50%; @include lg { top: -35%; } @include md { top: -20%; } @include sm { top: -10%; } } .d-flex{ position: relative; @include sm { flex-wrap: wrap; } .order-1{ order: 2; @include sm { order: 1; text-align: center; } } .order-2{ order: 1; @include sm { order: 2; } } p{ font-size: 20px; font-size: 2rem; color: #51C2D5; line-height: 2em; @include md{ font-size: 18px; font-size: 1.8rem; } @include xs{ font-size: 16px; font-size: 1.6rem; } } figure{ @include md{ display: block; width: 100%; min-width: 235px; } img{ position: absolute; max-width: 260px; top: -50%; right: 0; @include lg { max-width: 230px; } @include md { top: -20%; } @include sm { position: relative; top: 0; left: 0; right: 0; margin: auto; max-width: 300px; } } } } } //preface-------------------------------ここまで h2{ font-size: 4rem; font-size: 40px; color: #51C2D5; font-weight: normal; span{ font-size: 1.6rem; font-size: 16px; color: #828282; padding-left: 0.7em; } } //parts---------------------------------ここまで #news{ background: #EBFBFD; padding: 2rem 0 6rem; @include xs{ padding: 4rem 0; } .d-flex{ justify-content: space-between; align-items: baseline; margin-bottom: 2rem; a{ color: #3C3C3C; &:hover{ color: #51C2D5; } } i{ padding-left: 1em; } } .trim{ overflow: hidden; max-height: 200px; filter: drop-shadow(2px 2px 5px rgba(45,175,148,0.4)); @include md { max-height: 155px; } a{ img{ transition: 0.5s; &:hover{ transform: scale(1.1); } } } } .blog-box{ padding: 2rem; .blogdate{ font-size: 1.4rem; font-size: 14px; margin-bottom: 0; } .blogtitle{ color: #51C2D5; } .text{ font-size: 1.4rem; font-size: 14px; } } ul { padding: 0; li{ @include xs { padding: 0.5rem; } a{ text-align: center; color: #FFFFFF; background: #51C2D5; margin: 2rem auto 0; padding: 1rem 7rem; position: relative; display: block; transition: all 0.3s ease-out; overflow: hidden; @include md { padding: 1rem 3rem; } @include xs { margin: 0; padding: 1rem; } &:hover{ filter: drop-shadow(2px 2px 5px rgba(45,175,148,0.4)); } img{ position: relative; } &::before{ content: ''; background: linear-gradient(90deg, #51C2D5 0%, #4BE4C5 100%); height: 100%; left: 0; position: absolute; top: 0; transition: all 0.3s ease-out; width: 100%; } &:hover::before{ opacity: 0; } } } } } //news----------------------------------ここまで article{ background: url("../img/back.png"); background-repeat: repeat-y; background-position: center top; background-size: cover; padding-bottom: 45rem; position: relative; .left-bubble{ position: absolute; max-width: 150px; left: 0; top: 25%; filter: drop-shadow(5px 5px 5px rgba(45, 175, 148, 0.3)); @include xs { display: none; } } .right-bubble{ position: absolute; max-width: 150px; top: 25%; right: 0; filter: drop-shadow(5px 5px 5px rgba(45, 175, 148, 0.3)); @include xs { display: none; } } } #access{ padding: 4rem 0; div.container{ position: relative; z-index: 1; .google-map{ display: block; height: 330px; margin: 2rem 0 5rem; iframe{ border: 0; width: 100%; height: 100%; } } dl{ justify-content: center; align-items: center; @include xs { display: block!important; } dt{ display: block; min-width: 250px; @include xs { width: 90%; margin: auto; } } dd{ margin-left: 4rem; @include xs { margin-left: 0; margin-top: 2rem; } hr{ border: 1px solid #BBF1FA; margin-bottom: 1.5rem; } .title{ display: inline-block; background: #51C2D5; color: white; padding: 0.5rem 2rem 0.5rem 4rem; position: relative; overflow: hidden; margin-bottom: 0; &::before{ content: ""; display: inline-block; position: absolute; left: 0; top: 0; bottom: 0; margin: auto; width: 20px; height: 35px; border-style: solid; border-width: 20px 0 20px 30px; border-color: transparent transparent transparent #bbf1fa; } } } } } } //access--------------------------------ここまで #information{ margin-top: 5rem; div.container{ position: relative; z-index: 1; .d-flex{ margin-top: 3rem; justify-content: center; } h2 + .d-flex{ @include sm { display: block!important; } } table{ width: 490px; @include sm { background: #F4FBF9; } @include xs { width: 100%; } tr{ border-bottom: 1px solid #2DAF94; th{ border-left: 1px solid #2DAF94; text-align: center; font-size: 1.8rem; font-size: 18px; font-weight: normal; color: #2DAF94; padding: 0 1rem; @include sm { padding: 1rem; } @include xs { padding: 0.5rem; } } th:first-child{ border-left: none; } th:last-child{ @include xs { width: 20%; } } td{ border-left: 1px solid #2DAF94; text-align: center; color: #2DAF94; padding: 0 1rem; span{ font-size: 12px; font-size: 1.2rem; } @include sm { padding: 1rem; } @include xs { padding: 0.5rem; } } td:first-child{ border-left: none; color: #3C3C3C; letter-spacing: 2px; } } tr:first-child{ border-top: 2px solid #2DAF94; background: #C8F6ED; } tr:last-child{ border-bottom: 2px solid #2DAF94; td{ line-height: 2rem; } } } dl{ margin-left: 4rem; @include sm { margin-left: 0; margin-top: 2rem; } dt{ color: #2DAF94; } dd + dt{ margin-top: 3rem; @include sm { margin-top: 1rem; } } } a{ display: inline-block; border-radius: 5rem; background: white; border: 2px solid #2DAF94; padding: 1rem 8rem; margin-top: 4rem; @include sm { padding: 1rem 5rem; margin-top: 1rem; } @include sm { padding: 1rem 2rem; margin-top: 2rem; display: block; border-radius: 2rem; } &:hover{ border: 2px solid #DD828F; } &:hover p{ color:#DD828F; } div{ margin-top: 0!important; justify-content:space-between!important; align-items: center; p{ font-size: 2rem; font-size: 20px; color: #2DAF94; margin: 0 4rem 0 0; @include sm { font-size: 1.8rem; font-size: 18px; margin: 0; } i{ padding-left: 2rem; @include sm { padding-left: 1rem; } } } img{ @include sm { width: 45%; } } } } } } //information---------------------------ここまで #menu{ -webkit-clip-path:circle(120vh at 50% 121vh); clip-path:ellipse(145vh 120vh at 50% 120vh); background: rgb(81,194,213); background: linear-gradient(90deg, rgba(81,194,213,1) 0%, rgba(75,228,197,1) 100%); margin-top: -35rem; padding: 8rem 0; @include sm { padding: 6rem 0; } h2{ color: white; margin-bottom: 3rem; } h2 + p{ color: white; text-align: center; margin-bottom: 4rem; @include md { text-align: justify; } @include xs { margin-bottom: 2rem; } } div.row{ @include xs { padding: 0; } } div.row + div a{ color: #2DAF94; font-size: 20px; font-size: 2rem; background: white; display: inline-block; border-radius: 5rem; padding: 2rem 10rem; border: 1px solid #2DAF94; @include xs { border-radius: 2rem; padding: 2rem 6rem; margin-top: 3rem; } &:hover{ background: #2DAF94; color: white; } i{ margin-left: 1rem; } } dl{ margin-bottom: 4rem; @include xs { padding: 0.5rem; margin-bottom: 1rem; } ul.ddmenu { margin: 0px; padding: 0px 0px 0px 15px; background: rgb(200,246,237); background: linear-gradient(90deg, rgba(200,246,237,1) 0%, rgba(187,241,250,1) 100%); padding: 0; li{ width: 100%; display: inline-block; list-style-type: none; position: relative; p{ background: #BBF1FA; color:#3C3C3C; line-height: 40px; text-align: center; text-decoration: none; display: block; font-size: 2rem; font-size: 20px; margin: 0; padding: 1rem; @include md { font-size: 1.7rem; font-size: 17px; } @include xs { font-size: 1.5rem; font-size: 15px; padding: 1rem 0.5rem; line-height: 25px; } &::after{ font-family: "Font Awesome 5 Free"; content: "\f13a"; font-weight: 900; padding-left:1rem; color: #2DAF94; } &:hover{ background: #2DAF94; color: white; } &:hover::after{ color: white; } } p.open{ &::after{ font-family: "Font Awesome 5 Free"; content: "\f139"; font-weight: 900; padding-left:1rem; color: #2DAF94; } &:hover::after{ color: white; } } ul{ margin: 0px; padding: 0px; display: none; li{ width: 100%; border-bottom: 1px solid #4BE4C5; a{ display: block; padding: 1rem; background: white; color: #2DAF94; text-align: center; &::after{ font-family: "Font Awesome 5 Free"; content: "\f35d"; font-weight: 900; padding-left:1rem; color: #2DAF94; } &:hover{ background: #E3FAF6; } } } } } } } } //menu----------------------------------ここまで .footerslider{ padding: 0; } .footerslider .slick-slide { width: 400px; height: 400px; position: relative; overflow: hidden; img { display: block; width: 100%; height: 100%; object-fit: cover; } } //footerslider--------------------------ここまで