/* =========================================================
   Rainbow theme – pages-extra.css
   会社案内・採用・お知らせ・情報公開・プライバシー・お問い合わせ 用パーツ
   ========================================================= */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.text-link { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--c-green-dark); }

/* 情報テーブル */
.info-card { padding: 14px 40px; background: #fff; border-radius: 21px; }
.info-card--cream { background: var(--c-cream); }
.sec--cream .info-card--cream, .sec--panel .info-card--cream { background: #fff; }
.sec--white .info-card--cream { background: var(--c-cream); }
.sec-lead + .info-card { margin-top: 36px; }
.info-table > div { display: grid; grid-template-columns: 250px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid #ece8de; align-items: baseline; }
.info-table > div:first-child { border-top: 0; }
.info-table dt { font-weight: 900; font-size: 16px; color: var(--c-green-dark); }
.info-table dd { font-size: 16px; line-height: 1.9; color: #333; }
.info-table dd small { color: #666; font-size: 14px; }

/* 会社案内 */
.about-message { margin-top: 48px; display: grid; grid-template-columns: 390px 1fr; gap: 70px; align-items: start; }
.about-message__photo { text-align: center; font-weight: 700; line-height: 1.9; }
.about-message__photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px; margin-bottom: 20px; }
.about-message__body p { font-size: 20px; line-height: 2.1; color: #333; margin-bottom: 22px; font-weight: 600; }
.about-message__sign { margin-top: 8px; font-weight: 900; text-align: right; }
.features--about { margin-top: 44px; }
.features--about .feature { padding-top: 84px; padding-bottom: 34px; }
.features--about .feature h3 { font-size: 20px; }
.features--four { margin-top: 44px; grid-template-columns: repeat(2, 1fr); }
.features--four .feature { text-align: left; padding: 26px 30px 30px 84px; }
.features--four .feature__no { left: 16px; top: 22px; }
.access { margin-top: 44px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.access__map { overflow: hidden; border-radius: 23px; box-shadow: var(--shadow); aspect-ratio: 16 / 10; background: var(--c-panel); }
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.access__body p { margin-bottom: 14px; font-size: 17px; }
.access__addr { font-weight: 900; font-size: 19px !important; }
.access__body p:has(> .btn) { margin-top: 28px; }

/* 採用 */
.rc-lead { margin-top: 6px; font-size: 38px; font-weight: 900; letter-spacing: .06em; color: var(--c-green-dark); line-height: 1.5; }
.tags-row { margin: 28px 0 8px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tags-row li { padding: 8px 22px; border-radius: 999px; background: #f8d9cd; font-weight: 900; font-size: 16px; }
.rc-btns { margin-top: 60px; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.req-wrap { margin-top: 40px; }
.req-table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; text-align: left; }
.req-table th, .req-table td { padding: 20px 24px; font-size: 16px; line-height: 1.8; border-bottom: 1px solid #ece8de; vertical-align: top; }
.req-table thead th { background: var(--c-green-pale); color: var(--c-green-dark); font-weight: 900; text-align: center; }
.req-table tbody th { width: 160px; background: #f6f9f2; color: var(--c-green-dark); font-weight: 900; white-space: nowrap; }
.req-table td strong { color: var(--c-coral); font-size: 18px; }
.form-card { margin-top: 40px; padding: 44px 56px 52px; background: #fff; border-radius: 21px; box-shadow: var(--shadow); }
.tel-box { margin-top: 36px; padding: 28px; text-align: center; background: #fff; border-radius: 21px; }
.tel-box__label { font-weight: 900; color: var(--c-green-dark); }
.tel-box__tel { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0; color: var(--c-green); font-size: 44px; font-weight: 900; line-height: 1.3; }
.tel-box__tel .icon { width: 38px; height: 38px; padding: 7px; border-radius: 50%; background: var(--c-green); color: #fff; }
.tel-box__hours { display: block; width: fit-content; margin-inline: auto; padding: 3px 20px; border-radius: 999px; background: #eaeaea; font-size: 14px; font-weight: 700; }
.tel-box--large { margin-top: 40px; padding: 40px 30px; }
.tel-box--large .tel-box__tel { font-size: 56px; }
.tel-box--large p { margin-top: 10px; }
.tel-box__cm { font-size: 15px; color: #555; }

/* お知らせ */
.cat-tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cat-tabs__toggle { display: none; }
.cat-tabs__item { padding: 10px 28px; border-radius: 999px; background: #fff; border: 2px solid var(--c-green-pale); font-weight: 900; font-size: 16px; color: var(--c-green-dark); transition: background-color .2s; }
.cat-tabs__item:hover { background: var(--c-green-pale); }
.cat-tabs__item.is-active { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.news-cards { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.news-card { display: flex; gap: 22px; align-items: center; height: 100%; padding: 18px; background: #fff; border-radius: 21px; box-shadow: var(--shadow); transition: transform .2s; }
.news-card:hover { transform: translateY(-3px); }
.news-card__thumb { flex: none; width: 180px; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: var(--c-peach); display: grid; place-items: center; }
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card__thumb .news-card__noimg { width: 70px; height: auto; object-fit: contain; }
.news-card__body { display: grid; gap: 8px; }
.news-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: #555; }
.news-card__meta .tag { min-width: 0; font-size: 13px; padding: 1px 12px; }
.news-card__title { font-weight: 900; font-size: 17px; line-height: 1.6; }
.news-empty { margin-top: 40px; text-align: center; color: #555; }
.navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 50%; background: #fff; color: var(--c-green-dark); font-weight: 900; border: 2px solid var(--c-green-pale); }
a.page-numbers:hover { background: var(--c-green-pale); }
.page-numbers.current { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.page-numbers.dots { border: 0; background: transparent; }

.page-hero--post { padding-bottom: 10px; }
.page-hero--post .crumb { position: static; margin-top: 6px; flex-wrap: wrap; }
.post { padding: 48px 56px 56px; background: #fff; border-radius: 21px; box-shadow: var(--shadow); }
.post__meta { display: flex; align-items: center; gap: 14px; color: #555; }
.post__title { margin-top: 14px; padding-bottom: 20px; font-size: 32px; font-weight: 900; line-height: 1.6; border-bottom: 4px solid var(--c-line); }
.post__eyecatch { margin-top: 30px; border-radius: 24px; overflow: hidden; }
.post__eyecatch img { width: 100%; }
.entry { margin-top: 30px; font-size: 17px; line-height: 2; }
.entry > * + * { margin-top: 1.2em; }
.entry h2 { margin-top: 2em; padding: 6px 0 6px 16px; border-left: 6px solid var(--c-coral); font-size: 24px; font-weight: 900; color: var(--c-green-dark); }
.entry h3 { margin-top: 1.8em; font-size: 20px; font-weight: 900; color: var(--c-green-dark); }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry a { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: 16px; }
.entry--card { margin-top: 0; padding: 48px 56px; background: #fff; border-radius: 21px; box-shadow: var(--shadow); }
.entry--card h2 { font-size: 22px; }
.post-nav { margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid #ece8de; font-weight: 900; color: var(--c-green-dark); }
.post-nav a:hover { text-decoration: underline; }
.post__back { margin-top: 36px; }

@media (max-width: 1100px) {
	.about-message { grid-template-columns: 1fr; gap: 32px; }
	.about-message__photo img { max-width: 420px; margin-inline: auto; }
	.access { grid-template-columns: 1fr; }
	.news-cards { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.features--four { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.info-card { padding: 6px 20px; border-radius: 19px; }
	.info-table > div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
	.about-message__body p { font-size: 16px; }
	.features--four .feature { padding: 22px 22px 26px 22px; }
	.features--four .feature__no { position: static; margin-bottom: 8px; }
	.access { margin-top: 28px; gap: 22px; }
	.rc-lead { font-size: 26px; }
	.tags-row { gap: 8px; }
	.tags-row li { padding: 6px 16px; font-size: 15px; }
	.rc-btns { flex-direction: column; }
	.req-table th, .req-table td { padding: 16px 14px; font-size: 15px; }
	.form-card { padding: 28px 18px 34px; border-radius: 19px; }
	.tel-box__tel { font-size: 34px; }
	.tel-box--large .tel-box__tel { font-size: 36px; }
	.news-card { gap: 14px; padding: 14px; flex-direction: column; align-items: stretch; }
	.news-card__thumb { width: 100%; }
	.post { padding: 28px 18px 36px; border-radius: 19px; }
	.post__title { font-size: 24px; }
	.entry { font-size: 16px; }
	.entry--card { padding: 28px 18px; border-radius: 19px; }
	.post-nav { flex-direction: column; }
}

/* ---------- SP：角丸を少し小さく（下層） ---------- */
@media (max-width: 600px) {
	.info-card { border-radius: 14px; }
	.faq__item { border-radius: 14px; }
	.accept { border-radius: 14px; }
	.ng-box { border-radius: 14px; }
	.rbanner { border-radius: 16px; }
}

/* ---------- SP：features--four / features--about（見出しセンター・数字は白い円で左上） ---------- */
@media (max-width: 600px) {
	.features--four .feature, .features--about .feature { padding: 14px 22px 26px; text-align: center; }
	.features--four .feature h3, .features--about .feature h3 { text-align: center; margin: 0 44px 10px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
	.features--four .feature__no, .features--about .feature__no {
		position: absolute; left: 14px; top: 14px; margin: 0;
		display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
		background: #fff; font-size: 24px; font-weight: 700;
	}
	.features--four .feature--peach .feature__no, .features--about .feature--peach .feature__no { color: #e3a98f; }
	.features--four .feature--blue .feature__no, .features--about .feature--blue .feature__no { color: #87b3cb; }
	.features--four .feature--green .feature__no, .features--about .feature--green .feature__no { color: var(--c-green); }
}

/* お知らせのカテゴリー絞り込み：SPはアコーディオン */
@media (max-width: 600px) {
	.cat-tabs__toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 14px 20px; border: 2px solid var(--c-green-pale); border-radius: 14px; background: #fff; font: inherit; font-size: 16px; font-weight: 700; color: var(--c-text, #333); text-align: left; cursor: pointer; }
	.cat-tabs__toggle strong { color: var(--c-green-dark); font-weight: 900; }
	.cat-tabs__toggle::after { content: ""; flex: none; width: 10px; height: 10px; margin-left: 12px; border-right: 2.5px solid var(--c-green); border-bottom: 2.5px solid var(--c-green); transform: rotate(45deg) translateY(-2px); transition: transform .25s; }
	.cat-tabs__toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }
	.cat-tabs__list { display: none; flex-direction: column; flex-wrap: nowrap; gap: 0; margin-top: 0; }
	.cat-tabs__list.is-open { display: flex; }
	.cat-tabs__item { display: block; padding: 14px 20px; border: 0; border-left: 1px solid #d9d9d9; border-right: 1px solid #d9d9d9; border-bottom: 1px solid #d9d9d9; border-radius: 0; background: #f3f3f3; color: #333; text-align: left; }
	.cat-tabs__item:hover { background: #ebebeb; }
	.cat-tabs__item.is-active { background: var(--c-green); border-color: var(--c-green); color: #fff; }
}
