@charset "utf-8";

/* ============================================================
   Soramame Design System
   そらまめ総合特許事務所 ホームページ専用スタイル
   ============================================================ */

:root {
	--sm-dark:       #214c33;
	--sm-green:      #6eca61;
	--sm-bg:         #f4f8f1;
	--sm-orange:     #ff8b3b;
	--sm-mid:        #469d6b;
	--sm-light-green:#dff1dd;
	--sm-gray:       #6b7280;
	--sm-footer:     #5a8e5a;
}

/* ============================================================
   ページ背景
   ============================================================ */
body.home {
	background-color: var(--sm-bg);
}

/* ============================================================
   共通セクションタイトル
   ============================================================ */
.sm-section {
	padding: 80px 0;
}

.sm-section__inner {
	max-width: 1184px;
	margin: 0 auto;
	padding: 0 40px;
}

.sm-section-title {
	margin-bottom: 40px;
}

.sm-section-title__en {
	font-family: 'Tinos', serif;
	font-weight: bold;
	font-size: 20px;
	color: var(--sm-gray);
	line-height: 1;
	margin: 0 0 4px;
	text-transform: capitalize;
}

.sm-section-title__ja {
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 36px;
	color: var(--sm-dark);
	line-height: 1.2;
	margin: 4px 0 12px;
}

.sm-section-title__bar {
	display: flex;
	align-items: center;
	gap: 4px;
}

.sm-section-title__bar span:first-child {
	display: block;
	width: 40px;
	height: 4px;
	background: var(--sm-green);
	border-radius: 2px;
}

.sm-section-title__bar span:last-child {
	display: block;
	width: 8px;
	height: 4px;
	background: var(--sm-green);
	border-radius: 2px;
	opacity: 0.4;
}

/* English-only section title (no Japanese subtitle) */
.sm-section-title--en-only .sm-section-title__main {
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 36px;
	color: var(--sm-dark);
	line-height: 1.2;
	margin: 0 0 12px;
}

.sm-strength .sm-section-title--en-only .sm-section-title__main {
	color: #fff;
}

/* ============================================================
   共通ボタン
   ============================================================ */
.sm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 20px 0;
	border-radius: 15px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	text-align: center;
	letter-spacing: .05em;
	width: 312px;
}

.sm-btn::after {
	font-family: "icomoon";
	content: "\e903";
	font-weight: normal;
	font-size: 14px;
}

.sm-btn--green {
	background: var(--sm-green);
	color: #fff;
}

.sm-btn--white {
	background: #fff;
	color: var(--sm-green);
}

.sm-btn--orange {
	background: var(--sm-orange);
	color: #fff;
}

/* ============================================================
   専門分野 + 取扱分野 (home-field.php)
   ============================================================ */

/* 専門分野 */
.sm-expertise {
	padding: 80px 0 60px;
	background: var(--sm-bg);
}

.sm-expertise__inner {
	max-width: 1184px;
	margin: 0 auto;
	padding: 0 40px;
}

.sm-expertise__intro {
	margin-bottom: 40px;
}

.sm-expertise__heading {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 24px;
	color: #000;
	margin: 0 0 12px;
}

.sm-expertise__text {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	color: rgba(0,0,0,0.9);
	line-height: 1.875;
}

.sm-expertise__images {
	display: flex;
	gap: 32px;
}

.sm-expertise__img {
	flex: 1;
	border-radius: 12px;
	overflow: hidden;
	height: 255px;
}

.sm-expertise__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* 取扱分野 */
.sm-services {
	padding: 60px 0 80px;
	background: var(--sm-bg);
}

.sm-services__inner {
	max-width: 1184px;
	margin: 0 auto;
	padding: 0 40px;
}

.sm-services__grid {

	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
	margin: 40px auto;
	max-width: 1000px;
}

