@charset "UTF-8";

/*******************************************************************************
    体験〜入会の流れページ
 *******************************************************************************/

.main_container {
    position: relative;
}

.main_container::before {
    display: block;
    position: absolute;
    left: 50%;
    z-index: -1;
    transform: translateX(-50%);
    width: 1000%;
    height: 1000000px;
    background-repeat: repeat;
    background-position: center top;
    content: "";
}

/* タイトル部分に点線を追加 */
.common_page-title {
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 120px;
}

.common_page-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75%;
    border-bottom: 3px dashed #25425C;
}

/* ステップコンテナ */
.step_container {
    max-width: 1200px;
    width: 75%;
    margin: 0 auto;
    margin-bottom: 120px;
    padding: 0 20px;
}

.step1_container,
.step2_container,
.step3_container {
    margin-bottom: 80px;
}

/* ステップタイトル */
.step_title {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    padding-left: 0;
    justify-content: center;
}

.step_number {
    font-family: 'Lato', sans-serif;
    font-size: clamp(32px, 3.5vw, 50px);
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

.step_name {
    font-size: clamp(32px, 3.5vw, 50px);
    font-weight: 700;
    color: #333;
    white-space: nowrap;
}

/* ステップ説明文 */
.step1_explain {
    font-size: 26px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    padding-left: 50px;
}

/* STEP2 説明文 */
.step2_explain {
    font-size: 26px;
    line-height: 1.8;
    padding-left: 50px;
}

/* STEP3 説明文 */
.step3_explain {
    font-size: 26px;
    line-height: 1.8;
    padding-left: 50px;
}

.step2_note {
    color: #E60012;
    margin-bottom: 20px;
}

.step2_text {
    color: #333;
    margin-bottom: 15px;
}

.step2_indent {
    display: block;
    padding-left: 2em;
}

/* STEP3 説明文 */
.step3_explain {
    font-size: 26px;
    line-height: 1.8;
}

.step3_text {
    color: #333;
    margin-bottom: 15px;
}

/* 三角形に凹んだ線 */
.step_border {
    position: relative;
    width: 100%;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 30" preserveAspectRatio="none"><path d="M 0,1 L 450,1 L 500,29 L 550,1 L 1000,1" fill="none" stroke="%23333" stroke-width="2" vector-effect="non-scaling-stroke"/></svg>');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    margin-bottom: 30px;
}

/* 月額プラン案内 */
.monthly_plan_guide_container {
    margin: 80px auto 0;
    padding: 0;
    text-align: center;
}

.monthly_plan_title {
    position: relative;
    display: inline-block;
    font-size: 50px;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
    padding-bottom: 20px;
}

.monthly_plan_title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110%;
    border-bottom: 2px solid #333;
}

