@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; } } //ブレイクポイントを指定------ここまで //カラー指定 $main-color: #296ece; $skyblue: #62c9ff; $main-bg: #effaff; //共通 main { overflow: hidden; scroll-padding-top: 100px; padding-top: 85px; @include sm { padding-top: 2rem; margin-top: 70px; } } .anchor { padding-top: 120px; /* ヘッダーの高さを入力 */ margin-top: -120px; /* ヘッダーの高さを入力 */ } .inner { width: 83%; margin: 0 auto; @include md { width: 90%; } @include sm { width: 100%; } } .container-l { max-width: 1300px; margin: auto; @include xl { max-width: calc(100% - 50px); } @include lg { max-width: 960px; } @include md { max-width: 720px; } @include sm { max-width: 540px; } @include xs { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; } } .color-blue { color: $main-color; } .shadow-01 { box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.1); } .round { border-radius: 10px; } //リンクボタン .btn_center { display: flex; justify-content: center; } a.link_btn { color: $main-color; font-size: 18px; font-size: 1.8rem; font-weight: 600; background-color: #ffffff; width: 323px; height: 60px; text-align: center; border: 1.5px solid $main-color; position: relative; z-index: 1; overflow: hidden; border-radius: 2em; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5em 0 2.5em; transition: 0.6s; @include xs { width: 275px; } i { font-size: 0.75rem; } } a.link_btn::before { content: ""; width: 120%; height: 200%; position: absolute; top: -50%; right: 0; z-index: -1; background: $main-color; transform: translateX(-100%); transition: transform ease 0.6s; } a.link_btn:hover { color: #fff; } a.link_btn:hover::before { transform: translateX(10%); } h2 { text-align:center; margin-bottom: 8.5rem; @include md { margin-bottom: 6.5rem; } @include xs { margin-bottom: 3.5rem; } .deco { position: relative; text-align: center; display: inline-block; span.en { font-size: 15px; font-size: 1.5rem; color: $main-color; } span.ja { font-size: 28px; font-size: 2.8rem; line-height: 1.9; } &::before { background-image: url("../img/deco.svg"); background-size: cover; background-repeat: no-repeat; content: ""; margin: 0 auto; position: absolute; left: -100px; top: -27px; height: 116px; width: 116px; @include md { left: -80px; } } } } //header .site-header { overflow: visible; .header-flex { position: fixed; // position: sticky!important; /* headerを追従にする */ max-width: 100%; width: 100%; height: 85px; z-index: 999; background-color: #fff; transition: background-color .5s, color .5s; display: flex!important; justify-content: space-between; align-items: center; .logo { margin-left: 3rem; img { width: 200px; } } .header-inner { display: flex; justify-content: flex-end; ul { display: flex; align-items: center; justify-content: flex-end; height: 80px; text-align: right; padding-right: 3rem; margin: 0; li { display: inline-block; font-size: 14px; font-size: 1.4rem; font-weight: 500; padding-left: 3rem; @include md { padding-left: 2rem; } a { display: block; color: #505050; transition: 0.3s; &:hover { color: $main-color; } } a.recruit { color: #ffffff; background: linear-gradient(270deg, #62c9ff, #3277e3, #62c9ff) 0 50% / 300% 100%; padding: 0.8rem 4rem 1.0rem 4rem; border-radius: 5px; transition: all .5s ease; @include md { padding: 0.8rem 3rem 1.0rem 3rem; } } a.recruit:hover { background-position: 100% 50%; } a.contact { display: flex; align-items: center; justify-content: center; background-color: #0f4b93; border-radius: 50%; height: 48px; width: 48px; margin-right: 0; img { height: 17px; } } a.contact:hover { background-color: $skyblue; } } } .contact { a { background-color: $main-color; height: 80px; width: 80px; display: flex; align-items: center; justify-content: flex-end; transition: 0.3s; &::before { content: ""; background-image: url("../img/contact-white.svg"); height: 24px; width: 35.6px; margin: auto; } &:hover { background-color: #505050; } } } } @include sm { display: none!important; } } } ///*------ スマホ用ヘッダー ------*/ .header { position: fixed; // position: sticky!important; /* headerを追従にする */ top: 0; left: 0; right: 0; width: 100%; background-color: #fff; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16); z-index: 999; .logo { display: flex; a{ img{ width: 190px; &:hover{ opacity: 0.5; } } } } .header__inner { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 2rem; } } .drawer__button { position: relative; width: 4rem; height: 4rem; background-color: transparent; border: none; cursor: pointer; z-index: 999; & > span{ display: block; position: absolute; top: 50%; left: 50%; width: 4rem; height: 2px; background-color: #505050; transform: translateX(-50%); } & > span:first-child{ transform: translate(-50%, calc(-50% - 1rem)); transition: transform 0.3s ease; } & > span:nth-child(2){ transform: translate(-50%, -50%); transition: opacity 0.3s ease; } & > span:last-child{ transform: translate(-50%, calc(-50% + 1rem)); transition: transform 0.3s ease; } } .drawer__button.active{ & > span:first-child{ transform: translate(-50%, -50%) rotate(-45deg); } & > span:nth-child(2){ opacity: 0; } & > span:last-child{ transform: translate(-50%, -50%) rotate(45deg); } } .drawer__nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: rgba(0, 0, 0, 0.5); transition: opacity 0.3s ease; opacity: 0; visibility: hidden; .drawer__nav__inner { position: relative; width: 60%; height: 100%; background-color: #e5f5ff; padding: 0; margin: 0 0 0 auto; overflow: scroll; transform: translateX(100%); transition: transform 0.3s ease; .drawer__nav__menu { list-style: none; padding-left: 0; padding-top: 7.5rem; .drawer__nav__link { font-size: 20px; font-size: 2rem; display: block; color: #505050; text-decoration: none; padding: 2rem; border-bottom: solid 1px lightgray; transition: 0.3s; display: flex; justify-content: space-between; align-items: center; &:hover{ background-color: $main-color; } i { font-size: 16px; font-size: 1.6rem; margin-right: 1em; padding-top: 0.2rem; } } .drawer__nav__link.recruit { background-color: $skyblue; color: #fff; } .drawer__nav__link.contact { background-color: #548bd8; color: #fff; } li:last-child{ border-bottom: none; } } } } .drawer__nav.active { opacity: 1; visibility: visible; .drawer__nav__inner { transform: translateX(0); } } body.active { height: 100%; overflow: hidden; } //footer .site-footer { .footer-info{ background-color: $main-bg; padding-top: 18rem; position: relative; @include sm { padding-top: 13rem; } @include xs { padding-top: 9rem; } .arc-bottom { position: absolute; top: 0; } .footer-top { display: flex; height: 280px; margin-bottom: 6rem; @include md { height: 243px; } @include sm { flex-direction: column; height: auto; margin-bottom: 3rem; } .g-map { width: 43%; @include sm { width: 100%; height: 190px; } @include xs { height: 150px; } iframe { width: 100%; height: 100%; } } .schedule { width: 57%; padding-left: 5rem; @include md { padding-left: 3rem; } @include sm { width: 100%; padding-left: 0; margin-bottom: 2rem; } .table-bg { background-color: #ffffff; border-radius: 10px; padding: 0 1.4rem; height: 210px; display: flex; align-items: center; margin-bottom: 1rem; // box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.1); @include md { height: 187px; } @include xs { height: auto; padding: 1rem 1.9rem; } table { width: 100%; text-align: center; font-weight: 600; @include xs { font-size: 14px; font-size: 1.4rem; } tr { th { color: $main-color; padding: 1.5rem 0; } td { color: $skyblue; border-top: 1px solid #afafaf; padding: 1.5rem 0; &:first-child { color: #505050; width: 30%; @include xs { letter-spacing: 0.1rem; } } } td.gray { color: #505050; font-weight: 400; } } } } p { font-weight: 600; font-size: 18px; font-size: 1.8rem; @include md { font-size: 17px; font-size: 1.7rem; } @include xs { text-align: center; margin-bottom: 0; } span { color: $main-color; } i { color: $skyblue; } } } } .access { text-align: center; margin-bottom: 4.7rem; display: flex; flex-direction: column; align-items: center; @include sm { margin-bottom: 2rem; } img { width: 310px; margin-bottom: 1rem; @include xs { margin-bottom: 0; } } a { display: inline; color: $main-color; font-size: 27px; font-size: 2.7rem; font-weight: 600; span { font-size: 35px; font-size: 3.5rem; padding-left: 0.8rem; } } p { line-height: 1.5; } } .link-box { display: flex; justify-content: center; @include sm { flex-direction: column; } ul { display: flex; justify-content: center; align-items: center; margin-bottom: 0; padding-bottom: 2.8rem; @include sm { padding-bottom: 1.8rem; } @include xs { font-size: 1.45px; font-size: 1.45rem; } li { a { font-weight: 600; color: #505050; margin-right: 2em; transition: 0.3s; @include xs { margin-right: 1.5em; } } a:hover { color: $main-color; } a.recruit { color: #ffffff; background: linear-gradient(270deg, #62c9ff, #3277e3, #62c9ff) 0 50% / 300% 100%; padding: 1.2rem 4rem 1.4rem 4rem; border-radius: 5px; margin-right: 1.5em; transition: all .5s ease; } a.recruit:hover { background-position: 100% 50%; } a.contact { display: flex; align-items: center; justify-content: center; background-color: #0f4b93; border-radius: 50%; height: 48px; width: 48px; margin-right: 0; img { height: 17px; } } a.contact:hover { background-color: $skyblue; } } li:nth-child(4) { a { @include xs { margin-right: 0; } } } } } } .copyright { color: #ffffff; background-color: $skyblue; height: 50px; display: flex; align-items: center; justify-content: center; p { font-size: 12px; font-size: 1.2rem; margin-bottom: 0; } } } //ul-header #ul-header { margin-bottom: 11.1rem; @include lg { margin-bottom: 8rem; } @include md { margin-bottom: 4rem; } .ul-header-bg { background-image: linear-gradient(90deg, rgba(98, 201, 255, 0.3), rgba(50, 119, 228, 0.3)); height: 260px; width: calc(100% - 75px); margin: 0 auto; border-radius: 10px; position: relative; display: flex; align-items: center; @include sm { height: 200px; } @include xs { width: calc(100% - 30px); height: 180px; } h1 { letter-spacing: 0.45rem; margin-left: 4em; line-height: 1.35; position: relative; z-index: 5; @include md { margin-left: 2.5em; } @include xs { line-height: 1.1; margin-left: 2em; } span.ja { font-size: 50px; font-size: 5rem; font-weight: 500; @include xs { font-size: 40px; font-size: 4rem; } } span.en { font-size: 20px; font-size: 2rem; font-weight: 600; color: $main-color; } } img { position: absolute; height: 260px; top: 0; right: 6rem; @include md { right: 2rem; } @include sm { right: -1rem; } @include sm { height: 200px; } @include xs { height: 180px; } } } } #page-link { margin-bottom: 10rem; z-index: 10; position: relative; @include sm { // margin-bottom: 8rem; margin-bottom: 5rem; } @include xs { margin-bottom: 5rem; } ul { display: flex; justify-content: center; align-content: center; flex-wrap: wrap; li { margin-bottom: 0.7rem; a { color: $main-color; font-size: 18px; font-size: 1.8rem; font-weight: 600; transition: 0.1s; padding: 0 2em; @include md { padding: 0 1.5em; } @include sm { padding: 0 0.4em; } span { font-size: 15px; font-size: 1.5rem; } &:hover { color: $skyblue; } } &::after { content: "︙"; color: $skyblue; } &:last-child::after { content: none; } } } } /* トップへ戻るボタン */ #page-top { // display: block!important; position: fixed; bottom: 10px; right: 10px; margin-bottom: 0; z-index: 999; a { img { width: 55px; height: 55px; transition: 0.3s; } } &:hover { a { img { transform: scale(1.1, 1.1) } } } }