/* 基本的なリセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'メイリオ', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}
/* 共通 */

/*PC・SP切り分け*/
.pc {
    display: block !important;
    }
    .sp {
    display: none !important;
    }
    @media only screen and (max-width: 768px) {
    .pc {
    display: none !important;
    }
    .sp {
    display: block !important;
    }
    }
/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.download__row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    align-items: flex-start;
    padding: 3rem 0;
    justify-content: space-around;
}

.download__contLeft{
    flex: 0 0 60%;
    padding: 0 15px;
}

/* 左側コンテンツ */
.download__contRight{
    width: 60%;
}
.download__title,
.download__subtitle{
    padding-bottom: 1rem;
}
.download__subtitle{
    font-weight: ;
}
.download__content {
    padding: 40px 0;
}

.download__title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.4;
    
}


.download__article--img {
    margin: 0 0 30px 0;
}

.download__article--img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.download__text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}
.download__text__list{
    font-size: 16px;
    line-height: 1.8; 
    color: #555;
    margin-bottom: 30px;
}

/* 右側フォーム */

/* form */
#form_dl{
    max-width: 400px;
    width: 100%;
}
#form_dl .content_form{
    background-color: #f8f9fa;
    padding: 3rem 1rem 1rem;
    border-radius: 15px;
    margin-left: 0;
}

/* 説明文を追加する場合 */
#form_dl .content_form::before {
    content: "フォーム入力後、資料をダウンロードできます。";
    display: block;
    margin-bottom: 2rem;
    font-size: 14px;
    color: #333;
}

/* 入力ユニット全体を縦並びに */
#form_dl .content_form .input_unit{
    margin-bottom: 1.5rem;
    display: block;
}

/* 左カラム（ラベル部分）を縦並びに */
#form_dl .content_form .input_unit .my_left{
    width: 100%;
    padding: 0!important;
    margin-bottom: 0.5rem;
    display: block;
}

/* 右カラム（入力欄部分）を縦並びに */
#form_dl .content_form .input_unit .my_right{
    width: 100%!important;
    padding: 0!important;
    display: block;
}
/* ラベルスタイル */
#form_dl .content_form .form_input_label{
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: inline-block;
}

/* 必須バッジ */
#form_dl .content_form .form_input_label.required::after{
    content: "必須";
    width: 28px!important;
    background-color: #dc3545;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    margin-left: 6px;
    border-radius: 3px;
    font-weight: normal;
    display: inline-block;
}

/* 入力フィールド */
#form_dl .content_form input[type="text"]{
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffe8e8!important;
    transition: all 0.3s;
}

#form_dl .content_form input[type="text"]:focus{
    outline: none;
    border-color: #888;
    background-color: #fff5f5;
}

/* 送信ボタン */
#form_dl .content_form .form_input_submit{
    max-width: 350px;
    margin: 0 auto;
    margin-top: 2rem;
}

#form_dl .content_form input[type="submit"]{
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* thanks */
.thanks__container{
    min-height: 30vh;
    padding-top: 200px;
    margin: 0 auto;
    text-align: center;
    line-height: 2;
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
#form_dl{
    max-width: 50%;
    margin: 0 auto;
}
}

/* レスポンシブ対応 */
@media (max-width: 830px) {
.download__title{
    font-size: 25px;
}
    .container {
        padding: 0 15px;
    }
    
    .download__content {
        padding: 20px 0;
    }
    
    .download__row {
        flex-direction: column;
        margin: 0 auto;
        padding: 1rem 0;
    }
    .download__contLeft,
    .download__contRight{
        display: block;
        flex: none;
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }

    .download__tit {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .download__text {
        font-size: 18px;
    }
    
    .download__form--content {
        max-width: 800px;
        width: 100%;
        padding: 20px;
    }
    
    .input_unit {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .label_frame {
        flex: none;
    }
    .my_column{
        flex: 0 0 60px;
        max-width: 330px;
        width: 100%;

    }
}
@media (max-width: 768px) {
    .content_form{
        padding: 2rem 1rem;
    }
    #form_dl{
        max-width: 420px;
    }
    
}
@media (max-width: 480px) {
    .download__tit {
        font-size: 20px;
    }
    
    .download__form--content {
        padding: 15px;
    }
    
    .myForm input[type="text"],
    .myForm input[type="submit"] {
        padding: 10px 12px;
    }
}