/*
Theme Name:   Caramelo
Theme URI:    https://caramelo.co.jp/
Description:  株式会社カラメロ コーポレートサイト用オリジナルテーマ。外部の有料テーマ・プラグインに依存しない単独テーマです。トップページの各セクションは「外観 > カスタマイズ > カラメロ トップページ」から編集できます。
Author:       株式会社カラメロ
Author URI:   https://caramelo.co.jp/
Version:      1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License:      GPLv2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  caramelo
*/

/* =========================================================
   1. 変数・リセット
   ========================================================= */
:root {
	--primary: #f85549;
	--secondary: #333333;
	--text: #777777;
	--heading: #333333;
	--muted: #aaaaaa;
	--line: #e9e9e9;
	--bg-alt: #f8f9f9;
	--bg-dark: #222222;
	--bg-darker: #111111;
	--header-h: 75px;
	--font-body: "Open Sans", Helvetica, Arial, sans-serif;
	--font-head: "Raleway", Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 14px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	word-wrap: break-word;
}

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--secondary); }

p { margin: 0 0 15px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-head);
	color: var(--heading);
	font-weight: 600;
	line-height: 1.1;
	margin: 0 0 15px;
}
h1 { font-size: 32px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
h4 { font-size: 17px; margin-bottom: 12px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

ul, ol { margin: 0 0 15px; padding-left: 20px; }

hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	border-style: solid;
	border-color: var(--line);
	margin-bottom: 20px;
}
th, td {
	border-width: 0 1px 1px 0;
	border-style: solid;
	border-color: var(--line);
	padding: 5px;
	text-align: left;
	vertical-align: middle;
}
th { font-weight: 700; }

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

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="password"],
input[type="date"],
textarea,
select {
	width: 100%;
	max-width: 100%;
	padding: 10px;
	border: 0;
	border-radius: 0;
	background: #f2f2f2;
	color: #000;
	font-size: 15px;
	line-height: 1.5;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	transition: background .2s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus { background: #ebebeb; }
textarea { min-height: 120px; resize: vertical; }

input[type="submit"],
input[type="reset"],
button[type="submit"],
.button {
	display: inline-block;
	padding: 15px 23px;
	border: 0;
	border-radius: 2px;
	background: var(--primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity .2s ease;
	-webkit-appearance: none;
}
input[type="submit"]:hover,
button[type="submit"]:hover,
.button:hover { opacity: .85; color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.screen-reader-text:focus {
	clip: auto; width: auto; height: auto;
	top: 5px; left: 5px; z-index: 100000;
	padding: 12px 20px; background: #fff; color: var(--primary);
	box-shadow: 0 0 2px 2px rgba(0,0,0,.2);
}

.alignleft { float: left; margin: 0 20px 15px 0; }
.alignright { float: right; margin: 0 0 15px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; text-align: center; }
.clearfix::after { content: ""; display: table; clear: both; }

/* =========================================================
   2. レイアウト
   ========================================================= */
.container {
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 15px;
}
@media (max-width: 1199px) { .container { max-width: 960px; } }
@media (max-width: 991px)  { .container { max-width: 720px; } }
@media (max-width: 767px)  { .container { max-width: 540px; } }
@media (max-width: 575px)  { .container { max-width: none; } }

/* ボタン */
.btn {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid transparent;
	border-radius: 2px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition: all .2s ease;
}
.btn-lg { padding: 12px 24px; font-size: 17px; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: transparent; color: #fff; border-color: rgba(255,255,255,.9); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.9); color: rgba(255,255,255,.9); }
.btn-outline-light:hover, .btn-outline-light:focus { background: rgba(255,255,255,.9); color: var(--secondary); }
.btn-outline-primary {
	background: transparent;
	border-color: var(--primary);
	color: var(--primary);
	box-shadow: inset 0 -1px 0 rgba(0,0,0,.1);
}
.btn-outline-primary:hover, .btn-outline-primary:focus { background: var(--primary); color: #fff; }

/* =========================================================
   3. ヘッダー
   ========================================================= */
.site-header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	box-shadow: 0 5px 10px 0 rgba(50,50,50,.06);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-h);
}
.site-branding { display: flex; align-items: center; padding: 7px 0; }
.site-branding img,
.site-branding .custom-logo { height: 60px; width: auto; display: block; }
.site-branding .site-title {
	margin: 0;
	font-family: var(--font-head);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #383838;
}
.site-branding .site-title a { color: inherit; }

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-navigation .menu {
	display: flex;
	align-items: center;
}
.main-navigation .menu > li { position: relative; }
.main-navigation .menu > li > a {
	display: block;
	padding: 0 17px;
	line-height: var(--header-h);
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--secondary);
}
.main-navigation .menu > li:last-child > a { padding-right: 0; }
.main-navigation .menu a:hover,
.main-navigation .menu li.is-active > a,
.main-navigation .menu li.current-menu-item:not(.menu-item-type-custom) > a { color: var(--primary); }

/* サブメニュー */
.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: #fff;
	border-top: 2px solid var(--primary);
	box-shadow: 0 5px 10px rgba(50,50,50,.08);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all .2s ease;
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-navigation .sub-menu a {
	display: block;
	padding: 10px 18px;
	border-bottom: 1px solid var(--line);
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 600;
	color: var(--secondary);
}

/* ハンバーガー */
.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	margin-right: -8px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	position: absolute;
	left: 50%;
	width: 24px;
	height: 3px;
	margin-left: -12px;
	background: #777;
	border-radius: 1px;
	content: "";
	transition: all .25s ease;
}
.nav-toggle span { top: 50%; margin-top: -1.5px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 991px) {
	.nav-toggle { display: block; }
	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		box-shadow: 0 8px 12px rgba(50,50,50,.08);
		max-height: 0;
		overflow: hidden;
		transition: max-height .3s ease;
	}
	.nav-open .main-navigation { max-height: 80vh; overflow-y: auto; }
	.main-navigation .menu { display: block; border-top: 1px solid var(--line); }
	.main-navigation .menu > li > a {
		line-height: 1.5;
		padding: 13px 20px;
		border-bottom: 1px solid var(--line);
	}
	.main-navigation .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-top: 0;
	}
	.main-navigation .sub-menu a { padding-left: 36px; }
}

