@charset "UTF-8";

html {
    /* ルートのフォントサイズを10pxに設定 */
    font-size: 62.5%;
}

body {
    font-family: "M PLUS 1p", sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    /* bodyのフォントサイズを15pxに設定 */
    font-size: 1.5rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

* {
    box-sizing: border-box;
}

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

    body {
        font-size: 1.3rem;
    }
}

/* ページ表示時フェードインさせる */

body {
    overflow-x: hidden;
	transform-origin: top center;
	animation: loading 2s;
}

@keyframes loading {
	0% {opacity: 0;transform: scale(1);}
	100% {opacity: 1;transform: scale(1);}
}

/* FADE */

.sa {
	opacity: 0;
	transition: all 1.5s ease;
}
.sa.show {
	opacity: 1;
	transform: none;
}
.sa--up-0 {
	transform: translate(0, 0px);
}
.sa--up-40 {
	transform: translate(0, 20px);
}
.sa--up-50 {
	transform: translate(0, 30px);
}
.sa--up-60 {
	transform: translate(0, 40px);
}
.sa--lr-40 {
	transform: translate(-20px, 0);
}
.sa--lr-50 {
	transform: translate(-30px, 0);
}
.sa--lr-60 {
	transform: translate(-40px, 0);
}
.sa--rl-40 {
	transform: translate(20px, 0);
}
.sa--rl-50 {
	transform: translate(30px, 0);
}
.sa--rl-60 {
	transform: translate(40px, 0);
}
@media screen and (min-width:768px) { /* PC */
  .sa--up-0 {
  	transform: translate(0, 0px);
  }
  .sa--up-40 {
  	transform: translate(0, 40px);
  }
  .sa--up-50 {
  	transform: translate(0, 50px);
  }
  .sa--up-60 {
  	transform: translate(0, 60px);
  }
  .sa--lr-40 {
  	transform: translate(-40px, 0);
  }
  .sa--lr-50 {
  	transform: translate(-50px, 0);
  }
  .sa--lr-60 {
  	transform: translate(-60px, 0);
  }
  .sa--rl-40 {
  	transform: translate(40px, 0);
  }
  .sa--rl-50 {
  	transform: translate(50px, 0);
  }
  .sa--rl-60 {
  	transform: translate(60px, 0);
  }
}

/* 共通スタイル */
:root {
    --pink-color: #E27390;
    --yellow-color: #FFD366;
    --green-color: #5FE67D;
    --blue-color: #2064B0;
    --text-color: #000;
    --bg-color: #fff;
    --bg-light: #ECECEC;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
}

.img-border {
    border: 1px solid #000000;
}

.object-fit-img {
    object-fit: cover;
    font-family: "object-fit: cover";/* object-fitのIE・edge対応 */
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: clamp( 4rem, calc( 3.1712707182320443rem + 3.535911602209945vw ), 6rem );
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    letter-spacing: 0.03em;
    -webkit-text-fill-color: white; /* （順序に関係なく）色を上書きする */
    -webkit-text-stroke: 1px #000000;
    line-height: 1;
    margin: 0;
}

.section-sub-title {
    font-size: clamp( 1.6rem, calc( 1.434254143646409rem + 0.7071823204419888vw ), 2rem );
    margin: 5px 0 0 0;
}

.pc-none {
    display: block;
}

.sp-none {
    display: none;
}

/* ボタン */

.more-link {
    display: inline-block;
    padding: 12px 50px;
    background-color: var(--bg-color);
    color: #000;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #000;
    border-radius: 30px;
    transition: background-color 0.3s, transform 0.3s;
    position: relative;
}

.more-link::after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 12px;
    background-image: url(../img/arrow.png);
    background-size: cover;
    vertical-align: middle;
    position: absolute;
    right: 10px;
    top: 36%;
}

.more-link:hover {
    background-color: var(--text-color);
    color: #fff;
    transform: translateY(-3px);
}

.more-link:hover::after {
    content: '';
    display: inline-block;
    width: 11px;
    height: 12px;
    background-image: url(../img/arrow.png);
    background-size: cover;
    vertical-align: middle;
    position: absolute;
    right: 10px;
    top: 36%;
    filter: brightness(0) saturate(100%) invert(98%) sepia(6%) saturate(1615%) hue-rotate(229deg) brightness(118%) contrast(100%);
}

