@charset "UTF-8";

/* 全体の基本スタイル */
body {
    margin: 0;
    padding: 0;
    font-family: "游明朝", "Yu Mincho", "Shippori Mincho", serif;
    color: #4a4a4a;
    background-color: #fdfaf6;
}

/* ヘッダー全体 */
.site-header {
    background-color: #fffaf0;
    padding: 30px 20px;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

/* タイトル構成 */
.site-title {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 20px;
    flex-wrap: wrap;
    font-family: "Shippori Mincho", serif;
    margin-bottom: 30px;
}

.title-left,
.title-center,
.title-right {
    color: #7a6c5d;
    letter-spacing: 1px;
}

.title-left {
    font-size: 14px;
    font-style: italic;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.title-center {
    font-size: 32px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #ccc;
    margin-top: 0;
}

.title-right {
    font-size: 16px;
    font-style: italic;
    font-weight: 500px;
    opacity: 0.9;
    margin-top: 4px;
}

/* ナビゲーションメニュー */
.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin-top: 50px;
}

.main-nav a {
    text-decoration: none;
    color: #4a4a4a;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #a67c52;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #f7f7f7;
    font-family: 'Shippori Mincho', serif;
}

.container {
    width: 100%;
    max-width: 1800px;
    flex-grow: 1;
}

.subtitle {
    font-size: 16px;
    margin-left: 20px;
    color: #826f64;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

/* フォームの幅を調整します */
.form-wrapper {
    max-width: 600px; /* ここを900pxから600pxに修正 */
    width: 100%; /* 親要素の幅に合わせて表示 */
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 50px;
    margin: 0 auto;
}

.form-info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.required-notice {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.required-box {
    background-color: rgb(247, 94, 176);
    color: #fff;
    padding: 2px 6px;
    font-size: 12px;
    border-radius: 3px;
    margin-right: 5px;
}

.required-notice p {
    margin: 0;
    color: rgb(247, 94, 176);
}

.privacy-policy {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}

.form-row {
    display: flex;
    margin-bottom: 20px;
}

.form-label {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
    font-size: 16px;
}

.form-label label {
    margin-right: 10px;
}

.form-input {
    flex: 1;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
}

input::placeholder,
textarea::placeholder {
    color: #aaa;
}

.submit-button-container {
    text-align: center;
    margin-top: 40px;
}

.submit-button {
    padding: 15px 50px;
    background-color: #fff;
    border: 1px solid #ccc;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    color: #666;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #f0f0f0;
}

/* MW WP Formのボタン（戻る・確認・送信）を元のデザインに合わせる */
.submit-button-container input[type="submit"],
.submit-button-container input[type="button"] {
    padding: 15px 50px;
    background-color: #fff;
    border: 1px solid #ccc;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    color: #666;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin: 0 8px;
}

.submit-button-container input[type="submit"]:hover,
.submit-button-container input[type="button"]:hover {
    background-color: #f0f0f0;
}

/* フッター */
.site-footer {
  background-color: #faf3ea;
  color: #7a6c5d;
  text-align: center;
  padding: 30px 20px;
  font-family: "Shippori Mincho", serif;
  font-size: 0.9em;
  border-top: 1px solid #d8cfc0;
  margin-top: 60px;
}

.footer-text {
  margin: 0;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.footer-subtext {
  margin-top: 8px;
  font-style: italic;
  opacity: 0.8;
}

/* フッターの余白調整 */
.site-footer {
  position: relative;
  margin-top: 0px;
}


@media (max-width: 768px) {
    .header-container {
        padding: 30px 20px 10px;
        flex-direction: column;
        align-items: center;
    }

    .logo-text {
        font-size: 20px;
    }

    .subtitle {
        margin-left: 0;
        margin-top: 5px;
    }

    /* モバイルでのフォームの幅を調整 */
    .form-wrapper {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .form-label {
        justify-content: flex-start;
        padding-right: 0;
        margin-bottom: 5px;
        font-size: 14px;
    }

    .form-input {
        width: 100%;
    }

    .required-box {
        margin-left: 5px;
    }
}