/* =========================================================
   4. トップページ：共通
   ========================================================= */
.section-padding { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }

.section-title-area { text-align: center; margin-bottom: 60px; }
.section-title-area .section-subtitle {
	margin: 0 0 13px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 1.1;
	text-transform: uppercase;
	color: var(--muted);
}
.section-title-area .section-title {
	margin: 0;
	font-family: var(--font-head);
	font-size: 40px;
	font-weight: 800;
	letter-spacing: 3.5px;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--heading);
}
.section-title-area .section-desc {
	margin-top: 40px;
	font-size: 20px;
	line-height: 1.7;
	color: var(--text);
}
.section-title-area .section-desc p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
	.section-padding { padding: 50px 0; }
	.section-title-area { margin-bottom: 40px; }
	.section-title-area .section-title { font-size: 30px; letter-spacing: 2.5px; }
	.section-title-area .section-desc { font-size: 17px; margin-top: 25px; }
}

/* スクロール時のアニメーション（JS有効時のみ） */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; transition: none; }
	html { scroll-behavior: auto; }
}

/* =========================================================
   5. ヒーロー
   ========================================================= */
.section-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 568px;
	padding: 120px 0;
	background-color: #222;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	color: #fff;
	text-align: center;
	overflow: hidden;
}
.section-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.3);
}
.section-hero .container { position: relative; z-index: 2; }
.hero-large-text {
	margin: 0 0 10px;
	font-family: var(--font-head);
	font-size: 75px;
	font-weight: 800;
	letter-spacing: 4px;
	line-height: 1.3;
	text-transform: uppercase;
	color: #fff;
}
.hero-rotating {
	display: inline-block;
	perspective: 400px;
}
.hero-rotating .word { display: inline-block; backface-visibility: visible; }
.hero-rotating .word.flip-in { animation: caramelo-flipInX .8s both; }
@keyframes caramelo-flipInX {
	0%   { transform: perspective(400px) rotateX(90deg); opacity: 0; animation-timing-function: ease-in; }
	40%  { transform: perspective(400px) rotateX(-20deg); animation-timing-function: ease-in; }
	60%  { transform: perspective(400px) rotateX(10deg); opacity: 1; }
	80%  { transform: perspective(400px) rotateX(-5deg); }
	100% { transform: perspective(400px); }
}
.hero-small-text {
	margin: 0 auto 25px;
	max-width: 800px;
	font-size: 18px;
	font-weight: 300;
	font-style: italic;
	line-height: 1.7;
	color: #fff;
}
.hero-small-text p { margin: 0; }
.hero-buttons .btn { margin: 10px 5px 0; }