@media screen and (max-width: 768px) {
		
    .pc-none {
        display: none;
    }

    .sp-none {
        display: block;
    }
			
}

/* ヘッダー */

.header__inner {
    align-items: center;
    display: grid;
    grid-template-columns: 20% 80%;
    padding: 5px 20px;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo-img {
    width: min(160vw / 12.8, 160px);
	height: min(62vw / 12.8, 62px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav .nav_list {
    display: flex;
    gap: 3.125vw;
}

.nav .nav_list .nav_item {
    transition: opacity 0.3s, transform 0.3s;
}

.nav .nav_list .nav_item:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.nav .nav_list .nav_item a {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
}

.nav .nav_list .nav_item span {
    display: block;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
}

.header__social {
    display: flex;
    gap: 15px;
}

.header__social-link {
    width: 35px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: opacity 0.3s, transform 0.3s;
}

.header__social-link:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

.header__social-link img:nth-child(3) {
    filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(992%) hue-rotate(188deg) brightness(84%) contrast(88%);
}

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

    .header__inner {
        padding: 13px;
        grid-template-columns: 100% 0;
    }

    .header__logo {
        justify-content: center;
    }

    .header__logo-img {
        width: min(170vw / 7.68, 170px);
        height: min(66vw / 7.68, 66px);
        margin: 0;
    }

/* グローバルメニュー スマホはハンバーガーメニュー表示 */

 .nav {
    position: fixed;
    right: -100vw; /* 右から出てくる */
    top: 0;
    width: 100%; /* スマホに収まるサイズ */
    height: 100vh;
    padding-top: 60px;
    background-color: var(--bg-light);
    transition: all .6s;
    z-index: 200;
    overflow-y: auto; /* メニューが多くなったらスクロールできるように */
    display: block;
 }

  .hamburger {
    position: fixed;
    right: 15px;
    top: 7px;
    width: 40px; /* クリックしやすい幅 */
    height: 40px; /* クリックしやすい高さ */
    cursor: pointer;
    z-index: 300;
  }

  .nav .nav_list {
    display: block;
  }

  .nav .nav_list .nav_item {
    text-align: center;
  }

  .nav .nav_list .nav_item a  {
    display: block;
    padding: 15px 0;
  }

  .hamburger_border {
    position: absolute;
    left: 11px;
    width: 16px;
    height: 3px;
    background-color: #000;
    transition: all .6s;
  }

  .hamburger_border_top {
    top: 12px;
    left: 17px;
  }

  .hamburger_border_center {
    top: 22px;
    left: 14px;
    width: 22px;
  }

  .hamburger_border_bottom {
    top: 32px;
    width: 28px;
  }

  /* 表示された時用のCSS */

  .nav-open .nav {
    right: 0;
    background-color: var(--bg-light);
  }

  .nav-open .hamburger_border_top {
    transform: rotate(45deg);
    top: 20px;
    width: 28px;
    left: 11px;
  }

  .nav-open .hamburger_border_center {
    width: 0;
    left: 50%;
  }

  .nav-open .hamburger_border_bottom {
    transform: rotate(-45deg);
    top: 20px;
    width: 28px;
    left: 10px;
  }

  .header__social {
    margin: 0 100px;
    padding-top: 40px;
    justify-content: center;
    border-top: 3px solid #000000;
  }

}

/* アクセシビリティ用 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* メインビジュアル */
.mv {
    padding: 30px 0;
    background-color: var(--bg-light);
    position: relative;
}

.mv__inner {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 0;
    gap: 3%;
    max-width: 91.40625vw;
}

.mv-slider {
    overflow: hidden;
    border: 1px solid #000000;
}

.mv-slider-item {
    overflow: hidden;
    width: min(1040vw / 12.8, 1040px);
	height: min(537vw / 12.8, 537px);
}

.mv-slider-item img {
    width: 100%;
    height: 100%;
}

.mv__content {
    font-size: clamp( 1.6rem, calc( 1.3099447513812157rem + 1.2375690607734802vw ), 2.3rem );
    font-weight: 700;
    writing-mode: vertical-rl;
    letter-spacing: 0.3em;
    padding-top: 20px;
    line-height: 2.5;
}

.mv__content p {
    margin: 0;
}

.mv__content__pc {
    width: min(94vw / 12.8, 94px);
	height: min(449vw / 12.8, 449px);
}

.mv__sticker {
    display: inline-block;
    width: min(138vw / 12.8, 138px);
	height: min(138vw / 12.8, 138px);
    position: absolute;
    bottom: -60px;
    left: 24px;
}

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

    .mv__inner {
        display: block;
        padding: 0;
        gap: 3%;
    }

    .mv__content {
        width: 70%;
        height: auto;
        padding-top: 20px;
        margin: 0 30px 0 auto;
    }

    .mv__content__sp {
        width: min(614vw / 9.6, 614px);
        height: min(165vw / 9.6, 165px);
    }

    .mv__sticker {
        width: min(230vw / 12.8, 230px);
        height: min(230vw / 12.8, 230px);
        bottom: 30px;
        left: 30px;
    }

    .pc-none {
        display: none;
    }

    .sp-none {
        display: block;
    }

}

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

    .mv__content {
        margin: 0 0 0 auto;
    }

    .mv__sticker {
        width: min(270vw / 12.8, 270px);
        height: min(270vw / 12.8, 270px);
        bottom: 20px;
        left: 20px;
    }

}

