/*
Theme Name: ryoballetblock
Theme URI: http://ryoballetstudio_wp.chitane.jp/ryo-wp
Description: 根岸諒バレエスタジオのテーマ
Author: http://ryoballetstudio_wp.chitane.jp/ryo-wp
Author URI: 
Creator: chitanemaru@gmail.com
Creator URI: http://ryoballetstudio_wp.chitane.jp/ryo-wp
*/

@charset "utf-8";

/* @font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 100;
  src:
    local("Noto Sans CJK JP"),
    url(//fonts.gstatic.com/ea/notosansjp/v6/NotoSansJP-Regular.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/notosansjp/v6/NotoSansJP-Regular.woff) format('woff'),
    url(//fonts.gstatic.com/ea/notosansjp/v6/NotoSansJP-Regular.otf) format('opentype');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  src:
    local("Noto Sans CJK JP"),
    url(//fonts.gstatic.com/ea/notosansjp/v6/NotoSansJP-Regular.woff2) format('woff2'),
    url(//fonts.gstatic.com/ea/notosansjp/v6/NotoSansJP-Regular.woff) format('woff'),
    url(//fonts.gstatic.com/ea/notosansjp/v6/NotoSansJP-Regular.otf) format('opentype');
} */

html {
    font-size: 62.5%;
    /*  16px ×62.5%=10px */
    font-weight: 100;
}

