/*
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;
}

/*
 * LP1(page-lp.php)ヘッダーのボタン
 * 形・フォント・ホバーは lp-assets/style.css の .btn をそのまま使う
 */

/* LINEボタン:色とアイコンだけ上書き */
body.lp .btn.line-btn {
	background: #06C755;
	color: #fff;
}

body.lp .btn.line-btn img {
	width: 18px;
	height: auto;
	display: block;
}

/* PC/SPで文言を出し分け(.pcOnly / .spOnly) */
@media (max-width: 900px) {
	body.lp header .btn.pcOnly {
		display: none;
	}

	/* ナビ非表示時、LINEボタンを右側(話を聞くボタンの隣)に寄せる */
	body.lp .btn.line-btn {
		margin-left: auto;
	}

	body.lp .btn.line-btn img {
		width: 16px;
	}
}

@media (min-width: 901px) {
	body.lp header .btn.spOnly {
		display: none;
	}
}

/*
 * LP1(page-lp.php) WHAT WE DO:左に写真、右に横線区切りのリスト
 */
body.lp .work-list {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 48px;
	align-items: start;
	text-align: left;
}

body.lp .work-photo img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

body.lp .work-items {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #D5DCE2;
}

body.lp .work-items li {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 24px;
	align-items: baseline;
	padding: 22px 8px;
	border-bottom: 1px solid #D5DCE2;
}

body.lp .work-items h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.6;
}

body.lp .work-items h3::before {
	content: "・";
}

body.lp .work-items p {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
}

/* LP1 福利厚生:WHAT WE DO のカードを流用し、絵文字の代わりにアイコン画像 */
body.lp .benefit .wcard .icon img {
	width: 44px;
	height: 44px;
	display: block;
	margin: 0 auto;
}

/* LP1 CAREER STEP の追記行 */
body.lp .career-close .career-senior {
	display: inline-block;
	margin-top: 12px;
	color: #E8829F;
}

@media (max-width: 900px) {
	body.lp .work-list {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	body.lp .work-photo img {
		aspect-ratio: 4 / 3;
	}

	body.lp .work-items li {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 18px 4px;
	}

	body.lp .work-items h3 {
		font-size: 16px;
	}

	body.lp .work-items p {
		font-size: 13px;
	}

	body.lp .benefit .card-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	body.lp .benefit .wcard .icon img {
		width: 36px;
		height: 36px;
	}
}