/* TOPICS トピックス */
.topic {
    padding: 100px 0 60px;
}

.topic__inner {
    padding: 0;
}

.topics__title {
    color: var(--pink-color);
    -webkit-text-fill-color: #E27390;
    font-size: clamp( 4rem, calc( 2.7569060773480665rem + 5.303867403314917vw ), 7rem );
    padding: 0 20px;
}

.topic .topic__inner .section-sub-title {
    padding: 0 20px;
}

.topic__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #000;
}

.topic__item {
    overflow: hidden;
    transition: transform 0.3s;
    position: relative;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    text-align: center;
    background-color: var(--bg-color);
}

.topic__item__inner {
    padding-top: 20px;
}

.topic__item:last-child {
    border-right: none;
}

.topic__item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.topic__thumb {
    overflow: hidden;
    margin: 0 auto;
    width: min(250vw / 12.8, 250px);
	height: min(250vw / 12.8, 250px);
    border: 1px solid #000000;
}

.topic__img {
    transition:1s all;
    width: 100%;
    height: 100%;
}

.topic__item:hover .topic__img {
    transform: scale(1.05);
    transition:1s all;
}

.topic__content {
    padding: 20px;
    background-color: white;
}

.topic__title {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topic__text {
    font-size: 1.4rem;
    line-height: 1.6;
}

.topic__link:hover {
    text-decoration: underline;
}

.topic-detail__more-link {
    color: var(--pink-color);
    border: 1px solid #E27390;
    padding: 8px 46px;
    font-size: 1.3rem;
}

.topic-detail__more-link::after {
    filter: brightness(0) saturate(100%) invert(57%) sepia(70%) saturate(452%) hue-rotate(299deg) brightness(91%) contrast(95%);
}

.topic-detail__more-link:hover {
    background-color: var(--pink-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

.topic-detail__more-link:hover::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(23deg) brightness(118%) contrast(118%);
}

/* もっと見るボタン */
.topic__more {
    text-align: center;
    margin: 40px auto;
}

.topic__more-link {
    background-color: var(--pink-color);
    color: white;
}

.topic__more-link::before {
    content: '';
    display: inline-block;
    width: 48px;
    height: 52px;
    background-image: url(../img/btn_before.png);
    background-size: cover;
    vertical-align: middle;
    position: absolute;
    left: -15px;
    top: -10%;
}

.topic__more-link::after {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(316deg) brightness(105%) contrast(99%);
}

.topic__more-link:hover {
    background-color: var(--bg-color);
    color: var(--pink-color);
    transform: translateY(-3px);
}

.topic__more-link:hover::after {
    filter: brightness(0) saturate(100%) invert(57%) sepia(70%) saturate(452%) hue-rotate(299deg) brightness(91%) contrast(95%);
}

/* キャラクター飛び出るイラスト */

.character_01 {
    max-width: 258px;
    width: 100%;
    position: absolute;
    right: 7%;
}

.character_01.inview {
    opacity: 0;
  }

.character_01.inview.show {
    animation: slideinBottom 1.3s;
    animation-fill-mode: forwards;
  }

@keyframes slideinBottom {
    0% {
        transform: translateY(0);
      }
      100% {
        transform: translateY(-228px);
        opacity: 1;
      }
  }

/* おにぎり 流れる文字 */

.topic__loop {
    background-color: var(--pink-color);
    padding: 8px 0;
    border-top: 1px solid #000000;
    position: relative;
    z-index: 7;
    margin-top: 10px;
}

.topic__loop:last-child {
    border-bottom: 1px solid #000000;
}

.topic__loop .loop-area .content {
    width: 97px;
    font-size: 1.8rem;
    margin-left: 15px;
}

.topic__loop .loop-area .content.kana {
    font-size: 1.7rem;
    margin-left: 11px;
}

.topic__loop .loop-area .content::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url(../img/emoji.png);
    background-size: cover;
    vertical-align: middle;
    margin-left: 15px;
}

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

    .topic__list {
        grid-template-columns: 1fr;
    }

    .topic__item {
        border-right: none;
    }

    .topic__item__inner {
        width: 90vw;
        border-left: 1px solid #000;
        border-right: 1px solid #000;
        margin: 0 auto;
    }

    .topic__thumb {
        width: min(410vw / 7.68, 410px);
        height: min(410vw / 7.68, 410px);
    }

    /* キャラクター飛び出るイラスト */

    .character_01 {
        max-width: 180px;
        right: 3%;
    }

    @keyframes slideinBottom {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(-157px);
            opacity: 1;
        }
    }

    /* おにぎり 流れる文字 */

    .topic__loop {
        padding: 5px 0;
    }

    .topic__loop .loop-area .content {
        width: 78px;
        font-size: 1.5rem;
        margin-left: 7px;
    }

    .topic__loop .loop-area .content.kana {
        font-size: 1.4rem;
        margin-left: 3px;
    }

    .topic__loop .loop-area .content::after {
        width: 11px;
        height: 11px;
        margin-left: 7px;
    }

}