body {
    color: #4a4a4a;
    font-family:
        "Noto Sans JP",
        /* For Mac */ /* For Windows Firefox, Edge, IE */
        "Hiragino Kaku Gothic ProN",
        "Hiragino Kaku Gothic Pro",
        "Hiragino Sans",
        /* For Mac Fallback */ Meiryo,
        /* For Windows Fallback (Chrome) */ sans-serif;
    font-size: 1.4rem;
    font-weight: 100;
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

a {
    color: #4a4a4a;
}

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

.classico {
    font-family: classico-urw, sans-serif;
    font-style: normal;
    font-weight: 400;
}

/*------------------------
 * utility
 ------------------------*/
.inner {
    width: 990px;
    margin: auto;
}

.img_pc {
    display: block;
}

.img_sp {
    display: none;
}

.br-sp {
    display: none;
}

.br-pc {
    display: block;
}

.text-center {
    text-align: center;
}

.bold {
    font-weight: 400;
}

.blue-line {
    background: rgba(0, 0, 0, 0) linear-gradient(transparent 80%, #e2fbfb 0%)
        repeat scroll 0 0;
}

.sns {
    padding-left: 20px;
}

.fuwatAnime {
    -webkit-animation-fill-mode: both;
    -ms-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-duration: 2s;
    -ms-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-name: fuwatAnime;
    -ms-animation-name: fuwatAnime;
    animation-name: fuwatAnime;
    visibility: visible !important;
}

@-webkit-keyframes fuwatAnime {
    0% {
        opacity: 0;
        -webkit-transform: translateY(40px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes fuwatAnime {
    0% {
        opacity: 0;
        -webkit-transform: translateY(40px);
        -ms-transform: translateY(40px);
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

/*------------------------
 * openeng animation
 ------------------------*/
.openinganimation_bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background-color: #fff;
}

.openinganimation_bg {
    animation: fadeout 8s ease 0s 1 normal forwards;
    -webkit-animation: fadeout 8s ease 0s 1 normal forwards;
    opacity: 0;
}

@keyframes fadeout {
    0% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
        z-index: -1;
    }
}

@-webkit-keyframes fadeout {
    0% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
        z-index: -1;
    }
}

.page-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

.openinganimation_wrap {
    display: flex;
    justify-content: center;
}

.openinganimation_top_img {
    width: 161px;
}

.openinganimation_left_img {
    width: 72px;
}

.openinganimation_right_img {
    width: 72px;
}

.openinganimation_bottom_img {
    width: 229px;
}

.open_left {
    position: relative;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    line-height: 72px;
    font-size: 1.6rem;
    background-color: #fff;
    -webkit-box-shadow: 0 0 20px -6px #fff;
    box-shadow: 0 0 20px -6px #fff;
    color: #fff;
    content: "";
}

.open_right {
    position: relative;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    line-height: 72px;
    font-size: 1.6rem;
    background-color: #fff;
    -webkit-box-shadow: 0 0 20px -6px #fff;
    box-shadow: 0 0 20px -6px #fff;
    color: #fff;
    content: "";
}

.openinganimation_welcome_base {
    position: relative;
}

.openinganimation_welcome {
    position: absolute;
    top: 94px;
    left: calc(50% - 60px);
    font-size: 2.8rem;
    animation: fadeIn2 7s ease 0s 1 normal;
    -webkit-animation: fadeIn2 7s ease 0s 1 normal;
}

@keyframes fadeIn2 {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn2 {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*------------------------
 * btn
 ------------------------*/
.btn-space {
    padding: 50px 0 40px;
}

.btn {
    display: block;
    font-size: 1.8rem;
    width: 217px;
    height: 48px;
    line-height: 48px;
    vertical-align: middle;
    background-color: #fff;
    margin: 0 auto;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.back {
    border: solid 1px #ff9a9a;
}

.go {
    border: solid 1px #ff9a9a;
    background-color: #ff9a9a;
    color: #fff;
}

.btn-img {
    height: 20px;
    width: auto;
    vertical-align: middle;
    padding-left: 10px;
}

.img-mirror {
    transform: scale(-1, 1);
}

/*------------------------
 * header
 ------------------------*/
.header {
    position: fixed;
    width: 100%;
    height: 60px;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 10;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-around;
}

.header-inner h1 {
    line-height: 60px;
}

h1 a {
    line-height: 60px;
    display: block;
    font-size: 1.8rem;
}

.header-rogo {
    width: 58px;
    vertical-align: middle;
}

.nav-wrap {
    display: flex;
    justify-content: flex-end;
}

.nav-icon {
    width: 28px;
    vertical-align: middle;
    padding-right: 10px;
}

.nav-text {
    font-size: 1.8rem;
}

.nav-text a {
    display: block;
    line-height: 60px;
    padding-left: 15px;
    padding-right: 15px;
}

.nav-text.line_icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-text.line_icon a {
    display: flex;
}

.nav-text.line_icon a img {
    height: 44px;
}

/*------------------------
 * key visual
 ------------------------*/
.kv {
    padding-top: 60px;
}

/*------------------------
 * try btn
 ------------------------*/
.btn-try_vertical {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 1.8rem;
    font-weight: 400;
    position: fixed;
    bottom: 50px;
    right: 0;
    background-color: #ffefc0;
    border-radius: 10px 0 0 10px;
    border: solid 1px #f3f3f3;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    z-index: 9;
}

.btn-try-area {
    display: block;
    padding: 10px 6.5px 3px 12px;
}

.btn-try_icon {
    width: 27px;
    padding-top: 10px;
}

/*------------------------
 * background
 ------------------------*/
.bg-glay {
    background-color: #f3f3f3;
    margin-top: 16px;
    min-width: 990px;
}

.bg-cream {
    background-color: #fff8e6;
    margin-top: 16px;
}

.bg-beginner {
    background-image:
        url(image/bg_ribon1.png), url(image/bg_ribon2.png),
        url(image/bg_ribon3.png);
    background-position:
        -100px -350px,
        380px 14px,
        100px 1000px;
    background-repeat: no-repeat;
}

/*------------------------
 * footer
 ------------------------*/
.footer {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 40px 40px 0;
    width: 100%;
}

.copyright {
    font-size: 1rem;
    padding-top: 10px;
    margin-bottom: 26px;
}

/*------------------------
 * section
 ------------------------*/
.section {
    padding-top: 50px;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
}

.section-title:after {
    content: "";
    position: absolute;
    background: #ff9a9a;
    width: 50px;
    height: 4px;
    bottom: -31px;
    left: 0;
}

.section-title.white h2 {
    color: #ffffff;
}

.section-title.adult:after {
    background: #7bcccc;
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 32px;
    margin-block-start: 0;
}

.pagetop {
    padding-top: 65px;
}

.pagetop_contact {
    padding-top: 180px;
}

.lead-text {
    margin-bottom: 40px;
}

/*------------------------
 * news
 ------------------------*/
.red {
    color: #ad2828;
}

.juyo {
    width: 500px;
    border: #ad2828 solid 2px;
    padding: 20px;
    margin: 40px auto;
}

.section-body.red {
    margin-bottom: 10px;
}

.news-item {
    align-items: flex-start;
    display: flex;
    width: 585px;
    margin: 0 auto 28px;
}

.news-date {
    padding-right: 58px;
    flex: 0 0 112px !important;
    line-height: 1.5;
    white-space: nowrap;
}

.news-text {
    flex: 0 0 400px;
    line-height: 1.5;
}

/*------------------------
 * tab
 ------------------------*/
.tab-item {
    flex-grow: 1;
}

.tab-color {
    position: relative;
}

/* activの時の吹き出し */
.tab-color.junior a {
    background-color: #ff9a9a;
}

.tab-color.junior:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border: 10px solid transparent;
    border-top: 18px solid #ff9a9a;
}

.tab-color.junior.standby a {
    color: #ff9a9a;
    border: solid 1px #e5e5e5;
    background-color: #fff;
}

.tab-color.junior.standby:before {
    display: none;
}

.tab-color.adult a {
    background-color: #7bcccc;
}

.tab-color.adult:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border: 10px solid transparent;
    border-top: 18px solid #7bcccc;
}

.tab-color.adult.standby a {
    color: #7bcccc;
    border: solid 1px #e5e5e5;
    background-color: #fff;
}

.tab-color.adult.standby:before {
    display: none;
}

.tab-color.beginner a {
    background-color: #ffe59a;
}

.tab-color.beginner:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    border: 10px solid transparent;
    border-top: 18px solid #ffe59a;
}

.tab-color.beginner.standby a {
    color: #fcc21b;
    border: solid 1px #e5e5e5;
    background-color: #fff;
}

.tab-color.beginner.standby:before {
    display: none;
}

/*------------------------
 * class
 ------------------------*/
.class-lead {
    width: 666px;
    margin: 0 auto 20px;
    line-height: 1.71;
}

.class-lead.beginner {
    margin: 0 auto 25px;
    line-height: 2;
}

/* 料金表 */
.wp-block-table td,
.wp-block-table th {
    border: none;
    padding: 0.5em;
    border-color: transparent;
}
.table table {
    border-collapse: separate;
    border-spacing: 6px;
    line-height: 1.4;
}

.table1.wp-block-table table {
    width: auto;
}

.table2 {
    width: 678px;
    margin: 0 auto;
}

.table1.table_child table tr td:first-of-type,
.table2.table_child table tr th {
    background-color: #ffe6e6;
}

.table1.table_adult table tr td:first-of-type,
.table2.table_adult table tr th {
    background-color: #c9f3f3;
}

.table1.table_beginner table tr td:nth-of-type(2),
.table2.table_beginner table tr td {
    background-color: #fff;
}

.table1 table tr td:nth-of-type(2),
.table2 table tr td {
    background-color: #fff8e6;
}

.table table tr td:first-of-type,
.table table tr th:first-of-type {
    width: 86px;
    padding: 12px 12px;
    vertical-align: middle;
}

.table table tr td:nth-of-type(2),
.table table tr th:nth-of-type(2) {
    width: 172px;
    padding: 12px 12px;
    vertical-align: middle;
}

.table table tr td:nth-of-type(3),
.table table tr th:nth-of-type(3) {
    width: 126px;
    padding: 12px 12px;
    vertical-align: middle;
}

.table table tr td:nth-of-type(4),
.table table tr th:nth-of-type(4) {
    width: auto;
    padding: 12px 12px;
    vertical-align: middle;
}

/* クラス紹介 */
.class-img-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 80px;
}

.class-img {
    position: relative;
    width: 310px;
    overflow: hidden;
    padding-bottom: 30px;
}

.class-text {
    width: 254px;
    line-height: 1.5;
    margin: 0 auto;
}

.class-mask {
    position: absolute;
    width: 278px;
    height: 131px;
    margin: 92px 16px 0;
    top: -100%;
    /* 枠の上に置いて表示させない */
    left: 0;
    opacity: 0;
    /* マスクを表示しない */
    background-color: rgba(255, 255, 255, 0.7);
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.class-img:hover .class-mask {
    opacity: 1;
    /* マスクを表示する */
    top: 0;
    /* 下に降りてくるように見せる */
}

.class-title {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px 0;
    width: 278px;
    height: 52px;
    top: 20px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    display: table;
}

.class-title_text {
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.5;
    display: table-cell;
    vertical-align: middle;
}

/*------------------------
 * schedule
 ------------------------*/
.wp-block-jetpack-google-calendar {
    min-width: 335px;
}

/*------------------------
 * q & a
 ------------------------*/
.column {
    display: flex;
    justify-content: space-between;
}

.qa-item {
    margin-bottom: 20px;
}

.question {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 60px;
    font-size: 1.6rem;
    background-color: #ffd3d3;
    padding-left: 14px;
    padding-right: 30px;
    box-sizing: border-box;
}

.question::before {
    position: absolute;
    content: "";
    width: 28px;
    height: 1px;
    top: 50%;
    right: 10px;
    background-color: #4a4a4a;
}

.question::after {
    position: absolute;
    content: "";
    width: 1px;
    height: 28px;
    top: 50%;
    right: 24px;
    transform: translateY(-50%);
    background-color: #4a4a4a;
}

.wp-block-accordion-heading__toggle-icon {
    display: none;
}

.is-open > .question::after {
    display: none;
    transition: all 0.3s;
}

.question.adult {
    background-color: #b0e9e9;
}

.q-no {
    display: block;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    line-height: 40px;
    font-size: 1.8rem;
    background: #fff;
    text-align: center;
    margin: auto 10px;
}

.q-text {
    flex: 1 1 auto;
    font-size: 1.6rem;
    line-height: 1.8;
    padding: 16px 56px 16px 0;
}

.answer {
    width: 100%;
    min-height: 24px;
    background-color: #fff;
    line-height: 1.8;
    padding: 16px 24px;
    margin-block-start: 0;
    box-sizing: border-box;
}

.answer p {
    font-size: 1.6rem !important;
}

/*accordion*/
.accordion li {
    position: relative;
}

.accordion > ol > li > a {
    display: block;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    width: 480px;
}

.accordion > ol > li > div {
    display: none;
}

.accordion li .accordion_icon,
.accordion li .accordion_icon span {
    display: inline-block;
    transition: all 0.3s;
    box-sizing: border-box;
}

.accordion li .accordion_icon {
    position: absolute;
    width: 28px;
    height: 28px;
    top: 50%;
    right: 20px;
}

.accordion li .accordion_icon span {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #4a4a4a;
}

.accordion li .accordion_icon.active span:nth-of-type(1) {
    display: none;
}

.accordion li .accordion_icon.active span:nth-of-type(2) {
    transform: rotate(180deg);
}

.accordion li .accordion_icon span:nth-of-type(1) {
    transform: rotate(0deg);
}

.accordion li .accordion_icon span:nth-of-type(2) {
    transform: rotate(90deg);
}

.section-footer {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 40px;
    width: 100%;
}

/*------------------------
 * beginner
 ------------------------*/
.beginner-contener {
    position: relative;
    width: 380px;
    margin: -150px 54px 0;
}

.beginner-contener:first-of-type {
    margin-top: 93px;
}

.beginner-contener:nth-of-type(2n) {
    margin-left: auto;
}

.beginner-contener:last-of-type {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 500px;
}

.beginner-contener-last {
    display: flex;
    justify-content: center;
}

.beginner-img {
    position: relative;
}

.beginner-img:after {
    content: "※写真はイメージです。";
    font-size: 1.2rem;
    position: absolute;
    bottom: 0;
    right: -7px;
}

.beginner-img-last {
    margin-left: -50px;
    margin-right: -50px;
}

.beginner-img-last_bottom {
    margin-top: 100px;
}

.beginner-qa-title {
    font-size: 2rem;
    font-weight: 400;
    padding-top: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.beginner-qa-text {
    line-height: 1.5;
    width: 380px;
}

/*------------------------
 * event
 ------------------------*/
.event-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
}

.event-item {
    flex-direction: column;
    width: 300px;
}

.event-text {
    padding-top: 20px;
}

.event-text-bg {
    background-color: #f8f8f8;
}

/*------------------------
 * insta
 ------------------------*/
.bg-base {
    position: relative;
    z-index: 1;
}

.bg-bigrogo {
    position: absolute;
    background-image: url(image/bg-rogo.png);
    background-repeat: no-repeat;
    width: 443px;
    height: 700px;
    z-index: -1;
    top: 0;
    left: 0;
}

/*------------------------
 * profile
 ------------------------*/
.profile-rayout1 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.profile-align {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.profile-img_s {
    width: 140px;
}

.profile-img_m {
    height: 182px;
    padding-top: 30px;
}

.profile-text-item {
    display: flex;
    justify-content: space-between;
}

.profile-title_l {
    line-height: 1.2;
    font-weight: bold;
    padding-top: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.profile-rayout {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.profile-rayout li {
    max-width: 400px;
    min-width: 300px;
}

.profile-title_sub {
    line-height: 1.6;
    font-weight: bold;
    margin-bottom: 20px;
}

.profile-title_subr {
    line-height: 1.6;
    font-weight: bold;
    margin-left: 20px;
    margin-bottom: 20px;
}

.profile-wrapper {
    flex-direction: column;
}

.profile-textwrapper > * {
    display: flex;
    align-items: flex-start;
}

.profile-text_l {
    line-height: 1.9;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 450px;
}

.profile-title_r {
    text-align: right;
    line-height: 1.2;
    font-weight: bold;
    padding-top: 40px;
    margin-bottom: 20px;
}

.profile-text_r {
    text-align: right;
    line-height: 1.9;
    margin-bottom: 20px;
    width: 450px;
}

/*------------------------
 * access
 ------------------------*/
.access-wrapper_pc {
    display: flex;
    justify-content: space-between;
}

.googlemaps-wrapper {
    position: relative;
    width: 400px;
    margin-bottom: 30px;
}

.googlemaps {
    /* position: absolute;
  top: 0;
  left: 0; */
    width: 100%;
    height: 100%;
}

.btn_googlemaps {
    display: block;
    width: 186px;
    height: 29px;
    border: solid 1px #4a4a4a;
    padding-top: 11px;
}

.btn_googlemaps::after {
    margin-left: 10px;
    content: "\f041";
    font-family: FontAwesome;
}

.access-text {
    font-size: 1.6rem;
    padding-top: 18px;
}

.map_illust {
    width: 564px;
}

/*------------------------
 * form
 ------------------------*/
.form {
    display: flex;
    justify-content: space-between;
    width: 650px;
    margin: 0 auto;
}

.form:first-of-type {
    padding-top: 30px;
}

.form-title {
    font-weight: 400;
    width: 140px;
    text-align: right;
    line-height: 43px;
}

.form-title_text-area {
    line-height: 43px;
}

.form-parts {
    width: 480px;
    line-height: 43px;
}

.select-area {
    color: #4a4a4a;
    background-color: #ffd3d3;
    margin-bottom: 30px;
    font: 300 14px "Noto Sans JP";
    border-radius: 3px;
    border: none;
    border-image: initial;
}

select::-ms-expand {
    display: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 7px 40px 7px 13px;
    background-image: url(./image/arrow_down.png);
    background-repeat: no-repeat;
    background-size: 16px auto;
    background-position: right 10px center;
}

.text-area {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-image: none;
    border: none;
    background-color: #fff5f5;
    border-radius: 3px;
    padding: 13px;
    font-size: 1.4rem;
    font-weight: 100;
    width: 452px;
    margin-bottom: 30px;
}

.text-area:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: rgba(74, 74, 74, 0.5);
}

/* Edge */
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: rgba(74, 74, 74, 0.5);
}

/* IE11 & IE10 */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: rgba(74, 74, 74, 0.5);
}

@media screen and (max-width: 800px) {
    /*------------------------
   * utility
   ------------------------*/
    .inner {
        width: 100%;
        margin: 0;
    }

    .wrapper {
        box-sizing: border-box;
        padding: 0 21px;
    }

    .text-center {
        text-align: center;
    }

    .img_pc {
        display: none;
    }

    .img_sp {
        display: block;
    }

    .br-sp {
        display: block;
    }

    .br-pc {
        display: none;
    }

    .more-link-area {
        padding-top: 10px;
        display: inline-block;
    }

    .more-link {
        text-align: end;
        font-size: 1.6rem;
    }

    .more-img {
        height: 15px;
        width: auto;
        vertical-align: middle;
        padding-left: 10px;
    }

    .size16 {
        font-size: 1.6rem;
    }

    /*------------------------
   * btn
   ------------------------*/
    .btn-space {
        padding: 50px 0 0;
    }

    .btn_last {
        padding: 50px 0 50px;
    }

    /*------------------------
   * header
   ------------------------*/
    .nav-wrap_sp {
        display: flex;
        justify-content: flex-end;
    }

    .nav-icon-area {
        height: 33px;
        box-sizing: border-box;
    }

    .nav-icon-area_mail {
        padding-top: 5px;
    }

    .nav-icon {
        width: 30px;
        display: block;
        padding: 0 0 3px;
    }

    .nav-icon_tel {
        width: 20px;
    }

    .nav-icon_sp {
        font-size: 1.2rem;
    }

    .nav-icon-link_sp {
        display: block;
        padding: 8px 13px;
    }

    /*------------------------
   * navigation
   ------------------------*/
    .btn-trigger {
        -webkit-appearance: none;
        appearance: none;
        position: fixed;
        padding: 0;
        top: 20px;
        left: 15px;
        z-index: 900;
        background-color: #fff;
        border: none;
        width: 30px;
        height: 19px;
        cursor: pointer;
    }

    .btn-trigger span {
        position: absolute;
        display: block;
        width: 30px;
        height: 1px;
        background-color: #4a4a4a;
        transition: all 0.5s;
        z-index: 999;
    }

    .btn-trigger span:first-of-type {
        top: 0;
    }

    .btn-trigger span:nth-of-type(2) {
        top: 9px;
        background-color: #ff9a9a;
    }

    .btn-trigger span:last-of-type {
        bottom: 0;
    }

    .btn-trigger.open span:first-of-type {
        transform: rotate(45deg);
        top: 9px;
    }

    .btn-trigger.open span:nth-of-type(2) {
        opacity: 0;
    }

    .btn-trigger.open span:last-of-type {
        transform: rotate(-45deg);
        bottom: 9px;
    }

    .navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        height: auto;
        padding: 28px 0 0 0;
        background-color: rgba(255, 255, 255, 0.97);
    }

    .nav-wrap {
        display: block;
    }

    .nav-text {
        font-size: 2.4rem;
        text-align: center;
        margin-bottom: 0;
    }

    .nav-text a {
        display: inline;
        line-height: 52px;
        padding: 10px 30px;
    }

    .nav-text.line_icon {
        margin-bottom: 30px;
    }

    .nav-text.line_icon a {
        display: inline;
    }

    .nav-select {
        display: flex;
    }

    .beginner-navfont {
        font-size: 2rem;
    }

    .nav-text_select {
        font-size: 1.8rem;
        text-align: center;
        width: 50vw;
    }

    .nav-color_junior {
        color: #ff9a9a;
    }

    .nav-color_adult {
        color: #7bcccc;
    }

    .nav-select-head_junior {
        border: solid 0.5px #ff9a9a;
    }

    .nav-select-head_adult {
        border: solid 0.5px #7bcccc;
    }

    .nav-text_select a {
        display: block;
        line-height: 52px;
    }

    /*------------------------
   * background
   ------------------------*/
    .bg-glay {
        width: 100%;
        min-width: auto;
    }

    .bg-cream {
        background-color: #fff8e6;
        margin-top: 16px;
    }

    .bg-beginner {
        background-image:
            url(image/bg_ribon1.png), url(image/bg_ribon2.png),
            url(image/bg_ribon3.png);
        background-position:
            -50px -116px,
            50px 600px,
            20px 1400px;
        background-repeat: no-repeat;
        background-size: 110%;
    }

    /*------------------------
 * footer
 ------------------------*/
    .footer {
        margin: 0 auto;
        padding: 40px 10px 0;
        width: 100%;
    }

    /*------------------------
   * section
   ------------------------*/
    .section {
        padding-top: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section-title {
        margin-bottom: 44px;
    }

    .section-title:after {
        width: 25px;
        bottom: -20px;
    }

    .pagetop {
        padding-top: 35px;
    }

    .pagetop_contact {
        padding-top: 110px;
    }

    /*------------------------
   * news
   ------------------------*/
    .red {
        color: #ad2828;
    }

    .juyo {
        box-sizing: border-box;
        width: 100%;
        border: #ad2828 solid 2px;
        padding: 20px;
        margin: 40px auto;
    }

    .section-body.red {
        margin-bottom: 10px;
    }

    .news-area {
        max-width: 500px;
        margin: 0 auto;
    }

    .news-item {
        display: block;
        width: 100%;
        margin: 0 auto 20px;
    }

    .news-date {
        padding-right: 18px;
        flex: 0 0 104px;
    }

    .news-text {
        line-height: 1.5;
        margin-top: 10px;
    }

    /*------------------------
   * tab
   ------------------------*/

    .tab-pagetop {
        padding-top: 80px;
    }

    .tab-head {
        -webkit-flex-grow: 1;
        flex-grow: 1;
        margin-right: 7.5px;
    }

    .tab-head:last-of-type {
        margin-right: 0;
    }

    .tab-linkarea {
        width: 100%;
    }

    /* activの時の吹き出し */
    .tab-color.junior:before {
        margin-left: -5px;
        border: 6px solid transparent;
        border-top: 12px solid #ff9a9a;
    }

    .tab-color.adult:before {
        margin-left: -5px;
        border: 6px solid transparent;
        border-top: 12px solid #7bcccc;
    }

    .tab-color.beginner:before {
        margin-left: -5px;
        border: 6px solid transparent;
        border-top: 12px solid #ffe59a;
    }

    /*------------------------
   * beginner
   ------------------------*/
    .beginner-contener {
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding-top: 60px;
        margin: 0 0 0;
    }

    .beginner-contener:nth-of-type(2n) {
        flex-direction: row-reverse;
    }

    .beginner-contener:last-of-type {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }

    .beginner-contener-last {
        display: flex;
        justify-content: center;
        order: 2;
    }

    .beginner-img {
        width: 140px;
        flex: 0 0 140px;
    }

    .beginner-img.over {
        padding-top: 50px;
    }

    .beginner-img:after {
        display: none;
    }

    .beginner-img-last {
        width: 140px;
        margin-left: 0;
        margin-right: 0;
    }

    .beginner-img-last_bottom {
        margin-top: 0;
        margin-left: -20px;
    }

    .beginner-qa-area {
        flex: 1 1 auto;
        padding-left: 13px;
    }

    .beginner-qa-title {
        font-size: 1.6rem;
        padding-top: 0;
    }

    .beginner-qa-title.over {
        margin-right: -60%;
    }

    .beginner-qa-title.order {
        order: 1;
    }

    .beginner-qa-text {
        width: 100%;
    }

    .beginner-qa-text.order {
        order: 3;
    }

    .beginner-qa-text-s {
        font-size: 1.1rem;
        padding-top: 5px;
    }

    /*------------------------
   * class
   ------------------------*/
    .class-lead {
        font-size: 1.6rem;
        width: 100%;
        margin: 0 auto 20px;
    }

    /* 料金表 */
    .table {
        border-spacing: 4px;
        margin-left: 0;
    }

    .table2 {
        width: 100%;
    }

    .table-width1 {
        width: 56px;
        padding: 12px 3.5px;
    }

    .table-width2 {
        width: 91px;
        padding: 12px 3.5px;
    }

    .table-width3 {
        width: auto;
        padding: 12px 3.5px;
    }

    .table-width4 {
        width: auto;
        padding: 12px 3.5px;
    }

    /* クラス紹介 */
    .class-img-wrap {
        padding-top: 0;
        margin-bottom: -15px;
    }

    .class-img {
        width: calc(calc(100vw - 57px) / 2);
        padding-bottom: 0;
        margin-bottom: 15px;
    }

    .class-title {
        font-size: 1.6rem;
        width: 90%;
        height: auto;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        padding: 7.5px 5px;
    }

    .class-title_text {
        font-size: 1.6rem;
    }

    .class-img_big-wrap {
        position: relative;
        padding-top: 30px;
    }

    .class-img_big {
        position: relative;
        margin-bottom: 10px;
    }

    .class-title_big {
        position: absolute;
        background-color: rgba(255, 255, 255, 0.7);
        font-size: 1.6rem;
        width: 162px;
        height: auto;
        top: calc(50% + 15px);
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        padding: 7.5px 2px;
    }

    .class-title_text_big {
        font-size: 1.6rem;
        font-weight: 400;
        width: 162px;
    }

    .class-text {
        width: 100%;
        font-size: 1.6rem;
        line-height: 1.5;
        margin: 0 auto;
    }

    /*------------------------
   * q & a
   ------------------------*/
    .column {
        display: block;
    }

    .qa-item:last-of-type {
        margin-bottom: 0;
    }

    .q-area {
        width: 100%;
    }

    .q-no {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        line-height: 38px;
        margin: auto 10px auto 10px;
    }

    .a-text {
        width: calc(100vw - 90px);
    }

    /*accordion*/
    .accordion > ol > li > a {
        width: 100%;
    }

    .section-footer {
        margin: 0 auto;
        padding: 20px 10px;
        width: 100%;
    }

    /*------------------------
 * event
 ------------------------*/
    .event-item {
        width: 100%;
    }

    .event-text {
        padding-top: 20px;
        overflow: visible;
    }

    /*------------------------
 * insta
 ------------------------*/
    .bg-base {
        position: relative;
        z-index: 1;
    }

    .bg-bigrogo {
        background-size: auto 350px;
        width: 100%;
        height: 350px;
        top: 57px;
    }

    /*------------------------
   * profile
   ------------------------*/
    .profile-ryophoto img {
        width: 100px;
    }

    .profile-img_s {
        width: calc(calc(50vw - 38px) / 2);
    }

    .profile-img_s:last-of-type {
        padding-left: 12px;
    }

    .profile-img_m {
        width: calc(calc(100vw - 52px) / 2);
        height: auto;
        padding-top: 0;
    }

    .profile-img_b {
        width: calc(calc(100vw - 52px) / 2);
        padding-top: 0;
    }

    .profile-text-item {
        display: none;
    }

    .profile-title_l {
        padding-top: 20px;
        margin-bottom: 10px;
    }

    .profile-title_sub {
        padding-top: 20px;
        margin-bottom: 10px;
    }

    .profile-title_subr {
        margin-bottom: 10px;
    }

    .profile-text_l {
        margin-bottom: 10px;
        width: 100%;
    }

    .profile-text_l:last-of-type {
        margin-bottom: 40px;
        width: 100%;
    }

    .profile-title_r {
        text-align: left;
        padding-top: 20px;
        margin-bottom: 10px;
    }

    .profile-text_r {
        text-align: left;
        margin-bottom: 10px;
        width: 100%;
    }

    /*------------------------
   * access
   ------------------------*/
    .googlemaps-wrapper {
        width: 100%;
    }

    .btn_googlemaps {
        display: block;
        width: 155px;
        height: 45px;
        line-height: 45px;
        border: solid 1px #4a4a4a;
        padding-top: 0;
        margin: 0 auto 20px;
    }

    .access-text {
        padding-top: 8px;
    }

    /*------------------------
   * form
   ------------------------*/
    /* iOSでのデフォルトスタイルをリセット */
    input[type="submit"],
    input[type="button"] {
        border-radius: 0;
        -webkit-box-sizing: content-box;
        -webkit-appearance: button;
        appearance: button;
        border: none;
        box-sizing: border-box;
        cursor: pointer;
    }

    input[type="submit"]::-webkit-search-decoration,
    input[type="button"]::-webkit-search-decoration {
        display: none;
    }

    input[type="submit"]::focus,
    input[type="button"]::focus {
        outline-offset: -2px;
    }

    .form {
        display: block;
        width: 100%;
    }

    .form-title {
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }

    .form-title_text-area {
        line-height: 1;
    }

    .form-parts {
        width: 100%;
        margin-left: 0;
    }

    .checkbox-area {
        margin-bottom: 20px;
    }

    .text-area {
        box-sizing: border-box;
        font-weight: 100;
        width: 100%;
        margin-bottom: 20px;
    }
}