@media (max-width: 1199px) { .hero-large-text { font-size: 60px; } }
@media (max-width: 991px)  { .section-hero { min-height: 460px; } .hero-large-text { font-size: 48px; letter-spacing: 3px; } }
@media (max-width: 767px)  {
	.section-hero { min-height: 0; padding: 90px 0; }
	.hero-large-text { font-size: 34px; letter-spacing: 2px; }
	.hero-small-text { font-size: 15px; }
	.hero-buttons .btn-lg { font-size: 14px; padding: 10px 18px; }
}

/* =========================================================
   6. サービス
   ========================================================= */
.services-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 30px;
}
.service-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 30px;
	padding: 30px;
	background: #fff;
	box-shadow: 0 1px 1px 0 rgba(0,0,0,.08);
}
.service-item .service-image {
	flex: 0 0 70px;
	margin-right: 30px;
	text-align: left;
	line-height: 1;
}
.service-item .service-image i {
	font-size: 56px;
	color: var(--primary);
}
.service-item .service-image img { max-width: 70px; }
.service-item .service-content { flex: 1 1 auto; min-width: 0; }
.service-item .service-title {
	margin: 0 0 10px;
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 600;
	color: var(--heading);
}
.service-item .service-title a { color: inherit; }
.service-item .service-content p:last-child { margin-bottom: 0; }

@media (max-width: 575px) {
	.services-grid { grid-template-columns: 1fr; }
	.service-item { padding: 25px 20px; }
	.service-item .service-image { flex-basis: 56px; margin-right: 20px; }
	.service-item .service-image i { font-size: 44px; }
}

/* =========================================================
   7. ニュース（トップ・一覧共通のリスト表示）
   ========================================================= */
.news-list { border-bottom: 1px solid var(--line); }
.list-article {
	display: flex;
	align-items: flex-start;
	padding: 25px 0;
	border-top: 1px solid var(--line);
}
.list-article-thumb {
	flex: 0 0 300px;
	margin-right: 30px;
}
.list-article-thumb a { display: block; }
.list-article-thumb img {
	display: block;
	width: 300px;
	height: 150px;
	object-fit: cover;
}
.list-article-thumb .no-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 300px;
	height: 150px;
	background: #ababab;
	color: #d7d7d7;
	font-size: 64px;
}
.list-article-content { flex: 1 1 auto; min-width: 0; padding-top: 2px; }
.list-article-meta {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--text);
}
.list-article .entry-title {
	margin: 0 0 15px;
	font-family: var(--font-body);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.6px;
	line-height: 1.45;
	color: var(--heading);
}
.list-article .entry-title a { color: var(--heading); }
.list-article .entry-title a:hover { color: var(--primary); }
.list-article .entry-excerpt p { margin: 0; }
.list-article .moretag { color: var(--primary); }
.list-article .moretag:hover { color: var(--secondary); }

.all-news { margin-top: 40px; text-align: center; }