/* about かわばんちについて */
.about {
    padding: 2% 4%;
    position: relative;
}

.about__inner {
    width: 78.125vw;
    border: 1px solid #000;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 20px;
    align-items: center;
    background-color: var(--yellow-color);
    padding: 4% 5%;
}

.about__photo {
    margin-left: 0;
    max-width: 330px;
    width: 100%;
    border: 1px solid #000;
    transition: opacity 0.3s, transform 0.3s;  
}

.about__photo:hover {
    transform: translateY(-5px);
}

.about__photo__link {
    display: block;
}

.about__title {
    color: var(--bg-color);
}

.about__title::after {
    content: '';
    display: inline-block;
    width: min(199vw / 12.8, 199px);
	height: min(77vw / 12.8, 77px);
    background-image: url(../img/logo.png);
    background-size: cover;
    vertical-align: middle;
    margin: 0 0 15px 10px;
}

.about__text {
    margin-bottom: 0;
    line-height: 2.2;
}

.about__more {
    margin-top: 15px;
    text-align: center;
}

.about__more-link::before {
    content: '';
    display: inline-block;
    width: 48px;
    height: 52px;
    background-image: url(../img/btn_before.png);
    background-size: cover;
    vertical-align: middle;
    position: absolute;
    left: -15px;
    top: -10%;
}

/* キャラクター飛び出るイラスト */

.character_02 {
    width: min(170vw / 12.8, 170px);
	height: min(213vw / 12.8, 213px);
    position: absolute;
    top: 40%;
    right: 0;
}

.character_02.inview {
    opacity: 0;
  }

.character_02.inview.show {
    animation: slideinRight 1.3s;
    animation-fill-mode: forwards;
  }

@keyframes slideinRight {
    0% {
        transform: translateX(176px);
      }
      100% {
        transform: translateX(0);
        opacity: 1;
      }
  }

/* 流れる文字 */

