/* 問い合わせページ専用のデスクトップスタイル */

/* 基本的なコンテナスタイル */
#lnk-contact-info, #lnk-contact, #lnk-contact-confirm, #lnk-contact-complete {
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    overflow-x: hidden !important;
}

.block1 {
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    overflow-x: hidden !important;
}

/* 全体のレイアウト */
#lnk-contact-info > div.section-container, 
#lnk-contact > div.section-container,
#lnk-contact-confirm > div.section-container,
#lnk-contact-complete > div.section-container {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}

/* ページの基本コンテナ */
.page-container {
    position: relative !important;
    overflow: hidden !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
}

.content-container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}

/* 見出しのスタイル */
h2.section-title {
    text-align: center;
    color: rgb(164, 11, 94);
    margin-bottom: 25px;
    font-size: 32pt;
}

/* 説明文のスタイル */
p.description-text {
    text-align: center;
    margin: 0 0 30px 0;
    padding: 5px 10px;
    line-height: 1.8;
    font-size: 14pt;
}

/* エラーメッセージ */
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 30px;
    font-size: 14pt;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* コンタクト情報セクションのテーブルスタイル */
.contact-info-table { 
    width: 100%; 
    font-size: 14pt;
    max-width: 800px;
    margin: 0 auto;
    table-layout: fixed;
}

.contact-row { 
    display: flex; 
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    margin-bottom: 10px;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-label { 
    width: 40%; 
    text-align: right;
    font-weight: bold;
    padding-right: 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    white-space: nowrap;
}

.contact-value { 
    width: 60%;
    text-align: left;
    padding-left: 20px;
    padding-right: 10px;
}

.contact-icon {
    margin-left: 8px;
    vertical-align: middle;
}

.contact-link {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.contact-link:hover {
    color: rgb(164, 11, 94);
}

.sub-link {
    font-size: 0.9em;
    color: rgb(164, 11, 94);
    margin-top: 8px;
    display: inline-block;
}

/* フォーム用カスタムスタイル */
.custom-select, .form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    font-size: 13pt;
    box-sizing: border-box;
}

.form-textarea {
    resize: vertical;
    line-height: 1.6;
}

.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
}

/* コンタクトフォーム */
#contact-form {
    max-width: 800px;
    margin: 0 auto;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14pt;
}

.required {
    display: none;
}

/* プライバシーポリシーコンテナ */
#privacy-policy-container {
    display: flex !important;
    align-items: flex-start !important;
    cursor: pointer !important;
    font-size: 13pt !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

#privacy-checkbox {
    margin-right: 10px !important;
    width: 18px !important;
    height: 18px !important;
    margin-top: 3px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

#privacy-label {
    margin: 0 !important;
    cursor: pointer !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
    display: inline-block !important;
}

.privacy-link {
    color: rgb(164, 11, 94);
}

/* フォーム送信ボタン */
.button-container {
    text-align: center;
}

.submit-button {
    padding: 15px 50px;
    background-color: rgb(164, 11, 94);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 15pt;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
    background-color: rgb(134, 9, 77);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* 確認画面のスタイル */
#contact-confirm {
    max-width: 700px !important;
    margin: 0 auto !important;
    background-color: #f9f9f9 !important;
    padding: 30px !important;
    border-radius: 5px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.confirm-table {
    width: 100% !important;
    border-collapse: collapse !important;
}

.confirm-table th {
    padding: 15px 10px !important;
    text-align: left !important;
    width: 30% !important;
    vertical-align: top !important;
}

.confirm-table td {
    padding: 15px 10px !important;
    vertical-align: top !important;
    white-space: pre-wrap !important;
}

.confirm-table tr {
    border-bottom: 1px solid #eee;
}

.confirm-table tr:last-child {
    border-bottom: none;
}

.buttons-container {
    margin-top: 40px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
}

.back-button {
    padding: 12px 30px !important;
    background-color: #888 !important;
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 14pt !important;
    cursor: pointer !important;
}

.send-button {
    padding: 12px 30px !important;
    background-color: rgb(164, 11, 94) !important;
    color: white !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 14pt !important;
    cursor: pointer !important;
}

/* 完了画面のスタイル */
.complete-container {
    text-align: center !important;
    padding: 50px 0 !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.check-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background-color: rgb(164, 11, 94);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(164, 11, 94, 0.3);
}

.complete-title {
    font-size: 28pt;
    font-weight: bold;
    margin-bottom: 30px;
    color: rgb(164, 11, 94);
}

.complete-message {
    font-size: 15pt;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 90%;
    margin: 0 auto 40px;
}

.home-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: rgb(164, 11, 94);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15pt;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.home-button:hover {
    background-color: rgb(134, 9, 77);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.button-wrapper {
    margin-top: 50px;
    text-align: center;
}