.sm-services__card {
	background: #fff;
	border: 3px solid transparent;
	border-radius: 12px;
	box-shadow: 4px 4px 10px rgba(0,0,0,0.2);
	padding: 24px 12px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	min-height: 120px;
	cursor: pointer;
	transition: box-shadow .2s, border-color .2s, background .2s;
}

.sm-services__card:hover,
.sm-services__card--active {
	background: var(--sm-bg);
	border: 3px solid var(--sm-mid);
	box-shadow: 4px 4px 16px rgba(0,0,0,0.25);
}

.sm-services__card-icon {
	width: 90px;
	height: 90px;
	flex-shrink: 0;
}

.sm-services__card-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.sm-services__card-name {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 18px;
	color: var(--sm-dark);
	text-align: center;
	letter-spacing: .05em;
}

.sm-services__footer {
	text-align: center;
}

/* ============================================================
   理念・特徴: 強み + 弁理士紹介 + ご依頼の流れ (home-greeting.php)
   ============================================================ */

/* 強み */
.sm-strength {
	background: var(--sm-green);
	padding: 60px 0;
	position: relative;
	overflow: hidden;
}
.sm-strength::before {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 481px;
	background: url('../img/strengths_2x.png') no-repeat right center / auto 100%;
	pointer-events: none;
}

.sm-strength__inner {
	max-width: 1184px;
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 60px;
	align-items: center;
}

.sm-strength__content {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.sm-strength .sm-section-title__en {
	color: rgba(255,255,255,0.8);
}

.sm-strength .sm-section-title__ja {
	color: #fff;
}

.sm-strength .sm-section-title__bar span {
	background: #fff;
}

.sm-strength__item {
	display: flex;
	align-items: flex-start;
	gap: 48px;
}

.sm-strength__num {
	background: var(--sm-orange);
	width: 64px;
	height: 64px;
	border-radius: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	color: #fff;
	flex-shrink: 0;
	font-weight: 700;
}

.sm-strength__item-body {
	color: #fff;
}

.sm-strength__item-title {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 32px;
	margin: 0 0 8px;
}

.sm-strength__item-text {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	line-height: 1.875;
	opacity: 0.9;
}

.sm-strength__photo {
	border-radius: 24px;
	overflow: hidden;
	height: 500px;
}

.sm-strength__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sm-strength__link-wrap {
	margin-top: 8px;
}

/* 弁理士紹介 */
.sm-attorney {
	padding: 80px 0;
	background: var(--sm-bg);
	position: relative;
	overflow: hidden;
}
.sm-attorney__inner {
	max-width: 1184px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 32px;
	position: relative;
	z-index: 1;
	align-items: start;
}

.sm-attorney__photo {
	border-radius: 24px;
	overflow: hidden;
}

.sm-attorney__photo img {
	width: 100%;
	display: block;
}

.sm-attorney__content {
	padding-top: 8px;
}

.sm-attorney__name {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: var(--sm-dark);
	margin: 0 0 4px;
}

.sm-attorney__name-label {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 28px;
	font-weight: 400;

	color: var(--sm-green);
	margin-right: 12px;
}

.sm-attorney__bar {
	display: flex;
	gap: 4px;
	align-items: center;
	margin-bottom: 24px;
}

.sm-attorney__bar span:first-child {
	width: 40px; height: 4px;
	background: var(--sm-green);
	border-radius: 2px;
}
.sm-attorney__bar span:last-child {
	width: 8px; height: 4px;
	background: var(--sm-green);
	border-radius: 2px;
	opacity: 0.4;
}

.sm-attorney__tagline {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--sm-dark);
	margin: 0 0 12px;
}

.sm-attorney__text {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	color: #000;
	line-height: 1.875;
	margin: 0 0 32px;
}

/* ご依頼の流れ */
.sm-flow {
	background: var(--sm-bg);
}

.sm-flow__inner {
	max-width: 1184px;
	margin: 32px auto;
	padding: 0 40px;
}

.sm-flow__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 40px;
}