.loop-wrap {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.loop-area {
    display: flex;
    animation: ticker 60000ms steps(100) infinite;
    list-style: none;
    margin: 0;
    padding: 0;
}

.loop-area.reverse {
    animation-direction: reverse;
}

.loop-area .content {
    width: 770px;
    font-family: "DotGothic16", sans-serif;
    font-weight: 400;
    font-size: 8rem;
    color: var(--yellow-color);
}

@keyframes ticker {
0% {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0,0,0);
    -o-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0, 0, 0);
}

100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%,0,0);
    -o-transform: translate3d(-100%,0,0);
    -ms-transform: translate3d(-100%,0,0);
    transform: translate3d(-100%, 0, 0);
}
}

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

    .about__inner {
        grid-template-columns: 1fr;
        width: 90vw;
        gap: 30px;
        padding: 8% 5%;
    }

    .about__photo {
        max-width: 290px;
        margin: 0 auto;
    }

    .about__more {
        margin-top: 30px;
    }

    .about__title::after {
        width: min(373vw / 12.8, 373px);
        height: min(143vw / 12.8, 143px);
        margin: 0 0 15px 10px;
    }

    /* キャラクター飛び出るイラスト */

    .character_02 {
        width: min(290vw / 12.8, 290px);
        height: min(362vw / 12.8, 362px);
        top: 30%;
    }

    /* 流れる文字 */

    .loop-area .content {
        font-size: 3.5rem;
        width: 340px;
    }

}

/* shop 店舗情報 */

#shop {
    scroll-margin-top: 100px;
}

.shop {
    padding: 60px 0;
    background-color: var(--bg-light);
    margin-top: 90px;
    position: relative;
    z-index: 2;
}

.shop .shop__inner {
    position: relative;
    padding: 0;
}

.shop__title {
    color: var(--text-color);
    -webkit-text-fill-color: black;
    -webkit-text-stroke: 0;
    font-size: clamp( 4rem, calc( 2.7569060773480665rem + 5.303867403314917vw ), 7rem );
    text-align: center;
    position: absolute;
    top: -100px;
    right: 0;
    left: 0;
    margin: 0 auto;
}

.shop .shop__inner .section-sub-title {
    text-align: center;
    position: absolute;
    top: -30px;
    right: 0;
    left: 0;
    margin: 0 auto;
}

.shop__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 0 60px 40px;
}

.shop__branch {
    text-align: center;
}

.shop__name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.shop__name::before {
    content: '';
    display: block;
    width: 170px;
    height: 66px;
    background-image: url(../img/logo.png);
    background-size: cover;
    vertical-align: middle;
    margin: 0 auto;
}

.shop__photo {
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    max-width: 330px;
    width: 100%;
    margin: 0 auto;
}

.shop__photo:hover {
    transform: translateY(-5px);
}

.shop__photo.active {
    transform: translateY(-5px);
}

.shop__photo.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--main-color);
}

.shop__map {
    width: min(1000vw / 12.8, 1000px);
	height: min(400vw / 12.8, 400px);
    overflow: hidden;
    border: 1px solid #000000;
    margin: 0 auto;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.map-frame {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 40%; /* 比率を5:2に固定 */
    display: none;
}

/* Google Mapのiframe */
.map-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-frame.active {
    opacity: 1;
    pointer-events: auto;
    display: block;
}

#map {
    width: 100%;
    height: 100%;
}

/* キャラクター飛び出るイラスト */

.character_03 {
    width: min(193vw / 12.8, 193px);
	height: min(217vw / 12.8, 217px);
    position: absolute;
    top: -2%;
    left: 0;
    z-index: 6;
}

.character_03.inview {
    opacity: 0;
  }

.character_03.inview.show {
    animation: slideinLeft 1.3s;
    animation-fill-mode: forwards;
  }

@keyframes slideinLeft {
    0% {
        transform: translateX(-206px);
      }
      100% {
        transform: translateX(0);
        opacity: 1;
      }
  }

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

    #shop {
        scroll-margin-top: 60px;
    }

    .shop__title {
        top: -85px;
    }

    .shop__info {
        grid-template-columns: 1fr;
    }

    .shop__photo {
        max-width: 290px;
    }

    .shop__name::before {
        width: 160px;
        height: 62px;
    }

    .shop__map {
        width: min(870vw / 12.8, 870px);
        height: min(870vw / 12.8, 870px);
    }

    .map-frame {
        padding-top: 100%; 
    }

    /* キャラクター飛び出るイラスト */

    .character_03 {
        width: min(270vw / 12.8, 270px);
        height: min(305vw / 12.8, 305px);
        top: 2%;
    }

}

