/*
Theme Name: ICIKA
Theme URI: https://icika.co.jp/
Author: ICIKA
Description: 株式会社ICIKA コーポレートサイト用オリジナルテーマ。ACFを併用したフルスクラッチテーマ。
Version: 2.3.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: icika
*/

/* ==========================================================================
   CSS Variables
   デザインカンプ（デザイン/0719pc/*.jpg）に基づく配色。
   サイト全体は白背景＋ダークグレーの文字に、淡いペリウィンクル（藤色がかった青）を
   アクセントとして使う、非常に淡いトーンのデザイン。
   ========================================================================== */
:root {
	/* 見出し・本文の基本テキストカラー（ほぼ黒だが少し柔らかいチャコール） */
	--color-primary: #262b33;
	--color-text: #262b33;
	--color-text-light: #6b7280;

	/* アクセント（ペリウィンクルブルー）: リンク・日付・タブの選択状態・必須バッジ等 */
	--color-accent: #7c8ce0;
	/* アクセントの淡色: ピルボタンの塗り、ヘッダーの選択中ナビ等 */
	--color-accent-pale: #dee3f7;

	--color-bg: #ffffff;
	--color-bg-alt: #f7f7f9;
	--color-border: #e3e4ea;

	/*
	 * フッター: デザインカンプ確認の結果、フッター本体は白に近いライトグレー背景＋
	 * ダーク文字で、最下部のコピーライト行のみ濃いグレーの帯になっている
	 * （フッター全体が濃色というわけではない）。
	 */
	--color-footer-bg: #f2f2f6;
	--color-footer-text: var(--color-text);
	--color-footer-bottom-bg: #4b4f57;
	--color-footer-bottom-text: #f5f5f7;

	--font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
	/* KVのテキストとh2見出しのみで使用する明朝体 */
	--font-serif: "Shippori Mincho B1", "Noto Sans JP", "Hiragino Mincho ProN", serif;

	--container-width: 1400px;
	--header-height: 80px;
}

/* ==========================================================================
   Reset / Base
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	width: 100%;
}

body {
	width: 100%;
	margin: 0;
	overflow-x: hidden;
	font-family: var(--font-base);
	color: #3d3c45;
	background: var(--color-bg);
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	margin: 0;
}

button,
input,
textarea,
select {
	font-family: inherit;
}

.container {
	width: 100%;
	max-width: var(--container-width);
	margin-inline: auto;
	padding-inline: 20px;
}

/*
 * レスポンシブ表示切替ユーティリティ（Bootstrapのdisplay utilitiesと同じ命名・挙動）。
 * ブレークポイントはBootstrap標準値（sm:576px / md:768px / lg:992px / xl:1200px。いずれも「以上」=min-width）。
 * 旧u-sp-only/u-tablet-only/u-pc-onlyは廃止。ACF等に既に入力済みの<br class="u-sp-only">等は
 * このクラスが無くなったため効かなくなる（常に改行される状態になる）。該当箇所は下記に書き換えが必要。
 *
 *   「〜以下でのみ表示」 = 何も付けない（要素本来のdisplay） + .d-{bp}-none でそのbp以上を非表示
 *     例: スマホ以下のみ改行       → <br class="d-md-none">        （768px未満のみ表示）
 *         タブレット以下のみ改行   → <br class="d-lg-none">        （992px未満のみ表示）
 *   「〜以上でのみ表示」 = .d-none（常時非表示） + .d-{bp}-inline / .d-{bp}-block でそのbp以上のみ表示
 *     例: PC以上のみ改行           → <br class="d-none d-md-inline">  （768px以上のみ表示）
 *         画像等ブロック要素の場合 → class="d-none d-md-block"
 */
.d-none {
	display: none !important;
}

.d-inline {
	display: inline !important;
}

.d-inline-block {
	display: inline-block !important;
}

.d-block {
	display: block !important;
}

@media (min-width: 576px) {
	.d-sm-none {
		display: none !important;
	}

	.d-sm-inline {
		display: inline !important;
	}

	.d-sm-inline-block {
		display: inline-block !important;
	}

	.d-sm-block {
		display: block !important;
	}
}

@media (min-width: 768px) {
	.d-md-none {
		display: none !important;
	}

	.d-md-inline {
		display: inline !important;
	}

	.d-md-inline-block {
		display: inline-block !important;
	}

	.d-md-block {
		display: block !important;
	}
}

@media (min-width: 992px) {
	.d-lg-none {
		display: none !important;
	}

	.d-lg-inline {
		display: inline !important;
	}

	.d-lg-inline-block {
		display: inline-block !important;
	}

	.d-lg-block {
		display: block !important;
	}
}

@media (min-width: 1200px) {
	.d-xl-none {
		display: none !important;
	}

	.d-xl-inline {
		display: inline !important;
	}

	.d-xl-inline-block {
		display: inline-block !important;
	}

	.d-xl-block {
		display: block !important;
	}
}

/* 実際のスタイルは assets/css/style.css に実装し、
   wp_enqueue_scripts で読み込む（inc/enqueue.php 参照） */
