/*
Theme Name: Ultra Child (アルファクラブ東北)
Template: ultra
Description: Ultra の子テーマ。2026-10 の WordPress 7.1 への更新で、親テーマ (Ultra 0.9.4) を直接書き換えていた分を移した。色 (#008a8d)・見出しの飾り・お問い合わせフォームの幅 (スマホ) など。
Version: 1.0.0
Author: ゼノクリース合同会社
Text Domain: ultra-child
*/

/* ここから下は、Ultra 0.9.4 の style.css をサイトで書き換えていた箇所だけを抜き出したもの (公式の 0.9.4 との差分) */

::selection {
	background: #008a8d;
	color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #008a8d;
}

h2 {
	border-style: dotted;
	border-width: 1px;
	border-color: #008a8d;
	padding: 5px 10px 5px 20px;
}

h3 {
	border-bottom: 1px solid #008a8d;
	margin-bottom: 10px;
	padding: 0 0 10px 0;
}

h4 {
	background: #ededed;
	margin: 10px 0 10px 0;
	padding: 10px;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background: #008a8d;
}

a {
	color: #008a8d;
}

a:visited {
	color: #008a8d;
}

a:hover,
a:focus,
a:active {
	color: #008a8d;
}

.top-bar-navigation ul li {
	color: #eeeeee;
}

.top-bar-navigation ul li a {
	color: #eeeeee;
}

.top-bar-navigation ul ul {
	border-top: 3px solid #008a8d;
}

.top-bar-navigation ul ul li:hover > a {
	background: #008a8d;
}

.top-bar-navigation div > ul > li > a:hover {
	border-bottom: 3px solid #008a8d;
}

@media (max-width: 1224px) {
.top-bar-navigation div > ul > li.menu-item-has-children > a:hover,
.top-bar-navigation div > ul > li.page_item_has_children > a:hover {
	border-bottom: 3px solid #008a8d;
}
}

.main-navigation ul li:hover > a {
	color: #008a8d;
}

.main-navigation ul ul {
	border-top: 3px solid #008a8d;
}

.main-navigation ul ul li:hover > a {
	background: #008a8d;
}

.main-navigation ul ul .current_page_item > a,
.main-navigation ul ul .current-menu-item > a,
.main-navigation ul ul .current_page_ancestor > a {
	color: #008a8d;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
	color: #008a8d;
}

.main-navigation div > ul > li > a:hover {
	border-bottom: 3px solid #008a8d;
}

.main-navigation .menu-search .search-icon:hover:before {
	color: #008a8d;
}

.main-navigation .menu-search .searchform input[name=s] {
	border-top: 3px solid #008a8d;
}

.comment-navigation .nav-links a:hover,
.paging-navigation .nav-links a:hover,
.post-navigation .nav-links a:hover {
	color: #008a8d;
}

.pagination .page-numbers:hover {
	background: #008a8d;
}

.pagination .current {
	background: #008a8d;
}

.panel-grid-cell .sow-features-list .sow-features-feature p.sow-more-text a:hover {
	color: #008a8d;
}

.panel-grid-cell .sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-item h3 a:hover {
	color: #008a8d;
}

.panel-grid-cell .sow-carousel-wrapper ul.sow-carousel-items li.sow-carousel-item .sow-carousel-thumbnail a span.overlay {
	background: #008a8d;
}

.responsive-menu .main-navigation.toggled ul li a:hover {
	background: #008a8d;
}

.responsive-menu .main-navigation.toggled ul ul li a:hover {
	background: #008a8d;
}

@media (max-width: 1024px) {
#scroll-to-top {
	display: inline;
}
}

#secondary .widget h3.widget-title a:hover,
#colophon .widget h3.widget-title a:hover {
	color: #008a8d;
}

.site-footer #wp-calendar tbody td {
	background: #008a8d;
}

.site-content {
	padding: 3.57143em;
}

@media (max-width: 480px) {
.site-content {
	background: #fff;
	padding: 3.57143em 0 3.57143em 0;
}
}

#top-bar {
	background: #008a8d;
}

#top-bar .top-bar-text span {
	line-height: 2.08333em;
	color: #eeeeee;
}

#top-bar .top-bar-text span a {
	color: #eeeeee;
}

.site-footer .footer-main {
	background: #008a8d;
	color: #ebebeb;
}

.site-footer .footer-main a {
	color: #eeeeee;
}

.site-footer .footer-main input[type="text"],
.site-footer .footer-main input[type="email"],
.site-footer .footer-main input[type="url"],
.site-footer .footer-main input[type="tel"],
.site-footer .footer-main input[type="number"],
.site-footer .footer-main input[type="date"],
.site-footer .footer-main input[type="password"],
.site-footer .footer-main input[type="search"],
.site-footer .footer-main select[multiple],
.site-footer .footer-main textarea {
	background: #008a8d;
}

