/* Google Fonts 読み込み */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@300;400;500;700;800&display=swap');

html {
      scroll-behavior: smooth;
}

#about {
    scroll-margin-top: 100px; /* ヘッダーの高さ + 余白 */
}

#access {
    scroll-margin-top: 50px !important;
}

/* サイト全体にフォントを適用 */
body {
    font-family: 'M PLUS Rounded 1c', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* 見出しにもフォントを適用 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
}

/* ボタンにもフォントを適用 */
button, .btn, .swell-block-button {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
}

/* フォームにもフォントを適用 */
input, textarea, select {
    font-family: 'M PLUS Rounded 1c', sans-serif !important;
}

/* グローバルメニューの文字サイズを大きく */
.c-gnav a {
      font-size: 28px !important;
			font-weight: bold;
}


/* ============================================
   Contact Form 7 カスタムスタイル
   ショートコードブロック直接呼び出し用
   ============================================ */

/* ========== フォーム全体のスタイル ========== */
.wpcf7 {
    background: transparent;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ========== フォームグループ（各入力項目）========== */
.wpcf7-form p {
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* ========== ラベル ========== */
.wpcf7-form label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #214d39;
    margin-bottom: 8px;
}

/* 必須マークのスタイル */
.wpcf7-form .wpcf7-form-control-wrap::before {
    content: '';
}

.wpcf7-form abbr {
    color: #f7771c;
    text-decoration: none;
    margin-left: 4px;
}

/* ========== 入力フィールド共通 ========== */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    color: #333333;
    background-color: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* フォーカス時のスタイル */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: #214d39;
    box-shadow: 0 0 0 3px rgba(33, 77, 57, 0.1);
}

/* プレースホルダーのスタイル */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #999999;
}

/* ========== テキストエリア ========== */
.wpcf7-form textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

/* ========== セレクトボックス ========== */
.wpcf7-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23214d39' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* ========== チェックボックス・ラジオボタン ========== */
.wpcf7-form .wpcf7-list-item {
    margin: 0 0 10px 0;
}

.wpcf7-form .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
}

.wpcf7-form input[type="checkbox"],
.wpcf7-form input[type="radio"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

/* カスタムチェックボックス */
.wpcf7-form input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.wpcf7-form input[type="checkbox"]:checked {
    background-color: #214d39;
    border-color: #214d39;
}

.wpcf7-form input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* カスタムラジオボタン */
.wpcf7-form input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    background-color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.wpcf7-form input[type="radio"]:checked {
    border-color: #214d39;
}

.wpcf7-form input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #214d39;
}

/* ========== 送信ボタン ========== */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    display: inline-block;
    padding: 16px 48px;
    background-color: #214d39;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    text-align: center;
    width: auto;
    margin-top: 10px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
    background-color: #f7771c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 119, 28, 0.3);
}

.wpcf7-form input[type="submit"]:active,
.wpcf7-form button[type="submit"]:active {
    transform: translateY(0);
}

/* 送信中の状態 */
.wpcf7-form.submitting input[type="submit"],
.wpcf7-form.submitting button[type="submit"] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========== バリデーションエラー ========== */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #d32f2f;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: #d32f2f !important;
}

/* ========== レスポンスメッセージ ========== */
.wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
}

/* 送信成功 */
.wpcf7-mail-sent-ok {
    background-color: #e8f5e9;
    border: 2px solid #4caf50;
    color: #2e7d32;
}

/* 送信エラー */
.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background-color: #ffebee;
    border: 2px solid #f44336;
    color: #c62828;
}

/* スパムエラー */
.wpcf7-spam-blocked {
    background-color: #fff3e0;
    border: 2px solid #ff9800;
    color: #e65100;
}

/* 承認待ち */
.wpcf7-acceptance-missing {
    background-color: #fff3e0;
    border: 2px solid #ff9800;
    color: #e65100;
}

/* ========== reCAPTCHA ========== */
.wpcf7-form .wpcf7-recaptcha {
    margin: 20px 0;
}

/* ========== AJAX ローダー ========== */
.wpcf7-spinner {
    margin-left: 10px;
    vertical-align: middle;
}

/* ========== ファイルアップロード ========== */
.wpcf7-form input[type="file"] {
    padding: 8px;
    border: 2px dashed #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
}

.wpcf7-form input[type="file"]:hover {
    border-color: #214d39;
}

/* ========== 2カラムレイアウト用（オプション） ========== */
.wpcf7-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wpcf7-form-row-full {
    grid-column: 1 / -1;
}

/* ========== レスポンシブデザイン ========== */

/* タブレット */
@media (max-width: 768px) {
    .wpcf7-form input[type="submit"],
    .wpcf7-form button[type="submit"] {
        width: 100%;
        padding: 14px 36px;
        font-size: 16px;
    }

    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form textarea,
    .wpcf7-form select {
        font-size: 16px; /* iOS のズームを防ぐ */
    }

    .wpcf7-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    .wpcf7-form {
        gap: 15px;
    }

    .wpcf7-form label {
        font-size: 13px;
    }

    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form textarea,
    .wpcf7-form select {
        padding: 10px 14px;
    }

    .wpcf7-form textarea {
        min-height: 120px;
    }

    .wpcf7-response-output {
        font-size: 13px;
        padding: 12px 16px;
    }
}

/* ========== アクセシビリティ ========== */
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: 2px solid #214d39;
    outline-offset: 2px;
}

.c-gnav>.icon-menu>a .ttl>i {
font-size:20px;
}
.c-gnav__sBtn {
margin:1px 1px 0 0;
}