@charset "utf-8";
/* @font-faceルール */
@font-face {
    font-family: 'DFHSMaruGothic-W4';
    src: url('fonts/DFHSMaruGothic-W4-WIN-RKSJ-H.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DFHSMincho-W7';
    src: url('fonts/DFHSMincho-W7-WIN-RKSJ-H.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DFLeiSho-SB';
    src: url('fonts/DFLeiSho-SB-WIN-RKSJ-H.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DFKaiSho-Lt';
    src: url('fonts/DFKaiSho-Lt-WIN-RKSJ-H.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DFRuLei-W7';
    src: url('fonts/DFRuLei-W7-WIN-RKSJ-H.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DFHSGothic-W5';
    src: url('fonts/DFHSGothic-W5-WIN-RKSJ-H.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HuiFontP';
    src: url('fonts/HuiFontP.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on July 6, 2025 */



@font-face {
    font-family: 'lucida_calligraphyitalic';
    src: url('fonts/lcallig-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'vivaldiitalic';
    src: url('fonts/vivaldii-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'tempus_sans_itcregular';
    src: url('fonts/tempsitc-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'fastracfashionregular';
    src: url('fonts/fastrf-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'parkplaceregular';
    src: url('fonts/parkplc-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'optanebold';
    src: url('fonts/optane_bold-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'times_new_romanregular';
    src: url('fonts/times-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'times_new_romanitalic';
    src: url('fonts/timesi-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'euphoria_scriptregular';
    src: url('fonts/euphoriascript-regular-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'courier_newregular';
    src: url('fonts/cour-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'lucida_blackletterregular';
    src: url('fonts/lblack-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}




@font-face {
    font-family: 'arialregular';
    src: url('fonts/arial-webfont.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;


}



body {
    font-family: 'Noto Sans JP', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
}

h1 {
    color: #333;
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.controls, .input-area, .preview-area {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

select, textarea {
    width: calc(100% - 20px); 
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    resize: vertical; 
    min-height: 100px;
}

.preview-area {
    border: 1px dashed #ccc;
    padding: 20px;
    min-height: 150px;
    background-color: #e9e9e9;
    border-radius: 4px;
    overflow-wrap: break-word; 
}

#preview-text {
    font-size: 20px; 
    color: #333;
    text-align: left;
    width: 100%; 
    text-align: center;
}


/* ...既存のCSSコードに案内追加... */

#font-warning-message {
    color: #d9534f; /* 警告メッセージの色（赤系） */
    background-color: #f2dede; /* 背景色 */
    border: 1px solid #ebccd1; /* ボーダー */
    padding: 10px 15px;
    margin-top: 15px;
    margin-bottom: 15px; /* 下に少しスペースを開ける */
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    display: none; /* 初期状態で非表示 */
    opacity: 0; /* フェードイン/アウト用 */
    transition: opacity 0.3s ease-in-out; /* フェードアニメーション */
}

#font-warning-message.visible {
    display: block; /* 表示状態 */
    opacity: 1; /* フェードイン */
}


