@charset "utf-8";
/* CSS Document */
.personal_mv {
    margin-bottom: 0;
}
@media screen and (min-width: 768px) {
    .personal_mv {
        margin-bottom: 50px;
    }
}
/*-------------*/
.feature ._inner {
    width: min(92%, 800px);
}
.feature .heading-lv1 {
    font-size: clamp(32px, 5vw, 42px);
    color: #FFD000;
}
.feature .heading-lv1 span {
    color: #fff;
    margin-right: 10px;
}
.feature ._container ._box {
    gap: 20px;
    align-items: center;
}
.feature ._text, .feature .img {
    width: 100%;
}
.feature .img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center center;
}
@media screen and (min-width: 768px) {
    .feature ._text {
        width: 70%;
    }
    .feature .img {
        width: 30%;
    }
}
/*-------------*/
.compare ._box {
    flex-direction: column-reverse;
    gap: 20px;
}
.compare ._container p:last-child {
    text-align: right;
}
.compare ._price-table {
    text-align: center;
    width: 100%;
}
.compare ._box ._box-child + ._box-child {
    margin-top: 0;
}
.compare ._box ._box-child:last-child ._price-table tr th {
    background: var(--p-main-color);
    font-size: clamp(21px, 768px, 36px);
}
.compare ._price-table th {
    background: #464848;
    color: #fff;
    font-size: clamp(16px, 768px, 21px);
    padding: 2%;
}
.compare ._box ._box-child:last-child ._price-table tr td {
    font-size: clamp(21px, 6vw, 36px);
}
.compare ._price-table td {
    background: #fff;
    padding: 4%;
    font-size: clamp(21px, 768px, 32px);
}
.compare ._price-table td span {
    font-size: .45em;
    display: block;
}
@media (min-width: 768px) {
    .compare ._box {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 20px 0;
        gap: 20px;
    }
    .compare ._container p:first-child {
        text-align: center;
    }
    .compare ._box ._box-child {
        flex: 1 1 400px;
    }
    .compare ._price-table td span {
        display: inline-block;
        margin-right: 10px;
    }
}
/*-------------*/
.course ._container {
    gap: 20px 20px;
    flex-wrap: wrap;
}
.course ._box {
    box-shadow: 0 0 5px rgb(0 0 0 / .3);
    width: 100%;
}
.course ._box .heading02 {
    padding: 20px 0;
}
.course ._box:nth-child(2) .heading02 {
    background: var(--p-main-color);
}
.course ._box h4 {
    text-align: center;
    font-size: clamp(21px, 768px, 32px);
    line-height: 1.3;
    margin-top: 20px;
}
.course ._box h4 span {
    display: block;
}
.course ._box p {
    padding: 6% 8% 0;
}
.course ._box p span {
    font-size: 12px;
}
.course ._price-table {
    text-align: center;
    padding: 4%;
    width: 100%;
    margin-top: auto;
}
.course ._price-table th {
    background: #464848;
    color: #fff;
    font-size: clamp(16px, 768px, 21px);
    padding: 4%;
    display: block;
}
.course ._price-table td {
    background: #f0f0f0;
    padding: 4%;
    font-size: clamp(21px, 768px, 32px);
    display: block;
}
.course ._price-table td span {
    font-size: .45em;
    /*display: block;*/
}
@media (min-width: 960px) {
    .course ._box {
        width: calc(100% / 3 - 20px);
        margin-top: 40px
    }
    .course ._box:nth-child(2) {
        margin-top: 0;
    }
    .course ._box ._box-child {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-content: flex-end;
    }
    .course ._box {}
}
/*-------------*/
.cause ._container ._box {
    flex-wrap: wrap;
}
.cause ._container ._box + ._box {
    margin-top: 0;
}
.cause ._container ._box ._box-child {
    margin-top: 0;
    flex-shrink: 1;
    padding: 4%;
    width: 100%;
    border-bottom: 1px solid #fff;
}
.cause ._container ._box .img_only {
    display: none;
}
.cause ._container ._box ._box-child:nth-child(odd) {
    background: var(--p-main-color);
    color: #fff;
}
.cause ._container ._box ._box-child .heading-lv3 {
    text-align: center;
}
.cause ._container ._box ._box-child p {
    margin-top: 30px;
}
@media (min-width: 768px) {
    .cause ._container ._box {
        width: 100%;
    }
    .cause ._container {
        flex-wrap: wrap;
    }
}
@media (min-width: 960px) {
    .cause ._container ._box {
        width: 50%;
    }
    .cause ._container ._box:nth-child(2) {
        flex-direction: row;
    }
    .cause ._container ._box:nth-child(3) {
        flex-direction: row-reverse;
    }
    .cause ._container ._box ._box-child {
        width: 50%;
    }
    .cause ._container ._box .img_only {
        display: block;
        height: 300px;
        padding: 0;
    }
}
@media (min-width: 1200px) {
    .cause ._container ._box .img_only {
        display: block;
        height: 400px;
        padding: 0;
    }
}
/*-------------*/
.training ._box {
    gap: 30px;
}
.training._box + ._box {
    margin-top: 0;
}
.training ._box .heading-lv2 {}
.training._box ._box-child p {
    margin-top: 20px;
    font-size: 14px;
}
.training ._box ._box-child ._text {
    background: var(--p-main-color);
    width: 95%;
    color: #fff;
    padding: 4%;
    margin-left: 10%;
    margin-top: -100px;
    position: relative;
}
.training ._box:last-child .heading-lv2 {
    color: var(--p-main-color);
    text-align: center;
}
.training ._box:last-child .heading-lv2 span {
    display: block;
}
.training ._box:last-child p {
    margin-top: 30px;
}
.training ._box .img {}
.training ._box .img img {
    width: 100%;
}
@media (min-width: 768px) {
    .training ._box-child {
        width: 50%;
        margin-left: 0;
    }
    .training ._box:last-child .heading-lv2 span {
        display: inline-block;
    }
}
/*-------------*/
.trainer ._box {
    flex-direction: column-reverse;
}
.trainer ._box + ._box {
    margin-top: 60px;
}
.trainer ._box .heading-lv2 {
    border-bottom: 3px solid var(--p-main-color);
    padding-bottom: 5px;
}
.trainer ._box .heading-lv4 {
    border: 5px solid var(--p-main-color);
    padding: 2px 10px;
    color: var(--p-main-color);
    width: 150px;
    text-align: center;
    margin-top: 10px;
}
.trainer ._box p {
    margin-top: 20px;
    font-size: 14px;
}
.trainer ._box ._text {
    width: 80%;
    height: 100%;
    background: #fff;
    padding: 4%;
    margin-top: -150px;
    margin-left: auto;
    position: relative;
}
.trainer ._box .career {
    margin-top: 20px;
}
.trainer ._box .career p {
    font-weight: 600;
    margin-top: 10px;
    font-size: 16px;
}
.trainer ._box .img {
    margin-right: auto;
    box-shadow: 30px 30px 0 var(--p-main-color);
}
.trainer ._box .img {
    width: min(100%, 500px);
}
.trainer ._box .img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
@media (min-width: 768px) {
    .trainer ._box ._text {
        width: 70%;
    }
}
/*-------------*/
.facility ._box {
    width: 100%;
}
.facility ._box ._text h3 {
    margin-top: 20px;
}
.facility ._box ._text p {
    margin-top: 1em;
}
.facility ._box .img img {
    width: 100%;
    /* height: 200px; */
    height: 280px;
    object-fit: cover;
    object-position: center;
}
@media (min-width: 768px) {
    .facility ._container {
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 20px;
    }
    .facility ._box {
        width: calc((100% - 40px) / 3);
        flex: 1 1 300px;
    }
    .facility ._box + ._box {
        margin-top: 0;
    }
}
/*-------------*/
.qa ._box .heading-lv3 {
    position: relative;
    padding: 1.5rem;
    text-align: center;
}
.qa ._box .heading-lv3:before {
    position: absolute;
    bottom: -10px;
    left: calc(50% - 30px);
    width: 60px;
    height: 5px;
    content: '';
    border-radius: 3px;
    background: #000;
}
.qa .accordion {
    margin-top: 30px;
}
.qa .accordion li {
    margin: 0;
}
.qa .accordion_box {
    border: 3px solid #222;
    border-top: none;
}
.qa li:first-child .accordion_box {
    border-top: 3px solid #222;
}
.qa .accordion_title {
    font-size: clamp(12px, 6vw, 18px);
    font-weight: 600;
    padding: 3%;
    position: relative;
    overflow: hidden;
    padding: 1.5rem 40px 1.5rem 100px;
}
.qa .accordion_title span {
    margin-right: 10px;
    font-size: 1.7em;
    font-size: 40px;
    font-size: 4rem;
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 1;
    top: 50%;
    left: 50px;
    display: block;
}
.qa .pqa .accordion_title span {
    color: var(--p-main-color);
}
.qa .kqa .accordion_title span {
    color: var(--d-main-color);
}
.qa .accordion_title::before, .qa .accordion_title::after {
    right: 15px;
    transition: .3s all;
}
.qa .accordion_text {
    background: #f0f0f0;
}
@media (min-width: 960px) {
    .qa ._container {
        flex-wrap: wrap;
    }
    .qa ._box {
        flex: 1 1 500px;
    }
    .qa ._box + ._box {
        margin-top: 0;
    }
}
/*-------------*/
.personal_page.bg-mask::after {
    mix-blend-mode: hard-light;
}
.personal_page {
    background: var(--p-main-color);
    opacity: .9;
    background: url("../img/diet/personal_bg.jpg") center center no-repeat;
    background-size: cover;
    color: #fff;
}
.personal_page ._box {
    width: min(100%, 600px);
    border: 5px solid #fff;
    padding: 4%;
    margin: 0 auto;
}
.personal_page ._box p {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 1px;
}
/* submenu */
.submenu_sideaccordion {
    position: fixed;
    top: 150px;
    right: 0;
    z-index: 999;
}
.sideaccordion {
    text-align: center;
}
.sideaccordion {
    height: 175px;
    margin: 0 auto;
    overflow: hidden;
}
.sideaccordion .sidemenu-list {
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;
}
.sideaccordion li .inner {
    background: #fff;
    display: flex;
    flex-direction: column;
    width: 200px;
    height: 175px;
    display: none;
    padding: 10px;
}
.sideaccordion .title {
    cursor: pointer;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    background: #ff5f00;
    width: 30px;
    height: 175px;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    padding: 10px 2px;
    text-align: center;
}
.sideaccordion .title i {
    margin: 10px 0;
}
.sideaccordion .content + .content {
    border-top: 1px dashed #ccc;
}

