/*
Theme Name: eden
Template: twentytwentyfive
*/
/* ==========================================
   サイト全体のクリック時フォーカス枠（黒枠・青枠）を消去
   ========================================== */
/* 全要素のマウス/タップ操作時のフォーカス枠を消す */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}
/* スマホ・タブレットでタップした時に出るグレー/青のハイライトを消す */
* {
    -webkit-tap-highlight-color: transparent !important;
}
/* 【アクセシビリティ配慮】キーボードのTabキー操作時のみ枠線を出す */
*:focus-visible {
    outline: 2px solid #333 !important; /* 必要に応じてお好みの色に調整してください */
}
/* header調整 */
.wp-block-site-logo {
    position: fixed;
    top: 28px;
    left: 20px;
    cursor: pointer;
    z-index: 10000;
}
body.admin-bar .wp-block-site-logo {
    top: 50px;
}
@media screen and (max-width: 782px) {
    .wp-block-site-logo {
        left: 0;
    }
    body.admin-bar .wp-block-site-logo {
        top: 64px;
    }
}
/* ==========================================
   コンタクトフォーム調整
   ========================================== */
/* フォーム全体のスタイル */
.wpcf7 {
    background-color: #F0EDEB;
    padding: 24px;
    border-radius: 8px;
    max-width: 600px;
    margin: auto;
}
/* ラベルのスタイル */
.wpcf7-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #111111;
}
/* 必須フィールドのラベルスタイル */
.wpcf7-form .required,
.wpcf7-form .optional{
    background-color: #D44919;
    color: white;
    padding: 2px 5px;
    border-radius: 2px;
    margin-right: 8px;
    font-size: 11px!important;
}
.wpcf7-form .optional {
    background-color: #B8B8B8;
}
/* インプットフィールドのスタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc; /* ライトグレー */
    border-radius: 4px;
    margin-top: 8px;
    margin-bottom: 6px;
    background-color:#fff;
    box-sizing: border-box
}
/* テキストエリアのスタイル */
.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}
/* セレクトのスタイル */
.wpcf7-form select {
    width: 50%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    margin-top: 8px;
    margin-bottom: 6px;
}
/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
    background-color: #A5831B;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2em 3em;
    max-width: 300px;
}
.wpcf7-form input[type="submit"]:hover {
    opacity: 0.8;
}
/* エラーメッセージと成功メッセージのスタイル */
.wpcf7-form .wpcf7-not-valid-tip {
    color: red;
    font-size: 14px;
}
.wpcf7-form .wpcf7-mail-sent-ok {
    color: green;
    font-size: 16px;
    margin-bottom: 20px;
}
.wpcf7-response-output{
    font-size: 16px;
}
.wpcf7-spinner {
  display: none; 
}
@media screen and (max-width: 767px) {
    .wpcf7-form label,
    .wpcf7-form .wpcf7-mail-sent-ok,
    .wpcf7-response-output{
        font-size: 14px;
    }
}
