@charset "utf-8";

/* ==================================================
   contactページ 共通ヘッダー
================================================== */

.contact header {
	
    width: 100%;
    padding-top: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;

}

.contact .top-logo {

	width: 206px;
    margin-left: 32px;
    grid-column: 1;
    grid-row: 1;
    position: relative;
    z-index: 10000;

}

.contact .top-logo-svg {

	width: 206px;

}

.contact .menu {

	transition: none !important;
    margin-right: 30px;
    padding-top: 160px;
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 8000;

}

/* ==================================================
   contactページタイトル
================================================== */

.contact-title-dynamic {

	display: block;
    margin: 79px auto 0 auto;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: var(--text-gray);
    width: 100%;

}

/* ==================================================
   フォーム・入力エリア共通（dl, dt, dd）
================================================== */

.form-area {
    
	width: 85%;
    max-width: 1080px;
    margin: 42px auto 90px auto;

}

/* 項目名（お名前、メールアドレス等） */

.form-area dt {
    
	display: block !important; /* 確認画面でも強制表示 */
    font-size: 35px;
    color: var(--text-gray);
    padding-bottom: 15px;

}

/* 入力・出力エリア */

.form-area dd {

	display: block !important;
    font-size: 30px;
    margin-bottom: 38px;
    word-break: break-word;

}

/* ==================================================
   入力画面：input / textarea のスタイル
================================================== */

.wpcf7 input:not([type="submit"]),
.wpcf7 textarea {
    
	width: 100%;
    padding: 10px 14px;
    font-size: 30px;
    border: 1px solid #707070;
    border-radius: 5px;
    box-sizing: border-box;

}

.form-area textarea {
    
	min-height: 240px;
    white-space: pre-wrap;

}

/* ==================================================
   確認画面：プレビュー表示のスタイル
================================================== */

/* Confirm Plus が生成する確認用スパン要素 */

.wpcf7cp-confirm .wpcf7-form-control-wrap {
    
	display: block;
    border: 1px solid #707070;
    border-radius: 5px;
    min-height: 80px;
    padding: 15px 20px;
    font-size: 30px;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.5;
    box-sizing: border-box;

}

/* ==================================================
   ★ボタン配置と文字表示
================================================== */

/* ボタンの基本形状 */

.wpcf7-form input[type="submit"], 
.wpcf7-form input[type="button"],
.wpcf7-form button,
.wpcf7-form .wpcf7-submit {
    
	display: block;
    width: 100% !important;
    max-width: 386px;
    height: 60px;
    line-height: 60px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
	margin: 40px 0;
    text-align: center;
    font-size: 30p;
    font-weight: bold;
    color: #fff;
	padding: 0 50px; /* 内側の余白をリセット */

}

/* 確認画面での横並び */

.wpcf7cp-confirm .submit-wrap,
.confirming .submit-wrap {
    
	display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    max-width: 850px;

}

/* 確認画面ではマージンをリセットして横に並べる */

.wpcf7cp-confirm .submit-wrap > span,
.wpcf7cp-confirm input[type="submit"],
.wpcf7cp-confirm .wpcf7cp-cfm-edit-btn {
    
	flex: 1;
    margin: 0;

}




@media (min-width:451px) and (max-width:768px) {
	
/* ==================================================
   contactページタイトル
================================================== */

.contact-title-dynamic {
    
	display: block;
    margin: 98px auto 0 auto;
    text-align: center;
    font-size: 35px;
    font-weight: bold;
    color: var(--text-gray);
    width: 100%;

}
	
/* ==================================================
   フォーム・入力エリア共通（dl, dt, dd）
================================================== */
	
.form-area {
    
	width: 85%;
    max-width: 1080px;
    margin: 42px auto 90px auto;

}
	
/* 項目名（お名前、メールアドレス等） */
	
.form-area dt {
    
	display: block !important; /* 確認画面でも強制表示 */
    font-size: 33px;
    color: var(--text-gray);
    padding-bottom: 15px;

}
	
/* ==================================================
   入力画面：input / textarea のスタイル
================================================== */
	
.wpcf7 input:not([type="submit"]),
.wpcf7 textarea {
    
	width: 100%;
    padding: 6px 10px 7px 10px;
    font-size: 20px;
    border: 1px solid #707070;
    border-radius: 5px;
    box-sizing: border-box;

}

.form-area textarea {
    
	min-height: 240px;
    white-space: pre-wrap;

}
	
/* ボタンの基本形状 */
	
.wpcf7-form input[type="submit"], 
.wpcf7-form input[type="button"],
.wpcf7-form button,
.wpcf7-form .wpcf7-submit {
    
	display: block;
    width: 202px !important;
    height: 40px;
    line-height: 40px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    margin: 40px auto;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    padding: 0; /* 内側の余白をリセット */

}
	
	
	
}




@media( max-width:450px ){
	
/* ==================================================
   contactページタイトル
================================================== */

.contact-title-dynamic {
    
	display: block;
    margin: 41px auto 0 auto;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: var(--text-gray);
    width: 100%;

}
	
/* ==================================================
   フォーム・入力エリア共通（dl, dt, dd）
================================================== */

.form-area {
    
	width: 85%;
    max-width: 1080px;
    margin: 35px auto 26px auto;

}
	
/* 項目名（お名前、メールアドレス等） */
	
.form-area dt {
    
	display: block !important; /* 確認画面でも強制表示 */
    font-size: 16px;
    color: var(--text-gray);
    padding-bottom: 8px;

}
	
/* ==================================================
   入力画面：input / textarea のスタイル
================================================== */
	
.wpcf7 input:not([type="submit"]),
.wpcf7 textarea {
    
	width: 100%;
    padding: 5px 6px 7px 6px;
    font-size: 13px;
    border: 1px solid #707070;
    border-radius: 5px;
    box-sizing: border-box;

}

.form-area textarea {
	
    min-height: 240px;
    white-space: pre-wrap;

}
	
/* ボタンの基本形状 */
	
.wpcf7-form input[type="submit"], 
.wpcf7-form input[type="button"],
.wpcf7-form button,
.wpcf7-form .wpcf7-submit {
    
	display: block;
    width: 171px !important;
    height: 34px;
    line-height: 34px;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    margin: 25px auto 51px auto;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    padding: 0; /* 内側の余白をリセット */
	
}
	
.wpcf7-not-valid-tip {
  font-size: 16px;
}
	
}