@charset "UTF-8";
/*////////////////////////
garb-public.jp
home.css
///////////////////////*/


/*////////////////////////
メインビジュアル
///////////////////////*/

#mainvisual {
  position: relative;
  width: 88%;
  height: 65vh;
  margin: 2rem 0 7rem auto;
  border-radius: 2rem 0 0 2rem;
}

.all_bg{
  background-color: #EEEAE1;
}

.position-relative{
  position: relative;
}

h2.main_ttl{
  display: inline-block;
  font-size: 2rem;
  margin: 13rem 0 0 12%;
  line-height: 3.2rem;
}

@media screen and (max-width:375px) {

h2.main_ttl {
    font-size: 1.8rem;
    line-height: 2.8rem;
}
}

@media screen and (min-width:768px) {

#mainvisual {
  height: 85vh;
}

h2.main_ttl {
    font-size: 3rem;
}

.position-relative {
    padding-bottom: 4rem;
}
}


/* 円状にテキスト回る */
.txt_container {
  position: absolute;
  bottom: -8rem;
  left: -1.5rem;
}
.block {
  position: relative;
  margin: auto;
}
.text_circle {
  width: 260px;
  animation: rotateIt 10s linear infinite;
}

@keyframes rotateIt {
to {
transform: rotate(-360deg);
}
}

.text_circle text {
font-size: 2.5rem;
fill: #003d6c;
}

.text_circle textPath {
letter-spacing: .8rem;
}

.circle{
  width: 150px;
  height: 150px;
  font-size: 1.2rem;
  border-radius: 50%;
  background: #fff;
  color: #CE3A2B;
  text-align: center;
  line-height: 3rem;
  position: absolute;
  top: calc(50% - 75px);
  left: calc(50% - 75px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle span{
  display: contents;
  font-size: 2.5rem;
  font-weight: 700;
}

@media screen and (min-width:768px){

.txt_container {
    left: 2rem;
    bottom: 2rem;
}
}


/* スライド文字 */
.c-text {
  overflow: hidden;
  display: flex;
  width: 100vw;
  padding-bottom: 5rem;
  margin-inline: calc(50% - 50vw);
}

.c-text__item {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 3rem;

  &:nth-child(odd) {
    animation: MoveLeft 10s -5s infinite linear;
  }

  &:nth-child(even) {
    animation: MoveLeft2 10s infinite linear;
  }
}

@keyframes MoveLeft {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes MoveLeft2 {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}


@media screen and (max-width:375px) {

  
.text_circle {
  width: 230px;
}
.txt_container {
    position: absolute;
    bottom: -8rem;
}
.circle {
    width: 136px;
    height: 136px;
    font-size: 1.1rem;
    top: calc(50% - 68px);
    left: calc(50% - 68px);
}
.circle span {
    font-size: 2rem;
}
.c-text__item {
    font-size: 2.5rem;
}
}

@media screen and (min-width:768px) {

.c-text {
  display: none;
}
}



/*////////////////////////
リード文パララックス
///////////////////////*/

.parallax_content{
  position: relative;
  height: 500px;
}

.parallax_content::before{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 100vh;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: -1;
  background-image: linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)),url(../images/top_read.jpg);
}

.parallax_txt{
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 2px #000;
}

.parallax_txt h3{
    font-size: 1.9rem;
    line-height: 3.5rem;
    margin-bottom: 3rem;
}

.parallax_txt p{
    font-size: 1.3rem;
    line-height: 3.2rem;
}

@media screen and (min-width:768px) {

.parallax_content::before{
  background-image: linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)),url(../images/top_read_pc.jpg);
}

.parallax_txt h3{
    font-size: 3rem;
    margin-bottom: 5rem;
}

.parallax_txt p {
    font-size: 1.6rem;
    line-height: 4rem;
}

}

/*////////////////////////
menu
///////////////////////*/
#menu{
  padding: 5rem 0 4rem;
  background-color: #EEEAE1;
}

.menu_box{
  width: 90%;
  margin: 8rem auto;
}

.menu_box:last-of-type{
  margin: 8rem auto 0;
}

.menu_cont{
  position: relative;
  margin: 2rem 0 0;
}

