/* ----------------------------------------------------
all
---------------------------------------------------- */
.page-wrap {
    padding-top: 3vw;
    overflow-x: hidden;
}
.page-top-area {
    position: relative;
}
.page-top-area img {
    width: 100%;
}
#decoration-img {
    position: absolute;
    right: -1.5vw;
    bottom: -27.8vw;
    width: 15vw;
    height: 35vw;
}
.page-bbs-area {
    margin-bottom: -2vw;
    position: relative;
    height: 10vw;
}
.page-bbs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 100%;
    overflow: hidden;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-size: 10vw;
    font-weight: bold;
    white-space: nowrap;
    color: #38b6ff;
}
.page-bbs ul {
    display: flex;
    animation: flowing02 20s linear infinite;
    transform: translateX(100%);
}
@keyframes flowing02 {
    0% { transform:translateX(0); }
    100% { transform:translateX(-100%); }
}
.page-bbs ul li {
    display: inline-block;
    margin-right: 5%;
}
.page-img-area img {
    width: 100%;
}
@media screen and (max-width: 767px) {
    .page-wrap {
        padding-top: 15vw;
    }
    .page-bbs-area {
        height: 15vw;
    }
    .page-bbs {
        font-size: 15vw;
    }
}
/* ----------------------------------------------------
page-history
---------------------------------------------------- */
.page-history-area {
    margin: 10% 15vw;
    width: 70vw;
    font-weight: bold;
}
.page-history-area h3 {
    margin-bottom: 5%;
    font-size: 4vw;
}
.page-history-area p {
    margin-bottom: 3%;
    font-size: 1.5vw;
    line-height: 1.5;
}
.page-history-text-wrap {
    position: relative;
    top: -15vw;
    margin: 0 auto;
    padding: 3vw;
    width: 70vw;
    background-color: #fff;
    font-weight: bold;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.3);
    z-index: 1; 
}
.page-text-title-area {
    display: flex;
    align-items: center;
    margin-bottom: 5%;
}
.page-text-title-area h3 {
    font-size: 2.5vw;
}
.page-text-title-area h5 {
    margin-left: 3vw;
}
.page-history-text-wrap p {
    position: relative;
    margin-bottom: 2%;
    padding-left: 1vw;
}
.page-history-text-wrap p::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    content: "";
    width: 0.5vw;
    height: 1vw;
    background-color: #ff0000;
    border-radius: 5px;
}
.page-history-text-wrap p:last-child {
    margin-bottom: 0;
}
.page-history-img-area {
    margin-top: 5vw;
    display: flex;
    flex-wrap: wrap;
    gap: 1vw;
}
.page-history-img-card-wrap {
    margin-bottom: 1vw;
}
.page-history-img-card-wrap img {
    width: 31.5vw;
    border-radius: 5px;
}
.page-history-img-card-wrap h3 {
    margin-top: 1vw;
    font-size: 1.2vw;
}
@media screen and (max-width: 767px) {
    .page-history-area {
        margin: 15% 5vw;
        width: 90vw;
    }
    .page-history-area h3 {
        margin-bottom: 5%;
        font-size: 6vw;
    }
    .page-history-area p {
        margin-bottom: 3%;
        font-size: 3.5vw;
    }
    .page-history-text-wrap {
        margin-bottom: 20vw;
        top: -8vw;
        padding: 5vw;
        width: 90vw; 
    }
    .page-text-title-area {
        margin-bottom: 10%;
    }
    .page-text-title-area h3 {
        font-size: 6vw;
    }
    .page-text-title-area h5 {
        margin-left: 10vw;
        font-size: 3.5vw;
    }
    .page-history-text-wrap p {
        margin-bottom: 5%;
        padding-left: 3.5vw;
        font-size: 3.5vw;
    }
    .page-history-text-wrap p::before {
        width: 1.5vw;
        height: 3.5vw;
    }
    .page-history-img-area {
        margin-top: 10vw;
        display: flex;
        flex-wrap: wrap;
        gap: 2vw;
    }
    .page-history-img-card-wrap {
        margin-bottom: 2vw;
    }
    .page-history-img-card-wrap img {
        width: 39vw;
        border-radius: 3px;
    }
    .page-history-img-card-wrap h3 {
        width: 39vw;
        margin-top: 2vw;
        font-size: 3.5vw;
    }
}
/* ----------------------------------------------------
page-access
---------------------------------------------------- */
.page-access-text-wrap {
    position: relative;
    top: -15vw;
    margin: 0 auto;
    padding: 3vw;
    width: 70vw;
    background-color: #fff;
    font-weight: bold;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.3);
    z-index: 1; 
}
.store01-text-area h2 {
    position: relative;
    font-size: 2vw;
}
.store01-text-area h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 17vw;
    height: 2px;
    background-color: #000;
}
.store01-text-area iframe {
    margin: 3vw 5vw;
    width: 54vw;
    height: 20vw;
    border-radius: 10px;
}
.address-text {
    margin-bottom: 3vw;
    font-size: 1.3vw;
    line-height: 1.5;
}
.address-text a {
    color: #0000ff;
    border-bottom: solid 2px #0000ff;
}
.page-access-img-area {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3vw;
}
.page-access-img-area img {
    width: 47.5%;
    height: 20vw;
    object-fit: cover;
}
.store-access-text-area {
    margin-bottom: 2vw;
}
.store-access-text-area h6 {
    position: relative;
    margin-bottom: 1%;
    padding-left: 1.5vw;
    font-size: 1.3vw;
}
.store-access-text-area h6::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 1vw;
    height: 1vw;
    border-radius: 50%;
    background-color: #ff0000;
}
.store-access-text-area p {
    margin-left: 2.8vw;
}
.store02-text-area {
    margin-top: 5vw;
}
.store02-text-area h2 {
    position: relative;
    font-size: 2vw;
}
.store02-text-area h2::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 30.5vw;
    height: 2px;
    background-color: #000;
}
@media screen and (max-width: 767px) {
    .page-access-text-wrap {
        margin-bottom: 20vw;
        top: -8vw;
        padding: 5vw;
        width: 90vw; 
    }
    .store01-text-area h2 {
        font-size: 5vw;
    }
    .store01-text-area h2::before {
        bottom: -5px;
        width: 42.5vw;
        height: 1px;
    }
    .store01-text-area iframe {
        margin: 5vw 2.5vw;
        width: 75vw;
        height: 40vw;
        border-radius: 5px;
    }
    .address-text {
        margin-bottom: 5vw;
        font-size: 3.5vw;
    }
    .address-text a {
        border-bottom: solid 1px #0000ff;
    }
    .page-access-img-area {
        margin-bottom: 5vw;
    }
    .page-access-img-area img {
        width: 48%;
        height: 45vw;
        border-radius: 2px;
    }
    .store-access-text-area {
        margin-bottom: 5vw;
    }
    .store-access-text-area h6 {
        margin-bottom: 1.5%;
        padding-left: 5vw;
        font-size: 4.5vw;
    }
    .store-access-text-area h6::before {
        width: 3.5vw;
        height: 3.5vw;
    }
    .store-access-text-area p {
        margin-left: 5vw;
        font-size: 3vw;
    }
    .store02-text-area {
        margin-top: 5vw;
    }
    .store02-text-area h2 {
        margin-top: 10vw;
        font-size: 5vw;
    }
    .store02-text-area h2::before {
        bottom: -5px;
        width: 76.5vw;
        height: 1px;
    }
}
/* ----------------------------------------------------
page-factory
---------------------------------------------------- */
.page-factory-text-wrap {
    position: relative;
    top: -15vw;
    margin: 0 auto;
    padding: 3vw;
    width: 70vw;
    background-color: #fff;
    font-weight: bold;
    box-shadow: 10px 10px 0px 0px rgba(0, 0, 0, 0.3);
    z-index: 1; 
}
.page-factory-img-area {
    margin: 7vw 0;
    display: flex;
    align-items: center;
}
.page-factory-img-area img {
    margin-right: 2vw;
    width: 25vw;
    height: 18vw;
    object-fit: cover;
}
.page-factory-img-text-area h4 {
    margin-bottom: 5%;
    font-size: 2vw;
}
.page-factory-img-text-area p {
    margin-bottom: 2%;
    width: 37vw;
    line-height: 1.5;
}
.page-factory-img-area02 {
    margin: 7vw 0;
    display: flex;
    align-items: center;
}
.page-factory-img-area02 img {
    margin-left: 2vw;
    width: 25vw;
    height: 18vw;
    object-fit: cover;
}
@media screen and (max-width: 767px) {
    .page-factory-text-wrap {
        margin-bottom: 20vw;
        top: -8vw;
        padding: 5vw;
        width: 90vw; 
    }
    .page-factory-img-area {
        margin: 10vw 0;
        flex-direction: column;
    }
    .page-factory-img-area img {
        margin-right: 0;
        width: 100%;
        height: 45vw;
        border-radius: 5px;
    }
    .page-factory-img-text-area h4 {
        margin-top: 2%;
        margin-bottom: 2%;
        font-size: 4.5vw;
    }
    .page-factory-img-text-area p {
        margin-bottom: 2%;
        width: 100%;
        line-height: 1.5;
        font-size: 3.5vw;
    }
    .page-factory-img-area02 {
        margin: 10vw 0;
        flex-direction: column-reverse;
    }
    .page-factory-img-area02 img {
        margin-left: 0;
        width: 100%;
        height: 45vw;
        border-radius: 5px;
    }
}
/* ----------------------------------------------------
page-news
---------------------------------------------------- */
.page-news-area {
    margin: 10% auto;
    width: 70vw;
}
.page-news-post-area a {
    cursor: pointer !important;
    display: flex;
    align-items: center;
    margin: 1% 0;
    padding: 1vw 2vw;
    width: 100%;
    font-weight: bold;
    border-bottom: solid 1px #333;
}
.pagination {
    margin-top: 2vw;
    text-align: center;
}
.pagination .page-numbers {
    margin: 0 0.3vw;
}
.pagination .page-numbers.current {
    border-bottom: solid 2px #000;
    font-size: 1.3vw;
}
@media screen and (max-width: 767px) {
    .page-news-area {
        margin: 25% auto;
        width: 90vw;
    }
    .pagination {
        margin-top: 10vw;
        font-size: 3vw;
    }
    .pagination .page-numbers {
        margin: 0 1vw;
    }
    .pagination .page-numbers.current {
        border-bottom: solid 1px #000;
        font-size: 4vw;
    }
}
/* ----------------------------------------------------
page-contact
---------------------------------------------------- */
.page-contact-area {
    margin: 10% auto;
    width: 70vw;
    padding: 5vw;
    font-weight: bold;
}
.page-contact-tel-area {
    position: relative;
    padding: 5vw 5vw 3vw 5vw;
    width: 60vw;
    background-color: #fff;
    border-radius: 20px;
    border: solid 1px #000;
}
#page-contact-tel-title {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    padding: 1vw 0;
    width: 50vw;
    text-align: center;
    font-size: 1.3vw;
    color: #fff;
    background-color: #38b6ff;
    border-radius: 50px;
}
.page-contact-tel-wrap {
    margin-bottom: 5%;
    text-align: center;
}
.page-contact-tel-wrap a {
    font-size: 3vw;
    color: #38b6ff;
}
.page-contact-tel-wrap p {
    margin-top: 1%;
    font-size: 1.2vw;
}
.page-contact-tel-text {
    font-size: 1.2vw;
    line-height: 1.5;
}
.page-contact-form-area {
    position: relative;
    margin-top: 15%;
    padding: 6vw 5vw 4vw 5vw;
    width: 60vw;
    background-color: #fff;
    border-radius: 20px;
    border: solid 1px #000;
}
#page-contact-form-title {
    position: absolute;
    top: -2.5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    padding: 1vw 0;
    width: 50vw;
    text-align: center;
    font-size: 1.3vw;
    color: #fff;
    background-color: #ea0e00;
    border-radius: 50px;
}
.page-contact-form-text-area {
    font-size: 1.2vw;
    line-height: 1.5;
}
.page-contact-form-wrap {
    margin-top: 8%;
    font-size: 1.2vw;
    color: #000;
}
.contact-form-7-text {
    display: flex;
    align-items: center;
}
.wpcf7-form-control-wrap input {
    margin-top: 1%;
    margin-bottom: 4%;
    padding: 0.5vw;
    width: 100%;
    border: solid 2px #000;
    border-radius: 10px;
}
.wpcf7-form-control-wrap textarea {
    margin-top: 1%;
    max-width: 100%;
    min-width: 100%;
    padding: 0.5vw;
    border: solid 2px #000;
    border-radius: 10px;
}
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
  outline: none;
  box-shadow: 0 0 8px 2px rgba(0, 170, 255, 0.5);
  border-color: #0077ff;
}
span.required {
    margin-left: 1vw;
    padding: 0.2vw 1vw;
    font-size: 0.8vw;
    color: #fff;
    background-color: #ff0000;
    border-radius: 50px;
}
.contact-form-btn-area {
    margin-top: 4vw;
    text-align: center;
}
.contact-form-btn-area p {
    position: relative;
    cursor: pointer;
    margin: 0 17vw;
    padding: 1vw 9vw 1vw 4vw;
    background-color: #38b6ff;
    color: #fff;
    border-radius: 50px;
}
.contact-form-btn-area p span {
    position: absolute;
    top: 50%;
    right: 1vw;
    transform: translateY(-50%);
    width: 3vw;
    height: 3vw;
    text-align: center;
    line-height: 3vw;
    color: #38b6ff;
    font-size: 1.5vw;
    background-color: #fff;
    border-radius: 50%;
}
@media screen and (max-width: 767px) {
    .page-contact-area {
        margin: 25% auto;
        width: 85vw;
        padding: 0vw;
    }
    .page-contact-tel-area {
        padding: 6vw 5vw 3vw 5vw;
        width: 85vw;
        border-radius: 10px;
    }
    #page-contact-tel-title {
        top: -10%;
        padding: 1vw 0;
        width: 70vw;
        font-size: 4.5vw;
    }
    .page-contact-tel-wrap {
        margin-bottom: 5%;
        text-align: center;
    }
    .page-contact-tel-wrap a {
        font-size: 7vw;
    }
    .page-contact-tel-wrap p {
        margin-top: 1%;
        font-size: 3vw;
    }
    .page-contact-tel-text {
        font-size: 3vw;
        line-height: 1.5;
    }
    .page-contact-form-area {
        margin-top: 20%;
        padding: 6vw 5vw 3vw 5vw;
        width: 85vw;
        border-radius: 10px;
    }
    #page-contact-form-title {
        top: -2.5%;
        padding: 1vw 0;
        width: 70vw;
        font-size: 4.5vw;
    }
    .page-contact-form-text-area {
        font-size: 3.2vw;
        line-height: 1.5;
    }
    .page-contact-form-wrap {
        margin-top: 5%;
        font-size: 3.5vw;
    }
    .wpcf7-form-control-wrap input {
        padding: 1vw;
        border: solid 1px #000;
        border-radius: 5px;
        font-size: 4vw;
    }
    .wpcf7-form-control-wrap textarea {
        padding: 1vw;
        border: solid 1px #000;
        border-radius: 5px;
        font-size: 4vw;
    }
    .wpcf7-form-control-wrap input:focus,
    .wpcf7-form-control-wrap textarea:focus {
    outline: none;
    box-shadow: 0 0 8px 2px rgba(0, 170, 255, 0.5);
    border-color: #0077ff;
    }
    span.required {
        margin-left: 3vw;
        padding: 0.5vw 2vw;
        font-size: 2.5vw;
    }
    .contact-form-btn-area {
        margin-top: 5vw;
        text-align: center;
    }
    .contact-form-btn-area p span {
        width: 5vw;
        height: 5vw;
        line-height: 5vw;
        font-size: 4vw;
    }
}
/* ----------------------------------------------------
page-lesson
---------------------------------------------------- */
#timetable-pc {
    margin-top: 3%;
    margin-left: 10%;
    width: 80%;
}
.page-lesson-wrap {
    line-height: 2;
    font-size: 1.2vw;
}
.page-lesson-wrap h3 {
    margin: 5% 0 2% 0;
    padding-left: 2%;
    width: 100%;
    font-size: 2vw;
    font-weight: bold;
    border-left: 10px solid #333;
    border-bottom: 2px solid #333;
}
.page-lesson-coach-area {
    line-height: 2;
}
.page-lesson-coach-area h3 {
    margin: 5% 0 2% 0;
    padding-left: 2%;
    width: 100%;
    font-size: 2vw;
    font-weight: bold;
    border-left: 10px solid #333;
    border-bottom: 2px solid #333;
}
.page-lesson-coach-card {
    display: flex;
}
.page-lesson-coach-area img {
    margin-right: 2vw;
    width: 32vw;
    height: auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 5px;
}
.page-lesson-coach-card-text-area {
    width: 32vw;
}
.margin-right-text-area {
    margin-right: 4vw;
}
.page-lesson-coach-area h1 {
    margin: 1vw 0;
    font-size: 2vw;
}
.page-lesson-coach-area h1 span {
    font-size: 1.2vw;
}
.page-lesson-coach-area h4 {
    font-size: 1.5vw;
}
.page-lesson-coach-area p {
    margin: 1vw 0;
    line-height: 2;
}
.page-lesson-bbs-area {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: -5vw;
    margin-bottom: 10vw;
    padding-top: 5vw;
}
.scroll-container {
    position: relative;
    width: 100%;
    white-space: nowrap;
    box-sizing: border-box;
    margin-bottom: 5vw;
}
.scroll-content {
    display: inline-block;
    width: 720vw;
    box-sizing: border-box;
    animation-play-state: running;
}
.scroll-container:hover .scroll-content,
.scroll-content:hover {
    animation-play-state: paused;
}
.scroll-left .scroll-content {
    animation: scroll-left-animation 30s linear infinite;
}
.scroll-right .scroll-content {
    animation: scroll-right-animation 40s linear infinite;
}
.scroll-content img {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    transition: transform 0.3s ease;
    width: 30vw;
    height: 25vw;          
    margin-right: 1vw;          
    cursor: pointer;
    object-fit: cover; 
    object-position: center center;
    border-radius: 5px;          
}
.scroll-content img:hover {
    transform: scale(1.1);
    z-index: 10;
}
@keyframes scroll-left-animation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 右方向へ無限スクロール */
@keyframes scroll-right-animation {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
@media screen and (max-width: 767px) {
    #timetable-pc {
        margin-top: 5vw;
        margin-left: 0;
        width: 100%;
    }
    .page-lesson-wrap {
        line-height: 2;
        font-size: 3vw;
    }
    .page-lesson-wrap h3 {
        margin: 8% 0 5% 0;
        padding-left: 3vw;
        font-size: 4.5vw;
        border-left: 5px solid #333;
        border-bottom: 1px solid #333;
    }
    .page-lesson-coach-area h3 {
        margin: 8% 0 5% 0;
        padding-left: 3vw;
        font-size: 4.5vw;
        border-left: 5px solid #333;
        border-bottom: 1px solid #333;
    }
    .page-lesson-coach-card {
        display: flex;
        flex-direction: column;
    }
    .page-lesson-coach-card-text-area {
        width: 100%;
    }
    .margin-right-text-area {
        margin-right: 0;
    }
    .page-lesson-coach-area img {
        margin-right: 2vw;
        width: 100%;
        border-radius: 5px;
    }
    .page-lesson-coach-area h1 {
        margin: 1vw 0;
        font-size: 4.5vw;
    }
    .page-lesson-coach-area h1 span {
        margin-left: 2vw;
        font-size: 3vw;
    }
    .page-lesson-coach-area h4 {
        font-size: 3.5vw;
    }
    .page-lesson-coach-area p {
        font-size: 3vw;
    }
    .page-lesson-bbs-area {
        margin-top: -10vw;
        margin-bottom: 15vw;
        padding-top: 10vw;
    }
    .scroll-container {
        margin-bottom: 10vw;
    }
    .scroll-content {
        width: 960vw;
    }
    .scroll-content img {
        width: 40vw;
        height: 30vw;                   
    }
}
/* ----------------------------------------------------
page-event
---------------------------------------------------- */
.page-event-title-area {
    margin: 3vw 0;
    text-align: center;
    font-size: 1.2vw;
}
.event-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1vw;
}
.event-list img {
    width: 20.66vw;
    height: 20.66vw;
}
@media screen and (max-width: 767px) {
    .event-list {
        gap: 2vw;
    }
    .event-list img {
        width: 39vw;
        height: 39vw;
    }
}
/* ----------------------------------------------------
page-junior
---------------------------------------------------- */
.page-junior-card-area {
    display: flex;
    flex-wrap: wrap;
    gap: 1vw;
}
.page-junior-img-area {
    width: 20.66vw;
    height: auto;
    margin-bottom: 1vw;
    text-align: center;
}
.page-junior-img-area img {
    width: 20.66vw;
    height: 25vw;
    object-fit: cover;
    object-position: center top;
    border-radius: 5px;
}
.page-junior-img-area h2 {
    margin: 1vw 0;
    font-size: 1.5vw;
}
.page-junior-img-area-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.page-junior-title {
    margin-top: 5vw;
    margin-bottom: 3vw;
    text-align: center;
    font-size: 2.2vw;
}
.page-junior-img-area-text-margin-top {
    margin-top: 25vw;
}
@media screen and (min-width: 768px) {
    #pc-none-br {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .page-junior-card-area {
        gap: 2vw;
    }
    .page-junior-img-area {
        width: 38vw;
        margin-bottom: 1.5vw;
    }
    .page-junior-img-area img {
        width: 38vw;
        height: 50vw;
    }
    .page-junior-img-area h2 {
        font-size: 4vw;
    }
    .page-junior-img-area p {
        font-size: 3vw;
    }
    .page-junior-title {
        margin-top: 10vw;
        margin-bottom: 5vw;
        text-align: center;
        font-size: 6vw;
    }
    .page-junior-img-area-text-margin-top {
        margin-top: 0;
    }
}