.sm-flow__step {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.sm-flow__step-num {
	align-self: flex-start;
	width: 83px;
	height: 83px;
	background: var(--sm-orange);
	color: #fff;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: -16px;
	margin-bottom: -36px;
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

.sm-flow__step-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 16px;
	border-radius: 8px;
}

.sm-flow__step-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sm-flow__step-title {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 22px;
	color: var(--sm-dark);
	margin: 0 0 10px;
	text-align: center;
}

.sm-flow__step-text {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	color: #444;
	line-height: 1.8;
	text-align: left;
}

/* ============================================================
   MV 下部 NEWS バー (home-main-visual.php)
   ============================================================ */

.sm-mv-news {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 10;
	background: var(--sm-green);
	height: 57px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.sm-mv-news__link {
	color: #fff;
	text-decoration: none;
	font-size: 20px;
	letter-spacing: 0.05em;
	white-space: nowrap;
}
.sm-mv-news__label {
	font-family: 'Tinos', serif;
	font-weight: bold;
}
.sm-mv-news__sep {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
}
.sm-mv-news__date,
.sm-mv-news__title {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
}
@media (max-width: 767px) {
	.sm-mv-news {
		height: 36px;
	}
	.sm-mv-news__link {
		font-size: 14px;
		padding: 0 16px;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

/* ============================================================
   お問い合わせCTA (home-top-cta-ufw.php)
   ============================================================ */
.sm-cta {
	background: linear-gradient(to right, #1b3b28, #214c33);
	padding: 48px 0 44px;
	overflow: hidden;
}

.sm-cta__inner {
	max-width: 1184px;
	margin: 0 auto;
	padding: 0 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

/* タイトル */
.sm-cta__title {
	text-align: center;
}

.sm-cta__title-en {
	font-family: 'Tinos', serif;
	font-weight: bold;
	font-size: 16px;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: .12em;
	margin: 0 0 6px;
	display: block;
}

.sm-cta__title-ja {
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 40px;
	color: #fff;
	margin: 0;
	line-height: 1.2;
}

/* 電話＋区切り＋メールボタン の横並び行 */
.sm-cta__row {
	display: flex;
	align-items: center;
	gap: 48px;
}


.sm-cta__tel {
	display: flex;
	align-items: center;
	gap: 16px;
}

.sm-cta__tel-icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
}

.sm-cta__tel-icon .sp-only {
	display: none;
}

.sm-cta__tel-icon img {
	width: 100%;
	height: 100%;
}

.sm-cta__tel-num {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 42px;
	color: #fff;
	text-decoration: none;
	letter-spacing: .02em;
	white-space: nowrap;
	-webkit-text-size-adjust: 100%;
}

/* 縦線区切り */
.sm-cta__divider {
	width: 1px;
	height: 64px;
	background: rgba(255,255,255,0.5);
	flex-shrink: 0;
}

/* メールボタン */
.sm-cta__mail-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--sm-orange);
	color: #fff;
	padding: 18px 36px;
	border-radius: 39px;
	text-decoration: none;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 18px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	white-space: nowrap;
}

.sm-cta__mail-btn img {
	width: 20px;
	height: 20px;
}

/* サブタイトル */
.sm-cta__subtitle {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 15px;
	color: rgba(255,255,255,0.85);
	text-align: center;
	margin: 0;
	line-height: 1.7;
	display: none; /* PCでは非表示 */
}

/* 受付時間 */
.sm-cta__hours {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	color: rgba(255,255,255,0.8);
	letter-spacing: .02em;
	margin: 16px 0 0;
	text-align: center;
}

/* 下層ページ用：受付時間（中央配置） */
.sm-cta__hours-center {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	color: #fff;
	text-align: center;
	letter-spacing: 1px;
	margin: 0;
}

/* ============================================================
   アクセス (home-access.php)
   ============================================================ */
.sm-access {
	padding: 60px 0;
	background: var(--sm-light-green);
	position: relative;
	overflow: hidden;
}

.sm-access__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.sm-access__inner {
	max-width: 1184px;
	margin: 0 auto;
	padding: 0 20px;
	display: grid;
	grid-template-columns: 1fr 560px;
	gap: 60px;
	align-items: start;
	position: relative;
	z-index: 1;
}

.sm-access__address {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	color: #000;
	line-height: 1.625;
	letter-spacing: .05em;
	margin: 24px 0 32px;
}

.sm-access__address-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 16px 0;
}

.sm-access__address-row:last-child {
	margin-bottom: 0;
}

.sm-access__address-icon {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	margin-top: 3px;
}

.sm-access__address-text {
	line-height: 1.625;
}

.sm-access__label {
	display: block;
	color: var(--sm-dark);
	font-weight: 700;
	margin-bottom: 2px;
}

.sm-access__map {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.sm-access__map iframe,
.sm-access__map img {
	width: 100%;
	height: 400px;
	border: none;
	display: block;
	object-fit: cover;
}

.sm-access__map-wrap {
	display: flex;
	flex-direction: column;
}

.sm-access__map-link {
	display: block;
	text-align: right;
	margin-top: 12px;
	font-size: 16px;
	color: #111827;
	text-decoration: none;
	letter-spacing: 0.06em;
}

.sm-access__map-link:hover {
	opacity: 0.7;
}

/* ============================================================
   お知らせ (home-news.php)
   ============================================================ */
.sm-info {
	padding: 80px 0;
	background: var(--sm-bg);
}

.sm-info__inner {
	max-width: 1184px;
	margin: 0 auto;
	padding: 0 40px;
}

.sm-info__header {
	margin-bottom: 40px;
}

.sm-info__viewall-wrap {
	display: flex;
	justify-content: flex-end;
	margin-top: 16px;
}

.sm-info__viewall {
	font-family: 'Tinos', serif;
	font-weight: bold;
	font-size: 20px;
	color: var(--sm-mid);
	text-decoration: none;
	letter-spacing: .05em;
}

.sm-info__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sm-info__item {
	display: flex;
	flex-direction: column;
}

.sm-info__item-row {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 16px 0;
}

.sm-info__icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.sm-info__icon img {
	width: 100%;
	height: 100%;
}

.sm-info__date {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	font-size: 16px;
	color: var(--sm-dark);
	width: 100px;
	flex-shrink: 0;
}

.sm-info__title {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	color: var(--sm-dark);
	text-decoration: none;
	flex: 1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sm-info__title:hover {
	text-decoration: underline;
}

.sm-info__divider {
	border: none;
	border-top: 1px solid #d1d5db;
	margin: 0;
}

/* ============================================================
   ブログ (home-column.php / ufw_サイド-新着コラム)
   ============================================================ */
.sm-blog {
	position: relative;
	overflow: hidden;
	min-height: 560px;
	padding-top: 30px;
}

.sm-blog__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.sm-blog__inner {
	max-width: 1184px;
	margin: 0 auto;
	padding: 0 40px 32px;
	position: relative;
	z-index: 1;
}

.sm-blog__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
}

.sm-blog .sm-section-title__en {
	color: #333;
}

.sm-blog .sm-section-title__ja {
	color: #333;
}


.sm-blog__viewall {
	display: block;
	margin-top: 32px;
	text-align: right;
	font-family: 'Tinos', serif;
	font-weight: bold;
	font-size: 22px;
	font-weight: bold;
	text-decoration: none;
	letter-spacing: .05em;
}

.sm-blog__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.sm-blog__card {
	background: #fff;
	overflow: hidden;
	box-shadow: 0 12px 24px -6px rgba(0,0,0,0.2);
}

.sm-blog__card-img {
	display: block;
	width: 100%;
	aspect-ratio: 310 / 135;
	overflow: hidden;
}

.sm-blog__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sm-blog__card-body {
	padding: 12px 16px 16px;
}

.sm-blog__card-cat {
	display: inline-block;
	background-color: #5a8e5a;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 4px 10px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.36px;
	line-height: 20px;
	margin-bottom: 8px;
	text-decoration: none;
}

.sm-blog__card-body {
	min-height: auto;
}

.sm-blog__card-body::before {
	content: "\00a0";
	display: block;
	height: 28px;
	margin-bottom: 8px;
}

.sm-blog__card-body:has(.sm-blog__card-cat)::before {
	display: none;
}

.sm-blog__card-date {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 20px;
	color: #111827;
	display: block;
	margin-bottom: 4px;
}

.sm-blog__card-title {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: #111827;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sm-blog__card-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.sm-blog__card-link:hover {
	opacity: 0.85;
}

.sm-blog__card-noimg {
	width: 100%;
	height: 100%;
	background-color: #e5e7eb;
}

.sm-blog__grid--archive {
	margin-top: 32px;
}

/* ============================================================
   コラムアーカイブ：タイトル
   ============================================================ */
.sm-archive-title {
	font-family: 'Noto Serif JP', serif;
	font-weight: 700;
	font-size: 36px;
	color: var(--sm-dark);
	margin: 32px 0 8px;
	padding: 0;
	border: none;
	line-height: 1.4;
}
.sm-archive-title::after {
	content: '';
	display: block;
	margin-top: 16px;
	height: 4px;
	background:
		linear-gradient(var(--sm-green), var(--sm-green)) 0 0 / 40px 4px no-repeat,
		linear-gradient(var(--sm-green), var(--sm-green)) 44px 0 / 8px 4px no-repeat;
	opacity: 1;
	border-radius: 2px;
}

/* ============================================================
   コラムアーカイブ：横並びカード
   ============================================================ */
.sm-column-feed {
	display: flex;
	flex-direction: column;
	margin-top: 24px;
}
.sm-column-row {
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 24px;
	margin-bottom: 32px;

}
.sm-column-row__link {
	display: flex;
	gap: 24px;
	align-items: flex-start;
	text-decoration: none;
	color: inherit;
}

.sm-column-row__img {
	width: 200px;
	height: 140px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}
.sm-column-row__img img,
.sm-column-row__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}
.sm-column-row__noimg {
	width: 100%;
	height: 100%;
	background-color: #fff;
	border-radius: 8px;
}
.sm-column-row__body {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.sm-column-row__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.sm-column-row__cat {
	display: inline-block;
	background-color: #5a8e5a;
	color: #fff;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 20px;
	padding: 4px 10px;
	border-radius: 4px;
	letter-spacing: 0.36px;
}
.sm-column-row__date {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	color: #111827;
	line-height: 24px;
}
.sm-column-row__title {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.4;
	color: var(--sm-dark);
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.sm-column-row__excerpt {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: #111827;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

/* カテゴリー一覧 */
.sm-cat-list {
	margin-top: 48px;
	padding-top: 24px;
}
.sm-cat-list__title {
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 24px;
	color: var(--sm-dark);
	margin: 0 0 20px;
	border: none;
	padding: 0;
}
.sm-cat-list__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.sm-cat-list__tag {
	display: inline-block;
	background-color: #5a8e5a;
	color: #fff;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 20px;
	padding: 4px 10px;
	border-radius: 4px;
	letter-spacing: 0.36px;
	text-decoration: none;
}
.sm-cat-list__tag:hover {
	opacity: 0.85;
}

/* レスポンシブ：コラムアーカイブ */
@media (max-width: 768px) {
	.sm-column-row__link {
		flex-direction: column;
	}
	.sm-column-row__img {
		width: 100%;
		height: auto;
		aspect-ratio: 200 / 140;
	}
	.sm-archive-title {
		font-size: 28px;
	}
}

/* ============================================================
   お知らせアーカイブ：リスト形式
   ============================================================ */
.sm-news-feed {
	display: flex;
	flex-direction: column;
	margin-top: 24px;
}
.sm-news-item {
	border-bottom: 1px solid #e5e7eb;
}
.sm-news-item__link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 0;
	text-decoration: none;
	color: inherit;
}
.sm-news-item__link:hover {
	opacity: 0.85;
}
.sm-news-item__date {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 13px;
	color: #6b7280;
	line-height: 20px;
}
.sm-news-item__title {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.4;
	color: var(--sm-dark);
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ============================================================
   ニュース & Topics (home-news-ufw.php)
   ============================================================ */
.sm-news {
	padding: 80px 0;
	background: var(--sm-bg);
}

.sm-news__inner {
	max-width: 1184px;
	margin: 0 auto;
	padding: 0 40px;
}

.sm-news__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
}

.sm-news__viewall {
	font-family: 'Tinos', serif;
	font-weight: bold;
	font-style: italic;
	font-size: 22px;
	color: #000;
	text-decoration: none;
	letter-spacing: .05em;
}

.sm-news__category {
	margin-bottom: 40px;
}

.sm-news__cat-header {
	background: var(--sm-light-green);
	padding: 12px 16px;
}

.sm-news__cat-name {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: var(--sm-dark);
	margin: 0;
}

.sm-news__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sm-news__item {
	display: flex;
	flex-direction: column;
}

.sm-news__item-row {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 16px 0;
}

.sm-news__leaf {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.sm-news__leaf img {
	width: 100%;
	height: 100%;
}

.sm-news__date {
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	font-size: 16px;
	color: var(--sm-dark);
	width: 100px;
	flex-shrink: 0;
}

.sm-news__title {
	flex: 1;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	color: var(--sm-dark);
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sm-news__source {
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 14px;
	color: var(--sm-gray);
	width: 120px;
	text-align: right;
	flex-shrink: 0;
	margin-right: 8px;
}

.sm-news__divider {
	border: none;
	border-top: 1px solid #d1d5db;
	margin: 0;
}

@media screen and (max-width: 1023px) {
	.sm-news__item-row {
		flex-wrap: wrap;
		gap: 8px 12px;
	}
	.sm-news__title {
		flex-basis: 100%;
		white-space: normal;
		overflow: visible;
		padding-left: 30px;
	}
	.sm-news__source {
		margin-left: auto;
	}
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
	.sm-strength__inner {
		grid-template-columns: 1fr;
	}
	.sm-strength__photo {
		height: 300px;
	}
	.sm-attorney__inner {
		grid-template-columns: 1fr;
	}
	.sm-flow__steps {
		grid-template-columns: 1fr;
	}
	.sm-access__inner {
		grid-template-columns: 1fr;
	}
	.sm-blog__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.sm-services__grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.sm-strength::before {
		display: none;
	}
}

@media (max-width: 768px) {
	.sm-section-title__ja { font-size: 28px; }
	.sm-section-title--en-only .sm-section-title__main { font-size: 28px; }
	.sm-services__grid { grid-template-columns: repeat(2, 1fr); }
	.sm-blog__grid { grid-template-columns: 1fr; }
	/* CTA：スマホ */
	.sm-cta {
		padding: 40px 0 36px;
	}
	.sm-cta__inner {
		padding: 0 24px;
		gap: 16px;
	}
	.sm-cta__title-en {
		display: none;
	}
	.sm-cta__title-ja {
		font-size: 24px;
	}
	.sm-cta__subtitle {
		display: block;
	}
	.sm-cta__row {
		flex-direction: column;
		gap: 12px;
		width: 100%;
	}
	.sm-cta__tel {
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 10px;
		text-align: center;
	}
	.sm-cta__tel-icon {
		width: 26px;
		height: 25px;
		margin-top: 12px;
	}
	.sm-cta__tel-icon .pc-only {
		display: none;
	}
	.sm-cta__tel-icon .sp-only {
		display: block;
	}
	.sm-cta__tel-num {
		font-size: 32px;
	}
	.sm-cta__hours {
		font-size: 12px;
		text-align: center;
	}
	.sm-cta__divider {
		display: none;
	}
	.sm-cta__mail-btn {
		width: 100%;
		box-sizing: border-box;
		justify-content: center;
		border-radius: 39px;
		font-size: 16px;
		padding: 16px 24px;
	}
	.sm-cta__hours-center {
		font-size: 12px;
	}
	.sm-expertise__images { flex-direction: column; }

	/* 強み：スマホ */
	.sm-strength {
		padding: 48px 0;
	}
	.sm-strength::before {
		display: none;
	}

	.sm-strength__inner {
		padding: 0 20px;
		gap: 32px;
	}
	.sm-strength__content {
		gap: 28px;
	}
	.sm-strength .sm-section-title__ja {
		font-size: 28px;
	}
	.sm-strength__item {
		gap: 20px;
	}
	.sm-strength__num {
		width: 52px;
		height: 52px;
		font-size: 22px;
		flex-shrink: 0;
	}
	.sm-strength__item-title {
		font-size: 18px;
	}
	.sm-strength__item-text {
		font-size: 14px;
	}
	.sm-strength__photo {
		height: 220px;
	}
	.sm-strength__link-wrap .sm-btn {
		width: 100%;
		box-sizing: border-box;
		text-align: center;
	}
}

.header-A-change-lang__item:nth-child(n+2) {
	margin-top: 8px;
}

.header-A-change-lang__item:nth-child(n+2)::before {
	display: none;
}

/* ============================================================
   採用情報：募集要項テーブル
   ============================================================ */
.sm-recruit-heading {
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 32px;
	color: var(--sm-dark);
	margin: 0 0 8px;
	padding: 0;
	border: none;
}
.sm-recruit-heading::after {
	content: '';
	display: block;
	margin-top: 12px;
	height: 4px;
	background:
		linear-gradient(var(--sm-green), var(--sm-green)) 0 0 / 40px 4px no-repeat,
		linear-gradient(var(--sm-green), var(--sm-green)) 44px 0 / 8px 4px no-repeat;
	border-radius: 2px;
}
.sm-recruit-table {
	margin-top: 24px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.sm-recruit-row {
	display: flex;
	border-bottom: 1px solid #e5e7eb;
}
.sm-recruit-row:last-child {
	border-bottom: none;
}
.sm-recruit-label {
	width: 240px;
	flex-shrink: 0;
	background-color: #5a8e5a;
	padding: 20px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #fff;
	display: flex;
	align-items: center;
	box-sizing: border-box;
}
.sm-recruit-content {
	flex: 1;
	padding: 20px;
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 16px;
	line-height: 1.75;
	color: #111827;
	min-width: 0;
}
.sm-recruit-content p {
	margin: 0 0 4px;
}
.sm-recruit-content p:last-child {
	margin-bottom: 0;
}
.sm-recruit-cat-header {
	background-color: var(--sm-light-green);
	padding: 12px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: var(--sm-dark);
	margin-bottom: 4px;
	margin-top: 12px;
}
.sm-recruit-cat-header:first-child {
	margin-top: 0;
}

.article-contact-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: normal;
	color: #fff !important;
	background: #1B4332;
	padding: 16px 32px;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
}

.article-contact-btn::after {
	font-family: "icomoon";
	content: "\e903";
	font-weight: normal;
	font-size: 14px;
}

.article-contact-btn:hover {
	text-decoration: none !important;
}

.article-contact-btn:hover {
	opacity: 0.8;
}

@media (max-width: 768px) {
	.sm-recruit-heading {
		font-size: 24px;
	}
	.sm-recruit-row {
		flex-direction: column;
	}
	.sm-recruit-label {
		width: 100%;
		padding: 12px 16px;
	}
	.sm-recruit-content {
		padding: 16px;
		font-size: 15px;
	}
	.sm-recruit-cat-header {
		font-size: 16px;
	}
}