@media (max-width: 767px) {
	.list-article { display: block; }
	.list-article-thumb { margin: 0 0 15px; }
	.list-article-thumb img,
	.list-article-thumb .no-thumb { width: 100%; height: auto; aspect-ratio: 2 / 1; }
	.list-article .entry-title { font-size: 19px; }
}

/* =========================================================
   8. 会社概要
   ========================================================= */
.section-about .about-content > *:last-child { margin-bottom: 0; }
.section-about table { margin-bottom: 0; }

/* =========================================================
   9. CTA
   ========================================================= */
.section-cta {
	background: var(--bg-dark);
	color: rgba(255,255,255,.5);
}
.section-cta .cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}
.section-cta .cta-heading h2 {
	margin: 0;
	font-family: var(--font-head);
	font-size: 23px;
	font-weight: 600;
	line-height: 1.45;
	color: rgba(255,255,255,.9);
}
.section-cta .cta-button-area { flex-shrink: 0; }
@media (max-width: 991px) {
	.section-cta .cta-inner { display: block; text-align: center; }
	.section-cta .cta-heading h2 { font-size: 20px; margin-bottom: 20px; }
}

/* =========================================================
   10. お問い合わせ
   ========================================================= */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 30px;
	align-items: start;
}
.contact-form {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
}
.contact-form input,
.contact-form textarea,
.contact-form select { letter-spacing: normal; text-transform: none; font-weight: 400; }
.contact-form input[type="submit"] {
	width: 100%;
	margin: 3px 0;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.contact-form .wpcf7-not-valid-tip { font-size: 12px; letter-spacing: 1px; }
.contact-form .wpcf7-response-output { letter-spacing: 1px; text-transform: none; font-size: 13px; }
.contact-form .wpcf7-spinner { display: block; margin: 10px auto 0; }

.contact-info h4 {
	margin: 0 0 12px;
	font-family: var(--font-head);
	font-size: 17px;
	font-weight: 600;
	color: var(--heading);
}
.contact-info .address-box { margin-top: 48px; }
.contact-info .address-box h3 {
	margin: 0 0 15px;
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 600;
	color: var(--heading);
}
.address-contact {
	position: relative;
	margin: 5px 0 15px;
	min-height: 28px;
}
.address-contact .fa-stack {
	position: absolute;
	top: 0;
	left: 0;
	width: 35px;
	height: 28px;
	line-height: 28px;
	color: var(--muted);
	font-size: 14px;
}
.address-contact .fa-stack .fa-stack-2x { font-size: 28px; }
.address-contact .fa-stack .fa-stack-1x { font-size: 14px; color: #fff; }
.address-contact .address-content {
	padding-left: 45px;
	font-style: italic;
	line-height: 28px;
	color: var(--text);
}
@media (max-width: 767px) {
	.contact-grid { grid-template-columns: 1fr; row-gap: 40px; }
	.contact-info .address-box { margin-top: 30px; }
}

/* =========================================================
   11. 地図
   ========================================================= */
.section-map { line-height: 0; }
.section-map iframe {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
}
@media (max-width: 767px) { .section-map iframe { height: 300px; } }

/* =========================================================
   12. セクションナビ（右側のドット）
   ========================================================= */
.section-dots {
	position: fixed;
	top: 50%;
	right: 30px;
	z-index: 900;
	transform: translateY(-50%);
	margin: 0;
	padding: 0;
	list-style: none;
}
.section-dots li { margin: 0 0 10px; }
.section-dots a {
	display: block;
	width: 15px;
	height: 15px;
	border: 2px solid var(--secondary);
	border-radius: 50%;
	background: transparent;
	transition: background .2s ease, border-color .2s ease;
	position: relative;
}
.section-dots a.is-active,
.section-dots a:hover { background: var(--secondary); }
.section-dots a .dot-label {
	position: absolute;
	right: 26px;
	top: 50%;
	transform: translateY(-50%);
	padding: 3px 10px;
	background: var(--secondary);
	color: #fff;
	font-size: 12px;
	line-height: 1.6;
	white-space: nowrap;
	border-radius: 2px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease;
}
.section-dots a:hover .dot-label { opacity: 1; visibility: visible; }
.section-dots.on-dark a { border-color: rgba(255,255,255,.8); }
.section-dots.on-dark a.is-active,
.section-dots.on-dark a:hover { background: rgba(255,255,255,.8); }
@media (max-width: 1199px) { .section-dots { display: none; } }

/* =========================================================
   13. 下層ページ（一覧・記事・固定ページ）
   ========================================================= */
.page-header {
	padding: 30px 0;
	background: var(--bg-alt);
	border-bottom: 1px solid var(--line);
}
.page-header .page-title {
	margin: 0;
	font-family: var(--font-head);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--heading);
}
.page-header .page-description { margin-top: 5px; }

.content-wrap {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.content-wrap.no-sidebar { grid-template-columns: minmax(0, 1fr); }
.content-area { padding: 40px 35px 40px 0; }
.no-sidebar .content-area { padding-right: 0; }
.widget-area {
	padding: 40px 0 40px 30px;
	border-left: 1px solid var(--line);
}
.widget { margin-bottom: 35px; }
.widget-title {
	margin: 0 0 15px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--heading);
}
.widget ul { list-style: none; padding: 0; }
.widget li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.widget a { color: var(--text); }
.widget a:hover { color: var(--primary); }

.archive-list .list-article:first-child { padding-top: 0; border-top: 0; }
.archive-list { border-bottom: 0; }

.entry-header .entry-title {
	margin: 0 0 10px;
	font-family: var(--font-body);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--heading);
}
.entry-meta {
	margin: 0 0 30px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 1px;
	line-height: 1.7;
	color: var(--text);
}
.entry-meta .meta-item { margin-right: 6px; white-space: nowrap; }
.entry-meta i { margin-right: 2px; }
.single-post .entry-header { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.single-post .entry-header .entry-meta { margin-bottom: 0; }

.entry-content { margin-bottom: 30px; }
.entry-content h2 { font-size: 24px; margin: 1.6em 0 .8em; }
.entry-content h3 { font-size: 20px; margin: 1.6em 0 .8em; }
.entry-content h4 { margin: 1.4em 0 .7em; }
.entry-content blockquote {
	margin: 0 0 20px;
	padding: 10px 20px;
	border-left: 3px solid var(--primary);
	background: var(--bg-alt);
}
.entry-content > *:first-child { margin-top: 0; }
.entry-thumbnail { margin-bottom: 25px; }

.post-navigation,
.posts-navigation,
.pagination {
	margin: 30px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	font-weight: 600;
}
.post-navigation .nav-links,
.posts-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: inline-block;
	min-width: 34px;
	padding: 5px 10px;
	border: 1px solid var(--line);
	color: var(--text);
	text-align: center;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

.not-found .search-form { margin-top: 20px; }
.search-form { display: flex; gap: 6px; }
.search-form label { flex: 1; }

@media (max-width: 991px) {
	.content-wrap { grid-template-columns: minmax(0, 1fr); }
	.content-area { padding-right: 0; }
	.widget-area { padding: 30px 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
	.entry-header .entry-title { font-size: 24px; }
}

/* コメント */
.comments-area { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { margin-bottom: 20px; }

/* =========================================================
   14. フッター
   ========================================================= */
.site-footer {
	position: relative;
	background: var(--bg-darker);
	color: #bbb;
}
.site-footer a { color: var(--primary); }
.footer-widgets { padding: 50px 0 20px; }
.footer-widgets .widget-title { color: #eee; }
.footer-widgets .widget a { color: #bbb; }
.footer-widgets .widget li { border-color: #333; }
.site-info {
	position: relative;
	padding: 35px 0;
	background: var(--bg-dark);
	font-weight: 500;
	text-align: center;
}
.btt {
	position: absolute;
	right: 40px;
	top: -28px;
}
.btt a {
	display: block;
	width: 64px;
	height: 28px;
	padding-top: 4px;
	border-radius: 32px 32px 0 0;
	background: var(--bg-dark);
	color: #bbb;
	font-size: 20px;
	line-height: 24px;
	text-align: center;
}
.btt a:hover { color: #fff; }
@media (max-width: 767px) { .btt { right: 15px; } }

/* =========================================================
   15. 旧テーマ「追加CSS」からの移行分（内容は同一）
   ========================================================= */

/* Contact Form 7 カスタマイズ */
@media (max-width: 500px) {
	.inquiry th,
	.inquiry td {
		display: block !important;
		width: 100% !important;
		border-top: none !important;
		box-sizing: border-box !important;
	}
	.inquiry tr:first-child th { border-top: 1px solid #d7d7d7 !important; }
	.inquiry .haveto,
	.inquiry .any { font-size: 13px; }
}
/* 見出し欄 */
.inquiry th {
	text-align: left;
	font-size: 12px;
	color: #444;
	padding-right: 5px;
	width: 30%;
	background: #f7f7f7;
	border: solid 1px #d7d7d7;
}
/* 通常欄 */
.inquiry td {
	font-size: 13px;
	border: solid 1px #d7d7d7;
}
/* 横の行とテーブル全体 */
.entry-content .inquiry tr,
.entry-content table { border: solid 1px #d7d7d7; }
/* 必須 */
.haveto {
	font-size: 7px;
	padding: 2px;
	background: #ff9393;
	color: #fff;
	border-radius: 2px;
	margin-right: 3px;
	position: relative;
	bottom: 1px;
}
/* 任意 */
.any {
	font-size: 7px;
	padding: 2px;
	background: #93c9ff;
	color: #fff;
	border-radius: 2px;
	margin-right: 3px;
	position: relative;
	bottom: 1px;
}
/* ラジオボタンを縦並び */
.verticallist .wpcf7-list-item { display: block; }

/* 会社概要テーブル */
.kaisha { width: 100%; }
.kaisha th,
.kaisha td { font-size: 13px; }
.kaisha th { font-weight: bold; }

/* 見出し・段落用クラス */
.hhh3 {
	margin: 2.5em 0 1em;
	padding: 0;
	border: 0;
	background: 0 0;
	box-shadow: none;
	font-weight: 700;
}
.p222 {
	display: block;
	margin-block-start: 1em;
	margin-block-end: 1em;
	margin-inline-start: 0;
	margin-inline-end: 0;
}

/* 動くボタン */
@keyframes animate1 {
	0%   { transform: skewX(9deg); }
	10%  { transform: skewX(-8deg); }
	20%  { transform: skewX(7deg); }
	30%  { transform: skewX(-6deg); }
	40%  { transform: skewX(5deg); }
	50%  { transform: skewX(-4deg); }
	60%  { transform: skewX(3deg); }
	70%  { transform: skewX(-2deg); }
	80%  { transform: skewX(1deg); }
	90%  { transform: skewX(0deg); }
	100% { transform: skewX(0deg); }
}
@keyframes animate2 {
	0%   { transform: translateX(0); }
	45%  { transform: translateX(20px); }
	50%  { transform: translateX(25px); }
	55%  { transform: translateX(20px); }
	95%  { transform: translateX(0); }
	100% { transform: translateX(0); }
}
.a-btn {
	position: relative;
	display: block;
	width: 100%;
	max-width: 600px;
	padding: 10px;
	padding-left: 10%;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
}
.animate {
	animation: animate1 2s ease-in infinite;
	margin-left: auto;
	margin-right: auto;
	z-index: 8;
	width: 90%;
}
.a-arrow {
	position: absolute;
	top: 10%;
	left: -5px;
	animation: animate2 1s ease-in infinite;
	z-index: 9;
	width: 20%;
	max-width: 100px;
}
.a-btn:hover img { opacity: 1; }

/* reCAPTCHA バッジ非表示 */
.grecaptcha-badge { visibility: hidden; }