/*========= スクロールダウンのためのCSS ===============*/

/*=== 9-1-4 矢印が動いてスクロールを促す  ====*/

/*スクロールダウン全体の場所*/
.scrolldown4{
    /*描画位置※位置は適宜調整してください*/
  position:absolute;
  bottom:1%;
  right:64%;
    /*矢印の動き1秒かけて永遠にループ*/
  animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove{
      0%{bottom:1%;}
      50%{bottom:3%;}
     100%{bottom:1%;}
 }

/*Scrollテキストの描写*/
.scrolldown4 span{
    /*描画位置*/
  position: absolute;
  left:-20px;
  bottom:10px;
    /*テキストの形状*/
  color: #222;
  font-size: 1.0rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom: 0;
    right: -6px;
    /*矢印の形状*/
    width: 2px;
    height: 20px;
    background: #222;
    transform: skewX(-31deg);
}

.scrolldown4:after{
  content:"";
    /*描画位置*/
  position: absolute;
  bottom:0;
  right:0;
    /*矢印の形状*/
  width:2px;
  height: 50px;
  background:#222;
}
@media (max-width: 768px) {
    .submenu_sideaccordion {
        display: none;
    }
}
@media (max-width: 1200px) {
    .scrolldown4 {
        display: none;
    }
}