.monthly_plan_text {
    font-size: 26px;
    line-height: 1.6; /* 1.8 → 1.6 */
    color: #333;
    margin-bottom: 40px;
    width: 75%; /* 90% → 75% */
    max-width: 900px; /* 最大幅を制限 */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* 料金プランコンテナ */
.rates_plan_container {
    width: 100%;
    padding: 50px 0;
    background-color: rgba(37, 66, 92, 0.1);
    margin-bottom: 40px;
}

.process-plan-list {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    gap: 15px;
    justify-content: center;
    list-style: none;
}

.process-plan-list-top {
    margin-bottom: 20px;
}

.process-plan-list-bottom {
    margin-bottom: 0;
}

.process-plan-item {
    display: flex;
    position: relative;
    flex: 1 1 300px;
    min-width: 250px;
    max-width: 350px;
    min-height: 250px; /* aspect-ratioの代わりに最小高さを指定 */
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    /* aspect-ratio: 1 / 0.7; を削除 */
}

.process-plan-title {
    position: relative;
    padding: 20px;
    color: #ffffff;
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 700;
    text-align: center;
    margin: 0;
    flex-shrink: 0;
}

.process-plan-title span {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 10px solid;
}

.process-plan-content {
    display: flex;
    padding: 20px 15px;
    flex-direction: column;
    flex: 1; /* flex: 0 0 auto → flex: 1 に戻す */
    margin: 0;
    align-items: center;
    justify-content: center;
}

.process-plan-text {
    font-size: clamp(16px, 1.5vw, 18px);
    color: #333;
    line-height: 1.7; /* 1.4 → 1.7 に戻す */
    text-align: left; /* left → center */
    margin: 0;
    padding: 0 10px;
    width: 100%;
}

/* 各プランの背景色 */
.process-plan-morning .process-plan-title {
    background-color: #D9A441;
}

.process-plan-morning .process-plan-title span {
    border-top-color: #D9A441;
}

.process-plan-day .process-plan-title {
    background-color: #A0B46C;
}

.process-plan-day .process-plan-title span {
    border-top-color: #A0B46C;
}

.process-plan-night .process-plan-title {
    background-color: #1A2942;
}

.process-plan-night .process-plan-title span {
    border-top-color: #1A2942;
}

.process-plan-fulltime .process-plan-title {
    background-color: #4B4B4B;
}

.process-plan-fulltime .process-plan-title span {
    border-top-color: #4B4B4B;
}

.process-plan-vip .process-plan-title {
    background-color: #9A7E20;
}

.process-plan-vip .process-plan-title span {
    border-top-color: #9A7E20;
}

/* 料金プラン詳細ボタン */
.monthly_plan_guide_container .common_index-link {
    display: flex;
    max-width: clamp(13.438rem, -3.405rem + 35.09vw, 19.688rem);
    margin: 0 auto 80px auto;
    padding: 13px clamp(0.625rem, -1.059rem + 3.51vw, 1.25rem);
    border-width: 2px;
    border-style: solid;
    border-color: #25425c;
    background-color: #25425c;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.05em;
    column-gap: 5px;
    justify-content: center;
    align-items: center;
    transition: all 0.6s;
}

.monthly_plan_guide_container .common_index-link:hover {
    background-color: #ffffff;
    color: #25425c;
}

/* プレーリンクボタン */
.play_link {
    display: flex;
    position: relative;
    max-width: 554px;
    margin: 0 auto;
    background-image: url(../images/play_link-bg.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
    justify-content: center;
    align-items: center;
    aspect-ratio: 277/74;
}

.play_link a {
    max-width: 500px;
    width: 100%;
    transition: all 0.6s;
}

.play_link a img {
    width: 100%;
    transition: all 0.6s;
}

.play_link a:hover img {
    opacity: 0.8;
    filter: invert(10%);
}

.play_link.show_content a {
    animation: yureru-s 2s;
    animation-delay: 1.2s;
}

.play_link a:hover {
    animation: none;
}

@keyframes yureru-s {
    0% {
        transform: translate(2px, 0px);
    }
    5% {
        transform: translate(-2px, 0px);
    }
    10% {
        transform: translate(2px, 0px);
    }
    15% {
        transform: translate(-2px, 0px);
    }
    20% {
        transform: translate(2px, 0px);
    }
    25% {
        transform: translate(-2px, 0px);
    }
    30% {
        transform: translate(0px, 0px);
    }
}

/* 1500px以上の大画面 */
@media screen and (min-width: 1500px) {
    .monthly_plan_text {
        font-size: 26px;
        line-height: 1.5; /* さらに詰める */
        width: 65%; /* 75% → 65% */
        max-width: 850px;
        margin-bottom: 45px;
    }
}

/* 1280px-1499px */
@media screen and (min-width: 1280px) and (max-width: 1499px) {
    .monthly_plan_text {
        font-size: 24px;
        line-height: 1.5;
        width: 70%;
        max-width: 800px;
        margin-bottom: 42px;
    }
}

/* 1025px-1279px */
@media screen and (min-width: 1025px) and (max-width: 1279px) {
    .monthly_plan_text {
        font-size: 22px;
        line-height: 1.6;
        width: 75%;
        max-width: 750px;
        margin-bottom: 40px;
    }
}

/* 768px-1024px */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .monthly_plan_text {
        font-size: 20px;
        line-height: 1.7; /* 余白を少し増やす */
        width: 80%;
        max-width: 700px;
        margin-bottom: 38px;
        padding-top: 10px; /* 上余白を追加 */
        padding-bottom: 10px; /* 下余白を追加 */
    }
}

/* スマホ画面 (767px以下) */
@media screen and (max-width: 767px) {
    .monthly_plan_text {
        font-size: 16px;
        line-height: 1.8; /* 1.6 → 1.8 余白を増やす */
        margin-bottom: 35px; /* 30px → 35px */
        text-align: left;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 5px; /* 上余白を追加 */
        padding-bottom: 5px; /* 下余白を追加 */
    }
}



/* PC画面での余白調整 */
@media screen and (min-width: 1281px) {
    .process-plan-item {
        min-height: 250px; /* より小さく */
    }

    .process-plan-content {
        padding: 20px 15px;
    }
    
    .process-plan-text {
        font-size: 18px;
        line-height: 1.6;
    }
}

/* 中サイズ画面用 (1025px - 1280px) */
@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .step_number {
        font-size: 36px;
    }
    
    .step_name {
        font-size: 36px;
    }

    .process-plan-item {
        min-height: 250px; /* aspect-ratio: 1 / 0.85 の代わり */
    }
    
    .process-plan-content {
        padding: 18px 12px;
    }
    
    .process-plan-text {
        line-height: 1.5;
    }
}

