/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}


/* ラベルのフォントサイズを調整 */
.wpcf7 form label {
  font-size: 16px;
  display: block;   /* 各labelをブロック表示にすると見やすい */
  /*margin-bottom: 4px;*/
}

/* テキスト入力やメール入力のボックスにpaddingを追加 */
.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="date"],
.wpcf7 form input[type="number"],
.wpcf7 form textarea {
  padding: 8px 12px;
  font-size: 14px;
  width: 100%;        /* 横幅いっぱいに */
  box-sizing: border-box;
  margin-bottom:10px;	
}

/* ラジオボタンやチェックボックスのラベル */
.wpcf7 form .wpcf7-list-item-label {
  font-size: 14px;
  margin-left: 4px;
}

/* エラーメッセージ全体 */
.wpcf7 form .wpcf7-not-valid-tip {
  font-size: 14px;     /* フォントサイズ */
  color: #d9534f;      /* 文字色（赤を少し落ち着いた色に） */
  margin-top: 4px;
}

/* フォーム送信後の全体エラーメッセージ（赤いボックス部分） */
.wpcf7 form .wpcf7-validation-errors,
.wpcf7 form .wpcf7-acceptance-missing {
  font-size: 15px;
  color: #fff;
  background-color: #d9534f;
  border: none;
  padding: 10px;
  border-radius: 4px;
}

/* 成功メッセージ（緑色部分） */
.wpcf7 form .wpcf7-mail-sent-ok {
  font-size: 15px;
  color: #fff;
  background-color: #5cb85c;
  border: none;
  padding: 10px;
  border-radius: 4px;
}

/* Contact Form 7 の送信ボタン */
.wpcf7 form input[type="submit"] {
  background: linear-gradient(135deg, #ff7e5f, #feb47b); /* グラデーション */
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;   /* 丸み */
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

/* ホバー時に少し浮く */
.wpcf7 form input[type="submit"]:hover {
  background: linear-gradient(135deg, #feb47b, #ff7e5f);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* 押したとき */
.wpcf7 form input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
footer,
.site-footer {
  display: none;
}

.entry-title,
.page .entry-title,
.post .entry-title {
  display: none !important;
}

/* サイト全体のヘッダーやタイトルを非表示 */
header,
.site-header,
.site-branding {
  display: none !important;
}

.site-content,
.entry-content {
  margin-top: 0;
  padding-top: 0;
}

.entry-title {
  display: none;
}

.entry-title {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}