/*
Theme Name: 600HDs_theme（2026-12-01）
Theme URI: https://github.com/sabeevo/600hds_theme
Author: sabeevo
Author URI: https://github.com/sabeevo
Description: 600ホールディングス用のブロックテーマです。デザイン確定前でも、管理画面のテンプレートパーツとブロックパターンからページを組み立てられます。
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
Version: 0.2.16
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 600hds
Tags: full-site-editing, block-patterns, block-styles, editor-style, featured-images, custom-logo, custom-menu, wide-blocks
*/

body {
  margin: 0;
  font-family: "EB Garamond", "Noto Serif JP", serif;
  font-weight: 400;
  background-color: #f3f2ef !important;
  background-image: none !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #f3f2ef;
  background-image: url("assets/images/back.jpg");
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  -webkit-tap-highlight-color: transparent;
}

button,
[type="button"],
[type="submit"],
[type="reset"],
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

/* クリック時の枠は出さず、キーボード操作時はリンク・フォームのみ */
:where(.wp-site-blocks *:focus) {
  outline: none;
}

:where(.wp-site-blocks a:focus-visible),
:where(.wp-site-blocks input:focus-visible),
:where(.wp-site-blocks textarea:focus-visible),
:where(.wp-site-blocks select:focus-visible) {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

button:focus,
button:focus-visible,
[type="button"]:focus,
[type="button"]:focus-visible,
[type="submit"]:focus,
[type="submit"]:focus-visible,
[type="reset"]:focus,
[type="reset"]:focus-visible,
[role="button"]:focus,
[role="button"]:focus-visible {
  outline: none !important;
  box-shadow: none;
}

.wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.wp-site-blocks > main,
.wp-site-blocks > .wp-block-group:has(> main) {
  flex: 1 0 auto;
}
