@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; } } //ブレイクポイントを指定------ここまで //メインカラー指定 $color-g1: #6bc2b4; $color-g2: #339999; #wrapper{ overflow: hidden; } article { background-color: rgba(107,194,180,0.1); } //main-img #main-img { position: relative; max-width: 1400px; margin: 0 auto; img:last-of-type { position: absolute; top: -3.5rem; width: 100px; right: 25%; @include lg { width: 85px; top: -3rem; right: 28%; } @include md { width: 75px; } @include sm { display: none; } } } //main-nav #main-nav { background-color: $color-g1; @include md { display: none; } &>ul { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; &>li { position: relative; width: 20%; border: solid 1px #fff; height: 77px; &>a { display: flex; justify-content: center; align-items: center; text-align: center; height: 100%; font-size: 18px; font-size: 1.8rem; font-weight: 500; line-height: 1.5; color: #fff; &:hover { background-color: #ecf480; color: #000; } } ul { list-style: none; display: block; position: absolute; z-index: 9999; background-color: #fbfde5; top: 100%; left: 0; padding: 0; width: 100%; li { height: auto; transition: 0.2s; display: none; padding-bottom: 0; border-bottom: dashed 1.5px $color-g1; &:last-of-type { border-bottom: none; } &>a { display: block; text-align: center; font-weight: 500; font-size: 15px; font-size: 1.5rem; color: #000; padding: 1rem; line-height: 1.4; &:hover { color: $color-g2; } } } } &:hover { ul { li { display: block; } } } } } } //news #news { position: relative; padding: 6rem 0; h2 { font-family: 'Mochiy Pop One', sans-serif; font-size: 39px; font-size: 3.9rem; color: $color-g2; margin-bottom: 2rem; @include md { font-size: 37px; font-size: 3.7rem; } @include sm { font-size: 35px; font-size: 3.5rem; } @include xs { font-size: 27px; font-size: 2.7rem; margin-bottom: 1rem; } } img { position: absolute; width: 220px; top: 1rem; right: 0; z-index: -1; @include md { width: 200px; } @include sm { width: 190px; } @include xs { width: 165px; top: 1.2rem; } } } // タブのスタイル .tab_item { display: flex; justify-content: center; align-items: center; background-color: $color-g1; width: 25%; border: solid 2px #f0f9f7; border-top: none; margin-bottom: 0; height: 57px; font-size: 18px; font-size: 1.8rem; text-align: center; color: #fff; float: left; font-weight: 500; transition: all 0.2s ease; border-radius: 5px; @include md { height: 50px; } @include sm { height: 45px; font-size: 16px; font-size: 1.6rem; margin-right: 0; } @include xs { width: 25%; font-size: 14px; font-size: 1.4rem; line-height: 1.4; } &:hover { cursor: pointer; background-color: #ecf480; color: #000; } } // ラジオボタンを全て消す input[name="tab_item"] { display: none; } // タブ切り替えの中身のスタイル .tab_content { clear: both; overflow: hidden; display: none; } // 選択されているタブのコンテンツのみを表示 #all:checked ~ #all_content, #course:checked ~ #course_content, #event:checked ~ #event_content, #donation:checked ~ #donation_content { display: block; } // タブのスタイル変更 .tabs input:checked + .tab_item { background-color: #ecf480; color: #000; } // 新着情報の内容 .newsarea { height: 600px; text-align: left; background-color: #FFFFFF; border: solid 10px #ecf480; border-radius: 5px; padding: 15px; overflow: scroll; margin-bottom: 0px; font-size: 90%; list-style: none; @include md { height: 545px; } @include sm { height: 390px; } @include xs { height: 305px; } li { line-height: 1.5; padding: 1.5rem; border-bottom: dashed 1px rgba(151,151,151,0.8); &:nth-of-type(odd) { background-color: rgba(218,233,0,0.1); } a { display: block; color: #000; font-size: 18px; font-size: 1.8rem; font-weight: 500; text-align: left; margin-left: 1rem; margin-bottom: 0.5rem; @include md { margin-bottom: 0; } @include sm { font-size: 16px; font-size: 1.6rem; } @include xs { font-size: 14px; font-size: 1.4rem; } span { display: block; width: -moz-fit-content; width: fit-content; background-color: $color-g1; font-size: 14px; font-size: 1.4rem; font-weight: 500; color: #fff; border-radius: 14px; padding: 0.3rem 1em; margin-bottom: 2rem; margin-left: -1rem; @include xs { font-size: 13px; font-size: 1.3rem; margin-bottom: 1.5rem; } } &:hover { color: $color-g2; } } } } //search #search { .row { @include xs { justify-content: center; } &>div { margin-bottom: 4rem; @include sm { margin-bottom: 3rem; } } .search-box { position: relative; background-color: #fff; padding: 2rem; border-radius: 10px; height: 100%; img { position: absolute; width: 164px; top: -4rem; right: 0; filter: drop-shadow(2px 2px 3px #c2e0e0); @include sm { width: 110px; top: -2rem; } } } } h2 { font-family: 'Mochiy Pop One', sans-serif; font-size: 30px; font-size: 3rem; color: $color-g2; margin-bottom: 3rem; @include sm { font-size: 28px; font-size: 2.8rem; } @include xs { font-size: 26px; font-size: 2.6rem; } &::before { content: ""; display: inline-block; background-image: url("../img/search-icon.svg"); width: 44px; height: 44px; margin-bottom: -0.5rem; margin-right: 0.5em; @include sm { width: 40px; height: 40px; } } } h4 { font-family: 'Mochiy Pop One', sans-serif; font-size: 25px; font-size: 2.5rem; font-family: 'Mochiy Pop One', sans-serif; color: $color-g2; margin-bottom: 1.5rem; @include sm { font-size: 23px; font-size: 2.3rem; } } ul { margin-bottom: 0; li { a { font-family: 'Noto Sans JP', sans-serif; display: block; color: #000; font-weight: 500; line-height: 1.6; &::before { font-family: "Font Awesome 5 Free"; content: "\f0da"; font-weight: 900; margin-right: 0.5em; color: $color-g2; } &:hover { color: $color-g2; } } .no-link { &:hover { color: #000; } } } } } //side-nav #side-nav { .side-nav-bg { background-image: url("../img/sidenav-bg.jpg"); border-radius: 10px; padding: 1.5rem; margin-bottom: 4rem; } } /*==================================================================== .accordion_one ====================================================================*/ .accordion_one { .accordion_header { display: block; text-align: center; height: 100%; font-size: 18px; font-size: 1.8rem; font-weight: 500; line-height: 1; color: #fff; background-color: $color-g1; padding: 1rem; border-bottom: solid 1px #fff; @include lg { font-size: 16px; font-size: 1.6rem; } &:hover { cursor: pointer; background-color: #ecf480; color: #000; } } &:last-of-type { .accordion_header { border-bottom: none; } } } .accordion_one .accordion_inner { display: none; ul { margin-bottom: 0; li { border-bottom: solid 1px $color-g1; &:last-of-type { border-bottom: none; } a { display: block; color: $color-g2; background-color: #e1f3f0; font-weight: 500; line-height: 1.4; padding:1rem; @include lg { font-size: 13px; font-size: 1.3rem; } &::before { font-family: "Font Awesome 5 Free"; content: "\f138"; font-weight: 900; margin-right: 0.5em; } &:hover { color: #000; background-color: #ecf480; } } } } } .accordion_one .accordion_inner.stay { display: block; } .fb-content { margin-bottom: 4rem; h4 { font-size: 18px; font-size: 1.8rem; margin-bottom: 1rem; &::before { content: ""; display: inline-block; background-image: url("../img/facebook.svg"); width: 36px; height: 36px; margin-right: 0.5em; margin-bottom: -0.3rem; } } .fb-inner { border: solid 1.4px #dedede; height: 450px; overflow: hidden; @include md { height: 400px; } } .fb-page { overflow: hidden; // height: 450px; text-align: center; } } .blog-area { h4 { font-size: 18px; font-size: 1.8rem; margin-bottom: 1rem; color: $color-g2; &::before { content: ""; display: inline-block; background-image: url("../img/blog-icon.svg"); width: 36px; height: 36px; margin-right: 0.5em; margin-bottom: -0.3rem; } } .blog-inner { border: solid 1.4px #dedede; background-color: #fff; padding: 1.5rem; ul { margin-bottom: 0; border-top: solid 1px rgba(0,0,0,0.3); li { a { display: flex; align-items: center; color: #000; padding: 1rem 0; border-bottom: solid 1px rgba(0,0,0,0.3); img { margin-right: 1.5rem; height: 74px; @include lg { height: 58px; } @include md { height: 74px; } @include xs { height: 70px; } } div { height: 64px; overflow: hidden; @include md { height: 54px; } @include xs { height: 58px; } p { font-size: 14px; font-size: 1.4rem; line-height: 1.4; margin-bottom: 0.5rem; } h5 { font-size: 16px; font-size: 1.6rem; } } &:hover { background-color: #fbfde5; } } } } } } //sns #sns { position: relative; padding-top: 4rem; @include md { padding-top: 2rem; } img { position: absolute; bottom: 0; @include lg { width: 200px; } @include md { display: none; } } &>div { display: flex; justify-content: flex-end; align-items: center; @include md { justify-content: center; } @include sm { flex-wrap: wrap; } } &>div.col-xl-9 { margin-bottom: 7rem; } a { // width: 384px; // height: 86px; display: flex; align-items: center; background-color: #fff; border-radius: 10px; font-size: 18px; font-size: 1.8rem; font-weight: 500; padding: 2rem 2rem 1.5rem; line-height: 1; margin-left: 1rem; @include lg { width: 360px; } @include md { margin-right: 1rem; padding: 2rem 1.5rem 1.5rem; } @include sm { width: 85%; } @include xs { font-size: 14px; font-size: 1.4rem; } p{ margin: 0; line-height: 2.5rem; } span { font-size: 30px; font-size: 3rem; margin-right: 0.5rem; @include xs { font-size: 20px; font-size: 2rem; } } &::before { content: ""; display: inline-block; width: 45px; height: 45px; margin-right: 1.5rem; } } .twitter { color: #1da1f2; border: solid 2.8px #1da1f2; @include sm { margin-bottom: 2rem; } &::before { background-image: url("../img/twitter-icon.svg"); } &:hover { background-color: #ddf1fd; } } .line { color: #3aae36; border: solid 2.8px #3aae36; @include sm { margin-bottom: 2rem; } &::before { background-image: url("../img/line-icon.svg"); } &:hover { background-color: #e1f3e1; } } .instagram { color: #ff0176; border: solid 2.8px #ff0176; &::before { background-image: url("../img/instagram-icon.svg"); } &:hover { background-color: #ffe6f1; } } }