/* トレーニングメソッドセクション */
.method-section-boxed {
    background-color: transparent;
}

/* widget間のmargin */
.method-element.method-widget:not(:last-child) {
    margin-block-end: 20px;
    margin-bottom: 20px;
}

.method-bg {
    background-image: url('/school/img/back-green-title.png');
    background-size: cover;
}

/* タイトルセクションのpadding */
.method-section[data-id="8d764b7"] {
    padding: 0 !important;
}

.method-content-bg {
    background-image: url('/school/img/back-white.png');
    background-size: auto;
    background-color: transparent;
}

/* コンテンツセクションのpadding */
/* PC用のpaddingはメディアクエリ内で定義 */

.method-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0;
}

/* PC/タブレット版のみ - 子要素にpadding適用 */
.method-column-gap-default > .method-column > .method-element-populated {
    padding: 0 10px;
}

.method-column-gap-default {
    gap: 20px;
}

.method-column-gap-narrow {
    gap: 10px;
}

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

.method-col-100 {
    width: 100%;
    text-align: center;
    display: block;
}

/* タイトル画像 */
.method-widget-container {
    text-align: left;
    width: 100%;
}

.method-widget-image {
    text-align: center;
}

.method-widget-image .method-widget-container {
    text-align: center;
    display: block;
    width: 100%;
}

/* タイトル画像 */
.method-widget-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* タイトル画像のサイズ制限（デスクトップ） */
.method-widget-image[data-id="311fbcd2"] img {
    height: 75px;
}

/* タイトル画像のwidget-containerのpadding */
.method-element[data-id="311fbcd2"] > .method-widget-container {
    padding: 11px 0;
}

/* テキスト */
.method-widget-text-editor {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 40px;
    color: #000000;
    width: 100%;
}

.method-widget-text-editor p {
    line-height: 40px;
    margin-bottom: 14.4px;
}

/* 見出し */
.method-heading-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
    color: #FFFFFF;
    margin-bottom: 0;
}

.method-widget-heading {
    width: 100%;
}

/* KOBA説明ボックス */
.method-widget-heading[data-id="15002a83"] .method-widget-container {
    background-color: #0A8F20;
    padding: 1%;
    border: 3px solid #000000;
    width: 100%;
}

/* 4つの能力カード */
.method-inner-section .method-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 0 3% 0;
}

.method-col-25 {
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
}

/* カラム内のpadding */
.method-bg .method-column-gap-default > .method-column > .method-widget-wrap {
    padding: 10px;
}

.method-content-bg .method-column-gap-default > .method-column > .method-widget-wrap {
    padding: 0;
}

.method-widget-wrap.method-element-populated {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.method-col-25 > .method-element-populated {
    border: solid #0A8F20;
    border-width: 3px;
    margin: 0;
    padding: 0;
}

/* 能力タイトル */
.method-col-25 .method-widget-heading .method-widget-container {
    background-color: #0A8F20;
    padding: 4%;
    text-align: center;
}

.method-col-25 .method-heading-title {
    font-size: 20px;
    color: #FFFFFF;
}

/* 能力画像 */
.method-col-25 .method-widget-image .method-widget-container {
    padding: 0;
    margin: -20px 0 0;
}

.method-col-25 .method-widget-image img {
    width: 100%;
    height: auto;
}

/* 能力説明テキスト */
.method-col-25 .method-widget-text-editor .method-widget-container {
    background-color: #F6F6F6;
    margin: -20px 0 0 0;
    padding: 3%;
}

.method-col-25 .method-widget-text-editor {
    font-size: 16px;
    line-height: 40px;
}

/* KOBAバナー */
.method-widget-image[data-id="cd71716"] img {
    width: 100%;
}

/* レスポンシブ - PC（タブレット以上） */
@media (min-width: 768px) {
    .method-section[data-id="165c8bc"] {
        padding: 57px 0 76px !important;
    }
}

/* レスポンシブ - タブレット */
@media (max-width: 1100px) {
    .method-col-25 {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    
    .method-widget-image[data-id="311fbcd2"] img {
        height: 45px;
    }
}

/* レスポンシブ - モバイル */
@media (max-width: 767px) {
    /* モバイルでは子要素のpaddingを削除 */
    .method-column-gap-default > .method-column > .method-element-populated {
        padding: 0;
    }
    
    .method-section {
        padding-left: 1%;
        padding-right: 1%;
    }
    
    .method-section[data-id="165c8bc"] {
        padding: 30px 0 40px !important;
    }
    
    .method-section[data-id="165c8bc"] > .method-container {
        padding: 0 10px;
    }
    
    .method-widget-text-editor[data-id="60ccc0ba"] {
        font-size: 14px;
        line-height: 2em;
    }
    
    .method-widget-text-editor[data-id="429fefa4"] p {
        font-size: 14px;
        line-height: 2em;
    }
    
    /* 4つのカードの説明テキスト */
    .method-col-25 .method-widget-text-editor {
        font-size: 14px;
        line-height: 2em;
    }
    
    .method-element[data-id="311fbcd2"] > .method-widget-container {
        padding: 0;
    }
    
    .method-widget-image[data-id="311fbcd2"] img {
        height: 45px;
    }
    
    .method-col-25 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .method-col-25 .method-heading-title {
        font-size: 18px;
    }
    
    /* KOBA見出しのスマホ専用フォント調整 */
    .method-widget-heading[data-id="15002a83"] .method-heading-title {
        font-size: 17px;
        line-height: 1.9em;
    }
}

