@charset "utf-8";
.first-view {
    height: calc(100vh - 80px); /* ヘッダー分を引いた高さ */
    display: flex;
    flex-direction: column;
    margin-top: 80px; /* ヘッダー分の余白 */
}

.main-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.request_box {
    width: 100%;
    margin: 120px auto;
}

.form-container {
    width: 900px;
    max-width: 100%;
    margin: 0 auto 150px;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-size: 21px;
    font-weight: 500;
    color: #333;
}

.required {
    color: #ff0000;
    font-size: 16px;
    font-weight: 400;
}

.form-control {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #0e416b;
}

select.form-control {
    height: auto;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-col {
    flex: 1;
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #0e416b;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    display: block;
    margin: 30px auto 0;
}

.submit-btn:hover {
    background-color: #1e4080;
}

.radio-group {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-item input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.radio-item label {
    font-size: 16px;
    font-weight: normal;
    margin: 0;
    cursor: pointer;
}

.time-group {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.time-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.time-item input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
}

.time-item label {
    font-size: 16px;
    font-weight: normal;
    margin: 0;
    cursor: pointer;
    white-space: nowrap;
}

.submit-btn {
    background-color: #0e416b;
    color: white;
    padding: 16px 48px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: block;
    margin: 40px auto 0;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #1e4080;
}


/****ダウンロードページ****/
.main-visual_thanks {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.main-visual_txt {
	width: 100%;
	text-align: center;
	font-size: 21px;
	color: #4b4b4b;
	font-weight: 500;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit- transform: translateY(-50%) translateX(-50%);
}
.main-visual_txt a{
	text-decoration: underline;
	font-weight: 700;
	color: #d30037;
	word-break: break-all;
}

@media screen and (max-width: 768px) {
.first-view {
    height: 100vh; /* ヘッダー分を引いた高さ */
    display: flex;
    flex-direction: column;
    margin-top: 0px; /* ヘッダー分の余白 */
}

.main-visual {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.request_box {
    width: 95%;
    margin: 40px auto;
}

.form-container {
	width: calc( 100% - 30px );
    padding: 15px;
}

.form-row {
    flex-direction: column;
    gap: 10px;
}

.form-label {
    font-size: 16px;
    font-weight: 500;
}

.form-control {
    font-size: 16px !important; /* iOS のズーム防止 */
    font-weight: 500;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 500;
}


.form-group {
    margin-bottom: 24px;
}

.time-item {
    flex-basis: calc(50% - 6px);
}

/****ダウンロードページ****/
.main-visual_thanks {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.main-visual_txt {
	width: 90%;
	text-align: center;
	font-size: 18px;
	color: #4b4b4b;
	font-weight: 500;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit- transform: translateY(-50%) translateX(-50%);
}

.main-visual_txt a{
	text-decoration: underline;
	font-weight: 700;
	color: #d30037;
	word-break: break-all;
}

}

@media screen and (max-width: 480px) {
    .form-container {
        padding: 20px;
    }

    .time-item {
        flex-basis: 100%;
    }

    .radio-group {
        flex-direction: column;
        gap: 12px;
    }
}


@media screen and (min-width: 769px) {
/*　画面サイズが769pxからはここを読み込む　*/

}
