/*
Theme Name: ombrage 茶系
Theme URI: https://www.ailv5.com/
Author: AI経営本部
Author URI: https://www.ailv5.com/
Description: シェアハウスオンブラージュ。現行サイトに合わせた茶系の配色。配色とタイポグラフィは theme.json に集約しています。外部CDN・Webフォントは読み込みません。
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ombrage-brown
Tags: full-site-editing, block-patterns, one-column, blog, editor-style
*/

/*
 * 見た目の指定は theme.json に集約しています。
 * このファイルには、theme.json では表現できないものだけを書いてください。
 */

/* リンクの下線を、読みやすい位置に下げる */
a {
	text-underline-offset: 0.2em;
}

/* キーボード操作時のフォーカスを見えるようにする */
:where(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* 印刷時は背景色を落とす */
@media print {
	body {
		background: #fff;
		color: #000;
	}
}

/* ヘッダーのメニュー：日本語の下に英語の小見出しを出す */
.ombra-nav .wp-block-navigation-item__content{display:flex;flex-direction:column;align-items:center;line-height:1.3;padding:.4em 1.1em;border-left:1px solid var(--wp--preset--color--border);}
.ombra-nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content{border-right:1px solid var(--wp--preset--color--border);}
.ombra-nav .wp-block-navigation-item__label{font-weight:600;color:var(--wp--preset--color--secondary);}
.ombra-nav .wp-block-navigation-item__description{font-size:.7rem;color:#9a8a78;letter-spacing:.05em;}
.ombra-nav a:hover .wp-block-navigation-item__label{color:var(--wp--preset--color--accent);}
/* 写真の帯 */
.ombra-band img{width:100%;height:240px;object-fit:cover;display:block;}
.ombra-band .wp-block-image{margin:0;}
/* フッターのメニュー */
.ombra-footer a{color:#F9EBCB;text-decoration:none;}
.ombra-footer a:hover{color:#D5933F;}
/* WordPress標準では隠される英語の小見出しを、表示する */
.wp-block-navigation.ombra-nav .wp-block-navigation-item__description{display:block;}

/* お問い合わせフォーム（Contact Form 7） */
.wpcf7 form p{margin:0 0 1.4em;}
.wpcf7 label{display:block;font-weight:600;}
.wpcf7 input[type="text"],.wpcf7 input[type="email"],.wpcf7 input[type="tel"],.wpcf7 select,.wpcf7 textarea{
	width:100%;max-width:100%;box-sizing:border-box;margin-top:.4em;padding:.7em .8em;font:inherit;font-weight:400;
	color:var(--wp--preset--color--contrast);background:#fff;border:1px solid var(--wp--preset--color--border);border-radius:4px;}
.wpcf7 textarea{min-height:11em;}
.wpcf7 input:focus,.wpcf7 select:focus,.wpcf7 textarea:focus{outline:2px solid var(--wp--preset--color--accent);outline-offset:1px;}
.wpcf7 .wpcf7-acceptance label{display:flex;gap:.6em;align-items:flex-start;font-weight:400;}
.wpcf7 .wpcf7-acceptance input{margin-top:.45em;}
.wpcf7 input[type="submit"]{cursor:pointer;font:inherit;font-weight:700;padding:.9em 2.4em;border:0;border-radius:6px;
	color:var(--wp--preset--color--primary);background:var(--wp--preset--color--accent);}
.wpcf7 input[type="submit"]:hover{background:var(--wp--preset--color--secondary);color:#fff;}
.wpcf7 input[type="submit"]:disabled{opacity:.5;cursor:not-allowed;}
.wpcf7 .wpcf7-not-valid-tip{color:#b3261e;font-size:.875rem;margin-top:.3em;}
.wpcf7 form .wpcf7-response-output{margin:1.2em 0 0;padding:.8em 1em;border-radius:4px;}

/* 見出しの最後の一文字だけが次の行に落ちないようにする */
h1,h2,h3{text-wrap:balance;}