/* PC画面 (768px以上) */
@media screen and (min-width: 768px) {
    .main_container {
        padding-top: calc(80px + 50px);
        padding-bottom: 100px;
    }
    
    .main_container::before {
        top: 80px;
        background-image: url(../images/company_bg-pc.png);
        background-size: 1920px 1537px;
    }
    
    .step_container {
        padding: 0 40px;
    }

    .step_number {
        font-size: 36px;
    }
    
    .step_name {
        font-size: 36px;
    }

    .play_link {
        padding: 0 2.55%;
    }

    .rates_plan_container {
        padding: 65px 0;
    }

    .process-plan-list {
        max-width: 75%;
        gap: 20px;
    }

    .process-plan-list-top {
        margin-bottom: 30px;
    }

    .process-plan-item {
        flex: 0 0 calc((100% - 40px) / 3);
        max-width: calc((100% - 40px) / 3);
        min-height: 250px; /* aspect-ratio: 1 / 0.85 の代わり */
    }

    .process-plan-title {
        font-size: clamp(18px, 1.8vw, 24px);
        padding: 20px 15px;
    }

    .process-plan-title span {
        bottom: -10px;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 10px solid;
    }

    .process-plan-content {
        padding: 20px 15px;
        align-items: center;
    }

    .process-plan-text {
        font-size: clamp(16px, 1.4vw, 18px);
        line-height: 1.6;
        text-align: left;
    }
}

/* より小さい画面用 (768px - 1024px) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .step_number {
        font-size: 32px;
    }
    
    .step_name {
        font-size: 32px;
    }

    .process-plan-item {
        min-height: 250px; /* aspect-ratio: 1 / 0.9 の代わり */
    }
    
    .process-plan-content {
        padding: 18px 12px;
    }
    
    .process-plan-text {
        line-height: 1.6;
    }
}

/* 中サイズ画面用 (1025px - 1280px) */
@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .step_number {
        font-size: 36px;
    }
    
    .step_name {
        font-size: 36px;
    }
    
    .process-plan-content {
        padding: 18px 12px; /* 上下統一 */
    }
}

/* スマホ画面 (767px以下) */
@media screen and (max-width: 767px) {
    .main_container {
        padding-top: calc(60px + 15px);
        padding-bottom: 110px;
    }

    .main_container::before {
        top: 60px;
        background-image: url(../images/company_bg-mb.png);
        background-size: 375px 1772px;
        opacity: 0.5;
    }

    .common_page-title {
        margin-bottom: 70px;
    }

    .step_container {
        width: 90%;
        padding: 0 15px;
        margin-bottom: 80px;
    }

    .step1_container,
    .step2_container,
    .step3_container {
        margin-bottom: 60px;
    }

    .step_title {
        flex-direction: column;
        gap: 10px;
        padding-left: 0;
        align-items: center;
        text-align: center;
    }

    .step_number {
        font-size: 24px;
    }

    .step_name {
        font-size: 24px;
    }

    .step1_explain {
        font-size: 16px;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 20px;
        text-align: left;
    }

    .step2_explain {
        font-size: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .step2_note {
        text-align: left;
    }

    .step2_text {
        margin-bottom: 10px;
        text-align: left;
    }

    .step3_explain {
        font-size: 16px;
        padding-left: 0;
        padding-right: 0;
    }

    .step3_text {
        margin-bottom: 10px;
        text-align: left;
    }

    .step_border {
        height: 25px;
        background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 25" preserveAspectRatio="none"><path d="M 0,1 L 450,1 L 500,24 L 550,1 L 1000,1" fill="none" stroke="%23333" stroke-width="2" vector-effect="non-scaling-stroke"/></svg>');
        margin-bottom: 20px;
    }

    .play_link {
        padding: 0 10px;
    }

    .monthly_plan_title {
        font-size: 28px;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }

    .monthly_plan_text {
        font-size: 16px;
        margin-bottom: 30px;
        text-align: left;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
    }

    .rates_plan_container {
        padding: 30px 0;
        margin-bottom: 30px;
    }

    .process-plan-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .process-plan-list-top {
        margin-bottom: 15px;
    }

    .process-plan-item {
        width: 90%;
        max-width: 350px;
        flex: none;
        min-width: auto;
        aspect-ratio: auto;
        height: 180px;
        min-height: 200px;
    }

    .process-plan-title {
        font-size: 20px;
        padding: 15px 10px;
        flex-shrink: 0;
    }

    .process-plan-title span {
        bottom: -16px;
        border-left: 24px solid transparent;
        border-right: 24px solid transparent;
        border-top: 16px solid;
    }

    .process-plan-content {
        padding: 20px 15px;
        flex: 1;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .process-plan-text {
        font-size: 16px;
        line-height: 1.6;
        text-align: left;
    }

    .monthly_plan_guide_container .common_index-link {
        max-width: 240px;
    }
}