/* recruit スタッフ募集について */
.recruit {
    padding: 7% 4% 9%;
    position: relative;
}

.recruit__inner {
    width: 78.125vw;
    border: 1px solid #000;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 20px;
    align-items: center;
    background-color: var(--green-color);
    padding: 4% 5%;
    position: relative;
    z-index: 5;
}

.recruit__title {
    color: var(--bg-color);
}

.recruit__photo {
    margin-left: 0;
    overflow: hidden;
    max-width: 330px;
    width: 100%;
}

.recruit__text {
    line-height: 1.8;
}

.recruit__contact {
    margin-top: 15px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--main-color);
}

.recruit__contact i {
    margin-right: 8px;
}

.recruit__tel {
    text-decoration: underline;
    color: #2064B0;
}

@media(min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}

/* キャラクター飛び出るイラスト */

.character_04 {
    width: min(190vw / 12.8, 190px);
	height: min(178vw / 12.8, 178px);
    position: absolute;
    left: 14%;
    z-index: 4;
}

.character_04.inview {
    opacity: 0;
  }

.character_04.inview.show {
    animation: slideinTop 1.3s;
    animation-fill-mode: forwards;
  }

@keyframes slideinTop {
    0% {
        transform: translateY(-180px);
      }
      100% {
        transform: translateY(0);
        opacity: 1;
      }
  }

/* スタッフ募集！流れる文字 */

.recruit__loop {
    position: absolute;
    width: 100%;
    left: -45%;
    transform:rotate(90deg);
}

.recruit__loop:nth-of-type(2) {
    position: absolute;
    width: 100%;
    left: 45%;
    transform:rotate(90deg);
}

.recruit__loop .loop-area .content {
    width: 220px;
    font-size: 3rem;
    color: var(--green-color);
}

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

    .recruit {
        padding: 15% 4%;
    }

    .recruit__inner {
        grid-template-columns: 1fr;
        width: 90vw;
        gap: 30px;
        padding: 8% 5%;
    }

    .recruit__photo {
        max-width: 290px;
        margin: 0 auto;
    }

    /* キャラクター飛び出るイラスト */

    .character_04 {
        width: min(280vw / 12.8, 280px);
        height: min(263vw / 12.8, 263px);
        left: 8%;
    }

    /* スタッフ募集！流れる文字 */

    .recruit__loop {
        top: 3%;
        left: 0;
        transform:rotate(0deg);
    }

    .recruit__loop:nth-of-type(2) {
        display: none;
    }

    .recruit__loop .loop-area .content {
        width: 140px;
        font-size: 1.8rem;
    }

}

/* フッター */
.footer {
    padding: 60px 0 10px;
    background-color: var(--bg-light);
    position: relative;
    z-index: 3;
}

.footer::before {
    content: '';
    display: inline-block;
    width: min(322vw / 12.8, 322px);
	height: min(125vw / 12.8, 125px);
    background-image: url(../img/logo.png);
    background-size: cover;
    vertical-align: middle;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -20%;
}

.footer__logo {
    max-width: 150px;
    margin: 0 auto;
}

.footer__info {
    text-align: center;
}

.footer__company {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.footer__address, .footer__tel {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.footer__copyright {
    font-size: 1.2rem;
    opacity: 0.7;
    margin: 30px 0 0;
}

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

    .footer::before {
        width: min(490vw / 12.8, 490px);
        height: min(190vw / 12.8, 190px);
        top: -8%;
    }

    .footer__logo {
        max-width: 100px;
    }
}

/* トップへ戻るボタン */

.top-btn {
    position: fixed;
    z-index: 190;
    bottom: 40px;
    right: 10px;
    cursor: pointer;
    max-width: 88px;
    width: 100%;
    transition: .4s;
    /*デフォルトで非表示にする*/
    opacity: 0;
    visibility: hidden;
}

/*このクラスが付与されると表示する*/
.active{
    opacity: 1;
    visibility: visible;
}

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

    .top-btn {
        max-width: 68px;
    }
}
