/*
Theme Name: Frost
Theme URI: https://frostwp.com/
Author: WP Engine
Author URI: https://wpengine.com/
Description: With its clean, minimal design and powerful feature set, Frost enables agencies to build stylish and sophisticated WordPress websites. Frost is a masterpiece of design and functionality. It features a range of valuable patterns, including hero and portfolio sections, prominent call-to-action buttons, and customer testimonials. Whether you’re building a website for your business, personal brand, or creative project, Frost is perfect for anyone looking to launch quickly and efficiently.
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0.10
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: frost
*/


/* Defaults
---------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}

mark {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
	background-position: 0 85%;
	background-repeat: repeat-x;
	background-size: 100% 15%;
}

/* -- Forms -- */

input,
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	background-color: var(--wp--preset--color--neutral);
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.5;
}

/* Blocks
---------------------------------------- */

/* -- Code -- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	border: 1px solid currentColor;
	padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
	color: var(--wp--preset--color--base);
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--contrast);
	border: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
	padding: 2px 10px;
}

/* Utility
---------------------------------------- */

/* -- Box Shadow -- */

.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--solid);
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {

	/* -- Utility -- */

	.is-style-hidden-mobile {
		display: none !important;
	}

}

@media only screen and (max-width: 782px) {

	/* -- Columns -- */

	.is-style-columns-reverse {
		flex-direction: column-reverse;
	}

}

.center-left-text {
  width: fit-content;      /* 文章の幅に合わせる */
  margin-left: auto;       /* 左右を auto にして中央へ */
  margin-right: auto;
  text-align: left;        /* 左揃え維持 */
}
/* 汎用カードデザイン */
.card-box {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 36px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.card-box:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

/* タイトルの調整 */
.card-box h2 {
    margin-top: 0;
}

/* 固定ページのタイトルを非表示 */
.page .entry-title {
    display: none;
}

/* トップページのメイン見出しを強制太字 */
.hero-title,
.hero-title * {
    font-weight: 800 !important;
}

/* ラッパー：中央揃え */
.hero-title-wrapper {
    text-align: center;
    width: 100%;
}

/* 見出し：ぼんやりフェードイン */
.hero-title {
    opacity: 0;
    animation: fadein 1.6s ease-out forwards;
}

/* フェードインの動き */
@keyframes fadein {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* add */
/* ===== サンアート事例セクション ===== */

.si-case {
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 0 1.5rem;
}

.si-case__header {
    text-align: left;
    margin-bottom: 2rem;
}

.si-case__label {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #088178;
    margin-bottom: 0.3rem;
}

.si-case__title {
    font-size: 1.7rem;
    margin: 0 0 0.3rem;
}

.si-case__subtitle {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

/* カードグリッド */

.si-case__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

/* @media (min-width: 768px) {
    .si-case__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
} */

/* カード本体 */

.si-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1.5rem 1.25rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0,0,0,0.03);
}

.si-card--accent {
    border-left: 4px solid #088178;
}

.si-card__title {
    font-size: 1.1rem;
    margin: 0 0 0.75rem;
}

.si-card__subtitle {
    font-size: 0.95rem;
    margin: 1.1rem 0 0.3rem;
    color: #333;
    font-weight: 600;
}

.si-card__text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 0.8rem;
}

.si-card__list {
    margin: 0 0 0.8rem 1.1rem;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.si-card__list li {
    margin-bottom: 0.25rem;
}

/* お客様の声（引用） */

.si-voice {
    margin: 0;
    padding: 0.4rem 0 0;
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
}

.si-voice::before {
    content: "“";
    font-size: 2.2rem;
    color: #088178;
    position: absolute;
    left: -0.2rem;
    top: -0.8rem;
    opacity: 0.3;
}

.si-voice p {
    margin: 0 0 0.6rem;
}

.si-voice__cite {
    display: block;
    font-size: 0.85rem;
    color: #666;
    text-align: right;
}

/* Frostの余白と馴染ませる微調整 */

.si-case .wp-block-group,
.si-case .wp-block-paragraph {
    margin-bottom: 0;
}