.menu_cont h4{
  position: absolute;
  font-size: 3.6rem;
  font-weight: 400;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.menu_cont .slick-item img{
  box-sizing: border-box;
  border-radius: 76% 24% 47% 53% / 57% 40% 60% 43% ;
}

.menu_cont .menu_txt{
  font-size: 1.2rem;
  line-height: 2.2rem;
}

/* モーダルウィンドウ */
.modal__container{
  margin: 2rem 0;
  display: flex;
  justify-content: space-between;
}

.modal__container .btn-example{
  display: inline-block;
  width: 110px;
  height: 110px;
  border: none;
  border-radius: .8rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 1.3rem;
  cursor: pointer;
}

.modal__container .btn-example.modalOne{
  background-color: #CE3A2B;
}

.modal__container .btn-example.modalTwo{
  background-color: #A50219;
}

.modal__container .btn-example.modalThree{
  background-color: #C7675D;
}

.modal__container .btn-example.modalFour{
  background-color: #587D9A;
}

.modal__container .btn-example.modalFive{
  background-color: #003D6C;
}

.modal__container .btn-example.modalSix{
  background-color: #8AA1B3;
}

.modal {
  display: none;
  position: fixed;
  z-index: 8887;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  transition: all 1s ease-in-out;
}

.modal-container .img {
    background: #f1f1f1;
    margin-bottom: 15px;
    border: 2px solid #003D6C;
    border-radius: .8rem;
}

.modal-container p {
    margin-bottom: 10px;
    font-size: 1.2rem;
    line-height: 2.2rem;
}

.modal-container p a {
    color: #CE3A2B;
}

.modal-container p:last-child {
    margin-bottom: 0;
}

.modal-content {
    background: #FFF;
    overflow-y: auto;
    padding: 3rem;
    width: 90%;
    max-width: 350px;
    border-radius: .8rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 400px;
    animation: show 0.6s linear 0s;
    filter: drop-shadow(0px 2px 6px #777);
}

.modal-top {
    display: inline-block;
    position: absolute;
    right: 5px;
    top: 5px;
}

.modal-close {
    color: #003D6C;
    text-decoration: none;
    font-size: 2rem;
    line-height: 1;
    padding: 0;
}

.modal-close:hover, .modal-close:focus {
  text-decoration: none;
  cursor: pointer;
}

.modal-title {
  color: #FFF;
}

@keyframes show{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}


@media screen and (min-width:768px) {

#menu {
  padding: 8rem 0;
}

.menu_box{
  width: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu_box .menu_img{
    width: 45%;
    margin: 0 -9rem 7rem auto;
    z-index: 1;
}

.menu_box .bg_white{
  width: 55%;
  padding: 5rem 5rem 5rem 12rem;
  border-radius: 2rem;
  background-color: #fff;
  margin: 5rem 0 0 0;
}

main .menu_box .menu_cont .btn a{
  width: 100%;
  max-width: inherit;
}

.menu_cont h4 {
    font-size: 6rem;
    top: 2rem;
    left: 2rem;
}

.menu_cont .menu_txt {
    font-size: 1.4rem;
    line-height: 2.2rem;
}

.menu_cont .slick-item img {
    border-radius: 50% 24% 47% 53% / 47% 32% 60% 43%;
}

.modal-content {
    max-width: 820px;
    max-height: 820px;
    padding: 4.5rem 4.5rem 3rem;
}

.modal-container p {
    font-size: 1.4rem;
    line-height: 2.5rem;
}

.modal__container .btn-example {
    display: inline-block;
    width: 140px;
    height: 140px;
    font-size: 1.6rem;
    border-radius: 1rem;
}

.modal-close {
    font-size: 4rem;
}
}

/*////////////////////////
plan
///////////////////////*/
#plan{
  padding: 5rem 0 0;
  background-color: #EEEAE1;
  position: relative;
}

.plan_img{
  width: 85%;
  margin: auto;
}

.plan_img img{
  border-radius: .8rem;
}

.plan_txt{
    background-color: #fff;
    margin-top: -30rem;
    padding: 32rem 3rem 3.5rem;
}

.plan_txt p{
  font-size: 1.2rem;
  line-height: 2.2rem;
  margin-bottom: 2rem;
}


@media screen and (min-width:768px) {

#plan {
  margin: 0;
  width: 100%;
  padding: 8rem 0;
}

.plan_txt {
  width: 65%;
  border-radius: 1rem;
  margin: -16rem auto 0;
  padding: 19rem 2rem 3.5rem;
}

.plan_txt p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    text-align: center;
}