.site-footer .footer-main input[type="text"]:focus,
.site-footer .footer-main input[type="email"]:focus,
.site-footer .footer-main input[type="url"]:focus,
.site-footer .footer-main input[type="password"]:focus,
.site-footer .footer-main input[type="search"]:focus,
.site-footer .footer-main textarea:focus {
	background: #008a8d;
}

.site-footer .footer-main button:hover,
.site-footer .footer-main input[type="button"]:hover,
.site-footer .footer-main input[type="reset"]:hover,
.site-footer .footer-main input[type="submit"]:hover {
	background: #008a8d;
}

.site-footer .bottom-bar {
	background: #008a8d;
	color: #eeeeee;
}

.site-footer .bottom-bar a {
	color: #eeeeee;
}

.entry-header h1.entry-title a:hover,
.entry-header h1.page-title a:hover,
.page-header h1.entry-title a:hover,
.page-header h1.page-title a:hover {
	color: #008a8d;
}

.entry-header .breadcrumbs a:hover,
.page-header .breadcrumbs a:hover {
	color: #008a8d;
}

.entry-meta a:hover {
	color: #008a8d;
}

.entry-content p a,
.entry-content li a,
.entry-content dl a,
.entry-content pre a,
.entry-content code a,
.entry-content blockquote a {
	color: #008a8d;
	border-bottom: 1px dotted #008a8d;
}

.entry-content p a:hover,
.entry-content li a:hover,
.entry-content dl a:hover,
.entry-content pre a:hover,
.entry-content code a:hover,
.entry-content blockquote a:hover {
	border-bottom: 1px solid #008a8d;
}

.entry-content .more-wrapper .more-link:hover {
	background: #008a8d;
}

.entry-content .page-links span {
	background: #008a8d;
}

.entry-content .page-links a span:hover {
	background: #008a8d;
}

.content-none .site-main a {
	color: #008a8d;
	border-bottom: 1px dotted #008a8d;
}

.content-none .site-main a:hover {
	border-bottom: 1px solid #008a8d;
}

.entry-footer a:hover {
	color: #008a8d;
}

.comments-area .comment-list .pingback a {
	border-bottom: 1px dotted #008a8d;
}

.comments-area .comment-list .pingback a:hover {
	border-bottom: 1px solid #008a8d;
}

.comments-area .comment-list .pingback .edit-link a:hover {
	color: #008a8d;
}

.comments-area .comment-author .fn a:hover {
	color: #008a8d;
}

.comments-area .comment-metadata a:hover {
	color: #008a8d;
}

.comments-area .comment-content a {
	border-bottom: 1px dotted #008a8d;
}

.comments-area .comment-content a:hover {
	border-bottom: 1px solid #008a8d;
}

.comments-area .reply a.comment-reply-link:hover,
.comments-area .reply a.comment-reply-login:hover {
	color: #008a8d;
}

.mbt-breadcrumbs a:hover {
	color: #008a8d;
}

.mbt-featured-book-widget .mbt-book-title a:hover {
	color: #008a8d !important;
}

a:hover img {
	filter : alpha(opacity=80);
	opacity : 0.8;
}

@media (max-width: 480px) {
.form {
	max-width:100%;
}
}

@media (max-width: 480px) {
.wpcf7 input[name="your-name"],
.wpcf7 input[name="your-email"],
.wpcf7 input[name="text-576"],
.wpcf7 input[name="tel-453"],
.wpcf7 input[name="text-533"],
.wpcf7 input[name="number-691"],
.wpcf7 input[name="text-948"],
.wpcf7 input[name="tel-746"],
.wpcf7 input[name="number-225"],
.wpcf7 input[name="email-152"],
.wpcf7 input[name="your-subject"] {
	width: 80%;
	height: 35px !important;
}
}

@media (max-width: 480px) {
.wpcf7 textarea[name="your-message"] {
	width: 80%;
	height: 200px !important;
}
}

@media (max-width: 480px) {
.wpcf7 textarea[name="textarea-543"] {
	width: 80%;
	height: 200px !important;
}
}

/* ここから下は、2026-10 の更新で見た目をそろえるために足したもの */

/* SiteOrigin Widgets Bundle 1.75 の機能紹介は一覧を li で書くので、テーマの「本文のリストのリンクに点線」(.entry-content li a) が当たる。旧版 (1.17) の見た目に合わせて線を消す */
.entry-content .sow-features-list li a {
	border-bottom: none;
}

/* Contact Form 7 6.x は表のマスの中身も <p> で包む (旧 4.9 は包まなかった)。テーマの p の余白と太さが当たって行が高くなるので、表の中だけ旧版の見た目に戻す */
.wpcf7 table th p,
.wpcf7 table td p {
	margin: 0;
	font-weight: inherit;
}

/* Ultra 1.6 の「.wpcf7 p の入力欄は 1 行ずつ (display: block)」も表の中では効かせない (旧版は横に並ぶ既定の表示) */
.wpcf7 table p .wpcf7-form-control-wrap,
.wpcf7 table p .wpcf7-form-control {
	display: revert;
}