.plan_img {
    width: 50%;
}


}

/*////////////////////////
news
///////////////////////*/
#news{
  padding: 5rem 0;
  background-color: #EEEAE1;
}

.newsList {
  display: block;
  width: auto;
  padding: 0 2rem;
}

#news .newsList li {
  display: flex;
  width: 100%;
  margin: 3rem 0;
  padding: 3rem 0;
  align-items: center;
}

#news .newsList li a {
    display: contents;
}

#news .newsList li .newsPh {
  margin-bottom: 0;
  width: 40%;
  margin-right: 1.5rem;
}

#news .newsList li .data {
  width: 55%;
  color: #003d6c;
}

#news .newsList li .newsPh img {
  width: 100%;
  height: auto;
}

#news .newsList li .data .date {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

#news .newsList li .data .ttl {
  font-size: 1.2rem;
  line-height: 1.55em;
}

#news .newsList li.news_cont {
  position: relative;
  border-bottom: 1.5px solid #003D6C;
}

#news .newsList li.news_cont::before{
  content: '';
  position: absolute;
  bottom: -1.5px;
  width: 80%;
  height: 1.5px;
  background: #fff;
}


@media screen and (min-width:768px) { 

#news {
    padding: 8rem 0;
}

.newsList {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 80%;
  margin: 3rem auto;
}

#news .newsList li {
    width: 30%;
    margin: 0 2rem;
    padding: 0;
    display: block;
}

#news .newsList li .data {
    width: 100%;
}

#news .newsList li .newsPh {
  margin-bottom: 20px;
  width: 100%;
}

#news .newsList li .data .date {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

#news .newsList li .data .ttl {
    font-size: 1.4rem;
    line-height: 1.55em;
    margin-bottom: 2rem;
}
}


/*////////////////////////
LINE会員特典
///////////////////////*/
#line{
  background-color: #fff;
  padding: 5rem 0 8rem;
}

#line h4{
  font-size: 2.2rem;
  text-align: center;
}

.fukidashi_line {
  width: max-content;
  position: relative;
  padding-bottom: 1rem;
  margin: 5rem auto 3rem;
  border-bottom: 2px solid;
  color: #003D6C;
  font-size: 1.2rem;
  text-align: center;
}

.fukidashi_line:before,
.fukidashi_line:after {
    position: absolute;
    top: 100%;
    left: 50%;
    content: "";
    height: 0;
    width: 0;
}

.fukidashi_line:before {
    border: 16px solid;
    border-color: transparent;
    border-top-color: #003D6C;
    margin-left: -16px;
}

.fukidashi_line:after {
    border: 13px solid;
    border-color: transparent;
    border-top-color: #fff;
    margin-left: -13px;
}

.line_flex{
  width: 80%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.line_cont{
  width: 100%;
  position: relative;
  background-color: #CE3A2B;
  padding: 2rem 2rem 2rem 5rem;
  color: #fff;
  border-radius: 1.5rem;
  margin: 1rem 0;
}

.line_number{
  width: 45px;
  height: 45px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border: 2px solid #CE3A2B;
  border-radius: 50%;
  z-index: 2;
}

.line_number p{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #CE3A2B;
  font-size: 2.2rem;
}

.line_txt_flex{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.line_txt{
  width: 80%;
  font-size: 1.2rem;
  line-height: 2.2rem;
  margin-right: 1rem;
}

.line_icon{
  width: 25%;
}

#line .txt{
  width: 75%;
  font-size: 1.2rem;
  line-height: 2.2rem;
  margin: 1rem auto 2rem;
}

@media screen and (min-width:768px){

#line {
    padding: 8rem 0;
}

.fukidashi_line {
    font-size: 1.4rem;
}

#line h4 {
    font-size: 2.8rem;
}

.line_flex {
    width: 70%;
    margin: 5rem auto 3rem;
    justify-content: space-between;
}

.line_cont {
    width: 47%;
    margin: 0;
}

.line_cont:first-of-type {
    margin-right: 2rem;
}

#line .txt {
    width: 100%;
    font-size: 1.4rem;
    margin: 3rem;
    text-align: center;
}

.line_txt {
    width: 70%;
    font-size: 1.8rem;
    line-height: 3rem;
}

.line_icon {
    width: 30%;
}
}